@closerplatform/spinner-openapi 0.12.1082 → 0.12.1083
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 +0 -63
- package/dist/api.js +0 -79
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -2451,19 +2451,6 @@ export interface FreeOrgAdminForm {
|
|
|
2451
2451
|
*/
|
|
2452
2452
|
ipAddress?: string;
|
|
2453
2453
|
}
|
|
2454
|
-
/**
|
|
2455
|
-
*
|
|
2456
|
-
* @export
|
|
2457
|
-
* @interface FreeSlotsInfo
|
|
2458
|
-
*/
|
|
2459
|
-
export interface FreeSlotsInfo {
|
|
2460
|
-
/**
|
|
2461
|
-
*
|
|
2462
|
-
* @type {number}
|
|
2463
|
-
* @memberof FreeSlotsInfo
|
|
2464
|
-
*/
|
|
2465
|
-
sum: number;
|
|
2466
|
-
}
|
|
2467
2454
|
/**
|
|
2468
2455
|
*
|
|
2469
2456
|
* @export
|
|
@@ -5997,19 +5984,6 @@ export interface SignUpGuest {
|
|
|
5997
5984
|
*/
|
|
5998
5985
|
locale?: Locale;
|
|
5999
5986
|
}
|
|
6000
|
-
/**
|
|
6001
|
-
*
|
|
6002
|
-
* @export
|
|
6003
|
-
* @interface SkillForm
|
|
6004
|
-
*/
|
|
6005
|
-
export interface SkillForm {
|
|
6006
|
-
/**
|
|
6007
|
-
*
|
|
6008
|
-
* @type {string}
|
|
6009
|
-
* @memberof SkillForm
|
|
6010
|
-
*/
|
|
6011
|
-
skill: string;
|
|
6012
|
-
}
|
|
6013
5987
|
/**
|
|
6014
5988
|
*
|
|
6015
5989
|
* @export
|
|
@@ -11722,15 +11696,6 @@ export declare const OrgsApiFetchParamCreator: (configuration?: Configuration) =
|
|
|
11722
11696
|
* @throws {RequiredError}
|
|
11723
11697
|
*/
|
|
11724
11698
|
getCompanyBillingData(options?: any): FetchArgs;
|
|
11725
|
-
/**
|
|
11726
|
-
*
|
|
11727
|
-
* @summary Retrieve total number of free slots of agents with given skill, in given organization
|
|
11728
|
-
* @param {SkillForm} body
|
|
11729
|
-
* @param {string} orgId
|
|
11730
|
-
* @param {*} [options] Override http request option.
|
|
11731
|
-
* @throws {RequiredError}
|
|
11732
|
-
*/
|
|
11733
|
-
getFreeSlotsInfo(body: SkillForm, orgId: string, options?: any): FetchArgs;
|
|
11734
11699
|
/**
|
|
11735
11700
|
*
|
|
11736
11701
|
* @summary Retrieve data of all orgs
|
|
@@ -11900,15 +11865,6 @@ export declare const OrgsApiFp: (configuration?: Configuration) => {
|
|
|
11900
11865
|
* @throws {RequiredError}
|
|
11901
11866
|
*/
|
|
11902
11867
|
getCompanyBillingData(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<OrgBillingData>;
|
|
11903
|
-
/**
|
|
11904
|
-
*
|
|
11905
|
-
* @summary Retrieve total number of free slots of agents with given skill, in given organization
|
|
11906
|
-
* @param {SkillForm} body
|
|
11907
|
-
* @param {string} orgId
|
|
11908
|
-
* @param {*} [options] Override http request option.
|
|
11909
|
-
* @throws {RequiredError}
|
|
11910
|
-
*/
|
|
11911
|
-
getFreeSlotsInfo(body: SkillForm, orgId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<FreeSlotsInfo>;
|
|
11912
11868
|
/**
|
|
11913
11869
|
*
|
|
11914
11870
|
* @summary Retrieve data of all orgs
|
|
@@ -12078,15 +12034,6 @@ export declare const OrgsApiFactory: (configuration?: Configuration, fetch?: Fet
|
|
|
12078
12034
|
* @throws {RequiredError}
|
|
12079
12035
|
*/
|
|
12080
12036
|
getCompanyBillingData(options?: any): Promise<OrgBillingData>;
|
|
12081
|
-
/**
|
|
12082
|
-
*
|
|
12083
|
-
* @summary Retrieve total number of free slots of agents with given skill, in given organization
|
|
12084
|
-
* @param {SkillForm} body
|
|
12085
|
-
* @param {string} orgId
|
|
12086
|
-
* @param {*} [options] Override http request option.
|
|
12087
|
-
* @throws {RequiredError}
|
|
12088
|
-
*/
|
|
12089
|
-
getFreeSlotsInfo(body: SkillForm, orgId: string, options?: any): Promise<FreeSlotsInfo>;
|
|
12090
12037
|
/**
|
|
12091
12038
|
*
|
|
12092
12039
|
* @summary Retrieve data of all orgs
|
|
@@ -12268,16 +12215,6 @@ export declare class OrgsApi extends BaseAPI {
|
|
|
12268
12215
|
* @memberof OrgsApi
|
|
12269
12216
|
*/
|
|
12270
12217
|
getCompanyBillingData(options?: any): Promise<OrgBillingData>;
|
|
12271
|
-
/**
|
|
12272
|
-
*
|
|
12273
|
-
* @summary Retrieve total number of free slots of agents with given skill, in given organization
|
|
12274
|
-
* @param {SkillForm} body
|
|
12275
|
-
* @param {string} orgId
|
|
12276
|
-
* @param {*} [options] Override http request option.
|
|
12277
|
-
* @throws {RequiredError}
|
|
12278
|
-
* @memberof OrgsApi
|
|
12279
|
-
*/
|
|
12280
|
-
getFreeSlotsInfo(body: SkillForm, orgId: string, options?: any): Promise<FreeSlotsInfo>;
|
|
12281
12218
|
/**
|
|
12282
12219
|
*
|
|
12283
12220
|
* @summary Retrieve data of all orgs
|
package/dist/api.js
CHANGED
|
@@ -9921,41 +9921,6 @@ const OrgsApiFetchParamCreator = function (configuration) {
|
|
|
9921
9921
|
options: localVarRequestOptions,
|
|
9922
9922
|
};
|
|
9923
9923
|
},
|
|
9924
|
-
/**
|
|
9925
|
-
*
|
|
9926
|
-
* @summary Retrieve total number of free slots of agents with given skill, in given organization
|
|
9927
|
-
* @param {SkillForm} body
|
|
9928
|
-
* @param {string} orgId
|
|
9929
|
-
* @param {*} [options] Override http request option.
|
|
9930
|
-
* @throws {RequiredError}
|
|
9931
|
-
*/
|
|
9932
|
-
getFreeSlotsInfo(body, orgId, options = {}) {
|
|
9933
|
-
// verify required parameter 'body' is not null or undefined
|
|
9934
|
-
if (body === null || body === undefined) {
|
|
9935
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling getFreeSlotsInfo.');
|
|
9936
|
-
}
|
|
9937
|
-
// verify required parameter 'orgId' is not null or undefined
|
|
9938
|
-
if (orgId === null || orgId === undefined) {
|
|
9939
|
-
throw new RequiredError('orgId', 'Required parameter orgId was null or undefined when calling getFreeSlotsInfo.');
|
|
9940
|
-
}
|
|
9941
|
-
const localVarPath = `/orgs/{orgId}/freeSlots`
|
|
9942
|
-
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));
|
|
9943
|
-
const localVarUrlObj = url.parse(localVarPath, true);
|
|
9944
|
-
const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
|
|
9945
|
-
const localVarHeaderParameter = {};
|
|
9946
|
-
const localVarQueryParameter = {};
|
|
9947
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9948
|
-
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
9949
|
-
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
9950
|
-
delete localVarUrlObj.search;
|
|
9951
|
-
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
9952
|
-
const needsSerialization = ("SkillForm" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
9953
|
-
localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
|
|
9954
|
-
return {
|
|
9955
|
-
url: url.format(localVarUrlObj),
|
|
9956
|
-
options: localVarRequestOptions,
|
|
9957
|
-
};
|
|
9958
|
-
},
|
|
9959
9924
|
/**
|
|
9960
9925
|
*
|
|
9961
9926
|
* @summary Retrieve data of all orgs
|
|
@@ -10514,27 +10479,6 @@ const OrgsApiFp = function (configuration) {
|
|
|
10514
10479
|
});
|
|
10515
10480
|
};
|
|
10516
10481
|
},
|
|
10517
|
-
/**
|
|
10518
|
-
*
|
|
10519
|
-
* @summary Retrieve total number of free slots of agents with given skill, in given organization
|
|
10520
|
-
* @param {SkillForm} body
|
|
10521
|
-
* @param {string} orgId
|
|
10522
|
-
* @param {*} [options] Override http request option.
|
|
10523
|
-
* @throws {RequiredError}
|
|
10524
|
-
*/
|
|
10525
|
-
getFreeSlotsInfo(body, orgId, options) {
|
|
10526
|
-
const localVarFetchArgs = (0, exports.OrgsApiFetchParamCreator)(configuration).getFreeSlotsInfo(body, orgId, options);
|
|
10527
|
-
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
10528
|
-
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
10529
|
-
if (response.status >= 200 && response.status < 300) {
|
|
10530
|
-
return response.json();
|
|
10531
|
-
}
|
|
10532
|
-
else {
|
|
10533
|
-
throw response;
|
|
10534
|
-
}
|
|
10535
|
-
});
|
|
10536
|
-
};
|
|
10537
|
-
},
|
|
10538
10482
|
/**
|
|
10539
10483
|
*
|
|
10540
10484
|
* @summary Retrieve data of all orgs
|
|
@@ -10847,17 +10791,6 @@ const OrgsApiFactory = function (configuration, fetch, basePath) {
|
|
|
10847
10791
|
getCompanyBillingData(options) {
|
|
10848
10792
|
return (0, exports.OrgsApiFp)(configuration).getCompanyBillingData(options)(fetch, basePath);
|
|
10849
10793
|
},
|
|
10850
|
-
/**
|
|
10851
|
-
*
|
|
10852
|
-
* @summary Retrieve total number of free slots of agents with given skill, in given organization
|
|
10853
|
-
* @param {SkillForm} body
|
|
10854
|
-
* @param {string} orgId
|
|
10855
|
-
* @param {*} [options] Override http request option.
|
|
10856
|
-
* @throws {RequiredError}
|
|
10857
|
-
*/
|
|
10858
|
-
getFreeSlotsInfo(body, orgId, options) {
|
|
10859
|
-
return (0, exports.OrgsApiFp)(configuration).getFreeSlotsInfo(body, orgId, options)(fetch, basePath);
|
|
10860
|
-
},
|
|
10861
10794
|
/**
|
|
10862
10795
|
*
|
|
10863
10796
|
* @summary Retrieve data of all orgs
|
|
@@ -11081,18 +11014,6 @@ class OrgsApi extends BaseAPI {
|
|
|
11081
11014
|
getCompanyBillingData(options) {
|
|
11082
11015
|
return (0, exports.OrgsApiFp)(this.configuration).getCompanyBillingData(options)(this.fetch, this.basePath);
|
|
11083
11016
|
}
|
|
11084
|
-
/**
|
|
11085
|
-
*
|
|
11086
|
-
* @summary Retrieve total number of free slots of agents with given skill, in given organization
|
|
11087
|
-
* @param {SkillForm} body
|
|
11088
|
-
* @param {string} orgId
|
|
11089
|
-
* @param {*} [options] Override http request option.
|
|
11090
|
-
* @throws {RequiredError}
|
|
11091
|
-
* @memberof OrgsApi
|
|
11092
|
-
*/
|
|
11093
|
-
getFreeSlotsInfo(body, orgId, options) {
|
|
11094
|
-
return (0, exports.OrgsApiFp)(this.configuration).getFreeSlotsInfo(body, orgId, options)(this.fetch, this.basePath);
|
|
11095
|
-
}
|
|
11096
11017
|
/**
|
|
11097
11018
|
*
|
|
11098
11019
|
* @summary Retrieve data of all orgs
|