@pushwoosh/rpc-v2-http-api-data 0.2.519 → 0.2.521
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/data.js +238 -1
- package/integrations.d.ts +97 -1
- package/package.json +1 -1
package/data.js
CHANGED
|
@@ -23645,6 +23645,60 @@ export const data = {
|
|
|
23645
23645
|
"method": "delete",
|
|
23646
23646
|
"path": "/api/integrations/snap/ad-accounts/{ad_account_id}/audiences/{audience_id}"
|
|
23647
23647
|
},
|
|
23648
|
+
"GetTikTokAuthURL": {
|
|
23649
|
+
"request": "pushwoosh.rpc_v2.integrations.GetTikTokAuthURLRequest",
|
|
23650
|
+
"response": "pushwoosh.rpc_v2.integrations.GetTikTokAuthURLResponse",
|
|
23651
|
+
"method": "get",
|
|
23652
|
+
"path": "/api/integrations/tiktok/auth"
|
|
23653
|
+
},
|
|
23654
|
+
"GetTikTokConfiguration": {
|
|
23655
|
+
"request": "pushwoosh.rpc_v2.integrations.GetTikTokConfigurationRequest",
|
|
23656
|
+
"response": "pushwoosh.rpc_v2.integrations.GetTikTokConfigurationResponse",
|
|
23657
|
+
"method": "get",
|
|
23658
|
+
"path": "/api/integrations/configurations/tiktok"
|
|
23659
|
+
},
|
|
23660
|
+
"DeleteTikTokConfiguration": {
|
|
23661
|
+
"request": "pushwoosh.rpc_v2.integrations.DeleteTikTokConfigurationRequest",
|
|
23662
|
+
"response": "pushwoosh.rpc_v2.integrations.DeleteTikTokConfigurationResponse",
|
|
23663
|
+
"method": "delete",
|
|
23664
|
+
"path": "/api/integrations/configurations/tiktok"
|
|
23665
|
+
},
|
|
23666
|
+
"ListTikTokAdAccounts": {
|
|
23667
|
+
"request": "pushwoosh.rpc_v2.integrations.ListTikTokAdAccountsRequest",
|
|
23668
|
+
"response": "pushwoosh.rpc_v2.integrations.ListTikTokAdAccountsResponse",
|
|
23669
|
+
"method": "get",
|
|
23670
|
+
"path": "/api/integrations/tiktok/ad-accounts"
|
|
23671
|
+
},
|
|
23672
|
+
"ConnectTikTokAdAccounts": {
|
|
23673
|
+
"request": "pushwoosh.rpc_v2.integrations.ConnectTikTokAdAccountsRequest",
|
|
23674
|
+
"response": "pushwoosh.rpc_v2.integrations.ConnectTikTokAdAccountsResponse",
|
|
23675
|
+
"method": "post",
|
|
23676
|
+
"path": "/api/integrations/tiktok/ad-accounts/connect"
|
|
23677
|
+
},
|
|
23678
|
+
"DisconnectTikTokAdAccounts": {
|
|
23679
|
+
"request": "pushwoosh.rpc_v2.integrations.DisconnectTikTokAdAccountsRequest",
|
|
23680
|
+
"response": "pushwoosh.rpc_v2.integrations.DisconnectTikTokAdAccountsResponse",
|
|
23681
|
+
"method": "post",
|
|
23682
|
+
"path": "/api/integrations/tiktok/ad-accounts/disconnect"
|
|
23683
|
+
},
|
|
23684
|
+
"ListTikTokAudiences": {
|
|
23685
|
+
"request": "pushwoosh.rpc_v2.integrations.ListTikTokAudiencesRequest",
|
|
23686
|
+
"response": "pushwoosh.rpc_v2.integrations.ListTikTokAudiencesResponse",
|
|
23687
|
+
"method": "get",
|
|
23688
|
+
"path": "/api/integrations/tiktok/ad-accounts/{ad_account_id}/audiences"
|
|
23689
|
+
},
|
|
23690
|
+
"CreateTikTokAudience": {
|
|
23691
|
+
"request": "pushwoosh.rpc_v2.integrations.CreateTikTokAudienceRequest",
|
|
23692
|
+
"response": "pushwoosh.rpc_v2.integrations.CreateTikTokAudienceResponse",
|
|
23693
|
+
"method": "post",
|
|
23694
|
+
"path": "/api/integrations/tiktok/ad-accounts/{ad_account_id}/audiences"
|
|
23695
|
+
},
|
|
23696
|
+
"DeleteTikTokAudience": {
|
|
23697
|
+
"request": "pushwoosh.rpc_v2.integrations.DeleteTikTokAudienceRequest",
|
|
23698
|
+
"response": "pushwoosh.rpc_v2.integrations.DeleteTikTokAudienceResponse",
|
|
23699
|
+
"method": "delete",
|
|
23700
|
+
"path": "/api/integrations/tiktok/ad-accounts/{ad_account_id}/audiences/{audience_id}"
|
|
23701
|
+
},
|
|
23648
23702
|
"SetMetaTagMapping": {
|
|
23649
23703
|
"request": "pushwoosh.rpc_v2.integrations.SetMetaTagMappingRequest",
|
|
23650
23704
|
"response": "pushwoosh.rpc_v2.integrations.SetMetaTagMappingResponse",
|
|
@@ -23738,7 +23792,8 @@ export const data = {
|
|
|
23738
23792
|
"DYNAMICS",
|
|
23739
23793
|
"GOOGLE_ADS",
|
|
23740
23794
|
"FLIGHT_STATUS",
|
|
23741
|
-
"SNAP"
|
|
23795
|
+
"SNAP",
|
|
23796
|
+
"TIKTOK"
|
|
23742
23797
|
]
|
|
23743
23798
|
},
|
|
23744
23799
|
"pushwoosh.rpc_v2.integrations.ImportSegmentPianoRequest": {
|
|
@@ -25070,6 +25125,188 @@ export const data = {
|
|
|
25070
25125
|
}
|
|
25071
25126
|
}
|
|
25072
25127
|
},
|
|
25128
|
+
"pushwoosh.rpc_v2.integrations.TikTokAdAccountStatus": {
|
|
25129
|
+
"type": "E",
|
|
25130
|
+
"values": [
|
|
25131
|
+
"TIKTOK_AD_ACCOUNT_STATUS_UNSPECIFIED",
|
|
25132
|
+
"TIKTOK_AD_ACCOUNT_STATUS_CONNECTED",
|
|
25133
|
+
"TIKTOK_AD_ACCOUNT_STATUS_DISCONNECTED"
|
|
25134
|
+
]
|
|
25135
|
+
},
|
|
25136
|
+
"pushwoosh.rpc_v2.integrations.TikTokAdAccount": {
|
|
25137
|
+
"type": "I",
|
|
25138
|
+
"fields": {
|
|
25139
|
+
"id": {
|
|
25140
|
+
"type": "string"
|
|
25141
|
+
},
|
|
25142
|
+
"name": {
|
|
25143
|
+
"type": "string"
|
|
25144
|
+
},
|
|
25145
|
+
"status": {
|
|
25146
|
+
"type": "pushwoosh.rpc_v2.integrations.TikTokAdAccountStatus"
|
|
25147
|
+
}
|
|
25148
|
+
}
|
|
25149
|
+
},
|
|
25150
|
+
"pushwoosh.rpc_v2.integrations.GetTikTokAuthURLRequest": {
|
|
25151
|
+
"type": "I",
|
|
25152
|
+
"fields": {
|
|
25153
|
+
"returnTo": {
|
|
25154
|
+
"type": "string"
|
|
25155
|
+
}
|
|
25156
|
+
}
|
|
25157
|
+
},
|
|
25158
|
+
"pushwoosh.rpc_v2.integrations.GetTikTokAuthURLResponse": {
|
|
25159
|
+
"type": "I",
|
|
25160
|
+
"fields": {
|
|
25161
|
+
"authUrl": {
|
|
25162
|
+
"type": "string"
|
|
25163
|
+
}
|
|
25164
|
+
}
|
|
25165
|
+
},
|
|
25166
|
+
"pushwoosh.rpc_v2.integrations.GetTikTokConfigurationRequest": {
|
|
25167
|
+
"type": "I",
|
|
25168
|
+
"fields": {}
|
|
25169
|
+
},
|
|
25170
|
+
"pushwoosh.rpc_v2.integrations.GetTikTokConfigurationResponse": {
|
|
25171
|
+
"type": "I",
|
|
25172
|
+
"fields": {
|
|
25173
|
+
"connected": {
|
|
25174
|
+
"type": "boolean"
|
|
25175
|
+
},
|
|
25176
|
+
"identity": {
|
|
25177
|
+
"type": "string"
|
|
25178
|
+
},
|
|
25179
|
+
"adAccounts": {
|
|
25180
|
+
"type": "pushwoosh.rpc_v2.integrations.TikTokAdAccount",
|
|
25181
|
+
"array": true
|
|
25182
|
+
}
|
|
25183
|
+
}
|
|
25184
|
+
},
|
|
25185
|
+
"pushwoosh.rpc_v2.integrations.DeleteTikTokConfigurationRequest": {
|
|
25186
|
+
"type": "I",
|
|
25187
|
+
"fields": {}
|
|
25188
|
+
},
|
|
25189
|
+
"pushwoosh.rpc_v2.integrations.DeleteTikTokConfigurationResponse": {
|
|
25190
|
+
"type": "I",
|
|
25191
|
+
"fields": {}
|
|
25192
|
+
},
|
|
25193
|
+
"pushwoosh.rpc_v2.integrations.ListTikTokAdAccountsRequest": {
|
|
25194
|
+
"type": "I",
|
|
25195
|
+
"fields": {}
|
|
25196
|
+
},
|
|
25197
|
+
"pushwoosh.rpc_v2.integrations.ListTikTokAdAccountsResponse": {
|
|
25198
|
+
"type": "I",
|
|
25199
|
+
"fields": {
|
|
25200
|
+
"adAccounts": {
|
|
25201
|
+
"type": "pushwoosh.rpc_v2.integrations.TikTokAdAccount",
|
|
25202
|
+
"array": true
|
|
25203
|
+
}
|
|
25204
|
+
}
|
|
25205
|
+
},
|
|
25206
|
+
"pushwoosh.rpc_v2.integrations.ConnectTikTokAdAccountsRequest": {
|
|
25207
|
+
"type": "I",
|
|
25208
|
+
"fields": {
|
|
25209
|
+
"adAccountIds": {
|
|
25210
|
+
"type": "string",
|
|
25211
|
+
"array": true
|
|
25212
|
+
}
|
|
25213
|
+
}
|
|
25214
|
+
},
|
|
25215
|
+
"pushwoosh.rpc_v2.integrations.ConnectTikTokAdAccountsResponse": {
|
|
25216
|
+
"type": "I",
|
|
25217
|
+
"fields": {
|
|
25218
|
+
"adAccounts": {
|
|
25219
|
+
"type": "pushwoosh.rpc_v2.integrations.TikTokAdAccount",
|
|
25220
|
+
"array": true
|
|
25221
|
+
}
|
|
25222
|
+
}
|
|
25223
|
+
},
|
|
25224
|
+
"pushwoosh.rpc_v2.integrations.DisconnectTikTokAdAccountsRequest": {
|
|
25225
|
+
"type": "I",
|
|
25226
|
+
"fields": {
|
|
25227
|
+
"adAccountIds": {
|
|
25228
|
+
"type": "string",
|
|
25229
|
+
"array": true
|
|
25230
|
+
}
|
|
25231
|
+
}
|
|
25232
|
+
},
|
|
25233
|
+
"pushwoosh.rpc_v2.integrations.TikTokAudience": {
|
|
25234
|
+
"type": "I",
|
|
25235
|
+
"fields": {
|
|
25236
|
+
"id": {
|
|
25237
|
+
"type": "string"
|
|
25238
|
+
},
|
|
25239
|
+
"name": {
|
|
25240
|
+
"type": "string"
|
|
25241
|
+
},
|
|
25242
|
+
"approximateCount": {
|
|
25243
|
+
"type": "number"
|
|
25244
|
+
}
|
|
25245
|
+
}
|
|
25246
|
+
},
|
|
25247
|
+
"pushwoosh.rpc_v2.integrations.ListTikTokAudiencesRequest": {
|
|
25248
|
+
"type": "I",
|
|
25249
|
+
"fields": {
|
|
25250
|
+
"adAccountId": {
|
|
25251
|
+
"type": "string"
|
|
25252
|
+
}
|
|
25253
|
+
}
|
|
25254
|
+
},
|
|
25255
|
+
"pushwoosh.rpc_v2.integrations.ListTikTokAudiencesResponse": {
|
|
25256
|
+
"type": "I",
|
|
25257
|
+
"fields": {
|
|
25258
|
+
"audiences": {
|
|
25259
|
+
"type": "pushwoosh.rpc_v2.integrations.TikTokAudience",
|
|
25260
|
+
"array": true
|
|
25261
|
+
}
|
|
25262
|
+
}
|
|
25263
|
+
},
|
|
25264
|
+
"pushwoosh.rpc_v2.integrations.CreateTikTokAudienceRequest": {
|
|
25265
|
+
"type": "I",
|
|
25266
|
+
"fields": {
|
|
25267
|
+
"adAccountId": {
|
|
25268
|
+
"type": "string"
|
|
25269
|
+
},
|
|
25270
|
+
"name": {
|
|
25271
|
+
"type": "string"
|
|
25272
|
+
},
|
|
25273
|
+
"description": {
|
|
25274
|
+
"type": "string"
|
|
25275
|
+
}
|
|
25276
|
+
}
|
|
25277
|
+
},
|
|
25278
|
+
"pushwoosh.rpc_v2.integrations.CreateTikTokAudienceResponse": {
|
|
25279
|
+
"type": "I",
|
|
25280
|
+
"fields": {
|
|
25281
|
+
"audience": {
|
|
25282
|
+
"type": "pushwoosh.rpc_v2.integrations.TikTokAudience"
|
|
25283
|
+
}
|
|
25284
|
+
}
|
|
25285
|
+
},
|
|
25286
|
+
"pushwoosh.rpc_v2.integrations.DeleteTikTokAudienceRequest": {
|
|
25287
|
+
"type": "I",
|
|
25288
|
+
"fields": {
|
|
25289
|
+
"adAccountId": {
|
|
25290
|
+
"type": "string"
|
|
25291
|
+
},
|
|
25292
|
+
"audienceId": {
|
|
25293
|
+
"type": "string"
|
|
25294
|
+
}
|
|
25295
|
+
}
|
|
25296
|
+
},
|
|
25297
|
+
"pushwoosh.rpc_v2.integrations.DeleteTikTokAudienceResponse": {
|
|
25298
|
+
"type": "I",
|
|
25299
|
+
"fields": {}
|
|
25300
|
+
},
|
|
25301
|
+
"pushwoosh.rpc_v2.integrations.DisconnectTikTokAdAccountsResponse": {
|
|
25302
|
+
"type": "I",
|
|
25303
|
+
"fields": {
|
|
25304
|
+
"adAccounts": {
|
|
25305
|
+
"type": "pushwoosh.rpc_v2.integrations.TikTokAdAccount",
|
|
25306
|
+
"array": true
|
|
25307
|
+
}
|
|
25308
|
+
}
|
|
25309
|
+
},
|
|
25073
25310
|
"pushwoosh.rpc_v2.integrations.FlightStatusConfiguration": {
|
|
25074
25311
|
"type": "I",
|
|
25075
25312
|
"fields": {
|
package/integrations.d.ts
CHANGED
|
@@ -47,6 +47,15 @@ export type IntegrationsService_DisconnectSnapAdAccounts = RpcMethod<DisconnectS
|
|
|
47
47
|
export type IntegrationsService_ListSnapAudiences = RpcMethod<ListSnapAudiencesRequest, ListSnapAudiencesResponse>;
|
|
48
48
|
export type IntegrationsService_CreateSnapAudience = RpcMethod<CreateSnapAudienceRequest, CreateSnapAudienceResponse>;
|
|
49
49
|
export type IntegrationsService_DeleteSnapAudience = RpcMethod<DeleteSnapAudienceRequest, DeleteSnapAudienceResponse>;
|
|
50
|
+
export type IntegrationsService_GetTikTokAuthURL = RpcMethod<GetTikTokAuthURLRequest, GetTikTokAuthURLResponse>;
|
|
51
|
+
export type IntegrationsService_GetTikTokConfiguration = RpcMethod<GetTikTokConfigurationRequest, GetTikTokConfigurationResponse>;
|
|
52
|
+
export type IntegrationsService_DeleteTikTokConfiguration = RpcMethod<DeleteTikTokConfigurationRequest, DeleteTikTokConfigurationResponse>;
|
|
53
|
+
export type IntegrationsService_ListTikTokAdAccounts = RpcMethod<ListTikTokAdAccountsRequest, ListTikTokAdAccountsResponse>;
|
|
54
|
+
export type IntegrationsService_ConnectTikTokAdAccounts = RpcMethod<ConnectTikTokAdAccountsRequest, ConnectTikTokAdAccountsResponse>;
|
|
55
|
+
export type IntegrationsService_DisconnectTikTokAdAccounts = RpcMethod<DisconnectTikTokAdAccountsRequest, DisconnectTikTokAdAccountsResponse>;
|
|
56
|
+
export type IntegrationsService_ListTikTokAudiences = RpcMethod<ListTikTokAudiencesRequest, ListTikTokAudiencesResponse>;
|
|
57
|
+
export type IntegrationsService_CreateTikTokAudience = RpcMethod<CreateTikTokAudienceRequest, CreateTikTokAudienceResponse>;
|
|
58
|
+
export type IntegrationsService_DeleteTikTokAudience = RpcMethod<DeleteTikTokAudienceRequest, DeleteTikTokAudienceResponse>;
|
|
50
59
|
export type IntegrationsService_SetMetaTagMapping = RpcMethod<SetMetaTagMappingRequest, SetMetaTagMappingResponse>;
|
|
51
60
|
export type IntegrationsService_GetGoogleBQConfiguration = RpcMethod<GetGoogleBQConfigurationRequest, GetGoogleBQConfigurationResponse>;
|
|
52
61
|
export type IntegrationsService_CreateGoogleBQConfiguration = RpcMethod<CreateGoogleBQConfigurationRequest, CreateGoogleBQConfigurationResponse>;
|
|
@@ -189,6 +198,27 @@ export interface IntegrationsService {
|
|
|
189
198
|
CreateSnapAudience: IntegrationsService_CreateSnapAudience;
|
|
190
199
|
/** Deletes a first-party (customer list) segment at Snap. Removal is permanent and every journey audience sync step pointing at the segment stops working, so ask the user first. */
|
|
191
200
|
DeleteSnapAudience: IntegrationsService_DeleteSnapAudience;
|
|
201
|
+
/**
|
|
202
|
+
* tiktok
|
|
203
|
+
* Builds the TikTok for Business authorization URL to start connecting a TikTok for Business account. The consent flow is owned by integration-oauth, which stores the grant and sends the browser back to return_to — there is no callback method here.
|
|
204
|
+
*/
|
|
205
|
+
GetTikTokAuthURL: IntegrationsService_GetTikTokAuthURL;
|
|
206
|
+
/** Returns the TikTok integration configuration for the current account: whether it is connected, the identity behind the grant and the connected ad accounts. Use to inspect the current TikTok connection state. */
|
|
207
|
+
GetTikTokConfiguration: IntegrationsService_GetTikTokConfiguration;
|
|
208
|
+
/** Removes the entire TikTok connection for the current account: the chosen ad accounts and the OAuth grant itself. Use to fully disconnect; not recoverable without reconnecting. */
|
|
209
|
+
DeleteTikTokConfiguration: IntegrationsService_DeleteTikTokConfiguration;
|
|
210
|
+
/** Lists the TikTok advertisers the connection can reach, each marked as connected or not. Use to discover ad accounts before connecting them with connect_tiktok_ad_accounts. */
|
|
211
|
+
ListTikTokAdAccounts: IntegrationsService_ListTikTokAdAccounts;
|
|
212
|
+
/** Connects the given TikTok advertisers by id. Ids the connection cannot reach are refused, so an account cannot be stored that would only fail later at send time. */
|
|
213
|
+
ConnectTikTokAdAccounts: IntegrationsService_ConnectTikTokAdAccounts;
|
|
214
|
+
/** Disconnects the given TikTok advertisers by id while keeping the OAuth grant. Use to remove specific ad accounts; to drop the whole connection use delete_tiktok_integration. */
|
|
215
|
+
DisconnectTikTokAdAccounts: IntegrationsService_DisconnectTikTokAdAccounts;
|
|
216
|
+
/** Lists the audience segments of a connected TikTok ad account. Use to pick an audience for a journey audience sync point, or to see what create_tiktok_audience produced. */
|
|
217
|
+
ListTikTokAudiences: IntegrationsService_ListTikTokAudiences;
|
|
218
|
+
/** Creates an audience segment on a connected TikTok ad account. Use before syncing users: an upload targets a segment that already exists. */
|
|
219
|
+
CreateTikTokAudience: IntegrationsService_CreateTikTokAudience;
|
|
220
|
+
/** Deletes an audience segment at TikTok. Removal is permanent and every journey audience sync step pointing at the segment stops working, so ask the user first. */
|
|
221
|
+
DeleteTikTokAudience: IntegrationsService_DeleteTikTokAudience;
|
|
192
222
|
/** Overwrites the mapping between Pushwoosh tags and Meta custom-audience fields for the current account. Use to define which PW tags sync to Meta audiences; replaces the entire mapping. */
|
|
193
223
|
SetMetaTagMapping: IntegrationsService_SetMetaTagMapping;
|
|
194
224
|
/**
|
|
@@ -223,7 +253,7 @@ export interface IntegrationsService {
|
|
|
223
253
|
DeleteFlightStatusSubscription: IntegrationsService_DeleteFlightStatusSubscription;
|
|
224
254
|
}
|
|
225
255
|
/** Integration contains all available integration for clients (to update props) */
|
|
226
|
-
export type Integration = 'UNKNOWN' | 'SEGMENT' | 'PIANO' | 'WEBHOOK' | 'HUBSPOT' | 'SHOPIFY' | 'STRIPE' | 'META' | 'INBOUND_WEBHOOK' | 'GOOGLE_BQ' | 'GOOGLE' | 'AZURE' | 'SALESFORCE' | 'DYNAMICS' | 'GOOGLE_ADS' | 'FLIGHT_STATUS' | 'SNAP';
|
|
256
|
+
export type Integration = 'UNKNOWN' | 'SEGMENT' | 'PIANO' | 'WEBHOOK' | 'HUBSPOT' | 'SHOPIFY' | 'STRIPE' | 'META' | 'INBOUND_WEBHOOK' | 'GOOGLE_BQ' | 'GOOGLE' | 'AZURE' | 'SALESFORCE' | 'DYNAMICS' | 'GOOGLE_ADS' | 'FLIGHT_STATUS' | 'SNAP' | 'TIKTOK';
|
|
227
257
|
export type ImportSegmentPianoRequest = {
|
|
228
258
|
/** application code */
|
|
229
259
|
application?: string;
|
|
@@ -773,6 +803,72 @@ export type DeleteSnapAudienceResponse = {};
|
|
|
773
803
|
export type DisconnectSnapAdAccountsResponse = {
|
|
774
804
|
adAccounts: SnapAdAccount[];
|
|
775
805
|
};
|
|
806
|
+
export type TikTokAdAccountStatus = 'TIKTOK_AD_ACCOUNT_STATUS_UNSPECIFIED' | 'TIKTOK_AD_ACCOUNT_STATUS_CONNECTED' | 'TIKTOK_AD_ACCOUNT_STATUS_DISCONNECTED';
|
|
807
|
+
export type TikTokAdAccount = {
|
|
808
|
+
/** TikTok customer id, digits only */
|
|
809
|
+
id: string;
|
|
810
|
+
name: string;
|
|
811
|
+
status: TikTokAdAccountStatus;
|
|
812
|
+
};
|
|
813
|
+
export type GetTikTokAuthURLRequest = {
|
|
814
|
+
/** where the browser lands once the connection is stored */
|
|
815
|
+
returnTo?: string;
|
|
816
|
+
};
|
|
817
|
+
export type GetTikTokAuthURLResponse = {
|
|
818
|
+
authUrl: string;
|
|
819
|
+
};
|
|
820
|
+
export type GetTikTokConfigurationRequest = {};
|
|
821
|
+
export type GetTikTokConfigurationResponse = {
|
|
822
|
+
connected: boolean;
|
|
823
|
+
/** empty: TikTok issues no identity with the grant */
|
|
824
|
+
identity: string;
|
|
825
|
+
adAccounts: TikTokAdAccount[];
|
|
826
|
+
};
|
|
827
|
+
export type DeleteTikTokConfigurationRequest = {};
|
|
828
|
+
export type DeleteTikTokConfigurationResponse = {};
|
|
829
|
+
export type ListTikTokAdAccountsRequest = {};
|
|
830
|
+
export type ListTikTokAdAccountsResponse = {
|
|
831
|
+
adAccounts: TikTokAdAccount[];
|
|
832
|
+
};
|
|
833
|
+
export type ConnectTikTokAdAccountsRequest = {
|
|
834
|
+
adAccountIds?: string[];
|
|
835
|
+
};
|
|
836
|
+
export type ConnectTikTokAdAccountsResponse = {
|
|
837
|
+
adAccounts: TikTokAdAccount[];
|
|
838
|
+
};
|
|
839
|
+
export type DisconnectTikTokAdAccountsRequest = {
|
|
840
|
+
adAccountIds?: string[];
|
|
841
|
+
};
|
|
842
|
+
/** TikTokAudience is a audience segment on an ad account. */
|
|
843
|
+
export type TikTokAudience = {
|
|
844
|
+
id: string;
|
|
845
|
+
name: string;
|
|
846
|
+
/** TikTok's cover_num, 0 until matching runs (up to 48 hours) */
|
|
847
|
+
approximateCount: number;
|
|
848
|
+
};
|
|
849
|
+
export type ListTikTokAudiencesRequest = {
|
|
850
|
+
adAccountId?: string;
|
|
851
|
+
};
|
|
852
|
+
export type ListTikTokAudiencesResponse = {
|
|
853
|
+
audiences: TikTokAudience[];
|
|
854
|
+
};
|
|
855
|
+
export type CreateTikTokAudienceRequest = {
|
|
856
|
+
adAccountId?: string;
|
|
857
|
+
name?: string;
|
|
858
|
+
/** optional, the integration fills its own default when empty */
|
|
859
|
+
description?: string;
|
|
860
|
+
};
|
|
861
|
+
export type CreateTikTokAudienceResponse = {
|
|
862
|
+
audience: TikTokAudience;
|
|
863
|
+
};
|
|
864
|
+
export type DeleteTikTokAudienceRequest = {
|
|
865
|
+
adAccountId?: string;
|
|
866
|
+
audienceId?: string;
|
|
867
|
+
};
|
|
868
|
+
export type DeleteTikTokAudienceResponse = {};
|
|
869
|
+
export type DisconnectTikTokAdAccountsResponse = {
|
|
870
|
+
adAccounts: TikTokAdAccount[];
|
|
871
|
+
};
|
|
776
872
|
export type FlightStatusConfiguration = {
|
|
777
873
|
provider: string;
|
|
778
874
|
apiKey: string;
|