hostinger-api-sdk 1.26.0 → 1.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +1625 -119
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +1074 -13
- package/dist/api.js +1067 -216
- 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 +1074 -13
- package/dist/esm/api.js +1051 -205
- 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/ReachV1ContactsBulkStoreRequest.md +25 -0
- package/docs/ReachV1ContactsBulkStoreRequestContactsInner.md +26 -0
- package/docs/ReachV1ContactsContactDetailsResource.md +46 -0
- package/docs/ReachV1ContactsFieldsContactFieldOptionResource.md +24 -0
- package/docs/ReachV1ContactsFieldsContactFieldResource.md +30 -0
- package/docs/ReachV1ContactsFieldsContactFieldValueResource.md +33 -0
- package/docs/ReachV1ContactsFieldsStoreRequest.md +25 -0
- package/docs/ReachV1ContactsFieldsUpdateRequest.md +23 -0
- package/docs/ReachV1ContactsFieldsUpdateRequestOptionsInner.md +22 -0
- package/docs/ReachV1ContactsProfileContactResource.md +38 -0
- package/docs/ReachV1ContactsProfileContactUpdateResource.md +34 -0
- package/docs/ReachV1ContactsTagsTagResource.md +26 -0
- package/docs/ReachV1ContactsUpdateRequest.md +33 -0
- package/docs/ReachV1ContactsUpdateRequestFieldsInner.md +24 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/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.28.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -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
|
/**
|
|
@@ -7819,27 +8364,144 @@ export interface ReachV1ContactsStoreRequest {
|
|
|
7819
8364
|
/**
|
|
7820
8365
|
*
|
|
7821
8366
|
* @type {string}
|
|
7822
|
-
* @memberof ReachV1ContactsStoreRequest
|
|
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
|
+
*
|
|
8391
|
+
* @export
|
|
8392
|
+
* @interface ReachV1ContactsTagsTagResource
|
|
8393
|
+
*/
|
|
8394
|
+
export interface ReachV1ContactsTagsTagResource {
|
|
8395
|
+
/**
|
|
8396
|
+
*
|
|
8397
|
+
* @type {string}
|
|
8398
|
+
* @memberof ReachV1ContactsTagsTagResource
|
|
8399
|
+
*/
|
|
8400
|
+
'uuid': string;
|
|
8401
|
+
/**
|
|
8402
|
+
* How the tag came about. `custom` covers the tags you create yourself, `form` covers the ones Reach creates for its forms.
|
|
8403
|
+
* @type {string}
|
|
8404
|
+
* @memberof ReachV1ContactsTagsTagResource
|
|
8405
|
+
*/
|
|
8406
|
+
'type': ReachV1ContactsTagsTagResourceTypeEnum;
|
|
8407
|
+
/**
|
|
8408
|
+
*
|
|
8409
|
+
* @type {string}
|
|
8410
|
+
* @memberof ReachV1ContactsTagsTagResource
|
|
8411
|
+
*/
|
|
8412
|
+
'value': string;
|
|
8413
|
+
/**
|
|
8414
|
+
*
|
|
8415
|
+
* @type {string}
|
|
8416
|
+
* @memberof ReachV1ContactsTagsTagResource
|
|
8417
|
+
*/
|
|
8418
|
+
'created_at': string;
|
|
8419
|
+
}
|
|
8420
|
+
export declare const ReachV1ContactsTagsTagResourceTypeEnum: {
|
|
8421
|
+
readonly Form: "form";
|
|
8422
|
+
readonly Custom: "custom";
|
|
8423
|
+
};
|
|
8424
|
+
export type ReachV1ContactsTagsTagResourceTypeEnum = typeof ReachV1ContactsTagsTagResourceTypeEnum[keyof typeof ReachV1ContactsTagsTagResourceTypeEnum];
|
|
8425
|
+
/**
|
|
8426
|
+
* Fields to change on a contact. Omitted properties are left untouched.
|
|
8427
|
+
* @export
|
|
8428
|
+
* @interface ReachV1ContactsUpdateRequest
|
|
8429
|
+
*/
|
|
8430
|
+
export interface ReachV1ContactsUpdateRequest {
|
|
8431
|
+
/**
|
|
8432
|
+
*
|
|
8433
|
+
* @type {string}
|
|
8434
|
+
* @memberof ReachV1ContactsUpdateRequest
|
|
8435
|
+
*/
|
|
8436
|
+
'email': string | null;
|
|
8437
|
+
/**
|
|
8438
|
+
*
|
|
8439
|
+
* @type {string}
|
|
8440
|
+
* @memberof ReachV1ContactsUpdateRequest
|
|
7823
8441
|
*/
|
|
7824
8442
|
'name': string | null;
|
|
7825
8443
|
/**
|
|
7826
8444
|
*
|
|
7827
8445
|
* @type {string}
|
|
7828
|
-
* @memberof
|
|
8446
|
+
* @memberof ReachV1ContactsUpdateRequest
|
|
7829
8447
|
*/
|
|
7830
8448
|
'surname': string | null;
|
|
7831
8449
|
/**
|
|
7832
8450
|
* Phone number in E.164 format (leading \"+\" then 7-15 digits)
|
|
7833
8451
|
* @type {string}
|
|
7834
|
-
* @memberof
|
|
8452
|
+
* @memberof ReachV1ContactsUpdateRequest
|
|
7835
8453
|
*/
|
|
7836
8454
|
'phone': string | null;
|
|
7837
8455
|
/**
|
|
7838
8456
|
*
|
|
7839
8457
|
* @type {string}
|
|
7840
|
-
* @memberof
|
|
8458
|
+
* @memberof ReachV1ContactsUpdateRequest
|
|
8459
|
+
*/
|
|
8460
|
+
'subscription_status': ReachV1ContactsUpdateRequestSubscriptionStatusEnum | null;
|
|
8461
|
+
/**
|
|
8462
|
+
*
|
|
8463
|
+
* @type {string}
|
|
8464
|
+
* @memberof ReachV1ContactsUpdateRequest
|
|
7841
8465
|
*/
|
|
7842
8466
|
'note': string | null;
|
|
8467
|
+
/**
|
|
8468
|
+
* Set custom field values. Omit to leave untouched, send an empty array to clear them all.
|
|
8469
|
+
* @type {Array<ReachV1ContactsUpdateRequestFieldsInner>}
|
|
8470
|
+
* @memberof ReachV1ContactsUpdateRequest
|
|
8471
|
+
*/
|
|
8472
|
+
'fields': Array<ReachV1ContactsUpdateRequestFieldsInner>;
|
|
8473
|
+
}
|
|
8474
|
+
export declare const ReachV1ContactsUpdateRequestSubscriptionStatusEnum: {
|
|
8475
|
+
readonly Subscribed: "subscribed";
|
|
8476
|
+
readonly Unsubscribed: "unsubscribed";
|
|
8477
|
+
readonly Confirmed: "confirmed";
|
|
8478
|
+
readonly Pending: "pending";
|
|
8479
|
+
};
|
|
8480
|
+
export type ReachV1ContactsUpdateRequestSubscriptionStatusEnum = typeof ReachV1ContactsUpdateRequestSubscriptionStatusEnum[keyof typeof ReachV1ContactsUpdateRequestSubscriptionStatusEnum];
|
|
8481
|
+
/**
|
|
8482
|
+
*
|
|
8483
|
+
* @export
|
|
8484
|
+
* @interface ReachV1ContactsUpdateRequestFieldsInner
|
|
8485
|
+
*/
|
|
8486
|
+
export interface ReachV1ContactsUpdateRequestFieldsInner {
|
|
8487
|
+
/**
|
|
8488
|
+
*
|
|
8489
|
+
* @type {string}
|
|
8490
|
+
* @memberof ReachV1ContactsUpdateRequestFieldsInner
|
|
8491
|
+
*/
|
|
8492
|
+
'uuid': string;
|
|
8493
|
+
/**
|
|
8494
|
+
* For the scalar field types
|
|
8495
|
+
* @type {string}
|
|
8496
|
+
* @memberof ReachV1ContactsUpdateRequestFieldsInner
|
|
8497
|
+
*/
|
|
8498
|
+
'value': string | null;
|
|
8499
|
+
/**
|
|
8500
|
+
* For the choice field types
|
|
8501
|
+
* @type {Array<string>}
|
|
8502
|
+
* @memberof ReachV1ContactsUpdateRequestFieldsInner
|
|
8503
|
+
*/
|
|
8504
|
+
'selected_option_uuids': Array<string>;
|
|
7843
8505
|
}
|
|
7844
8506
|
/**
|
|
7845
8507
|
*
|
|
@@ -18415,6 +19077,180 @@ export declare const ListWebhooksV1StatusEnum: {
|
|
|
18415
19077
|
readonly Paused: "paused";
|
|
18416
19078
|
};
|
|
18417
19079
|
export type ListWebhooksV1StatusEnum = typeof ListWebhooksV1StatusEnum[keyof typeof ListWebhooksV1StatusEnum];
|
|
19080
|
+
/**
|
|
19081
|
+
* ReachContactFieldsApi - axios parameter creator
|
|
19082
|
+
* @export
|
|
19083
|
+
*/
|
|
19084
|
+
export declare const ReachContactFieldsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
19085
|
+
/**
|
|
19086
|
+
* Define a new custom contact field in a profile. The `slug` is derived from the label and, like the field type, cannot be changed later. Use the returned uuid to set values on contacts.
|
|
19087
|
+
* @summary Create a contact field
|
|
19088
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19089
|
+
* @param {ReachV1ContactsFieldsStoreRequest} reachV1ContactsFieldsStoreRequest
|
|
19090
|
+
* @param {*} [options] Override http request option.
|
|
19091
|
+
* @throws {RequiredError}
|
|
19092
|
+
*/
|
|
19093
|
+
createAContactFieldV1: (profileUuid: string, reachV1ContactsFieldsStoreRequest: ReachV1ContactsFieldsStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19094
|
+
/**
|
|
19095
|
+
* Delete a custom contact field. Every value contacts hold for the field is deleted with it, and for the choice types so are its options. The contacts themselves are not affected.
|
|
19096
|
+
* @summary Delete a contact field
|
|
19097
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19098
|
+
* @param {string} fieldUuid Contact field uuid parameter
|
|
19099
|
+
* @param {*} [options] Override http request option.
|
|
19100
|
+
* @throws {RequiredError}
|
|
19101
|
+
*/
|
|
19102
|
+
deleteAContactFieldV1: (profileUuid: string, fieldUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19103
|
+
/**
|
|
19104
|
+
* Get the custom contact fields defined in a profile. Custom fields let you store your own attributes on contacts. The returned uuids are what you pass to the contact update endpoint to set values, and choice fields also list the options available to pick from.
|
|
19105
|
+
* @summary List contact fields
|
|
19106
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19107
|
+
* @param {*} [options] Override http request option.
|
|
19108
|
+
* @throws {RequiredError}
|
|
19109
|
+
*/
|
|
19110
|
+
listContactFieldsV1: (profileUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19111
|
+
/**
|
|
19112
|
+
* Rename a custom contact field and, for the choice types, replace its option set. Options carrying a uuid are kept and relabelled, options without one are created, and any existing option left out of the list is deleted along with the values contacts hold for it. The field type and slug cannot be changed.
|
|
19113
|
+
* @summary Update a contact field
|
|
19114
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19115
|
+
* @param {string} fieldUuid Contact field uuid parameter
|
|
19116
|
+
* @param {ReachV1ContactsFieldsUpdateRequest} reachV1ContactsFieldsUpdateRequest
|
|
19117
|
+
* @param {*} [options] Override http request option.
|
|
19118
|
+
* @throws {RequiredError}
|
|
19119
|
+
*/
|
|
19120
|
+
updateAContactFieldV1: (profileUuid: string, fieldUuid: string, reachV1ContactsFieldsUpdateRequest: ReachV1ContactsFieldsUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19121
|
+
};
|
|
19122
|
+
/**
|
|
19123
|
+
* ReachContactFieldsApi - functional programming interface
|
|
19124
|
+
* @export
|
|
19125
|
+
*/
|
|
19126
|
+
export declare const ReachContactFieldsApiFp: (configuration?: Configuration) => {
|
|
19127
|
+
/**
|
|
19128
|
+
* Define a new custom contact field in a profile. The `slug` is derived from the label and, like the field type, cannot be changed later. Use the returned uuid to set values on contacts.
|
|
19129
|
+
* @summary Create a contact field
|
|
19130
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19131
|
+
* @param {ReachV1ContactsFieldsStoreRequest} reachV1ContactsFieldsStoreRequest
|
|
19132
|
+
* @param {*} [options] Override http request option.
|
|
19133
|
+
* @throws {RequiredError}
|
|
19134
|
+
*/
|
|
19135
|
+
createAContactFieldV1(profileUuid: string, reachV1ContactsFieldsStoreRequest: ReachV1ContactsFieldsStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachV1ContactsFieldsContactFieldResource>>;
|
|
19136
|
+
/**
|
|
19137
|
+
* Delete a custom contact field. Every value contacts hold for the field is deleted with it, and for the choice types so are its options. The contacts themselves are not affected.
|
|
19138
|
+
* @summary Delete a contact field
|
|
19139
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19140
|
+
* @param {string} fieldUuid Contact field uuid parameter
|
|
19141
|
+
* @param {*} [options] Override http request option.
|
|
19142
|
+
* @throws {RequiredError}
|
|
19143
|
+
*/
|
|
19144
|
+
deleteAContactFieldV1(profileUuid: string, fieldUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
19145
|
+
/**
|
|
19146
|
+
* Get the custom contact fields defined in a profile. Custom fields let you store your own attributes on contacts. The returned uuids are what you pass to the contact update endpoint to set values, and choice fields also list the options available to pick from.
|
|
19147
|
+
* @summary List contact fields
|
|
19148
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19149
|
+
* @param {*} [options] Override http request option.
|
|
19150
|
+
* @throws {RequiredError}
|
|
19151
|
+
*/
|
|
19152
|
+
listContactFieldsV1(profileUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ReachV1ContactsFieldsContactFieldResource>>>;
|
|
19153
|
+
/**
|
|
19154
|
+
* Rename a custom contact field and, for the choice types, replace its option set. Options carrying a uuid are kept and relabelled, options without one are created, and any existing option left out of the list is deleted along with the values contacts hold for it. The field type and slug cannot be changed.
|
|
19155
|
+
* @summary Update a contact field
|
|
19156
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19157
|
+
* @param {string} fieldUuid Contact field uuid parameter
|
|
19158
|
+
* @param {ReachV1ContactsFieldsUpdateRequest} reachV1ContactsFieldsUpdateRequest
|
|
19159
|
+
* @param {*} [options] Override http request option.
|
|
19160
|
+
* @throws {RequiredError}
|
|
19161
|
+
*/
|
|
19162
|
+
updateAContactFieldV1(profileUuid: string, fieldUuid: string, reachV1ContactsFieldsUpdateRequest: ReachV1ContactsFieldsUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachV1ContactsFieldsContactFieldResource>>;
|
|
19163
|
+
};
|
|
19164
|
+
/**
|
|
19165
|
+
* ReachContactFieldsApi - factory interface
|
|
19166
|
+
* @export
|
|
19167
|
+
*/
|
|
19168
|
+
export declare const ReachContactFieldsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
19169
|
+
/**
|
|
19170
|
+
* Define a new custom contact field in a profile. The `slug` is derived from the label and, like the field type, cannot be changed later. Use the returned uuid to set values on contacts.
|
|
19171
|
+
* @summary Create a contact field
|
|
19172
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19173
|
+
* @param {ReachV1ContactsFieldsStoreRequest} reachV1ContactsFieldsStoreRequest
|
|
19174
|
+
* @param {*} [options] Override http request option.
|
|
19175
|
+
* @throws {RequiredError}
|
|
19176
|
+
*/
|
|
19177
|
+
createAContactFieldV1(profileUuid: string, reachV1ContactsFieldsStoreRequest: ReachV1ContactsFieldsStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReachV1ContactsFieldsContactFieldResource>;
|
|
19178
|
+
/**
|
|
19179
|
+
* Delete a custom contact field. Every value contacts hold for the field is deleted with it, and for the choice types so are its options. The contacts themselves are not affected.
|
|
19180
|
+
* @summary Delete a contact field
|
|
19181
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19182
|
+
* @param {string} fieldUuid Contact field uuid parameter
|
|
19183
|
+
* @param {*} [options] Override http request option.
|
|
19184
|
+
* @throws {RequiredError}
|
|
19185
|
+
*/
|
|
19186
|
+
deleteAContactFieldV1(profileUuid: string, fieldUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
19187
|
+
/**
|
|
19188
|
+
* Get the custom contact fields defined in a profile. Custom fields let you store your own attributes on contacts. The returned uuids are what you pass to the contact update endpoint to set values, and choice fields also list the options available to pick from.
|
|
19189
|
+
* @summary List contact fields
|
|
19190
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19191
|
+
* @param {*} [options] Override http request option.
|
|
19192
|
+
* @throws {RequiredError}
|
|
19193
|
+
*/
|
|
19194
|
+
listContactFieldsV1(profileUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ReachV1ContactsFieldsContactFieldResource>>;
|
|
19195
|
+
/**
|
|
19196
|
+
* Rename a custom contact field and, for the choice types, replace its option set. Options carrying a uuid are kept and relabelled, options without one are created, and any existing option left out of the list is deleted along with the values contacts hold for it. The field type and slug cannot be changed.
|
|
19197
|
+
* @summary Update a contact field
|
|
19198
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19199
|
+
* @param {string} fieldUuid Contact field uuid parameter
|
|
19200
|
+
* @param {ReachV1ContactsFieldsUpdateRequest} reachV1ContactsFieldsUpdateRequest
|
|
19201
|
+
* @param {*} [options] Override http request option.
|
|
19202
|
+
* @throws {RequiredError}
|
|
19203
|
+
*/
|
|
19204
|
+
updateAContactFieldV1(profileUuid: string, fieldUuid: string, reachV1ContactsFieldsUpdateRequest: ReachV1ContactsFieldsUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReachV1ContactsFieldsContactFieldResource>;
|
|
19205
|
+
};
|
|
19206
|
+
/**
|
|
19207
|
+
* ReachContactFieldsApi - object-oriented interface
|
|
19208
|
+
* @export
|
|
19209
|
+
* @class ReachContactFieldsApi
|
|
19210
|
+
* @extends {BaseAPI}
|
|
19211
|
+
*/
|
|
19212
|
+
export declare class ReachContactFieldsApi extends BaseAPI {
|
|
19213
|
+
/**
|
|
19214
|
+
* Define a new custom contact field in a profile. The `slug` is derived from the label and, like the field type, cannot be changed later. Use the returned uuid to set values on contacts.
|
|
19215
|
+
* @summary Create a contact field
|
|
19216
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19217
|
+
* @param {ReachV1ContactsFieldsStoreRequest} reachV1ContactsFieldsStoreRequest
|
|
19218
|
+
* @param {*} [options] Override http request option.
|
|
19219
|
+
* @throws {RequiredError}
|
|
19220
|
+
* @memberof ReachContactFieldsApi
|
|
19221
|
+
*/
|
|
19222
|
+
createAContactFieldV1(profileUuid: string, reachV1ContactsFieldsStoreRequest: ReachV1ContactsFieldsStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ContactsFieldsContactFieldResource, any, {}, any>>;
|
|
19223
|
+
/**
|
|
19224
|
+
* Delete a custom contact field. Every value contacts hold for the field is deleted with it, and for the choice types so are its options. The contacts themselves are not affected.
|
|
19225
|
+
* @summary Delete a contact field
|
|
19226
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19227
|
+
* @param {string} fieldUuid Contact field uuid parameter
|
|
19228
|
+
* @param {*} [options] Override http request option.
|
|
19229
|
+
* @throws {RequiredError}
|
|
19230
|
+
* @memberof ReachContactFieldsApi
|
|
19231
|
+
*/
|
|
19232
|
+
deleteAContactFieldV1(profileUuid: string, fieldUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
19233
|
+
/**
|
|
19234
|
+
* Get the custom contact fields defined in a profile. Custom fields let you store your own attributes on contacts. The returned uuids are what you pass to the contact update endpoint to set values, and choice fields also list the options available to pick from.
|
|
19235
|
+
* @summary List contact fields
|
|
19236
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19237
|
+
* @param {*} [options] Override http request option.
|
|
19238
|
+
* @throws {RequiredError}
|
|
19239
|
+
* @memberof ReachContactFieldsApi
|
|
19240
|
+
*/
|
|
19241
|
+
listContactFieldsV1(profileUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ContactsFieldsContactFieldResource[], any, {}, any>>;
|
|
19242
|
+
/**
|
|
19243
|
+
* Rename a custom contact field and, for the choice types, replace its option set. Options carrying a uuid are kept and relabelled, options without one are created, and any existing option left out of the list is deleted along with the values contacts hold for it. The field type and slug cannot be changed.
|
|
19244
|
+
* @summary Update a contact field
|
|
19245
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19246
|
+
* @param {string} fieldUuid Contact field uuid parameter
|
|
19247
|
+
* @param {ReachV1ContactsFieldsUpdateRequest} reachV1ContactsFieldsUpdateRequest
|
|
19248
|
+
* @param {*} [options] Override http request option.
|
|
19249
|
+
* @throws {RequiredError}
|
|
19250
|
+
* @memberof ReachContactFieldsApi
|
|
19251
|
+
*/
|
|
19252
|
+
updateAContactFieldV1(profileUuid: string, fieldUuid: string, reachV1ContactsFieldsUpdateRequest: ReachV1ContactsFieldsUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ContactsFieldsContactFieldResource, any, {}, any>>;
|
|
19253
|
+
}
|
|
18418
19254
|
/**
|
|
18419
19255
|
* ReachContactsApi - axios parameter creator
|
|
18420
19256
|
* @export
|
|
@@ -18429,6 +19265,15 @@ export declare const ReachContactsApiAxiosParamCreator: (configuration?: Configu
|
|
|
18429
19265
|
* @throws {RequiredError}
|
|
18430
19266
|
*/
|
|
18431
19267
|
createANewContactV1: (reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19268
|
+
/**
|
|
19269
|
+
* Create many contacts in a profile in a single call. The contacts are imported in the background, so a success response means the import was accepted rather than finished. Contacts whose email already exists in the profile are left as they are. If double opt-in is enabled, new contacts start off pending and are sent a confirmation email.
|
|
19270
|
+
* @summary Create contacts in bulk
|
|
19271
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19272
|
+
* @param {ReachV1ContactsBulkStoreRequest} reachV1ContactsBulkStoreRequest
|
|
19273
|
+
* @param {*} [options] Override http request option.
|
|
19274
|
+
* @throws {RequiredError}
|
|
19275
|
+
*/
|
|
19276
|
+
createContactsInBulkV1: (profileUuid: string, reachV1ContactsBulkStoreRequest: ReachV1ContactsBulkStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18432
19277
|
/**
|
|
18433
19278
|
* Create a new contact in the email marketing system. This endpoint allows you to create a new contact with basic information like name, email, and surname. If double opt-in is enabled, the contact will be created with a pending status and a confirmation email will be sent.
|
|
18434
19279
|
* @summary Create new contacts
|
|
@@ -18439,13 +19284,32 @@ export declare const ReachContactsApiAxiosParamCreator: (configuration?: Configu
|
|
|
18439
19284
|
*/
|
|
18440
19285
|
createNewContactsV1: (profileUuid: string, reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18441
19286
|
/**
|
|
18442
|
-
* Delete a contact with the specified UUID. This endpoint permanently removes a contact from the email marketing system.
|
|
19287
|
+
* Delete a contact with the specified UUID. This endpoint permanently removes a contact from the email marketing system. **Deprecated.** This endpoint cannot target a profile, so it always falls back to the client\'s default profile and cannot delete contacts of any other profile. Use `DELETE /api/reach/v1/profiles/{profileUuid}/contacts/{contactUuid}` instead.
|
|
18443
19288
|
* @summary Delete a contact
|
|
18444
19289
|
* @param {string} uuid UUID of the contact to delete
|
|
18445
19290
|
* @param {*} [options] Override http request option.
|
|
19291
|
+
* @deprecated
|
|
18446
19292
|
* @throws {RequiredError}
|
|
18447
19293
|
*/
|
|
18448
19294
|
deleteAContactV1: (uuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19295
|
+
/**
|
|
19296
|
+
* Permanently delete a contact from a profile. The contact is removed together with its custom field values and tag assignments.
|
|
19297
|
+
* @summary Delete a profile contact
|
|
19298
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19299
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19300
|
+
* @param {*} [options] Override http request option.
|
|
19301
|
+
* @throws {RequiredError}
|
|
19302
|
+
*/
|
|
19303
|
+
deleteAProfileContactV1: (profileUuid: string, contactUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19304
|
+
/**
|
|
19305
|
+
* Get the full details of a single contact. Alongside the contact\'s own attributes this returns the tags assigned to it and the values it holds for the profile\'s custom contact fields.
|
|
19306
|
+
* @summary Get contact details
|
|
19307
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19308
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19309
|
+
* @param {*} [options] Override http request option.
|
|
19310
|
+
* @throws {RequiredError}
|
|
19311
|
+
*/
|
|
19312
|
+
getContactDetailsV1: (profileUuid: string, contactUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18449
19313
|
/**
|
|
18450
19314
|
* Get a list of all contact groups. This endpoint returns a list of contact groups that can be used to organize contacts.
|
|
18451
19315
|
* @summary List contact groups
|
|
@@ -18455,15 +19319,39 @@ export declare const ReachContactsApiAxiosParamCreator: (configuration?: Configu
|
|
|
18455
19319
|
*/
|
|
18456
19320
|
listContactGroupsV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18457
19321
|
/**
|
|
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.
|
|
19322
|
+
* Get a list of contacts, optionally filtered by group and subscription status. This endpoint returns a paginated list of contacts with their basic information. You can filter contacts by group UUID and subscription status. **Deprecated.** This endpoint cannot target a profile, so it always falls back to the client\'s default profile and cannot list contacts of any other profile. Use `GET /api/reach/v1/profiles/{profileUuid}/contacts` instead, which also replaces the group filter with a tag filter.
|
|
18459
19323
|
* @summary List contacts
|
|
18460
19324
|
* @param {string} [groupUuid] Filter contacts by group UUID
|
|
18461
19325
|
* @param {ListContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
|
|
18462
19326
|
* @param {number} [page] Page number
|
|
18463
19327
|
* @param {*} [options] Override http request option.
|
|
19328
|
+
* @deprecated
|
|
18464
19329
|
* @throws {RequiredError}
|
|
18465
19330
|
*/
|
|
18466
19331
|
listContactsV1: (groupUuid?: string, subscriptionStatus?: ListContactsV1SubscriptionStatusEnum, page?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19332
|
+
/**
|
|
19333
|
+
* Get a paginated list of contacts belonging to a profile. Contacts can be filtered by subscription status, by tag, and by an email search term. The `meta.total` field of the response is the number of contacts matching the filters, so calling this endpoint without filters gives the profile\'s total contact count.
|
|
19334
|
+
* @summary List profile contacts
|
|
19335
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19336
|
+
* @param {ListProfileContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
|
|
19337
|
+
* @param {string} [tagUuid] Filter contacts by tag UUID
|
|
19338
|
+
* @param {string} [search] Search contacts by email
|
|
19339
|
+
* @param {number} [page] Page number
|
|
19340
|
+
* @param {number} [perPage] Number of items per page
|
|
19341
|
+
* @param {*} [options] Override http request option.
|
|
19342
|
+
* @throws {RequiredError}
|
|
19343
|
+
*/
|
|
19344
|
+
listProfileContactsV1: (profileUuid: string, subscriptionStatus?: ListProfileContactsV1SubscriptionStatusEnum, tagUuid?: string, search?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19345
|
+
/**
|
|
19346
|
+
* Update a contact\'s attributes and custom field values. Only the properties present in the request body are changed, so a partial body is enough to change a single attribute. Sending a property as `null` clears it. The response carries the contact\'s core attributes. Read back its tags, custom field values, source and note with `GET /api/reach/v1/profiles/{profileUuid}/contacts/{contactUuid}`.
|
|
19347
|
+
* @summary Update a contact
|
|
19348
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19349
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19350
|
+
* @param {ReachV1ContactsUpdateRequest} reachV1ContactsUpdateRequest
|
|
19351
|
+
* @param {*} [options] Override http request option.
|
|
19352
|
+
* @throws {RequiredError}
|
|
19353
|
+
*/
|
|
19354
|
+
updateAContactV1: (profileUuid: string, contactUuid: string, reachV1ContactsUpdateRequest: ReachV1ContactsUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18467
19355
|
};
|
|
18468
19356
|
/**
|
|
18469
19357
|
* ReachContactsApi - functional programming interface
|
|
@@ -18479,6 +19367,15 @@ export declare const ReachContactsApiFp: (configuration?: Configuration) => {
|
|
|
18479
19367
|
* @throws {RequiredError}
|
|
18480
19368
|
*/
|
|
18481
19369
|
createANewContactV1(reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
19370
|
+
/**
|
|
19371
|
+
* Create many contacts in a profile in a single call. The contacts are imported in the background, so a success response means the import was accepted rather than finished. Contacts whose email already exists in the profile are left as they are. If double opt-in is enabled, new contacts start off pending and are sent a confirmation email.
|
|
19372
|
+
* @summary Create contacts in bulk
|
|
19373
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19374
|
+
* @param {ReachV1ContactsBulkStoreRequest} reachV1ContactsBulkStoreRequest
|
|
19375
|
+
* @param {*} [options] Override http request option.
|
|
19376
|
+
* @throws {RequiredError}
|
|
19377
|
+
*/
|
|
19378
|
+
createContactsInBulkV1(profileUuid: string, reachV1ContactsBulkStoreRequest: ReachV1ContactsBulkStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
18482
19379
|
/**
|
|
18483
19380
|
* Create a new contact in the email marketing system. This endpoint allows you to create a new contact with basic information like name, email, and surname. If double opt-in is enabled, the contact will be created with a pending status and a confirmation email will be sent.
|
|
18484
19381
|
* @summary Create new contacts
|
|
@@ -18489,13 +19386,32 @@ export declare const ReachContactsApiFp: (configuration?: Configuration) => {
|
|
|
18489
19386
|
*/
|
|
18490
19387
|
createNewContactsV1(profileUuid: string, reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
18491
19388
|
/**
|
|
18492
|
-
* Delete a contact with the specified UUID. This endpoint permanently removes a contact from the email marketing system.
|
|
19389
|
+
* Delete a contact with the specified UUID. This endpoint permanently removes a contact from the email marketing system. **Deprecated.** This endpoint cannot target a profile, so it always falls back to the client\'s default profile and cannot delete contacts of any other profile. Use `DELETE /api/reach/v1/profiles/{profileUuid}/contacts/{contactUuid}` instead.
|
|
18493
19390
|
* @summary Delete a contact
|
|
18494
19391
|
* @param {string} uuid UUID of the contact to delete
|
|
18495
19392
|
* @param {*} [options] Override http request option.
|
|
19393
|
+
* @deprecated
|
|
18496
19394
|
* @throws {RequiredError}
|
|
18497
19395
|
*/
|
|
18498
19396
|
deleteAContactV1(uuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
19397
|
+
/**
|
|
19398
|
+
* Permanently delete a contact from a profile. The contact is removed together with its custom field values and tag assignments.
|
|
19399
|
+
* @summary Delete a profile contact
|
|
19400
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19401
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19402
|
+
* @param {*} [options] Override http request option.
|
|
19403
|
+
* @throws {RequiredError}
|
|
19404
|
+
*/
|
|
19405
|
+
deleteAProfileContactV1(profileUuid: string, contactUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
19406
|
+
/**
|
|
19407
|
+
* Get the full details of a single contact. Alongside the contact\'s own attributes this returns the tags assigned to it and the values it holds for the profile\'s custom contact fields.
|
|
19408
|
+
* @summary Get contact details
|
|
19409
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19410
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19411
|
+
* @param {*} [options] Override http request option.
|
|
19412
|
+
* @throws {RequiredError}
|
|
19413
|
+
*/
|
|
19414
|
+
getContactDetailsV1(profileUuid: string, contactUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachV1ContactsContactDetailsResource>>;
|
|
18499
19415
|
/**
|
|
18500
19416
|
* Get a list of all contact groups. This endpoint returns a list of contact groups that can be used to organize contacts.
|
|
18501
19417
|
* @summary List contact groups
|
|
@@ -18505,15 +19421,39 @@ export declare const ReachContactsApiFp: (configuration?: Configuration) => {
|
|
|
18505
19421
|
*/
|
|
18506
19422
|
listContactGroupsV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ReachV1ContactsGroupsContactGroupResource>>>;
|
|
18507
19423
|
/**
|
|
18508
|
-
* Get a list of contacts, optionally filtered by group and subscription status. This endpoint returns a paginated list of contacts with their basic information. You can filter contacts by group UUID and subscription status.
|
|
19424
|
+
* Get a list of contacts, optionally filtered by group and subscription status. This endpoint returns a paginated list of contacts with their basic information. You can filter contacts by group UUID and subscription status. **Deprecated.** This endpoint cannot target a profile, so it always falls back to the client\'s default profile and cannot list contacts of any other profile. Use `GET /api/reach/v1/profiles/{profileUuid}/contacts` instead, which also replaces the group filter with a tag filter.
|
|
18509
19425
|
* @summary List contacts
|
|
18510
19426
|
* @param {string} [groupUuid] Filter contacts by group UUID
|
|
18511
19427
|
* @param {ListContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
|
|
18512
19428
|
* @param {number} [page] Page number
|
|
18513
19429
|
* @param {*} [options] Override http request option.
|
|
19430
|
+
* @deprecated
|
|
18514
19431
|
* @throws {RequiredError}
|
|
18515
19432
|
*/
|
|
18516
19433
|
listContactsV1(groupUuid?: string, subscriptionStatus?: ListContactsV1SubscriptionStatusEnum, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachListContactsV1200Response>>;
|
|
19434
|
+
/**
|
|
19435
|
+
* Get a paginated list of contacts belonging to a profile. Contacts can be filtered by subscription status, by tag, and by an email search term. The `meta.total` field of the response is the number of contacts matching the filters, so calling this endpoint without filters gives the profile\'s total contact count.
|
|
19436
|
+
* @summary List profile contacts
|
|
19437
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19438
|
+
* @param {ListProfileContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
|
|
19439
|
+
* @param {string} [tagUuid] Filter contacts by tag UUID
|
|
19440
|
+
* @param {string} [search] Search contacts by email
|
|
19441
|
+
* @param {number} [page] Page number
|
|
19442
|
+
* @param {number} [perPage] Number of items per page
|
|
19443
|
+
* @param {*} [options] Override http request option.
|
|
19444
|
+
* @throws {RequiredError}
|
|
19445
|
+
*/
|
|
19446
|
+
listProfileContactsV1(profileUuid: string, subscriptionStatus?: ListProfileContactsV1SubscriptionStatusEnum, tagUuid?: string, search?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachListProfileContactsV1200Response>>;
|
|
19447
|
+
/**
|
|
19448
|
+
* Update a contact\'s attributes and custom field values. Only the properties present in the request body are changed, so a partial body is enough to change a single attribute. Sending a property as `null` clears it. The response carries the contact\'s core attributes. Read back its tags, custom field values, source and note with `GET /api/reach/v1/profiles/{profileUuid}/contacts/{contactUuid}`.
|
|
19449
|
+
* @summary Update a contact
|
|
19450
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19451
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19452
|
+
* @param {ReachV1ContactsUpdateRequest} reachV1ContactsUpdateRequest
|
|
19453
|
+
* @param {*} [options] Override http request option.
|
|
19454
|
+
* @throws {RequiredError}
|
|
19455
|
+
*/
|
|
19456
|
+
updateAContactV1(profileUuid: string, contactUuid: string, reachV1ContactsUpdateRequest: ReachV1ContactsUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachV1ContactsProfileContactUpdateResource>>;
|
|
18517
19457
|
};
|
|
18518
19458
|
/**
|
|
18519
19459
|
* ReachContactsApi - factory interface
|
|
@@ -18529,6 +19469,15 @@ export declare const ReachContactsApiFactory: (configuration?: Configuration, ba
|
|
|
18529
19469
|
* @throws {RequiredError}
|
|
18530
19470
|
*/
|
|
18531
19471
|
createANewContactV1(reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
19472
|
+
/**
|
|
19473
|
+
* Create many contacts in a profile in a single call. The contacts are imported in the background, so a success response means the import was accepted rather than finished. Contacts whose email already exists in the profile are left as they are. If double opt-in is enabled, new contacts start off pending and are sent a confirmation email.
|
|
19474
|
+
* @summary Create contacts in bulk
|
|
19475
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19476
|
+
* @param {ReachV1ContactsBulkStoreRequest} reachV1ContactsBulkStoreRequest
|
|
19477
|
+
* @param {*} [options] Override http request option.
|
|
19478
|
+
* @throws {RequiredError}
|
|
19479
|
+
*/
|
|
19480
|
+
createContactsInBulkV1(profileUuid: string, reachV1ContactsBulkStoreRequest: ReachV1ContactsBulkStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
18532
19481
|
/**
|
|
18533
19482
|
* Create a new contact in the email marketing system. This endpoint allows you to create a new contact with basic information like name, email, and surname. If double opt-in is enabled, the contact will be created with a pending status and a confirmation email will be sent.
|
|
18534
19483
|
* @summary Create new contacts
|
|
@@ -18539,13 +19488,32 @@ export declare const ReachContactsApiFactory: (configuration?: Configuration, ba
|
|
|
18539
19488
|
*/
|
|
18540
19489
|
createNewContactsV1(profileUuid: string, reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
18541
19490
|
/**
|
|
18542
|
-
* Delete a contact with the specified UUID. This endpoint permanently removes a contact from the email marketing system.
|
|
19491
|
+
* Delete a contact with the specified UUID. This endpoint permanently removes a contact from the email marketing system. **Deprecated.** This endpoint cannot target a profile, so it always falls back to the client\'s default profile and cannot delete contacts of any other profile. Use `DELETE /api/reach/v1/profiles/{profileUuid}/contacts/{contactUuid}` instead.
|
|
18543
19492
|
* @summary Delete a contact
|
|
18544
19493
|
* @param {string} uuid UUID of the contact to delete
|
|
18545
19494
|
* @param {*} [options] Override http request option.
|
|
19495
|
+
* @deprecated
|
|
18546
19496
|
* @throws {RequiredError}
|
|
18547
19497
|
*/
|
|
18548
19498
|
deleteAContactV1(uuid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
19499
|
+
/**
|
|
19500
|
+
* Permanently delete a contact from a profile. The contact is removed together with its custom field values and tag assignments.
|
|
19501
|
+
* @summary Delete a profile contact
|
|
19502
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19503
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19504
|
+
* @param {*} [options] Override http request option.
|
|
19505
|
+
* @throws {RequiredError}
|
|
19506
|
+
*/
|
|
19507
|
+
deleteAProfileContactV1(profileUuid: string, contactUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
19508
|
+
/**
|
|
19509
|
+
* Get the full details of a single contact. Alongside the contact\'s own attributes this returns the tags assigned to it and the values it holds for the profile\'s custom contact fields.
|
|
19510
|
+
* @summary Get contact details
|
|
19511
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19512
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19513
|
+
* @param {*} [options] Override http request option.
|
|
19514
|
+
* @throws {RequiredError}
|
|
19515
|
+
*/
|
|
19516
|
+
getContactDetailsV1(profileUuid: string, contactUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<ReachV1ContactsContactDetailsResource>;
|
|
18549
19517
|
/**
|
|
18550
19518
|
* Get a list of all contact groups. This endpoint returns a list of contact groups that can be used to organize contacts.
|
|
18551
19519
|
* @summary List contact groups
|
|
@@ -18555,15 +19523,39 @@ export declare const ReachContactsApiFactory: (configuration?: Configuration, ba
|
|
|
18555
19523
|
*/
|
|
18556
19524
|
listContactGroupsV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<ReachV1ContactsGroupsContactGroupResource>>;
|
|
18557
19525
|
/**
|
|
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.
|
|
19526
|
+
* Get a list of contacts, optionally filtered by group and subscription status. This endpoint returns a paginated list of contacts with their basic information. You can filter contacts by group UUID and subscription status. **Deprecated.** This endpoint cannot target a profile, so it always falls back to the client\'s default profile and cannot list contacts of any other profile. Use `GET /api/reach/v1/profiles/{profileUuid}/contacts` instead, which also replaces the group filter with a tag filter.
|
|
18559
19527
|
* @summary List contacts
|
|
18560
19528
|
* @param {string} [groupUuid] Filter contacts by group UUID
|
|
18561
19529
|
* @param {ListContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
|
|
18562
19530
|
* @param {number} [page] Page number
|
|
18563
19531
|
* @param {*} [options] Override http request option.
|
|
19532
|
+
* @deprecated
|
|
18564
19533
|
* @throws {RequiredError}
|
|
18565
19534
|
*/
|
|
18566
19535
|
listContactsV1(groupUuid?: string, subscriptionStatus?: ListContactsV1SubscriptionStatusEnum, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<ReachListContactsV1200Response>;
|
|
19536
|
+
/**
|
|
19537
|
+
* Get a paginated list of contacts belonging to a profile. Contacts can be filtered by subscription status, by tag, and by an email search term. The `meta.total` field of the response is the number of contacts matching the filters, so calling this endpoint without filters gives the profile\'s total contact count.
|
|
19538
|
+
* @summary List profile contacts
|
|
19539
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19540
|
+
* @param {ListProfileContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
|
|
19541
|
+
* @param {string} [tagUuid] Filter contacts by tag UUID
|
|
19542
|
+
* @param {string} [search] Search contacts by email
|
|
19543
|
+
* @param {number} [page] Page number
|
|
19544
|
+
* @param {number} [perPage] Number of items per page
|
|
19545
|
+
* @param {*} [options] Override http request option.
|
|
19546
|
+
* @throws {RequiredError}
|
|
19547
|
+
*/
|
|
19548
|
+
listProfileContactsV1(profileUuid: string, subscriptionStatus?: ListProfileContactsV1SubscriptionStatusEnum, tagUuid?: string, search?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<ReachListProfileContactsV1200Response>;
|
|
19549
|
+
/**
|
|
19550
|
+
* Update a contact\'s attributes and custom field values. Only the properties present in the request body are changed, so a partial body is enough to change a single attribute. Sending a property as `null` clears it. The response carries the contact\'s core attributes. Read back its tags, custom field values, source and note with `GET /api/reach/v1/profiles/{profileUuid}/contacts/{contactUuid}`.
|
|
19551
|
+
* @summary Update a contact
|
|
19552
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19553
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19554
|
+
* @param {ReachV1ContactsUpdateRequest} reachV1ContactsUpdateRequest
|
|
19555
|
+
* @param {*} [options] Override http request option.
|
|
19556
|
+
* @throws {RequiredError}
|
|
19557
|
+
*/
|
|
19558
|
+
updateAContactV1(profileUuid: string, contactUuid: string, reachV1ContactsUpdateRequest: ReachV1ContactsUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReachV1ContactsProfileContactUpdateResource>;
|
|
18567
19559
|
};
|
|
18568
19560
|
/**
|
|
18569
19561
|
* ReachContactsApi - object-oriented interface
|
|
@@ -18582,6 +19574,16 @@ export declare class ReachContactsApi extends BaseAPI {
|
|
|
18582
19574
|
* @memberof ReachContactsApi
|
|
18583
19575
|
*/
|
|
18584
19576
|
createANewContactV1(reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
19577
|
+
/**
|
|
19578
|
+
* Create many contacts in a profile in a single call. The contacts are imported in the background, so a success response means the import was accepted rather than finished. Contacts whose email already exists in the profile are left as they are. If double opt-in is enabled, new contacts start off pending and are sent a confirmation email.
|
|
19579
|
+
* @summary Create contacts in bulk
|
|
19580
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19581
|
+
* @param {ReachV1ContactsBulkStoreRequest} reachV1ContactsBulkStoreRequest
|
|
19582
|
+
* @param {*} [options] Override http request option.
|
|
19583
|
+
* @throws {RequiredError}
|
|
19584
|
+
* @memberof ReachContactsApi
|
|
19585
|
+
*/
|
|
19586
|
+
createContactsInBulkV1(profileUuid: string, reachV1ContactsBulkStoreRequest: ReachV1ContactsBulkStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
18585
19587
|
/**
|
|
18586
19588
|
* Create a new contact in the email marketing system. This endpoint allows you to create a new contact with basic information like name, email, and surname. If double opt-in is enabled, the contact will be created with a pending status and a confirmation email will be sent.
|
|
18587
19589
|
* @summary Create new contacts
|
|
@@ -18593,14 +19595,35 @@ export declare class ReachContactsApi extends BaseAPI {
|
|
|
18593
19595
|
*/
|
|
18594
19596
|
createNewContactsV1(profileUuid: string, reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
18595
19597
|
/**
|
|
18596
|
-
* Delete a contact with the specified UUID. This endpoint permanently removes a contact from the email marketing system.
|
|
19598
|
+
* Delete a contact with the specified UUID. This endpoint permanently removes a contact from the email marketing system. **Deprecated.** This endpoint cannot target a profile, so it always falls back to the client\'s default profile and cannot delete contacts of any other profile. Use `DELETE /api/reach/v1/profiles/{profileUuid}/contacts/{contactUuid}` instead.
|
|
18597
19599
|
* @summary Delete a contact
|
|
18598
19600
|
* @param {string} uuid UUID of the contact to delete
|
|
18599
19601
|
* @param {*} [options] Override http request option.
|
|
19602
|
+
* @deprecated
|
|
18600
19603
|
* @throws {RequiredError}
|
|
18601
19604
|
* @memberof ReachContactsApi
|
|
18602
19605
|
*/
|
|
18603
19606
|
deleteAContactV1(uuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
19607
|
+
/**
|
|
19608
|
+
* Permanently delete a contact from a profile. The contact is removed together with its custom field values and tag assignments.
|
|
19609
|
+
* @summary Delete a profile contact
|
|
19610
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19611
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19612
|
+
* @param {*} [options] Override http request option.
|
|
19613
|
+
* @throws {RequiredError}
|
|
19614
|
+
* @memberof ReachContactsApi
|
|
19615
|
+
*/
|
|
19616
|
+
deleteAProfileContactV1(profileUuid: string, contactUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
19617
|
+
/**
|
|
19618
|
+
* Get the full details of a single contact. Alongside the contact\'s own attributes this returns the tags assigned to it and the values it holds for the profile\'s custom contact fields.
|
|
19619
|
+
* @summary Get contact details
|
|
19620
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19621
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19622
|
+
* @param {*} [options] Override http request option.
|
|
19623
|
+
* @throws {RequiredError}
|
|
19624
|
+
* @memberof ReachContactsApi
|
|
19625
|
+
*/
|
|
19626
|
+
getContactDetailsV1(profileUuid: string, contactUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ContactsContactDetailsResource, any, {}, any>>;
|
|
18604
19627
|
/**
|
|
18605
19628
|
* Get a list of all contact groups. This endpoint returns a list of contact groups that can be used to organize contacts.
|
|
18606
19629
|
* @summary List contact groups
|
|
@@ -18611,16 +19634,42 @@ export declare class ReachContactsApi extends BaseAPI {
|
|
|
18611
19634
|
*/
|
|
18612
19635
|
listContactGroupsV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ContactsGroupsContactGroupResource[], any, {}, any>>;
|
|
18613
19636
|
/**
|
|
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.
|
|
19637
|
+
* Get a list of contacts, optionally filtered by group and subscription status. This endpoint returns a paginated list of contacts with their basic information. You can filter contacts by group UUID and subscription status. **Deprecated.** This endpoint cannot target a profile, so it always falls back to the client\'s default profile and cannot list contacts of any other profile. Use `GET /api/reach/v1/profiles/{profileUuid}/contacts` instead, which also replaces the group filter with a tag filter.
|
|
18615
19638
|
* @summary List contacts
|
|
18616
19639
|
* @param {string} [groupUuid] Filter contacts by group UUID
|
|
18617
19640
|
* @param {ListContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
|
|
18618
19641
|
* @param {number} [page] Page number
|
|
18619
19642
|
* @param {*} [options] Override http request option.
|
|
19643
|
+
* @deprecated
|
|
18620
19644
|
* @throws {RequiredError}
|
|
18621
19645
|
* @memberof ReachContactsApi
|
|
18622
19646
|
*/
|
|
18623
19647
|
listContactsV1(groupUuid?: string, subscriptionStatus?: ListContactsV1SubscriptionStatusEnum, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachListContactsV1200Response, any, {}, any>>;
|
|
19648
|
+
/**
|
|
19649
|
+
* Get a paginated list of contacts belonging to a profile. Contacts can be filtered by subscription status, by tag, and by an email search term. The `meta.total` field of the response is the number of contacts matching the filters, so calling this endpoint without filters gives the profile\'s total contact count.
|
|
19650
|
+
* @summary List profile contacts
|
|
19651
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19652
|
+
* @param {ListProfileContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
|
|
19653
|
+
* @param {string} [tagUuid] Filter contacts by tag UUID
|
|
19654
|
+
* @param {string} [search] Search contacts by email
|
|
19655
|
+
* @param {number} [page] Page number
|
|
19656
|
+
* @param {number} [perPage] Number of items per page
|
|
19657
|
+
* @param {*} [options] Override http request option.
|
|
19658
|
+
* @throws {RequiredError}
|
|
19659
|
+
* @memberof ReachContactsApi
|
|
19660
|
+
*/
|
|
19661
|
+
listProfileContactsV1(profileUuid: string, subscriptionStatus?: ListProfileContactsV1SubscriptionStatusEnum, tagUuid?: string, search?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachListProfileContactsV1200Response, any, {}, any>>;
|
|
19662
|
+
/**
|
|
19663
|
+
* Update a contact\'s attributes and custom field values. Only the properties present in the request body are changed, so a partial body is enough to change a single attribute. Sending a property as `null` clears it. The response carries the contact\'s core attributes. Read back its tags, custom field values, source and note with `GET /api/reach/v1/profiles/{profileUuid}/contacts/{contactUuid}`.
|
|
19664
|
+
* @summary Update a contact
|
|
19665
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
19666
|
+
* @param {string} contactUuid Contact uuid parameter
|
|
19667
|
+
* @param {ReachV1ContactsUpdateRequest} reachV1ContactsUpdateRequest
|
|
19668
|
+
* @param {*} [options] Override http request option.
|
|
19669
|
+
* @throws {RequiredError}
|
|
19670
|
+
* @memberof ReachContactsApi
|
|
19671
|
+
*/
|
|
19672
|
+
updateAContactV1(profileUuid: string, contactUuid: string, reachV1ContactsUpdateRequest: ReachV1ContactsUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ContactsProfileContactUpdateResource, any, {}, any>>;
|
|
18624
19673
|
}
|
|
18625
19674
|
/**
|
|
18626
19675
|
* @export
|
|
@@ -18628,8 +19677,20 @@ export declare class ReachContactsApi extends BaseAPI {
|
|
|
18628
19677
|
export declare const ListContactsV1SubscriptionStatusEnum: {
|
|
18629
19678
|
readonly Subscribed: "subscribed";
|
|
18630
19679
|
readonly Unsubscribed: "unsubscribed";
|
|
19680
|
+
readonly Confirmed: "confirmed";
|
|
19681
|
+
readonly Pending: "pending";
|
|
18631
19682
|
};
|
|
18632
19683
|
export type ListContactsV1SubscriptionStatusEnum = typeof ListContactsV1SubscriptionStatusEnum[keyof typeof ListContactsV1SubscriptionStatusEnum];
|
|
19684
|
+
/**
|
|
19685
|
+
* @export
|
|
19686
|
+
*/
|
|
19687
|
+
export declare const ListProfileContactsV1SubscriptionStatusEnum: {
|
|
19688
|
+
readonly Subscribed: "subscribed";
|
|
19689
|
+
readonly Unsubscribed: "unsubscribed";
|
|
19690
|
+
readonly Confirmed: "confirmed";
|
|
19691
|
+
readonly Pending: "pending";
|
|
19692
|
+
};
|
|
19693
|
+
export type ListProfileContactsV1SubscriptionStatusEnum = typeof ListProfileContactsV1SubscriptionStatusEnum[keyof typeof ListProfileContactsV1SubscriptionStatusEnum];
|
|
18633
19694
|
/**
|
|
18634
19695
|
* ReachProfilesApi - axios parameter creator
|
|
18635
19696
|
* @export
|