@axinom/mosaic-messages 0.36.0-rc.1 → 0.36.0-rc.11

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 (105) hide show
  1. package/dist/generated/config/payloads/id/id-service-multi-tenant-messaging-settings.d.ts +1 -0
  2. package/dist/generated/config/payloads/id/id-service-multi-tenant-messaging-settings.d.ts.map +1 -1
  3. package/dist/generated/config/payloads/id/id-service-multi-tenant-messaging-settings.js +1 -0
  4. package/dist/generated/config/payloads/id/id-service-multi-tenant-messaging-settings.js.map +1 -1
  5. package/dist/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.d.ts +2 -0
  6. package/dist/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.d.ts.map +1 -1
  7. package/dist/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.js +2 -0
  8. package/dist/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.js.map +1 -1
  9. package/dist/generated/config/payloads/video/video-service-messaging-settings.js +3 -3
  10. package/dist/generated/config/payloads/video/video-service-messaging-settings.js.map +1 -1
  11. package/dist/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.js +5 -5
  12. package/dist/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.js.map +1 -1
  13. package/dist/generated/schemas/payloads/id/index.d.ts +1 -0
  14. package/dist/generated/schemas/payloads/id/index.d.ts.map +1 -1
  15. package/dist/generated/schemas/payloads/id/index.js +1 -0
  16. package/dist/generated/schemas/payloads/id/index.js.map +1 -1
  17. package/dist/generated/schemas/payloads/id/types/index.d.ts +50 -0
  18. package/dist/generated/schemas/payloads/id/types/index.d.ts.map +1 -0
  19. package/dist/generated/schemas/payloads/id/types/index.js +6 -0
  20. package/dist/generated/schemas/payloads/id/types/index.js.map +1 -0
  21. package/dist/generated/schemas/payloads/id/types/user-role-assignment-changed.json +57 -0
  22. package/dist/generated/schemas/payloads/image/types/image-upload-webhook-request-payload.json +6 -1
  23. package/dist/generated/schemas/payloads/image/types/index.d.ts +4 -0
  24. package/dist/generated/schemas/payloads/image/types/index.d.ts.map +1 -1
  25. package/dist/generated/schemas/payloads/localization/commands/declare-entity-definition-command.json +2 -2
  26. package/dist/generated/schemas/payloads/localization/commands/index.d.ts +1 -1
  27. package/dist/generated/schemas/payloads/localization/events/entity-definition-declare-failed-event.json +3 -3
  28. package/dist/generated/schemas/payloads/localization/events/entity-definition-declare-finished-event.json +3 -3
  29. package/dist/generated/schemas/payloads/localization/events/entity-definition-delete-failed-event.json +1 -1
  30. package/dist/generated/schemas/payloads/localization/events/index.d.ts +62 -2
  31. package/dist/generated/schemas/payloads/localization/events/index.d.ts.map +1 -1
  32. package/dist/generated/schemas/payloads/localization/events/index.js +5 -1
  33. package/dist/generated/schemas/payloads/localization/events/index.js.map +1 -1
  34. package/dist/generated/schemas/payloads/localization/events/localization-service-disable-failed-event.json +1 -1
  35. package/dist/generated/schemas/payloads/localization/events/localization-service-enable-failed-event.json +1 -1
  36. package/dist/generated/schemas/payloads/localization/events/localize-entity-failed-event.json +1 -1
  37. package/dist/generated/schemas/payloads/localization/events/upsert-localization-source-entity-failed-event.json +37 -0
  38. package/dist/generated/schemas/payloads/localization/events/upsert-localization-source-entity-finished-event.json +32 -0
  39. package/dist/generated/types/payloads/id/types/index.d.ts +2 -0
  40. package/dist/generated/types/payloads/id/types/index.d.ts.map +1 -1
  41. package/dist/generated/types/payloads/id/types/index.js +2 -0
  42. package/dist/generated/types/payloads/id/types/index.js.map +1 -1
  43. package/dist/generated/types/payloads/id/types/user-role-assignment-changed-event-type.d.ts +5 -0
  44. package/dist/generated/types/payloads/id/types/user-role-assignment-changed-event-type.d.ts.map +1 -0
  45. package/dist/generated/types/payloads/id/types/user-role-assignment-changed-event-type.js +3 -0
  46. package/dist/generated/types/payloads/id/types/user-role-assignment-changed-event-type.js.map +1 -0
  47. package/dist/generated/types/payloads/id/types/user-role-assignment-changed.d.ts +31 -0
  48. package/dist/generated/types/payloads/id/types/user-role-assignment-changed.d.ts.map +1 -0
  49. package/dist/generated/types/payloads/id/types/user-role-assignment-changed.js +3 -0
  50. package/dist/generated/types/payloads/id/types/user-role-assignment-changed.js.map +1 -0
  51. package/dist/generated/types/payloads/image/types/image-upload-webhook-request-payload.d.ts +4 -0
  52. package/dist/generated/types/payloads/image/types/image-upload-webhook-request-payload.d.ts.map +1 -1
  53. package/dist/generated/types/payloads/localization/events/entity-definition-declare-failed-event.d.ts +1 -1
  54. package/dist/generated/types/payloads/localization/events/entity-definition-declare-finished-event.d.ts +3 -3
  55. package/dist/generated/types/payloads/localization/events/entity-definition-delete-failed-event.d.ts +1 -1
  56. package/dist/generated/types/payloads/localization/events/index.d.ts +8 -2
  57. package/dist/generated/types/payloads/localization/events/index.d.ts.map +1 -1
  58. package/dist/generated/types/payloads/localization/events/index.js +6 -0
  59. package/dist/generated/types/payloads/localization/events/index.js.map +1 -1
  60. package/dist/generated/types/payloads/localization/events/localization-service-disable-failed-event.d.ts +1 -1
  61. package/dist/generated/types/payloads/localization/events/localization-service-enable-failed-event.d.ts +1 -1
  62. package/dist/generated/types/payloads/localization/events/localize-entity-failed-event.d.ts +1 -1
  63. package/dist/generated/types/payloads/localization/events/upsert-localization-source-entity-failed-event.d.ts +22 -0
  64. package/dist/generated/types/payloads/localization/events/upsert-localization-source-entity-failed-event.d.ts.map +1 -0
  65. package/dist/generated/types/payloads/localization/events/upsert-localization-source-entity-failed-event.js +3 -0
  66. package/dist/generated/types/payloads/localization/events/upsert-localization-source-entity-failed-event.js.map +1 -0
  67. package/dist/generated/types/payloads/localization/events/upsert-localization-source-entity-finished-event.d.ts +18 -0
  68. package/dist/generated/types/payloads/localization/events/upsert-localization-source-entity-finished-event.d.ts.map +1 -0
  69. package/dist/generated/types/payloads/localization/events/upsert-localization-source-entity-finished-event.js +3 -0
  70. package/dist/generated/types/payloads/localization/events/upsert-localization-source-entity-finished-event.js.map +1 -0
  71. package/dist/generated/types/payloads/localization/types/entity-field-definition.d.ts +2 -2
  72. package/dist/generated/types/payloads/localization/types/entity-field-definition.d.ts.map +1 -1
  73. package/package.json +4 -4
  74. package/src/generated/config/payloads/id/id-service-multi-tenant-messaging-settings.ts +7 -0
  75. package/src/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.ts +14 -0
  76. package/src/generated/config/payloads/video/video-service-messaging-settings.ts +3 -3
  77. package/src/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.ts +5 -5
  78. package/src/generated/schemas/payloads/id/index.ts +2 -1
  79. package/src/generated/schemas/payloads/id/types/index.ts +3 -0
  80. package/src/generated/schemas/payloads/id/types/user-role-assignment-changed.json +57 -0
  81. package/src/generated/schemas/payloads/image/types/image-upload-webhook-request-payload.json +6 -1
  82. package/src/generated/schemas/payloads/localization/commands/declare-entity-definition-command.json +2 -2
  83. package/src/generated/schemas/payloads/localization/events/entity-definition-declare-failed-event.json +3 -3
  84. package/src/generated/schemas/payloads/localization/events/entity-definition-declare-finished-event.json +3 -3
  85. package/src/generated/schemas/payloads/localization/events/entity-definition-delete-failed-event.json +1 -1
  86. package/src/generated/schemas/payloads/localization/events/index.ts +5 -1
  87. package/src/generated/schemas/payloads/localization/events/localization-service-disable-failed-event.json +1 -1
  88. package/src/generated/schemas/payloads/localization/events/localization-service-enable-failed-event.json +1 -1
  89. package/src/generated/schemas/payloads/localization/events/localize-entity-failed-event.json +1 -1
  90. package/src/generated/schemas/payloads/localization/events/upsert-localization-source-entity-failed-event.json +37 -0
  91. package/src/generated/schemas/payloads/localization/events/upsert-localization-source-entity-finished-event.json +32 -0
  92. package/src/generated/types/payloads/id/types/index.ts +3 -1
  93. package/src/generated/types/payloads/id/types/user-role-assignment-changed-event-type.ts +4 -0
  94. package/src/generated/types/payloads/id/types/user-role-assignment-changed.ts +30 -0
  95. package/src/generated/types/payloads/image/types/image-upload-webhook-request-payload.ts +4 -0
  96. package/src/generated/types/payloads/localization/events/entity-definition-declare-failed-event.ts +1 -1
  97. package/src/generated/types/payloads/localization/events/entity-definition-declare-finished-event.ts +3 -3
  98. package/src/generated/types/payloads/localization/events/entity-definition-delete-failed-event.ts +1 -1
  99. package/src/generated/types/payloads/localization/events/index.ts +8 -2
  100. package/src/generated/types/payloads/localization/events/localization-service-disable-failed-event.ts +1 -1
  101. package/src/generated/types/payloads/localization/events/localization-service-enable-failed-event.ts +1 -1
  102. package/src/generated/types/payloads/localization/events/localize-entity-failed-event.ts +1 -1
  103. package/src/generated/types/payloads/localization/events/upsert-localization-source-entity-failed-event.ts +21 -0
  104. package/src/generated/types/payloads/localization/events/upsert-localization-source-entity-finished-event.ts +17 -0
  105. package/src/generated/types/payloads/localization/types/entity-field-definition.ts +2 -2
