@axinom/mosaic-messages 0.29.0-rc.4 → 0.29.0-rc.6

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.
Files changed (46) hide show
  1. package/dist/generated/schemas/payloads/ax-auth/index.d.ts +1 -0
  2. package/dist/generated/schemas/payloads/ax-auth/index.d.ts.map +1 -1
  3. package/dist/generated/schemas/payloads/ax-auth/index.js +1 -0
  4. package/dist/generated/schemas/payloads/ax-auth/index.js.map +1 -1
  5. package/dist/generated/schemas/payloads/ax-auth/types/index.d.ts +63 -0
  6. package/dist/generated/schemas/payloads/ax-auth/types/index.d.ts.map +1 -0
  7. package/dist/generated/schemas/payloads/ax-auth/types/index.js +8 -0
  8. package/dist/generated/schemas/payloads/ax-auth/types/index.js.map +1 -0
  9. package/dist/generated/schemas/payloads/ax-auth/types/password-reset-webhook-payload.json +34 -0
  10. package/dist/generated/schemas/payloads/ax-auth/types/user-sign-up-webhook-payload.json +34 -0
  11. package/dist/generated/schemas/payloads/user/index.d.ts +1 -0
  12. package/dist/generated/schemas/payloads/user/index.d.ts.map +1 -1
  13. package/dist/generated/schemas/payloads/user/index.js +1 -0
  14. package/dist/generated/schemas/payloads/user/index.js.map +1 -1
  15. package/dist/generated/schemas/payloads/user/types/access-token-enrichment-webhook-request-payload.json +62 -0
  16. package/dist/generated/schemas/payloads/user/types/access-token-enrichment-webhook-response-payload.json +8 -0
  17. package/dist/generated/schemas/payloads/user/types/index.d.ts +245 -0
  18. package/dist/generated/schemas/payloads/user/types/index.d.ts.map +1 -0
  19. package/dist/generated/schemas/payloads/user/types/index.js +14 -0
  20. package/dist/generated/schemas/payloads/user/types/index.js.map +1 -0
  21. package/dist/generated/schemas/payloads/user/types/user-created-webhook-request-payload.json +42 -0
  22. package/dist/generated/schemas/payloads/user/types/user-info-webhook-request-payload.json +16 -0
  23. package/dist/generated/schemas/payloads/user/types/user-info-webhook-response-payload.json +150 -0
  24. package/dist/generated/schemas/payloads/video/types/entitlement-webhook-response-payload.json +30 -0
  25. package/dist/generated/schemas/payloads/video/types/index.d.ts +365 -0
  26. package/dist/generated/schemas/payloads/video/types/index.d.ts.map +1 -1
  27. package/dist/generated/schemas/payloads/video/types/index.js +7 -1
  28. package/dist/generated/schemas/payloads/video/types/index.js.map +1 -1
  29. package/dist/generated/schemas/payloads/video/types/manifest-webhook-response-payload.json +24 -0
  30. package/dist/generated/schemas/payloads/video/types/playback-video-webhook-request-payload.json +476 -0
  31. package/package.json +4 -4
  32. package/src/generated/schemas/payloads/ax-auth/index.ts +2 -1
  33. package/src/generated/schemas/payloads/ax-auth/types/index.ts +5 -0
  34. package/src/generated/schemas/payloads/ax-auth/types/password-reset-webhook-payload.json +34 -0
  35. package/src/generated/schemas/payloads/ax-auth/types/user-sign-up-webhook-payload.json +34 -0
  36. package/src/generated/schemas/payloads/user/index.ts +2 -1
  37. package/src/generated/schemas/payloads/user/types/access-token-enrichment-webhook-request-payload.json +62 -0
  38. package/src/generated/schemas/payloads/user/types/access-token-enrichment-webhook-response-payload.json +8 -0
  39. package/src/generated/schemas/payloads/user/types/index.ts +11 -0
  40. package/src/generated/schemas/payloads/user/types/user-created-webhook-request-payload.json +42 -0
  41. package/src/generated/schemas/payloads/user/types/user-info-webhook-request-payload.json +16 -0
  42. package/src/generated/schemas/payloads/user/types/user-info-webhook-response-payload.json +150 -0
  43. package/src/generated/schemas/payloads/video/types/entitlement-webhook-response-payload.json +30 -0
  44. package/src/generated/schemas/payloads/video/types/index.ts +7 -1
  45. package/src/generated/schemas/payloads/video/types/manifest-webhook-response-payload.json +24 -0
  46. package/src/generated/schemas/payloads/video/types/playback-video-webhook-request-payload.json +476 -0
