ultracart_rest_api_v2_typescript 4.0.219 → 4.0.221
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/ConversationPbxVoicemailMailbox.d.ts +9 -3
- package/dist/models/ConversationPbxVoicemailMailbox.js +6 -4
- package/dist/models/OrderPayment.d.ts +2 -0
- package/dist/models/OrderPayment.js +2 -0
- package/package.json +1 -1
- package/src/models/ConversationPbxVoicemailMailbox.ts +15 -7
- package/src/models/OrderPayment.ts +2 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@4.0.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@4.0.221
|
|
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.221 --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.221 | 05/16/2024 | OrderPayment - constants for payment method Amazon Pay and Link |
|
|
58
|
+
| 4.0.220 | 05/15/2024 | conversation pbx voicemail mailbox indep. voice properties |
|
|
57
59
|
| 4.0.219 | 05/15/2024 | conversation pbx - missing fields on agent object |
|
|
58
60
|
| 4.0.218 | 05/14/2024 | conversation pbx - allowed value constants on the action |
|
|
59
61
|
| 4.0.217 | 05/13/2024 | conversation pbx - bug fix on camelCase property names |
|
|
@@ -44,13 +44,19 @@ export interface ConversationPbxVoicemailMailbox {
|
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof ConversationPbxVoicemailMailbox
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
voicemail_followup_play_audio_uuid?: string;
|
|
48
48
|
/**
|
|
49
49
|
* Voicemail followup say
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof ConversationPbxVoicemailMailbox
|
|
52
52
|
*/
|
|
53
53
|
voicemail_followup_say?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Voicemail followup say voice
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ConversationPbxVoicemailMailbox
|
|
58
|
+
*/
|
|
59
|
+
voicemail_followup_say_voice?: string;
|
|
54
60
|
/**
|
|
55
61
|
* Voicemail mailbox id
|
|
56
62
|
* @type {string}
|
|
@@ -76,11 +82,11 @@ export interface ConversationPbxVoicemailMailbox {
|
|
|
76
82
|
*/
|
|
77
83
|
voicemail_prompt_say?: string;
|
|
78
84
|
/**
|
|
79
|
-
* Voicemail say voice
|
|
85
|
+
* Voicemail prompt say voice
|
|
80
86
|
* @type {string}
|
|
81
87
|
* @memberof ConversationPbxVoicemailMailbox
|
|
82
88
|
*/
|
|
83
|
-
|
|
89
|
+
voicemail_prompt_say_voice?: string;
|
|
84
90
|
}
|
|
85
91
|
/**
|
|
86
92
|
* @export
|
|
@@ -35,13 +35,14 @@ function ConversationPbxVoicemailMailboxFromJSONTyped(json, ignoreDiscriminator)
|
|
|
35
35
|
'merchant_id': !(0, runtime_1.exists)(json, 'merchant_id') ? undefined : json['merchant_id'],
|
|
36
36
|
'send_notices_to_email': !(0, runtime_1.exists)(json, 'send_notices_to_email') ? undefined : json['send_notices_to_email'],
|
|
37
37
|
'user_id': !(0, runtime_1.exists)(json, 'user_id') ? undefined : json['user_id'],
|
|
38
|
-
'
|
|
38
|
+
'voicemail_followup_play_audio_uuid': !(0, runtime_1.exists)(json, 'voicemail_followup_play_audio_uuid') ? undefined : json['voicemail_followup_play_audio_uuid'],
|
|
39
39
|
'voicemail_followup_say': !(0, runtime_1.exists)(json, 'voicemail_followup_say') ? undefined : json['voicemail_followup_say'],
|
|
40
|
+
'voicemail_followup_say_voice': !(0, runtime_1.exists)(json, 'voicemail_followup_say_voice') ? undefined : json['voicemail_followup_say_voice'],
|
|
40
41
|
'voicemail_mailbox_id': !(0, runtime_1.exists)(json, 'voicemail_mailbox_id') ? undefined : json['voicemail_mailbox_id'],
|
|
41
42
|
'voicemail_mailbox_type': !(0, runtime_1.exists)(json, 'voicemail_mailbox_type') ? undefined : json['voicemail_mailbox_type'],
|
|
42
43
|
'voicemail_prompt_play_audio_uuid': !(0, runtime_1.exists)(json, 'voicemail_prompt_play_audio_uuid') ? undefined : json['voicemail_prompt_play_audio_uuid'],
|
|
43
44
|
'voicemail_prompt_say': !(0, runtime_1.exists)(json, 'voicemail_prompt_say') ? undefined : json['voicemail_prompt_say'],
|
|
44
|
-
'
|
|
45
|
+
'voicemail_prompt_say_voice': !(0, runtime_1.exists)(json, 'voicemail_prompt_say_voice') ? undefined : json['voicemail_prompt_say_voice'],
|
|
45
46
|
};
|
|
46
47
|
}
|
|
47
48
|
exports.ConversationPbxVoicemailMailboxFromJSONTyped = ConversationPbxVoicemailMailboxFromJSONTyped;
|
|
@@ -57,13 +58,14 @@ function ConversationPbxVoicemailMailboxToJSON(value) {
|
|
|
57
58
|
'merchant_id': value.merchant_id,
|
|
58
59
|
'send_notices_to_email': value.send_notices_to_email,
|
|
59
60
|
'user_id': value.user_id,
|
|
60
|
-
'
|
|
61
|
+
'voicemail_followup_play_audio_uuid': value.voicemail_followup_play_audio_uuid,
|
|
61
62
|
'voicemail_followup_say': value.voicemail_followup_say,
|
|
63
|
+
'voicemail_followup_say_voice': value.voicemail_followup_say_voice,
|
|
62
64
|
'voicemail_mailbox_id': value.voicemail_mailbox_id,
|
|
63
65
|
'voicemail_mailbox_type': value.voicemail_mailbox_type,
|
|
64
66
|
'voicemail_prompt_play_audio_uuid': value.voicemail_prompt_play_audio_uuid,
|
|
65
67
|
'voicemail_prompt_say': value.voicemail_prompt_say,
|
|
66
|
-
'
|
|
68
|
+
'voicemail_prompt_say_voice': value.voicemail_prompt_say_voice,
|
|
67
69
|
};
|
|
68
70
|
}
|
|
69
71
|
exports.ConversationPbxVoicemailMailboxToJSON = ConversationPbxVoicemailMailboxToJSON;
|
|
@@ -144,6 +144,7 @@ export interface OrderPayment {
|
|
|
144
144
|
export declare const OrderPaymentPaymentMethodEnum: {
|
|
145
145
|
readonly Affirm: "Affirm";
|
|
146
146
|
readonly Amazon: "Amazon";
|
|
147
|
+
readonly AmazonPay: "Amazon Pay";
|
|
147
148
|
readonly AmazonSc: "Amazon SC";
|
|
148
149
|
readonly Cash: "Cash";
|
|
149
150
|
readonly Check: "Check";
|
|
@@ -153,6 +154,7 @@ export declare const OrderPaymentPaymentMethodEnum: {
|
|
|
153
154
|
readonly ECheck: "eCheck";
|
|
154
155
|
readonly GoogleShopping: "Google Shopping";
|
|
155
156
|
readonly Insurance: "Insurance";
|
|
157
|
+
readonly Link: "Link";
|
|
156
158
|
readonly LoanHero: "LoanHero";
|
|
157
159
|
readonly MoneyOrder: "Money Order";
|
|
158
160
|
readonly PayPal: "PayPal";
|
|
@@ -29,6 +29,7 @@ var OrderPaymentTransaction_1 = require("./OrderPaymentTransaction");
|
|
|
29
29
|
exports.OrderPaymentPaymentMethodEnum = {
|
|
30
30
|
Affirm: 'Affirm',
|
|
31
31
|
Amazon: 'Amazon',
|
|
32
|
+
AmazonPay: 'Amazon Pay',
|
|
32
33
|
AmazonSc: 'Amazon SC',
|
|
33
34
|
Cash: 'Cash',
|
|
34
35
|
Check: 'Check',
|
|
@@ -38,6 +39,7 @@ exports.OrderPaymentPaymentMethodEnum = {
|
|
|
38
39
|
ECheck: 'eCheck',
|
|
39
40
|
GoogleShopping: 'Google Shopping',
|
|
40
41
|
Insurance: 'Insurance',
|
|
42
|
+
Link: 'Link',
|
|
41
43
|
LoanHero: 'LoanHero',
|
|
42
44
|
MoneyOrder: 'Money Order',
|
|
43
45
|
PayPal: 'PayPal',
|
package/package.json
CHANGED
|
@@ -48,13 +48,19 @@ export interface ConversationPbxVoicemailMailbox {
|
|
|
48
48
|
* @type {string}
|
|
49
49
|
* @memberof ConversationPbxVoicemailMailbox
|
|
50
50
|
*/
|
|
51
|
-
|
|
51
|
+
voicemail_followup_play_audio_uuid?: string;
|
|
52
52
|
/**
|
|
53
53
|
* Voicemail followup say
|
|
54
54
|
* @type {string}
|
|
55
55
|
* @memberof ConversationPbxVoicemailMailbox
|
|
56
56
|
*/
|
|
57
57
|
voicemail_followup_say?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Voicemail followup say voice
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof ConversationPbxVoicemailMailbox
|
|
62
|
+
*/
|
|
63
|
+
voicemail_followup_say_voice?: string;
|
|
58
64
|
/**
|
|
59
65
|
* Voicemail mailbox id
|
|
60
66
|
* @type {string}
|
|
@@ -80,11 +86,11 @@ export interface ConversationPbxVoicemailMailbox {
|
|
|
80
86
|
*/
|
|
81
87
|
voicemail_prompt_say?: string;
|
|
82
88
|
/**
|
|
83
|
-
* Voicemail say voice
|
|
89
|
+
* Voicemail prompt say voice
|
|
84
90
|
* @type {string}
|
|
85
91
|
* @memberof ConversationPbxVoicemailMailbox
|
|
86
92
|
*/
|
|
87
|
-
|
|
93
|
+
voicemail_prompt_say_voice?: string;
|
|
88
94
|
}
|
|
89
95
|
|
|
90
96
|
|
|
@@ -112,13 +118,14 @@ export function ConversationPbxVoicemailMailboxFromJSONTyped(json: any, ignoreDi
|
|
|
112
118
|
'merchant_id': !exists(json, 'merchant_id') ? undefined : json['merchant_id'],
|
|
113
119
|
'send_notices_to_email': !exists(json, 'send_notices_to_email') ? undefined : json['send_notices_to_email'],
|
|
114
120
|
'user_id': !exists(json, 'user_id') ? undefined : json['user_id'],
|
|
115
|
-
'
|
|
121
|
+
'voicemail_followup_play_audio_uuid': !exists(json, 'voicemail_followup_play_audio_uuid') ? undefined : json['voicemail_followup_play_audio_uuid'],
|
|
116
122
|
'voicemail_followup_say': !exists(json, 'voicemail_followup_say') ? undefined : json['voicemail_followup_say'],
|
|
123
|
+
'voicemail_followup_say_voice': !exists(json, 'voicemail_followup_say_voice') ? undefined : json['voicemail_followup_say_voice'],
|
|
117
124
|
'voicemail_mailbox_id': !exists(json, 'voicemail_mailbox_id') ? undefined : json['voicemail_mailbox_id'],
|
|
118
125
|
'voicemail_mailbox_type': !exists(json, 'voicemail_mailbox_type') ? undefined : json['voicemail_mailbox_type'],
|
|
119
126
|
'voicemail_prompt_play_audio_uuid': !exists(json, 'voicemail_prompt_play_audio_uuid') ? undefined : json['voicemail_prompt_play_audio_uuid'],
|
|
120
127
|
'voicemail_prompt_say': !exists(json, 'voicemail_prompt_say') ? undefined : json['voicemail_prompt_say'],
|
|
121
|
-
'
|
|
128
|
+
'voicemail_prompt_say_voice': !exists(json, 'voicemail_prompt_say_voice') ? undefined : json['voicemail_prompt_say_voice'],
|
|
122
129
|
};
|
|
123
130
|
}
|
|
124
131
|
|
|
@@ -135,13 +142,14 @@ export function ConversationPbxVoicemailMailboxToJSON(value?: ConversationPbxVoi
|
|
|
135
142
|
'merchant_id': value.merchant_id,
|
|
136
143
|
'send_notices_to_email': value.send_notices_to_email,
|
|
137
144
|
'user_id': value.user_id,
|
|
138
|
-
'
|
|
145
|
+
'voicemail_followup_play_audio_uuid': value.voicemail_followup_play_audio_uuid,
|
|
139
146
|
'voicemail_followup_say': value.voicemail_followup_say,
|
|
147
|
+
'voicemail_followup_say_voice': value.voicemail_followup_say_voice,
|
|
140
148
|
'voicemail_mailbox_id': value.voicemail_mailbox_id,
|
|
141
149
|
'voicemail_mailbox_type': value.voicemail_mailbox_type,
|
|
142
150
|
'voicemail_prompt_play_audio_uuid': value.voicemail_prompt_play_audio_uuid,
|
|
143
151
|
'voicemail_prompt_say': value.voicemail_prompt_say,
|
|
144
|
-
'
|
|
152
|
+
'voicemail_prompt_say_voice': value.voicemail_prompt_say_voice,
|
|
145
153
|
};
|
|
146
154
|
}
|
|
147
155
|
|
|
@@ -191,6 +191,7 @@ export interface OrderPayment {
|
|
|
191
191
|
export const OrderPaymentPaymentMethodEnum = {
|
|
192
192
|
Affirm: 'Affirm',
|
|
193
193
|
Amazon: 'Amazon',
|
|
194
|
+
AmazonPay: 'Amazon Pay',
|
|
194
195
|
AmazonSc: 'Amazon SC',
|
|
195
196
|
Cash: 'Cash',
|
|
196
197
|
Check: 'Check',
|
|
@@ -200,6 +201,7 @@ export const OrderPaymentPaymentMethodEnum = {
|
|
|
200
201
|
ECheck: 'eCheck',
|
|
201
202
|
GoogleShopping: 'Google Shopping',
|
|
202
203
|
Insurance: 'Insurance',
|
|
204
|
+
Link: 'Link',
|
|
203
205
|
LoanHero: 'LoanHero',
|
|
204
206
|
MoneyOrder: 'Money Order',
|
|
205
207
|
PayPal: 'PayPal',
|