@axinom/mosaic-messages 0.6.1-rc.3 → 0.7.0

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 (35) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/generated/schemas/payloads/ax-auth/commands/ax-auth-create-user-start-command.json +6 -3
  3. package/dist/generated/schemas/payloads/ax-auth/commands/ax-auth-service-enable-start-command.json +0 -5
  4. package/dist/generated/schemas/payloads/ax-auth/commands/index.d.ts +5 -6
  5. package/dist/generated/schemas/payloads/ax-auth/commands/index.d.ts.map +1 -1
  6. package/dist/generated/schemas/payloads/ax-auth/events/ax-auth-create-user-finished-event.json +9 -1
  7. package/dist/generated/schemas/payloads/ax-auth/events/index.d.ts +11 -0
  8. package/dist/generated/schemas/payloads/ax-auth/events/index.d.ts.map +1 -1
  9. package/dist/generated/schemas/payloads/ax-auth/events/update-o-auth-registration-finished-event.json +4 -0
  10. package/dist/generated/schemas/payloads/id/commands/index.d.ts +62 -0
  11. package/dist/generated/schemas/payloads/id/commands/index.d.ts.map +1 -1
  12. package/dist/generated/schemas/payloads/id/commands/synchronize-permissions-start-command.json +69 -1
  13. package/dist/generated/schemas/payloads/video/events/ensure-video-exists-already-existed-event.json +4 -3
  14. package/dist/generated/schemas/payloads/video/events/ensure-video-exists-creation-started-event.json +4 -3
  15. package/dist/generated/types/payloads/ax-auth/commands/ax-auth-create-user-start-command.d.ts +2 -2
  16. package/dist/generated/types/payloads/ax-auth/commands/ax-auth-create-user-start-command.d.ts.map +1 -1
  17. package/dist/generated/types/payloads/ax-auth/commands/ax-auth-service-enable-start-command.d.ts +0 -4
  18. package/dist/generated/types/payloads/ax-auth/commands/ax-auth-service-enable-start-command.d.ts.map +1 -1
  19. package/dist/generated/types/payloads/ax-auth/events/ax-auth-create-user-finished-event.d.ts +4 -0
  20. package/dist/generated/types/payloads/ax-auth/events/ax-auth-create-user-finished-event.d.ts.map +1 -1
  21. package/dist/generated/types/payloads/ax-auth/events/update-o-auth-registration-finished-event.d.ts +4 -0
  22. package/dist/generated/types/payloads/ax-auth/events/update-o-auth-registration-finished-event.d.ts.map +1 -1
  23. package/dist/generated/types/payloads/id/commands/synchronize-permissions-start-command.d.ts +2 -1
  24. package/dist/generated/types/payloads/id/commands/synchronize-permissions-start-command.d.ts.map +1 -1
  25. package/dist/generated/types/payloads/id/types/index.d.ts +1 -0
  26. package/dist/generated/types/payloads/id/types/index.d.ts.map +1 -1
  27. package/dist/generated/types/payloads/id/types/index.js +1 -0
  28. package/dist/generated/types/payloads/id/types/index.js.map +1 -1
  29. package/dist/generated/types/payloads/id/types/permission.d.ts +26 -0
  30. package/dist/generated/types/payloads/id/types/permission.d.ts.map +1 -0
  31. package/dist/generated/types/payloads/id/types/permission.js +3 -0
  32. package/dist/generated/types/payloads/id/types/permission.js.map +1 -0
  33. package/dist/generated/types/payloads/video/types/encoding-state.d.ts +1 -1
  34. package/dist/generated/types/payloads/video/types/encoding-state.d.ts.map +1 -1
  35. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -3,6 +3,24 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.7.0](https://dev.azure.com/axinom/CMS/_git/Navy/branchCompare?baseVersion=GT@axinom/mosaic-messages@0.6.0&targetVersion=GT@axinom/mosaic-messages@0.7.0) (2021-12-09)
7
+
8
+
9
+ ### Features
10
+
11
+ * Initializing encoding_state added ([b71ae48](https://dev.azure.com/axinom/CMS/_git/Navy/commit/b71ae482287195398bec41dc5c298ce3e4152a2f)), closes [#32693](https://dev.azure.com/axinom/CMS/_workitems/edit/32693)
12
+ * permission structure v2 changes all ([4ddff67](https://dev.azure.com/axinom/CMS/_git/Navy/commit/4ddff677d8a9d5f39a3cd15dc608d1fc4f06d419))
13
+ * permission structure v2 changes all ([1565851](https://dev.azure.com/axinom/CMS/_git/Navy/commit/156585102f1aa95865cb89e8a4c657c3fbeab871))
14
+ * rebase with master branch ([0c3456d](https://dev.azure.com/axinom/CMS/_git/Navy/commit/0c3456dfce162357df6fd04af2b6bc17de2e302d))
15
+ * remove generated anonymous types ([061a7bc](https://dev.azure.com/axinom/CMS/_git/Navy/commit/061a7bc780aade28e5b37acf5faf77b94d41142e))
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * fixed permissions for User Stores ([cf2b7c1](https://dev.azure.com/axinom/CMS/_git/Navy/commit/cf2b7c1336b298053d40277afc1cf4504a44a403))
21
+
22
+
23
+
6
24
  ## [0.6.0](https://dev.azure.com/axinom/CMS/_git/Navy/branchCompare?baseVersion=GT@axinom/mosaic-messages@0.5.0&targetVersion=GT@axinom/mosaic-messages@0.6.0) (2021-11-24)
7
25
 
8
26
 
@@ -7,7 +7,7 @@
7
7
  "required": [
8
8
  "tenant_id",
9
9
  "environment_id",
10
- "client_id",
10
+ "user_store_id",
11
11
  "user"
12
12
  ],
13
13
  "properties": {
@@ -25,9 +25,12 @@
25
25
  "maxLength": 36,
26
26
  "format": "uuid"
27
27
  },
28
- "client_id": {
28
+ "user_store_id": {
29
+ "description": "User Store ID",
29
30
  "type": "string",
30
- "description": "Client ID"
31
+ "minLength": 32,
32
+ "maxLength": 36,
33
+ "format": "uuid"
31
34
  },
32
35
  "user": {
33
36
  "type": "object",
@@ -7,7 +7,6 @@
7
7
  "required": [
8
8
  "tenant_id",
9
9
  "environment_id",
10
- "client_name",
11
10
  "redirect_urls"
12
11
  ],
13
12
  "properties": {
@@ -25,10 +24,6 @@
25
24
  "maxLength": 36,
26
25
  "format": "uuid"
27
26
  },
28
- "client_name": {
29
- "type": "string",
30
- "description": "Client name"
31
- },
32
27
  "redirect_urls": {
33
28
  "type": "array",
34
29
  "description": "Redirect URLs",
@@ -20,9 +20,12 @@ export declare const AxAuthCreateUserStartCommandSchema: {
20
20
  maxLength: number;
21
21
  format: string;
22
22
  };
23
- client_id: {
24
- type: string;
23
+ user_store_id: {
25
24
  description: string;
25
+ type: string;
26
+ minLength: number;
27
+ maxLength: number;
28
+ format: string;
26
29
  };
27
30
  user: {
28
31
  type: string;
@@ -97,10 +100,6 @@ export declare const AxAuthServiceEnableStartCommandSchema: {
97
100
  maxLength: number;
98
101
  format: string;
99
102
  };
100
- client_name: {
101
- type: string;
102
- description: string;
103
- };
104
103
  redirect_urls: {
105
104
  type: string;
106
105
  description: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/ax-auth/commands/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA+B,CAAC;AAC/E,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAC;AACvF,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAkC,CAAC;AACrF,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAsC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/ax-auth/commands/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA+B,CAAC;AAC/E,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAC;AACvF,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAkC,CAAC;AACrF,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAsC,CAAC"}
@@ -8,7 +8,8 @@
8
8
  "first_name",
9
9
  "last_name",
10
10
  "profile_picture_url",
11
- "email"
11
+ "email",
12
+ "accessible_client_ids"
12
13
  ],
13
14
  "properties": {
14
15
  "first_name": {
@@ -26,6 +27,13 @@
26
27
  "email": {
27
28
  "type": "string",
28
29
  "description": "Email"
30
+ },
31
+ "accessible_client_ids": {
32
+ "type": "array",
33
+ "description": "Client IDs the user account is accessible",
34
+ "items": {
35
+ "type": "string"
36
+ }
29
37
  }
30
38
  }
31
39
  }
@@ -54,6 +54,13 @@ export declare const AxAuthCreateUserFinishedEventSchema: {
54
54
  type: string;
55
55
  description: string;
56
56
  };
57
+ accessible_client_ids: {
58
+ type: string;
59
+ description: string;
60
+ items: {
61
+ type: string;
62
+ };
63
+ };
57
64
  };
58
65
  };
59
66
  export declare const AxAuthServiceDisableFailedEventSchema: {
@@ -230,6 +237,10 @@ export declare const UpdateOAuthRegistrationFinishedEventSchema: {
230
237
  type: string;
231
238
  description: string;
232
239
  };
240
+ client_secret: {
241
+ type: string;
242
+ description: string;
243
+ };
233
244
  };
234
245
  };
235
246
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/ax-auth/events/index.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA8B,CAAC;AAC7E,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;CAAgC,CAAC;AACjF,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAkC,CAAC;AACrF,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;CAAoC,CAAC;AACzF,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiC,CAAC;AACnF,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAC;AACvF,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAqC,CAAC;AAC3F,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAuC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/ax-auth/events/index.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA8B,CAAC;AAC7E,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAgC,CAAC;AACjF,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAkC,CAAC;AACrF,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;CAAoC,CAAC;AACzF,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiC,CAAC;AACnF,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAC;AACvF,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAqC,CAAC;AAC3F,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAuC,CAAC"}
@@ -27,6 +27,10 @@
27
27
  "client_id": {
28
28
  "type": "string",
29
29
  "description": "Client ID"
30
+ },
31
+ "client_secret": {
32
+ "type": "string",
33
+ "description": "New client secret, if it was updated"
30
34
  }
31
35
  }
32
36
  }
@@ -177,6 +177,68 @@ export declare const SynchronizePermissionsStartCommandSchema: {
177
177
  description: string;
178
178
  items: {
179
179
  type: string;
180
+ additionalProperties: boolean;
181
+ required: string[];
182
+ title: string;
183
+ description: string;
184
+ properties: {
185
+ key: {
186
+ type: string;
187
+ description: string;
188
+ };
189
+ title: {
190
+ type: string;
191
+ description: string;
192
+ };
193
+ used_by_managed_service_only: {
194
+ type: string;
195
+ description: string;
196
+ };
197
+ used_for_development: {
198
+ type: string;
199
+ description: string;
200
+ };
201
+ gql_operations: {
202
+ type: string;
203
+ description: string;
204
+ items: {
205
+ type: string;
206
+ };
207
+ };
208
+ };
209
+ };
210
+ };
211
+ };
212
+ definitions: {
213
+ permission: {
214
+ title: string;
215
+ type: string;
216
+ description: string;
217
+ required: string[];
218
+ properties: {
219
+ key: {
220
+ type: string;
221
+ description: string;
222
+ };
223
+ title: {
224
+ type: string;
225
+ description: string;
226
+ };
227
+ used_by_managed_service_only: {
228
+ type: string;
229
+ description: string;
230
+ };
231
+ used_for_development: {
232
+ type: string;
233
+ description: string;
234
+ };
235
+ gql_operations: {
236
+ type: string;
237
+ description: string;
238
+ items: {
239
+ type: string;
240
+ };
241
+ };
180
242
  };
181
243
  };
182
244
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/id/commands/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;CAA8B,CAAC;AAC7E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;CAAoB,CAAC;AACzD,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;CAAwB,CAAC;AACjE,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;CAA+B,CAAC;AAC/E,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA8B,CAAC;AAC7E,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;CAAqC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/id/commands/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;CAA8B,CAAC;AAC7E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;CAAoB,CAAC;AACzD,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;CAAwB,CAAC;AACjE,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;CAA+B,CAAC;AAC/E,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA8B,CAAC;AAC7E,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAqC,CAAC"}
@@ -17,7 +17,75 @@
17
17
  "type": "array",
18
18
  "description": "Permissions to be synchronized",
19
19
  "items": {
20
- "type": "string"
20
+ "type": "object",
21
+ "additionalProperties": false,
22
+ "required": [
23
+ "key",
24
+ "title"
25
+ ],
26
+ "title": "permission",
27
+ "description": "Permission to be synchronized",
28
+ "properties": {
29
+ "key": {
30
+ "type": "string",
31
+ "description": "Permission Key"
32
+ },
33
+ "title": {
34
+ "type": "string",
35
+ "description": "Permission Title"
36
+ },
37
+ "used_by_managed_service_only": {
38
+ "type": "boolean",
39
+ "description": "Managed Service Only Permission"
40
+ },
41
+ "used_for_development": {
42
+ "type": "boolean",
43
+ "description": "Used for Development Only"
44
+ },
45
+ "gql_operations": {
46
+ "type": "array",
47
+ "description": "GQL Operations mapped to the Permission",
48
+ "items": {
49
+ "type": "string"
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
55
+ },
56
+ "definitions": {
57
+ "permission": {
58
+ "title": "permission",
59
+ "type": "object",
60
+ "description": "Permission to be synchronized",
61
+ "required": [
62
+ "key",
63
+ "title"
64
+ ],
65
+ "properties": {
66
+ "key": {
67
+ "type": "string",
68
+ "description": "Permission Key"
69
+ },
70
+ "title": {
71
+ "type": "string",
72
+ "description": "Permission Title"
73
+ },
74
+ "used_by_managed_service_only": {
75
+ "type": "boolean",
76
+ "description": "Managed Service Only Permission"
77
+ },
78
+ "used_for_development": {
79
+ "type": "boolean",
80
+ "description": "Used for Development Only"
81
+ },
82
+ "gql_operations": {
83
+ "type": "array",
84
+ "description": "GQL Operations mapped to the Permission",
85
+ "items": {
86
+ "type": "string"
87
+ }
88
+ }
21
89
  }
22
90
  }
23
91
  }
@@ -20,11 +20,12 @@
20
20
  "type": "string",
21
21
  "title": "encoding_state",
22
22
  "enum": [
23
- "ERROR",
23
+ "NOT_STARTED",
24
+ "INITIALIZING",
25
+ "WAITING",
24
26
  "IN_PROGRESS",
25
27
  "READY",
26
- "WAITING",
27
- "NOT_STARTED"
28
+ "ERROR"
28
29
  ],
29
30
  "description": "Encoding status of video at the moment when the command handler sent the response event."
30
31
  }
@@ -20,11 +20,12 @@
20
20
  "type": "string",
21
21
  "title": "encoding_state",
22
22
  "enum": [
23
- "ERROR",
23
+ "NOT_STARTED",
24
+ "INITIALIZING",
25
+ "WAITING",
24
26
  "IN_PROGRESS",
25
27
  "READY",
26
- "WAITING",
27
- "NOT_STARTED"
28
+ "ERROR"
28
29
  ],
29
30
  "description": "Encoding status of video at the moment when the command handler sent the response event."
30
31
  }
@@ -12,9 +12,9 @@ export interface AxAuthCreateUserStartCommand {
12
12
  */
13
13
  environment_id: string;
14
14
  /**
15
- * Client ID
15
+ * User Store ID
16
16
  */
17
- client_id: string;
17
+ user_store_id: string;
18
18
  /**
19
19
  * AxAuth User
20
20
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ax-auth-create-user-start-command.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/ax-auth/commands/ax-auth-create-user-start-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAClD;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;CAClB"}
1
+ {"version":3,"file":"ax-auth-create-user-start-command.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/ax-auth/commands/ax-auth-create-user-start-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAClD;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;CAClB"}
@@ -11,10 +11,6 @@ export interface AxAuthServiceEnableStartCommand {
11
11
  * Environment ID
12
12
  */
13
13
  environment_id: string;
14
- /**
15
- * Client name
16
- */
17
- client_name: string;
18
14
  /**
19
15
  * Redirect URLs
20
16
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ax-auth-service-enable-start-command.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/ax-auth/commands/ax-auth-service-enable-start-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAClD;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;CAC3B"}
1
+ {"version":3,"file":"ax-auth-service-enable-start-command.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/ax-auth/commands/ax-auth-service-enable-start-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAClD;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;CAC3B"}
@@ -18,5 +18,9 @@ export interface AxAuthCreateUserFinishedEvent {
18
18
  * Email
19
19
  */
20
20
  email: string;
21
+ /**
22
+ * Client IDs the user account is accessible
23
+ */
24
+ accessible_client_ids: Array<string>;
21
25
  }
22
26
  //# sourceMappingURL=ax-auth-create-user-finished-event.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ax-auth-create-user-finished-event.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/ax-auth/events/ax-auth-create-user-finished-event.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf"}
1
+ {"version":3,"file":"ax-auth-create-user-finished-event.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/ax-auth/events/ax-auth-create-user-finished-event.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,qBAAqB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACtC"}
@@ -14,5 +14,9 @@ export interface UpdateOAuthRegistrationFinishedEvent {
14
14
  * Client ID
15
15
  */
16
16
  client_id: string;
17
+ /**
18
+ * New client secret, if it was updated
19
+ */
20
+ client_secret?: string;
17
21
  }
18
22
  //# sourceMappingURL=update-o-auth-registration-finished-event.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-o-auth-registration-finished-event.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/ax-auth/events/update-o-auth-registration-finished-event.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,oCAAoC;IACnD;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB"}
1
+ {"version":3,"file":"update-o-auth-registration-finished-event.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/ax-auth/events/update-o-auth-registration-finished-event.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,oCAAoC;IACnD;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -1,3 +1,4 @@
1
+ import { Permission } from '../types/permission';
1
2
  /**
2
3
  * Synchronize permissions start command schema
3
4
  */
@@ -9,6 +10,6 @@ export interface SynchronizePermissionsStartCommand {
9
10
  /**
10
11
  * Permissions to be synchronized
11
12
  */
12
- permissions: Array<string>;
13
+ permissions: Array<Permission>;
13
14
  }
14
15
  //# sourceMappingURL=synchronize-permissions-start-command.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"synchronize-permissions-start-command.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/id/commands/synchronize-permissions-start-command.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,kCAAkC;IACjD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
1
+ {"version":3,"file":"synchronize-permissions-start-command.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/id/commands/synchronize-permissions-start-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAChD;;GAEG;AACH,MAAM,WAAW,kCAAkC;IACjD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,WAAW,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;CAChC"}
@@ -1,4 +1,5 @@
1
1
  export * from './ax-id-service';
2
2
  export * from './ax-idp-configurations';
3
3
  export * from './google-configuration';
4
+ export * from './permission';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/id/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/id/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,cAAc,CAAC"}
@@ -13,4 +13,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
13
13
  __exportStar(require("./ax-id-service"), exports);
14
14
  __exportStar(require("./ax-idp-configurations"), exports);
15
15
  __exportStar(require("./google-configuration"), exports);
16
+ __exportStar(require("./permission"), exports);
16
17
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/id/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAgC;AAChC,0DAAwC;AACxC,yDAAuC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/id/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAgC;AAChC,0DAAwC;AACxC,yDAAuC;AACvC,+CAA6B"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Permission to be synchronized
3
+ */
4
+ export interface Permission {
5
+ /**
6
+ * Permission Key
7
+ */
8
+ key: string;
9
+ /**
10
+ * Permission Title
11
+ */
12
+ title: string;
13
+ /**
14
+ * Managed Service Only Permission
15
+ */
16
+ used_by_managed_service_only?: boolean;
17
+ /**
18
+ * Used for Development Only
19
+ */
20
+ used_for_development?: boolean;
21
+ /**
22
+ * GQL Operations mapped to the Permission
23
+ */
24
+ gql_operations?: Array<string>;
25
+ }
26
+ //# sourceMappingURL=permission.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"permission.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/id/types/permission.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=permission.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"permission.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/id/types/permission.ts"],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- export declare type EncodingState = "ERROR" | "IN_PROGRESS" | "READY" | "WAITING" | "NOT_STARTED";
1
+ export declare type EncodingState = "NOT_STARTED" | "INITIALIZING" | "WAITING" | "IN_PROGRESS" | "READY" | "ERROR";
2
2
  //# sourceMappingURL=encoding-state.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"encoding-state.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/types/encoding-state.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa,GAAG,OAAO,GAAG,aAAa,GAAG,OAAO,GAAG,SAAS,GAAG,aAAa,CAAC"}
1
+ {"version":3,"file":"encoding-state.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/types/encoding-state.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa,GAAG,aAAa,GAAG,cAAc,GAAG,SAAS,GAAG,aAAa,GAAG,OAAO,GAAG,OAAO,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axinom/mosaic-messages",
3
- "version": "0.6.1-rc.3",
3
+ "version": "0.7.0",
4
4
  "description": "Shared types for Axinom Mosaic service messages",
5
5
  "author": "Axinom",
6
6
  "license": "PROPRIETARY",
@@ -27,8 +27,8 @@
27
27
  "start:dev": "concurrently --names \"codegen,tsc\" \"yarn codegen:watch\" \"yarn build:compile:watch\""
28
28
  },
29
29
  "devDependencies": {
30
- "@axinom/mosaic-cli": "^0.6.0-rc.2",
31
- "@axinom/mosaic-message-bus-abstractions": "^0.1.2-rc.3",
30
+ "@axinom/mosaic-cli": "^0.6.0",
31
+ "@axinom/mosaic-message-bus-abstractions": "^0.1.2",
32
32
  "@types/glob": "^7.1.3",
33
33
  "concurrently": "^5.3.0",
34
34
  "rimraf": "^3.0.2",
@@ -40,5 +40,5 @@
40
40
  "publishConfig": {
41
41
  "access": "public"
42
42
  },
43
- "gitHead": "30a5cceacde15746fcf22502f57c22c2f13643ea"
43
+ "gitHead": "de356e3d88414dc569d1291d00c21069c5e3556a"
44
44
  }