hostinger-api-sdk 1.25.0 → 1.27.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 +6549 -4800
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +1357 -138
- package/dist/api.js +1143 -144
- 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 +1357 -138
- package/dist/esm/api.js +1130 -136
- 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/DomainsPortfolioApi.md +56 -0
- package/docs/DomainsTransferApi.md +56 -0
- package/docs/DomainsV1PortfolioClaimRequest.md +24 -0
- package/docs/{DomainsV1PortfolioPurchaseRequestDomainContacts.md → DomainsV1PortfolioClaimRequestDomainContacts.md} +3 -3
- package/docs/DomainsV1PortfolioClaimResource.md +24 -0
- package/docs/DomainsV1PortfolioPurchaseRequest.md +1 -1
- package/docs/DomainsV1TransferClaimRequest.md +26 -0
- package/docs/ReachContactFieldsApi.md +239 -0
- package/docs/ReachContactsApi.md +308 -4
- package/docs/ReachListProfileContactsV1200Response.md +22 -0
- package/docs/ReachV1ContactsBulkStoreRequest.md +25 -0
- package/docs/ReachV1ContactsBulkStoreRequestContactsInner.md +26 -0
- package/docs/ReachV1ContactsContactDetailsResource.md +46 -0
- package/docs/ReachV1ContactsFieldsContactFieldOptionResource.md +24 -0
- package/docs/ReachV1ContactsFieldsContactFieldResource.md +30 -0
- package/docs/ReachV1ContactsFieldsContactFieldValueResource.md +33 -0
- package/docs/ReachV1ContactsFieldsStoreRequest.md +25 -0
- package/docs/ReachV1ContactsFieldsUpdateRequest.md +23 -0
- package/docs/ReachV1ContactsFieldsUpdateRequestOptionsInner.md +22 -0
- package/docs/ReachV1ContactsProfileContactResource.md +38 -0
- package/docs/ReachV1ContactsProfileContactUpdateResource.md +34 -0
- package/docs/ReachV1ContactsTagsTagResource.md +26 -0
- package/docs/ReachV1ContactsUpdateRequest.md +33 -0
- package/docs/ReachV1ContactsUpdateRequestFieldsInner.md +24 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.28.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
|
|
@@ -2847,77 +2847,138 @@ export interface DomainsV1PortfolioAuthCodeAuthCodeResource {
|
|
|
2847
2847
|
/**
|
|
2848
2848
|
*
|
|
2849
2849
|
* @export
|
|
2850
|
-
* @interface
|
|
2850
|
+
* @interface DomainsV1PortfolioClaimRequest
|
|
2851
2851
|
*/
|
|
2852
|
-
export interface
|
|
2852
|
+
export interface DomainsV1PortfolioClaimRequest {
|
|
2853
2853
|
/**
|
|
2854
2854
|
* Domain name
|
|
2855
2855
|
* @type {string}
|
|
2856
|
-
* @memberof
|
|
2856
|
+
* @memberof DomainsV1PortfolioClaimRequest
|
|
2857
2857
|
*/
|
|
2858
2858
|
'domain': string;
|
|
2859
|
-
/**
|
|
2860
|
-
* Catalog price item ID
|
|
2861
|
-
* @type {string}
|
|
2862
|
-
* @memberof DomainsV1PortfolioPurchaseRequest
|
|
2863
|
-
*/
|
|
2864
|
-
'item_id': string;
|
|
2865
|
-
/**
|
|
2866
|
-
* Payment method ID, default will be used if not provided
|
|
2867
|
-
* @type {number}
|
|
2868
|
-
* @memberof DomainsV1PortfolioPurchaseRequest
|
|
2869
|
-
*/
|
|
2870
|
-
'payment_method_id': number;
|
|
2871
2859
|
/**
|
|
2872
2860
|
*
|
|
2873
|
-
* @type {
|
|
2874
|
-
* @memberof
|
|
2861
|
+
* @type {DomainsV1PortfolioClaimRequestDomainContacts}
|
|
2862
|
+
* @memberof DomainsV1PortfolioClaimRequest
|
|
2875
2863
|
*/
|
|
2876
|
-
'domain_contacts':
|
|
2864
|
+
'domain_contacts': DomainsV1PortfolioClaimRequestDomainContacts;
|
|
2877
2865
|
/**
|
|
2878
2866
|
* Additional registration data, possible values depends on TLD
|
|
2879
2867
|
* @type {object}
|
|
2880
|
-
* @memberof
|
|
2868
|
+
* @memberof DomainsV1PortfolioClaimRequest
|
|
2881
2869
|
*/
|
|
2882
2870
|
'additional_details': object;
|
|
2883
|
-
/**
|
|
2884
|
-
* Discount coupon codes
|
|
2885
|
-
* @type {Array<any>}
|
|
2886
|
-
* @memberof DomainsV1PortfolioPurchaseRequest
|
|
2887
|
-
*/
|
|
2888
|
-
'coupons': Array<any>;
|
|
2889
2871
|
}
|
|
2890
2872
|
/**
|
|
2891
2873
|
* Domain contact information
|
|
2892
2874
|
* @export
|
|
2893
|
-
* @interface
|
|
2875
|
+
* @interface DomainsV1PortfolioClaimRequestDomainContacts
|
|
2894
2876
|
*/
|
|
2895
|
-
export interface
|
|
2877
|
+
export interface DomainsV1PortfolioClaimRequestDomainContacts {
|
|
2896
2878
|
/**
|
|
2897
2879
|
* Owner contact WHOIS record ID
|
|
2898
2880
|
* @type {number}
|
|
2899
|
-
* @memberof
|
|
2881
|
+
* @memberof DomainsV1PortfolioClaimRequestDomainContacts
|
|
2900
2882
|
*/
|
|
2901
2883
|
'owner_id': number;
|
|
2902
2884
|
/**
|
|
2903
2885
|
* Administrative contact WHOIS record ID
|
|
2904
2886
|
* @type {number}
|
|
2905
|
-
* @memberof
|
|
2887
|
+
* @memberof DomainsV1PortfolioClaimRequestDomainContacts
|
|
2906
2888
|
*/
|
|
2907
2889
|
'admin_id': number;
|
|
2908
2890
|
/**
|
|
2909
2891
|
* Billing contact WHOIS record ID
|
|
2910
2892
|
* @type {number}
|
|
2911
|
-
* @memberof
|
|
2893
|
+
* @memberof DomainsV1PortfolioClaimRequestDomainContacts
|
|
2912
2894
|
*/
|
|
2913
2895
|
'billing_id': number;
|
|
2914
2896
|
/**
|
|
2915
2897
|
* Technical contact WHOIS record ID
|
|
2916
2898
|
* @type {number}
|
|
2917
|
-
* @memberof
|
|
2899
|
+
* @memberof DomainsV1PortfolioClaimRequestDomainContacts
|
|
2918
2900
|
*/
|
|
2919
2901
|
'tech_id': number;
|
|
2920
2902
|
}
|
|
2903
|
+
/**
|
|
2904
|
+
*
|
|
2905
|
+
* @export
|
|
2906
|
+
* @interface DomainsV1PortfolioClaimResource
|
|
2907
|
+
*/
|
|
2908
|
+
export interface DomainsV1PortfolioClaimResource {
|
|
2909
|
+
/**
|
|
2910
|
+
* Domain name
|
|
2911
|
+
* @type {string}
|
|
2912
|
+
* @memberof DomainsV1PortfolioClaimResource
|
|
2913
|
+
*/
|
|
2914
|
+
'domain': string | null;
|
|
2915
|
+
/**
|
|
2916
|
+
* Domain status
|
|
2917
|
+
* @type {string}
|
|
2918
|
+
* @memberof DomainsV1PortfolioClaimResource
|
|
2919
|
+
*/
|
|
2920
|
+
'status': DomainsV1PortfolioClaimResourceStatusEnum | null;
|
|
2921
|
+
/**
|
|
2922
|
+
*
|
|
2923
|
+
* @type {string}
|
|
2924
|
+
* @memberof DomainsV1PortfolioClaimResource
|
|
2925
|
+
*/
|
|
2926
|
+
'created_at': string | null;
|
|
2927
|
+
}
|
|
2928
|
+
export declare const DomainsV1PortfolioClaimResourceStatusEnum: {
|
|
2929
|
+
readonly Active: "active";
|
|
2930
|
+
readonly PendingSetup: "pending_setup";
|
|
2931
|
+
readonly Expired: "expired";
|
|
2932
|
+
readonly Requested: "requested";
|
|
2933
|
+
readonly PendingVerification: "pending_verification";
|
|
2934
|
+
readonly Deleted: "deleted";
|
|
2935
|
+
readonly Suspended: "suspended";
|
|
2936
|
+
readonly Failed: "failed";
|
|
2937
|
+
};
|
|
2938
|
+
export type DomainsV1PortfolioClaimResourceStatusEnum = typeof DomainsV1PortfolioClaimResourceStatusEnum[keyof typeof DomainsV1PortfolioClaimResourceStatusEnum];
|
|
2939
|
+
/**
|
|
2940
|
+
*
|
|
2941
|
+
* @export
|
|
2942
|
+
* @interface DomainsV1PortfolioPurchaseRequest
|
|
2943
|
+
*/
|
|
2944
|
+
export interface DomainsV1PortfolioPurchaseRequest {
|
|
2945
|
+
/**
|
|
2946
|
+
* Domain name
|
|
2947
|
+
* @type {string}
|
|
2948
|
+
* @memberof DomainsV1PortfolioPurchaseRequest
|
|
2949
|
+
*/
|
|
2950
|
+
'domain': string;
|
|
2951
|
+
/**
|
|
2952
|
+
* Catalog price item ID
|
|
2953
|
+
* @type {string}
|
|
2954
|
+
* @memberof DomainsV1PortfolioPurchaseRequest
|
|
2955
|
+
*/
|
|
2956
|
+
'item_id': string;
|
|
2957
|
+
/**
|
|
2958
|
+
* Payment method ID, default will be used if not provided
|
|
2959
|
+
* @type {number}
|
|
2960
|
+
* @memberof DomainsV1PortfolioPurchaseRequest
|
|
2961
|
+
*/
|
|
2962
|
+
'payment_method_id': number;
|
|
2963
|
+
/**
|
|
2964
|
+
*
|
|
2965
|
+
* @type {DomainsV1PortfolioClaimRequestDomainContacts}
|
|
2966
|
+
* @memberof DomainsV1PortfolioPurchaseRequest
|
|
2967
|
+
*/
|
|
2968
|
+
'domain_contacts': DomainsV1PortfolioClaimRequestDomainContacts;
|
|
2969
|
+
/**
|
|
2970
|
+
* Additional registration data, possible values depends on TLD
|
|
2971
|
+
* @type {object}
|
|
2972
|
+
* @memberof DomainsV1PortfolioPurchaseRequest
|
|
2973
|
+
*/
|
|
2974
|
+
'additional_details': object;
|
|
2975
|
+
/**
|
|
2976
|
+
* Discount coupon codes
|
|
2977
|
+
* @type {Array<any>}
|
|
2978
|
+
* @memberof DomainsV1PortfolioPurchaseRequest
|
|
2979
|
+
*/
|
|
2980
|
+
'coupons': Array<any>;
|
|
2981
|
+
}
|
|
2921
2982
|
/**
|
|
2922
2983
|
*
|
|
2923
2984
|
* @export
|
|
@@ -2974,6 +3035,37 @@ export interface DomainsV1PortfolioUpdateNameserversRequest {
|
|
|
2974
3035
|
*/
|
|
2975
3036
|
'ns4': string;
|
|
2976
3037
|
}
|
|
3038
|
+
/**
|
|
3039
|
+
*
|
|
3040
|
+
* @export
|
|
3041
|
+
* @interface DomainsV1TransferClaimRequest
|
|
3042
|
+
*/
|
|
3043
|
+
export interface DomainsV1TransferClaimRequest {
|
|
3044
|
+
/**
|
|
3045
|
+
* Domain name
|
|
3046
|
+
* @type {string}
|
|
3047
|
+
* @memberof DomainsV1TransferClaimRequest
|
|
3048
|
+
*/
|
|
3049
|
+
'domain': string;
|
|
3050
|
+
/**
|
|
3051
|
+
* Authorization code from the current registrar
|
|
3052
|
+
* @type {string}
|
|
3053
|
+
* @memberof DomainsV1TransferClaimRequest
|
|
3054
|
+
*/
|
|
3055
|
+
'auth_code': string;
|
|
3056
|
+
/**
|
|
3057
|
+
*
|
|
3058
|
+
* @type {DomainsV1PortfolioClaimRequestDomainContacts}
|
|
3059
|
+
* @memberof DomainsV1TransferClaimRequest
|
|
3060
|
+
*/
|
|
3061
|
+
'domain_contacts': DomainsV1PortfolioClaimRequestDomainContacts;
|
|
3062
|
+
/**
|
|
3063
|
+
* Keep the existing nameservers of the domain
|
|
3064
|
+
* @type {boolean}
|
|
3065
|
+
* @memberof DomainsV1TransferClaimRequest
|
|
3066
|
+
*/
|
|
3067
|
+
'should_keep_ns': boolean;
|
|
3068
|
+
}
|
|
2977
3069
|
/**
|
|
2978
3070
|
*
|
|
2979
3071
|
* @export
|
|
@@ -7252,222 +7344,761 @@ export interface MailV1WebhooksWebhookSecretResource {
|
|
|
7252
7344
|
/**
|
|
7253
7345
|
* Unique webhook identifier
|
|
7254
7346
|
* @type {string}
|
|
7255
|
-
* @memberof MailV1WebhooksWebhookSecretResource
|
|
7347
|
+
* @memberof MailV1WebhooksWebhookSecretResource
|
|
7348
|
+
*/
|
|
7349
|
+
'id': string;
|
|
7350
|
+
/**
|
|
7351
|
+
*
|
|
7352
|
+
* @type {MailV1WebhooksWebhookMailboxResource}
|
|
7353
|
+
* @memberof MailV1WebhooksWebhookSecretResource
|
|
7354
|
+
*/
|
|
7355
|
+
'mailbox': MailV1WebhooksWebhookMailboxResource;
|
|
7356
|
+
/**
|
|
7357
|
+
* Human-readable name for this webhook
|
|
7358
|
+
* @type {string}
|
|
7359
|
+
* @memberof MailV1WebhooksWebhookSecretResource
|
|
7360
|
+
*/
|
|
7361
|
+
'name': string;
|
|
7362
|
+
/**
|
|
7363
|
+
* Optional description of the webhook\'s purpose
|
|
7364
|
+
* @type {string}
|
|
7365
|
+
* @memberof MailV1WebhooksWebhookSecretResource
|
|
7366
|
+
*/
|
|
7367
|
+
'description': string | null;
|
|
7368
|
+
/**
|
|
7369
|
+
* Events that trigger this webhook
|
|
7370
|
+
* @type {Array<string>}
|
|
7371
|
+
* @memberof MailV1WebhooksWebhookSecretResource
|
|
7372
|
+
*/
|
|
7373
|
+
'events': Array<MailV1WebhooksWebhookSecretResourceEventsEnum>;
|
|
7374
|
+
/**
|
|
7375
|
+
* Current status of the webhook
|
|
7376
|
+
* @type {string}
|
|
7377
|
+
* @memberof MailV1WebhooksWebhookSecretResource
|
|
7378
|
+
*/
|
|
7379
|
+
'status': MailV1WebhooksWebhookSecretResourceStatusEnum;
|
|
7380
|
+
/**
|
|
7381
|
+
* URL that receives webhook POST requests
|
|
7382
|
+
* @type {string}
|
|
7383
|
+
* @memberof MailV1WebhooksWebhookSecretResource
|
|
7384
|
+
*/
|
|
7385
|
+
'url': string;
|
|
7386
|
+
/**
|
|
7387
|
+
* New webhook secret, sent as `Authorization: Bearer <secret>` with every delivery. The previous secret is immediately invalidated and the new one is not returned again.
|
|
7388
|
+
* @type {string}
|
|
7389
|
+
* @memberof MailV1WebhooksWebhookSecretResource
|
|
7390
|
+
*/
|
|
7391
|
+
'secret': string;
|
|
7392
|
+
/**
|
|
7393
|
+
*
|
|
7394
|
+
* @type {string}
|
|
7395
|
+
* @memberof MailV1WebhooksWebhookSecretResource
|
|
7396
|
+
*/
|
|
7397
|
+
'created_at': string;
|
|
7398
|
+
/**
|
|
7399
|
+
*
|
|
7400
|
+
* @type {string}
|
|
7401
|
+
* @memberof MailV1WebhooksWebhookSecretResource
|
|
7402
|
+
*/
|
|
7403
|
+
'updated_at': string;
|
|
7404
|
+
}
|
|
7405
|
+
export declare const MailV1WebhooksWebhookSecretResourceEventsEnum: {
|
|
7406
|
+
readonly MessageReceived: "message.received";
|
|
7407
|
+
};
|
|
7408
|
+
export type MailV1WebhooksWebhookSecretResourceEventsEnum = typeof MailV1WebhooksWebhookSecretResourceEventsEnum[keyof typeof MailV1WebhooksWebhookSecretResourceEventsEnum];
|
|
7409
|
+
export declare const MailV1WebhooksWebhookSecretResourceStatusEnum: {
|
|
7410
|
+
readonly Active: "active";
|
|
7411
|
+
readonly Disabled: "disabled";
|
|
7412
|
+
readonly Paused: "paused";
|
|
7413
|
+
};
|
|
7414
|
+
export type MailV1WebhooksWebhookSecretResourceStatusEnum = typeof MailV1WebhooksWebhookSecretResourceStatusEnum[keyof typeof MailV1WebhooksWebhookSecretResourceStatusEnum];
|
|
7415
|
+
/**
|
|
7416
|
+
*
|
|
7417
|
+
* @export
|
|
7418
|
+
* @interface MailV1WebhooksWebhookTestResultResource
|
|
7419
|
+
*/
|
|
7420
|
+
export interface MailV1WebhooksWebhookTestResultResource {
|
|
7421
|
+
/**
|
|
7422
|
+
* HTTP status code returned by the webhook endpoint
|
|
7423
|
+
* @type {number}
|
|
7424
|
+
* @memberof MailV1WebhooksWebhookTestResultResource
|
|
7425
|
+
*/
|
|
7426
|
+
'http_status': number;
|
|
7427
|
+
/**
|
|
7428
|
+
* Whether the test delivery was successful
|
|
7429
|
+
* @type {boolean}
|
|
7430
|
+
* @memberof MailV1WebhooksWebhookTestResultResource
|
|
7431
|
+
*/
|
|
7432
|
+
'is_successful': boolean;
|
|
7433
|
+
/**
|
|
7434
|
+
* Error message returned by the webhook endpoint in case of failure
|
|
7435
|
+
* @type {string}
|
|
7436
|
+
* @memberof MailV1WebhooksWebhookTestResultResource
|
|
7437
|
+
*/
|
|
7438
|
+
'error': string | null;
|
|
7439
|
+
}
|
|
7440
|
+
/**
|
|
7441
|
+
*
|
|
7442
|
+
* @export
|
|
7443
|
+
* @interface ReachListContactsV1200Response
|
|
7444
|
+
*/
|
|
7445
|
+
export interface ReachListContactsV1200Response {
|
|
7446
|
+
/**
|
|
7447
|
+
* Array of [`Reach.V1.Contacts.ContactResource`](#model/reachv1contactscontactresource)
|
|
7448
|
+
* @type {Array<ReachV1ContactsContactResource>}
|
|
7449
|
+
* @memberof ReachListContactsV1200Response
|
|
7450
|
+
*/
|
|
7451
|
+
'data': Array<ReachV1ContactsContactResource>;
|
|
7452
|
+
/**
|
|
7453
|
+
*
|
|
7454
|
+
* @type {CommonSchemaPaginationMetaSchema}
|
|
7455
|
+
* @memberof ReachListContactsV1200Response
|
|
7456
|
+
*/
|
|
7457
|
+
'meta': CommonSchemaPaginationMetaSchema;
|
|
7458
|
+
}
|
|
7459
|
+
/**
|
|
7460
|
+
*
|
|
7461
|
+
* @export
|
|
7462
|
+
* @interface ReachListProfileContactsV1200Response
|
|
7463
|
+
*/
|
|
7464
|
+
export interface ReachListProfileContactsV1200Response {
|
|
7465
|
+
/**
|
|
7466
|
+
* Array of [`Reach.V1.Contacts.ProfileContactResource`](#model/reachv1contactsprofilecontactresource)
|
|
7467
|
+
* @type {Array<ReachV1ContactsProfileContactResource>}
|
|
7468
|
+
* @memberof ReachListProfileContactsV1200Response
|
|
7469
|
+
*/
|
|
7470
|
+
'data': Array<ReachV1ContactsProfileContactResource>;
|
|
7471
|
+
/**
|
|
7472
|
+
*
|
|
7473
|
+
* @type {CommonSchemaPaginationMetaSchema}
|
|
7474
|
+
* @memberof ReachListProfileContactsV1200Response
|
|
7475
|
+
*/
|
|
7476
|
+
'meta': CommonSchemaPaginationMetaSchema;
|
|
7477
|
+
}
|
|
7478
|
+
/**
|
|
7479
|
+
*
|
|
7480
|
+
* @export
|
|
7481
|
+
* @interface ReachListProfileSegmentContactsV1200Response
|
|
7482
|
+
*/
|
|
7483
|
+
export interface ReachListProfileSegmentContactsV1200Response {
|
|
7484
|
+
/**
|
|
7485
|
+
* Array of [`Reach.V1.Contacts.Segments.SegmentationContactResource`](#model/reachv1contactssegmentssegmentationcontactresource)
|
|
7486
|
+
* @type {Array<ReachV1ContactsSegmentsSegmentationContactResource>}
|
|
7487
|
+
* @memberof ReachListProfileSegmentContactsV1200Response
|
|
7488
|
+
*/
|
|
7489
|
+
'data': Array<ReachV1ContactsSegmentsSegmentationContactResource>;
|
|
7490
|
+
/**
|
|
7491
|
+
*
|
|
7492
|
+
* @type {CommonSchemaPaginationMetaSchema}
|
|
7493
|
+
* @memberof ReachListProfileSegmentContactsV1200Response
|
|
7494
|
+
*/
|
|
7495
|
+
'meta': CommonSchemaPaginationMetaSchema;
|
|
7496
|
+
}
|
|
7497
|
+
/**
|
|
7498
|
+
* Create many contacts in one call
|
|
7499
|
+
* @export
|
|
7500
|
+
* @interface ReachV1ContactsBulkStoreRequest
|
|
7501
|
+
*/
|
|
7502
|
+
export interface ReachV1ContactsBulkStoreRequest {
|
|
7503
|
+
/**
|
|
7504
|
+
*
|
|
7505
|
+
* @type {Array<ReachV1ContactsBulkStoreRequestContactsInner>}
|
|
7506
|
+
* @memberof ReachV1ContactsBulkStoreRequest
|
|
7507
|
+
*/
|
|
7508
|
+
'contacts': Array<ReachV1ContactsBulkStoreRequestContactsInner>;
|
|
7509
|
+
/**
|
|
7510
|
+
* Existing tags to attach to every created contact
|
|
7511
|
+
* @type {Array<string>}
|
|
7512
|
+
* @memberof ReachV1ContactsBulkStoreRequest
|
|
7513
|
+
*/
|
|
7514
|
+
'tag_uuids': Array<string>;
|
|
7515
|
+
/**
|
|
7516
|
+
* Note applied to every created contact
|
|
7517
|
+
* @type {string}
|
|
7518
|
+
* @memberof ReachV1ContactsBulkStoreRequest
|
|
7519
|
+
*/
|
|
7520
|
+
'note': string | null;
|
|
7521
|
+
}
|
|
7522
|
+
/**
|
|
7523
|
+
*
|
|
7524
|
+
* @export
|
|
7525
|
+
* @interface ReachV1ContactsBulkStoreRequestContactsInner
|
|
7526
|
+
*/
|
|
7527
|
+
export interface ReachV1ContactsBulkStoreRequestContactsInner {
|
|
7528
|
+
/**
|
|
7529
|
+
*
|
|
7530
|
+
* @type {string}
|
|
7531
|
+
* @memberof ReachV1ContactsBulkStoreRequestContactsInner
|
|
7532
|
+
*/
|
|
7533
|
+
'email': string;
|
|
7534
|
+
/**
|
|
7535
|
+
*
|
|
7536
|
+
* @type {string}
|
|
7537
|
+
* @memberof ReachV1ContactsBulkStoreRequestContactsInner
|
|
7538
|
+
*/
|
|
7539
|
+
'name': string | null;
|
|
7540
|
+
/**
|
|
7541
|
+
*
|
|
7542
|
+
* @type {string}
|
|
7543
|
+
* @memberof ReachV1ContactsBulkStoreRequestContactsInner
|
|
7544
|
+
*/
|
|
7545
|
+
'surname': string | null;
|
|
7546
|
+
/**
|
|
7547
|
+
* Phone number in E.164 format (leading \"+\" then 7-15 digits)
|
|
7548
|
+
* @type {string}
|
|
7549
|
+
* @memberof ReachV1ContactsBulkStoreRequestContactsInner
|
|
7550
|
+
*/
|
|
7551
|
+
'phone': string | null;
|
|
7552
|
+
}
|
|
7553
|
+
/**
|
|
7554
|
+
*
|
|
7555
|
+
* @export
|
|
7556
|
+
* @interface ReachV1ContactsContactDetailsResource
|
|
7557
|
+
*/
|
|
7558
|
+
export interface ReachV1ContactsContactDetailsResource {
|
|
7559
|
+
/**
|
|
7560
|
+
*
|
|
7561
|
+
* @type {string}
|
|
7562
|
+
* @memberof ReachV1ContactsContactDetailsResource
|
|
7563
|
+
*/
|
|
7564
|
+
'uuid': string;
|
|
7565
|
+
/**
|
|
7566
|
+
*
|
|
7567
|
+
* @type {string}
|
|
7568
|
+
* @memberof ReachV1ContactsContactDetailsResource
|
|
7569
|
+
*/
|
|
7570
|
+
'email': string;
|
|
7571
|
+
/**
|
|
7572
|
+
*
|
|
7573
|
+
* @type {string}
|
|
7574
|
+
* @memberof ReachV1ContactsContactDetailsResource
|
|
7575
|
+
*/
|
|
7576
|
+
'name': string | null;
|
|
7577
|
+
/**
|
|
7578
|
+
*
|
|
7579
|
+
* @type {string}
|
|
7580
|
+
* @memberof ReachV1ContactsContactDetailsResource
|
|
7581
|
+
*/
|
|
7582
|
+
'surname': string | null;
|
|
7583
|
+
/**
|
|
7584
|
+
*
|
|
7585
|
+
* @type {string}
|
|
7586
|
+
* @memberof ReachV1ContactsContactDetailsResource
|
|
7587
|
+
*/
|
|
7588
|
+
'phone': string | null;
|
|
7589
|
+
/**
|
|
7590
|
+
*
|
|
7591
|
+
* @type {string}
|
|
7592
|
+
* @memberof ReachV1ContactsContactDetailsResource
|
|
7593
|
+
*/
|
|
7594
|
+
'subscription_status': ReachV1ContactsContactDetailsResourceSubscriptionStatusEnum;
|
|
7595
|
+
/**
|
|
7596
|
+
*
|
|
7597
|
+
* @type {string}
|
|
7598
|
+
* @memberof ReachV1ContactsContactDetailsResource
|
|
7599
|
+
*/
|
|
7600
|
+
'subscribed_at': string | null;
|
|
7601
|
+
/**
|
|
7602
|
+
*
|
|
7603
|
+
* @type {string}
|
|
7604
|
+
* @memberof ReachV1ContactsContactDetailsResource
|
|
7605
|
+
*/
|
|
7606
|
+
'unsubscribed_at': string | null;
|
|
7607
|
+
/**
|
|
7608
|
+
*
|
|
7609
|
+
* @type {string}
|
|
7610
|
+
* @memberof ReachV1ContactsContactDetailsResource
|
|
7611
|
+
*/
|
|
7612
|
+
'created_at': string | null;
|
|
7613
|
+
/**
|
|
7614
|
+
*
|
|
7615
|
+
* @type {string}
|
|
7616
|
+
* @memberof ReachV1ContactsContactDetailsResource
|
|
7617
|
+
*/
|
|
7618
|
+
'domain': string | null;
|
|
7619
|
+
/**
|
|
7620
|
+
*
|
|
7621
|
+
* @type {string}
|
|
7622
|
+
* @memberof ReachV1ContactsContactDetailsResource
|
|
7623
|
+
*/
|
|
7624
|
+
'source': ReachV1ContactsContactDetailsResourceSourceEnum | null;
|
|
7625
|
+
/**
|
|
7626
|
+
*
|
|
7627
|
+
* @type {string}
|
|
7628
|
+
* @memberof ReachV1ContactsContactDetailsResource
|
|
7629
|
+
*/
|
|
7630
|
+
'note': string | null;
|
|
7631
|
+
/**
|
|
7632
|
+
*
|
|
7633
|
+
* @type {Array<ReachV1ContactsTagsTagResource>}
|
|
7634
|
+
* @memberof ReachV1ContactsContactDetailsResource
|
|
7635
|
+
*/
|
|
7636
|
+
'tags': Array<ReachV1ContactsTagsTagResource>;
|
|
7637
|
+
/**
|
|
7638
|
+
* Custom field values held by this contact
|
|
7639
|
+
* @type {Array<ReachV1ContactsFieldsContactFieldValueResource>}
|
|
7640
|
+
* @memberof ReachV1ContactsContactDetailsResource
|
|
7641
|
+
*/
|
|
7642
|
+
'fields': Array<ReachV1ContactsFieldsContactFieldValueResource>;
|
|
7643
|
+
}
|
|
7644
|
+
export declare const ReachV1ContactsContactDetailsResourceSubscriptionStatusEnum: {
|
|
7645
|
+
readonly Subscribed: "subscribed";
|
|
7646
|
+
readonly Unsubscribed: "unsubscribed";
|
|
7647
|
+
readonly Confirmed: "confirmed";
|
|
7648
|
+
readonly Pending: "pending";
|
|
7649
|
+
};
|
|
7650
|
+
export type ReachV1ContactsContactDetailsResourceSubscriptionStatusEnum = typeof ReachV1ContactsContactDetailsResourceSubscriptionStatusEnum[keyof typeof ReachV1ContactsContactDetailsResourceSubscriptionStatusEnum];
|
|
7651
|
+
export declare const ReachV1ContactsContactDetailsResourceSourceEnum: {
|
|
7652
|
+
readonly Sync: "sync";
|
|
7653
|
+
readonly Import: "import";
|
|
7654
|
+
readonly Manual: "manual";
|
|
7655
|
+
readonly Api: "api";
|
|
7656
|
+
readonly Form: "form";
|
|
7657
|
+
readonly Checkout: "checkout";
|
|
7658
|
+
readonly Horizons: "horizons";
|
|
7659
|
+
};
|
|
7660
|
+
export type ReachV1ContactsContactDetailsResourceSourceEnum = typeof ReachV1ContactsContactDetailsResourceSourceEnum[keyof typeof ReachV1ContactsContactDetailsResourceSourceEnum];
|
|
7661
|
+
/**
|
|
7662
|
+
*
|
|
7663
|
+
* @export
|
|
7664
|
+
* @interface ReachV1ContactsContactResource
|
|
7665
|
+
*/
|
|
7666
|
+
export interface ReachV1ContactsContactResource {
|
|
7667
|
+
/**
|
|
7668
|
+
*
|
|
7669
|
+
* @type {string}
|
|
7670
|
+
* @memberof ReachV1ContactsContactResource
|
|
7671
|
+
*/
|
|
7672
|
+
'uuid': string;
|
|
7673
|
+
/**
|
|
7674
|
+
*
|
|
7675
|
+
* @type {string}
|
|
7676
|
+
* @memberof ReachV1ContactsContactResource
|
|
7677
|
+
*/
|
|
7678
|
+
'name': string | null;
|
|
7679
|
+
/**
|
|
7680
|
+
*
|
|
7681
|
+
* @type {string}
|
|
7682
|
+
* @memberof ReachV1ContactsContactResource
|
|
7683
|
+
*/
|
|
7684
|
+
'surname': string | null;
|
|
7685
|
+
/**
|
|
7686
|
+
*
|
|
7687
|
+
* @type {string}
|
|
7688
|
+
* @memberof ReachV1ContactsContactResource
|
|
7689
|
+
*/
|
|
7690
|
+
'email': string;
|
|
7691
|
+
/**
|
|
7692
|
+
*
|
|
7693
|
+
* @type {string}
|
|
7694
|
+
* @memberof ReachV1ContactsContactResource
|
|
7695
|
+
*/
|
|
7696
|
+
'subscription_status': ReachV1ContactsContactResourceSubscriptionStatusEnum;
|
|
7697
|
+
/**
|
|
7698
|
+
*
|
|
7699
|
+
* @type {string}
|
|
7700
|
+
* @memberof ReachV1ContactsContactResource
|
|
7701
|
+
*/
|
|
7702
|
+
'subscribed_at': string;
|
|
7703
|
+
/**
|
|
7704
|
+
*
|
|
7705
|
+
* @type {string}
|
|
7706
|
+
* @memberof ReachV1ContactsContactResource
|
|
7707
|
+
*/
|
|
7708
|
+
'source': ReachV1ContactsContactResourceSourceEnum | null;
|
|
7709
|
+
/**
|
|
7710
|
+
*
|
|
7711
|
+
* @type {string}
|
|
7712
|
+
* @memberof ReachV1ContactsContactResource
|
|
7713
|
+
*/
|
|
7714
|
+
'note': string | null;
|
|
7715
|
+
}
|
|
7716
|
+
export declare const ReachV1ContactsContactResourceSubscriptionStatusEnum: {
|
|
7717
|
+
readonly Subscribed: "subscribed";
|
|
7718
|
+
readonly Unsubscribed: "unsubscribed";
|
|
7719
|
+
readonly Confirmed: "confirmed";
|
|
7720
|
+
readonly Pending: "pending";
|
|
7721
|
+
};
|
|
7722
|
+
export type ReachV1ContactsContactResourceSubscriptionStatusEnum = typeof ReachV1ContactsContactResourceSubscriptionStatusEnum[keyof typeof ReachV1ContactsContactResourceSubscriptionStatusEnum];
|
|
7723
|
+
export declare const ReachV1ContactsContactResourceSourceEnum: {
|
|
7724
|
+
readonly Sync: "sync";
|
|
7725
|
+
readonly Import: "import";
|
|
7726
|
+
readonly Manual: "manual";
|
|
7727
|
+
readonly Api: "api";
|
|
7728
|
+
readonly Form: "form";
|
|
7729
|
+
readonly Checkout: "checkout";
|
|
7730
|
+
readonly Horizons: "horizons";
|
|
7731
|
+
};
|
|
7732
|
+
export type ReachV1ContactsContactResourceSourceEnum = typeof ReachV1ContactsContactResourceSourceEnum[keyof typeof ReachV1ContactsContactResourceSourceEnum];
|
|
7733
|
+
/**
|
|
7734
|
+
*
|
|
7735
|
+
* @export
|
|
7736
|
+
* @interface ReachV1ContactsFieldsContactFieldOptionResource
|
|
7737
|
+
*/
|
|
7738
|
+
export interface ReachV1ContactsFieldsContactFieldOptionResource {
|
|
7739
|
+
/**
|
|
7740
|
+
*
|
|
7741
|
+
* @type {string}
|
|
7742
|
+
* @memberof ReachV1ContactsFieldsContactFieldOptionResource
|
|
7743
|
+
*/
|
|
7744
|
+
'uuid': string;
|
|
7745
|
+
/**
|
|
7746
|
+
*
|
|
7747
|
+
* @type {string}
|
|
7748
|
+
* @memberof ReachV1ContactsFieldsContactFieldOptionResource
|
|
7749
|
+
*/
|
|
7750
|
+
'label': string;
|
|
7751
|
+
/**
|
|
7752
|
+
*
|
|
7753
|
+
* @type {number}
|
|
7754
|
+
* @memberof ReachV1ContactsFieldsContactFieldOptionResource
|
|
7755
|
+
*/
|
|
7756
|
+
'sort_order': number;
|
|
7757
|
+
}
|
|
7758
|
+
/**
|
|
7759
|
+
*
|
|
7760
|
+
* @export
|
|
7761
|
+
* @interface ReachV1ContactsFieldsContactFieldResource
|
|
7762
|
+
*/
|
|
7763
|
+
export interface ReachV1ContactsFieldsContactFieldResource {
|
|
7764
|
+
/**
|
|
7765
|
+
*
|
|
7766
|
+
* @type {string}
|
|
7767
|
+
* @memberof ReachV1ContactsFieldsContactFieldResource
|
|
7768
|
+
*/
|
|
7769
|
+
'uuid': string;
|
|
7770
|
+
/**
|
|
7771
|
+
*
|
|
7772
|
+
* @type {string}
|
|
7773
|
+
* @memberof ReachV1ContactsFieldsContactFieldResource
|
|
7774
|
+
*/
|
|
7775
|
+
'type': ReachV1ContactsFieldsContactFieldResourceTypeEnum;
|
|
7776
|
+
/**
|
|
7777
|
+
*
|
|
7778
|
+
* @type {string}
|
|
7779
|
+
* @memberof ReachV1ContactsFieldsContactFieldResource
|
|
7780
|
+
*/
|
|
7781
|
+
'label': string;
|
|
7782
|
+
/**
|
|
7783
|
+
* Derived from the label on creation and immutable afterwards
|
|
7784
|
+
* @type {string}
|
|
7785
|
+
* @memberof ReachV1ContactsFieldsContactFieldResource
|
|
7786
|
+
*/
|
|
7787
|
+
'slug': string;
|
|
7788
|
+
/**
|
|
7789
|
+
* Available choices. Always empty for the scalar field types.
|
|
7790
|
+
* @type {Array<ReachV1ContactsFieldsContactFieldOptionResource>}
|
|
7791
|
+
* @memberof ReachV1ContactsFieldsContactFieldResource
|
|
7792
|
+
*/
|
|
7793
|
+
'options': Array<ReachV1ContactsFieldsContactFieldOptionResource>;
|
|
7794
|
+
/**
|
|
7795
|
+
*
|
|
7796
|
+
* @type {string}
|
|
7797
|
+
* @memberof ReachV1ContactsFieldsContactFieldResource
|
|
7798
|
+
*/
|
|
7799
|
+
'created_at': string;
|
|
7800
|
+
}
|
|
7801
|
+
export declare const ReachV1ContactsFieldsContactFieldResourceTypeEnum: {
|
|
7802
|
+
readonly Text: "text";
|
|
7803
|
+
readonly Number: "number";
|
|
7804
|
+
readonly Date: "date";
|
|
7805
|
+
readonly SingleChoice: "single_choice";
|
|
7806
|
+
readonly MultiChoice: "multi_choice";
|
|
7807
|
+
};
|
|
7808
|
+
export type ReachV1ContactsFieldsContactFieldResourceTypeEnum = typeof ReachV1ContactsFieldsContactFieldResourceTypeEnum[keyof typeof ReachV1ContactsFieldsContactFieldResourceTypeEnum];
|
|
7809
|
+
/**
|
|
7810
|
+
* A custom contact field together with the value held by one contact
|
|
7811
|
+
* @export
|
|
7812
|
+
* @interface ReachV1ContactsFieldsContactFieldValueResource
|
|
7813
|
+
*/
|
|
7814
|
+
export interface ReachV1ContactsFieldsContactFieldValueResource {
|
|
7815
|
+
/**
|
|
7816
|
+
*
|
|
7817
|
+
* @type {string}
|
|
7818
|
+
* @memberof ReachV1ContactsFieldsContactFieldValueResource
|
|
7256
7819
|
*/
|
|
7257
|
-
'
|
|
7820
|
+
'uuid': string;
|
|
7258
7821
|
/**
|
|
7259
7822
|
*
|
|
7260
|
-
* @type {
|
|
7261
|
-
* @memberof
|
|
7823
|
+
* @type {string}
|
|
7824
|
+
* @memberof ReachV1ContactsFieldsContactFieldValueResource
|
|
7262
7825
|
*/
|
|
7263
|
-
'
|
|
7826
|
+
'type': ReachV1ContactsFieldsContactFieldValueResourceTypeEnum;
|
|
7264
7827
|
/**
|
|
7265
|
-
*
|
|
7828
|
+
*
|
|
7266
7829
|
* @type {string}
|
|
7267
|
-
* @memberof
|
|
7830
|
+
* @memberof ReachV1ContactsFieldsContactFieldValueResource
|
|
7268
7831
|
*/
|
|
7269
|
-
'
|
|
7832
|
+
'label': string;
|
|
7270
7833
|
/**
|
|
7271
|
-
*
|
|
7834
|
+
*
|
|
7272
7835
|
* @type {string}
|
|
7273
|
-
* @memberof
|
|
7836
|
+
* @memberof ReachV1ContactsFieldsContactFieldValueResource
|
|
7274
7837
|
*/
|
|
7275
|
-
'
|
|
7838
|
+
'slug': string;
|
|
7276
7839
|
/**
|
|
7277
|
-
*
|
|
7278
|
-
* @type {
|
|
7279
|
-
* @memberof
|
|
7840
|
+
* Set for the scalar field types, null for the choice types
|
|
7841
|
+
* @type {string}
|
|
7842
|
+
* @memberof ReachV1ContactsFieldsContactFieldValueResource
|
|
7280
7843
|
*/
|
|
7281
|
-
'
|
|
7844
|
+
'value': string | null;
|
|
7282
7845
|
/**
|
|
7283
|
-
*
|
|
7284
|
-
* @type {string}
|
|
7285
|
-
* @memberof
|
|
7846
|
+
* Chosen options for the choice field types, empty for the scalar types
|
|
7847
|
+
* @type {Array<string>}
|
|
7848
|
+
* @memberof ReachV1ContactsFieldsContactFieldValueResource
|
|
7286
7849
|
*/
|
|
7287
|
-
'
|
|
7850
|
+
'selected_option_uuids': Array<string>;
|
|
7288
7851
|
/**
|
|
7289
|
-
*
|
|
7290
|
-
* @type {
|
|
7291
|
-
* @memberof
|
|
7852
|
+
* Every option the field offers, not only the selected ones
|
|
7853
|
+
* @type {Array<ReachV1ContactsFieldsContactFieldOptionResource>}
|
|
7854
|
+
* @memberof ReachV1ContactsFieldsContactFieldValueResource
|
|
7292
7855
|
*/
|
|
7293
|
-
'
|
|
7856
|
+
'options': Array<ReachV1ContactsFieldsContactFieldOptionResource>;
|
|
7857
|
+
}
|
|
7858
|
+
export declare const ReachV1ContactsFieldsContactFieldValueResourceTypeEnum: {
|
|
7859
|
+
readonly Text: "text";
|
|
7860
|
+
readonly Number: "number";
|
|
7861
|
+
readonly Date: "date";
|
|
7862
|
+
readonly SingleChoice: "single_choice";
|
|
7863
|
+
readonly MultiChoice: "multi_choice";
|
|
7864
|
+
};
|
|
7865
|
+
export type ReachV1ContactsFieldsContactFieldValueResourceTypeEnum = typeof ReachV1ContactsFieldsContactFieldValueResourceTypeEnum[keyof typeof ReachV1ContactsFieldsContactFieldValueResourceTypeEnum];
|
|
7866
|
+
/**
|
|
7867
|
+
* Define a custom contact field for the profile
|
|
7868
|
+
* @export
|
|
7869
|
+
* @interface ReachV1ContactsFieldsStoreRequest
|
|
7870
|
+
*/
|
|
7871
|
+
export interface ReachV1ContactsFieldsStoreRequest {
|
|
7294
7872
|
/**
|
|
7295
|
-
*
|
|
7873
|
+
* Immutable once the field exists
|
|
7296
7874
|
* @type {string}
|
|
7297
|
-
* @memberof
|
|
7875
|
+
* @memberof ReachV1ContactsFieldsStoreRequest
|
|
7298
7876
|
*/
|
|
7299
|
-
'
|
|
7877
|
+
'type': ReachV1ContactsFieldsStoreRequestTypeEnum;
|
|
7300
7878
|
/**
|
|
7301
7879
|
*
|
|
7302
7880
|
* @type {string}
|
|
7303
|
-
* @memberof
|
|
7881
|
+
* @memberof ReachV1ContactsFieldsStoreRequest
|
|
7304
7882
|
*/
|
|
7305
|
-
'
|
|
7883
|
+
'label': string;
|
|
7306
7884
|
/**
|
|
7307
|
-
*
|
|
7308
|
-
* @type {string}
|
|
7309
|
-
* @memberof
|
|
7885
|
+
* Required for single_choice and multi_choice, ignored for the scalar types. Labels must be unique regardless of casing.
|
|
7886
|
+
* @type {Array<string>}
|
|
7887
|
+
* @memberof ReachV1ContactsFieldsStoreRequest
|
|
7310
7888
|
*/
|
|
7311
|
-
'
|
|
7889
|
+
'options': Array<string>;
|
|
7312
7890
|
}
|
|
7313
|
-
export declare const
|
|
7314
|
-
readonly
|
|
7315
|
-
|
|
7316
|
-
|
|
7317
|
-
|
|
7318
|
-
readonly
|
|
7319
|
-
readonly Disabled: "disabled";
|
|
7320
|
-
readonly Paused: "paused";
|
|
7891
|
+
export declare const ReachV1ContactsFieldsStoreRequestTypeEnum: {
|
|
7892
|
+
readonly Text: "text";
|
|
7893
|
+
readonly Number: "number";
|
|
7894
|
+
readonly Date: "date";
|
|
7895
|
+
readonly SingleChoice: "single_choice";
|
|
7896
|
+
readonly MultiChoice: "multi_choice";
|
|
7321
7897
|
};
|
|
7322
|
-
export type
|
|
7898
|
+
export type ReachV1ContactsFieldsStoreRequestTypeEnum = typeof ReachV1ContactsFieldsStoreRequestTypeEnum[keyof typeof ReachV1ContactsFieldsStoreRequestTypeEnum];
|
|
7323
7899
|
/**
|
|
7324
|
-
*
|
|
7900
|
+
* Rename a custom contact field and, for the choice types, replace its option set. The field type and slug are immutable.
|
|
7325
7901
|
* @export
|
|
7326
|
-
* @interface
|
|
7902
|
+
* @interface ReachV1ContactsFieldsUpdateRequest
|
|
7327
7903
|
*/
|
|
7328
|
-
export interface
|
|
7329
|
-
/**
|
|
7330
|
-
* HTTP status code returned by the webhook endpoint
|
|
7331
|
-
* @type {number}
|
|
7332
|
-
* @memberof MailV1WebhooksWebhookTestResultResource
|
|
7333
|
-
*/
|
|
7334
|
-
'http_status': number;
|
|
7904
|
+
export interface ReachV1ContactsFieldsUpdateRequest {
|
|
7335
7905
|
/**
|
|
7336
|
-
*
|
|
7337
|
-
* @type {
|
|
7338
|
-
* @memberof
|
|
7906
|
+
*
|
|
7907
|
+
* @type {string}
|
|
7908
|
+
* @memberof ReachV1ContactsFieldsUpdateRequest
|
|
7339
7909
|
*/
|
|
7340
|
-
'
|
|
7910
|
+
'label': string;
|
|
7341
7911
|
/**
|
|
7342
|
-
*
|
|
7343
|
-
* @type {
|
|
7344
|
-
* @memberof
|
|
7912
|
+
* Replaces the option set when provided. Entries carrying a uuid are kept and relabelled, entries without one are created, and any existing option missing from the list is deleted along with the values contacts hold for it.
|
|
7913
|
+
* @type {Array<ReachV1ContactsFieldsUpdateRequestOptionsInner>}
|
|
7914
|
+
* @memberof ReachV1ContactsFieldsUpdateRequest
|
|
7345
7915
|
*/
|
|
7346
|
-
'
|
|
7916
|
+
'options': Array<ReachV1ContactsFieldsUpdateRequestOptionsInner> | null;
|
|
7347
7917
|
}
|
|
7348
7918
|
/**
|
|
7349
7919
|
*
|
|
7350
7920
|
* @export
|
|
7351
|
-
* @interface
|
|
7921
|
+
* @interface ReachV1ContactsFieldsUpdateRequestOptionsInner
|
|
7352
7922
|
*/
|
|
7353
|
-
export interface
|
|
7923
|
+
export interface ReachV1ContactsFieldsUpdateRequestOptionsInner {
|
|
7354
7924
|
/**
|
|
7355
|
-
*
|
|
7356
|
-
* @type {
|
|
7357
|
-
* @memberof
|
|
7925
|
+
*
|
|
7926
|
+
* @type {string}
|
|
7927
|
+
* @memberof ReachV1ContactsFieldsUpdateRequestOptionsInner
|
|
7358
7928
|
*/
|
|
7359
|
-
'
|
|
7929
|
+
'uuid': string | null;
|
|
7360
7930
|
/**
|
|
7361
7931
|
*
|
|
7362
|
-
* @type {
|
|
7363
|
-
* @memberof
|
|
7932
|
+
* @type {string}
|
|
7933
|
+
* @memberof ReachV1ContactsFieldsUpdateRequestOptionsInner
|
|
7364
7934
|
*/
|
|
7365
|
-
'
|
|
7935
|
+
'label': string;
|
|
7366
7936
|
}
|
|
7367
7937
|
/**
|
|
7368
7938
|
*
|
|
7369
7939
|
* @export
|
|
7370
|
-
* @interface
|
|
7940
|
+
* @interface ReachV1ContactsGroupsContactGroupResource
|
|
7371
7941
|
*/
|
|
7372
|
-
export interface
|
|
7942
|
+
export interface ReachV1ContactsGroupsContactGroupResource {
|
|
7373
7943
|
/**
|
|
7374
|
-
*
|
|
7375
|
-
* @type {
|
|
7376
|
-
* @memberof
|
|
7944
|
+
*
|
|
7945
|
+
* @type {string}
|
|
7946
|
+
* @memberof ReachV1ContactsGroupsContactGroupResource
|
|
7377
7947
|
*/
|
|
7378
|
-
'
|
|
7948
|
+
'uuid': string;
|
|
7379
7949
|
/**
|
|
7380
7950
|
*
|
|
7381
|
-
* @type {
|
|
7382
|
-
* @memberof
|
|
7951
|
+
* @type {string}
|
|
7952
|
+
* @memberof ReachV1ContactsGroupsContactGroupResource
|
|
7383
7953
|
*/
|
|
7384
|
-
'
|
|
7954
|
+
'title': string;
|
|
7385
7955
|
}
|
|
7386
7956
|
/**
|
|
7387
7957
|
*
|
|
7388
7958
|
* @export
|
|
7389
|
-
* @interface
|
|
7959
|
+
* @interface ReachV1ContactsProfileContactResource
|
|
7390
7960
|
*/
|
|
7391
|
-
export interface
|
|
7961
|
+
export interface ReachV1ContactsProfileContactResource {
|
|
7392
7962
|
/**
|
|
7393
7963
|
*
|
|
7394
7964
|
* @type {string}
|
|
7395
|
-
* @memberof
|
|
7965
|
+
* @memberof ReachV1ContactsProfileContactResource
|
|
7396
7966
|
*/
|
|
7397
7967
|
'uuid': string;
|
|
7398
7968
|
/**
|
|
7399
7969
|
*
|
|
7400
7970
|
* @type {string}
|
|
7401
|
-
* @memberof
|
|
7971
|
+
* @memberof ReachV1ContactsProfileContactResource
|
|
7402
7972
|
*/
|
|
7403
7973
|
'name': string | null;
|
|
7404
7974
|
/**
|
|
7405
7975
|
*
|
|
7406
7976
|
* @type {string}
|
|
7407
|
-
* @memberof
|
|
7977
|
+
* @memberof ReachV1ContactsProfileContactResource
|
|
7408
7978
|
*/
|
|
7409
7979
|
'surname': string | null;
|
|
7410
7980
|
/**
|
|
7411
7981
|
*
|
|
7412
7982
|
* @type {string}
|
|
7413
|
-
* @memberof
|
|
7983
|
+
* @memberof ReachV1ContactsProfileContactResource
|
|
7414
7984
|
*/
|
|
7415
7985
|
'email': string;
|
|
7416
7986
|
/**
|
|
7417
7987
|
*
|
|
7418
7988
|
* @type {string}
|
|
7419
|
-
* @memberof
|
|
7989
|
+
* @memberof ReachV1ContactsProfileContactResource
|
|
7420
7990
|
*/
|
|
7421
|
-
'
|
|
7991
|
+
'phone': string | null;
|
|
7422
7992
|
/**
|
|
7423
7993
|
*
|
|
7424
7994
|
* @type {string}
|
|
7425
|
-
* @memberof
|
|
7995
|
+
* @memberof ReachV1ContactsProfileContactResource
|
|
7426
7996
|
*/
|
|
7427
|
-
'
|
|
7997
|
+
'subscription_status': ReachV1ContactsProfileContactResourceSubscriptionStatusEnum;
|
|
7428
7998
|
/**
|
|
7429
7999
|
*
|
|
7430
8000
|
* @type {string}
|
|
7431
|
-
* @memberof
|
|
8001
|
+
* @memberof ReachV1ContactsProfileContactResource
|
|
7432
8002
|
*/
|
|
7433
|
-
'
|
|
8003
|
+
'subscribed_at': string | null;
|
|
7434
8004
|
/**
|
|
7435
8005
|
*
|
|
7436
8006
|
* @type {string}
|
|
7437
|
-
* @memberof
|
|
8007
|
+
* @memberof ReachV1ContactsProfileContactResource
|
|
8008
|
+
*/
|
|
8009
|
+
'unsubscribed_at': string | null;
|
|
8010
|
+
/**
|
|
8011
|
+
*
|
|
8012
|
+
* @type {string}
|
|
8013
|
+
* @memberof ReachV1ContactsProfileContactResource
|
|
8014
|
+
*/
|
|
8015
|
+
'source': ReachV1ContactsProfileContactResourceSourceEnum | null;
|
|
8016
|
+
/**
|
|
8017
|
+
*
|
|
8018
|
+
* @type {string}
|
|
8019
|
+
* @memberof ReachV1ContactsProfileContactResource
|
|
7438
8020
|
*/
|
|
7439
8021
|
'note': string | null;
|
|
7440
8022
|
}
|
|
7441
|
-
export declare const
|
|
8023
|
+
export declare const ReachV1ContactsProfileContactResourceSubscriptionStatusEnum: {
|
|
7442
8024
|
readonly Subscribed: "subscribed";
|
|
7443
8025
|
readonly Unsubscribed: "unsubscribed";
|
|
8026
|
+
readonly Confirmed: "confirmed";
|
|
8027
|
+
readonly Pending: "pending";
|
|
7444
8028
|
};
|
|
7445
|
-
export type
|
|
7446
|
-
export declare const
|
|
8029
|
+
export type ReachV1ContactsProfileContactResourceSubscriptionStatusEnum = typeof ReachV1ContactsProfileContactResourceSubscriptionStatusEnum[keyof typeof ReachV1ContactsProfileContactResourceSubscriptionStatusEnum];
|
|
8030
|
+
export declare const ReachV1ContactsProfileContactResourceSourceEnum: {
|
|
7447
8031
|
readonly Sync: "sync";
|
|
7448
8032
|
readonly Import: "import";
|
|
7449
8033
|
readonly Manual: "manual";
|
|
8034
|
+
readonly Api: "api";
|
|
8035
|
+
readonly Form: "form";
|
|
8036
|
+
readonly Checkout: "checkout";
|
|
8037
|
+
readonly Horizons: "horizons";
|
|
7450
8038
|
};
|
|
7451
|
-
export type
|
|
8039
|
+
export type ReachV1ContactsProfileContactResourceSourceEnum = typeof ReachV1ContactsProfileContactResourceSourceEnum[keyof typeof ReachV1ContactsProfileContactResourceSourceEnum];
|
|
7452
8040
|
/**
|
|
7453
8041
|
*
|
|
7454
8042
|
* @export
|
|
7455
|
-
* @interface
|
|
8043
|
+
* @interface ReachV1ContactsProfileContactUpdateResource
|
|
7456
8044
|
*/
|
|
7457
|
-
export interface
|
|
8045
|
+
export interface ReachV1ContactsProfileContactUpdateResource {
|
|
7458
8046
|
/**
|
|
7459
8047
|
*
|
|
7460
8048
|
* @type {string}
|
|
7461
|
-
* @memberof
|
|
8049
|
+
* @memberof ReachV1ContactsProfileContactUpdateResource
|
|
7462
8050
|
*/
|
|
7463
8051
|
'uuid': string;
|
|
7464
8052
|
/**
|
|
7465
8053
|
*
|
|
7466
8054
|
* @type {string}
|
|
7467
|
-
* @memberof
|
|
8055
|
+
* @memberof ReachV1ContactsProfileContactUpdateResource
|
|
7468
8056
|
*/
|
|
7469
|
-
'
|
|
8057
|
+
'name': string | null;
|
|
8058
|
+
/**
|
|
8059
|
+
*
|
|
8060
|
+
* @type {string}
|
|
8061
|
+
* @memberof ReachV1ContactsProfileContactUpdateResource
|
|
8062
|
+
*/
|
|
8063
|
+
'surname': string | null;
|
|
8064
|
+
/**
|
|
8065
|
+
*
|
|
8066
|
+
* @type {string}
|
|
8067
|
+
* @memberof ReachV1ContactsProfileContactUpdateResource
|
|
8068
|
+
*/
|
|
8069
|
+
'email': string;
|
|
8070
|
+
/**
|
|
8071
|
+
*
|
|
8072
|
+
* @type {string}
|
|
8073
|
+
* @memberof ReachV1ContactsProfileContactUpdateResource
|
|
8074
|
+
*/
|
|
8075
|
+
'phone': string | null;
|
|
8076
|
+
/**
|
|
8077
|
+
*
|
|
8078
|
+
* @type {string}
|
|
8079
|
+
* @memberof ReachV1ContactsProfileContactUpdateResource
|
|
8080
|
+
*/
|
|
8081
|
+
'subscription_status': ReachV1ContactsProfileContactUpdateResourceSubscriptionStatusEnum;
|
|
8082
|
+
/**
|
|
8083
|
+
*
|
|
8084
|
+
* @type {string}
|
|
8085
|
+
* @memberof ReachV1ContactsProfileContactUpdateResource
|
|
8086
|
+
*/
|
|
8087
|
+
'subscribed_at': string | null;
|
|
8088
|
+
/**
|
|
8089
|
+
*
|
|
8090
|
+
* @type {string}
|
|
8091
|
+
* @memberof ReachV1ContactsProfileContactUpdateResource
|
|
8092
|
+
*/
|
|
8093
|
+
'unsubscribed_at': string | null;
|
|
7470
8094
|
}
|
|
8095
|
+
export declare const ReachV1ContactsProfileContactUpdateResourceSubscriptionStatusEnum: {
|
|
8096
|
+
readonly Subscribed: "subscribed";
|
|
8097
|
+
readonly Unsubscribed: "unsubscribed";
|
|
8098
|
+
readonly Confirmed: "confirmed";
|
|
8099
|
+
readonly Pending: "pending";
|
|
8100
|
+
};
|
|
8101
|
+
export type ReachV1ContactsProfileContactUpdateResourceSubscriptionStatusEnum = typeof ReachV1ContactsProfileContactUpdateResourceSubscriptionStatusEnum[keyof typeof ReachV1ContactsProfileContactUpdateResourceSubscriptionStatusEnum];
|
|
7471
8102
|
/**
|
|
7472
8103
|
*
|
|
7473
8104
|
* @export
|
|
@@ -7594,12 +8225,18 @@ export interface ReachV1ContactsSegmentsSegmentationContactResource {
|
|
|
7594
8225
|
export declare const ReachV1ContactsSegmentsSegmentationContactResourceSubscriptionStatusEnum: {
|
|
7595
8226
|
readonly Subscribed: "subscribed";
|
|
7596
8227
|
readonly Unsubscribed: "unsubscribed";
|
|
8228
|
+
readonly Confirmed: "confirmed";
|
|
8229
|
+
readonly Pending: "pending";
|
|
7597
8230
|
};
|
|
7598
8231
|
export type ReachV1ContactsSegmentsSegmentationContactResourceSubscriptionStatusEnum = typeof ReachV1ContactsSegmentsSegmentationContactResourceSubscriptionStatusEnum[keyof typeof ReachV1ContactsSegmentsSegmentationContactResourceSubscriptionStatusEnum];
|
|
7599
8232
|
export declare const ReachV1ContactsSegmentsSegmentationContactResourceSourceEnum: {
|
|
7600
8233
|
readonly Sync: "sync";
|
|
7601
8234
|
readonly Import: "import";
|
|
7602
8235
|
readonly Manual: "manual";
|
|
8236
|
+
readonly Api: "api";
|
|
8237
|
+
readonly Form: "form";
|
|
8238
|
+
readonly Checkout: "checkout";
|
|
8239
|
+
readonly Horizons: "horizons";
|
|
7603
8240
|
};
|
|
7604
8241
|
export type ReachV1ContactsSegmentsSegmentationContactResourceSourceEnum = typeof ReachV1ContactsSegmentsSegmentationContactResourceSourceEnum[keyof typeof ReachV1ContactsSegmentsSegmentationContactResourceSourceEnum];
|
|
7605
8242
|
/**
|
|
@@ -7749,6 +8386,123 @@ export interface ReachV1ContactsStoreRequest {
|
|
|
7749
8386
|
*/
|
|
7750
8387
|
'note': string | null;
|
|
7751
8388
|
}
|
|
8389
|
+
/**
|
|
8390
|
+
*
|
|
8391
|
+
* @export
|
|
8392
|
+
* @interface ReachV1ContactsTagsTagResource
|
|
8393
|
+
*/
|
|
8394
|
+
export interface ReachV1ContactsTagsTagResource {
|
|
8395
|
+
/**
|
|
8396
|
+
*
|
|
8397
|
+
* @type {string}
|
|
8398
|
+
* @memberof ReachV1ContactsTagsTagResource
|
|
8399
|
+
*/
|
|
8400
|
+
'uuid': string;
|
|
8401
|
+
/**
|
|
8402
|
+
* How the tag came about. `custom` covers the tags you create yourself, `form` covers the ones Reach creates for its forms.
|
|
8403
|
+
* @type {string}
|
|
8404
|
+
* @memberof ReachV1ContactsTagsTagResource
|
|
8405
|
+
*/
|
|
8406
|
+
'type': ReachV1ContactsTagsTagResourceTypeEnum;
|
|
8407
|
+
/**
|
|
8408
|
+
*
|
|
8409
|
+
* @type {string}
|
|
8410
|
+
* @memberof ReachV1ContactsTagsTagResource
|
|
8411
|
+
*/
|
|
8412
|
+
'value': string;
|
|
8413
|
+
/**
|
|
8414
|
+
*
|
|
8415
|
+
* @type {string}
|
|
8416
|
+
* @memberof ReachV1ContactsTagsTagResource
|
|
8417
|
+
*/
|
|
8418
|
+
'created_at': string;
|
|
8419
|
+
}
|
|
8420
|
+
export declare const ReachV1ContactsTagsTagResourceTypeEnum: {
|
|
8421
|
+
readonly Form: "form";
|
|
8422
|
+
readonly Custom: "custom";
|
|
8423
|
+
};
|
|
8424
|
+
export type ReachV1ContactsTagsTagResourceTypeEnum = typeof ReachV1ContactsTagsTagResourceTypeEnum[keyof typeof ReachV1ContactsTagsTagResourceTypeEnum];
|
|
8425
|
+
/**
|
|
8426
|
+
* Fields to change on a contact. Omitted properties are left untouched.
|
|
8427
|
+
* @export
|
|
8428
|
+
* @interface ReachV1ContactsUpdateRequest
|
|
8429
|
+
*/
|
|
8430
|
+
export interface ReachV1ContactsUpdateRequest {
|
|
8431
|
+
/**
|
|
8432
|
+
*
|
|
8433
|
+
* @type {string}
|
|
8434
|
+
* @memberof ReachV1ContactsUpdateRequest
|
|
8435
|
+
*/
|
|
8436
|
+
'email': string | null;
|
|
8437
|
+
/**
|
|
8438
|
+
*
|
|
8439
|
+
* @type {string}
|
|
8440
|
+
* @memberof ReachV1ContactsUpdateRequest
|
|
8441
|
+
*/
|
|
8442
|
+
'name': string | null;
|
|
8443
|
+
/**
|
|
8444
|
+
*
|
|
8445
|
+
* @type {string}
|
|
8446
|
+
* @memberof ReachV1ContactsUpdateRequest
|
|
8447
|
+
*/
|
|
8448
|
+
'surname': string | null;
|
|
8449
|
+
/**
|
|
8450
|
+
* Phone number in E.164 format (leading \"+\" then 7-15 digits)
|
|
8451
|
+
* @type {string}
|
|
8452
|
+
* @memberof ReachV1ContactsUpdateRequest
|
|
8453
|
+
*/
|
|
8454
|
+
'phone': string | null;
|
|
8455
|
+
/**
|
|
8456
|
+
*
|
|
8457
|
+
* @type {string}
|
|
8458
|
+
* @memberof ReachV1ContactsUpdateRequest
|
|
8459
|
+
*/
|
|
8460
|
+
'subscription_status': ReachV1ContactsUpdateRequestSubscriptionStatusEnum | null;
|
|
8461
|
+
/**
|
|
8462
|
+
*
|
|
8463
|
+
* @type {string}
|
|
8464
|
+
* @memberof ReachV1ContactsUpdateRequest
|
|
8465
|
+
*/
|
|
8466
|
+
'note': string | null;
|
|
8467
|
+
/**
|
|
8468
|
+
* Set custom field values. Omit to leave untouched, send an empty array to clear them all.
|
|
8469
|
+
* @type {Array<ReachV1ContactsUpdateRequestFieldsInner>}
|
|
8470
|
+
* @memberof ReachV1ContactsUpdateRequest
|
|
8471
|
+
*/
|
|
8472
|
+
'fields': Array<ReachV1ContactsUpdateRequestFieldsInner>;
|
|
8473
|
+
}
|
|
8474
|
+
export declare const ReachV1ContactsUpdateRequestSubscriptionStatusEnum: {
|
|
8475
|
+
readonly Subscribed: "subscribed";
|
|
8476
|
+
readonly Unsubscribed: "unsubscribed";
|
|
8477
|
+
readonly Confirmed: "confirmed";
|
|
8478
|
+
readonly Pending: "pending";
|
|
8479
|
+
};
|
|
8480
|
+
export type ReachV1ContactsUpdateRequestSubscriptionStatusEnum = typeof ReachV1ContactsUpdateRequestSubscriptionStatusEnum[keyof typeof ReachV1ContactsUpdateRequestSubscriptionStatusEnum];
|
|
8481
|
+
/**
|
|
8482
|
+
*
|
|
8483
|
+
* @export
|
|
8484
|
+
* @interface ReachV1ContactsUpdateRequestFieldsInner
|
|
8485
|
+
*/
|
|
8486
|
+
export interface ReachV1ContactsUpdateRequestFieldsInner {
|
|
8487
|
+
/**
|
|
8488
|
+
*
|
|
8489
|
+
* @type {string}
|
|
8490
|
+
* @memberof ReachV1ContactsUpdateRequestFieldsInner
|
|
8491
|
+
*/
|
|
8492
|
+
'uuid': string;
|
|
8493
|
+
/**
|
|
8494
|
+
* For the scalar field types
|
|
8495
|
+
* @type {string}
|
|
8496
|
+
* @memberof ReachV1ContactsUpdateRequestFieldsInner
|
|
8497
|
+
*/
|
|
8498
|
+
'value': string | null;
|
|
8499
|
+
/**
|
|
8500
|
+
* For the choice field types
|
|
8501
|
+
* @type {Array<string>}
|
|
8502
|
+
* @memberof ReachV1ContactsUpdateRequestFieldsInner
|
|
8503
|
+
*/
|
|
8504
|
+
'selected_option_uuids': Array<string>;
|
|
8505
|
+
}
|
|
7752
8506
|
/**
|
|
7753
8507
|
*
|
|
7754
8508
|
* @export
|
|
@@ -13026,6 +13780,14 @@ export declare class DomainsMoveApi extends BaseAPI {
|
|
|
13026
13780
|
* @export
|
|
13027
13781
|
*/
|
|
13028
13782
|
export declare const DomainsPortfolioApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
13783
|
+
/**
|
|
13784
|
+
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
13785
|
+
* @summary Claim free domain
|
|
13786
|
+
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
13787
|
+
* @param {*} [options] Override http request option.
|
|
13788
|
+
* @throws {RequiredError}
|
|
13789
|
+
*/
|
|
13790
|
+
claimFreeDomainV1: (domainsV1PortfolioClaimRequest: DomainsV1PortfolioClaimRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13029
13791
|
/**
|
|
13030
13792
|
* Disable domain lock for the domain. Domain lock needs to be disabled before transferring the domain to another registrar. Use this endpoint to prepare domains for transfer to other registrars.
|
|
13031
13793
|
* @summary Disable domain lock
|
|
@@ -13112,6 +13874,14 @@ export declare const DomainsPortfolioApiAxiosParamCreator: (configuration?: Conf
|
|
|
13112
13874
|
* @export
|
|
13113
13875
|
*/
|
|
13114
13876
|
export declare const DomainsPortfolioApiFp: (configuration?: Configuration) => {
|
|
13877
|
+
/**
|
|
13878
|
+
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
13879
|
+
* @summary Claim free domain
|
|
13880
|
+
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
13881
|
+
* @param {*} [options] Override http request option.
|
|
13882
|
+
* @throws {RequiredError}
|
|
13883
|
+
*/
|
|
13884
|
+
claimFreeDomainV1(domainsV1PortfolioClaimRequest: DomainsV1PortfolioClaimRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1PortfolioClaimResource>>;
|
|
13115
13885
|
/**
|
|
13116
13886
|
* Disable domain lock for the domain. Domain lock needs to be disabled before transferring the domain to another registrar. Use this endpoint to prepare domains for transfer to other registrars.
|
|
13117
13887
|
* @summary Disable domain lock
|
|
@@ -13198,6 +13968,14 @@ export declare const DomainsPortfolioApiFp: (configuration?: Configuration) => {
|
|
|
13198
13968
|
* @export
|
|
13199
13969
|
*/
|
|
13200
13970
|
export declare const DomainsPortfolioApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
13971
|
+
/**
|
|
13972
|
+
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
13973
|
+
* @summary Claim free domain
|
|
13974
|
+
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
13975
|
+
* @param {*} [options] Override http request option.
|
|
13976
|
+
* @throws {RequiredError}
|
|
13977
|
+
*/
|
|
13978
|
+
claimFreeDomainV1(domainsV1PortfolioClaimRequest: DomainsV1PortfolioClaimRequest, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1PortfolioClaimResource>;
|
|
13201
13979
|
/**
|
|
13202
13980
|
* Disable domain lock for the domain. Domain lock needs to be disabled before transferring the domain to another registrar. Use this endpoint to prepare domains for transfer to other registrars.
|
|
13203
13981
|
* @summary Disable domain lock
|
|
@@ -13286,6 +14064,15 @@ export declare const DomainsPortfolioApiFactory: (configuration?: Configuration,
|
|
|
13286
14064
|
* @extends {BaseAPI}
|
|
13287
14065
|
*/
|
|
13288
14066
|
export declare class DomainsPortfolioApi extends BaseAPI {
|
|
14067
|
+
/**
|
|
14068
|
+
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
14069
|
+
* @summary Claim free domain
|
|
14070
|
+
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
14071
|
+
* @param {*} [options] Override http request option.
|
|
14072
|
+
* @throws {RequiredError}
|
|
14073
|
+
* @memberof DomainsPortfolioApi
|
|
14074
|
+
*/
|
|
14075
|
+
claimFreeDomainV1(domainsV1PortfolioClaimRequest: DomainsV1PortfolioClaimRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1PortfolioClaimResource, any, {}, any>>;
|
|
13289
14076
|
/**
|
|
13290
14077
|
* Disable domain lock for the domain. Domain lock needs to be disabled before transferring the domain to another registrar. Use this endpoint to prepare domains for transfer to other registrars.
|
|
13291
14078
|
* @summary Disable domain lock
|
|
@@ -13382,6 +14169,14 @@ export declare class DomainsPortfolioApi extends BaseAPI {
|
|
|
13382
14169
|
* @export
|
|
13383
14170
|
*/
|
|
13384
14171
|
export declare const DomainsTransferApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
14172
|
+
/**
|
|
14173
|
+
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
14174
|
+
* @summary Claim free domain transfer
|
|
14175
|
+
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
14176
|
+
* @param {*} [options] Override http request option.
|
|
14177
|
+
* @throws {RequiredError}
|
|
14178
|
+
*/
|
|
14179
|
+
claimFreeDomainTransferV1: (domainsV1TransferClaimRequest: DomainsV1TransferClaimRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13385
14180
|
/**
|
|
13386
14181
|
* Retrieve all domain transfers in your portfolio. Use this endpoint to monitor incoming and outgoing registrar transfers across your domains.
|
|
13387
14182
|
* @summary Get transfer list
|
|
@@ -13403,6 +14198,14 @@ export declare const DomainsTransferApiAxiosParamCreator: (configuration?: Confi
|
|
|
13403
14198
|
* @export
|
|
13404
14199
|
*/
|
|
13405
14200
|
export declare const DomainsTransferApiFp: (configuration?: Configuration) => {
|
|
14201
|
+
/**
|
|
14202
|
+
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
14203
|
+
* @summary Claim free domain transfer
|
|
14204
|
+
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
14205
|
+
* @param {*} [options] Override http request option.
|
|
14206
|
+
* @throws {RequiredError}
|
|
14207
|
+
*/
|
|
14208
|
+
claimFreeDomainTransferV1(domainsV1TransferClaimRequest: DomainsV1TransferClaimRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1TransferTransferResource>>;
|
|
13406
14209
|
/**
|
|
13407
14210
|
* Retrieve all domain transfers in your portfolio. Use this endpoint to monitor incoming and outgoing registrar transfers across your domains.
|
|
13408
14211
|
* @summary Get transfer list
|
|
@@ -13424,6 +14227,14 @@ export declare const DomainsTransferApiFp: (configuration?: Configuration) => {
|
|
|
13424
14227
|
* @export
|
|
13425
14228
|
*/
|
|
13426
14229
|
export declare const DomainsTransferApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
14230
|
+
/**
|
|
14231
|
+
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
14232
|
+
* @summary Claim free domain transfer
|
|
14233
|
+
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
14234
|
+
* @param {*} [options] Override http request option.
|
|
14235
|
+
* @throws {RequiredError}
|
|
14236
|
+
*/
|
|
14237
|
+
claimFreeDomainTransferV1(domainsV1TransferClaimRequest: DomainsV1TransferClaimRequest, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1TransferTransferResource>;
|
|
13427
14238
|
/**
|
|
13428
14239
|
* Retrieve all domain transfers in your portfolio. Use this endpoint to monitor incoming and outgoing registrar transfers across your domains.
|
|
13429
14240
|
* @summary Get transfer list
|
|
@@ -13447,6 +14258,15 @@ export declare const DomainsTransferApiFactory: (configuration?: Configuration,
|
|
|
13447
14258
|
* @extends {BaseAPI}
|
|
13448
14259
|
*/
|
|
13449
14260
|
export declare class DomainsTransferApi extends BaseAPI {
|
|
14261
|
+
/**
|
|
14262
|
+
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
14263
|
+
* @summary Claim free domain transfer
|
|
14264
|
+
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
14265
|
+
* @param {*} [options] Override http request option.
|
|
14266
|
+
* @throws {RequiredError}
|
|
14267
|
+
* @memberof DomainsTransferApi
|
|
14268
|
+
*/
|
|
14269
|
+
claimFreeDomainTransferV1(domainsV1TransferClaimRequest: DomainsV1TransferClaimRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1TransferTransferResource, any, {}, any>>;
|
|
13450
14270
|
/**
|
|
13451
14271
|
* Retrieve all domain transfers in your portfolio. Use this endpoint to monitor incoming and outgoing registrar transfers across your domains.
|
|
13452
14272
|
* @summary Get transfer list
|
|
@@ -18257,6 +19077,180 @@ export declare const ListWebhooksV1StatusEnum: {
|
|
|
18257
19077
|
readonly Paused: "paused";
|
|
18258
19078
|
};
|
|
18259
19079
|
export type ListWebhooksV1StatusEnum = typeof ListWebhooksV1StatusEnum[keyof typeof ListWebhooksV1StatusEnum];
|
|
19080
|
+
/**
|
|
19081
|
+
* ReachContactFieldsApi - axios parameter creator
|
|
19082
|
+
* @export
|
|
19083
|
+
*/
|
|
19084
|
+
export declare const ReachContactFieldsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
19085
|
+
/**
|
|
19086
|
+
* Define a new custom contact field in a profile. The `slug` is derived from the label and, like the field type, cannot be changed later. Use the returned uuid to set values on contacts.
|
|
19087
|
+
* @summary Create a contact field
|
|
19088
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19089
|
+
* @param {ReachV1ContactsFieldsStoreRequest} reachV1ContactsFieldsStoreRequest
|
|
19090
|
+
* @param {*} [options] Override http request option.
|
|
19091
|
+
* @throws {RequiredError}
|
|
19092
|
+
*/
|
|
19093
|
+
createAContactFieldV1: (profileUuid: string, reachV1ContactsFieldsStoreRequest: ReachV1ContactsFieldsStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19094
|
+
/**
|
|
19095
|
+
* Delete a custom contact field. Every value contacts hold for the field is deleted with it, and for the choice types so are its options. The contacts themselves are not affected.
|
|
19096
|
+
* @summary Delete a contact field
|
|
19097
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19098
|
+
* @param {string} fieldUuid Contact field uuid parameter
|
|
19099
|
+
* @param {*} [options] Override http request option.
|
|
19100
|
+
* @throws {RequiredError}
|
|
19101
|
+
*/
|
|
19102
|
+
deleteAContactFieldV1: (profileUuid: string, fieldUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19103
|
+
/**
|
|
19104
|
+
* Get the custom contact fields defined in a profile. Custom fields let you store your own attributes on contacts. The returned uuids are what you pass to the contact update endpoint to set values, and choice fields also list the options available to pick from.
|
|
19105
|
+
* @summary List contact fields
|
|
19106
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19107
|
+
* @param {*} [options] Override http request option.
|
|
19108
|
+
* @throws {RequiredError}
|
|
19109
|
+
*/
|
|
19110
|
+
listContactFieldsV1: (profileUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19111
|
+
/**
|
|
19112
|
+
* Rename a custom contact field and, for the choice types, replace its option set. Options carrying a uuid are kept and relabelled, options without one are created, and any existing option left out of the list is deleted along with the values contacts hold for it. The field type and slug cannot be changed.
|
|
19113
|
+
* @summary Update a contact field
|
|
19114
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19115
|
+
* @param {string} fieldUuid Contact field uuid parameter
|
|
19116
|
+
* @param {ReachV1ContactsFieldsUpdateRequest} reachV1ContactsFieldsUpdateRequest
|
|
19117
|
+
* @param {*} [options] Override http request option.
|
|
19118
|
+
* @throws {RequiredError}
|
|
19119
|
+
*/
|
|
19120
|
+
updateAContactFieldV1: (profileUuid: string, fieldUuid: string, reachV1ContactsFieldsUpdateRequest: ReachV1ContactsFieldsUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19121
|
+
};
|
|
19122
|
+
/**
|
|
19123
|
+
* ReachContactFieldsApi - functional programming interface
|
|
19124
|
+
* @export
|
|
19125
|
+
*/
|
|
19126
|
+
export declare const ReachContactFieldsApiFp: (configuration?: Configuration) => {
|
|
19127
|
+
/**
|
|
19128
|
+
* Define a new custom contact field in a profile. The `slug` is derived from the label and, like the field type, cannot be changed later. Use the returned uuid to set values on contacts.
|
|
19129
|
+
* @summary Create a contact field
|
|
19130
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19131
|
+
* @param {ReachV1ContactsFieldsStoreRequest} reachV1ContactsFieldsStoreRequest
|
|
19132
|
+
* @param {*} [options] Override http request option.
|
|
19133
|
+
* @throws {RequiredError}
|
|
19134
|
+
*/
|
|
19135
|
+
createAContactFieldV1(profileUuid: string, reachV1ContactsFieldsStoreRequest: ReachV1ContactsFieldsStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachV1ContactsFieldsContactFieldResource>>;
|
|
19136
|
+
/**
|
|
19137
|
+
* Delete a custom contact field. Every value contacts hold for the field is deleted with it, and for the choice types so are its options. The contacts themselves are not affected.
|
|
19138
|
+
* @summary Delete a contact field
|
|
19139
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19140
|
+
* @param {string} fieldUuid Contact field uuid parameter
|
|
19141
|
+
* @param {*} [options] Override http request option.
|
|
19142
|
+
* @throws {RequiredError}
|
|
19143
|
+
*/
|
|
19144
|
+
deleteAContactFieldV1(profileUuid: string, fieldUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
19145
|
+
/**
|
|
19146
|
+
* Get the custom contact fields defined in a profile. Custom fields let you store your own attributes on contacts. The returned uuids are what you pass to the contact update endpoint to set values, and choice fields also list the options available to pick from.
|
|
19147
|
+
* @summary List contact fields
|
|
19148
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19149
|
+
* @param {*} [options] Override http request option.
|
|
19150
|
+
* @throws {RequiredError}
|
|
19151
|
+
*/
|
|
19152
|
+
listContactFieldsV1(profileUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ReachV1ContactsFieldsContactFieldResource>>>;
|
|
19153
|
+
/**
|
|
19154
|
+
* Rename a custom contact field and, for the choice types, replace its option set. Options carrying a uuid are kept and relabelled, options without one are created, and any existing option left out of the list is deleted along with the values contacts hold for it. The field type and slug cannot be changed.
|
|
19155
|
+
* @summary Update a contact field
|
|
19156
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19157
|
+
* @param {string} fieldUuid Contact field uuid parameter
|
|
19158
|
+
* @param {ReachV1ContactsFieldsUpdateRequest} reachV1ContactsFieldsUpdateRequest
|
|
19159
|
+
* @param {*} [options] Override http request option.
|
|
19160
|
+
* @throws {RequiredError}
|
|
19161
|
+
*/
|
|
19162
|
+
updateAContactFieldV1(profileUuid: string, fieldUuid: string, reachV1ContactsFieldsUpdateRequest: ReachV1ContactsFieldsUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachV1ContactsFieldsContactFieldResource>>;
|
|
19163
|
+
};
|
|
19164
|
+
/**
|
|
19165
|
+
* ReachContactFieldsApi - factory interface
|
|
19166
|
+
* @export
|
|
19167
|
+
*/
|
|
19168
|
+
export declare const ReachContactFieldsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
19169
|
+
/**
|
|
19170
|
+
* Define a new custom contact field in a profile. The `slug` is derived from the label and, like the field type, cannot be changed later. Use the returned uuid to set values on contacts.
|
|
19171
|
+
* @summary Create a contact field
|
|
19172
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19173
|
+
* @param {ReachV1ContactsFieldsStoreRequest} reachV1ContactsFieldsStoreRequest
|
|
19174
|
+
* @param {*} [options] Override http request option.
|
|
19175
|
+
* @throws {RequiredError}
|
|
19176
|
+
*/
|
|
19177
|
+
createAContactFieldV1(profileUuid: string, reachV1ContactsFieldsStoreRequest: ReachV1ContactsFieldsStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReachV1ContactsFieldsContactFieldResource>;
|
|
19178
|
+
/**
|
|
19179
|
+
* Delete a custom contact field. Every value contacts hold for the field is deleted with it, and for the choice types so are its options. The contacts themselves are not affected.
|
|
19180
|
+
* @summary Delete a contact field
|
|
19181
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19182
|
+
* @param {string} fieldUuid Contact field uuid parameter
|
|
19183
|
+
* @param {*} [options] Override http request option.
|
|
19184
|
+
* @throws {RequiredError}
|
|
19185
|
+
*/
|
|
19186
|
+
deleteAContactFieldV1(profileUuid: string, fieldUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
19187
|
+
/**
|
|
19188
|
+
* Get the custom contact fields defined in a profile. Custom fields let you store your own attributes on contacts. The returned uuids are what you pass to the contact update endpoint to set values, and choice fields also list the options available to pick from.
|
|
19189
|
+
* @summary List contact fields
|
|
19190
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19191
|
+
* @param {*} [options] Override http request option.
|
|
19192
|
+
* @throws {RequiredError}
|
|
19193
|
+
*/
|
|
19194
|
+
listContactFieldsV1(profileUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ReachV1ContactsFieldsContactFieldResource>>;
|
|
19195
|
+
/**
|
|
19196
|
+
* Rename a custom contact field and, for the choice types, replace its option set. Options carrying a uuid are kept and relabelled, options without one are created, and any existing option left out of the list is deleted along with the values contacts hold for it. The field type and slug cannot be changed.
|
|
19197
|
+
* @summary Update a contact field
|
|
19198
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19199
|
+
* @param {string} fieldUuid Contact field uuid parameter
|
|
19200
|
+
* @param {ReachV1ContactsFieldsUpdateRequest} reachV1ContactsFieldsUpdateRequest
|
|
19201
|
+
* @param {*} [options] Override http request option.
|
|
19202
|
+
* @throws {RequiredError}
|
|
19203
|
+
*/
|
|
19204
|
+
updateAContactFieldV1(profileUuid: string, fieldUuid: string, reachV1ContactsFieldsUpdateRequest: ReachV1ContactsFieldsUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReachV1ContactsFieldsContactFieldResource>;
|
|
19205
|
+
};
|
|
19206
|
+
/**
|
|
19207
|
+
* ReachContactFieldsApi - object-oriented interface
|
|
19208
|
+
* @export
|
|
19209
|
+
* @class ReachContactFieldsApi
|
|
19210
|
+
* @extends {BaseAPI}
|
|
19211
|
+
*/
|
|
19212
|
+
export declare class ReachContactFieldsApi extends BaseAPI {
|
|
19213
|
+
/**
|
|
19214
|
+
* Define a new custom contact field in a profile. The `slug` is derived from the label and, like the field type, cannot be changed later. Use the returned uuid to set values on contacts.
|
|
19215
|
+
* @summary Create a contact field
|
|
19216
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19217
|
+
* @param {ReachV1ContactsFieldsStoreRequest} reachV1ContactsFieldsStoreRequest
|
|
19218
|
+
* @param {*} [options] Override http request option.
|
|
19219
|
+
* @throws {RequiredError}
|
|
19220
|
+
* @memberof ReachContactFieldsApi
|
|
19221
|
+
*/
|
|
19222
|
+
createAContactFieldV1(profileUuid: string, reachV1ContactsFieldsStoreRequest: ReachV1ContactsFieldsStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ContactsFieldsContactFieldResource, any, {}, any>>;
|
|
19223
|
+
/**
|
|
19224
|
+
* Delete a custom contact field. Every value contacts hold for the field is deleted with it, and for the choice types so are its options. The contacts themselves are not affected.
|
|
19225
|
+
* @summary Delete a contact field
|
|
19226
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19227
|
+
* @param {string} fieldUuid Contact field uuid parameter
|
|
19228
|
+
* @param {*} [options] Override http request option.
|
|
19229
|
+
* @throws {RequiredError}
|
|
19230
|
+
* @memberof ReachContactFieldsApi
|
|
19231
|
+
*/
|
|
19232
|
+
deleteAContactFieldV1(profileUuid: string, fieldUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
19233
|
+
/**
|
|
19234
|
+
* Get the custom contact fields defined in a profile. Custom fields let you store your own attributes on contacts. The returned uuids are what you pass to the contact update endpoint to set values, and choice fields also list the options available to pick from.
|
|
19235
|
+
* @summary List contact fields
|
|
19236
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19237
|
+
* @param {*} [options] Override http request option.
|
|
19238
|
+
* @throws {RequiredError}
|
|
19239
|
+
* @memberof ReachContactFieldsApi
|
|
19240
|
+
*/
|
|
19241
|
+
listContactFieldsV1(profileUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ContactsFieldsContactFieldResource[], any, {}, any>>;
|
|
19242
|
+
/**
|
|
19243
|
+
* Rename a custom contact field and, for the choice types, replace its option set. Options carrying a uuid are kept and relabelled, options without one are created, and any existing option left out of the list is deleted along with the values contacts hold for it. The field type and slug cannot be changed.
|
|
19244
|
+
* @summary Update a contact field
|
|
19245
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19246
|
+
* @param {string} fieldUuid Contact field uuid parameter
|
|
19247
|
+
* @param {ReachV1ContactsFieldsUpdateRequest} reachV1ContactsFieldsUpdateRequest
|
|
19248
|
+
* @param {*} [options] Override http request option.
|
|
19249
|
+
* @throws {RequiredError}
|
|
19250
|
+
* @memberof ReachContactFieldsApi
|
|
19251
|
+
*/
|
|
19252
|
+
updateAContactFieldV1(profileUuid: string, fieldUuid: string, reachV1ContactsFieldsUpdateRequest: ReachV1ContactsFieldsUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ContactsFieldsContactFieldResource, any, {}, any>>;
|
|
19253
|
+
}
|
|
18260
19254
|
/**
|
|
18261
19255
|
* ReachContactsApi - axios parameter creator
|
|
18262
19256
|
* @export
|
|
@@ -18271,6 +19265,15 @@ export declare const ReachContactsApiAxiosParamCreator: (configuration?: Configu
|
|
|
18271
19265
|
* @throws {RequiredError}
|
|
18272
19266
|
*/
|
|
18273
19267
|
createANewContactV1: (reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19268
|
+
/**
|
|
19269
|
+
* 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 left as they are. If double opt-in is enabled, new contacts start off pending and are sent a confirmation email.
|
|
19270
|
+
* @summary Create contacts in bulk
|
|
19271
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19272
|
+
* @param {ReachV1ContactsBulkStoreRequest} reachV1ContactsBulkStoreRequest
|
|
19273
|
+
* @param {*} [options] Override http request option.
|
|
19274
|
+
* @throws {RequiredError}
|
|
19275
|
+
*/
|
|
19276
|
+
createContactsInBulkV1: (profileUuid: string, reachV1ContactsBulkStoreRequest: ReachV1ContactsBulkStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18274
19277
|
/**
|
|
18275
19278
|
* Create a new contact in the email marketing system. This endpoint allows you to create a new contact with basic information like name, email, and surname. If double opt-in is enabled, the contact will be created with a pending status and a confirmation email will be sent.
|
|
18276
19279
|
* @summary Create new contacts
|
|
@@ -18281,13 +19284,32 @@ export declare const ReachContactsApiAxiosParamCreator: (configuration?: Configu
|
|
|
18281
19284
|
*/
|
|
18282
19285
|
createNewContactsV1: (profileUuid: string, reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18283
19286
|
/**
|
|
18284
|
-
* Delete a contact with the specified UUID. This endpoint permanently removes a contact from the email marketing system.
|
|
19287
|
+
* Delete a contact with the specified UUID. This endpoint permanently removes a contact from the email marketing system. **Deprecated.** This endpoint cannot target a profile, so it always falls back to the client\'s default profile and cannot delete contacts of any other profile. Use `DELETE /api/reach/v1/profiles/{profileUuid}/contacts/{contactUuid}` instead.
|
|
18285
19288
|
* @summary Delete a contact
|
|
18286
19289
|
* @param {string} uuid UUID of the contact to delete
|
|
18287
19290
|
* @param {*} [options] Override http request option.
|
|
19291
|
+
* @deprecated
|
|
18288
19292
|
* @throws {RequiredError}
|
|
18289
19293
|
*/
|
|
18290
19294
|
deleteAContactV1: (uuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19295
|
+
/**
|
|
19296
|
+
* Permanently delete a contact from a profile. The contact is removed together with its custom field values and tag assignments.
|
|
19297
|
+
* @summary Delete a profile contact
|
|
19298
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19299
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19300
|
+
* @param {*} [options] Override http request option.
|
|
19301
|
+
* @throws {RequiredError}
|
|
19302
|
+
*/
|
|
19303
|
+
deleteAProfileContactV1: (profileUuid: string, contactUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19304
|
+
/**
|
|
19305
|
+
* Get the full details of a single contact. Alongside the contact\'s own attributes this returns the tags assigned to it and the values it holds for the profile\'s custom contact fields.
|
|
19306
|
+
* @summary Get contact details
|
|
19307
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19308
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19309
|
+
* @param {*} [options] Override http request option.
|
|
19310
|
+
* @throws {RequiredError}
|
|
19311
|
+
*/
|
|
19312
|
+
getContactDetailsV1: (profileUuid: string, contactUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18291
19313
|
/**
|
|
18292
19314
|
* Get a list of all contact groups. This endpoint returns a list of contact groups that can be used to organize contacts.
|
|
18293
19315
|
* @summary List contact groups
|
|
@@ -18297,15 +19319,39 @@ export declare const ReachContactsApiAxiosParamCreator: (configuration?: Configu
|
|
|
18297
19319
|
*/
|
|
18298
19320
|
listContactGroupsV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18299
19321
|
/**
|
|
18300
|
-
* Get a list of contacts, optionally filtered by group and subscription status. This endpoint returns a paginated list of contacts with their basic information. You can filter contacts by group UUID and subscription status.
|
|
19322
|
+
* Get a list of contacts, optionally filtered by group and subscription status. This endpoint returns a paginated list of contacts with their basic information. You can filter contacts by group UUID and subscription status. **Deprecated.** This endpoint cannot target a profile, so it always falls back to the client\'s default profile and cannot list contacts of any other profile. Use `GET /api/reach/v1/profiles/{profileUuid}/contacts` instead, which also replaces the group filter with a tag filter.
|
|
18301
19323
|
* @summary List contacts
|
|
18302
19324
|
* @param {string} [groupUuid] Filter contacts by group UUID
|
|
18303
19325
|
* @param {ListContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
|
|
18304
19326
|
* @param {number} [page] Page number
|
|
18305
19327
|
* @param {*} [options] Override http request option.
|
|
19328
|
+
* @deprecated
|
|
18306
19329
|
* @throws {RequiredError}
|
|
18307
19330
|
*/
|
|
18308
19331
|
listContactsV1: (groupUuid?: string, subscriptionStatus?: ListContactsV1SubscriptionStatusEnum, page?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19332
|
+
/**
|
|
19333
|
+
* Get a paginated list of contacts belonging to a profile. Contacts can be filtered by subscription status, by tag, and by an email search term. The `meta.total` field of the response is the number of contacts matching the filters, so calling this endpoint without filters gives the profile\'s total contact count.
|
|
19334
|
+
* @summary List profile contacts
|
|
19335
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19336
|
+
* @param {ListProfileContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
|
|
19337
|
+
* @param {string} [tagUuid] Filter contacts by tag UUID
|
|
19338
|
+
* @param {string} [search] Search contacts by email
|
|
19339
|
+
* @param {number} [page] Page number
|
|
19340
|
+
* @param {number} [perPage] Number of items per page
|
|
19341
|
+
* @param {*} [options] Override http request option.
|
|
19342
|
+
* @throws {RequiredError}
|
|
19343
|
+
*/
|
|
19344
|
+
listProfileContactsV1: (profileUuid: string, subscriptionStatus?: ListProfileContactsV1SubscriptionStatusEnum, tagUuid?: string, search?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19345
|
+
/**
|
|
19346
|
+
* Update a contact\'s attributes and custom field values. Only the properties present in the request body are changed, so a partial body is enough to change a single attribute. Sending a property as `null` clears it. The response carries the contact\'s core attributes. Read back its tags, custom field values, source and note with `GET /api/reach/v1/profiles/{profileUuid}/contacts/{contactUuid}`.
|
|
19347
|
+
* @summary Update a contact
|
|
19348
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19349
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19350
|
+
* @param {ReachV1ContactsUpdateRequest} reachV1ContactsUpdateRequest
|
|
19351
|
+
* @param {*} [options] Override http request option.
|
|
19352
|
+
* @throws {RequiredError}
|
|
19353
|
+
*/
|
|
19354
|
+
updateAContactV1: (profileUuid: string, contactUuid: string, reachV1ContactsUpdateRequest: ReachV1ContactsUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18309
19355
|
};
|
|
18310
19356
|
/**
|
|
18311
19357
|
* ReachContactsApi - functional programming interface
|
|
@@ -18321,6 +19367,15 @@ export declare const ReachContactsApiFp: (configuration?: Configuration) => {
|
|
|
18321
19367
|
* @throws {RequiredError}
|
|
18322
19368
|
*/
|
|
18323
19369
|
createANewContactV1(reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
19370
|
+
/**
|
|
19371
|
+
* 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 left as they are. If double opt-in is enabled, new contacts start off pending and are sent a confirmation email.
|
|
19372
|
+
* @summary Create contacts in bulk
|
|
19373
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19374
|
+
* @param {ReachV1ContactsBulkStoreRequest} reachV1ContactsBulkStoreRequest
|
|
19375
|
+
* @param {*} [options] Override http request option.
|
|
19376
|
+
* @throws {RequiredError}
|
|
19377
|
+
*/
|
|
19378
|
+
createContactsInBulkV1(profileUuid: string, reachV1ContactsBulkStoreRequest: ReachV1ContactsBulkStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
18324
19379
|
/**
|
|
18325
19380
|
* Create a new contact in the email marketing system. This endpoint allows you to create a new contact with basic information like name, email, and surname. If double opt-in is enabled, the contact will be created with a pending status and a confirmation email will be sent.
|
|
18326
19381
|
* @summary Create new contacts
|
|
@@ -18331,13 +19386,32 @@ export declare const ReachContactsApiFp: (configuration?: Configuration) => {
|
|
|
18331
19386
|
*/
|
|
18332
19387
|
createNewContactsV1(profileUuid: string, reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
18333
19388
|
/**
|
|
18334
|
-
* Delete a contact with the specified UUID. This endpoint permanently removes a contact from the email marketing system.
|
|
19389
|
+
* Delete a contact with the specified UUID. This endpoint permanently removes a contact from the email marketing system. **Deprecated.** This endpoint cannot target a profile, so it always falls back to the client\'s default profile and cannot delete contacts of any other profile. Use `DELETE /api/reach/v1/profiles/{profileUuid}/contacts/{contactUuid}` instead.
|
|
18335
19390
|
* @summary Delete a contact
|
|
18336
19391
|
* @param {string} uuid UUID of the contact to delete
|
|
18337
19392
|
* @param {*} [options] Override http request option.
|
|
19393
|
+
* @deprecated
|
|
18338
19394
|
* @throws {RequiredError}
|
|
18339
19395
|
*/
|
|
18340
19396
|
deleteAContactV1(uuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
19397
|
+
/**
|
|
19398
|
+
* Permanently delete a contact from a profile. The contact is removed together with its custom field values and tag assignments.
|
|
19399
|
+
* @summary Delete a profile contact
|
|
19400
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19401
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19402
|
+
* @param {*} [options] Override http request option.
|
|
19403
|
+
* @throws {RequiredError}
|
|
19404
|
+
*/
|
|
19405
|
+
deleteAProfileContactV1(profileUuid: string, contactUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
19406
|
+
/**
|
|
19407
|
+
* Get the full details of a single contact. Alongside the contact\'s own attributes this returns the tags assigned to it and the values it holds for the profile\'s custom contact fields.
|
|
19408
|
+
* @summary Get contact details
|
|
19409
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19410
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19411
|
+
* @param {*} [options] Override http request option.
|
|
19412
|
+
* @throws {RequiredError}
|
|
19413
|
+
*/
|
|
19414
|
+
getContactDetailsV1(profileUuid: string, contactUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachV1ContactsContactDetailsResource>>;
|
|
18341
19415
|
/**
|
|
18342
19416
|
* Get a list of all contact groups. This endpoint returns a list of contact groups that can be used to organize contacts.
|
|
18343
19417
|
* @summary List contact groups
|
|
@@ -18347,15 +19421,39 @@ export declare const ReachContactsApiFp: (configuration?: Configuration) => {
|
|
|
18347
19421
|
*/
|
|
18348
19422
|
listContactGroupsV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ReachV1ContactsGroupsContactGroupResource>>>;
|
|
18349
19423
|
/**
|
|
18350
|
-
* Get a list of contacts, optionally filtered by group and subscription status. This endpoint returns a paginated list of contacts with their basic information. You can filter contacts by group UUID and subscription status.
|
|
19424
|
+
* Get a list of contacts, optionally filtered by group and subscription status. This endpoint returns a paginated list of contacts with their basic information. You can filter contacts by group UUID and subscription status. **Deprecated.** This endpoint cannot target a profile, so it always falls back to the client\'s default profile and cannot list contacts of any other profile. Use `GET /api/reach/v1/profiles/{profileUuid}/contacts` instead, which also replaces the group filter with a tag filter.
|
|
18351
19425
|
* @summary List contacts
|
|
18352
19426
|
* @param {string} [groupUuid] Filter contacts by group UUID
|
|
18353
19427
|
* @param {ListContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
|
|
18354
19428
|
* @param {number} [page] Page number
|
|
18355
19429
|
* @param {*} [options] Override http request option.
|
|
19430
|
+
* @deprecated
|
|
18356
19431
|
* @throws {RequiredError}
|
|
18357
19432
|
*/
|
|
18358
19433
|
listContactsV1(groupUuid?: string, subscriptionStatus?: ListContactsV1SubscriptionStatusEnum, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachListContactsV1200Response>>;
|
|
19434
|
+
/**
|
|
19435
|
+
* Get a paginated list of contacts belonging to a profile. Contacts can be filtered by subscription status, by tag, and by an email search term. The `meta.total` field of the response is the number of contacts matching the filters, so calling this endpoint without filters gives the profile\'s total contact count.
|
|
19436
|
+
* @summary List profile contacts
|
|
19437
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19438
|
+
* @param {ListProfileContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
|
|
19439
|
+
* @param {string} [tagUuid] Filter contacts by tag UUID
|
|
19440
|
+
* @param {string} [search] Search contacts by email
|
|
19441
|
+
* @param {number} [page] Page number
|
|
19442
|
+
* @param {number} [perPage] Number of items per page
|
|
19443
|
+
* @param {*} [options] Override http request option.
|
|
19444
|
+
* @throws {RequiredError}
|
|
19445
|
+
*/
|
|
19446
|
+
listProfileContactsV1(profileUuid: string, subscriptionStatus?: ListProfileContactsV1SubscriptionStatusEnum, tagUuid?: string, search?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachListProfileContactsV1200Response>>;
|
|
19447
|
+
/**
|
|
19448
|
+
* Update a contact\'s attributes and custom field values. Only the properties present in the request body are changed, so a partial body is enough to change a single attribute. Sending a property as `null` clears it. The response carries the contact\'s core attributes. Read back its tags, custom field values, source and note with `GET /api/reach/v1/profiles/{profileUuid}/contacts/{contactUuid}`.
|
|
19449
|
+
* @summary Update a contact
|
|
19450
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19451
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19452
|
+
* @param {ReachV1ContactsUpdateRequest} reachV1ContactsUpdateRequest
|
|
19453
|
+
* @param {*} [options] Override http request option.
|
|
19454
|
+
* @throws {RequiredError}
|
|
19455
|
+
*/
|
|
19456
|
+
updateAContactV1(profileUuid: string, contactUuid: string, reachV1ContactsUpdateRequest: ReachV1ContactsUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachV1ContactsProfileContactUpdateResource>>;
|
|
18359
19457
|
};
|
|
18360
19458
|
/**
|
|
18361
19459
|
* ReachContactsApi - factory interface
|
|
@@ -18371,6 +19469,15 @@ export declare const ReachContactsApiFactory: (configuration?: Configuration, ba
|
|
|
18371
19469
|
* @throws {RequiredError}
|
|
18372
19470
|
*/
|
|
18373
19471
|
createANewContactV1(reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
19472
|
+
/**
|
|
19473
|
+
* 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 left as they are. If double opt-in is enabled, new contacts start off pending and are sent a confirmation email.
|
|
19474
|
+
* @summary Create contacts in bulk
|
|
19475
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19476
|
+
* @param {ReachV1ContactsBulkStoreRequest} reachV1ContactsBulkStoreRequest
|
|
19477
|
+
* @param {*} [options] Override http request option.
|
|
19478
|
+
* @throws {RequiredError}
|
|
19479
|
+
*/
|
|
19480
|
+
createContactsInBulkV1(profileUuid: string, reachV1ContactsBulkStoreRequest: ReachV1ContactsBulkStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
18374
19481
|
/**
|
|
18375
19482
|
* Create a new contact in the email marketing system. This endpoint allows you to create a new contact with basic information like name, email, and surname. If double opt-in is enabled, the contact will be created with a pending status and a confirmation email will be sent.
|
|
18376
19483
|
* @summary Create new contacts
|
|
@@ -18381,13 +19488,32 @@ export declare const ReachContactsApiFactory: (configuration?: Configuration, ba
|
|
|
18381
19488
|
*/
|
|
18382
19489
|
createNewContactsV1(profileUuid: string, reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
18383
19490
|
/**
|
|
18384
|
-
* Delete a contact with the specified UUID. This endpoint permanently removes a contact from the email marketing system.
|
|
19491
|
+
* Delete a contact with the specified UUID. This endpoint permanently removes a contact from the email marketing system. **Deprecated.** This endpoint cannot target a profile, so it always falls back to the client\'s default profile and cannot delete contacts of any other profile. Use `DELETE /api/reach/v1/profiles/{profileUuid}/contacts/{contactUuid}` instead.
|
|
18385
19492
|
* @summary Delete a contact
|
|
18386
19493
|
* @param {string} uuid UUID of the contact to delete
|
|
18387
19494
|
* @param {*} [options] Override http request option.
|
|
19495
|
+
* @deprecated
|
|
18388
19496
|
* @throws {RequiredError}
|
|
18389
19497
|
*/
|
|
18390
19498
|
deleteAContactV1(uuid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
19499
|
+
/**
|
|
19500
|
+
* Permanently delete a contact from a profile. The contact is removed together with its custom field values and tag assignments.
|
|
19501
|
+
* @summary Delete a profile contact
|
|
19502
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19503
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19504
|
+
* @param {*} [options] Override http request option.
|
|
19505
|
+
* @throws {RequiredError}
|
|
19506
|
+
*/
|
|
19507
|
+
deleteAProfileContactV1(profileUuid: string, contactUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
19508
|
+
/**
|
|
19509
|
+
* Get the full details of a single contact. Alongside the contact\'s own attributes this returns the tags assigned to it and the values it holds for the profile\'s custom contact fields.
|
|
19510
|
+
* @summary Get contact details
|
|
19511
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19512
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19513
|
+
* @param {*} [options] Override http request option.
|
|
19514
|
+
* @throws {RequiredError}
|
|
19515
|
+
*/
|
|
19516
|
+
getContactDetailsV1(profileUuid: string, contactUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<ReachV1ContactsContactDetailsResource>;
|
|
18391
19517
|
/**
|
|
18392
19518
|
* Get a list of all contact groups. This endpoint returns a list of contact groups that can be used to organize contacts.
|
|
18393
19519
|
* @summary List contact groups
|
|
@@ -18397,15 +19523,39 @@ export declare const ReachContactsApiFactory: (configuration?: Configuration, ba
|
|
|
18397
19523
|
*/
|
|
18398
19524
|
listContactGroupsV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<ReachV1ContactsGroupsContactGroupResource>>;
|
|
18399
19525
|
/**
|
|
18400
|
-
* Get a list of contacts, optionally filtered by group and subscription status. This endpoint returns a paginated list of contacts with their basic information. You can filter contacts by group UUID and subscription status.
|
|
19526
|
+
* Get a list of contacts, optionally filtered by group and subscription status. This endpoint returns a paginated list of contacts with their basic information. You can filter contacts by group UUID and subscription status. **Deprecated.** This endpoint cannot target a profile, so it always falls back to the client\'s default profile and cannot list contacts of any other profile. Use `GET /api/reach/v1/profiles/{profileUuid}/contacts` instead, which also replaces the group filter with a tag filter.
|
|
18401
19527
|
* @summary List contacts
|
|
18402
19528
|
* @param {string} [groupUuid] Filter contacts by group UUID
|
|
18403
19529
|
* @param {ListContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
|
|
18404
19530
|
* @param {number} [page] Page number
|
|
18405
19531
|
* @param {*} [options] Override http request option.
|
|
19532
|
+
* @deprecated
|
|
18406
19533
|
* @throws {RequiredError}
|
|
18407
19534
|
*/
|
|
18408
19535
|
listContactsV1(groupUuid?: string, subscriptionStatus?: ListContactsV1SubscriptionStatusEnum, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<ReachListContactsV1200Response>;
|
|
19536
|
+
/**
|
|
19537
|
+
* Get a paginated list of contacts belonging to a profile. Contacts can be filtered by subscription status, by tag, and by an email search term. The `meta.total` field of the response is the number of contacts matching the filters, so calling this endpoint without filters gives the profile\'s total contact count.
|
|
19538
|
+
* @summary List profile contacts
|
|
19539
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19540
|
+
* @param {ListProfileContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
|
|
19541
|
+
* @param {string} [tagUuid] Filter contacts by tag UUID
|
|
19542
|
+
* @param {string} [search] Search contacts by email
|
|
19543
|
+
* @param {number} [page] Page number
|
|
19544
|
+
* @param {number} [perPage] Number of items per page
|
|
19545
|
+
* @param {*} [options] Override http request option.
|
|
19546
|
+
* @throws {RequiredError}
|
|
19547
|
+
*/
|
|
19548
|
+
listProfileContactsV1(profileUuid: string, subscriptionStatus?: ListProfileContactsV1SubscriptionStatusEnum, tagUuid?: string, search?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<ReachListProfileContactsV1200Response>;
|
|
19549
|
+
/**
|
|
19550
|
+
* Update a contact\'s attributes and custom field values. Only the properties present in the request body are changed, so a partial body is enough to change a single attribute. Sending a property as `null` clears it. The response carries the contact\'s core attributes. Read back its tags, custom field values, source and note with `GET /api/reach/v1/profiles/{profileUuid}/contacts/{contactUuid}`.
|
|
19551
|
+
* @summary Update a contact
|
|
19552
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19553
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19554
|
+
* @param {ReachV1ContactsUpdateRequest} reachV1ContactsUpdateRequest
|
|
19555
|
+
* @param {*} [options] Override http request option.
|
|
19556
|
+
* @throws {RequiredError}
|
|
19557
|
+
*/
|
|
19558
|
+
updateAContactV1(profileUuid: string, contactUuid: string, reachV1ContactsUpdateRequest: ReachV1ContactsUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReachV1ContactsProfileContactUpdateResource>;
|
|
18409
19559
|
};
|
|
18410
19560
|
/**
|
|
18411
19561
|
* ReachContactsApi - object-oriented interface
|
|
@@ -18424,6 +19574,16 @@ export declare class ReachContactsApi extends BaseAPI {
|
|
|
18424
19574
|
* @memberof ReachContactsApi
|
|
18425
19575
|
*/
|
|
18426
19576
|
createANewContactV1(reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
19577
|
+
/**
|
|
19578
|
+
* 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 left as they are. If double opt-in is enabled, new contacts start off pending and are sent a confirmation email.
|
|
19579
|
+
* @summary Create contacts in bulk
|
|
19580
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19581
|
+
* @param {ReachV1ContactsBulkStoreRequest} reachV1ContactsBulkStoreRequest
|
|
19582
|
+
* @param {*} [options] Override http request option.
|
|
19583
|
+
* @throws {RequiredError}
|
|
19584
|
+
* @memberof ReachContactsApi
|
|
19585
|
+
*/
|
|
19586
|
+
createContactsInBulkV1(profileUuid: string, reachV1ContactsBulkStoreRequest: ReachV1ContactsBulkStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
18427
19587
|
/**
|
|
18428
19588
|
* Create a new contact in the email marketing system. This endpoint allows you to create a new contact with basic information like name, email, and surname. If double opt-in is enabled, the contact will be created with a pending status and a confirmation email will be sent.
|
|
18429
19589
|
* @summary Create new contacts
|
|
@@ -18435,14 +19595,35 @@ export declare class ReachContactsApi extends BaseAPI {
|
|
|
18435
19595
|
*/
|
|
18436
19596
|
createNewContactsV1(profileUuid: string, reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
18437
19597
|
/**
|
|
18438
|
-
* Delete a contact with the specified UUID. This endpoint permanently removes a contact from the email marketing system.
|
|
19598
|
+
* Delete a contact with the specified UUID. This endpoint permanently removes a contact from the email marketing system. **Deprecated.** This endpoint cannot target a profile, so it always falls back to the client\'s default profile and cannot delete contacts of any other profile. Use `DELETE /api/reach/v1/profiles/{profileUuid}/contacts/{contactUuid}` instead.
|
|
18439
19599
|
* @summary Delete a contact
|
|
18440
19600
|
* @param {string} uuid UUID of the contact to delete
|
|
18441
19601
|
* @param {*} [options] Override http request option.
|
|
19602
|
+
* @deprecated
|
|
18442
19603
|
* @throws {RequiredError}
|
|
18443
19604
|
* @memberof ReachContactsApi
|
|
18444
19605
|
*/
|
|
18445
19606
|
deleteAContactV1(uuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
19607
|
+
/**
|
|
19608
|
+
* Permanently delete a contact from a profile. The contact is removed together with its custom field values and tag assignments.
|
|
19609
|
+
* @summary Delete a profile contact
|
|
19610
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19611
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19612
|
+
* @param {*} [options] Override http request option.
|
|
19613
|
+
* @throws {RequiredError}
|
|
19614
|
+
* @memberof ReachContactsApi
|
|
19615
|
+
*/
|
|
19616
|
+
deleteAProfileContactV1(profileUuid: string, contactUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
19617
|
+
/**
|
|
19618
|
+
* Get the full details of a single contact. Alongside the contact\'s own attributes this returns the tags assigned to it and the values it holds for the profile\'s custom contact fields.
|
|
19619
|
+
* @summary Get contact details
|
|
19620
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19621
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19622
|
+
* @param {*} [options] Override http request option.
|
|
19623
|
+
* @throws {RequiredError}
|
|
19624
|
+
* @memberof ReachContactsApi
|
|
19625
|
+
*/
|
|
19626
|
+
getContactDetailsV1(profileUuid: string, contactUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ContactsContactDetailsResource, any, {}, any>>;
|
|
18446
19627
|
/**
|
|
18447
19628
|
* Get a list of all contact groups. This endpoint returns a list of contact groups that can be used to organize contacts.
|
|
18448
19629
|
* @summary List contact groups
|
|
@@ -18453,16 +19634,42 @@ export declare class ReachContactsApi extends BaseAPI {
|
|
|
18453
19634
|
*/
|
|
18454
19635
|
listContactGroupsV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ContactsGroupsContactGroupResource[], any, {}, any>>;
|
|
18455
19636
|
/**
|
|
18456
|
-
* Get a list of contacts, optionally filtered by group and subscription status. This endpoint returns a paginated list of contacts with their basic information. You can filter contacts by group UUID and subscription status.
|
|
19637
|
+
* Get a list of contacts, optionally filtered by group and subscription status. This endpoint returns a paginated list of contacts with their basic information. You can filter contacts by group UUID and subscription status. **Deprecated.** This endpoint cannot target a profile, so it always falls back to the client\'s default profile and cannot list contacts of any other profile. Use `GET /api/reach/v1/profiles/{profileUuid}/contacts` instead, which also replaces the group filter with a tag filter.
|
|
18457
19638
|
* @summary List contacts
|
|
18458
19639
|
* @param {string} [groupUuid] Filter contacts by group UUID
|
|
18459
19640
|
* @param {ListContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
|
|
18460
19641
|
* @param {number} [page] Page number
|
|
18461
19642
|
* @param {*} [options] Override http request option.
|
|
19643
|
+
* @deprecated
|
|
18462
19644
|
* @throws {RequiredError}
|
|
18463
19645
|
* @memberof ReachContactsApi
|
|
18464
19646
|
*/
|
|
18465
19647
|
listContactsV1(groupUuid?: string, subscriptionStatus?: ListContactsV1SubscriptionStatusEnum, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachListContactsV1200Response, any, {}, any>>;
|
|
19648
|
+
/**
|
|
19649
|
+
* Get a paginated list of contacts belonging to a profile. Contacts can be filtered by subscription status, by tag, and by an email search term. The `meta.total` field of the response is the number of contacts matching the filters, so calling this endpoint without filters gives the profile\'s total contact count.
|
|
19650
|
+
* @summary List profile contacts
|
|
19651
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19652
|
+
* @param {ListProfileContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
|
|
19653
|
+
* @param {string} [tagUuid] Filter contacts by tag UUID
|
|
19654
|
+
* @param {string} [search] Search contacts by email
|
|
19655
|
+
* @param {number} [page] Page number
|
|
19656
|
+
* @param {number} [perPage] Number of items per page
|
|
19657
|
+
* @param {*} [options] Override http request option.
|
|
19658
|
+
* @throws {RequiredError}
|
|
19659
|
+
* @memberof ReachContactsApi
|
|
19660
|
+
*/
|
|
19661
|
+
listProfileContactsV1(profileUuid: string, subscriptionStatus?: ListProfileContactsV1SubscriptionStatusEnum, tagUuid?: string, search?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachListProfileContactsV1200Response, any, {}, any>>;
|
|
19662
|
+
/**
|
|
19663
|
+
* Update a contact\'s attributes and custom field values. Only the properties present in the request body are changed, so a partial body is enough to change a single attribute. Sending a property as `null` clears it. The response carries the contact\'s core attributes. Read back its tags, custom field values, source and note with `GET /api/reach/v1/profiles/{profileUuid}/contacts/{contactUuid}`.
|
|
19664
|
+
* @summary Update a contact
|
|
19665
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19666
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19667
|
+
* @param {ReachV1ContactsUpdateRequest} reachV1ContactsUpdateRequest
|
|
19668
|
+
* @param {*} [options] Override http request option.
|
|
19669
|
+
* @throws {RequiredError}
|
|
19670
|
+
* @memberof ReachContactsApi
|
|
19671
|
+
*/
|
|
19672
|
+
updateAContactV1(profileUuid: string, contactUuid: string, reachV1ContactsUpdateRequest: ReachV1ContactsUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ContactsProfileContactUpdateResource, any, {}, any>>;
|
|
18466
19673
|
}
|
|
18467
19674
|
/**
|
|
18468
19675
|
* @export
|
|
@@ -18470,8 +19677,20 @@ export declare class ReachContactsApi extends BaseAPI {
|
|
|
18470
19677
|
export declare const ListContactsV1SubscriptionStatusEnum: {
|
|
18471
19678
|
readonly Subscribed: "subscribed";
|
|
18472
19679
|
readonly Unsubscribed: "unsubscribed";
|
|
19680
|
+
readonly Confirmed: "confirmed";
|
|
19681
|
+
readonly Pending: "pending";
|
|
18473
19682
|
};
|
|
18474
19683
|
export type ListContactsV1SubscriptionStatusEnum = typeof ListContactsV1SubscriptionStatusEnum[keyof typeof ListContactsV1SubscriptionStatusEnum];
|
|
19684
|
+
/**
|
|
19685
|
+
* @export
|
|
19686
|
+
*/
|
|
19687
|
+
export declare const ListProfileContactsV1SubscriptionStatusEnum: {
|
|
19688
|
+
readonly Subscribed: "subscribed";
|
|
19689
|
+
readonly Unsubscribed: "unsubscribed";
|
|
19690
|
+
readonly Confirmed: "confirmed";
|
|
19691
|
+
readonly Pending: "pending";
|
|
19692
|
+
};
|
|
19693
|
+
export type ListProfileContactsV1SubscriptionStatusEnum = typeof ListProfileContactsV1SubscriptionStatusEnum[keyof typeof ListProfileContactsV1SubscriptionStatusEnum];
|
|
18475
19694
|
/**
|
|
18476
19695
|
* ReachProfilesApi - axios parameter creator
|
|
18477
19696
|
* @export
|