Latest generation

This commit is contained in:
ci core model
2025-12-09 11:20:34 +00:00
parent 3896777a92
commit 35023738c7
62 changed files with 367 additions and 367 deletions

View File

@@ -738,15 +738,15 @@ class TinyURL$Type extends MessageType<TinyURL> {
constructor() {
super("api.TinyURL", [
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "Kind", kind: "enum", localName: "Kind", jsonName: "Kind", T: () => ["api.TinyURLKind", TinyURLKind], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Kind of the tiny url (file, payload or url)." }, "validate.rules": { enum: { definedOnly: true } } } },
{ no: 3, name: "Details", kind: "message", localName: "Details", jsonName: "Details", T: () => TinyURLKindDetails, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Contains data specific to the selected tiny url kind." }, "validate.rules": { message: { required: true } } } },
{ no: 4, name: "URL", kind: "scalar", localName: "URL", jsonName: "URL", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Shortened URL used to retrieve the original data." }, "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "Kind", kind: "enum", localName: "Kind", jsonName: "Kind", T: () => ["api.TinyURLKind", TinyURLKind], options: { "validate.rules": { enum: { definedOnly: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Kind of the tiny url (file, payload or url)." } } },
{ no: 3, name: "Details", kind: "message", localName: "Details", jsonName: "Details", T: () => TinyURLKindDetails, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Contains data specific to the selected tiny url kind." } } },
{ no: 4, name: "URL", kind: "scalar", localName: "URL", jsonName: "URL", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Shortened URL used to retrieve the original data." } } },
{ no: 5, name: "MIMEType", kind: "scalar", localName: "MIMEType", jsonName: "MIMEType", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 6, name: "Size", kind: "scalar", localName: "Size", jsonName: "Size", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
{ no: 7, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 8, name: "ResourceRefID", kind: "scalar", localName: "ResourceRefID", jsonName: "ResourceRefID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 9, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." }, "validate.rules": { int64: { lte: "1500000000" } } } },
{ no: 10, name: "CreatedAt", kind: "scalar", localName: "CreatedAt", jsonName: "CreatedAt", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href='https://en.wikipedia.org/wiki/ISO_8601'>ISO 8601</a> format" }, "validate.rules": { string: { dateIso8601: true } } } },
{ no: 9, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "validate.rules": { int64: { lte: "1500000000" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." } } },
{ no: 10, name: "CreatedAt", kind: "scalar", localName: "CreatedAt", jsonName: "CreatedAt", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { dateIso8601: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href='https://en.wikipedia.org/wiki/ISO_8601'>ISO 8601</a> format" } } },
{ no: 11, name: "IsPublic", kind: "scalar", localName: "IsPublic", jsonName: "IsPublic", T: 8 /*ScalarType.BOOL*/ },
{ no: 12, name: "IsOnce", kind: "scalar", localName: "IsOnce", jsonName: "IsOnce", T: 8 /*ScalarType.BOOL*/ }
]);
@@ -873,10 +873,10 @@ class OrganisationShortenURLRequest$Type extends MessageType<OrganisationShorten
super("api.OrganisationShortenURLRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "URL", kind: "scalar", localName: "URL", jsonName: "URL", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." }, "validate.rules": { int64: { lte: "1500000000" } } } },
{ no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "validate.rules": { int64: { lte: "1500000000" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." } } },
{ no: 4, name: "IsPublic", kind: "scalar", localName: "IsPublic", jsonName: "IsPublic", T: 8 /*ScalarType.BOOL*/ },
{ no: 5, name: "IsOnce", kind: "scalar", localName: "IsOnce", jsonName: "IsOnce", T: 8 /*ScalarType.BOOL*/ },
{ no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated" }, "validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } } } }
{ no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "URL", "TimeToLive"] } } });
}
create(value?: PartialMessage<OrganisationShortenURLRequest>): OrganisationShortenURLRequest {
@@ -1005,10 +1005,10 @@ class ProjectShortenURLRequest$Type extends MessageType<ProjectShortenURLRequest
super("api.ProjectShortenURLRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "URL", kind: "scalar", localName: "URL", jsonName: "URL", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." }, "validate.rules": { int64: { lte: "1500000000" } } } },
{ no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "validate.rules": { int64: { lte: "1500000000" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." } } },
{ no: 4, name: "IsPublic", kind: "scalar", localName: "IsPublic", jsonName: "IsPublic", T: 8 /*ScalarType.BOOL*/ },
{ no: 5, name: "IsOnce", kind: "scalar", localName: "IsOnce", jsonName: "IsOnce", T: 8 /*ScalarType.BOOL*/ },
{ no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated" }, "validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } } } }
{ no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "URL", "TimeToLive"] } } });
}
create(value?: PartialMessage<ProjectShortenURLRequest>): ProjectShortenURLRequest {
@@ -1137,10 +1137,10 @@ class PartnerAppShortenURLRequest$Type extends MessageType<PartnerAppShortenURLR
super("api.PartnerAppShortenURLRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestPartnerAppHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "URL", kind: "scalar", localName: "URL", jsonName: "URL", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." }, "validate.rules": { int64: { lte: "1500000000" } } } },
{ no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "validate.rules": { int64: { lte: "1500000000" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." } } },
{ no: 4, name: "IsPublic", kind: "scalar", localName: "IsPublic", jsonName: "IsPublic", T: 8 /*ScalarType.BOOL*/ },
{ no: 5, name: "IsOnce", kind: "scalar", localName: "IsOnce", jsonName: "IsOnce", T: 8 /*ScalarType.BOOL*/ },
{ no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated" }, "validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } } } }
{ no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "URL", "TimeToLive"] } } });
}
create(value?: PartialMessage<PartnerAppShortenURLRequest>): PartnerAppShortenURLRequest {
@@ -1269,10 +1269,10 @@ class OrganisationUploadFileRequest$Type extends MessageType<OrganisationUploadF
super("api.OrganisationUploadFileRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "File", kind: "message", localName: "File", jsonName: "File", T: () => FileDataRequest, options: { "validate.rules": { message: { required: true } } } },
{ no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." }, "validate.rules": { int64: { lte: "1500000000" } } } },
{ no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "validate.rules": { int64: { lte: "1500000000" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." } } },
{ no: 4, name: "IsPublic", kind: "scalar", localName: "IsPublic", jsonName: "IsPublic", T: 8 /*ScalarType.BOOL*/ },
{ no: 5, name: "IsOnce", kind: "scalar", localName: "IsOnce", jsonName: "IsOnce", T: 8 /*ScalarType.BOOL*/ },
{ no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated" }, "validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } } } }
{ no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "File", "TimeToLive"] } } });
}
create(value?: PartialMessage<OrganisationUploadFileRequest>): OrganisationUploadFileRequest {
@@ -1400,10 +1400,10 @@ class ProjectUploadFileRequest$Type extends MessageType<ProjectUploadFileRequest
super("api.ProjectUploadFileRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "File", kind: "message", localName: "File", jsonName: "File", T: () => FileDataRequest, options: { "validate.rules": { message: { required: true } } } },
{ no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." }, "validate.rules": { int64: { lte: "1500000000" } } } },
{ no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "validate.rules": { int64: { lte: "1500000000" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." } } },
{ no: 4, name: "IsPublic", kind: "scalar", localName: "IsPublic", jsonName: "IsPublic", T: 8 /*ScalarType.BOOL*/ },
{ no: 5, name: "IsOnce", kind: "scalar", localName: "IsOnce", jsonName: "IsOnce", T: 8 /*ScalarType.BOOL*/ },
{ no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated" }, "validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } } } }
{ no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "File", "TimeToLive"] } } });
}
create(value?: PartialMessage<ProjectUploadFileRequest>): ProjectUploadFileRequest {
@@ -1531,10 +1531,10 @@ class PartnerAppUploadFileRequest$Type extends MessageType<PartnerAppUploadFileR
super("api.PartnerAppUploadFileRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestPartnerAppHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "File", kind: "message", localName: "File", jsonName: "File", T: () => FileDataRequest, options: { "validate.rules": { message: { required: true } } } },
{ no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." }, "validate.rules": { int64: { lte: "1500000000" } } } },
{ no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "validate.rules": { int64: { lte: "1500000000" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." } } },
{ no: 4, name: "IsPublic", kind: "scalar", localName: "IsPublic", jsonName: "IsPublic", T: 8 /*ScalarType.BOOL*/ },
{ no: 5, name: "IsOnce", kind: "scalar", localName: "IsOnce", jsonName: "IsOnce", T: 8 /*ScalarType.BOOL*/ },
{ no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated" }, "validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } } } }
{ no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "File", "TimeToLive"] } } });
}
create(value?: PartialMessage<PartnerAppUploadFileRequest>): PartnerAppUploadFileRequest {
@@ -1661,11 +1661,11 @@ class OrganisationUploadPayloadRequest$Type extends MessageType<OrganisationUplo
constructor() {
super("api.OrganisationUploadPayloadRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The payload content, which can either be plain text or a stringified JSON. The MIME type will be automatically inferred based on whether the content can be parsed as JSON." }, "validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." }, "validate.rules": { int64: { lte: "1500000000" } } } },
{ no: 2, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The payload content, which can either be plain text or a stringified JSON. The MIME type will be automatically inferred based on whether the content can be parsed as JSON." } } },
{ no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "validate.rules": { int64: { lte: "1500000000" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." } } },
{ no: 4, name: "IsPublic", kind: "scalar", localName: "IsPublic", jsonName: "IsPublic", T: 8 /*ScalarType.BOOL*/ },
{ no: 5, name: "IsOnce", kind: "scalar", localName: "IsOnce", jsonName: "IsOnce", T: 8 /*ScalarType.BOOL*/ },
{ no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated" }, "validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } } } }
{ no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Payload", "TimeToLive"] } } });
}
create(value?: PartialMessage<OrganisationUploadPayloadRequest>): OrganisationUploadPayloadRequest {
@@ -1793,11 +1793,11 @@ class ProjectUploadPayloadRequest$Type extends MessageType<ProjectUploadPayloadR
constructor() {
super("api.ProjectUploadPayloadRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The payload content, which can either be plain text or a stringified JSON. The MIME type will be automatically inferred based on whether the content can be parsed as JSON." }, "validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." }, "validate.rules": { int64: { lte: "1500000000" } } } },
{ no: 2, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The payload content, which can either be plain text or a stringified JSON. The MIME type will be automatically inferred based on whether the content can be parsed as JSON." } } },
{ no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "validate.rules": { int64: { lte: "1500000000" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." } } },
{ no: 4, name: "IsPublic", kind: "scalar", localName: "IsPublic", jsonName: "IsPublic", T: 8 /*ScalarType.BOOL*/ },
{ no: 5, name: "IsOnce", kind: "scalar", localName: "IsOnce", jsonName: "IsOnce", T: 8 /*ScalarType.BOOL*/ },
{ no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated" }, "validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } } } }
{ no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Payload", "TimeToLive"] } } });
}
create(value?: PartialMessage<ProjectUploadPayloadRequest>): ProjectUploadPayloadRequest {
@@ -1925,11 +1925,11 @@ class PartnerAppUploadPayloadRequest$Type extends MessageType<PartnerAppUploadPa
constructor() {
super("api.PartnerAppUploadPayloadRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestPartnerAppHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The payload content, which can either be plain text or a stringified JSON. The MIME type will be automatically inferred based on whether the content can be parsed as JSON." }, "validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." }, "validate.rules": { int64: { lte: "1500000000" } } } },
{ no: 2, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The payload content, which can either be plain text or a stringified JSON. The MIME type will be automatically inferred based on whether the content can be parsed as JSON." } } },
{ no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "validate.rules": { int64: { lte: "1500000000" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." } } },
{ no: 4, name: "IsPublic", kind: "scalar", localName: "IsPublic", jsonName: "IsPublic", T: 8 /*ScalarType.BOOL*/ },
{ no: 5, name: "IsOnce", kind: "scalar", localName: "IsOnce", jsonName: "IsOnce", T: 8 /*ScalarType.BOOL*/ },
{ no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated" }, "validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } } } }
{ no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Payload", "TimeToLive"] } } });
}
create(value?: PartialMessage<PartnerAppUploadPayloadRequest>): PartnerAppUploadPayloadRequest {