@segment/action-destinations 3.71.1-alpha.2 → 3.73.1-alpha.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 (103) hide show
  1. package/dist/destinations/gainsight-px-cloud-action/index.js +30 -36
  2. package/dist/destinations/gainsight-px-cloud-action/index.js.map +1 -1
  3. package/dist/destinations/gainsight-px-cloud-action/regional-endpoints.js +3 -3
  4. package/dist/destinations/gainsight-px-cloud-action/regional-endpoints.js.map +1 -1
  5. package/dist/destinations/gainsight-px-cloud-action/sendEvent/generated-types.d.ts +5 -0
  6. package/dist/destinations/gainsight-px-cloud-action/{groupIdentify → sendEvent}/generated-types.js +0 -0
  7. package/dist/destinations/gainsight-px-cloud-action/sendEvent/generated-types.js.map +1 -0
  8. package/dist/destinations/gainsight-px-cloud-action/{identifyUser → sendEvent}/index.d.ts +0 -0
  9. package/dist/destinations/gainsight-px-cloud-action/{groupIdentify → sendEvent}/index.js +5 -5
  10. package/dist/destinations/gainsight-px-cloud-action/sendEvent/index.js.map +1 -0
  11. package/dist/destinations/google-analytics-4/addPaymentInfo/index.js +2 -2
  12. package/dist/destinations/google-analytics-4/addPaymentInfo/index.js.map +1 -1
  13. package/dist/destinations/google-analytics-4/addToCart/index.js +1 -1
  14. package/dist/destinations/google-analytics-4/addToCart/index.js.map +1 -1
  15. package/dist/destinations/google-analytics-4/addToWishlist/index.js +2 -2
  16. package/dist/destinations/google-analytics-4/addToWishlist/index.js.map +1 -1
  17. package/dist/destinations/google-analytics-4/beginCheckout/index.js +2 -2
  18. package/dist/destinations/google-analytics-4/beginCheckout/index.js.map +1 -1
  19. package/dist/destinations/google-analytics-4/generateLead/index.js +1 -1
  20. package/dist/destinations/google-analytics-4/generateLead/index.js.map +1 -1
  21. package/dist/destinations/google-analytics-4/purchase/index.js +2 -2
  22. package/dist/destinations/google-analytics-4/purchase/index.js.map +1 -1
  23. package/dist/destinations/google-analytics-4/refund/index.js +2 -2
  24. package/dist/destinations/google-analytics-4/refund/index.js.map +1 -1
  25. package/dist/destinations/google-analytics-4/removeFromCart/index.js +2 -2
  26. package/dist/destinations/google-analytics-4/removeFromCart/index.js.map +1 -1
  27. package/dist/destinations/google-analytics-4/selectItem/index.js +1 -1
  28. package/dist/destinations/google-analytics-4/selectItem/index.js.map +1 -1
  29. package/dist/destinations/google-analytics-4/selectPromotion/index.js +1 -1
  30. package/dist/destinations/google-analytics-4/selectPromotion/index.js.map +1 -1
  31. package/dist/destinations/google-analytics-4/viewCart/index.js +2 -2
  32. package/dist/destinations/google-analytics-4/viewCart/index.js.map +1 -1
  33. package/dist/destinations/google-analytics-4/viewItem/index.js +2 -2
  34. package/dist/destinations/google-analytics-4/viewItem/index.js.map +1 -1
  35. package/dist/destinations/google-analytics-4/viewItemList/index.js +1 -1
  36. package/dist/destinations/google-analytics-4/viewItemList/index.js.map +1 -1
  37. package/dist/destinations/google-analytics-4/viewPromotion/index.js +1 -1
  38. package/dist/destinations/google-analytics-4/viewPromotion/index.js.map +1 -1
  39. package/dist/destinations/index.js +1 -0
  40. package/dist/destinations/index.js.map +1 -1
  41. package/dist/destinations/personas-messaging-twilio/generated-types.d.ts +3 -2
  42. package/dist/destinations/personas-messaging-twilio/index.js +12 -6
  43. package/dist/destinations/personas-messaging-twilio/index.js.map +1 -1
  44. package/dist/destinations/personas-messaging-twilio/sendSms/index.js +2 -2
  45. package/dist/destinations/personas-messaging-twilio/sendSms/index.js.map +1 -1
  46. package/dist/destinations/salesforce/account/index.js +4 -0
  47. package/dist/destinations/salesforce/account/index.js.map +1 -1
  48. package/dist/destinations/salesforce/cases/index.js +5 -0
  49. package/dist/destinations/salesforce/cases/index.js.map +1 -1
  50. package/dist/destinations/salesforce/contact/index.js +9 -3
  51. package/dist/destinations/salesforce/contact/index.js.map +1 -1
  52. package/dist/destinations/salesforce/customObject/index.d.ts +1 -1
  53. package/dist/destinations/salesforce/customObject/index.js +5 -0
  54. package/dist/destinations/salesforce/customObject/index.js.map +1 -1
  55. package/dist/destinations/salesforce/lead/index.js +4 -0
  56. package/dist/destinations/salesforce/lead/index.js.map +1 -1
  57. package/dist/destinations/salesforce/opportunity/index.js +3 -2
  58. package/dist/destinations/salesforce/opportunity/index.js.map +1 -1
  59. package/dist/destinations/salesforce/sf-utils.js +2 -6
  60. package/dist/destinations/salesforce/sf-utils.js.map +1 -1
  61. package/dist/destinations/snap-conversions-api/_tests_/index.test.d.ts +1 -0
  62. package/dist/destinations/snap-conversions-api/_tests_/index.test.js +204 -0
  63. package/dist/destinations/snap-conversions-api/_tests_/index.test.js.map +1 -0
  64. package/dist/destinations/snap-conversions-api/generated-types.d.ts +5 -0
  65. package/dist/destinations/{gainsight-px-cloud-action/identifyUser → snap-conversions-api}/generated-types.js +0 -0
  66. package/dist/destinations/snap-conversions-api/generated-types.js.map +1 -0
  67. package/dist/destinations/snap-conversions-api/index.d.ts +4 -0
  68. package/dist/destinations/snap-conversions-api/index.js +189 -0
  69. package/dist/destinations/snap-conversions-api/index.js.map +1 -0
  70. package/dist/destinations/snap-conversions-api/reportConversionEvent/generated-types.d.ts +25 -0
  71. package/dist/destinations/{gainsight-px-cloud-action/trackEvent → snap-conversions-api/reportConversionEvent}/generated-types.js +0 -0
  72. package/dist/destinations/snap-conversions-api/reportConversionEvent/generated-types.js.map +1 -0
  73. package/dist/destinations/{gainsight-px-cloud-action/trackEvent → snap-conversions-api/reportConversionEvent}/index.d.ts +1 -1
  74. package/dist/destinations/snap-conversions-api/reportConversionEvent/index.js +50 -0
  75. package/dist/destinations/snap-conversions-api/reportConversionEvent/index.js.map +1 -0
  76. package/dist/destinations/snap-conversions-api/snap-capi-properties.d.ts +30 -0
  77. package/dist/destinations/snap-conversions-api/snap-capi-properties.js +310 -0
  78. package/dist/destinations/snap-conversions-api/snap-capi-properties.js.map +1 -0
  79. package/dist/destinations/talon-one/t1-properties.js +10 -4
  80. package/dist/destinations/talon-one/t1-properties.js.map +1 -1
  81. package/dist/destinations/talon-one/trackEvent/index.js +10 -2
  82. package/dist/destinations/talon-one/trackEvent/index.js.map +1 -1
  83. package/dist/destinations/talon-one/updateCustomerProfile/index.js +1 -1
  84. package/dist/destinations/talon-one/updateCustomerProfile/index.js.map +1 -1
  85. package/package.json +4 -4
  86. package/dist/destinations/gainsight-px-cloud-action/groupIdentify/generated-types.d.ts +0 -2
  87. package/dist/destinations/gainsight-px-cloud-action/groupIdentify/generated-types.js.map +0 -1
  88. package/dist/destinations/gainsight-px-cloud-action/groupIdentify/index.d.ts +0 -5
  89. package/dist/destinations/gainsight-px-cloud-action/groupIdentify/index.js.map +0 -1
  90. package/dist/destinations/gainsight-px-cloud-action/identifyUser/generated-types.d.ts +0 -2
  91. package/dist/destinations/gainsight-px-cloud-action/identifyUser/generated-types.js.map +0 -1
  92. package/dist/destinations/gainsight-px-cloud-action/identifyUser/index.js +0 -17
  93. package/dist/destinations/gainsight-px-cloud-action/identifyUser/index.js.map +0 -1
  94. package/dist/destinations/gainsight-px-cloud-action/trackEvent/generated-types.d.ts +0 -2
  95. package/dist/destinations/gainsight-px-cloud-action/trackEvent/generated-types.js.map +0 -1
  96. package/dist/destinations/gainsight-px-cloud-action/trackEvent/index.js +0 -17
  97. package/dist/destinations/gainsight-px-cloud-action/trackEvent/index.js.map +0 -1
  98. package/dist/destinations/gainsight-px-cloud-action/trackPageView/generated-types.d.ts +0 -2
  99. package/dist/destinations/gainsight-px-cloud-action/trackPageView/generated-types.js +0 -3
  100. package/dist/destinations/gainsight-px-cloud-action/trackPageView/generated-types.js.map +0 -1
  101. package/dist/destinations/gainsight-px-cloud-action/trackPageView/index.d.ts +0 -5
  102. package/dist/destinations/gainsight-px-cloud-action/trackPageView/index.js +0 -17
  103. package/dist/destinations/gainsight-px-cloud-action/trackPageView/index.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"t1-properties.js","sourceRoot":"","sources":["../../../src/destinations/talon-one/t1-properties.ts"],"names":[],"mappings":";;;AAEa,QAAA,iBAAiB,GAAe;IAC3C,KAAK,EAAE,qBAAqB;IAC5B,WAAW,EAAE,kEAAkE;IAC/E,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,IAAI;CACf,CAAA;AAEY,QAAA,SAAS,GAAe;IACnC,KAAK,EAAE,uBAAuB;IAC9B,WAAW,EACT,oJAAoJ;IACtJ,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,KAAK;CAChB,CAAA;AAEY,QAAA,UAAU,GAAe;IACpC,KAAK,EAAE,UAAU;IACjB,WAAW,EAAE,iDAAiD;IAC9D,IAAI,EAAE,SAAS;IACf,QAAQ,EAAE,IAAI;IACd,QAAQ,EAAE,KAAK;CAChB,CAAA;AAEY,QAAA,aAAa,GAAe;IACvC,GAAG,kBAAU;IACb,KAAK,EAAE,6DAA6D;CACrE,CAAA;AAEY,QAAA,gBAAgB,GAAe;IAC1C,GAAG,kBAAU;IACb,KAAK,EAAE,8DAA8D;CACtE,CAAA"}