@@ -0,0 +1,150 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "user_info_webhook_response_payload",
5
+ "description": "The response payload schema for User Info webhook.",
6
+ "additionalProperties": true,
7
+ "required": [
8
+ "sub"
9
+ ],
10
+ "properties": {
11
+ "sub": {
12
+ "type": "string",
13
+ "description": "Subject ID"
14
+ },
15
+ "name": {
16
+ "type": "string",
17
+ "description": "Name"
18
+ },
19
+ "given_name": {
20
+ "type": "string",
21
+ "description": "Given name"
22
+ },
23
+ "family_name": {
24
+ "type": "string",
25
+ "description": "Family name"
26
+ },
27
+ "middle_name": {
28
+ "type": "string",
29
+ "description": "Middle name"
30
+ },
31
+ "nickname": {
32
+ "type": "string",
33
+ "description": "Nickname"
34
+ },
35
+ "preferred_username": {
36
+ "type": "string",
37
+ "description": "Preferred Username"
38
+ },
39
+ "profile": {
40
+ "type": "string",
41
+ "description": "Profile"
42
+ },
43
+ "picture": {
44
+ "type": "string",
45
+ "description": "Picture."
46
+ },
47
+ "website": {
48
+ "type": "string",
49
+ "description": "Website"
50
+ },
51
+ "email": {
52
+ "type": "string",
53
+ "description": "Email"
54
+ },
55
+ "email_verified": {
56
+ "type": "boolean",
57
+ "description": "Email verified"
58
+ },
59
+ "gender": {
60
+ "type": "string",
61
+ "description": "Gender"
62
+ },
63
+ "birthdate": {
64
+ "type": "string",
65
+ "description": "Birthdate"
66
+ },
67
+ "zoneinfo": {
68
+ "type": "string",
69
+ "description": "Zone Info"
70
+ },
71
+ "locale": {
72
+ "type": "string",
73
+ "description": "Locale"
74
+ },
75
+ "phone_number": {
76
+ "type": "string",
77
+ "description": "Phone Number"
78
+ },
79
+ "updated_at": {
80
+ "type": "number",
81
+ "description": "Phone Number"
82
+ },
83
+ "address": {
84
+ "title": "Address",
85
+ "type": "object",
86
+ "description": "Address",
87
+ "additionalProperties": true,
88
+ "properties": {
89
+ "formatted": {
90
+ "type": "string",
91
+ "description": "Formatted"
92
+ },
93
+ "street_address": {
94
+ "type": "string",
95
+ "description": "Street Address"
96
+ },
97
+ "locality": {
98
+ "type": "string",
99
+ "description": "Locality"
100
+ },
101
+ "region": {
102
+ "type": "string",
103
+ "description": "Region"
104
+ },
105
+ "postal_code": {
106
+ "type": "string",
107
+ "description": "Postal Code"
108
+ },
109
+ "country": {
110
+ "type": "string",
111
+ "description": "Country"
112
+ }
113
+ }
114
+ }
115
+ },
116
+ "definitions": {
117
+ "address": {
118
+ "title": "Address",
119
+ "type": "object",
120
+ "description": "Address",
121
+ "additionalProperties": true,
122
+ "properties": {
123
+ "formatted": {
124
+ "type": "string",
125
+ "description": "Formatted"
126
+ },
127
+ "street_address": {
128
+ "type": "string",
129
+ "description": "Street Address"
130
+ },
131
+ "locality": {
132
+ "type": "string",
133
+ "description": "Locality"
134
+ },
135
+ "region": {
136
+ "type": "string",
137
+ "description": "Region"
138
+ },
139
+ "postal_code": {
140
+ "type": "string",
141
+ "description": "Postal Code"
142
+ },
143
+ "country": {
144
+ "type": "string",
145
+ "description": "Country"
146
+ }
147
+ }
148
+ }
149
+ }
150
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "entitlement_webhook_response_payload",
5
+ "description": "The webhook payload schema to return the entitlement message JWT and license related service URLs for video playback.",
6
+ "additionalProperties": true,
7
+ "required": [],
8
+ "properties": {
9
+ "entitlement_message_jwt": {
10
+ "type": "string",
11
+ "description": "The JWT encoded and signed entitlement message that can be used with the DRM license server to receive a DRM license to play back the protected video."
12
+ },
13
+ "widevine_license_service_url": {
14
+ "type": "string",
15
+ "description": "An URL to the Widevine License Service that provides a DRM License to a player's License Request."
16
+ },
17
+ "playready_license_service_url": {
18
+ "type": "string",
19
+ "description": "An URL to the PlayReady License Service that provides a DRM License to a player's License Request."
20
+ },
21
+ "fairplay_license_service_url": {
22
+ "type": "string",
23
+ "description": "An URL to the FairPlay License Service that provides a DRM License to a player's License Request."
24
+ },
25
+ "fairplay_streaming_certificate_url": {
26
+ "type": "string",
27
+ "description": "An URL to an Apple-issued FairPlay certificate to enable playback of FairPlay DRM-protected videos."
28
+ }
29
+ }
30
+ }
@@ -5,4 +5,369 @@ export declare const EncodingMessagesSchema: {
5
5
  description: string;
6
6
  additionalProperties: boolean;
7
7
  };
