@segment/action-destinations 3.220.0 → 3.221.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.
Files changed (63) hide show
  1. package/dist/destinations/airship/utilities.js +2 -2
  2. package/dist/destinations/airship/utilities.js.map +1 -1
  3. package/dist/destinations/braze/updateUserProfile/index.js +1 -6
  4. package/dist/destinations/braze/updateUserProfile/index.js.map +1 -1
  5. package/dist/destinations/hubspot/upsertContact/index.d.ts +1 -1
  6. package/dist/destinations/hubspot/upsertContact/index.js +28 -8
  7. package/dist/destinations/hubspot/upsertContact/index.js.map +1 -1
  8. package/dist/destinations/index.js +1 -0
  9. package/dist/destinations/index.js.map +1 -1
  10. package/dist/destinations/liveramp-audiences/audienceEnteredS3/index.js +1 -1
  11. package/dist/destinations/liveramp-audiences/audienceEnteredS3/index.js.map +1 -1
  12. package/dist/destinations/liveramp-audiences/audienceEnteredSftp/index.js +1 -1
  13. package/dist/destinations/liveramp-audiences/audienceEnteredSftp/index.js.map +1 -1
  14. package/dist/destinations/loops/createOrUpdateContact/generated-types.d.ts +1 -1
  15. package/dist/destinations/loops/createOrUpdateContact/index.js +2 -2
  16. package/dist/destinations/loops/createOrUpdateContact/index.js.map +1 -1
  17. package/dist/destinations/segment-profiles/segment-properties.d.ts +1 -0
  18. package/dist/destinations/segment-profiles/segment-properties.js +9 -1
  19. package/dist/destinations/segment-profiles/segment-properties.js.map +1 -1
  20. package/dist/destinations/segment-profiles/sendGroup/generated-types.d.ts +1 -0
  21. package/dist/destinations/segment-profiles/sendGroup/index.js +3 -1
  22. package/dist/destinations/segment-profiles/sendGroup/index.js.map +1 -1
  23. package/dist/destinations/segment-profiles/sendIdentify/generated-types.d.ts +1 -0
  24. package/dist/destinations/segment-profiles/sendIdentify/index.js +3 -1
  25. package/dist/destinations/segment-profiles/sendIdentify/index.js.map +1 -1
  26. package/dist/destinations/segment-profiles/sendSubscription/generated-types.d.ts +1 -0
  27. package/dist/destinations/segment-profiles/sendSubscription/index.js +4 -1
  28. package/dist/destinations/segment-profiles/sendSubscription/index.js.map +1 -1
  29. package/dist/destinations/snap-conversions-api/_tests_/index.test.js.map +1 -1
  30. package/dist/destinations/trackey/generated-types.d.ts +3 -0
  31. package/dist/destinations/trackey/generated-types.js.map +1 -0
  32. package/dist/destinations/trackey/group.types.d.ts +11 -0
  33. package/dist/destinations/{yahoo-audiences/createSegment/generated-types.js → trackey/group.types.js} +1 -1
  34. package/dist/destinations/trackey/group.types.js.map +1 -0
  35. package/dist/destinations/trackey/identify.types.d.ts +11 -0
  36. package/dist/destinations/trackey/identify.types.js +3 -0
  37. package/dist/destinations/trackey/identify.types.js.map +1 -0
  38. package/dist/destinations/trackey/index.d.ts +4 -0
  39. package/dist/destinations/trackey/index.js +206 -0
  40. package/dist/destinations/trackey/index.js.map +1 -0
  41. package/dist/destinations/trackey/track.types.d.ts +12 -0
  42. package/dist/destinations/trackey/track.types.js +3 -0
  43. package/dist/destinations/trackey/track.types.js.map +1 -0
  44. package/dist/destinations/yahoo-audiences/generated-types.d.ts +0 -2
  45. package/dist/destinations/yahoo-audiences/index.js +21 -26
  46. package/dist/destinations/yahoo-audiences/index.js.map +1 -1
  47. package/dist/destinations/yahoo-audiences/types.d.ts +6 -0
  48. package/dist/destinations/yahoo-audiences/updateSegment/index.js.map +1 -1
  49. package/dist/destinations/yahoo-audiences/utils-tax.d.ts +3 -5
  50. package/dist/destinations/yahoo-audiences/utils-tax.js +6 -6
  51. package/dist/destinations/yahoo-audiences/utils-tax.js.map +1 -1
  52. package/package.json +2 -2
  53. package/dist/destinations/yahoo-audiences/createCustomerNode/generated-types.d.ts +0 -4
  54. package/dist/destinations/yahoo-audiences/createCustomerNode/generated-types.js.map +0 -1
  55. package/dist/destinations/yahoo-audiences/createCustomerNode/index.d.ts +0 -5
  56. package/dist/destinations/yahoo-audiences/createCustomerNode/index.js +0 -33
  57. package/dist/destinations/yahoo-audiences/createCustomerNode/index.js.map +0 -1
  58. package/dist/destinations/yahoo-audiences/createSegment/generated-types.d.ts +0 -6
  59. package/dist/destinations/yahoo-audiences/createSegment/generated-types.js.map +0 -1
  60. package/dist/destinations/yahoo-audiences/createSegment/index.d.ts +0 -5
  61. package/dist/destinations/yahoo-audiences/createSegment/index.js +0 -45
  62. package/dist/destinations/yahoo-audiences/createSegment/index.js.map +0 -1
  63. /package/dist/destinations/{yahoo-audiences/createCustomerNode → trackey}/generated-types.js +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/yahoo-audiences/createCustomerNode/index.ts"],"names":[],"mappings":";;AAGA,4CAA4D;AAC5D,4CAA8C;AAE9C,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,kDAAkD;IACzD,mBAAmB,EAAE,0DAA0D;IAC/E,WAAW,EAAE,kDAAkD;IAC/D,MAAM,EAAE;QACN,eAAe,EAAE;YACf,KAAK,EAAE,iBAAiB;YACxB,WAAW,EACT,mJAAmJ;YACrJ,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACf;QACD,aAAa,EAAE;YACb,KAAK,EAAE,sBAAsB;YAC7B,WAAW,EACT,uGAAuG;YACzG,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,KAAK;SAChB;KACF;IACD,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;QAChD,MAAM,QAAQ,GAAG;YACf,aAAa,EAAE,QAAQ,CAAC,mBAAmB;YAC3C,gBAAgB,EAAE,QAAQ,CAAC,sBAAsB;SAClD,CAAA;QACD,MAAM,gBAAgB,GAAG,yCAA6B,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAA;QACzE,OAAO,MAAM,2BAAe,CAAC,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,gBAAgB,CAAC,CAAA;IACvE,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