1
+ {"version":3,"file":"t1-properties.js","sourceRoot":"","sources":["../../../src/destinations/talon-one/t1-properties.ts"],"names":[],"mappings":";;;AAEa,QAAA,iBAAiB,GAAe;IAC3C,KAAK,EAAE,qBAAqB;IAC5B,WAAW,EAAE,kEAAkE;IAC/E,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,IAAI;IACd,OAAO,EAAE;QACP,OAAO,EAAE,UAAU;KACpB;CACF,CAAA;AAEY,QAAA,SAAS,GAAe;IACnC,KAAK,EAAE,uBAAuB;IAC9B,WAAW,EACT,oJAAoJ;IACtJ,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,KAAK;IACf,OAAO,EAAE;QACP,OAAO,EAAE,UAAU;KACpB;CACF,CAAA;AAEY,QAAA,UAAU,GAAe;IACpC,KAAK,EAAE,2CAA2C;IAClD,WAAW,EAAE,mDAAmD;IAChE,IAAI,EAAE,SAAS;IACf,QAAQ,EAAE,IAAI;IACd,QAAQ,EAAE,KAAK;CAChB,CAAA;AAEY,QAAA,aAAa,GAAe;IACvC,GAAG,kBAAU;IACb,KAAK,EAAE,6DAA6D;CACrE,CAAA;AAEY,QAAA,gBAAgB,GAAe;IAC1C,GAAG,kBAAU;IACb,KAAK,EAAE,8DAA8D;CACtE,CAAA"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const t1_properties_1 = require("../t1-properties");
4
+ const TARGET_EVENT_TYPE = 'string';
4
5
  const action = {
5
6
  title: 'Track Event',
6
7
  description: 'This records a custom event in Talon.One.',
@@ -13,16 +14,23 @@ const action = {
13
14
  label: 'Event Type',
14
15
  description: 'The name of the event sent to Talon.One.',
15
16
  type: 'string',
16
- required: true
17
+ required: true,
18
+ default: {
19
+ '@path': '$.event'
20
+ }
17
21
  },
18
22
  type: {
19
23
  label: 'Type',
20
24
  description: 'Type of event. Can be only `string`, `time`, `number`, `boolean`, `location`',
21
25
  type: 'string',
22
- required: true
26
+ required: true,
27
+ default: TARGET_EVENT_TYPE
23
28
  },
24
29
  attributes: {
25
30
  ...t1_properties_1.attribute,
31
+ default: {
32
+ '@path': '$.properties'
33
+ },
26
34
  description: 'Extra attributes associated with the event. [See more info](https://docs.talon.one/docs/product/account/dev-tools/managing-attributes).'
27
35
  }
28
36
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/talon-one/trackEvent/index.ts"],"names":[],"mappings":";;AAGA,oDAA+D;AAE/D,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,aAAa;IACpB,WAAW,EAAE,2CAA2C;IACxD,MAAM,EAAE;QACN,iBAAiB,EAAE;YACjB,GAAG,iCAAiB;YACpB,WAAW,EACT,gIAAgI;SACnI;QACD,SAAS,EAAE;YACT,KAAK,EAAE,YAAY;YACnB,WAAW,EAAE,0CAA0C;YACvD,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACf;QACD,IAAI,EAAE;YACJ,KAAK,EAAE,MAAM;YACb,WAAW,EAAE,8EAA8E;YAC3F,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACf;QACD,UAAU,EAAE;YACV,GAAG,yBAAS;YACZ,WAAW,EACT,yIAAyI;SAC5I;KACF;IACD,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;QAEhC,OAAO,OAAO,CAAC,6CAA6C,EAAE;YAC5D,MAAM,EAAE,KAAK;YACb,IAAI,EAAE;gBACJ,iBAAiB,EAAE,OAAO,CAAC,iBAAiB;gBAC5C,SAAS,EAAE,OAAO,CAAC,SAAS;gBAC5B,IAAI,EAAE,OAAO,CAAC,IAAI;gBAClB,eAAe,EAAE,OAAO,CAAC,UAAU;aACpC;SACF,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/talon-one/trackEvent/index.ts"],"names":[],"mappings":";;AAGA,oDAA+D;AAE/D,MAAM,iBAAiB,GAAG,QAAQ,CAAA;AAElC,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,aAAa;IACpB,WAAW,EAAE,2CAA2C;IACxD,MAAM,EAAE;QACN,iBAAiB,EAAE;YACjB,GAAG,iCAAiB;YACpB,WAAW,EACT,gIAAgI;SACnI;QACD,SAAS,EAAE;YACT,KAAK,EAAE,YAAY;YACnB,WAAW,EAAE,0CAA0C;YACvD,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE;gBACP,OAAO,EAAE,SAAS;aACnB;SACF;QACD,IAAI,EAAE;YACJ,KAAK,EAAE,MAAM;YACb,WAAW,EAAE,8EAA8E;YAC3F,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,iBAAiB;SAC3B;QACD,UAAU,EAAE;YACV,GAAG,yBAAS;YACZ,OAAO,EAAE;gBACP,OAAO,EAAE,cAAc;aACxB;YACD,WAAW,EACT,yIAAyI;SAC5I;KACF;IACD,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;QAEhC,OAAO,OAAO,CAAC,6CAA6C,EAAE;YAC5D,MAAM,EAAE,KAAK;YACb,IAAI,EAAE;gBACJ,iBAAiB,EAAE,OAAO,CAAC,iBAAiB;gBAC5C,SAAS,EAAE,OAAO,CAAC,SAAS;gBAC5B,IAAI,EAAE,OAAO,CAAC,IAAI;gBAClB,eAAe,EAAE,OAAO,CAAC,UAAU;aACpC;SACF,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
@@ -13,7 +13,7 @@ const action = {
13
13
  label: 'Run rule engine',
14
14
  description: 'This runs rule engine in Talon.One upon updating customer profile. Set to true to trigger rules.',
15
15
  type: 'boolean',
16
- default: false
16
+ default: true
17
17
  }
18
18
  },
19
19
  perform: (request, { payload }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/talon-one/updateCustomerProfile/index.ts"],"names":[],"mappings":";;AAGA,oDAAgG;AAEhG,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,yBAAyB;IAChC,WAAW,EAAE,sEAAsE;IACnF,MAAM,EAAE;QACN,UAAU,EAAE,EAAE,GAAG,yBAAS,EAAE;QAC5B,iBAAiB,EAAE,EAAE,GAAG,iCAAiB,EAAE;QAC3C,iBAAiB,EAAE,EAAE,GAAG,gCAAgB,EAAE;QAC1C,cAAc,EAAE,EAAE,GAAG,6BAAa,EAAE;QACpC,aAAa,EAAE;YACb,KAAK,EAAE,iBAAiB;YACxB,WAAW,EAAE,kGAAkG;YAC/G,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,KAAK;SACf;KACF;IACD,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;QAEhC,OAAO,OAAO,CAAC,0DAA0D,OAAO,CAAC,iBAAiB,EAAE,EAAE;YACpG,MAAM,EAAE,KAAK;YACb,IAAI,EAAE;gBACJ,UAAU,EAAE,OAAO,CAAC,UAAU;gBAC9B,gBAAgB,EAAE;oBAChB,IAAI,EAAE,OAAO,CAAC,cAAc;oBAC5B,OAAO,EAAE,OAAO,CAAC,iBAAiB;iBACnC;gBACD,aAAa,EAAE,OAAO,CAAC,aAAa;aACrC;SACF,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/talon-one/updateCustomerProfile/index.ts"],"names":[],"mappings":";;AAGA,oDAAgG;AAEhG,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,yBAAyB;IAChC,WAAW,EAAE,sEAAsE;IACnF,MAAM,EAAE;QACN,UAAU,EAAE,EAAE,GAAG,yBAAS,EAAE;QAC5B,iBAAiB,EAAE,EAAE,GAAG,iCAAiB,EAAE;QAC3C,iBAAiB,EAAE,EAAE,GAAG,gCAAgB,EAAE;QAC1C,cAAc,EAAE,EAAE,GAAG,6BAAa,EAAE;QACpC,aAAa,EAAE;YACb,KAAK,EAAE,iBAAiB;YACxB,WAAW,EAAE,kGAAkG;YAC/G,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,IAAI;SACd;KACF;IACD,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;QAEhC,OAAO,OAAO,CAAC,0DAA0D,OAAO,CAAC,iBAAiB,EAAE,EAAE;YACpG,MAAM,EAAE,KAAK;YACb,IAAI,EAAE;gBACJ,UAAU,EAAE,OAAO,CAAC,UAAU;gBAC9B,gBAAgB,EAAE;oBAChB,IAAI,EAAE,OAAO,CAAC,cAAc;oBAC5B,OAAO,EAAE,OAAO,CAAC,iBAAiB;iBACnC;gBACD,aAAa,EAAE,OAAO,CAAC,aAAa;aACrC;SACF,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.71.1-alpha.2",
4
+ "version": "3.73.1-alpha.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/segmentio/action-destinations",
@@ -37,8 +37,8 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@amplitude/ua-parser-js": "^0.7.25",
40
- "@segment/actions-core": "^3.23.2-alpha.2",
41
- "@segment/actions-shared": "^1.6.1-alpha.2",
40
+ "@segment/actions-core": "^3.24.0",
41
+ "@segment/actions-shared": "^1.7.0",
42
42
  "cheerio": "^1.0.0-rc.10",
43
43
  "dayjs": "^1.10.7",
44
44
  "escape-goat": "^3",
@@ -61,5 +61,5 @@
61
61
  "<rootDir>/test/setup-after-env.ts"
62
62
  ]
63
63
  },
