@axinom/mosaic-messages 0.34.0 → 0.35.0-rc.2

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 (182) hide show
  1. package/dist/generated/config/payloads/admin/admin-service-messaging-settings.d.ts +2 -0
  2. package/dist/generated/config/payloads/admin/admin-service-messaging-settings.d.ts.map +1 -1
  3. package/dist/generated/config/payloads/admin/admin-service-messaging-settings.js +7 -5
  4. package/dist/generated/config/payloads/admin/admin-service-messaging-settings.js.map +1 -1
  5. package/dist/generated/config/payloads/ax-auth/ax-auth-messaging-settings.d.ts +2 -0
  6. package/dist/generated/config/payloads/ax-auth/ax-auth-messaging-settings.d.ts.map +1 -1
  7. package/dist/generated/config/payloads/ax-auth/ax-auth-messaging-settings.js +15 -13
  8. package/dist/generated/config/payloads/ax-auth/ax-auth-messaging-settings.js.map +1 -1
  9. package/dist/generated/config/payloads/billing/billing-service-messaging-settings.d.ts +2 -0
  10. package/dist/generated/config/payloads/billing/billing-service-messaging-settings.d.ts.map +1 -1
  11. package/dist/generated/config/payloads/billing/billing-service-messaging-settings.js +9 -7
  12. package/dist/generated/config/payloads/billing/billing-service-messaging-settings.js.map +1 -1
  13. package/dist/generated/config/payloads/billing/billing-service-multi-tenant-messaging-settings.d.ts +2 -0
  14. package/dist/generated/config/payloads/billing/billing-service-multi-tenant-messaging-settings.d.ts.map +1 -1
  15. package/dist/generated/config/payloads/billing/billing-service-multi-tenant-messaging-settings.js +7 -5
  16. package/dist/generated/config/payloads/billing/billing-service-multi-tenant-messaging-settings.js.map +1 -1
  17. package/dist/generated/config/payloads/channel/channel-service-messaging-settings.d.ts +2 -0
  18. package/dist/generated/config/payloads/channel/channel-service-messaging-settings.d.ts.map +1 -1
  19. package/dist/generated/config/payloads/channel/channel-service-messaging-settings.js +9 -7
  20. package/dist/generated/config/payloads/channel/channel-service-messaging-settings.js.map +1 -1
  21. package/dist/generated/config/payloads/channel/channel-service-multi-tenant-messaging-settings.d.ts +2 -0
  22. package/dist/generated/config/payloads/channel/channel-service-multi-tenant-messaging-settings.d.ts.map +1 -1
  23. package/dist/generated/config/payloads/channel/channel-service-multi-tenant-messaging-settings.js +8 -6
  24. package/dist/generated/config/payloads/channel/channel-service-multi-tenant-messaging-settings.js.map +1 -1
  25. package/dist/generated/config/payloads/hosting/hosting-service-messaging-settings.d.ts +2 -0
  26. package/dist/generated/config/payloads/hosting/hosting-service-messaging-settings.d.ts.map +1 -1
  27. package/dist/generated/config/payloads/hosting/hosting-service-messaging-settings.js +12 -10
  28. package/dist/generated/config/payloads/hosting/hosting-service-messaging-settings.js.map +1 -1
  29. package/dist/generated/config/payloads/id/id-service-messaging-settings.d.ts +2 -0
  30. package/dist/generated/config/payloads/id/id-service-messaging-settings.d.ts.map +1 -1
  31. package/dist/generated/config/payloads/id/id-service-messaging-settings.js +9 -7
  32. package/dist/generated/config/payloads/id/id-service-messaging-settings.js.map +1 -1
  33. package/dist/generated/config/payloads/id/id-service-multi-tenant-messaging-settings.d.ts +2 -0
  34. package/dist/generated/config/payloads/id/id-service-multi-tenant-messaging-settings.d.ts.map +1 -1
  35. package/dist/generated/config/payloads/id/id-service-multi-tenant-messaging-settings.js +13 -11
  36. package/dist/generated/config/payloads/id/id-service-multi-tenant-messaging-settings.js.map +1 -1
  37. package/dist/generated/config/payloads/image/image-service-messaging-settings.d.ts +2 -0
  38. package/dist/generated/config/payloads/image/image-service-messaging-settings.d.ts.map +1 -1
  39. package/dist/generated/config/payloads/image/image-service-messaging-settings.js +9 -7
  40. package/dist/generated/config/payloads/image/image-service-messaging-settings.js.map +1 -1
  41. package/dist/generated/config/payloads/image/image-service-multi-tenant-messaging-settings.d.ts +2 -0
  42. package/dist/generated/config/payloads/image/image-service-multi-tenant-messaging-settings.d.ts.map +1 -1
  43. package/dist/generated/config/payloads/image/image-service-multi-tenant-messaging-settings.js +13 -11
  44. package/dist/generated/config/payloads/image/image-service-multi-tenant-messaging-settings.js.map +1 -1
  45. package/dist/generated/config/payloads/localization/localization-service-messaging-settings.d.ts +2 -0
  46. package/dist/generated/config/payloads/localization/localization-service-messaging-settings.d.ts.map +1 -1
  47. package/dist/generated/config/payloads/localization/localization-service-messaging-settings.js +9 -7
  48. package/dist/generated/config/payloads/localization/localization-service-messaging-settings.js.map +1 -1
  49. package/dist/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.d.ts +5 -0
  50. package/dist/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.d.ts.map +1 -1
  51. package/dist/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.js +15 -10
  52. package/dist/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.js.map +1 -1
  53. package/dist/generated/config/payloads/micro-frontend/micro-frontend-messaging-settings.d.ts +2 -0
  54. package/dist/generated/config/payloads/micro-frontend/micro-frontend-messaging-settings.d.ts.map +1 -1
  55. package/dist/generated/config/payloads/micro-frontend/micro-frontend-messaging-settings.js +15 -13
  56. package/dist/generated/config/payloads/micro-frontend/micro-frontend-messaging-settings.js.map +1 -1
  57. package/dist/generated/config/payloads/monetization-grants/monetization-grants-service-messaging-settings.d.ts +2 -0
  58. package/dist/generated/config/payloads/monetization-grants/monetization-grants-service-messaging-settings.d.ts.map +1 -1
  59. package/dist/generated/config/payloads/monetization-grants/monetization-grants-service-messaging-settings.js +9 -7
  60. package/dist/generated/config/payloads/monetization-grants/monetization-grants-service-messaging-settings.js.map +1 -1
  61. package/dist/generated/config/payloads/monetization-grants/monetization-grants-service-multi-tenant-messaging-settings.d.ts +4 -2
  62. package/dist/generated/config/payloads/monetization-grants/monetization-grants-service-multi-tenant-messaging-settings.d.ts.map +1 -1
  63. package/dist/generated/config/payloads/monetization-grants/monetization-grants-service-multi-tenant-messaging-settings.js +9 -7
  64. package/dist/generated/config/payloads/monetization-grants/monetization-grants-service-multi-tenant-messaging-settings.js.map +1 -1
  65. package/dist/generated/config/payloads/personalization/personalization-service-messaging-settings.d.ts +2 -0
  66. package/dist/generated/config/payloads/personalization/personalization-service-messaging-settings.d.ts.map +1 -1
  67. package/dist/generated/config/payloads/personalization/personalization-service-messaging-settings.js +9 -7
  68. package/dist/generated/config/payloads/personalization/personalization-service-messaging-settings.js.map +1 -1
  69. package/dist/generated/config/payloads/portal-service/portal-service-messaging-settings.d.ts +2 -0
  70. package/dist/generated/config/payloads/portal-service/portal-service-messaging-settings.d.ts.map +1 -1
  71. package/dist/generated/config/payloads/portal-service/portal-service-messaging-settings.js +9 -7
  72. package/dist/generated/config/payloads/portal-service/portal-service-messaging-settings.js.map +1 -1
  73. package/dist/generated/config/payloads/sdu/sdu-service-messaging-settings.d.ts +2 -0
  74. package/dist/generated/config/payloads/sdu/sdu-service-messaging-settings.d.ts.map +1 -1
  75. package/dist/generated/config/payloads/sdu/sdu-service-messaging-settings.js +33 -31
  76. package/dist/generated/config/payloads/sdu/sdu-service-messaging-settings.js.map +1 -1
  77. package/dist/generated/config/payloads/subscription-monetization/subscription-monetization-service-messaging-settings.d.ts +2 -0
  78. package/dist/generated/config/payloads/subscription-monetization/subscription-monetization-service-messaging-settings.d.ts.map +1 -1
  79. package/dist/generated/config/payloads/subscription-monetization/subscription-monetization-service-messaging-settings.js +9 -7
  80. package/dist/generated/config/payloads/subscription-monetization/subscription-monetization-service-messaging-settings.js.map +1 -1
  81. package/dist/generated/config/payloads/subscription-monetization/subscription-monetization-service-multi-tenant-messaging-settings.d.ts +2 -0
  82. package/dist/generated/config/payloads/subscription-monetization/subscription-monetization-service-multi-tenant-messaging-settings.d.ts.map +1 -1
  83. package/dist/generated/config/payloads/subscription-monetization/subscription-monetization-service-multi-tenant-messaging-settings.js +5 -3
  84. package/dist/generated/config/payloads/subscription-monetization/subscription-monetization-service-multi-tenant-messaging-settings.js.map +1 -1
  85. package/dist/generated/config/payloads/user/user-service-messaging-settings.d.ts +2 -0
  86. package/dist/generated/config/payloads/user/user-service-messaging-settings.d.ts.map +1 -1
  87. package/dist/generated/config/payloads/user/user-service-messaging-settings.js +11 -9
  88. package/dist/generated/config/payloads/user/user-service-messaging-settings.js.map +1 -1
  89. package/dist/generated/config/payloads/video/video-service-messaging-settings.d.ts +2 -0
  90. package/dist/generated/config/payloads/video/video-service-messaging-settings.d.ts.map +1 -1
  91. package/dist/generated/config/payloads/video/video-service-messaging-settings.js +10 -8
  92. package/dist/generated/config/payloads/video/video-service-messaging-settings.js.map +1 -1
  93. package/dist/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.d.ts +2 -0
  94. package/dist/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.d.ts.map +1 -1
  95. package/dist/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.js +18 -16
  96. package/dist/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.js.map +1 -1
  97. package/dist/generated/schemas/payloads/localization/commands/index.d.ts +75 -0
  98. package/dist/generated/schemas/payloads/localization/commands/index.d.ts.map +1 -1
  99. package/dist/generated/schemas/payloads/localization/commands/index.js +3 -1
  100. package/dist/generated/schemas/payloads/localization/commands/index.js.map +1 -1
  101. package/dist/generated/schemas/payloads/localization/commands/localize-entity-command.json +90 -0
  102. package/dist/generated/schemas/payloads/localization/events/index.d.ts +82 -0
  103. package/dist/generated/schemas/payloads/localization/events/index.d.ts.map +1 -1
  104. package/dist/generated/schemas/payloads/localization/events/index.js +5 -1
  105. package/dist/generated/schemas/payloads/localization/events/index.js.map +1 -1
  106. package/dist/generated/schemas/payloads/localization/events/localize-entity-failed-event.json +37 -0
  107. package/dist/generated/schemas/payloads/localization/events/localize-entity-finished-event.json +56 -0
  108. package/dist/generated/types/payloads/localization/commands/index.d.ts +3 -0
  109. package/dist/generated/types/payloads/localization/commands/index.d.ts.map +1 -1
  110. package/dist/generated/types/payloads/localization/commands/index.js +3 -0
  111. package/dist/generated/types/payloads/localization/commands/index.js.map +1 -1
  112. package/dist/generated/types/payloads/localization/commands/localize-entity-command.d.ts +23 -0
  113. package/dist/generated/types/payloads/localization/commands/localize-entity-command.d.ts.map +1 -0
  114. package/dist/generated/types/payloads/localization/commands/localize-entity-command.js +3 -0
  115. package/dist/generated/types/payloads/localization/commands/localize-entity-command.js.map +1 -0
  116. package/dist/generated/types/payloads/localization/events/index.d.ts +8 -2
  117. package/dist/generated/types/payloads/localization/events/index.d.ts.map +1 -1
  118. package/dist/generated/types/payloads/localization/events/index.js +6 -0
  119. package/dist/generated/types/payloads/localization/events/index.js.map +1 -1
  120. package/dist/generated/types/payloads/localization/events/localize-entity-failed-event.d.ts +22 -0
  121. package/dist/generated/types/payloads/localization/events/localize-entity-failed-event.d.ts.map +1 -0
  122. package/dist/generated/types/payloads/localization/events/localize-entity-failed-event.js +3 -0
  123. package/dist/generated/types/payloads/localization/events/localize-entity-failed-event.js.map +1 -0
  124. package/dist/generated/types/payloads/localization/events/localize-entity-finished-event.d.ts +26 -0
  125. package/dist/generated/types/payloads/localization/events/localize-entity-finished-event.d.ts.map +1 -0
  126. package/dist/generated/types/payloads/localization/events/localize-entity-finished-event.js +3 -0
  127. package/dist/generated/types/payloads/localization/events/localize-entity-finished-event.js.map +1 -0
  128. package/dist/generated/types/payloads/localization/types/entity-localization-field-state.d.ts +5 -0
  129. package/dist/generated/types/payloads/localization/types/entity-localization-field-state.d.ts.map +1 -0
  130. package/dist/generated/types/payloads/localization/types/entity-localization-field-state.js +3 -0
  131. package/dist/generated/types/payloads/localization/types/entity-localization-field-state.js.map +1 -0
  132. package/dist/generated/types/payloads/localization/types/entity-localization-field.d.ts +19 -0
  133. package/dist/generated/types/payloads/localization/types/entity-localization-field.d.ts.map +1 -0
  134. package/dist/generated/types/payloads/localization/types/entity-localization-field.js +3 -0
  135. package/dist/generated/types/payloads/localization/types/entity-localization-field.js.map +1 -0
  136. package/dist/generated/types/payloads/localization/types/entity-localization.d.ts +15 -0
  137. package/dist/generated/types/payloads/localization/types/entity-localization.d.ts.map +1 -0
  138. package/dist/generated/types/payloads/localization/types/entity-localization.js +3 -0
  139. package/dist/generated/types/payloads/localization/types/entity-localization.js.map +1 -0
  140. package/dist/generated/types/payloads/localization/types/index.d.ts +3 -0
  141. package/dist/generated/types/payloads/localization/types/index.d.ts.map +1 -1
  142. package/dist/generated/types/payloads/localization/types/index.js +3 -0
  143. package/dist/generated/types/payloads/localization/types/index.js.map +1 -1
  144. package/package.json +4 -4
  145. package/src/generated/config/payloads/admin/admin-service-messaging-settings.ts +14 -4
  146. package/src/generated/config/payloads/ax-auth/ax-auth-messaging-settings.ts +38 -12
  147. package/src/generated/config/payloads/billing/billing-service-messaging-settings.ts +20 -6
  148. package/src/generated/config/payloads/billing/billing-service-multi-tenant-messaging-settings.ts +12 -4
  149. package/src/generated/config/payloads/channel/channel-service-messaging-settings.ts +22 -8
  150. package/src/generated/config/payloads/channel/channel-service-multi-tenant-messaging-settings.ts +15 -5
  151. package/src/generated/config/payloads/hosting/hosting-service-messaging-settings.ts +29 -9
  152. package/src/generated/config/payloads/id/id-service-messaging-settings.ts +20 -6
  153. package/src/generated/config/payloads/id/id-service-multi-tenant-messaging-settings.ts +30 -10
  154. package/src/generated/config/payloads/image/image-service-messaging-settings.ts +20 -6
  155. package/src/generated/config/payloads/image/image-service-multi-tenant-messaging-settings.ts +30 -10
  156. package/src/generated/config/payloads/localization/localization-service-messaging-settings.ts +20 -6
  157. package/src/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.ts +48 -9
  158. package/src/generated/config/payloads/micro-frontend/micro-frontend-messaging-settings.ts +38 -12
  159. package/src/generated/config/payloads/monetization-grants/monetization-grants-service-messaging-settings.ts +20 -6
  160. package/src/generated/config/payloads/monetization-grants/monetization-grants-service-multi-tenant-messaging-settings.ts +26 -14
  161. package/src/generated/config/payloads/personalization/personalization-service-messaging-settings.ts +20 -6
  162. package/src/generated/config/payloads/portal-service/portal-service-messaging-settings.ts +20 -6
  163. package/src/generated/config/payloads/sdu/sdu-service-messaging-settings.ts +92 -30
  164. package/src/generated/config/payloads/subscription-monetization/subscription-monetization-service-messaging-settings.ts +20 -6
  165. package/src/generated/config/payloads/subscription-monetization/subscription-monetization-service-multi-tenant-messaging-settings.ts +6 -2
  166. package/src/generated/config/payloads/user/user-service-messaging-settings.ts +26 -8
  167. package/src/generated/config/payloads/video/video-service-messaging-settings.ts +23 -7
  168. package/src/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.ts +45 -15
  169. package/src/generated/schemas/payloads/localization/commands/index.ts +2 -0
  170. package/src/generated/schemas/payloads/localization/commands/localize-entity-command.json +90 -0
  171. package/src/generated/schemas/payloads/localization/events/index.ts +5 -1
  172. package/src/generated/schemas/payloads/localization/events/localize-entity-failed-event.json +37 -0
  173. package/src/generated/schemas/payloads/localization/events/localize-entity-finished-event.json +56 -0
  174. package/src/generated/types/payloads/localization/commands/index.ts +3 -0
  175. package/src/generated/types/payloads/localization/commands/localize-entity-command.ts +22 -0
  176. package/src/generated/types/payloads/localization/events/index.ts +8 -2
  177. package/src/generated/types/payloads/localization/events/localize-entity-failed-event.ts +21 -0
  178. package/src/generated/types/payloads/localization/events/localize-entity-finished-event.ts +25 -0
  179. package/src/generated/types/payloads/localization/types/entity-localization-field-state.ts +4 -0
  180. package/src/generated/types/payloads/localization/types/entity-localization-field.ts +18 -0
  181. package/src/generated/types/payloads/localization/types/entity-localization.ts +14 -0
  182. package/src/generated/types/payloads/localization/types/index.ts +3 -0
