You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.14.0-SNAPSHOT-260601092251",
|
||||
"version": "1.14.0-SNAPSHOT-260601131821",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
126
tiny-url.ts
126
tiny-url.ts
@@ -113,6 +113,10 @@ export interface OrganisationShortenURLRequest {
|
||||
* @generated from protobuf field: string Alias = 6
|
||||
*/
|
||||
Alias: string;
|
||||
/**
|
||||
* @generated from protobuf field: bool OverwriteExisting = 7
|
||||
*/
|
||||
OverwriteExisting: boolean;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.OrganisationShortenURLResponse
|
||||
@@ -151,6 +155,10 @@ export interface ProjectShortenURLRequest {
|
||||
* @generated from protobuf field: string Alias = 6
|
||||
*/
|
||||
Alias: string;
|
||||
/**
|
||||
* @generated from protobuf field: bool OverwriteExisting = 7
|
||||
*/
|
||||
OverwriteExisting: boolean;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ProjectShortenURLResponse
|
||||
@@ -189,6 +197,10 @@ export interface PartnerAppShortenURLRequest {
|
||||
* @generated from protobuf field: string Alias = 6
|
||||
*/
|
||||
Alias: string;
|
||||
/**
|
||||
* @generated from protobuf field: bool OverwriteExisting = 7
|
||||
*/
|
||||
OverwriteExisting: boolean;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.PartnerAppShortenURLResponse
|
||||
@@ -227,6 +239,10 @@ export interface OrganisationUploadFileRequest {
|
||||
* @generated from protobuf field: string Alias = 6
|
||||
*/
|
||||
Alias: string;
|
||||
/**
|
||||
* @generated from protobuf field: bool OverwriteExisting = 7
|
||||
*/
|
||||
OverwriteExisting: boolean;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.OrganisationUploadFileResponse
|
||||
@@ -265,6 +281,10 @@ export interface ProjectUploadFileRequest {
|
||||
* @generated from protobuf field: string Alias = 6
|
||||
*/
|
||||
Alias: string;
|
||||
/**
|
||||
* @generated from protobuf field: bool OverwriteExisting = 7
|
||||
*/
|
||||
OverwriteExisting: boolean;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ProjectUploadFileResponse
|
||||
@@ -303,6 +323,10 @@ export interface PartnerAppUploadFileRequest {
|
||||
* @generated from protobuf field: string Alias = 6
|
||||
*/
|
||||
Alias: string;
|
||||
/**
|
||||
* @generated from protobuf field: bool OverwriteExisting = 7
|
||||
*/
|
||||
OverwriteExisting: boolean;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.PartnerAppUploadFileResponse
|
||||
@@ -341,6 +365,10 @@ export interface OrganisationUploadPayloadRequest {
|
||||
* @generated from protobuf field: string Alias = 6
|
||||
*/
|
||||
Alias: string;
|
||||
/**
|
||||
* @generated from protobuf field: bool OverwriteExisting = 7
|
||||
*/
|
||||
OverwriteExisting: boolean;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.OrganisationUploadPayloadResponse
|
||||
@@ -379,6 +407,10 @@ export interface ProjectUploadPayloadRequest {
|
||||
* @generated from protobuf field: string Alias = 6
|
||||
*/
|
||||
Alias: string;
|
||||
/**
|
||||
* @generated from protobuf field: bool OverwriteExisting = 7
|
||||
*/
|
||||
OverwriteExisting: boolean;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ProjectUploadPayloadResponse
|
||||
@@ -417,6 +449,10 @@ export interface PartnerAppUploadPayloadRequest {
|
||||
* @generated from protobuf field: string Alias = 6
|
||||
*/
|
||||
Alias: string;
|
||||
/**
|
||||
* @generated from protobuf field: bool OverwriteExisting = 7
|
||||
*/
|
||||
OverwriteExisting: boolean;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.PartnerAppUploadPayloadResponse
|
||||
@@ -876,7 +912,8 @@ class OrganisationShortenURLRequest$Type extends MessageType<OrganisationShorten
|
||||
{ no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "n1validate.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: { "n1validate.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", pattern: "^[a-zA-Z0-9-]*$" } } }
|
||||
{ no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "n1validate.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", pattern: "^[a-zA-Z0-9-]*$" } } },
|
||||
{ no: 7, name: "OverwriteExisting", kind: "scalar", localName: "OverwriteExisting", jsonName: "OverwriteExisting", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "If true, allows overwriting an existing tiny URL with the same alias. If false, the request will fail if the alias already exists. Default value is false." } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "URL", "TimeToLive"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<OrganisationShortenURLRequest>): OrganisationShortenURLRequest {
|
||||
@@ -886,6 +923,7 @@ class OrganisationShortenURLRequest$Type extends MessageType<OrganisationShorten
|
||||
message.IsPublic = false;
|
||||
message.IsOnce = false;
|
||||
message.Alias = "";
|
||||
message.OverwriteExisting = false;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<OrganisationShortenURLRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -913,6 +951,9 @@ class OrganisationShortenURLRequest$Type extends MessageType<OrganisationShorten
|
||||
case /* string Alias */ 6:
|
||||
message.Alias = reader.string();
|
||||
break;
|
||||
case /* bool OverwriteExisting */ 7:
|
||||
message.OverwriteExisting = reader.bool();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -943,6 +984,9 @@ class OrganisationShortenURLRequest$Type extends MessageType<OrganisationShorten
|
||||
/* string Alias = 6; */
|
||||
if (message.Alias !== "")
|
||||
writer.tag(6, WireType.LengthDelimited).string(message.Alias);
|
||||
/* bool OverwriteExisting = 7; */
|
||||
if (message.OverwriteExisting !== false)
|
||||
writer.tag(7, WireType.Varint).bool(message.OverwriteExisting);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -1008,7 +1052,8 @@ class ProjectShortenURLRequest$Type extends MessageType<ProjectShortenURLRequest
|
||||
{ no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "n1validate.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: { "n1validate.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", pattern: "^[a-zA-Z0-9-]*$" } } }
|
||||
{ no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "n1validate.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", pattern: "^[a-zA-Z0-9-]*$" } } },
|
||||
{ no: 7, name: "OverwriteExisting", kind: "scalar", localName: "OverwriteExisting", jsonName: "OverwriteExisting", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "If true, allows overwriting an existing tiny URL with the same alias. If false, the request will fail if the alias already exists. Default value is false." } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "URL", "TimeToLive"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<ProjectShortenURLRequest>): ProjectShortenURLRequest {
|
||||
@@ -1018,6 +1063,7 @@ class ProjectShortenURLRequest$Type extends MessageType<ProjectShortenURLRequest
|
||||
message.IsPublic = false;
|
||||
message.IsOnce = false;
|
||||
message.Alias = "";
|
||||
message.OverwriteExisting = false;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ProjectShortenURLRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -1045,6 +1091,9 @@ class ProjectShortenURLRequest$Type extends MessageType<ProjectShortenURLRequest
|
||||
case /* string Alias */ 6:
|
||||
message.Alias = reader.string();
|
||||
break;
|
||||
case /* bool OverwriteExisting */ 7:
|
||||
message.OverwriteExisting = reader.bool();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -1075,6 +1124,9 @@ class ProjectShortenURLRequest$Type extends MessageType<ProjectShortenURLRequest
|
||||
/* string Alias = 6; */
|
||||
if (message.Alias !== "")
|
||||
writer.tag(6, WireType.LengthDelimited).string(message.Alias);
|
||||
/* bool OverwriteExisting = 7; */
|
||||
if (message.OverwriteExisting !== false)
|
||||
writer.tag(7, WireType.Varint).bool(message.OverwriteExisting);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -1140,7 +1192,8 @@ class PartnerAppShortenURLRequest$Type extends MessageType<PartnerAppShortenURLR
|
||||
{ no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "n1validate.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: { "n1validate.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", pattern: "^[a-zA-Z0-9-]*$" } } }
|
||||
{ no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "n1validate.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", pattern: "^[a-zA-Z0-9-]*$" } } },
|
||||
{ no: 7, name: "OverwriteExisting", kind: "scalar", localName: "OverwriteExisting", jsonName: "OverwriteExisting", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "If true, allows overwriting an existing tiny URL with the same alias. If false, the request will fail if the alias already exists. Default value is false." } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "URL", "TimeToLive"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<PartnerAppShortenURLRequest>): PartnerAppShortenURLRequest {
|
||||
@@ -1150,6 +1203,7 @@ class PartnerAppShortenURLRequest$Type extends MessageType<PartnerAppShortenURLR
|
||||
message.IsPublic = false;
|
||||
message.IsOnce = false;
|
||||
message.Alias = "";
|
||||
message.OverwriteExisting = false;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<PartnerAppShortenURLRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -1177,6 +1231,9 @@ class PartnerAppShortenURLRequest$Type extends MessageType<PartnerAppShortenURLR
|
||||
case /* string Alias */ 6:
|
||||
message.Alias = reader.string();
|
||||
break;
|
||||
case /* bool OverwriteExisting */ 7:
|
||||
message.OverwriteExisting = reader.bool();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -1207,6 +1264,9 @@ class PartnerAppShortenURLRequest$Type extends MessageType<PartnerAppShortenURLR
|
||||
/* string Alias = 6; */
|
||||
if (message.Alias !== "")
|
||||
writer.tag(6, WireType.LengthDelimited).string(message.Alias);
|
||||
/* bool OverwriteExisting = 7; */
|
||||
if (message.OverwriteExisting !== false)
|
||||
writer.tag(7, WireType.Varint).bool(message.OverwriteExisting);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -1272,7 +1332,8 @@ class OrganisationUploadFileRequest$Type extends MessageType<OrganisationUploadF
|
||||
{ no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "n1validate.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: { "n1validate.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", pattern: "^[a-zA-Z0-9-]*$" } } }
|
||||
{ no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "n1validate.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", pattern: "^[a-zA-Z0-9-]*$" } } },
|
||||
{ no: 7, name: "OverwriteExisting", kind: "scalar", localName: "OverwriteExisting", jsonName: "OverwriteExisting", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "If true, allows overwriting an existing tiny URL with the same alias. If false, the request will fail if the alias already exists. Default value is false." } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "File", "TimeToLive"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<OrganisationUploadFileRequest>): OrganisationUploadFileRequest {
|
||||
@@ -1281,6 +1342,7 @@ class OrganisationUploadFileRequest$Type extends MessageType<OrganisationUploadF
|
||||
message.IsPublic = false;
|
||||
message.IsOnce = false;
|
||||
message.Alias = "";
|
||||
message.OverwriteExisting = false;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<OrganisationUploadFileRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -1308,6 +1370,9 @@ class OrganisationUploadFileRequest$Type extends MessageType<OrganisationUploadF
|
||||
case /* string Alias */ 6:
|
||||
message.Alias = reader.string();
|
||||
break;
|
||||
case /* bool OverwriteExisting */ 7:
|
||||
message.OverwriteExisting = reader.bool();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -1338,6 +1403,9 @@ class OrganisationUploadFileRequest$Type extends MessageType<OrganisationUploadF
|
||||
/* string Alias = 6; */
|
||||
if (message.Alias !== "")
|
||||
writer.tag(6, WireType.LengthDelimited).string(message.Alias);
|
||||
/* bool OverwriteExisting = 7; */
|
||||
if (message.OverwriteExisting !== false)
|
||||
writer.tag(7, WireType.Varint).bool(message.OverwriteExisting);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -1403,7 +1471,8 @@ class ProjectUploadFileRequest$Type extends MessageType<ProjectUploadFileRequest
|
||||
{ no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "n1validate.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: { "n1validate.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", pattern: "^[a-zA-Z0-9-]*$" } } }
|
||||
{ no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "n1validate.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", pattern: "^[a-zA-Z0-9-]*$" } } },
|
||||
{ no: 7, name: "OverwriteExisting", kind: "scalar", localName: "OverwriteExisting", jsonName: "OverwriteExisting", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "If true, allows overwriting an existing tiny URL with the same alias. If false, the request will fail if the alias already exists. Default value is false." } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "File", "TimeToLive"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<ProjectUploadFileRequest>): ProjectUploadFileRequest {
|
||||
@@ -1412,6 +1481,7 @@ class ProjectUploadFileRequest$Type extends MessageType<ProjectUploadFileRequest
|
||||
message.IsPublic = false;
|
||||
message.IsOnce = false;
|
||||
message.Alias = "";
|
||||
message.OverwriteExisting = false;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ProjectUploadFileRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -1439,6 +1509,9 @@ class ProjectUploadFileRequest$Type extends MessageType<ProjectUploadFileRequest
|
||||
case /* string Alias */ 6:
|
||||
message.Alias = reader.string();
|
||||
break;
|
||||
case /* bool OverwriteExisting */ 7:
|
||||
message.OverwriteExisting = reader.bool();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -1469,6 +1542,9 @@ class ProjectUploadFileRequest$Type extends MessageType<ProjectUploadFileRequest
|
||||
/* string Alias = 6; */
|
||||
if (message.Alias !== "")
|
||||
writer.tag(6, WireType.LengthDelimited).string(message.Alias);
|
||||
/* bool OverwriteExisting = 7; */
|
||||
if (message.OverwriteExisting !== false)
|
||||
writer.tag(7, WireType.Varint).bool(message.OverwriteExisting);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -1534,7 +1610,8 @@ class PartnerAppUploadFileRequest$Type extends MessageType<PartnerAppUploadFileR
|
||||
{ no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "n1validate.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: { "n1validate.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", pattern: "^[a-zA-Z0-9-]*$" } } }
|
||||
{ no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "n1validate.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", pattern: "^[a-zA-Z0-9-]*$" } } },
|
||||
{ no: 7, name: "OverwriteExisting", kind: "scalar", localName: "OverwriteExisting", jsonName: "OverwriteExisting", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "If true, allows overwriting an existing tiny URL with the same alias. If false, the request will fail if the alias already exists. Default value is false." } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "File", "TimeToLive"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<PartnerAppUploadFileRequest>): PartnerAppUploadFileRequest {
|
||||
@@ -1543,6 +1620,7 @@ class PartnerAppUploadFileRequest$Type extends MessageType<PartnerAppUploadFileR
|
||||
message.IsPublic = false;
|
||||
message.IsOnce = false;
|
||||
message.Alias = "";
|
||||
message.OverwriteExisting = false;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<PartnerAppUploadFileRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -1570,6 +1648,9 @@ class PartnerAppUploadFileRequest$Type extends MessageType<PartnerAppUploadFileR
|
||||
case /* string Alias */ 6:
|
||||
message.Alias = reader.string();
|
||||
break;
|
||||
case /* bool OverwriteExisting */ 7:
|
||||
message.OverwriteExisting = reader.bool();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -1600,6 +1681,9 @@ class PartnerAppUploadFileRequest$Type extends MessageType<PartnerAppUploadFileR
|
||||
/* string Alias = 6; */
|
||||
if (message.Alias !== "")
|
||||
writer.tag(6, WireType.LengthDelimited).string(message.Alias);
|
||||
/* bool OverwriteExisting = 7; */
|
||||
if (message.OverwriteExisting !== false)
|
||||
writer.tag(7, WireType.Varint).bool(message.OverwriteExisting);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -1665,7 +1749,8 @@ class OrganisationUploadPayloadRequest$Type extends MessageType<OrganisationUplo
|
||||
{ no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "n1validate.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: { "n1validate.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", pattern: "^[a-zA-Z0-9-]*$" } } }
|
||||
{ no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "n1validate.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", pattern: "^[a-zA-Z0-9-]*$" } } },
|
||||
{ no: 7, name: "OverwriteExisting", kind: "scalar", localName: "OverwriteExisting", jsonName: "OverwriteExisting", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "If true, allows overwriting an existing tiny URL with the same alias. If false, the request will fail if the alias already exists. Default value is false." } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Payload", "TimeToLive"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<OrganisationUploadPayloadRequest>): OrganisationUploadPayloadRequest {
|
||||
@@ -1675,6 +1760,7 @@ class OrganisationUploadPayloadRequest$Type extends MessageType<OrganisationUplo
|
||||
message.IsPublic = false;
|
||||
message.IsOnce = false;
|
||||
message.Alias = "";
|
||||
message.OverwriteExisting = false;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<OrganisationUploadPayloadRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -1702,6 +1788,9 @@ class OrganisationUploadPayloadRequest$Type extends MessageType<OrganisationUplo
|
||||
case /* string Alias */ 6:
|
||||
message.Alias = reader.string();
|
||||
break;
|
||||
case /* bool OverwriteExisting */ 7:
|
||||
message.OverwriteExisting = reader.bool();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -1732,6 +1821,9 @@ class OrganisationUploadPayloadRequest$Type extends MessageType<OrganisationUplo
|
||||
/* string Alias = 6; */
|
||||
if (message.Alias !== "")
|
||||
writer.tag(6, WireType.LengthDelimited).string(message.Alias);
|
||||
/* bool OverwriteExisting = 7; */
|
||||
if (message.OverwriteExisting !== false)
|
||||
writer.tag(7, WireType.Varint).bool(message.OverwriteExisting);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -1797,7 +1889,8 @@ class ProjectUploadPayloadRequest$Type extends MessageType<ProjectUploadPayloadR
|
||||
{ no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "n1validate.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: { "n1validate.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", pattern: "^[a-zA-Z0-9-]*$" } } }
|
||||
{ no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "n1validate.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", pattern: "^[a-zA-Z0-9-]*$" } } },
|
||||
{ no: 7, name: "OverwriteExisting", kind: "scalar", localName: "OverwriteExisting", jsonName: "OverwriteExisting", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "If true, allows overwriting an existing tiny URL with the same alias. If false, the request will fail if the alias already exists. Default value is false." } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Payload", "TimeToLive"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<ProjectUploadPayloadRequest>): ProjectUploadPayloadRequest {
|
||||
@@ -1807,6 +1900,7 @@ class ProjectUploadPayloadRequest$Type extends MessageType<ProjectUploadPayloadR
|
||||
message.IsPublic = false;
|
||||
message.IsOnce = false;
|
||||
message.Alias = "";
|
||||
message.OverwriteExisting = false;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ProjectUploadPayloadRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -1834,6 +1928,9 @@ class ProjectUploadPayloadRequest$Type extends MessageType<ProjectUploadPayloadR
|
||||
case /* string Alias */ 6:
|
||||
message.Alias = reader.string();
|
||||
break;
|
||||
case /* bool OverwriteExisting */ 7:
|
||||
message.OverwriteExisting = reader.bool();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -1864,6 +1961,9 @@ class ProjectUploadPayloadRequest$Type extends MessageType<ProjectUploadPayloadR
|
||||
/* string Alias = 6; */
|
||||
if (message.Alias !== "")
|
||||
writer.tag(6, WireType.LengthDelimited).string(message.Alias);
|
||||
/* bool OverwriteExisting = 7; */
|
||||
if (message.OverwriteExisting !== false)
|
||||
writer.tag(7, WireType.Varint).bool(message.OverwriteExisting);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -1929,7 +2029,8 @@ class PartnerAppUploadPayloadRequest$Type extends MessageType<PartnerAppUploadPa
|
||||
{ no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "n1validate.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: { "n1validate.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", pattern: "^[a-zA-Z0-9-]*$" } } }
|
||||
{ no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "n1validate.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", pattern: "^[a-zA-Z0-9-]*$" } } },
|
||||
{ no: 7, name: "OverwriteExisting", kind: "scalar", localName: "OverwriteExisting", jsonName: "OverwriteExisting", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "If true, allows overwriting an existing tiny URL with the same alias. If false, the request will fail if the alias already exists. Default value is false." } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Payload", "TimeToLive"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<PartnerAppUploadPayloadRequest>): PartnerAppUploadPayloadRequest {
|
||||
@@ -1939,6 +2040,7 @@ class PartnerAppUploadPayloadRequest$Type extends MessageType<PartnerAppUploadPa
|
||||
message.IsPublic = false;
|
||||
message.IsOnce = false;
|
||||
message.Alias = "";
|
||||
message.OverwriteExisting = false;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<PartnerAppUploadPayloadRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -1966,6 +2068,9 @@ class PartnerAppUploadPayloadRequest$Type extends MessageType<PartnerAppUploadPa
|
||||
case /* string Alias */ 6:
|
||||
message.Alias = reader.string();
|
||||
break;
|
||||
case /* bool OverwriteExisting */ 7:
|
||||
message.OverwriteExisting = reader.bool();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -1996,6 +2101,9 @@ class PartnerAppUploadPayloadRequest$Type extends MessageType<PartnerAppUploadPa
|
||||
/* string Alias = 6; */
|
||||
if (message.Alias !== "")
|
||||
writer.tag(6, WireType.LengthDelimited).string(message.Alias);
|
||||
/* bool OverwriteExisting = 7; */
|
||||
if (message.OverwriteExisting !== false)
|
||||
writer.tag(7, WireType.Varint).bool(message.OverwriteExisting);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user