@segment/action-destinations 3.133.1-tiktok-append-id.26 → 3.134.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/dist/destinations/engage-messaging-twilio/sendSms/sms-sender.d.ts +5 -0
- package/dist/destinations/engage-messaging-twilio/sendSms/sms-sender.js +1 -0
- package/dist/destinations/engage-messaging-twilio/sendSms/sms-sender.js.map +1 -1
- package/dist/destinations/engage-messaging-twilio/sendWhatsApp/generated-types.d.ts +1 -0
- package/dist/destinations/engage-messaging-twilio/sendWhatsApp/index.js +8 -0
- package/dist/destinations/engage-messaging-twilio/sendWhatsApp/index.js.map +1 -1
- package/dist/destinations/engage-messaging-twilio/sendWhatsApp/whatsapp-sender.d.ts +6 -0
- package/dist/destinations/engage-messaging-twilio/sendWhatsApp/whatsapp-sender.js +5 -1
- package/dist/destinations/engage-messaging-twilio/sendWhatsApp/whatsapp-sender.js.map +1 -1
- package/dist/destinations/engage-messaging-twilio/utils/message-sender.d.ts +1 -0
- package/dist/destinations/engage-messaging-twilio/utils/message-sender.js +1 -1
- package/dist/destinations/engage-messaging-twilio/utils/message-sender.js.map +1 -1
- package/dist/destinations/google-analytics-4/addPaymentInfo/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/addPaymentInfo/index.js +10 -6
- package/dist/destinations/google-analytics-4/addPaymentInfo/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/addToCart/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/addToCart/index.js +10 -6
- package/dist/destinations/google-analytics-4/addToCart/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/addToWishlist/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/addToWishlist/index.js +10 -6
- package/dist/destinations/google-analytics-4/addToWishlist/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/beginCheckout/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/beginCheckout/index.js +10 -6
- package/dist/destinations/google-analytics-4/beginCheckout/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/customEvent/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/customEvent/index.js +10 -6
- package/dist/destinations/google-analytics-4/customEvent/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/ga4-functions.d.ts +7 -0
- package/dist/destinations/google-analytics-4/ga4-functions.js +38 -1
- package/dist/destinations/google-analytics-4/ga4-functions.js.map +1 -1
- package/dist/destinations/google-analytics-4/ga4-properties.d.ts +2 -0
- package/dist/destinations/google-analytics-4/ga4-properties.js +17 -3
- package/dist/destinations/google-analytics-4/ga4-properties.js.map +1 -1
- package/dist/destinations/google-analytics-4/ga4-types.d.ts +14 -0
- package/dist/destinations/google-analytics-4/ga4-types.js +6 -0
- package/dist/destinations/google-analytics-4/ga4-types.js.map +1 -1
- package/dist/destinations/google-analytics-4/generateLead/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/generateLead/index.js +10 -6
- package/dist/destinations/google-analytics-4/generateLead/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/generated-types.d.ts +2 -1
- package/dist/destinations/google-analytics-4/index.js +15 -10
- package/dist/destinations/google-analytics-4/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/login/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/login/index.js +10 -6
- package/dist/destinations/google-analytics-4/login/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/pageView/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/pageView/index.js +10 -6
- package/dist/destinations/google-analytics-4/pageView/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/purchase/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/purchase/index.js +10 -6
- package/dist/destinations/google-analytics-4/purchase/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/refund/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/refund/index.js +10 -6
- package/dist/destinations/google-analytics-4/refund/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/removeFromCart/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/removeFromCart/index.js +10 -6
- package/dist/destinations/google-analytics-4/removeFromCart/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/search/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/search/index.js +10 -6
- package/dist/destinations/google-analytics-4/search/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/selectItem/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/selectItem/index.js +10 -6
- package/dist/destinations/google-analytics-4/selectItem/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/selectPromotion/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/selectPromotion/index.js +10 -6
- package/dist/destinations/google-analytics-4/selectPromotion/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/signUp/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/signUp/index.js +10 -6
- package/dist/destinations/google-analytics-4/signUp/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/viewCart/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/viewCart/index.js +10 -6
- package/dist/destinations/google-analytics-4/viewCart/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/viewItem/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/viewItem/index.js +10 -6
- package/dist/destinations/google-analytics-4/viewItem/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/viewItemList/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/viewItemList/index.js +10 -6
- package/dist/destinations/google-analytics-4/viewItemList/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/viewPromotion/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/viewPromotion/index.js +10 -6
- package/dist/destinations/google-analytics-4/viewPromotion/index.js.map +1 -1
- package/dist/destinations/index.js +0 -1
- package/dist/destinations/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/destinations/tiktok-audiences/addUser/generated-types.d.ts +0 -12
- package/dist/destinations/tiktok-audiences/addUser/generated-types.js +0 -3
- package/dist/destinations/tiktok-audiences/addUser/generated-types.js.map +0 -1
- package/dist/destinations/tiktok-audiences/addUser/index.d.ts +0 -5
- package/dist/destinations/tiktok-audiences/addUser/index.js +0 -47
- package/dist/destinations/tiktok-audiences/addUser/index.js.map +0 -1
- package/dist/destinations/tiktok-audiences/api/api.test.d.ts +0 -1
- package/dist/destinations/tiktok-audiences/api/api.test.js +0 -118
- package/dist/destinations/tiktok-audiences/api/api.test.js.map +0 -1
- package/dist/destinations/tiktok-audiences/api/index.d.ts +0 -13
- package/dist/destinations/tiktok-audiences/api/index.js +0 -100
- package/dist/destinations/tiktok-audiences/api/index.js.map +0 -1
- package/dist/destinations/tiktok-audiences/constants.d.ts +0 -2
- package/dist/destinations/tiktok-audiences/constants.js +0 -6
- package/dist/destinations/tiktok-audiences/constants.js.map +0 -1
- package/dist/destinations/tiktok-audiences/functions.d.ts +0 -16
- package/dist/destinations/tiktok-audiences/functions.js +0 -124
- package/dist/destinations/tiktok-audiences/functions.js.map +0 -1
- package/dist/destinations/tiktok-audiences/generated-types.d.ts +0 -3
- package/dist/destinations/tiktok-audiences/generated-types.js +0 -3
- package/dist/destinations/tiktok-audiences/generated-types.js.map +0 -1
- package/dist/destinations/tiktok-audiences/index.d.ts +0 -4
- package/dist/destinations/tiktok-audiences/index.js +0 -38
- package/dist/destinations/tiktok-audiences/index.js.map +0 -1
- package/dist/destinations/tiktok-audiences/properties.d.ts +0 -11
- package/dist/destinations/tiktok-audiences/properties.js +0 -80
- package/dist/destinations/tiktok-audiences/properties.js.map +0 -1
- package/dist/destinations/tiktok-audiences/removeUser/generated-types.d.ts +0 -12
- package/dist/destinations/tiktok-audiences/removeUser/generated-types.js +0 -3
- package/dist/destinations/tiktok-audiences/removeUser/generated-types.js.map +0 -1
- package/dist/destinations/tiktok-audiences/removeUser/index.d.ts +0 -5
- package/dist/destinations/tiktok-audiences/removeUser/index.js +0 -47
- package/dist/destinations/tiktok-audiences/removeUser/index.js.map +0 -1
- package/dist/destinations/tiktok-audiences/types.d.ts +0 -33
- package/dist/destinations/tiktok-audiences/types.js +0 -3
- package/dist/destinations/tiktok-audiences/types.js.map +0 -1
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.personas_audience_key = exports.enable_batching = exports.event_name = exports.send_advertising_id = exports.advertising_id = exports.send_email = exports.email = exports.id_type = exports.custom_audience_name = exports.selected_advertiser_id = void 0;
|
|
4
|
-
exports.selected_advertiser_id = {
|
|
5
|
-
label: 'Advertiser ID',
|
|
6
|
-
description: 'The advertiser ID to use when syncing audiences.',
|
|
7
|
-
type: 'string',
|
|
8
|
-
dynamic: true,
|
|
9
|
-
required: true
|
|
10
|
-
};
|
|
11
|
-
exports.custom_audience_name = {
|
|
12
|
-
label: 'Custom Audience Name',
|
|
13
|
-
description: 'Custom audience name of audience to be created. Please note that names over 70 characters will be truncated to 67 characters with "..." appended. This field is set only when Segment creates a new audience. Updating this field after Segment has created an audience will not update the audience name in TikTok.',
|
|
14
|
-
type: 'string',
|
|
15
|
-
default: {
|
|
16
|
-
'@path': '$.properties.audience_key'
|
|
17
|
-
},
|
|
18
|
-
required: true
|
|
19
|
-
};
|
|
20
|
-
exports.id_type = {
|
|
21
|
-
label: 'ID Type',
|
|
22
|
-
description: 'Encryption type to be used for populating the audience. This field is set only when Segment creates a new audience.',
|
|
23
|
-
type: 'string',
|
|
24
|
-
choices: [
|
|
25
|
-
{ label: 'Email', value: 'EMAIL_SHA256' },
|
|
26
|
-
{ label: 'Phone', value: 'PHONE_SHA256' },
|
|
27
|
-
{ label: 'Google Advertising ID', value: 'GAID_SHA256' },
|
|
28
|
-
{ label: 'Android Advertising ID', value: 'AAID_SHA256' },
|
|
29
|
-
{ label: 'iOS Advertising ID', value: 'IDFA_SHA256' }
|
|
30
|
-
],
|
|
31
|
-
required: true
|
|
32
|
-
};
|
|
33
|
-
exports.email = {
|
|
34
|
-
label: 'User Email',
|
|
35
|
-
description: "The user's email address to send to TikTok.",
|
|
36
|
-
type: 'hidden',
|
|
37
|
-
default: {
|
|
38
|
-
'@path': '$.context.traits.email'
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
exports.send_email = {
|
|
42
|
-
label: 'Send Email',
|
|
43
|
-
description: 'Send email to TikTok. Segment will hash this value before sending',
|
|
44
|
-
type: 'boolean',
|
|
45
|
-
default: true
|
|
46
|
-
};
|
|
47
|
-
exports.advertising_id = {
|
|
48
|
-
label: 'User Advertising ID',
|
|
49
|
-
description: "The user's mobile dvertising ID to send to TikTok. This could be a GAID, IDFA, or AAID",
|
|
50
|
-
type: 'hidden',
|
|
51
|
-
default: {
|
|
52
|
-
'@path': '$.context.device.advertisingId'
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
exports.send_advertising_id = {
|
|
56
|
-
label: 'Send Mobile Advertising ID',
|
|
57
|
-
description: 'Send mobile advertising ID (IDFA, AAID or GAID) to TikTok. Segment will hash this value before sending.',
|
|
58
|
-
type: 'boolean',
|
|
59
|
-
default: true
|
|
60
|
-
};
|
|
61
|
-
exports.event_name = {
|
|
62
|
-
label: 'Event Name',
|
|
63
|
-
description: 'The name of the current Segment event.',
|
|
64
|
-
type: 'hidden',
|
|
65
|
-
default: {
|
|
66
|
-
'@path': '$.event'
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
exports.enable_batching = {
|
|
70
|
-
label: 'Enable Batching',
|
|
71
|
-
description: 'Enable batching of requests to the TikTok Audiences.',
|
|
72
|
-
type: 'boolean',
|
|
73
|
-
default: true
|
|
74
|
-
};
|
|
75
|
-
exports.personas_audience_key = {
|
|
76
|
-
label: 'Segment Engage Audience Key',
|
|
77
|
-
description: 'The `audience_key` of the Engage audience you want to sync to TikTok. This value must be a hard-coded string variable, e.g. `personas_test_audience`, in order for batching to work properly.',
|
|
78
|
-
type: 'string'
|
|
79
|
-
};
|
|
80
|
-
//# sourceMappingURL=properties.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"properties.js","sourceRoot":"","sources":["../../../src/destinations/tiktok-audiences/properties.ts"],"names":[],"mappings":";;;AAEa,QAAA,sBAAsB,GAAe;IAChD,KAAK,EAAE,eAAe;IACtB,WAAW,EAAE,kDAAkD;IAC/D,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,IAAI;CACf,CAAA;AAEY,QAAA,oBAAoB,GAAe;IAC9C,KAAK,EAAE,sBAAsB;IAC7B,WAAW,EACT,sTAAsT;IACxT,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE;QACP,OAAO,EAAE,2BAA2B;KACrC;IACD,QAAQ,EAAE,IAAI;CACf,CAAA;AAEY,QAAA,OAAO,GAAe;IACjC,KAAK,EAAE,SAAS;IAChB,WAAW,EACT,qHAAqH;IACvH,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE;QACP,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE;QACzC,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE;QACzC,EAAE,KAAK,EAAE,uBAAuB,EAAE,KAAK,EAAE,aAAa,EAAE;QACxD,EAAE,KAAK,EAAE,wBAAwB,EAAE,KAAK,EAAE,aAAa,EAAE;QACzD,EAAE,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAE,aAAa,EAAE;KACtD;IACD,QAAQ,EAAE,IAAI;CACf,CAAA;AAEY,QAAA,KAAK,GAAe;IAC/B,KAAK,EAAE,YAAY;IACnB,WAAW,EAAE,6CAA6C;IAC1D,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE;QACP,OAAO,EAAE,wBAAwB;KAClC;CACF,CAAA;AAEY,QAAA,UAAU,GAAe;IACpC,KAAK,EAAE,YAAY;IACnB,WAAW,EAAE,mEAAmE;IAChF,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,IAAI;CACd,CAAA;AAEY,QAAA,cAAc,GAAe;IACxC,KAAK,EAAE,qBAAqB;IAC5B,WAAW,EAAE,wFAAwF;IACrG,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE;QACP,OAAO,EAAE,gCAAgC;KAC1C;CACF,CAAA;AAEY,QAAA,mBAAmB,GAAe;IAC7C,KAAK,EAAE,4BAA4B;IACnC,WAAW,EACT,yGAAyG;IAC3G,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,IAAI;CACd,CAAA;AAEY,QAAA,UAAU,GAAe;IACpC,KAAK,EAAE,YAAY;IACnB,WAAW,EAAE,wCAAwC;IACrD,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE;QACP,OAAO,EAAE,SAAS;KACnB;CACF,CAAA;AAEY,QAAA,eAAe,GAAe;IACzC,KAAK,EAAE,iBAAiB;IACxB,WAAW,EAAE,sDAAsD;IACnE,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,IAAI;CACd,CAAA;AAEY,QAAA,qBAAqB,GAAe;IAC/C,KAAK,EAAE,6BAA6B;IACpC,WAAW,EACT,+LAA+L;IACjM,IAAI,EAAE,QAAQ;CACf,CAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface Payload {
|
|
2
|
-
selected_advertiser_id: string;
|
|
3
|
-
custom_audience_name: string;
|
|
4
|
-
id_type: string;
|
|
5
|
-
email?: string;
|
|
6
|
-
advertising_id?: string;
|
|
7
|
-
send_email?: boolean;
|
|
8
|
-
send_advertising_id?: boolean;
|
|
9
|
-
event_name?: string;
|
|
10
|
-
enable_batching?: boolean;
|
|
11
|
-
personas_audience_key?: string;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/tiktok-audiences/removeUser/generated-types.ts"],"names":[],"mappings":""}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const functions_1 = require("../functions");
|
|
4
|
-
const properties_1 = require("../properties");
|
|
5
|
-
const api_1 = require("../api");
|
|
6
|
-
const action = {
|
|
7
|
-
title: 'Remove Users',
|
|
8
|
-
description: 'Remove contacts from an Engage Audience to a TikTok Audience Segment.',
|
|
9
|
-
defaultSubscription: 'event = "Audience Exited"',
|
|
10
|
-
fields: {
|
|
11
|
-
selected_advertiser_id: { ...properties_1.selected_advertiser_id },
|
|
12
|
-
custom_audience_name: { ...properties_1.custom_audience_name },
|
|
13
|
-
id_type: { ...properties_1.id_type },
|
|
14
|
-
email: { ...properties_1.email },
|
|
15
|
-
advertising_id: { ...properties_1.advertising_id },
|
|
16
|
-
send_email: { ...properties_1.send_email },
|
|
17
|
-
send_advertising_id: { ...properties_1.send_advertising_id },
|
|
18
|
-
event_name: { ...properties_1.event_name },
|
|
19
|
-
enable_batching: { ...properties_1.enable_batching },
|
|
20
|
-
personas_audience_key: { ...properties_1.personas_audience_key }
|
|
21
|
-
},
|
|
22
|
-
dynamicFields: {
|
|
23
|
-
selected_advertiser_id: async (request, { settings }) => {
|
|
24
|
-
try {
|
|
25
|
-
const tiktok = new api_1.TikTokAudiences(request);
|
|
26
|
-
return tiktok.fetchAdvertisers(settings.advertiser_ids);
|
|
27
|
-
}
|
|
28
|
-
catch (err) {
|
|
29
|
-
return {
|
|
30
|
-
choices: [],
|
|
31
|
-
error: {
|
|
32
|
-
message: JSON.stringify(err),
|
|
33
|
-
code: '500'
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
perform: async (request, { settings, payload }) => {
|
|
40
|
-
return functions_1.processPayload(request, settings, [payload], 'delete');
|
|
41
|
-
},
|
|
42
|
-
performBatch: async (request, { settings, payload }) => {
|
|
43
|
-
return functions_1.processPayload(request, settings, payload, 'delete');
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
exports.default = action;
|
|
47
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/tiktok-audiences/removeUser/index.ts"],"names":[],"mappings":";;AAGA,4CAA6C;AAC7C,8CAWsB;AACtB,gCAAwC;AAExC,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,cAAc;IACrB,WAAW,EAAE,uEAAuE;IACpF,mBAAmB,EAAE,2BAA2B;IAChD,MAAM,EAAE;QACN,sBAAsB,EAAE,EAAE,GAAG,mCAAsB,EAAE;QACrD,oBAAoB,EAAE,EAAE,GAAG,iCAAoB,EAAE;QACjD,OAAO,EAAE,EAAE,GAAG,oBAAO,EAAE;QACvB,KAAK,EAAE,EAAE,GAAG,kBAAK,EAAE;QACnB,cAAc,EAAE,EAAE,GAAG,2BAAc,EAAE;QACrC,UAAU,EAAE,EAAE,GAAG,uBAAU,EAAE;QAC7B,mBAAmB,EAAE,EAAE,GAAG,gCAAmB,EAAE;QAC/C,UAAU,EAAE,EAAE,GAAG,uBAAU,EAAE;QAC7B,eAAe,EAAE,EAAE,GAAG,4BAAe,EAAE;QACvC,qBAAqB,EAAE,EAAE,GAAG,kCAAqB,EAAE;KACpD;IACD,aAAa,EAAE;QACb,sBAAsB,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;YACtD,IAAI;gBACF,MAAM,MAAM,GAAG,IAAI,qBAAe,CAAC,OAAO,CAAC,CAAA;gBAE3C,OAAO,MAAM,CAAC,gBAAgB,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAA;aACxD;YAAC,OAAO,GAAG,EAAE;gBACZ,OAAO;oBACL,OAAO,EAAE,EAAE;oBACX,KAAK,EAAE;wBACL,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC;wBAC5B,IAAI,EAAE,KAAK;qBACZ;iBACF,CAAA;aACF;QACH,CAAC;KACF;IACD,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;QAChD,OAAO,0BAAc,CAAC,OAAO,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC,CAAA;IAC/D,CAAC;IACD,YAAY,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;QACrD,OAAO,0BAAc,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAA;IAC7D,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export interface APIResponse {
|
|
2
|
-
code: number;
|
|
3
|
-
message: string;
|
|
4
|
-
request_id: string;
|
|
5
|
-
}
|
|
6
|
-
export interface GetAudienceAPIResponse extends APIResponse {
|
|
7
|
-
data: {
|
|
8
|
-
page_info: {
|
|
9
|
-
page: number;
|
|
10
|
-
total_page: number;
|
|
11
|
-
total_number: number;
|
|
12
|
-
page_size: number;
|
|
13
|
-
};
|
|
14
|
-
list: [Audiences];
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
export interface CreateAudienceAPIResponse extends APIResponse {
|
|
18
|
-
data: {
|
|
19
|
-
audience_id: string;
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
export interface Audiences {
|
|
23
|
-
is_expiring: boolean;
|
|
24
|
-
cover_num: number;
|
|
25
|
-
name: string;
|
|
26
|
-
audience_id: string;
|
|
27
|
-
audience_type: string;
|
|
28
|
-
is_valid: boolean;
|
|
29
|
-
create_time: string;
|
|
30
|
-
shared: boolean;
|
|
31
|
-
expired_time: string;
|
|
32
|
-
calculate_type: string;
|
|
33
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/destinations/tiktok-audiences/types.ts"],"names":[],"mappings":""}
|