@axinom/mosaic-messages 0.41.0-rc.0 → 0.41.0-rc.10

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 (68) hide show
  1. package/dist/generated/config/payloads/hosting/hosting-service-multi-tenant-messaging-settings.d.ts +1 -0
  2. package/dist/generated/config/payloads/hosting/hosting-service-multi-tenant-messaging-settings.d.ts.map +1 -1
  3. package/dist/generated/config/payloads/hosting/hosting-service-multi-tenant-messaging-settings.js +1 -0
  4. package/dist/generated/config/payloads/hosting/hosting-service-multi-tenant-messaging-settings.js.map +1 -1
  5. package/dist/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.d.ts +2 -0
  6. package/dist/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.d.ts.map +1 -1
  7. package/dist/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.js +2 -0
  8. package/dist/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.js.map +1 -1
  9. package/dist/generated/schemas/payloads/hosting/events/index.d.ts +41 -0
  10. package/dist/generated/schemas/payloads/hosting/events/index.d.ts.map +1 -1
  11. package/dist/generated/schemas/payloads/hosting/events/index.js +3 -1
  12. package/dist/generated/schemas/payloads/hosting/events/index.js.map +1 -1
  13. package/dist/generated/schemas/payloads/hosting/events/object-storage-credentials-regenerated-event.json +49 -0
  14. package/dist/generated/schemas/payloads/localization/events/delete-localization-source-entity-failed-event.json +37 -0
  15. package/dist/generated/schemas/payloads/localization/events/delete-localization-source-entity-finished-event.json +32 -0
  16. package/dist/generated/schemas/payloads/localization/events/index.d.ts +60 -0
  17. package/dist/generated/schemas/payloads/localization/events/index.d.ts.map +1 -1
  18. package/dist/generated/schemas/payloads/localization/events/index.js +5 -1
  19. package/dist/generated/schemas/payloads/localization/events/index.js.map +1 -1
  20. package/dist/generated/schemas/payloads/localization/events/upsert-localization-source-entity-failed-event.json +1 -1
  21. package/dist/generated/schemas/payloads/sdu/commands/index.d.ts +18 -0
  22. package/dist/generated/schemas/payloads/sdu/commands/index.d.ts.map +1 -1
  23. package/dist/generated/schemas/payloads/sdu/commands/sdu-service-deployment-deploy-command.json +9 -0
  24. package/dist/generated/schemas/payloads/sdu/commands/sdu-service-deployment-undeploy-command.json +9 -0
  25. package/dist/generated/types/payloads/hosting/events/index.d.ts +3 -0
  26. package/dist/generated/types/payloads/hosting/events/index.d.ts.map +1 -1
  27. package/dist/generated/types/payloads/hosting/events/index.js +3 -0
  28. package/dist/generated/types/payloads/hosting/events/index.js.map +1 -1
  29. package/dist/generated/types/payloads/hosting/events/object-storage-credentials-regenerated-event.d.ts +27 -0
  30. package/dist/generated/types/payloads/hosting/events/object-storage-credentials-regenerated-event.d.ts.map +1 -0
  31. package/dist/generated/types/payloads/hosting/events/object-storage-credentials-regenerated-event.js +3 -0
  32. package/dist/generated/types/payloads/hosting/events/object-storage-credentials-regenerated-event.js.map +1 -0
  33. package/dist/generated/types/payloads/localization/events/delete-localization-source-entity-failed-event.d.ts +22 -0
  34. package/dist/generated/types/payloads/localization/events/delete-localization-source-entity-failed-event.d.ts.map +1 -0
  35. package/dist/generated/types/payloads/localization/events/delete-localization-source-entity-failed-event.js +3 -0
  36. package/dist/generated/types/payloads/localization/events/delete-localization-source-entity-failed-event.js.map +1 -0
  37. package/dist/generated/types/payloads/localization/events/delete-localization-source-entity-finished-event.d.ts +18 -0
  38. package/dist/generated/types/payloads/localization/events/delete-localization-source-entity-finished-event.d.ts.map +1 -0
  39. package/dist/generated/types/payloads/localization/events/delete-localization-source-entity-finished-event.js +3 -0
  40. package/dist/generated/types/payloads/localization/events/delete-localization-source-entity-finished-event.js.map +1 -0
  41. package/dist/generated/types/payloads/localization/events/index.d.ts +6 -0
  42. package/dist/generated/types/payloads/localization/events/index.d.ts.map +1 -1
  43. package/dist/generated/types/payloads/localization/events/index.js +6 -0
  44. package/dist/generated/types/payloads/localization/events/index.js.map +1 -1
  45. package/dist/generated/types/payloads/localization/events/upsert-localization-source-entity-failed-event.d.ts +1 -1
  46. package/dist/generated/types/payloads/sdu/commands/sdu-service-deployment-undeploy-command.d.ts +6 -0
  47. package/dist/generated/types/payloads/sdu/commands/sdu-service-deployment-undeploy-command.d.ts.map +1 -1
  48. package/dist/generated/types/payloads/sdu/types/k8s-config.d.ts +6 -0
  49. package/dist/generated/types/payloads/sdu/types/k8s-config.d.ts.map +1 -1
  50. package/package.json +4 -4
  51. package/src/generated/config/payloads/hosting/hosting-service-multi-tenant-messaging-settings.ts +7 -0
  52. package/src/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.ts +14 -0
  53. package/src/generated/schemas/payloads/hosting/events/index.ts +2 -0
  54. package/src/generated/schemas/payloads/hosting/events/object-storage-credentials-regenerated-event.json +49 -0
  55. package/src/generated/schemas/payloads/localization/events/delete-localization-source-entity-failed-event.json +37 -0
  56. package/src/generated/schemas/payloads/localization/events/delete-localization-source-entity-finished-event.json +32 -0
  57. package/src/generated/schemas/payloads/localization/events/index.ts +4 -0
  58. package/src/generated/schemas/payloads/localization/events/upsert-localization-source-entity-failed-event.json +1 -1
  59. package/src/generated/schemas/payloads/sdu/commands/sdu-service-deployment-deploy-command.json +9 -0
  60. package/src/generated/schemas/payloads/sdu/commands/sdu-service-deployment-undeploy-command.json +9 -0
  61. package/src/generated/types/payloads/hosting/events/index.ts +3 -0
  62. package/src/generated/types/payloads/hosting/events/object-storage-credentials-regenerated-event.ts +26 -0
  63. package/src/generated/types/payloads/localization/events/delete-localization-source-entity-failed-event.ts +21 -0
  64. package/src/generated/types/payloads/localization/events/delete-localization-source-entity-finished-event.ts +17 -0
  65. package/src/generated/types/payloads/localization/events/index.ts +6 -0
  66. package/src/generated/types/payloads/localization/events/upsert-localization-source-entity-failed-event.ts +1 -1
  67. package/src/generated/types/payloads/sdu/commands/sdu-service-deployment-undeploy-command.ts +4 -0
  68. package/src/generated/types/payloads/sdu/types/k8s-config.ts +4 -0
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Delete localization source entity finished event schema. This event will only be sent if the delete localization source entity command has a message_context with at least one property.
3
+ */
4
+ export interface DeleteLocalizationSourceEntityFinishedEvent {
5
+ /**
6
+ * The string has a minimum length of one character and it cannot consist of only whitespace characters.
7
+ */
8
+ service_id: string;
9
+ /**
10
+ * The string has a minimum length of one character and it cannot consist of only whitespace characters.
11
+ */
12
+ entity_type: string;
13
+ /**
14
+ * The string has a minimum length of one character and it cannot consist of only whitespace characters.
15
+ */
16
+ entity_id: string;
17
+ }
18
+ //# sourceMappingURL=delete-localization-source-entity-finished-event.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-localization-source-entity-finished-event.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/events/delete-localization-source-entity-finished-event.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,2CAA2C;IAC1D;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=delete-localization-source-entity-finished-event.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-localization-source-entity-finished-event.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/events/delete-localization-source-entity-finished-event.ts"],"names":[],"mappings":""}
@@ -1,3 +1,5 @@
1
+ export * from './delete-localization-source-entity-failed-event';
2
+ export * from './delete-localization-source-entity-finished-event';
1
3
  export * from './entity-definition-declare-failed-event';
