hostinger-api-sdk 2.2.0 → 2.4.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 +909 -115
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +520 -40
- package/dist/api.js +588 -23
- 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 +520 -40
- package/dist/esm/api.js +574 -13
- 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/ReachCampaignsApi.md +1 -1
- package/docs/ReachContactsApi.md +1 -1
- package/docs/ReachIntegrationsApi.md +349 -0
- package/docs/ReachTemplatesApi.md +58 -1
- package/docs/ReachV1ContactsBulkStoreRequestContactsInner.md +2 -0
- package/docs/{ReachV1ContactsUpdateRequestFieldsInner.md → ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner.md} +3 -3
- package/docs/ReachV1ContactsStoreRequest.md +2 -0
- package/docs/ReachV1ContactsUpdateRequest.md +1 -1
- package/docs/ReachV1StoresStoreResource.md +32 -0
- package/docs/ReachV1StoresStoreResourceSalesChannelsInner.md +26 -0
- package/docs/ReachV1TemplatesTemplateDetailsResource.md +28 -0
- package/docs/ReachV1WebsitesWebsiteBuilderConnectRequest.md +21 -0
- package/docs/ReachV1WebsitesWebsiteBuilderDisconnectRequest.md +21 -0
- package/docs/ReachV1WebsitesWebsiteResource.md +22 -0
- package/docs/ReachV1WebsitesWordPressDisconnectRequest.md +21 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.4.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
|
|
@@ -12935,6 +12935,37 @@ export interface ReachV1ContactsBulkStoreRequestContactsInner {
|
|
|
12935
12935
|
* @memberof ReachV1ContactsBulkStoreRequestContactsInner
|
|
12936
12936
|
*/
|
|
12937
12937
|
'phone': string | null;
|
|
12938
|
+
/**
|
|
12939
|
+
* Custom field values to set on the contact. For a contact whose email already exists, only fields that have no value yet are filled. Unknown field UUIDs and values that do not match the field type are skipped.
|
|
12940
|
+
* @type {Array<ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner>}
|
|
12941
|
+
* @memberof ReachV1ContactsBulkStoreRequestContactsInner
|
|
12942
|
+
*/
|
|
12943
|
+
'fields': Array<ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner>;
|
|
12944
|
+
}
|
|
12945
|
+
/**
|
|
12946
|
+
*
|
|
12947
|
+
* @export
|
|
12948
|
+
* @interface ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner
|
|
12949
|
+
*/
|
|
12950
|
+
export interface ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner {
|
|
12951
|
+
/**
|
|
12952
|
+
*
|
|
12953
|
+
* @type {string}
|
|
12954
|
+
* @memberof ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner
|
|
12955
|
+
*/
|
|
12956
|
+
'uuid': string;
|
|
12957
|
+
/**
|
|
12958
|
+
* For the scalar field types
|
|
12959
|
+
* @type {string}
|
|
12960
|
+
* @memberof ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner
|
|
12961
|
+
*/
|
|
12962
|
+
'value': string | null;
|
|
12963
|
+
/**
|
|
12964
|
+
* For the choice field types
|
|
12965
|
+
* @type {Array<string>}
|
|
12966
|
+
* @memberof ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner
|
|
12967
|
+
*/
|
|
12968
|
+
'selected_option_uuids': Array<string>;
|
|
12938
12969
|
}
|
|
12939
12970
|
/**
|
|
12940
12971
|
*
|
|
@@ -14206,6 +14237,12 @@ export interface ReachV1ContactsStoreRequest {
|
|
|
14206
14237
|
* @memberof ReachV1ContactsStoreRequest
|
|
14207
14238
|
*/
|
|
14208
14239
|
'tag_uuids': Array<string>;
|
|
14240
|
+
/**
|
|
14241
|
+
* Custom field values to set on the contact. When a contact with this email already exists, only fields that have no value yet are filled. Unknown field UUIDs and values that do not match the field type are skipped.
|
|
14242
|
+
* @type {Array<ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner>}
|
|
14243
|
+
* @memberof ReachV1ContactsStoreRequest
|
|
14244
|
+
*/
|
|
14245
|
+
'fields': Array<ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner>;
|
|
14209
14246
|
}
|
|
14210
14247
|
/**
|
|
14211
14248
|
* Contacts to assign to, or remove from, a tag
|
|
@@ -14332,10 +14369,10 @@ export interface ReachV1ContactsUpdateRequest {
|
|
|
14332
14369
|
'note': string | null;
|
|
14333
14370
|
/**
|
|
14334
14371
|
* Set custom field values. Omit to leave untouched, send an empty array to clear them all.
|
|
14335
|
-
* @type {Array<
|
|
14372
|
+
* @type {Array<ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner>}
|
|
14336
14373
|
* @memberof ReachV1ContactsUpdateRequest
|
|
14337
14374
|
*/
|
|
14338
|
-
'fields': Array<
|
|
14375
|
+
'fields': Array<ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner>;
|
|
14339
14376
|
}
|
|
14340
14377
|
export declare const ReachV1ContactsUpdateRequestSubscriptionStatusEnum: {
|
|
14341
14378
|
readonly Subscribed: "subscribed";
|
|
@@ -14344,31 +14381,6 @@ export declare const ReachV1ContactsUpdateRequestSubscriptionStatusEnum: {
|
|
|
14344
14381
|
readonly Pending: "pending";
|
|
14345
14382
|
};
|
|
14346
14383
|
export type ReachV1ContactsUpdateRequestSubscriptionStatusEnum = typeof ReachV1ContactsUpdateRequestSubscriptionStatusEnum[keyof typeof ReachV1ContactsUpdateRequestSubscriptionStatusEnum];
|
|
14347
|
-
/**
|
|
14348
|
-
*
|
|
14349
|
-
* @export
|
|
14350
|
-
* @interface ReachV1ContactsUpdateRequestFieldsInner
|
|
14351
|
-
*/
|
|
14352
|
-
export interface ReachV1ContactsUpdateRequestFieldsInner {
|
|
14353
|
-
/**
|
|
14354
|
-
*
|
|
14355
|
-
* @type {string}
|
|
14356
|
-
* @memberof ReachV1ContactsUpdateRequestFieldsInner
|
|
14357
|
-
*/
|
|
14358
|
-
'uuid': string;
|
|
14359
|
-
/**
|
|
14360
|
-
* For the scalar field types
|
|
14361
|
-
* @type {string}
|
|
14362
|
-
* @memberof ReachV1ContactsUpdateRequestFieldsInner
|
|
14363
|
-
*/
|
|
14364
|
-
'value': string | null;
|
|
14365
|
-
/**
|
|
14366
|
-
* For the choice field types
|
|
14367
|
-
* @type {Array<string>}
|
|
14368
|
-
* @memberof ReachV1ContactsUpdateRequestFieldsInner
|
|
14369
|
-
*/
|
|
14370
|
-
'selected_option_uuids': Array<string>;
|
|
14371
|
-
}
|
|
14372
14384
|
/**
|
|
14373
14385
|
* Tags every future submitter of the form receives
|
|
14374
14386
|
* @export
|
|
@@ -15379,6 +15391,96 @@ export interface ReachV1ProfilesSettingsUpdateRequest {
|
|
|
15379
15391
|
*/
|
|
15380
15392
|
'sender_email': string | null;
|
|
15381
15393
|
}
|
|
15394
|
+
/**
|
|
15395
|
+
*
|
|
15396
|
+
* @export
|
|
15397
|
+
* @interface ReachV1StoresStoreResource
|
|
15398
|
+
*/
|
|
15399
|
+
export interface ReachV1StoresStoreResource {
|
|
15400
|
+
/**
|
|
15401
|
+
* Pass this to the disconnect eCommerce store endpoint.
|
|
15402
|
+
* @type {string}
|
|
15403
|
+
* @memberof ReachV1StoresStoreResource
|
|
15404
|
+
*/
|
|
15405
|
+
'store_id': string;
|
|
15406
|
+
/**
|
|
15407
|
+
*
|
|
15408
|
+
* @type {string}
|
|
15409
|
+
* @memberof ReachV1StoresStoreResource
|
|
15410
|
+
*/
|
|
15411
|
+
'business_name': string | null;
|
|
15412
|
+
/**
|
|
15413
|
+
*
|
|
15414
|
+
* @type {string}
|
|
15415
|
+
* @memberof ReachV1StoresStoreResource
|
|
15416
|
+
*/
|
|
15417
|
+
'domain': string | null;
|
|
15418
|
+
/**
|
|
15419
|
+
*
|
|
15420
|
+
* @type {string}
|
|
15421
|
+
* @memberof ReachV1StoresStoreResource
|
|
15422
|
+
*/
|
|
15423
|
+
'logo_url': string | null;
|
|
15424
|
+
/**
|
|
15425
|
+
*
|
|
15426
|
+
* @type {string}
|
|
15427
|
+
* @memberof ReachV1StoresStoreResource
|
|
15428
|
+
*/
|
|
15429
|
+
'version': ReachV1StoresStoreResourceVersionEnum | null;
|
|
15430
|
+
/**
|
|
15431
|
+
* Storefronts of the store.
|
|
15432
|
+
* @type {Array<ReachV1StoresStoreResourceSalesChannelsInner>}
|
|
15433
|
+
* @memberof ReachV1StoresStoreResource
|
|
15434
|
+
*/
|
|
15435
|
+
'sales_channels': Array<ReachV1StoresStoreResourceSalesChannelsInner>;
|
|
15436
|
+
/**
|
|
15437
|
+
* `connected` to the profile in the path, `connected_to_other_profile` when another profile of the account holds it, or `not_connected`.
|
|
15438
|
+
* @type {string}
|
|
15439
|
+
* @memberof ReachV1StoresStoreResource
|
|
15440
|
+
*/
|
|
15441
|
+
'connection_status': ReachV1StoresStoreResourceConnectionStatusEnum;
|
|
15442
|
+
}
|
|
15443
|
+
export declare const ReachV1StoresStoreResourceVersionEnum: {
|
|
15444
|
+
readonly V2Standalone: "v2_standalone";
|
|
15445
|
+
};
|
|
15446
|
+
export type ReachV1StoresStoreResourceVersionEnum = typeof ReachV1StoresStoreResourceVersionEnum[keyof typeof ReachV1StoresStoreResourceVersionEnum];
|
|
15447
|
+
export declare const ReachV1StoresStoreResourceConnectionStatusEnum: {
|
|
15448
|
+
readonly Connected: "connected";
|
|
15449
|
+
readonly ConnectedToOtherProfile: "connected_to_other_profile";
|
|
15450
|
+
readonly NotConnected: "not_connected";
|
|
15451
|
+
};
|
|
15452
|
+
export type ReachV1StoresStoreResourceConnectionStatusEnum = typeof ReachV1StoresStoreResourceConnectionStatusEnum[keyof typeof ReachV1StoresStoreResourceConnectionStatusEnum];
|
|
15453
|
+
/**
|
|
15454
|
+
*
|
|
15455
|
+
* @export
|
|
15456
|
+
* @interface ReachV1StoresStoreResourceSalesChannelsInner
|
|
15457
|
+
*/
|
|
15458
|
+
export interface ReachV1StoresStoreResourceSalesChannelsInner {
|
|
15459
|
+
/**
|
|
15460
|
+
*
|
|
15461
|
+
* @type {string}
|
|
15462
|
+
* @memberof ReachV1StoresStoreResourceSalesChannelsInner
|
|
15463
|
+
*/
|
|
15464
|
+
'id': string;
|
|
15465
|
+
/**
|
|
15466
|
+
*
|
|
15467
|
+
* @type {string}
|
|
15468
|
+
* @memberof ReachV1StoresStoreResourceSalesChannelsInner
|
|
15469
|
+
*/
|
|
15470
|
+
'name': string | null;
|
|
15471
|
+
/**
|
|
15472
|
+
*
|
|
15473
|
+
* @type {string}
|
|
15474
|
+
* @memberof ReachV1StoresStoreResourceSalesChannelsInner
|
|
15475
|
+
*/
|
|
15476
|
+
'type': string | null;
|
|
15477
|
+
/**
|
|
15478
|
+
*
|
|
15479
|
+
* @type {string}
|
|
15480
|
+
* @memberof ReachV1StoresStoreResourceSalesChannelsInner
|
|
15481
|
+
*/
|
|
15482
|
+
'domain': string | null;
|
|
15483
|
+
}
|
|
15382
15484
|
/**
|
|
15383
15485
|
* Create a reusable email template
|
|
15384
15486
|
* @export
|
|
@@ -15398,6 +15500,43 @@ export interface ReachV1TemplatesStoreRequest {
|
|
|
15398
15500
|
*/
|
|
15399
15501
|
'title': string | null;
|
|
15400
15502
|
}
|
|
15503
|
+
/**
|
|
15504
|
+
*
|
|
15505
|
+
* @export
|
|
15506
|
+
* @interface ReachV1TemplatesTemplateDetailsResource
|
|
15507
|
+
*/
|
|
15508
|
+
export interface ReachV1TemplatesTemplateDetailsResource {
|
|
15509
|
+
/**
|
|
15510
|
+
* Pass this as the `template_uuid` of a campaign.
|
|
15511
|
+
* @type {string}
|
|
15512
|
+
* @memberof ReachV1TemplatesTemplateDetailsResource
|
|
15513
|
+
*/
|
|
15514
|
+
'uuid': string;
|
|
15515
|
+
/**
|
|
15516
|
+
* Null for templates that were never named.
|
|
15517
|
+
* @type {string}
|
|
15518
|
+
* @memberof ReachV1TemplatesTemplateDetailsResource
|
|
15519
|
+
*/
|
|
15520
|
+
'title': string | null;
|
|
15521
|
+
/**
|
|
15522
|
+
* Full HTML of the template, with personalization tags such as `{{name}}` unrendered. Null when the stored HTML cannot be read.
|
|
15523
|
+
* @type {string}
|
|
15524
|
+
* @memberof ReachV1TemplatesTemplateDetailsResource
|
|
15525
|
+
*/
|
|
15526
|
+
'template_content': string | null;
|
|
15527
|
+
/**
|
|
15528
|
+
*
|
|
15529
|
+
* @type {string}
|
|
15530
|
+
* @memberof ReachV1TemplatesTemplateDetailsResource
|
|
15531
|
+
*/
|
|
15532
|
+
'created_at': string | null;
|
|
15533
|
+
/**
|
|
15534
|
+
*
|
|
15535
|
+
* @type {string}
|
|
15536
|
+
* @memberof ReachV1TemplatesTemplateDetailsResource
|
|
15537
|
+
*/
|
|
15538
|
+
'updated_at': string | null;
|
|
15539
|
+
}
|
|
15401
15540
|
/**
|
|
15402
15541
|
*
|
|
15403
15542
|
* @export
|
|
@@ -15429,6 +15568,70 @@ export interface ReachV1TemplatesTemplateResource {
|
|
|
15429
15568
|
*/
|
|
15430
15569
|
'updated_at': string | null;
|
|
15431
15570
|
}
|
|
15571
|
+
/**
|
|
15572
|
+
* AI Website Builder site to connect to the profile
|
|
15573
|
+
* @export
|
|
15574
|
+
* @interface ReachV1WebsitesWebsiteBuilderConnectRequest
|
|
15575
|
+
*/
|
|
15576
|
+
export interface ReachV1WebsitesWebsiteBuilderConnectRequest {
|
|
15577
|
+
/**
|
|
15578
|
+
*
|
|
15579
|
+
* @type {string}
|
|
15580
|
+
* @memberof ReachV1WebsitesWebsiteBuilderConnectRequest
|
|
15581
|
+
*/
|
|
15582
|
+
'domain': string;
|
|
15583
|
+
}
|
|
15584
|
+
/**
|
|
15585
|
+
* AI Website Builder site to disconnect from the profile
|
|
15586
|
+
* @export
|
|
15587
|
+
* @interface ReachV1WebsitesWebsiteBuilderDisconnectRequest
|
|
15588
|
+
*/
|
|
15589
|
+
export interface ReachV1WebsitesWebsiteBuilderDisconnectRequest {
|
|
15590
|
+
/**
|
|
15591
|
+
*
|
|
15592
|
+
* @type {string}
|
|
15593
|
+
* @memberof ReachV1WebsitesWebsiteBuilderDisconnectRequest
|
|
15594
|
+
*/
|
|
15595
|
+
'domain': string;
|
|
15596
|
+
}
|
|
15597
|
+
/**
|
|
15598
|
+
*
|
|
15599
|
+
* @export
|
|
15600
|
+
* @interface ReachV1WebsitesWebsiteResource
|
|
15601
|
+
*/
|
|
15602
|
+
export interface ReachV1WebsitesWebsiteResource {
|
|
15603
|
+
/**
|
|
15604
|
+
* Pass this to the disconnect endpoint matching `platform_type`.
|
|
15605
|
+
* @type {string}
|
|
15606
|
+
* @memberof ReachV1WebsitesWebsiteResource
|
|
15607
|
+
*/
|
|
15608
|
+
'domain': string;
|
|
15609
|
+
/**
|
|
15610
|
+
* `wordpress`, `website_builder` (AI Website Builder site built manually) or `horizons` (site built with the agentic AI Website Builder).
|
|
15611
|
+
* @type {string}
|
|
15612
|
+
* @memberof ReachV1WebsitesWebsiteResource
|
|
15613
|
+
*/
|
|
15614
|
+
'platform_type': ReachV1WebsitesWebsiteResourcePlatformTypeEnum;
|
|
15615
|
+
}
|
|
15616
|
+
export declare const ReachV1WebsitesWebsiteResourcePlatformTypeEnum: {
|
|
15617
|
+
readonly Wordpress: "wordpress";
|
|
15618
|
+
readonly WebsiteBuilder: "website_builder";
|
|
15619
|
+
readonly Horizons: "horizons";
|
|
15620
|
+
};
|
|
15621
|
+
export type ReachV1WebsitesWebsiteResourcePlatformTypeEnum = typeof ReachV1WebsitesWebsiteResourcePlatformTypeEnum[keyof typeof ReachV1WebsitesWebsiteResourcePlatformTypeEnum];
|
|
15622
|
+
/**
|
|
15623
|
+
* WordPress site to disconnect from the profile
|
|
15624
|
+
* @export
|
|
15625
|
+
* @interface ReachV1WebsitesWordPressDisconnectRequest
|
|
15626
|
+
*/
|
|
15627
|
+
export interface ReachV1WebsitesWordPressDisconnectRequest {
|
|
15628
|
+
/**
|
|
15629
|
+
*
|
|
15630
|
+
* @type {string}
|
|
15631
|
+
* @memberof ReachV1WebsitesWordPressDisconnectRequest
|
|
15632
|
+
*/
|
|
15633
|
+
'domain': string;
|
|
15634
|
+
}
|
|
15432
15635
|
/**
|
|
15433
15636
|
*
|
|
15434
15637
|
* @export
|
|
@@ -30009,7 +30212,7 @@ export declare const ReachCampaignsApiAxiosParamCreator: (configuration?: Config
|
|
|
30009
30212
|
*/
|
|
30010
30213
|
createADraftCampaignV1: (profileUuid: string, reachV1CampaignsStoreRequest: ReachV1CampaignsStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30011
30214
|
/**
|
|
30012
|
-
* Get a single campaign with its sender, subject, template reference, targeting and delivery progress. This describes how the campaign was set up and how far it has got. For opens, clicks and unsubscribes use the campaign statistics endpoint.
|
|
30215
|
+
* Get a single campaign with its sender, subject, template reference, targeting and delivery progress. This describes how the campaign was set up and how far it has got. For opens, clicks and unsubscribes use the campaign statistics endpoint. The email content is not included: pass `template_uuid` to the get email template endpoint to read its HTML.
|
|
30013
30216
|
* @summary Get campaign details
|
|
30014
30217
|
* @param {string} profileUuid Profile uuid parameter
|
|
30015
30218
|
* @param {string} campaignUuid Campaign uuid parameter
|
|
@@ -30055,7 +30258,7 @@ export declare const ReachCampaignsApiFp: (configuration?: Configuration) => {
|
|
|
30055
30258
|
*/
|
|
30056
30259
|
createADraftCampaignV1(profileUuid: string, reachV1CampaignsStoreRequest: ReachV1CampaignsStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachV1CampaignsCreatedCampaignResource>>;
|
|
30057
30260
|
/**
|
|
30058
|
-
* Get a single campaign with its sender, subject, template reference, targeting and delivery progress. This describes how the campaign was set up and how far it has got. For opens, clicks and unsubscribes use the campaign statistics endpoint.
|
|
30261
|
+
* Get a single campaign with its sender, subject, template reference, targeting and delivery progress. This describes how the campaign was set up and how far it has got. For opens, clicks and unsubscribes use the campaign statistics endpoint. The email content is not included: pass `template_uuid` to the get email template endpoint to read its HTML.
|
|
30059
30262
|
* @summary Get campaign details
|
|
30060
30263
|
* @param {string} profileUuid Profile uuid parameter
|
|
30061
30264
|
* @param {string} campaignUuid Campaign uuid parameter
|
|
@@ -30101,7 +30304,7 @@ export declare const ReachCampaignsApiFactory: (configuration?: Configuration, b
|
|
|
30101
30304
|
*/
|
|
30102
30305
|
createADraftCampaignV1(profileUuid: string, reachV1CampaignsStoreRequest: ReachV1CampaignsStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReachV1CampaignsCreatedCampaignResource>;
|
|
30103
30306
|
/**
|
|
30104
|
-
* Get a single campaign with its sender, subject, template reference, targeting and delivery progress. This describes how the campaign was set up and how far it has got. For opens, clicks and unsubscribes use the campaign statistics endpoint.
|
|
30307
|
+
* Get a single campaign with its sender, subject, template reference, targeting and delivery progress. This describes how the campaign was set up and how far it has got. For opens, clicks and unsubscribes use the campaign statistics endpoint. The email content is not included: pass `template_uuid` to the get email template endpoint to read its HTML.
|
|
30105
30308
|
* @summary Get campaign details
|
|
30106
30309
|
* @param {string} profileUuid Profile uuid parameter
|
|
30107
30310
|
* @param {string} campaignUuid Campaign uuid parameter
|
|
@@ -30150,7 +30353,7 @@ export declare class ReachCampaignsApi extends BaseAPI {
|
|
|
30150
30353
|
*/
|
|
30151
30354
|
createADraftCampaignV1(profileUuid: string, reachV1CampaignsStoreRequest: ReachV1CampaignsStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1CampaignsCreatedCampaignResource, any, {}, any>>;
|
|
30152
30355
|
/**
|
|
30153
|
-
* Get a single campaign with its sender, subject, template reference, targeting and delivery progress. This describes how the campaign was set up and how far it has got. For opens, clicks and unsubscribes use the campaign statistics endpoint.
|
|
30356
|
+
* Get a single campaign with its sender, subject, template reference, targeting and delivery progress. This describes how the campaign was set up and how far it has got. For opens, clicks and unsubscribes use the campaign statistics endpoint. The email content is not included: pass `template_uuid` to the get email template endpoint to read its HTML.
|
|
30154
30357
|
* @summary Get campaign details
|
|
30155
30358
|
* @param {string} profileUuid Profile uuid parameter
|
|
30156
30359
|
* @param {string} campaignUuid Campaign uuid parameter
|
|
@@ -30401,7 +30604,7 @@ export declare const ReachContactsApiAxiosParamCreator: (configuration?: Configu
|
|
|
30401
30604
|
*/
|
|
30402
30605
|
createANewContactV1: (reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30403
30606
|
/**
|
|
30404
|
-
* Create many contacts in a profile in a single call. The contacts are imported in the background, so a success response means the import was accepted rather than finished. Contacts whose email already exists in the profile are
|
|
30607
|
+
* Create many contacts in a profile in a single call. The contacts are imported in the background, so a success response means the import was accepted rather than finished. Contacts whose email already exists in the profile keep their current values; only the ones that are still empty, custom fields included, are filled in. If double opt-in is enabled, new contacts start off pending and are sent a confirmation email.
|
|
30405
30608
|
* @summary Create contacts in bulk
|
|
30406
30609
|
* @param {string} profileUuid Profile uuid parameter
|
|
30407
30610
|
* @param {ReachV1ContactsBulkStoreRequest} reachV1ContactsBulkStoreRequest
|
|
@@ -30503,7 +30706,7 @@ export declare const ReachContactsApiFp: (configuration?: Configuration) => {
|
|
|
30503
30706
|
*/
|
|
30504
30707
|
createANewContactV1(reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
30505
30708
|
/**
|
|
30506
|
-
* Create many contacts in a profile in a single call. The contacts are imported in the background, so a success response means the import was accepted rather than finished. Contacts whose email already exists in the profile are
|
|
30709
|
+
* Create many contacts in a profile in a single call. The contacts are imported in the background, so a success response means the import was accepted rather than finished. Contacts whose email already exists in the profile keep their current values; only the ones that are still empty, custom fields included, are filled in. If double opt-in is enabled, new contacts start off pending and are sent a confirmation email.
|
|
30507
30710
|
* @summary Create contacts in bulk
|
|
30508
30711
|
* @param {string} profileUuid Profile uuid parameter
|
|
30509
30712
|
* @param {ReachV1ContactsBulkStoreRequest} reachV1ContactsBulkStoreRequest
|
|
@@ -30605,7 +30808,7 @@ export declare const ReachContactsApiFactory: (configuration?: Configuration, ba
|
|
|
30605
30808
|
*/
|
|
30606
30809
|
createANewContactV1(reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
30607
30810
|
/**
|
|
30608
|
-
* Create many contacts in a profile in a single call. The contacts are imported in the background, so a success response means the import was accepted rather than finished. Contacts whose email already exists in the profile are
|
|
30811
|
+
* Create many contacts in a profile in a single call. The contacts are imported in the background, so a success response means the import was accepted rather than finished. Contacts whose email already exists in the profile keep their current values; only the ones that are still empty, custom fields included, are filled in. If double opt-in is enabled, new contacts start off pending and are sent a confirmation email.
|
|
30609
30812
|
* @summary Create contacts in bulk
|
|
30610
30813
|
* @param {string} profileUuid Profile uuid parameter
|
|
30611
30814
|
* @param {ReachV1ContactsBulkStoreRequest} reachV1ContactsBulkStoreRequest
|
|
@@ -30710,7 +30913,7 @@ export declare class ReachContactsApi extends BaseAPI {
|
|
|
30710
30913
|
*/
|
|
30711
30914
|
createANewContactV1(reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
30712
30915
|
/**
|
|
30713
|
-
* Create many contacts in a profile in a single call. The contacts are imported in the background, so a success response means the import was accepted rather than finished. Contacts whose email already exists in the profile are
|
|
30916
|
+
* Create many contacts in a profile in a single call. The contacts are imported in the background, so a success response means the import was accepted rather than finished. Contacts whose email already exists in the profile keep their current values; only the ones that are still empty, custom fields included, are filled in. If double opt-in is enabled, new contacts start off pending and are sent a confirmation email.
|
|
30714
30917
|
* @summary Create contacts in bulk
|
|
30715
30918
|
* @param {string} profileUuid Profile uuid parameter
|
|
30716
30919
|
* @param {ReachV1ContactsBulkStoreRequest} reachV1ContactsBulkStoreRequest
|
|
@@ -31218,6 +31421,246 @@ export declare const ListFormsV1StatusEnum: {
|
|
|
31218
31421
|
readonly Draft: "draft";
|
|
31219
31422
|
};
|
|
31220
31423
|
export type ListFormsV1StatusEnum = typeof ListFormsV1StatusEnum[keyof typeof ListFormsV1StatusEnum];
|
|
31424
|
+
/**
|
|
31425
|
+
* ReachIntegrationsApi - axios parameter creator
|
|
31426
|
+
* @export
|
|
31427
|
+
*/
|
|
31428
|
+
export declare const ReachIntegrationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
31429
|
+
/**
|
|
31430
|
+
* Connect an AI Website Builder site the customer built manually to the profile, so its subscribers flow into Reach. Fails with not found when the customer owns no AI Website Builder site with that domain. Fails with `DOMAIN_ALREADY_EXISTS` when the domain is connected to any profile - to move a site to another plan, disconnect it from the old profile first - and with `WEBSITE_CONNECTION_ALREADY_EXISTS` when this profile already has an AI Website Builder site. The eCommerce store selling on the site, if it is not connected anywhere, is connected too. WordPress sites and sites made with the agentic AI Website Builder cannot be connected here.
|
|
31431
|
+
* @summary Connect AI Website Builder site
|
|
31432
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
31433
|
+
* @param {ReachV1WebsitesWebsiteBuilderConnectRequest} reachV1WebsitesWebsiteBuilderConnectRequest
|
|
31434
|
+
* @param {*} [options] Override http request option.
|
|
31435
|
+
* @throws {RequiredError}
|
|
31436
|
+
*/
|
|
31437
|
+
connectAIWebsiteBuilderSiteV1: (profileUuid: string, reachV1WebsitesWebsiteBuilderConnectRequest: ReachV1WebsitesWebsiteBuilderConnectRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31438
|
+
/**
|
|
31439
|
+
* Disconnect an AI Website Builder site from the profile; the site stops sending subscribers to Reach. Take `domain` from the list connected websites endpoint. Works for a site that was already deleted in the builder. Fails with not found when the domain is not connected to this profile. Contacts and any connected eCommerce store stay. The site stays disconnected until it is connected again, so confirm the site and the plan with the customer before calling.
|
|
31440
|
+
* @summary Disconnect AI Website Builder site
|
|
31441
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
31442
|
+
* @param {ReachV1WebsitesWebsiteBuilderDisconnectRequest} reachV1WebsitesWebsiteBuilderDisconnectRequest
|
|
31443
|
+
* @param {*} [options] Override http request option.
|
|
31444
|
+
* @throws {RequiredError}
|
|
31445
|
+
*/
|
|
31446
|
+
disconnectAIWebsiteBuilderSiteV1: (profileUuid: string, reachV1WebsitesWebsiteBuilderDisconnectRequest: ReachV1WebsitesWebsiteBuilderDisconnectRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31447
|
+
/**
|
|
31448
|
+
* Disconnect an eCommerce store from the profile. Reach stops receiving the store\'s customers and orders, and its products and coupons are removed from Reach; contacts and past orders stay. Take `store_id` from the list eCommerce stores endpoint; for a store that is `connected_to_other_profile`, call this with that profile. Also succeeds when the store is not connected to this profile, so success is not proof that anything was disconnected. Confirm the store and the plan with the customer before calling.
|
|
31449
|
+
* @summary Disconnect Ecommerce store
|
|
31450
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
31451
|
+
* @param {string} storeId Hostinger eCommerce store ID, as returned by the eCommerce stores list
|
|
31452
|
+
* @param {*} [options] Override http request option.
|
|
31453
|
+
* @throws {RequiredError}
|
|
31454
|
+
*/
|
|
31455
|
+
disconnectEcommerceStoreV1: (profileUuid: string, storeId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31456
|
+
/**
|
|
31457
|
+
* Disconnect a WordPress site from the profile. The Reach plugin on the site stops sending subscribers and store data, and the site\'s products and coupons are removed from Reach; contacts and past orders stay. Take `domain` from the list connected websites endpoint. Fails with not found when the domain is not connected to this profile. This cannot be undone through the API - the customer reconnects from the WordPress plugin - so confirm the site and the plan with the customer before calling.
|
|
31458
|
+
* @summary Disconnect WordPress site
|
|
31459
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
31460
|
+
* @param {ReachV1WebsitesWordPressDisconnectRequest} reachV1WebsitesWordPressDisconnectRequest
|
|
31461
|
+
* @param {*} [options] Override http request option.
|
|
31462
|
+
* @throws {RequiredError}
|
|
31463
|
+
*/
|
|
31464
|
+
disconnectWordPressSiteV1: (profileUuid: string, reachV1WebsitesWordPressDisconnectRequest: ReachV1WebsitesWordPressDisconnectRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31465
|
+
/**
|
|
31466
|
+
* Get the websites connected to the profile, each with its `domain` and `platform_type`. A domain is connected to at most one profile, so to find which plan a site is on, call this for each profile. Only connected sites are listed, not every website the customer owns, and eCommerce stores are not included - use the list eCommerce stores endpoint for those. Pass `domain` to the disconnect WordPress site or disconnect AI Website Builder site endpoint.
|
|
31467
|
+
* @summary List connected websites
|
|
31468
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
31469
|
+
* @param {*} [options] Override http request option.
|
|
31470
|
+
* @throws {RequiredError}
|
|
31471
|
+
*/
|
|
31472
|
+
listConnectedWebsitesV1: (profileUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31473
|
+
/**
|
|
31474
|
+
* Get all of the customer\'s Hostinger eCommerce stores, each with its `store_id` and `connection_status` for the profile in the path. A store is connected to at most one profile. `connected_to_other_profile` does not name that profile - call this for each profile to find it. The list is empty, not an error, when the eCommerce service cannot be reached. Pass `store_id` to the disconnect eCommerce store endpoint. Connecting an AI Website Builder site connects the store selling on it.
|
|
31475
|
+
* @summary List Ecommerce stores
|
|
31476
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
31477
|
+
* @param {*} [options] Override http request option.
|
|
31478
|
+
* @throws {RequiredError}
|
|
31479
|
+
*/
|
|
31480
|
+
listEcommerceStoresV1: (profileUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31481
|
+
};
|
|
31482
|
+
/**
|
|
31483
|
+
* ReachIntegrationsApi - functional programming interface
|
|
31484
|
+
* @export
|
|
31485
|
+
*/
|
|
31486
|
+
export declare const ReachIntegrationsApiFp: (configuration?: Configuration) => {
|
|
31487
|
+
/**
|
|
31488
|
+
* Connect an AI Website Builder site the customer built manually to the profile, so its subscribers flow into Reach. Fails with not found when the customer owns no AI Website Builder site with that domain. Fails with `DOMAIN_ALREADY_EXISTS` when the domain is connected to any profile - to move a site to another plan, disconnect it from the old profile first - and with `WEBSITE_CONNECTION_ALREADY_EXISTS` when this profile already has an AI Website Builder site. The eCommerce store selling on the site, if it is not connected anywhere, is connected too. WordPress sites and sites made with the agentic AI Website Builder cannot be connected here.
|
|
31489
|
+
* @summary Connect AI Website Builder site
|
|
31490
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
31491
|
+
* @param {ReachV1WebsitesWebsiteBuilderConnectRequest} reachV1WebsitesWebsiteBuilderConnectRequest
|
|
31492
|
+
* @param {*} [options] Override http request option.
|
|
31493
|
+
* @throws {RequiredError}
|
|
31494
|
+
*/
|
|
31495
|
+
connectAIWebsiteBuilderSiteV1(profileUuid: string, reachV1WebsitesWebsiteBuilderConnectRequest: ReachV1WebsitesWebsiteBuilderConnectRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
31496
|
+
/**
|
|
31497
|
+
* Disconnect an AI Website Builder site from the profile; the site stops sending subscribers to Reach. Take `domain` from the list connected websites endpoint. Works for a site that was already deleted in the builder. Fails with not found when the domain is not connected to this profile. Contacts and any connected eCommerce store stay. The site stays disconnected until it is connected again, so confirm the site and the plan with the customer before calling.
|
|
31498
|
+
* @summary Disconnect AI Website Builder site
|
|
31499
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
31500
|
+
* @param {ReachV1WebsitesWebsiteBuilderDisconnectRequest} reachV1WebsitesWebsiteBuilderDisconnectRequest
|
|
31501
|
+
* @param {*} [options] Override http request option.
|
|
31502
|
+
* @throws {RequiredError}
|
|
31503
|
+
*/
|
|
31504
|
+
disconnectAIWebsiteBuilderSiteV1(profileUuid: string, reachV1WebsitesWebsiteBuilderDisconnectRequest: ReachV1WebsitesWebsiteBuilderDisconnectRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
31505
|
+
/**
|
|
31506
|
+
* Disconnect an eCommerce store from the profile. Reach stops receiving the store\'s customers and orders, and its products and coupons are removed from Reach; contacts and past orders stay. Take `store_id` from the list eCommerce stores endpoint; for a store that is `connected_to_other_profile`, call this with that profile. Also succeeds when the store is not connected to this profile, so success is not proof that anything was disconnected. Confirm the store and the plan with the customer before calling.
|
|
31507
|
+
* @summary Disconnect Ecommerce store
|
|
31508
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
31509
|
+
* @param {string} storeId Hostinger eCommerce store ID, as returned by the eCommerce stores list
|
|
31510
|
+
* @param {*} [options] Override http request option.
|
|
31511
|
+
* @throws {RequiredError}
|
|
31512
|
+
*/
|
|
31513
|
+
disconnectEcommerceStoreV1(profileUuid: string, storeId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
31514
|
+
/**
|
|
31515
|
+
* Disconnect a WordPress site from the profile. The Reach plugin on the site stops sending subscribers and store data, and the site\'s products and coupons are removed from Reach; contacts and past orders stay. Take `domain` from the list connected websites endpoint. Fails with not found when the domain is not connected to this profile. This cannot be undone through the API - the customer reconnects from the WordPress plugin - so confirm the site and the plan with the customer before calling.
|
|
31516
|
+
* @summary Disconnect WordPress site
|
|
31517
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
31518
|
+
* @param {ReachV1WebsitesWordPressDisconnectRequest} reachV1WebsitesWordPressDisconnectRequest
|
|
31519
|
+
* @param {*} [options] Override http request option.
|
|
31520
|
+
* @throws {RequiredError}
|
|
31521
|
+
*/
|
|
31522
|
+
disconnectWordPressSiteV1(profileUuid: string, reachV1WebsitesWordPressDisconnectRequest: ReachV1WebsitesWordPressDisconnectRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
31523
|
+
/**
|
|
31524
|
+
* Get the websites connected to the profile, each with its `domain` and `platform_type`. A domain is connected to at most one profile, so to find which plan a site is on, call this for each profile. Only connected sites are listed, not every website the customer owns, and eCommerce stores are not included - use the list eCommerce stores endpoint for those. Pass `domain` to the disconnect WordPress site or disconnect AI Website Builder site endpoint.
|
|
31525
|
+
* @summary List connected websites
|
|
31526
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
31527
|
+
* @param {*} [options] Override http request option.
|
|
31528
|
+
* @throws {RequiredError}
|
|
31529
|
+
*/
|
|
31530
|
+
listConnectedWebsitesV1(profileUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ReachV1WebsitesWebsiteResource>>>;
|
|
31531
|
+
/**
|
|
31532
|
+
* Get all of the customer\'s Hostinger eCommerce stores, each with its `store_id` and `connection_status` for the profile in the path. A store is connected to at most one profile. `connected_to_other_profile` does not name that profile - call this for each profile to find it. The list is empty, not an error, when the eCommerce service cannot be reached. Pass `store_id` to the disconnect eCommerce store endpoint. Connecting an AI Website Builder site connects the store selling on it.
|
|
31533
|
+
* @summary List Ecommerce stores
|
|
31534
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
31535
|
+
* @param {*} [options] Override http request option.
|
|
31536
|
+
* @throws {RequiredError}
|
|
31537
|
+
*/
|
|
31538
|
+
listEcommerceStoresV1(profileUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ReachV1StoresStoreResource>>>;
|
|
31539
|
+
};
|
|
31540
|
+
/**
|
|
31541
|
+
* ReachIntegrationsApi - factory interface
|
|
31542
|
+
* @export
|
|
31543
|
+
*/
|
|
31544
|
+
export declare const ReachIntegrationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
31545
|
+
/**
|
|
31546
|
+
* Connect an AI Website Builder site the customer built manually to the profile, so its subscribers flow into Reach. Fails with not found when the customer owns no AI Website Builder site with that domain. Fails with `DOMAIN_ALREADY_EXISTS` when the domain is connected to any profile - to move a site to another plan, disconnect it from the old profile first - and with `WEBSITE_CONNECTION_ALREADY_EXISTS` when this profile already has an AI Website Builder site. The eCommerce store selling on the site, if it is not connected anywhere, is connected too. WordPress sites and sites made with the agentic AI Website Builder cannot be connected here.
|
|
31547
|
+
* @summary Connect AI Website Builder site
|
|
31548
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
31549
|
+
* @param {ReachV1WebsitesWebsiteBuilderConnectRequest} reachV1WebsitesWebsiteBuilderConnectRequest
|
|
31550
|
+
* @param {*} [options] Override http request option.
|
|
31551
|
+
* @throws {RequiredError}
|
|
31552
|
+
*/
|
|
31553
|
+
connectAIWebsiteBuilderSiteV1(profileUuid: string, reachV1WebsitesWebsiteBuilderConnectRequest: ReachV1WebsitesWebsiteBuilderConnectRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
31554
|
+
/**
|
|
31555
|
+
* Disconnect an AI Website Builder site from the profile; the site stops sending subscribers to Reach. Take `domain` from the list connected websites endpoint. Works for a site that was already deleted in the builder. Fails with not found when the domain is not connected to this profile. Contacts and any connected eCommerce store stay. The site stays disconnected until it is connected again, so confirm the site and the plan with the customer before calling.
|
|
31556
|
+
* @summary Disconnect AI Website Builder site
|
|
31557
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
31558
|
+
* @param {ReachV1WebsitesWebsiteBuilderDisconnectRequest} reachV1WebsitesWebsiteBuilderDisconnectRequest
|
|
31559
|
+
* @param {*} [options] Override http request option.
|
|
31560
|
+
* @throws {RequiredError}
|
|
31561
|
+
*/
|
|
31562
|
+
disconnectAIWebsiteBuilderSiteV1(profileUuid: string, reachV1WebsitesWebsiteBuilderDisconnectRequest: ReachV1WebsitesWebsiteBuilderDisconnectRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
31563
|
+
/**
|
|
31564
|
+
* Disconnect an eCommerce store from the profile. Reach stops receiving the store\'s customers and orders, and its products and coupons are removed from Reach; contacts and past orders stay. Take `store_id` from the list eCommerce stores endpoint; for a store that is `connected_to_other_profile`, call this with that profile. Also succeeds when the store is not connected to this profile, so success is not proof that anything was disconnected. Confirm the store and the plan with the customer before calling.
|
|
31565
|
+
* @summary Disconnect Ecommerce store
|
|
31566
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
31567
|
+
* @param {string} storeId Hostinger eCommerce store ID, as returned by the eCommerce stores list
|
|
31568
|
+
* @param {*} [options] Override http request option.
|
|
31569
|
+
* @throws {RequiredError}
|
|
31570
|
+
*/
|
|
31571
|
+
disconnectEcommerceStoreV1(profileUuid: string, storeId: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
31572
|
+
/**
|
|
31573
|
+
* Disconnect a WordPress site from the profile. The Reach plugin on the site stops sending subscribers and store data, and the site\'s products and coupons are removed from Reach; contacts and past orders stay. Take `domain` from the list connected websites endpoint. Fails with not found when the domain is not connected to this profile. This cannot be undone through the API - the customer reconnects from the WordPress plugin - so confirm the site and the plan with the customer before calling.
|
|
31574
|
+
* @summary Disconnect WordPress site
|
|
31575
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
31576
|
+
* @param {ReachV1WebsitesWordPressDisconnectRequest} reachV1WebsitesWordPressDisconnectRequest
|
|
31577
|
+
* @param {*} [options] Override http request option.
|
|
31578
|
+
* @throws {RequiredError}
|
|
31579
|
+
*/
|
|
31580
|
+
disconnectWordPressSiteV1(profileUuid: string, reachV1WebsitesWordPressDisconnectRequest: ReachV1WebsitesWordPressDisconnectRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
31581
|
+
/**
|
|
31582
|
+
* Get the websites connected to the profile, each with its `domain` and `platform_type`. A domain is connected to at most one profile, so to find which plan a site is on, call this for each profile. Only connected sites are listed, not every website the customer owns, and eCommerce stores are not included - use the list eCommerce stores endpoint for those. Pass `domain` to the disconnect WordPress site or disconnect AI Website Builder site endpoint.
|
|
31583
|
+
* @summary List connected websites
|
|
31584
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
31585
|
+
* @param {*} [options] Override http request option.
|
|
31586
|
+
* @throws {RequiredError}
|
|
31587
|
+
*/
|
|
31588
|
+
listConnectedWebsitesV1(profileUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ReachV1WebsitesWebsiteResource>>;
|
|
31589
|
+
/**
|
|
31590
|
+
* Get all of the customer\'s Hostinger eCommerce stores, each with its `store_id` and `connection_status` for the profile in the path. A store is connected to at most one profile. `connected_to_other_profile` does not name that profile - call this for each profile to find it. The list is empty, not an error, when the eCommerce service cannot be reached. Pass `store_id` to the disconnect eCommerce store endpoint. Connecting an AI Website Builder site connects the store selling on it.
|
|
31591
|
+
* @summary List Ecommerce stores
|
|
31592
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
31593
|
+
* @param {*} [options] Override http request option.
|
|
31594
|
+
* @throws {RequiredError}
|
|
31595
|
+
*/
|
|
31596
|
+
listEcommerceStoresV1(profileUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ReachV1StoresStoreResource>>;
|
|
31597
|
+
};
|
|
31598
|
+
/**
|
|
31599
|
+
* ReachIntegrationsApi - object-oriented interface
|
|
31600
|
+
* @export
|
|
31601
|
+
* @class ReachIntegrationsApi
|
|
31602
|
+
* @extends {BaseAPI}
|
|
31603
|
+
*/
|
|
31604
|
+
export declare class ReachIntegrationsApi extends BaseAPI {
|
|
31605
|
+
/**
|
|
31606
|
+
* Connect an AI Website Builder site the customer built manually to the profile, so its subscribers flow into Reach. Fails with not found when the customer owns no AI Website Builder site with that domain. Fails with `DOMAIN_ALREADY_EXISTS` when the domain is connected to any profile - to move a site to another plan, disconnect it from the old profile first - and with `WEBSITE_CONNECTION_ALREADY_EXISTS` when this profile already has an AI Website Builder site. The eCommerce store selling on the site, if it is not connected anywhere, is connected too. WordPress sites and sites made with the agentic AI Website Builder cannot be connected here.
|
|
31607
|
+
* @summary Connect AI Website Builder site
|
|
31608
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
31609
|
+
* @param {ReachV1WebsitesWebsiteBuilderConnectRequest} reachV1WebsitesWebsiteBuilderConnectRequest
|
|
31610
|
+
* @param {*} [options] Override http request option.
|
|
31611
|
+
* @throws {RequiredError}
|
|
31612
|
+
* @memberof ReachIntegrationsApi
|
|
31613
|
+
*/
|
|
31614
|
+
connectAIWebsiteBuilderSiteV1(profileUuid: string, reachV1WebsitesWebsiteBuilderConnectRequest: ReachV1WebsitesWebsiteBuilderConnectRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
31615
|
+
/**
|
|
31616
|
+
* Disconnect an AI Website Builder site from the profile; the site stops sending subscribers to Reach. Take `domain` from the list connected websites endpoint. Works for a site that was already deleted in the builder. Fails with not found when the domain is not connected to this profile. Contacts and any connected eCommerce store stay. The site stays disconnected until it is connected again, so confirm the site and the plan with the customer before calling.
|
|
31617
|
+
* @summary Disconnect AI Website Builder site
|
|
31618
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
31619
|
+
* @param {ReachV1WebsitesWebsiteBuilderDisconnectRequest} reachV1WebsitesWebsiteBuilderDisconnectRequest
|
|
31620
|
+
* @param {*} [options] Override http request option.
|
|
31621
|
+
* @throws {RequiredError}
|
|
31622
|
+
* @memberof ReachIntegrationsApi
|
|
31623
|
+
*/
|
|
31624
|
+
disconnectAIWebsiteBuilderSiteV1(profileUuid: string, reachV1WebsitesWebsiteBuilderDisconnectRequest: ReachV1WebsitesWebsiteBuilderDisconnectRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
31625
|
+
/**
|
|
31626
|
+
* Disconnect an eCommerce store from the profile. Reach stops receiving the store\'s customers and orders, and its products and coupons are removed from Reach; contacts and past orders stay. Take `store_id` from the list eCommerce stores endpoint; for a store that is `connected_to_other_profile`, call this with that profile. Also succeeds when the store is not connected to this profile, so success is not proof that anything was disconnected. Confirm the store and the plan with the customer before calling.
|
|
31627
|
+
* @summary Disconnect Ecommerce store
|
|
31628
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
31629
|
+
* @param {string} storeId Hostinger eCommerce store ID, as returned by the eCommerce stores list
|
|
31630
|
+
* @param {*} [options] Override http request option.
|
|
31631
|
+
* @throws {RequiredError}
|
|
31632
|
+
* @memberof ReachIntegrationsApi
|
|
31633
|
+
*/
|
|
31634
|
+
disconnectEcommerceStoreV1(profileUuid: string, storeId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
31635
|
+
/**
|
|
31636
|
+
* Disconnect a WordPress site from the profile. The Reach plugin on the site stops sending subscribers and store data, and the site\'s products and coupons are removed from Reach; contacts and past orders stay. Take `domain` from the list connected websites endpoint. Fails with not found when the domain is not connected to this profile. This cannot be undone through the API - the customer reconnects from the WordPress plugin - so confirm the site and the plan with the customer before calling.
|
|
31637
|
+
* @summary Disconnect WordPress site
|
|
31638
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
31639
|
+
* @param {ReachV1WebsitesWordPressDisconnectRequest} reachV1WebsitesWordPressDisconnectRequest
|
|
31640
|
+
* @param {*} [options] Override http request option.
|
|
31641
|
+
* @throws {RequiredError}
|
|
31642
|
+
* @memberof ReachIntegrationsApi
|
|
31643
|
+
*/
|
|
31644
|
+
disconnectWordPressSiteV1(profileUuid: string, reachV1WebsitesWordPressDisconnectRequest: ReachV1WebsitesWordPressDisconnectRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
31645
|
+
/**
|
|
31646
|
+
* Get the websites connected to the profile, each with its `domain` and `platform_type`. A domain is connected to at most one profile, so to find which plan a site is on, call this for each profile. Only connected sites are listed, not every website the customer owns, and eCommerce stores are not included - use the list eCommerce stores endpoint for those. Pass `domain` to the disconnect WordPress site or disconnect AI Website Builder site endpoint.
|
|
31647
|
+
* @summary List connected websites
|
|
31648
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
31649
|
+
* @param {*} [options] Override http request option.
|
|
31650
|
+
* @throws {RequiredError}
|
|
31651
|
+
* @memberof ReachIntegrationsApi
|
|
31652
|
+
*/
|
|
31653
|
+
listConnectedWebsitesV1(profileUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1WebsitesWebsiteResource[], any, {}, any>>;
|
|
31654
|
+
/**
|
|
31655
|
+
* Get all of the customer\'s Hostinger eCommerce stores, each with its `store_id` and `connection_status` for the profile in the path. A store is connected to at most one profile. `connected_to_other_profile` does not name that profile - call this for each profile to find it. The list is empty, not an error, when the eCommerce service cannot be reached. Pass `store_id` to the disconnect eCommerce store endpoint. Connecting an AI Website Builder site connects the store selling on it.
|
|
31656
|
+
* @summary List Ecommerce stores
|
|
31657
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
31658
|
+
* @param {*} [options] Override http request option.
|
|
31659
|
+
* @throws {RequiredError}
|
|
31660
|
+
* @memberof ReachIntegrationsApi
|
|
31661
|
+
*/
|
|
31662
|
+
listEcommerceStoresV1(profileUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1StoresStoreResource[], any, {}, any>>;
|
|
31663
|
+
}
|
|
31221
31664
|
/**
|
|
31222
31665
|
* ReachProfilesApi - axios parameter creator
|
|
31223
31666
|
* @export
|
|
@@ -32437,7 +32880,16 @@ export declare const ReachTemplatesApiAxiosParamCreator: (configuration?: Config
|
|
|
32437
32880
|
*/
|
|
32438
32881
|
createAnEmailTemplateV1: (profileUuid: string, reachV1TemplatesStoreRequest: ReachV1TemplatesStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32439
32882
|
/**
|
|
32440
|
-
* Get
|
|
32883
|
+
* Get one email template of the profile with its full HTML in `template_content`. A campaign\'s email content is its template: to read what a campaign sends, get the campaign and pass its `template_uuid` here. The HTML can be large, so fetch it only when the content itself is needed, never to browse or pick templates - the list email templates endpoint does that without content. Personalization tags such as `{{name}}` come back unrendered.
|
|
32884
|
+
* @summary Get email template
|
|
32885
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
32886
|
+
* @param {string} templateUuid Template uuid parameter
|
|
32887
|
+
* @param {*} [options] Override http request option.
|
|
32888
|
+
* @throws {RequiredError}
|
|
32889
|
+
*/
|
|
32890
|
+
getEmailTemplateV1: (profileUuid: string, templateUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32891
|
+
/**
|
|
32892
|
+
* Get a list of the email templates in a profile, most recently updated first. Templates are the reusable email bodies a campaign is built from. The list is not paginated and only the metadata is returned, without the HTML content. Use the `uuid` of a template as the `template_uuid` when creating a campaign. To read one template\'s HTML use the get email template endpoint, and only when the content itself is needed.
|
|
32441
32893
|
* @summary List email templates
|
|
32442
32894
|
* @param {string} profileUuid Profile uuid parameter
|
|
32443
32895
|
* @param {*} [options] Override http request option.
|
|
@@ -32460,7 +32912,16 @@ export declare const ReachTemplatesApiFp: (configuration?: Configuration) => {
|
|
|
32460
32912
|
*/
|
|
32461
32913
|
createAnEmailTemplateV1(profileUuid: string, reachV1TemplatesStoreRequest: ReachV1TemplatesStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachV1TemplatesTemplateResource>>;
|
|
32462
32914
|
/**
|
|
32463
|
-
* Get
|
|
32915
|
+
* Get one email template of the profile with its full HTML in `template_content`. A campaign\'s email content is its template: to read what a campaign sends, get the campaign and pass its `template_uuid` here. The HTML can be large, so fetch it only when the content itself is needed, never to browse or pick templates - the list email templates endpoint does that without content. Personalization tags such as `{{name}}` come back unrendered.
|
|
32916
|
+
* @summary Get email template
|
|
32917
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
32918
|
+
* @param {string} templateUuid Template uuid parameter
|
|
32919
|
+
* @param {*} [options] Override http request option.
|
|
32920
|
+
* @throws {RequiredError}
|
|
32921
|
+
*/
|
|
32922
|
+
getEmailTemplateV1(profileUuid: string, templateUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachV1TemplatesTemplateDetailsResource>>;
|
|
32923
|
+
/**
|
|
32924
|
+
* Get a list of the email templates in a profile, most recently updated first. Templates are the reusable email bodies a campaign is built from. The list is not paginated and only the metadata is returned, without the HTML content. Use the `uuid` of a template as the `template_uuid` when creating a campaign. To read one template\'s HTML use the get email template endpoint, and only when the content itself is needed.
|
|
32464
32925
|
* @summary List email templates
|
|
32465
32926
|
* @param {string} profileUuid Profile uuid parameter
|
|
32466
32927
|
* @param {*} [options] Override http request option.
|
|
@@ -32483,7 +32944,16 @@ export declare const ReachTemplatesApiFactory: (configuration?: Configuration, b
|
|
|
32483
32944
|
*/
|
|
32484
32945
|
createAnEmailTemplateV1(profileUuid: string, reachV1TemplatesStoreRequest: ReachV1TemplatesStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReachV1TemplatesTemplateResource>;
|
|
32485
32946
|
/**
|
|
32486
|
-
* Get
|
|
32947
|
+
* Get one email template of the profile with its full HTML in `template_content`. A campaign\'s email content is its template: to read what a campaign sends, get the campaign and pass its `template_uuid` here. The HTML can be large, so fetch it only when the content itself is needed, never to browse or pick templates - the list email templates endpoint does that without content. Personalization tags such as `{{name}}` come back unrendered.
|
|
32948
|
+
* @summary Get email template
|
|
32949
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
32950
|
+
* @param {string} templateUuid Template uuid parameter
|
|
32951
|
+
* @param {*} [options] Override http request option.
|
|
32952
|
+
* @throws {RequiredError}
|
|
32953
|
+
*/
|
|
32954
|
+
getEmailTemplateV1(profileUuid: string, templateUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<ReachV1TemplatesTemplateDetailsResource>;
|
|
32955
|
+
/**
|
|
32956
|
+
* Get a list of the email templates in a profile, most recently updated first. Templates are the reusable email bodies a campaign is built from. The list is not paginated and only the metadata is returned, without the HTML content. Use the `uuid` of a template as the `template_uuid` when creating a campaign. To read one template\'s HTML use the get email template endpoint, and only when the content itself is needed.
|
|
32487
32957
|
* @summary List email templates
|
|
32488
32958
|
* @param {string} profileUuid Profile uuid parameter
|
|
32489
32959
|
* @param {*} [options] Override http request option.
|
|
@@ -32509,7 +32979,17 @@ export declare class ReachTemplatesApi extends BaseAPI {
|
|
|
32509
32979
|
*/
|
|
32510
32980
|
createAnEmailTemplateV1(profileUuid: string, reachV1TemplatesStoreRequest: ReachV1TemplatesStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1TemplatesTemplateResource, any, {}, any>>;
|
|
32511
32981
|
/**
|
|
32512
|
-
* Get
|
|
32982
|
+
* Get one email template of the profile with its full HTML in `template_content`. A campaign\'s email content is its template: to read what a campaign sends, get the campaign and pass its `template_uuid` here. The HTML can be large, so fetch it only when the content itself is needed, never to browse or pick templates - the list email templates endpoint does that without content. Personalization tags such as `{{name}}` come back unrendered.
|
|
32983
|
+
* @summary Get email template
|
|
32984
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
32985
|
+
* @param {string} templateUuid Template uuid parameter
|
|
32986
|
+
* @param {*} [options] Override http request option.
|
|
32987
|
+
* @throws {RequiredError}
|
|
32988
|
+
* @memberof ReachTemplatesApi
|
|
32989
|
+
*/
|
|
32990
|
+
getEmailTemplateV1(profileUuid: string, templateUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1TemplatesTemplateDetailsResource, any, {}, any>>;
|
|
32991
|
+
/**
|
|
32992
|
+
* Get a list of the email templates in a profile, most recently updated first. Templates are the reusable email bodies a campaign is built from. The list is not paginated and only the metadata is returned, without the HTML content. Use the `uuid` of a template as the `template_uuid` when creating a campaign. To read one template\'s HTML use the get email template endpoint, and only when the content itself is needed.
|
|
32513
32993
|
* @summary List email templates
|
|
32514
32994
|
* @param {string} profileUuid Profile uuid parameter
|
|
32515
32995
|
* @param {*} [options] Override http request option.
|