@pushwoosh/rpc-gateway-apple-passkit 0.1.83 → 0.1.84

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
@@ -1777,6 +1777,10 @@ export const data = {
1777
1777
  },
1778
1778
  "updatedAt": {
1779
1779
  "type": "Date"
1780
+ },
1781
+ "images": {
1782
+ "type": "string",
1783
+ "mapKeyType": "string"
1780
1784
  }
1781
1785
  }
1782
1786
  },
@@ -1934,6 +1938,10 @@ export const data = {
1934
1938
  },
1935
1939
  "status": {
1936
1940
  "type": "pushwoosh.walletcampaign.v1.CampaignStatus"
1941
+ },
1942
+ "images": {
1943
+ "type": "string",
1944
+ "mapKeyType": "string"
1937
1945
  }
1938
1946
  }
1939
1947
  },
@@ -2031,6 +2039,10 @@ export const data = {
2031
2039
  "updateMask": {
2032
2040
  "type": "string",
2033
2041
  "array": true
2042
+ },
2043
+ "images": {
2044
+ "type": "string",
2045
+ "mapKeyType": "string"
2034
2046
  }
2035
2047
  }
2036
2048
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-apple-passkit",
3
- "version": "0.1.83",
3
+ "version": "0.1.84",
4
4
  "description": "Apple PassKit Service api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -82,6 +82,11 @@ export type Campaign = {
82
82
  activeJobId: number;
83
83
  createdAt: Date;
84
84
  updatedAt: Date;
85
+ /**
86
+ * Image slot (icon|logo|background|footer|strip|thumbnail) -> media_files.uuid.
87
+ * The bytes live in media-storage and are read when a pass is served.
88
+ */
89
+ images: Record<string, string>;
85
90
  };
86
91
  export type CampaignRevision = {
87
92
  revision: number;
@@ -139,6 +144,8 @@ export type CreateCampaignRequest = {
139
144
  sharedFields: Record<string, string>;
140
145
  personalFields: PersonalFieldSpec[];
141
146
  status: CampaignStatus;
147
+ /** Image slot -> media_files.uuid, uploaded through MediaFilesService beforehand. */
148
+ images: Record<string, string>;
142
149
  };
143
150
  export type CreateCampaignResponse = {
144
151
  campaign: Campaign;
@@ -179,6 +186,8 @@ export type PatchCampaignRequest = {
179
186
  * read as "everything", which would wipe what the caller did not send.
180
187
  */
181
188
  updateMask: string[];
189
+ /** Image slot -> media_files.uuid; masked by "images". */
190
+ images: Record<string, string>;
182
191
  };
183
192
  export type PatchCampaignResponse = {
184
193
  jobId: number;