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/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
## @hostinger/sdk@
|
|
1
|
+
## @hostinger/sdk@3.0.0
|
|
2
2
|
|
|
3
3
|
For more information, please visit [https://developers.hostinger.com](https://developers.hostinger.com).
|
|
4
4
|
|
|
5
5
|
### Usage
|
|
6
6
|
|
|
7
7
|
```
|
|
8
|
-
npm install @hostinger/sdk@
|
|
8
|
+
npm install @hostinger/sdk@3.0.0 --save
|
|
9
9
|
```
|
package/api.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version:
|
|
6
|
+
* API Version: 3.0.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -7149,6 +7149,12 @@ export interface GPUV1InstanceInstanceListResource {
|
|
|
7149
7149
|
* @memberof GPUV1InstanceInstanceListResource
|
|
7150
7150
|
*/
|
|
7151
7151
|
'action_lock': GPUV1InstanceInstanceListResourceActionLockEnum;
|
|
7152
|
+
/**
|
|
7153
|
+
* Action in progress on the instance, `null` when unlocked
|
|
7154
|
+
* @type {string}
|
|
7155
|
+
* @memberof GPUV1InstanceInstanceListResource
|
|
7156
|
+
*/
|
|
7157
|
+
'action_lock_reason': GPUV1InstanceInstanceListResourceActionLockReasonEnum | null;
|
|
7152
7158
|
/**
|
|
7153
7159
|
*
|
|
7154
7160
|
* @type {GPUV1PoolPoolResource}
|
|
@@ -7188,6 +7194,18 @@ export const GPUV1InstanceInstanceListResourceActionLockEnum = {
|
|
|
7188
7194
|
} as const;
|
|
7189
7195
|
|
|
7190
7196
|
export type GPUV1InstanceInstanceListResourceActionLockEnum = typeof GPUV1InstanceInstanceListResourceActionLockEnum[keyof typeof GPUV1InstanceInstanceListResourceActionLockEnum];
|
|
7197
|
+
export const GPUV1InstanceInstanceListResourceActionLockReasonEnum = {
|
|
7198
|
+
Creating: 'creating',
|
|
7199
|
+
Booting: 'booting',
|
|
7200
|
+
InstallingTemplate: 'installing_template',
|
|
7201
|
+
ExposingService: 'exposing_service',
|
|
7202
|
+
ConcealingService: 'concealing_service',
|
|
7203
|
+
Restarting: 'restarting',
|
|
7204
|
+
Destroying: 'destroying',
|
|
7205
|
+
Renaming: 'renaming'
|
|
7206
|
+
} as const;
|
|
7207
|
+
|
|
7208
|
+
export type GPUV1InstanceInstanceListResourceActionLockReasonEnum = typeof GPUV1InstanceInstanceListResourceActionLockReasonEnum[keyof typeof GPUV1InstanceInstanceListResourceActionLockReasonEnum];
|
|
7191
7209
|
|
|
7192
7210
|
/**
|
|
7193
7211
|
*
|
|
@@ -7219,6 +7237,12 @@ export interface GPUV1InstanceInstanceResource {
|
|
|
7219
7237
|
* @memberof GPUV1InstanceInstanceResource
|
|
7220
7238
|
*/
|
|
7221
7239
|
'action_lock': GPUV1InstanceInstanceResourceActionLockEnum;
|
|
7240
|
+
/**
|
|
7241
|
+
* Action in progress on the instance, `null` when unlocked
|
|
7242
|
+
* @type {string}
|
|
7243
|
+
* @memberof GPUV1InstanceInstanceResource
|
|
7244
|
+
*/
|
|
7245
|
+
'action_lock_reason': GPUV1InstanceInstanceResourceActionLockReasonEnum | null;
|
|
7222
7246
|
/**
|
|
7223
7247
|
*
|
|
7224
7248
|
* @type {GPUV1PoolPoolResource}
|
|
@@ -7237,6 +7261,12 @@ export interface GPUV1InstanceInstanceResource {
|
|
|
7237
7261
|
* @memberof GPUV1InstanceInstanceResource
|
|
7238
7262
|
*/
|
|
7239
7263
|
'os_template': GPUV1OsTemplateOsTemplateResource;
|
|
7264
|
+
/**
|
|
7265
|
+
*
|
|
7266
|
+
* @type {GPUV1LlmModelVariantLlmModelVariantResource}
|
|
7267
|
+
* @memberof GPUV1InstanceInstanceResource
|
|
7268
|
+
*/
|
|
7269
|
+
'llm_model_variant': GPUV1LlmModelVariantLlmModelVariantResource | null;
|
|
7240
7270
|
/**
|
|
7241
7271
|
* Array of [`GPU.V1.SshKey.SshKeyResource`](#model/gpuv1sshkeysshkeyresource)
|
|
7242
7272
|
* @type {Array<GPUV1SshKeySshKeyResource>}
|
|
@@ -7264,6 +7294,18 @@ export const GPUV1InstanceInstanceResourceActionLockEnum = {
|
|
|
7264
7294
|
} as const;
|
|
7265
7295
|
|
|
7266
7296
|
export type GPUV1InstanceInstanceResourceActionLockEnum = typeof GPUV1InstanceInstanceResourceActionLockEnum[keyof typeof GPUV1InstanceInstanceResourceActionLockEnum];
|
|
7297
|
+
export const GPUV1InstanceInstanceResourceActionLockReasonEnum = {
|
|
7298
|
+
Creating: 'creating',
|
|
7299
|
+
Booting: 'booting',
|
|
7300
|
+
InstallingTemplate: 'installing_template',
|
|
7301
|
+
ExposingService: 'exposing_service',
|
|
7302
|
+
ConcealingService: 'concealing_service',
|
|
7303
|
+
Restarting: 'restarting',
|
|
7304
|
+
Destroying: 'destroying',
|
|
7305
|
+
Renaming: 'renaming'
|
|
7306
|
+
} as const;
|
|
7307
|
+
|
|
7308
|
+
export type GPUV1InstanceInstanceResourceActionLockReasonEnum = typeof GPUV1InstanceInstanceResourceActionLockReasonEnum[keyof typeof GPUV1InstanceInstanceResourceActionLockReasonEnum];
|
|
7267
7309
|
|
|
7268
7310
|
/**
|
|
7269
7311
|
*
|
|
@@ -7296,6 +7338,61 @@ export interface GPUV1InstanceStoreRequest {
|
|
|
7296
7338
|
*/
|
|
7297
7339
|
'public_keys': Array<string>;
|
|
7298
7340
|
}
|
|
7341
|
+
/**
|
|
7342
|
+
*
|
|
7343
|
+
* @export
|
|
7344
|
+
* @interface GPUV1LlmModelVariantLlmModelVariantResource
|
|
7345
|
+
*/
|
|
7346
|
+
export interface GPUV1LlmModelVariantLlmModelVariantResource {
|
|
7347
|
+
/**
|
|
7348
|
+
* LLM model variant ID
|
|
7349
|
+
* @type {number}
|
|
7350
|
+
* @memberof GPUV1LlmModelVariantLlmModelVariantResource
|
|
7351
|
+
*/
|
|
7352
|
+
'id': number;
|
|
7353
|
+
/**
|
|
7354
|
+
*
|
|
7355
|
+
* @type {string}
|
|
7356
|
+
* @memberof GPUV1LlmModelVariantLlmModelVariantResource
|
|
7357
|
+
*/
|
|
7358
|
+
'model_tag': string;
|
|
7359
|
+
/**
|
|
7360
|
+
*
|
|
7361
|
+
* @type {number}
|
|
7362
|
+
* @memberof GPUV1LlmModelVariantLlmModelVariantResource
|
|
7363
|
+
*/
|
|
7364
|
+
'parameter_count': number;
|
|
7365
|
+
/**
|
|
7366
|
+
*
|
|
7367
|
+
* @type {Array<string>}
|
|
7368
|
+
* @memberof GPUV1LlmModelVariantLlmModelVariantResource
|
|
7369
|
+
*/
|
|
7370
|
+
'capabilities': Array<GPUV1LlmModelVariantLlmModelVariantResourceCapabilitiesEnum>;
|
|
7371
|
+
/**
|
|
7372
|
+
* Dark theme icon image ID
|
|
7373
|
+
* @type {string}
|
|
7374
|
+
* @memberof GPUV1LlmModelVariantLlmModelVariantResource
|
|
7375
|
+
*/
|
|
7376
|
+
'dark_image_id': string | null;
|
|
7377
|
+
/**
|
|
7378
|
+
* Light theme icon image ID
|
|
7379
|
+
* @type {string}
|
|
7380
|
+
* @memberof GPUV1LlmModelVariantLlmModelVariantResource
|
|
7381
|
+
*/
|
|
7382
|
+
'light_image_id': string | null;
|
|
7383
|
+
}
|
|
7384
|
+
|
|
7385
|
+
export const GPUV1LlmModelVariantLlmModelVariantResourceCapabilitiesEnum = {
|
|
7386
|
+
Tools: 'tools',
|
|
7387
|
+
Thinking: 'thinking',
|
|
7388
|
+
Vision: 'vision',
|
|
7389
|
+
Sound: 'sound',
|
|
7390
|
+
Embedding: 'embedding',
|
|
7391
|
+
Decision: 'decision'
|
|
7392
|
+
} as const;
|
|
7393
|
+
|
|
7394
|
+
export type GPUV1LlmModelVariantLlmModelVariantResourceCapabilitiesEnum = typeof GPUV1LlmModelVariantLlmModelVariantResourceCapabilitiesEnum[keyof typeof GPUV1LlmModelVariantLlmModelVariantResourceCapabilitiesEnum];
|
|
7395
|
+
|
|
7299
7396
|
/**
|
|
7300
7397
|
*
|
|
7301
7398
|
* @export
|
|
@@ -7363,12 +7460,6 @@ export interface GPUV1OsTemplateOsTemplateResource {
|
|
|
7363
7460
|
* @memberof GPUV1OsTemplateOsTemplateResource
|
|
7364
7461
|
*/
|
|
7365
7462
|
'kb_url': string;
|
|
7366
|
-
/**
|
|
7367
|
-
* Icon image ID
|
|
7368
|
-
* @type {string}
|
|
7369
|
-
* @memberof GPUV1OsTemplateOsTemplateResource
|
|
7370
|
-
*/
|
|
7371
|
-
'image': string | null;
|
|
7372
7463
|
/**
|
|
7373
7464
|
* Dark theme icon image ID
|
|
7374
7465
|
* @type {string}
|
|
@@ -7400,6 +7491,18 @@ export interface GPUV1PoolPoolGroupResource {
|
|
|
7400
7491
|
* @memberof GPUV1PoolPoolGroupResource
|
|
7401
7492
|
*/
|
|
7402
7493
|
'name': string;
|
|
7494
|
+
/**
|
|
7495
|
+
*
|
|
7496
|
+
* @type {string}
|
|
7497
|
+
* @memberof GPUV1PoolPoolGroupResource
|
|
7498
|
+
*/
|
|
7499
|
+
'description': string | null;
|
|
7500
|
+
/**
|
|
7501
|
+
*
|
|
7502
|
+
* @type {string}
|
|
7503
|
+
* @memberof GPUV1PoolPoolGroupResource
|
|
7504
|
+
*/
|
|
7505
|
+
'feature': string | null;
|
|
7403
7506
|
/**
|
|
7404
7507
|
* Total VRAM in bytes
|
|
7405
7508
|
* @type {number}
|
|
@@ -7413,7 +7516,7 @@ export interface GPUV1PoolPoolGroupResource {
|
|
|
7413
7516
|
*/
|
|
7414
7517
|
'is_available': boolean;
|
|
7415
7518
|
/**
|
|
7416
|
-
* Lowest hourly price of the group instance types, in
|
|
7519
|
+
* Lowest hourly price of the group instance types, in credits
|
|
7417
7520
|
* @type {number}
|
|
7418
7521
|
* @memberof GPUV1PoolPoolGroupResource
|
|
7419
7522
|
*/
|
|
@@ -7468,7 +7571,7 @@ export interface GPUV1PoolPoolInstanceResource {
|
|
|
7468
7571
|
*/
|
|
7469
7572
|
'storage': number;
|
|
7470
7573
|
/**
|
|
7471
|
-
* Hourly price in
|
|
7574
|
+
* Hourly price in credits
|
|
7472
7575
|
* @type {number}
|
|
7473
7576
|
* @memberof GPUV1PoolPoolInstanceResource
|
|
7474
7577
|
*/
|
|
@@ -14125,7 +14228,7 @@ export interface ReachV1CampaignsCreatedCampaignResource {
|
|
|
14125
14228
|
*/
|
|
14126
14229
|
'template_uuid': string | null;
|
|
14127
14230
|
/**
|
|
14128
|
-
* Always `draft` for a campaign that was just created.
|
|
14231
|
+
* Always `draft` for a campaign that was just created; the current status after an update.
|
|
14129
14232
|
* @type {string}
|
|
14130
14233
|
* @memberof ReachV1CampaignsCreatedCampaignResource
|
|
14131
14234
|
*/
|
|
@@ -14241,6 +14344,67 @@ export interface ReachV1CampaignsStoreRequestMetadata {
|
|
|
14241
14344
|
*/
|
|
14242
14345
|
'source': string;
|
|
14243
14346
|
}
|
|
14347
|
+
/**
|
|
14348
|
+
* Update a campaign. Send at least one field; fields left out keep their current value.
|
|
14349
|
+
* @export
|
|
14350
|
+
* @interface ReachV1CampaignsUpdateRequest
|
|
14351
|
+
*/
|
|
14352
|
+
export interface ReachV1CampaignsUpdateRequest {
|
|
14353
|
+
/**
|
|
14354
|
+
* Name the campaign is listed under. Not shown to the recipients.
|
|
14355
|
+
* @type {string}
|
|
14356
|
+
* @memberof ReachV1CampaignsUpdateRequest
|
|
14357
|
+
*/
|
|
14358
|
+
'title': string;
|
|
14359
|
+
/**
|
|
14360
|
+
* Subject line of the email.
|
|
14361
|
+
* @type {string}
|
|
14362
|
+
* @memberof ReachV1CampaignsUpdateRequest
|
|
14363
|
+
*/
|
|
14364
|
+
'subject': string;
|
|
14365
|
+
/**
|
|
14366
|
+
* From name shown to the recipients.
|
|
14367
|
+
* @type {string}
|
|
14368
|
+
* @memberof ReachV1CampaignsUpdateRequest
|
|
14369
|
+
*/
|
|
14370
|
+
'sender_name': string;
|
|
14371
|
+
/**
|
|
14372
|
+
* From address of the campaign. Its domain has to be verified on the profile before the campaign can be sent.
|
|
14373
|
+
* @type {string}
|
|
14374
|
+
* @memberof ReachV1CampaignsUpdateRequest
|
|
14375
|
+
*/
|
|
14376
|
+
'sender_email': string;
|
|
14377
|
+
/**
|
|
14378
|
+
* Template to send, as returned by the template endpoints.
|
|
14379
|
+
* @type {string}
|
|
14380
|
+
* @memberof ReachV1CampaignsUpdateRequest
|
|
14381
|
+
*/
|
|
14382
|
+
'template_uuid': string;
|
|
14383
|
+
/**
|
|
14384
|
+
* `true` targets every contact of the profile, `false` targets only `segment_uuids`. Required when `segment_uuids` or `excluded_segment_uuids` is sent.
|
|
14385
|
+
* @type {boolean}
|
|
14386
|
+
* @memberof ReachV1CampaignsUpdateRequest
|
|
14387
|
+
*/
|
|
14388
|
+
'all_contacts': boolean;
|
|
14389
|
+
/**
|
|
14390
|
+
* Segments to target. Replaces the segments currently targeted.
|
|
14391
|
+
* @type {Array<string>}
|
|
14392
|
+
* @memberof ReachV1CampaignsUpdateRequest
|
|
14393
|
+
*/
|
|
14394
|
+
'segment_uuids': Array<string>;
|
|
14395
|
+
/**
|
|
14396
|
+
* Segments to leave out. Only allowed together with `all_contacts: true`.
|
|
14397
|
+
* @type {Array<string>}
|
|
14398
|
+
* @memberof ReachV1CampaignsUpdateRequest
|
|
14399
|
+
*/
|
|
14400
|
+
'excluded_segment_uuids': Array<string>;
|
|
14401
|
+
/**
|
|
14402
|
+
*
|
|
14403
|
+
* @type {ReachV1CampaignsStoreRequestMetadata}
|
|
14404
|
+
* @memberof ReachV1CampaignsUpdateRequest
|
|
14405
|
+
*/
|
|
14406
|
+
'metadata': ReachV1CampaignsStoreRequestMetadata | null;
|
|
14407
|
+
}
|
|
14244
14408
|
/**
|
|
14245
14409
|
* Create many contacts in one call
|
|
14246
14410
|
* @export
|
|
@@ -31869,13 +32033,12 @@ export class EcommerceStoresApi extends BaseAPI {
|
|
|
31869
32033
|
export const GPUCatalogApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
31870
32034
|
return {
|
|
31871
32035
|
/**
|
|
31872
|
-
* 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.
|
|
32036
|
+
* 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.
|
|
31873
32037
|
* @summary Get pool groups
|
|
31874
|
-
* @param {GetPoolGroupsV1CurrencyEnum} [currency] Currency of the returned prices, `USD` by default
|
|
31875
32038
|
* @param {*} [options] Override http request option.
|
|
31876
32039
|
* @throws {RequiredError}
|
|
31877
32040
|
*/
|
|
31878
|
-
getPoolGroupsV1: async (
|
|
32041
|
+
getPoolGroupsV1: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31879
32042
|
const localVarPath = `/api/gpu/v1/pools/groups`;
|
|
31880
32043
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31881
32044
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -31892,10 +32055,6 @@ export const GPUCatalogApiAxiosParamCreator = function (configuration?: Configur
|
|
|
31892
32055
|
// http bearer authentication required
|
|
31893
32056
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
31894
32057
|
|
|
31895
|
-
if (currency !== undefined) {
|
|
31896
|
-
localVarQueryParameter['currency'] = currency;
|
|
31897
|
-
}
|
|
31898
|
-
|
|
31899
32058
|
|
|
31900
32059
|
|
|
31901
32060
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -32032,14 +32191,13 @@ export const GPUCatalogApiFp = function(configuration?: Configuration) {
|
|
|
32032
32191
|
const localVarAxiosParamCreator = GPUCatalogApiAxiosParamCreator(configuration)
|
|
32033
32192
|
return {
|
|
32034
32193
|
/**
|
|
32035
|
-
* 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.
|
|
32194
|
+
* 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.
|
|
32036
32195
|
* @summary Get pool groups
|
|
32037
|
-
* @param {GetPoolGroupsV1CurrencyEnum} [currency] Currency of the returned prices, `USD` by default
|
|
32038
32196
|
* @param {*} [options] Override http request option.
|
|
32039
32197
|
* @throws {RequiredError}
|
|
32040
32198
|
*/
|
|
32041
|
-
async getPoolGroupsV1(
|
|
32042
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getPoolGroupsV1(
|
|
32199
|
+
async getPoolGroupsV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GPUV1PoolPoolGroupResource>>> {
|
|
32200
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPoolGroupsV1(options);
|
|
32043
32201
|
const localVarOperationServerBasePath = operationServerMap['GPUCatalogApi.getPoolGroupsV1']?.[0]?.url;
|
|
32044
32202
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
32045
32203
|
},
|
|
@@ -32090,14 +32248,13 @@ export const GPUCatalogApiFactory = function (configuration?: Configuration, bas
|
|
|
32090
32248
|
const localVarFp = GPUCatalogApiFp(configuration)
|
|
32091
32249
|
return {
|
|
32092
32250
|
/**
|
|
32093
|
-
* 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.
|
|
32251
|
+
* 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.
|
|
32094
32252
|
* @summary Get pool groups
|
|
32095
|
-
* @param {GetPoolGroupsV1CurrencyEnum} [currency] Currency of the returned prices, `USD` by default
|
|
32096
32253
|
* @param {*} [options] Override http request option.
|
|
32097
32254
|
* @throws {RequiredError}
|
|
32098
32255
|
*/
|
|
32099
|
-
getPoolGroupsV1(
|
|
32100
|
-
return localVarFp.getPoolGroupsV1(
|
|
32256
|
+
getPoolGroupsV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<GPUV1PoolPoolGroupResource>> {
|
|
32257
|
+
return localVarFp.getPoolGroupsV1(options).then((request) => request(axios, basePath));
|
|
32101
32258
|
},
|
|
32102
32259
|
/**
|
|
32103
32260
|
* 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.
|
|
@@ -32140,15 +32297,14 @@ export const GPUCatalogApiFactory = function (configuration?: Configuration, bas
|
|
|
32140
32297
|
*/
|
|
32141
32298
|
export class GPUCatalogApi extends BaseAPI {
|
|
32142
32299
|
/**
|
|
32143
|
-
* 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.
|
|
32300
|
+
* 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.
|
|
32144
32301
|
* @summary Get pool groups
|
|
32145
|
-
* @param {GetPoolGroupsV1CurrencyEnum} [currency] Currency of the returned prices, `USD` by default
|
|
32146
32302
|
* @param {*} [options] Override http request option.
|
|
32147
32303
|
* @throws {RequiredError}
|
|
32148
32304
|
* @memberof GPUCatalogApi
|
|
32149
32305
|
*/
|
|
32150
|
-
public getPoolGroupsV1(
|
|
32151
|
-
return GPUCatalogApiFp(this.configuration).getPoolGroupsV1(
|
|
32306
|
+
public getPoolGroupsV1(options?: RawAxiosRequestConfig) {
|
|
32307
|
+
return GPUCatalogApiFp(this.configuration).getPoolGroupsV1(options).then((request) => request(this.axios, this.basePath));
|
|
32152
32308
|
}
|
|
32153
32309
|
|
|
32154
32310
|
/**
|
|
@@ -32188,61 +32344,6 @@ export class GPUCatalogApi extends BaseAPI {
|
|
|
32188
32344
|
}
|
|
32189
32345
|
}
|
|
32190
32346
|
|
|
32191
|
-
/**
|
|
32192
|
-
* @export
|
|
32193
|
-
*/
|
|
32194
|
-
export const GetPoolGroupsV1CurrencyEnum = {
|
|
32195
|
-
Usd: 'USD',
|
|
32196
|
-
Ars: 'ARS',
|
|
32197
|
-
Amd: 'AMD',
|
|
32198
|
-
Aud: 'AUD',
|
|
32199
|
-
Azn: 'AZN',
|
|
32200
|
-
Bdt: 'BDT',
|
|
32201
|
-
Brl: 'BRL',
|
|
32202
|
-
Btc: 'BTC',
|
|
32203
|
-
Byn: 'BYN',
|
|
32204
|
-
Cad: 'CAD',
|
|
32205
|
-
Chf: 'CHF',
|
|
32206
|
-
Clp: 'CLP',
|
|
32207
|
-
Cny: 'CNY',
|
|
32208
|
-
Cop: 'COP',
|
|
32209
|
-
Czk: 'CZK',
|
|
32210
|
-
Dkk: 'DKK',
|
|
32211
|
-
Egp: 'EGP',
|
|
32212
|
-
Eur: 'EUR',
|
|
32213
|
-
Gbp: 'GBP',
|
|
32214
|
-
Gel: 'GEL',
|
|
32215
|
-
Hkd: 'HKD',
|
|
32216
|
-
Hrk: 'HRK',
|
|
32217
|
-
Huf: 'HUF',
|
|
32218
|
-
Idr: 'IDR',
|
|
32219
|
-
Ils: 'ILS',
|
|
32220
|
-
Inr: 'INR',
|
|
32221
|
-
Jpy: 'JPY',
|
|
32222
|
-
Kgs: 'KGS',
|
|
32223
|
-
Krw: 'KRW',
|
|
32224
|
-
Kzt: 'KZT',
|
|
32225
|
-
Mad: 'MAD',
|
|
32226
|
-
Mxn: 'MXN',
|
|
32227
|
-
Myr: 'MYR',
|
|
32228
|
-
Ngn: 'NGN',
|
|
32229
|
-
Nok: 'NOK',
|
|
32230
|
-
Nzd: 'NZD',
|
|
32231
|
-
Pen: 'PEN',
|
|
32232
|
-
Php: 'PHP',
|
|
32233
|
-
Pkr: 'PKR',
|
|
32234
|
-
Pln: 'PLN',
|
|
32235
|
-
Sek: 'SEK',
|
|
32236
|
-
Sgd: 'SGD',
|
|
32237
|
-
Thb: 'THB',
|
|
32238
|
-
Tjs: 'TJS',
|
|
32239
|
-
Try: 'TRY',
|
|
32240
|
-
Twd: 'TWD',
|
|
32241
|
-
Uah: 'UAH',
|
|
32242
|
-
Vnd: 'VND',
|
|
32243
|
-
Zar: 'ZAR'
|
|
32244
|
-
} as const;
|
|
32245
|
-
export type GetPoolGroupsV1CurrencyEnum = typeof GetPoolGroupsV1CurrencyEnum[keyof typeof GetPoolGroupsV1CurrencyEnum];
|
|
32246
32347
|
|
|
32247
32348
|
|
|
32248
32349
|
/**
|
|
@@ -45656,6 +45757,96 @@ export const ReachCampaignsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
45656
45757
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
45657
45758
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
45658
45759
|
|
|
45760
|
+
return {
|
|
45761
|
+
url: toPathString(localVarUrlObj),
|
|
45762
|
+
options: localVarRequestOptions,
|
|
45763
|
+
};
|
|
45764
|
+
},
|
|
45765
|
+
/**
|
|
45766
|
+
* 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.
|
|
45767
|
+
* @summary Send campaign
|
|
45768
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
45769
|
+
* @param {string} campaignUuid Campaign uuid parameter
|
|
45770
|
+
* @param {*} [options] Override http request option.
|
|
45771
|
+
* @throws {RequiredError}
|
|
45772
|
+
*/
|
|
45773
|
+
sendCampaignV1: async (profileUuid: string, campaignUuid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
45774
|
+
// verify required parameter 'profileUuid' is not null or undefined
|
|
45775
|
+
assertParamExists('sendCampaignV1', 'profileUuid', profileUuid)
|
|
45776
|
+
// verify required parameter 'campaignUuid' is not null or undefined
|
|
45777
|
+
assertParamExists('sendCampaignV1', 'campaignUuid', campaignUuid)
|
|
45778
|
+
const localVarPath = `/api/reach/v1/profiles/{profileUuid}/campaigns/{campaignUuid}/send`
|
|
45779
|
+
.replace(`{${"profileUuid"}}`, encodePathParam('profileUuid', profileUuid))
|
|
45780
|
+
.replace(`{${"campaignUuid"}}`, encodePathParam('campaignUuid', campaignUuid));
|
|
45781
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
45782
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
45783
|
+
let baseOptions;
|
|
45784
|
+
if (configuration) {
|
|
45785
|
+
baseOptions = configuration.baseOptions;
|
|
45786
|
+
}
|
|
45787
|
+
|
|
45788
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
45789
|
+
const localVarHeaderParameter = {} as any;
|
|
45790
|
+
const localVarQueryParameter = {} as any;
|
|
45791
|
+
|
|
45792
|
+
// authentication apiToken required
|
|
45793
|
+
// http bearer authentication required
|
|
45794
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
45795
|
+
|
|
45796
|
+
|
|
45797
|
+
|
|
45798
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
45799
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
45800
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
45801
|
+
|
|
45802
|
+
return {
|
|
45803
|
+
url: toPathString(localVarUrlObj),
|
|
45804
|
+
options: localVarRequestOptions,
|
|
45805
|
+
};
|
|
45806
|
+
},
|
|
45807
|
+
/**
|
|
45808
|
+
* 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.
|
|
45809
|
+
* @summary Update campaign
|
|
45810
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
45811
|
+
* @param {string} campaignUuid Campaign uuid parameter
|
|
45812
|
+
* @param {ReachV1CampaignsUpdateRequest} reachV1CampaignsUpdateRequest
|
|
45813
|
+
* @param {*} [options] Override http request option.
|
|
45814
|
+
* @throws {RequiredError}
|
|
45815
|
+
*/
|
|
45816
|
+
updateCampaignV1: async (profileUuid: string, campaignUuid: string, reachV1CampaignsUpdateRequest: ReachV1CampaignsUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
45817
|
+
// verify required parameter 'profileUuid' is not null or undefined
|
|
45818
|
+
assertParamExists('updateCampaignV1', 'profileUuid', profileUuid)
|
|
45819
|
+
// verify required parameter 'campaignUuid' is not null or undefined
|
|
45820
|
+
assertParamExists('updateCampaignV1', 'campaignUuid', campaignUuid)
|
|
45821
|
+
// verify required parameter 'reachV1CampaignsUpdateRequest' is not null or undefined
|
|
45822
|
+
assertParamExists('updateCampaignV1', 'reachV1CampaignsUpdateRequest', reachV1CampaignsUpdateRequest)
|
|
45823
|
+
const localVarPath = `/api/reach/v1/profiles/{profileUuid}/campaigns/{campaignUuid}`
|
|
45824
|
+
.replace(`{${"profileUuid"}}`, encodePathParam('profileUuid', profileUuid))
|
|
45825
|
+
.replace(`{${"campaignUuid"}}`, encodePathParam('campaignUuid', campaignUuid));
|
|
45826
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
45827
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
45828
|
+
let baseOptions;
|
|
45829
|
+
if (configuration) {
|
|
45830
|
+
baseOptions = configuration.baseOptions;
|
|
45831
|
+
}
|
|
45832
|
+
|
|
45833
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
45834
|
+
const localVarHeaderParameter = {} as any;
|
|
45835
|
+
const localVarQueryParameter = {} as any;
|
|
45836
|
+
|
|
45837
|
+
// authentication apiToken required
|
|
45838
|
+
// http bearer authentication required
|
|
45839
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
45840
|
+
|
|
45841
|
+
|
|
45842
|
+
|
|
45843
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
45844
|
+
|
|
45845
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
45846
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
45847
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
45848
|
+
localVarRequestOptions.data = serializeDataIfNeeded(reachV1CampaignsUpdateRequest, localVarRequestOptions, configuration)
|
|
45849
|
+
|
|
45659
45850
|
return {
|
|
45660
45851
|
url: toPathString(localVarUrlObj),
|
|
45661
45852
|
options: localVarRequestOptions,
|
|
@@ -45727,6 +45918,33 @@ export const ReachCampaignsApiFp = function(configuration?: Configuration) {
|
|
|
45727
45918
|
const localVarOperationServerBasePath = operationServerMap['ReachCampaignsApi.listCampaignsV1']?.[0]?.url;
|
|
45728
45919
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
45729
45920
|
},
|
|
45921
|
+
/**
|
|
45922
|
+
* 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.
|
|
45923
|
+
* @summary Send campaign
|
|
45924
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
45925
|
+
* @param {string} campaignUuid Campaign uuid parameter
|
|
45926
|
+
* @param {*} [options] Override http request option.
|
|
45927
|
+
* @throws {RequiredError}
|
|
45928
|
+
*/
|
|
45929
|
+
async sendCampaignV1(profileUuid: string, campaignUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
|
|
45930
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sendCampaignV1(profileUuid, campaignUuid, options);
|
|
45931
|
+
const localVarOperationServerBasePath = operationServerMap['ReachCampaignsApi.sendCampaignV1']?.[0]?.url;
|
|
45932
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
45933
|
+
},
|
|
45934
|
+
/**
|
|
45935
|
+
* 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.
|
|
45936
|
+
* @summary Update campaign
|
|
45937
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
45938
|
+
* @param {string} campaignUuid Campaign uuid parameter
|
|
45939
|
+
* @param {ReachV1CampaignsUpdateRequest} reachV1CampaignsUpdateRequest
|
|
45940
|
+
* @param {*} [options] Override http request option.
|
|
45941
|
+
* @throws {RequiredError}
|
|
45942
|
+
*/
|
|
45943
|
+
async updateCampaignV1(profileUuid: string, campaignUuid: string, reachV1CampaignsUpdateRequest: ReachV1CampaignsUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachV1CampaignsCreatedCampaignResource>> {
|
|
45944
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateCampaignV1(profileUuid, campaignUuid, reachV1CampaignsUpdateRequest, options);
|
|
45945
|
+
const localVarOperationServerBasePath = operationServerMap['ReachCampaignsApi.updateCampaignV1']?.[0]?.url;
|
|
45946
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
45947
|
+
},
|
|
45730
45948
|
}
|
|
45731
45949
|
};
|
|
45732
45950
|
|
|
@@ -45785,6 +46003,29 @@ export const ReachCampaignsApiFactory = function (configuration?: Configuration,
|
|
|
45785
46003
|
listCampaignsV1(profileUuid: string, status?: ListCampaignsV1StatusEnum, type?: ListCampaignsV1TypeEnum, sortDirection?: ListCampaignsV1SortDirectionEnum, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<ReachListCampaignsV1200Response> {
|
|
45786
46004
|
return localVarFp.listCampaignsV1(profileUuid, status, type, sortDirection, page, perPage, options).then((request) => request(axios, basePath));
|
|
45787
46005
|
},
|
|
46006
|
+
/**
|
|
46007
|
+
* 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.
|
|
46008
|
+
* @summary Send campaign
|
|
46009
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
46010
|
+
* @param {string} campaignUuid Campaign uuid parameter
|
|
46011
|
+
* @param {*} [options] Override http request option.
|
|
46012
|
+
* @throws {RequiredError}
|
|
46013
|
+
*/
|
|
46014
|
+
sendCampaignV1(profileUuid: string, campaignUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
|
|
46015
|
+
return localVarFp.sendCampaignV1(profileUuid, campaignUuid, options).then((request) => request(axios, basePath));
|
|
46016
|
+
},
|
|
46017
|
+
/**
|
|
46018
|
+
* 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.
|
|
46019
|
+
* @summary Update campaign
|
|
46020
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
46021
|
+
* @param {string} campaignUuid Campaign uuid parameter
|
|
46022
|
+
* @param {ReachV1CampaignsUpdateRequest} reachV1CampaignsUpdateRequest
|
|
46023
|
+
* @param {*} [options] Override http request option.
|
|
46024
|
+
* @throws {RequiredError}
|
|
46025
|
+
*/
|
|
46026
|
+
updateCampaignV1(profileUuid: string, campaignUuid: string, reachV1CampaignsUpdateRequest: ReachV1CampaignsUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReachV1CampaignsCreatedCampaignResource> {
|
|
46027
|
+
return localVarFp.updateCampaignV1(profileUuid, campaignUuid, reachV1CampaignsUpdateRequest, options).then((request) => request(axios, basePath));
|
|
46028
|
+
},
|
|
45788
46029
|
};
|
|
45789
46030
|
};
|
|
45790
46031
|
|
|
@@ -45850,6 +46091,33 @@ export class ReachCampaignsApi extends BaseAPI {
|
|
|
45850
46091
|
public listCampaignsV1(profileUuid: string, status?: ListCampaignsV1StatusEnum, type?: ListCampaignsV1TypeEnum, sortDirection?: ListCampaignsV1SortDirectionEnum, page?: number, perPage?: number, options?: RawAxiosRequestConfig) {
|
|
45851
46092
|
return ReachCampaignsApiFp(this.configuration).listCampaignsV1(profileUuid, status, type, sortDirection, page, perPage, options).then((request) => request(this.axios, this.basePath));
|
|
45852
46093
|
}
|
|
46094
|
+
|
|
46095
|
+
/**
|
|
46096
|
+
* 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.
|
|
46097
|
+
* @summary Send campaign
|
|
46098
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
46099
|
+
* @param {string} campaignUuid Campaign uuid parameter
|
|
46100
|
+
* @param {*} [options] Override http request option.
|
|
46101
|
+
* @throws {RequiredError}
|
|
46102
|
+
* @memberof ReachCampaignsApi
|
|
46103
|
+
*/
|
|
46104
|
+
public sendCampaignV1(profileUuid: string, campaignUuid: string, options?: RawAxiosRequestConfig) {
|
|
46105
|
+
return ReachCampaignsApiFp(this.configuration).sendCampaignV1(profileUuid, campaignUuid, options).then((request) => request(this.axios, this.basePath));
|
|
46106
|
+
}
|
|
46107
|
+
|
|
46108
|
+
/**
|
|
46109
|
+
* 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.
|
|
46110
|
+
* @summary Update campaign
|
|
46111
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
46112
|
+
* @param {string} campaignUuid Campaign uuid parameter
|
|
46113
|
+
* @param {ReachV1CampaignsUpdateRequest} reachV1CampaignsUpdateRequest
|
|
46114
|
+
* @param {*} [options] Override http request option.
|
|
46115
|
+
* @throws {RequiredError}
|
|
46116
|
+
* @memberof ReachCampaignsApi
|
|
46117
|
+
*/
|
|
46118
|
+
public updateCampaignV1(profileUuid: string, campaignUuid: string, reachV1CampaignsUpdateRequest: ReachV1CampaignsUpdateRequest, options?: RawAxiosRequestConfig) {
|
|
46119
|
+
return ReachCampaignsApiFp(this.configuration).updateCampaignV1(profileUuid, campaignUuid, reachV1CampaignsUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
46120
|
+
}
|
|
45853
46121
|
}
|
|
45854
46122
|
|
|
45855
46123
|
/**
|
package/base.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version:
|
|
6
|
+
* API Version: 3.0.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/common.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version:
|
|
6
|
+
* API Version: 3.0.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version:
|
|
6
|
+
* API Version: 3.0.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -48,7 +48,7 @@ export class Configuration {
|
|
|
48
48
|
this.baseOptions = {
|
|
49
49
|
...param.baseOptions,
|
|
50
50
|
headers: {
|
|
51
|
-
'User-Agent': "hostinger-typescript-sdk/
|
|
51
|
+
'User-Agent': "hostinger-typescript-sdk/3.0.0",
|
|
52
52
|
...param.baseOptions?.headers,
|
|
53
53
|
},
|
|
54
54
|
};
|