@@ -216,6 +216,81 @@ export declare const LocalizationServiceEnableCommandSchema: {
216
216
  };
217
217
  };
218
218
  };
219
+ export declare const LocalizeEntityCommandSchema: {
220
+ $schema: string;
221
+ type: string;
222
+ title: string;
223
+ description: string;
224
+ additionalProperties: boolean;
225
+ required: string[];
226
+ properties: {
227
+ service_id: {
228
+ type: string;
229
+ minLength: number;
230
+ pattern: string;
231
+ description: string;
232
+ };
233
+ entity_type: {
234
+ type: string;
235
+ minLength: number;
236
+ pattern: string;
237
+ description: string;
238
+ };
239
+ entity_id: {
240
+ type: string;
241
+ minLength: number;
242
+ pattern: string;
243
+ description: string;
244
+ };
245
+ localizations: {
246
+ type: string;
247
+ description: string;
248
+ additionalItems: boolean;
249
+ minItems: number;
250
+ items: {
251
+ type: string;
252
+ title: string;
253
+ description: string;
254
+ additionalProperties: boolean;
255
+ required: string[];
256
+ properties: {
257
+ language_tag: {
258
+ type: string;
259
+ description: string;
260
+ };
261
+ fields: {
262
+ type: string;
263
+ description: string;
264
+ additionalItems: boolean;
265
+ items: {
266
+ type: string;
267
+ title: string;
268
+ description: string;
269
+ additionalProperties: boolean;
270
+ required: string[];
271
+ properties: {
272
+ field_name: {
273
+ type: string;
274
+ description: string;
275
+ };
276
+ field_value: {
277
+ type: string;
278
+ description: string;
279
+ };
280
+ state: {
281
+ type: string;
282
+ title: string;
283
+ enum: string[];
284
+ description: string;
285
+ };
286
+ };
287
+ };
288
+ };
289
+ };
290
+ };
291
+ };
292
+ };
293
+ };
219
294
  export declare const UpsertLocalizationSourceEntityCommandSchema: {
220
295
  $schema: string;
221
296
  type: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/localization/commands/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiC,CAAC;AACnF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;CAAgC,CAAC;AACjF,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwC,CAAC;AACjG,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;CAAoC,CAAC;AACzF,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAC;AACvF,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/localization/commands/index.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiC,CAAC;AACnF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;CAAgC,CAAC;AACjF,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwC,CAAC;AACjG,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;CAAoC,CAAC;AACzF,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAC;AACvF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwB,CAAC;AACjE,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwC,CAAC"}
@@ -1,16 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpsertLocalizationSourceEntityCommandSchema = exports.LocalizationServiceEnableCommandSchema = exports.LocalizationServiceDisableCommandSchema = exports.DeleteLocalizationSourceEntityCommandSchema = exports.DeleteEntityDefinitionCommandSchema = exports.DeclareEntityDefinitionCommandSchema = void 0;
3
+ exports.UpsertLocalizationSourceEntityCommandSchema = exports.LocalizeEntityCommandSchema = exports.LocalizationServiceEnableCommandSchema = exports.LocalizationServiceDisableCommandSchema = exports.DeleteLocalizationSourceEntityCommandSchema = exports.DeleteEntityDefinitionCommandSchema = exports.DeclareEntityDefinitionCommandSchema = void 0;
4
4
  const DeclareEntityDefinitionCommand = require("./declare-entity-definition-command.json");
5
5
  const DeleteEntityDefinitionCommand = require("./delete-entity-definition-command.json");
6
6
  const DeleteLocalizationSourceEntityCommand = require("./delete-localization-source-entity-command.json");
7
7
  const LocalizationServiceDisableCommand = require("./localization-service-disable-command.json");
8
8
  const LocalizationServiceEnableCommand = require("./localization-service-enable-command.json");
9
+ const LocalizeEntityCommand = require("./localize-entity-command.json");
9
10
  const UpsertLocalizationSourceEntityCommand = require("./upsert-localization-source-entity-command.json");
10
11
  exports.DeclareEntityDefinitionCommandSchema = DeclareEntityDefinitionCommand;
11
12
  exports.DeleteEntityDefinitionCommandSchema = DeleteEntityDefinitionCommand;
12
13
  exports.DeleteLocalizationSourceEntityCommandSchema = DeleteLocalizationSourceEntityCommand;
13
14
  exports.LocalizationServiceDisableCommandSchema = LocalizationServiceDisableCommand;
14
15
  exports.LocalizationServiceEnableCommandSchema = LocalizationServiceEnableCommand;
16
+ exports.LocalizeEntityCommandSchema = LocalizeEntityCommand;
15
17
  exports.UpsertLocalizationSourceEntityCommandSchema = UpsertLocalizationSourceEntityCommand;
16
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/localization/commands/index.ts"],"names":[],"mappings":";;;AAAA,2FAA2F;AAC3F,yFAAyF;AACzF,0GAA0G;AAC1G,iGAAiG;AACjG,+FAA+F;AAC/F,0GAA0G;AAE7F,QAAA,oCAAoC,GAAG,8BAA8B,CAAC;AACtE,QAAA,mCAAmC,GAAG,6BAA6B,CAAC;AACpE,QAAA,2CAA2C,GAAG,qCAAqC,CAAC;AACpF,QAAA,uCAAuC,GAAG,iCAAiC,CAAC;AAC5E,QAAA,sCAAsC,GAAG,gCAAgC,CAAC;AAC1E,QAAA,2CAA2C,GAAG,qCAAqC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/localization/commands/index.ts"],"names":[],"mappings":";;;AAAA,2FAA2F;AAC3F,yFAAyF;AACzF,0GAA0G;AAC1G,iGAAiG;AACjG,+FAA+F;AAC/F,wEAAwE;AACxE,0GAA0G;AAE7F,QAAA,oCAAoC,GAAG,8BAA8B,CAAC;AACtE,QAAA,mCAAmC,GAAG,6BAA6B,CAAC;AACpE,QAAA,2CAA2C,GAAG,qCAAqC,CAAC;AACpF,QAAA,uCAAuC,GAAG,iCAAiC,CAAC;AAC5E,QAAA,sCAAsC,GAAG,gCAAgC,CAAC;AAC1E,QAAA,2BAA2B,GAAG,qBAAqB,CAAC;AACpD,QAAA,2CAA2C,GAAG,qCAAqC,CAAC"}
@@ -0,0 +1,90 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "localize_entity_command",
5
+ "description": "Localize entity command schema.",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "service_id",
9
+ "entity_type",
10
+ "entity_id",
11
+ "localizations"
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
+ "localizations": {
33
+ "type": "array",
34
+ "description": "An array of localizations for multiple locales.",
35
+ "additionalItems": false,
36
+ "minItems": 1,
37
+ "items": {
38
+ "type": "object",
39
+ "title": "entity_localization",
40
+ "description": "The localization for a single locale.",
41
+ "additionalProperties": false,
42
+ "required": [
43
+ "language_tag",
44
+ "fields"
45
+ ],
46
+ "properties": {
47
+ "language_tag": {
48
+ "type": "string",
49
+ "description": "The language code of the locale."
50
+ },
51
+ "fields": {
52
+ "type": "array",
53
+ "description": "An array of objects containing fields data for specific locales.",
54
+ "additionalItems": false,
55
+ "items": {
56
+ "type": "object",
57
+ "title": "entity_localization_field",
58
+ "description": "Field that will be set for the localized entity.",
59
+ "additionalProperties": false,
60
+ "required": [
61
+ "field_name"
62
+ ],
63
+ "properties": {
64
+ "field_name": {
65
+ "type": "string",
66
+ "description": "The name of a localized field for a specific locale."
67
+ },
68
+ "field_value": {
69
+ "type": "string",
70
+ "description": "The value of a localized field for a specific locale."
71
+ },
72
+ "state": {
73
+ "type": "string",
74
+ "title": "entity_localization_field_state",
75
+ "enum": [
76
+ "UNTRANSLATED",
77
+ "REVIEW_PENDING",
78
+ "APPROVED",
79
+ "REJECTED"
80
+ ],
81
+ "description": "The state of a localized field for a specific locale."
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ }
90
+ }
@@ -350,4 +350,86 @@ export declare const LocalizationServiceEnableFinishedEventSchema: {
350
350
  };
351
351
  };
352
352
  };
353
+ export declare const LocalizeEntityFailedEventSchema: {
354
+ $schema: string;
355
+ type: string;
356
+ title: string;
357
+ description: string;
358
+ additionalProperties: boolean;
359
+ required: string[];
360
+ properties: {
361
+ service_id: {
362
+ type: string;
363
+ minLength: number;
364
+ pattern: string;
365
+ description: string;
366
+ };
367
+ entity_type: {
368
+ type: string;
369
+ minLength: number;
370
+ pattern: string;
371
+ description: string;
372
+ };
373
+ entity_id: {
374
+ type: string;
375
+ minLength: number;
376
+ pattern: string;
377
+ description: string;
378
+ };
379
+ message: {
380
+ type: string;
381
+ description: string;
382
+ };
383
+ };
384
+ };
385
+ export declare const LocalizeEntityFinishedEventSchema: {
386
+ $schema: string;
387
+ type: string;
388
+ title: string;
389
+ description: string;
390
+ additionalProperties: boolean;
391
+ required: string[];
392
+ properties: {
393
+ service_id: {
394
+ type: string;
395
+ minLength: number;
396
+ pattern: string;
397
+ description: string;
398
+ };
399
+ entity_type: {
400
+ type: string;
401
+ minLength: number;
402
+ pattern: string;
403
+ description: string;
404
+ };
405
+ entity_id: {
406
+ type: string;
407
+ minLength: number;
408
+ pattern: string;
409
+ description: string;
410
+ };
411
+ skipped_language_tags: {
412
+ type: string;
413
+ description: string;
414
+ additionalItems: boolean;
415
+ items: {
416
+ type: string;
417
+ minLength: number;
418
+ pattern: string;
419
+ description: string;
420
+ };
421
+ };
422
+ processed_language_tags: {
423
+ type: string;
424
+ description: string;
425
+ additionalItems: boolean;
426
+ items: {
427
+ type: string;
428
+ minLength: number;
429
+ pattern: string;
430
+ description: string;
431
+ };
432
+ };
433
+ };
434
+ };
353
435
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/localization/events/index.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAqC,CAAC;AAC3F,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAuC,CAAC;AAC/F,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoC,CAAC;AACzF,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;CAAsC,CAAC;AAC7F,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwC,CAAC;AACjG,eAAO,MAAM,6CAA6C;;;;;;;;;;;;;;;;;;;;;;;CAA0C,CAAC;AACrG,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAuC,CAAC;AAC/F,eAAO,MAAM,4CAA4C;;;;;;;;;;;;;;;;;;;;;;;CAAyC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/localization/events/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAqC,CAAC;AAC3F,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAuC,CAAC;AAC/F,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoC,CAAC;AACzF,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;CAAsC,CAAC;AAC7F,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwC,CAAC;AACjG,eAAO,MAAM,6CAA6C;;;;;;;;;;;;;;;;;;;;;;;CAA0C,CAAC;AACrG,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAuC,CAAC;AAC/F,eAAO,MAAM,4CAA4C;;;;;;;;;;;;;;;;;;;;;;;CAAyC,CAAC;AACnG,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4B,CAAC;AACzE,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA8B,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LocalizationServiceEnableFinishedEventSchema = exports.LocalizationServiceEnableFailedEventSchema = exports.LocalizationServiceDisableFinishedEventSchema = exports.LocalizationServiceDisableFailedEventSchema = exports.EntityDefinitionDeleteFinishedEventSchema = exports.EntityDefinitionDeleteFailedEventSchema = exports.EntityDefinitionDeclareFinishedEventSchema = exports.EntityDefinitionDeclareFailedEventSchema = void 0;
3
+ exports.LocalizeEntityFinishedEventSchema = exports.LocalizeEntityFailedEventSchema = exports.LocalizationServiceEnableFinishedEventSchema = exports.LocalizationServiceEnableFailedEventSchema = exports.LocalizationServiceDisableFinishedEventSchema = exports.LocalizationServiceDisableFailedEventSchema = exports.EntityDefinitionDeleteFinishedEventSchema = exports.EntityDefinitionDeleteFailedEventSchema = exports.EntityDefinitionDeclareFinishedEventSchema = exports.EntityDefinitionDeclareFailedEventSchema = void 0;
4
4
  const EntityDefinitionDeclareFailedEvent = require("./entity-definition-declare-failed-event.json");
5
5
  const EntityDefinitionDeclareFinishedEvent = require("./entity-definition-declare-finished-event.json");
6
6
  const EntityDefinitionDeleteFailedEvent = require("./entity-definition-delete-failed-event.json");
@@ -9,6 +9,8 @@ const LocalizationServiceDisableFailedEvent = require("./localization-service-di
9
9
  const LocalizationServiceDisableFinishedEvent = require("./localization-service-disable-finished-event.json");
10
10
  const LocalizationServiceEnableFailedEvent = require("./localization-service-enable-failed-event.json");
11
11
  const LocalizationServiceEnableFinishedEvent = require("./localization-service-enable-finished-event.json");
12
+ const LocalizeEntityFailedEvent = require("./localize-entity-failed-event.json");
13
+ const LocalizeEntityFinishedEvent = require("./localize-entity-finished-event.json");
12
14
  exports.EntityDefinitionDeclareFailedEventSchema = EntityDefinitionDeclareFailedEvent;
13
15
  exports.EntityDefinitionDeclareFinishedEventSchema = EntityDefinitionDeclareFinishedEvent;
14
16
  exports.EntityDefinitionDeleteFailedEventSchema = EntityDefinitionDeleteFailedEvent;
@@ -17,4 +19,6 @@ exports.LocalizationServiceDisableFailedEventSchema = LocalizationServiceDisable
17
19
  exports.LocalizationServiceDisableFinishedEventSchema = LocalizationServiceDisableFinishedEvent;
18
20
  exports.LocalizationServiceEnableFailedEventSchema = LocalizationServiceEnableFailedEvent;
19
21
  exports.LocalizationServiceEnableFinishedEventSchema = LocalizationServiceEnableFinishedEvent;
22
+ exports.LocalizeEntityFailedEventSchema = LocalizeEntityFailedEvent;
23
+ exports.LocalizeEntityFinishedEventSchema = LocalizeEntityFinishedEvent;
20
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/localization/events/index.ts"],"names":[],"mappings":";;;AAAA,oGAAoG;AACpG,wGAAwG;AACxG,kGAAkG;AAClG,sGAAsG;AACtG,0GAA0G;AAC1G,8GAA8G;AAC9G,wGAAwG;AACxG,4GAA4G;AAE/F,QAAA,wCAAwC,GAAG,kCAAkC,CAAC;AAC9E,QAAA,0CAA0C,GAAG,oCAAoC,CAAC;AAClF,QAAA,uCAAuC,GAAG,iCAAiC,CAAC;AAC5E,QAAA,yCAAyC,GAAG,mCAAmC,CAAC;AAChF,QAAA,2CAA2C,GAAG,qCAAqC,CAAC;AACpF,QAAA,6CAA6C,GAAG,uCAAuC,CAAC;AACxF,QAAA,0CAA0C,GAAG,oCAAoC,CAAC;AAClF,QAAA,4CAA4C,GAAG,sCAAsC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/localization/events/index.ts"],"names":[],"mappings":";;;AAAA,oGAAoG;AACpG,wGAAwG;AACxG,kGAAkG;AAClG,sGAAsG;AACtG,0GAA0G;AAC1G,8GAA8G;AAC9G,wGAAwG;AACxG,4GAA4G;AAC5G,iFAAiF;AACjF,qFAAqF;AAExE,QAAA,wCAAwC,GAAG,kCAAkC,CAAC;AAC9E,QAAA,0CAA0C,GAAG,oCAAoC,CAAC;AAClF,QAAA,uCAAuC,GAAG,iCAAiC,CAAC;AAC5E,QAAA,yCAAyC,GAAG,mCAAmC,CAAC;AAChF,QAAA,2CAA2C,GAAG,qCAAqC,CAAC;AACpF,QAAA,6CAA6C,GAAG,uCAAuC,CAAC;AACxF,QAAA,0CAA0C,GAAG,oCAAoC,CAAC;AAClF,QAAA,4CAA4C,GAAG,sCAAsC,CAAC;AACtF,QAAA,+BAA+B,GAAG,yBAAyB,CAAC;AAC5D,QAAA,iCAAiC,GAAG,2BAA2B,CAAC"}
@@ -0,0 +1,37 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "localize_entity_failed_event",
5
+ "description": "Localize entity failed event schema.",
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 a reason for command processing failure."
35
+ }
36
+ }
37
+ }
@@ -0,0 +1,56 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "localize_entity_finished_event",
5
+ "description": "Localize entity finished event schema.",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "service_id",
9
+ "entity_type",
10
+ "entity_id",
11
+ "skipped_language_tags",
12
+ "processed_language_tags"
13
+ ],
14
+ "properties": {
15
+ "service_id": {
16
+ "type": "string",
17
+ "minLength": 1,
18
+ "pattern": "^$|.*\\S.*",
19
+ "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
20
+ },
21
+ "entity_type": {
22
+ "type": "string",
23
+ "minLength": 1,
24
+ "pattern": "^$|.*\\S.*",
25
+ "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
26
+ },
27
+ "entity_id": {
28
+ "type": "string",
29
+ "minLength": 1,
30
+ "pattern": "^$|.*\\S.*",
31
+ "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
32
+ },
33
+ "skipped_language_tags": {
34
+ "type": "array",
35
+ "description": "An array of language tags that were skipped. This might include tags for the default or not configured locales.",
36
+ "additionalItems": false,
37
+ "items": {
38
+ "type": "string",
39
+ "minLength": 1,
40
+ "pattern": "^$|.*\\S.*",
41
+ "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
42
+ }
43
+ },
44
+ "processed_language_tags": {
45
+ "type": "array",
46
+ "description": "An array of language tags that were used for localization.",
47
+ "additionalItems": false,
48
+ "items": {
49
+ "type": "string",
50
+ "minLength": 1,
51
+ "pattern": "^$|.*\\S.*",
52
+ "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
53
+ }
54
+ }
55
+ }
56
+ }
@@ -3,6 +3,7 @@ export * from './delete-entity-definition-command';
3
3
  export * from './delete-localization-source-entity-command';
