@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
@@ -85,9 +85,9 @@
85
85
  "type": "integer",
86
86
  "description": "The order in which this field should be displayed in relation to other fields of the same entity"
87
87
  },
88
- "is_archived": {
88
+ "is_active": {
89
89
  "type": "boolean",
90
- "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."
90
+ "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."
91
91
  },
92
92
  "field_validation_rules": {
93
93
  "type": "array",
@@ -142,7 +142,7 @@
142
142
  },
143
143
  "message": {
144
144
  "type": "string",
145
- "description": "Message that describes a reason for command processing failure."
145
+ "description": "Message that describes the reason for the command processing failure."
146
146
  },
147
147
  "details": {
148
148
  "type": "object",
@@ -45,9 +45,9 @@
45
45
  "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
46
46
  }
47
47
  },
48
- "archived_fields": {
48
+ "inactive_fields": {
49
49
  "type": "array",
50
- "description": "An array of entity fields that already existed and were explicitly archived.",
50
+ "description": "An array of entity fields that already existed and were explicitly made inactive.",
51
51
  "uniqueItems": true,
52
52
  "additionalItems": false,
53
53
  "items": {
@@ -59,7 +59,7 @@
59
59
  },
60
60
  "deleted_fields": {
61
61
  "type": "array",
62
- "description": "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.",
62
+ "description": "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.",
63
63
  "uniqueItems": true,
64
64
  "additionalItems": false,
65
65
  "items": {
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "message": {
26
26
  "type": "string",
27
- "description": "Message that describes a reason for command processing failure."
27
+ "description": "Message that describes the reason for the command processing failure."
28
28
  },
29
29
  "details": {
30
30
  "type": "object",
@@ -8,6 +8,8 @@ import * as LocalizationServiceEnableFailedEvent from './localization-service-en
8
8
  import * as LocalizationServiceEnableFinishedEvent from './localization-service-enable-finished-event.json';
9
9
  import * as LocalizeEntityFailedEvent from './localize-entity-failed-event.json';
10
10
  import * as LocalizeEntityFinishedEvent from './localize-entity-finished-event.json';
11
+ import * as UpsertLocalizationSourceEntityFailedEvent from './upsert-localization-source-entity-failed-event.json';
12
+ import * as UpsertLocalizationSourceEntityFinishedEvent from './upsert-localization-source-entity-finished-event.json';
11
13
 
12
14
  export const EntityDefinitionDeclareFailedEventSchema = EntityDefinitionDeclareFailedEvent;
13
15
  export const EntityDefinitionDeclareFinishedEventSchema = EntityDefinitionDeclareFinishedEvent;
@@ -18,4 +20,6 @@ export const LocalizationServiceDisableFinishedEventSchema = LocalizationService
18
20
  export const LocalizationServiceEnableFailedEventSchema = LocalizationServiceEnableFailedEvent;
19
21
  export const LocalizationServiceEnableFinishedEventSchema = LocalizationServiceEnableFinishedEvent;
20
22
  export const LocalizeEntityFailedEventSchema = LocalizeEntityFailedEvent;
21
- export const LocalizeEntityFinishedEventSchema = LocalizeEntityFinishedEvent;
23
+ export const LocalizeEntityFinishedEventSchema = LocalizeEntityFinishedEvent;
24
+ export const UpsertLocalizationSourceEntityFailedEventSchema = UpsertLocalizationSourceEntityFailedEvent;
25
+ export const UpsertLocalizationSourceEntityFinishedEventSchema = UpsertLocalizationSourceEntityFinishedEvent;
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "message": {
28
28
  "type": "string",
29
- "description": "Message that describes a reason for command processing failure."
29
+ "description": "Message that describes the reason for the command processing failure."
30
30
  }
31
31
  }
32
32
  }
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "message": {
28
28
  "type": "string",
29
- "description": "Message that describes a reason for command processing failure."
29
+ "description": "Message that describes the reason for the command processing failure."
30
30
  }
31
31
  }
32
32
  }
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "message": {
33
33
  "type": "string",
34
- "description": "Message that describes a reason for command processing failure."
34
+ "description": "Message that describes the reason for the command processing failure."
35
35
  }
36
36
  }
