hostinger-api-sdk 1.26.0 → 1.28.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 +2789 -531
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +1522 -78
- package/dist/api.js +2011 -490
- 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 +1522 -78
- package/dist/esm/api.js +1935 -423
- 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/ReachContactFieldsApi.md +239 -0
- package/docs/ReachContactsApi.md +308 -4
- package/docs/ReachListProfileContactsV1200Response.md +22 -0
- package/docs/ReachTagsApi.md +483 -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/ReachV1ContactsTagsManageContactsRequest.md +23 -0
- package/docs/ReachV1ContactsTagsStoreRequest.md +21 -0
- package/docs/ReachV1ContactsTagsTagResource.md +26 -0
- package/docs/ReachV1ContactsTagsUpdateRequest.md +21 -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/esm/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.29.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
|
|
@@ -7456,6 +7456,25 @@ export interface ReachListContactsV1200Response {
|
|
|
7456
7456
|
*/
|
|
7457
7457
|
'meta': CommonSchemaPaginationMetaSchema;
|
|
7458
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
|
+
}
|
|
7459
7478
|
/**
|
|
7460
7479
|
*
|
|
7461
7480
|
* @export
|
|
@@ -7475,6 +7494,170 @@ export interface ReachListProfileSegmentContactsV1200Response {
|
|
|
7475
7494
|
*/
|
|
7476
7495
|
'meta': CommonSchemaPaginationMetaSchema;
|
|
7477
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];
|
|
7478
7661
|
/**
|
|
7479
7662
|
*
|
|
7480
7663
|
* @export
|
|
@@ -7533,14 +7716,224 @@ export interface ReachV1ContactsContactResource {
|
|
|
7533
7716
|
export declare const ReachV1ContactsContactResourceSubscriptionStatusEnum: {
|
|
7534
7717
|
readonly Subscribed: "subscribed";
|
|
7535
7718
|
readonly Unsubscribed: "unsubscribed";
|
|
7719
|
+
readonly Confirmed: "confirmed";
|
|
7720
|
+
readonly Pending: "pending";
|
|
7536
7721
|
};
|
|
7537
7722
|
export type ReachV1ContactsContactResourceSubscriptionStatusEnum = typeof ReachV1ContactsContactResourceSubscriptionStatusEnum[keyof typeof ReachV1ContactsContactResourceSubscriptionStatusEnum];
|
|
7538
7723
|
export declare const ReachV1ContactsContactResourceSourceEnum: {
|
|
7539
7724
|
readonly Sync: "sync";
|
|
7540
7725
|
readonly Import: "import";
|
|
7541
7726
|
readonly Manual: "manual";
|
|
7727
|
+
readonly Api: "api";
|
|
7728
|
+
readonly Form: "form";
|
|
7729
|
+
readonly Checkout: "checkout";
|
|
7730
|
+
readonly Horizons: "horizons";
|
|
7542
7731
|
};
|
|
7543
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
|
|
7819
|
+
*/
|
|
7820
|
+
'uuid': string;
|
|
7821
|
+
/**
|
|
7822
|
+
*
|
|
7823
|
+
* @type {string}
|
|
7824
|
+
* @memberof ReachV1ContactsFieldsContactFieldValueResource
|
|
7825
|
+
*/
|
|
7826
|
+
'type': ReachV1ContactsFieldsContactFieldValueResourceTypeEnum;
|
|
7827
|
+
/**
|
|
7828
|
+
*
|
|
7829
|
+
* @type {string}
|
|
7830
|
+
* @memberof ReachV1ContactsFieldsContactFieldValueResource
|
|
7831
|
+
*/
|
|
7832
|
+
'label': string;
|
|
7833
|
+
/**
|
|
7834
|
+
*
|
|
7835
|
+
* @type {string}
|
|
7836
|
+
* @memberof ReachV1ContactsFieldsContactFieldValueResource
|
|
7837
|
+
*/
|
|
7838
|
+
'slug': string;
|
|
7839
|
+
/**
|
|
7840
|
+
* Set for the scalar field types, null for the choice types
|
|
7841
|
+
* @type {string}
|
|
7842
|
+
* @memberof ReachV1ContactsFieldsContactFieldValueResource
|
|
7843
|
+
*/
|
|
7844
|
+
'value': string | null;
|
|
7845
|
+
/**
|
|
7846
|
+
* Chosen options for the choice field types, empty for the scalar types
|
|
7847
|
+
* @type {Array<string>}
|
|
7848
|
+
* @memberof ReachV1ContactsFieldsContactFieldValueResource
|
|
7849
|
+
*/
|
|
7850
|
+
'selected_option_uuids': Array<string>;
|
|
7851
|
+
/**
|
|
7852
|
+
* Every option the field offers, not only the selected ones
|
|
7853
|
+
* @type {Array<ReachV1ContactsFieldsContactFieldOptionResource>}
|
|
7854
|
+
* @memberof ReachV1ContactsFieldsContactFieldValueResource
|
|
7855
|
+
*/
|
|
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 {
|
|
7872
|
+
/**
|
|
7873
|
+
* Immutable once the field exists
|
|
7874
|
+
* @type {string}
|
|
7875
|
+
* @memberof ReachV1ContactsFieldsStoreRequest
|
|
7876
|
+
*/
|
|
7877
|
+
'type': ReachV1ContactsFieldsStoreRequestTypeEnum;
|
|
7878
|
+
/**
|
|
7879
|
+
*
|
|
7880
|
+
* @type {string}
|
|
7881
|
+
* @memberof ReachV1ContactsFieldsStoreRequest
|
|
7882
|
+
*/
|
|
7883
|
+
'label': string;
|
|
7884
|
+
/**
|
|
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
|
|
7888
|
+
*/
|
|
7889
|
+
'options': Array<string>;
|
|
7890
|
+
}
|
|
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";
|
|
7897
|
+
};
|
|
7898
|
+
export type ReachV1ContactsFieldsStoreRequestTypeEnum = typeof ReachV1ContactsFieldsStoreRequestTypeEnum[keyof typeof ReachV1ContactsFieldsStoreRequestTypeEnum];
|
|
7899
|
+
/**
|
|
7900
|
+
* Rename a custom contact field and, for the choice types, replace its option set. The field type and slug are immutable.
|
|
7901
|
+
* @export
|
|
7902
|
+
* @interface ReachV1ContactsFieldsUpdateRequest
|
|
7903
|
+
*/
|
|
7904
|
+
export interface ReachV1ContactsFieldsUpdateRequest {
|
|
7905
|
+
/**
|
|
7906
|
+
*
|
|
7907
|
+
* @type {string}
|
|
7908
|
+
* @memberof ReachV1ContactsFieldsUpdateRequest
|
|
7909
|
+
*/
|
|
7910
|
+
'label': string;
|
|
7911
|
+
/**
|
|
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
|
|
7915
|
+
*/
|
|
7916
|
+
'options': Array<ReachV1ContactsFieldsUpdateRequestOptionsInner> | null;
|
|
7917
|
+
}
|
|
7918
|
+
/**
|
|
7919
|
+
*
|
|
7920
|
+
* @export
|
|
7921
|
+
* @interface ReachV1ContactsFieldsUpdateRequestOptionsInner
|
|
7922
|
+
*/
|
|
7923
|
+
export interface ReachV1ContactsFieldsUpdateRequestOptionsInner {
|
|
7924
|
+
/**
|
|
7925
|
+
*
|
|
7926
|
+
* @type {string}
|
|
7927
|
+
* @memberof ReachV1ContactsFieldsUpdateRequestOptionsInner
|
|
7928
|
+
*/
|
|
7929
|
+
'uuid': string | null;
|
|
7930
|
+
/**
|
|
7931
|
+
*
|
|
7932
|
+
* @type {string}
|
|
7933
|
+
* @memberof ReachV1ContactsFieldsUpdateRequestOptionsInner
|
|
7934
|
+
*/
|
|
7935
|
+
'label': string;
|
|
7936
|
+
}
|
|
7544
7937
|
/**
|
|
7545
7938
|
*
|
|
7546
7939
|
* @export
|
|
@@ -7560,6 +7953,152 @@ export interface ReachV1ContactsGroupsContactGroupResource {
|
|
|
7560
7953
|
*/
|
|
7561
7954
|
'title': string;
|
|
7562
7955
|
}
|
|
7956
|
+
/**
|
|
7957
|
+
*
|
|
7958
|
+
* @export
|
|
7959
|
+
* @interface ReachV1ContactsProfileContactResource
|
|
7960
|
+
*/
|
|
7961
|
+
export interface ReachV1ContactsProfileContactResource {
|
|
7962
|
+
/**
|
|
7963
|
+
*
|
|
7964
|
+
* @type {string}
|
|
7965
|
+
* @memberof ReachV1ContactsProfileContactResource
|
|
7966
|
+
*/
|
|
7967
|
+
'uuid': string;
|
|
7968
|
+
/**
|
|
7969
|
+
*
|
|
7970
|
+
* @type {string}
|
|
7971
|
+
* @memberof ReachV1ContactsProfileContactResource
|
|
7972
|
+
*/
|
|
7973
|
+
'name': string | null;
|
|
7974
|
+
/**
|
|
7975
|
+
*
|
|
7976
|
+
* @type {string}
|
|
7977
|
+
* @memberof ReachV1ContactsProfileContactResource
|
|
7978
|
+
*/
|
|
7979
|
+
'surname': string | null;
|
|
7980
|
+
/**
|
|
7981
|
+
*
|
|
7982
|
+
* @type {string}
|
|
7983
|
+
* @memberof ReachV1ContactsProfileContactResource
|
|
7984
|
+
*/
|
|
7985
|
+
'email': string;
|
|
7986
|
+
/**
|
|
7987
|
+
*
|
|
7988
|
+
* @type {string}
|
|
7989
|
+
* @memberof ReachV1ContactsProfileContactResource
|
|
7990
|
+
*/
|
|
7991
|
+
'phone': string | null;
|
|
7992
|
+
/**
|
|
7993
|
+
*
|
|
7994
|
+
* @type {string}
|
|
7995
|
+
* @memberof ReachV1ContactsProfileContactResource
|
|
7996
|
+
*/
|
|
7997
|
+
'subscription_status': ReachV1ContactsProfileContactResourceSubscriptionStatusEnum;
|
|
7998
|
+
/**
|
|
7999
|
+
*
|
|
8000
|
+
* @type {string}
|
|
8001
|
+
* @memberof ReachV1ContactsProfileContactResource
|
|
8002
|
+
*/
|
|
8003
|
+
'subscribed_at': string | null;
|
|
8004
|
+
/**
|
|
8005
|
+
*
|
|
8006
|
+
* @type {string}
|
|
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
|
|
8020
|
+
*/
|
|
8021
|
+
'note': string | null;
|
|
8022
|
+
}
|
|
8023
|
+
export declare const ReachV1ContactsProfileContactResourceSubscriptionStatusEnum: {
|
|
8024
|
+
readonly Subscribed: "subscribed";
|
|
8025
|
+
readonly Unsubscribed: "unsubscribed";
|
|
8026
|
+
readonly Confirmed: "confirmed";
|
|
8027
|
+
readonly Pending: "pending";
|
|
8028
|
+
};
|
|
8029
|
+
export type ReachV1ContactsProfileContactResourceSubscriptionStatusEnum = typeof ReachV1ContactsProfileContactResourceSubscriptionStatusEnum[keyof typeof ReachV1ContactsProfileContactResourceSubscriptionStatusEnum];
|
|
8030
|
+
export declare const ReachV1ContactsProfileContactResourceSourceEnum: {
|
|
8031
|
+
readonly Sync: "sync";
|
|
8032
|
+
readonly Import: "import";
|
|
8033
|
+
readonly Manual: "manual";
|
|
8034
|
+
readonly Api: "api";
|
|
8035
|
+
readonly Form: "form";
|
|
8036
|
+
readonly Checkout: "checkout";
|
|
8037
|
+
readonly Horizons: "horizons";
|
|
8038
|
+
};
|
|
8039
|
+
export type ReachV1ContactsProfileContactResourceSourceEnum = typeof ReachV1ContactsProfileContactResourceSourceEnum[keyof typeof ReachV1ContactsProfileContactResourceSourceEnum];
|
|
8040
|
+
/**
|
|
8041
|
+
*
|
|
8042
|
+
* @export
|
|
8043
|
+
* @interface ReachV1ContactsProfileContactUpdateResource
|
|
8044
|
+
*/
|
|
8045
|
+
export interface ReachV1ContactsProfileContactUpdateResource {
|
|
8046
|
+
/**
|
|
8047
|
+
*
|
|
8048
|
+
* @type {string}
|
|
8049
|
+
* @memberof ReachV1ContactsProfileContactUpdateResource
|
|
8050
|
+
*/
|
|
8051
|
+
'uuid': string;
|
|
8052
|
+
/**
|
|
8053
|
+
*
|
|
8054
|
+
* @type {string}
|
|
8055
|
+
* @memberof ReachV1ContactsProfileContactUpdateResource
|
|
8056
|
+
*/
|
|
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;
|
|
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];
|
|
7563
8102
|
/**
|
|
7564
8103
|
*
|
|
7565
8104
|
* @export
|
|
@@ -7686,12 +8225,18 @@ export interface ReachV1ContactsSegmentsSegmentationContactResource {
|
|
|
7686
8225
|
export declare const ReachV1ContactsSegmentsSegmentationContactResourceSubscriptionStatusEnum: {
|
|
7687
8226
|
readonly Subscribed: "subscribed";
|
|
7688
8227
|
readonly Unsubscribed: "unsubscribed";
|
|
8228
|
+
readonly Confirmed: "confirmed";
|
|
8229
|
+
readonly Pending: "pending";
|
|
7689
8230
|
};
|
|
7690
8231
|
export type ReachV1ContactsSegmentsSegmentationContactResourceSubscriptionStatusEnum = typeof ReachV1ContactsSegmentsSegmentationContactResourceSubscriptionStatusEnum[keyof typeof ReachV1ContactsSegmentsSegmentationContactResourceSubscriptionStatusEnum];
|
|
7691
8232
|
export declare const ReachV1ContactsSegmentsSegmentationContactResourceSourceEnum: {
|
|
7692
8233
|
readonly Sync: "sync";
|
|
7693
8234
|
readonly Import: "import";
|
|
7694
8235
|
readonly Manual: "manual";
|
|
8236
|
+
readonly Api: "api";
|
|
8237
|
+
readonly Form: "form";
|
|
8238
|
+
readonly Checkout: "checkout";
|
|
8239
|
+
readonly Horizons: "horizons";
|
|
7695
8240
|
};
|
|
7696
8241
|
export type ReachV1ContactsSegmentsSegmentationContactResourceSourceEnum = typeof ReachV1ContactsSegmentsSegmentationContactResourceSourceEnum[keyof typeof ReachV1ContactsSegmentsSegmentationContactResourceSourceEnum];
|
|
7697
8242
|
/**
|
|
@@ -7745,101 +8290,263 @@ export interface ReachV1ContactsSegmentsStoreRequestConditionsInner {
|
|
|
7745
8290
|
/**
|
|
7746
8291
|
*
|
|
7747
8292
|
* @type {string}
|
|
7748
|
-
* @memberof ReachV1ContactsSegmentsStoreRequestConditionsInner
|
|
8293
|
+
* @memberof ReachV1ContactsSegmentsStoreRequestConditionsInner
|
|
8294
|
+
*/
|
|
8295
|
+
'attribute': ReachV1ContactsSegmentsStoreRequestConditionsInnerAttributeEnum;
|
|
8296
|
+
}
|
|
8297
|
+
export declare const ReachV1ContactsSegmentsStoreRequestConditionsInnerOperatorEnum: {
|
|
8298
|
+
readonly Equals: "equals";
|
|
8299
|
+
readonly NotEquals: "not_equals";
|
|
8300
|
+
readonly Contains: "contains";
|
|
8301
|
+
readonly NotContains: "not_contains";
|
|
8302
|
+
readonly Gte: "gte";
|
|
8303
|
+
readonly Lte: "lte";
|
|
8304
|
+
readonly Exists: "exists";
|
|
8305
|
+
readonly WithinLastDays: "within_last_days";
|
|
8306
|
+
readonly NotWithinLastDays: "not_within_last_days";
|
|
8307
|
+
readonly OlderThanDays: "older_than_days";
|
|
8308
|
+
readonly Processed: "processed";
|
|
8309
|
+
readonly NotProcessed: "not_processed";
|
|
8310
|
+
readonly Delivered: "delivered";
|
|
8311
|
+
readonly NotDelivered: "not_delivered";
|
|
8312
|
+
readonly Dropped: "dropped";
|
|
8313
|
+
readonly NotDropped: "not_dropped";
|
|
8314
|
+
readonly Bounced: "bounced";
|
|
8315
|
+
readonly NotBounced: "not_bounced";
|
|
8316
|
+
readonly Opened: "opened";
|
|
8317
|
+
readonly NotOpened: "not_opened";
|
|
8318
|
+
readonly Clicked: "clicked";
|
|
8319
|
+
readonly NotClicked: "not_clicked";
|
|
8320
|
+
readonly Unsubscribed: "unsubscribed";
|
|
8321
|
+
readonly NotUnsubscribed: "not_unsubscribed";
|
|
8322
|
+
};
|
|
8323
|
+
export type ReachV1ContactsSegmentsStoreRequestConditionsInnerOperatorEnum = typeof ReachV1ContactsSegmentsStoreRequestConditionsInnerOperatorEnum[keyof typeof ReachV1ContactsSegmentsStoreRequestConditionsInnerOperatorEnum];
|
|
8324
|
+
export declare const ReachV1ContactsSegmentsStoreRequestConditionsInnerAttributeEnum: {
|
|
8325
|
+
readonly Note: "note";
|
|
8326
|
+
readonly Comment: "comment";
|
|
8327
|
+
readonly Domain: "domain";
|
|
8328
|
+
readonly Integration: "integration";
|
|
8329
|
+
readonly Source: "source";
|
|
8330
|
+
readonly Name: "name";
|
|
8331
|
+
readonly Surname: "surname";
|
|
8332
|
+
readonly Email: "email";
|
|
8333
|
+
readonly SubscribedAt: "subscribed_at";
|
|
8334
|
+
readonly UnsubscribedAt: "unsubscribed_at";
|
|
8335
|
+
readonly SubscriptionStatus: "subscription_status";
|
|
8336
|
+
readonly Processed: "processed";
|
|
8337
|
+
readonly Opened: "opened";
|
|
8338
|
+
readonly Clicked: "clicked";
|
|
8339
|
+
readonly Delivered: "delivered";
|
|
8340
|
+
readonly Bounced: "bounced";
|
|
8341
|
+
readonly Unsubscribed: "unsubscribed";
|
|
8342
|
+
readonly Dropped: "dropped";
|
|
8343
|
+
readonly Tag: "tag";
|
|
8344
|
+
readonly Campaigns: "campaigns";
|
|
8345
|
+
};
|
|
8346
|
+
export type ReachV1ContactsSegmentsStoreRequestConditionsInnerAttributeEnum = typeof ReachV1ContactsSegmentsStoreRequestConditionsInnerAttributeEnum[keyof typeof ReachV1ContactsSegmentsStoreRequestConditionsInnerAttributeEnum];
|
|
8347
|
+
/**
|
|
8348
|
+
* @type ReachV1ContactsSegmentsStoreRequestConditionsInnerValue
|
|
8349
|
+
* @export
|
|
8350
|
+
*/
|
|
8351
|
+
export type ReachV1ContactsSegmentsStoreRequestConditionsInnerValue = number | string;
|
|
8352
|
+
/**
|
|
8353
|
+
*
|
|
8354
|
+
* @export
|
|
8355
|
+
* @interface ReachV1ContactsStoreRequest
|
|
8356
|
+
*/
|
|
8357
|
+
export interface ReachV1ContactsStoreRequest {
|
|
8358
|
+
/**
|
|
8359
|
+
*
|
|
8360
|
+
* @type {string}
|
|
8361
|
+
* @memberof ReachV1ContactsStoreRequest
|
|
8362
|
+
*/
|
|
8363
|
+
'email': string;
|
|
8364
|
+
/**
|
|
8365
|
+
*
|
|
8366
|
+
* @type {string}
|
|
8367
|
+
* @memberof ReachV1ContactsStoreRequest
|
|
8368
|
+
*/
|
|
8369
|
+
'name': string | null;
|
|
8370
|
+
/**
|
|
8371
|
+
*
|
|
8372
|
+
* @type {string}
|
|
8373
|
+
* @memberof ReachV1ContactsStoreRequest
|
|
8374
|
+
*/
|
|
8375
|
+
'surname': string | null;
|
|
8376
|
+
/**
|
|
8377
|
+
* Phone number in E.164 format (leading \"+\" then 7-15 digits)
|
|
8378
|
+
* @type {string}
|
|
8379
|
+
* @memberof ReachV1ContactsStoreRequest
|
|
8380
|
+
*/
|
|
8381
|
+
'phone': string | null;
|
|
8382
|
+
/**
|
|
8383
|
+
*
|
|
8384
|
+
* @type {string}
|
|
8385
|
+
* @memberof ReachV1ContactsStoreRequest
|
|
8386
|
+
*/
|
|
8387
|
+
'note': string | null;
|
|
8388
|
+
}
|
|
8389
|
+
/**
|
|
8390
|
+
* Contacts to assign to, or remove from, a tag
|
|
8391
|
+
* @export
|
|
8392
|
+
* @interface ReachV1ContactsTagsManageContactsRequest
|
|
8393
|
+
*/
|
|
8394
|
+
export interface ReachV1ContactsTagsManageContactsRequest {
|
|
8395
|
+
/**
|
|
8396
|
+
* Contacts to apply the change to. Required unless all_contacts is true.
|
|
8397
|
+
* @type {Array<string>}
|
|
8398
|
+
* @memberof ReachV1ContactsTagsManageContactsRequest
|
|
8399
|
+
*/
|
|
8400
|
+
'contact_uuids': Array<string>;
|
|
8401
|
+
/**
|
|
8402
|
+
* Apply to every contact in the profile
|
|
8403
|
+
* @type {boolean}
|
|
8404
|
+
* @memberof ReachV1ContactsTagsManageContactsRequest
|
|
8405
|
+
*/
|
|
8406
|
+
'all_contacts': boolean;
|
|
8407
|
+
}
|
|
8408
|
+
/**
|
|
8409
|
+
* Names to create. Names that already exist in the profile are returned as they are.
|
|
8410
|
+
* @export
|
|
8411
|
+
* @interface ReachV1ContactsTagsStoreRequest
|
|
8412
|
+
*/
|
|
8413
|
+
export interface ReachV1ContactsTagsStoreRequest {
|
|
8414
|
+
/**
|
|
8415
|
+
*
|
|
8416
|
+
* @type {Array<string>}
|
|
8417
|
+
* @memberof ReachV1ContactsTagsStoreRequest
|
|
8418
|
+
*/
|
|
8419
|
+
'names': Array<string>;
|
|
8420
|
+
}
|
|
8421
|
+
/**
|
|
8422
|
+
*
|
|
8423
|
+
* @export
|
|
8424
|
+
* @interface ReachV1ContactsTagsTagResource
|
|
8425
|
+
*/
|
|
8426
|
+
export interface ReachV1ContactsTagsTagResource {
|
|
8427
|
+
/**
|
|
8428
|
+
*
|
|
8429
|
+
* @type {string}
|
|
8430
|
+
* @memberof ReachV1ContactsTagsTagResource
|
|
8431
|
+
*/
|
|
8432
|
+
'uuid': string;
|
|
8433
|
+
/**
|
|
8434
|
+
* How the tag came about. `custom` covers the tags you create yourself, `form` covers the ones Reach creates for its forms.
|
|
8435
|
+
* @type {string}
|
|
8436
|
+
* @memberof ReachV1ContactsTagsTagResource
|
|
8437
|
+
*/
|
|
8438
|
+
'type': ReachV1ContactsTagsTagResourceTypeEnum;
|
|
8439
|
+
/**
|
|
8440
|
+
*
|
|
8441
|
+
* @type {string}
|
|
8442
|
+
* @memberof ReachV1ContactsTagsTagResource
|
|
8443
|
+
*/
|
|
8444
|
+
'value': string;
|
|
8445
|
+
/**
|
|
8446
|
+
*
|
|
8447
|
+
* @type {string}
|
|
8448
|
+
* @memberof ReachV1ContactsTagsTagResource
|
|
7749
8449
|
*/
|
|
7750
|
-
'
|
|
8450
|
+
'created_at': string;
|
|
7751
8451
|
}
|
|
7752
|
-
export declare const
|
|
7753
|
-
readonly
|
|
7754
|
-
readonly
|
|
7755
|
-
readonly Contains: "contains";
|
|
7756
|
-
readonly NotContains: "not_contains";
|
|
7757
|
-
readonly Gte: "gte";
|
|
7758
|
-
readonly Lte: "lte";
|
|
7759
|
-
readonly Exists: "exists";
|
|
7760
|
-
readonly WithinLastDays: "within_last_days";
|
|
7761
|
-
readonly NotWithinLastDays: "not_within_last_days";
|
|
7762
|
-
readonly OlderThanDays: "older_than_days";
|
|
7763
|
-
readonly Processed: "processed";
|
|
7764
|
-
readonly NotProcessed: "not_processed";
|
|
7765
|
-
readonly Delivered: "delivered";
|
|
7766
|
-
readonly NotDelivered: "not_delivered";
|
|
7767
|
-
readonly Dropped: "dropped";
|
|
7768
|
-
readonly NotDropped: "not_dropped";
|
|
7769
|
-
readonly Bounced: "bounced";
|
|
7770
|
-
readonly NotBounced: "not_bounced";
|
|
7771
|
-
readonly Opened: "opened";
|
|
7772
|
-
readonly NotOpened: "not_opened";
|
|
7773
|
-
readonly Clicked: "clicked";
|
|
7774
|
-
readonly NotClicked: "not_clicked";
|
|
7775
|
-
readonly Unsubscribed: "unsubscribed";
|
|
7776
|
-
readonly NotUnsubscribed: "not_unsubscribed";
|
|
7777
|
-
};
|
|
7778
|
-
export type ReachV1ContactsSegmentsStoreRequestConditionsInnerOperatorEnum = typeof ReachV1ContactsSegmentsStoreRequestConditionsInnerOperatorEnum[keyof typeof ReachV1ContactsSegmentsStoreRequestConditionsInnerOperatorEnum];
|
|
7779
|
-
export declare const ReachV1ContactsSegmentsStoreRequestConditionsInnerAttributeEnum: {
|
|
7780
|
-
readonly Note: "note";
|
|
7781
|
-
readonly Comment: "comment";
|
|
7782
|
-
readonly Domain: "domain";
|
|
7783
|
-
readonly Integration: "integration";
|
|
7784
|
-
readonly Source: "source";
|
|
7785
|
-
readonly Name: "name";
|
|
7786
|
-
readonly Surname: "surname";
|
|
7787
|
-
readonly Email: "email";
|
|
7788
|
-
readonly SubscribedAt: "subscribed_at";
|
|
7789
|
-
readonly UnsubscribedAt: "unsubscribed_at";
|
|
7790
|
-
readonly SubscriptionStatus: "subscription_status";
|
|
7791
|
-
readonly Processed: "processed";
|
|
7792
|
-
readonly Opened: "opened";
|
|
7793
|
-
readonly Clicked: "clicked";
|
|
7794
|
-
readonly Delivered: "delivered";
|
|
7795
|
-
readonly Bounced: "bounced";
|
|
7796
|
-
readonly Unsubscribed: "unsubscribed";
|
|
7797
|
-
readonly Dropped: "dropped";
|
|
7798
|
-
readonly Tag: "tag";
|
|
7799
|
-
readonly Campaigns: "campaigns";
|
|
8452
|
+
export declare const ReachV1ContactsTagsTagResourceTypeEnum: {
|
|
8453
|
+
readonly Form: "form";
|
|
8454
|
+
readonly Custom: "custom";
|
|
7800
8455
|
};
|
|
7801
|
-
export type
|
|
8456
|
+
export type ReachV1ContactsTagsTagResourceTypeEnum = typeof ReachV1ContactsTagsTagResourceTypeEnum[keyof typeof ReachV1ContactsTagsTagResourceTypeEnum];
|
|
7802
8457
|
/**
|
|
7803
|
-
*
|
|
8458
|
+
* Rename a tag
|
|
7804
8459
|
* @export
|
|
8460
|
+
* @interface ReachV1ContactsTagsUpdateRequest
|
|
7805
8461
|
*/
|
|
7806
|
-
export
|
|
8462
|
+
export interface ReachV1ContactsTagsUpdateRequest {
|
|
8463
|
+
/**
|
|
8464
|
+
* New tag name
|
|
8465
|
+
* @type {string}
|
|
8466
|
+
* @memberof ReachV1ContactsTagsUpdateRequest
|
|
8467
|
+
*/
|
|
8468
|
+
'value': string;
|
|
8469
|
+
}
|
|
7807
8470
|
/**
|
|
7808
|
-
*
|
|
8471
|
+
* Fields to change on a contact. Omitted properties are left untouched.
|
|
7809
8472
|
* @export
|
|
7810
|
-
* @interface
|
|
8473
|
+
* @interface ReachV1ContactsUpdateRequest
|
|
7811
8474
|
*/
|
|
7812
|
-
export interface
|
|
8475
|
+
export interface ReachV1ContactsUpdateRequest {
|
|
7813
8476
|
/**
|
|
7814
8477
|
*
|
|
7815
8478
|
* @type {string}
|
|
7816
|
-
* @memberof
|
|
8479
|
+
* @memberof ReachV1ContactsUpdateRequest
|
|
7817
8480
|
*/
|
|
7818
|
-
'email': string;
|
|
8481
|
+
'email': string | null;
|
|
7819
8482
|
/**
|
|
7820
8483
|
*
|
|
7821
8484
|
* @type {string}
|
|
7822
|
-
* @memberof
|
|
8485
|
+
* @memberof ReachV1ContactsUpdateRequest
|
|
7823
8486
|
*/
|
|
7824
8487
|
'name': string | null;
|
|
7825
8488
|
/**
|
|
7826
8489
|
*
|
|
7827
8490
|
* @type {string}
|
|
7828
|
-
* @memberof
|
|
8491
|
+
* @memberof ReachV1ContactsUpdateRequest
|
|
7829
8492
|
*/
|
|
7830
8493
|
'surname': string | null;
|
|
7831
8494
|
/**
|
|
7832
8495
|
* Phone number in E.164 format (leading \"+\" then 7-15 digits)
|
|
7833
8496
|
* @type {string}
|
|
7834
|
-
* @memberof
|
|
8497
|
+
* @memberof ReachV1ContactsUpdateRequest
|
|
7835
8498
|
*/
|
|
7836
8499
|
'phone': string | null;
|
|
7837
8500
|
/**
|
|
7838
8501
|
*
|
|
7839
8502
|
* @type {string}
|
|
7840
|
-
* @memberof
|
|
8503
|
+
* @memberof ReachV1ContactsUpdateRequest
|
|
8504
|
+
*/
|
|
8505
|
+
'subscription_status': ReachV1ContactsUpdateRequestSubscriptionStatusEnum | null;
|
|
8506
|
+
/**
|
|
8507
|
+
*
|
|
8508
|
+
* @type {string}
|
|
8509
|
+
* @memberof ReachV1ContactsUpdateRequest
|
|
7841
8510
|
*/
|
|
7842
8511
|
'note': string | null;
|
|
8512
|
+
/**
|
|
8513
|
+
* Set custom field values. Omit to leave untouched, send an empty array to clear them all.
|
|
8514
|
+
* @type {Array<ReachV1ContactsUpdateRequestFieldsInner>}
|
|
8515
|
+
* @memberof ReachV1ContactsUpdateRequest
|
|
8516
|
+
*/
|
|
8517
|
+
'fields': Array<ReachV1ContactsUpdateRequestFieldsInner>;
|
|
8518
|
+
}
|
|
8519
|
+
export declare const ReachV1ContactsUpdateRequestSubscriptionStatusEnum: {
|
|
8520
|
+
readonly Subscribed: "subscribed";
|
|
8521
|
+
readonly Unsubscribed: "unsubscribed";
|
|
8522
|
+
readonly Confirmed: "confirmed";
|
|
8523
|
+
readonly Pending: "pending";
|
|
8524
|
+
};
|
|
8525
|
+
export type ReachV1ContactsUpdateRequestSubscriptionStatusEnum = typeof ReachV1ContactsUpdateRequestSubscriptionStatusEnum[keyof typeof ReachV1ContactsUpdateRequestSubscriptionStatusEnum];
|
|
8526
|
+
/**
|
|
8527
|
+
*
|
|
8528
|
+
* @export
|
|
8529
|
+
* @interface ReachV1ContactsUpdateRequestFieldsInner
|
|
8530
|
+
*/
|
|
8531
|
+
export interface ReachV1ContactsUpdateRequestFieldsInner {
|
|
8532
|
+
/**
|
|
8533
|
+
*
|
|
8534
|
+
* @type {string}
|
|
8535
|
+
* @memberof ReachV1ContactsUpdateRequestFieldsInner
|
|
8536
|
+
*/
|
|
8537
|
+
'uuid': string;
|
|
8538
|
+
/**
|
|
8539
|
+
* For the scalar field types
|
|
8540
|
+
* @type {string}
|
|
8541
|
+
* @memberof ReachV1ContactsUpdateRequestFieldsInner
|
|
8542
|
+
*/
|
|
8543
|
+
'value': string | null;
|
|
8544
|
+
/**
|
|
8545
|
+
* For the choice field types
|
|
8546
|
+
* @type {Array<string>}
|
|
8547
|
+
* @memberof ReachV1ContactsUpdateRequestFieldsInner
|
|
8548
|
+
*/
|
|
8549
|
+
'selected_option_uuids': Array<string>;
|
|
7843
8550
|
}
|
|
7844
8551
|
/**
|
|
7845
8552
|
*
|
|
@@ -18415,6 +19122,180 @@ export declare const ListWebhooksV1StatusEnum: {
|
|
|
18415
19122
|
readonly Paused: "paused";
|
|
18416
19123
|
};
|
|
18417
19124
|
export type ListWebhooksV1StatusEnum = typeof ListWebhooksV1StatusEnum[keyof typeof ListWebhooksV1StatusEnum];
|
|
19125
|
+
/**
|
|
19126
|
+
* ReachContactFieldsApi - axios parameter creator
|
|
19127
|
+
* @export
|
|
19128
|
+
*/
|
|
19129
|
+
export declare const ReachContactFieldsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
19130
|
+
/**
|
|
19131
|
+
* 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.
|
|
19132
|
+
* @summary Create a contact field
|
|
19133
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19134
|
+
* @param {ReachV1ContactsFieldsStoreRequest} reachV1ContactsFieldsStoreRequest
|
|
19135
|
+
* @param {*} [options] Override http request option.
|
|
19136
|
+
* @throws {RequiredError}
|
|
19137
|
+
*/
|
|
19138
|
+
createAContactFieldV1: (profileUuid: string, reachV1ContactsFieldsStoreRequest: ReachV1ContactsFieldsStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19139
|
+
/**
|
|
19140
|
+
* 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.
|
|
19141
|
+
* @summary Delete a contact field
|
|
19142
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19143
|
+
* @param {string} fieldUuid Contact field uuid parameter
|
|
19144
|
+
* @param {*} [options] Override http request option.
|
|
19145
|
+
* @throws {RequiredError}
|
|
19146
|
+
*/
|
|
19147
|
+
deleteAContactFieldV1: (profileUuid: string, fieldUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19148
|
+
/**
|
|
19149
|
+
* 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.
|
|
19150
|
+
* @summary List contact fields
|
|
19151
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19152
|
+
* @param {*} [options] Override http request option.
|
|
19153
|
+
* @throws {RequiredError}
|
|
19154
|
+
*/
|
|
19155
|
+
listContactFieldsV1: (profileUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19156
|
+
/**
|
|
19157
|
+
* 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.
|
|
19158
|
+
* @summary Update a contact field
|
|
19159
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19160
|
+
* @param {string} fieldUuid Contact field uuid parameter
|
|
19161
|
+
* @param {ReachV1ContactsFieldsUpdateRequest} reachV1ContactsFieldsUpdateRequest
|
|
19162
|
+
* @param {*} [options] Override http request option.
|
|
19163
|
+
* @throws {RequiredError}
|
|
19164
|
+
*/
|
|
19165
|
+
updateAContactFieldV1: (profileUuid: string, fieldUuid: string, reachV1ContactsFieldsUpdateRequest: ReachV1ContactsFieldsUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19166
|
+
};
|
|
19167
|
+
/**
|
|
19168
|
+
* ReachContactFieldsApi - functional programming interface
|
|
19169
|
+
* @export
|
|
19170
|
+
*/
|
|
19171
|
+
export declare const ReachContactFieldsApiFp: (configuration?: Configuration) => {
|
|
19172
|
+
/**
|
|
19173
|
+
* 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.
|
|
19174
|
+
* @summary Create a contact field
|
|
19175
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19176
|
+
* @param {ReachV1ContactsFieldsStoreRequest} reachV1ContactsFieldsStoreRequest
|
|
19177
|
+
* @param {*} [options] Override http request option.
|
|
19178
|
+
* @throws {RequiredError}
|
|
19179
|
+
*/
|
|
19180
|
+
createAContactFieldV1(profileUuid: string, reachV1ContactsFieldsStoreRequest: ReachV1ContactsFieldsStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachV1ContactsFieldsContactFieldResource>>;
|
|
19181
|
+
/**
|
|
19182
|
+
* 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.
|
|
19183
|
+
* @summary Delete a contact field
|
|
19184
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19185
|
+
* @param {string} fieldUuid Contact field uuid parameter
|
|
19186
|
+
* @param {*} [options] Override http request option.
|
|
19187
|
+
* @throws {RequiredError}
|
|
19188
|
+
*/
|
|
19189
|
+
deleteAContactFieldV1(profileUuid: string, fieldUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
19190
|
+
/**
|
|
19191
|
+
* 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.
|
|
19192
|
+
* @summary List contact fields
|
|
19193
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19194
|
+
* @param {*} [options] Override http request option.
|
|
19195
|
+
* @throws {RequiredError}
|
|
19196
|
+
*/
|
|
19197
|
+
listContactFieldsV1(profileUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ReachV1ContactsFieldsContactFieldResource>>>;
|
|
19198
|
+
/**
|
|
19199
|
+
* 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.
|
|
19200
|
+
* @summary Update a contact field
|
|
19201
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19202
|
+
* @param {string} fieldUuid Contact field uuid parameter
|
|
19203
|
+
* @param {ReachV1ContactsFieldsUpdateRequest} reachV1ContactsFieldsUpdateRequest
|
|
19204
|
+
* @param {*} [options] Override http request option.
|
|
19205
|
+
* @throws {RequiredError}
|
|
19206
|
+
*/
|
|
19207
|
+
updateAContactFieldV1(profileUuid: string, fieldUuid: string, reachV1ContactsFieldsUpdateRequest: ReachV1ContactsFieldsUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachV1ContactsFieldsContactFieldResource>>;
|
|
19208
|
+
};
|
|
19209
|
+
/**
|
|
19210
|
+
* ReachContactFieldsApi - factory interface
|
|
19211
|
+
* @export
|
|
19212
|
+
*/
|
|
19213
|
+
export declare const ReachContactFieldsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
19214
|
+
/**
|
|
19215
|
+
* 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.
|
|
19216
|
+
* @summary Create a contact field
|
|
19217
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19218
|
+
* @param {ReachV1ContactsFieldsStoreRequest} reachV1ContactsFieldsStoreRequest
|
|
19219
|
+
* @param {*} [options] Override http request option.
|
|
19220
|
+
* @throws {RequiredError}
|
|
19221
|
+
*/
|
|
19222
|
+
createAContactFieldV1(profileUuid: string, reachV1ContactsFieldsStoreRequest: ReachV1ContactsFieldsStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReachV1ContactsFieldsContactFieldResource>;
|
|
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
|
+
*/
|
|
19231
|
+
deleteAContactFieldV1(profileUuid: string, fieldUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
19232
|
+
/**
|
|
19233
|
+
* 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.
|
|
19234
|
+
* @summary List contact fields
|
|
19235
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19236
|
+
* @param {*} [options] Override http request option.
|
|
19237
|
+
* @throws {RequiredError}
|
|
19238
|
+
*/
|
|
19239
|
+
listContactFieldsV1(profileUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ReachV1ContactsFieldsContactFieldResource>>;
|
|
19240
|
+
/**
|
|
19241
|
+
* 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.
|
|
19242
|
+
* @summary Update a contact field
|
|
19243
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19244
|
+
* @param {string} fieldUuid Contact field uuid parameter
|
|
19245
|
+
* @param {ReachV1ContactsFieldsUpdateRequest} reachV1ContactsFieldsUpdateRequest
|
|
19246
|
+
* @param {*} [options] Override http request option.
|
|
19247
|
+
* @throws {RequiredError}
|
|
19248
|
+
*/
|
|
19249
|
+
updateAContactFieldV1(profileUuid: string, fieldUuid: string, reachV1ContactsFieldsUpdateRequest: ReachV1ContactsFieldsUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReachV1ContactsFieldsContactFieldResource>;
|
|
19250
|
+
};
|
|
19251
|
+
/**
|
|
19252
|
+
* ReachContactFieldsApi - object-oriented interface
|
|
19253
|
+
* @export
|
|
19254
|
+
* @class ReachContactFieldsApi
|
|
19255
|
+
* @extends {BaseAPI}
|
|
19256
|
+
*/
|
|
19257
|
+
export declare class ReachContactFieldsApi extends BaseAPI {
|
|
19258
|
+
/**
|
|
19259
|
+
* 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.
|
|
19260
|
+
* @summary Create a contact field
|
|
19261
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19262
|
+
* @param {ReachV1ContactsFieldsStoreRequest} reachV1ContactsFieldsStoreRequest
|
|
19263
|
+
* @param {*} [options] Override http request option.
|
|
19264
|
+
* @throws {RequiredError}
|
|
19265
|
+
* @memberof ReachContactFieldsApi
|
|
19266
|
+
*/
|
|
19267
|
+
createAContactFieldV1(profileUuid: string, reachV1ContactsFieldsStoreRequest: ReachV1ContactsFieldsStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ContactsFieldsContactFieldResource, any, {}, any>>;
|
|
19268
|
+
/**
|
|
19269
|
+
* 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.
|
|
19270
|
+
* @summary Delete a contact field
|
|
19271
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19272
|
+
* @param {string} fieldUuid Contact field uuid parameter
|
|
19273
|
+
* @param {*} [options] Override http request option.
|
|
19274
|
+
* @throws {RequiredError}
|
|
19275
|
+
* @memberof ReachContactFieldsApi
|
|
19276
|
+
*/
|
|
19277
|
+
deleteAContactFieldV1(profileUuid: string, fieldUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
19278
|
+
/**
|
|
19279
|
+
* 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.
|
|
19280
|
+
* @summary List contact fields
|
|
19281
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19282
|
+
* @param {*} [options] Override http request option.
|
|
19283
|
+
* @throws {RequiredError}
|
|
19284
|
+
* @memberof ReachContactFieldsApi
|
|
19285
|
+
*/
|
|
19286
|
+
listContactFieldsV1(profileUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ContactsFieldsContactFieldResource[], any, {}, any>>;
|
|
19287
|
+
/**
|
|
19288
|
+
* 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.
|
|
19289
|
+
* @summary Update a contact field
|
|
19290
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19291
|
+
* @param {string} fieldUuid Contact field uuid parameter
|
|
19292
|
+
* @param {ReachV1ContactsFieldsUpdateRequest} reachV1ContactsFieldsUpdateRequest
|
|
19293
|
+
* @param {*} [options] Override http request option.
|
|
19294
|
+
* @throws {RequiredError}
|
|
19295
|
+
* @memberof ReachContactFieldsApi
|
|
19296
|
+
*/
|
|
19297
|
+
updateAContactFieldV1(profileUuid: string, fieldUuid: string, reachV1ContactsFieldsUpdateRequest: ReachV1ContactsFieldsUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ContactsFieldsContactFieldResource, any, {}, any>>;
|
|
19298
|
+
}
|
|
18418
19299
|
/**
|
|
18419
19300
|
* ReachContactsApi - axios parameter creator
|
|
18420
19301
|
* @export
|
|
@@ -18429,6 +19310,15 @@ export declare const ReachContactsApiAxiosParamCreator: (configuration?: Configu
|
|
|
18429
19310
|
* @throws {RequiredError}
|
|
18430
19311
|
*/
|
|
18431
19312
|
createANewContactV1: (reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19313
|
+
/**
|
|
19314
|
+
* 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.
|
|
19315
|
+
* @summary Create contacts in bulk
|
|
19316
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19317
|
+
* @param {ReachV1ContactsBulkStoreRequest} reachV1ContactsBulkStoreRequest
|
|
19318
|
+
* @param {*} [options] Override http request option.
|
|
19319
|
+
* @throws {RequiredError}
|
|
19320
|
+
*/
|
|
19321
|
+
createContactsInBulkV1: (profileUuid: string, reachV1ContactsBulkStoreRequest: ReachV1ContactsBulkStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18432
19322
|
/**
|
|
18433
19323
|
* 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.
|
|
18434
19324
|
* @summary Create new contacts
|
|
@@ -18439,13 +19329,32 @@ export declare const ReachContactsApiAxiosParamCreator: (configuration?: Configu
|
|
|
18439
19329
|
*/
|
|
18440
19330
|
createNewContactsV1: (profileUuid: string, reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18441
19331
|
/**
|
|
18442
|
-
* Delete a contact with the specified UUID. This endpoint permanently removes a contact from the email marketing system.
|
|
19332
|
+
* 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.
|
|
18443
19333
|
* @summary Delete a contact
|
|
18444
19334
|
* @param {string} uuid UUID of the contact to delete
|
|
18445
19335
|
* @param {*} [options] Override http request option.
|
|
19336
|
+
* @deprecated
|
|
18446
19337
|
* @throws {RequiredError}
|
|
18447
19338
|
*/
|
|
18448
19339
|
deleteAContactV1: (uuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19340
|
+
/**
|
|
19341
|
+
* Permanently delete a contact from a profile. The contact is removed together with its custom field values and tag assignments.
|
|
19342
|
+
* @summary Delete a profile contact
|
|
19343
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19344
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19345
|
+
* @param {*} [options] Override http request option.
|
|
19346
|
+
* @throws {RequiredError}
|
|
19347
|
+
*/
|
|
19348
|
+
deleteAProfileContactV1: (profileUuid: string, contactUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19349
|
+
/**
|
|
19350
|
+
* 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.
|
|
19351
|
+
* @summary Get contact details
|
|
19352
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19353
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19354
|
+
* @param {*} [options] Override http request option.
|
|
19355
|
+
* @throws {RequiredError}
|
|
19356
|
+
*/
|
|
19357
|
+
getContactDetailsV1: (profileUuid: string, contactUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18449
19358
|
/**
|
|
18450
19359
|
* Get a list of all contact groups. This endpoint returns a list of contact groups that can be used to organize contacts.
|
|
18451
19360
|
* @summary List contact groups
|
|
@@ -18455,15 +19364,39 @@ export declare const ReachContactsApiAxiosParamCreator: (configuration?: Configu
|
|
|
18455
19364
|
*/
|
|
18456
19365
|
listContactGroupsV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18457
19366
|
/**
|
|
18458
|
-
* 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.
|
|
19367
|
+
* 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.
|
|
18459
19368
|
* @summary List contacts
|
|
18460
19369
|
* @param {string} [groupUuid] Filter contacts by group UUID
|
|
18461
19370
|
* @param {ListContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
|
|
18462
19371
|
* @param {number} [page] Page number
|
|
18463
19372
|
* @param {*} [options] Override http request option.
|
|
19373
|
+
* @deprecated
|
|
18464
19374
|
* @throws {RequiredError}
|
|
18465
19375
|
*/
|
|
18466
19376
|
listContactsV1: (groupUuid?: string, subscriptionStatus?: ListContactsV1SubscriptionStatusEnum, page?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19377
|
+
/**
|
|
19378
|
+
* 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.
|
|
19379
|
+
* @summary List profile contacts
|
|
19380
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19381
|
+
* @param {ListProfileContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
|
|
19382
|
+
* @param {string} [tagUuid] Filter contacts by tag UUID
|
|
19383
|
+
* @param {string} [search] Search contacts by email
|
|
19384
|
+
* @param {number} [page] Page number
|
|
19385
|
+
* @param {number} [perPage] Number of items per page
|
|
19386
|
+
* @param {*} [options] Override http request option.
|
|
19387
|
+
* @throws {RequiredError}
|
|
19388
|
+
*/
|
|
19389
|
+
listProfileContactsV1: (profileUuid: string, subscriptionStatus?: ListProfileContactsV1SubscriptionStatusEnum, tagUuid?: string, search?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19390
|
+
/**
|
|
19391
|
+
* 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}`.
|
|
19392
|
+
* @summary Update a contact
|
|
19393
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19394
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19395
|
+
* @param {ReachV1ContactsUpdateRequest} reachV1ContactsUpdateRequest
|
|
19396
|
+
* @param {*} [options] Override http request option.
|
|
19397
|
+
* @throws {RequiredError}
|
|
19398
|
+
*/
|
|
19399
|
+
updateAContactV1: (profileUuid: string, contactUuid: string, reachV1ContactsUpdateRequest: ReachV1ContactsUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18467
19400
|
};
|
|
18468
19401
|
/**
|
|
18469
19402
|
* ReachContactsApi - functional programming interface
|
|
@@ -18479,6 +19412,15 @@ export declare const ReachContactsApiFp: (configuration?: Configuration) => {
|
|
|
18479
19412
|
* @throws {RequiredError}
|
|
18480
19413
|
*/
|
|
18481
19414
|
createANewContactV1(reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
19415
|
+
/**
|
|
19416
|
+
* 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.
|
|
19417
|
+
* @summary Create contacts in bulk
|
|
19418
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19419
|
+
* @param {ReachV1ContactsBulkStoreRequest} reachV1ContactsBulkStoreRequest
|
|
19420
|
+
* @param {*} [options] Override http request option.
|
|
19421
|
+
* @throws {RequiredError}
|
|
19422
|
+
*/
|
|
19423
|
+
createContactsInBulkV1(profileUuid: string, reachV1ContactsBulkStoreRequest: ReachV1ContactsBulkStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
18482
19424
|
/**
|
|
18483
19425
|
* 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.
|
|
18484
19426
|
* @summary Create new contacts
|
|
@@ -18489,31 +19431,74 @@ export declare const ReachContactsApiFp: (configuration?: Configuration) => {
|
|
|
18489
19431
|
*/
|
|
18490
19432
|
createNewContactsV1(profileUuid: string, reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
18491
19433
|
/**
|
|
18492
|
-
* Delete a contact with the specified UUID. This endpoint permanently removes a contact from the email marketing system.
|
|
19434
|
+
* 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.
|
|
18493
19435
|
* @summary Delete a contact
|
|
18494
19436
|
* @param {string} uuid UUID of the contact to delete
|
|
18495
19437
|
* @param {*} [options] Override http request option.
|
|
19438
|
+
* @deprecated
|
|
18496
19439
|
* @throws {RequiredError}
|
|
18497
19440
|
*/
|
|
18498
19441
|
deleteAContactV1(uuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
19442
|
+
/**
|
|
19443
|
+
* Permanently delete a contact from a profile. The contact is removed together with its custom field values and tag assignments.
|
|
19444
|
+
* @summary Delete a profile contact
|
|
19445
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19446
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19447
|
+
* @param {*} [options] Override http request option.
|
|
19448
|
+
* @throws {RequiredError}
|
|
19449
|
+
*/
|
|
19450
|
+
deleteAProfileContactV1(profileUuid: string, contactUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
19451
|
+
/**
|
|
19452
|
+
* 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.
|
|
19453
|
+
* @summary Get contact details
|
|
19454
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19455
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19456
|
+
* @param {*} [options] Override http request option.
|
|
19457
|
+
* @throws {RequiredError}
|
|
19458
|
+
*/
|
|
19459
|
+
getContactDetailsV1(profileUuid: string, contactUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachV1ContactsContactDetailsResource>>;
|
|
18499
19460
|
/**
|
|
18500
19461
|
* Get a list of all contact groups. This endpoint returns a list of contact groups that can be used to organize contacts.
|
|
18501
19462
|
* @summary List contact groups
|
|
18502
19463
|
* @param {*} [options] Override http request option.
|
|
18503
|
-
* @deprecated
|
|
19464
|
+
* @deprecated
|
|
19465
|
+
* @throws {RequiredError}
|
|
19466
|
+
*/
|
|
19467
|
+
listContactGroupsV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ReachV1ContactsGroupsContactGroupResource>>>;
|
|
19468
|
+
/**
|
|
19469
|
+
* 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.
|
|
19470
|
+
* @summary List contacts
|
|
19471
|
+
* @param {string} [groupUuid] Filter contacts by group UUID
|
|
19472
|
+
* @param {ListContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
|
|
19473
|
+
* @param {number} [page] Page number
|
|
19474
|
+
* @param {*} [options] Override http request option.
|
|
19475
|
+
* @deprecated
|
|
19476
|
+
* @throws {RequiredError}
|
|
19477
|
+
*/
|
|
19478
|
+
listContactsV1(groupUuid?: string, subscriptionStatus?: ListContactsV1SubscriptionStatusEnum, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachListContactsV1200Response>>;
|
|
19479
|
+
/**
|
|
19480
|
+
* 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.
|
|
19481
|
+
* @summary List profile contacts
|
|
19482
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19483
|
+
* @param {ListProfileContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
|
|
19484
|
+
* @param {string} [tagUuid] Filter contacts by tag UUID
|
|
19485
|
+
* @param {string} [search] Search contacts by email
|
|
19486
|
+
* @param {number} [page] Page number
|
|
19487
|
+
* @param {number} [perPage] Number of items per page
|
|
19488
|
+
* @param {*} [options] Override http request option.
|
|
18504
19489
|
* @throws {RequiredError}
|
|
18505
19490
|
*/
|
|
18506
|
-
|
|
19491
|
+
listProfileContactsV1(profileUuid: string, subscriptionStatus?: ListProfileContactsV1SubscriptionStatusEnum, tagUuid?: string, search?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachListProfileContactsV1200Response>>;
|
|
18507
19492
|
/**
|
|
18508
|
-
*
|
|
18509
|
-
* @summary
|
|
18510
|
-
* @param {string}
|
|
18511
|
-
* @param {
|
|
18512
|
-
* @param {
|
|
19493
|
+
* 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}`.
|
|
19494
|
+
* @summary Update a contact
|
|
19495
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19496
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19497
|
+
* @param {ReachV1ContactsUpdateRequest} reachV1ContactsUpdateRequest
|
|
18513
19498
|
* @param {*} [options] Override http request option.
|
|
18514
19499
|
* @throws {RequiredError}
|
|
18515
19500
|
*/
|
|
18516
|
-
|
|
19501
|
+
updateAContactV1(profileUuid: string, contactUuid: string, reachV1ContactsUpdateRequest: ReachV1ContactsUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachV1ContactsProfileContactUpdateResource>>;
|
|
18517
19502
|
};
|
|
18518
19503
|
/**
|
|
18519
19504
|
* ReachContactsApi - factory interface
|
|
@@ -18529,6 +19514,15 @@ export declare const ReachContactsApiFactory: (configuration?: Configuration, ba
|
|
|
18529
19514
|
* @throws {RequiredError}
|
|
18530
19515
|
*/
|
|
18531
19516
|
createANewContactV1(reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
19517
|
+
/**
|
|
19518
|
+
* 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.
|
|
19519
|
+
* @summary Create contacts in bulk
|
|
19520
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19521
|
+
* @param {ReachV1ContactsBulkStoreRequest} reachV1ContactsBulkStoreRequest
|
|
19522
|
+
* @param {*} [options] Override http request option.
|
|
19523
|
+
* @throws {RequiredError}
|
|
19524
|
+
*/
|
|
19525
|
+
createContactsInBulkV1(profileUuid: string, reachV1ContactsBulkStoreRequest: ReachV1ContactsBulkStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
18532
19526
|
/**
|
|
18533
19527
|
* 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.
|
|
18534
19528
|
* @summary Create new contacts
|
|
@@ -18539,13 +19533,32 @@ export declare const ReachContactsApiFactory: (configuration?: Configuration, ba
|
|
|
18539
19533
|
*/
|
|
18540
19534
|
createNewContactsV1(profileUuid: string, reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
18541
19535
|
/**
|
|
18542
|
-
* Delete a contact with the specified UUID. This endpoint permanently removes a contact from the email marketing system.
|
|
19536
|
+
* 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.
|
|
18543
19537
|
* @summary Delete a contact
|
|
18544
19538
|
* @param {string} uuid UUID of the contact to delete
|
|
18545
19539
|
* @param {*} [options] Override http request option.
|
|
19540
|
+
* @deprecated
|
|
18546
19541
|
* @throws {RequiredError}
|
|
18547
19542
|
*/
|
|
18548
19543
|
deleteAContactV1(uuid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
19544
|
+
/**
|
|
19545
|
+
* Permanently delete a contact from a profile. The contact is removed together with its custom field values and tag assignments.
|
|
19546
|
+
* @summary Delete a profile contact
|
|
19547
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19548
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19549
|
+
* @param {*} [options] Override http request option.
|
|
19550
|
+
* @throws {RequiredError}
|
|
19551
|
+
*/
|
|
19552
|
+
deleteAProfileContactV1(profileUuid: string, contactUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
19553
|
+
/**
|
|
19554
|
+
* 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.
|
|
19555
|
+
* @summary Get contact details
|
|
19556
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19557
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19558
|
+
* @param {*} [options] Override http request option.
|
|
19559
|
+
* @throws {RequiredError}
|
|
19560
|
+
*/
|
|
19561
|
+
getContactDetailsV1(profileUuid: string, contactUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<ReachV1ContactsContactDetailsResource>;
|
|
18549
19562
|
/**
|
|
18550
19563
|
* Get a list of all contact groups. This endpoint returns a list of contact groups that can be used to organize contacts.
|
|
18551
19564
|
* @summary List contact groups
|
|
@@ -18555,15 +19568,39 @@ export declare const ReachContactsApiFactory: (configuration?: Configuration, ba
|
|
|
18555
19568
|
*/
|
|
18556
19569
|
listContactGroupsV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<ReachV1ContactsGroupsContactGroupResource>>;
|
|
18557
19570
|
/**
|
|
18558
|
-
* 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.
|
|
19571
|
+
* 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.
|
|
18559
19572
|
* @summary List contacts
|
|
18560
19573
|
* @param {string} [groupUuid] Filter contacts by group UUID
|
|
18561
19574
|
* @param {ListContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
|
|
18562
19575
|
* @param {number} [page] Page number
|
|
18563
19576
|
* @param {*} [options] Override http request option.
|
|
19577
|
+
* @deprecated
|
|
18564
19578
|
* @throws {RequiredError}
|
|
18565
19579
|
*/
|
|
18566
19580
|
listContactsV1(groupUuid?: string, subscriptionStatus?: ListContactsV1SubscriptionStatusEnum, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<ReachListContactsV1200Response>;
|
|
19581
|
+
/**
|
|
19582
|
+
* 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.
|
|
19583
|
+
* @summary List profile contacts
|
|
19584
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19585
|
+
* @param {ListProfileContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
|
|
19586
|
+
* @param {string} [tagUuid] Filter contacts by tag UUID
|
|
19587
|
+
* @param {string} [search] Search contacts by email
|
|
19588
|
+
* @param {number} [page] Page number
|
|
19589
|
+
* @param {number} [perPage] Number of items per page
|
|
19590
|
+
* @param {*} [options] Override http request option.
|
|
19591
|
+
* @throws {RequiredError}
|
|
19592
|
+
*/
|
|
19593
|
+
listProfileContactsV1(profileUuid: string, subscriptionStatus?: ListProfileContactsV1SubscriptionStatusEnum, tagUuid?: string, search?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<ReachListProfileContactsV1200Response>;
|
|
19594
|
+
/**
|
|
19595
|
+
* 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}`.
|
|
19596
|
+
* @summary Update a contact
|
|
19597
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19598
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19599
|
+
* @param {ReachV1ContactsUpdateRequest} reachV1ContactsUpdateRequest
|
|
19600
|
+
* @param {*} [options] Override http request option.
|
|
19601
|
+
* @throws {RequiredError}
|
|
19602
|
+
*/
|
|
19603
|
+
updateAContactV1(profileUuid: string, contactUuid: string, reachV1ContactsUpdateRequest: ReachV1ContactsUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReachV1ContactsProfileContactUpdateResource>;
|
|
18567
19604
|
};
|
|
18568
19605
|
/**
|
|
18569
19606
|
* ReachContactsApi - object-oriented interface
|
|
@@ -18582,6 +19619,16 @@ export declare class ReachContactsApi extends BaseAPI {
|
|
|
18582
19619
|
* @memberof ReachContactsApi
|
|
18583
19620
|
*/
|
|
18584
19621
|
createANewContactV1(reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
19622
|
+
/**
|
|
19623
|
+
* 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.
|
|
19624
|
+
* @summary Create contacts in bulk
|
|
19625
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19626
|
+
* @param {ReachV1ContactsBulkStoreRequest} reachV1ContactsBulkStoreRequest
|
|
19627
|
+
* @param {*} [options] Override http request option.
|
|
19628
|
+
* @throws {RequiredError}
|
|
19629
|
+
* @memberof ReachContactsApi
|
|
19630
|
+
*/
|
|
19631
|
+
createContactsInBulkV1(profileUuid: string, reachV1ContactsBulkStoreRequest: ReachV1ContactsBulkStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
18585
19632
|
/**
|
|
18586
19633
|
* 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.
|
|
18587
19634
|
* @summary Create new contacts
|
|
@@ -18593,14 +19640,35 @@ export declare class ReachContactsApi extends BaseAPI {
|
|
|
18593
19640
|
*/
|
|
18594
19641
|
createNewContactsV1(profileUuid: string, reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
18595
19642
|
/**
|
|
18596
|
-
* Delete a contact with the specified UUID. This endpoint permanently removes a contact from the email marketing system.
|
|
19643
|
+
* 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.
|
|
18597
19644
|
* @summary Delete a contact
|
|
18598
19645
|
* @param {string} uuid UUID of the contact to delete
|
|
18599
19646
|
* @param {*} [options] Override http request option.
|
|
19647
|
+
* @deprecated
|
|
18600
19648
|
* @throws {RequiredError}
|
|
18601
19649
|
* @memberof ReachContactsApi
|
|
18602
19650
|
*/
|
|
18603
19651
|
deleteAContactV1(uuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
19652
|
+
/**
|
|
19653
|
+
* Permanently delete a contact from a profile. The contact is removed together with its custom field values and tag assignments.
|
|
19654
|
+
* @summary Delete a profile contact
|
|
19655
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19656
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19657
|
+
* @param {*} [options] Override http request option.
|
|
19658
|
+
* @throws {RequiredError}
|
|
19659
|
+
* @memberof ReachContactsApi
|
|
19660
|
+
*/
|
|
19661
|
+
deleteAProfileContactV1(profileUuid: string, contactUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
19662
|
+
/**
|
|
19663
|
+
* 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.
|
|
19664
|
+
* @summary Get contact details
|
|
19665
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19666
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19667
|
+
* @param {*} [options] Override http request option.
|
|
19668
|
+
* @throws {RequiredError}
|
|
19669
|
+
* @memberof ReachContactsApi
|
|
19670
|
+
*/
|
|
19671
|
+
getContactDetailsV1(profileUuid: string, contactUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ContactsContactDetailsResource, any, {}, any>>;
|
|
18604
19672
|
/**
|
|
18605
19673
|
* Get a list of all contact groups. This endpoint returns a list of contact groups that can be used to organize contacts.
|
|
18606
19674
|
* @summary List contact groups
|
|
@@ -18611,16 +19679,42 @@ export declare class ReachContactsApi extends BaseAPI {
|
|
|
18611
19679
|
*/
|
|
18612
19680
|
listContactGroupsV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ContactsGroupsContactGroupResource[], any, {}, any>>;
|
|
18613
19681
|
/**
|
|
18614
|
-
* 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.
|
|
19682
|
+
* 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.
|
|
18615
19683
|
* @summary List contacts
|
|
18616
19684
|
* @param {string} [groupUuid] Filter contacts by group UUID
|
|
18617
19685
|
* @param {ListContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
|
|
18618
19686
|
* @param {number} [page] Page number
|
|
18619
19687
|
* @param {*} [options] Override http request option.
|
|
19688
|
+
* @deprecated
|
|
18620
19689
|
* @throws {RequiredError}
|
|
18621
19690
|
* @memberof ReachContactsApi
|
|
18622
19691
|
*/
|
|
18623
19692
|
listContactsV1(groupUuid?: string, subscriptionStatus?: ListContactsV1SubscriptionStatusEnum, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachListContactsV1200Response, any, {}, any>>;
|
|
19693
|
+
/**
|
|
19694
|
+
* 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.
|
|
19695
|
+
* @summary List profile contacts
|
|
19696
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19697
|
+
* @param {ListProfileContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
|
|
19698
|
+
* @param {string} [tagUuid] Filter contacts by tag UUID
|
|
19699
|
+
* @param {string} [search] Search contacts by email
|
|
19700
|
+
* @param {number} [page] Page number
|
|
19701
|
+
* @param {number} [perPage] Number of items per page
|
|
19702
|
+
* @param {*} [options] Override http request option.
|
|
19703
|
+
* @throws {RequiredError}
|
|
19704
|
+
* @memberof ReachContactsApi
|
|
19705
|
+
*/
|
|
19706
|
+
listProfileContactsV1(profileUuid: string, subscriptionStatus?: ListProfileContactsV1SubscriptionStatusEnum, tagUuid?: string, search?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachListProfileContactsV1200Response, any, {}, any>>;
|
|
19707
|
+
/**
|
|
19708
|
+
* 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}`.
|
|
19709
|
+
* @summary Update a contact
|
|
19710
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19711
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19712
|
+
* @param {ReachV1ContactsUpdateRequest} reachV1ContactsUpdateRequest
|
|
19713
|
+
* @param {*} [options] Override http request option.
|
|
19714
|
+
* @throws {RequiredError}
|
|
19715
|
+
* @memberof ReachContactsApi
|
|
19716
|
+
*/
|
|
19717
|
+
updateAContactV1(profileUuid: string, contactUuid: string, reachV1ContactsUpdateRequest: ReachV1ContactsUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ContactsProfileContactUpdateResource, any, {}, any>>;
|
|
18624
19718
|
}
|
|
18625
19719
|
/**
|
|
18626
19720
|
* @export
|
|
@@ -18628,8 +19722,20 @@ export declare class ReachContactsApi extends BaseAPI {
|
|
|
18628
19722
|
export declare const ListContactsV1SubscriptionStatusEnum: {
|
|
18629
19723
|
readonly Subscribed: "subscribed";
|
|
18630
19724
|
readonly Unsubscribed: "unsubscribed";
|
|
19725
|
+
readonly Confirmed: "confirmed";
|
|
19726
|
+
readonly Pending: "pending";
|
|
18631
19727
|
};
|
|
18632
19728
|
export type ListContactsV1SubscriptionStatusEnum = typeof ListContactsV1SubscriptionStatusEnum[keyof typeof ListContactsV1SubscriptionStatusEnum];
|
|
19729
|
+
/**
|
|
19730
|
+
* @export
|
|
19731
|
+
*/
|
|
19732
|
+
export declare const ListProfileContactsV1SubscriptionStatusEnum: {
|
|
19733
|
+
readonly Subscribed: "subscribed";
|
|
19734
|
+
readonly Unsubscribed: "unsubscribed";
|
|
19735
|
+
readonly Confirmed: "confirmed";
|
|
19736
|
+
readonly Pending: "pending";
|
|
19737
|
+
};
|
|
19738
|
+
export type ListProfileContactsV1SubscriptionStatusEnum = typeof ListProfileContactsV1SubscriptionStatusEnum[keyof typeof ListProfileContactsV1SubscriptionStatusEnum];
|
|
18633
19739
|
/**
|
|
18634
19740
|
* ReachProfilesApi - axios parameter creator
|
|
18635
19741
|
* @export
|
|
@@ -18925,6 +20031,344 @@ export declare class ReachSegmentsApi extends BaseAPI {
|
|
|
18925
20031
|
*/
|
|
18926
20032
|
listSegmentsV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ContactsSegmentsContactSegmentResource[], any, {}, any>>;
|
|
18927
20033
|
}
|
|
20034
|
+
/**
|
|
20035
|
+
* ReachTagsApi - axios parameter creator
|
|
20036
|
+
* @export
|
|
20037
|
+
*/
|
|
20038
|
+
export declare const ReachTagsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
20039
|
+
/**
|
|
20040
|
+
* Assign a tag to a single contact. Unlike the bulk endpoint this is applied immediately rather than queued. Assigning a tag the contact already carries succeeds without duplicating it.
|
|
20041
|
+
* @summary Assign a contact to a tag
|
|
20042
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20043
|
+
* @param {string} tagUuid Tag uuid parameter
|
|
20044
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
20045
|
+
* @param {*} [options] Override http request option.
|
|
20046
|
+
* @throws {RequiredError}
|
|
20047
|
+
*/
|
|
20048
|
+
assignAContactToATagV1: (profileUuid: string, tagUuid: string, contactUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20049
|
+
/**
|
|
20050
|
+
* Assign a tag to many contacts at once. Pass `contact_uuids` to target specific contacts, or `all_contacts` to target every contact in the profile. The work is queued, so a success response means it was accepted rather than finished. Contacts that already carry the tag are left alone.
|
|
20051
|
+
* @summary Assign contacts to a tag
|
|
20052
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20053
|
+
* @param {string} tagUuid Tag uuid parameter
|
|
20054
|
+
* @param {ReachV1ContactsTagsManageContactsRequest} reachV1ContactsTagsManageContactsRequest
|
|
20055
|
+
* @param {*} [options] Override http request option.
|
|
20056
|
+
* @throws {RequiredError}
|
|
20057
|
+
*/
|
|
20058
|
+
assignContactsToATagV1: (profileUuid: string, tagUuid: string, reachV1ContactsTagsManageContactsRequest: ReachV1ContactsTagsManageContactsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20059
|
+
/**
|
|
20060
|
+
* Create tags in a profile. Names that already exist in the profile are not duplicated: the existing tag is returned instead, so the call is safe to repeat. Every tag in the request is returned, whether it was created now or already existed.
|
|
20061
|
+
* @summary Create or find tags
|
|
20062
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20063
|
+
* @param {ReachV1ContactsTagsStoreRequest} reachV1ContactsTagsStoreRequest
|
|
20064
|
+
* @param {*} [options] Override http request option.
|
|
20065
|
+
* @throws {RequiredError}
|
|
20066
|
+
*/
|
|
20067
|
+
createOrFindTagsV1: (profileUuid: string, reachV1ContactsTagsStoreRequest: ReachV1ContactsTagsStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20068
|
+
/**
|
|
20069
|
+
* Delete a tag and remove it from every contact carrying it. The contacts themselves are not deleted. This is idempotent: deleting a tag that does not exist in the profile still succeeds.
|
|
20070
|
+
* @summary Delete a tag
|
|
20071
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20072
|
+
* @param {string} tagUuid Tag uuid parameter
|
|
20073
|
+
* @param {*} [options] Override http request option.
|
|
20074
|
+
* @throws {RequiredError}
|
|
20075
|
+
*/
|
|
20076
|
+
deleteATagV1: (profileUuid: string, tagUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20077
|
+
/**
|
|
20078
|
+
* Get all tags defined in a profile. Tags are the way contacts are grouped in Reach, and can be used to filter the contact list or to build segments.
|
|
20079
|
+
* @summary List profile tags
|
|
20080
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20081
|
+
* @param {*} [options] Override http request option.
|
|
20082
|
+
* @throws {RequiredError}
|
|
20083
|
+
*/
|
|
20084
|
+
listProfileTagsV1: (profileUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20085
|
+
/**
|
|
20086
|
+
* Remove a tag from a single contact. Unlike the bulk endpoint this is applied immediately rather than queued. Neither the tag nor the contact is deleted.
|
|
20087
|
+
* @summary Remove a contact from a tag
|
|
20088
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20089
|
+
* @param {string} tagUuid Tag uuid parameter
|
|
20090
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
20091
|
+
* @param {*} [options] Override http request option.
|
|
20092
|
+
* @throws {RequiredError}
|
|
20093
|
+
*/
|
|
20094
|
+
removeAContactFromATagV1: (profileUuid: string, tagUuid: string, contactUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20095
|
+
/**
|
|
20096
|
+
* Remove a tag from many contacts at once. Pass `contact_uuids` to target specific contacts, or `all_contacts` to target every contact in the profile. The work is queued, so a success response means it was accepted rather than finished. The tag itself and the contacts are not deleted.
|
|
20097
|
+
* @summary Remove contacts from a tag
|
|
20098
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20099
|
+
* @param {string} tagUuid Tag uuid parameter
|
|
20100
|
+
* @param {ReachV1ContactsTagsManageContactsRequest} reachV1ContactsTagsManageContactsRequest
|
|
20101
|
+
* @param {*} [options] Override http request option.
|
|
20102
|
+
* @throws {RequiredError}
|
|
20103
|
+
*/
|
|
20104
|
+
removeContactsFromATagV1: (profileUuid: string, tagUuid: string, reachV1ContactsTagsManageContactsRequest: ReachV1ContactsTagsManageContactsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20105
|
+
/**
|
|
20106
|
+
* Rename a tag. The contacts assigned to the tag are unaffected. Names are unique within a profile, so renaming a tag to a name that is already taken is rejected.
|
|
20107
|
+
* @summary Rename a tag
|
|
20108
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20109
|
+
* @param {string} tagUuid Tag uuid parameter
|
|
20110
|
+
* @param {ReachV1ContactsTagsUpdateRequest} reachV1ContactsTagsUpdateRequest
|
|
20111
|
+
* @param {*} [options] Override http request option.
|
|
20112
|
+
* @throws {RequiredError}
|
|
20113
|
+
*/
|
|
20114
|
+
renameATagV1: (profileUuid: string, tagUuid: string, reachV1ContactsTagsUpdateRequest: ReachV1ContactsTagsUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20115
|
+
};
|
|
20116
|
+
/**
|
|
20117
|
+
* ReachTagsApi - functional programming interface
|
|
20118
|
+
* @export
|
|
20119
|
+
*/
|
|
20120
|
+
export declare const ReachTagsApiFp: (configuration?: Configuration) => {
|
|
20121
|
+
/**
|
|
20122
|
+
* Assign a tag to a single contact. Unlike the bulk endpoint this is applied immediately rather than queued. Assigning a tag the contact already carries succeeds without duplicating it.
|
|
20123
|
+
* @summary Assign a contact to a tag
|
|
20124
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20125
|
+
* @param {string} tagUuid Tag uuid parameter
|
|
20126
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
20127
|
+
* @param {*} [options] Override http request option.
|
|
20128
|
+
* @throws {RequiredError}
|
|
20129
|
+
*/
|
|
20130
|
+
assignAContactToATagV1(profileUuid: string, tagUuid: string, contactUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachV1ContactsTagsTagResource>>;
|
|
20131
|
+
/**
|
|
20132
|
+
* Assign a tag to many contacts at once. Pass `contact_uuids` to target specific contacts, or `all_contacts` to target every contact in the profile. The work is queued, so a success response means it was accepted rather than finished. Contacts that already carry the tag are left alone.
|
|
20133
|
+
* @summary Assign contacts to a tag
|
|
20134
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20135
|
+
* @param {string} tagUuid Tag uuid parameter
|
|
20136
|
+
* @param {ReachV1ContactsTagsManageContactsRequest} reachV1ContactsTagsManageContactsRequest
|
|
20137
|
+
* @param {*} [options] Override http request option.
|
|
20138
|
+
* @throws {RequiredError}
|
|
20139
|
+
*/
|
|
20140
|
+
assignContactsToATagV1(profileUuid: string, tagUuid: string, reachV1ContactsTagsManageContactsRequest: ReachV1ContactsTagsManageContactsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
20141
|
+
/**
|
|
20142
|
+
* Create tags in a profile. Names that already exist in the profile are not duplicated: the existing tag is returned instead, so the call is safe to repeat. Every tag in the request is returned, whether it was created now or already existed.
|
|
20143
|
+
* @summary Create or find tags
|
|
20144
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20145
|
+
* @param {ReachV1ContactsTagsStoreRequest} reachV1ContactsTagsStoreRequest
|
|
20146
|
+
* @param {*} [options] Override http request option.
|
|
20147
|
+
* @throws {RequiredError}
|
|
20148
|
+
*/
|
|
20149
|
+
createOrFindTagsV1(profileUuid: string, reachV1ContactsTagsStoreRequest: ReachV1ContactsTagsStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ReachV1ContactsTagsTagResource>>>;
|
|
20150
|
+
/**
|
|
20151
|
+
* Delete a tag and remove it from every contact carrying it. The contacts themselves are not deleted. This is idempotent: deleting a tag that does not exist in the profile still succeeds.
|
|
20152
|
+
* @summary Delete a tag
|
|
20153
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20154
|
+
* @param {string} tagUuid Tag uuid parameter
|
|
20155
|
+
* @param {*} [options] Override http request option.
|
|
20156
|
+
* @throws {RequiredError}
|
|
20157
|
+
*/
|
|
20158
|
+
deleteATagV1(profileUuid: string, tagUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
20159
|
+
/**
|
|
20160
|
+
* Get all tags defined in a profile. Tags are the way contacts are grouped in Reach, and can be used to filter the contact list or to build segments.
|
|
20161
|
+
* @summary List profile tags
|
|
20162
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20163
|
+
* @param {*} [options] Override http request option.
|
|
20164
|
+
* @throws {RequiredError}
|
|
20165
|
+
*/
|
|
20166
|
+
listProfileTagsV1(profileUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ReachV1ContactsTagsTagResource>>>;
|
|
20167
|
+
/**
|
|
20168
|
+
* Remove a tag from a single contact. Unlike the bulk endpoint this is applied immediately rather than queued. Neither the tag nor the contact is deleted.
|
|
20169
|
+
* @summary Remove a contact from a tag
|
|
20170
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20171
|
+
* @param {string} tagUuid Tag uuid parameter
|
|
20172
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
20173
|
+
* @param {*} [options] Override http request option.
|
|
20174
|
+
* @throws {RequiredError}
|
|
20175
|
+
*/
|
|
20176
|
+
removeAContactFromATagV1(profileUuid: string, tagUuid: string, contactUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
20177
|
+
/**
|
|
20178
|
+
* Remove a tag from many contacts at once. Pass `contact_uuids` to target specific contacts, or `all_contacts` to target every contact in the profile. The work is queued, so a success response means it was accepted rather than finished. The tag itself and the contacts are not deleted.
|
|
20179
|
+
* @summary Remove contacts from a tag
|
|
20180
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20181
|
+
* @param {string} tagUuid Tag uuid parameter
|
|
20182
|
+
* @param {ReachV1ContactsTagsManageContactsRequest} reachV1ContactsTagsManageContactsRequest
|
|
20183
|
+
* @param {*} [options] Override http request option.
|
|
20184
|
+
* @throws {RequiredError}
|
|
20185
|
+
*/
|
|
20186
|
+
removeContactsFromATagV1(profileUuid: string, tagUuid: string, reachV1ContactsTagsManageContactsRequest: ReachV1ContactsTagsManageContactsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
20187
|
+
/**
|
|
20188
|
+
* Rename a tag. The contacts assigned to the tag are unaffected. Names are unique within a profile, so renaming a tag to a name that is already taken is rejected.
|
|
20189
|
+
* @summary Rename a tag
|
|
20190
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20191
|
+
* @param {string} tagUuid Tag uuid parameter
|
|
20192
|
+
* @param {ReachV1ContactsTagsUpdateRequest} reachV1ContactsTagsUpdateRequest
|
|
20193
|
+
* @param {*} [options] Override http request option.
|
|
20194
|
+
* @throws {RequiredError}
|
|
20195
|
+
*/
|
|
20196
|
+
renameATagV1(profileUuid: string, tagUuid: string, reachV1ContactsTagsUpdateRequest: ReachV1ContactsTagsUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachV1ContactsTagsTagResource>>;
|
|
20197
|
+
};
|
|
20198
|
+
/**
|
|
20199
|
+
* ReachTagsApi - factory interface
|
|
20200
|
+
* @export
|
|
20201
|
+
*/
|
|
20202
|
+
export declare const ReachTagsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
20203
|
+
/**
|
|
20204
|
+
* Assign a tag to a single contact. Unlike the bulk endpoint this is applied immediately rather than queued. Assigning a tag the contact already carries succeeds without duplicating it.
|
|
20205
|
+
* @summary Assign a contact to a tag
|
|
20206
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20207
|
+
* @param {string} tagUuid Tag uuid parameter
|
|
20208
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
20209
|
+
* @param {*} [options] Override http request option.
|
|
20210
|
+
* @throws {RequiredError}
|
|
20211
|
+
*/
|
|
20212
|
+
assignAContactToATagV1(profileUuid: string, tagUuid: string, contactUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<ReachV1ContactsTagsTagResource>;
|
|
20213
|
+
/**
|
|
20214
|
+
* Assign a tag to many contacts at once. Pass `contact_uuids` to target specific contacts, or `all_contacts` to target every contact in the profile. The work is queued, so a success response means it was accepted rather than finished. Contacts that already carry the tag are left alone.
|
|
20215
|
+
* @summary Assign contacts to a tag
|
|
20216
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20217
|
+
* @param {string} tagUuid Tag uuid parameter
|
|
20218
|
+
* @param {ReachV1ContactsTagsManageContactsRequest} reachV1ContactsTagsManageContactsRequest
|
|
20219
|
+
* @param {*} [options] Override http request option.
|
|
20220
|
+
* @throws {RequiredError}
|
|
20221
|
+
*/
|
|
20222
|
+
assignContactsToATagV1(profileUuid: string, tagUuid: string, reachV1ContactsTagsManageContactsRequest: ReachV1ContactsTagsManageContactsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
20223
|
+
/**
|
|
20224
|
+
* Create tags in a profile. Names that already exist in the profile are not duplicated: the existing tag is returned instead, so the call is safe to repeat. Every tag in the request is returned, whether it was created now or already existed.
|
|
20225
|
+
* @summary Create or find tags
|
|
20226
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20227
|
+
* @param {ReachV1ContactsTagsStoreRequest} reachV1ContactsTagsStoreRequest
|
|
20228
|
+
* @param {*} [options] Override http request option.
|
|
20229
|
+
* @throws {RequiredError}
|
|
20230
|
+
*/
|
|
20231
|
+
createOrFindTagsV1(profileUuid: string, reachV1ContactsTagsStoreRequest: ReachV1ContactsTagsStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ReachV1ContactsTagsTagResource>>;
|
|
20232
|
+
/**
|
|
20233
|
+
* Delete a tag and remove it from every contact carrying it. The contacts themselves are not deleted. This is idempotent: deleting a tag that does not exist in the profile still succeeds.
|
|
20234
|
+
* @summary Delete a tag
|
|
20235
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20236
|
+
* @param {string} tagUuid Tag uuid parameter
|
|
20237
|
+
* @param {*} [options] Override http request option.
|
|
20238
|
+
* @throws {RequiredError}
|
|
20239
|
+
*/
|
|
20240
|
+
deleteATagV1(profileUuid: string, tagUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
20241
|
+
/**
|
|
20242
|
+
* Get all tags defined in a profile. Tags are the way contacts are grouped in Reach, and can be used to filter the contact list or to build segments.
|
|
20243
|
+
* @summary List profile tags
|
|
20244
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20245
|
+
* @param {*} [options] Override http request option.
|
|
20246
|
+
* @throws {RequiredError}
|
|
20247
|
+
*/
|
|
20248
|
+
listProfileTagsV1(profileUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ReachV1ContactsTagsTagResource>>;
|
|
20249
|
+
/**
|
|
20250
|
+
* Remove a tag from a single contact. Unlike the bulk endpoint this is applied immediately rather than queued. Neither the tag nor the contact is deleted.
|
|
20251
|
+
* @summary Remove a contact from a tag
|
|
20252
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20253
|
+
* @param {string} tagUuid Tag uuid parameter
|
|
20254
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
20255
|
+
* @param {*} [options] Override http request option.
|
|
20256
|
+
* @throws {RequiredError}
|
|
20257
|
+
*/
|
|
20258
|
+
removeAContactFromATagV1(profileUuid: string, tagUuid: string, contactUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
20259
|
+
/**
|
|
20260
|
+
* Remove a tag from many contacts at once. Pass `contact_uuids` to target specific contacts, or `all_contacts` to target every contact in the profile. The work is queued, so a success response means it was accepted rather than finished. The tag itself and the contacts are not deleted.
|
|
20261
|
+
* @summary Remove contacts from a tag
|
|
20262
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20263
|
+
* @param {string} tagUuid Tag uuid parameter
|
|
20264
|
+
* @param {ReachV1ContactsTagsManageContactsRequest} reachV1ContactsTagsManageContactsRequest
|
|
20265
|
+
* @param {*} [options] Override http request option.
|
|
20266
|
+
* @throws {RequiredError}
|
|
20267
|
+
*/
|
|
20268
|
+
removeContactsFromATagV1(profileUuid: string, tagUuid: string, reachV1ContactsTagsManageContactsRequest: ReachV1ContactsTagsManageContactsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
20269
|
+
/**
|
|
20270
|
+
* Rename a tag. The contacts assigned to the tag are unaffected. Names are unique within a profile, so renaming a tag to a name that is already taken is rejected.
|
|
20271
|
+
* @summary Rename a tag
|
|
20272
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20273
|
+
* @param {string} tagUuid Tag uuid parameter
|
|
20274
|
+
* @param {ReachV1ContactsTagsUpdateRequest} reachV1ContactsTagsUpdateRequest
|
|
20275
|
+
* @param {*} [options] Override http request option.
|
|
20276
|
+
* @throws {RequiredError}
|
|
20277
|
+
*/
|
|
20278
|
+
renameATagV1(profileUuid: string, tagUuid: string, reachV1ContactsTagsUpdateRequest: ReachV1ContactsTagsUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReachV1ContactsTagsTagResource>;
|
|
20279
|
+
};
|
|
20280
|
+
/**
|
|
20281
|
+
* ReachTagsApi - object-oriented interface
|
|
20282
|
+
* @export
|
|
20283
|
+
* @class ReachTagsApi
|
|
20284
|
+
* @extends {BaseAPI}
|
|
20285
|
+
*/
|
|
20286
|
+
export declare class ReachTagsApi extends BaseAPI {
|
|
20287
|
+
/**
|
|
20288
|
+
* Assign a tag to a single contact. Unlike the bulk endpoint this is applied immediately rather than queued. Assigning a tag the contact already carries succeeds without duplicating it.
|
|
20289
|
+
* @summary Assign a contact to a tag
|
|
20290
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20291
|
+
* @param {string} tagUuid Tag uuid parameter
|
|
20292
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
20293
|
+
* @param {*} [options] Override http request option.
|
|
20294
|
+
* @throws {RequiredError}
|
|
20295
|
+
* @memberof ReachTagsApi
|
|
20296
|
+
*/
|
|
20297
|
+
assignAContactToATagV1(profileUuid: string, tagUuid: string, contactUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ContactsTagsTagResource, any, {}, any>>;
|
|
20298
|
+
/**
|
|
20299
|
+
* Assign a tag to many contacts at once. Pass `contact_uuids` to target specific contacts, or `all_contacts` to target every contact in the profile. The work is queued, so a success response means it was accepted rather than finished. Contacts that already carry the tag are left alone.
|
|
20300
|
+
* @summary Assign contacts to a tag
|
|
20301
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20302
|
+
* @param {string} tagUuid Tag uuid parameter
|
|
20303
|
+
* @param {ReachV1ContactsTagsManageContactsRequest} reachV1ContactsTagsManageContactsRequest
|
|
20304
|
+
* @param {*} [options] Override http request option.
|
|
20305
|
+
* @throws {RequiredError}
|
|
20306
|
+
* @memberof ReachTagsApi
|
|
20307
|
+
*/
|
|
20308
|
+
assignContactsToATagV1(profileUuid: string, tagUuid: string, reachV1ContactsTagsManageContactsRequest: ReachV1ContactsTagsManageContactsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
20309
|
+
/**
|
|
20310
|
+
* Create tags in a profile. Names that already exist in the profile are not duplicated: the existing tag is returned instead, so the call is safe to repeat. Every tag in the request is returned, whether it was created now or already existed.
|
|
20311
|
+
* @summary Create or find tags
|
|
20312
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20313
|
+
* @param {ReachV1ContactsTagsStoreRequest} reachV1ContactsTagsStoreRequest
|
|
20314
|
+
* @param {*} [options] Override http request option.
|
|
20315
|
+
* @throws {RequiredError}
|
|
20316
|
+
* @memberof ReachTagsApi
|
|
20317
|
+
*/
|
|
20318
|
+
createOrFindTagsV1(profileUuid: string, reachV1ContactsTagsStoreRequest: ReachV1ContactsTagsStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ContactsTagsTagResource[], any, {}, any>>;
|
|
20319
|
+
/**
|
|
20320
|
+
* Delete a tag and remove it from every contact carrying it. The contacts themselves are not deleted. This is idempotent: deleting a tag that does not exist in the profile still succeeds.
|
|
20321
|
+
* @summary Delete a tag
|
|
20322
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20323
|
+
* @param {string} tagUuid Tag uuid parameter
|
|
20324
|
+
* @param {*} [options] Override http request option.
|
|
20325
|
+
* @throws {RequiredError}
|
|
20326
|
+
* @memberof ReachTagsApi
|
|
20327
|
+
*/
|
|
20328
|
+
deleteATagV1(profileUuid: string, tagUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
20329
|
+
/**
|
|
20330
|
+
* Get all tags defined in a profile. Tags are the way contacts are grouped in Reach, and can be used to filter the contact list or to build segments.
|
|
20331
|
+
* @summary List profile tags
|
|
20332
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20333
|
+
* @param {*} [options] Override http request option.
|
|
20334
|
+
* @throws {RequiredError}
|
|
20335
|
+
* @memberof ReachTagsApi
|
|
20336
|
+
*/
|
|
20337
|
+
listProfileTagsV1(profileUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ContactsTagsTagResource[], any, {}, any>>;
|
|
20338
|
+
/**
|
|
20339
|
+
* Remove a tag from a single contact. Unlike the bulk endpoint this is applied immediately rather than queued. Neither the tag nor the contact is deleted.
|
|
20340
|
+
* @summary Remove a contact from a tag
|
|
20341
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20342
|
+
* @param {string} tagUuid Tag uuid parameter
|
|
20343
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
20344
|
+
* @param {*} [options] Override http request option.
|
|
20345
|
+
* @throws {RequiredError}
|
|
20346
|
+
* @memberof ReachTagsApi
|
|
20347
|
+
*/
|
|
20348
|
+
removeAContactFromATagV1(profileUuid: string, tagUuid: string, contactUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
20349
|
+
/**
|
|
20350
|
+
* Remove a tag from many contacts at once. Pass `contact_uuids` to target specific contacts, or `all_contacts` to target every contact in the profile. The work is queued, so a success response means it was accepted rather than finished. The tag itself and the contacts are not deleted.
|
|
20351
|
+
* @summary Remove contacts from a tag
|
|
20352
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20353
|
+
* @param {string} tagUuid Tag uuid parameter
|
|
20354
|
+
* @param {ReachV1ContactsTagsManageContactsRequest} reachV1ContactsTagsManageContactsRequest
|
|
20355
|
+
* @param {*} [options] Override http request option.
|
|
20356
|
+
* @throws {RequiredError}
|
|
20357
|
+
* @memberof ReachTagsApi
|
|
20358
|
+
*/
|
|
20359
|
+
removeContactsFromATagV1(profileUuid: string, tagUuid: string, reachV1ContactsTagsManageContactsRequest: ReachV1ContactsTagsManageContactsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
20360
|
+
/**
|
|
20361
|
+
* Rename a tag. The contacts assigned to the tag are unaffected. Names are unique within a profile, so renaming a tag to a name that is already taken is rejected.
|
|
20362
|
+
* @summary Rename a tag
|
|
20363
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
20364
|
+
* @param {string} tagUuid Tag uuid parameter
|
|
20365
|
+
* @param {ReachV1ContactsTagsUpdateRequest} reachV1ContactsTagsUpdateRequest
|
|
20366
|
+
* @param {*} [options] Override http request option.
|
|
20367
|
+
* @throws {RequiredError}
|
|
20368
|
+
* @memberof ReachTagsApi
|
|
20369
|
+
*/
|
|
20370
|
+
renameATagV1(profileUuid: string, tagUuid: string, reachV1ContactsTagsUpdateRequest: ReachV1ContactsTagsUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ContactsTagsTagResource, any, {}, any>>;
|
|
20371
|
+
}
|
|
18928
20372
|
/**
|
|
18929
20373
|
* VPSActionsApi - axios parameter creator
|
|
18930
20374
|
* @export
|