@nexgencloud/hyperstack-sdk-typescript 1.55.7-alpha → 1.56.0-alpha

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.js CHANGED
@@ -26,7 +26,7 @@ exports.BucketsApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFac
26
26
  exports.FirewallsApiFactory = exports.FirewallsApiFp = exports.FirewallsApiAxiosParamCreator = exports.FirewallAttachmentApi = exports.FirewallAttachmentApiFactory = exports.FirewallAttachmentApiFp = exports.FirewallAttachmentApiAxiosParamCreator = exports.FIPExclusionsApi = exports.FIPExclusionsApiFactory = exports.FIPExclusionsApiFp = exports.FIPExclusionsApiAxiosParamCreator = exports.EnvironmentApi = exports.EnvironmentApiFactory = exports.EnvironmentApiFp = exports.EnvironmentApiAxiosParamCreator = exports.EmailOptInOutApi = exports.EmailOptInOutApiFactory = exports.EmailOptInOutApiFp = exports.EmailOptInOutApiAxiosParamCreator = exports.DashboardApi = exports.DashboardApiFactory = exports.DashboardApiFp = exports.DashboardApiAxiosParamCreator = exports.CustomerContractApi = exports.CustomerContractApiFactory = exports.CustomerContractApiFp = exports.CustomerContractApiAxiosParamCreator = exports.CreditApi = exports.CreditApiFactory = exports.CreditApiFp = exports.CreditApiAxiosParamCreator = exports.ClustersApi = exports.ClustersApiFactory = exports.ClustersApiFp = exports.ClustersApiAxiosParamCreator = exports.ClusterEventsApi = exports.ClusterEventsApiFactory = exports.ClusterEventsApiFp = exports.ClusterEventsApiAxiosParamCreator = exports.CallbacksApi = exports.CallbacksApiFactory = exports.CallbacksApiFp = exports.CallbacksApiAxiosParamCreator = exports.CalculateApi = exports.CalculateApiFactory = exports.CalculateApiFp = exports.CalculateApiAxiosParamCreator = exports.BucketsApi = exports.BucketsApiFactory = exports.BucketsApiFp = void 0;
27
27
  exports.PricebookApiAxiosParamCreator = exports.PolicyApi = exports.PolicyApiFactory = exports.PolicyApiFp = exports.PolicyApiAxiosParamCreator = exports.PermissionApi = exports.PermissionApiFactory = exports.PermissionApiFp = exports.PermissionApiAxiosParamCreator = exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.PartnerConfigApi = exports.PartnerConfigApiFactory = exports.PartnerConfigApiFp = exports.PartnerConfigApiAxiosParamCreator = exports.OrganizationApi = exports.OrganizationApiFactory = exports.OrganizationApiFp = exports.OrganizationApiAxiosParamCreator = exports.KeypairApi = exports.KeypairApiFactory = exports.KeypairApiFp = exports.KeypairApiAxiosParamCreator = exports.InviteApi = exports.InviteApiFactory = exports.InviteApiFp = exports.InviteApiAxiosParamCreator = exports.ImageApi = exports.ImageApiFactory = exports.ImageApiFp = exports.ImageApiAxiosParamCreator = exports.HealthApi = exports.HealthApiFactory = exports.HealthApiFp = exports.HealthApiAxiosParamCreator = exports.GpuApi = exports.GpuApiFactory = exports.GpuApiFp = exports.GpuApiAxiosParamCreator = exports.FloatingIpApi = exports.FloatingIpApiFactory = exports.FloatingIpApiFp = exports.FloatingIpApiAxiosParamCreator = exports.FlavorApi = exports.FlavorApiFactory = exports.FlavorApiFp = exports.FlavorApiAxiosParamCreator = exports.FirewallsApi = void 0;
28
28
  exports.UserDetailChoiceApiFactory = exports.UserDetailChoiceApiFp = exports.UserDetailChoiceApiAxiosParamCreator = exports.UserConsentEventsApi = exports.UserConsentEventsApiFactory = exports.UserConsentEventsApiFp = exports.UserConsentEventsApiAxiosParamCreator = exports.UserConsentApi = exports.UserConsentApiFactory = exports.UserConsentApiFp = exports.UserConsentApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.StockApi = exports.StockApiFactory = exports.StockApiFp = exports.StockApiAxiosParamCreator = exports.SnapshotsApi = exports.SnapshotsApiFactory = exports.SnapshotsApiFp = exports.SnapshotsApiAxiosParamCreator = exports.SnapshotEventsApi = exports.SnapshotEventsApiFactory = exports.SnapshotEventsApiFp = exports.SnapshotEventsApiAxiosParamCreator = exports.SecurityRulesApi = exports.SecurityRulesApiFactory = exports.SecurityRulesApiFp = exports.SecurityRulesApiAxiosParamCreator = exports.RegionsApi = exports.RegionsApiFactory = exports.RegionsApiFp = exports.RegionsApiAxiosParamCreator = exports.RegionApi = exports.RegionApiFactory = exports.RegionApiFp = exports.RegionApiAxiosParamCreator = exports.RbacRoleApi = exports.RbacRoleApiFactory = exports.RbacRoleApiFp = exports.RbacRoleApiAxiosParamCreator = exports.ProfileApi = exports.ProfileApiFactory = exports.ProfileApiFp = exports.ProfileApiAxiosParamCreator = exports.PricebookApi = exports.PricebookApiFactory = exports.PricebookApiFp = void 0;
