@closerplatform/spinner-openapi 0.12.1219 → 0.12.1220
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 -116
- package/dist/api.js +0 -138
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -4925,56 +4925,6 @@ export interface OrgReasons {
|
|
|
4925
4925
|
*/
|
|
4926
4926
|
reasons?: Array<string>;
|
|
4927
4927
|
}
|
|
4928
|
-
/**
|
|
4929
|
-
*
|
|
4930
|
-
* @export
|
|
4931
|
-
* @interface OrgSkills
|
|
4932
|
-
*/
|
|
4933
|
-
export interface OrgSkills {
|
|
4934
|
-
/**
|
|
4935
|
-
*
|
|
4936
|
-
* @type {Array<string>}
|
|
4937
|
-
* @memberof OrgSkills
|
|
4938
|
-
*/
|
|
4939
|
-
skills?: Array<string>;
|
|
4940
|
-
}
|
|
4941
|
-
/**
|
|
4942
|
-
*
|
|
4943
|
-
* @export
|
|
4944
|
-
* @interface Organization
|
|
4945
|
-
*/
|
|
4946
|
-
export interface Organization {
|
|
4947
|
-
/**
|
|
4948
|
-
*
|
|
4949
|
-
* @type {string}
|
|
4950
|
-
* @memberof Organization
|
|
4951
|
-
*/
|
|
4952
|
-
id: string;
|
|
4953
|
-
/**
|
|
4954
|
-
*
|
|
4955
|
-
* @type {string}
|
|
4956
|
-
* @memberof Organization
|
|
4957
|
-
*/
|
|
4958
|
-
name: string;
|
|
4959
|
-
/**
|
|
4960
|
-
*
|
|
4961
|
-
* @type {string}
|
|
4962
|
-
* @memberof Organization
|
|
4963
|
-
*/
|
|
4964
|
-
color: string;
|
|
4965
|
-
/**
|
|
4966
|
-
*
|
|
4967
|
-
* @type {string}
|
|
4968
|
-
* @memberof Organization
|
|
4969
|
-
*/
|
|
4970
|
-
logoToken?: string;
|
|
4971
|
-
/**
|
|
4972
|
-
*
|
|
4973
|
-
* @type {string}
|
|
4974
|
-
* @memberof Organization
|
|
4975
|
-
*/
|
|
4976
|
-
coverToken?: string;
|
|
4977
|
-
}
|
|
4978
4928
|
/**
|
|
4979
4929
|
*
|
|
4980
4930
|
* @export
|
|
@@ -11478,14 +11428,6 @@ export declare const OrgsApiFetchParamCreator: (configuration?: Configuration) =
|
|
|
11478
11428
|
* @throws {RequiredError}
|
|
11479
11429
|
*/
|
|
11480
11430
|
getLimits(orgId: string, options?: any): FetchArgs;
|
|
11481
|
-
/**
|
|
11482
|
-
*
|
|
11483
|
-
* @summary Retrieve org data.
|
|
11484
|
-
* @param {string} id
|
|
11485
|
-
* @param {*} [options] Override http request option.
|
|
11486
|
-
* @throws {RequiredError}
|
|
11487
|
-
*/
|
|
11488
|
-
getOrg(id: string, options?: any): FetchArgs;
|
|
11489
11431
|
/**
|
|
11490
11432
|
*
|
|
11491
11433
|
* @summary Get org information
|
|
@@ -11501,14 +11443,6 @@ export declare const OrgsApiFetchParamCreator: (configuration?: Configuration) =
|
|
|
11501
11443
|
* @throws {RequiredError}
|
|
11502
11444
|
*/
|
|
11503
11445
|
getOrgReasons(id: string, options?: any): FetchArgs;
|
|
11504
|
-
/**
|
|
11505
|
-
*
|
|
11506
|
-
* @summary Retrieve skills in org.
|
|
11507
|
-
* @param {string} id
|
|
11508
|
-
* @param {*} [options] Override http request option.
|
|
11509
|
-
* @throws {RequiredError}
|
|
11510
|
-
*/
|
|
11511
|
-
getOrgSkills(id: string, options?: any): FetchArgs;
|
|
11512
11446
|
/**
|
|
11513
11447
|
*
|
|
11514
11448
|
* @summary Check if token is valid
|
|
@@ -11647,14 +11581,6 @@ export declare const OrgsApiFp: (configuration?: Configuration) => {
|
|
|
11647
11581
|
* @throws {RequiredError}
|
|
11648
11582
|
*/
|
|
11649
11583
|
getLimits(orgId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<OrganizationLimits>;
|
|
11650
|
-
/**
|
|
11651
|
-
*
|
|
11652
|
-
* @summary Retrieve org data.
|
|
11653
|
-
* @param {string} id
|
|
11654
|
-
* @param {*} [options] Override http request option.
|
|
11655
|
-
* @throws {RequiredError}
|
|
11656
|
-
*/
|
|
11657
|
-
getOrg(id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Organization>;
|
|
11658
11584
|
/**
|
|
11659
11585
|
*
|
|
11660
11586
|
* @summary Get org information
|
|
@@ -11670,14 +11596,6 @@ export declare const OrgsApiFp: (configuration?: Configuration) => {
|
|
|
11670
11596
|
* @throws {RequiredError}
|
|
11671
11597
|
*/
|
|
11672
11598
|
getOrgReasons(id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<OrgReasons>;
|
|
11673
|
-
/**
|
|
11674
|
-
*
|
|
11675
|
-
* @summary Retrieve skills in org.
|
|
11676
|
-
* @param {string} id
|
|
11677
|
-
* @param {*} [options] Override http request option.
|
|
11678
|
-
* @throws {RequiredError}
|
|
11679
|
-
*/
|
|
11680
|
-
getOrgSkills(id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<OrgSkills>;
|
|
11681
11599
|
/**
|
|
11682
11600
|
*
|
|
11683
11601
|
* @summary Check if token is valid
|
|
@@ -11816,14 +11734,6 @@ export declare const OrgsApiFactory: (configuration?: Configuration, fetch?: Fet
|
|
|
11816
11734
|
* @throws {RequiredError}
|
|
11817
11735
|
*/
|
|
11818
11736
|
getLimits(orgId: string, options?: any): Promise<OrganizationLimits>;
|
|
11819
|
-
/**
|
|
11820
|
-
*
|
|
11821
|
-
* @summary Retrieve org data.
|
|
11822
|
-
* @param {string} id
|
|
11823
|
-
* @param {*} [options] Override http request option.
|
|
11824
|
-
* @throws {RequiredError}
|
|
11825
|
-
*/
|
|
11826
|
-
getOrg(id: string, options?: any): Promise<Organization>;
|
|
11827
11737
|
/**
|
|
11828
11738
|
*
|
|
11829
11739
|
* @summary Get org information
|
|
@@ -11839,14 +11749,6 @@ export declare const OrgsApiFactory: (configuration?: Configuration, fetch?: Fet
|
|
|
11839
11749
|
* @throws {RequiredError}
|
|
11840
11750
|
*/
|
|
11841
11751
|
getOrgReasons(id: string, options?: any): Promise<OrgReasons>;
|
|
11842
|
-
/**
|
|
11843
|
-
*
|
|
11844
|
-
* @summary Retrieve skills in org.
|
|
11845
|
-
* @param {string} id
|
|
11846
|
-
* @param {*} [options] Override http request option.
|
|
11847
|
-
* @throws {RequiredError}
|
|
11848
|
-
*/
|
|
11849
|
-
getOrgSkills(id: string, options?: any): Promise<OrgSkills>;
|
|
11850
11752
|
/**
|
|
11851
11753
|
*
|
|
11852
11754
|
* @summary Check if token is valid
|
|
@@ -11998,15 +11900,6 @@ export declare class OrgsApi extends BaseAPI {
|
|
|
11998
11900
|
* @memberof OrgsApi
|
|
11999
11901
|
*/
|
|
12000
11902
|
getLimits(orgId: string, options?: any): Promise<OrganizationLimits>;
|
|
12001
|
-
/**
|
|
12002
|
-
*
|
|
12003
|
-
* @summary Retrieve org data.
|
|
12004
|
-
* @param {string} id
|
|
12005
|
-
* @param {*} [options] Override http request option.
|
|
12006
|
-
* @throws {RequiredError}
|
|
12007
|
-
* @memberof OrgsApi
|
|
12008
|
-
*/
|
|
12009
|
-
getOrg(id: string, options?: any): Promise<Organization>;
|
|
12010
11903
|
/**
|
|
12011
11904
|
*
|
|
12012
11905
|
* @summary Get org information
|
|
@@ -12024,15 +11917,6 @@ export declare class OrgsApi extends BaseAPI {
|
|
|
12024
11917
|
* @memberof OrgsApi
|
|
12025
11918
|
*/
|
|
12026
11919
|
getOrgReasons(id: string, options?: any): Promise<OrgReasons>;
|
|
12027
|
-
/**
|
|
12028
|
-
*
|
|
12029
|
-
* @summary Retrieve skills in org.
|
|
12030
|
-
* @param {string} id
|
|
12031
|
-
* @param {*} [options] Override http request option.
|
|
12032
|
-
* @throws {RequiredError}
|
|
12033
|
-
* @memberof OrgsApi
|
|
12034
|
-
*/
|
|
12035
|
-
getOrgSkills(id: string, options?: any): Promise<OrgSkills>;
|
|
12036
11920
|
/**
|
|
12037
11921
|
*
|
|
12038
11922
|
* @summary Check if token is valid
|
package/dist/api.js
CHANGED
|
@@ -9424,34 +9424,6 @@ const OrgsApiFetchParamCreator = function (configuration) {
|
|
|
9424
9424
|
options: localVarRequestOptions,
|
|
9425
9425
|
};
|
|
9426
9426
|
},
|
|
9427
|
-
/**
|
|
9428
|
-
*
|
|
9429
|
-
* @summary Retrieve org data.
|
|
9430
|
-
* @param {string} id
|
|
9431
|
-
* @param {*} [options] Override http request option.
|
|
9432
|
-
* @throws {RequiredError}
|
|
9433
|
-
*/
|
|
9434
|
-
getOrg(id, options = {}) {
|
|
9435
|
-
// verify required parameter 'id' is not null or undefined
|
|
9436
|
-
if (id === null || id === undefined) {
|
|
9437
|
-
throw new RequiredError('id', 'Required parameter id was null or undefined when calling getOrg.');
|
|
9438
|
-
}
|
|
9439
|
-
const localVarPath = `/orgs/{id}`
|
|
9440
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
9441
|
-
const localVarUrlObj = url.parse(localVarPath, true);
|
|
9442
|
-
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
9443
|
-
const localVarHeaderParameter = {};
|
|
9444
|
-
const localVarQueryParameter = {};
|
|
9445
|
-
// authentication bearerAuth required
|
|
9446
|
-
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
9447
|
-
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
9448
|
-
delete localVarUrlObj.search;
|
|
9449
|
-
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
9450
|
-
return {
|
|
9451
|
-
url: url.format(localVarUrlObj),
|
|
9452
|
-
options: localVarRequestOptions,
|
|
9453
|
-
};
|
|
9454
|
-
},
|
|
9455
9427
|
/**
|
|
9456
9428
|
*
|
|
9457
9429
|
* @summary Get org information
|
|
@@ -9502,34 +9474,6 @@ const OrgsApiFetchParamCreator = function (configuration) {
|
|
|
9502
9474
|
options: localVarRequestOptions,
|
|
9503
9475
|
};
|
|
9504
9476
|
},
|
|
9505
|
-
/**
|
|
9506
|
-
*
|
|
9507
|
-
* @summary Retrieve skills in org.
|
|
9508
|
-
* @param {string} id
|
|
9509
|
-
* @param {*} [options] Override http request option.
|
|
9510
|
-
* @throws {RequiredError}
|
|
9511
|
-
*/
|
|
9512
|
-
getOrgSkills(id, options = {}) {
|
|
9513
|
-
// verify required parameter 'id' is not null or undefined
|
|
9514
|
-
if (id === null || id === undefined) {
|
|
9515
|
-
throw new RequiredError('id', 'Required parameter id was null or undefined when calling getOrgSkills.');
|
|
9516
|
-
}
|
|
9517
|
-
const localVarPath = `/orgs/{id}/skills`
|
|
9518
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
9519
|
-
const localVarUrlObj = url.parse(localVarPath, true);
|
|
9520
|
-
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
9521
|
-
const localVarHeaderParameter = {};
|
|
9522
|
-
const localVarQueryParameter = {};
|
|
9523
|
-
// authentication bearerAuth required
|
|
9524
|
-
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
9525
|
-
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
9526
|
-
delete localVarUrlObj.search;
|
|
9527
|
-
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
9528
|
-
return {
|
|
9529
|
-
url: url.format(localVarUrlObj),
|
|
9530
|
-
options: localVarRequestOptions,
|
|
9531
|
-
};
|
|
9532
|
-
},
|
|
9533
9477
|
/**
|
|
9534
9478
|
*
|
|
9535
9479
|
* @summary Check if token is valid
|
|
@@ -9918,26 +9862,6 @@ const OrgsApiFp = function (configuration) {
|
|
|
9918
9862
|
});
|
|
9919
9863
|
};
|
|
9920
9864
|
},
|
|
9921
|
-
/**
|
|
9922
|
-
*
|
|
9923
|
-
* @summary Retrieve org data.
|
|
9924
|
-
* @param {string} id
|
|
9925
|
-
* @param {*} [options] Override http request option.
|
|
9926
|
-
* @throws {RequiredError}
|
|
9927
|
-
*/
|
|
9928
|
-
getOrg(id, options) {
|
|
9929
|
-
const localVarFetchArgs = (0, exports.OrgsApiFetchParamCreator)(configuration).getOrg(id, options);
|
|
9930
|
-
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
9931
|
-
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
9932
|
-
if (response.status >= 200 && response.status < 300) {
|
|
9933
|
-
return response.json();
|
|
9934
|
-
}
|
|
9935
|
-
else {
|
|
9936
|
-
throw response;
|
|
9937
|
-
}
|
|
9938
|
-
});
|
|
9939
|
-
};
|
|
9940
|
-
},
|
|
9941
9865
|
/**
|
|
9942
9866
|
*
|
|
9943
9867
|
* @summary Get org information
|
|
@@ -9977,26 +9901,6 @@ const OrgsApiFp = function (configuration) {
|
|
|
9977
9901
|
});
|
|
9978
9902
|
};
|
|
9979
9903
|
},
|
|
9980
|
-
/**
|
|
9981
|
-
*
|
|
9982
|
-
* @summary Retrieve skills in org.
|
|
9983
|
-
* @param {string} id
|
|
9984
|
-
* @param {*} [options] Override http request option.
|
|
9985
|
-
* @throws {RequiredError}
|
|
9986
|
-
*/
|
|
9987
|
-
getOrgSkills(id, options) {
|
|
9988
|
-
const localVarFetchArgs = (0, exports.OrgsApiFetchParamCreator)(configuration).getOrgSkills(id, options);
|
|
9989
|
-
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
9990
|
-
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
9991
|
-
if (response.status >= 200 && response.status < 300) {
|
|
9992
|
-
return response.json();
|
|
9993
|
-
}
|
|
9994
|
-
else {
|
|
9995
|
-
throw response;
|
|
9996
|
-
}
|
|
9997
|
-
});
|
|
9998
|
-
};
|
|
9999
|
-
},
|
|
10000
9904
|
/**
|
|
10001
9905
|
*
|
|
10002
9906
|
* @summary Check if token is valid
|
|
@@ -10220,16 +10124,6 @@ const OrgsApiFactory = function (configuration, fetch, basePath) {
|
|
|
10220
10124
|
getLimits(orgId, options) {
|
|
10221
10125
|
return (0, exports.OrgsApiFp)(configuration).getLimits(orgId, options)(fetch, basePath);
|
|
10222
10126
|
},
|
|
10223
|
-
/**
|
|
10224
|
-
*
|
|
10225
|
-
* @summary Retrieve org data.
|
|
10226
|
-
* @param {string} id
|
|
10227
|
-
* @param {*} [options] Override http request option.
|
|
10228
|
-
* @throws {RequiredError}
|
|
10229
|
-
*/
|
|
10230
|
-
getOrg(id, options) {
|
|
10231
|
-
return (0, exports.OrgsApiFp)(configuration).getOrg(id, options)(fetch, basePath);
|
|
10232
|
-
},
|
|
10233
10127
|
/**
|
|
10234
10128
|
*
|
|
10235
10129
|
* @summary Get org information
|
|
@@ -10249,16 +10143,6 @@ const OrgsApiFactory = function (configuration, fetch, basePath) {
|
|
|
10249
10143
|
getOrgReasons(id, options) {
|
|
10250
10144
|
return (0, exports.OrgsApiFp)(configuration).getOrgReasons(id, options)(fetch, basePath);
|
|
10251
10145
|
},
|
|
10252
|
-
/**
|
|
10253
|
-
*
|
|
10254
|
-
* @summary Retrieve skills in org.
|
|
10255
|
-
* @param {string} id
|
|
10256
|
-
* @param {*} [options] Override http request option.
|
|
10257
|
-
* @throws {RequiredError}
|
|
10258
|
-
*/
|
|
10259
|
-
getOrgSkills(id, options) {
|
|
10260
|
-
return (0, exports.OrgsApiFp)(configuration).getOrgSkills(id, options)(fetch, basePath);
|
|
10261
|
-
},
|
|
10262
10146
|
/**
|
|
10263
10147
|
*
|
|
10264
10148
|
* @summary Check if token is valid
|
|
@@ -10444,17 +10328,6 @@ class OrgsApi extends BaseAPI {
|
|
|
10444
10328
|
getLimits(orgId, options) {
|
|
10445
10329
|
return (0, exports.OrgsApiFp)(this.configuration).getLimits(orgId, options)(this.fetch, this.basePath);
|
|
10446
10330
|
}
|
|
10447
|
-
/**
|
|
10448
|
-
*
|
|
10449
|
-
* @summary Retrieve org data.
|
|
10450
|
-
* @param {string} id
|
|
10451
|
-
* @param {*} [options] Override http request option.
|
|
10452
|
-
* @throws {RequiredError}
|
|
10453
|
-
* @memberof OrgsApi
|
|
10454
|
-
*/
|
|
10455
|
-
getOrg(id, options) {
|
|
10456
|
-
return (0, exports.OrgsApiFp)(this.configuration).getOrg(id, options)(this.fetch, this.basePath);
|
|
10457
|
-
}
|
|
10458
10331
|
/**
|
|
10459
10332
|
*
|
|
10460
10333
|
* @summary Get org information
|
|
@@ -10476,17 +10349,6 @@ class OrgsApi extends BaseAPI {
|
|
|
10476
10349
|
getOrgReasons(id, options) {
|
|
10477
10350
|
return (0, exports.OrgsApiFp)(this.configuration).getOrgReasons(id, options)(this.fetch, this.basePath);
|
|
10478
10351
|
}
|
|
10479
|
-
/**
|
|
10480
|
-
*
|
|
10481
|
-
* @summary Retrieve skills in org.
|
|
10482
|
-
* @param {string} id
|
|
10483
|
-
* @param {*} [options] Override http request option.
|
|
10484
|
-
* @throws {RequiredError}
|
|
10485
|
-
* @memberof OrgsApi
|
|
10486
|
-
*/
|
|
10487
|
-
getOrgSkills(id, options) {
|
|
10488
|
-
return (0, exports.OrgsApiFp)(this.configuration).getOrgSkills(id, options)(this.fetch, this.basePath);
|
|
10489
|
-
}
|
|
10490
10352
|
/**
|
|
10491
10353
|
*
|
|
10492
10354
|
* @summary Check if token is valid
|