@closerplatform/spinner-openapi 0.12.1077 → 0.12.1079

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.
Files changed (3) hide show
  1. package/dist/api.d.ts +16 -24
  2. package/dist/api.js +32 -64
  3. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -15052,11 +15052,11 @@ export declare const UsersApiFetchParamCreator: (configuration?: Configuration)
15052
15052
  /**
15053
15053
  *
15054
15054
  * @summary Anonymize customer profile
15055
- * @param {string} customerId
15055
+ * @param {string} id
15056
15056
  * @param {*} [options] Override http request option.
15057
15057
  * @throws {RequiredError}
15058
15058
  */
15059
- deleteCustomer(customerId: string, options?: any): FetchArgs;
15059
+ deleteCustomer(id: string, options?: any): FetchArgs;
15060
15060
  /**
15061
15061
  *
15062
15062
  * @summary Get agent preferences
@@ -15112,11 +15112,10 @@ export declare const UsersApiFetchParamCreator: (configuration?: Configuration)
15112
15112
  /**
15113
15113
  *
15114
15114
  * @summary Get adviser assigned to guest room
15115
- * @param {string} id
15116
15115
  * @param {*} [options] Override http request option.
15117
15116
  * @throws {RequiredError}
15118
15117
  */
15119
- getGuestAssignee(id: string, options?: any): FetchArgs;
15118
+ getGuestAssignee(options?: any): FetchArgs;
15120
15119
  /**
15121
15120
  *
15122
15121
  * @summary Get guest profile.
@@ -15207,11 +15206,10 @@ export declare const UsersApiFetchParamCreator: (configuration?: Configuration)
15207
15206
  /**
15208
15207
  *
15209
15208
  * @summary Reinit customer
15210
- * @param {string} customerId
15211
15209
  * @param {*} [options] Override http request option.
15212
15210
  * @throws {RequiredError}
15213
15211
  */
15214
- reinitCustomer(customerId: string, options?: any): FetchArgs;
15212
+ reinitCustomer(options?: any): FetchArgs;
15215
15213
  /**
15216
15214
  *
15217
15215
  * @summary Restore deactivated adviser account
@@ -15387,11 +15385,11 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
15387
15385
  /**
15388
15386
  *
15389
15387
  * @summary Anonymize customer profile
15390
- * @param {string} customerId
15388
+ * @param {string} id
15391
15389
  * @param {*} [options] Override http request option.
15392
15390
  * @throws {RequiredError}
15393
15391
  */