2
4
  export * from './entity-definition-declare-finished-event';
3
5
  export * from './entity-definition-delete-failed-event';
@@ -11,6 +13,8 @@ export * from './localize-entity-finished-event';
11
13
  export * from './upsert-localization-source-entity-failed-event';
12
14
  export * from './upsert-localization-source-entity-finished-event';
13
15
  export declare enum LocalizationEventsSchemas {
16
+ DeleteLocalizationSourceEntityFailedEvent = "payloads/localization/events/delete-localization-source-entity-failed-event.json",
17
+ DeleteLocalizationSourceEntityFinishedEvent = "payloads/localization/events/delete-localization-source-entity-finished-event.json",
14
18
  EntityDefinitionDeclareFailedEvent = "payloads/localization/events/entity-definition-declare-failed-event.json",
15
19
  EntityDefinitionDeclareFinishedEvent = "payloads/localization/events/entity-definition-declare-finished-event.json",
16
20
  EntityDefinitionDeleteFailedEvent = "payloads/localization/events/entity-definition-delete-failed-event.json",
@@ -25,6 +29,8 @@ export declare enum LocalizationEventsSchemas {
25
29
  UpsertLocalizationSourceEntityFinishedEvent = "payloads/localization/events/upsert-localization-source-entity-finished-event.json"
26
30
  }
27
31
  export declare enum LocalizationEventsTypes {
32
+ DeleteLocalizationSourceEntityFailedEvent = "DeleteLocalizationSourceEntityFailedEvent",
33
+ DeleteLocalizationSourceEntityFinishedEvent = "DeleteLocalizationSourceEntityFinishedEvent",
28
34
  EntityDefinitionDeclareFailedEvent = "EntityDefinitionDeclareFailedEvent",
29
35
  EntityDefinitionDeclareFinishedEvent = "EntityDefinitionDeclareFinishedEvent",
30
36
  EntityDefinitionDeleteFailedEvent = "EntityDefinitionDeleteFailedEvent",
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/events/index.ts"],"names":[],"mappings":"AAAA,cAAc,0CAA0C,CAAC;AACzD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,kDAAkD,CAAC;AACjE,cAAc,oDAAoD,CAAC;AAEnE,oBAAY,yBAAyB;IACnC,kCAAkC,6EAA6E;IAC/G,oCAAoC,+EAA+E;IACnH,iCAAiC,4EAA4E;IAC7G,mCAAmC,8EAA8E;IACjH,qCAAqC,gFAAgF;IACrH,uCAAuC,kFAAkF;IACzH,oCAAoC,+EAA+E;IACnH,sCAAsC,iFAAiF;IACvH,yBAAyB,mEAAmE;IAC5F,2BAA2B,qEAAqE;IAChG,yCAAyC,qFAAqF;IAC9H,2CAA2C,uFAAuF;CACnI;AAED,oBAAY,uBAAuB;IACjC,kCAAkC,uCAAuC;IACzE,oCAAoC,yCAAyC;IAC7E,iCAAiC,sCAAsC;IACvE,mCAAmC,wCAAwC;IAC3E,qCAAqC,0CAA0C;IAC/E,uCAAuC,4CAA4C;IACnF,oCAAoC,yCAAyC;IAC7E,sCAAsC,2CAA2C;IACjF,yBAAyB,8BAA8B;IACvD,2BAA2B,gCAAgC;IAC3D,yCAAyC,8CAA8C;IACvF,2CAA2C,gDAAgD;CAC5F"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/events/index.ts"],"names":[],"mappings":"AAAA,cAAc,kDAAkD,CAAC;AACjE,cAAc,oDAAoD,CAAC;AACnE,cAAc,0CAA0C,CAAC;AACzD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,kDAAkD,CAAC;AACjE,cAAc,oDAAoD,CAAC;AAEnE,oBAAY,yBAAyB;IACnC,yCAAyC,qFAAqF;IAC9H,2CAA2C,uFAAuF;IAClI,kCAAkC,6EAA6E;IAC/G,oCAAoC,+EAA+E;IACnH,iCAAiC,4EAA4E;IAC7G,mCAAmC,8EAA8E;IACjH,qCAAqC,gFAAgF;IACrH,uCAAuC,kFAAkF;IACzH,oCAAoC,+EAA+E;IACnH,sCAAsC,iFAAiF;IACvH,yBAAyB,mEAAmE;IAC5F,2BAA2B,qEAAqE;IAChG,yCAAyC,qFAAqF;IAC9H,2CAA2C,uFAAuF;CACnI;AAED,oBAAY,uBAAuB;IACjC,yCAAyC,8CAA8C;IACvF,2CAA2C,gDAAgD;IAC3F,kCAAkC,uCAAuC;IACzE,oCAAoC,yCAAyC;IAC7E,iCAAiC,sCAAsC;IACvE,mCAAmC,wCAAwC;IAC3E,qCAAqC,0CAA0C;IAC/E,uCAAuC,4CAA4C;IACnF,oCAAoC,yCAAyC;IAC7E,sCAAsC,2CAA2C;IACjF,yBAAyB,8BAA8B;IACvD,2BAA2B,gCAAgC;IAC3D,yCAAyC,8CAA8C;IACvF,2CAA2C,gDAAgD;CAC5F"}
@@ -15,6 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  exports.LocalizationEventsTypes = exports.LocalizationEventsSchemas = void 0;
18
+ __exportStar(require("./delete-localization-source-entity-failed-event"), exports);
19
+ __exportStar(require("./delete-localization-source-entity-finished-event"), exports);
18
20
  __exportStar(require("./entity-definition-declare-failed-event"), exports);
