@pushwoosh/rpc-v2-http-api-data 0.2.35 → 0.2.37

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
@@ -22896,7 +22896,8 @@ export const data = {
22896
22896
  "values": [
22897
22897
  "UNDEFINED",
22898
22898
  "TEMPLATE",
22899
- "BUILDER"
22899
+ "BUILDER",
22900
+ "SMARTCARDS"
22900
22901
  ]
22901
22902
  },
22902
22903
  "pushwoosh.rpc_v2.rich_medias.RichMedia": {
@@ -23516,6 +23517,9 @@ export const data = {
23516
23517
  "closeButtonType": {
23517
23518
  "type": "boolean",
23518
23519
  "optional": true
23520
+ },
23521
+ "createdType": {
23522
+ "type": "pushwoosh.rpc_v2.rich_medias.RichMedia.CreatedType"
23519
23523
  }
23520
23524
  }
23521
23525
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.35",
3
+ "version": "0.2.37",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
package/rich_medias.d.ts CHANGED
@@ -41,7 +41,12 @@ export type Metrics = {
41
41
  uniqueShown: number;
42
42
  uniqueInteraction: number;
43
43
  };
44
- export type RichMedia_CreatedType = 'UNDEFINED' | 'TEMPLATE' | 'BUILDER';
44
+ export type RichMedia_CreatedType = 'UNDEFINED' | 'TEMPLATE' | 'BUILDER'
45
+ /**
46
+ * Built with the AI (smart-blocks) builder; `editor_json` carries the
47
+ * AiBuilderDocument JSON instead of an Unlayer design.
48
+ */
49
+ | 'SMARTCARDS';
45
50
  export type RichMedia = {
46
51
  code: string;
47
52
  name: string;
@@ -250,6 +255,7 @@ export type GetBlockTemplateResponse = {
250
255
  inputGroups: string;
251
256
  editorJson: string;
252
257
  closeButtonType?: boolean;
258
+ createdType: RichMedia_CreatedType;
253
259
  };
254
260
  export type SaveBlockTemplateRequest = {
255
261
  code?: string;