15394
- deleteCustomer(customerId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
15392
+ deleteCustomer(id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
15395
15393
  /**
15396
15394
  *
15397
15395
  * @summary Get agent preferences
@@ -15447,11 +15445,10 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
15447
15445
  /**
15448
15446
  *
15449
15447
  * @summary Get adviser assigned to guest room
15450
- * @param {string} id
15451
15448
  * @param {*} [options] Override http request option.
15452
15449
  * @throws {RequiredError}
15453
15450
  */
15454
- getGuestAssignee(id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<GuestAssignee>;
15451
+ getGuestAssignee(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<GuestAssignee>;
15455
15452
  /**
15456
15453
  *
15457
15454
  * @summary Get guest profile.
@@ -15542,11 +15539,10 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
15542
15539
  /**
15543
15540
  *
15544
15541
  * @summary Reinit customer
15545
- * @param {string} customerId
15546
15542
  * @param {*} [options] Override http request option.
15547
15543
  * @throws {RequiredError}
15548
15544
  */
15549
- reinitCustomer(customerId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
15545
+ reinitCustomer(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
15550
15546
  /**
15551
15547
  *
15552
15548
  * @summary Restore deactivated adviser account
@@ -15722,11 +15718,11 @@ export declare const UsersApiFactory: (configuration?: Configuration, fetch?: Fe
15722
15718
  /**
15723
15719
  *
15724
15720
  * @summary Anonymize customer profile
15725
- * @param {string} customerId
15721
+ * @param {string} id
15726
15722
  * @param {*} [options] Override http request option.
15727
15723
  * @throws {RequiredError}
15728
15724
  */
15729
- deleteCustomer(customerId: string, options?: any): Promise<Response>;
15725
+ deleteCustomer(id: string, options?: any): Promise<Response>;
15730
15726
  /**
15731
15727
  *
15732
15728
  * @summary Get agent preferences
@@ -15782,11 +15778,10 @@ export declare const UsersApiFactory: (configuration?: Configuration, fetch?: Fe
15782
15778
  /**
15783
15779
  *
15784
15780
  * @summary Get adviser assigned to guest room
15785
- * @param {string} id
15786
15781
  * @param {*} [options] Override http request option.
15787
15782
  * @throws {RequiredError}
15788
15783
  */
15789
- getGuestAssignee(id: string, options?: any): Promise<GuestAssignee>;
15784
+ getGuestAssignee(options?: any): Promise<GuestAssignee>;
15790
15785
  /**
15791
15786
  *
15792
15787
  * @summary Get guest profile.
@@ -15877,11 +15872,10 @@ export declare const UsersApiFactory: (configuration?: Configuration, fetch?: Fe
15877
15872
  /**
15878
15873
  *
15879
15874
  * @summary Reinit customer
15880
- * @param {string} customerId
15881
15875
  * @param {*} [options] Override http request option.
15882
15876
  * @throws {RequiredError}
15883
15877
  */
15884
- reinitCustomer(customerId: string, options?: any): Promise<Response>;
15878
+ reinitCustomer(options?: any): Promise<Response>;
15885
15879
  /**
15886
15880
  *
15887
15881
  * @summary Restore deactivated adviser account
@@ -16067,12 +16061,12 @@ export declare class UsersApi extends BaseAPI {
16067
16061
  /**
16068
16062
  *
16069
16063
  * @summary Anonymize customer profile
16070
- * @param {string} customerId
16064
+ * @param {string} id
16071
16065
  * @param {*} [options] Override http request option.
16072
16066
  * @throws {RequiredError}
16073
16067
  * @memberof UsersApi
16074
16068
  */
16075
- deleteCustomer(customerId: string, options?: any): Promise<Response>;
16069
+ deleteCustomer(id: string, options?: any): Promise<Response>;
16076
16070
  /**
16077
16071
  *
16078
16072
  * @summary Get agent preferences
@@ -16135,12 +16129,11 @@ export declare class UsersApi extends BaseAPI {
16135
16129
  /**
16136
16130
  *
16137
16131
  * @summary Get adviser assigned to guest room
16138
- * @param {string} id
16139
16132
  * @param {*} [options] Override http request option.
16140
16133
  * @throws {RequiredError}
16141
16134
  * @memberof UsersApi
16142
16135
  */
16143
- getGuestAssignee(id: string, options?: any): Promise<GuestAssignee>;
16136
+ getGuestAssignee(options?: any): Promise<GuestAssignee>;
16144
16137
  /**
16145
16138
  *
16146
16139
  * @summary Get guest profile.
@@ -16242,12 +16235,11 @@ export declare class UsersApi extends BaseAPI {
16242
16235
  /**
16243
16236
  *
16244
16237
  * @summary Reinit customer
16245
- * @param {string} customerId
16246
16238
  * @param {*} [options] Override http request option.
16247
16239
  * @throws {RequiredError}
16248
16240
  * @memberof UsersApi
16249
16241
  */
16250
- reinitCustomer(customerId: string, options?: any): Promise<Response>;
16242
+ reinitCustomer(options?: any): Promise<Response>;
16251
16243
  /**
16252
16244
  *
16253
16245
  * @summary Restore deactivated adviser account
package/dist/api.js CHANGED
@@ -17079,17 +17079,17 @@ const UsersApiFetchParamCreator = function (configuration) {
17079
17079
  /**
17080
17080
  *
17081
17081
  * @summary Anonymize customer profile
17082
- * @param {string} customerId
17082
+ * @param {string} id
17083
17083
  * @param {*} [options] Override http request option.
17084
17084
  * @throws {RequiredError}
17085
17085
  */
17086
- deleteCustomer(customerId, options = {}) {
17087
- // verify required parameter 'customerId' is not null or undefined
17088
- if (customerId === null || customerId === undefined) {
17089
- throw new RequiredError('customerId', 'Required parameter customerId was null or undefined when calling deleteCustomer.');
17086
+ deleteCustomer(id, options = {}) {
17087
+ // verify required parameter 'id' is not null or undefined
17088
+ if (id === null || id === undefined) {
17089
+ throw new RequiredError('id', 'Required parameter id was null or undefined when calling deleteCustomer.');
17090
17090
  }
17091
- const localVarPath = `/users/guest/{customerId}`
17092
- .replace(`{${"customerId"}}`, encodeURIComponent(String(customerId)));
17091
+ const localVarPath = `/users/guest/{id}`
17092
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
17093
17093
  const localVarUrlObj = url.parse(localVarPath, true);
17094
17094
  const localVarRequestOptions = Object.assign({ method: 'DELETE' }, options);
17095
17095
  const localVarHeaderParameter = {};
@@ -17334,17 +17334,11 @@ const UsersApiFetchParamCreator = function (configuration) {
17334
17334
  /**
17335
17335
  *
17336
17336
  * @summary Get adviser assigned to guest room
17337
- * @param {string} id
17338
17337
  * @param {*} [options] Override http request option.
17339
17338
  * @throws {RequiredError}
17340
17339
  */
17341
- getGuestAssignee(id, options = {}) {
17342
- // verify required parameter 'id' is not null or undefined
17343
- if (id === null || id === undefined) {
17344
- throw new RequiredError('id', 'Required parameter id was null or undefined when calling getGuestAssignee.');
17345
- }
17346
- const localVarPath = `/users/guest/{id}/assignee`
17347
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
17340
+ getGuestAssignee(options = {}) {
17341
+ const localVarPath = `/users/guest/assignee`;
17348
17342
  const localVarUrlObj = url.parse(localVarPath, true);
17349
17343
  const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
17350
17344
  const localVarHeaderParameter = {};
@@ -17397,13 +17391,6 @@ const UsersApiFetchParamCreator = function (configuration) {
17397
17391
  : configuration.apiKey;
17398
17392
  localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
17399
17393
  }
17400
- // authentication fingerprintAuth required
17401
- if (configuration && configuration.apiKey) {
17402
- const localVarApiKeyValue = typeof configuration.apiKey === 'function'
17403
- ? configuration.apiKey("X-Fingerprint")
17404
- : configuration.apiKey;
17405
- localVarHeaderParameter["X-Fingerprint"] = localVarApiKeyValue;
17406
- }
17407
17394
  localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
17408
17395
  // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
17409
17396
  delete localVarUrlObj.search;
@@ -17783,17 +17770,11 @@ const UsersApiFetchParamCreator = function (configuration) {
17783
17770
  /**
17784
17771
  *
17785
17772
  * @summary Reinit customer
17786
- * @param {string} customerId
17787
17773
  * @param {*} [options] Override http request option.
17788
17774
  * @throws {RequiredError}
17789
17775
  */
17790
- reinitCustomer(customerId, options = {}) {
17791
- // verify required parameter 'customerId' is not null or undefined
17792
- if (customerId === null || customerId === undefined) {
17793
- throw new RequiredError('customerId', 'Required parameter customerId was null or undefined when calling reinitCustomer.');
17794
- }
17795
- const localVarPath = `/users/guest/{customerId}/reinit`
17796
- .replace(`{${"customerId"}}`, encodeURIComponent(String(customerId)));
17776
+ reinitCustomer(options = {}) {
17777
+ const localVarPath = `/users/guest/reinit`;
17797
17778
  const localVarUrlObj = url.parse(localVarPath, true);
17798
17779
  const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
17799
17780
  const localVarHeaderParameter = {};
@@ -18137,13 +18118,6 @@ const UsersApiFetchParamCreator = function (configuration) {
18137
18118
  : configuration.apiKey;
18138
18119
  localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
18139
18120
  }
18140
- // authentication fingerprintAuth required
18141
- if (configuration && configuration.apiKey) {
18142
- const localVarApiKeyValue = typeof configuration.apiKey === 'function'
18143
- ? configuration.apiKey("X-Fingerprint")
18144
- : configuration.apiKey;
18145
- localVarHeaderParameter["X-Fingerprint"] = localVarApiKeyValue;
18146
- }
18147
18121
  localVarHeaderParameter['Content-Type'] = 'application/json';
18148
18122
  localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
18149
18123
  // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
@@ -18483,12 +18457,12 @@ const UsersApiFp = function (configuration) {
18483
18457
  /**
18484
18458
  *
18485
18459
  * @summary Anonymize customer profile
18486
- * @param {string} customerId
18460
+ * @param {string} id
18487
18461
  * @param {*} [options] Override http request option.
18488
18462
  * @throws {RequiredError}
18489
18463
  */
18490
- deleteCustomer(customerId, options) {
18491
- const localVarFetchArgs = (0, exports.UsersApiFetchParamCreator)(configuration).deleteCustomer(customerId, options);
18464
+ deleteCustomer(id, options) {
18465
+ const localVarFetchArgs = (0, exports.UsersApiFetchParamCreator)(configuration).deleteCustomer(id, options);
18492
18466
  return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
18493
18467
  return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
18494
18468
  if (response.status >= 200 && response.status < 300) {
@@ -18639,12 +18613,11 @@ const UsersApiFp = function (configuration) {
18639
18613
  /**
18640
18614
  *
18641
18615
  * @summary Get adviser assigned to guest room
18642
- * @param {string} id
18643
18616
  * @param {*} [options] Override http request option.
18644
18617
  * @throws {RequiredError}
18645
18618
  */
18646
- getGuestAssignee(id, options) {
18647
- const localVarFetchArgs = (0, exports.UsersApiFetchParamCreator)(configuration).getGuestAssignee(id, options);
18619
+ getGuestAssignee(options) {
18620
+ const localVarFetchArgs = (0, exports.UsersApiFetchParamCreator)(configuration).getGuestAssignee(options);
18648
18621
  return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
18649
18622
  return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
18650
18623
  if (response.status >= 200 && response.status < 300) {
@@ -18878,12 +18851,11 @@ const UsersApiFp = function (configuration) {
18878
18851
  /**
18879
18852
  *
18880
18853
  * @summary Reinit customer
18881
- * @param {string} customerId
18882
18854
  * @param {*} [options] Override http request option.
18883
18855
  * @throws {RequiredError}
18884
18856
  */
18885
- reinitCustomer(customerId, options) {
18886
- const localVarFetchArgs = (0, exports.UsersApiFetchParamCreator)(configuration).reinitCustomer(customerId, options);
18857
+ reinitCustomer(options) {
18858
+ const localVarFetchArgs = (0, exports.UsersApiFetchParamCreator)(configuration).reinitCustomer(options);
18887
18859
  return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
18888
18860
  return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
18889
18861
  if (response.status >= 200 && response.status < 300) {
@@ -19245,12 +19217,12 @@ const UsersApiFactory = function (configuration, fetch, basePath) {
19245
19217
  /**
19246
19218
  *
19247
19219
  * @summary Anonymize customer profile
19248
- * @param {string} customerId
19220
+ * @param {string} id
19249
19221
  * @param {*} [options] Override http request option.
19250
19222
  * @throws {RequiredError}
19251
19223
  */
19252
- deleteCustomer(customerId, options) {
19253
- return (0, exports.UsersApiFp)(configuration).deleteCustomer(customerId, options)(fetch, basePath);
19224
+ deleteCustomer(id, options) {
19225
+ return (0, exports.UsersApiFp)(configuration).deleteCustomer(id, options)(fetch, basePath);
19254
19226
  },
19255
19227
  /**
19256
19228
  *
@@ -19321,12 +19293,11 @@ const UsersApiFactory = function (configuration, fetch, basePath) {
19321
19293
  /**
19322
19294
  *
19323
19295
  * @summary Get adviser assigned to guest room
19324
- * @param {string} id
19325
19296
  * @param {*} [options] Override http request option.
19326
19297
  * @throws {RequiredError}
19327
19298
  */
19328
- getGuestAssignee(id, options) {
19329
- return (0, exports.UsersApiFp)(configuration).getGuestAssignee(id, options)(fetch, basePath);
19299
+ getGuestAssignee(options) {
19300
+ return (0, exports.UsersApiFp)(configuration).getGuestAssignee(options)(fetch, basePath);
19330
19301
  },
19331
19302
  /**
19332
19303
  *
@@ -19440,12 +19411,11 @@ const UsersApiFactory = function (configuration, fetch, basePath) {
19440
19411
  /**
19441
19412
  *
19442
19413
  * @summary Reinit customer
19443
- * @param {string} customerId
19444
19414
  * @param {*} [options] Override http request option.
19445
19415
  * @throws {RequiredError}
19446
19416
  */
19447
- reinitCustomer(customerId, options) {
19448
- return (0, exports.UsersApiFp)(configuration).reinitCustomer(customerId, options)(fetch, basePath);
19417
+ reinitCustomer(options) {
19418
+ return (0, exports.UsersApiFp)(configuration).reinitCustomer(options)(fetch, basePath);
19449
19419
  },
19450
19420
  /**
19451
19421
  *
@@ -19676,13 +19646,13 @@ class UsersApi extends BaseAPI {
19676
19646
  /**
19677
19647
  *
19678
19648
  * @summary Anonymize customer profile
19679
- * @param {string} customerId
19649
+ * @param {string} id
19680
19650
  * @param {*} [options] Override http request option.
19681
19651
  * @throws {RequiredError}
19682
19652
  * @memberof UsersApi
19683
19653
  */
19684
- deleteCustomer(customerId, options) {
19685
- return (0, exports.UsersApiFp)(this.configuration).deleteCustomer(customerId, options)(this.fetch, this.basePath);
19654
+ deleteCustomer(id, options) {
19655
+ return (0, exports.UsersApiFp)(this.configuration).deleteCustomer(id, options)(this.fetch, this.basePath);
19686
19656
  }
19687
19657
  /**
19688
19658
  *
@@ -19760,13 +19730,12 @@ class UsersApi extends BaseAPI {
19760
19730
  /**
19761
19731
  *
19762
19732
  * @summary Get adviser assigned to guest room
19763
- * @param {string} id
19764
19733
  * @param {*} [options] Override http request option.
19765
19734
  * @throws {RequiredError}
19766
19735
  * @memberof UsersApi
19767
19736
  */
19768
- getGuestAssignee(id, options) {
19769
- return (0, exports.UsersApiFp)(this.configuration).getGuestAssignee(id, options)(this.fetch, this.basePath);
19737
+ getGuestAssignee(options) {
19738
+ return (0, exports.UsersApiFp)(this.configuration).getGuestAssignee(options)(this.fetch, this.basePath);
19770
19739
  }
19771
19740
  /**
19772
19741
  *
@@ -19891,13 +19860,12 @@ class UsersApi extends BaseAPI {
19891
19860
  /**
19892
19861
  *
19893
19862
  * @summary Reinit customer
19894
- * @param {string} customerId
19895
19863
  * @param {*} [options] Override http request option.
19896
19864
  * @throws {RequiredError}
19897
19865
  * @memberof UsersApi
19898
19866
  */
19899
- reinitCustomer(customerId, options) {
19900
- return (0, exports.UsersApiFp)(this.configuration).reinitCustomer(customerId, options)(this.fetch, this.basePath);
19867
+ reinitCustomer(options) {
19868
+ return (0, exports.UsersApiFp)(this.configuration).reinitCustomer(options)(this.fetch, this.basePath);
19901
19869
  }
19902
19870
  /**
19903
19871
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@closerplatform/spinner-openapi",
3
- "version": "0.12.1077",
3
+ "version": "0.12.1079",
4
4
  "description": "swagger client for @closerplatform/spinner-openapi",
5
5
  "author": "Swagger Codegen Contributors",
6
6
  "keywords": [