@closerplatform/spinner-openapi 0.12.1131 → 0.12.1132

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
@@ -798,7 +798,7 @@ export interface AgreementForm {
798
798
  * @type {string}
799
799
  * @memberof AgreementForm
800
800
  */
801
- orgId?: string;
801
+ orgId: string;
802
802
  }
803
803
  /**
804
804
  *
@@ -2324,6 +2324,12 @@ export interface GuestProfile {
2324
2324
  * @memberof GuestProfile
2325
2325
  */
2326
2326
  lastName?: string;
2327
+ /**
2328
+ *
2329
+ * @type {string}
2330
+ * @memberof GuestProfile
2331
+ */
2332
+ email?: string;
2327
2333
  /**
2328
2334
  *
2329
2335
  * @type {Phone}
@@ -2335,7 +2341,7 @@ export interface GuestProfile {
2335
2341
  * @type {string}
2336
2342
  * @memberof GuestProfile
2337
2343
  */
2338
- email?: string;
2344
+ randomName?: string;
2339
2345
  /**
2340
2346
  *
2341
2347
  * @type {string}
@@ -2347,43 +2353,43 @@ export interface GuestProfile {
2347
2353
  * @type {string}
2348
2354
  * @memberof GuestProfile
2349
2355
  */
2350
- randomName?: string;
2356
+ languageLocale: string;
2351
2357
  /**
2352
2358
  *
2353
2359
  * @type {string}
2354
2360
  * @memberof GuestProfile
2355
2361
  */
2356
- languageLocale?: string;
2362
+ zoneId: string;
2357
2363
  /**
2358
2364
  *
2359
- * @type {string}
2365
+ * @type {boolean}
2360
2366
  * @memberof GuestProfile
2361
2367
  */
2362
- zoneId?: string;
2368
+ isPushEnabled: boolean;
2363
2369
  /**
2364
2370
  *
2365
- * @type {string}
2371
+ * @type {Array<string>}
2366
2372
  * @memberof GuestProfile
2367
2373
  */
2368
- location?: string;
2374
+ tags: Array<string>;
2369
2375
  /**
2370
2376
  *
2371
- * @type {Array<string>}
2377
+ * @type {Array<BackOfficeField>}
2372
2378
  * @memberof GuestProfile
2373
2379
  */
2374
- tags: Array<string>;
2380
+ backOfficeData: Array<BackOfficeField>;
2375
2381
  /**
2376
2382
  *
2377
- * @type {number}
2383
+ * @type {string}
2378
2384
  * @memberof GuestProfile
2379
2385
  */
2380
- deletedAt?: number;
2386
+ location?: string;
2381
2387
  /**
2382
2388
  *
2383
- * @type {Array<BackOfficeField>}
2389
+ * @type {number}
2384
2390
  * @memberof GuestProfile
2385
2391
  */
2386
- backOfficeData?: Array<BackOfficeField>;
2392
+ deletedAt?: number;
2387
2393
  /**
2388
2394
  *
2389
2395
  * @type {string}
@@ -2396,12 +2402,18 @@ export interface GuestProfile {
2396
2402
  * @memberof GuestProfile
2397
2403
  */
2398
2404
  tagGroupId?: string;
2405
+ /**
2406
+ *
2407
+ * @type {string}
2408
+ * @memberof GuestProfile
2409
+ */
2410
+ externalId?: string;
2399
2411
  /**
2400
2412
  *
2401
2413
  * @type {Array<string>}
2402
2414
  * @memberof GuestProfile
2403
2415
  */
2404
- topics?: Array<string>;
2416
+ topics: Array<string>;
2405
2417
  /**
2406
2418
  *
2407
2419
  * @type {string}
@@ -12928,14 +12940,6 @@ export declare const RoomsApiFetchParamCreator: (configuration?: Configuration)
12928
12940
  * @throws {RequiredError}
12929
12941
  */
12930
12942
  addFollower(body: Follower, roomId: string, options?: any): FetchArgs;
12931
- /**
12932
- *
12933
- * @summary Assign conversation
12934
- * @param {string} roomId The ID of the room of the conversation.
12935
- * @param {*} [options] Override http request option.
12936
- * @throws {RequiredError}
12937
- */
12938
- assignConversation(roomId: string, options?: any): FetchArgs;
12939
12943
  /**
12940
12944
  *
12941
12945
  * @summary Auto assign conversation
@@ -13059,14 +13063,6 @@ export declare const RoomsApiFp: (configuration?: Configuration) => {
13059
13063
  * @throws {RequiredError}
13060
13064
  */