4
4
  export * from './localization-service-disable-command';
5
5
  export * from './localization-service-enable-command';
6
+ export * from './localize-entity-command';
6
7
  export * from './upsert-localization-source-entity-command';
7
8
  export declare enum LocalizationCommandsSchemas {
8
9
  DeclareEntityDefinitionCommand = "payloads/localization/commands/declare-entity-definition-command.json",
@@ -10,6 +11,7 @@ export declare enum LocalizationCommandsSchemas {
10
11
  DeleteLocalizationSourceEntityCommand = "payloads/localization/commands/delete-localization-source-entity-command.json",
11
12
  LocalizationServiceDisableCommand = "payloads/localization/commands/localization-service-disable-command.json",
12
13
  LocalizationServiceEnableCommand = "payloads/localization/commands/localization-service-enable-command.json",
14
+ LocalizeEntityCommand = "payloads/localization/commands/localize-entity-command.json",
13
15
  UpsertLocalizationSourceEntityCommand = "payloads/localization/commands/upsert-localization-source-entity-command.json"
14
16
  }
15
17
  export declare enum LocalizationCommandsTypes {
@@ -18,6 +20,7 @@ export declare enum LocalizationCommandsTypes {
18
20
  DeleteLocalizationSourceEntityCommand = "DeleteLocalizationSourceEntityCommand",
19
21
  LocalizationServiceDisableCommand = "LocalizationServiceDisableCommand",
20
22
  LocalizationServiceEnableCommand = "LocalizationServiceEnableCommand",
23
+ LocalizeEntityCommand = "LocalizeEntityCommand",
21
24
  UpsertLocalizationSourceEntityCommand = "UpsertLocalizationSourceEntityCommand"
22
25
  }
23
26
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC;AACpD,cAAc,oCAAoC,CAAC;AACnD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,wCAAwC,CAAC;AACvD,cAAc,uCAAuC,CAAC;AACtD,cAAc,6CAA6C,CAAC;AAE5D,oBAAY,2BAA2B;IACrC,8BAA8B,0EAA0E;IACxG,6BAA6B,yEAAyE;IACtG,qCAAqC,kFAAkF;IACvH,iCAAiC,6EAA6E;IAC9G,gCAAgC,4EAA4E;IAC5G,qCAAqC,kFAAkF;CACxH;AAED,oBAAY,yBAAyB;IACnC,8BAA8B,mCAAmC;IACjE,6BAA6B,kCAAkC;IAC/D,qCAAqC,0CAA0C;IAC/E,iCAAiC,sCAAsC;IACvE,gCAAgC,qCAAqC;IACrE,qCAAqC,0CAA0C;CAChF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC;AACpD,cAAc,oCAAoC,CAAC;AACnD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,wCAAwC,CAAC;AACvD,cAAc,uCAAuC,CAAC;AACtD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6CAA6C,CAAC;AAE5D,oBAAY,2BAA2B;IACrC,8BAA8B,0EAA0E;IACxG,6BAA6B,yEAAyE;IACtG,qCAAqC,kFAAkF;IACvH,iCAAiC,6EAA6E;IAC9G,gCAAgC,4EAA4E;IAC5G,qBAAqB,gEAAgE;IACrF,qCAAqC,kFAAkF;CACxH;AAED,oBAAY,yBAAyB;IACnC,8BAA8B,mCAAmC;IACjE,6BAA6B,kCAAkC;IAC/D,qCAAqC,0CAA0C;IAC/E,iCAAiC,sCAAsC;IACvE,gCAAgC,qCAAqC;IACrE,qBAAqB,0BAA0B;IAC/C,qCAAqC,0CAA0C;CAChF"}
@@ -20,6 +20,7 @@ __exportStar(require("./delete-entity-definition-command"), exports);
20
20
  __exportStar(require("./delete-localization-source-entity-command"), exports);
21
21
  __exportStar(require("./localization-service-disable-command"), exports);
22
22
  __exportStar(require("./localization-service-enable-command"), exports);
23
+ __exportStar(require("./localize-entity-command"), exports);
23
24
  __exportStar(require("./upsert-localization-source-entity-command"), exports);
24
25
  var LocalizationCommandsSchemas;
25
26
  (function (LocalizationCommandsSchemas) {
@@ -28,6 +29,7 @@ var LocalizationCommandsSchemas;
28
29
  LocalizationCommandsSchemas["DeleteLocalizationSourceEntityCommand"] = "payloads/localization/commands/delete-localization-source-entity-command.json";
29
30
  LocalizationCommandsSchemas["LocalizationServiceDisableCommand"] = "payloads/localization/commands/localization-service-disable-command.json";
30
31
  LocalizationCommandsSchemas["LocalizationServiceEnableCommand"] = "payloads/localization/commands/localization-service-enable-command.json";
32
+ LocalizationCommandsSchemas["LocalizeEntityCommand"] = "payloads/localization/commands/localize-entity-command.json";
31
33
  LocalizationCommandsSchemas["UpsertLocalizationSourceEntityCommand"] = "payloads/localization/commands/upsert-localization-source-entity-command.json";
32
34
  })(LocalizationCommandsSchemas = exports.LocalizationCommandsSchemas || (exports.LocalizationCommandsSchemas = {}));
33
35
  var LocalizationCommandsTypes;
@@ -37,6 +39,7 @@ var LocalizationCommandsTypes;
37
39
  LocalizationCommandsTypes["DeleteLocalizationSourceEntityCommand"] = "DeleteLocalizationSourceEntityCommand";
38
40
  LocalizationCommandsTypes["LocalizationServiceDisableCommand"] = "LocalizationServiceDisableCommand";
39
41
  LocalizationCommandsTypes["LocalizationServiceEnableCommand"] = "LocalizationServiceEnableCommand";
42
+ LocalizationCommandsTypes["LocalizeEntityCommand"] = "LocalizeEntityCommand";
40
43
  LocalizationCommandsTypes["UpsertLocalizationSourceEntityCommand"] = "UpsertLocalizationSourceEntityCommand";
41
44
  })(LocalizationCommandsTypes = exports.LocalizationCommandsTypes || (exports.LocalizationCommandsTypes = {}));
