@pushwoosh/rpc-v2-http-api-data 0.1.928 → 0.1.930

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
@@ -10531,6 +10531,14 @@ export const data = {
10531
10531
  "STOPPED"
10532
10532
  ]
10533
10533
  },
10534
+ "pushwoosh.rpc_v2.inapp_messages.Inapp.MessageType": {
10535
+ "type": "E",
10536
+ "values": [
10537
+ "UNKNOWN",
10538
+ "MARKETING",
10539
+ "TRANSACTIONAL"
10540
+ ]
10541
+ },
10534
10542
  "pushwoosh.rpc_v2.inapp_messages.Inapp": {
10535
10543
  "type": "I",
10536
10544
  "fields": {
@@ -10596,6 +10604,15 @@ export const data = {
10596
10604
  },
10597
10605
  "audience": {
10598
10606
  "type": "number"
10607
+ },
10608
+ "timezone": {
10609
+ "type": "string"
10610
+ },
10611
+ "globalCappingEnabled": {
10612
+ "type": "boolean"
10613
+ },
10614
+ "messageType": {
10615
+ "type": "pushwoosh.rpc_v2.inapp_messages.Inapp.MessageType"
10599
10616
  }
10600
10617
  }
10601
10618
  },
@@ -10713,6 +10730,18 @@ export const data = {
10713
10730
  "endDate": {
10714
10731
  "type": "Date",
10715
10732
  "optional": true
10733
+ },
10734
+ "timezone": {
10735
+ "type": "string",
10736
+ "optional": true
10737
+ },
10738
+ "globalCappingEnabled": {
10739
+ "type": "boolean",
10740
+ "optional": true
10741
+ },
10742
+ "messageType": {
10743
+ "type": "pushwoosh.rpc_v2.inapp_messages.Inapp.MessageType",
10744
+ "optional": true
10716
10745
  }
10717
10746
  }
10718
10747
  },
@@ -10792,6 +10821,18 @@ export const data = {
10792
10821
  "action": {
10793
10822
  "type": "pushwoosh.rpc_v2.inapp_messages.UpdateInappRequest.Action",
10794
10823
  "optional": true
10824
+ },
10825
+ "timezone": {
10826
+ "type": "string",
10827
+ "optional": true
10828
+ },
10829
+ "globalCappingEnabled": {
10830
+ "type": "boolean",
10831
+ "optional": true
10832
+ },
10833
+ "messageType": {
10834
+ "type": "pushwoosh.rpc_v2.inapp_messages.Inapp.MessageType",
10835
+ "optional": true
10795
10836
  }
10796
10837
  }
10797
10838
  },
@@ -29,6 +29,7 @@ export type ListInappMessagesRequest = {
29
29
  statuses?: Inapp_Status[];
30
30
  };
31
31
  export type Inapp_Status = 'UNDEFINED' | 'ACTIVE' | 'SCHEDULED' | 'COMPLETED' | 'DRAFT' | 'STOPPED';
32
+ export type Inapp_MessageType = 'UNKNOWN' | 'MARKETING' | 'TRANSACTIONAL';
32
33
  export type Inapp = {
33
34
  code: string;
34
35
  name: string;
@@ -51,6 +52,9 @@ export type Inapp = {
51
52
  impressions: number;
52
53
  interactions: number;
53
54
  audience: number;
55
+ timezone: string;
56
+ globalCappingEnabled: boolean;
57
+ messageType: Inapp_MessageType;
54
58
  };
55
59
  export type ListInappMessagesResponse = {
56
60
  inapps: Inapp[];
@@ -92,6 +96,9 @@ export type CreateInappRequest = {
92
96
  devicesFilter?: string;
93
97
  startDate?: Date;
94
98
  endDate?: Date;
99
+ timezone?: string;
100
+ globalCappingEnabled?: boolean;
101
+ messageType?: Inapp_MessageType;
95
102
  };
96
103
  export type CreateInappResponse = {
97
104
  code: string;
@@ -116,6 +123,9 @@ export type UpdateInappRequest = {
116
123
  endDate?: Date;
117
124
  priority?: number;
118
125
  action?: UpdateInappRequest_Action;
126
+ timezone?: string;
127
+ globalCappingEnabled?: boolean;
128
+ messageType?: Inapp_MessageType;
119
129
  };
120
130
  export type UpdateInappResponse = {};
121
131
  /** Stop - convert active inapp to draft */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.928",
3
+ "version": "0.1.930",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",