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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/dist/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.d.ts +3 -0
  2. package/dist/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.d.ts.map +1 -1
  3. package/dist/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.js +3 -0
  4. package/dist/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.js.map +1 -1
  5. package/dist/generated/schemas/payloads/localization/commands/index.d.ts +75 -0
  6. package/dist/generated/schemas/payloads/localization/commands/index.d.ts.map +1 -1
  7. package/dist/generated/schemas/payloads/localization/commands/index.js +3 -1
  8. package/dist/generated/schemas/payloads/localization/commands/index.js.map +1 -1
  9. package/dist/generated/schemas/payloads/localization/commands/localize-entity-command.json +90 -0
  10. package/dist/generated/schemas/payloads/localization/events/index.d.ts +82 -0
  11. package/dist/generated/schemas/payloads/localization/events/index.d.ts.map +1 -1
  12. package/dist/generated/schemas/payloads/localization/events/index.js +5 -1
  13. package/dist/generated/schemas/payloads/localization/events/index.js.map +1 -1
  14. package/dist/generated/schemas/payloads/localization/events/localize-entity-failed-event.json +37 -0
  15. package/dist/generated/schemas/payloads/localization/events/localize-entity-finished-event.json +56 -0
  16. package/dist/generated/types/payloads/localization/commands/index.d.ts +3 -0
  17. package/dist/generated/types/payloads/localization/commands/index.d.ts.map +1 -1
  18. package/dist/generated/types/payloads/localization/commands/index.js +3 -0
  19. package/dist/generated/types/payloads/localization/commands/index.js.map +1 -1
  20. package/dist/generated/types/payloads/localization/commands/localize-entity-command.d.ts +23 -0
  21. package/dist/generated/types/payloads/localization/commands/localize-entity-command.d.ts.map +1 -0
  22. package/dist/generated/types/payloads/localization/commands/localize-entity-command.js +3 -0
  23. package/dist/generated/types/payloads/localization/commands/localize-entity-command.js.map +1 -0
  24. package/dist/generated/types/payloads/localization/events/index.d.ts +8 -2
  25. package/dist/generated/types/payloads/localization/events/index.d.ts.map +1 -1
  26. package/dist/generated/types/payloads/localization/events/index.js +6 -0
  27. package/dist/generated/types/payloads/localization/events/index.js.map +1 -1
  28. package/dist/generated/types/payloads/localization/events/localize-entity-failed-event.d.ts +22 -0
  29. package/dist/generated/types/payloads/localization/events/localize-entity-failed-event.d.ts.map +1 -0
  30. package/dist/generated/types/payloads/localization/events/localize-entity-failed-event.js +3 -0
  31. package/dist/generated/types/payloads/localization/events/localize-entity-failed-event.js.map +1 -0
  32. package/dist/generated/types/payloads/localization/events/localize-entity-finished-event.d.ts +26 -0
  33. package/dist/generated/types/payloads/localization/events/localize-entity-finished-event.d.ts.map +1 -0
  34. package/dist/generated/types/payloads/localization/events/localize-entity-finished-event.js +3 -0
  35. package/dist/generated/types/payloads/localization/events/localize-entity-finished-event.js.map +1 -0
  36. package/dist/generated/types/payloads/localization/types/entity-localization-field-state.d.ts +5 -0
  37. package/dist/generated/types/payloads/localization/types/entity-localization-field-state.d.ts.map +1 -0
  38. package/dist/generated/types/payloads/localization/types/entity-localization-field-state.js +3 -0
  39. package/dist/generated/types/payloads/localization/types/entity-localization-field-state.js.map +1 -0
  40. package/dist/generated/types/payloads/localization/types/entity-localization-field.d.ts +19 -0
  41. package/dist/generated/types/payloads/localization/types/entity-localization-field.d.ts.map +1 -0
  42. package/dist/generated/types/payloads/localization/types/entity-localization-field.js +3 -0
  43. package/dist/generated/types/payloads/localization/types/entity-localization-field.js.map +1 -0
  44. package/dist/generated/types/payloads/localization/types/entity-localization.d.ts +15 -0
  45. package/dist/generated/types/payloads/localization/types/entity-localization.d.ts.map +1 -0
  46. package/dist/generated/types/payloads/localization/types/entity-localization.js +3 -0
  47. package/dist/generated/types/payloads/localization/types/entity-localization.js.map +1 -0
  48. package/dist/generated/types/payloads/localization/types/index.d.ts +3 -0
  49. package/dist/generated/types/payloads/localization/types/index.d.ts.map +1 -1
  50. package/dist/generated/types/payloads/localization/types/index.js +3 -0
  51. package/dist/generated/types/payloads/localization/types/index.js.map +1 -1
  52. package/package.json +4 -4
  53. package/src/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.ts +15 -0
  54. package/src/generated/schemas/payloads/localization/commands/index.ts +2 -0
  55. package/src/generated/schemas/payloads/localization/commands/localize-entity-command.json +90 -0
  56. package/src/generated/schemas/payloads/localization/events/index.ts +5 -1
  57. package/src/generated/schemas/payloads/localization/events/localize-entity-failed-event.json +37 -0
  58. package/src/generated/schemas/payloads/localization/events/localize-entity-finished-event.json +56 -0
  59. package/src/generated/types/payloads/localization/commands/index.ts +3 -0
  60. package/src/generated/types/payloads/localization/commands/localize-entity-command.ts +22 -0
  61. package/src/generated/types/payloads/localization/events/index.ts +8 -2
  62. package/src/generated/types/payloads/localization/events/localize-entity-failed-event.ts +21 -0
  63. package/src/generated/types/payloads/localization/events/localize-entity-finished-event.ts +25 -0
  64. package/src/generated/types/payloads/localization/types/entity-localization-field-state.ts +4 -0
  65. package/src/generated/types/payloads/localization/types/entity-localization-field.ts +18 -0
  66. package/src/generated/types/payloads/localization/types/entity-localization.ts +14 -0
  67. package/src/generated/types/payloads/localization/types/index.ts +3 -0
