ultracart_rest_api_v2_typescript 3.10.201 → 3.10.203
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/api.ts +45 -429
- package/dist/api.d.ts +45 -171
- package/dist/api.js +0 -360
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@3.10.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@3.10.203
|
|
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@3.10.
|
|
39
|
+
npm install ultracart_rest_api_v2_typescript@3.10.203 --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
|
+
| 3.10.203 | 05/15/2024 | conversation pbx voicemail mailbox indep. voice properties |
|
|
58
|
+
| 3.10.202 | 05/15/2024 | conversation pbx - missing fields on agent object |
|
|
57
59
|
| 3.10.201 | 05/14/2024 | conversation pbx - allowed value constants on the action |
|
|
58
60
|
| 3.10.200 | 05/13/2024 | conversation pbx - bug fix on camelCase property names |
|
|
59
61
|
| 3.10.199 | 05/13/2024 | conversation pbx - allow nullable day of week in time range |
|
package/api.ts
CHANGED
|
@@ -8713,12 +8713,30 @@ export interface ConversationPbxAgent {
|
|
|
8713
8713
|
* @memberof ConversationPbxAgent
|
|
8714
8714
|
*/
|
|
8715
8715
|
conversation_pbx_voicemail_mailbox_uuid?: string;
|
|
8716
|
+
/**
|
|
8717
|
+
* Extension
|
|
8718
|
+
* @type {number}
|
|
8719
|
+
* @memberof ConversationPbxAgent
|
|
8720
|
+
*/
|
|
8721
|
+
extension?: number;
|
|
8716
8722
|
/**
|
|
8717
8723
|
* True if calls to this agent should be forwarded to their cellphone
|
|
8718
8724
|
* @type {boolean}
|
|
8719
8725
|
* @memberof ConversationPbxAgent
|
|
8720
8726
|
*/
|
|
8721
8727
|
forward_calls_to_cellphone?: boolean;
|
|
8728
|
+
/**
|
|
8729
|
+
* Full name
|
|
8730
|
+
* @type {string}
|
|
8731
|
+
* @memberof ConversationPbxAgent
|
|
8732
|
+
*/
|
|
8733
|
+
full_name?: string;
|
|
8734
|
+
/**
|
|
8735
|
+
* Agent login
|
|
8736
|
+
* @type {string}
|
|
8737
|
+
* @memberof ConversationPbxAgent
|
|
8738
|
+
*/
|
|
8739
|
+
login?: string;
|
|
8722
8740
|
/**
|
|
8723
8741
|
* Merchant Id
|
|
8724
8742
|
* @type {string}
|
|
@@ -8737,6 +8755,24 @@ export interface ConversationPbxAgent {
|
|
|
8737
8755
|
* @memberof ConversationPbxAgent
|
|
8738
8756
|
*/
|
|
8739
8757
|
twilio_taskrouter_worker_id?: string;
|
|
8758
|
+
/**
|
|
8759
|
+
* Unavailable play audio UUID
|
|
8760
|
+
* @type {string}
|
|
8761
|
+
* @memberof ConversationPbxAgent
|
|
8762
|
+
*/
|
|
8763
|
+
unavailable_play_audio_uuid?: string;
|
|
8764
|
+
/**
|
|
8765
|
+
* Unavailable say
|
|
8766
|
+
* @type {string}
|
|
8767
|
+
* @memberof ConversationPbxAgent
|
|
8768
|
+
*/
|
|
8769
|
+
unavailable_say?: string;
|
|
8770
|
+
/**
|
|
8771
|
+
* Unavailable say voice
|
|
8772
|
+
* @type {string}
|
|
8773
|
+
* @memberof ConversationPbxAgent
|
|
8774
|
+
*/
|
|
8775
|
+
unavailable_say_voice?: string;
|
|
8740
8776
|
/**
|
|
8741
8777
|
* User Id
|
|
8742
8778
|
* @type {number}
|
|
@@ -10112,13 +10148,19 @@ export interface ConversationPbxVoicemailMailbox {
|
|
|
10112
10148
|
* @type {string}
|
|
10113
10149
|
* @memberof ConversationPbxVoicemailMailbox
|
|
10114
10150
|
*/
|
|
10115
|
-
|
|
10151
|
+
voicemail_followup_play_audio_uuid?: string;
|
|
10116
10152
|
/**
|
|
10117
10153
|
* Voicemail followup say
|
|
10118
10154
|
* @type {string}
|
|
10119
10155
|
* @memberof ConversationPbxVoicemailMailbox
|
|
10120
10156
|
*/
|
|
10121
10157
|
voicemail_followup_say?: string;
|
|
10158
|
+
/**
|
|
10159
|
+
* Voicemail followup say voice
|
|
10160
|
+
* @type {string}
|
|
10161
|
+
* @memberof ConversationPbxVoicemailMailbox
|
|
10162
|
+
*/
|
|
10163
|
+
voicemail_followup_say_voice?: string;
|
|
10122
10164
|
/**
|
|
10123
10165
|
* Voicemail mailbox id
|
|
10124
10166
|
* @type {string}
|
|
@@ -10144,11 +10186,11 @@ export interface ConversationPbxVoicemailMailbox {
|
|
|
10144
10186
|
*/
|
|
10145
10187
|
voicemail_prompt_say?: string;
|
|
10146
10188
|
/**
|
|
10147
|
-
* Voicemail say voice
|
|
10189
|
+
* Voicemail prompt say voice
|
|
10148
10190
|
* @type {string}
|
|
10149
10191
|
* @memberof ConversationPbxVoicemailMailbox
|
|
10150
10192
|
*/
|
|
10151
|
-
|
|
10193
|
+
voicemail_prompt_say_voice?: string;
|
|
10152
10194
|
}
|
|
10153
10195
|
|
|
10154
10196
|
/**
|
|
@@ -50860,58 +50902,6 @@ export const ConversationApiFetchParamCreator = function (configuration?: Config
|
|
|
50860
50902
|
|
|
50861
50903
|
|
|
50862
50904
|
|
|
50863
|
-
// authentication ultraCartOauth required
|
|
50864
|
-
// oauth required
|
|
50865
|
-
if (configuration && configuration.accessToken) {
|
|
50866
|
-
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
50867
|
-
? configuration.accessToken("ultraCartOauth", ["conversation_write"])
|
|
50868
|
-
: configuration.accessToken;
|
|
50869
|
-
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
50870
|
-
}
|
|
50871
|
-
|
|
50872
|
-
// authentication ultraCartSimpleApiKey required
|
|
50873
|
-
if (configuration && configuration.apiKey) {
|
|
50874
|
-
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
50875
|
-
? configuration.apiKey("x-ultracart-simple-key")
|
|
50876
|
-
: configuration.apiKey;
|
|
50877
|
-
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
50878
|
-
}
|
|
50879
|
-
|
|
50880
|
-
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
50881
|
-
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
50882
|
-
delete localVarUrlObj.search;
|
|
50883
|
-
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
50884
|
-
|
|
50885
|
-
return {
|
|
50886
|
-
url: url.format(localVarUrlObj),
|
|
50887
|
-
options: localVarRequestOptions,
|
|
50888
|
-
};
|
|
50889
|
-
},
|
|
50890
|
-
/**
|
|
50891
|
-
* Delete a pbx agent
|
|
50892
|
-
* @summary Delete pbx agent
|
|
50893
|
-
* @param {string} conversationPbxAgentUuid
|
|
50894
|
-
* @param {*} [options] Override http request option.
|
|
50895
|
-
* @throws {RequiredError}
|
|
50896
|
-
*/
|
|
50897
|
-
deletePbxAgent(conversationPbxAgentUuid: string, options: any = {}): FetchArgs {
|
|
50898
|
-
// verify required parameter 'conversationPbxAgentUuid' is not null or undefined
|
|
50899
|
-
if (conversationPbxAgentUuid === null || conversationPbxAgentUuid === undefined) {
|
|
50900
|
-
throw new RequiredError('conversationPbxAgentUuid','Required parameter conversationPbxAgentUuid was null or undefined when calling deletePbxAgent.');
|
|
50901
|
-
}
|
|
50902
|
-
const localVarPath = `/conversation/pbx/agent/{conversationPbxAgentUuid}`
|
|
50903
|
-
.replace(`{${"conversationPbxAgentUuid"}}`, encodeURIComponent(String(conversationPbxAgentUuid)));
|
|
50904
|
-
const localVarUrlObj = url.parse(localVarPath, true);
|
|
50905
|
-
const localVarRequestOptions = Object.assign({ method: 'DELETE' }, options);
|
|
50906
|
-
const localVarHeaderParameter = {} as any;
|
|
50907
|
-
const localVarQueryParameter = {} as any;
|
|
50908
|
-
|
|
50909
|
-
if(configuration && configuration.apiVersion) {
|
|
50910
|
-
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
50911
|
-
}
|
|
50912
|
-
|
|
50913
|
-
|
|
50914
|
-
|
|
50915
50905
|
// authentication ultraCartOauth required
|
|
50916
50906
|
// oauth required
|
|
50917
50907
|
if (configuration && configuration.accessToken) {
|
|
@@ -51068,58 +51058,6 @@ export const ConversationApiFetchParamCreator = function (configuration?: Config
|
|
|
51068
51058
|
|
|
51069
51059
|
|
|
51070
51060
|
|
|
51071
|
-
// authentication ultraCartOauth required
|
|
51072
|
-
// oauth required
|
|
51073
|
-
if (configuration && configuration.accessToken) {
|
|
51074
|
-
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
51075
|
-
? configuration.accessToken("ultraCartOauth", ["conversation_write"])
|
|
51076
|
-
: configuration.accessToken;
|
|
51077
|
-
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
51078
|
-
}
|
|
51079
|
-
|
|
51080
|
-
// authentication ultraCartSimpleApiKey required
|
|
51081
|
-
if (configuration && configuration.apiKey) {
|
|
51082
|
-
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
51083
|
-
? configuration.apiKey("x-ultracart-simple-key")
|
|
51084
|
-
: configuration.apiKey;
|
|
51085
|
-
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
51086
|
-
}
|
|
51087
|
-
|
|
51088
|
-
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
51089
|
-
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
51090
|
-
delete localVarUrlObj.search;
|
|
51091
|
-
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
51092
|
-
|
|
51093
|
-
return {
|
|
51094
|
-
url: url.format(localVarUrlObj),
|
|
51095
|
-
options: localVarRequestOptions,
|
|
51096
|
-
};
|
|
51097
|
-
},
|
|
51098
|
-
/**
|
|
51099
|
-
* Delete a pbx phoneNumber
|
|
51100
|
-
* @summary Delete pbx phoneNumber
|
|
51101
|
-
* @param {string} conversationPbxPhoneNumberUuid
|
|
51102
|
-
* @param {*} [options] Override http request option.
|
|
51103
|
-
* @throws {RequiredError}
|
|
51104
|
-
*/
|
|
51105
|
-
deletePbxPhoneNumber(conversationPbxPhoneNumberUuid: string, options: any = {}): FetchArgs {
|
|
51106
|
-
// verify required parameter 'conversationPbxPhoneNumberUuid' is not null or undefined
|
|
51107
|
-
if (conversationPbxPhoneNumberUuid === null || conversationPbxPhoneNumberUuid === undefined) {
|
|
51108
|
-
throw new RequiredError('conversationPbxPhoneNumberUuid','Required parameter conversationPbxPhoneNumberUuid was null or undefined when calling deletePbxPhoneNumber.');
|
|
51109
|
-
}
|
|
51110
|
-
const localVarPath = `/conversation/pbx/phone_number/{conversationPbxPhoneNumberUuid}`
|
|
51111
|
-
.replace(`{${"conversationPbxPhoneNumberUuid"}}`, encodeURIComponent(String(conversationPbxPhoneNumberUuid)));
|
|
51112
|
-
const localVarUrlObj = url.parse(localVarPath, true);
|
|
51113
|
-
const localVarRequestOptions = Object.assign({ method: 'DELETE' }, options);
|
|
51114
|
-
const localVarHeaderParameter = {} as any;
|
|
51115
|
-
const localVarQueryParameter = {} as any;
|
|
51116
|
-
|
|
51117
|
-
if(configuration && configuration.apiVersion) {
|
|
51118
|
-
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
51119
|
-
}
|
|
51120
|
-
|
|
51121
|
-
|
|
51122
|
-
|
|
51123
51061
|
// authentication ultraCartOauth required
|
|
51124
51062
|
// oauth required
|
|
51125
51063
|
if (configuration && configuration.accessToken) {
|
|
@@ -53641,61 +53579,6 @@ export const ConversationApiFetchParamCreator = function (configuration?: Config
|
|
|
53641
53579
|
options: localVarRequestOptions,
|
|
53642
53580
|
};
|
|
53643
53581
|
},
|
|
53644
|
-
/**
|
|
53645
|
-
* Insert a pbx agent
|
|
53646
|
-
* @summary Insert pbx agent
|
|
53647
|
-
* @param {ConversationPbxAgent} pbx_agent Pbx Agent
|
|
53648
|
-
* @param {*} [options] Override http request option.
|
|
53649
|
-
* @throws {RequiredError}
|
|
53650
|
-
*/
|
|
53651
|
-
insertPbxAgent(pbx_agent: ConversationPbxAgent, options: any = {}): FetchArgs {
|
|
53652
|
-
// verify required parameter 'pbx_agent' is not null or undefined
|
|
53653
|
-
if (pbx_agent === null || pbx_agent === undefined) {
|
|
53654
|
-
throw new RequiredError('pbx_agent','Required parameter pbx_agent was null or undefined when calling insertPbxAgent.');
|
|
53655
|
-
}
|
|
53656
|
-
const localVarPath = `/conversation/pbx/agent`;
|
|
53657
|
-
const localVarUrlObj = url.parse(localVarPath, true);
|
|
53658
|
-
const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
|
|
53659
|
-
const localVarHeaderParameter = {} as any;
|
|
53660
|
-
const localVarQueryParameter = {} as any;
|
|
53661
|
-
|
|
53662
|
-
if(configuration && configuration.apiVersion) {
|
|
53663
|
-
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
53664
|
-
}
|
|
53665
|
-
|
|
53666
|
-
|
|
53667
|
-
|
|
53668
|
-
// authentication ultraCartOauth required
|
|
53669
|
-
// oauth required
|
|
53670
|
-
if (configuration && configuration.accessToken) {
|
|
53671
|
-
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
53672
|
-
? configuration.accessToken("ultraCartOauth", ["conversation_write"])
|
|
53673
|
-
: configuration.accessToken;
|
|
53674
|
-
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
53675
|
-
}
|
|
53676
|
-
|
|
53677
|
-
// authentication ultraCartSimpleApiKey required
|
|
53678
|
-
if (configuration && configuration.apiKey) {
|
|
53679
|
-
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
53680
|
-
? configuration.apiKey("x-ultracart-simple-key")
|
|
53681
|
-
: configuration.apiKey;
|
|
53682
|
-
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
53683
|
-
}
|
|
53684
|
-
|
|
53685
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
53686
|
-
|
|
53687
|
-
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
53688
|
-
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
53689
|
-
delete localVarUrlObj.search;
|
|
53690
|
-
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
53691
|
-
const needsSerialization = (<any>"ConversationPbxAgent" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
53692
|
-
localVarRequestOptions.body = needsSerialization ? JSON.stringify(pbx_agent || {}) : (pbx_agent || "");
|
|
53693
|
-
|
|
53694
|
-
return {
|
|
53695
|
-
url: url.format(localVarUrlObj),
|
|
53696
|
-
options: localVarRequestOptions,
|
|
53697
|
-
};
|
|
53698
|
-
},
|
|
53699
53582
|
/**
|
|
53700
53583
|
* Insert a pbx audio
|
|
53701
53584
|
* @summary Insert pbx audio
|
|
@@ -53806,61 +53689,6 @@ export const ConversationApiFetchParamCreator = function (configuration?: Config
|
|
|
53806
53689
|
options: localVarRequestOptions,
|
|
53807
53690
|
};
|
|
53808
53691
|
},
|
|
53809
|
-
/**
|
|
53810
|
-
* Insert a pbx phoneNumber
|
|
53811
|
-
* @summary Insert pbx phoneNumber
|
|
53812
|
-
* @param {ConversationPbxPhoneNumber} pbx_phoneNumber Pbx PhoneNumber
|
|
53813
|
-
* @param {*} [options] Override http request option.
|
|
53814
|
-
* @throws {RequiredError}
|
|
53815
|
-
*/
|
|
53816
|
-
insertPbxPhoneNumber(pbx_phoneNumber: ConversationPbxPhoneNumber, options: any = {}): FetchArgs {
|
|
53817
|
-
// verify required parameter 'pbx_phoneNumber' is not null or undefined
|
|
53818
|
-
if (pbx_phoneNumber === null || pbx_phoneNumber === undefined) {
|
|
53819
|
-
throw new RequiredError('pbx_phoneNumber','Required parameter pbx_phoneNumber was null or undefined when calling insertPbxPhoneNumber.');
|
|
53820
|
-
}
|
|
53821
|
-
const localVarPath = `/conversation/pbx/phone_number`;
|
|
53822
|
-
const localVarUrlObj = url.parse(localVarPath, true);
|
|
53823
|
-
const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
|
|
53824
|
-
const localVarHeaderParameter = {} as any;
|
|
53825
|
-
const localVarQueryParameter = {} as any;
|
|
53826
|
-
|
|
53827
|
-
if(configuration && configuration.apiVersion) {
|
|
53828
|
-
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
53829
|
-
}
|
|
53830
|
-
|
|
53831
|
-
|
|
53832
|
-
|
|
53833
|
-
// authentication ultraCartOauth required
|
|
53834
|
-
// oauth required
|
|
53835
|
-
if (configuration && configuration.accessToken) {
|
|
53836
|
-
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
53837
|
-
? configuration.accessToken("ultraCartOauth", ["conversation_write"])
|
|
53838
|
-
: configuration.accessToken;
|
|
53839
|
-
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
53840
|
-
}
|
|
53841
|
-
|
|
53842
|
-
// authentication ultraCartSimpleApiKey required
|
|
53843
|
-
if (configuration && configuration.apiKey) {
|
|
53844
|
-
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
53845
|
-
? configuration.apiKey("x-ultracart-simple-key")
|
|
53846
|
-
: configuration.apiKey;
|
|
53847
|
-
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
53848
|
-
}
|
|
53849
|
-
|
|
53850
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
53851
|
-
|
|
53852
|
-
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
53853
|
-
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
53854
|
-
delete localVarUrlObj.search;
|
|
53855
|
-
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
53856
|
-
const needsSerialization = (<any>"ConversationPbxPhoneNumber" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
53857
|
-
localVarRequestOptions.body = needsSerialization ? JSON.stringify(pbx_phoneNumber || {}) : (pbx_phoneNumber || "");
|
|
53858
|
-
|
|
53859
|
-
return {
|
|
53860
|
-
url: url.format(localVarUrlObj),
|
|
53861
|
-
options: localVarRequestOptions,
|
|
53862
|
-
};
|
|
53863
|
-
},
|
|
53864
53692
|
/**
|
|
53865
53693
|
* Insert a pbx queue
|
|
53866
53694
|
* @summary Insert pbx queue
|
|
@@ -55425,27 +55253,6 @@ export const ConversationApiFp = function(configuration?: Configuration) {
|
|
|
55425
55253
|
});
|
|
55426
55254
|
};
|
|
55427
55255
|
},
|
|
55428
|
-
/**
|
|
55429
|
-
* Delete a pbx agent
|
|
55430
|
-
* @summary Delete pbx agent
|
|
55431
|
-
* @param {string} conversationPbxAgentUuid
|
|
55432
|
-
* @param {*} [options] Override http request option.
|
|
55433
|
-
* @throws {RequiredError}
|
|
55434
|
-
*/
|
|
55435
|
-
deletePbxAgent(conversationPbxAgentUuid: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationPbxAgentResponse> {
|
|
55436
|
-
const localVarFetchArgs = ConversationApiFetchParamCreator(configuration).deletePbxAgent(conversationPbxAgentUuid, options);
|
|
55437
|
-
return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
|
|
55438
|
-
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
55439
|
-
|
|
55440
|
-
if (response.status >= 200 && response.status < 300) {
|
|
55441
|
-
return response.json();
|
|
55442
|
-
|
|
55443
|
-
} else {
|
|
55444
|
-
throw response;
|
|
55445
|
-
}
|
|
55446
|
-
});
|
|
55447
|
-
};
|
|
55448
|
-
},
|
|
55449
55256
|
/**
|
|
55450
55257
|
* Delete pbx agent Voicemail
|
|
55451
55258
|
* @summary Delete Agent Voicemail
|
|
@@ -55509,27 +55316,6 @@ export const ConversationApiFp = function(configuration?: Configuration) {
|
|
|
55509
55316
|
});
|
|
55510
55317
|
};
|
|
55511
55318
|
},
|
|
55512
|
-
/**
|
|
55513
|
-
* Delete a pbx phoneNumber
|
|
55514
|
-
* @summary Delete pbx phoneNumber
|
|
55515
|
-
* @param {string} conversationPbxPhoneNumberUuid
|
|
55516
|
-
* @param {*} [options] Override http request option.
|
|
55517
|
-
* @throws {RequiredError}
|
|
55518
|
-
*/
|
|
55519
|
-
deletePbxPhoneNumber(conversationPbxPhoneNumberUuid: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationPbxPhoneNumberResponse> {
|
|
55520
|
-
const localVarFetchArgs = ConversationApiFetchParamCreator(configuration).deletePbxPhoneNumber(conversationPbxPhoneNumberUuid, options);
|
|
55521
|
-
return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
|
|
55522
|
-
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
55523
|
-
|
|
55524
|
-
if (response.status >= 200 && response.status < 300) {
|
|
55525
|
-
return response.json();
|
|
55526
|
-
|
|
55527
|
-
} else {
|
|
55528
|
-
throw response;
|
|
55529
|
-
}
|
|
55530
|
-
});
|
|
55531
|
-
};
|
|
55532
|
-
},
|
|
55533
55319
|
/**
|
|
55534
55320
|
* Delete a pbx queue
|
|
55535
55321
|
* @summary Delete pbx queue
|
|
@@ -56548,27 +56334,6 @@ export const ConversationApiFp = function(configuration?: Configuration) {
|
|
|
56548
56334
|
});
|
|
56549
56335
|
};
|
|
56550
56336
|
},
|
|
56551
|
-
/**
|
|
56552
|
-
* Insert a pbx agent
|
|
56553
|
-
* @summary Insert pbx agent
|
|
56554
|
-
* @param {ConversationPbxAgent} pbx_agent Pbx Agent
|
|
56555
|
-
* @param {*} [options] Override http request option.
|
|
56556
|
-
* @throws {RequiredError}
|
|
56557
|
-
*/
|
|
56558
|
-
insertPbxAgent(pbx_agent: ConversationPbxAgent, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationPbxAgentResponse> {
|
|
56559
|
-
const localVarFetchArgs = ConversationApiFetchParamCreator(configuration).insertPbxAgent(pbx_agent, options);
|
|
56560
|
-
return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
|
|
56561
|
-
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
56562
|
-
|
|
56563
|
-
if (response.status >= 200 && response.status < 300) {
|
|
56564
|
-
return response.json();
|
|
56565
|
-
|
|
56566
|
-
} else {
|
|
56567
|
-
throw response;
|
|
56568
|
-
}
|
|
56569
|
-
});
|
|
56570
|
-
};
|
|
56571
|
-
},
|
|
56572
56337
|
/**
|
|
56573
56338
|
* Insert a pbx audio
|
|
56574
56339
|
* @summary Insert pbx audio
|
|
@@ -56611,27 +56376,6 @@ export const ConversationApiFp = function(configuration?: Configuration) {
|
|
|
56611
56376
|
});
|
|
56612
56377
|
};
|
|
56613
56378
|
},
|
|
56614
|
-
/**
|
|
56615
|
-
* Insert a pbx phoneNumber
|
|
56616
|
-
* @summary Insert pbx phoneNumber
|
|
56617
|
-
* @param {ConversationPbxPhoneNumber} pbx_phoneNumber Pbx PhoneNumber
|
|
56618
|
-
* @param {*} [options] Override http request option.
|
|
56619
|
-
* @throws {RequiredError}
|
|
56620
|
-
*/
|
|
56621
|
-
insertPbxPhoneNumber(pbx_phoneNumber: ConversationPbxPhoneNumber, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationPbxPhoneNumberResponse> {
|
|
56622
|
-
const localVarFetchArgs = ConversationApiFetchParamCreator(configuration).insertPbxPhoneNumber(pbx_phoneNumber, options);
|
|
56623
|
-
return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
|
|
56624
|
-
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
56625
|
-
|
|
56626
|
-
if (response.status >= 200 && response.status < 300) {
|
|
56627
|
-
return response.json();
|
|
56628
|
-
|
|
56629
|
-
} else {
|
|
56630
|
-
throw response;
|
|
56631
|
-
}
|
|
56632
|
-
});
|
|
56633
|
-
};
|
|
56634
|
-
},
|
|
56635
56379
|
/**
|
|
56636
56380
|
* Insert a pbx queue
|
|
56637
56381
|
* @summary Insert pbx queue
|
|
@@ -57231,16 +56975,6 @@ export const ConversationApiFactory = function (configuration?: Configuration, f
|
|
|
57231
56975
|
deleteEngagement(conversation_engagement_oid: number, options?: any) {
|
|
57232
56976
|
return ConversationApiFp(configuration).deleteEngagement(conversation_engagement_oid, options)(fetch, basePath);
|
|
57233
56977
|
},
|
|
57234
|
-
/**
|
|
57235
|
-
* Delete a pbx agent
|
|
57236
|
-
* @summary Delete pbx agent
|
|
57237
|
-
* @param {string} conversationPbxAgentUuid
|
|
57238
|
-
* @param {*} [options] Override http request option.
|
|
57239
|
-
* @throws {RequiredError}
|
|
57240
|
-
*/
|
|
57241
|
-
deletePbxAgent(conversationPbxAgentUuid: string, options?: any) {
|
|
57242
|
-
return ConversationApiFp(configuration).deletePbxAgent(conversationPbxAgentUuid, options)(fetch, basePath);
|
|
57243
|
-
},
|
|
57244
56978
|
/**
|
|
57245
56979
|
* Delete pbx agent Voicemail
|
|
57246
56980
|
* @summary Delete Agent Voicemail
|
|
@@ -57271,16 +57005,6 @@ export const ConversationApiFactory = function (configuration?: Configuration, f
|
|
|
57271
57005
|
deletePbxMenu(conversationPbxMenuUuid: string, options?: any) {
|
|
57272
57006
|
return ConversationApiFp(configuration).deletePbxMenu(conversationPbxMenuUuid, options)(fetch, basePath);
|
|
57273
57007
|
},
|
|
57274
|
-
/**
|
|
57275
|
-
* Delete a pbx phoneNumber
|
|
57276
|
-
* @summary Delete pbx phoneNumber
|
|
57277
|
-
* @param {string} conversationPbxPhoneNumberUuid
|
|
57278
|
-
* @param {*} [options] Override http request option.
|
|
57279
|
-
* @throws {RequiredError}
|
|
57280
|
-
*/
|
|
57281
|
-
deletePbxPhoneNumber(conversationPbxPhoneNumberUuid: string, options?: any) {
|
|
57282
|
-
return ConversationApiFp(configuration).deletePbxPhoneNumber(conversationPbxPhoneNumberUuid, options)(fetch, basePath);
|
|
57283
|
-
},
|
|
57284
57008
|
/**
|
|
57285
57009
|
* Delete a pbx queue
|
|
57286
57010
|
* @summary Delete pbx queue
|
|
@@ -57760,16 +57484,6 @@ export const ConversationApiFactory = function (configuration?: Configuration, f
|
|
|
57760
57484
|
insertConversationEngagement(engagement: ConversationEngagement, options?: any) {
|
|
57761
57485
|
return ConversationApiFp(configuration).insertConversationEngagement(engagement, options)(fetch, basePath);
|
|
57762
57486
|
},
|
|
57763
|
-
/**
|
|
57764
|
-
* Insert a pbx agent
|
|
57765
|
-
* @summary Insert pbx agent
|
|
57766
|
-
* @param {ConversationPbxAgent} pbx_agent Pbx Agent
|
|
57767
|
-
* @param {*} [options] Override http request option.
|
|
57768
|
-
* @throws {RequiredError}
|
|
57769
|
-
*/
|
|
57770
|
-
insertPbxAgent(pbx_agent: ConversationPbxAgent, options?: any) {
|
|
57771
|
-
return ConversationApiFp(configuration).insertPbxAgent(pbx_agent, options)(fetch, basePath);
|
|
57772
|
-
},
|
|
57773
57487
|
/**
|
|
57774
57488
|
* Insert a pbx audio
|
|
57775
57489
|
* @summary Insert pbx audio
|
|
@@ -57790,16 +57504,6 @@ export const ConversationApiFactory = function (configuration?: Configuration, f
|
|
|
57790
57504
|
insertPbxMenu(pbx_menu: ConversationPbxMenu, options?: any) {
|
|
57791
57505
|
return ConversationApiFp(configuration).insertPbxMenu(pbx_menu, options)(fetch, basePath);
|
|
57792
57506
|
},
|
|
57793
|
-
/**
|
|
57794
|
-
* Insert a pbx phoneNumber
|
|
57795
|
-
* @summary Insert pbx phoneNumber
|
|
57796
|
-
* @param {ConversationPbxPhoneNumber} pbx_phoneNumber Pbx PhoneNumber
|
|
57797
|
-
* @param {*} [options] Override http request option.
|
|
57798
|
-
* @throws {RequiredError}
|
|
57799
|
-
*/
|
|
57800
|
-
insertPbxPhoneNumber(pbx_phoneNumber: ConversationPbxPhoneNumber, options?: any) {
|
|
57801
|
-
return ConversationApiFp(configuration).insertPbxPhoneNumber(pbx_phoneNumber, options)(fetch, basePath);
|
|
57802
|
-
},
|
|
57803
57507
|
/**
|
|
57804
57508
|
* Insert a pbx queue
|
|
57805
57509
|
* @summary Insert pbx queue
|
|
@@ -58113,16 +57817,6 @@ export interface ConversationApiInterface {
|
|
|
58113
57817
|
*/
|
|
58114
57818
|
deleteEngagement(conversation_engagement_oid: number, options?: any): Promise<{}>;
|
|
58115
57819
|
|
|
58116
|
-
/**
|
|
58117
|
-
* Delete a pbx agent
|
|
58118
|
-
* @summary Delete pbx agent
|
|
58119
|
-
* @param {string} conversationPbxAgentUuid
|
|
58120
|
-
* @param {*} [options] Override http request option.
|
|
58121
|
-
* @throws {RequiredError}
|
|
58122
|
-
* @memberof ConversationApiInterface
|
|
58123
|
-
*/
|
|
58124
|
-
deletePbxAgent(conversationPbxAgentUuid: string, options?: any): Promise<ConversationPbxAgentResponse>;
|
|
58125
|
-
|
|
58126
57820
|
/**
|
|
58127
57821
|
* Delete pbx agent Voicemail
|
|
58128
57822
|
* @summary Delete Agent Voicemail
|
|
@@ -58153,16 +57847,6 @@ export interface ConversationApiInterface {
|
|
|
58153
57847
|
*/
|
|
58154
57848
|
deletePbxMenu(conversationPbxMenuUuid: string, options?: any): Promise<ConversationPbxMenuResponse>;
|
|
58155
57849
|
|
|
58156
|
-
/**
|
|
58157
|
-
* Delete a pbx phoneNumber
|
|
58158
|
-
* @summary Delete pbx phoneNumber
|
|
58159
|
-
* @param {string} conversationPbxPhoneNumberUuid
|
|
58160
|
-
* @param {*} [options] Override http request option.
|
|
58161
|
-
* @throws {RequiredError}
|
|
58162
|
-
* @memberof ConversationApiInterface
|
|
58163
|
-
*/
|
|
58164
|
-
deletePbxPhoneNumber(conversationPbxPhoneNumberUuid: string, options?: any): Promise<ConversationPbxPhoneNumberResponse>;
|
|
58165
|
-
|
|
58166
57850
|
/**
|
|
58167
57851
|
* Delete a pbx queue
|
|
58168
57852
|
* @summary Delete pbx queue
|
|
@@ -58642,16 +58326,6 @@ export interface ConversationApiInterface {
|
|
|
58642
58326
|
*/
|
|
58643
58327
|
insertConversationEngagement(engagement: ConversationEngagement, options?: any): Promise<ConversationEngagementResponse>;
|
|
58644
58328
|
|
|
58645
|
-
/**
|
|
58646
|
-
* Insert a pbx agent
|
|
58647
|
-
* @summary Insert pbx agent
|
|
58648
|
-
* @param {ConversationPbxAgent} pbx_agent Pbx Agent
|
|
58649
|
-
* @param {*} [options] Override http request option.
|
|
58650
|
-
* @throws {RequiredError}
|
|
58651
|
-
* @memberof ConversationApiInterface
|
|
58652
|
-
*/
|
|
58653
|
-
insertPbxAgent(pbx_agent: ConversationPbxAgent, options?: any): Promise<ConversationPbxAgentResponse>;
|
|
58654
|
-
|
|
58655
58329
|
/**
|
|
58656
58330
|
* Insert a pbx audio
|
|
58657
58331
|
* @summary Insert pbx audio
|
|
@@ -58672,16 +58346,6 @@ export interface ConversationApiInterface {
|
|
|
58672
58346
|
*/
|
|
58673
58347
|
insertPbxMenu(pbx_menu: ConversationPbxMenu, options?: any): Promise<ConversationPbxMenuResponse>;
|
|
58674
58348
|
|
|
58675
|
-
/**
|
|
58676
|
-
* Insert a pbx phoneNumber
|
|
58677
|
-
* @summary Insert pbx phoneNumber
|
|
58678
|
-
* @param {ConversationPbxPhoneNumber} pbx_phoneNumber Pbx PhoneNumber
|
|
58679
|
-
* @param {*} [options] Override http request option.
|
|
58680
|
-
* @throws {RequiredError}
|
|
58681
|
-
* @memberof ConversationApiInterface
|
|
58682
|
-
*/
|
|
58683
|
-
insertPbxPhoneNumber(pbx_phoneNumber: ConversationPbxPhoneNumber, options?: any): Promise<ConversationPbxPhoneNumberResponse>;
|
|
58684
|
-
|
|
58685
58349
|
/**
|
|
58686
58350
|
* Insert a pbx queue
|
|
58687
58351
|
* @summary Insert pbx queue
|
|
@@ -59001,18 +58665,6 @@ export class ConversationApi extends BaseAPI implements ConversationApiInterface
|
|
|
59001
58665
|
return ConversationApiFp(this.configuration).deleteEngagement(conversation_engagement_oid, options)(this.fetch, this.basePath);
|
|
59002
58666
|
}
|
|
59003
58667
|
|
|
59004
|
-
/**
|
|
59005
|
-
* Delete a pbx agent
|
|
59006
|
-
* @summary Delete pbx agent
|
|
59007
|
-
* @param {string} conversationPbxAgentUuid
|
|
59008
|
-
* @param {*} [options] Override http request option.
|
|
59009
|
-
* @throws {RequiredError}
|
|
59010
|
-
* @memberof ConversationApi
|
|
59011
|
-
*/
|
|
59012
|
-
public deletePbxAgent(conversationPbxAgentUuid: string, options?: any) {
|
|
59013
|
-
return ConversationApiFp(this.configuration).deletePbxAgent(conversationPbxAgentUuid, options)(this.fetch, this.basePath);
|
|
59014
|
-
}
|
|
59015
|
-
|
|
59016
58668
|
/**
|
|
59017
58669
|
* Delete pbx agent Voicemail
|
|
59018
58670
|
* @summary Delete Agent Voicemail
|
|
@@ -59049,18 +58701,6 @@ export class ConversationApi extends BaseAPI implements ConversationApiInterface
|
|
|
59049
58701
|
return ConversationApiFp(this.configuration).deletePbxMenu(conversationPbxMenuUuid, options)(this.fetch, this.basePath);
|
|
59050
58702
|
}
|
|
59051
58703
|
|
|
59052
|
-
/**
|
|
59053
|
-
* Delete a pbx phoneNumber
|
|
59054
|
-
* @summary Delete pbx phoneNumber
|
|
59055
|
-
* @param {string} conversationPbxPhoneNumberUuid
|
|
59056
|
-
* @param {*} [options] Override http request option.
|
|
59057
|
-
* @throws {RequiredError}
|
|
59058
|
-
* @memberof ConversationApi
|
|
59059
|
-
*/
|
|
59060
|
-
public deletePbxPhoneNumber(conversationPbxPhoneNumberUuid: string, options?: any) {
|
|
59061
|
-
return ConversationApiFp(this.configuration).deletePbxPhoneNumber(conversationPbxPhoneNumberUuid, options)(this.fetch, this.basePath);
|
|
59062
|
-
}
|
|
59063
|
-
|
|
59064
58704
|
/**
|
|
59065
58705
|
* Delete a pbx queue
|
|
59066
58706
|
* @summary Delete pbx queue
|
|
@@ -59638,18 +59278,6 @@ export class ConversationApi extends BaseAPI implements ConversationApiInterface
|
|
|
59638
59278
|
return ConversationApiFp(this.configuration).insertConversationEngagement(engagement, options)(this.fetch, this.basePath);
|
|
59639
59279
|
}
|
|
59640
59280
|
|
|
59641
|
-
/**
|
|
59642
|
-
* Insert a pbx agent
|
|
59643
|
-
* @summary Insert pbx agent
|
|
59644
|
-
* @param {ConversationPbxAgent} pbx_agent Pbx Agent
|
|
59645
|
-
* @param {*} [options] Override http request option.
|
|
59646
|
-
* @throws {RequiredError}
|
|
59647
|
-
* @memberof ConversationApi
|
|
59648
|
-
*/
|
|
59649
|
-
public insertPbxAgent(pbx_agent: ConversationPbxAgent, options?: any) {
|
|
59650
|
-
return ConversationApiFp(this.configuration).insertPbxAgent(pbx_agent, options)(this.fetch, this.basePath);
|
|
59651
|
-
}
|
|
59652
|
-
|
|
59653
59281
|
/**
|
|
59654
59282
|
* Insert a pbx audio
|
|
59655
59283
|
* @summary Insert pbx audio
|
|
@@ -59674,18 +59302,6 @@ export class ConversationApi extends BaseAPI implements ConversationApiInterface
|
|
|
59674
59302
|
return ConversationApiFp(this.configuration).insertPbxMenu(pbx_menu, options)(this.fetch, this.basePath);
|
|
59675
59303
|
}
|
|
59676
59304
|
|
|
59677
|
-
/**
|
|
59678
|
-
* Insert a pbx phoneNumber
|
|
59679
|
-
* @summary Insert pbx phoneNumber
|
|
59680
|
-
* @param {ConversationPbxPhoneNumber} pbx_phoneNumber Pbx PhoneNumber
|
|
59681
|
-
* @param {*} [options] Override http request option.
|
|
59682
|
-
* @throws {RequiredError}
|
|
59683
|
-
* @memberof ConversationApi
|
|
59684
|
-
*/
|
|
59685
|
-
public insertPbxPhoneNumber(pbx_phoneNumber: ConversationPbxPhoneNumber, options?: any) {
|
|
59686
|
-
return ConversationApiFp(this.configuration).insertPbxPhoneNumber(pbx_phoneNumber, options)(this.fetch, this.basePath);
|
|
59687
|
-
}
|
|
59688
|
-
|
|
59689
59305
|
/**
|
|
59690
59306
|
* Insert a pbx queue
|
|
59691
59307
|
* @summary Insert pbx queue
|