@closerplatform/spinner-openapi 0.12.1031 → 0.12.1034

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
@@ -209,6 +209,12 @@ export interface AdviserBatchPatchForm {
209
209
  * @memberof AdviserBatchPatchForm
210
210
  */
211
211
  autoAssignedLimit?: number;
212
+ /**
213
+ *
214
+ * @type {number}
215
+ * @memberof AdviserBatchPatchForm
216
+ */
217
+ rating?: number;
212
218
  }
213
219
  /**
214
220
  *
@@ -265,6 +271,12 @@ export interface AdviserPatchForm {
265
271
  * @memberof AdviserPatchForm
266
272
  */
267
273
  autoAssignedLimit?: number;
274
+ /**
275
+ *
276
+ * @type {number}
277
+ * @memberof AdviserPatchForm
278
+ */
279
+ rating?: number;
268
280
  }
269
281
  /**
270
282
  *
@@ -3628,6 +3640,12 @@ export interface LimitedAgentProfile {
3628
3640
  * @memberof LimitedAgentProfile
3629
3641
  */
3630
3642
  isActive: boolean;
3643
+ /**
3644
+ *
3645
+ * @type {number}
3646
+ * @memberof LimitedAgentProfile
3647
+ */
3648
+ rating?: number;
3631
3649
  }
3632
3650
  /**
3633
3651
  *
@@ -11339,15 +11357,6 @@ export declare const OrgsApiFetchParamCreator: (configuration?: Configuration) =
11339
11357
  * @throws {RequiredError}
11340
11358
  */
11341
11359
  assignBillingPlan(body: OrgBillingPlan, id: string, options?: any): FetchArgs;
11342
- /**
11343
- *
11344
- * @summary Creates new call
11345
- * @param {string} X_Device_Id Device ID
11346
- * @param {string} id
11347
- * @param {*} [options] Override http request option.
11348
- * @throws {RequiredError}
11349
- */
11350
- callOrg(X_Device_Id: string, id: string, options?: any): FetchArgs;
11351
11360
  /**
11352
11361
  *
11353
11362
  * @summary Create free org and admin account
@@ -11526,15 +11535,6 @@ export declare const OrgsApiFp: (configuration?: Configuration) => {
11526
11535
  * @throws {RequiredError}
11527
11536
  */