8
+ export declare const EntitlementWebhookResponsePayloadSchema: {
9
+ $schema: string;
10
+ type: string;
11
+ title: string;
12
+ description: string;
13
+ additionalProperties: boolean;
14
+ required: never[];
15
+ properties: {
16
+ entitlement_message_jwt: {
17
+ type: string;
18
+ description: string;
19
+ };
20
+ widevine_license_service_url: {
21
+ type: string;
22
+ description: string;
23
+ };
24
+ playready_license_service_url: {
25
+ type: string;
26
+ description: string;
27
+ };
28
+ fairplay_license_service_url: {
29
+ type: string;
30
+ description: string;
31
+ };
32
+ fairplay_streaming_certificate_url: {
33
+ type: string;
34
+ description: string;
35
+ };
36
+ };
37
+ };
38
+ export declare const ManifestWebhookResponsePayloadSchema: {
39
+ $schema: string;
40
+ type: string;
41
+ title: string;
42
+ description: string;
43
+ additionalProperties: boolean;
44
+ required: never[];
45
+ properties: {
46
+ hls_manifest_url: {
47
+ type: string[];
48
+ description: string;
49
+ };
50
+ dash_manifest_url: {
51
+ type: string[];
52
+ description: string;
53
+ };
54
+ };
55
+ };
56
+ export declare const PlaybackVideoWebhookRequestPayloadSchema: {
57
+ $schema: string;
58
+ type: string;
59
+ title: string;
60
+ description: string;
61
+ additionalProperties: boolean;
62
+ required: string[];
63
+ properties: {
64
+ video: {
65
+ type: string;
66
+ title: string;
67
+ description: string;
68
+ additionalProperties: boolean;
69
+ required: string[];
70
+ properties: {
71
+ id: {
72
+ type: string;
73
+ minLength: number;
74
+ maxLength: number;
75
+ format: string;
76
+ description: string;
77
+ };
78
+ title: {
79
+ type: string;
80
+ description: string;
81
+ };
82
+ source_file_name: {
83
+ type: string[];
84
+ description: string;
85
+ };
86
+ source_file_extension: {
87
+ type: string[];
88
+ description: string;
89
+ };
90
+ source_full_file_name: {
91
+ type: string[];
92
+ description: string;
93
+ };
94
+ source_location: {
95
+ type: string;
96
+ description: string;
97
+ };
98
+ source_size_in_bytes: {
99
+ type: string[];
100
+ description: string;
101
+ };
102
+ is_archived: {
103
+ type: string;
104
+ description: string;
105
+ };
106
+ videos_tags: {
107
+ type: string;
108
+ description: string;
109
+ uniqueItems: boolean;
110
+ additionalItems: boolean;
111
+ items: {
112
+ type: string;
113
+ description: string;
114
+ };
115
+ };
116
+ video_encoding: {
117
+ type: string;
118
+ title: string;
119
+ description: string;
120
+ additionalProperties: boolean;
121
+ required: string[];
122
+ properties: {
123
+ is_protected: {
124
+ type: string;
125
+ description: string;
126
+ };
127
+ title: {
128
+ type: string;
129
+ description: string;
130
+ };
131
+ encoding_state: {
132
+ type: string;
133
+ title: string;
134
+ enum: string[];
135
+ description: string;
136
+ };
137
+ output_format: {
138
+ type: string;
139
+ title: string;
140
+ enum: string[];
141
+ description: string;
142
+ };
143
+ output_location: {
144
+ type: string;
145
+ description: string;
146
+ };
147
+ dash_size_in_bytes: {
148
+ type: string[];
149
+ description: string;
150
+ };
151
+ hls_size_in_bytes: {
152
+ type: string[];
153
+ description: string;
154
+ };
155
+ cmaf_size_in_bytes: {
156
+ type: string[];
157
+ description: string;
158
+ };
159
+ dash_manifest_path: {
160
+ type: string[];
161
+ description: string;
162
+ };
163
+ hls_manifest_path: {
164
+ type: string[];
165
+ description: string;
166
+ };
167
+ audio_languages: {
168
+ type: string;
169
+ description: string;
170
+ uniqueItems: boolean;
171
+ additionalItems: boolean;
172
+ items: {
173
+ type: string[];
174
+ description: string;
175
+ };
176
+ };
177
+ caption_languages: {
178
+ type: string;
179
+ description: string;
180
+ uniqueItems: boolean;
181
+ additionalItems: boolean;
182
+ items: {
183
+ type: string[];
184
+ description: string;
185
+ };
186
+ };
187
+ subtitle_languages: {
188
+ type: string;
189
+ description: string;
190
+ uniqueItems: boolean;
191
+ additionalItems: boolean;
192
+ items: {
193
+ type: string[];
194
+ description: string;
195
+ };
196
+ };
197
+ duration_in_seconds: {
198
+ type: string[];
199
+ description: string;
200
+ };
201
+ length_in_seconds: {
202
+ type: string[];
203
+ description: string;
204
+ };
205
+ finished_date: {
206
+ type: string[];
207
+ description: string;
208
+ };
209
+ preview_status: {
210
+ type: string;
211
+ title: string;
212
+ enum: string[];
213
+ description: string;
214
+ };
215
+ preview_comment: {
216
+ type: string[];
217
+ description: string;
218
+ };
219
+ video_streams: {
220
+ type: string;
221
+ description: string;
222
+ additionalItems: boolean;
223
+ items: {
224
+ type: string;
225
+ title: string;
226
+ description: string;
227
+ additionalProperties: boolean;
228
+ required: string[];
229
+ properties: {
230
+ label: {
231
+ type: string;
232
+ description: string;
233
+ };
234
+ format: {
235
+ type: string;
236
+ title: string;
237
+ enum: string[];
238
+ description: string;
239
+ };
240
+ type: {
241
+ type: string;
242
+ title: string;
243
+ enum: string[];
244
+ description: string;
245
+ };
246
+ file: {
247
+ type: string[];
248
+ description: string;
249
+ };
250
+ key_id: {
251
+ type: string[];
252
+ description: string;
253
+ };
254
+ iv: {
255
+ type: string[];
256
+ description: string;
257
+ };
258
+ bitrate_in_kbps: {
259
+ type: string[];
260
+ description: string;
261
+ };
262
+ file_template: {
263
+ type: string[];
264
+ description: string;
265
+ };
266
+ codecs: {
267
+ type: string[];
268
+ description: string;
269
+ };
270
+ frame_rate: {
271
+ type: string[];
272
+ description: string;
273
+ };
274
+ height: {
275
+ type: string[];
276
+ description: string;
277
+ };
278
+ width: {
279
+ type: string[];
280
+ description: string;
281
+ };
282
+ display_aspect_ratio: {
283
+ type: string[];
284
+ description: string;
285
+ };
286
+ pixel_aspect_ratio: {
287
+ type: string[];
288
+ description: string;
289
+ };
290
+ sampling_rate: {
291
+ type: string[];
292
+ description: string;
293
+ };
294
+ language_code: {
295
+ type: string[];
296
+ description: string;
297
+ };
298
+ language_name: {
299
+ type: string[];
300
+ description: string;
301
+ };
302
+ };
303
+ };
304
+ };
305
+ };
306
+ };
307
+ };
308
+ };
309
+ management_user: {
310
+ type: string;
311
+ title: string;
312
+ description: string;
313
+ additionalProperties: boolean;
314
+ required: string[];
315
+ properties: {
316
+ tenant_id: {
317
+ type: string;
318
+ description: string;
319
+ };
320
+ environment_id: {
321
+ type: string;
322
+ description: string;
323
+ };
324
+ name: {
325
+ type: string;
326
+ description: string;
327
+ };
328
+ email: {
329
+ type: string;
330
+ description: string;
331
+ };
332
+ permissions: {
333
+ type: string;
334
+ title: string;
335
+ description: string;
336
+ additionalProperties: {
337
+ type: string;
338
+ description: string;
339
+ uniqueItems: boolean;
340
+ additionalItems: boolean;
341
+ items: {
342
+ type: string;
343
+ description: string;
344
+ };
345
+ };
346
+ };
347
+ subject_type: {
348
+ type: string;
349
+ title: string;
350
+ description: string;
351
+ enum: string[];
352
+ };
353
+ iat: {
354
+ type: string;
355
+ description: string;
356
+ };
357
+ aud: {
358
+ type: string;
359
+ description: string;
360
+ };
361
+ iss: {
362
+ type: string;
363
+ description: string;
364
+ };
365
+ sub: {
366
+ type: string;
367
+ description: string;
368
+ };
369
+ };
370
+ };
371
+ };
372
+ };
8
373
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/video/types/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB;;;;;;CAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/video/types/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,sBAAsB;;;;;;CAAmB,CAAC;AACvD,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoC,CAAC;AACzF,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;CAAiC,CAAC;AACnF,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAqC,CAAC"}
@@ -1,6 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EncodingMessagesSchema = void 0;
3
+ exports.PlaybackVideoWebhookRequestPayloadSchema = exports.ManifestWebhookResponsePayloadSchema = exports.EntitlementWebhookResponsePayloadSchema = exports.EncodingMessagesSchema = void 0;
4
4
  const EncodingMessages = require("./encoding-messages.json");
