ultracart_rest_api_v2_typescript 3.10.201 → 3.10.202
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/api.ts +36 -426
- package/dist/api.d.ts +36 -168
- 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.202
|
|
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.202 --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
|
+
| 3.10.202 | 05/15/2024 | conversation pbx - missing fields on agent object |
|
|
57
58
|
| 3.10.201 | 05/14/2024 | conversation pbx - allowed value constants on the action |
|
|
58
59
|
| 3.10.200 | 05/13/2024 | conversation pbx - bug fix on camelCase property names |
|
|
59
60
|
| 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}
|
|
@@ -50860,58 +50896,6 @@ export const ConversationApiFetchParamCreator = function (configuration?: Config
|
|
|
50860
50896
|
|
|
50861
50897
|
|
|
50862
50898
|
|
|
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
50899
|
// authentication ultraCartOauth required
|
|
50916
50900
|
// oauth required
|
|
50917
50901
|
if (configuration && configuration.accessToken) {
|
|
@@ -51068,58 +51052,6 @@ export const ConversationApiFetchParamCreator = function (configuration?: Config
|
|
|
51068
51052
|
|
|
51069
51053
|
|
|
51070
51054
|
|
|
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
51055
|
// authentication ultraCartOauth required
|
|
51124
51056
|
// oauth required
|
|
51125
51057
|
if (configuration && configuration.accessToken) {
|
|
@@ -53641,61 +53573,6 @@ export const ConversationApiFetchParamCreator = function (configuration?: Config
|
|
|
53641
53573
|
options: localVarRequestOptions,
|
|
53642
53574
|
};
|
|
53643
53575
|
},
|
|
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
53576
|
/**
|
|
53700
53577
|
* Insert a pbx audio
|
|
53701
53578
|
* @summary Insert pbx audio
|
|
@@ -53806,61 +53683,6 @@ export const ConversationApiFetchParamCreator = function (configuration?: Config
|
|
|
53806
53683
|
options: localVarRequestOptions,
|
|
53807
53684
|
};
|
|
53808
53685
|
},
|
|
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
53686
|
/**
|
|
53865
53687
|
* Insert a pbx queue
|
|
53866
53688
|
* @summary Insert pbx queue
|
|
@@ -55425,27 +55247,6 @@ export const ConversationApiFp = function(configuration?: Configuration) {
|
|
|
55425
55247
|
});
|
|
55426
55248
|
};
|
|
55427
55249
|
},
|
|
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
55250
|
/**
|
|
55450
55251
|
* Delete pbx agent Voicemail
|
|
55451
55252
|
* @summary Delete Agent Voicemail
|
|
@@ -55509,27 +55310,6 @@ export const ConversationApiFp = function(configuration?: Configuration) {
|
|
|
55509
55310
|
});
|
|
55510
55311
|
};
|
|
55511
55312
|
},
|
|
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
55313
|
/**
|
|
55534
55314
|
* Delete a pbx queue
|
|
55535
55315
|
* @summary Delete pbx queue
|
|
@@ -56548,27 +56328,6 @@ export const ConversationApiFp = function(configuration?: Configuration) {
|
|
|
56548
56328
|
});
|
|
56549
56329
|
};
|
|
56550
56330
|
},
|
|
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
56331
|
/**
|
|
56573
56332
|
* Insert a pbx audio
|
|
56574
56333
|
* @summary Insert pbx audio
|
|
@@ -56611,27 +56370,6 @@ export const ConversationApiFp = function(configuration?: Configuration) {
|
|
|
56611
56370
|
});
|
|
56612
56371
|
};
|
|
56613
56372
|
},
|
|
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
56373
|
/**
|
|
56636
56374
|
* Insert a pbx queue
|
|
56637
56375
|
* @summary Insert pbx queue
|
|
@@ -57231,16 +56969,6 @@ export const ConversationApiFactory = function (configuration?: Configuration, f
|
|
|
57231
56969
|
deleteEngagement(conversation_engagement_oid: number, options?: any) {
|
|
57232
56970
|
return ConversationApiFp(configuration).deleteEngagement(conversation_engagement_oid, options)(fetch, basePath);
|
|
57233
56971
|
},
|
|
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
56972
|
/**
|
|
57245
56973
|
* Delete pbx agent Voicemail
|
|
57246
56974
|
* @summary Delete Agent Voicemail
|
|
@@ -57271,16 +56999,6 @@ export const ConversationApiFactory = function (configuration?: Configuration, f
|
|
|
57271
56999
|
deletePbxMenu(conversationPbxMenuUuid: string, options?: any) {
|
|
57272
57000
|
return ConversationApiFp(configuration).deletePbxMenu(conversationPbxMenuUuid, options)(fetch, basePath);
|
|
57273
57001
|
},
|
|
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
57002
|
/**
|
|
57285
57003
|
* Delete a pbx queue
|
|
57286
57004
|
* @summary Delete pbx queue
|
|
@@ -57760,16 +57478,6 @@ export const ConversationApiFactory = function (configuration?: Configuration, f
|
|
|
57760
57478
|
insertConversationEngagement(engagement: ConversationEngagement, options?: any) {
|
|
57761
57479
|
return ConversationApiFp(configuration).insertConversationEngagement(engagement, options)(fetch, basePath);
|
|
57762
57480
|
},
|
|
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
57481
|
/**
|
|
57774
57482
|
* Insert a pbx audio
|
|
57775
57483
|
* @summary Insert pbx audio
|
|
@@ -57790,16 +57498,6 @@ export const ConversationApiFactory = function (configuration?: Configuration, f
|
|
|
57790
57498
|
insertPbxMenu(pbx_menu: ConversationPbxMenu, options?: any) {
|
|
57791
57499
|
return ConversationApiFp(configuration).insertPbxMenu(pbx_menu, options)(fetch, basePath);
|
|
57792
57500
|
},
|
|
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
57501
|
/**
|
|
57804
57502
|
* Insert a pbx queue
|
|
57805
57503
|
* @summary Insert pbx queue
|
|
@@ -58113,16 +57811,6 @@ export interface ConversationApiInterface {
|
|
|
58113
57811
|
*/
|
|
58114
57812
|
deleteEngagement(conversation_engagement_oid: number, options?: any): Promise<{}>;
|
|
58115
57813
|
|
|
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
57814
|
/**
|
|
58127
57815
|
* Delete pbx agent Voicemail
|
|
58128
57816
|
* @summary Delete Agent Voicemail
|
|
@@ -58153,16 +57841,6 @@ export interface ConversationApiInterface {
|
|
|
58153
57841
|
*/
|
|
58154
57842
|
deletePbxMenu(conversationPbxMenuUuid: string, options?: any): Promise<ConversationPbxMenuResponse>;
|
|
58155
57843
|
|
|
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
57844
|
/**
|
|
58167
57845
|
* Delete a pbx queue
|
|
58168
57846
|
* @summary Delete pbx queue
|
|
@@ -58642,16 +58320,6 @@ export interface ConversationApiInterface {
|
|
|
58642
58320
|
*/
|
|
58643
58321
|
insertConversationEngagement(engagement: ConversationEngagement, options?: any): Promise<ConversationEngagementResponse>;
|
|
58644
58322
|
|
|
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
58323
|
/**
|
|
58656
58324
|
* Insert a pbx audio
|
|
58657
58325
|
* @summary Insert pbx audio
|
|
@@ -58672,16 +58340,6 @@ export interface ConversationApiInterface {
|
|
|
58672
58340
|
*/
|
|
58673
58341
|
insertPbxMenu(pbx_menu: ConversationPbxMenu, options?: any): Promise<ConversationPbxMenuResponse>;
|
|
58674
58342
|
|
|
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
58343
|
/**
|
|
58686
58344
|
* Insert a pbx queue
|
|
58687
58345
|
* @summary Insert pbx queue
|
|
@@ -59001,18 +58659,6 @@ export class ConversationApi extends BaseAPI implements ConversationApiInterface
|
|
|
59001
58659
|
return ConversationApiFp(this.configuration).deleteEngagement(conversation_engagement_oid, options)(this.fetch, this.basePath);
|
|
59002
58660
|
}
|
|
59003
58661
|
|
|
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
58662
|
/**
|
|
59017
58663
|
* Delete pbx agent Voicemail
|
|
59018
58664
|
* @summary Delete Agent Voicemail
|
|
@@ -59049,18 +58695,6 @@ export class ConversationApi extends BaseAPI implements ConversationApiInterface
|
|
|
59049
58695
|
return ConversationApiFp(this.configuration).deletePbxMenu(conversationPbxMenuUuid, options)(this.fetch, this.basePath);
|
|
59050
58696
|
}
|
|
59051
58697
|
|
|
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
58698
|
/**
|
|
59065
58699
|
* Delete a pbx queue
|
|
59066
58700
|
* @summary Delete pbx queue
|
|
@@ -59638,18 +59272,6 @@ export class ConversationApi extends BaseAPI implements ConversationApiInterface
|
|
|
59638
59272
|
return ConversationApiFp(this.configuration).insertConversationEngagement(engagement, options)(this.fetch, this.basePath);
|
|
59639
59273
|
}
|
|
59640
59274
|
|
|
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
59275
|
/**
|
|
59654
59276
|
* Insert a pbx audio
|
|
59655
59277
|
* @summary Insert pbx audio
|
|
@@ -59674,18 +59296,6 @@ export class ConversationApi extends BaseAPI implements ConversationApiInterface
|
|
|
59674
59296
|
return ConversationApiFp(this.configuration).insertPbxMenu(pbx_menu, options)(this.fetch, this.basePath);
|
|
59675
59297
|
}
|
|
59676
59298
|
|
|
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
59299
|
/**
|
|
59690
59300
|
* Insert a pbx queue
|
|
59691
59301
|
* @summary Insert pbx queue
|