19
21
  __exportStar(require("./entity-definition-declare-finished-event"), exports);
20
22
  __exportStar(require("./entity-definition-delete-failed-event"), exports);
@@ -29,6 +31,8 @@ __exportStar(require("./upsert-localization-source-entity-failed-event"), export
29
31
  __exportStar(require("./upsert-localization-source-entity-finished-event"), exports);
30
32
  var LocalizationEventsSchemas;
31
33
  (function (LocalizationEventsSchemas) {
34
+ LocalizationEventsSchemas["DeleteLocalizationSourceEntityFailedEvent"] = "payloads/localization/events/delete-localization-source-entity-failed-event.json";
35
+ LocalizationEventsSchemas["DeleteLocalizationSourceEntityFinishedEvent"] = "payloads/localization/events/delete-localization-source-entity-finished-event.json";
32
36
  LocalizationEventsSchemas["EntityDefinitionDeclareFailedEvent"] = "payloads/localization/events/entity-definition-declare-failed-event.json";
33
37
  LocalizationEventsSchemas["EntityDefinitionDeclareFinishedEvent"] = "payloads/localization/events/entity-definition-declare-finished-event.json";
34
38
  LocalizationEventsSchemas["EntityDefinitionDeleteFailedEvent"] = "payloads/localization/events/entity-definition-delete-failed-event.json";
@@ -44,6 +48,8 @@ var LocalizationEventsSchemas;
44
48
  })(LocalizationEventsSchemas = exports.LocalizationEventsSchemas || (exports.LocalizationEventsSchemas = {}));
45
49
  var LocalizationEventsTypes;
46
50
  (function (LocalizationEventsTypes) {
51
+ LocalizationEventsTypes["DeleteLocalizationSourceEntityFailedEvent"] = "DeleteLocalizationSourceEntityFailedEvent";
52
+ LocalizationEventsTypes["DeleteLocalizationSourceEntityFinishedEvent"] = "DeleteLocalizationSourceEntityFinishedEvent";
47
53
  LocalizationEventsTypes["EntityDefinitionDeclareFailedEvent"] = "EntityDefinitionDeclareFailedEvent";
48
54
  LocalizationEventsTypes["EntityDefinitionDeclareFinishedEvent"] = "EntityDefinitionDeclareFinishedEvent";
49
55
  LocalizationEventsTypes["EntityDefinitionDeleteFailedEvent"] = "EntityDefinitionDeleteFailedEvent";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2EAAyD;AACzD,6EAA2D;AAC3D,0EAAwD;AACxD,4EAA0D;AAC1D,8EAA4D;AAC5D,gFAA8D;AAC9D,6EAA2D;AAC3D,+EAA6D;AAC7D,iEAA+C;AAC/C,mEAAiD;AACjD,mFAAiE;AACjE,qFAAmE;AAEnE,IAAY,yBAaX;AAbD,WAAY,yBAAyB;IACnC,4IAA+G,CAAA;IAC/G,gJAAmH,CAAA;IACnH,0IAA6G,CAAA;IAC7G,8IAAiH,CAAA;IACjH,kJAAqH,CAAA;IACrH,sJAAyH,CAAA;IACzH,gJAAmH,CAAA;IACnH,oJAAuH,CAAA;IACvH,yHAA4F,CAAA;IAC5F,6HAAgG,CAAA;IAChG,2JAA8H,CAAA;IAC9H,+JAAkI,CAAA;AACpI,CAAC,EAbW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAapC;AAED,IAAY,uBAaX;AAbD,WAAY,uBAAuB;IACjC,oGAAyE,CAAA;IACzE,wGAA6E,CAAA;IAC7E,kGAAuE,CAAA;IACvE,sGAA2E,CAAA;IAC3E,0GAA+E,CAAA;IAC/E,8GAAmF,CAAA;IACnF,wGAA6E,CAAA;IAC7E,4GAAiF,CAAA;IACjF,kFAAuD,CAAA;IACvD,sFAA2D,CAAA;IAC3D,kHAAuF,CAAA;IACvF,sHAA2F,CAAA;AAC7F,CAAC,EAbW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAalC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,mFAAiE;AACjE,qFAAmE;AACnE,2EAAyD;AACzD,6EAA2D;AAC3D,0EAAwD;AACxD,4EAA0D;AAC1D,8EAA4D;AAC5D,gFAA8D;AAC9D,6EAA2D;AAC3D,+EAA6D;AAC7D,iEAA+C;AAC/C,mEAAiD;AACjD,mFAAiE;AACjE,qFAAmE;AAEnE,IAAY,yBAeX;AAfD,WAAY,yBAAyB;IACnC,2JAA8H,CAAA;IAC9H,+JAAkI,CAAA;IAClI,4IAA+G,CAAA;IAC/G,gJAAmH,CAAA;IACnH,0IAA6G,CAAA;IAC7G,8IAAiH,CAAA;IACjH,kJAAqH,CAAA;IACrH,sJAAyH,CAAA;IACzH,gJAAmH,CAAA;IACnH,oJAAuH,CAAA;IACvH,yHAA4F,CAAA;IAC5F,6HAAgG,CAAA;IAChG,2JAA8H,CAAA;IAC9H,+JAAkI,CAAA;AACpI,CAAC,EAfW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAepC;AAED,IAAY,uBAeX;AAfD,WAAY,uBAAuB;IACjC,kHAAuF,CAAA;IACvF,sHAA2F,CAAA;IAC3F,oGAAyE,CAAA;IACzE,wGAA6E,CAAA;IAC7E,kGAAuE,CAAA;IACvE,sGAA2E,CAAA;IAC3E,0GAA+E,CAAA;IAC/E,8GAAmF,CAAA;IACnF,wGAA6E,CAAA;IAC7E,4GAAiF,CAAA;IACjF,kFAAuD,CAAA;IACvD,sFAA2D,CAAA;IAC3D,kHAAuF,CAAA;IACvF,sHAA2F,CAAA;AAC7F,CAAC,EAfW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAelC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Upsert localization source entity failed event schema. This event will only be sent if the upsert localization source entity command has a message_context with at least one property.
2
+ * Upsert localization source entity failed event schema.
3
3
  */
4
4
  export interface UpsertLocalizationSourceEntityFailedEvent {
5
5
  /**
@@ -26,5 +26,11 @@ export interface SduServiceDeploymentUndeployCommand {
26
26
  * A human readable ID for the service (i.e. media-service)
27
27
  */
28
28
  service_id: string;
29
+ /**
30
+ * An array of custom object definitions that needs to be cleaned-up with the service deployment
31
+ */
32
+ custom_object_definitions?: {
33
+ [name: string]: unknown;
34
+ }[];
29
35
  }
30
36
  //# sourceMappingURL=sdu-service-deployment-undeploy-command.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sdu-service-deployment-undeploy-command.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/sdu/commands/sdu-service-deployment-undeploy-command.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAClD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB"}
1
+ {"version":3,"file":"sdu-service-deployment-undeploy-command.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/sdu/commands/sdu-service-deployment-undeploy-command.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAClD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,yBAAyB,CAAC,EAAE;QAAE,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,EAAE,CAAC;CAC3D"}
@@ -28,5 +28,11 @@ export interface K8sConfig {
28
28
  * Resource requests and limits object to specify CPU and Memory constraints for a pod
29
29
  */
30
30
  resource_limits?: K8sResourceConfig;
31
+ /**
32
+ * An array of custom object definitions to be created along with the service deployment
33
+ */
34
+ custom_object_definitions?: {
35
+ [name: string]: unknown;
36
+ }[];
31
37
  }
32
38
  //# sourceMappingURL=k8s-config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"k8s-config.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/sdu/types/k8s-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,kBAAkB,EAAE,eAAe,EAAE,CAAC;IACtC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC;;OAEG;IACH,eAAe,CAAC,EAAE,iBAAiB,CAAC;CACrC"}
1
+ {"version":3,"file":"k8s-config.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/sdu/types/k8s-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,kBAAkB,EAAE,eAAe,EAAE,CAAC;IACtC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC;;OAEG;IACH,eAAe,CAAC,EAAE,iBAAiB,CAAC;IACpC;;OAEG;IACH,yBAAyB,CAAC,EAAE;QAAE,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,EAAE,CAAC;CAC3D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axinom/mosaic-messages",
3
- "version": "0.41.0-rc.0",
3
+ "version": "0.41.0-rc.10",
4
4
  "description": "Shared types for Axinom Mosaic service messages",
5
5
  "author": "Axinom",
6
6
  "license": "PROPRIETARY",
@@ -29,8 +29,8 @@
29
29
  "dev": "concurrently --names \"codegen,tsc\" \"yarn codegen:watch\" \"yarn build:compile:watch\""
30
30
  },
31
31
  "devDependencies": {
32
- "@axinom/mosaic-cli": "^0.31.0-rc.0",
33
- "@axinom/mosaic-message-bus-abstractions": "^0.12.0-rc.0",
32
+ "@axinom/mosaic-cli": "^0.31.0-rc.10",
33
+ "@axinom/mosaic-message-bus-abstractions": "^0.12.0-rc.10",
34
34
  "@types/glob": "^7.1.3",
35
35
  "@types/node": "^18.11.18",
36
36
  "concurrently": "^5.3.0",
@@ -43,5 +43,5 @@
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
46
- "gitHead": "97186130fc2fff657d19b852d6d116d032a4344d"
46
+ "gitHead": "000d8df0cfce2adb29cb1ab63572d1b15f38826c"
47
47
  }
@@ -8,6 +8,13 @@ export class HostingServiceMultiTenantMessagingSettings extends MultiTenantMessa
8
8
  'event',
9
9
  'object-storage'
10
10
  );
11
+ public static ObjectStorageCredentialsRegenerated = new HostingServiceMultiTenantMessagingSettings(
12
+ 'ObjectStorageCredentialsRegenerated',
13
+ 'object_storage:credentials_regenerated',
14
+ '*.*.object_storage.credentials_regenerated',
15
+ 'event',
16
+ 'object-storage'
17
+ );
11
18
 
12
19
  private constructor(
13
20
  messageType: string,
@@ -64,6 +64,20 @@ export class LocalizationServiceMultiTenantMessagingSettings extends MultiTenant
64
64
  'event',
65
65
  'localization-source-entity'
66
66
  );
67
+ public static DeleteLocalizationSourceEntityFinished = new LocalizationServiceMultiTenantMessagingSettings(
68
+ 'DeleteLocalizationSourceEntityFinished',
69
+ 'localization_source_entity:delete_finished',
70
+ '*.*.localization_source_entity.delete_finished',
71
+ 'event',
72
+ 'localization-source-entity'
73
+ );
74
+ public static DeleteLocalizationSourceEntityFailed = new LocalizationServiceMultiTenantMessagingSettings(
75
+ 'DeleteLocalizationSourceEntityFailed',
76
+ 'localization_source_entity:delete_failed',
77
+ '*.*.localization_source_entity.delete_failed',
78
+ 'event',
79
+ 'localization-source-entity'
80
+ );
67
81
  public static EntityDefinitionDeclareFinished = new LocalizationServiceMultiTenantMessagingSettings(
68
82
  'EntityDefinitionDeclareFinished',
69
83
  'entity_definition:declare_finished',
@@ -2,10 +2,12 @@ import * as HostingServiceDisableFailedEvent from './hosting-service-disable-fai
2
2
  import * as HostingServiceDisableFinishedEvent from './hosting-service-disable-finished-event.json';
3
3
  import * as HostingServiceEnableFailedEvent from './hosting-service-enable-failed-event.json';
4
4
  import * as HostingServiceEnableFinishedEvent from './hosting-service-enable-finished-event.json';
5
+ import * as ObjectStorageCredentialsRegeneratedEvent from './object-storage-credentials-regenerated-event.json';
5
6
  import * as ObjectStorageDeletedEvent from './object-storage-deleted-event.json';
6
7
 
7
8
  export const HostingServiceDisableFailedEventSchema = HostingServiceDisableFailedEvent;
8
9
  export const HostingServiceDisableFinishedEventSchema = HostingServiceDisableFinishedEvent;
9
10
  export const HostingServiceEnableFailedEventSchema = HostingServiceEnableFailedEvent;
10
11
  export const HostingServiceEnableFinishedEventSchema = HostingServiceEnableFinishedEvent;
12
+ export const ObjectStorageCredentialsRegeneratedEventSchema = ObjectStorageCredentialsRegeneratedEvent;
11
13
  export const ObjectStorageDeletedEventSchema = ObjectStorageDeletedEvent;
@@ -0,0 +1,49 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "object_storage_credentials_regenerated_event",
5
+ "description": "Object Storage Credentials Regenerated event schema",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "tenant_id",
9
+ "environment_id",
10
+ "object_storage_id",
11
+ "object_storage_name",
12
+ "provider_type"
13
+ ],
14
+ "properties": {
15
+ "tenant_id": {
16
+ "type": "string",
17
+ "minLength": 32,
18
+ "maxLength": 36,
19
+ "format": "uuid",
20
+ "description": "A UUID."
21
+ },
22
+ "environment_id": {
23
+ "type": "string",
24
+ "minLength": 32,
25
+ "maxLength": 36,
26
+ "format": "uuid",
27
+ "description": "A UUID."
28
+ },
29
+ "object_storage_id": {
30
+ "type": "string",
31
+ "minLength": 32,
32
+ "maxLength": 36,
33
+ "format": "uuid",
34
+ "description": "A UUID."
35
+ },
36
+ "object_storage_name": {
37
+ "type": "string",
38
+ "description": "Object Storage name."
39
+ },
40
+ "provider_type": {
41
+ "type": "string",
42
+ "title": "provider_type",
43
+ "enum": [
44
+ "AZURE"
45
+ ],
46
+ "description": "Provider type of the Object Storage"
47
+ }
48
+ }
49
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "delete_localization_source_entity_failed_event",
5
+ "description": "Delete localization source 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 the reason for the command processing failure."
35
+ }
36
+ }
37
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "delete_localization_source_entity_finished_event",
5
+ "description": "Delete localization source entity finished event schema. This event will only be sent if the delete localization source entity command has a message_context with at least one property.",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "service_id",
9
+ "entity_type",
10
+ "entity_id"
11
+ ],
12
+ "properties": {
13
+ "service_id": {
14
+ "type": "string",
15
+ "minLength": 1,
16
+ "pattern": "^$|.*\\S.*",
17
+ "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
18
+ },
19
+ "entity_type": {
20
+ "type": "string",
21
+ "minLength": 1,
22
+ "pattern": "^$|.*\\S.*",
23
+ "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
24
+ },
25
+ "entity_id": {
26
+ "type": "string",
27
+ "minLength": 1,
28
+ "pattern": "^$|.*\\S.*",
29
+ "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
30
+ }
31
+ }
32
+ }
@@ -1,3 +1,5 @@
1
+ import * as DeleteLocalizationSourceEntityFailedEvent from './delete-localization-source-entity-failed-event.json';
2
+ import * as DeleteLocalizationSourceEntityFinishedEvent from './delete-localization-source-entity-finished-event.json';
1
3
  import * as EntityDefinitionDeclareFailedEvent from './entity-definition-declare-failed-event.json';
