@pushwoosh/rpc-gateway-journey-data 0.27.186 → 0.27.188

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
@@ -7218,6 +7218,21 @@ export const data = {
7218
7218
  "fields": {
7219
7219
  "code": {
7220
7220
  "type": "string"
7221
+ },
7222
+ "orderBy": {
7223
+ "type": "pushwoosh.cj.journey.PresetListOrderBy"
7224
+ },
7225
+ "orderDirection": {
7226
+ "type": "pushwoosh.cj.journey.PresetListOrderDirection"
7227
+ },
7228
+ "page": {
7229
+ "type": "number"
7230
+ },
7231
+ "perPage": {
7232
+ "type": "number"
7233
+ },
7234
+ "search": {
7235
+ "type": "string"
7221
7236
  }
7222
7237
  }
7223
7238
  },
@@ -7235,6 +7250,9 @@ export const data = {
7235
7250
  "items": {
7236
7251
  "type": "pushwoosh.cj.journey.WhatsAppPresetByAppCodeItem",
7237
7252
  "array": true
7253
+ },
7254
+ "total": {
7255
+ "type": "number"
7238
7256
  }
7239
7257
  }
7240
7258
  },
@@ -7310,6 +7328,21 @@ export const data = {
7310
7328
  "fields": {
7311
7329
  "code": {
7312
7330
  "type": "string"
7331
+ },
7332
+ "orderBy": {
7333
+ "type": "pushwoosh.cj.journey.PresetListOrderBy"
7334
+ },
7335
+ "orderDirection": {
7336
+ "type": "pushwoosh.cj.journey.PresetListOrderDirection"
7337
+ },
7338
+ "page": {
7339
+ "type": "number"
7340
+ },
7341
+ "perPage": {
7342
+ "type": "number"
7343
+ },
7344
+ "search": {
7345
+ "type": "string"
7313
7346
  }
7314
7347
  }
7315
7348
  },
@@ -7327,6 +7360,9 @@ export const data = {
7327
7360
  "items": {
7328
7361
  "type": "pushwoosh.cj.journey.EmailPresetByAppCodeItem",
7329
7362
  "array": true
7363
+ },
7364
+ "total": {
7365
+ "type": "number"
7330
7366
  }
7331
7367
  }
7332
7368
  },
@@ -7360,6 +7396,12 @@ export const data = {
7360
7396
  },
7361
7397
  "approval": {
7362
7398
  "type": "pushwoosh.cj.journey.PresetContentApproval"
7399
+ },
7400
+ "created": {
7401
+ "type": "Date"
7402
+ },
7403
+ "updated": {
7404
+ "type": "Date"
7363
7405
  }
7364
7406
  }
7365
7407
  },
@@ -7542,9 +7584,38 @@ export const data = {
7542
7584
  },
7543
7585
  "search": {
7544
7586
  "type": "string"
7587
+ },
7588
+ "orderBy": {
7589
+ "type": "pushwoosh.cj.journey.PresetListOrderBy"
7590
+ },
7591
+ "orderDirection": {
7592
+ "type": "pushwoosh.cj.journey.PresetListOrderDirection"
7593
+ },
7594
+ "page": {
7595
+ "type": "number"
7596
+ },
7597
+ "perPage": {
7598
+ "type": "number"
7545
7599
  }
7546
7600
  }
7547
7601
  },
7602
+ "pushwoosh.cj.journey.PresetListOrderBy": {
7603
+ "type": "E",
7604
+ "values": [
7605
+ "PRESET_LIST_ORDER_BY_UNSPECIFIED",
7606
+ "PRESET_LIST_ORDER_BY_NAME",
7607
+ "PRESET_LIST_ORDER_BY_CREATED",
7608
+ "PRESET_LIST_ORDER_BY_UPDATED"
7609
+ ]
7610
+ },
7611
+ "pushwoosh.cj.journey.PresetListOrderDirection": {
7612
+ "type": "E",
7613
+ "values": [
7614
+ "PRESET_LIST_ORDER_DIRECTION_UNSPECIFIED",
7615
+ "PRESET_LIST_ORDER_DIRECTION_ASC",
7616
+ "PRESET_LIST_ORDER_DIRECTION_DESC"
7617
+ ]
7618
+ },
7548
7619
  "pushwoosh.cj.journey.GetRichMediaByApplicationCodeResponse": {
7549
7620
  "type": "I",
7550
7621
  "fields": {
@@ -7559,6 +7630,9 @@ export const data = {
7559
7630
  "items": {
7560
7631
  "type": "pushwoosh.cj.journey.RichMediaItem",
7561
7632
  "array": true
7633
+ },
7634
+ "total": {
7635
+ "type": "number"
7562
7636
  }
7563
7637
  }
7564
7638
  },
@@ -7597,6 +7671,12 @@ export const data = {
7597
7671
  },
7598
7672
  "zipContent": {
7599
7673
  "type": "string"
7674
+ },
7675
+ "created": {
7676
+ "type": "Date"
7677
+ },
7678
+ "updated": {
7679
+ "type": "Date"
7600
7680
  }
7601
7681
  }