29
- exports.VouchersApi = exports.VouchersApiFactory = exports.VouchersApiFp = exports.VouchersApiAxiosParamCreator = exports.VolumeAttachmentApi = exports.VolumeAttachmentApiFactory = exports.VolumeAttachmentApiFp = exports.VolumeAttachmentApiAxiosParamCreator = exports.VolumeApi = exports.VolumeApiFactory = exports.VolumeApiFp = exports.VolumeApiAxiosParamCreator = exports.VncUrlApi = exports.VncUrlApiFactory = exports.VncUrlApiFp = exports.VncUrlApiAxiosParamCreator = exports.VirtualMachineEventsApi = exports.VirtualMachineEventsApiFactory = exports.VirtualMachineEventsApiFp = exports.VirtualMachineEventsApiAxiosParamCreator = exports.GetVMMetricsDurationEnum = exports.VirtualMachineApi = exports.VirtualMachineApiFactory = exports.VirtualMachineApiFp = exports.VirtualMachineApiAxiosParamCreator = exports.UserPermissionApi = exports.UserPermissionApiFactory = exports.UserPermissionApiFp = exports.UserPermissionApiAxiosParamCreator = exports.UserDetailChoiceApi = void 0;
29
+ exports.ZendeskApi = exports.ZendeskApiFactory = exports.ZendeskApiFp = exports.ZendeskApiAxiosParamCreator = exports.VouchersApi = exports.VouchersApiFactory = exports.VouchersApiFp = exports.VouchersApiAxiosParamCreator = exports.VolumeAttachmentApi = exports.VolumeAttachmentApiFactory = exports.VolumeAttachmentApiFp = exports.VolumeAttachmentApiAxiosParamCreator = exports.VolumeApi = exports.VolumeApiFactory = exports.VolumeApiFp = exports.VolumeApiAxiosParamCreator = exports.VncUrlApi = exports.VncUrlApiFactory = exports.VncUrlApiFp = exports.VncUrlApiAxiosParamCreator = exports.VirtualMachineEventsApi = exports.VirtualMachineEventsApiFactory = exports.VirtualMachineEventsApiFp = exports.VirtualMachineEventsApiAxiosParamCreator = exports.GetVMMetricsDurationEnum = exports.VirtualMachineApi = exports.VirtualMachineApiFactory = exports.VirtualMachineApiFp = exports.VirtualMachineApiAxiosParamCreator = exports.UserPermissionApi = exports.UserPermissionApiFactory = exports.UserPermissionApiFp = exports.UserPermissionApiAxiosParamCreator = exports.UserDetailChoiceApi = void 0;
30
30
  const axios_1 = require("axios");
31
31
  // Some imports not used depending on template conditions
32
32
  // @ts-ignore
@@ -269,6 +269,40 @@ const AccessKeysApiAxiosParamCreator = function (configuration) {
269
269
  options: localVarRequestOptions,
270
270
  };
271
271
  }),
272
+ /**
273
+ *
274
+ * @summary Rename an existing access key
275
+ * @param {string} accessKeyId
276
+ * @param {ObjectStorageAccessKeyUpdateRequest} [body]
277
+ * @param {*} [options] Override http request option.
278
+ * @throws {RequiredError}
279
+ */
280
+ updateAccessKeyEndpoint: (accessKeyId_1, body_1, ...args_1) => __awaiter(this, [accessKeyId_1, body_1, ...args_1], void 0, function* (accessKeyId, body, options = {}) {
281
+ // verify required parameter 'accessKeyId' is not null or undefined
282
+ (0, common_1.assertParamExists)('updateAccessKeyEndpoint', 'accessKeyId', accessKeyId);
283
+ const localVarPath = `/object-storage/access-keys/{access_key_id}`
284
+ .replace(`{${"access_key_id"}}`, encodeURIComponent(String(accessKeyId)));
285
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
286
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
287
+ let baseOptions;
288
+ if (configuration) {
289
+ baseOptions = configuration.baseOptions;
290
+ }
291
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
292
+ const localVarHeaderParameter = {};
293
+ const localVarQueryParameter = {};
294
+ // authentication apiKey required
295
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api_key", configuration);
296
+ localVarHeaderParameter['Content-Type'] = 'application/json';
297
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
298
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
299
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
300
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
301
+ return {
302
+ url: (0, common_1.toPathString)(localVarUrlObj),
303
+ options: localVarRequestOptions,
304
+ };
305
+ }),
272
306
  };
273
307
  };
274
308
  exports.AccessKeysApiAxiosParamCreator = AccessKeysApiAxiosParamCreator;
@@ -329,6 +363,23 @@ const AccessKeysApiFp = function (configuration) {
329
363
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
330
364
  });
331
365
  },
366
+ /**
367
+ *
368
+ * @summary Rename an existing access key
369
+ * @param {string} accessKeyId
370
+ * @param {ObjectStorageAccessKeyUpdateRequest} [body]
371
+ * @param {*} [options] Override http request option.
372
+ * @throws {RequiredError}
373
+ */
374
+ updateAccessKeyEndpoint(accessKeyId, body, options) {
375
+ return __awaiter(this, void 0, void 0, function* () {
376
+ var _a, _b, _c;
377
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateAccessKeyEndpoint(accessKeyId, body, options);
378
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
379
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessKeysApi.updateAccessKeyEndpoint']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
380
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
381
+ });
382
+ },
332
383
  };
333
384
  };
334
385
  exports.AccessKeysApiFp = AccessKeysApiFp;
@@ -371,6 +422,17 @@ const AccessKeysApiFactory = function (configuration, basePath, axios) {
371
422
  listAccessKeysEndpoint(search, page, pageSize, options) {
372
423
  return localVarFp.listAccessKeysEndpoint(search, page, pageSize, options).then((request) => request(axios, basePath));
373
424
  },
425
+ /**
426
+ *
427
+ * @summary Rename an existing access key
428
+ * @param {string} accessKeyId
429
+ * @param {ObjectStorageAccessKeyUpdateRequest} [body]
430
+ * @param {*} [options] Override http request option.
431
+ * @throws {RequiredError}
432
+ */
433
+ updateAccessKeyEndpoint(accessKeyId, body, options) {
434
+ return localVarFp.updateAccessKeyEndpoint(accessKeyId, body, options).then((request) => request(axios, basePath));
435
+ },
374
436
  };
375
437
  };
376
438
  exports.AccessKeysApiFactory = AccessKeysApiFactory;
@@ -416,6 +478,18 @@ class AccessKeysApi extends base_1.BaseAPI {
416
478
  listAccessKeysEndpoint(search, page, pageSize, options) {
417
479
  return (0, exports.AccessKeysApiFp)(this.configuration).listAccessKeysEndpoint(search, page, pageSize, options).then((request) => request(this.axios, this.basePath));
418
480
  }
481
+ /**
482
+ *
483
+ * @summary Rename an existing access key
484
+ * @param {string} accessKeyId
485
+ * @param {ObjectStorageAccessKeyUpdateRequest} [body]
486
+ * @param {*} [options] Override http request option.
487
+ * @throws {RequiredError}
488
+ * @memberof AccessKeysApi
489
+ */
490
+ updateAccessKeyEndpoint(accessKeyId, body, options) {
491
+ return (0, exports.AccessKeysApiFp)(this.configuration).updateAccessKeyEndpoint(accessKeyId, body, options).then((request) => request(this.axios, this.basePath));
492
+ }
419
493
  }
420
494
  exports.AccessKeysApi = AccessKeysApi;