2
4
  import * as EntityDefinitionDeclareFinishedEvent from './entity-definition-declare-finished-event.json';
3
5
  import * as EntityDefinitionDeleteFailedEvent from './entity-definition-delete-failed-event.json';
@@ -11,6 +13,8 @@ import * as LocalizeEntityFinishedEvent from './localize-entity-finished-event.j
11
13
  import * as UpsertLocalizationSourceEntityFailedEvent from './upsert-localization-source-entity-failed-event.json';
12
14
  import * as UpsertLocalizationSourceEntityFinishedEvent from './upsert-localization-source-entity-finished-event.json';
13
15
 
16
+ export const DeleteLocalizationSourceEntityFailedEventSchema = DeleteLocalizationSourceEntityFailedEvent;
17
+ export const DeleteLocalizationSourceEntityFinishedEventSchema = DeleteLocalizationSourceEntityFinishedEvent;
14
18
  export const EntityDefinitionDeclareFailedEventSchema = EntityDefinitionDeclareFailedEvent;
15
19
  export const EntityDefinitionDeclareFinishedEventSchema = EntityDefinitionDeclareFinishedEvent;
16
20
  export const EntityDefinitionDeleteFailedEventSchema = EntityDefinitionDeleteFailedEvent;
@@ -2,7 +2,7 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "type": "object",
4
4
  "title": "upsert_localization_source_entity_failed_event",