7602
7682
  },
@@ -7624,6 +7704,21 @@ export const data = {
7624
7704
  "fields": {
7625
7705
  "code": {
7626
7706
  "type": "string"
7707
+ },
7708
+ "orderBy": {
7709
+ "type": "pushwoosh.cj.journey.PresetListOrderBy"
7710
+ },
7711
+ "orderDirection": {
7712
+ "type": "pushwoosh.cj.journey.PresetListOrderDirection"
7713
+ },
7714
+ "page": {
7715
+ "type": "number"
7716
+ },
7717
+ "perPage": {
7718
+ "type": "number"
7719
+ },
7720
+ "search": {
7721
+ "type": "string"
7627
7722
  }
7628
7723
  }
7629
7724
  },
@@ -7641,6 +7736,9 @@ export const data = {
7641
7736
  "items": {
7642
7737
  "type": "pushwoosh.cj.journey.LinePresetByAppCodeItem",
7643
7738
  "array": true
7739
+ },
7740
+ "total": {
7741
+ "type": "number"
7644
7742
  }
7645
7743
  }
7646
7744
  },
@@ -7655,6 +7753,12 @@ export const data = {
7655
7753
  },
7656
7754
  "content": {
7657
7755
  "type": "string"
7756
+ },
7757
+ "created": {
7758
+ "type": "Date"
7759
+ },
7760
+ "updated": {
7761
+ "type": "Date"
7658
7762
  }
7659
7763
  }
7660
7764
  },
@@ -7663,6 +7767,21 @@ export const data = {
7663
7767
  "fields": {
7664
7768
  "code": {
7665
7769
  "type": "string"
7770
+ },
7771
+ "orderBy": {
7772
+ "type": "pushwoosh.cj.journey.PresetListOrderBy"
7773
+ },
7774
+ "orderDirection": {
7775
+ "type": "pushwoosh.cj.journey.PresetListOrderDirection"
7776
+ },
7777
+ "page": {
7778
+ "type": "number"
7779
+ },
7780
+ "perPage": {
7781
+ "type": "number"
7782
+ },
7783
+ "search": {
7784
+ "type": "string"
7666
7785
  }
7667
7786
  }
7668
7787
  },
@@ -7680,6 +7799,9 @@ export const data = {
7680
7799
  "items": {
7681
7800
  "type": "pushwoosh.cj.journey.SmsPresetByAppCodeItem",
7682
7801
  "array": true
7802
+ },
7803
+ "total": {
7804
+ "type": "number"
7683
7805
  }
7684
7806
  }
7685
7807
  },
@@ -7694,6 +7816,12 @@ export const data = {
7694
7816
  },
7695
7817
  "content": {
7696
7818
  "type": "string"
7819
+ },
7820
+ "created": {
7821
+ "type": "Date"
7822
+ },
7823
+ "updated": {
7824
+ "type": "Date"
7697
7825
  }
7698
7826
  }
7699
7827
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-journey-data",
3
- "version": "0.27.186",
3
+ "version": "0.27.188",
4
4
  "description": "CJ api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -2553,12 +2553,18 @@ export type VoucherPool = {
2553
2553
  };
2554
2554
  export type GetWhatsAppPresetsByAppCodeRequest = {
2555
2555
  code?: string;
2556
+ orderBy?: PresetListOrderBy;
2557
+ orderDirection?: PresetListOrderDirection;
2558
+ page?: number;
2559
+ perPage?: number;
2560
+ search?: string;
2556
2561
  };
2557
2562
  export type GetWhatsAppPresetsByAppCodeResponse = {
2558
2563
  payload: WhatsAppPresetsByAppCodePayload;
2559
2564
  };
2560
2565
  export type WhatsAppPresetsByAppCodePayload = {
2561
2566
  items: WhatsAppPresetByAppCodeItem[];
2567
+ total: number;
2562
2568
  };
