hostinger-api-sdk 1.27.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 +753 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +384 -1
- package/dist/api.js +674 -4
- 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 +384 -1
- package/dist/esm/api.js +667 -1
- 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/ReachTagsApi.md +483 -0
- package/docs/ReachV1ContactsTagsManageContactsRequest.md +23 -0
- package/docs/ReachV1ContactsTagsStoreRequest.md +21 -0
- package/docs/ReachV1ContactsTagsUpdateRequest.md +21 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/base.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.29.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/common.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.29.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.29.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -48,7 +48,7 @@ export class Configuration {
|
|
|
48
48
|
this.baseOptions = {
|
|
49
49
|
...param.baseOptions,
|
|
50
50
|
headers: {
|
|
51
|
-
'User-Agent': "hostinger-typescript-sdk/1.
|
|
51
|
+
'User-Agent': "hostinger-typescript-sdk/1.28.0",
|
|
52
52
|
...param.baseOptions?.headers,
|
|
53
53
|
},
|
|
54
54
|
};
|
package/dist/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.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
|
|
@@ -8386,6 +8386,38 @@ export interface ReachV1ContactsStoreRequest {
|
|
|
8386
8386
|
*/
|
|
8387
8387
|
'note': string | null;
|
|
8388
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
|
+
}
|
|
8389
8421
|
/**
|
|
8390
8422
|
*
|
|
8391
8423
|
* @export
|
|
@@ -8422,6 +8454,19 @@ export declare const ReachV1ContactsTagsTagResourceTypeEnum: {
|
|
|
8422
8454
|
readonly Custom: "custom";
|
|
8423
8455
|
};
|
|
8424
8456
|
export type ReachV1ContactsTagsTagResourceTypeEnum = typeof ReachV1ContactsTagsTagResourceTypeEnum[keyof typeof ReachV1ContactsTagsTagResourceTypeEnum];
|
|
8457
|
+
/**
|
|
8458
|
+
* Rename a tag
|
|
8459
|
+
* @export
|
|
8460
|
+
* @interface ReachV1ContactsTagsUpdateRequest
|
|
8461
|
+
*/
|
|
8462
|
+
export interface ReachV1ContactsTagsUpdateRequest {
|
|
8463
|
+
/**
|
|
8464
|
+
* New tag name
|
|
8465
|
+
* @type {string}
|
|
8466
|
+
* @memberof ReachV1ContactsTagsUpdateRequest
|
|
8467
|
+
*/
|
|
8468
|
+
'value': string;
|
|
8469
|
+
}
|
|
8425
8470
|
/**
|
|
8426
8471
|
* Fields to change on a contact. Omitted properties are left untouched.
|
|
8427
8472
|
* @export
|
|
@@ -19986,6 +20031,344 @@ export declare class ReachSegmentsApi extends BaseAPI {
|
|
|
19986
20031
|
*/
|
|
19987
20032
|
listSegmentsV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ContactsSegmentsContactSegmentResource[], any, {}, any>>;
|
|
19988
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
|
+
}
|
|
19989
20372
|
/**
|
|
19990
20373
|
* VPSActionsApi - axios parameter creator
|
|
19991
20374
|
* @export
|