hostinger-api-sdk 2.16.0 → 3.0.0
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 +352 -84
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +255 -77
- package/dist/api.js +210 -85
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +255 -77
- package/dist/esm/api.js +198 -73
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/GPUCatalogApi.md +5 -10
- package/docs/GPUExposedServicesApi.md +3 -0
- package/docs/GPUInstancesApi.md +3 -0
- package/docs/GPUV1InstanceInstanceListResource.md +2 -0
- package/docs/GPUV1InstanceInstanceResource.md +4 -0
- package/docs/GPUV1LlmModelVariantLlmModelVariantResource.md +30 -0
- package/docs/GPUV1OsTemplateOsTemplateResource.md +0 -2
- package/docs/GPUV1PoolPoolGroupResource.md +5 -1
- package/docs/GPUV1PoolPoolInstanceResource.md +1 -1
- package/docs/ReachCampaignsApi.md +119 -0
- package/docs/ReachV1CampaignsCreatedCampaignResource.md +1 -1
- package/docs/ReachV1CampaignsUpdateRequest.md +37 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version:
|
|
4
|
+
* API Version: 3.0.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -6997,6 +6997,12 @@ export interface GPUV1InstanceInstanceListResource {
|
|
|
6997
6997
|
* @memberof GPUV1InstanceInstanceListResource
|
|
6998
6998
|
*/
|
|
6999
6999
|
'action_lock': GPUV1InstanceInstanceListResourceActionLockEnum;
|
|
7000
|
+
/**
|
|
7001
|
+
* Action in progress on the instance, `null` when unlocked
|
|
7002
|
+
* @type {string}
|
|
7003
|
+
* @memberof GPUV1InstanceInstanceListResource
|
|
7004
|
+
*/
|
|
7005
|
+
'action_lock_reason': GPUV1InstanceInstanceListResourceActionLockReasonEnum | null;
|
|
7000
7006
|
/**
|
|
7001
7007
|
*
|
|
7002
7008
|
* @type {GPUV1PoolPoolResource}
|
|
@@ -7033,6 +7039,17 @@ export declare const GPUV1InstanceInstanceListResourceActionLockEnum: {
|
|
|
7033
7039
|
readonly Locked: "locked";
|
|
7034
7040
|
};
|
|
7035
7041
|
export type GPUV1InstanceInstanceListResourceActionLockEnum = typeof GPUV1InstanceInstanceListResourceActionLockEnum[keyof typeof GPUV1InstanceInstanceListResourceActionLockEnum];
|
|
7042
|
+
export declare const GPUV1InstanceInstanceListResourceActionLockReasonEnum: {
|
|
7043
|
+
readonly Creating: "creating";
|
|
7044
|
+
readonly Booting: "booting";
|
|
7045
|
+
readonly InstallingTemplate: "installing_template";
|
|
7046
|
+
readonly ExposingService: "exposing_service";
|
|
7047
|
+
readonly ConcealingService: "concealing_service";
|
|
7048
|
+
readonly Restarting: "restarting";
|
|
7049
|
+
readonly Destroying: "destroying";
|
|
7050
|
+
readonly Renaming: "renaming";
|
|
7051
|
+
};
|
|
7052
|
+
export type GPUV1InstanceInstanceListResourceActionLockReasonEnum = typeof GPUV1InstanceInstanceListResourceActionLockReasonEnum[keyof typeof GPUV1InstanceInstanceListResourceActionLockReasonEnum];
|
|
7036
7053
|
/**
|
|
7037
7054
|
*
|
|
7038
7055
|
* @export
|
|
@@ -7063,6 +7080,12 @@ export interface GPUV1InstanceInstanceResource {
|
|
|
7063
7080
|
* @memberof GPUV1InstanceInstanceResource
|
|
7064
7081
|
*/
|
|
7065
7082
|
'action_lock': GPUV1InstanceInstanceResourceActionLockEnum;
|
|
7083
|
+
/**
|
|
7084
|
+
* Action in progress on the instance, `null` when unlocked
|
|
7085
|
+
* @type {string}
|
|
7086
|
+
* @memberof GPUV1InstanceInstanceResource
|
|
7087
|
+
*/
|
|
7088
|
+
'action_lock_reason': GPUV1InstanceInstanceResourceActionLockReasonEnum | null;
|
|
7066
7089
|
/**
|
|
7067
7090
|
*
|
|
7068
7091
|
* @type {GPUV1PoolPoolResource}
|
|
@@ -7081,6 +7104,12 @@ export interface GPUV1InstanceInstanceResource {
|
|
|
7081
7104
|
* @memberof GPUV1InstanceInstanceResource
|
|
7082
7105
|
*/
|
|
7083
7106
|
'os_template': GPUV1OsTemplateOsTemplateResource;
|
|
7107
|
+
/**
|
|
7108
|
+
*
|
|
7109
|
+
* @type {GPUV1LlmModelVariantLlmModelVariantResource}
|
|
7110
|
+
* @memberof GPUV1InstanceInstanceResource
|
|
7111
|
+
*/
|
|
7112
|
+
'llm_model_variant': GPUV1LlmModelVariantLlmModelVariantResource | null;
|
|
7084
7113
|
/**
|
|
7085
7114
|
* Array of [`GPU.V1.SshKey.SshKeyResource`](#model/gpuv1sshkeysshkeyresource)
|
|
7086
7115
|
* @type {Array<GPUV1SshKeySshKeyResource>}
|
|
@@ -7105,6 +7134,17 @@ export declare const GPUV1InstanceInstanceResourceActionLockEnum: {
|
|
|
7105
7134
|
readonly Locked: "locked";
|
|
7106
7135
|
};
|
|
7107
7136
|
export type GPUV1InstanceInstanceResourceActionLockEnum = typeof GPUV1InstanceInstanceResourceActionLockEnum[keyof typeof GPUV1InstanceInstanceResourceActionLockEnum];
|
|
7137
|
+
export declare const GPUV1InstanceInstanceResourceActionLockReasonEnum: {
|
|
7138
|
+
readonly Creating: "creating";
|
|
7139
|
+
readonly Booting: "booting";
|
|
7140
|
+
readonly InstallingTemplate: "installing_template";
|
|
7141
|
+
readonly ExposingService: "exposing_service";
|
|
7142
|
+
readonly ConcealingService: "concealing_service";
|
|
7143
|
+
readonly Restarting: "restarting";
|
|
7144
|
+
readonly Destroying: "destroying";
|
|
7145
|
+
readonly Renaming: "renaming";
|
|
7146
|
+
};
|
|
7147
|
+
export type GPUV1InstanceInstanceResourceActionLockReasonEnum = typeof GPUV1InstanceInstanceResourceActionLockReasonEnum[keyof typeof GPUV1InstanceInstanceResourceActionLockReasonEnum];
|
|
7108
7148
|
/**
|
|
7109
7149
|
*
|
|
7110
7150
|
* @export
|
|
@@ -7136,6 +7176,58 @@ export interface GPUV1InstanceStoreRequest {
|
|
|
7136
7176
|
*/
|
|
7137
7177
|
'public_keys': Array<string>;
|
|
7138
7178
|
}
|
|
7179
|
+
/**
|
|
7180
|
+
*
|
|
7181
|
+
* @export
|
|
7182
|
+
* @interface GPUV1LlmModelVariantLlmModelVariantResource
|
|
7183
|
+
*/
|
|
7184
|
+
export interface GPUV1LlmModelVariantLlmModelVariantResource {
|
|
7185
|
+
/**
|
|
7186
|
+
* LLM model variant ID
|
|
7187
|
+
* @type {number}
|
|
7188
|
+
* @memberof GPUV1LlmModelVariantLlmModelVariantResource
|
|
7189
|
+
*/
|
|
7190
|
+
'id': number;
|
|
7191
|
+
/**
|
|
7192
|
+
*
|
|
7193
|
+
* @type {string}
|
|
7194
|
+
* @memberof GPUV1LlmModelVariantLlmModelVariantResource
|
|
7195
|
+
*/
|
|
7196
|
+
'model_tag': string;
|
|
7197
|
+
/**
|
|
7198
|
+
*
|
|
7199
|
+
* @type {number}
|
|
7200
|
+
* @memberof GPUV1LlmModelVariantLlmModelVariantResource
|
|
7201
|
+
*/
|
|
7202
|
+
'parameter_count': number;
|
|
7203
|
+
/**
|
|
7204
|
+
*
|
|
7205
|
+
* @type {Array<string>}
|
|
7206
|
+
* @memberof GPUV1LlmModelVariantLlmModelVariantResource
|
|
7207
|
+
*/
|
|
7208
|
+
'capabilities': Array<GPUV1LlmModelVariantLlmModelVariantResourceCapabilitiesEnum>;
|
|
7209
|
+
/**
|
|
7210
|
+
* Dark theme icon image ID
|
|
7211
|
+
* @type {string}
|
|
7212
|
+
* @memberof GPUV1LlmModelVariantLlmModelVariantResource
|
|
7213
|
+
*/
|
|
7214
|
+
'dark_image_id': string | null;
|
|
7215
|
+
/**
|
|
7216
|
+
* Light theme icon image ID
|
|
7217
|
+
* @type {string}
|
|
7218
|
+
* @memberof GPUV1LlmModelVariantLlmModelVariantResource
|
|
7219
|
+
*/
|
|
7220
|
+
'light_image_id': string | null;
|
|
7221
|
+
}
|
|
7222
|
+
export declare const GPUV1LlmModelVariantLlmModelVariantResourceCapabilitiesEnum: {
|
|
7223
|
+
readonly Tools: "tools";
|
|
7224
|
+
readonly Thinking: "thinking";
|
|
7225
|
+
readonly Vision: "vision";
|
|
7226
|
+
readonly Sound: "sound";
|
|
7227
|
+
readonly Embedding: "embedding";
|
|
7228
|
+
readonly Decision: "decision";
|
|
7229
|
+
};
|
|
7230
|
+
export type GPUV1LlmModelVariantLlmModelVariantResourceCapabilitiesEnum = typeof GPUV1LlmModelVariantLlmModelVariantResourceCapabilitiesEnum[keyof typeof GPUV1LlmModelVariantLlmModelVariantResourceCapabilitiesEnum];
|
|
7139
7231
|
/**
|
|
7140
7232
|
*
|
|
7141
7233
|
* @export
|
|
@@ -7203,12 +7295,6 @@ export interface GPUV1OsTemplateOsTemplateResource {
|
|
|
7203
7295
|
* @memberof GPUV1OsTemplateOsTemplateResource
|
|
7204
7296
|
*/
|
|
7205
7297
|
'kb_url': string;
|
|
7206
|
-
/**
|
|
7207
|
-
* Icon image ID
|
|
7208
|
-
* @type {string}
|
|
7209
|
-
* @memberof GPUV1OsTemplateOsTemplateResource
|
|
7210
|
-
*/
|
|
7211
|
-
'image': string | null;
|
|
7212
7298
|
/**
|
|
7213
7299
|
* Dark theme icon image ID
|
|
7214
7300
|
* @type {string}
|
|
@@ -7240,6 +7326,18 @@ export interface GPUV1PoolPoolGroupResource {
|
|
|
7240
7326
|
* @memberof GPUV1PoolPoolGroupResource
|
|
7241
7327
|
*/
|
|
7242
7328
|
'name': string;
|
|
7329
|
+
/**
|
|
7330
|
+
*
|
|
7331
|
+
* @type {string}
|
|
7332
|
+
* @memberof GPUV1PoolPoolGroupResource
|
|
7333
|
+
*/
|
|
7334
|
+
'description': string | null;
|
|
7335
|
+
/**
|
|
7336
|
+
*
|
|
7337
|
+
* @type {string}
|
|
7338
|
+
* @memberof GPUV1PoolPoolGroupResource
|
|
7339
|
+
*/
|
|
7340
|
+
'feature': string | null;
|
|
7243
7341
|
/**
|
|
7244
7342
|
* Total VRAM in bytes
|
|
7245
7343
|
* @type {number}
|
|
@@ -7253,7 +7351,7 @@ export interface GPUV1PoolPoolGroupResource {
|
|
|
7253
7351
|
*/
|
|
7254
7352
|
'is_available': boolean;
|
|
7255
7353
|
/**
|
|
7256
|
-
* Lowest hourly price of the group instance types, in
|
|
7354
|
+
* Lowest hourly price of the group instance types, in credits
|
|
7257
7355
|
* @type {number}
|
|
7258
7356
|
* @memberof GPUV1PoolPoolGroupResource
|
|
7259
7357
|
*/
|
|
@@ -7308,7 +7406,7 @@ export interface GPUV1PoolPoolInstanceResource {
|
|
|
7308
7406
|
*/
|
|
7309
7407
|
'storage': number;
|
|
7310
7408
|
/**
|
|
7311
|
-
* Hourly price in
|
|
7409
|
+
* Hourly price in credits
|
|
7312
7410
|
* @type {number}
|
|
7313
7411
|
* @memberof GPUV1PoolPoolInstanceResource
|
|
7314
7412
|
*/
|
|
@@ -13819,7 +13917,7 @@ export interface ReachV1CampaignsCreatedCampaignResource {
|
|
|
13819
13917
|
*/
|
|
13820
13918
|
'template_uuid': string | null;
|
|
13821
13919
|
/**
|
|
13822
|
-
* Always `draft` for a campaign that was just created.
|
|
13920
|
+
* Always `draft` for a campaign that was just created; the current status after an update.
|
|
13823
13921
|
* @type {string}
|
|
13824
13922
|
* @memberof ReachV1CampaignsCreatedCampaignResource
|
|
13825
13923
|
*/
|
|
@@ -13933,6 +14031,67 @@ export interface ReachV1CampaignsStoreRequestMetadata {
|
|
|
13933
14031
|
*/
|
|
13934
14032
|
'source': string;
|
|
13935
14033
|
}
|
|
14034
|
+
/**
|
|
14035
|
+
* Update a campaign. Send at least one field; fields left out keep their current value.
|
|
14036
|
+
* @export
|
|
14037
|
+
* @interface ReachV1CampaignsUpdateRequest
|
|
14038
|
+
*/
|
|
14039
|
+
export interface ReachV1CampaignsUpdateRequest {
|
|
14040
|
+
/**
|
|
14041
|
+
* Name the campaign is listed under. Not shown to the recipients.
|
|
14042
|
+
* @type {string}
|
|
14043
|
+
* @memberof ReachV1CampaignsUpdateRequest
|
|
14044
|
+
*/
|
|
14045
|
+
'title': string;
|
|
14046
|
+
/**
|
|
14047
|
+
* Subject line of the email.
|
|
14048
|
+
* @type {string}
|
|
14049
|
+
* @memberof ReachV1CampaignsUpdateRequest
|
|
14050
|
+
*/
|
|
14051
|
+
'subject': string;
|
|
14052
|
+
/**
|
|
14053
|
+
* From name shown to the recipients.
|
|
14054
|
+
* @type {string}
|
|
14055
|
+
* @memberof ReachV1CampaignsUpdateRequest
|
|
14056
|
+
*/
|
|
14057
|
+
'sender_name': string;
|
|
14058
|
+
/**
|
|
14059
|
+
* From address of the campaign. Its domain has to be verified on the profile before the campaign can be sent.
|
|
14060
|
+
* @type {string}
|
|
14061
|
+
* @memberof ReachV1CampaignsUpdateRequest
|
|
14062
|
+
*/
|
|
14063
|
+
'sender_email': string;
|
|
14064
|
+
/**
|
|
14065
|
+
* Template to send, as returned by the template endpoints.
|
|
14066
|
+
* @type {string}
|
|
14067
|
+
* @memberof ReachV1CampaignsUpdateRequest
|
|
14068
|
+
*/
|
|
14069
|
+
'template_uuid': string;
|
|
14070
|
+
/**
|
|
14071
|
+
* `true` targets every contact of the profile, `false` targets only `segment_uuids`. Required when `segment_uuids` or `excluded_segment_uuids` is sent.
|
|
14072
|
+
* @type {boolean}
|
|
14073
|
+
* @memberof ReachV1CampaignsUpdateRequest
|
|
14074
|
+
*/
|
|
14075
|
+
'all_contacts': boolean;
|
|
14076
|
+
/**
|
|
14077
|
+
* Segments to target. Replaces the segments currently targeted.
|
|
14078
|
+
* @type {Array<string>}
|
|
14079
|
+
* @memberof ReachV1CampaignsUpdateRequest
|
|
14080
|
+
*/
|
|
14081
|
+
'segment_uuids': Array<string>;
|
|
14082
|
+
/**
|
|
14083
|
+
* Segments to leave out. Only allowed together with `all_contacts: true`.
|
|
14084
|
+
* @type {Array<string>}
|
|
14085
|
+
* @memberof ReachV1CampaignsUpdateRequest
|
|
14086
|
+
*/
|
|
14087
|
+
'excluded_segment_uuids': Array<string>;
|
|
14088
|
+
/**
|
|
14089
|
+
*
|
|
14090
|
+
* @type {ReachV1CampaignsStoreRequestMetadata}
|
|
14091
|
+
* @memberof ReachV1CampaignsUpdateRequest
|
|
14092
|
+
*/
|
|
14093
|
+
'metadata': ReachV1CampaignsStoreRequestMetadata | null;
|
|
14094
|
+
}
|
|
13936
14095
|
/**
|
|
13937
14096
|
* Create many contacts in one call
|
|
13938
14097
|
* @export
|
|
@@ -25413,13 +25572,12 @@ export declare class EcommerceStoresApi extends BaseAPI {
|
|
|
25413
25572
|
*/
|
|
25414
25573
|
export declare const GPUCatalogApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25415
25574
|
/**
|
|
25416
|
-
* Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
|
|
25575
|
+
* Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price, in credits, among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
|
|
25417
25576
|
* @summary Get pool groups
|
|
25418
|
-
* @param {GetPoolGroupsV1CurrencyEnum} [currency] Currency of the returned prices, `USD` by default
|
|
25419
25577
|
* @param {*} [options] Override http request option.
|
|
25420
25578
|
* @throws {RequiredError}
|
|
25421
25579
|
*/
|
|
25422
|
-
getPoolGroupsV1: (
|
|
25580
|
+
getPoolGroupsV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25423
25581
|
/**
|
|
25424
25582
|
* Retrieve the instance types offered by a specified GPU pool, ordered by CPU core count. Each instance type describes its CPU, memory and storage, and its hourly price. Only instance types that can currently be ordered are returned. Use this endpoint to choose the `pool_instance_id` for a new GPU instance.
|
|
25425
25583
|
* @summary Get pool instance types
|
|
@@ -25451,13 +25609,12 @@ export declare const GPUCatalogApiAxiosParamCreator: (configuration?: Configurat
|
|
|
25451
25609
|
*/
|
|
25452
25610
|
export declare const GPUCatalogApiFp: (configuration?: Configuration) => {
|
|
25453
25611
|
/**
|
|
25454
|
-
* Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
|
|
25612
|
+
* Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price, in credits, among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
|
|
25455
25613
|
* @summary Get pool groups
|
|
25456
|
-
* @param {GetPoolGroupsV1CurrencyEnum} [currency] Currency of the returned prices, `USD` by default
|
|
25457
25614
|
* @param {*} [options] Override http request option.
|
|
25458
25615
|
* @throws {RequiredError}
|
|
25459
25616
|
*/
|
|
25460
|
-
getPoolGroupsV1(
|
|
25617
|
+
getPoolGroupsV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GPUV1PoolPoolGroupResource>>>;
|
|
25461
25618
|
/**
|
|
25462
25619
|
* Retrieve the instance types offered by a specified GPU pool, ordered by CPU core count. Each instance type describes its CPU, memory and storage, and its hourly price. Only instance types that can currently be ordered are returned. Use this endpoint to choose the `pool_instance_id` for a new GPU instance.
|
|
25463
25620
|
* @summary Get pool instance types
|
|
@@ -25489,13 +25646,12 @@ export declare const GPUCatalogApiFp: (configuration?: Configuration) => {
|
|
|
25489
25646
|
*/
|
|
25490
25647
|
export declare const GPUCatalogApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
25491
25648
|
/**
|
|
25492
|
-
* Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
|
|
25649
|
+
* Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price, in credits, among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
|
|
25493
25650
|
* @summary Get pool groups
|
|
25494
|
-
* @param {GetPoolGroupsV1CurrencyEnum} [currency] Currency of the returned prices, `USD` by default
|
|
25495
25651
|
* @param {*} [options] Override http request option.
|
|
25496
25652
|
* @throws {RequiredError}
|
|
25497
25653
|
*/
|
|
25498
|
-
getPoolGroupsV1(
|
|
25654
|
+
getPoolGroupsV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<GPUV1PoolPoolGroupResource>>;
|
|
25499
25655
|
/**
|
|
25500
25656
|
* Retrieve the instance types offered by a specified GPU pool, ordered by CPU core count. Each instance type describes its CPU, memory and storage, and its hourly price. Only instance types that can currently be ordered are returned. Use this endpoint to choose the `pool_instance_id` for a new GPU instance.
|
|
25501
25657
|
* @summary Get pool instance types
|
|
@@ -25529,14 +25685,13 @@ export declare const GPUCatalogApiFactory: (configuration?: Configuration, baseP
|
|
|
25529
25685
|
*/
|
|
25530
25686
|
export declare class GPUCatalogApi extends BaseAPI {
|
|
25531
25687
|
/**
|
|
25532
|
-
* Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
|
|
25688
|
+
* Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price, in credits, among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
|
|
25533
25689
|
* @summary Get pool groups
|
|
25534
|
-
* @param {GetPoolGroupsV1CurrencyEnum} [currency] Currency of the returned prices, `USD` by default
|
|
25535
25690
|
* @param {*} [options] Override http request option.
|
|
25536
25691
|
* @throws {RequiredError}
|
|
25537
25692
|
* @memberof GPUCatalogApi
|
|
25538
25693
|
*/
|
|
25539
|
-
getPoolGroupsV1(
|
|
25694
|
+
getPoolGroupsV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GPUV1PoolPoolGroupResource[], any, {}, any>>;
|
|
25540
25695
|
/**
|
|
25541
25696
|
* Retrieve the instance types offered by a specified GPU pool, ordered by CPU core count. Each instance type describes its CPU, memory and storage, and its hourly price. Only instance types that can currently be ordered are returned. Use this endpoint to choose the `pool_instance_id` for a new GPU instance.
|
|
25542
25697
|
* @summary Get pool instance types
|
|
@@ -25565,61 +25720,6 @@ export declare class GPUCatalogApi extends BaseAPI {
|
|
|
25565
25720
|
*/
|
|
25566
25721
|
getPoolOSTemplatesV1(poolId: number, poolInstanceId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GPUV1OsTemplateOsTemplateResource[], any, {}, any>>;
|
|
25567
25722
|
}
|
|
25568
|
-
/**
|
|
25569
|
-
* @export
|
|
25570
|
-
*/
|
|
25571
|
-
export declare const GetPoolGroupsV1CurrencyEnum: {
|
|
25572
|
-
readonly Usd: "USD";
|
|
25573
|
-
readonly Ars: "ARS";
|
|
25574
|
-
readonly Amd: "AMD";
|
|
25575
|
-
readonly Aud: "AUD";
|
|
25576
|
-
readonly Azn: "AZN";
|
|
25577
|
-
readonly Bdt: "BDT";
|
|
25578
|
-
readonly Brl: "BRL";
|
|
25579
|
-
readonly Btc: "BTC";
|
|
25580
|
-
readonly Byn: "BYN";
|
|
25581
|
-
readonly Cad: "CAD";
|
|
25582
|
-
readonly Chf: "CHF";
|
|
25583
|
-
readonly Clp: "CLP";
|
|
25584
|
-
readonly Cny: "CNY";
|
|
25585
|
-
readonly Cop: "COP";
|
|
25586
|
-
readonly Czk: "CZK";
|
|
25587
|
-
readonly Dkk: "DKK";
|
|
25588
|
-
readonly Egp: "EGP";
|
|
25589
|
-
readonly Eur: "EUR";
|
|
25590
|
-
readonly Gbp: "GBP";
|
|
25591
|
-
readonly Gel: "GEL";
|
|
25592
|
-
readonly Hkd: "HKD";
|
|
25593
|
-
readonly Hrk: "HRK";
|
|
25594
|
-
readonly Huf: "HUF";
|
|
25595
|
-
readonly Idr: "IDR";
|
|
25596
|
-
readonly Ils: "ILS";
|
|
25597
|
-
readonly Inr: "INR";
|
|
25598
|
-
readonly Jpy: "JPY";
|
|
25599
|
-
readonly Kgs: "KGS";
|
|
25600
|
-
readonly Krw: "KRW";
|
|
25601
|
-
readonly Kzt: "KZT";
|
|
25602
|
-
readonly Mad: "MAD";
|
|
25603
|
-
readonly Mxn: "MXN";
|
|
25604
|
-
readonly Myr: "MYR";
|
|
25605
|
-
readonly Ngn: "NGN";
|
|
25606
|
-
readonly Nok: "NOK";
|
|
25607
|
-
readonly Nzd: "NZD";
|
|
25608
|
-
readonly Pen: "PEN";
|
|
25609
|
-
readonly Php: "PHP";
|
|
25610
|
-
readonly Pkr: "PKR";
|
|
25611
|
-
readonly Pln: "PLN";
|
|
25612
|
-
readonly Sek: "SEK";
|
|
25613
|
-
readonly Sgd: "SGD";
|
|
25614
|
-
readonly Thb: "THB";
|
|
25615
|
-
readonly Tjs: "TJS";
|
|
25616
|
-
readonly Try: "TRY";
|
|
25617
|
-
readonly Twd: "TWD";
|
|
25618
|
-
readonly Uah: "UAH";
|
|
25619
|
-
readonly Vnd: "VND";
|
|
25620
|
-
readonly Zar: "ZAR";
|
|
25621
|
-
};
|
|
25622
|
-
export type GetPoolGroupsV1CurrencyEnum = typeof GetPoolGroupsV1CurrencyEnum[keyof typeof GetPoolGroupsV1CurrencyEnum];
|
|
25623
25723
|
/**
|
|
25624
25724
|
* GPUExposedServicesApi - axios parameter creator
|
|
25625
25725
|
* @export
|
|
@@ -32130,6 +32230,25 @@ export declare const ReachCampaignsApiAxiosParamCreator: (configuration?: Config
|
|
|
32130
32230
|
* @throws {RequiredError}
|
|
32131
32231
|
*/
|
|
32132
32232
|
listCampaignsV1: (profileUuid: string, status?: ListCampaignsV1StatusEnum, type?: ListCampaignsV1TypeEnum, sortDirection?: ListCampaignsV1SortDirectionEnum, page?: number, perPage?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32233
|
+
/**
|
|
32234
|
+
* Send a campaign now to the audience stored on it. This is irreversible: once accepted, the emails go out and cannot be recalled. Confirm with the customer before calling. The campaign needs a subject, sender, template and audience first - set them with the update endpoint. Delivery is asynchronous, so success means accepted, not delivered: the campaign moves to `sending` and later to `publish`, or to `failed`. Read the campaign to follow it. The request is rejected when the campaign has no recipients, its sender domain is not verified or is blocked, the plan\'s sending limits would be exceeded, or the campaign is already being sent.
|
|
32235
|
+
* @summary Send campaign
|
|
32236
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
32237
|
+
* @param {string} campaignUuid Campaign uuid parameter
|
|
32238
|
+
* @param {*} [options] Override http request option.
|
|
32239
|
+
* @throws {RequiredError}
|
|
32240
|
+
*/
|
|
32241
|
+
sendCampaignV1: (profileUuid: string, campaignUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32242
|
+
/**
|
|
32243
|
+
* Update a campaign\'s content, sender, template and audience. Only `draft`, `scheduled` and `failed` campaigns can be updated; a campaign that is sending or already sent is rejected. Updating a `failed` campaign moves it back to `draft`. Audience changes replace rather than merge: `all_contacts: true` targets every contact of the profile, while `segment_uuids` replaces the segments currently targeted. Leave both out to keep the audience as it is. This does not send the campaign - use the send endpoint for that.
|
|
32244
|
+
* @summary Update campaign
|
|
32245
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
32246
|
+
* @param {string} campaignUuid Campaign uuid parameter
|
|
32247
|
+
* @param {ReachV1CampaignsUpdateRequest} reachV1CampaignsUpdateRequest
|
|
32248
|
+
* @param {*} [options] Override http request option.
|
|
32249
|
+
* @throws {RequiredError}
|
|
32250
|
+
*/
|
|
32251
|
+
updateCampaignV1: (profileUuid: string, campaignUuid: string, reachV1CampaignsUpdateRequest: ReachV1CampaignsUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32133
32252
|
};
|
|
32134
32253
|
/**
|
|
32135
32254
|
* ReachCampaignsApi - functional programming interface
|
|
@@ -32176,6 +32295,25 @@ export declare const ReachCampaignsApiFp: (configuration?: Configuration) => {
|
|
|
32176
32295
|
* @throws {RequiredError}
|
|
32177
32296
|
*/
|
|
32178
32297
|
listCampaignsV1(profileUuid: string, status?: ListCampaignsV1StatusEnum, type?: ListCampaignsV1TypeEnum, sortDirection?: ListCampaignsV1SortDirectionEnum, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachListCampaignsV1200Response>>;
|
|
32298
|
+
/**
|
|
32299
|
+
* Send a campaign now to the audience stored on it. This is irreversible: once accepted, the emails go out and cannot be recalled. Confirm with the customer before calling. The campaign needs a subject, sender, template and audience first - set them with the update endpoint. Delivery is asynchronous, so success means accepted, not delivered: the campaign moves to `sending` and later to `publish`, or to `failed`. Read the campaign to follow it. The request is rejected when the campaign has no recipients, its sender domain is not verified or is blocked, the plan\'s sending limits would be exceeded, or the campaign is already being sent.
|
|
32300
|
+
* @summary Send campaign
|
|
32301
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
32302
|
+
* @param {string} campaignUuid Campaign uuid parameter
|
|
32303
|
+
* @param {*} [options] Override http request option.
|
|
32304
|
+
* @throws {RequiredError}
|
|
32305
|
+
*/
|
|
32306
|
+
sendCampaignV1(profileUuid: string, campaignUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
32307
|
+
/**
|
|
32308
|
+
* Update a campaign\'s content, sender, template and audience. Only `draft`, `scheduled` and `failed` campaigns can be updated; a campaign that is sending or already sent is rejected. Updating a `failed` campaign moves it back to `draft`. Audience changes replace rather than merge: `all_contacts: true` targets every contact of the profile, while `segment_uuids` replaces the segments currently targeted. Leave both out to keep the audience as it is. This does not send the campaign - use the send endpoint for that.
|
|
32309
|
+
* @summary Update campaign
|
|
32310
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
32311
|
+
* @param {string} campaignUuid Campaign uuid parameter
|
|
32312
|
+
* @param {ReachV1CampaignsUpdateRequest} reachV1CampaignsUpdateRequest
|
|
32313
|
+
* @param {*} [options] Override http request option.
|
|
32314
|
+
* @throws {RequiredError}
|
|
32315
|
+
*/
|
|
32316
|
+
updateCampaignV1(profileUuid: string, campaignUuid: string, reachV1CampaignsUpdateRequest: ReachV1CampaignsUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachV1CampaignsCreatedCampaignResource>>;
|
|
32179
32317
|
};
|
|
32180
32318
|
/**
|
|
32181
32319
|
* ReachCampaignsApi - factory interface
|
|
@@ -32222,6 +32360,25 @@ export declare const ReachCampaignsApiFactory: (configuration?: Configuration, b
|
|
|
32222
32360
|
* @throws {RequiredError}
|
|
32223
32361
|
*/
|
|
32224
32362
|
listCampaignsV1(profileUuid: string, status?: ListCampaignsV1StatusEnum, type?: ListCampaignsV1TypeEnum, sortDirection?: ListCampaignsV1SortDirectionEnum, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<ReachListCampaignsV1200Response>;
|
|
32363
|
+
/**
|
|
32364
|
+
* Send a campaign now to the audience stored on it. This is irreversible: once accepted, the emails go out and cannot be recalled. Confirm with the customer before calling. The campaign needs a subject, sender, template and audience first - set them with the update endpoint. Delivery is asynchronous, so success means accepted, not delivered: the campaign moves to `sending` and later to `publish`, or to `failed`. Read the campaign to follow it. The request is rejected when the campaign has no recipients, its sender domain is not verified or is blocked, the plan\'s sending limits would be exceeded, or the campaign is already being sent.
|
|
32365
|
+
* @summary Send campaign
|
|
32366
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
32367
|
+
* @param {string} campaignUuid Campaign uuid parameter
|
|
32368
|
+
* @param {*} [options] Override http request option.
|
|
32369
|
+
* @throws {RequiredError}
|
|
32370
|
+
*/
|
|
32371
|
+
sendCampaignV1(profileUuid: string, campaignUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
32372
|
+
/**
|
|
32373
|
+
* Update a campaign\'s content, sender, template and audience. Only `draft`, `scheduled` and `failed` campaigns can be updated; a campaign that is sending or already sent is rejected. Updating a `failed` campaign moves it back to `draft`. Audience changes replace rather than merge: `all_contacts: true` targets every contact of the profile, while `segment_uuids` replaces the segments currently targeted. Leave both out to keep the audience as it is. This does not send the campaign - use the send endpoint for that.
|
|
32374
|
+
* @summary Update campaign
|
|
32375
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
32376
|
+
* @param {string} campaignUuid Campaign uuid parameter
|
|
32377
|
+
* @param {ReachV1CampaignsUpdateRequest} reachV1CampaignsUpdateRequest
|
|
32378
|
+
* @param {*} [options] Override http request option.
|
|
32379
|
+
* @throws {RequiredError}
|
|
32380
|
+
*/
|
|
32381
|
+
updateCampaignV1(profileUuid: string, campaignUuid: string, reachV1CampaignsUpdateRequest: ReachV1CampaignsUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReachV1CampaignsCreatedCampaignResource>;
|
|
32225
32382
|
};
|
|
32226
32383
|
/**
|
|
32227
32384
|
* ReachCampaignsApi - object-oriented interface
|
|
@@ -32274,6 +32431,27 @@ export declare class ReachCampaignsApi extends BaseAPI {
|
|
|
32274
32431
|
* @memberof ReachCampaignsApi
|
|
32275
32432
|
*/
|
|
32276
32433
|
listCampaignsV1(profileUuid: string, status?: ListCampaignsV1StatusEnum, type?: ListCampaignsV1TypeEnum, sortDirection?: ListCampaignsV1SortDirectionEnum, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachListCampaignsV1200Response, any, {}, any>>;
|
|
32434
|
+
/**
|
|
32435
|
+
* Send a campaign now to the audience stored on it. This is irreversible: once accepted, the emails go out and cannot be recalled. Confirm with the customer before calling. The campaign needs a subject, sender, template and audience first - set them with the update endpoint. Delivery is asynchronous, so success means accepted, not delivered: the campaign moves to `sending` and later to `publish`, or to `failed`. Read the campaign to follow it. The request is rejected when the campaign has no recipients, its sender domain is not verified or is blocked, the plan\'s sending limits would be exceeded, or the campaign is already being sent.
|
|
32436
|
+
* @summary Send campaign
|
|
32437
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
32438
|
+
* @param {string} campaignUuid Campaign uuid parameter
|
|
32439
|
+
* @param {*} [options] Override http request option.
|
|
32440
|
+
* @throws {RequiredError}
|
|
32441
|
+
* @memberof ReachCampaignsApi
|
|
32442
|
+
*/
|
|
32443
|
+
sendCampaignV1(profileUuid: string, campaignUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
32444
|
+
/**
|
|
32445
|
+
* Update a campaign\'s content, sender, template and audience. Only `draft`, `scheduled` and `failed` campaigns can be updated; a campaign that is sending or already sent is rejected. Updating a `failed` campaign moves it back to `draft`. Audience changes replace rather than merge: `all_contacts: true` targets every contact of the profile, while `segment_uuids` replaces the segments currently targeted. Leave both out to keep the audience as it is. This does not send the campaign - use the send endpoint for that.
|
|
32446
|
+
* @summary Update campaign
|
|
32447
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
32448
|
+
* @param {string} campaignUuid Campaign uuid parameter
|
|
32449
|
+
* @param {ReachV1CampaignsUpdateRequest} reachV1CampaignsUpdateRequest
|
|
32450
|
+
* @param {*} [options] Override http request option.
|
|
32451
|
+
* @throws {RequiredError}
|
|
32452
|
+
* @memberof ReachCampaignsApi
|
|
32453
|
+
*/
|
|
32454
|
+
updateCampaignV1(profileUuid: string, campaignUuid: string, reachV1CampaignsUpdateRequest: ReachV1CampaignsUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1CampaignsCreatedCampaignResource, any, {}, any>>;
|
|
32277
32455
|
}
|
|
32278
32456
|
/**
|
|
32279
32457
|
* @export
|