@segment/action-destinations 3.452.0 → 3.453.1-staging-ce1986724.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 (107) hide show
  1. package/dist/destinations/amplitude/event-schema.js +29 -2
  2. package/dist/destinations/amplitude/event-schema.js.map +1 -1
  3. package/dist/destinations/amplitude/logEvent/generated-types.d.ts +4 -0
  4. package/dist/destinations/amplitude/logEvent/index.js +2 -2
  5. package/dist/destinations/amplitude/logEvent/index.js.map +1 -1
  6. package/dist/destinations/amplitude/logEventV2/generated-types.d.ts +4 -0
  7. package/dist/destinations/amplitude/logEventV2/index.js +2 -2
  8. package/dist/destinations/amplitude/logEventV2/index.js.map +1 -1
  9. package/dist/destinations/amplitude/logPurchase/generated-types.d.ts +4 -0
  10. package/dist/destinations/amplitude/logPurchase/index.js +3 -3
  11. package/dist/destinations/amplitude/logPurchase/index.js.map +1 -1
  12. package/dist/destinations/google-enhanced-conversions/functions.d.ts +11 -1
  13. package/dist/destinations/google-enhanced-conversions/functions.js +35 -0
  14. package/dist/destinations/google-enhanced-conversions/functions.js.map +1 -1
  15. package/dist/destinations/google-enhanced-conversions/index.js.map +1 -1
  16. package/dist/destinations/google-enhanced-conversions/types.d.ts +10 -1
  17. package/dist/destinations/google-enhanced-conversions/uploadClickConversion/generated-types.d.ts +9 -0
  18. package/dist/destinations/google-enhanced-conversions/uploadClickConversion/index.js +81 -4
  19. package/dist/destinations/google-enhanced-conversions/uploadClickConversion/index.js.map +1 -1
  20. package/dist/destinations/google-enhanced-conversions/uploadClickConversion2/generated-types.d.ts +9 -0
  21. package/dist/destinations/google-enhanced-conversions/uploadClickConversion2/index.js +81 -4
  22. package/dist/destinations/google-enhanced-conversions/uploadClickConversion2/index.js.map +1 -1
  23. package/dist/destinations/index.js +1 -0
  24. package/dist/destinations/index.js.map +1 -1
  25. package/dist/destinations/kafka/send/generated-types.d.ts +1 -0
  26. package/dist/destinations/kafka/send/index.js +9 -0
  27. package/dist/destinations/kafka/send/index.js.map +1 -1
  28. package/dist/destinations/kafka/utils.js +5 -4
  29. package/dist/destinations/kafka/utils.js.map +1 -1
  30. package/dist/destinations/mixpanel/index.js +1 -1
  31. package/dist/destinations/mixpanel/index.js.map +1 -1
  32. package/dist/destinations/movable-ink/index.js +1 -1
  33. package/dist/destinations/movable-ink/index.js.map +1 -1
  34. package/dist/destinations/nudge/index.js +1 -1
  35. package/dist/destinations/nudge/index.js.map +1 -1
  36. package/dist/destinations/outfunnel/index.js +1 -1
  37. package/dist/destinations/outfunnel/index.js.map +1 -1
  38. package/dist/destinations/playerzero-cloud/index.js +1 -1
  39. package/dist/destinations/playerzero-cloud/index.js.map +1 -1
  40. package/dist/destinations/rehook/index.js +2 -2
  41. package/dist/destinations/rehook/index.js.map +1 -1
  42. package/dist/destinations/revend/index.js +1 -1
  43. package/dist/destinations/revend/index.js.map +1 -1
  44. package/dist/destinations/ripe/index.js +1 -1
  45. package/dist/destinations/ripe/index.js.map +1 -1
  46. package/dist/destinations/roadwayai/index.js +1 -1
  47. package/dist/destinations/roadwayai/index.js.map +1 -1
  48. package/dist/destinations/schematic/index.js +1 -1
  49. package/dist/destinations/schematic/index.js.map +1 -1
  50. package/dist/destinations/spiffy/index.js +1 -1
  51. package/dist/destinations/spiffy/index.js.map +1 -1
  52. package/dist/destinations/sprig/index.js +1 -1
  53. package/dist/destinations/sprig/index.js.map +1 -1
  54. package/dist/destinations/stackadapt-audiences/index.js +3 -3
  55. package/dist/destinations/stackadapt-audiences/index.js.map +1 -1
  56. package/dist/destinations/survicate/index.js +1 -1
  57. package/dist/destinations/survicate/index.js.map +1 -1
  58. package/dist/destinations/taguchi/index.js +2 -2
  59. package/dist/destinations/taguchi/index.js.map +1 -1
  60. package/dist/destinations/talon-one/index.js +1 -1
  61. package/dist/destinations/talon-one/index.js.map +1 -1
  62. package/dist/destinations/tiktok-conversions-sandbox/index.js +1 -1
  63. package/dist/destinations/tiktok-conversions-sandbox/index.js.map +1 -1
  64. package/dist/destinations/tiktok-offline-conversions-sandbox/index.js +1 -1
  65. package/dist/destinations/tiktok-offline-conversions-sandbox/index.js.map +1 -1
  66. package/dist/destinations/toplyne/index.js +1 -1
  67. package/dist/destinations/toplyne/index.js.map +1 -1
  68. package/dist/destinations/trackey/index.js +1 -1
  69. package/dist/destinations/trackey/index.js.map +1 -1
  70. package/dist/destinations/trubrics/index.js +1 -1
  71. package/dist/destinations/trubrics/index.js.map +1 -1
  72. package/dist/destinations/twilio/index.js +1 -1
  73. package/dist/destinations/twilio/index.js.map +1 -1
  74. package/dist/destinations/usermaven/index.js +2 -2
  75. package/dist/destinations/usermaven/index.js.map +1 -1
  76. package/dist/destinations/usermotion/index.js +1 -1
  77. package/dist/destinations/usermotion/index.js.map +1 -1
  78. package/dist/destinations/userpilot/index.js +1 -1
  79. package/dist/destinations/userpilot/index.js.map +1 -1
  80. package/dist/destinations/voucherify/index.js +1 -1
  81. package/dist/destinations/voucherify/index.js.map +1 -1
  82. package/dist/destinations/voyage/index.js +1 -1
  83. package/dist/destinations/voyage/index.js.map +1 -1
  84. package/dist/destinations/vwo/index.js +1 -1
  85. package/dist/destinations/vwo/index.js.map +1 -1
  86. package/dist/destinations/webhook-audiences/index.js +1 -1
  87. package/dist/destinations/webhook-audiences/index.js.map +1 -1
  88. package/dist/destinations/xtremepush/index.js +1 -1
  89. package/dist/destinations/xtremepush/index.js.map +1 -1
  90. package/dist/destinations/yonoma/index.js +4 -4
  91. package/dist/destinations/yonoma/index.js.map +1 -1
  92. package/dist/destinations/zapier/generated-types.d.ts +2 -0
  93. package/dist/destinations/zapier/generated-types.js +3 -0
  94. package/dist/destinations/zapier/generated-types.js.map +1 -0
  95. package/dist/destinations/zapier/index.d.ts +4 -0
  96. package/dist/destinations/zapier/index.js +21 -0
  97. package/dist/destinations/zapier/index.js.map +1 -0
  98. package/dist/destinations/zapier/send/constants.d.ts +1 -0
  99. package/dist/destinations/zapier/send/constants.js +5 -0
  100. package/dist/destinations/zapier/send/constants.js.map +1 -0
  101. package/dist/destinations/zapier/send/generated-types.d.ts +8 -0
  102. package/dist/destinations/zapier/send/generated-types.js +3 -0
  103. package/dist/destinations/zapier/send/generated-types.js.map +1 -0
  104. package/dist/destinations/zapier/send/index.d.ts +5 -0
  105. package/dist/destinations/zapier/send/index.js +46 -0
  106. package/dist/destinations/zapier/send/index.js.map +1 -0
  107. package/package.json +4 -4