42
45
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/commands/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,sEAAoD;AACpD,qEAAmD;AACnD,8EAA4D;AAC5D,yEAAuD;AACvD,wEAAsD;AACtD,8EAA4D;AAE5D,IAAY,2BAOX;AAPD,WAAY,2BAA2B;IACrC,uIAAwG,CAAA;IACxG,qIAAsG,CAAA;IACtG,sJAAuH,CAAA;IACvH,6IAA8G,CAAA;IAC9G,2IAA4G,CAAA;IAC5G,sJAAuH,CAAA;AACzH,CAAC,EAPW,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAOtC;AAED,IAAY,yBAOX;AAPD,WAAY,yBAAyB;IACnC,8FAAiE,CAAA;IACjE,4FAA+D,CAAA;IAC/D,4GAA+E,CAAA;IAC/E,oGAAuE,CAAA;IACvE,kGAAqE,CAAA;IACrE,4GAA+E,CAAA;AACjF,CAAC,EAPW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAOpC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/commands/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,sEAAoD;AACpD,qEAAmD;AACnD,8EAA4D;AAC5D,yEAAuD;AACvD,wEAAsD;AACtD,4DAA0C;AAC1C,8EAA4D;AAE5D,IAAY,2BAQX;AARD,WAAY,2BAA2B;IACrC,uIAAwG,CAAA;IACxG,qIAAsG,CAAA;IACtG,sJAAuH,CAAA;IACvH,6IAA8G,CAAA;IAC9G,2IAA4G,CAAA;IAC5G,oHAAqF,CAAA;IACrF,sJAAuH,CAAA;AACzH,CAAC,EARW,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAQtC;AAED,IAAY,yBAQX;AARD,WAAY,yBAAyB;IACnC,8FAAiE,CAAA;IACjE,4FAA+D,CAAA;IAC/D,4GAA+E,CAAA;IAC/E,oGAAuE,CAAA;IACvE,kGAAqE,CAAA;IACrE,4EAA+C,CAAA;IAC/C,4GAA+E,CAAA;AACjF,CAAC,EARW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAQpC"}
@@ -0,0 +1,23 @@
1
+ import { EntityLocalization } from '../types/entity-localization';
2
+ /**
3
+ * Localize entity command schema.
4
+ */
5
+ export interface LocalizeEntityCommand {
6
+ /**
7
+ * The string has a minimum length of one character and it cannot consist of only whitespace characters.
8
+ */
9
+ service_id: string;
10
+ /**
11
+ * The string has a minimum length of one character and it cannot consist of only whitespace characters.
12
+ */
13
+ entity_type: string;
14
+ /**
15
+ * The string has a minimum length of one character and it cannot consist of only whitespace characters.
16
+ */
17
+ entity_id: string;
18
+ /**
19
+ * An array of localizations for multiple locales.
20
+ */
21
+ localizations: EntityLocalization[];
22
+ }
23
+ //# sourceMappingURL=localize-entity-command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"localize-entity-command.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/commands/localize-entity-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,aAAa,EAAE,kBAAkB,EAAE,CAAC;CACrC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=localize-entity-command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"localize-entity-command.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/commands/localize-entity-command.ts"],"names":[],"mappings":""}
@@ -6,6 +6,8 @@ export * from './localization-service-disable-failed-event';
6
6
  export * from './localization-service-disable-finished-event';