2563
2569
  export type WhatsAppPresetByAppCodeItem = {
2564
2570
  content: string;
@@ -2584,12 +2590,18 @@ export type WhatsAppButtonURLVariables = {
2584
2590
  };
2585
2591
  export type GetEmailPresetsByAppCodeRequest = {
2586
2592
  code?: string;
2593
+ orderBy?: PresetListOrderBy;
2594
+ orderDirection?: PresetListOrderDirection;
2595
+ page?: number;
2596
+ perPage?: number;
2597
+ search?: string;
2587
2598
  };
2588
2599
  export type GetEmailPresetsByAppCodeResponse = {
2589
2600
  payload: EmailPresetsByAppCodePayload;
2590
2601
  };
2591
2602
  export type EmailPresetsByAppCodePayload = {
2592
2603
  items: EmailPresetByAppCodeItem[];
2604
+ total: number;
2593
2605
  };
2594
2606
  export type EmailPresetByAppCodeItem = {
2595
2607
  uid: number;
@@ -2601,6 +2613,8 @@ export type EmailPresetByAppCodeItem = {
2601
2613
  name: string;
2602
2614
  replyTo: ReplyTo;
2603
2615
  approval: PresetContentApproval;
2616
+ created: Date;
2617
+ updated: Date;
2604
2618
  };
2605
2619
  export type SendFrom = {
2606
2620
  name: string;
@@ -2664,12 +2678,19 @@ export type GetRichMediaByApplicationCodeRequest = {
2664
2678
  noContent?: boolean;
2665
2679
  noParams?: boolean;
2666
2680
  search?: string;
2681
+ orderBy?: PresetListOrderBy;
2682
+ orderDirection?: PresetListOrderDirection;
2683
+ page?: number;
2684
+ perPage?: number;
2667
2685
  };
2686
+ export type PresetListOrderBy = 'PRESET_LIST_ORDER_BY_UNSPECIFIED' | 'PRESET_LIST_ORDER_BY_NAME' | 'PRESET_LIST_ORDER_BY_CREATED' | 'PRESET_LIST_ORDER_BY_UPDATED';
2687
+ export type PresetListOrderDirection = 'PRESET_LIST_ORDER_DIRECTION_UNSPECIFIED' | 'PRESET_LIST_ORDER_DIRECTION_ASC' | 'PRESET_LIST_ORDER_DIRECTION_DESC';
2668
2688
  export type GetRichMediaByApplicationCodeResponse = {
2669
2689
  payload: RichMediaByApplicationCodePayload;
2670
2690
  };
2671
2691
  export type RichMediaByApplicationCodePayload = {
2672
2692
  items: RichMediaItem[];
2693
+ total: number;
2673
2694
  };
2674
2695
  export type RichMediaItem = {
2675
2696
  name: string;
@@ -2683,6 +2704,8 @@ export type RichMediaItem = {
2683
2704
  fileHash: string;
2684
2705
  isSystem: boolean;
2685
2706
  zipContent: string;
2707
+ created: Date;
2708
+ updated: Date;
2686
2709
  };
2687
2710
  export type GetRichMediaByCodeRequest = {
2688
2711
  code?: string;
@@ -2693,31 +2716,47 @@ export type GetRichMediaByCodeResponse = {
2693
2716
  };
2694
2717
  export type GetLinePresetsByAppCodeRequest = {
2695
2718
  code?: string;
2719
+ orderBy?: PresetListOrderBy;
2720
+ orderDirection?: PresetListOrderDirection;
2721
+ page?: number;
2722
+ perPage?: number;
2723
+ search?: string;
2696
2724
  };
2697
2725
  export type GetLinePresetsByAppCodeResponse = {
2698
2726
  payload: LinePresetsByAppCodePayload;
2699
2727
  };
2700
2728
  export type LinePresetsByAppCodePayload = {
2701
2729
  items: LinePresetByAppCodeItem[];
2730
+ total: number;
2702
2731
  };
2703
2732
  export type LinePresetByAppCodeItem = {
2704
2733
  code: string;
2705
2734
  name: string;
2706
2735
  content: string;
2736
+ created: Date;
2737
+ updated: Date;
2707
2738
  };
2708
2739
  export type GetSmsPresetsByAppCodeRequest = {
2709
2740
  code?: string;
2741
+ orderBy?: PresetListOrderBy;
2742
+ orderDirection?: PresetListOrderDirection;
2743
+ page?: number;
2744
+ perPage?: number;
2745
+ search?: string;
2710
2746
  };
2711
2747
  export type GetSmsPresetsByAppCodeResponse = {
2712
2748
  payload: SmsPresetsByAppCodePayload;
2713
2749
  };
2714
2750
  export type SmsPresetsByAppCodePayload = {
2715
2751
  items: SmsPresetByAppCodeItem[];
2752
+ total: number;
2716
2753
  };
2717
2754
  export type SmsPresetByAppCodeItem = {
2718
2755
  code: string;
2719
2756
  name: string;
2720
2757
  content: string;
2758
+ created: Date;
2759
+ updated: Date;
2721
2760
  };
2722
2761
  export type GetWalletCampaignsByAppCodeRequest = {
2723
2762
  code?: string;