@@ -21,7 +21,7 @@ const destination = {
21
21
  required: true
22
22
  },
23
23
  apiKey: {
24
- type: 'string',
24
+ type: 'password',
25
25
  label: 'API Key',
26
26
  description: 'Auth token for API can be found on the Xtremepush integration overview page',
27
27
  required: true
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/destinations/xtremepush/index.ts"],"names":[],"mappings":";;;;;AAAA,wDAA4E;AAG5E,0DAAiC;AACjC,oDAA2B;AAE3B,MAAM,WAAW,GAAoC;IACnD,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE,oBAAoB;IAC1B,IAAI,EAAE,OAAO;IAEb,cAAc,EAAE;QACd,MAAM,EAAE,QAAQ;QAChB,MAAM,EAAE;YACN,GAAG,EAAE;gBACH,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE,KAAK;gBACZ,WAAW,EAAE,qFAAqF;gBAClG,QAAQ,EAAE,IAAI;aACf;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,SAAS;gBAChB,WAAW,EAAE,6EAA6E;gBAC1F,QAAQ,EAAE,IAAI;aACf;SACF;KACF;IACD,aAAa,EAAE,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;QAC9B,OAAO;YACL,OAAO,EAAE,EAAE,aAAa,EAAE,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,GAAG,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE;YAC5F,YAAY,E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C,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAA;QAElF,OAAO,OAAO,CAAC,IAAI,GAAG,iCAAiC,EAAE;YACvD,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,OAAO;SACd,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAED,kBAAe,WAAW,CAAA"}
@@ -16,7 +16,7 @@ const destination = {
16
16
  apiKey: {
17
17
  label: 'API Key',
18
18
  description: 'Your Yonoma API key.',
19
- type: 'string',
19
+ type: 'password',
20
20
  required: true
21
21
  }
22
22
  },
@@ -29,9 +29,9 @@ const destination = {
29
29
  extendRequest: ({ settings }) => {
30
30
  return {
31
31
  headers: {
32
- "User-Agent": "Segment",
33
- "Content-Type": "application/json",
34
- 'Authorization': `Bearer ${settings.apiKey}`
32
+ 'User-Agent': 'Segment',
33
+ 'Content-Type': 'application/json',
34
+ Authorization: `Bearer ${settings.apiKey}`
35
35
  }
36
36
  };
37
37
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/destinations/yonoma/index.ts"],"names":[],"mappings":";;;;;AAEA,oEAA2C;AAC3C,8DAAqC;AACrC,oEAA2C;AAE3C,MAAM,WAAW,GAAoC;IACnD,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,OAAO;IAEb,cAAc,EAAE;QACd,MAAM,EAAE,QAAQ;QAChB,MAAM,EAAE;YACN,MAAM,EAAE;gBACN,KAAK,EAAE,SAAS;gBAChB,WAAW,EAAE,sBAAsB;gBACnC,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,IAAI;aACf;SACF;QACD,kBAAkB,EAAE,CAAC,OAAO,EAAE,EAAE;YAC9B,OAAO,OAAO,CAAC,gDAAgD,EAAE;gBAC/D,MAAM,EAAE,KAAK;aACd,CAAC,CAAA;QACJ,CAAC;KACF;IACD,aAAa,EAAE,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;QAC9B,OAAO;YACL,OAAO,EAAE;gBACP,YAAY,EAAE,SAAS;gBACvB,cAAc,EAAE,kBAAkB;gBAClC,eAAe,EAAE,UAAU,QAAQ,CAAC,MAAM,EAAE;aAC7C;SACF,CAAA;IACH,CAAC;IACD,OAAO,EAAE;QACP,aAAa,EAAb,uBAAa;QACb,UAAU,EAAV,oBAAU;QACV,aAAa,EAAb,uBAAa;KACd;CACF,CAAA;AAED,kBAAe,WAAW,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/destinations/yonoma/index.ts"],"names":[],"mappings":";;;;;AAEA,oEAA2C;AAC3C,8DAAqC;AACrC,oEAA2C;AAE3C,MAAM,WAAW,GAAoC;IACnD,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,OAAO;IAEb,cAAc,EAAE;QACd,MAAM,EAAE,QAAQ;QAChB,MAAM,EAAE;YACN,MAAM,EAAE;gBACN,KAAK,EAAE,SAAS;gBAChB,WAAW,EAAE,sBAAsB;gBACnC,IAAI,EAAE,UAAU;gBAChB,QAAQ,EAAE,IAAI;aACf;SACF;QACD,kBAAkB,EAAE,CAAC,OAAO,EAAE,EAAE;YAC9B,OAAO,OAAO,CAAC,gDAAgD,EAAE;gBAC/D,MAAM,EAAE,KAAK;aACd,CAAC,CAAA;QACJ,CAAC;KACF;IACD,aAAa,EAAE,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;QAC9B,OAAO;YACL,OAAO,EAAE;gBACP,YAAY,EAAE,SAAS;gBACvB,cAAc,EAAE,kBAAkB;gBAClC,aAAa,EAAE,UAAU,QAAQ,CAAC,MAAM,EAAE;aAC3C;SACF,CAAA;IACH,CAAC;IACD,OAAO,EAAE;QACP,aAAa,EAAb,uBAAa;QACb,UAAU,EAAV,oBAAU;QACV,aAAa,EAAb,uBAAa;KACd;CACF,CAAA;AAED,kBAAe,WAAW,CAAA"}
@@ -0,0 +1,2 @@
1
+ export interface Settings {
2
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=generated-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../src/destinations/zapier/generated-types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import type { DestinationDefinition } from '@segment/actions-core';
2
+ import type { Settings } from './generated-types';
3
+ declare const destination: DestinationDefinition<Settings>;
4
+ export default destination;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const send_1 = __importDefault(require("./send"));
7
+ const destination = {
8
+ name: 'Zapier (Actions)',
9
+ slug: 'actions-zapier',
10
+ description: 'Send Segment event data to Zapier',
11
+ mode: 'cloud',
12
+ authentication: {
13
+ scheme: 'custom',
14
+ fields: {}
15
+ },
16
+ actions: {
17
+ send: send_1.default
18
+ }
19
+ };
20
+ exports.default = destination;
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/destinations/zapier/index.ts"],"names":[],"mappings":";;;;;AAEA,kDAAyB;AACzB,MAAM,WAAW,GAAoC;IACnD,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE,gBAAgB;IACtB,WAAW,EAAE,mCAAmC;IAChD,IAAI,EAAE,OAAO;IACb,cAAc,EAAE;QACd,MAAM,EAAE,QAAQ;QAChB,MAAM,EAAE,EAAE;KACX;IACD,OAAO,EAAE;QACP,IAAI,EAAJ,cAAI;KACL;CACF,CAAA;AAED,kBAAe,WAAW,CAAA"}
@@ -0,0 +1 @@
1
+ export declare const url = "https://zapier.com/catch/hook/";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.url = void 0;
4
+ exports.url = `https://zapier.com/catch/hook/`;
5
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/destinations/zapier/send/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,GAAG,GAAG,gCAAgC,CAAA"}
@@ -0,0 +1,8 @@
1
+ export interface Payload {
2
+ data: {
3
+ [k: string]: unknown;
4
+ };
5
+ zapSubscriptionUrl: string;
6
+ zapIdentifier?: string;
7
+ fql?: string;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=generated-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/zapier/send/generated-types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
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;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const action = {
4
+ title: 'Send',
5
+ description: 'Send any Segment event to Zapier',
6
+ fields: {
7
+ data: {
8
+ label: 'Payload',
9
+ description: 'The payload to send to Zapier',
10
+ type: 'object',
11
+ required: true,
12
+ default: { '@path': '$.' }
13
+ },
14
+ zapSubscriptionUrl: {
15
+ label: 'Zapier Webhook URL',
16
+ description: 'The Zapier webhook URL Segment will send data to. This URL is generated by Zapier when you create a Zap.',
17
+ type: 'string',
18
+ format: 'password',
19
+ readOnly: false,
20
+ required: true
21
+ },
22
+ zapIdentifier: {
23
+ label: 'Zapier Zap Identifier',
24
+ description: 'The Zapier Zap identifier. This is generated by Zapier when you create a Zap.',
25
+ type: 'string',
26
+ readOnly: false,
27
+ required: false
28
+ },
29
+ fql: {
30
+ label: 'Segment FQL Query',
31
+ description: 'The initial Segment FQL query for the Action mapping. This is generated by Zapier when you create a Zap.',
32
+ type: 'string',
33
+ readOnly: false,
34
+ required: false
35
+ }
36
+ },
37
+ perform: (request, { payload }) => {
38
+ const { zapSubscriptionUrl, data } = payload;
39
+ return request(zapSubscriptionUrl, {
40
+ method: 'post',
41
+ json: data
42
+ });
43
+ }
44
+ };
45
+ exports.default = action;
46
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/zapier/send/index.ts"],"names":[],"mappings":";;AAIA,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,MAAM;IACb,WAAW,EAAE,kCAAkC;IAC/C,MAAM,EAAE;QACN,IAAI,EAAE;YACJ,KAAK,EAAE,SAAS;YAChB,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAC;SAC1B;QACD,kBAAkB,EAAE;YAClB,KAAK,EAAE,oBAAoB;YAC3B,WAAW,EAAE,0GAA0G;YACvH,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,UAAU;YAClB,QAAQ,EAAE,KAAK;YACf,QAAQ,EAAE,IAAI;SACf;QACD,aAAa,EAAE;YACb,KAAK,EAAE,uBAAuB;YAC9B,WAAW,EAAE,+EAA+E;YAC5F,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,KAAK;YACf,QAAQ,EAAE,KAAK;SAChB;QACD,GAAG,EAAE;YACH,KAAK,EAAE,mBAAmB;YAC1B,WAAW,EAAE,0GAA0G;YACvH,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,KAAK;YACf,QAAQ,EAAE,KAAK;SAChB;KACF;IACD,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;QAChC,MAAM,EAAE,kBAAkB,EAAE,IAAI,EAAC,GAAG,OAAO,CAAA;QAC3C,OAAO,OAAO,CAAC,kBAAkB,EAAE;YACjC,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,IAAI;SACX,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,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.452.0",
4
+ "version": "3.453.1-staging-ce1986724.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/segmentio/action-destinations",
@@ -47,8 +47,8 @@
47
47
  "@aws-sdk/client-sts": "3.614.0",
48
48
  "@bufbuild/protobuf": "^2.2.3",
49
49
  "@segment/a1-notation": "^2.1.4",
50
- "@segment/actions-core": "^3.163.0",
51
- "@segment/actions-shared": "^1.146.0",
50
+ "@segment/actions-core": "3.163.1-staging-ce1986724.0",
51
+ "@segment/actions-shared": "1.146.1-staging-ce1986724.0",
52
52
  "@types/node": "^22.13.1",
53
53
  "ajv-formats": "^2.1.1",
54
54
  "aws4": "^1.12.0",
@@ -92,5 +92,5 @@
92
92
  "__tests__/__helpers__/"
93
93
  ]
94
94
  },
95
- "gitHead": "79369532dfbea5627ae44faf239f32b8cdd425cc"
95
+ "gitHead": "8e851b01d88ba6f4dd54c258cc329f1f8aa440af"
96
96
  }