@segment/action-destinations 3.269.0-staging-df3c671d1 → 3.269.0-staging-5faf5ebbe
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/segment/sendGroup/generated-types.d.ts +3 -0
- package/dist/destinations/segment/sendGroup/index.js +5 -1
- package/dist/destinations/segment/sendGroup/index.js.map +1 -1
- package/dist/destinations/segment/sendIdentify/generated-types.d.ts +3 -0
- package/dist/destinations/segment/sendIdentify/index.js +5 -1
- package/dist/destinations/segment/sendIdentify/index.js.map +1 -1
- package/dist/destinations/segment/sendPage/generated-types.d.ts +3 -0
- package/dist/destinations/segment/sendPage/index.js +5 -1
- package/dist/destinations/segment/sendPage/index.js.map +1 -1
- package/dist/destinations/segment/sendScreen/generated-types.d.ts +3 -0
- package/dist/destinations/segment/sendScreen/index.js +5 -1
- package/dist/destinations/segment/sendScreen/index.js.map +1 -1
- package/dist/destinations/segment-profiles/sendGroup/generated-types.d.ts +3 -0
- package/dist/destinations/segment-profiles/sendGroup/index.js +8 -2
- package/dist/destinations/segment-profiles/sendGroup/index.js.map +1 -1
- package/dist/destinations/segment-profiles/sendIdentify/generated-types.d.ts +3 -0
- package/dist/destinations/segment-profiles/sendIdentify/index.js +6 -2
- package/dist/destinations/segment-profiles/sendIdentify/index.js.map +1 -1
- package/dist/destinations/segment-profiles/sendSubscription/generated-types.d.ts +3 -0
- package/dist/destinations/segment-profiles/sendSubscription/index.js +6 -2
- package/dist/destinations/segment-profiles/sendSubscription/index.js.map +1 -1
- package/dist/destinations/segment-profiles/sendSubscription/subscription-properties.d.ts +1 -0
- package/dist/destinations/segment-profiles/sendSubscription/subscription-properties.js +9 -1
- package/dist/destinations/segment-profiles/sendSubscription/subscription-properties.js.map +1 -1
- package/package.json +1 -1
|
@@ -25,7 +25,8 @@ const action = {
|
|
|
25
25
|
timezone: segment_properties_1.timezone,
|
|
26
26
|
traits: segment_properties_1.traits,
|
|
27
27
|
message_id: segment_properties_1.message_id,
|
|
28
|
-
enable_batching: segment_properties_1.enable_batching
|
|
28
|
+
enable_batching: segment_properties_1.enable_batching,
|
|
29
|
+
consent: segment_properties_1.consent
|
|
29
30
|
},
|
|
30
31
|
perform: (_request, { payload, statsContext }) => {
|
|
31
32
|
if (!payload.anonymous_id && !payload.user_id) {
|
|
@@ -56,6 +57,9 @@ function convertPayload(data) {
|
|
|
56
57
|
context: {
|
|
57
58
|
app: data?.application,
|
|
58
59
|
campaign: data?.campaign_parameters,
|
|
60
|
+
consent: {
|
|
61
|
+
...data?.consent
|
|
62
|
+
},
|
|
59
63
|
device: data?.device,
|
|
60
64
|
ip: data?.ip_address,
|
|
61
65
|
locale: data?.locale,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/segment/sendGroup/index.ts"],"names":[],"mappings":";;AAGA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/segment/sendGroup/index.ts"],"names":[],"mappings":";;AAGA,8DAqB8B;AAC9B,sCAAkE;AAElE,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,YAAY;IACnB,WAAW,EAAE,wGAAwG;IACrH,mBAAmB,EAAE,gBAAgB;IACrC,MAAM,EAAE;QACN,OAAO,EAAP,4BAAO;QACP,YAAY,EAAZ,iCAAY;QACZ,QAAQ,EAAE,EAAE,GAAG,6BAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QACzC,SAAS,EAAT,8BAAS;QACT,WAAW,EAAX,gCAAW;QACX,mBAAmB,EAAnB,wCAAmB;QACnB,MAAM,EAAN,2BAAM;QACN,UAAU,EAAV,+BAAU;QACV,MAAM,EAAN,2BAAM;QACN,QAAQ,EAAR,6BAAQ;QACR,OAAO,EAAP,4BAAO;QACP,gBAAgB,EAAhB,qCAAgB;QAChB,IAAI,EAAJ,yBAAI;QACJ,MAAM,EAAN,2BAAM;QACN,UAAU,EAAV,+BAAU;QAC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E,QAAQ;QACvB,SAAS,EAAE,IAAI,EAAE,SAAS;QAC1B,SAAS,EAAE,IAAI,EAAE,UAAU;QAC3B,OAAO,EAAE;YACP,GAAG,EAAE,IAAI,EAAE,WAAW;YACtB,QAAQ,EAAE,IAAI,EAAE,mBAAmB;YACnC,OAAO,EAAE;gBACP,GAAG,IAAI,EAAE,OAAO;aACjB;YACD,MAAM,EAAE,IAAI,EAAE,MAAM;YACpB,EAAE,EAAE,IAAI,EAAE,UAAU;YACpB,MAAM,EAAE,IAAI,EAAE,MAAM;YACpB,QAAQ,EAAE,IAAI,EAAE,QAAQ;YACxB,OAAO,EAAE,IAAI,EAAE,OAAO;YACtB,EAAE,EAAE,IAAI,EAAE,gBAAgB;YAC1B,IAAI,EAAE,IAAI,EAAE,IAAI;YAChB,MAAM,EAAE,IAAI,EAAE,MAAM;YACpB,SAAS,EAAE,IAAI,EAAE,UAAU;YAC3B,QAAQ,EAAE,IAAI,EAAE,QAAQ;SACzB;QACD,MAAM,EAAE;YACN,GAAG,IAAI,EAAE,MAAM;SAChB;QACD,IAAI,EAAE,OAAO;KACd,CAAA;AACH,CAAC;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -25,7 +25,8 @@ const action = {
|
|
|
25
25
|
group_id: segment_properties_1.group_id,
|
|
26
26
|
traits: segment_properties_1.traits,
|
|
27
27
|
message_id: segment_properties_1.message_id,
|
|
28
|
-
enable_batching: segment_properties_1.enable_batching
|
|
28
|
+
enable_batching: segment_properties_1.enable_batching,
|
|
29
|
+
consent: segment_properties_1.consent
|
|
29
30
|
},
|
|
30
31
|
perform: (_request, { payload, statsContext }) => {
|
|
31
32
|
if (!payload.anonymous_id && !payload.user_id) {
|
|
@@ -55,6 +56,9 @@ function convertPayload(data) {
|
|
|
55
56
|
context: {
|
|
56
57
|
app: data?.application,
|
|
57
58
|
campaign: data?.campaign_parameters,
|
|
59
|
+
consent: {
|
|
60
|
+
...data?.consent
|
|
61
|
+
},
|
|
58
62
|
device: data?.device,
|
|
59
63
|
ip: data?.ip_address,
|
|
60
64
|
locale: data?.locale,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/segment/sendIdentify/index.ts"],"names":[],"mappings":";;AAGA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/segment/sendIdentify/index.ts"],"names":[],"mappings":";;AAGA,8DAqB8B;AAC9B,sCAAkE;AAElE,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,eAAe;IACtB,WAAW,EACT,gIAAgI;IAClI,mBAAmB,EAAE,mBAAmB;IACxC,MAAM,EAAE;QACN,OAAO,EAAP,4BAAO;QACP,YAAY,EAAZ,iCAAY;QACZ,SAAS,EAAT,8BAAS;QACT,WAAW,EAAX,gCAAW;QACX,mBAAmB,EAAnB,wCAAmB;QACnB,MAAM,EAAN,2BAAM;QACN,UAAU,EAAV,+BAAU;QACV,MAAM,EAAN,2BAAM;QACN,QAAQ,EAAR,6BAAQ;QACR,OAAO,EAAP,4BAAO;QACP,gBAAgB,EAAhB,qCAAgB;QAChB,IAAI,EAAJ,yBAAI;QACJ,MAAM,EAAN,2BAAM;QACN,UAAU,EAAV,+BAAU;QACV,QAAQ,EAAR,6BAAQ;QACR,QAAQ,EAAR,6BAAQ;QACR,MAAM,EAAN,2BAAM;QACN,UAAU,EAAV,+BAAU;QACV,eAAe,EAAf,oCAAe;QACf,OAAO,EAAP,4BAAO;KACR;IACD,OAAO,EAAE,CAAC,QAAQ,EAAE,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE,EAAE;QAC/C,IAAI,CAAC,OAAO,CAAC,YAAY,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE;YAC7C,MAAM,+CAAsC,CAAA;SAC7C;QAED,MAAM,eAAe,GAAG,cAAc,CAAC,OAAO,CAAC,CAAA;QAC/C,YAAY,EAAE,WAAW,EAAE,IAAI,CAAC,eAAe,EAAE,CAAC,EAAE,C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,IAAI,EAAE,IAAI;YAChB,MAAM,EAAE,IAAI,EAAE,MAAM;YACpB,SAAS,EAAE,IAAI,EAAE,UAAU;YAC3B,QAAQ,EAAE,IAAI,EAAE,QAAQ;YACxB,OAAO,EAAE,IAAI,EAAE,QAAQ;SACxB;QACD,MAAM,EAAE;YACN,GAAG,IAAI,EAAE,MAAM;SAChB;QACD,IAAI,EAAE,UAAU;KACjB,CAAA;AACH,CAAC;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -27,7 +27,8 @@ const action = {
|
|
|
27
27
|
group_id: segment_properties_1.group_id,
|
|
28
28
|
properties: segment_properties_1.properties,
|
|
29
29
|
message_id: segment_properties_1.message_id,
|
|
30
|
-
enable_batching: segment_properties_1.enable_batching
|
|
30
|
+
enable_batching: segment_properties_1.enable_batching,
|
|
31
|
+
consent: segment_properties_1.consent
|
|
31
32
|
},
|
|
32
33
|
perform: (_request, { payload, statsContext }) => {
|
|
33
34
|
if (!payload.anonymous_id && !payload.user_id) {
|
|
@@ -58,6 +59,9 @@ function convertPayload(data) {
|
|
|
58
59
|
context: {
|
|
59
60
|
app: data?.application,
|
|
60
61
|
campaign: data?.campaign_parameters,
|
|
62
|
+
consent: {
|
|
63
|
+
...data?.consent
|
|
64
|
+
},
|
|
61
65
|
device: data?.device,
|
|
62
66
|
ip: data?.ip_address,
|
|
63
67
|
locale: data?.locale,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/segment/sendPage/index.ts"],"names":[],"mappings":";;AAGA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/segment/sendPage/index.ts"],"names":[],"mappings":";;AAGA,8DAuB8B;AAC9B,sCAAkE;AAElE,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,WAAW;IAClB,WAAW,EAAE,uFAAuF;IACpG,mBAAmB,EAAE,eAAe;IACpC,MAAM,EAAE;QACN,OAAO,EAAP,4BAAO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AE,QAAQ;YAC9B,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM;YAC1B,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK;YACxB,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG;YACpB,GAAG,IAAI,EAAE,UAAU;SACpB;QACD,IAAI,EAAE,MAAM;KACb,CAAA;AACH,CAAC;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -26,7 +26,8 @@ const action = {
|
|
|
26
26
|
group_id: segment_properties_1.group_id,
|
|
27
27
|
properties: segment_properties_1.properties,
|
|
28
28
|
message_id: segment_properties_1.message_id,
|
|
29
|
-
enable_batching: segment_properties_1.enable_batching
|
|
29
|
+
enable_batching: segment_properties_1.enable_batching,
|
|
30
|
+
consent: segment_properties_1.consent
|
|
30
31
|
},
|
|
31
32
|
perform: (_request, { payload, statsContext }) => {
|
|
32
33
|
if (!payload.anonymous_id && !payload.user_id) {
|
|
@@ -57,6 +58,9 @@ function convertPayload(data) {
|
|
|
57
58
|
context: {
|
|
58
59
|
app: data?.application,
|
|
59
60
|
campaign: data?.campaign_parameters,
|
|
61
|
+
consent: {
|
|
62
|
+
...data?.consent
|
|
63
|
+
},
|
|
60
64
|
device: data?.device,
|
|
61
65
|
ip: data?.ip_address,
|
|
62
66
|
locale: data?.locale,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/segment/sendScreen/index.ts"],"names":[],"mappings":";;AAGA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/segment/sendScreen/index.ts"],"names":[],"mappings":";;AAGA,8DAsB8B;AAC9B,sCAAkE;AAElE,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,aAAa;IACpB,WAAW,EAAE,8FAA8F;IAC3G,mBAAmB,EAAE,iBAAiB;IACtC,MAAM,EAAE;QACN,OAAO,EAAP,4BAAO;QACP,YAAY,EAAZ,iCAAY;Q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AC,CAAC,CAAA;QAEF,YAAY,EAAE,WAAW,EAAE,IAAI,CAAC,eAAe,EAAE,CAAC,EAAE,CAAC,GAAG,YAAY,CAAC,IAAI,EAAE,wBAAwB,CAAC,CAAC,CAAA;QACrG,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAA;IACjC,CAAC;CACF,CAAA;AAED,SAAS,cAAc,CAAC,IAAa;IACnC,OAAO;QACL,MAAM,EAAE,IAAI,EAAE,OAAO;QACrB,WAAW,EAAE,IAAI,EAAE,YAAY;QAC/B,SAAS,EAAE,IAAI,EAAE,SAAS;QAC1B,IAAI,EAAE,IAAI,EAAE,WAAW;QACvB,SAAS,EAAE,IAAI,EAAE,UAAU;QAC3B,OAAO,EAAE;YACP,GAAG,EAAE,IAAI,EAAE,WAAW;YACtB,QAAQ,EAAE,IAAI,EAAE,mBAAmB;YACnC,OAAO,EAAE;gBACP,GAAG,IAAI,EAAE,OAAO;aACjB;YACD,MAAM,EAAE,IAAI,EAAE,MAAM;YACpB,EAAE,EAAE,IAAI,EAAE,UAAU;YACpB,MAAM,EAAE,IAAI,EAAE,MAAM;YACpB,QAAQ,EAAE,IAAI,EAAE,QAAQ;YACxB,OAAO,EAAE,IAAI,EAAE,OAAO;YACtB,EAAE,EAAE,IAAI,EAAE,gBAAgB;YAC1B,IAAI,EAAE,IAAI,EAAE,IAAI;YAChB,MAAM,EAAE,IAAI,EAAE,MAAM;YACpB,SAAS,EAAE,IAAI,EAAE,UAAU;YAC3B,OAAO,EAAE,IAAI,EAAE,QAAQ;SACxB;QACD,UAAU,EAAE;YACV,IAAI,EAAE,IAAI,EAAE,WAAW;YACvB,GAAG,IAAI,EAAE,UAAU;SACpB;QACD,IAAI,EAAE,QAAQ;KACf,CAAA;AACH,CAAC;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -13,7 +13,8 @@ const action = {
|
|
|
13
13
|
group_id: { ...segment_properties_1.group_id, required: true },
|
|
14
14
|
traits: segment_properties_1.traits,
|
|
15
15
|
timestamp: segment_properties_1.timestamp,
|
|
16
|
-
message_id: segment_properties_1.message_id
|
|
16
|
+
message_id: segment_properties_1.message_id,
|
|
17
|
+
consent: segment_properties_1.consent
|
|
17
18
|
},
|
|
18
19
|
perform: (_request, { payload, statsContext }) => {
|
|
19
20
|
if (!payload.anonymous_id && !payload.user_id) {
|
|
@@ -31,7 +32,12 @@ const action = {
|
|
|
31
32
|
integrations: {
|
|
32
33
|
All: false
|
|
33
34
|
},
|
|
34
|
-
type: 'group'
|
|
35
|
+
type: 'group',
|
|
36
|
+
context: {
|
|
37
|
+
consent: {
|
|
38
|
+
...payload?.consent
|
|
39
|
+
}
|
|
40
|
+
}
|
|
35
41
|
};
|
|
36
42
|
statsContext?.statsClient?.incr('tapi_internal', 1, [...statsContext.tags, `action:sendGroup`]);
|
|
37
43
|
return { batch: [groupPayload] };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/segment-profiles/sendGroup/index.ts"],"names":[],"mappings":";;AAGA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/segment-profiles/sendGroup/index.ts"],"names":[],"mappings":";;AAGA,8DAS8B;AAC9B,sCAAkE;AAElE,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,YAAY;IACnB,WAAW,EAAE,wGAAwG;IACrH,mBAAmB,EAAE,gBAAgB;IACrC,MAAM,EAAE;QACN,YAAY,EAAZ,iCAAY;QACZ,OAAO,EAAP,4BAAO;QACP,YAAY,EAAZ,iCAAY;QACZ,QAAQ,EAAE,EAAE,GAAG,6BAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QACzC,MAAM,EAAN,2BAAM;QACN,SAAS,EAAT,8BAAS;QACT,UAAU,EAAV,+BAAU;QACV,OAAO,EAAP,4BAAO;KACR;IACD,OAAO,EAAE,CAAC,QAAQ,EAAE,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE,EAAE;QAC/C,IAAI,CAAC,OAAO,CAAC,YAAY,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE;YAC7C,MAAM,+CAAsC,CAAA;SAC7C;QACD,MAAM,YAAY,GAAW;YAC3B,MAAM,EAAE,OAAO,EAAE,OAAO;YACxB,WAAW,EAAE,OAAO,EAAE,YAAY;YAClC,OAAO,EAAE,OAAO,EAAE,QAAQ;YAC1B,SAAS,EAAE,OAAO,EAAE,UAAU;YAC9B,MAAM,EAAE;gBACN,GAAG,OAAO,EAAE,MAAM;aACnB;YACD,SAAS,EAAE,OAAO,EAAE,SAAS;YAC7B,YAAY,EAAE;gBAGZ,GAAG,EAAE,KAAK;aACX;YACD,IAAI,EAAE,OAAO;YACb,OAAO,EAAE;gBACP,OAAO,EAAE;oBACP,GAAG,OAAO,EAAE,OAAO;iBACpB;aACF;SACF,CAAA;QAED,YAAY,EAAE,WAAW,EAAE,IAAI,CAAC,eAAe,EAAE,CAAC,EAAE,CAAC,GAAG,YAAY,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC,CAAA;QAC/F,OAAO,EAAE,KAAK,EAAE,CAAC,YAAY,CAAC,EAAE,CAAA;IAClC,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -13,7 +13,8 @@ const action = {
|
|
|
13
13
|
group_id: segment_properties_1.group_id,
|
|
14
14
|
traits: segment_properties_1.traits,
|
|
15
15
|
timestamp: segment_properties_1.timestamp,
|
|
16
|
-
message_id: segment_properties_1.message_id
|
|
16
|
+
message_id: segment_properties_1.message_id,
|
|
17
|
+
consent: segment_properties_1.consent
|
|
17
18
|
},
|
|
18
19
|
perform: (_request, { payload, statsContext }) => {
|
|
19
20
|
if (!payload.anonymous_id && !payload.user_id) {
|
|
@@ -31,7 +32,10 @@ const action = {
|
|
|
31
32
|
integrations: {
|
|
32
33
|
All: false
|
|
33
34
|
},
|
|
34
|
-
type: 'identify'
|
|
35
|
+
type: 'identify',
|
|
36
|
+
consent: {
|
|
37
|
+
...payload?.consent
|
|
38
|
+
}
|
|
35
39
|
};
|
|
36
40
|
statsContext?.statsClient?.incr('tapi_internal', 1, [...statsContext.tags, `action:sendIdentify`]);
|
|
37
41
|
return { batch: [identityPayload] };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/segment-profiles/sendIdentify/index.ts"],"names":[],"mappings":";;AAGA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/segment-profiles/sendIdentify/index.ts"],"names":[],"mappings":";;AAGA,8DAS8B;AAC9B,sCAAkE;AAElE,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,eAAe;IACtB,WAAW,EACT,gIAAgI;IAClI,mBAAmB,EAAE,mBAAmB;IACxC,MAAM,EAAE;QACN,YAAY,EAAZ,iCAAY;QACZ,OAAO,EAAP,4BAAO;QACP,YAAY,EAAZ,iCAAY;QACZ,QAAQ,EAAR,6BAAQ;QACR,MAAM,EAAN,2BAAM;QACN,SAAS,EAAT,8BAAS;QACT,UAAU,EAAV,+BAAU;QACV,OAAO,EAAP,4BAAO;KACR;IACD,OAAO,EAAE,CAAC,QAAQ,EAAE,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE,EAAE;QAC/C,IAAI,CAAC,OAAO,CAAC,YAAY,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE;YAC7C,MAAM,+CAAsC,CAAA;SAC7C;QACD,MAAM,eAAe,GAAW;YAC9B,MAAM,EAAE,OAAO,EAAE,OAAO;YACxB,WAAW,EAAE,OAAO,EAAE,YAAY;YAClC,OAAO,EAAE,OAAO,EAAE,QAAQ;YAC1B,SAAS,EAAE,OAAO,EAAE,UAAU;YAC9B,MAAM,EAAE;gBACN,GAAG,OAAO,EAAE,MAAM;aACnB;YACD,SAAS,EAAE,OAAO,EAAE,SAAS;YAC7B,YAAY,EAAE;gBAGZ,GAAG,EAAE,KAAK;aACX;YACD,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE;gBACP,GAAG,OAAO,EAAE,OAAO;aACpB;SACF,CAAA;QAED,YAAY,EAAE,WAAW,EAAE,IAAI,CAAC,eAAe,EAAE,CAAC,EAAE,CAAC,GAAG,YAAY,CAAC,IAAI,EAAE,qBAAqB,CAAC,CAAC,CAAA;QAClG,OAAO,EAAE,KAAK,EAAE,CAAC,eAAe,CAAC,EAAE,CAAA;IACrC,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -177,7 +177,8 @@ const action = {
|
|
|
177
177
|
ios_push_subscription_status: subscription_properties_1.ios_push_subscription_status,
|
|
178
178
|
traits: subscription_properties_1.traits,
|
|
179
179
|
timestamp: segment_properties_1.timestamp,
|
|
180
|
-
message_id: subscription_properties_1.message_id
|
|
180
|
+
message_id: subscription_properties_1.message_id,
|
|
181
|
+
consent: subscription_properties_1.consent
|
|
181
182
|
},
|
|
182
183
|
perform: (_request, { payload, statsContext }) => {
|
|
183
184
|
const statsClient = statsContext?.statsClient;
|
|
@@ -195,7 +196,10 @@ const action = {
|
|
|
195
196
|
context: {
|
|
196
197
|
messaging_subscriptions: messagingSubscriptions,
|
|
197
198
|
externalIds,
|
|
198
|
-
messaging_subscriptions_retl: true
|
|
199
|
+
messaging_subscriptions_retl: true,
|
|
200
|
+
consent: {
|
|
201
|
+
...payload?.consent
|
|
202
|
+
}
|
|
199
203
|
},
|
|
200
204
|
timestamp: payload?.timestamp,
|
|
201
205
|
integrations: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/segment-profiles/sendSubscription/index.ts"],"names":[],"mappings":";;AAGA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/segment-profiles/sendSubscription/index.ts"],"names":[],"mappings":";;AAGA,uEAiBkC;AAClC,sCASkB;AAClB,8DAAiD;AAQjD,MAAM,wBAAwB,GAA+B;IAC3D,EAAE,MAAM,EA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,KAAK;aACX;YACD,SAAS,EAAE,OAAO,EAAE,UAAU;YAC9B,IAAI,EAAE,UAAU;SACjB,CAAA;QAED,WAAW,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC,EAAE,IAAI,CAAC,CAAA;QACrC,WAAW,EAAE,IAAI,CAAC,eAAe,EAAE,CAAC,EAAE,IAAI,CAAC,CAAA;QAC3C,OAAO,EAAE,KAAK,EAAE,CAAC,mBAAmB,CAAC,EAAE,CAAA;IACzC,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -14,3 +14,4 @@ export declare const android_push_subscription_status: InputField;
|
|
|
14
14
|
export declare const ios_push_subscription_status: InputField;
|
|
15
15
|
export declare const subscription_groups: InputField;
|
|
16
16
|
export declare const message_id: InputField;
|
|
17
|
+
export declare const consent: InputField;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.message_id = exports.subscription_groups = exports.ios_push_subscription_status = exports.android_push_subscription_status = exports.whatsapp_subscription_status = exports.sms_subscription_status = exports.email_subscription_status = exports.ios_push_token = exports.android_push_token = exports.phone = exports.email = exports.engage_space = exports.traits = exports.anonymous_id = exports.user_id = void 0;
|
|
3
|
+
exports.consent = exports.message_id = exports.subscription_groups = exports.ios_push_subscription_status = exports.android_push_subscription_status = exports.whatsapp_subscription_status = exports.sms_subscription_status = exports.email_subscription_status = exports.ios_push_token = exports.android_push_token = exports.phone = exports.email = exports.engage_space = exports.traits = exports.anonymous_id = exports.user_id = void 0;
|
|
4
4
|
exports.user_id = {
|
|
5
5
|
label: 'User ID',
|
|
6
6
|
description: 'Unique identifier for the user in your database.',
|
|
@@ -89,4 +89,12 @@ exports.message_id = {
|
|
|
89
89
|
default: { '@path': '$.messageId' },
|
|
90
90
|
unsafe_hidden: true
|
|
91
91
|
};
|
|
92
|
+
exports.consent = {
|
|
93
|
+
label: 'Consent',
|
|
94
|
+
description: 'Segment event consent category preferences.',
|
|
95
|
+
type: 'object',
|
|
96
|
+
default: { '@path': '$.context.consent' },
|
|
97
|
+
additionalProperties: true,
|
|
98
|
+
unsafe_hidden: true
|
|
99
|
+
};
|
|
92
100
|
//# sourceMappingURL=subscription-properties.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription-properties.js","sourceRoot":"","sources":["../../../../src/destinations/segment-profiles/sendSubscription/subscription-properties.ts"],"names":[],"mappings":";;;AAEa,QAAA,OAAO,GAAe;IACjC,KAAK,EAAE,SAAS;IAChB,WAAW,EAAE,kDAAkD;IAC/D,IAAI,EAAE,QAAQ;CACf,CAAA;AAEY,QAAA,YAAY,GAAe;IACtC,KAAK,EAAE,cAAc;IACrB,WAAW,EACT,0GAA0G;IAC5G,IAAI,EAAE,QAAQ;CACf,CAAA;AAEY,QAAA,MAAM,GAAe;IAChC,KAAK,EAAE,QAAQ;IACf,WAAW,EAAE,0EAA0E;IACvF,IAAI,EAAE,QAAQ;IACd,eAAe,EAAE,UAAU;IAC3B,oBAAoB,EAAE,IAAI;CAC3B,CAAA;AAEY,QAAA,YAAY,GAAe;IACtC,KAAK,EAAE,eAAe;IACtB,WAAW,EACT,sSAAsS;IACxS,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,IAAI;IACd,OAAO,EAAE,IAAI;CACd,CAAA;AAEY,QAAA,KAAK,GAAe;IAC/B,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,mBAAmB;IAChC,IAAI,EAAE,QAAQ;CACf,CAAA;AAEY,QAAA,KAAK,GAAe;IAC/B,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,0BAA0B;IACvC,IAAI,EAAE,QAAQ;CACf,CAAA;AAEY,QAAA,kBAAkB,GAAe;IAC5C,KAAK,EAAE,oBAAoB;IAC3B,WAAW,EAAE,gCAAgC;IAC7C,IAAI,EAAE,QAAQ;CACf,CAAA;AAEY,QAAA,cAAc,GAAe;IACxC,KAAK,EAAE,gBAAgB;IACvB,WAAW,EAAE,4BAA4B;IACzC,IAAI,EAAE,QAAQ;CACf,CAAA;AAEY,QAAA,yBAAyB,GAAe;IACnD,KAAK,EAAE,2BAA2B;IAClC,WAAW,EACT,iIAAiI;IACnI,IAAI,EAAE,QAAQ;IACd,SAAS,EAAE,IAAI;CAChB,CAAA;AAEY,QAAA,uBAAuB,GAAe;IACjD,KAAK,EAAE,yBAAyB;IAChC,WAAW,EACT,+HAA+H;IACjI,IAAI,EAAE,QAAQ;IACd,SAAS,EAAE,IAAI;CAChB,CAAA;AAEY,QAAA,4BAA4B,GAAe;IACtD,KAAK,EAAE,8BAA8B;IACrC,WAAW,EACT,oIAAoI;IACtI,IAAI,EAAE,QAAQ;IACd,SAAS,EAAE,IAAI;CAChB,CAAA;AAEY,QAAA,gCAAgC,GAAe;IAC1D,KAAK,EAAE,kCAAkC;IACzC,WAAW,EACT,wIAAwI;IAC1I,IAAI,EAAE,QAAQ;IACd,SAAS,EAAE,IAAI;CAChB,CAAA;AAEY,QAAA,4BAA4B,GAAe;IACtD,KAAK,EAAE,8BAA8B;IACrC,WAAW,EACT,oIAAoI;IACtI,IAAI,EAAE,QAAQ;IACd,SAAS,EAAE,IAAI;CAChB,CAAA;AAEY,QAAA,mBAAmB,GAAe;IAC7C,KAAK,EAAE,2BAA2B;IAClC,WAAW,EACT,0NAA0N;IAC5N,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,IAAI;IAC1B,eAAe,EAAE,UAAU;CAC5B,CAAA;AAEY,QAAA,UAAU,GAAe;IACpC,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,WAAW;IAClB,WAAW,EAAE,wBAAwB;IACrC,OAAO,EAAE,EAAE,OAAO,EAAE,aAAa,EAAE;IACnC,aAAa,EAAE,IAAI;CACpB,CAAA"}
|
|
1
|
+
{"version":3,"file":"subscription-properties.js","sourceRoot":"","sources":["../../../../src/destinations/segment-profiles/sendSubscription/subscription-properties.ts"],"names":[],"mappings":";;;AAEa,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IACd,SAAS,EAAE,IAAI;CAChB,CAAA;AAEY,QAAA,4BAA4B,GAAe;IACtD,KAAK,EAAE,8BAA8B;IACrC,WAAW,EACT,oIAAoI;IACtI,IAAI,EAAE,QAAQ;IACd,SAAS,EAAE,IAAI;CAChB,CAAA;AAEY,QAAA,gCAAgC,GAAe;IAC1D,KAAK,EAAE,kCAAkC;IACzC,WAAW,EACT,wIAAwI;IAC1I,IAAI,EAAE,QAAQ;IACd,SAAS,EAAE,IAAI;CAChB,CAAA;AAEY,QAAA,4BAA4B,GAAe;IACtD,KAAK,EAAE,8BAA8B;IACrC,WAAW,EACT,oIAAoI;IACtI,IAAI,EAAE,QAAQ;IACd,SAAS,EAAE,IAAI;CAChB,CAAA;AAEY,QAAA,mBAAmB,GAAe;IAC7C,KAAK,EAAE,2BAA2B;IAClC,WAAW,EACT,0NAA0N;IAC5N,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,IAAI;IAC1B,eAAe,EAAE,UAAU;CAC5B,CAAA;AAEY,QAAA,UAAU,GAAe;IACpC,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,WAAW;IAClB,WAAW,EAAE,wBAAwB;IACrC,OAAO,EAAE,EAAE,OAAO,EAAE,aAAa,EAAE;IACnC,aAAa,EAAE,IAAI;CACpB,CAAA;AAEY,QAAA,OAAO,GAAe;IACjC,KAAK,EAAE,SAAS;IAChB,WAAW,EAAE,6CAA6C;IAC1D,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,EAAE,OAAO,EAAE,mBAAmB,EAAE;IACzC,oBAAoB,EAAE,IAAI;IAC1B,aAAa,EAAE,IAAI;CACpB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@segment/action-destinations",
|
|
3
3
|
"description": "Destination Actions engine and definitions.",
|
|
4
|
-
"version": "3.269.0-staging-
|
|
4
|
+
"version": "3.269.0-staging-5faf5ebbe",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/segmentio/action-destinations",
|