5
- "description": "Upsert localization source entity failed event schema. This event will only be sent if the upsert localization source entity command has a message_context with at least one property.",
5
+ "description": "Upsert localization source entity failed event schema.",
6
6
  "additionalProperties": false,
7
7
  "required": [
8
8
  "service_id",
@@ -169,6 +169,15 @@
169
169
  "description": "Memory size"
170
170
  }
171
171
  }
172
+ },
173
+ "custom_object_definitions": {
174
+ "type": "array",
175
+ "additionalItems": false,
176
+ "description": "An array of custom object definitions to be created along with the service deployment",
177
+ "items": {
178
+ "type": "object",
179
+ "description": "A custom object definition to be created"
180
+ }
172
181
  }
173
182
  }
174
183
  }
@@ -51,6 +51,15 @@
51
51
  "service_id": {
52
52
  "type": "string",
53
53
  "description": "A human readable ID for the service (i.e. media-service)"
54
+ },
55
+ "custom_object_definitions": {
56
+ "type": "array",
57
+ "additionalItems": false,
58
+ "description": "An array of custom object definitions that needs to be cleaned-up with the service deployment",
59
+ "items": {
60
+ "type": "object",
61
+ "description": "A custom object definition to be deleted"
62
+ }
54
63
  }
55
64
  }
