ultracart_rest_api_v2_typescript 4.1.211 → 4.1.212
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/ConversationAgentAuth.d.ts +14 -0
- package/dist/models/ConversationAgentAuth.js +10 -1
- package/dist/models/ConversationPbxAgent.d.ts +14 -0
- package/dist/models/ConversationPbxAgent.js +10 -1
- package/package.json +1 -1
- package/src/models/ConversationAgentAuth.ts +18 -0
- package/src/models/ConversationPbxAgent.ts +17 -0
package/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# UltraCart Typescript SDK
|
|
2
|
-
## ultracart_rest_api_v2_typescript@4.1.
|
|
2
|
+
## ultracart_rest_api_v2_typescript@4.1.212
|
|
3
3
|
|
|
4
4
|
Every API method call has a sample for every language SDK. See https://github.com/UltraCart/sdk_samples
|
|
5
5
|
|
|
6
6
|
Installation
|
|
7
7
|
|
|
8
8
|
```
|
|
9
|
-
npm install ultracart_rest_api_v2_typescript@4.1.
|
|
9
|
+
npm install ultracart_rest_api_v2_typescript@4.1.212 --save
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
@@ -84,6 +84,7 @@ Not every change is committed to every SDK.
|
|
|
84
84
|
|
|
85
85
|
| Version | Date | Comments |
|
|
86
86
|
| --: | :-: | --- |
|
|
87
|
+
| 4.1.212 | 10/27/2026 | conversation - pbx agent startup activity |
|
|
87
88
|
| 4.1.211 | 10/27/2026 | sfvb internal testing |
|
|
88
89
|
| 4.1.210 | 10/27/2026 | sfvb internal testing |
|
|
89
90
|
| 4.1.209 | 10/27/2026 | sfvb internal testing |
|
|
@@ -95,6 +95,12 @@ export interface ConversationAgentAuth {
|
|
|
95
95
|
* @memberof ConversationAgentAuth
|
|
96
96
|
*/
|
|
97
97
|
pbx_jwt?: string;
|
|
98
|
+
/**
|
|
99
|
+
* Status the agent starts in when the CRM loads
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof ConversationAgentAuth
|
|
102
|
+
*/
|
|
103
|
+
pbx_startup_activity?: ConversationAgentAuthPbxStartupActivityEnum;
|
|
98
104
|
/**
|
|
99
105
|
*
|
|
100
106
|
* @type {boolean}
|
|
@@ -150,6 +156,14 @@ export interface ConversationAgentAuth {
|
|
|
150
156
|
*/
|
|
151
157
|
websocket_url?: string;
|
|
152
158
|
}
|
|
159
|
+
/**
|
|
160
|
+
* @export
|
|
161
|
+
*/
|
|
162
|
+
export declare const ConversationAgentAuthPbxStartupActivityEnum: {
|
|
163
|
+
readonly Available: "available";
|
|
164
|
+
readonly Unavailable: "unavailable";
|
|
165
|
+
};
|
|
166
|
+
export type ConversationAgentAuthPbxStartupActivityEnum = typeof ConversationAgentAuthPbxStartupActivityEnum[keyof typeof ConversationAgentAuthPbxStartupActivityEnum];
|
|
153
167
|
/**
|
|
154
168
|
* Check if a given object implements the ConversationAgentAuth interface.
|
|
155
169
|
*/
|
|
@@ -13,10 +13,17 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ConversationAgentAuthToJSON = exports.ConversationAgentAuthFromJSONTyped = exports.ConversationAgentAuthFromJSON = exports.instanceOfConversationAgentAuth = void 0;
|
|
16
|
+
exports.ConversationAgentAuthToJSON = exports.ConversationAgentAuthFromJSONTyped = exports.ConversationAgentAuthFromJSON = exports.instanceOfConversationAgentAuth = exports.ConversationAgentAuthPbxStartupActivityEnum = void 0;
|
|
17
17
|
var runtime_1 = require("../runtime");
|
|
18
18
|
var ConversationAgentAuthMerchant_1 = require("./ConversationAgentAuthMerchant");
|
|
19
19
|
var ConversationTwilioAccount_1 = require("./ConversationTwilioAccount");
|
|
20
|
+
/**
|
|
21
|
+
* @export
|
|
22
|
+
*/
|
|
23
|
+
exports.ConversationAgentAuthPbxStartupActivityEnum = {
|
|
24
|
+
Available: 'available',
|
|
25
|
+
Unavailable: 'unavailable'
|
|
26
|
+
};
|
|
20
27
|
/**
|
|
21
28
|
* Check if a given object implements the ConversationAgentAuth interface.
|
|
22
29
|
*/
|
|
@@ -47,6 +54,7 @@ function ConversationAgentAuthFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
54
|
'parent_merchant_id': !(0, runtime_1.exists)(json, 'parent_merchant_id') ? undefined : json['parent_merchant_id'],
|
|
48
55
|
'pbx_admin': !(0, runtime_1.exists)(json, 'pbx_admin') ? undefined : json['pbx_admin'],
|
|
49
56
|
'pbx_jwt': !(0, runtime_1.exists)(json, 'pbx_jwt') ? undefined : json['pbx_jwt'],
|
|
57
|
+
'pbx_startup_activity': !(0, runtime_1.exists)(json, 'pbx_startup_activity') ? undefined : json['pbx_startup_activity'],
|
|
50
58
|
'pbx_supervisor': !(0, runtime_1.exists)(json, 'pbx_supervisor') ? undefined : json['pbx_supervisor'],
|
|
51
59
|
'pbx_user': !(0, runtime_1.exists)(json, 'pbx_user') ? undefined : json['pbx_user'],
|
|
52
60
|
'pbx_voice_identity': !(0, runtime_1.exists)(json, 'pbx_voice_identity') ? undefined : json['pbx_voice_identity'],
|
|
@@ -80,6 +88,7 @@ function ConversationAgentAuthToJSON(value) {
|
|
|
80
88
|
'parent_merchant_id': value.parent_merchant_id,
|
|
81
89
|
'pbx_admin': value.pbx_admin,
|
|
82
90
|
'pbx_jwt': value.pbx_jwt,
|
|
91
|
+
'pbx_startup_activity': value.pbx_startup_activity,
|
|
83
92
|
'pbx_supervisor': value.pbx_supervisor,
|
|
84
93
|
'pbx_user': value.pbx_user,
|
|
85
94
|
'pbx_voice_identity': value.pbx_voice_identity,
|
|
@@ -105,6 +105,12 @@ export interface ConversationPbxAgent {
|
|
|
105
105
|
* @memberof ConversationPbxAgent
|
|
106
106
|
*/
|
|
107
107
|
shared_conversation_pbx_voicemail_mailbox_uuid?: string;
|
|
108
|
+
/**
|
|
109
|
+
* Status the agent starts in when the CRM loads. Missing means available.
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof ConversationPbxAgent
|
|
112
|
+
*/
|
|
113
|
+
startup_activity?: ConversationPbxAgentStartupActivityEnum;
|
|
108
114
|
/**
|
|
109
115
|
* Twilio taskrouter worker Id
|
|
110
116
|
* @type {string}
|
|
@@ -163,6 +169,14 @@ export declare const ConversationPbxAgentCallRoutingPreferenceEnum: {
|
|
|
163
169
|
readonly Cellphone: "cellphone";
|
|
164
170
|
};
|
|
165
171
|
export type ConversationPbxAgentCallRoutingPreferenceEnum = typeof ConversationPbxAgentCallRoutingPreferenceEnum[keyof typeof ConversationPbxAgentCallRoutingPreferenceEnum];
|
|
172
|
+
/**
|
|
173
|
+
* @export
|
|
174
|
+
*/
|
|
175
|
+
export declare const ConversationPbxAgentStartupActivityEnum: {
|
|
176
|
+
readonly Available: "available";
|
|
177
|
+
readonly Unavailable: "unavailable";
|
|
178
|
+
};
|
|
179
|
+
export type ConversationPbxAgentStartupActivityEnum = typeof ConversationPbxAgentStartupActivityEnum[keyof typeof ConversationPbxAgentStartupActivityEnum];
|
|
166
180
|
/**
|
|
167
181
|
* @export
|
|
168
182
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ConversationPbxAgentToJSON = exports.ConversationPbxAgentFromJSONTyped = exports.ConversationPbxAgentFromJSON = exports.instanceOfConversationPbxAgent = exports.ConversationPbxAgentUnavailableSayVoiceEnum = exports.ConversationPbxAgentCallRoutingPreferenceEnum = void 0;
|
|
16
|
+
exports.ConversationPbxAgentToJSON = exports.ConversationPbxAgentFromJSONTyped = exports.ConversationPbxAgentFromJSON = exports.instanceOfConversationPbxAgent = exports.ConversationPbxAgentUnavailableSayVoiceEnum = exports.ConversationPbxAgentStartupActivityEnum = exports.ConversationPbxAgentCallRoutingPreferenceEnum = void 0;
|
|
17
17
|
var runtime_1 = require("../runtime");
|
|
18
18
|
/**
|
|
19
19
|
* @export
|
|
@@ -23,6 +23,13 @@ exports.ConversationPbxAgentCallRoutingPreferenceEnum = {
|
|
|
23
23
|
HardwarePhone: 'hardware_phone',
|
|
24
24
|
Cellphone: 'cellphone'
|
|
25
25
|
};
|
|
26
|
+
/**
|
|
27
|
+
* @export
|
|
28
|
+
*/
|
|
29
|
+
exports.ConversationPbxAgentStartupActivityEnum = {
|
|
30
|
+
Available: 'available',
|
|
31
|
+
Unavailable: 'unavailable'
|
|
32
|
+
};
|
|
26
33
|
/**
|
|
27
34
|
* @export
|
|
28
35
|
*/
|
|
@@ -62,6 +69,7 @@ function ConversationPbxAgentFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
62
69
|
'preferred_hardware_phone_uuid': !(0, runtime_1.exists)(json, 'preferred_hardware_phone_uuid') ? undefined : json['preferred_hardware_phone_uuid'],
|
|
63
70
|
'record_outgoing_automatically': !(0, runtime_1.exists)(json, 'record_outgoing_automatically') ? undefined : json['record_outgoing_automatically'],
|
|
64
71
|
'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'],
|
|
72
|
+
'startup_activity': !(0, runtime_1.exists)(json, 'startup_activity') ? undefined : json['startup_activity'],
|
|
65
73
|
'twilio_taskrouter_worker_id': !(0, runtime_1.exists)(json, 'twilio_taskrouter_worker_id') ? undefined : json['twilio_taskrouter_worker_id'],
|
|
66
74
|
'unavailable_play_audio_uuid': !(0, runtime_1.exists)(json, 'unavailable_play_audio_uuid') ? undefined : json['unavailable_play_audio_uuid'],
|
|
67
75
|
'unavailable_say': !(0, runtime_1.exists)(json, 'unavailable_say') ? undefined : json['unavailable_say'],
|
|
@@ -96,6 +104,7 @@ function ConversationPbxAgentToJSON(value) {
|
|
|
96
104
|
'preferred_hardware_phone_uuid': value.preferred_hardware_phone_uuid,
|
|
97
105
|
'record_outgoing_automatically': value.record_outgoing_automatically,
|
|
98
106
|
'shared_conversation_pbx_voicemail_mailbox_uuid': value.shared_conversation_pbx_voicemail_mailbox_uuid,
|
|
107
|
+
'startup_activity': value.startup_activity,
|
|
99
108
|
'twilio_taskrouter_worker_id': value.twilio_taskrouter_worker_id,
|
|
100
109
|
'unavailable_play_audio_uuid': value.unavailable_play_audio_uuid,
|
|
101
110
|
'unavailable_say': value.unavailable_say,
|
package/package.json
CHANGED
|
@@ -110,6 +110,12 @@ export interface ConversationAgentAuth {
|
|
|
110
110
|
* @memberof ConversationAgentAuth
|
|
111
111
|
*/
|
|
112
112
|
pbx_jwt?: string;
|
|
113
|
+
/**
|
|
114
|
+
* Status the agent starts in when the CRM loads
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof ConversationAgentAuth
|
|
117
|
+
*/
|
|
118
|
+
pbx_startup_activity?: ConversationAgentAuthPbxStartupActivityEnum;
|
|
113
119
|
/**
|
|
114
120
|
*
|
|
115
121
|
* @type {boolean}
|
|
@@ -168,6 +174,16 @@ export interface ConversationAgentAuth {
|
|
|
168
174
|
|
|
169
175
|
|
|
170
176
|
|
|
177
|
+
/**
|
|
178
|
+
* @export
|
|
179
|
+
*/
|
|
180
|
+
export const ConversationAgentAuthPbxStartupActivityEnum = {
|
|
181
|
+
Available: 'available',
|
|
182
|
+
Unavailable: 'unavailable'
|
|
183
|
+
} as const;
|
|
184
|
+
export type ConversationAgentAuthPbxStartupActivityEnum = typeof ConversationAgentAuthPbxStartupActivityEnum[keyof typeof ConversationAgentAuthPbxStartupActivityEnum];
|
|
185
|
+
|
|
186
|
+
|
|
171
187
|
/**
|
|
172
188
|
* Check if a given object implements the ConversationAgentAuth interface.
|
|
173
189
|
*/
|
|
@@ -200,6 +216,7 @@ export function ConversationAgentAuthFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
200
216
|
'parent_merchant_id': !exists(json, 'parent_merchant_id') ? undefined : json['parent_merchant_id'],
|
|
201
217
|
'pbx_admin': !exists(json, 'pbx_admin') ? undefined : json['pbx_admin'],
|
|
202
218
|
'pbx_jwt': !exists(json, 'pbx_jwt') ? undefined : json['pbx_jwt'],
|
|
219
|
+
'pbx_startup_activity': !exists(json, 'pbx_startup_activity') ? undefined : json['pbx_startup_activity'],
|
|
203
220
|
'pbx_supervisor': !exists(json, 'pbx_supervisor') ? undefined : json['pbx_supervisor'],
|
|
204
221
|
'pbx_user': !exists(json, 'pbx_user') ? undefined : json['pbx_user'],
|
|
205
222
|
'pbx_voice_identity': !exists(json, 'pbx_voice_identity') ? undefined : json['pbx_voice_identity'],
|
|
@@ -234,6 +251,7 @@ export function ConversationAgentAuthToJSON(value?: ConversationAgentAuth | null
|
|
|
234
251
|
'parent_merchant_id': value.parent_merchant_id,
|
|
235
252
|
'pbx_admin': value.pbx_admin,
|
|
236
253
|
'pbx_jwt': value.pbx_jwt,
|
|
254
|
+
'pbx_startup_activity': value.pbx_startup_activity,
|
|
237
255
|
'pbx_supervisor': value.pbx_supervisor,
|
|
238
256
|
'pbx_user': value.pbx_user,
|
|
239
257
|
'pbx_voice_identity': value.pbx_voice_identity,
|
|
@@ -109,6 +109,12 @@ export interface ConversationPbxAgent {
|
|
|
109
109
|
* @memberof ConversationPbxAgent
|
|
110
110
|
*/
|
|
111
111
|
shared_conversation_pbx_voicemail_mailbox_uuid?: string;
|
|
112
|
+
/**
|
|
113
|
+
* Status the agent starts in when the CRM loads. Missing means available.
|
|
114
|
+
* @type {string}
|
|
115
|
+
* @memberof ConversationPbxAgent
|
|
116
|
+
*/
|
|
117
|
+
startup_activity?: ConversationPbxAgentStartupActivityEnum;
|
|
112
118
|
/**
|
|
113
119
|
* Twilio taskrouter worker Id
|
|
114
120
|
* @type {string}
|
|
@@ -171,6 +177,15 @@ export const ConversationPbxAgentCallRoutingPreferenceEnum = {
|
|
|
171
177
|
} as const;
|
|
172
178
|
export type ConversationPbxAgentCallRoutingPreferenceEnum = typeof ConversationPbxAgentCallRoutingPreferenceEnum[keyof typeof ConversationPbxAgentCallRoutingPreferenceEnum];
|
|
173
179
|
|
|
180
|
+
/**
|
|
181
|
+
* @export
|
|
182
|
+
*/
|
|
183
|
+
export const ConversationPbxAgentStartupActivityEnum = {
|
|
184
|
+
Available: 'available',
|
|
185
|
+
Unavailable: 'unavailable'
|
|
186
|
+
} as const;
|
|
187
|
+
export type ConversationPbxAgentStartupActivityEnum = typeof ConversationPbxAgentStartupActivityEnum[keyof typeof ConversationPbxAgentStartupActivityEnum];
|
|
188
|
+
|
|
174
189
|
/**
|
|
175
190
|
* @export
|
|
176
191
|
*/
|
|
@@ -215,6 +230,7 @@ export function ConversationPbxAgentFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
215
230
|
'preferred_hardware_phone_uuid': !exists(json, 'preferred_hardware_phone_uuid') ? undefined : json['preferred_hardware_phone_uuid'],
|
|
216
231
|
'record_outgoing_automatically': !exists(json, 'record_outgoing_automatically') ? undefined : json['record_outgoing_automatically'],
|
|
217
232
|
'shared_conversation_pbx_voicemail_mailbox_uuid': !exists(json, 'shared_conversation_pbx_voicemail_mailbox_uuid') ? undefined : json['shared_conversation_pbx_voicemail_mailbox_uuid'],
|
|
233
|
+
'startup_activity': !exists(json, 'startup_activity') ? undefined : json['startup_activity'],
|
|
218
234
|
'twilio_taskrouter_worker_id': !exists(json, 'twilio_taskrouter_worker_id') ? undefined : json['twilio_taskrouter_worker_id'],
|
|
219
235
|
'unavailable_play_audio_uuid': !exists(json, 'unavailable_play_audio_uuid') ? undefined : json['unavailable_play_audio_uuid'],
|
|
220
236
|
'unavailable_say': !exists(json, 'unavailable_say') ? undefined : json['unavailable_say'],
|
|
@@ -250,6 +266,7 @@ export function ConversationPbxAgentToJSON(value?: ConversationPbxAgent | null):
|
|
|
250
266
|
'preferred_hardware_phone_uuid': value.preferred_hardware_phone_uuid,
|
|
251
267
|
'record_outgoing_automatically': value.record_outgoing_automatically,
|
|
252
268
|
'shared_conversation_pbx_voicemail_mailbox_uuid': value.shared_conversation_pbx_voicemail_mailbox_uuid,
|
|
269
|
+
'startup_activity': value.startup_activity,
|
|
253
270
|
'twilio_taskrouter_worker_id': value.twilio_taskrouter_worker_id,
|
|
254
271
|
'unavailable_play_audio_uuid': value.unavailable_play_audio_uuid,
|
|
255
272
|
'unavailable_say': value.unavailable_say,
|