@@ -0,0 +1,32 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "upsert_localization_source_entity_finished_event",
5
+ "description": "Upsert localization source entity finished event schema. This event will only be sent if the upsert localization source entity command has a message_context with at least one property.",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "service_id",
9
+ "entity_type",
10
+ "entity_id"
11
+ ],
12
+ "properties": {
13
+ "service_id": {
14
+ "type": "string",
15
+ "minLength": 1,
16
+ "pattern": "^$|.*\\S.*",
17
+ "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
18
+ },
19
+ "entity_type": {
20
+ "type": "string",
21
+ "minLength": 1,
22
+ "pattern": "^$|.*\\S.*",
23
+ "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
24
+ },
25
+ "entity_id": {
26
+ "type": "string",
27
+ "minLength": 1,
28
+ "pattern": "^$|.*\\S.*",
29
+ "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
30
+ }
31
+ }
32
+ }
@@ -2,4 +2,6 @@ export * from './ax-id-service';
2
2
  export * from './ax-idp-configurations';
3
3
  export * from './google-configuration';
4
4
  export * from './permission';
5
+ export * from './user-role-assignment-changed';
6
+ export * from './user-role-assignment-changed-event-type';
5
7
  //# 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;AACvC,cAAc,cAAc,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;AAC7B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2CAA2C,CAAC"}
