@nexgencloud/hyperstack-sdk-typescript 1.55.10-alpha → 1.56.1-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/README.md +2 -2
- package/api.ts +349 -0
- package/dist/api.d.ts +219 -0
- package/dist/api.js +242 -1
- package/dist/esm/api.d.ts +219 -0
- package/dist/esm/api.js +237 -0
- package/dist/esm/hyperstackHeaders.js +1 -1
- package/dist/hyperstackHeaders.js +1 -1
- package/hyperstackHeaders.ts +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -1108,6 +1108,12 @@ export interface ClusterFields {
|
|
|
1108
1108
|
* @memberof ClusterFields
|
|
1109
1109
|
*/
|
|
1110
1110
|
'environment_name'?: string;
|
|
1111
|
+
/**
|
|
1112
|
+
*
|
|
1113
|
+
* @type {boolean}
|
|
1114
|
+
* @memberof ClusterFields
|
|
1115
|
+
*/
|
|
1116
|
+
'has_persistent_storage'?: boolean;
|
|
1111
1117
|
/**
|
|
1112
1118
|
*
|
|
1113
1119
|
* @type {number}
|
|
@@ -1624,6 +1630,56 @@ export interface ClusterResponse {
|
|
|
1624
1630
|
*/
|
|
1625
1631
|
'status'?: boolean;
|
|
1626
1632
|
}
|
|
1633
|
+
/**
|
|
1634
|
+
*
|
|
1635
|
+
* @export
|
|
1636
|
+
* @interface ClusterRestoreFailedNode
|
|
1637
|
+
*/
|
|
1638
|
+
export interface ClusterRestoreFailedNode {
|
|
1639
|
+
/**
|
|
1640
|
+
*
|
|
1641
|
+
* @type {string}
|
|
1642
|
+
* @memberof ClusterRestoreFailedNode
|
|
1643
|
+
*/
|
|
1644
|
+
'error'?: string;
|
|
1645
|
+
/**
|
|
1646
|
+
*
|
|
1647
|
+
* @type {number}
|
|
1648
|
+
* @memberof ClusterRestoreFailedNode
|
|
1649
|
+
*/
|
|
1650
|
+
'id'?: number;
|
|
1651
|
+
}
|
|
1652
|
+
/**
|
|
1653
|
+
*
|
|
1654
|
+
* @export
|
|
1655
|
+
* @interface ClusterRestoreResponse
|
|
1656
|
+
*/
|
|
1657
|
+
export interface ClusterRestoreResponse {
|
|
1658
|
+
/**
|
|
1659
|
+
*
|
|
1660
|
+
* @type {Array<ClusterRestoreFailedNode>}
|
|
1661
|
+
* @memberof ClusterRestoreResponse
|
|
1662
|
+
*/
|
|
1663
|
+
'failed_nodes'?: Array<ClusterRestoreFailedNode>;
|
|
1664
|
+
/**
|
|
1665
|
+
*
|
|
1666
|
+
* @type {string}
|
|
1667
|
+
* @memberof ClusterRestoreResponse
|
|
1668
|
+
*/
|
|
1669
|
+
'message'?: string;
|
|
1670
|
+
/**
|
|
1671
|
+
*
|
|
1672
|
+
* @type {Array<number>}
|
|
1673
|
+
* @memberof ClusterRestoreResponse
|
|
1674
|
+
*/
|
|
1675
|
+
'restoring_nodes'?: Array<number>;
|
|
1676
|
+
/**
|
|
1677
|
+
*
|
|
1678
|
+
* @type {boolean}
|
|
1679
|
+
* @memberof ClusterRestoreResponse
|
|
1680
|
+
*/
|
|
1681
|
+
'status'?: boolean;
|
|
1682
|
+
}
|
|
1627
1683
|
/**
|
|
1628
1684
|
*
|
|
1629
1685
|
* @export
|
|
@@ -6029,6 +6085,19 @@ export interface ObjectStorageAccessKeyResponse {
|
|
|
6029
6085
|
*/
|
|
6030
6086
|
'user_id': number;
|
|
6031
6087
|
}
|
|
6088
|
+
/**
|
|
6089
|
+
*
|
|
6090
|
+
* @export
|
|
6091
|
+
* @interface ObjectStorageAccessKeyUpdateRequest
|
|
6092
|
+
*/
|
|
6093
|
+
export interface ObjectStorageAccessKeyUpdateRequest {
|
|
6094
|
+
/**
|
|
6095
|
+
*
|
|
6096
|
+
* @type {string}
|
|
6097
|
+
* @memberof ObjectStorageAccessKeyUpdateRequest
|
|
6098
|
+
*/
|
|
6099
|
+
'description': string;
|
|
6100
|
+
}
|
|
6032
6101
|
/**
|
|
6033
6102
|
*
|
|
6034
6103
|
* @export
|
|
@@ -10617,6 +10686,31 @@ export interface WorkloadBillingHistoryResponse {
|
|
|
10617
10686
|
*/
|
|
10618
10687
|
'success'?: boolean;
|
|
10619
10688
|
}
|
|
10689
|
+
/**
|
|
10690
|
+
*
|
|
10691
|
+
* @export
|
|
10692
|
+
* @interface ZendeskMessagingToken
|
|
10693
|
+
*/
|
|
10694
|
+
export interface ZendeskMessagingToken {
|
|
10695
|
+
/**
|
|
10696
|
+
*
|
|
10697
|
+
* @type {string}
|
|
10698
|
+
* @memberof ZendeskMessagingToken
|
|
10699
|
+
*/
|
|
10700
|
+
'message'?: string;
|
|
10701
|
+
/**
|
|
10702
|
+
*
|
|
10703
|
+
* @type {boolean}
|
|
10704
|
+
* @memberof ZendeskMessagingToken
|
|
10705
|
+
*/
|
|
10706
|
+
'status'?: boolean;
|
|
10707
|
+
/**
|
|
10708
|
+
* Signed HS256 JWT to pass to the Zendesk Web Widget loginUser API
|
|
10709
|
+
* @type {string}
|
|
10710
|
+
* @memberof ZendeskMessagingToken
|
|
10711
|
+
*/
|
|
10712
|
+
'token'?: string;
|
|
10713
|
+
}
|
|
10620
10714
|
/**
|
|
10621
10715
|
* AccessKeysApi - axios parameter creator
|
|
10622
10716
|
* @export
|
|
@@ -10648,6 +10742,15 @@ export declare const AccessKeysApiAxiosParamCreator: (configuration?: Configurat
|
|
|
10648
10742
|
* @throws {RequiredError}
|
|
10649
10743
|
*/
|
|
10650
10744
|
listAccessKeysEndpoint: (search?: string, page?: string, pageSize?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10745
|
+
/**
|
|
10746
|
+
*
|
|
10747
|
+
* @summary Rename an existing access key
|
|
10748
|
+
* @param {string} accessKeyId
|
|
10749
|
+
* @param {ObjectStorageAccessKeyUpdateRequest} [body]
|
|
10750
|
+
* @param {*} [options] Override http request option.
|
|
10751
|
+
* @throws {RequiredError}
|
|
10752
|
+
*/
|
|
10753
|
+
updateAccessKeyEndpoint: (accessKeyId: string, body?: ObjectStorageAccessKeyUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10651
10754
|
};
|
|
10652
10755
|
/**
|
|
10653
10756
|
* AccessKeysApi - functional programming interface
|
|
@@ -10680,6 +10783,15 @@ export declare const AccessKeysApiFp: (configuration?: Configuration) => {
|
|
|
10680
10783
|
* @throws {RequiredError}
|
|
10681
10784
|
*/
|
|
10682
10785
|
listAccessKeysEndpoint(search?: string, page?: string, pageSize?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ObjectStorageAccessKeyListResponse>>;
|
|
10786
|
+
/**
|
|
10787
|
+
*
|
|
10788
|
+
* @summary Rename an existing access key
|
|
10789
|
+
* @param {string} accessKeyId
|
|
10790
|
+
* @param {ObjectStorageAccessKeyUpdateRequest} [body]
|
|
10791
|
+
* @param {*} [options] Override http request option.
|
|
10792
|
+
* @throws {RequiredError}
|
|
10793
|
+
*/
|
|
10794
|
+
updateAccessKeyEndpoint(accessKeyId: string, body?: ObjectStorageAccessKeyUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ObjectStorageAccessKeyResponse>>;
|
|
10683
10795
|
};
|
|
10684
10796
|
/**
|
|
10685
10797
|
* AccessKeysApi - factory interface
|
|
@@ -10712,6 +10824,15 @@ export declare const AccessKeysApiFactory: (configuration?: Configuration, baseP
|
|
|
10712
10824
|
* @throws {RequiredError}
|
|
10713
10825
|
*/
|
|
10714
10826
|
listAccessKeysEndpoint(search?: string, page?: string, pageSize?: string, options?: RawAxiosRequestConfig): AxiosPromise<ObjectStorageAccessKeyListResponse>;
|
|
10827
|
+
/**
|
|
10828
|
+
*
|
|
10829
|
+
* @summary Rename an existing access key
|
|
10830
|
+
* @param {string} accessKeyId
|
|
10831
|
+
* @param {ObjectStorageAccessKeyUpdateRequest} [body]
|
|
10832
|
+
* @param {*} [options] Override http request option.
|
|
10833
|
+
* @throws {RequiredError}
|
|
10834
|
+
*/
|
|
10835
|
+
updateAccessKeyEndpoint(accessKeyId: string, body?: ObjectStorageAccessKeyUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ObjectStorageAccessKeyResponse>;
|
|
10715
10836
|
};
|
|
10716
10837
|
/**
|
|
10717
10838
|
* AccessKeysApi - object-oriented interface
|
|
@@ -10749,6 +10870,16 @@ export declare class AccessKeysApi extends BaseAPI {
|
|
|
10749
10870
|
* @memberof AccessKeysApi
|
|
10750
10871
|
*/
|
|
10751
10872
|
listAccessKeysEndpoint(search?: string, page?: string, pageSize?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ObjectStorageAccessKeyListResponse, any, {}, any>>;
|
|
10873
|
+
/**
|
|
10874
|
+
*
|
|
10875
|
+
* @summary Rename an existing access key
|
|
10876
|
+
* @param {string} accessKeyId
|
|
10877
|
+
* @param {ObjectStorageAccessKeyUpdateRequest} [body]
|
|
10878
|
+
* @param {*} [options] Override http request option.
|
|
10879
|
+
* @throws {RequiredError}
|
|
10880
|
+
* @memberof AccessKeysApi
|
|
10881
|
+
*/
|
|
10882
|
+
updateAccessKeyEndpoint(accessKeyId: string, body?: ObjectStorageAccessKeyUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ObjectStorageAccessKeyResponse, any, {}, any>>;
|
|
10752
10883
|
}
|
|
10753
10884
|
/**
|
|
10754
10885
|
* AliveApi - axios parameter creator
|
|
@@ -13860,6 +13991,14 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
13860
13991
|
* @throws {RequiredError}
|
|
13861
13992
|
*/
|
|
13862
13993
|
reconcileCluster: (clusterId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13994
|
+
/**
|
|
13995
|
+
*
|
|
13996
|
+
* @summary Restore a hibernated cluster\'s nodes and reconcile the cluster
|
|
13997
|
+
* @param {number} clusterId
|
|
13998
|
+
* @param {*} [options] Override http request option.
|
|
13999
|
+
* @throws {RequiredError}
|
|
14000
|
+
*/
|
|
14001
|
+
restoreAHibernatedCluster: (clusterId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13863
14002
|
/**
|
|
13864
14003
|
*
|
|
13865
14004
|
* @summary Update a node group in a cluster
|
|
@@ -14012,6 +14151,14 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
14012
14151
|
* @throws {RequiredError}
|
|
14013
14152
|
*/
|
|
14014
14153
|
reconcileCluster(clusterId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManualReconciliationModel>>;
|
|
14154
|
+
/**
|
|
14155
|
+
*
|
|
14156
|
+
* @summary Restore a hibernated cluster\'s nodes and reconcile the cluster
|
|
14157
|
+
* @param {number} clusterId
|
|
14158
|
+
* @param {*} [options] Override http request option.
|
|
14159
|
+
* @throws {RequiredError}
|
|
14160
|
+
*/
|
|
14161
|
+
restoreAHibernatedCluster(clusterId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterRestoreResponse>>;
|
|
14015
14162
|
/**
|
|
14016
14163
|
*
|
|
14017
14164
|
* @summary Update a node group in a cluster
|
|
@@ -14164,6 +14311,14 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
14164
14311
|
* @throws {RequiredError}
|
|
14165
14312
|
*/
|
|
14166
14313
|
reconcileCluster(clusterId: number, options?: RawAxiosRequestConfig): AxiosPromise<ManualReconciliationModel>;
|
|
14314
|
+
/**
|
|
14315
|
+
*
|
|
14316
|
+
* @summary Restore a hibernated cluster\'s nodes and reconcile the cluster
|
|
14317
|
+
* @param {number} clusterId
|
|
14318
|
+
* @param {*} [options] Override http request option.
|
|
14319
|
+
* @throws {RequiredError}
|
|
14320
|
+
*/
|
|
14321
|
+
restoreAHibernatedCluster(clusterId: number, options?: RawAxiosRequestConfig): AxiosPromise<ClusterRestoreResponse>;
|
|
14167
14322
|
/**
|
|
14168
14323
|
*
|
|
14169
14324
|
* @summary Update a node group in a cluster
|
|
@@ -14334,6 +14489,15 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
14334
14489
|
* @memberof ClustersApi
|
|
14335
14490
|
*/
|
|
14336
14491
|
reconcileCluster(clusterId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ManualReconciliationModel, any, {}, any>>;
|
|
14492
|
+
/**
|
|
14493
|
+
*
|
|
14494
|
+
* @summary Restore a hibernated cluster\'s nodes and reconcile the cluster
|
|
14495
|
+
* @param {number} clusterId
|
|
14496
|
+
* @param {*} [options] Override http request option.
|
|
14497
|
+
* @throws {RequiredError}
|
|
14498
|
+
* @memberof ClustersApi
|
|
14499
|
+
*/
|
|
14500
|
+
restoreAHibernatedCluster(clusterId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterRestoreResponse, any, {}, any>>;
|
|
14337
14501
|
/**
|
|
14338
14502
|
*
|
|
14339
14503
|
* @summary Update a node group in a cluster
|
|
@@ -19470,3 +19634,58 @@ export declare class VouchersApi extends BaseAPI {
|
|
|
19470
19634
|
*/
|
|
19471
19635
|
redeemAVoucher(payload: RedeemVoucherPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VoucherRedeemResponseSchema, any, {}, any>>;
|
|
19472
19636
|
}
|
|
19637
|
+
/**
|
|
19638
|
+
* ZendeskApi - axios parameter creator
|
|
19639
|
+
* @export
|
|
19640
|
+
*/
|
|
19641
|
+
export declare const ZendeskApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
19642
|
+
/**
|
|
19643
|
+
* 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\'.
|
|
19644
|
+
* @summary Retrieve a Zendesk messaging JWT for the current user
|
|
19645
|
+
* @param {*} [options] Override http request option.
|
|
19646
|
+
* @throws {RequiredError}
|
|
19647
|
+
*/
|
|
19648
|
+
getZendeskMessagingToken: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19649
|
+
};
|
|
19650
|
+
/**
|
|
19651
|
+
* ZendeskApi - functional programming interface
|
|
19652
|
+
* @export
|
|
19653
|
+
*/
|
|
19654
|
+
export declare const ZendeskApiFp: (configuration?: Configuration) => {
|
|
19655
|
+
/**
|
|
19656
|
+
* 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\'.
|
|
19657
|
+
* @summary Retrieve a Zendesk messaging JWT for the current user
|
|
19658
|
+
* @param {*} [options] Override http request option.
|
|
19659
|
+
* @throws {RequiredError}
|
|
19660
|
+
*/
|
|
19661
|
+
getZendeskMessagingToken(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ZendeskMessagingToken>>;
|
|
19662
|
+
};
|
|
19663
|
+
/**
|
|
19664
|
+
* ZendeskApi - factory interface
|
|
19665
|
+
* @export
|
|
19666
|
+
*/
|
|
19667
|
+
export declare const ZendeskApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
19668
|
+
/**
|
|
19669
|
+
* 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\'.
|
|
19670
|
+
* @summary Retrieve a Zendesk messaging JWT for the current user
|
|
19671
|
+
* @param {*} [options] Override http request option.
|
|
19672
|
+
* @throws {RequiredError}
|
|
19673
|
+
*/
|
|
19674
|
+
getZendeskMessagingToken(options?: RawAxiosRequestConfig): AxiosPromise<ZendeskMessagingToken>;
|
|
19675
|
+
};
|
|
19676
|
+
/**
|
|
19677
|
+
* ZendeskApi - object-oriented interface
|
|
19678
|
+
* @export
|
|
19679
|
+
* @class ZendeskApi
|
|
19680
|
+
* @extends {BaseAPI}
|
|
19681
|
+
*/
|
|
19682
|
+
export declare class ZendeskApi extends BaseAPI {
|
|
19683
|
+
/**
|
|
19684
|
+
* 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\'.
|
|
19685
|
+
* @summary Retrieve a Zendesk messaging JWT for the current user
|
|
19686
|
+
* @param {*} [options] Override http request option.
|
|
19687
|
+
* @throws {RequiredError}
|
|
19688
|
+
* @memberof ZendeskApi
|
|
19689
|
+
*/
|
|
19690
|
+
getZendeskMessagingToken(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ZendeskMessagingToken, any, {}, any>>;
|
|
19691
|
+
}
|
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
|
/**
|
|
@@ -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
|
|
@@ -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;
|