ultracart_rest_api_v2_typescript 4.0.228 → 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 +3 -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/package.json +1 -1
- package/src/models/ConversationPbxMenu.ts +19 -0
- package/src/models/ConversationPbxVoicemailMailbox.ts +20 -2
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,7 @@ 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 |
|
|
57
58
|
| 4.0.228 | 06/07/2024 | conversation pbx - adjust agent voicemail box uuid fields |
|
|
58
59
|
| 4.0.227 | 06/03/2024 | conversationPbxPhoneNumber - fix serialized name for phone number UUID |
|
|
59
60
|
| 4.0.226 | 05/31/2024 | ItemApi.getInventorySnapshot method |
|
|
@@ -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
|
@@ -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);
|