@@ -18,4 +18,6 @@ __exportStar(require("./ax-id-service"), exports);
18
18
  __exportStar(require("./ax-idp-configurations"), exports);
19
19
  __exportStar(require("./google-configuration"), exports);
20
20
  __exportStar(require("./permission"), exports);
21
+ __exportStar(require("./user-role-assignment-changed"), exports);
22
+ __exportStar(require("./user-role-assignment-changed-event-type"), exports);
21
23
  //# 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;AACvC,+CAA6B"}
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;AAC7B,iEAA+C;AAC/C,4EAA0D"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Represents if the User Role was assigned or unassigned from the User.
3
+ */
4
+ export type UserRoleAssignmentChangedEventType = "USER_ROLE_ASSIGNED" | "USER_ROLE_UNASSIGNED";
5
+ //# sourceMappingURL=user-role-assignment-changed-event-type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-role-assignment-changed-event-type.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/id/types/user-role-assignment-changed-event-type.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,kCAAkC,GAAG,oBAAoB,GAAG,sBAAsB,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=user-role-assignment-changed-event-type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-role-assignment-changed-event-type.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/id/types/user-role-assignment-changed-event-type.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
1
+ import { UserRoleAssignmentChangedEventType } from './user-role-assignment-changed-event-type';
2
+ /**
3
+ * A User Role is either assigned or unassigned from a User.
4
+ */
5
+ export interface UserRoleAssignmentChanged {
6
+ /**
7
+ * A UUID.
8
+ */
9
+ tenant_id?: string;
10
+ /**
11
+ * A UUID.
12
+ */
13
+ environment_id?: string;
14
+ /**
15
+ * A UUID.
16
+ */
17
+ user_id: string;
18
+ /**
19
+ * A UUID.
20
+ */
21
+ user_role_id: string;
22
+ /**
23
+ * User Role Name
24
+ */
25
+ user_role_name: string;
26
+ /**
27
+ * Represents if the User Role was assigned or unassigned from the User.
28
+ */
29
+ change_type: UserRoleAssignmentChangedEventType;
30
+ }
31
+ //# sourceMappingURL=user-role-assignment-changed.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-role-assignment-changed.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/id/types/user-role-assignment-changed.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kCAAkC,EAAE,MAAM,2CAA2C,CAAC;AAC/F;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,WAAW,EAAE,kCAAkC,CAAC;CACjD"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=user-role-assignment-changed.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-role-assignment-changed.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/id/types/user-role-assignment-changed.ts"],"names":[],"mappings":""}
@@ -26,5 +26,9 @@ export interface ImageUploadWebhookRequestPayload {
26
26
  * Boolean indicating the presence of an alpha transparency channel
27
27
  */
28
28
  has_alpha: boolean;
29
+ /**
30
+ * Type of image
31
+ */
32
+ image_type: string;
29
33
  }
30
34
  //# sourceMappingURL=image-upload-webhook-request-payload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"image-upload-webhook-request-payload.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/image/types/image-upload-webhook-request-payload.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC/C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;CACpB"}
