@closerplatform/spinner-openapi 0.12.1154 → 0.12.1156
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 -56
- package/dist/api.js +0 -86
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -781,25 +781,6 @@ export interface Agents {
|
|
|
781
781
|
*/
|
|
782
782
|
agentsIds: Array<string>;
|
|
783
783
|
}
|
|
784
|
-
/**
|
|
785
|
-
*
|
|
786
|
-
* @export
|
|
787
|
-
* @interface AgreementForm
|
|
788
|
-
*/
|
|
789
|
-
export interface AgreementForm {
|
|
790
|
-
/**
|
|
791
|
-
*
|
|
792
|
-
* @type {boolean}
|
|
793
|
-
* @memberof AgreementForm
|
|
794
|
-
*/
|
|
795
|
-
agree: boolean;
|
|
796
|
-
/**
|
|
797
|
-
*
|
|
798
|
-
* @type {string}
|
|
799
|
-
* @memberof AgreementForm
|
|
800
|
-
*/
|
|
801
|
-
orgId: string;
|
|
802
|
-
}
|
|
803
784
|
/**
|
|
804
785
|
*
|
|
805
786
|
* @export
|
|
@@ -15102,15 +15083,6 @@ export declare const UsersApiFetchParamCreator: (configuration?: Configuration)
|
|
|
15102
15083
|
* @throws {RequiredError}
|
|
15103
15084
|
*/
|
|
15104
15085
|
setAgentProfile(body: AgentProfileForm, options?: any): FetchArgs;
|
|
15105
|
-
/**
|
|
15106
|
-
*
|
|
15107
|
-
* @summary Set agreement with timestamp
|
|
15108
|
-
* @param {AgreementForm} body
|
|
15109
|
-
* @param {string} id
|
|
15110
|
-
* @param {*} [options] Override http request option.
|
|
15111
|
-
* @throws {RequiredError}
|
|
15112
|
-
*/
|
|
15113
|
-
setAgreement(body: AgreementForm, id: string, options?: any): FetchArgs;
|
|
15114
15086
|
/**
|
|
15115
15087
|
*
|
|
15116
15088
|
* @summary Authorize guest with oauth login hint token
|
|
@@ -15428,15 +15400,6 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
15428
15400
|
* @throws {RequiredError}
|
|
15429
15401
|
*/
|
|
15430
15402
|
setAgentProfile(body: AgentProfileForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
|
|
15431
|
-
/**
|
|
15432
|
-
*
|
|
15433
|
-
* @summary Set agreement with timestamp
|
|
15434
|
-
* @param {AgreementForm} body
|
|
15435
|
-
* @param {string} id
|
|
15436
|
-
* @param {*} [options] Override http request option.
|
|
15437
|
-
* @throws {RequiredError}
|
|
15438
|
-
*/
|
|
15439
|
-
setAgreement(body: AgreementForm, id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
|
|
15440
15403
|
/**
|
|
15441
15404
|
*
|
|
15442
15405
|
* @summary Authorize guest with oauth login hint token
|
|
@@ -15754,15 +15717,6 @@ export declare const UsersApiFactory: (configuration?: Configuration, fetch?: Fe
|
|
|
15754
15717
|
* @throws {RequiredError}
|
|
15755
15718
|
*/
|
|
15756
15719
|
setAgentProfile(body: AgentProfileForm, options?: any): Promise<Response>;
|
|
15757
|
-
/**
|
|
15758
|
-
*
|
|
15759
|
-
* @summary Set agreement with timestamp
|
|
15760
|
-
* @param {AgreementForm} body
|
|
15761
|
-
* @param {string} id
|
|
15762
|
-
* @param {*} [options] Override http request option.
|
|
15763
|
-
* @throws {RequiredError}
|
|
15764
|
-
*/
|
|
15765
|
-
setAgreement(body: AgreementForm, id: string, options?: any): Promise<Response>;
|
|
15766
15720
|
/**
|
|
15767
15721
|
*
|
|
15768
15722
|
* @summary Authorize guest with oauth login hint token
|
|
@@ -16118,16 +16072,6 @@ export declare class UsersApi extends BaseAPI {
|
|
|
16118
16072
|
* @memberof UsersApi
|
|
16119
16073
|
*/
|
|
16120
16074
|
setAgentProfile(body: AgentProfileForm, options?: any): Promise<Response>;
|
|
16121
|
-
/**
|
|
16122
|
-
*
|
|
16123
|
-
* @summary Set agreement with timestamp
|
|
16124
|
-
* @param {AgreementForm} body
|
|
16125
|
-
* @param {string} id
|
|
16126
|
-
* @param {*} [options] Override http request option.
|
|
16127
|
-
* @throws {RequiredError}
|
|
16128
|
-
* @memberof UsersApi
|
|
16129
|
-
*/
|
|
16130
|
-
setAgreement(body: AgreementForm, id: string, options?: any): Promise<Response>;
|
|
16131
16075
|
/**
|
|
16132
16076
|
*
|
|
16133
16077
|
* @summary Authorize guest with oauth login hint token
|
package/dist/api.js
CHANGED
|
@@ -18173,48 +18173,6 @@ const UsersApiFetchParamCreator = function (configuration) {
|
|
|
18173
18173
|
options: localVarRequestOptions,
|
|
18174
18174
|
};
|
|
18175
18175
|
},
|
|
18176
|
-
/**
|
|
18177
|
-
*
|
|
18178
|
-
* @summary Set agreement with timestamp
|
|
18179
|
-
* @param {AgreementForm} body
|
|
18180
|
-
* @param {string} id
|
|
18181
|
-
* @param {*} [options] Override http request option.
|
|
18182
|
-
* @throws {RequiredError}
|
|
18183
|
-
*/
|
|
18184
|
-
setAgreement(body, id, options = {}) {
|
|
18185
|
-
// verify required parameter 'body' is not null or undefined
|
|
18186
|
-
if (body === null || body === undefined) {
|
|
18187
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling setAgreement.');
|
|
18188
|
-
}
|
|
18189
|
-
// verify required parameter 'id' is not null or undefined
|
|
18190
|
-
if (id === null || id === undefined) {
|
|
18191
|
-
throw new RequiredError('id', 'Required parameter id was null or undefined when calling setAgreement.');
|
|
18192
|
-
}
|
|
18193
|
-
const localVarPath = `/users/guest/{id}/agreement`
|
|
18194
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18195
|
-
const localVarUrlObj = url.parse(localVarPath, true);
|
|
18196
|
-
const localVarRequestOptions = Object.assign({ method: 'PUT' }, options);
|
|
18197
|
-
const localVarHeaderParameter = {};
|
|
18198
|
-
const localVarQueryParameter = {};
|
|
18199
|
-
// authentication apiKey required
|
|
18200
|
-
if (configuration && configuration.apiKey) {
|
|
18201
|
-
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
18202
|
-
? configuration.apiKey("X-Api-Key")
|
|
18203
|
-
: configuration.apiKey;
|
|
18204
|
-
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
18205
|
-
}
|
|
18206
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18207
|
-
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
18208
|
-
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
18209
|
-
delete localVarUrlObj.search;
|
|
18210
|
-
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
18211
|
-
const needsSerialization = ("AgreementForm" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
18212
|
-
localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
|
|
18213
|
-
return {
|
|
18214
|
-
url: url.format(localVarUrlObj),
|
|
18215
|
-
options: localVarRequestOptions,
|
|
18216
|
-
};
|
|
18217
|
-
},
|
|
18218
18176
|
/**
|
|
18219
18177
|
*
|
|
18220
18178
|
* @summary Authorize guest with oauth login hint token
|
|
@@ -19086,27 +19044,6 @@ const UsersApiFp = function (configuration) {
|
|
|
19086
19044
|
});
|
|
19087
19045
|
};
|
|
19088
19046
|
},
|
|
19089
|
-
/**
|
|
19090
|
-
*
|
|
19091
|
-
* @summary Set agreement with timestamp
|
|
19092
|
-
* @param {AgreementForm} body
|
|
19093
|
-
* @param {string} id
|
|
19094
|
-
* @param {*} [options] Override http request option.
|
|
19095
|
-
* @throws {RequiredError}
|
|
19096
|
-
*/
|
|
19097
|
-
setAgreement(body, id, options) {
|
|
19098
|
-
const localVarFetchArgs = (0, exports.UsersApiFetchParamCreator)(configuration).setAgreement(body, id, options);
|
|
19099
|
-
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
19100
|
-
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
19101
|
-
if (response.status >= 200 && response.status < 300) {
|
|
19102
|
-
return response;
|
|
19103
|
-
}
|
|
19104
|
-
else {
|
|
19105
|
-
throw response;
|
|
19106
|
-
}
|
|
19107
|
-
});
|
|
19108
|
-
};
|
|
19109
|
-
},
|
|
19110
19047
|
/**
|
|
19111
19048
|
*
|
|
19112
19049
|
* @summary Authorize guest with oauth login hint token
|
|
@@ -19547,17 +19484,6 @@ const UsersApiFactory = function (configuration, fetch, basePath) {
|
|
|
19547
19484
|
setAgentProfile(body, options) {
|
|
19548
19485
|
return (0, exports.UsersApiFp)(configuration).setAgentProfile(body, options)(fetch, basePath);
|
|
19549
19486
|
},
|
|
19550
|
-
/**
|
|
19551
|
-
*
|
|
19552
|
-
* @summary Set agreement with timestamp
|
|
19553
|
-
* @param {AgreementForm} body
|
|
19554
|
-
* @param {string} id
|
|
19555
|
-
* @param {*} [options] Override http request option.
|
|
19556
|
-
* @throws {RequiredError}
|
|
19557
|
-
*/
|
|
19558
|
-
setAgreement(body, id, options) {
|
|
19559
|
-
return (0, exports.UsersApiFp)(configuration).setAgreement(body, id, options)(fetch, basePath);
|
|
19560
|
-
},
|
|
19561
19487
|
/**
|
|
19562
19488
|
*
|
|
19563
19489
|
* @summary Authorize guest with oauth login hint token
|
|
@@ -19995,18 +19921,6 @@ class UsersApi extends BaseAPI {
|
|
|
19995
19921
|
setAgentProfile(body, options) {
|
|
19996
19922
|
return (0, exports.UsersApiFp)(this.configuration).setAgentProfile(body, options)(this.fetch, this.basePath);
|
|
19997
19923
|
}
|
|
19998
|
-
/**
|
|
19999
|
-
*
|
|
20000
|
-
* @summary Set agreement with timestamp
|
|
20001
|
-
* @param {AgreementForm} body
|
|
20002
|
-
* @param {string} id
|
|
20003
|
-
* @param {*} [options] Override http request option.
|
|
20004
|
-
* @throws {RequiredError}
|
|
20005
|
-
* @memberof UsersApi
|
|
20006
|
-
*/
|
|
20007
|
-
setAgreement(body, id, options) {
|
|
20008
|
-
return (0, exports.UsersApiFp)(this.configuration).setAgreement(body, id, options)(this.fetch, this.basePath);
|
|
20009
|
-
}
|
|
20010
19924
|
/**
|
|
20011
19925
|
*
|
|
20012
19926
|
* @summary Authorize guest with oauth login hint token
|