@pushwoosh/rpc-v2-http-api-data 0.2.6 → 0.2.8

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/accounts.d.ts CHANGED
@@ -346,6 +346,14 @@ export type EmailContent_Smartcards = {
346
346
  /** Smartcards editor content */
347
347
  content: object;
348
348
  };
349
+ export type EmailContent_Vibeblocks = {
350
+ /** Raw html */
351
+ html: string;
352
+ /** Localization map {"en": {"variable":"value"}...} */
353
+ localizationData: object;
354
+ /** Vibeblocks editor content */
355
+ content: object;
356
+ };
349
357
  export type EmailContent_kind_unlayer = {
350
358
  type: 'unlayer';
351
359
  data: EmailContent_Unlayer;
@@ -366,7 +374,11 @@ export type EmailContent_kind_smartcards = {
366
374
  type: 'smartcards';
367
375
  data: EmailContent_Smartcards;
368
376
  };
369
- export type EmailContent_kind = EmailContent_kind_unlayer | EmailContent_kind_pushwoosh | EmailContent_kind_raw | EmailContent_kind_mjml | EmailContent_kind_smartcards;
377
+ export type EmailContent_kind_vibeblocks = {
378
+ type: 'vibeblocks';
379
+ data: EmailContent_Vibeblocks;
380
+ };
381
+ export type EmailContent_kind = EmailContent_kind_unlayer | EmailContent_kind_pushwoosh | EmailContent_kind_raw | EmailContent_kind_mjml | EmailContent_kind_smartcards | EmailContent_kind_vibeblocks;
370
382
  export type EmailContent = {
371
383
  senderInfo: EmailContent_SenderInfo;
372
384
  /** subject map {"en": "subject_content"...} */
package/data.js CHANGED
@@ -7630,6 +7630,20 @@ export const data = {
7630
7630
  }
7631
7631
  }
7632
7632
  },
7633
+ "pushwoosh.rpc_v2.accounts.EmailContent.Vibeblocks": {
7634
+ "type": "I",
7635
+ "fields": {
7636
+ "html": {
7637
+ "type": "string"
7638
+ },
7639
+ "localizationData": {
7640
+ "type": "object"
7641
+ },
7642
+ "content": {
7643
+ "type": "object"
7644
+ }
7645
+ }
7646
+ },
7633
7647
  "pushwoosh.rpc_v2.accounts.EmailContent": {
7634
7648
  "type": "I",
7635
7649
  "fields": {
@@ -7654,6 +7668,9 @@ export const data = {
7654
7668
  },
7655
7669
  "smartcards": {
7656
7670
  "type": "pushwoosh.rpc_v2.accounts.EmailContent.Smartcards"
7671
+ },
7672
+ "vibeblocks": {
7673
+ "type": "pushwoosh.rpc_v2.accounts.EmailContent.Vibeblocks"
7657
7674
  }
7658
7675
  },
7659
7676
  "oneofs": {
@@ -7663,7 +7680,8 @@ export const data = {
7663
7680
  "pushwoosh",
7664
7681
  "raw",
7665
7682
  "mjml",
7666
- "smartcards"
7683
+ "smartcards",
7684
+ "vibeblocks"
7667
7685
  ]
7668
7686
  }
7669
7687
  }
@@ -15497,6 +15515,15 @@ export const data = {
15497
15515
  }
15498
15516
  }
15499
15517
  },
15518
+ "pushwoosh.rpc_v2.messages.GetDeviceReceivedMessagesRequest.MessageType": {
15519
+ "type": "E",
15520
+ "values": [
15521
+ "unspecified",
15522
+ "all",
15523
+ "broadcast",
15524
+ "transactional"
15525
+ ]
15526
+ },
15500
15527
  "pushwoosh.rpc_v2.messages.GetDeviceReceivedMessagesRequest": {
15501
15528
  "type": "I",
15502
15529
  "fields": {
@@ -15505,6 +15532,9 @@ export const data = {
15505
15532
  },
15506
15533
  "hwid": {
15507
15534
  "type": "string"
15535
+ },
15536
+ "messageType": {
15537
+ "type": "pushwoosh.rpc_v2.messages.GetDeviceReceivedMessagesRequest.MessageType"
15508
15538
  }
15509
15539
  }
15510
15540
  },
package/messages.d.ts CHANGED
@@ -203,9 +203,11 @@ export type FindRecipientsResponse = {
203
203
  recipients: FindRecipientsResponse_Recipient[];
204
204
  searchBy: FindRecipientsResponse_SearchBy;
205
205
  };
206
+ export type GetDeviceReceivedMessagesRequest_MessageType = 'unspecified' | 'all' | 'broadcast' | 'transactional';
206
207
  export type GetDeviceReceivedMessagesRequest = {
207
208
  application?: string;
208
209
  hwid?: string;
210
+ messageType?: GetDeviceReceivedMessagesRequest_MessageType;
209
211
  };
210
212
  export type GetDeviceReceivedMessagesResponse_Message_Type = 'broadcast' | 'journey' | 'transactional';
211
213
  export type GetDeviceReceivedMessagesResponse_Message = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.6",
3
+ "version": "0.2.8",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",