@@ -6,7 +6,10 @@ export declare class LocalizationServiceMultiTenantMessagingSettings extends Mul
6
6
  static DeclareEntityDefinition: LocalizationServiceMultiTenantMessagingSettings;
7
7
  static DeleteEntityDefinition: LocalizationServiceMultiTenantMessagingSettings;
8
8
  static UpsertLocalizationSourceEntity: LocalizationServiceMultiTenantMessagingSettings;
9
+ static LocalizeEntity: LocalizationServiceMultiTenantMessagingSettings;
9
10
  static DeleteLocalizationSourceEntity: LocalizationServiceMultiTenantMessagingSettings;
11
+ static LocalizeEntityFinished: LocalizationServiceMultiTenantMessagingSettings;
12
+ static LocalizeEntityFailed: LocalizationServiceMultiTenantMessagingSettings;
10
13
  static EntityDefinitionDeclareFinished: LocalizationServiceMultiTenantMessagingSettings;
11
14
  static EntityDefinitionDeclareFailed: LocalizationServiceMultiTenantMessagingSettings;
12
15
  static EntityDefinitionDeleteFinished: LocalizationServiceMultiTenantMessagingSettings;
@@ -1 +1 @@
1
- {"version":3,"file":"localization-service-multi-tenant-messaging-settings.d.ts","sourceRoot":"","sources":["../../../../../src/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,yCAAyC,CAAC;AAEvF,qBAAa,+CAAgD,SAAQ,4BAA4B;aA2C7E,WAAW,EAAE,MAAM;aACnB,KAAK,EAAE,MAAM;aACb,UAAU,EAAE,MAAM;IA5CpC,OAAc,uBAAuB,kDAIjC;IACJ,OAAc,sBAAsB,kDAIhC;IACJ,OAAc,8BAA8B,kDAIxC;IACJ,OAAc,8BAA8B,kDAIxC;IACJ,OAAc,+BAA+B,kDAIzC;IACJ,OAAc,6BAA6B,kDAIvC;IACJ,OAAc,8BAA8B,kDAIxC;IACJ,OAAc,4BAA4B,kDAItC;IAEJ,OAAO;IAQA,QAAQ,QAAO,MAAM,CAE1B;CACH"}
1
+ {"version":3,"file":"localization-service-multi-tenant-messaging-settings.d.ts","sourceRoot":"","sources":["../../../../../src/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,yCAAyC,CAAC;AAEvF,qBAAa,+CAAgD,SAAQ,4BAA4B;aA0D7E,WAAW,EAAE,MAAM;aACnB,KAAK,EAAE,MAAM;aACb,UAAU,EAAE,MAAM;IA3DpC,OAAc,uBAAuB,kDAIjC;IACJ,OAAc,sBAAsB,kDAIhC;IACJ,OAAc,8BAA8B,kDAIxC;IACJ,OAAc,cAAc,kDAIxB;IACJ,OAAc,8BAA8B,kDAIxC;IACJ,OAAc,sBAAsB,kDAIhC;IACJ,OAAc,oBAAoB,kDAI9B;IACJ,OAAc,+BAA+B,kDAIzC;IACJ,OAAc,6BAA6B,kDAIvC;IACJ,OAAc,8BAA8B,kDAIxC;IACJ,OAAc,4BAA4B,kDAItC;IAEJ,OAAO;IAQA,QAAQ,QAAO,MAAM,CAE1B;CACH"}
@@ -16,7 +16,10 @@ class LocalizationServiceMultiTenantMessagingSettings extends mosaic_message_bus
16
16
  LocalizationServiceMultiTenantMessagingSettings.DeclareEntityDefinition = new LocalizationServiceMultiTenantMessagingSettings('DeclareEntityDefinition', 'entity_definition:declare', '*.*.entity_definition.declare');
17
17
  LocalizationServiceMultiTenantMessagingSettings.DeleteEntityDefinition = new LocalizationServiceMultiTenantMessagingSettings('DeleteEntityDefinition', 'entity_definition:delete', '*.*.entity_definition.delete');
18
18
  LocalizationServiceMultiTenantMessagingSettings.UpsertLocalizationSourceEntity = new LocalizationServiceMultiTenantMessagingSettings('UpsertLocalizationSourceEntity', 'localization_source_entity:upsert', '*.*.localization_source_entity.upsert');
19
+ LocalizationServiceMultiTenantMessagingSettings.LocalizeEntity = new LocalizationServiceMultiTenantMessagingSettings('LocalizeEntity', 'entity:localize', '*.*.entity.localize');
19
20
  LocalizationServiceMultiTenantMessagingSettings.DeleteLocalizationSourceEntity = new LocalizationServiceMultiTenantMessagingSettings('DeleteLocalizationSourceEntity', 'localization_source_entity:delete', '*.*.localization_source_entity.delete');
21
+ LocalizationServiceMultiTenantMessagingSettings.LocalizeEntityFinished = new LocalizationServiceMultiTenantMessagingSettings('LocalizeEntityFinished', 'entity:localize_finished', '*.*.entity.localize_finished');
22
+ LocalizationServiceMultiTenantMessagingSettings.LocalizeEntityFailed = new LocalizationServiceMultiTenantMessagingSettings('LocalizeEntityFailed', 'entity:localize_failed', '*.*.entity.localize_failed');
20
23
  LocalizationServiceMultiTenantMessagingSettings.EntityDefinitionDeclareFinished = new LocalizationServiceMultiTenantMessagingSettings('EntityDefinitionDeclareFinished', 'entity_definition:declare_finished', '*.*.entity_definition.declare_finished');
21
24
  LocalizationServiceMultiTenantMessagingSettings.EntityDefinitionDeclareFailed = new LocalizationServiceMultiTenantMessagingSettings('EntityDefinitionDeclareFailed', 'entity_definition:declare_failed', '*.*.entity_definition.declare_failed');
22
25
  LocalizationServiceMultiTenantMessagingSettings.EntityDefinitionDeleteFinished = new LocalizationServiceMultiTenantMessagingSettings('EntityDefinitionDeleteFinished', 'entity_definition:delete_finished', '*.*.entity_definition.delete_finished');
@@ -1 +1 @@
1
- {"version":3,"file":"localization-service-multi-tenant-messaging-settings.js","sourceRoot":"","sources":["../../../../../src/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.ts"],"names":[],"mappings":";;;AAAA,6FAAuF;AAEvF,MAAa,+CAAgD,SAAQ,8DAA4B;IA0C/F,YACkB,WAAmB,EACnB,KAAa,EACb,UAAkB;QAElC,KAAK,CAAC,yBAAyB,EAAE,WAAW,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC;QAJjD,gBAAW,GAAX,WAAW,CAAQ;QACnB,UAAK,GAAL,KAAK,CAAQ;QACb,eAAU,GAAV,UAAU,CAAQ;QAK7B,aAAQ,GAAG,GAAW,EAAE;YAC7B,OAAO,IAAI,CAAC,WAAW,CAAC;QAC1B,CAAC,CAAC;IAJF,CAAC;;AA/Ca,uEAAuB,GAAG,IAAI,+CAA+C,CACzF,yBAAyB,EACzB,2BAA2B,EAC3B,+BAA+B,CAC9B,AAJkC,CAIjC;AACU,sEAAsB,GAAG,IAAI,+CAA+C,CACxF,wBAAwB,EACxB,0BAA0B,EAC1B,8BAA8B,CAC7B,AAJiC,CAIhC;AACU,8EAA8B,GAAG,IAAI,+CAA+C,CAChG,gCAAgC,EAChC,mCAAmC,EACnC,uCAAuC,CACtC,AAJyC,CAIxC;AACU,8EAA8B,GAAG,IAAI,+CAA+C,CAChG,gCAAgC,EAChC,mCAAmC,EACnC,uCAAuC,CACtC,AAJyC,CAIxC;AACU,+EAA+B,GAAG,IAAI,+CAA+C,CACjG,iCAAiC,EACjC,oCAAoC,EACpC,wCAAwC,CACvC,AAJ0C,CAIzC;AACU,6EAA6B,GAAG,IAAI,+CAA+C,CAC/F,+BAA+B,EAC/B,kCAAkC,EAClC,sCAAsC,CACrC,AAJwC,CAIvC;AACU,8EAA8B,GAAG,IAAI,+CAA+C,CAChG,gCAAgC,EAChC,mCAAmC,EACnC,uCAAuC,CACtC,AAJyC,CAIxC;AACU,4EAA4B,GAAG,IAAI,+CAA+C,CAC9F,8BAA8B,EAC9B,iCAAiC,EACjC,qCAAqC,CACpC,AAJuC,CAItC;AAxCO,0GAA+C"}
1
+ {"version":3,"file":"localization-service-multi-tenant-messaging-settings.js","sourceRoot":"","sources":["../../../../../src/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.ts"],"names":[],"mappings":";;;AAAA,6FAAuF;AAEvF,MAAa,+CAAgD,SAAQ,8DAA4B;IAyD/F,YACkB,WAAmB,EACnB,KAAa,EACb,UAAkB;QAElC,KAAK,CAAC,yBAAyB,EAAE,WAAW,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC;QAJjD,gBAAW,GAAX,WAAW,CAAQ;QACnB,UAAK,GAAL,KAAK,CAAQ;QACb,eAAU,GAAV,UAAU,CAAQ;QAK7B,aAAQ,GAAG,GAAW,EAAE;YAC7B,OAAO,IAAI,CAAC,WAAW,CAAC;QAC1B,CAAC,CAAC;IAJF,CAAC;;AA9Da,uEAAuB,GAAG,IAAI,+CAA+C,CACzF,yBAAyB,EACzB,2BAA2B,EAC3B,+BAA+B,CAC9B,AAJkC,CAIjC;AACU,sEAAsB,GAAG,IAAI,+CAA+C,CACxF,wBAAwB,EACxB,0BAA0B,EAC1B,8BAA8B,CAC7B,AAJiC,CAIhC;AACU,8EAA8B,GAAG,IAAI,+CAA+C,CAChG,gCAAgC,EAChC,mCAAmC,EACnC,uCAAuC,CACtC,AAJyC,CAIxC;AACU,8DAAc,GAAG,IAAI,+CAA+C,CAChF,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,CACpB,AAJyB,CAIxB;AACU,8EAA8B,GAAG,IAAI,+CAA+C,CAChG,gCAAgC,EAChC,mCAAmC,EACnC,uCAAuC,CACtC,AAJyC,CAIxC;AACU,sEAAsB,GAAG,IAAI,+CAA+C,CACxF,wBAAwB,EACxB,0BAA0B,EAC1B,8BAA8B,CAC7B,AAJiC,CAIhC;AACU,oEAAoB,GAAG,IAAI,+CAA+C,CACtF,sBAAsB,EACtB,wBAAwB,EACxB,4BAA4B,CAC3B,AAJ+B,CAI9B;AACU,+EAA+B,GAAG,IAAI,+CAA+C,CACjG,iCAAiC,EACjC,oCAAoC,EACpC,wCAAwC,CACvC,AAJ0C,CAIzC;AACU,6EAA6B,GAAG,IAAI,+CAA+C,CAC/F,+BAA+B,EAC/B,kCAAkC,EAClC,sCAAsC,CACrC,AAJwC,CAIvC;AACU,8EAA8B,GAAG,IAAI,+CAA+C,CAChG,gCAAgC,EAChC,mCAAmC,EACnC,uCAAuC,CACtC,AAJyC,CAIxC;AACU,4EAA4B,GAAG,IAAI,+CAA+C,CAC9F,8BAA8B,EAC9B,iCAAiC,EACjC,qCAAqC,CACpC,AAJuC,CAItC;AAvDO,0GAA+C"}
@@ -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"}