@segment/action-destinations 3.345.8-staging → 3.345.9-staging-d01d86282.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/amazon-amc/syncAudiencesToDSP/index.js +49 -29
- package/dist/destinations/amazon-amc/syncAudiencesToDSP/index.js.map +1 -1
- package/dist/destinations/linkedin-audiences/api/index.d.ts +1 -1
- package/dist/destinations/linkedin-audiences/api/index.js.map +1 -1
- package/dist/destinations/linkedin-audiences/updateAudience/index.js +14 -6
- package/dist/destinations/linkedin-audiences/updateAudience/index.js.map +1 -1
- package/dist/destinations/responsys/generated-types.d.ts +2 -1
- package/dist/destinations/responsys/index.js +15 -7
- package/dist/destinations/responsys/index.js.map +1 -1
- package/dist/destinations/responsys/sendAudience/index.js +3 -3
- package/dist/destinations/responsys/sendAudience/index.js.map +1 -1
- package/dist/destinations/responsys/sendAudienceAsPet/functions.d.ts +4 -3
- package/dist/destinations/responsys/sendAudienceAsPet/functions.js +81 -54
- package/dist/destinations/responsys/sendAudienceAsPet/functions.js.map +1 -1
- package/dist/destinations/responsys/sendAudienceAsPet/generated-types.d.ts +2 -1
- package/dist/destinations/responsys/sendAudienceAsPet/index.js +17 -63
- package/dist/destinations/responsys/sendAudienceAsPet/index.js.map +1 -1
- package/dist/destinations/responsys/sendCustomTraits/generated-types.d.ts +1 -0
- package/dist/destinations/responsys/sendCustomTraits/index.js +29 -8
- package/dist/destinations/responsys/sendCustomTraits/index.js.map +1 -1
- package/dist/destinations/responsys/sendToPet/functions.d.ts +10 -0
- package/dist/destinations/responsys/sendToPet/functions.js +108 -0
- package/dist/destinations/responsys/sendToPet/functions.js.map +1 -0
- package/dist/destinations/responsys/sendToPet/generated-types.d.ts +15 -0
- package/dist/destinations/responsys/sendToPet/generated-types.js.map +1 -0
- package/dist/destinations/responsys/sendToPet/index.js +69 -0
- package/dist/destinations/responsys/sendToPet/index.js.map +1 -0
- package/dist/destinations/responsys/shared-properties.d.ts +5 -1
- package/dist/destinations/responsys/shared-properties.js +75 -2
- package/dist/destinations/responsys/shared-properties.js.map +1 -1
- package/dist/destinations/responsys/types.d.ts +3 -0
- package/dist/destinations/responsys/upsertListMember/generated-types.d.ts +2 -1
- package/dist/destinations/responsys/upsertListMember/index.js +6 -7
- package/dist/destinations/responsys/upsertListMember/index.js.map +1 -1
- package/dist/destinations/responsys/utils.d.ts +7 -3
- package/dist/destinations/responsys/utils.js +108 -49
- package/dist/destinations/responsys/utils.js.map +1 -1
- package/dist/destinations/salesforce-marketing-cloud/_tests_/multistatus.test.d.ts +1 -0
- package/dist/destinations/salesforce-marketing-cloud/_tests_/multistatus.test.js +325 -0
- package/dist/destinations/salesforce-marketing-cloud/_tests_/multistatus.test.js.map +1 -0
- package/dist/destinations/salesforce-marketing-cloud/contactDataExtension/index.js +1 -17
- package/dist/destinations/salesforce-marketing-cloud/contactDataExtension/index.js.map +1 -1
- package/dist/destinations/salesforce-marketing-cloud/dataExtension/index.js +1 -17
- package/dist/destinations/salesforce-marketing-cloud/dataExtension/index.js.map +1 -1
- package/dist/destinations/salesforce-marketing-cloud/sfmc-operations.d.ts +2 -2
- package/dist/destinations/salesforce-marketing-cloud/sfmc-operations.js +45 -7
- package/dist/destinations/salesforce-marketing-cloud/sfmc-operations.js.map +1 -1
- package/dist/destinations/salesforce-marketing-cloud/types.d.ts +19 -0
- package/dist/destinations/salesforce-marketing-cloud/types.js.map +1 -0
- package/package.json +2 -2
- package/dist/destinations/accoil-analytics/postToAccoil/generated-types.d.ts +0 -5
- package/dist/destinations/accoil-analytics/postToAccoil/generated-types.js.map +0 -1
- package/dist/destinations/accoil-analytics/postToAccoil/index.d.ts +0 -5
- package/dist/destinations/accoil-analytics/postToAccoil/index.js +0 -28
- package/dist/destinations/accoil-analytics/postToAccoil/index.js.map +0 -1
- package/dist/destinations/braze/createAliasV2.types.d.ts +0 -5
- package/dist/destinations/braze/createAliasV2.types.js +0 -3
- package/dist/destinations/braze/createAliasV2.types.js.map +0 -1
- package/dist/destinations/braze/identifyUserV2.types.d.ts +0 -8
- package/dist/destinations/braze/identifyUserV2.types.js +0 -3
- package/dist/destinations/braze/identifyUserV2.types.js.map +0 -1
- package/dist/destinations/campaign-manager-360/common-fields.d.ts +0 -3
- package/dist/destinations/campaign-manager-360/common-fields.js +0 -306
- package/dist/destinations/campaign-manager-360/common-fields.js.map +0 -1
- package/dist/destinations/campaign-manager-360/conversionAdjustmentUpload/generated-types.d.ts +0 -45
- package/dist/destinations/campaign-manager-360/conversionAdjustmentUpload/generated-types.js +0 -3
- package/dist/destinations/campaign-manager-360/conversionAdjustmentUpload/generated-types.js.map +0 -1
- package/dist/destinations/campaign-manager-360/conversionAdjustmentUpload/index.d.ts +0 -5
- package/dist/destinations/campaign-manager-360/conversionAdjustmentUpload/index.js +0 -86
- package/dist/destinations/campaign-manager-360/conversionAdjustmentUpload/index.js.map +0 -1
- package/dist/destinations/campaign-manager-360/conversionUpload/generated-types.d.ts +0 -50
- package/dist/destinations/campaign-manager-360/conversionUpload/generated-types.js +0 -3
- package/dist/destinations/campaign-manager-360/conversionUpload/generated-types.js.map +0 -1
- package/dist/destinations/campaign-manager-360/conversionUpload/index.d.ts +0 -5
- package/dist/destinations/campaign-manager-360/conversionUpload/index.js +0 -131
- package/dist/destinations/campaign-manager-360/conversionUpload/index.js.map +0 -1
- package/dist/destinations/campaign-manager-360/generated-types.d.ts +0 -5
- package/dist/destinations/campaign-manager-360/generated-types.js +0 -3
- package/dist/destinations/campaign-manager-360/generated-types.js.map +0 -1
- package/dist/destinations/campaign-manager-360/index.d.ts +0 -4
- package/dist/destinations/campaign-manager-360/index.js +0 -63
- package/dist/destinations/campaign-manager-360/index.js.map +0 -1
- package/dist/destinations/campaign-manager-360/types.d.ts +0 -116
- package/dist/destinations/campaign-manager-360/types.js +0 -23
- package/dist/destinations/campaign-manager-360/types.js.map +0 -1
- package/dist/destinations/campaign-manager-360/utils.d.ts +0 -21
- package/dist/destinations/campaign-manager-360/utils.js +0 -175
- package/dist/destinations/campaign-manager-360/utils.js.map +0 -1
- package/dist/destinations/first-party-dv360/addToList/generated-types.d.ts +0 -2
- package/dist/destinations/first-party-dv360/addToList/generated-types.js +0 -3
- package/dist/destinations/first-party-dv360/addToList/generated-types.js.map +0 -1
- package/dist/destinations/first-party-dv360/addToList/index.d.ts +0 -5
- package/dist/destinations/first-party-dv360/addToList/index.js +0 -11
- package/dist/destinations/first-party-dv360/addToList/index.js.map +0 -1
- package/dist/destinations/first-party-dv360/addToList.types.d.ts +0 -9
- package/dist/destinations/first-party-dv360/addToList.types.js +0 -3
- package/dist/destinations/first-party-dv360/addToList.types.js.map +0 -1
- package/dist/destinations/hubspot/customEvent/dynamic-fields.d.ts +0 -5
- package/dist/destinations/hubspot/customEvent/dynamic-fields.js +0 -112
- package/dist/destinations/hubspot/customEvent/dynamic-fields.js.map +0 -1
- package/dist/destinations/hubspot/customEvent/event-completion.d.ts +0 -3
- package/dist/destinations/hubspot/customEvent/event-completion.js +0 -17
- package/dist/destinations/hubspot/customEvent/event-completion.js.map +0 -1
- package/dist/destinations/hubspot/customEvent/schema-functions.d.ts +0 -3
- package/dist/destinations/hubspot/customEvent/schema-functions.js +0 -30
- package/dist/destinations/hubspot/customEvent/schema-functions.js.map +0 -1
- package/dist/destinations/hubspot/customEvent/utils.d.ts +0 -14
- package/dist/destinations/hubspot/customEvent/utils.js +0 -303
- package/dist/destinations/hubspot/customEvent/utils.js.map +0 -1
- package/dist/destinations/hubspot/customEvent/validation-functions.d.ts +0 -3
- package/dist/destinations/hubspot/customEvent/validation-functions.js +0 -66
- package/dist/destinations/hubspot/customEvent/validation-functions.js.map +0 -1
- package/dist/destinations/hubspot/customEvent/validation.d.ts +0 -3
- package/dist/destinations/hubspot/customEvent/validation.js +0 -66
- package/dist/destinations/hubspot/customEvent/validation.js.map +0 -1
- package/dist/destinations/hubspot/upsertObject/association-functions.d.ts +0 -5
- package/dist/destinations/hubspot/upsertObject/association-functions.js +0 -136
- package/dist/destinations/hubspot/upsertObject/association-functions.js.map +0 -1
- package/dist/destinations/hubspot/upsertObject/cache-functions.d.ts +0 -3
- package/dist/destinations/hubspot/upsertObject/cache-functions.js +0 -20
- package/dist/destinations/hubspot/upsertObject/cache-functions.js.map +0 -1
- package/dist/destinations/hubspot/upsertObject/dynamic-fields.d.ts +0 -7
- package/dist/destinations/hubspot/upsertObject/dynamic-fields.js +0 -222
- package/dist/destinations/hubspot/upsertObject/dynamic-fields.js.map +0 -1
- package/dist/destinations/hubspot/upsertObject/hubspot-association-functions.d.ts +0 -5
- package/dist/destinations/hubspot/upsertObject/hubspot-association-functions.js +0 -136
- package/dist/destinations/hubspot/upsertObject/hubspot-association-functions.js.map +0 -1
- package/dist/destinations/hubspot/upsertObject/hubspot-properties-functions.d.ts +0 -4
- package/dist/destinations/hubspot/upsertObject/hubspot-properties-functions.js +0 -159
- package/dist/destinations/hubspot/upsertObject/hubspot-properties-functions.js.map +0 -1
- package/dist/destinations/hubspot/upsertObject/hubspot-record-functions.d.ts +0 -4
- package/dist/destinations/hubspot/upsertObject/hubspot-record-functions.js +0 -100
- package/dist/destinations/hubspot/upsertObject/hubspot-record-functions.js.map +0 -1
- package/dist/destinations/hubspot/upsertObject/schema-functions.d.ts +0 -3
- package/dist/destinations/hubspot/upsertObject/schema-functions.js +0 -80
- package/dist/destinations/hubspot/upsertObject/schema-functions.js.map +0 -1
- package/dist/destinations/hubspot/upsertObject/send-from-record-functions.d.ts +0 -4
- package/dist/destinations/hubspot/upsertObject/send-from-record-functions.js +0 -100
- package/dist/destinations/hubspot/upsertObject/send-from-record-functions.js.map +0 -1
- package/dist/destinations/hubspot/upsertObject/utils.d.ts +0 -13
- package/dist/destinations/hubspot/upsertObject/utils.js +0 -547
- package/dist/destinations/hubspot/upsertObject/utils.js.map +0 -1
- package/dist/destinations/hubspot/upsertObject/validation-functions.d.ts +0 -2
- package/dist/destinations/hubspot/upsertObject/validation-functions.js +0 -67
- package/dist/destinations/hubspot/upsertObject/validation-functions.js.map +0 -1
- package/dist/destinations/responsys/shared_properties.d.ts +0 -3
- package/dist/destinations/responsys/shared_properties.js +0 -19
- package/dist/destinations/responsys/shared_properties.js.map +0 -1
- package/dist/destinations/s3/syncAudienceToS3/generated-types.d.ts +0 -53
- package/dist/destinations/s3/syncAudienceToS3/generated-types.js +0 -3
- package/dist/destinations/s3/syncAudienceToS3/generated-types.js.map +0 -1
- package/dist/destinations/s3/syncAudienceToS3/index.d.ts +0 -5
- package/dist/destinations/s3/syncAudienceToS3/index.js +0 -22
- package/dist/destinations/s3/syncAudienceToS3/index.js.map +0 -1
- package/dist/destinations/s3/syncEventsToS3/generated-types.d.ts +0 -44
- package/dist/destinations/s3/syncEventsToS3/generated-types.js +0 -3
- package/dist/destinations/s3/syncEventsToS3/generated-types.js.map +0 -1
- package/dist/destinations/s3/syncEventsToS3/index.d.ts +0 -5
- package/dist/destinations/s3/syncEventsToS3/index.js +0 -19
- package/dist/destinations/s3/syncEventsToS3/index.js.map +0 -1
- package/dist/destinations/s3/syncToS3.types.d.ts +0 -44
- package/dist/destinations/s3/syncToS3.types.js +0 -3
- package/dist/destinations/s3/syncToS3.types.js.map +0 -1
- package/dist/destinations/singlestore/sendData/generated-types.d.ts +0 -2
- package/dist/destinations/singlestore/sendData/generated-types.js +0 -3
- package/dist/destinations/singlestore/sendData/generated-types.js.map +0 -1
- package/dist/destinations/singlestore/sendData/index.d.ts +0 -5
- package/dist/destinations/singlestore/sendData/index.js +0 -65
- package/dist/destinations/singlestore/sendData/index.js.map +0 -1
- package/dist/destinations/singlestore/utils.d.ts +0 -0
- package/dist/destinations/singlestore/utils.js +0 -2
- package/dist/destinations/singlestore/utils.js.map +0 -1
- package/dist/destinations/twilio-messaging/generated-types.d.ts +0 -6
- package/dist/destinations/twilio-messaging/generated-types.js +0 -3
- package/dist/destinations/twilio-messaging/generated-types.js.map +0 -1
- package/dist/destinations/twilio-messaging/index.d.ts +0 -4
- package/dist/destinations/twilio-messaging/index.js +0 -61
- package/dist/destinations/twilio-messaging/index.js.map +0 -1
- package/dist/destinations/twilio-messaging/sendMessage/constants.d.ts +0 -45
- package/dist/destinations/twilio-messaging/sendMessage/constants.js +0 -99
- package/dist/destinations/twilio-messaging/sendMessage/constants.js.map +0 -1
- package/dist/destinations/twilio-messaging/sendMessage/dynamic-fields.d.ts +0 -11
- package/dist/destinations/twilio-messaging/sendMessage/dynamic-fields.js +0 -209
- package/dist/destinations/twilio-messaging/sendMessage/dynamic-fields.js.map +0 -1
- package/dist/destinations/twilio-messaging/sendMessage/fields.d.ts +0 -2
- package/dist/destinations/twilio-messaging/sendMessage/fields.js +0 -261
- package/dist/destinations/twilio-messaging/sendMessage/fields.js.map +0 -1
- package/dist/destinations/twilio-messaging/sendMessage/generated-types.d.ts +0 -24
- package/dist/destinations/twilio-messaging/sendMessage/generated-types.js +0 -3
- package/dist/destinations/twilio-messaging/sendMessage/generated-types.js.map +0 -1
- package/dist/destinations/twilio-messaging/sendMessage/index.js +0 -42
- package/dist/destinations/twilio-messaging/sendMessage/index.js.map +0 -1
- package/dist/destinations/twilio-messaging/sendMessage/types.d.ts +0 -34
- package/dist/destinations/twilio-messaging/sendMessage/types.js.map +0 -1
- package/dist/destinations/twilio-messaging/sendMessage/utils.d.ts +0 -6
- package/dist/destinations/twilio-messaging/sendMessage/utils.js +0 -154
- package/dist/destinations/twilio-messaging/sendMessage/utils.js.map +0 -1
- /package/dist/destinations/{accoil-analytics/postToAccoil → responsys/sendToPet}/generated-types.js +0 -0
- /package/dist/destinations/{twilio-messaging/sendMessage → responsys/sendToPet}/index.d.ts +0 -0
- /package/dist/destinations/{twilio-messaging/sendMessage → salesforce-marketing-cloud}/types.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"multistatus.test.js","sourceRoot":"","sources":["../../../../src/destinations/salesforce-marketing-cloud/_tests_/multistatus.test.ts"],"names":[],"mappings":";;;;;AAAA,wDAA4F;AAC5F,gDAAuB;AACvB,qDA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EAAE,aAAa;aAC7B,CAAC,CAAA;YAEF,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC;gBAChC,MAAM,EAAE,GAAG;gBACX,SAAS,EAAE,aAAa;gBACxB,YAAY,EAAE,6BAA6B;gBAC3C,aAAa,EAAE,aAAa;aAC7B,CAAC,CAAA;QACJ,CAAC,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
|
|
@@ -30,23 +30,7 @@ const action = {
|
|
|
30
30
|
perform: async (request, { settings, payload }) => {
|
|
31
31
|
return sfmc_operations_1.upsertRows(request, settings.subdomain, [payload]);
|
|
32
32
|
},
|
|
33
|
-
performBatch: async (request, { settings, payload
|
|
34
|
-
if (features && features['enable-sfmc-id-key-stats']) {
|
|
35
|
-
const statsClient = statsContext?.statsClient;
|
|
36
|
-
const tags = statsContext?.tags;
|
|
37
|
-
const setKey = new Set();
|
|
38
|
-
const setId = new Set();
|
|
39
|
-
payload.forEach((profile) => {
|
|
40
|
-
if (profile.id != undefined && profile.id != null) {
|
|
41
|
-
setId.add(profile.id);
|
|
42
|
-
}
|
|
43
|
-
if (profile.key != undefined && profile.key != null) {
|
|
44
|
-
setKey.add(profile.key);
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
statsClient?.histogram(`sfmc_id`, setId.size, tags);
|
|
48
|
-
statsClient?.histogram(`sfmc_key`, setKey.size, tags);
|
|
49
|
-
}
|
|
33
|
+
performBatch: async (request, { settings, payload }) => {
|
|
50
34
|
return sfmc_operations_1.upsertRows(request, settings.subdomain, payload);
|
|
51
35
|
}
|
|
52
36
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/salesforce-marketing-cloud/contactDataExtension/index.ts"],"names":[],"mappings":";;AAGA,wDAAqG;AACrG,wDAA+C;AAE/C,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,gCAAgC;IACvC,mBAAmB,EAAE,mBAAmB;IACxC,WAAW,EAAE,4FAA4F;IACzG,MAAM,EAAE;QACN,GAAG,EAAE,qBAAG;QACR,EAAE,EAAE,oBAAE;QACN,IAAI,EAAE;YACJ,GAAG,sBAAI;YACP,UAAU,EAAE;gBACV,UAAU,EAAE;oBACV,KAAK,EAAE,aAAa;oBACpB,WAAW,EACT,gJAAgJ;oBAClJ,IAAI,EAAE,QAAQ;oBACd,QAAQ,EAAE,IAAI;iBACf;aACF;YACD,OAAO,EAAE;gBACP,UAAU,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE;aACpC;SACF;QACD,MAAM,EAAE,sCAAoB;QAC5B,eAAe,EAAE,iCAAe;QAChC,UAAU,EAAE,4BAAU;KACvB;IACD,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;QAChD,OAAO,4BAAU,CAAC,OAAO,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC,OAAO,CAAC,CAAC,CAAA;IAC3D,CAAC;IACD,YAAY,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/salesforce-marketing-cloud/contactDataExtension/index.ts"],"names":[],"mappings":";;AAGA,wDAAqG;AACrG,wDAA+C;AAE/C,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,gCAAgC;IACvC,mBAAmB,EAAE,mBAAmB;IACxC,WAAW,EAAE,4FAA4F;IACzG,MAAM,EAAE;QACN,GAAG,EAAE,qBAAG;QACR,EAAE,EAAE,oBAAE;QACN,IAAI,EAAE;YACJ,GAAG,sBAAI;YACP,UAAU,EAAE;gBACV,UAAU,EAAE;oBACV,KAAK,EAAE,aAAa;oBACpB,WAAW,EACT,gJAAgJ;oBAClJ,IAAI,EAAE,QAAQ;oBACd,QAAQ,EAAE,IAAI;iBACf;aACF;YACD,OAAO,EAAE;gBACP,UAAU,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE;aACpC;SACF;QACD,MAAM,EAAE,sCAAoB;QAC5B,eAAe,EAAE,iCAAe;QAChC,UAAU,EAAE,4BAAU;KACvB;IACD,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;QAChD,OAAO,4BAAU,CAAC,OAAO,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC,OAAO,CAAC,CAAC,CAAA;IAC3D,CAAC;IACD,YAAY,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;QACrD,OAAO,4BAAU,CAAC,OAAO,EAAE,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,CAAA;IACzD,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -16,23 +16,7 @@ const action = {
|
|
|
16
16
|
perform: async (request, { settings, payload }) => {
|
|
17
17
|
return sfmc_operations_1.upsertRows(request, settings.subdomain, [payload]);
|
|
18
18
|
},
|
|
19
|
-
performBatch: async (request, { settings, payload
|
|
20
|
-
if (features && features['enable-sfmc-id-key-stats']) {
|
|
21
|
-
const statsClient = statsContext?.statsClient;
|
|
22
|
-
const tags = statsContext?.tags;
|
|
23
|
-
const setKey = new Set();
|
|
24
|
-
const setId = new Set();
|
|
25
|
-
payload.forEach((profile) => {
|
|
26
|
-
if (profile.id != undefined && profile.id != null) {
|
|
27
|
-
setId.add(profile.id);
|
|
28
|
-
}
|
|
29
|
-
if (profile.key != undefined && profile.key != null) {
|
|
30
|
-
setKey.add(profile.key);
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
statsClient?.histogram(`sfmc_id`, setId.size, tags);
|
|
34
|
-
statsClient?.histogram(`sfmc_key`, setKey.size, tags);
|
|
35
|
-
}
|
|
19
|
+
performBatch: async (request, { settings, payload }) => {
|
|
36
20
|
return sfmc_operations_1.upsertRows(request, settings.subdomain, payload);
|
|
37
21
|
}
|
|
38
22
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/salesforce-marketing-cloud/dataExtension/index.ts"],"names":[],"mappings":";;AAGA,wDAA2G;AAC3G,wDAA+C;AAE/C,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,8BAA8B;IACrC,WAAW,EAAE,sFAAsF;IACnG,MAAM,EAAE;QACN,GAAG,EAAE,qBAAG;QACR,EAAE,EAAE,oBAAE;QACN,IAAI,EAAE,EAAE,GAAG,sBAAI,EAAE,QAAQ,EAAE,IAAI,EAAE;QACjC,MAAM,EAAE,4CAA0B;QAClC,eAAe,EAAE,iCAAe;QAChC,UAAU,EAAE,4BAAU;KACvB;IACD,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;QAChD,OAAO,4BAAU,CAAC,OAAO,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC,OAAO,CAAC,CAAC,CAAA;IAC3D,CAAC;IACD,YAAY,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/salesforce-marketing-cloud/dataExtension/index.ts"],"names":[],"mappings":";;AAGA,wDAA2G;AAC3G,wDAA+C;AAE/C,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,8BAA8B;IACrC,WAAW,EAAE,sFAAsF;IACnG,MAAM,EAAE;QACN,GAAG,EAAE,qBAAG;QACR,EAAE,EAAE,oBAAE;QACN,IAAI,EAAE,EAAE,GAAG,sBAAI,EAAE,QAAQ,EAAE,IAAI,EAAE;QACjC,MAAM,EAAE,4CAA0B;QAClC,eAAe,EAAE,iCAAe;QAChC,UAAU,EAAE,4BAAU;KACvB;IACD,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;QAChD,OAAO,4BAAU,CAAC,OAAO,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC,OAAO,CAAC,CAAC,CAAA;IAC3D,CAAC;IACD,YAAY,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;QACrD,OAAO,4BAAU,CAAC,OAAO,EAAE,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,CAAA;IACzD,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RequestClient } from '@segment/actions-core';
|
|
1
|
+
import { RequestClient, MultiStatusResponse, ModifiedResponse } from '@segment/actions-core';
|
|
2
2
|
import { Payload as payload_dataExtension } from './dataExtension/generated-types';
|
|
3
3
|
import { Payload as payload_contactDataExtension } from './contactDataExtension/generated-types';
|
|
4
|
-
export declare function upsertRows(request: RequestClient, subdomain: String, payloads: payload_dataExtension[] | payload_contactDataExtension[]): Promise<
|
|
4
|
+
export declare function upsertRows(request: RequestClient, subdomain: String, payloads: payload_dataExtension[] | payload_contactDataExtension[]): Promise<MultiStatusResponse | ModifiedResponse<unknown> | undefined>;
|
|
@@ -2,10 +2,23 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.upsertRows = void 0;
|
|
4
4
|
const actions_core_1 = require("@segment/actions-core");
|
|
5
|
-
function upsertRows(request, subdomain, payloads) {
|
|
5
|
+
async function upsertRows(request, subdomain, payloads) {
|
|
6
|
+
const multiStatusResponse = new actions_core_1.MultiStatusResponse();
|
|
7
|
+
let url;
|
|
8
|
+
let response;
|
|
6
9
|
const { key, id } = payloads[0];
|
|
7
10
|
if (!key && !id) {
|
|
8
|
-
|
|
11
|
+
if (payloads.length === 1) {
|
|
12
|
+
throw new actions_core_1.IntegrationError(`In order to send an event to a data extension either Data Extension ID or Data Extension Key must be defined.`, 'Misconfigured required field', 400);
|
|
13
|
+
}
|
|
14
|
+
payloads.forEach((_, index) => {
|
|
15
|
+
multiStatusResponse.setErrorResponseAtIndex(index, {
|
|
16
|
+
status: 400,
|
|
17
|
+
errortype: 'PAYLOAD_VALIDATION_FAILED',
|
|
18
|
+
errormessage: `In order to send an event to a data extension either Data Extension ID or Data Extension Key must be defined.`
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
return multiStatusResponse;
|
|
9
22
|
}
|
|
10
23
|
const rows = [];
|
|
11
24
|
payloads.forEach((payload) => {
|
|
@@ -15,17 +28,42 @@ function upsertRows(request, subdomain, payloads) {
|
|
|
15
28
|
});
|
|
16
29
|
});
|
|
17
30
|
if (key) {
|
|
18
|
-
|
|
19
|
-
method: 'POST',
|
|
20
|
-
json: rows
|
|
21
|
-
});
|
|
31
|
+
url = `https://${subdomain}.rest.marketingcloudapis.com/hub/v1/dataevents/key:${key}/rowset`;
|
|
22
32
|
}
|
|
23
33
|
else {
|
|
24
|
-
|
|
34
|
+
url = `https://${subdomain}.rest.marketingcloudapis.com/hub/v1/dataevents/${id}/rowset`;
|
|
35
|
+
}
|
|
36
|
+
try {
|
|
37
|
+
response = await request(url, {
|
|
25
38
|
method: 'POST',
|
|
26
39
|
json: rows
|
|
27
40
|
});
|
|
41
|
+
payloads.forEach((payload, index) => {
|
|
42
|
+
multiStatusResponse.setSuccessResponseAtIndex(index, {
|
|
43
|
+
status: 200,
|
|
44
|
+
sent: payload,
|
|
45
|
+
body: JSON.stringify(response?.data)
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
catch (error) {
|
|
50
|
+
const err = error;
|
|
51
|
+
if (err?.response?.data?.message === 'Not Authorized' || payloads.length === 1) {
|
|
52
|
+
throw error;
|
|
53
|
+
}
|
|
54
|
+
payloads.forEach((payload, index) => {
|
|
55
|
+
multiStatusResponse.setErrorResponseAtIndex(index, {
|
|
56
|
+
status: 400,
|
|
57
|
+
errormessage: err?.response?.data?.additionalErrors[0]?.message || '',
|
|
58
|
+
sent: payload,
|
|
59
|
+
body: JSON.stringify(err)
|
|
60
|
+
});
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
if (payloads.length > 1) {
|
|
64
|
+
return multiStatusResponse;
|
|
28
65
|
}
|
|
66
|
+
return response;
|
|
29
67
|
}
|
|
30
68
|
exports.upsertRows = upsertRows;
|
|
31
69
|
//# sourceMappingURL=sfmc-operations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sfmc-operations.js","sourceRoot":"","sources":["../../../src/destinations/salesforce-marketing-cloud/sfmc-operations.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"sfmc-operations.js","sourceRoot":"","sources":["../../../src/destinations/salesforce-marketing-cloud/sfmc-operations.ts"],"names":[],"mappings":";;;AAAA,wDAM8B;AAKvB,KAAK,UAAU,UAAU,CAC9B,OAAsB,EACtB,SAAiB,EACjB,QAAkE;IAElE,MAAM,mBAAmB,GAAG,IAAI,kCAAmB,EAAE,CAAA;IACrD,IAAI,GAAW,CAAA;IACf,IAAI,QAAsC,CAAA;IAC1C,MAAM,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAA;IAC/B,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,EAAE;QACf,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE;YACzB,MAAM,IAAI,+BAAgB,CACxB,+GAA+G,EAC/G,8BAA8B,EAC9B,GAAG,CACJ,CAAA;SACF;QACD,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE;YAC5B,mBAAmB,CAAC,uBAAuB,CAAC,KAAK,EAAE;gBACjD,MAAM,EAAE,GAAG;gBACX,SAAS,EAAE,2BAA2B;gBACtC,YAAY,EAAE,+GAA+G;aAC9H,CAAC,CAAA;QACJ,CAAC,CAAC,CAAA;QACF,OAA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AC,CAAC,EAAE,OAAO,IAAI,EAAE;gBACrE,IAAI,EAAE,OAAmC;gBACzC,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC;aAC1B,CAAC,CAAA;QACJ,CAAC,CAAC,CAAA;KACH;IAED,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;QACvB,OAAO,mBAAmB,CAAA;KAC3B;IAED,OAAO,QAAQ,CAAA;AACjB,CAAC;AAzED,gCAyEC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
interface AdditionalError {
|
|
2
|
+
message: string;
|
|
3
|
+
errorcode: number;
|
|
4
|
+
documentation: string;
|
|
5
|
+
}
|
|
6
|
+
interface ErrorData {
|
|
7
|
+
additionalErrors: AdditionalError[];
|
|
8
|
+
message: string;
|
|
9
|
+
}
|
|
10
|
+
interface ErrorResponseData {
|
|
11
|
+
message: string;
|
|
12
|
+
errorcode: number;
|
|
13
|
+
documentation: string;
|
|
14
|
+
data: ErrorData;
|
|
15
|
+
}
|
|
16
|
+
export interface ErrorResponse {
|
|
17
|
+
response: ErrorResponseData;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/destinations/salesforce-marketing-cloud/types.ts"],"names":[],"mappings":""}
|
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.345.
|
|
4
|
+
"version": "3.345.9-staging-d01d86282.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/segmentio/action-destinations",
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
"__tests__/__helpers__/"
|
|
89
89
|
]
|
|
90
90
|
},
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "d9786a2342f40379d59a49f2e1f984b294eaa25f"
|
|
92
92
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/accoil-analytics/postToAccoil/generated-types.ts"],"names":[],"mappings":""}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const action = {
|
|
4
|
-
title: 'Post to Accoil',
|
|
5
|
-
description: 'Send Data to Accoil Analytics',
|
|
6
|
-
defaultSubscription: 'type = "track"',
|
|
7
|
-
fields: {
|
|
8
|
-
segmentEventData: {
|
|
9
|
-
label: 'Event Payload',
|
|
10
|
-
description: 'Segment Event Payload',
|
|
11
|
-
type: 'object',
|
|
12
|
-
unsafe_hidden: true,
|
|
13
|
-
required: true,
|
|
14
|
-
default: {
|
|
15
|
-
'@path': '$.'
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
perform: (request, { settings, payload }) => {
|
|
20
|
-
const staging = settings?.api_key?.toLowerCase()?.startsWith('stg_');
|
|
21
|
-
return request(staging == true ? `https://instaging.accoil.com/segment` : `https://in.accoil.com/segment`, {
|
|
22
|
-
method: 'post',
|
|
23
|
-
json: payload.segmentEventData
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
exports.default = action;
|
|
28
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/accoil-analytics/postToAccoil/index.ts"],"names":[],"mappings":";;AAIA,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,gBAAgB;IACvB,WAAW,EAAE,+BAA+B;IAC5C,mBAAmB,EAAE,gBAAgB;IAErC,MAAM,EAAE;QACN,gBAAgB,EAAE;YAChB,KAAK,EAAE,eAAe;YACtB,WAAW,EAAE,uBAAuB;YACpC,IAAI,EAAE,QAAQ;YACd,aAAa,EAAE,IAAI;YACnB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE;gBACP,OAAO,EAAE,IAAI;aACd;SACF;KACF;IACD,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;QAC1C,MAAM,OAAO,GAAG,QAAQ,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;QACpE,OAAO,OAAO,CAAC,OAAO,IAAI,IAAI,CAAC,CAAC,CAAC,sCAAsC,CAAC,CAAC,CAAC,+BAA+B,EAAE;YACzG,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,OAAO,CAAC,gBAAgB;SAC/B,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createAliasV2.types.js","sourceRoot":"","sources":["../../../src/destinations/braze/createAliasV2.types.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"identifyUserV2.types.js","sourceRoot":"","sources":["../../../src/destinations/braze/identifyUserV2.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,306 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.commonFields = void 0;
|
|
4
|
-
const types_1 = require("./types");
|
|
5
|
-
const utils_1 = require("./utils");
|
|
6
|
-
exports.commonFields = {
|
|
7
|
-
floodlightConfigurationId: {
|
|
8
|
-
label: 'Floodlight Configuration ID',
|
|
9
|
-
description: 'The Floodlight configuration ID associated with the conversion. Overrides the default Floodlight Configuration ID defined in Settings.',
|
|
10
|
-
type: 'string',
|
|
11
|
-
required: false
|
|
12
|
-
},
|
|
13
|
-
floodlightActivityId: {
|
|
14
|
-
label: 'Floodlight Activity ID',
|
|
15
|
-
description: 'The Floodlight activity ID associated with the conversion. Overrides the default Floodlight Activity ID defined in Settings.',
|
|
16
|
-
type: 'string',
|
|
17
|
-
required: false
|
|
18
|
-
},
|
|
19
|
-
encryptionInfo: {
|
|
20
|
-
label: 'Encryption Info',
|
|
21
|
-
description: 'The encryption information associated with the conversion. Required if Encrypted User ID or Encryption User ID Candidates fields are populated.',
|
|
22
|
-
type: 'object',
|
|
23
|
-
required: false,
|
|
24
|
-
properties: {
|
|
25
|
-
encryptionEntityId: {
|
|
26
|
-
label: 'Encryption Entity ID',
|
|
27
|
-
description: 'The encryption entity ID. This should match the encryption type configuration for ad serving or Data Transfer.',
|
|
28
|
-
type: 'string',
|
|
29
|
-
required: true
|
|
30
|
-
},
|
|
31
|
-
encryptionEntityType: {
|
|
32
|
-
label: 'Encryption Entity Type',
|
|
33
|
-
description: 'The encryption entity type. This should match the encryption type configuration for ad serving or Data Transfer.',
|
|
34
|
-
type: 'string',
|
|
35
|
-
required: true,
|
|
36
|
-
choices: utils_1.getEntityTypeChoices()
|
|
37
|
-
},
|
|
38
|
-
encryptionSource: {
|
|
39
|
-
label: 'Encryption Source',
|
|
40
|
-
description: 'The encryption source. This should match the encryption type configuration for ad serving or Data Transfer.',
|
|
41
|
-
type: 'string',
|
|
42
|
-
required: true,
|
|
43
|
-
choices: utils_1.getSources()
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
userDetails: {
|
|
48
|
-
label: 'User Details',
|
|
49
|
-
description: 'User details associated with the conversion.',
|
|
50
|
-
type: 'object',
|
|
51
|
-
required: false,
|
|
52
|
-
properties: {
|
|
53
|
-
email: {
|
|
54
|
-
label: 'Email',
|
|
55
|
-
description: "The user's email address. If unhashed, Segment will hash before sending to Campaign Manager 360.",
|
|
56
|
-
type: 'string',
|
|
57
|
-
required: false
|
|
58
|
-
},
|
|
59
|
-
phone: {
|
|
60
|
-
label: 'Phone',
|
|
61
|
-
description: "The user's phone number. If unhashed, Segment will hash before sending to Campaign Manager 360.",
|
|
62
|
-
type: 'string',
|
|
63
|
-
required: false
|
|
64
|
-
},
|
|
65
|
-
firstName: {
|
|
66
|
-
label: 'First Name',
|
|
67
|
-
description: 'First name of the user. If unhashed, Segment will hash before sending to Campaign Manager 360.',
|
|
68
|
-
type: 'string',
|
|
69
|
-
required: false
|
|
70
|
-
},
|
|
71
|
-
lastName: {
|
|
72
|
-
label: 'Last Name',
|
|
73
|
-
description: 'Last name of the user. If unhashed, Segment will hash before sending to Campaign Manager 360.',
|
|
74
|
-
type: 'string',
|
|
75
|
-
required: false
|
|
76
|
-
},
|
|
77
|
-
streetAddress: {
|
|
78
|
-
label: 'Street Address',
|
|
79
|
-
description: 'The street address of the user. If unhashed, Segment will hash before sending to Campaign Manager 360.',
|
|
80
|
-
type: 'string',
|
|
81
|
-
required: false
|
|
82
|
-
},
|
|
83
|
-
city: {
|
|
84
|
-
label: 'City',
|
|
85
|
-
description: "The user's city",
|
|
86
|
-
type: 'string',
|
|
87
|
-
required: false
|
|
88
|
-
},
|
|
89
|
-
state: {
|
|
90
|
-
label: 'State',
|
|
91
|
-
description: "The user's state",
|
|
92
|
-
type: 'string',
|
|
93
|
-
required: false
|
|
94
|
-
},
|
|
95
|
-
postalCode: {
|
|
96
|
-
label: 'Postal Code',
|
|
97
|
-
description: "The user's postal code",
|
|
98
|
-
type: 'string',
|
|
99
|
-
required: false
|
|
100
|
-
},
|
|
101
|
-
countryCode: {
|
|
102
|
-
label: 'Country Code',
|
|
103
|
-
description: "2-letter country code in ISO-3166-1 alpha-2 of the user's address.",
|
|
104
|
-
type: 'string',
|
|
105
|
-
required: false
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
default: {
|
|
109
|
-
email: {
|
|
110
|
-
'@if': {
|
|
111
|
-
exists: { '@path': '$.traits.email' },
|
|
112
|
-
then: { '@path': '$.traits.email' },
|
|
113
|
-
else: { '@path': '$.context.traits.email' }
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
phone: {
|
|
117
|
-
'@if': {
|
|
118
|
-
exists: { '@path': '$.traits.phone' },
|
|
119
|
-
then: { '@path': '$.traits.phone' },
|
|
120
|
-
else: { '@path': '$.context.traits.phone' }
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
firstName: {
|
|
124
|
-
'@if': {
|
|
125
|
-
exists: { '@path': '$.traits.first_name' },
|
|
126
|
-
then: { '@path': '$.traits.first_name' },
|
|
127
|
-
else: { '@path': '$.context.traits.first_name' }
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
lastName: {
|
|
131
|
-
'@if': {
|
|
132
|
-
exists: { '@path': '$.traits.last_name' },
|
|
133
|
-
then: { '@path': '$.traits.last_name' },
|
|
134
|
-
else: { '@path': '$.context.traits.last_name' }
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
streetAddress: {
|
|
138
|
-
'@if': {
|
|
139
|
-
exists: { '@path': '$.traits.address.street' },
|
|
140
|
-
then: { '@path': '$.traits.address.street' },
|
|
141
|
-
else: { '@path': '$.context.traits.address.street' }
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
city: {
|
|
145
|
-
'@if': {
|
|
146
|
-
exists: { '@path': '$.traits.address.city' },
|
|
147
|
-
then: { '@path': '$.traits.address.city' },
|
|
148
|
-
else: { '@path': '$.context.traits.address.city' }
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
state: {
|
|
152
|
-
'@if': {
|
|
153
|
-
exists: { '@path': '$.traits.address.state' },
|
|
154
|
-
then: { '@path': '$.traits.address.state' },
|
|
155
|
-
else: { '@path': '$.context.traits.address.state' }
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
postalCode: {
|
|
159
|
-
'@if': {
|
|
160
|
-
exists: { '@path': '$.traits.address.postal_code' },
|
|
161
|
-
then: { '@path': '$.traits.address.postal_code' },
|
|
162
|
-
else: { '@path': '$.context.traits.address.postal_code' }
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
countryCode: {
|
|
166
|
-
'@if': {
|
|
167
|
-
exists: { '@path': '$.traits.address.country' },
|
|
168
|
-
then: { '@path': '$.traits.address.country' },
|
|
169
|
-
else: { '@path': '$.context.traits.address.country' }
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
timestamp: {
|
|
175
|
-
label: 'Timestamp (ISO-8601)',
|
|
176
|
-
description: 'The timestamp of the conversion in a ISO-8601 string.',
|
|
177
|
-
type: 'string',
|
|
178
|
-
required: true,
|
|
179
|
-
default: {
|
|
180
|
-
'@path': '$.timestamp'
|
|
181
|
-
}
|
|
182
|
-
},
|
|
183
|
-
value: {
|
|
184
|
-
label: 'Value',
|
|
185
|
-
description: 'The value of the conversion.',
|
|
186
|
-
type: 'number',
|
|
187
|
-
required: true,
|
|
188
|
-
default: {
|
|
189
|
-
'@if': {
|
|
190
|
-
exists: { '@path': '$.properties.total' },
|
|
191
|
-
then: { '@path': '$.properties.total' },
|
|
192
|
-
else: { '@path': '$.properties.revenue' }
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
},
|
|
196
|
-
quantity: {
|
|
197
|
-
label: 'Quantity',
|
|
198
|
-
description: 'The quantity of the conversion.',
|
|
199
|
-
type: 'string',
|
|
200
|
-
required: true,
|
|
201
|
-
default: {
|
|
202
|
-
'@path': '$.quantity'
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
ordinal: {
|
|
206
|
-
label: 'Ordinal',
|
|
207
|
-
description: 'The ordinal of the conversion. Use this field to control how conversions of the same user and day are de-duplicated.',
|
|
208
|
-
type: 'string',
|
|
209
|
-
required: true
|
|
210
|
-
},
|
|
211
|
-
limitAdTracking: {
|
|
212
|
-
label: 'Limit Ad Tracking',
|
|
213
|
-
description: 'Whether Limit Ad Tracking is enabled. When set to true, the conversion will be used for reporting but not targeting. This will prevent remarketing.',
|
|
214
|
-
type: 'boolean',
|
|
215
|
-
required: false,
|
|
216
|
-
default: false
|
|
217
|
-
},
|
|
218
|
-
childDirectedTreatment: {
|
|
219
|
-
label: 'Child Directed Treatment',
|
|
220
|
-
description: 'Whether this particular request may come from a user under the age of 13, under COPPA compliance.',
|
|
221
|
-
type: 'boolean',
|
|
222
|
-
required: false,
|
|
223
|
-
default: false
|
|
224
|
-
},
|
|
225
|
-
nonPersonalizedAd: {
|
|
226
|
-
label: 'Non-Personalized Ad',
|
|
227
|
-
description: 'Whether the conversion was for a non personalized ad.',
|
|
228
|
-
type: 'boolean',
|
|
229
|
-
required: false,
|
|
230
|
-
default: true
|
|
231
|
-
},
|
|
232
|
-
treatmentForUnderage: {
|
|
233
|
-
label: 'Treatment For Underage',
|
|
234
|
-
description: "Whether this particular request may come from a user under the age of 16 (may differ by country), under compliance with the European Union's General Data Protection Regulation (GDPR).",
|
|
235
|
-
type: 'boolean',
|
|
236
|
-
required: false,
|
|
237
|
-
default: false
|
|
238
|
-
},
|
|
239
|
-
adUserDataConsent: {
|
|
240
|
-
label: 'Ad User Data Consent',
|
|
241
|
-
description: 'The user data consent status for the conversion.',
|
|
242
|
-
type: 'string',
|
|
243
|
-
required: false,
|
|
244
|
-
choices: [
|
|
245
|
-
{ label: types_1.ConsentType.GRANTED, value: types_1.ConsentType.GRANTED },
|
|
246
|
-
{ label: types_1.ConsentType.DENIED, value: types_1.ConsentType.DENIED }
|
|
247
|
-
]
|
|
248
|
-
},
|
|
249
|
-
merchantId: {
|
|
250
|
-
label: 'Cart Data Merchant ID',
|
|
251
|
-
description: 'The Merchant Center ID where the items are uploaded. Required if the cart data is provided.',
|
|
252
|
-
type: 'string',
|
|
253
|
-
required: false
|
|
254
|
-
},
|
|
255
|
-
merchantFeedLabel: {
|
|
256
|
-
label: 'Cart Data Merchant Feed Label',
|
|
257
|
-
description: 'The feed labels associated with the feed where your items are uploaded. Required if the cart data is provided. For more information, please refer to https://support.google.com/merchants/answer/12453549.',
|
|
258
|
-
type: 'string',
|
|
259
|
-
required: false
|
|
260
|
-
},
|
|
261
|
-
merchantFeedLanguage: {
|
|
262
|
-
label: 'Cart Data Merchant Feed Language',
|
|
263
|
-
description: 'The language associated with the feed where your items are uploaded. Use ISO 639-1 language codes. This field is needed only when item IDs are not unique across multiple Merchant Center feeds.',
|
|
264
|
-
type: 'string',
|
|
265
|
-
required: false
|
|
266
|
-
},
|
|
267
|
-
cartDataItems: {
|
|
268
|
-
label: 'Cart Data Items',
|
|
269
|
-
description: 'The items in the cart.',
|
|
270
|
-
type: 'object',
|
|
271
|
-
multiple: true,
|
|
272
|
-
required: false,
|
|
273
|
-
additionalProperties: false,
|
|
274
|
-
properties: {
|
|
275
|
-
itemId: {
|
|
276
|
-
label: 'Item ID',
|
|
277
|
-
description: 'The item ID associated with the conversion.',
|
|
278
|
-
type: 'string',
|
|
279
|
-
required: true
|
|
280
|
-
},
|
|
281
|
-
quantity: {
|
|
282
|
-
label: 'Quantity',
|
|
283
|
-
description: 'The quantity of the item.',
|
|
284
|
-
type: 'number',
|
|
285
|
-
required: true
|
|
286
|
-
},
|
|
287
|
-
unitPrice: {
|
|
288
|
-
label: 'Value',
|
|
289
|
-
description: 'The value of the item.',
|
|
290
|
-
type: 'number',
|
|
291
|
-
required: true
|
|
292
|
-
}
|
|
293
|
-
},
|
|
294
|
-
default: {
|
|
295
|
-
'@arrayPath': [
|
|
296
|
-
'$.properties.products',
|
|
297
|
-
{
|
|
298
|
-
itemId: { '@path': '$.product_id' },
|
|
299
|
-
quantity: { '@path': '$.quantity' },
|
|
300
|
-
unitPrice: { '@path': '$.price' }
|
|
301
|
-
}
|
|
302
|
-
]
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
};
|
|
306
|
-
//# sourceMappingURL=common-fields.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common-fields.js","sourceRoot":"","sources":["../../../src/destinations/campaign-manager-360/common-fields.ts"],"names":[],"mappings":";;;AAEA,mCAAqC;AACrC,mCAAwD;AAE3C,QAAA,YAAY,GAAyC;IAChE,yBAAyB,EAAE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