You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -34,7 +34,7 @@ export interface MessagingSettings {
|
|||||||
/**
|
/**
|
||||||
* @generated from protobuf field: string SenderLabel = 4
|
* @generated from protobuf field: string SenderLabel = 4
|
||||||
*/
|
*/
|
||||||
SenderLabel: string; // SenderLabel is the label for the sender that will be displayed in messaging communications. If not set, will use the default Hardis SCN label.
|
SenderLabel: string; // SenderLabel is the label for the sender that will be displayed in messaging communications. Must be either an alphanumeric sender ID (up to 11 chars, ASCII letters/digits/spaces) or a phone number in E.164 format (+[1-15 digits]). If not set, will use the default Hardis SCN label.
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* MessagingSettingsHistory represents a record of changes made to the messaging settings for a specific project. It contains information about the user who made the change, the details of the messaging settings that were changed, and the timestamp of when the change was made.
|
* MessagingSettingsHistory represents a record of changes made to the messaging settings for a specific project. It contains information about the user who made the change, the details of the messaging settings that were changed, and the timestamp of when the change was made.
|
||||||
@@ -110,7 +110,7 @@ export interface PutMessagingSettingsRequest {
|
|||||||
/**
|
/**
|
||||||
* @generated from protobuf field: string SenderLabel = 4
|
* @generated from protobuf field: string SenderLabel = 4
|
||||||
*/
|
*/
|
||||||
SenderLabel: string; // SenderLabel is the label for the sender that will be displayed in messaging communications. If not set, will use the default Hardis SCN label.
|
SenderLabel: string; // SenderLabel is the label for the sender that will be displayed in messaging communications. Must be either an alphanumeric sender ID (up to 11 chars, ASCII letters/digits/spaces) or a phone number in E.164 format (+[1-15 digits]). If not set, will use the default Hardis SCN label.
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.PutMessagingSettingsResponse
|
* @generated from protobuf message api.PutMessagingSettingsResponse
|
||||||
@@ -152,7 +152,7 @@ class MessagingSettings$Type extends MessageType<MessagingSettings> {
|
|||||||
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
{ 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: { 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: "<a href='https://en.wikipedia.org/wiki/ISO_4217'>ISO 4217</a> currency code", example: "[\"EUR\", \"USD\"]" } } },
|
{ 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*/ }
|
{ 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 } } } }
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<MessagingSettings>): MessagingSettings {
|
create(value?: PartialMessage<MessagingSettings>): MessagingSettings {
|
||||||
@@ -470,7 +470,7 @@ class PutMessagingSettingsRequest$Type extends MessageType<PutMessagingSettingsR
|
|||||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
{ 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: { 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: "<a href='https://en.wikipedia.org/wiki/ISO_4217'>ISO 4217</a> currency code", example: "[\"EUR\", \"USD\"]" } } },
|
{ 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*/ }
|
{ 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 } } } }
|
||||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "MaxUsage", "Currency", "SenderLabel"] } } });
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "MaxUsage", "Currency", "SenderLabel"] } } });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<PutMessagingSettingsRequest>): PutMessagingSettingsRequest {
|
create(value?: PartialMessage<PutMessagingSettingsRequest>): PutMessagingSettingsRequest {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@reflex-platform/npm-core-sdk",
|
"name": "@reflex-platform/npm-core-sdk",
|
||||||
"version": "1.14.0-SNAPSHOT-260618140250",
|
"version": "1.14.0-SNAPSHOT-260618151557",
|
||||||
"description": "npm libs from core model proto files",
|
"description": "npm libs from core model proto files",
|
||||||
"homepage": "",
|
"homepage": "",
|
||||||
"main": "index.ts",
|
"main": "index.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user