diff --git a/messaging-settings.ts b/messaging-settings.ts index 956fe9a..28f17be 100644 --- a/messaging-settings.ts +++ b/messaging-settings.ts @@ -152,7 +152,7 @@ class MessagingSettings$Type extends MessageType { { 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: 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: "ISO 4217 currency code", example: "[\"EUR\", \"USD\"]" } } }, - { no: 4, name: "SenderLabel", kind: "scalar", localName: "SenderLabel", jsonName: "SenderLabel", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^(\\+[0-9]{1,15}|[a-zA-Z0-9 ]{1,11})$", ignoreEmpty: true } } } } + { 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 } } } } ]); } create(value?: PartialMessage): MessagingSettings { @@ -470,7 +470,7 @@ class PutMessagingSettingsRequest$Type extends MessageType 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: 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: "ISO 4217 currency code", example: "[\"EUR\", \"USD\"]" } } }, - { no: 4, name: "SenderLabel", kind: "scalar", localName: "SenderLabel", jsonName: "SenderLabel", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^(\\+[0-9]{1,15}|[a-zA-Z0-9 ]{1,11})$", ignoreEmpty: true } } } } + { 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"] } } }); } create(value?: PartialMessage): PutMessagingSettingsRequest { diff --git a/package.json b/package.json index e03eaac..e45df1a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@reflex-platform/npm-core-sdk", - "version": "1.14.0-SNAPSHOT-260619090850", + "version": "1.14.0-SNAPSHOT-260619122500", "description": "npm libs from core model proto files", "homepage": "", "main": "index.ts",