You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -150,7 +150,7 @@ class MessagingSettings$Type extends MessageType<MessagingSettings> {
|
||||
constructor() {
|
||||
super("api.MessagingSettings", [
|
||||
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "MaxUsage", kind: "scalar", localName: "MaxUsage", jsonName: "MaxUsage", T: 2 /*ScalarType.FLOAT*/, options: { "n1validate.rules": { float: { gt: 0 } } } },
|
||||
{ no: 2, name: "MaxUsage", kind: "scalar", localName: "MaxUsage", jsonName: "MaxUsage", T: 2 /*ScalarType.FLOAT*/, options: { "n1validate.rules": { float: { gte: 0 } } } },
|
||||
{ no: 3, name: "Currency", kind: "enum", localName: "Currency", jsonName: "Currency", T: () => ["api.Currency", Currency], options: { "n1validate.rules": { enum: { definedOnly: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/ISO_4217'>ISO 4217</a> currency code", example: "[\"EUR\", \"USD\"]" } } },
|
||||
{ no: 4, name: "SenderLabel", kind: "scalar", localName: "SenderLabel", jsonName: "SenderLabel", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^[a-zA-Z0-9 &]{1,11}$", ignoreEmpty: true } } } }
|
||||
]);
|
||||
@@ -468,7 +468,7 @@ class PutMessagingSettingsRequest$Type extends MessageType<PutMessagingSettingsR
|
||||
constructor() {
|
||||
super("api.PutMessagingSettingsRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "MaxUsage", kind: "scalar", localName: "MaxUsage", jsonName: "MaxUsage", T: 2 /*ScalarType.FLOAT*/, options: { "n1validate.rules": { float: { gt: 0 } } } },
|
||||
{ no: 2, name: "MaxUsage", kind: "scalar", localName: "MaxUsage", jsonName: "MaxUsage", T: 2 /*ScalarType.FLOAT*/, options: { "n1validate.rules": { float: { gte: 0 } } } },
|
||||
{ no: 3, name: "Currency", kind: "enum", localName: "Currency", jsonName: "Currency", T: () => ["api.Currency", Currency], options: { "n1validate.rules": { enum: { definedOnly: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/ISO_4217'>ISO 4217</a> currency code", example: "[\"EUR\", \"USD\"]" } } },
|
||||
{ no: 4, name: "SenderLabel", kind: "scalar", localName: "SenderLabel", jsonName: "SenderLabel", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^[a-zA-Z0-9 &]{1,11}$", ignoreEmpty: true } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "MaxUsage", "Currency", "SenderLabel"] } } });
|
||||
|
||||
Reference in New Issue
Block a user