56
65
  }
@@ -2,6 +2,7 @@ export * from './hosting-service-disable-failed-event';
2
2
  export * from './hosting-service-disable-finished-event';
3
3
  export * from './hosting-service-enable-failed-event';
4
4
  export * from './hosting-service-enable-finished-event';
5
+ export * from './object-storage-credentials-regenerated-event';
5
6
  export * from './object-storage-deleted-event';
6
7
 
7
8
  export enum HostingEventsSchemas {
@@ -9,6 +10,7 @@ export enum HostingEventsSchemas {
9
10
  HostingServiceDisableFinishedEvent = 'payloads/hosting/events/hosting-service-disable-finished-event.json',
10
11
  HostingServiceEnableFailedEvent = 'payloads/hosting/events/hosting-service-enable-failed-event.json',
11
12
  HostingServiceEnableFinishedEvent = 'payloads/hosting/events/hosting-service-enable-finished-event.json',
13
+ ObjectStorageCredentialsRegeneratedEvent = 'payloads/hosting/events/object-storage-credentials-regenerated-event.json',
12
14
  ObjectStorageDeletedEvent = 'payloads/hosting/events/object-storage-deleted-event.json'
13
15
  }
14
16
 
@@ -17,5 +19,6 @@ export enum HostingEventsTypes {
17
19
  HostingServiceDisableFinishedEvent = 'HostingServiceDisableFinishedEvent',
18
20
  HostingServiceEnableFailedEvent = 'HostingServiceEnableFailedEvent',
19
21
  HostingServiceEnableFinishedEvent = 'HostingServiceEnableFinishedEvent',
22
+ ObjectStorageCredentialsRegeneratedEvent = 'ObjectStorageCredentialsRegeneratedEvent',
20
23
  ObjectStorageDeletedEvent = 'ObjectStorageDeletedEvent'
21
24
  }
@@ -0,0 +1,26 @@
1
+ import { ProviderType } from '../types/provider-type';
2
+ /**
3
+ * Object Storage Credentials Regenerated event schema
4
+ */
5
+ export interface ObjectStorageCredentialsRegeneratedEvent {
6
+ /**
7
+ * A UUID.
8
+ */
9
+ tenant_id: string;
10
+ /**
11
+ * A UUID.
12
+ */
13
+ environment_id: string;
14
+ /**
15
+ * A UUID.
16
+ */
17
+ object_storage_id: string;
18
+ /**
19
+ * Object Storage name.
20
+ */
21
+ object_storage_name: string;
22
+ /**
23
+ * Provider type of the Object Storage
24
+ */
25
+ provider_type: ProviderType;
26
+ }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Delete localization source entity failed event schema.
3
+ */
4
+ export interface DeleteLocalizationSourceEntityFailedEvent {
5
+ /**
6
+ * The string has a minimum length of one character and it cannot consist of only whitespace characters.
7
+ */
8
+ service_id: string;
9
+ /**
10
+ * The string has a minimum length of one character and it cannot consist of only whitespace characters.
11
+ */
12
+ entity_type: string;
13
+ /**
14
+ * The string has a minimum length of one character and it cannot consist of only whitespace characters.
15
+ */
16
+ entity_id: string;
17
+ /**
18
+ * Message that describes the reason for the command processing failure.
19
+ */
20
+ message: string;
21
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Delete localization source entity finished event schema. This event will only be sent if the delete localization source entity command has a message_context with at least one property.
3
+ */
4
+ export interface DeleteLocalizationSourceEntityFinishedEvent {
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
+ }
@@ -1,3 +1,5 @@
1
+ export * from './delete-localization-source-entity-failed-event';
2
+ export * from './delete-localization-source-entity-finished-event';
1
3
  export * from './entity-definition-declare-failed-event';
2
4
  export * from './entity-definition-declare-finished-event';
3
5
  export * from './entity-definition-delete-failed-event';
@@ -12,6 +14,8 @@ export * from './upsert-localization-source-entity-failed-event';
12
14
  export * from './upsert-localization-source-entity-finished-event';
13
15
 
14
16
  export enum LocalizationEventsSchemas {
17
+ DeleteLocalizationSourceEntityFailedEvent = 'payloads/localization/events/delete-localization-source-entity-failed-event.json',
18
+ DeleteLocalizationSourceEntityFinishedEvent = 'payloads/localization/events/delete-localization-source-entity-finished-event.json',
15
19
  EntityDefinitionDeclareFailedEvent = 'payloads/localization/events/entity-definition-declare-failed-event.json',
16
20
  EntityDefinitionDeclareFinishedEvent = 'payloads/localization/events/entity-definition-declare-finished-event.json',
17
21
  EntityDefinitionDeleteFailedEvent = 'payloads/localization/events/entity-definition-delete-failed-event.json',
@@ -27,6 +31,8 @@ export enum LocalizationEventsSchemas {
27
31
  }
28
32
 
29
33
  export enum LocalizationEventsTypes {
34
+ DeleteLocalizationSourceEntityFailedEvent = 'DeleteLocalizationSourceEntityFailedEvent',
35
+ DeleteLocalizationSourceEntityFinishedEvent = 'DeleteLocalizationSourceEntityFinishedEvent',
30
36
  EntityDefinitionDeclareFailedEvent = 'EntityDefinitionDeclareFailedEvent',
31
37
  EntityDefinitionDeclareFinishedEvent = 'EntityDefinitionDeclareFinishedEvent',
32
38
  EntityDefinitionDeleteFailedEvent = 'EntityDefinitionDeleteFailedEvent',
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Upsert localization source entity failed event schema. This event will only be sent if the upsert localization source entity command has a message_context with at least one property.
2
+ * Upsert localization source entity failed event schema.
3
3
  */
4
4
  export interface UpsertLocalizationSourceEntityFailedEvent {
5
5
  /**
@@ -26,4 +26,8 @@ export interface SduServiceDeploymentUndeployCommand {
26
26
  * A human readable ID for the service (i.e. media-service)
27
27
  */
28
28
  service_id: string;
29
+ /**
30
+ * An array of custom object definitions that needs to be cleaned-up with the service deployment
31
+ */
32
+ custom_object_definitions?: { [name: string]: unknown }[];
29
33
  }
@@ -28,4 +28,8 @@ export interface K8sConfig {
28
28
  * Resource requests and limits object to specify CPU and Memory constraints for a pod
29
29
  */
30
30
  resource_limits?: K8sResourceConfig;
31
+ /**
32
+ * An array of custom object definitions to be created along with the service deployment
33
+ */
34
+ custom_object_definitions?: { [name: string]: unknown }[];
31
35
  }