@pushwoosh/rpc-v2-http-api-data 0.2.407 → 0.2.409

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
@@ -23834,7 +23834,9 @@ export const data = {
23834
23834
  "ASPECT_RATIO_16_9",
23835
23835
  "ASPECT_RATIO_16_10",
23836
23836
  "ASPECT_RATIO_21_9",
23837
- "ASPECT_RATIO_9_16"
23837
+ "ASPECT_RATIO_9_16",
23838
+ "ASPECT_RATIO_2_1",
23839
+ "ASPECT_RATIO_3_1"
23838
23840
  ]
23839
23841
  },
23840
23842
  "pushwoosh.rpc_v2.media_files.CreateVariantRequest": {
@@ -33446,7 +33448,8 @@ export const data = {
33446
33448
  "type": "E",
33447
33449
  "values": [
33448
33450
  "CREATED_DATE",
33449
- "UPDATED_DATE"
33451
+ "UPDATED_DATE",
33452
+ "NAME"
33450
33453
  ]
33451
33454
  },
33452
33455
  "pushwoosh.rpc_v2.rich_medias.ListRequest.OrderType": {
package/media_files.d.ts CHANGED
@@ -14,7 +14,11 @@ export interface MediaFilesService {
14
14
  GetUsage: MediaFilesService_GetUsage;
15
15
  }
16
16
  /** AspectRatio enumerates the supported aspect ratios for image variants. */
17
- export type AspectRatio = 'ASPECT_RATIO_UNSPECIFIED' | 'ASPECT_RATIO_1_1' | 'ASPECT_RATIO_4_3' | 'ASPECT_RATIO_3_2' | 'ASPECT_RATIO_4_5' | 'ASPECT_RATIO_5_4' | 'ASPECT_RATIO_16_9' | 'ASPECT_RATIO_16_10' | 'ASPECT_RATIO_21_9' | 'ASPECT_RATIO_9_16';
17
+ export type AspectRatio = 'ASPECT_RATIO_UNSPECIFIED' | 'ASPECT_RATIO_1_1' | 'ASPECT_RATIO_4_3' | 'ASPECT_RATIO_3_2' | 'ASPECT_RATIO_4_5' | 'ASPECT_RATIO_5_4' | 'ASPECT_RATIO_16_9' | 'ASPECT_RATIO_16_10' | 'ASPECT_RATIO_21_9' | 'ASPECT_RATIO_9_16'
18
+ /** Android big picture. */
19
+ | 'ASPECT_RATIO_2_1'
20
+ /** Apple Wallet strip and logo. */
21
+ | 'ASPECT_RATIO_3_1';
18
22
  export type CreateVariantRequest_size_width = {
19
23
  type: 'width';
20
24
  data: number;
@@ -50,7 +54,7 @@ export type UploadMediaFileRequest = {
50
54
  /** MIME type of the image (image/jpeg, image/png, image/gif, image/webp); auto-detected from the bytes when empty. */
51
55
  mimeType: string;
52
56
  description?: string;
53
- /** Where the image was imported from: empty for a file from disk, "canva" or "figma". */
57
+ /** Where the image came from: empty for a file from disk, "canva", "figma", "ai" or "stock". */
54
58
  source: string;
55
59
  /** Provider-side identity of the image as a JSON object, e.g. {"design_id": "...", "page": 2}. */
56
60
  sourceRef: string;
@@ -146,7 +150,10 @@ export type MediaFile = {
146
150
  description?: string;
147
151
  /** parent_uuid is set on variants and points to the original image's uuid. */
148
152
  parentUuid?: string;
149
- /** source is where the image was imported from: empty for a file from disk, "canva" or "figma". */
153
+ /**
154
+ * source is where the image came from: empty for a file from disk, "canva", "figma",
155
+ * "ai" (generated) or "stock" (stock photo import).
156
+ */
150
157
  source: string;
151
158
  /** version is 0 for the first upload of an image and grows with every new version of it. */
152
159
  version: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.407",
3
+ "version": "0.2.409",
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
@@ -101,7 +101,7 @@ export type GetResponse = {
101
101
  richMedia: RichMedia;
102
102
  };
103
103
  export type ListRequest_ListView = 'LIST' | 'TILES';
104
- export type ListRequest_OrderBy = 'CREATED_DATE' | 'UPDATED_DATE';
104
+ export type ListRequest_OrderBy = 'CREATED_DATE' | 'UPDATED_DATE' | 'NAME';
105
105
  export type ListRequest_OrderType = 'ASC' | 'DESC';
106
106
  export type ListRequest = {
107
107
  /** Free-text search over rich media name and code. */