@closerplatform/spinner-openapi 0.12.551 → 0.12.553

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 CHANGED
@@ -5930,19 +5930,6 @@ export interface SkillForm {
5930
5930
  */
5931
5931
  skill: string;
5932
5932
  }
5933
- /**
5934
- *
5935
- * @export
5936
- * @interface SkillsForm
5937
- */
5938
- export interface SkillsForm {
5939
- /**
5940
- *
5941
- * @type {Array<string>}
5942
- * @memberof SkillsForm
5943
- */
5944
- skills: Array<string>;
5945
- }
5946
5933
  /**
5947
5934
  *
5948
5935
  * @export
@@ -14750,15 +14737,6 @@ export declare const UsersApiFetchParamCreator: (configuration?: Configuration)
14750
14737
  * @throws {RequiredError}
14751
14738
  */
14752
14739
  setAgentProfile(body: AgentProfileForm, options?: any): FetchArgs;
14753
- /**
14754
- *
14755
- * @summary Set skills of agent with given id.
14756
- * @param {SkillsForm} body
14757
- * @param {string} id
14758
- * @param {*} [options] Override http request option.
14759
- * @throws {RequiredError}
14760
- */
14761
- setAgentSkills(body: SkillsForm, id: string, options?: any): FetchArgs;
14762
14740
  /**
14763
14741
  *
14764
14742
  * @summary Set agreement with timestamp
@@ -15158,15 +15136,6 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
15158
15136
  * @throws {RequiredError}
15159
15137
  */
