@pushwoosh/rpc-gateway-journey-data 0.27.8 → 0.27.10

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/data.js CHANGED
@@ -3738,6 +3738,17 @@ export const data = {
3738
3738
  }
3739
3739
  }
3740
3740
  },
3741
+ "pushwoosh.cj.journey.WebhookResponseMapping": {
3742
+ "type": "I",
3743
+ "fields": {
3744
+ "path": {
3745
+ "type": "string"
3746
+ },
3747
+ "attribute": {
3748
+ "type": "string"
3749
+ }
3750
+ }
3751
+ },
3741
3752
  "pushwoosh.cj.journey.PointParamsWebHook": {
3742
3753
  "type": "I",
3743
3754
  "fields": {
@@ -3759,6 +3770,10 @@ export const data = {
3759
3770
  },
3760
3771
  "reactivate": {
3761
3772
  "type": "boolean"
3773
+ },
3774
+ "responseMapping": {
3775
+ "type": "pushwoosh.cj.journey.WebhookResponseMapping",
3776
+ "array": true
3762
3777
  }
3763
3778
  }
3764
3779
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-journey-data",
3
- "version": "0.27.8",
3
+ "version": "0.27.10",
4
4
  "description": "CJ api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -1383,6 +1383,10 @@ export type PointOutputInfo = {
1383
1383
  title: string;
1384
1384
  nextPointUuid: string;
1385
1385
  };
1386
+ export type WebhookResponseMapping = {
1387
+ path: string;
1388
+ attribute: string;
1389
+ };
1386
1390
  export type PointParamsWebHook = {
1387
1391
  method: string;
1388
1392
  url: string;
@@ -1390,6 +1394,7 @@ export type PointParamsWebHook = {
1390
1394
  headers: Record<string, string>;
1391
1395
  disabled: boolean;
1392
1396
  reactivate: boolean;
1397
+ responseMapping: WebhookResponseMapping[];
1393
1398
  };
1394
1399
  export type AudienceSyncAction = 'AUDIENCE_SYNC_ACTION_UNSPECIFIED' | 'AUDIENCE_SYNC_ACTION_ADD' | 'AUDIENCE_SYNC_ACTION_REMOVE';
1395
1400
  export type PointParamsAudienceSync = {