diff --git a/bandwidth.yml b/bandwidth.yml index 5362a7c..c4b1fb2 100644 --- a/bandwidth.yml +++ b/bandwidth.yml @@ -1862,7 +1862,6 @@ components: - from - text - media - - priority messageDeliveredCallback: description: Message Delivered Callback type: object @@ -2035,7 +2034,6 @@ components: - from - text - tag - - priority callbackMethodEnum: type: string nullable: true diff --git a/models/message-failed-callback-message.ts b/models/message-failed-callback-message.ts index eb2a7b8..e4bfffc 100644 --- a/models/message-failed-callback-message.ts +++ b/models/message-failed-callback-message.ts @@ -97,7 +97,7 @@ export interface MessageFailedCallbackMessage { * @type {PriorityEnum} * @memberof MessageFailedCallbackMessage */ - 'priority': PriorityEnum; + 'priority'?: PriorityEnum; } diff --git a/models/message-sending-callback-message.ts b/models/message-sending-callback-message.ts index 3f373f4..c6bc540 100644 --- a/models/message-sending-callback-message.ts +++ b/models/message-sending-callback-message.ts @@ -97,7 +97,7 @@ export interface MessageSendingCallbackMessage { * @type {PriorityEnum} * @memberof MessageSendingCallbackMessage */ - 'priority': PriorityEnum; + 'priority'?: PriorityEnum; } diff --git a/tsconfig.json b/tsconfig.json index ed6a30a..0c497fd 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,5 +18,6 @@ "dist", "tests", "node_modules" - ] + ], + "include": ["global.d.ts"] }