ultracart_rest_api_v2_typescript 4.0.227 → 4.0.229
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/dist/models/ConversationPbxAgent.d.ts +12 -6
- package/dist/models/ConversationPbxAgent.js +4 -2
- package/dist/models/ConversationPbxMenu.d.ts +14 -0
- package/dist/models/ConversationPbxMenu.js +10 -1
- package/dist/models/ConversationPbxVoicemailMailbox.d.ts +18 -2
- package/dist/models/ConversationPbxVoicemailMailbox.js +15 -1
- package/dist/models/ItemReporting.d.ts +1 -1
- package/package.json +1 -1
- package/src/models/ConversationPbxAgent.ts +16 -8
- package/src/models/ConversationPbxMenu.ts +19 -0
- package/src/models/ConversationPbxVoicemailMailbox.ts +20 -2
- package/src/models/ItemReporting.ts +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@4.0.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@4.0.229
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install ultracart_rest_api_v2_typescript@4.0.
|
|
39
|
+
npm install ultracart_rest_api_v2_typescript@4.0.229 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -54,6 +54,8 @@ Not every change is committed to every SDK.
|
|
|
54
54
|
|
|
55
55
|
| Version | Date | Comments |
|
|
56
56
|
| --: | :-: | --- |
|
|
57
|
+
| 4.0.229 | 06/14/2024 | pbx menu - add say voice property |
|
|
58
|
+
| 4.0.228 | 06/07/2024 | conversation pbx - adjust agent voicemail box uuid fields |
|
|
57
59
|
| 4.0.227 | 06/03/2024 | conversationPbxPhoneNumber - fix serialized name for phone number UUID |
|
|
58
60
|
| 4.0.226 | 05/31/2024 | ItemApi.getInventorySnapshot method |
|
|
59
61
|
| 4.0.225 | 05/30/2024 | add adult sig req. to the merchant item destination markup for items |
|
|
@@ -27,12 +27,6 @@ export interface ConversationPbxAgent {
|
|
|
27
27
|
* @memberof ConversationPbxAgent
|
|
28
28
|
*/
|
|
29
29
|
conversation_pbx_agent_uuid?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Conversation Pbx Voicemail Mailbox UUID
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ConversationPbxAgent
|
|
34
|
-
*/
|
|
35
|
-
conversation_pbx_voicemail_mailbox_uuid?: string;
|
|
36
30
|
/**
|
|
37
31
|
* Extension
|
|
38
32
|
* @type {number}
|
|
@@ -63,12 +57,24 @@ export interface ConversationPbxAgent {
|
|
|
63
57
|
* @memberof ConversationPbxAgent
|
|
64
58
|
*/
|
|
65
59
|
merchant_id?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Personal Conversation Pbx Voicemail Mailbox UUID
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof ConversationPbxAgent
|
|
64
|
+
*/
|
|
65
|
+
personal_conversation_pbx_voicemail_mailbox_uuid?: string;
|
|
66
66
|
/**
|
|
67
67
|
* True if outgoing calls should be automatically recorded
|
|
68
68
|
* @type {boolean}
|
|
69
69
|
* @memberof ConversationPbxAgent
|
|
70
70
|
*/
|
|
71
71
|
record_outgoing_automatically?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Shared Conversation Pbx Voicemail Mailbox UUID
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof ConversationPbxAgent
|
|
76
|
+
*/
|
|
77
|
+
shared_conversation_pbx_voicemail_mailbox_uuid?: string;
|
|
72
78
|
/**
|
|
73
79
|
* Twilio taskrouter worker Id
|
|
74
80
|
* @type {string}
|
|
@@ -26,13 +26,14 @@ function ConversationPbxAgentFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
26
|
return {
|
|
27
27
|
'cellphone': !(0, runtime_1.exists)(json, 'cellphone') ? undefined : json['cellphone'],
|
|
28
28
|
'conversation_pbx_agent_uuid': !(0, runtime_1.exists)(json, 'conversation_pbx_agent_uuid') ? undefined : json['conversation_pbx_agent_uuid'],
|
|
29
|
-
'conversation_pbx_voicemail_mailbox_uuid': !(0, runtime_1.exists)(json, 'conversation_pbx_voicemail_mailbox_uuid') ? undefined : json['conversation_pbx_voicemail_mailbox_uuid'],
|
|
30
29
|
'extension': !(0, runtime_1.exists)(json, 'extension') ? undefined : json['extension'],
|
|
31
30
|
'forward_calls_to_cellphone': !(0, runtime_1.exists)(json, 'forward_calls_to_cellphone') ? undefined : json['forward_calls_to_cellphone'],
|
|
32
31
|
'full_name': !(0, runtime_1.exists)(json, 'full_name') ? undefined : json['full_name'],
|
|
33
32
|
'login': !(0, runtime_1.exists)(json, 'login') ? undefined : json['login'],
|
|
34
33
|
'merchant_id': !(0, runtime_1.exists)(json, 'merchant_id') ? undefined : json['merchant_id'],
|
|
34
|
+
'personal_conversation_pbx_voicemail_mailbox_uuid': !(0, runtime_1.exists)(json, 'personal_conversation_pbx_voicemail_mailbox_uuid') ? undefined : json['personal_conversation_pbx_voicemail_mailbox_uuid'],
|
|
35
35
|
'record_outgoing_automatically': !(0, runtime_1.exists)(json, 'record_outgoing_automatically') ? undefined : json['record_outgoing_automatically'],
|
|
36
|
+
'shared_conversation_pbx_voicemail_mailbox_uuid': !(0, runtime_1.exists)(json, 'shared_conversation_pbx_voicemail_mailbox_uuid') ? undefined : json['shared_conversation_pbx_voicemail_mailbox_uuid'],
|
|
36
37
|
'twilio_taskrouter_worker_id': !(0, runtime_1.exists)(json, 'twilio_taskrouter_worker_id') ? undefined : json['twilio_taskrouter_worker_id'],
|
|
37
38
|
'unavailable_play_audio_uuid': !(0, runtime_1.exists)(json, 'unavailable_play_audio_uuid') ? undefined : json['unavailable_play_audio_uuid'],
|
|
38
39
|
'unavailable_say': !(0, runtime_1.exists)(json, 'unavailable_say') ? undefined : json['unavailable_say'],
|
|
@@ -52,13 +53,14 @@ function ConversationPbxAgentToJSON(value) {
|
|
|
52
53
|
return {
|
|
53
54
|
'cellphone': value.cellphone,
|
|
54
55
|
'conversation_pbx_agent_uuid': value.conversation_pbx_agent_uuid,
|
|
55
|
-
'conversation_pbx_voicemail_mailbox_uuid': value.conversation_pbx_voicemail_mailbox_uuid,
|
|
56
56
|
'extension': value.extension,
|
|
57
57
|
'forward_calls_to_cellphone': value.forward_calls_to_cellphone,
|
|
58
58
|
'full_name': value.full_name,
|
|
59
59
|
'login': value.login,
|
|
60
60
|
'merchant_id': value.merchant_id,
|
|
61
|
+
'personal_conversation_pbx_voicemail_mailbox_uuid': value.personal_conversation_pbx_voicemail_mailbox_uuid,
|
|
61
62
|
'record_outgoing_automatically': value.record_outgoing_automatically,
|
|
63
|
+
'shared_conversation_pbx_voicemail_mailbox_uuid': value.shared_conversation_pbx_voicemail_mailbox_uuid,
|
|
62
64
|
'twilio_taskrouter_worker_id': value.twilio_taskrouter_worker_id,
|
|
63
65
|
'unavailable_play_audio_uuid': value.unavailable_play_audio_uuid,
|
|
64
66
|
'unavailable_say': value.unavailable_say,
|
|
@@ -70,6 +70,12 @@ export interface ConversationPbxMenu {
|
|
|
70
70
|
* @memberof ConversationPbxMenu
|
|
71
71
|
*/
|
|
72
72
|
say?: string;
|
|
73
|
+
/**
|
|
74
|
+
* say voice
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof ConversationPbxMenu
|
|
77
|
+
*/
|
|
78
|
+
say_voice?: ConversationPbxMenuSayVoiceEnum;
|
|
73
79
|
/**
|
|
74
80
|
* The idle seconds before this menu times out
|
|
75
81
|
* @type {number}
|
|
@@ -77,6 +83,14 @@ export interface ConversationPbxMenu {
|
|
|
77
83
|
*/
|
|
78
84
|
timeout?: number;
|
|
79
85
|
}
|
|
86
|
+
/**
|
|
87
|
+
* @export
|
|
88
|
+
*/
|
|
89
|
+
export declare const ConversationPbxMenuSayVoiceEnum: {
|
|
90
|
+
readonly Man: "man";
|
|
91
|
+
readonly Woman: "woman";
|
|
92
|
+
};
|
|
93
|
+
export type ConversationPbxMenuSayVoiceEnum = typeof ConversationPbxMenuSayVoiceEnum[keyof typeof ConversationPbxMenuSayVoiceEnum];
|
|
80
94
|
export declare function ConversationPbxMenuFromJSON(json: any): ConversationPbxMenu;
|
|
81
95
|
export declare function ConversationPbxMenuFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConversationPbxMenu;
|
|
82
96
|
export declare function ConversationPbxMenuToJSON(value?: ConversationPbxMenu | null): any;
|
|
@@ -13,9 +13,16 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ConversationPbxMenuToJSON = exports.ConversationPbxMenuFromJSONTyped = exports.ConversationPbxMenuFromJSON = void 0;
|
|
16
|
+
exports.ConversationPbxMenuToJSON = exports.ConversationPbxMenuFromJSONTyped = exports.ConversationPbxMenuFromJSON = exports.ConversationPbxMenuSayVoiceEnum = void 0;
|
|
17
17
|
var runtime_1 = require("../runtime");
|
|
18
18
|
var ConversationPbxMenuMapping_1 = require("./ConversationPbxMenuMapping");
|
|
19
|
+
/**
|
|
20
|
+
* @export
|
|
21
|
+
*/
|
|
22
|
+
exports.ConversationPbxMenuSayVoiceEnum = {
|
|
23
|
+
Man: 'man',
|
|
24
|
+
Woman: 'woman'
|
|
25
|
+
};
|
|
19
26
|
function ConversationPbxMenuFromJSON(json) {
|
|
20
27
|
return ConversationPbxMenuFromJSONTyped(json, false);
|
|
21
28
|
}
|
|
@@ -34,6 +41,7 @@ function ConversationPbxMenuFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
41
|
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
35
42
|
'play_audio_uuid': !(0, runtime_1.exists)(json, 'play_audio_uuid') ? undefined : json['play_audio_uuid'],
|
|
36
43
|
'say': !(0, runtime_1.exists)(json, 'say') ? undefined : json['say'],
|
|
44
|
+
'say_voice': !(0, runtime_1.exists)(json, 'say_voice') ? undefined : json['say_voice'],
|
|
37
45
|
'timeout': !(0, runtime_1.exists)(json, 'timeout') ? undefined : json['timeout'],
|
|
38
46
|
};
|
|
39
47
|
}
|
|
@@ -55,6 +63,7 @@ function ConversationPbxMenuToJSON(value) {
|
|
|
55
63
|
'name': value.name,
|
|
56
64
|
'play_audio_uuid': value.play_audio_uuid,
|
|
57
65
|
'say': value.say,
|
|
66
|
+
'say_voice': value.say_voice,
|
|
58
67
|
'timeout': value.timeout,
|
|
59
68
|
};
|
|
60
69
|
}
|
|
@@ -56,7 +56,7 @@ export interface ConversationPbxVoicemailMailbox {
|
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof ConversationPbxVoicemailMailbox
|
|
58
58
|
*/
|
|
59
|
-
voicemail_followup_say_voice?:
|
|
59
|
+
voicemail_followup_say_voice?: ConversationPbxVoicemailMailboxVoicemailFollowupSayVoiceEnum;
|
|
60
60
|
/**
|
|
61
61
|
* Voicemail mailbox id
|
|
62
62
|
* @type {string}
|
|
@@ -86,8 +86,16 @@ export interface ConversationPbxVoicemailMailbox {
|
|
|
86
86
|
* @type {string}
|
|
87
87
|
* @memberof ConversationPbxVoicemailMailbox
|
|
88
88
|
*/
|
|
89
|
-
voicemail_prompt_say_voice?:
|
|
89
|
+
voicemail_prompt_say_voice?: ConversationPbxVoicemailMailboxVoicemailPromptSayVoiceEnum;
|
|
90
90
|
}
|
|
91
|
+
/**
|
|
92
|
+
* @export
|
|
93
|
+
*/
|
|
94
|
+
export declare const ConversationPbxVoicemailMailboxVoicemailFollowupSayVoiceEnum: {
|
|
95
|
+
readonly Man: "man";
|
|
96
|
+
readonly Woman: "woman";
|
|
97
|
+
};
|
|
98
|
+
export type ConversationPbxVoicemailMailboxVoicemailFollowupSayVoiceEnum = typeof ConversationPbxVoicemailMailboxVoicemailFollowupSayVoiceEnum[keyof typeof ConversationPbxVoicemailMailboxVoicemailFollowupSayVoiceEnum];
|
|
91
99
|
/**
|
|
92
100
|
* @export
|
|
93
101
|
*/
|
|
@@ -96,6 +104,14 @@ export declare const ConversationPbxVoicemailMailboxVoicemailMailboxTypeEnum: {
|
|
|
96
104
|
readonly Shared: "shared";
|
|
97
105
|
};
|
|
98
106
|
export type ConversationPbxVoicemailMailboxVoicemailMailboxTypeEnum = typeof ConversationPbxVoicemailMailboxVoicemailMailboxTypeEnum[keyof typeof ConversationPbxVoicemailMailboxVoicemailMailboxTypeEnum];
|
|
107
|
+
/**
|
|
108
|
+
* @export
|
|
109
|
+
*/
|
|
110
|
+
export declare const ConversationPbxVoicemailMailboxVoicemailPromptSayVoiceEnum: {
|
|
111
|
+
readonly Man: "man";
|
|
112
|
+
readonly Woman: "woman";
|
|
113
|
+
};
|
|
114
|
+
export type ConversationPbxVoicemailMailboxVoicemailPromptSayVoiceEnum = typeof ConversationPbxVoicemailMailboxVoicemailPromptSayVoiceEnum[keyof typeof ConversationPbxVoicemailMailboxVoicemailPromptSayVoiceEnum];
|
|
99
115
|
export declare function ConversationPbxVoicemailMailboxFromJSON(json: any): ConversationPbxVoicemailMailbox;
|
|
100
116
|
export declare function ConversationPbxVoicemailMailboxFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConversationPbxVoicemailMailbox;
|
|
101
117
|
export declare function ConversationPbxVoicemailMailboxToJSON(value?: ConversationPbxVoicemailMailbox | null): any;
|
|
@@ -13,8 +13,15 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ConversationPbxVoicemailMailboxToJSON = exports.ConversationPbxVoicemailMailboxFromJSONTyped = exports.ConversationPbxVoicemailMailboxFromJSON = exports.ConversationPbxVoicemailMailboxVoicemailMailboxTypeEnum = void 0;
|
|
16
|
+
exports.ConversationPbxVoicemailMailboxToJSON = exports.ConversationPbxVoicemailMailboxFromJSONTyped = exports.ConversationPbxVoicemailMailboxFromJSON = exports.ConversationPbxVoicemailMailboxVoicemailPromptSayVoiceEnum = exports.ConversationPbxVoicemailMailboxVoicemailMailboxTypeEnum = exports.ConversationPbxVoicemailMailboxVoicemailFollowupSayVoiceEnum = void 0;
|
|
17
17
|
var runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
exports.ConversationPbxVoicemailMailboxVoicemailFollowupSayVoiceEnum = {
|
|
22
|
+
Man: 'man',
|
|
23
|
+
Woman: 'woman'
|
|
24
|
+
};
|
|
18
25
|
/**
|
|
19
26
|
* @export
|
|
20
27
|
*/
|
|
@@ -22,6 +29,13 @@ exports.ConversationPbxVoicemailMailboxVoicemailMailboxTypeEnum = {
|
|
|
22
29
|
Agent: 'agent',
|
|
23
30
|
Shared: 'shared'
|
|
24
31
|
};
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
exports.ConversationPbxVoicemailMailboxVoicemailPromptSayVoiceEnum = {
|
|
36
|
+
Man: 'man',
|
|
37
|
+
Woman: 'woman'
|
|
38
|
+
};
|
|
25
39
|
function ConversationPbxVoicemailMailboxFromJSON(json) {
|
|
26
40
|
return ConversationPbxVoicemailMailboxFromJSONTyped(json, false);
|
|
27
41
|
}
|
package/package.json
CHANGED
|
@@ -31,12 +31,6 @@ export interface ConversationPbxAgent {
|
|
|
31
31
|
* @memberof ConversationPbxAgent
|
|
32
32
|
*/
|
|
33
33
|
conversation_pbx_agent_uuid?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Conversation Pbx Voicemail Mailbox UUID
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof ConversationPbxAgent
|
|
38
|
-
*/
|
|
39
|
-
conversation_pbx_voicemail_mailbox_uuid?: string;
|
|
40
34
|
/**
|
|
41
35
|
* Extension
|
|
42
36
|
* @type {number}
|
|
@@ -67,12 +61,24 @@ export interface ConversationPbxAgent {
|
|
|
67
61
|
* @memberof ConversationPbxAgent
|
|
68
62
|
*/
|
|
69
63
|
merchant_id?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Personal Conversation Pbx Voicemail Mailbox UUID
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof ConversationPbxAgent
|
|
68
|
+
*/
|
|
69
|
+
personal_conversation_pbx_voicemail_mailbox_uuid?: string;
|
|
70
70
|
/**
|
|
71
71
|
* True if outgoing calls should be automatically recorded
|
|
72
72
|
* @type {boolean}
|
|
73
73
|
* @memberof ConversationPbxAgent
|
|
74
74
|
*/
|
|
75
75
|
record_outgoing_automatically?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Shared Conversation Pbx Voicemail Mailbox UUID
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof ConversationPbxAgent
|
|
80
|
+
*/
|
|
81
|
+
shared_conversation_pbx_voicemail_mailbox_uuid?: string;
|
|
76
82
|
/**
|
|
77
83
|
* Twilio taskrouter worker Id
|
|
78
84
|
* @type {string}
|
|
@@ -123,13 +129,14 @@ export function ConversationPbxAgentFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
123
129
|
|
|
124
130
|
'cellphone': !exists(json, 'cellphone') ? undefined : json['cellphone'],
|
|
125
131
|
'conversation_pbx_agent_uuid': !exists(json, 'conversation_pbx_agent_uuid') ? undefined : json['conversation_pbx_agent_uuid'],
|
|
126
|
-
'conversation_pbx_voicemail_mailbox_uuid': !exists(json, 'conversation_pbx_voicemail_mailbox_uuid') ? undefined : json['conversation_pbx_voicemail_mailbox_uuid'],
|
|
127
132
|
'extension': !exists(json, 'extension') ? undefined : json['extension'],
|
|
128
133
|
'forward_calls_to_cellphone': !exists(json, 'forward_calls_to_cellphone') ? undefined : json['forward_calls_to_cellphone'],
|
|
129
134
|
'full_name': !exists(json, 'full_name') ? undefined : json['full_name'],
|
|
130
135
|
'login': !exists(json, 'login') ? undefined : json['login'],
|
|
131
136
|
'merchant_id': !exists(json, 'merchant_id') ? undefined : json['merchant_id'],
|
|
137
|
+
'personal_conversation_pbx_voicemail_mailbox_uuid': !exists(json, 'personal_conversation_pbx_voicemail_mailbox_uuid') ? undefined : json['personal_conversation_pbx_voicemail_mailbox_uuid'],
|
|
132
138
|
'record_outgoing_automatically': !exists(json, 'record_outgoing_automatically') ? undefined : json['record_outgoing_automatically'],
|
|
139
|
+
'shared_conversation_pbx_voicemail_mailbox_uuid': !exists(json, 'shared_conversation_pbx_voicemail_mailbox_uuid') ? undefined : json['shared_conversation_pbx_voicemail_mailbox_uuid'],
|
|
133
140
|
'twilio_taskrouter_worker_id': !exists(json, 'twilio_taskrouter_worker_id') ? undefined : json['twilio_taskrouter_worker_id'],
|
|
134
141
|
'unavailable_play_audio_uuid': !exists(json, 'unavailable_play_audio_uuid') ? undefined : json['unavailable_play_audio_uuid'],
|
|
135
142
|
'unavailable_say': !exists(json, 'unavailable_say') ? undefined : json['unavailable_say'],
|
|
@@ -150,13 +157,14 @@ export function ConversationPbxAgentToJSON(value?: ConversationPbxAgent | null):
|
|
|
150
157
|
|
|
151
158
|
'cellphone': value.cellphone,
|
|
152
159
|
'conversation_pbx_agent_uuid': value.conversation_pbx_agent_uuid,
|
|
153
|
-
'conversation_pbx_voicemail_mailbox_uuid': value.conversation_pbx_voicemail_mailbox_uuid,
|
|
154
160
|
'extension': value.extension,
|
|
155
161
|
'forward_calls_to_cellphone': value.forward_calls_to_cellphone,
|
|
156
162
|
'full_name': value.full_name,
|
|
157
163
|
'login': value.login,
|
|
158
164
|
'merchant_id': value.merchant_id,
|
|
165
|
+
'personal_conversation_pbx_voicemail_mailbox_uuid': value.personal_conversation_pbx_voicemail_mailbox_uuid,
|
|
159
166
|
'record_outgoing_automatically': value.record_outgoing_automatically,
|
|
167
|
+
'shared_conversation_pbx_voicemail_mailbox_uuid': value.shared_conversation_pbx_voicemail_mailbox_uuid,
|
|
160
168
|
'twilio_taskrouter_worker_id': value.twilio_taskrouter_worker_id,
|
|
161
169
|
'unavailable_play_audio_uuid': value.unavailable_play_audio_uuid,
|
|
162
170
|
'unavailable_say': value.unavailable_say,
|
|
@@ -80,6 +80,12 @@ export interface ConversationPbxMenu {
|
|
|
80
80
|
* @memberof ConversationPbxMenu
|
|
81
81
|
*/
|
|
82
82
|
say?: string;
|
|
83
|
+
/**
|
|
84
|
+
* say voice
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof ConversationPbxMenu
|
|
87
|
+
*/
|
|
88
|
+
say_voice?: ConversationPbxMenuSayVoiceEnum;
|
|
83
89
|
/**
|
|
84
90
|
* The idle seconds before this menu times out
|
|
85
91
|
* @type {number}
|
|
@@ -88,6 +94,17 @@ export interface ConversationPbxMenu {
|
|
|
88
94
|
timeout?: number;
|
|
89
95
|
}
|
|
90
96
|
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* @export
|
|
100
|
+
*/
|
|
101
|
+
export const ConversationPbxMenuSayVoiceEnum = {
|
|
102
|
+
Man: 'man',
|
|
103
|
+
Woman: 'woman'
|
|
104
|
+
} as const;
|
|
105
|
+
export type ConversationPbxMenuSayVoiceEnum = typeof ConversationPbxMenuSayVoiceEnum[keyof typeof ConversationPbxMenuSayVoiceEnum];
|
|
106
|
+
|
|
107
|
+
|
|
91
108
|
export function ConversationPbxMenuFromJSON(json: any): ConversationPbxMenu {
|
|
92
109
|
return ConversationPbxMenuFromJSONTyped(json, false);
|
|
93
110
|
}
|
|
@@ -107,6 +124,7 @@ export function ConversationPbxMenuFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
107
124
|
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
108
125
|
'play_audio_uuid': !exists(json, 'play_audio_uuid') ? undefined : json['play_audio_uuid'],
|
|
109
126
|
'say': !exists(json, 'say') ? undefined : json['say'],
|
|
127
|
+
'say_voice': !exists(json, 'say_voice') ? undefined : json['say_voice'],
|
|
110
128
|
'timeout': !exists(json, 'timeout') ? undefined : json['timeout'],
|
|
111
129
|
};
|
|
112
130
|
}
|
|
@@ -129,6 +147,7 @@ export function ConversationPbxMenuToJSON(value?: ConversationPbxMenu | null): a
|
|
|
129
147
|
'name': value.name,
|
|
130
148
|
'play_audio_uuid': value.play_audio_uuid,
|
|
131
149
|
'say': value.say,
|
|
150
|
+
'say_voice': value.say_voice,
|
|
132
151
|
'timeout': value.timeout,
|
|
133
152
|
};
|
|
134
153
|
}
|
|
@@ -60,7 +60,7 @@ export interface ConversationPbxVoicemailMailbox {
|
|
|
60
60
|
* @type {string}
|
|
61
61
|
* @memberof ConversationPbxVoicemailMailbox
|
|
62
62
|
*/
|
|
63
|
-
voicemail_followup_say_voice?:
|
|
63
|
+
voicemail_followup_say_voice?: ConversationPbxVoicemailMailboxVoicemailFollowupSayVoiceEnum;
|
|
64
64
|
/**
|
|
65
65
|
* Voicemail mailbox id
|
|
66
66
|
* @type {string}
|
|
@@ -90,10 +90,19 @@ export interface ConversationPbxVoicemailMailbox {
|
|
|
90
90
|
* @type {string}
|
|
91
91
|
* @memberof ConversationPbxVoicemailMailbox
|
|
92
92
|
*/
|
|
93
|
-
voicemail_prompt_say_voice?:
|
|
93
|
+
voicemail_prompt_say_voice?: ConversationPbxVoicemailMailboxVoicemailPromptSayVoiceEnum;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
|
|
97
|
+
/**
|
|
98
|
+
* @export
|
|
99
|
+
*/
|
|
100
|
+
export const ConversationPbxVoicemailMailboxVoicemailFollowupSayVoiceEnum = {
|
|
101
|
+
Man: 'man',
|
|
102
|
+
Woman: 'woman'
|
|
103
|
+
} as const;
|
|
104
|
+
export type ConversationPbxVoicemailMailboxVoicemailFollowupSayVoiceEnum = typeof ConversationPbxVoicemailMailboxVoicemailFollowupSayVoiceEnum[keyof typeof ConversationPbxVoicemailMailboxVoicemailFollowupSayVoiceEnum];
|
|
105
|
+
|
|
97
106
|
/**
|
|
98
107
|
* @export
|
|
99
108
|
*/
|
|
@@ -103,6 +112,15 @@ export const ConversationPbxVoicemailMailboxVoicemailMailboxTypeEnum = {
|
|
|
103
112
|
} as const;
|
|
104
113
|
export type ConversationPbxVoicemailMailboxVoicemailMailboxTypeEnum = typeof ConversationPbxVoicemailMailboxVoicemailMailboxTypeEnum[keyof typeof ConversationPbxVoicemailMailboxVoicemailMailboxTypeEnum];
|
|
105
114
|
|
|
115
|
+
/**
|
|
116
|
+
* @export
|
|
117
|
+
*/
|
|
118
|
+
export const ConversationPbxVoicemailMailboxVoicemailPromptSayVoiceEnum = {
|
|
119
|
+
Man: 'man',
|
|
120
|
+
Woman: 'woman'
|
|
121
|
+
} as const;
|
|
122
|
+
export type ConversationPbxVoicemailMailboxVoicemailPromptSayVoiceEnum = typeof ConversationPbxVoicemailMailboxVoicemailPromptSayVoiceEnum[keyof typeof ConversationPbxVoicemailMailboxVoicemailPromptSayVoiceEnum];
|
|
123
|
+
|
|
106
124
|
|
|
107
125
|
export function ConversationPbxVoicemailMailboxFromJSON(json: any): ConversationPbxVoicemailMailbox {
|
|
108
126
|
return ConversationPbxVoicemailMailboxFromJSONTyped(json, false);
|