7
7
  export * from './localization-service-enable-failed-event';
8
8
  export * from './localization-service-enable-finished-event';
9
+ export * from './localize-entity-failed-event';
10
+ export * from './localize-entity-finished-event';
9
11
  export declare enum LocalizationEventsSchemas {
10
12
  EntityDefinitionDeclareFailedEvent = "payloads/localization/events/entity-definition-declare-failed-event.json",
11
13
  EntityDefinitionDeclareFinishedEvent = "payloads/localization/events/entity-definition-declare-finished-event.json",
@@ -14,7 +16,9 @@ export declare enum LocalizationEventsSchemas {
14
16
  LocalizationServiceDisableFailedEvent = "payloads/localization/events/localization-service-disable-failed-event.json",
15
17
  LocalizationServiceDisableFinishedEvent = "payloads/localization/events/localization-service-disable-finished-event.json",
16
18
  LocalizationServiceEnableFailedEvent = "payloads/localization/events/localization-service-enable-failed-event.json",
17
- LocalizationServiceEnableFinishedEvent = "payloads/localization/events/localization-service-enable-finished-event.json"
19
+ LocalizationServiceEnableFinishedEvent = "payloads/localization/events/localization-service-enable-finished-event.json",
20
+ LocalizeEntityFailedEvent = "payloads/localization/events/localize-entity-failed-event.json",
21
+ LocalizeEntityFinishedEvent = "payloads/localization/events/localize-entity-finished-event.json"
18
22
  }
19
23
  export declare enum LocalizationEventsTypes {
20
24
  EntityDefinitionDeclareFailedEvent = "EntityDefinitionDeclareFailedEvent",
@@ -24,6 +28,8 @@ export declare enum LocalizationEventsTypes {
24
28
  LocalizationServiceDisableFailedEvent = "LocalizationServiceDisableFailedEvent",
25
29
  LocalizationServiceDisableFinishedEvent = "LocalizationServiceDisableFinishedEvent",
26
30
  LocalizationServiceEnableFailedEvent = "LocalizationServiceEnableFailedEvent",
27
- LocalizationServiceEnableFinishedEvent = "LocalizationServiceEnableFinishedEvent"
31
+ LocalizationServiceEnableFinishedEvent = "LocalizationServiceEnableFinishedEvent",
32
+ LocalizeEntityFailedEvent = "LocalizeEntityFailedEvent",
33
+ LocalizeEntityFinishedEvent = "LocalizeEntityFinishedEvent"
28
34
  }
29
35
  //# 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;AAE7D,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;CACxH;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;CAClF"}
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"}
@@ -23,6 +23,8 @@ __exportStar(require("./localization-service-disable-failed-event"), exports);
23
23
  __exportStar(require("./localization-service-disable-finished-event"), exports);
24
24
  __exportStar(require("./localization-service-enable-failed-event"), exports);
25
25
  __exportStar(require("./localization-service-enable-finished-event"), exports);
26
+ __exportStar(require("./localize-entity-failed-event"), exports);
27
+ __exportStar(require("./localize-entity-finished-event"), exports);
26
28
  var LocalizationEventsSchemas;
27
29
  (function (LocalizationEventsSchemas) {
28
30
  LocalizationEventsSchemas["EntityDefinitionDeclareFailedEvent"] = "payloads/localization/events/entity-definition-declare-failed-event.json";
@@ -33,6 +35,8 @@ var LocalizationEventsSchemas;
33
35
  LocalizationEventsSchemas["LocalizationServiceDisableFinishedEvent"] = "payloads/localization/events/localization-service-disable-finished-event.json";
34
36
  LocalizationEventsSchemas["LocalizationServiceEnableFailedEvent"] = "payloads/localization/events/localization-service-enable-failed-event.json";
35
37
  LocalizationEventsSchemas["LocalizationServiceEnableFinishedEvent"] = "payloads/localization/events/localization-service-enable-finished-event.json";
38
+ LocalizationEventsSchemas["LocalizeEntityFailedEvent"] = "payloads/localization/events/localize-entity-failed-event.json";
39
+ LocalizationEventsSchemas["LocalizeEntityFinishedEvent"] = "payloads/localization/events/localize-entity-finished-event.json";
36
40
  })(LocalizationEventsSchemas = exports.LocalizationEventsSchemas || (exports.LocalizationEventsSchemas = {}));
37
41
  var LocalizationEventsTypes;
38
42
  (function (LocalizationEventsTypes) {
@@ -44,5 +48,7 @@ var LocalizationEventsTypes;
44
48
  LocalizationEventsTypes["LocalizationServiceDisableFinishedEvent"] = "LocalizationServiceDisableFinishedEvent";
45
49
  LocalizationEventsTypes["LocalizationServiceEnableFailedEvent"] = "LocalizationServiceEnableFailedEvent";
46
50
  LocalizationEventsTypes["LocalizationServiceEnableFinishedEvent"] = "LocalizationServiceEnableFinishedEvent";
51
+ LocalizationEventsTypes["LocalizeEntityFailedEvent"] = "LocalizeEntityFailedEvent";
52
+ LocalizationEventsTypes["LocalizeEntityFinishedEvent"] = "LocalizeEntityFinishedEvent";
47
53
  })(LocalizationEventsTypes = exports.LocalizationEventsTypes || (exports.LocalizationEventsTypes = {}));
48
54
  //# 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;AAE7D,IAAY,yBASX;AATD,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;AACzH,CAAC,EATW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QASpC;AAED,IAAY,uBASX;AATD,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;AACnF,CAAC,EATW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QASlC"}
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"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Localize entity failed event schema.
3
+ */
4
+ export interface LocalizeEntityFailedEvent {
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 a reason for command processing failure.
19
+ */
20
+ message: string;
21
+ }
22
+ //# sourceMappingURL=localize-entity-failed-event.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"localize-entity-failed-event.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/events/localize-entity-failed-event.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;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=localize-entity-failed-event.js.map