@closerplatform/spinner-openapi 0.12.1032 → 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
@@ -11357,15 +11357,6 @@ export declare const OrgsApiFetchParamCreator: (configuration?: Configuration) =
11357
11357
  * @throws {RequiredError}
11358
11358
  */
11359
11359
  assignBillingPlan(body: OrgBillingPlan, id: string, options?: any): FetchArgs;
11360
- /**
11361
- *
11362
- * @summary Creates new call
11363
- * @param {string} X_Device_Id Device ID
11364
- * @param {string} id
11365
- * @param {*} [options] Override http request option.
11366
- * @throws {RequiredError}
11367
- */
11368
- callOrg(X_Device_Id: string, id: string, options?: any): FetchArgs;
11369
11360
  /**
11370
11361
  *
11371
11362
  * @summary Create free org and admin account
@@ -11544,15 +11535,6 @@ export declare const OrgsApiFp: (configuration?: Configuration) => {
11544
11535
  * @throws {RequiredError}
11545
11536
  */
11546
11537
  assignBillingPlan(body: OrgBillingPlan, id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
11547
- /**
11548
- *
11549
- * @summary Creates new call
11550
- * @param {string} X_Device_Id Device ID
11551
- * @param {string} id
11552
- * @param {*} [options] Override http request option.
11553
- * @throws {RequiredError}
11554
- */
11555
- callOrg(X_Device_Id: string, id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Call>;
11556
11538
  /**
11557
11539
  *
11558
11540
  * @summary Create free org and admin account
@@ -11731,15 +11713,6 @@ export declare const OrgsApiFactory: (configuration?: Configuration, fetch?: Fet
11731
11713
  * @throws {RequiredError}
11732
11714
  */
11733
11715
  assignBillingPlan(body: OrgBillingPlan, id: string, options?: any): Promise<Response>;
11734
- /**
11735
- *
11736
- * @summary Creates new call
11737
- * @param {string} X_Device_Id Device ID
11738
- * @param {string} id
11739
- * @param {*} [options] Override http request option.
11740
- * @throws {RequiredError}
11741
- */
11742
- callOrg(X_Device_Id: string, id: string, options?: any): Promise<Call>;
11743
11716
  /**
11744
11717
  *
11745
11718
  * @summary Create free org and admin account
@@ -11921,16 +11894,6 @@ export declare class OrgsApi extends BaseAPI {
11921
11894
  * @memberof OrgsApi
11922
11895
  */
11923
11896
  assignBillingPlan(body: OrgBillingPlan, id: string, options?: any): Promise<Response>;
11924
- /**
11925
- *
11926
- * @summary Creates new call
11927
- * @param {string} X_Device_Id Device ID
11928
- * @param {string} id
11929
- * @param {*} [options] Override http request option.
11930
- * @throws {RequiredError}
11931
- * @memberof OrgsApi
11932
- */
11933
- callOrg(X_Device_Id: string, id: string, options?: any): Promise<Call>;
11934
11897
  /**
11935
11898
  *
11936
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.1032",
3
+ "version": "0.12.1034",
4
4
  "description": "swagger client for @closerplatform/spinner-openapi",
5
5
  "author": "Swagger Codegen Contributors",
6
6
  "keywords": [