15160
15138
  setAgentProfile(body: AgentProfileForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
15161
- /**
15162
- *
15163
- * @summary Set skills of agent with given id.
15164
- * @param {SkillsForm} body
15165
- * @param {string} id
15166
- * @param {*} [options] Override http request option.
15167
- * @throws {RequiredError}
15168
- */
15169
- setAgentSkills(body: SkillsForm, id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
15170
15139
  /**
15171
15140
  *
15172
15141
  * @summary Set agreement with timestamp
@@ -15566,15 +15535,6 @@ export declare const UsersApiFactory: (configuration?: Configuration, fetch?: Fe
15566
15535
  * @throws {RequiredError}
15567
15536
  */
15568
15537
  setAgentProfile(body: AgentProfileForm, options?: any): Promise<Response>;
15569
- /**
15570
- *
15571
- * @summary Set skills of agent with given id.
15572
- * @param {SkillsForm} body
15573
- * @param {string} id
15574
- * @param {*} [options] Override http request option.
15575
- * @throws {RequiredError}
15576
- */
15577
- setAgentSkills(body: SkillsForm, id: string, options?: any): Promise<Response>;
15578
15538
  /**
15579
15539
  *
15580
15540
  * @summary Set agreement with timestamp
@@ -16015,16 +15975,6 @@ export declare class UsersApi extends BaseAPI {
16015
15975
  * @memberof UsersApi
16016
15976
  */
16017
15977
  setAgentProfile(body: AgentProfileForm, options?: any): Promise<Response>;
16018
- /**
16019
- *
16020
- * @summary Set skills of agent with given id.
16021
- * @param {SkillsForm} body
16022
- * @param {string} id
16023
- * @param {*} [options] Override http request option.
16024
- * @throws {RequiredError}
16025
- * @memberof UsersApi
16026
- */
16027
- setAgentSkills(body: SkillsForm, id: string, options?: any): Promise<Response>;
16028
15978
  /**
16029
15979
  *
16030
15980
  * @summary Set agreement with timestamp
package/dist/api.js CHANGED
@@ -17600,48 +17600,6 @@ const UsersApiFetchParamCreator = function (configuration) {
17600
17600
  options: localVarRequestOptions,
17601
17601
  };
17602
17602
  },
17603
- /**
17604
- *
17605
- * @summary Set skills of agent with given id.
17606
- * @param {SkillsForm} body
17607
- * @param {string} id
17608
- * @param {*} [options] Override http request option.
17609
- * @throws {RequiredError}
17610
- */
17611
- setAgentSkills(body, id, options = {}) {
17612
- // verify required parameter 'body' is not null or undefined
17613
- if (body === null || body === undefined) {
17614
- throw new RequiredError('body', 'Required parameter body was null or undefined when calling setAgentSkills.');
17615
- }
17616
- // verify required parameter 'id' is not null or undefined
17617
- if (id === null || id === undefined) {
17618
- throw new RequiredError('id', 'Required parameter id was null or undefined when calling setAgentSkills.');
17619
- }
17620
- const localVarPath = `/users/agents/{id}/skills`
17621
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
17622
- const localVarUrlObj = url.parse(localVarPath, true);
17623
- const localVarRequestOptions = Object.assign({ method: 'PUT' }, options);
17624
- const localVarHeaderParameter = {};
17625
- const localVarQueryParameter = {};
17626
- // authentication apiKey required
17627
- if (configuration && configuration.apiKey) {
17628
- const localVarApiKeyValue = typeof configuration.apiKey === 'function'
17629
- ? configuration.apiKey("X-Api-Key")
17630
- : configuration.apiKey;
17631
- localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
17632
- }
17633
- localVarHeaderParameter['Content-Type'] = 'application/json';
17634
- localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
17635
- // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
17636
- delete localVarUrlObj.search;
17637
- localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
17638
- const needsSerialization = ("SkillsForm" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
17639
- localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
17640
- return {
17641
- url: url.format(localVarUrlObj),
17642
- options: localVarRequestOptions,
17643
- };
17644
- },
17645
17603
  /**
17646
17604
  *
17647
17605
  * @summary Set agreement with timestamp
@@ -18835,27 +18793,6 @@ const UsersApiFp = function (configuration) {
18835
18793
  });
18836
18794
  };
18837
18795
  },
18838
- /**
18839
- *
18840
- * @summary Set skills of agent with given id.
18841
- * @param {SkillsForm} body
18842
- * @param {string} id
18843
- * @param {*} [options] Override http request option.
18844
- * @throws {RequiredError}
18845
- */
18846
- setAgentSkills(body, id, options) {
18847
- const localVarFetchArgs = (0, exports.UsersApiFetchParamCreator)(configuration).setAgentSkills(body, id, options);
18848
- return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
18849
- return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
18850
- if (response.status >= 200 && response.status < 300) {
18851
- return response;
18852
- }
18853
- else {
18854
- throw response;
18855
- }
18856
- });
18857
- };
18858
- },
18859
18796
  /**
18860
18797
  *
18861
18798
  * @summary Set agreement with timestamp
@@ -19456,17 +19393,6 @@ const UsersApiFactory = function (configuration, fetch, basePath) {
19456
19393
  setAgentProfile(body, options) {
19457
19394
  return (0, exports.UsersApiFp)(configuration).setAgentProfile(body, options)(fetch, basePath);
19458
19395
  },
19459
- /**
19460
- *
19461
- * @summary Set skills of agent with given id.
19462
- * @param {SkillsForm} body
19463
- * @param {string} id
19464
- * @param {*} [options] Override http request option.
19465
- * @throws {RequiredError}
19466
- */
19467
- setAgentSkills(body, id, options) {
19468
- return (0, exports.UsersApiFp)(configuration).setAgentSkills(body, id, options)(fetch, basePath);
19469
- },
19470
19396
  /**
19471
19397
  *
19472
19398
  * @summary Set agreement with timestamp
@@ -20007,18 +19933,6 @@ class UsersApi extends BaseAPI {
20007
19933
  setAgentProfile(body, options) {
20008
19934
  return (0, exports.UsersApiFp)(this.configuration).setAgentProfile(body, options)(this.fetch, this.basePath);
20009
19935
  }
20010
- /**
20011
- *
20012
- * @summary Set skills of agent with given id.
20013
- * @param {SkillsForm} body
20014
- * @param {string} id
20015
- * @param {*} [options] Override http request option.
20016
- * @throws {RequiredError}
20017
- * @memberof UsersApi
20018
- */
20019
- setAgentSkills(body, id, options) {
20020
- return (0, exports.UsersApiFp)(this.configuration).setAgentSkills(body, id, options)(this.fetch, this.basePath);
20021
- }
20022
19936
  /**
20023
19937
  *
20024
19938
  * @summary Set agreement with timestamp
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@closerplatform/spinner-openapi",
3
- "version": "0.12.551",
3
+ "version": "0.12.553",
4
4
  "description": "swagger client for @closerplatform/spinner-openapi",
5
5
  "author": "Swagger Codegen Contributors",
6
6
  "keywords": [