64
- "gitHead": "aadb0fbfe7a9b0021ec66220ad8e8f98d8525f2c"
64
+ "gitHead": "7320cdefede12bb180e10043f07fc155470795ea"
65
65
  }
@@ -1,2 +0,0 @@
1
- export interface Payload {
2
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/gainsight-px-cloud-action/groupIdentify/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 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/gainsight-px-cloud-action/groupIdentify/index.ts"],"names":[],"mappings":";;AAGA,8DAA2D;AAE3D,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,qBAAqB;IAC5B,WAAW,EAAE,wFAAwF;IACrG,mBAAmB,EAAE,gBAAgB;IACrC,MAAM,EAAE,EAAE;IACV,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;QAE1C,OAAO,OAAO,CAAC,wCAAmB,CAAC,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,EAAE;YAChE,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,OAAO;SACd,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
@@ -1,2 +0,0 @@
1
- export interface Payload {
2
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/gainsight-px-cloud-action/identifyUser/generated-types.ts"],"names":[],"mappings":""}
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const regional_endpoints_1 = require("../regional-endpoints");
4
- const action = {
5
- title: 'Identify User',
6
- description: 'Set the user ID for a particular device ID or update user properties',
7
- defaultSubscription: 'type = "identify"',
8
- fields: {},
9
- perform: (request, { payload, settings }) => {
10
- return request(regional_endpoints_1.getEndpointByRegion('track', settings.dataCenter), {
11
- method: 'post',
12
- json: payload
13
- });
14
- }
15
- };
16
- exports.default = action;
17
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/gainsight-px-cloud-action/identifyUser/index.ts"],"names":[],"mappings":";;AAGA,8DAA2D;AAE3D,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,eAAe;IACtB,WAAW,EAAE,sEAAsE;IACnF,mBAAmB,EAAE,mBAAmB;IACxC,MAAM,EAAE,EAAE;IACV,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;QAE1C,OAAO,OAAO,CAAC,wCAAmB,CAAC,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,EAAE;YAChE,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,OAAO;SACd,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
@@ -1,2 +0,0 @@
1
- export interface Payload {
2
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/gainsight-px-cloud-action/trackEvent/generated-types.ts"],"names":[],"mappings":""}
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const regional_endpoints_1 = require("../regional-endpoints");
4
- const action = {
5
- title: 'Track Event',
6
- description: 'Send an event to Gainsight PX',
7
- defaultSubscription: 'type = "track"',
8
- fields: {},
9
- perform: (request, { payload, settings }) => {
10
- return request(regional_endpoints_1.getEndpointByRegion('track', settings.dataCenter), {
11
- method: 'post',
12
- json: payload
13
- });
14
- }
15
- };
16
- exports.default = action;
17
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/gainsight-px-cloud-action/trackEvent/index.ts"],"names":[],"mappings":";;AAGA,8DAA2D;AAE3D,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,aAAa;IACpB,WAAW,EAAE,+BAA+B;IAC5C,mBAAmB,EAAE,gBAAgB;IACrC,MAAM,EAAE,EAAE;IACV,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;QAE1C,OAAO,OAAO,CAAC,wCAAmB,CAAC,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,EAAE;YAChE,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,OAAO;SACd,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
@@ -1,2 +0,0 @@
1
- export interface Payload {
2
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=generated-types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/gainsight-px-cloud-action/trackPageView/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,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const regional_endpoints_1 = require("../regional-endpoints");
4
- const action = {
5
- title: 'Track Page View',
6
- description: 'Send a page view event to Gainsight PX',
7
- defaultSubscription: 'type = "page"',
8
- fields: {},
9
- perform: (request, { payload, settings }) => {
10
- return request(regional_endpoints_1.getEndpointByRegion('track', settings.dataCenter), {
11
- method: 'post',
12
- json: payload
13
- });
14
- }
15
- };
16
- exports.default = action;
17
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/gainsight-px-cloud-action/trackPageView/index.ts"],"names":[],"mappings":";;AAGA,8DAA2D;AAE3D,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,iBAAiB;IACxB,WAAW,EAAE,wCAAwC;IACrD,mBAAmB,EAAE,eAAe;IACpC,MAAM,EAAE,EAAE;IACV,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;QAE1C,OAAO,OAAO,CAAC,wCAAmB,CAAC,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,EAAE;YAChE,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,OAAO;SACd,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}