13061
13065
  addFollower(body: Follower, roomId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
13062
- /**
13063
- *
13064
- * @summary Assign conversation
13065
- * @param {string} roomId The ID of the room of the conversation.
13066
- * @param {*} [options] Override http request option.
13067
- * @throws {RequiredError}
13068
- */
13069
- assignConversation(roomId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
13070
13066
  /**
13071
13067
  *
13072
13068
  * @summary Auto assign conversation
@@ -13190,14 +13186,6 @@ export declare const RoomsApiFactory: (configuration?: Configuration, fetch?: Fe
13190
13186
  * @throws {RequiredError}
13191
13187
  */
13192
13188
  addFollower(body: Follower, roomId: string, options?: any): Promise<Response>;
13193
- /**
13194
- *
13195
- * @summary Assign conversation
13196
- * @param {string} roomId The ID of the room of the conversation.
13197
- * @param {*} [options] Override http request option.
13198
- * @throws {RequiredError}
13199
- */
13200
- assignConversation(roomId: string, options?: any): Promise<Response>;
13201
13189
  /**
13202
13190
  *
13203
13191
  * @summary Auto assign conversation
@@ -13324,15 +13312,6 @@ export declare class RoomsApi extends BaseAPI {
13324
13312
  * @memberof RoomsApi
13325
13313
  */
13326
13314
  addFollower(body: Follower, roomId: string, options?: any): Promise<Response>;
13327
- /**
13328
- *
13329
- * @summary Assign conversation
13330
- * @param {string} roomId The ID of the room of the conversation.
13331
- * @param {*} [options] Override http request option.
13332
- * @throws {RequiredError}
13333
- * @memberof RoomsApi
13334
- */
13335
- assignConversation(roomId: string, options?: any): Promise<Response>;
13336
13315
  /**
13337
13316
  *
13338
13317
  * @summary Auto assign conversation
package/dist/api.js CHANGED
@@ -12901,40 +12901,6 @@ const RoomsApiFetchParamCreator = function (configuration) {
12901
12901
  options: localVarRequestOptions,
12902
12902
  };
12903
12903
  },
12904
- /**
12905
- *
12906
- * @summary Assign conversation
12907
- * @param {string} roomId The ID of the room of the conversation.
12908
- * @param {*} [options] Override http request option.
12909
- * @throws {RequiredError}
12910
- */
12911
- assignConversation(roomId, options = {}) {
12912
- // verify required parameter 'roomId' is not null or undefined
12913
- if (roomId === null || roomId === undefined) {
12914
- throw new RequiredError('roomId', 'Required parameter roomId was null or undefined when calling assignConversation.');
12915
- }
12916
- const localVarPath = `/rooms/{roomId}/assign`
12917
- .replace(`{${"roomId"}}`, encodeURIComponent(String(roomId)));
12918
- const localVarUrlObj = url.parse(localVarPath, true);
12919
- const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
12920
- const localVarHeaderParameter = {};
12921
- const localVarQueryParameter = {};
12922
- // authentication apiKey required
12923
- if (configuration && configuration.apiKey) {
12924
- const localVarApiKeyValue = typeof configuration.apiKey === 'function'
12925
- ? configuration.apiKey("X-Api-Key")
12926
- : configuration.apiKey;
12927
- localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
12928
- }
12929
- localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
12930
- // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
12931
- delete localVarUrlObj.search;
12932
- localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
12933
- return {
12934
- url: url.format(localVarUrlObj),
12935
- options: localVarRequestOptions,
12936
- };
12937
- },
12938
12904
  /**
12939
12905
  *
12940
12906
  * @summary Auto assign conversation
@@ -13441,26 +13407,6 @@ const RoomsApiFp = function (configuration) {
13441
13407
  });
13442
13408
  };
13443
13409
  },
13444
- /**
13445
- *
13446
- * @summary Assign conversation
13447
- * @param {string} roomId The ID of the room of the conversation.
13448
- * @param {*} [options] Override http request option.
13449
- * @throws {RequiredError}
13450
- */
13451
- assignConversation(roomId, options) {
13452
- const localVarFetchArgs = (0, exports.RoomsApiFetchParamCreator)(configuration).assignConversation(roomId, options);
13453
- return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
13454
- return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
13455
- if (response.status >= 200 && response.status < 300) {
13456
- return response;
13457
- }
13458
- else {
13459
- throw response;
13460
- }
13461
- });
13462
- };
13463
- },
13464
13410
  /**
13465
13411
  *
13466
13412
  * @summary Auto assign conversation
@@ -13745,16 +13691,6 @@ const RoomsApiFactory = function (configuration, fetch, basePath) {
13745
13691
  addFollower(body, roomId, options) {
13746
13692
  return (0, exports.RoomsApiFp)(configuration).addFollower(body, roomId, options)(fetch, basePath);
13747
13693
  },
13748
- /**
13749
- *
13750
- * @summary Assign conversation
13751
- * @param {string} roomId The ID of the room of the conversation.
13752
- * @param {*} [options] Override http request option.
13753
- * @throws {RequiredError}
13754
- */
13755
- assignConversation(roomId, options) {
13756
- return (0, exports.RoomsApiFp)(configuration).assignConversation(roomId, options)(fetch, basePath);
13757
- },
13758
13694
  /**
13759
13695
  *
13760
13696
  * @summary Auto assign conversation
@@ -13911,17 +13847,6 @@ class RoomsApi extends BaseAPI {
13911
13847
  addFollower(body, roomId, options) {
13912
13848
  return (0, exports.RoomsApiFp)(this.configuration).addFollower(body, roomId, options)(this.fetch, this.basePath);
13913
13849
  }
13914
- /**
13915
- *
13916
- * @summary Assign conversation
13917
- * @param {string} roomId The ID of the room of the conversation.
13918
- * @param {*} [options] Override http request option.
13919
- * @throws {RequiredError}
13920
- * @memberof RoomsApi
13921
- */
13922
- assignConversation(roomId, options) {
13923
- return (0, exports.RoomsApiFp)(this.configuration).assignConversation(roomId, options)(this.fetch, this.basePath);
13924
- }
13925
13850
  /**
13926
13851
  *
13927
13852
  * @summary Auto assign conversation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@closerplatform/spinner-openapi",
3
- "version": "0.12.1131",
3
+ "version": "0.12.1132",
4
4
  "description": "swagger client for @closerplatform/spinner-openapi",
5
5
  "author": "Swagger Codegen Contributors",
6
6
  "keywords": [