421
495
  /**
@@ -425,7 +499,7 @@ exports.AccessKeysApi = AccessKeysApi;
425
499
  const AliveApiAxiosParamCreator = function (configuration) {
426
500
  return {
427
501
  /**
428
- * Retrieve the billing status of your account to ensure that it is active. An active billing status ensures uninterrupted service. For additional information [**click here**](None/docs/api-reference/billing-resources/alive/).
502
+ * Retrieve the billing status of your account to ensure that it is active. An active billing status ensures uninterrupted service. For additional information [**click here**](https://docs.hyperstack.cloud/docs/api-reference/billing-resources/alive/).
429
503
  * @summary GET: Alive
430
504
  * @param {*} [options] Override http request option.
431
505
  * @throws {RequiredError}
@@ -488,7 +562,7 @@ const AliveApiFp = function (configuration) {
488
562
  const localVarAxiosParamCreator = (0, exports.AliveApiAxiosParamCreator)(configuration);
489
563
  return {
490
564
  /**
491
- * Retrieve the billing status of your account to ensure that it is active. An active billing status ensures uninterrupted service. For additional information [**click here**](None/docs/api-reference/billing-resources/alive/).
565
+ * Retrieve the billing status of your account to ensure that it is active. An active billing status ensures uninterrupted service. For additional information [**click here**](https://docs.hyperstack.cloud/docs/api-reference/billing-resources/alive/).
492
566
  * @summary GET: Alive
493
567
  * @param {*} [options] Override http request option.
494
568
  * @throws {RequiredError}
@@ -527,7 +601,7 @@ const AliveApiFactory = function (configuration, basePath, axios) {
527
601
  const localVarFp = (0, exports.AliveApiFp)(configuration);
528
602
  return {
529
603
  /**
530
- * Retrieve the billing status of your account to ensure that it is active. An active billing status ensures uninterrupted service. For additional information [**click here**](None/docs/api-reference/billing-resources/alive/).
604
+ * Retrieve the billing status of your account to ensure that it is active. An active billing status ensures uninterrupted service. For additional information [**click here**](https://docs.hyperstack.cloud/docs/api-reference/billing-resources/alive/).
531
605
  * @summary GET: Alive
532
606
  * @param {*} [options] Override http request option.
533
607
  * @throws {RequiredError}
@@ -554,7 +628,7 @@ exports.AliveApiFactory = AliveApiFactory;
554
628
  */