@@ -1,6 +0,0 @@
1
- export interface Payload {
2
- segment_audience_key: string;
3
- segment_audience_id: string;
4
- engage_space_id?: string;
5
- customer_desc?: string;
6
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/yahoo-audiences/createSegment/generated-types.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import type { ActionDefinition } from '@segment/actions-core';
2
- import type { Settings } from '../generated-types';
3
- import type { Payload } from './generated-types';
4
- declare const action: ActionDefinition<Settings, Payload>;
5
- export default action;
@@ -1,45 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const utils_tax_1 = require("../utils-tax");
4
- const utils_tax_2 = require("../utils-tax");
5
- const action = {
6
- title: 'Create SEGMENT sub-node in Yahoo taxonomy',
7
- description: 'Use this action to generate SEGMENT sub-node within CUSTOMER node in Yahoo taxonomy',
8
- defaultSubscription: 'event = "Audience Entered" and event = "Audience Exited"',
9
- fields: {
10
- segment_audience_key: {
11
- label: 'Audience Key',
12
- description: 'Provide audience key. This maps to the "Name" of the Segment node in Yahoo taxonomy',
13
- type: 'string',
14
- required: true
15
- },
16
- segment_audience_id: {
17
- label: 'Audience Id',
18
- description: 'Provide audience Id (aud_...) from audience URL in Segment Engage. This maps to the "Id" of the Segment node in Yahoo taxonomy',
19
- type: 'string',
20
- required: true
21
- },
22
- engage_space_id: {
23
- label: 'Engage Space Id',
24
- description: 'Provide Engage Space Id found in Unify > Settings > API Access. This maps to the "Id" and "Name" of the top-level Customer node in Yahoo taxonomy and specifies the parent node for your Segment node in Yahoo taxonomy',
25
- type: 'string',
26
- required: false
27
- },
28
- customer_desc: {
29
- label: 'Space Description',
30
- description: 'Provide the description for Segment node in Yahoo taxonomy. This must be less then 1000 characters',
31
- type: 'string',
32
- required: false
33
- }
34
- },
35
- perform: async (request, { payload, settings }) => {
36
- const tx_creds = {
37
- tx_client_key: settings.taxonomy_client_key,
38
- tx_client_secret: settings.taxonomy_client_secret
39
- };
40
- const body_form_data = utils_tax_1.gen_segment_subtaxonomy_payload(payload);
41
- return await utils_tax_2.update_taxonomy(String(payload.engage_space_id), tx_creds, request, body_form_data);
42
- }
43
- };
44
- exports.default = action;
45
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/yahoo-audiences/createSegment/index.ts"],"names":[],"mappings":";;AAIA,4CAA8D;AAC9D,4CAA8C;AAG9C,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,2CAA2C;IAClD,WAAW,EAAE,qFAAqF;IAClG,mBAAmB,EAAE,0DAA0D;IAE/E,MAAM,EAAE;QACN,oBAAoB,EAAE;YACpB,KAAK,EAAE,cAAc;YACrB,WAAW,EAAE,qFAAqF;YAClG,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACf;QACD,mBAAmB,EAAE;YACnB,KAAK,EAAE,aAAa;YACpB,WAAW,EACT,gIAAgI;YAClI,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACf;QACD,eAAe,EAAE;YACf,KAAK,EAAE,iBAAiB;YACxB,WAAW,EACT,yNAAyN;YAC3N,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,KAAK;SAChB;QACD,aAAa,EAAE;YACb,KAAK,EAAE,mBAAmB;YAC1B,WAAW,EAAE,oGAAoG;YACjH,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,KAAK;SAChB;KACF;IACD,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;QAChD,MAAM,QAAQ,GAAG;YACf,aAAa,EAAE,QAAQ,CAAC,mBAAmB;YAC3C,gBAAgB,EAAE,QAAQ,CAAC,sBAAsB;SAClD,CAAA;QAED,MAAM,cAAc,GAAG,2CAA+B,CAAC,OAAO,CAAC,CAAA;QAC/D,OAAO,MAAM,2BAAe,CAAC,MAAM,CAAC,OAAO,CAAC,eAAe,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,cAAc,CAAC,CAAA;IAClG,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}