@pushwoosh/rpc-v2-http-api-data 0.1.541 → 0.1.543

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
@@ -189,6 +189,7 @@ export interface EmailTemplatesService {
189
189
  }
190
190
  export type CloneEmailPresetsRequest = {
191
191
  emailPresetCode?: string;
192
+ application?: string;
192
193
  applicationId?: number;
193
194
  };
194
195
  export type CloneEmailPresetsResponse = {
package/data.js CHANGED
@@ -4500,6 +4500,9 @@ export const data = {
4500
4500
  "emailPresetCode": {
4501
4501
  "type": "string"
4502
4502
  },
4503
+ "application": {
4504
+ "type": "string"
4505
+ },
4503
4506
  "applicationId": {
4504
4507
  "type": "number"
4505
4508
  }
@@ -8105,7 +8108,7 @@ export const data = {
8105
8108
  "type": "pushwoosh.rpc_v2.line_presets.ImageCarouselTemplate"
8106
8109
  },
8107
8110
  "raw": {
8108
- "type": "object"
8111
+ "type": "pushwoosh.rpc_v2.line_presets.RawTemplate"
8109
8112
  }
8110
8113
  },
8111
8114
  "oneofs": {
@@ -8121,7 +8124,10 @@ export const data = {
8121
8124
  "pushwoosh.rpc_v2.line_presets.ImageTemplate": {
8122
8125
  "type": "I",
8123
8126
  "fields": {
8124
- "ImageUrl": {
8127
+ "imageUrl": {
8128
+ "type": "string"
8129
+ },
8130
+ "previewImageUrl": {
8125
8131
  "type": "string"
8126
8132
  }
8127
8133
  }
@@ -8129,12 +8135,26 @@ export const data = {
8129
8135
  "pushwoosh.rpc_v2.line_presets.ImageCarouselTemplate": {
8130
8136
  "type": "I",
8131
8137
  "fields": {
8138
+ "altText": {
8139
+ "type": "string"
8140
+ },
8132
8141
  "columns": {
8133
8142
  "type": "pushwoosh.rpc_v2.line_presets.ImageTemplate",
8134
8143
  "array": true
8135
8144
  }
8136
8145
  }
8137
8146
  },
8147
+ "pushwoosh.rpc_v2.line_presets.RawTemplate": {
8148
+ "type": "I",
8149
+ "fields": {
8150
+ "altText": {
8151
+ "type": "string"
8152
+ },
8153
+ "content": {
8154
+ "type": "object"
8155
+ }
8156
+ }
8157
+ },
8138
8158
  "pushwoosh.rpc_v2.line_presets.LinePreset": {
8139
8159
  "type": "I",
8140
8160
  "fields": {
package/line_presets.d.ts CHANGED
@@ -26,18 +26,24 @@ export type Template_kind_imageCarousel = {
26
26
  };
27
27
  export type Template_kind_raw = {
28
28
  type: 'raw';
29
- data: object;
29
+ data: RawTemplate;
30
30
  };
31
31
  export type Template_kind = Template_kind_image | Template_kind_imageCarousel | Template_kind_raw;
32
32
  export type Template = {
33
33
  kind: Template_kind;
34
34
  };
35
35
  export type ImageTemplate = {
36
- ImageUrl: string;
36
+ imageUrl: string;
37
+ previewImageUrl: string;
37
38
  };
38
39
  export type ImageCarouselTemplate = {
40
+ altText: string;
39
41
  columns: ImageTemplate[];
40
42
  };
43
+ export type RawTemplate = {
44
+ altText: string;
45
+ content: object;
46
+ };
41
47
  export type LinePreset = {
42
48
  name: string;
43
49
  code: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.541",
3
+ "version": "0.1.543",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",