1
+ {"version":3,"file":"image-upload-webhook-request-payload.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/image/types/image-upload-webhook-request-payload.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC/C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB"}
@@ -24,7 +24,7 @@ export interface EntityDefinitionDeclareFailedEvent {
24
24
  */
25
25
  entity_field_definitions: EntityFieldDefinition[];
26
26
  /**
27
- * Message that describes a reason for command processing failure.
27
+ * Message that describes the reason for the command processing failure.
28
28
  */
29
29
  message: string;
30
30
  details?: {
@@ -19,11 +19,11 @@ export interface EntityDefinitionDeclareFinishedEvent {
19
19
  */
20
20
  existing_fields?: string[];
21
21
  /**
22
- * An array of entity fields that already existed and were explicitly archived.
22
+ * An array of entity fields that already existed and were explicitly made inactive.
23
23
  */
24
- archived_fields?: string[];
24
+ inactive_fields?: string[];
25
25
  /**
26
- * An array of entity fields that already existed in an archived state, but were not defined anymore as part of the command, so they were deleted.
26
+ * An array of entity fields that already existed in an inactive state, but were not defined anymore as part of the command, so they were deleted.
27
27
  */
28
28
  deleted_fields?: string[];
29
29
  }
@@ -11,7 +11,7 @@ export interface EntityDefinitionDeleteFailedEvent {
11
11
  */
12
12
  entity_type: string;
13
13
  /**
14
- * Message that describes a reason for command processing failure.
14
+ * Message that describes the reason for the command processing failure.
15
15
  */
16
16
  message: string;
17
17
  details?: {
@@ -8,6 +8,8 @@ export * from './localization-service-enable-failed-event';
8
8
  export * from './localization-service-enable-finished-event';
9
9
  export * from './localize-entity-failed-event';
10
10
  export * from './localize-entity-finished-event';
11
+ export * from './upsert-localization-source-entity-failed-event';
12
+ export * from './upsert-localization-source-entity-finished-event';
11
13
  export declare enum LocalizationEventsSchemas {
12
14
  EntityDefinitionDeclareFailedEvent = "payloads/localization/events/entity-definition-declare-failed-event.json",
13
15
  EntityDefinitionDeclareFinishedEvent = "payloads/localization/events/entity-definition-declare-finished-event.json",
@@ -18,7 +20,9 @@ export declare enum LocalizationEventsSchemas {
18
20
  LocalizationServiceEnableFailedEvent = "payloads/localization/events/localization-service-enable-failed-event.json",
19
21
  LocalizationServiceEnableFinishedEvent = "payloads/localization/events/localization-service-enable-finished-event.json",
20
22
  LocalizeEntityFailedEvent = "payloads/localization/events/localize-entity-failed-event.json",
21
- LocalizeEntityFinishedEvent = "payloads/localization/events/localize-entity-finished-event.json"
23
+ LocalizeEntityFinishedEvent = "payloads/localization/events/localize-entity-finished-event.json",
24
+ UpsertLocalizationSourceEntityFailedEvent = "payloads/localization/events/upsert-localization-source-entity-failed-event.json",
25
+ UpsertLocalizationSourceEntityFinishedEvent = "payloads/localization/events/upsert-localization-source-entity-finished-event.json"
22
26
  }
23
27
  export declare enum LocalizationEventsTypes {
24
28
  EntityDefinitionDeclareFailedEvent = "EntityDefinitionDeclareFailedEvent",
@@ -30,6 +34,8 @@ export declare enum LocalizationEventsTypes {
30
34
  LocalizationServiceEnableFailedEvent = "LocalizationServiceEnableFailedEvent",
31
35
  LocalizationServiceEnableFinishedEvent = "LocalizationServiceEnableFinishedEvent",
32
36
  LocalizeEntityFailedEvent = "LocalizeEntityFailedEvent",
33
- LocalizeEntityFinishedEvent = "LocalizeEntityFinishedEvent"
37
+ LocalizeEntityFinishedEvent = "LocalizeEntityFinishedEvent",
38
+ UpsertLocalizationSourceEntityFailedEvent = "UpsertLocalizationSourceEntityFailedEvent",
39
+ UpsertLocalizationSourceEntityFinishedEvent = "UpsertLocalizationSourceEntityFinishedEvent"
34
40
  }
35
41
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/events/index.ts"],"names":[],"mappings":"AAAA,cAAc,0CAA0C,CAAC;AACzD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AAEjD,oBAAY,yBAAyB;IACnC,kCAAkC,6EAA6E;IAC/G,oCAAoC,+EAA+E;IACnH,iCAAiC,4EAA4E;IAC7G,mCAAmC,8EAA8E;IACjH,qCAAqC,gFAAgF;IACrH,uCAAuC,kFAAkF;IACzH,oCAAoC,+EAA+E;IACnH,sCAAsC,iFAAiF;IACvH,yBAAyB,mEAAmE;IAC5F,2BAA2B,qEAAqE;CACjG;AAED,oBAAY,uBAAuB;IACjC,kCAAkC,uCAAuC;IACzE,oCAAoC,yCAAyC;IAC7E,iCAAiC,sCAAsC;IACvE,mCAAmC,wCAAwC;IAC3E,qCAAqC,0CAA0C;IAC/E,uCAAuC,4CAA4C;IACnF,oCAAoC,yCAAyC;IAC7E,sCAAsC,2CAA2C;IACjF,yBAAyB,8BAA8B;IACvD,2BAA2B,gCAAgC;CAC5D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/events/index.ts"],"names":[],"mappings":"AAAA,cAAc,0CAA0C,CAAC;AACzD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,kDAAkD,CAAC;AACjE,cAAc,oDAAoD,CAAC;AAEnE,oBAAY,yBAAyB;IACnC,kCAAkC,6EAA6E;IAC/G,oCAAoC,+EAA+E;IACnH,iCAAiC,4EAA4E;IAC7G,mCAAmC,8EAA8E;IACjH,qCAAqC,gFAAgF;IACrH,uCAAuC,kFAAkF;IACzH,oCAAoC,+EAA+E;IACnH,sCAAsC,iFAAiF;IACvH,yBAAyB,mEAAmE;IAC5F,2BAA2B,qEAAqE;IAChG,yCAAyC,qFAAqF;IAC9H,2CAA2C,uFAAuF;CACnI;AAED,oBAAY,uBAAuB;IACjC,kCAAkC,uCAAuC;IACzE,oCAAoC,yCAAyC;IAC7E,iCAAiC,sCAAsC;IACvE,mCAAmC,wCAAwC;IAC3E,qCAAqC,0CAA0C;IAC/E,uCAAuC,4CAA4C;IACnF,oCAAoC,yCAAyC;IAC7E,sCAAsC,2CAA2C;IACjF,yBAAyB,8BAA8B;IACvD,2BAA2B,gCAAgC;IAC3D,yCAAyC,8CAA8C;IACvF,2CAA2C,gDAAgD;CAC5F"}
@@ -25,6 +25,8 @@ __exportStar(require("./localization-service-enable-failed-event"), exports);
25
25
  __exportStar(require("./localization-service-enable-finished-event"), exports);
26
26
  __exportStar(require("./localize-entity-failed-event"), exports);
27
27
  __exportStar(require("./localize-entity-finished-event"), exports);
28
+ __exportStar(require("./upsert-localization-source-entity-failed-event"), exports);
29
+ __exportStar(require("./upsert-localization-source-entity-finished-event"), exports);
28
30
  var LocalizationEventsSchemas;
29
31
  (function (LocalizationEventsSchemas) {
30
32
  LocalizationEventsSchemas["EntityDefinitionDeclareFailedEvent"] = "payloads/localization/events/entity-definition-declare-failed-event.json";
@@ -37,6 +39,8 @@ var LocalizationEventsSchemas;
37
39
  LocalizationEventsSchemas["LocalizationServiceEnableFinishedEvent"] = "payloads/localization/events/localization-service-enable-finished-event.json";
38
40
  LocalizationEventsSchemas["LocalizeEntityFailedEvent"] = "payloads/localization/events/localize-entity-failed-event.json";
39
41
  LocalizationEventsSchemas["LocalizeEntityFinishedEvent"] = "payloads/localization/events/localize-entity-finished-event.json";
42
+ LocalizationEventsSchemas["UpsertLocalizationSourceEntityFailedEvent"] = "payloads/localization/events/upsert-localization-source-entity-failed-event.json";
43
+ LocalizationEventsSchemas["UpsertLocalizationSourceEntityFinishedEvent"] = "payloads/localization/events/upsert-localization-source-entity-finished-event.json";
40
44
  })(LocalizationEventsSchemas = exports.LocalizationEventsSchemas || (exports.LocalizationEventsSchemas = {}));
41
45
  var LocalizationEventsTypes;
42
46
  (function (LocalizationEventsTypes) {
@@ -50,5 +54,7 @@ var LocalizationEventsTypes;
50
54
  LocalizationEventsTypes["LocalizationServiceEnableFinishedEvent"] = "LocalizationServiceEnableFinishedEvent";
51
55
  LocalizationEventsTypes["LocalizeEntityFailedEvent"] = "LocalizeEntityFailedEvent";
52
56
  LocalizationEventsTypes["LocalizeEntityFinishedEvent"] = "LocalizeEntityFinishedEvent";
57
+ LocalizationEventsTypes["UpsertLocalizationSourceEntityFailedEvent"] = "UpsertLocalizationSourceEntityFailedEvent";
58
+ LocalizationEventsTypes["UpsertLocalizationSourceEntityFinishedEvent"] = "UpsertLocalizationSourceEntityFinishedEvent";
53
59
  })(LocalizationEventsTypes = exports.LocalizationEventsTypes || (exports.LocalizationEventsTypes = {}));
54
60
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2EAAyD;AACzD,6EAA2D;AAC3D,0EAAwD;AACxD,4EAA0D;AAC1D,8EAA4D;AAC5D,gFAA8D;AAC9D,6EAA2D;AAC3D,+EAA6D;AAC7D,iEAA+C;AAC/C,mEAAiD;AAEjD,IAAY,yBAWX;AAXD,WAAY,yBAAyB;IACnC,4IAA+G,CAAA;IAC/G,gJAAmH,CAAA;IACnH,0IAA6G,CAAA;IAC7G,8IAAiH,CAAA;IACjH,kJAAqH,CAAA;IACrH,sJAAyH,CAAA;IACzH,gJAAmH,CAAA;IACnH,oJAAuH,CAAA;IACvH,yHAA4F,CAAA;IAC5F,6HAAgG,CAAA;AAClG,CAAC,EAXW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAWpC;AAED,IAAY,uBAWX;AAXD,WAAY,uBAAuB;IACjC,oGAAyE,CAAA;IACzE,wGAA6E,CAAA;IAC7E,kGAAuE,CAAA;IACvE,sGAA2E,CAAA;IAC3E,0GAA+E,CAAA;IAC/E,8GAAmF,CAAA;IACnF,wGAA6E,CAAA;IAC7E,4GAAiF,CAAA;IACjF,kFAAuD,CAAA;IACvD,sFAA2D,CAAA;AAC7D,CAAC,EAXW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAWlC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2EAAyD;AACzD,6EAA2D;AAC3D,0EAAwD;AACxD,4EAA0D;AAC1D,8EAA4D;AAC5D,gFAA8D;AAC9D,6EAA2D;AAC3D,+EAA6D;AAC7D,iEAA+C;AAC/C,mEAAiD;AACjD,mFAAiE;AACjE,qFAAmE;AAEnE,IAAY,yBAaX;AAbD,WAAY,yBAAyB;IACnC,4IAA+G,CAAA;IAC/G,gJAAmH,CAAA;IACnH,0IAA6G,CAAA;IAC7G,8IAAiH,CAAA;IACjH,kJAAqH,CAAA;IACrH,sJAAyH,CAAA;IACzH,gJAAmH,CAAA;IACnH,oJAAuH,CAAA;IACvH,yHAA4F,CAAA;IAC5F,6HAAgG,CAAA;IAChG,2JAA8H,CAAA;IAC9H,+JAAkI,CAAA;AACpI,CAAC,EAbW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAapC;AAED,IAAY,uBAaX;AAbD,WAAY,uBAAuB;IACjC,oGAAyE,CAAA;IACzE,wGAA6E,CAAA;IAC7E,kGAAuE,CAAA;IACvE,sGAA2E,CAAA;IAC3E,0GAA+E,CAAA;IAC/E,8GAAmF,CAAA;IACnF,wGAA6E,CAAA;IAC7E,4GAAiF,CAAA;IACjF,kFAAuD,CAAA;IACvD,sFAA2D,CAAA;IAC3D,kHAAuF,CAAA;IACvF,sHAA2F,CAAA;AAC7F,CAAC,EAbW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAalC"}
@@ -11,7 +11,7 @@ export interface LocalizationServiceDisableFailedEvent {
11
11
  */
12
12
  environment_id: string;
13
13
  /**
14
- * Message that describes a reason for command processing failure.
14
+ * Message that describes the reason for the command processing failure.
15
15
  */
16
16
  message: string;
17
17
  }
@@ -11,7 +11,7 @@ export interface LocalizationServiceEnableFailedEvent {
11
11
  */
12
12
  environment_id: string;
13
13
  /**
14
- * Message that describes a reason for command processing failure.
14
+ * Message that describes the reason for the command processing failure.
15
15
  */
16
16
  message: string;
17
17
  }
@@ -15,7 +15,7 @@ export interface LocalizeEntityFailedEvent {
15
15
  */
16
16
  entity_id: string;
17
17
  /**
18
- * Message that describes a reason for command processing failure.
18
+ * Message that describes the reason for the command processing failure.
19
19
  */
20
20
  message: string;
21
21
  }
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Upsert localization source entity failed event schema. This event will only be sent if the upsert localization source entity command has a message_context with at least one property.
3
+ */
4
+ export interface UpsertLocalizationSourceEntityFailedEvent {
5
+ /**
6
+ * The string has a minimum length of one character and it cannot consist of only whitespace characters.
7
+ */
8
+ service_id: string;
9
+ /**
10
+ * The string has a minimum length of one character and it cannot consist of only whitespace characters.
11
+ */
12
+ entity_type: string;
13
+ /**
14
+ * The string has a minimum length of one character and it cannot consist of only whitespace characters.
15
+ */
16
+ entity_id: string;
17
+ /**
18
+ * Message that describes the reason for the command processing failure.
19
+ */
20
+ message: string;
21
+ }
22
+ //# sourceMappingURL=upsert-localization-source-entity-failed-event.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upsert-localization-source-entity-failed-event.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/events/upsert-localization-source-entity-failed-event.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,yCAAyC;IACxD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=upsert-localization-source-entity-failed-event.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upsert-localization-source-entity-failed-event.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/events/upsert-localization-source-entity-failed-event.ts"],"names":[],"mappings":""}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Upsert localization source entity finished event schema. This event will only be sent if the upsert localization source entity command has a message_context with at least one property.
3
+ */
4
+ export interface UpsertLocalizationSourceEntityFinishedEvent {
5
+ /**
6
+ * The string has a minimum length of one character and it cannot consist of only whitespace characters.
7
+ */
8
+ service_id: string;
9
+ /**
10
+ * The string has a minimum length of one character and it cannot consist of only whitespace characters.
11
+ */
12
+ entity_type: string;
13
+ /**
14
+ * The string has a minimum length of one character and it cannot consist of only whitespace characters.
15
+ */
16
+ entity_id: string;
17
+ }
18
+ //# sourceMappingURL=upsert-localization-source-entity-finished-event.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upsert-localization-source-entity-finished-event.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/events/upsert-localization-source-entity-finished-event.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,2CAA2C;IAC1D;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=upsert-localization-source-entity-finished-event.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upsert-localization-source-entity-finished-event.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/events/upsert-localization-source-entity-finished-event.ts"],"names":[],"mappings":""}
@@ -30,9 +30,9 @@ export interface EntityFieldDefinition {
30
30
  */
31
31
  sort_index?: number;
32
32
  /**
33
- * Set to true if field definition should be archived, and send a separate declare command without the field after the field definition is archived to completely delete it.
33
+ * Set to false if field definition should be deactivated, and send a separate declare command without the field after the field definition is deactivated to completely delete it.
34
34
  */
35
- is_archived?: boolean;
35
+ is_active?: boolean;
36
36
  /**
37
37
  * An array of field validation rules.
38
38
  */
@@ -1 +1 @@
1
- {"version":3,"file":"entity-field-definition.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/types/entity-field-definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,EAAE,wBAAwB,CAAC;IACrC;;OAEG;IACH,aAAa,EAAE,0BAA0B,CAAC;IAC1C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,sBAAsB,CAAC,EAAE,6BAA6B,EAAE,CAAC;CAC1D"}
1
+ {"version":3,"file":"entity-field-definition.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/types/entity-field-definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,EAAE,wBAAwB,CAAC;IACrC;;OAEG;IACH,aAAa,EAAE,0BAA0B,CAAC;IAC1C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,sBAAsB,CAAC,EAAE,6BAA6B,EAAE,CAAC;CAC1D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axinom/mosaic-messages",
3
- "version": "0.36.0-rc.1",
3
+ "version": "0.36.0-rc.11",
4
4
  "description": "Shared types for Axinom Mosaic service messages",
5
5
  "author": "Axinom",
6
6
  "license": "PROPRIETARY",
@@ -29,8 +29,8 @@
29
29
  "dev": "concurrently --names \"codegen,tsc\" \"yarn codegen:watch\" \"yarn build:compile:watch\""
30
30
  },
31
31
  "devDependencies": {
32
- "@axinom/mosaic-cli": "^0.26.0-rc.1",
33
- "@axinom/mosaic-message-bus-abstractions": "^0.7.0-rc.1",
32
+ "@axinom/mosaic-cli": "^0.26.0-rc.11",
33
+ "@axinom/mosaic-message-bus-abstractions": "^0.7.0-rc.11",
34
34
  "@types/glob": "^7.1.3",
35
35
  "concurrently": "^5.3.0",
36
36
  "rimraf": "^3.0.2",
@@ -42,5 +42,5 @@
42
42
  "publishConfig": {
43
43
  "access": "public"
44
44
  },
45
- "gitHead": "226c7877d782a2b6b8ea06f1a5d24fcb41c2e5c7"
45
+ "gitHead": "ab8fda07c89f9c3857535ac129988f6f11c4e2a7"
46
46
  }
@@ -85,6 +85,13 @@ export class IdServiceMultiTenantMessagingSettings extends MultiTenantMessagingS
85
85
  'event',
86
86
  'user-role'
87
87
  );
88
+ public static UserRoleAssignmentChanged = new IdServiceMultiTenantMessagingSettings(
89
+ 'UserRoleAssignmentChanged',
90
+ 'management_user_role:assignment_changed',
91
+ '*.*.management_user_role.assignment_changed',
92
+ 'event',
93
+ 'user-role-assignment'
94
+ );
88
95
  public static ServiceAccountDeleted = new IdServiceMultiTenantMessagingSettings(
89
96
  'ServiceAccountDeleted',
90
97
  'service_account:deleted',
@@ -50,6 +50,20 @@ export class LocalizationServiceMultiTenantMessagingSettings extends MultiTenant
50
50
  'event',
51
51
  'localization'
52
52
  );
53
+ public static UpsertLocalizationSourceEntityFinished = new LocalizationServiceMultiTenantMessagingSettings(
54
+ 'UpsertLocalizationSourceEntityFinished',
55
+ 'localization_source_entity:upsert_finished',
56
+ '*.*.localization_source_entity.upsert_finished',
57
+ 'event',
58
+ 'localization-source-entity'
59
+ );
60
+ public static UpsertLocalizationSourceEntityFailed = new LocalizationServiceMultiTenantMessagingSettings(
61
+ 'UpsertLocalizationSourceEntityFailed',
62
+ 'localization_source_entity:upsert_failed',
63
+ '*.*.localization_source_entity.upsert_failed',
64
+ 'event',
65
+ 'localization-source-entity'
66
+ );
53
67
  public static EntityDefinitionDeclareFinished = new LocalizationServiceMultiTenantMessagingSettings(
54
68
  'EntityDefinitionDeclareFinished',
55
69
  'entity_definition:declare_finished',
@@ -3,14 +3,14 @@ import { MessagingSettings } from '@axinom/mosaic-message-bus-abstractions';
3
3
  export class VideoServiceMessagingSettings implements MessagingSettings {
4
4
  public static VideoServiceEnable = new VideoServiceMessagingSettings(
5
5
  'VideoServiceEnable',
6
- 'service:enable',
6
+ 'inbox',
7
7
  'video_service.enable',
8
8
  'command',
9
9
  'environment'
10
10
  );
11
11
  public static VideoServiceDisable = new VideoServiceMessagingSettings(
12
12
  'VideoServiceDisable',
13
- 'service:disable',
13
+ 'inbox',
14
14
  'video_service.disable',
15
15
  'command',
16
16
  'environment'
@@ -45,7 +45,7 @@ export class VideoServiceMessagingSettings implements MessagingSettings {
45
45
  );
46
46
  public static EncodingMessages = new VideoServiceMessagingSettings(
47
47
  'EncodingMessages',
48
- 'encoding:messages',
48
+ 'inbox',
49
49
  'encoding.messages',
50
50
  'event',
51
51
  'video'
@@ -3,35 +3,35 @@ import { MultiTenantMessagingSettings } from '@axinom/mosaic-message-bus-abstrac
3
3
  export class VideoServiceMultiTenantMessagingSettings extends MultiTenantMessagingSettings {
4
4
  public static DeclareCuePointTypes = new VideoServiceMultiTenantMessagingSettings(
5
5
  'DeclareCuePointTypes',
6
- 'cue_point_types:declare',
6
+ 'inbox',
7
7
  '*.*.cue_point_types.declare',
8
8
  'command',
9
9
  'cue-point-type'
10
10
  );
11
11
  public static EnsureVideoExists = new VideoServiceMultiTenantMessagingSettings(
12
12
  'EnsureVideoExists',
13
- 'video:ensure_exists',
13
+ 'inbox',
14
14
  '*.*.video.ensure_exists',
15
15
  'command',
16
16
  'video'
17
17
  );
18
18
  public static ArchiveVideos = new VideoServiceMultiTenantMessagingSettings(
19
19
  'ArchiveVideos',
20
- 'videos:archive',
20
+ 'inbox',
21
21
  '*.*.videos.archive',
22
22
  'command',
23
23
  'video'
24
24
  );
25
25
  public static UnarchiveVideos = new VideoServiceMultiTenantMessagingSettings(
26
26
  'UnarchiveVideos',
27
- 'videos:unarchive',
27
+ 'inbox',
28
28
  '*.*.videos.unarchive',
29
29
  'command',
30
30
  'video'
31
31
  );
32
32
  public static ImportCustomVideo = new VideoServiceMultiTenantMessagingSettings(
33
33
  'ImportCustomVideo',
34
- 'custom_video:import',
34
+ 'inbox',
35
35
  '*.*.custom_video.import',
36
36
  'command',
37
37
  'video'
@@ -1,2 +1,3 @@
1
1
  export * from './commands';
2
- export * from './events';
2
+ export * from './events';
3
+ export * from './types';
@@ -0,0 +1,3 @@
1
+ import * as UserRoleAssignmentChanged from './user-role-assignment-changed.json';
2
+
3
+ export const UserRoleAssignmentChangedSchema = UserRoleAssignmentChanged;
@@ -0,0 +1,57 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "user_role_assignment_changed",
5
+ "description": "A User Role is either assigned or unassigned from a User.",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "user_id",
9
+ "user_role_id",
10
+ "user_role_name",
11
+ "change_type"
12
+ ],
13
+ "properties": {
14
+ "tenant_id": {
15
+ "type": "string",
16
+ "minLength": 32,
17
+ "maxLength": 36,
18
+ "format": "uuid",
19
+ "description": "A UUID."
20
+ },
21
+ "environment_id": {
22
+ "type": "string",
23
+ "minLength": 32,
24
+ "maxLength": 36,
25
+ "format": "uuid",
26
+ "description": "A UUID."
27
+ },
28
+ "user_id": {
29
+ "type": "string",
30
+ "minLength": 32,
31
+ "maxLength": 36,
32
+ "format": "uuid",
33
+ "description": "A UUID."
34
+ },
35
+ "user_role_id": {
36
+ "type": "string",
37
+ "minLength": 32,
38
+ "maxLength": 36,
39
+ "format": "uuid",
40
+ "description": "A UUID."
41
+ },
42
+ "user_role_name": {
43
+ "type": "string",
44
+ "title": "user_role_name",
45
+ "description": "User Role Name"
46
+ },
47
+ "change_type": {
48
+ "type": "string",
49
+ "title": "user_role_assignment_changed_event_type",
50
+ "description": "Represents if the User Role was assigned or unassigned from the User.",
51
+ "enum": [
52
+ "USER_ROLE_ASSIGNED",
53
+ "USER_ROLE_UNASSIGNED"
54
+ ]
55
+ }
56
+ }
57
+ }
@@ -10,7 +10,8 @@
10
10
  "width",
11
11
  "height",
12
12
  "format",
13
- "has_alpha"
13
+ "has_alpha",
14
+ "image_type"
14
15
  ],
15
16
  "properties": {
16
17
  "image_name": {
@@ -36,6 +37,10 @@
36
37
  "has_alpha": {
37
38
  "type": "boolean",
38
39
  "description": "Boolean indicating the presence of an alpha transparency channel"
40
+ },
41
+ "image_type": {
42
+ "type": "string",
43
+ "description": "Type of image"
39
44
  }
40
45
  }
41
46
  }
@@ -88,9 +88,9 @@
88
88
  "type": "integer",
89
89
  "description": "The order in which this field should be displayed in relation to other fields of the same entity"
90
90
  },
91
- "is_archived": {
91
+ "is_active": {
92
92
  "type": "boolean",
93
- "description": "Set to true if field definition should be archived, and send a separate declare command without the field after the field definition is archived to completely delete it."
93
+ "description": "Set to false if field definition should be deactivated, and send a separate declare command without the field after the field definition is deactivated to completely delete it."
94
94
  },
95
95
  "field_validation_rules": {
96
96
  "type": "array",