37
37
  }
@@ -0,0 +1,37 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "upsert_localization_source_entity_failed_event",
5
+ "description": "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.",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "service_id",
9
+ "entity_type",
10
+ "entity_id",
11
+ "message"
12
+ ],
13
+ "properties": {
14
+ "service_id": {
15
+ "type": "string",
16
+ "minLength": 1,
17
+ "pattern": "^$|.*\\S.*",
18
+ "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
19
+ },
20
+ "entity_type": {
21
+ "type": "string",
22
+ "minLength": 1,
23
+ "pattern": "^$|.*\\S.*",
24
+ "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
25
+ },
26
+ "entity_id": {
27
+ "type": "string",
28
+ "minLength": 1,
29
+ "pattern": "^$|.*\\S.*",
30
+ "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
31
+ },
32
+ "message": {
33
+ "type": "string",
34
+ "description": "Message that describes the reason for the command processing failure."
35
+ }
36
+ }
37
+ }
@@ -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
+ }
@@ -1,4 +1,6 @@
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
+ export * from './permission';
5
+ export * from './user-role-assignment-changed';
6
+ export * from './user-role-assignment-changed-event-type';
@@ -0,0 +1,4 @@
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";
@@ -0,0 +1,30 @@
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
+ }
@@ -26,4 +26,8 @@ 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
  }
@@ -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?: { [name: string]: unknown };
@@ -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?: { [name: string]: unknown };
@@ -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
 
12
14
  export enum LocalizationEventsSchemas {
13
15
  EntityDefinitionDeclareFailedEvent = 'payloads/localization/events/entity-definition-declare-failed-event.json',
@@ -19,7 +21,9 @@ export enum LocalizationEventsSchemas {
19
21
  LocalizationServiceEnableFailedEvent = 'payloads/localization/events/localization-service-enable-failed-event.json',
20
22
  LocalizationServiceEnableFinishedEvent = 'payloads/localization/events/localization-service-enable-finished-event.json',
21
23
  LocalizeEntityFailedEvent = 'payloads/localization/events/localize-entity-failed-event.json',
22
- LocalizeEntityFinishedEvent = 'payloads/localization/events/localize-entity-finished-event.json'
24
+ LocalizeEntityFinishedEvent = 'payloads/localization/events/localize-entity-finished-event.json',
25
+ UpsertLocalizationSourceEntityFailedEvent = 'payloads/localization/events/upsert-localization-source-entity-failed-event.json',
26
+ UpsertLocalizationSourceEntityFinishedEvent = 'payloads/localization/events/upsert-localization-source-entity-finished-event.json'
23
27
  }
24
28
 
25
29
  export enum LocalizationEventsTypes {
@@ -32,5 +36,7 @@ export enum LocalizationEventsTypes {
32
36
  LocalizationServiceEnableFailedEvent = 'LocalizationServiceEnableFailedEvent',
33
37
  LocalizationServiceEnableFinishedEvent = 'LocalizationServiceEnableFinishedEvent',
34
38
  LocalizeEntityFailedEvent = 'LocalizeEntityFailedEvent',
35
- LocalizeEntityFinishedEvent = 'LocalizeEntityFinishedEvent'
39
+ LocalizeEntityFinishedEvent = 'LocalizeEntityFinishedEvent',
40
+ UpsertLocalizationSourceEntityFailedEvent = 'UpsertLocalizationSourceEntityFailedEvent',
41
+ UpsertLocalizationSourceEntityFinishedEvent = 'UpsertLocalizationSourceEntityFinishedEvent'
36
42
  }
@@ -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,21 @@
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
+ }
@@ -0,0 +1,17 @@
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
+ }
@@ -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
  */