555
629
  class AliveApi extends base_1.BaseAPI {
556
630
  /**
557
- * Retrieve the billing status of your account to ensure that it is active. An active billing status ensures uninterrupted service. For additional information [**click here**](None/docs/api-reference/billing-resources/alive/).
631
+ * Retrieve the billing status of your account to ensure that it is active. An active billing status ensures uninterrupted service. For additional information [**click here**](https://docs.hyperstack.cloud/docs/api-reference/billing-resources/alive/).
558
632
  * @summary GET: Alive
559
633
  * @param {*} [options] Override http request option.
560
634
  * @throws {RequiredError}
@@ -1446,7 +1520,7 @@ const AutoTopupApiAxiosParamCreator = function (configuration) {
1446
1520
  };
1447
1521
  }),
1448
1522
  /**
1449
- * Retrieves the current auto top-up configuration and status for your organization. Returns the status (active, disabled, pending_setup, or null if never configured), along with the threshold and top-up amounts. For additional information, [**click here**](None/docs/api-reference/billing-resources/).
1523
+ * Retrieves the current auto top-up configuration and status for your organization. Returns the status (active, disabled, pending_setup, or null if never configured), along with the threshold and top-up amounts. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/billing-resources/).
1450
1524
  * @summary Get auto top-up status and configuration
1451
1525
  * @param {*} [options] Override http request option.
1452
1526
  * @throws {RequiredError}
@@ -1561,7 +1635,7 @@ const AutoTopupApiFp = function (configuration) {
1561
1635
  });
1562
1636
  },
1563
1637
  /**
1564
- * Retrieves the current auto top-up configuration and status for your organization. Returns the status (active, disabled, pending_setup, or null if never configured), along with the threshold and top-up amounts. For additional information, [**click here**](None/docs/api-reference/billing-resources/).
1638
+ * Retrieves the current auto top-up configuration and status for your organization. Returns the status (active, disabled, pending_setup, or null if never configured), along with the threshold and top-up amounts. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/billing-resources/).
1565
1639
  * @summary Get auto top-up status and configuration
1566
1640
  * @param {*} [options] Override http request option.
1567
1641
  * @throws {RequiredError}
@@ -1630,7 +1704,7 @@ const AutoTopupApiFactory = function (configuration, basePath, axios) {
1630
1704
  return localVarFp.getAutoTopUp(options).then((request) => request(axios, basePath));
1631
1705
  },
1632
1706
  /**
1633
- * Retrieves the current auto top-up configuration and status for your organization. Returns the status (active, disabled, pending_setup, or null if never configured), along with the threshold and top-up amounts. For additional information, [**click here**](None/docs/api-reference/billing-resources/).
1707
+ * Retrieves the current auto top-up configuration and status for your organization. Returns the status (active, disabled, pending_setup, or null if never configured), along with the threshold and top-up amounts. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/billing-resources/).
1634
1708
  * @summary Get auto top-up status and configuration
1635
1709
  * @param {*} [options] Override http request option.
1636
1710
  * @throws {RequiredError}
@@ -1690,7 +1764,7 @@ class AutoTopupApi extends base_1.BaseAPI {
1690
1764
  return (0, exports.AutoTopupApiFp)(this.configuration).getAutoTopUp(options).then((request) => request(this.axios, this.basePath));
1691
1765
  }
1692
1766
  /**
1693
- * Retrieves the current auto top-up configuration and status for your organization. Returns the status (active, disabled, pending_setup, or null if never configured), along with the threshold and top-up amounts. For additional information, [**click here**](None/docs/api-reference/billing-resources/).
1767
+ * Retrieves the current auto top-up configuration and status for your organization. Returns the status (active, disabled, pending_setup, or null if never configured), along with the threshold and top-up amounts. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/billing-resources/).
1694
1768
  * @summary Get auto top-up status and configuration
1695
1769
  * @param {*} [options] Override http request option.
1696
1770
  * @throws {RequiredError}
@@ -2445,7 +2519,7 @@ const BillingApiAxiosParamCreator = function (configuration) {
2445
2519
  };
2446
2520
  }),
2447
2521
  /**
2448
- * Retrieve the previous day\'s costs for instances, volumes, and clusters. Returns a breakdown of the costs and the total cost for the last day. For additional information on Retrieve Previous Day Usage Costs, [**click here**](None/docs/api-reference/billing-resources/last-day-usage/)
2522
+ * Retrieve the previous day\'s costs for instances, volumes, and clusters. Returns a breakdown of the costs and the total cost for the last day. For additional information on Retrieve Previous Day Usage Costs, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/billing-resources/last-day-usage/)
2449
2523
  * @summary GET: Last Day Cost
2450
2524
  * @param {*} [options] Override http request option.
2451
2525
  * @throws {RequiredError}
@@ -2826,7 +2900,7 @@ const BillingApiAxiosParamCreator = function (configuration) {
2826
2900
  };
2827
2901
  }),
2828
2902
  /**
2829
- * Retrieve active billing metrics for the organization\'s resources, including pricing, uptime, and total cost. Returns usage details for each active resource by defualt(`deleted=false` will return active resources). Additionally, adding `deleted=true` in query parameter will return inactive resources. For additional information on view usage costs for all resources, [**click here**](None/docs/billing/pricebook/)
2903
+ * Retrieve active billing metrics for the organization\'s resources, including pricing, uptime, and total cost. Returns usage details for each active resource by defualt(`deleted=false` will return active resources). Additionally, adding `deleted=true` in query parameter will return inactive resources. For additional information on view usage costs for all resources, [**click here**](https://docs.hyperstack.cloud/docs/billing/pricebook/)
2830
2904
  * @summary GET: Billing usage
2831
2905
  * @param {string} [deleted] `true` will return inactive resources and `false` will return active resources. By defualt(`deleted=false`)
2832
2906
  * @param {string} [environment] Filter resources by environment ID or Name
@@ -3790,7 +3864,7 @@ const BillingApiFp = function (configuration) {
3790
3864
  });
3791
3865
  },
3792
3866
  /**
3793
- * Retrieve the previous day\'s costs for instances, volumes, and clusters. Returns a breakdown of the costs and the total cost for the last day. For additional information on Retrieve Previous Day Usage Costs, [**click here**](None/docs/api-reference/billing-resources/last-day-usage/)
3867
+ * Retrieve the previous day\'s costs for instances, volumes, and clusters. Returns a breakdown of the costs and the total cost for the last day. For additional information on Retrieve Previous Day Usage Costs, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/billing-resources/last-day-usage/)
3794
3868
  * @summary GET: Last Day Cost
3795
3869
  * @param {*} [options] Override http request option.
3796
3870
  * @throws {RequiredError}
@@ -3966,7 +4040,7 @@ const BillingApiFp = function (configuration) {
3966
4040
  });
3967
4041
  },
3968
4042
  /**
3969
- * Retrieve active billing metrics for the organization\'s resources, including pricing, uptime, and total cost. Returns usage details for each active resource by defualt(`deleted=false` will return active resources). Additionally, adding `deleted=true` in query parameter will return inactive resources. For additional information on view usage costs for all resources, [**click here**](None/docs/billing/pricebook/)
4043
+ * Retrieve active billing metrics for the organization\'s resources, including pricing, uptime, and total cost. Returns usage details for each active resource by defualt(`deleted=false` will return active resources). Additionally, adding `deleted=true` in query parameter will return inactive resources. For additional information on view usage costs for all resources, [**click here**](https://docs.hyperstack.cloud/docs/billing/pricebook/)
3970
4044
  * @summary GET: Billing usage
3971
4045
  * @param {string} [deleted] `true` will return inactive resources and `false` will return active resources. By defualt(`deleted=false`)
3972
4046
  * @param {string} [environment] Filter resources by environment ID or Name
@@ -4456,7 +4530,7 @@ const BillingApiFactory = function (configuration, basePath, axios) {
4456
4530
  return localVarFp.getImageGenerationHistoryForResource(resourceId, startDate, endDate, options).then((request) => request(axios, basePath));
4457
4531
  },
4458
4532
  /**
4459
- * Retrieve the previous day\'s costs for instances, volumes, and clusters. Returns a breakdown of the costs and the total cost for the last day. For additional information on Retrieve Previous Day Usage Costs, [**click here**](None/docs/api-reference/billing-resources/last-day-usage/)
4533
+ * Retrieve the previous day\'s costs for instances, volumes, and clusters. Returns a breakdown of the costs and the total cost for the last day. For additional information on Retrieve Previous Day Usage Costs, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/billing-resources/last-day-usage/)
4460
4534
  * @summary GET: Last Day Cost
4461
4535
  * @param {*} [options] Override http request option.
4462
4536
  * @throws {RequiredError}
@@ -4572,7 +4646,7 @@ const BillingApiFactory = function (configuration, basePath, axios) {
4572
4646
  return localVarFp.getSnapshotBillingHistoryGraph(snapshotId, startDate, endDate, options).then((request) => request(axios, basePath));
4573
4647
  },
4574
4648
  /**
4575
- * Retrieve active billing metrics for the organization\'s resources, including pricing, uptime, and total cost. Returns usage details for each active resource by defualt(`deleted=false` will return active resources). Additionally, adding `deleted=true` in query parameter will return inactive resources. For additional information on view usage costs for all resources, [**click here**](None/docs/billing/pricebook/)
4649
+ * Retrieve active billing metrics for the organization\'s resources, including pricing, uptime, and total cost. Returns usage details for each active resource by defualt(`deleted=false` will return active resources). Additionally, adding `deleted=true` in query parameter will return inactive resources. For additional information on view usage costs for all resources, [**click here**](https://docs.hyperstack.cloud/docs/billing/pricebook/)
4576
4650
  * @summary GET: Billing usage
4577
4651
  * @param {string} [deleted] `true` will return inactive resources and `false` will return active resources. By defualt(`deleted=false`)
4578
4652
  * @param {string} [environment] Filter resources by environment ID or Name
@@ -4966,7 +5040,7 @@ class BillingApi extends base_1.BaseAPI {
4966
5040
  return (0, exports.BillingApiFp)(this.configuration).getImageGenerationHistoryForResource(resourceId, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
4967
5041
  }
4968
5042
  /**
4969
- * Retrieve the previous day\'s costs for instances, volumes, and clusters. Returns a breakdown of the costs and the total cost for the last day. For additional information on Retrieve Previous Day Usage Costs, [**click here**](None/docs/api-reference/billing-resources/last-day-usage/)
5043
+ * Retrieve the previous day\'s costs for instances, volumes, and clusters. Returns a breakdown of the costs and the total cost for the last day. For additional information on Retrieve Previous Day Usage Costs, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/billing-resources/last-day-usage/)
4970
5044
  * @summary GET: Last Day Cost
4971
5045
  * @param {*} [options] Override http request option.
4972
5046
  * @throws {RequiredError}
@@ -5092,7 +5166,7 @@ class BillingApi extends base_1.BaseAPI {
5092
5166
  return (0, exports.BillingApiFp)(this.configuration).getSnapshotBillingHistoryGraph(snapshotId, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
5093
5167
  }
5094
5168
  /**
5095
- * Retrieve active billing metrics for the organization\'s resources, including pricing, uptime, and total cost. Returns usage details for each active resource by defualt(`deleted=false` will return active resources). Additionally, adding `deleted=true` in query parameter will return inactive resources. For additional information on view usage costs for all resources, [**click here**](None/docs/billing/pricebook/)
5169
+ * Retrieve active billing metrics for the organization\'s resources, including pricing, uptime, and total cost. Returns usage details for each active resource by defualt(`deleted=false` will return active resources). Additionally, adding `deleted=true` in query parameter will return inactive resources. For additional information on view usage costs for all resources, [**click here**](https://docs.hyperstack.cloud/docs/billing/pricebook/)
5096
5170
  * @summary GET: Billing usage
5097
5171
  * @param {string} [deleted] `true` will return inactive resources and `false` will return active resources. By defualt(`deleted=false`)
5098
5172
  * @param {string} [environment] Filter resources by environment ID or Name
@@ -6830,6 +6904,37 @@ const ClustersApiAxiosParamCreator = function (configuration) {
6830
6904
  options: localVarRequestOptions,
6831
6905
  };
6832
6906
  }),
6907
+ /**
6908
+ *
6909
+ * @summary Restore a hibernated cluster\'s nodes and reconcile the cluster
6910
+ * @param {number} clusterId
6911
+ * @param {*} [options] Override http request option.
6912
+ * @throws {RequiredError}
6913
+ */
6914
+ restoreAHibernatedCluster: (clusterId_1, ...args_1) => __awaiter(this, [clusterId_1, ...args_1], void 0, function* (clusterId, options = {}) {
6915
+ // verify required parameter 'clusterId' is not null or undefined
6916
+ (0, common_1.assertParamExists)('restoreAHibernatedCluster', 'clusterId', clusterId);
6917
+ const localVarPath = `/core/clusters/{cluster_id}/restore`
6918
+ .replace(`{${"cluster_id"}}`, encodeURIComponent(String(clusterId)));
6919
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6920
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6921
+ let baseOptions;
6922
+ if (configuration) {
6923
+ baseOptions = configuration.baseOptions;
6924
+ }
6925
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
6926
+ const localVarHeaderParameter = {};
6927
+ const localVarQueryParameter = {};
6928
+ // authentication apiKey required
6929
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api_key", configuration);
6930
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6931
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6932
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6933
+ return {
6934
+ url: (0, common_1.toPathString)(localVarUrlObj),
6935
+ options: localVarRequestOptions,
6936
+ };
6937
+ }),
6833
6938
  /**
6834
6939
  *
6835
6940
  * @summary Update a node group in a cluster
@@ -7144,6 +7249,22 @@ const ClustersApiFp = function (configuration) {
7144
7249
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7145
7250
  });
7146
7251
  },
7252
+ /**
7253
+ *
7254
+ * @summary Restore a hibernated cluster\'s nodes and reconcile the cluster
7255
+ * @param {number} clusterId
7256
+ * @param {*} [options] Override http request option.
7257
+ * @throws {RequiredError}
7258
+ */
7259
+ restoreAHibernatedCluster(clusterId, options) {
7260
+ return __awaiter(this, void 0, void 0, function* () {
7261
+ var _a, _b, _c;
7262
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.restoreAHibernatedCluster(clusterId, options);
7263
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7264
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClustersApi.restoreAHibernatedCluster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7265
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7266
+ });
7267
+ },
7147
7268
  /**
7148
7269
  *
7149
7270
  * @summary Update a node group in a cluster
@@ -7340,6 +7461,16 @@ const ClustersApiFactory = function (configuration, basePath, axios) {
7340
7461
  reconcileCluster(clusterId, options) {
7341
7462
  return localVarFp.reconcileCluster(clusterId, options).then((request) => request(axios, basePath));
7342
7463
  },
7464
+ /**
7465
+ *
7466
+ * @summary Restore a hibernated cluster\'s nodes and reconcile the cluster
7467
+ * @param {number} clusterId
7468
+ * @param {*} [options] Override http request option.
7469
+ * @throws {RequiredError}
7470
+ */
7471
+ restoreAHibernatedCluster(clusterId, options) {
7472
+ return localVarFp.restoreAHibernatedCluster(clusterId, options).then((request) => request(axios, basePath));
7473
+ },
7343
7474
  /**
7344
7475
  *
7345
7476
  * @summary Update a node group in a cluster
@@ -7546,6 +7677,17 @@ class ClustersApi extends base_1.BaseAPI {
7546
7677
  reconcileCluster(clusterId, options) {
7547
7678
  return (0, exports.ClustersApiFp)(this.configuration).reconcileCluster(clusterId, options).then((request) => request(this.axios, this.basePath));
7548
7679
  }
7680
+ /**
7681
+ *
7682
+ * @summary Restore a hibernated cluster\'s nodes and reconcile the cluster
7683
+ * @param {number} clusterId
7684
+ * @param {*} [options] Override http request option.
7685
+ * @throws {RequiredError}
7686
+ * @memberof ClustersApi
7687
+ */
7688
+ restoreAHibernatedCluster(clusterId, options) {
7689
+ return (0, exports.ClustersApiFp)(this.configuration).restoreAHibernatedCluster(clusterId, options).then((request) => request(this.axios, this.basePath));
7690
+ }
7549
7691
  /**
7550
7692
  *
7551
7693
  * @summary Update a node group in a cluster
@@ -7568,7 +7710,7 @@ exports.ClustersApi = ClustersApi;
7568
7710
  const CreditApiAxiosParamCreator = function (configuration) {
7569
7711
  return {
7570
7712
  /**
7571
- * Retrieves the current credit balance for your [**organization**](/docs/rbac/organization). Ensuring a positive credit balance allows you to create resources. However, for prepaid accounts, if the credit balance falls below $0, all associated resources will be temporarily suspended until a [**payment**](/docs/api-reference/billing-resources/create-payment) is made. For additional information, [**click here**](None/docs/api-reference/billing-resources/retrieve-credit-balance/).
7713
+ * Retrieves the current credit balance for your [**organization**](/docs/rbac/organization). Ensuring a positive credit balance allows you to create resources. However, for prepaid accounts, if the credit balance falls below $0, all associated resources will be temporarily suspended until a [**payment**](/docs/api-reference/billing-resources/create-payment) is made. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/billing-resources/retrieve-credit-balance/).
7572
7714
  * @summary GET: View credit and threshold
7573
7715
  * @param {*} [options] Override http request option.
7574
7716
  * @throws {RequiredError}
@@ -7605,7 +7747,7 @@ const CreditApiFp = function (configuration) {
7605
7747
  const localVarAxiosParamCreator = (0, exports.CreditApiAxiosParamCreator)(configuration);
7606
7748
  return {
7607
7749
  /**
7608
- * Retrieves the current credit balance for your [**organization**](/docs/rbac/organization). Ensuring a positive credit balance allows you to create resources. However, for prepaid accounts, if the credit balance falls below $0, all associated resources will be temporarily suspended until a [**payment**](/docs/api-reference/billing-resources/create-payment) is made. For additional information, [**click here**](None/docs/api-reference/billing-resources/retrieve-credit-balance/).
7750
+ * Retrieves the current credit balance for your [**organization**](/docs/rbac/organization). Ensuring a positive credit balance allows you to create resources. However, for prepaid accounts, if the credit balance falls below $0, all associated resources will be temporarily suspended until a [**payment**](/docs/api-reference/billing-resources/create-payment) is made. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/billing-resources/retrieve-credit-balance/).
7609
7751
  * @summary GET: View credit and threshold
7610
7752
  * @param {*} [options] Override http request option.
7611
7753
  * @throws {RequiredError}
@@ -7630,7 +7772,7 @@ const CreditApiFactory = function (configuration, basePath, axios) {
7630
7772
  const localVarFp = (0, exports.CreditApiFp)(configuration);
7631
7773
  return {
7632
7774
  /**
7633
- * Retrieves the current credit balance for your [**organization**](/docs/rbac/organization). Ensuring a positive credit balance allows you to create resources. However, for prepaid accounts, if the credit balance falls below $0, all associated resources will be temporarily suspended until a [**payment**](/docs/api-reference/billing-resources/create-payment) is made. For additional information, [**click here**](None/docs/api-reference/billing-resources/retrieve-credit-balance/).
7775
+ * Retrieves the current credit balance for your [**organization**](/docs/rbac/organization). Ensuring a positive credit balance allows you to create resources. However, for prepaid accounts, if the credit balance falls below $0, all associated resources will be temporarily suspended until a [**payment**](/docs/api-reference/billing-resources/create-payment) is made. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/billing-resources/retrieve-credit-balance/).
7634
7776
  * @summary GET: View credit and threshold
7635
7777
  * @param {*} [options] Override http request option.
7636
7778
  * @throws {RequiredError}
@@ -7649,7 +7791,7 @@ exports.CreditApiFactory = CreditApiFactory;
7649
7791
  */
7650
7792
  class CreditApi extends base_1.BaseAPI {
7651
7793
  /**
7652
- * Retrieves the current credit balance for your [**organization**](/docs/rbac/organization). Ensuring a positive credit balance allows you to create resources. However, for prepaid accounts, if the credit balance falls below $0, all associated resources will be temporarily suspended until a [**payment**](/docs/api-reference/billing-resources/create-payment) is made. For additional information, [**click here**](None/docs/api-reference/billing-resources/retrieve-credit-balance/).
7794
+ * Retrieves the current credit balance for your [**organization**](/docs/rbac/organization). Ensuring a positive credit balance allows you to create resources. However, for prepaid accounts, if the credit balance falls below $0, all associated resources will be temporarily suspended until a [**payment**](/docs/api-reference/billing-resources/create-payment) is made. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/billing-resources/retrieve-credit-balance/).
7653
7795
  * @summary GET: View credit and threshold
7654
7796
  * @param {*} [options] Override http request option.
7655
7797
  * @throws {RequiredError}
@@ -11430,7 +11572,7 @@ exports.PartnerConfigApi = PartnerConfigApi;
11430
11572
  const PaymentApiAxiosParamCreator = function (configuration) {
11431
11573
  return {
11432
11574
  /**
11433
- * Retrieve the payment receipt from Stripe for a specific payment
11575
+ * Retrieve the URL of the Stripe-hosted invoice page for a specific payment. The hosted URL is refreshed by Stripe on every retrieval, so it never expires.
11434
11576
  * @summary Retrieve Payment Receipt
11435
11577
  * @param {string} paymentId
11436
11578
  * @param {*} [options] Override http request option.
@@ -11461,7 +11603,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
11461
11603
  };
11462
11604
  }),
11463
11605
  /**
11464
- * Creates a payment for a specified amount, adding credit to the balance of your [**organization**](/docs/rbac/organization). Include the `amount` in the body of the request to make a payment for the specified value in dollars. View a history of past payments by calling the [**Retrieve Payment History**](/docs/api-reference/billing-resources/retrieve-payment-history) API. For additional information [**click here**](None/docs/api-reference/billing-resources/create-payment).
11606
+ * Creates a payment for a specified amount, adding credit to the balance of your [**organization**](/docs/rbac/organization). Include the `amount` in the body of the request to make a payment for the specified value in dollars. View a history of past payments by calling the [**Retrieve Payment History**](/docs/api-reference/billing-resources/retrieve-payment-history) API. For additional information [**click here**](https://docs.hyperstack.cloud/docs/api-reference/billing-resources/create-payment).
11465
11607
  * @summary POST: Initiate payment
11466
11608
  * @param {PaymentInitiatePayload} payload
11467
11609
  * @param {*} [options] Override http request option.
@@ -11493,7 +11635,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
11493
11635
  };
11494
11636
  }),
11495
11637
  /**
11496
- * Retrieves a list of all payments made within your [**organization**](/docs/rbac/organization) and their details, including the amount, payment status, and more. For additional information [**click here**](None/docs/api-reference/billing-resources/retrieve-payment-history/).
11638
+ * Retrieves a list of all payments made within your [**organization**](/docs/rbac/organization) and their details, including the amount, payment status, and more. For additional information [**click here**](https://docs.hyperstack.cloud/docs/api-reference/billing-resources/retrieve-payment-history/).
11497
11639
  * @summary GET: View payment details
11498
11640
  * @param {*} [options] Override http request option.
11499
11641
  * @throws {RequiredError}
@@ -11530,7 +11672,7 @@ const PaymentApiFp = function (configuration) {
11530
11672
  const localVarAxiosParamCreator = (0, exports.PaymentApiAxiosParamCreator)(configuration);
11531
11673
  return {
11532
11674
  /**
11533
- * Retrieve the payment receipt from Stripe for a specific payment
11675
+ * Retrieve the URL of the Stripe-hosted invoice page for a specific payment. The hosted URL is refreshed by Stripe on every retrieval, so it never expires.
11534
11676
  * @summary Retrieve Payment Receipt
11535
11677
  * @param {string} paymentId
11536
11678
  * @param {*} [options] Override http request option.
@@ -11546,7 +11688,7 @@ const PaymentApiFp = function (configuration) {
11546
11688
  });
11547
11689
  },
11548
11690
  /**
11549
- * Creates a payment for a specified amount, adding credit to the balance of your [**organization**](/docs/rbac/organization). Include the `amount` in the body of the request to make a payment for the specified value in dollars. View a history of past payments by calling the [**Retrieve Payment History**](/docs/api-reference/billing-resources/retrieve-payment-history) API. For additional information [**click here**](None/docs/api-reference/billing-resources/create-payment).
11691
+ * Creates a payment for a specified amount, adding credit to the balance of your [**organization**](/docs/rbac/organization). Include the `amount` in the body of the request to make a payment for the specified value in dollars. View a history of past payments by calling the [**Retrieve Payment History**](/docs/api-reference/billing-resources/retrieve-payment-history) API. For additional information [**click here**](https://docs.hyperstack.cloud/docs/api-reference/billing-resources/create-payment).
11550
11692
  * @summary POST: Initiate payment
11551
11693
  * @param {PaymentInitiatePayload} payload
11552
11694
  * @param {*} [options] Override http request option.
@@ -11562,7 +11704,7 @@ const PaymentApiFp = function (configuration) {
11562
11704
  });
11563
11705
  },
11564
11706
  /**
11565
- * Retrieves a list of all payments made within your [**organization**](/docs/rbac/organization) and their details, including the amount, payment status, and more. For additional information [**click here**](None/docs/api-reference/billing-resources/retrieve-payment-history/).
11707
+ * Retrieves a list of all payments made within your [**organization**](/docs/rbac/organization) and their details, including the amount, payment status, and more. For additional information [**click here**](https://docs.hyperstack.cloud/docs/api-reference/billing-resources/retrieve-payment-history/).
11566
11708
  * @summary GET: View payment details
11567
11709
  * @param {*} [options] Override http request option.
11568
11710
  * @throws {RequiredError}
@@ -11587,7 +11729,7 @@ const PaymentApiFactory = function (configuration, basePath, axios) {
11587
11729
  const localVarFp = (0, exports.PaymentApiFp)(configuration);
11588
11730
  return {
11589
11731
  /**
11590
- * Retrieve the payment receipt from Stripe for a specific payment
11732
+ * Retrieve the URL of the Stripe-hosted invoice page for a specific payment. The hosted URL is refreshed by Stripe on every retrieval, so it never expires.
11591
11733
  * @summary Retrieve Payment Receipt
11592
11734
  * @param {string} paymentId
11593
11735
  * @param {*} [options] Override http request option.
@@ -11597,7 +11739,7 @@ const PaymentApiFactory = function (configuration, basePath, axios) {
11597
11739
  return localVarFp.getPaymentReceipt(paymentId, options).then((request) => request(axios, basePath));
11598
11740
  },
11599
11741
  /**
11600
- * Creates a payment for a specified amount, adding credit to the balance of your [**organization**](/docs/rbac/organization). Include the `amount` in the body of the request to make a payment for the specified value in dollars. View a history of past payments by calling the [**Retrieve Payment History**](/docs/api-reference/billing-resources/retrieve-payment-history) API. For additional information [**click here**](None/docs/api-reference/billing-resources/create-payment).
11742
+ * Creates a payment for a specified amount, adding credit to the balance of your [**organization**](/docs/rbac/organization). Include the `amount` in the body of the request to make a payment for the specified value in dollars. View a history of past payments by calling the [**Retrieve Payment History**](/docs/api-reference/billing-resources/retrieve-payment-history) API. For additional information [**click here**](https://docs.hyperstack.cloud/docs/api-reference/billing-resources/create-payment).
11601
11743
  * @summary POST: Initiate payment
11602
11744
  * @param {PaymentInitiatePayload} payload
11603
11745
  * @param {*} [options] Override http request option.
@@ -11607,7 +11749,7 @@ const PaymentApiFactory = function (configuration, basePath, axios) {
11607
11749
  return localVarFp.initiatePayment(payload, options).then((request) => request(axios, basePath));
11608
11750
  },
11609
11751
  /**
11610
- * Retrieves a list of all payments made within your [**organization**](/docs/rbac/organization) and their details, including the amount, payment status, and more. For additional information [**click here**](None/docs/api-reference/billing-resources/retrieve-payment-history/).
11752
+ * Retrieves a list of all payments made within your [**organization**](/docs/rbac/organization) and their details, including the amount, payment status, and more. For additional information [**click here**](https://docs.hyperstack.cloud/docs/api-reference/billing-resources/retrieve-payment-history/).
11611
11753
  * @summary GET: View payment details
11612
11754
  * @param {*} [options] Override http request option.
11613
11755
  * @throws {RequiredError}
@@ -11626,7 +11768,7 @@ exports.PaymentApiFactory = PaymentApiFactory;
11626
11768
  */
11627
11769
  class PaymentApi extends base_1.BaseAPI {
11628
11770
  /**
11629
- * Retrieve the payment receipt from Stripe for a specific payment
11771
+ * Retrieve the URL of the Stripe-hosted invoice page for a specific payment. The hosted URL is refreshed by Stripe on every retrieval, so it never expires.
11630
11772
  * @summary Retrieve Payment Receipt
11631
11773
  * @param {string} paymentId
11632
11774
  * @param {*} [options] Override http request option.
@@ -11637,7 +11779,7 @@ class PaymentApi extends base_1.BaseAPI {
11637
11779
  return (0, exports.PaymentApiFp)(this.configuration).getPaymentReceipt(paymentId, options).then((request) => request(this.axios, this.basePath));
11638
11780
  }
11639
11781
  /**
11640
- * Creates a payment for a specified amount, adding credit to the balance of your [**organization**](/docs/rbac/organization). Include the `amount` in the body of the request to make a payment for the specified value in dollars. View a history of past payments by calling the [**Retrieve Payment History**](/docs/api-reference/billing-resources/retrieve-payment-history) API. For additional information [**click here**](None/docs/api-reference/billing-resources/create-payment).
11782
+ * Creates a payment for a specified amount, adding credit to the balance of your [**organization**](/docs/rbac/organization). Include the `amount` in the body of the request to make a payment for the specified value in dollars. View a history of past payments by calling the [**Retrieve Payment History**](/docs/api-reference/billing-resources/retrieve-payment-history) API. For additional information [**click here**](https://docs.hyperstack.cloud/docs/api-reference/billing-resources/create-payment).
11641
11783
  * @summary POST: Initiate payment
11642
11784
  * @param {PaymentInitiatePayload} payload
11643
11785
  * @param {*} [options] Override http request option.
@@ -11648,7 +11790,7 @@ class PaymentApi extends base_1.BaseAPI {
11648
11790
  return (0, exports.PaymentApiFp)(this.configuration).initiatePayment(payload, options).then((request) => request(this.axios, this.basePath));
11649
11791
  }
11650
11792
  /**
11651
- * Retrieves a list of all payments made within your [**organization**](/docs/rbac/organization) and their details, including the amount, payment status, and more. For additional information [**click here**](None/docs/api-reference/billing-resources/retrieve-payment-history/).
11793
+ * Retrieves a list of all payments made within your [**organization**](/docs/rbac/organization) and their details, including the amount, payment status, and more. For additional information [**click here**](https://docs.hyperstack.cloud/docs/api-reference/billing-resources/retrieve-payment-history/).
11652
11794
  * @summary GET: View payment details
11653
11795
  * @param {*} [options] Override http request option.
11654
11796
  * @throws {RequiredError}
@@ -17492,3 +17634,102 @@ class VouchersApi extends base_1.BaseAPI {
17492
17634
  }
17493
17635
  }
17494
17636
  exports.VouchersApi = VouchersApi;
17637
+ /**
17638
+ * ZendeskApi - axios parameter creator
17639
+ * @export
17640
+ */
17641
+ const ZendeskApiAxiosParamCreator = function (configuration) {
17642
+ return {
17643
+ /**
17644
+ * Returns a short-lived signed JWT for the currently authenticated user, to be passed to the Zendesk Web Widget\'s loginUser API so chat tickets are attributed to the real user instead of an anonymous \'Web User\'.
17645
+ * @summary Retrieve a Zendesk messaging JWT for the current user
17646
+ * @param {*} [options] Override http request option.
17647
+ * @throws {RequiredError}
17648
+ */
17649
+ getZendeskMessagingToken: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
17650
+ const localVarPath = `/auth/zendesk/messaging-token`;
17651
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17652
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17653
+ let baseOptions;
17654
+ if (configuration) {
17655
+ baseOptions = configuration.baseOptions;
17656
+ }
17657
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
17658
+ const localVarHeaderParameter = {};
17659
+ const localVarQueryParameter = {};
17660
+ // authentication apiKey required
17661
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api_key", configuration);
17662
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
17663
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17664
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
17665
+ return {
17666
+ url: (0, common_1.toPathString)(localVarUrlObj),
17667
+ options: localVarRequestOptions,
17668
+ };
17669
+ }),
17670
+ };
17671
+ };
17672
+ exports.ZendeskApiAxiosParamCreator = ZendeskApiAxiosParamCreator;
17673
+ /**
17674
+ * ZendeskApi - functional programming interface
17675
+ * @export
17676
+ */
17677
+ const ZendeskApiFp = function (configuration) {
17678
+ const localVarAxiosParamCreator = (0, exports.ZendeskApiAxiosParamCreator)(configuration);
17679
+ return {
17680
+ /**
17681
+ * Returns a short-lived signed JWT for the currently authenticated user, to be passed to the Zendesk Web Widget\'s loginUser API so chat tickets are attributed to the real user instead of an anonymous \'Web User\'.
17682
+ * @summary Retrieve a Zendesk messaging JWT for the current user
17683
+ * @param {*} [options] Override http request option.
17684
+ * @throws {RequiredError}
17685
+ */
17686
+ getZendeskMessagingToken(options) {
17687
+ return __awaiter(this, void 0, void 0, function* () {
17688
+ var _a, _b, _c;
17689
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getZendeskMessagingToken(options);
17690
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17691
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ZendeskApi.getZendeskMessagingToken']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17692
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17693
+ });
17694
+ },
17695
+ };
17696
+ };
17697
+ exports.ZendeskApiFp = ZendeskApiFp;
17698
+ /**
17699
+ * ZendeskApi - factory interface
17700
+ * @export
17701
+ */
17702
+ const ZendeskApiFactory = function (configuration, basePath, axios) {
17703
+ const localVarFp = (0, exports.ZendeskApiFp)(configuration);
17704
+ return {
17705
+ /**
17706
+ * Returns a short-lived signed JWT for the currently authenticated user, to be passed to the Zendesk Web Widget\'s loginUser API so chat tickets are attributed to the real user instead of an anonymous \'Web User\'.
17707
+ * @summary Retrieve a Zendesk messaging JWT for the current user
17708
+ * @param {*} [options] Override http request option.
17709
+ * @throws {RequiredError}
17710
+ */
17711
+ getZendeskMessagingToken(options) {
17712
+ return localVarFp.getZendeskMessagingToken(options).then((request) => request(axios, basePath));
17713
+ },
17714
+ };
17715
+ };
17716
+ exports.ZendeskApiFactory = ZendeskApiFactory;
17717
+ /**
17718
+ * ZendeskApi - object-oriented interface
17719
+ * @export
17720
+ * @class ZendeskApi
17721
+ * @extends {BaseAPI}
17722
+ */
17723
+ class ZendeskApi extends base_1.BaseAPI {
17724
+ /**
17725
+ * Returns a short-lived signed JWT for the currently authenticated user, to be passed to the Zendesk Web Widget\'s loginUser API so chat tickets are attributed to the real user instead of an anonymous \'Web User\'.
17726
+ * @summary Retrieve a Zendesk messaging JWT for the current user
17727
+ * @param {*} [options] Override http request option.
17728
+ * @throws {RequiredError}
17729
+ * @memberof ZendeskApi
17730
+ */
17731
+ getZendeskMessagingToken(options) {
17732
+ return (0, exports.ZendeskApiFp)(this.configuration).getZendeskMessagingToken(options).then((request) => request(this.axios, this.basePath));
17733
+ }
17734
+ }
17735
+ exports.ZendeskApi = ZendeskApi;