@closerplatform/spinner-openapi 0.12.56 → 0.12.59
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/dist/api.d.ts +43 -4
- package/dist/api.js +84 -9
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -4725,6 +4725,12 @@ export interface OrgConfig {
|
|
|
4725
4725
|
* @memberof OrgConfig
|
|
4726
4726
|
*/
|
|
4727
4727
|
resetRoomViewOnClose?: boolean;
|
|
4728
|
+
/**
|
|
4729
|
+
*
|
|
4730
|
+
* @type {boolean}
|
|
4731
|
+
* @memberof OrgConfig
|
|
4732
|
+
*/
|
|
4733
|
+
autoReassignOnWebsocketUnavailable?: boolean;
|
|
4728
4734
|
}
|
|
4729
4735
|
/**
|
|
4730
4736
|
*
|
|
@@ -8480,7 +8486,7 @@ export declare const CustomersApiFetchParamCreator: (configuration?: Configurati
|
|
|
8480
8486
|
* @param {*} [options] Override http request option.
|
|
8481
8487
|
* @throws {RequiredError}
|
|
8482
8488
|
*/
|
|
8483
|
-
|
|
8489
|
+
deleteCustomerDeprecated(customerId: string, options?: any): FetchArgs;
|
|
8484
8490
|
/**
|
|
8485
8491
|
*
|
|
8486
8492
|
* @summary Get list of customer addresses
|
|
@@ -8619,7 +8625,7 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
|
8619
8625
|
* @param {*} [options] Override http request option.
|
|
8620
8626
|
* @throws {RequiredError}
|
|
8621
8627
|
*/
|
|
8622
|
-
|
|
8628
|
+
deleteCustomerDeprecated(customerId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
|
|
8623
8629
|
/**
|
|
8624
8630
|
*
|
|
8625
8631
|
* @summary Get list of customer addresses
|
|
@@ -8758,7 +8764,7 @@ export declare const CustomersApiFactory: (configuration?: Configuration, fetch?
|
|
|
8758
8764
|
* @param {*} [options] Override http request option.
|
|
8759
8765
|
* @throws {RequiredError}
|
|
8760
8766
|
*/
|
|
8761
|
-
|
|
8767
|
+
deleteCustomerDeprecated(customerId: string, options?: any): Promise<Response>;
|
|
8762
8768
|
/**
|
|
8763
8769
|
*
|
|
8764
8770
|
* @summary Get list of customer addresses
|
|
@@ -8907,7 +8913,7 @@ export declare class CustomersApi extends BaseAPI {
|
|
|
8907
8913
|
* @throws {RequiredError}
|
|
8908
8914
|
* @memberof CustomersApi
|
|
8909
8915
|
*/
|
|
8910
|
-
|
|
8916
|
+
deleteCustomerDeprecated(customerId: string, options?: any): Promise<Response>;
|
|
8911
8917
|
/**
|
|
8912
8918
|
*
|
|
8913
8919
|
* @summary Get list of customer addresses
|
|
@@ -14436,6 +14442,14 @@ export declare const UsersApiFetchParamCreator: (configuration?: Configuration)
|
|
|
14436
14442
|
* @throws {RequiredError}
|
|
14437
14443
|
*/
|
|
14438
14444
|
deleteAgentAvatar(options?: any): FetchArgs;
|
|
14445
|
+
/**
|
|
14446
|
+
*
|
|
14447
|
+
* @summary Anonymize customer profile
|
|
14448
|
+
* @param {string} customerId
|
|
14449
|
+
* @param {*} [options] Override http request option.
|
|
14450
|
+
* @throws {RequiredError}
|
|
14451
|
+
*/
|
|
14452
|
+
deleteCustomer(customerId: string, options?: any): FetchArgs;
|
|
14439
14453
|
/**
|
|
14440
14454
|
*
|
|
14441
14455
|
* @summary Generate avatar upload URL.
|
|
@@ -14828,6 +14842,14 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
14828
14842
|
* @throws {RequiredError}
|
|
14829
14843
|
*/
|
|
14830
14844
|
deleteAgentAvatar(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
|
|
14845
|
+
/**
|
|
14846
|
+
*
|
|
14847
|
+
* @summary Anonymize customer profile
|
|
14848
|
+
* @param {string} customerId
|
|
14849
|
+
* @param {*} [options] Override http request option.
|
|
14850
|
+
* @throws {RequiredError}
|
|
14851
|
+
*/
|
|
14852
|
+
deleteCustomer(customerId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
|
|
14831
14853
|
/**
|
|
14832
14854
|
*
|
|
14833
14855
|
* @summary Generate avatar upload URL.
|
|
@@ -15220,6 +15242,14 @@ export declare const UsersApiFactory: (configuration?: Configuration, fetch?: Fe
|
|
|
15220
15242
|
* @throws {RequiredError}
|
|
15221
15243
|
*/
|
|
15222
15244
|
deleteAgentAvatar(options?: any): Promise<Response>;
|
|
15245
|
+
/**
|
|
15246
|
+
*
|
|
15247
|
+
* @summary Anonymize customer profile
|
|
15248
|
+
* @param {string} customerId
|
|
15249
|
+
* @param {*} [options] Override http request option.
|
|
15250
|
+
* @throws {RequiredError}
|
|
15251
|
+
*/
|
|
15252
|
+
deleteCustomer(customerId: string, options?: any): Promise<Response>;
|
|
15223
15253
|
/**
|
|
15224
15254
|
*
|
|
15225
15255
|
* @summary Generate avatar upload URL.
|
|
@@ -15624,6 +15654,15 @@ export declare class UsersApi extends BaseAPI {
|
|
|
15624
15654
|
* @memberof UsersApi
|
|
15625
15655
|
*/
|
|
15626
15656
|
deleteAgentAvatar(options?: any): Promise<Response>;
|
|
15657
|
+
/**
|
|
15658
|
+
*
|
|
15659
|
+
* @summary Anonymize customer profile
|
|
15660
|
+
* @param {string} customerId
|
|
15661
|
+
* @param {*} [options] Override http request option.
|
|
15662
|
+
* @throws {RequiredError}
|
|
15663
|
+
* @memberof UsersApi
|
|
15664
|
+
*/
|
|
15665
|
+
deleteCustomer(customerId: string, options?: any): Promise<Response>;
|
|
15627
15666
|
/**
|
|
15628
15667
|
*
|
|
15629
15668
|
* @summary Generate avatar upload URL.
|
package/dist/api.js
CHANGED
|
@@ -4035,10 +4035,10 @@ exports.CustomersApiFetchParamCreator = function (configuration) {
|
|
|
4035
4035
|
* @param {*} [options] Override http request option.
|
|
4036
4036
|
* @throws {RequiredError}
|
|
4037
4037
|
*/
|
|
4038
|
-
|
|
4038
|
+
deleteCustomerDeprecated(customerId, options = {}) {
|
|
4039
4039
|
// verify required parameter 'customerId' is not null or undefined
|
|
4040
4040
|
if (customerId === null || customerId === undefined) {
|
|
4041
|
-
throw new RequiredError('customerId', 'Required parameter customerId was null or undefined when calling
|
|
4041
|
+
throw new RequiredError('customerId', 'Required parameter customerId was null or undefined when calling deleteCustomerDeprecated.');
|
|
4042
4042
|
}
|
|
4043
4043
|
const localVarPath = `/customers/customer/{customerId}`
|
|
4044
4044
|
.replace(`{${"customerId"}}`, encodeURIComponent(String(customerId)));
|
|
@@ -4508,8 +4508,8 @@ exports.CustomersApiFp = function (configuration) {
|
|
|
4508
4508
|
* @param {*} [options] Override http request option.
|
|
4509
4509
|
* @throws {RequiredError}
|
|
4510
4510
|
*/
|
|
4511
|
-
|
|
4512
|
-
const localVarFetchArgs = exports.CustomersApiFetchParamCreator(configuration).
|
|
4511
|
+
deleteCustomerDeprecated(customerId, options) {
|
|
4512
|
+
const localVarFetchArgs = exports.CustomersApiFetchParamCreator(configuration).deleteCustomerDeprecated(customerId, options);
|
|
4513
4513
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
4514
4514
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
4515
4515
|
if (response.status >= 200 && response.status < 300) {
|
|
@@ -4783,8 +4783,8 @@ exports.CustomersApiFactory = function (configuration, fetch, basePath) {
|
|
|
4783
4783
|
* @param {*} [options] Override http request option.
|
|
4784
4784
|
* @throws {RequiredError}
|
|
4785
4785
|
*/
|
|
4786
|
-
|
|
4787
|
-
return exports.CustomersApiFp(configuration).
|
|
4786
|
+
deleteCustomerDeprecated(customerId, options) {
|
|
4787
|
+
return exports.CustomersApiFp(configuration).deleteCustomerDeprecated(customerId, options)(fetch, basePath);
|
|
4788
4788
|
},
|
|
4789
4789
|
/**
|
|
4790
4790
|
*
|
|
@@ -4967,8 +4967,8 @@ class CustomersApi extends BaseAPI {
|
|
|
4967
4967
|
* @throws {RequiredError}
|
|
4968
4968
|
* @memberof CustomersApi
|
|
4969
4969
|
*/
|
|
4970
|
-
|
|
4971
|
-
return exports.CustomersApiFp(this.configuration).
|
|
4970
|
+
deleteCustomerDeprecated(customerId, options) {
|
|
4971
|
+
return exports.CustomersApiFp(this.configuration).deleteCustomerDeprecated(customerId, options)(this.fetch, this.basePath);
|
|
4972
4972
|
}
|
|
4973
4973
|
/**
|
|
4974
4974
|
*
|
|
@@ -6166,7 +6166,7 @@ exports.MainNotificationsApiFetchParamCreator = function (configuration) {
|
|
|
6166
6166
|
const localVarPath = `/notifications/main-notifications/{id}`
|
|
6167
6167
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6168
6168
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
6169
|
-
const localVarRequestOptions = Object.assign({ method: '
|
|
6169
|
+
const localVarRequestOptions = Object.assign({ method: 'PATCH' }, options);
|
|
6170
6170
|
const localVarHeaderParameter = {};
|
|
6171
6171
|
const localVarQueryParameter = {};
|
|
6172
6172
|
// authentication apiKey required
|
|
@@ -17069,6 +17069,40 @@ exports.UsersApiFetchParamCreator = function (configuration) {
|
|
|
17069
17069
|
options: localVarRequestOptions,
|
|
17070
17070
|
};
|
|
17071
17071
|
},
|
|
17072
|
+
/**
|
|
17073
|
+
*
|
|
17074
|
+
* @summary Anonymize customer profile
|
|
17075
|
+
* @param {string} customerId
|
|
17076
|
+
* @param {*} [options] Override http request option.
|
|
17077
|
+
* @throws {RequiredError}
|
|
17078
|
+
*/
|
|
17079
|
+
deleteCustomer(customerId, options = {}) {
|
|
17080
|
+
// verify required parameter 'customerId' is not null or undefined
|
|
17081
|
+
if (customerId === null || customerId === undefined) {
|
|
17082
|
+
throw new RequiredError('customerId', 'Required parameter customerId was null or undefined when calling deleteCustomer.');
|
|
17083
|
+
}
|
|
17084
|
+
const localVarPath = `/users/guest/{customerId}`
|
|
17085
|
+
.replace(`{${"customerId"}}`, encodeURIComponent(String(customerId)));
|
|
17086
|
+
const localVarUrlObj = url.parse(localVarPath, true);
|
|
17087
|
+
const localVarRequestOptions = Object.assign({ method: 'DELETE' }, options);
|
|
17088
|
+
const localVarHeaderParameter = {};
|
|
17089
|
+
const localVarQueryParameter = {};
|
|
17090
|
+
// authentication apiKey required
|
|
17091
|
+
if (configuration && configuration.apiKey) {
|
|
17092
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
17093
|
+
? configuration.apiKey("X-Api-Key")
|
|
17094
|
+
: configuration.apiKey;
|
|
17095
|
+
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
17096
|
+
}
|
|
17097
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
17098
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
17099
|
+
delete localVarUrlObj.search;
|
|
17100
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
17101
|
+
return {
|
|
17102
|
+
url: url.format(localVarUrlObj),
|
|
17103
|
+
options: localVarRequestOptions,
|
|
17104
|
+
};
|
|
17105
|
+
},
|
|
17072
17106
|
/**
|
|
17073
17107
|
*
|
|
17074
17108
|
* @summary Generate avatar upload URL.
|
|
@@ -18695,6 +18729,26 @@ exports.UsersApiFp = function (configuration) {
|
|
|
18695
18729
|
});
|
|
18696
18730
|
};
|
|
18697
18731
|
},
|
|
18732
|
+
/**
|
|
18733
|
+
*
|
|
18734
|
+
* @summary Anonymize customer profile
|
|
18735
|
+
* @param {string} customerId
|
|
18736
|
+
* @param {*} [options] Override http request option.
|
|
18737
|
+
* @throws {RequiredError}
|
|
18738
|
+
*/
|
|
18739
|
+
deleteCustomer(customerId, options) {
|
|
18740
|
+
const localVarFetchArgs = exports.UsersApiFetchParamCreator(configuration).deleteCustomer(customerId, options);
|
|
18741
|
+
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
18742
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
18743
|
+
if (response.status >= 200 && response.status < 300) {
|
|
18744
|
+
return response;
|
|
18745
|
+
}
|
|
18746
|
+
else {
|
|
18747
|
+
throw response;
|
|
18748
|
+
}
|
|
18749
|
+
});
|
|
18750
|
+
};
|
|
18751
|
+
},
|
|
18698
18752
|
/**
|
|
18699
18753
|
*
|
|
18700
18754
|
* @summary Generate avatar upload URL.
|
|
@@ -19565,6 +19619,16 @@ exports.UsersApiFactory = function (configuration, fetch, basePath) {
|
|
|
19565
19619
|
deleteAgentAvatar(options) {
|
|
19566
19620
|
return exports.UsersApiFp(configuration).deleteAgentAvatar(options)(fetch, basePath);
|
|
19567
19621
|
},
|
|
19622
|
+
/**
|
|
19623
|
+
*
|
|
19624
|
+
* @summary Anonymize customer profile
|
|
19625
|
+
* @param {string} customerId
|
|
19626
|
+
* @param {*} [options] Override http request option.
|
|
19627
|
+
* @throws {RequiredError}
|
|
19628
|
+
*/
|
|
19629
|
+
deleteCustomer(customerId, options) {
|
|
19630
|
+
return exports.UsersApiFp(configuration).deleteCustomer(customerId, options)(fetch, basePath);
|
|
19631
|
+
},
|
|
19568
19632
|
/**
|
|
19569
19633
|
*
|
|
19570
19634
|
* @summary Generate avatar upload URL.
|
|
@@ -20066,6 +20130,17 @@ class UsersApi extends BaseAPI {
|
|
|
20066
20130
|
deleteAgentAvatar(options) {
|
|
20067
20131
|
return exports.UsersApiFp(this.configuration).deleteAgentAvatar(options)(this.fetch, this.basePath);
|
|
20068
20132
|
}
|
|
20133
|
+
/**
|
|
20134
|
+
*
|
|
20135
|
+
* @summary Anonymize customer profile
|
|
20136
|
+
* @param {string} customerId
|
|
20137
|
+
* @param {*} [options] Override http request option.
|
|
20138
|
+
* @throws {RequiredError}
|
|
20139
|
+
* @memberof UsersApi
|
|
20140
|
+
*/
|
|
20141
|
+
deleteCustomer(customerId, options) {
|
|
20142
|
+
return exports.UsersApiFp(this.configuration).deleteCustomer(customerId, options)(this.fetch, this.basePath);
|
|
20143
|
+
}
|
|
20069
20144
|
/**
|
|
20070
20145
|
*
|
|
20071
20146
|
* @summary Generate avatar upload URL.
|