@pushwoosh/rpc-gateway-journey-data 0.26.356 → 0.26.358

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
@@ -2404,6 +2404,63 @@ export const data = {
2404
2404
  },
2405
2405
  "default": {
2406
2406
  "type": "string"
2407
+ },
2408
+ "actions": {
2409
+ "type": "pushwoosh.cj.journey.Actions",
2410
+ "optional": true
2411
+ }
2412
+ },
2413
+ "oneofs": {}
2414
+ },
2415
+ "pushwoosh.cj.journey.Actions": {
2416
+ "type": "I",
2417
+ "fields": {
2418
+ "actions": {
2419
+ "type": "pushwoosh.cj.journey.ActionType",
2420
+ "array": true
2421
+ }
2422
+ }
2423
+ },
2424
+ "pushwoosh.cj.journey.ActionType": {
2425
+ "type": "I",
2426
+ "fields": {
2427
+ "type": {
2428
+ "type": "string"
2429
+ },
2430
+ "action": {
2431
+ "type": "pushwoosh.cj.journey.Action"
2432
+ }
2433
+ }
2434
+ },
2435
+ "pushwoosh.cj.journey.Action": {
2436
+ "type": "I",
2437
+ "fields": {
2438
+ "thumbnailProductRetailerId": {
2439
+ "type": "string"
2440
+ },
2441
+ "sections": {
2442
+ "type": "pushwoosh.cj.journey.Section",
2443
+ "array": true
2444
+ }
2445
+ }
2446
+ },
2447
+ "pushwoosh.cj.journey.Section": {
2448
+ "type": "I",
2449
+ "fields": {
2450
+ "title": {
2451
+ "type": "string"
2452
+ },
2453
+ "productItems": {
2454
+ "type": "pushwoosh.cj.journey.ProductListItem",
2455
+ "array": true
2456
+ }
2457
+ }
2458
+ },
2459
+ "pushwoosh.cj.journey.ProductListItem": {
2460
+ "type": "I",
2461
+ "fields": {
2462
+ "productRetailerId": {
2463
+ "type": "string"
2407
2464
  }
2408
2465
  }
2409
2466
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-journey-data",
3
- "version": "0.26.356",
3
+ "version": "0.26.358",
4
4
  "description": "CJ api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -889,6 +889,25 @@ export type WhatsAppPlaceholder = {
889
889
  type: string;
890
890
  value: string;
891
891
  default: string;
892
+ actions?: Actions;
893
+ };
894
+ export type Actions = {
895
+ actions: ActionType[];
896
+ };
897
+ export type ActionType = {
898
+ type: string;
899
+ action: Action;
900
+ };
901
+ export type Action = {
902
+ thumbnailProductRetailerId: string;
903
+ sections: Section[];
904
+ };
905
+ export type Section = {
906
+ title: string;
907
+ productItems: ProductListItem[];
908
+ };
909
+ export type ProductListItem = {
910
+ productRetailerId: string;
892
911
  };
893
912
  export type PointParamsSendWhatsApp = {
894
913
  presetCode: string;