5
+ const EntitlementWebhookResponsePayload = require("./entitlement-webhook-response-payload.json");
6
+ const ManifestWebhookResponsePayload = require("./manifest-webhook-response-payload.json");
7
+ const PlaybackVideoWebhookRequestPayload = require("./playback-video-webhook-request-payload.json");
5
8
  exports.EncodingMessagesSchema = EncodingMessages;
9
+ exports.EntitlementWebhookResponsePayloadSchema = EntitlementWebhookResponsePayload;
10
+ exports.ManifestWebhookResponsePayloadSchema = ManifestWebhookResponsePayload;
11
+ exports.PlaybackVideoWebhookRequestPayloadSchema = PlaybackVideoWebhookRequestPayload;
6
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/video/types/index.ts"],"names":[],"mappings":";;;AAAA,6DAA6D;AAEhD,QAAA,sBAAsB,GAAG,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/video/types/index.ts"],"names":[],"mappings":";;;AAAA,6DAA6D;AAC7D,iGAAiG;AACjG,2FAA2F;AAC3F,oGAAoG;AAEvF,QAAA,sBAAsB,GAAG,gBAAgB,CAAC;AAC1C,QAAA,uCAAuC,GAAG,iCAAiC,CAAC;AAC5E,QAAA,oCAAoC,GAAG,8BAA8B,CAAC;AACtE,QAAA,wCAAwC,GAAG,kCAAkC,CAAC"}
@@ -0,0 +1,24 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "manifest_webhook_response_payload",
5
+ "description": "The webhook payload schema to return HLS and/or DASH manifest URL(s) for video playback.",
6
+ "additionalProperties": true,
7
+ "required": [],
8
+ "properties": {
9
+ "hls_manifest_url": {
10
+ "type": [
11
+ "string",
12
+ "null"
13
+ ],
14
+ "description": "The HLS manifest URL for video playback."
15
+ },
16
+ "dash_manifest_url": {
17
+ "type": [
18
+ "string",
19
+ "null"
20
+ ],
21
+ "description": "The DASH manifest URL for video playback."
22
+ }
23
+ }
24
+ }