11528
11537
  assignBillingPlan(body: OrgBillingPlan, id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
11529
- /**
11530
- *
11531
- * @summary Creates new call
11532
- * @param {string} X_Device_Id Device ID
11533
- * @param {string} id
11534
- * @param {*} [options] Override http request option.
11535
- * @throws {RequiredError}
11536
- */
11537
- callOrg(X_Device_Id: string, id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Call>;
11538
11538
  /**
11539
11539
  *
11540
11540
  * @summary Create free org and admin account
@@ -11713,15 +11713,6 @@ export declare const OrgsApiFactory: (configuration?: Configuration, fetch?: Fet
11713
11713
  * @throws {RequiredError}
11714
11714
  */
11715
11715
  assignBillingPlan(body: OrgBillingPlan, id: string, options?: any): Promise<Response>;
11716
- /**
11717
- *
11718
- * @summary Creates new call
11719
- * @param {string} X_Device_Id Device ID
11720
- * @param {string} id
11721
- * @param {*} [options] Override http request option.
11722
- * @throws {RequiredError}
11723
- */
11724
- callOrg(X_Device_Id: string, id: string, options?: any): Promise<Call>;
11725
11716
  /**
11726
11717
  *
11727
11718
  * @summary Create free org and admin account
@@ -11903,16 +11894,6 @@ export declare class OrgsApi extends BaseAPI {
11903
11894
  * @memberof OrgsApi
11904
11895
  */
11905
11896
  assignBillingPlan(body: OrgBillingPlan, id: string, options?: any): Promise<Response>;
11906
- /**
11907
- *
11908
- * @summary Creates new call
11909
- * @param {string} X_Device_Id Device ID
11910
- * @param {string} id
11911
- * @param {*} [options] Override http request option.
11912
- * @throws {RequiredError}
11913
- * @memberof OrgsApi
11914
- */
11915
- callOrg(X_Device_Id: string, id: string, options?: any): Promise<Call>;
11916
11897
  /**
11917
11898
  *
11918
11899
  * @summary Create free org and admin account
package/dist/api.js CHANGED
@@ -9381,48 +9381,6 @@ const OrgsApiFetchParamCreator = function (configuration) {
9381
9381
  options: localVarRequestOptions,
9382
9382
  };
9383
9383
  },
9384
- /**
9385
- *
9386
- * @summary Creates new call
9387
- * @param {string} X_Device_Id Device ID
9388
- * @param {string} id
9389
- * @param {*} [options] Override http request option.
9390
- * @throws {RequiredError}
9391
- */
9392
- callOrg(X_Device_Id, id, options = {}) {
9393
- // verify required parameter 'X_Device_Id' is not null or undefined
9394
- if (X_Device_Id === null || X_Device_Id === undefined) {
9395
- throw new RequiredError('X_Device_Id', 'Required parameter X_Device_Id was null or undefined when calling callOrg.');
9396
- }
9397
- // verify required parameter 'id' is not null or undefined
9398
- if (id === null || id === undefined) {
9399
- throw new RequiredError('id', 'Required parameter id was null or undefined when calling callOrg.');
9400
- }
9401
- const localVarPath = `/orgs/{id}/call`
9402
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
9403
- const localVarUrlObj = url.parse(localVarPath, true);
9404
- const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
9405
- const localVarHeaderParameter = {};
9406
- const localVarQueryParameter = {};
9407
- // authentication apiKey required
9408
- if (configuration && configuration.apiKey) {
9409
- const localVarApiKeyValue = typeof configuration.apiKey === 'function'
9410
- ? configuration.apiKey("X-Api-Key")
9411
- : configuration.apiKey;
9412
- localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
9413
- }
9414
- if (X_Device_Id !== undefined && X_Device_Id !== null) {
9415
- localVarHeaderParameter['X-Device-Id'] = String(X_Device_Id);
9416
- }
9417
- localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
9418
- // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
9419
- delete localVarUrlObj.search;
9420
- localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
9421
- return {
9422
- url: url.format(localVarUrlObj),
9423
- options: localVarRequestOptions,
9424
- };
9425
- },
9426
9384
  /**
9427
9385
  *
9428
9386
  * @summary Create free org and admin account
@@ -10137,27 +10095,6 @@ const OrgsApiFp = function (configuration) {
10137
10095
  });
10138
10096
  };
10139
10097
  },
10140
- /**
10141
- *
10142
- * @summary Creates new call
10143
- * @param {string} X_Device_Id Device ID
10144
- * @param {string} id
10145
- * @param {*} [options] Override http request option.
10146
- * @throws {RequiredError}
10147
- */
10148
- callOrg(X_Device_Id, id, options) {
10149
- const localVarFetchArgs = (0, exports.OrgsApiFetchParamCreator)(configuration).callOrg(X_Device_Id, id, options);
10150
- return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
10151
- return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
10152
- if (response.status >= 200 && response.status < 300) {
10153
- return response.json();
10154
- }
10155
- else {
10156
- throw response;
10157
- }
10158
- });
10159
- };
10160
- },
10161
10098
  /**
10162
10099
  *
10163
10100
  * @summary Create free org and admin account
@@ -10581,17 +10518,6 @@ const OrgsApiFactory = function (configuration, fetch, basePath) {
10581
10518
  assignBillingPlan(body, id, options) {
10582
10519
  return (0, exports.OrgsApiFp)(configuration).assignBillingPlan(body, id, options)(fetch, basePath);
10583
10520
  },
10584
- /**
10585
- *
10586
- * @summary Creates new call
10587
- * @param {string} X_Device_Id Device ID
10588
- * @param {string} id
10589
- * @param {*} [options] Override http request option.
10590
- * @throws {RequiredError}
10591
- */
10592
- callOrg(X_Device_Id, id, options) {
10593
- return (0, exports.OrgsApiFp)(configuration).callOrg(X_Device_Id, id, options)(fetch, basePath);
10594
- },
10595
10521
  /**
10596
10522
  *
10597
10523
  * @summary Create free org and admin account
@@ -10817,18 +10743,6 @@ class OrgsApi extends BaseAPI {
10817
10743
  assignBillingPlan(body, id, options) {
10818
10744
  return (0, exports.OrgsApiFp)(this.configuration).assignBillingPlan(body, id, options)(this.fetch, this.basePath);
10819
10745
  }
10820
- /**
10821
- *
10822
- * @summary Creates new call
10823
- * @param {string} X_Device_Id Device ID
10824
- * @param {string} id
10825
- * @param {*} [options] Override http request option.
10826
- * @throws {RequiredError}
10827
- * @memberof OrgsApi
10828
- */
10829
- callOrg(X_Device_Id, id, options) {
10830
- return (0, exports.OrgsApiFp)(this.configuration).callOrg(X_Device_Id, id, options)(this.fetch, this.basePath);
10831
- }
10832
10746
  /**
10833
10747
  *
10834
10748
  * @summary Create free org and admin account
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@closerplatform/spinner-openapi",
3
- "version": "0.12.1031",
3
+ "version": "0.12.1034",
4
4
  "description": "swagger client for @closerplatform/spinner-openapi",
5
5
  "author": "Swagger Codegen Contributors",
6
6
  "keywords": [