@bluealba/pae-bootstrap-lib 2.1.3 → 3.0.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 (134) hide show
  1. package/README.md +2 -1
  2. package/dist/src/bootstrap/apply-service-local.d.ts +17 -0
  3. package/dist/src/bootstrap/apply-service-local.d.ts.map +1 -0
  4. package/dist/src/bootstrap/apply-service-local.js +54 -0
  5. package/dist/src/bootstrap/apply-service-local.js.map +1 -0
  6. package/dist/src/bootstrap/apply-service-local.test.d.ts +2 -0
  7. package/dist/src/bootstrap/apply-service-local.test.d.ts.map +1 -0
  8. package/dist/src/bootstrap/apply-service-local.test.js +125 -0
  9. package/dist/src/bootstrap/apply-service-local.test.js.map +1 -0
  10. package/dist/src/bootstrap/bootstrap-platform.d.ts +0 -4
  11. package/dist/src/bootstrap/bootstrap-platform.d.ts.map +1 -1
  12. package/dist/src/bootstrap/bootstrap-platform.js +15 -21
  13. package/dist/src/bootstrap/bootstrap-platform.js.map +1 -1
  14. package/dist/src/bootstrap/domain/bootstrap-sync-metadata.interface.d.ts +24 -8
  15. package/dist/src/bootstrap/domain/bootstrap-sync-metadata.interface.d.ts.map +1 -1
  16. package/dist/src/bootstrap/domain/domain-validation.test.js +180 -68
  17. package/dist/src/bootstrap/domain/domain-validation.test.js.map +1 -1
  18. package/dist/src/bootstrap/entity-synchronizer.js.map +1 -1
  19. package/dist/src/bootstrap/read-bootstrap-applications.d.ts +1 -1
  20. package/dist/src/bootstrap/read-bootstrap-applications.d.ts.map +1 -1
  21. package/dist/src/bootstrap/read-bootstrap-applications.js +408 -54
  22. package/dist/src/bootstrap/read-bootstrap-applications.js.map +1 -1
  23. package/dist/src/expression-language/expression-engine.d.ts +3 -0
  24. package/dist/src/expression-language/expression-engine.d.ts.map +1 -0
  25. package/dist/src/expression-language/expression-engine.js +80 -0
  26. package/dist/src/expression-language/expression-engine.js.map +1 -0
  27. package/dist/src/expression-language/expression-engine.test.d.ts +2 -0
  28. package/dist/src/expression-language/expression-engine.test.d.ts.map +1 -0
  29. package/dist/src/expression-language/expression-engine.test.js +107 -0
  30. package/dist/src/expression-language/expression-engine.test.js.map +1 -0
  31. package/dist/src/expression-language/index.d.ts +5 -0
  32. package/dist/src/expression-language/index.d.ts.map +1 -0
  33. package/dist/src/expression-language/index.js +14 -0
  34. package/dist/src/expression-language/index.js.map +1 -0
  35. package/dist/src/expression-language/resolve-deep.d.ts +2 -0
  36. package/dist/src/expression-language/resolve-deep.d.ts.map +1 -0
  37. package/dist/src/expression-language/resolve-deep.js +21 -0
  38. package/dist/src/expression-language/resolve-deep.js.map +1 -0
  39. package/dist/src/expression-language/resolve-deep.test.d.ts +2 -0
  40. package/dist/src/expression-language/resolve-deep.test.d.ts.map +1 -0
  41. package/dist/src/expression-language/resolve-deep.test.js +117 -0
  42. package/dist/src/expression-language/resolve-deep.test.js.map +1 -0
  43. package/dist/src/expression-language/resolvers/env.resolver.d.ts +3 -0
  44. package/dist/src/expression-language/resolvers/env.resolver.d.ts.map +1 -0
  45. package/dist/src/expression-language/resolvers/env.resolver.js +14 -0
  46. package/dist/src/expression-language/resolvers/env.resolver.js.map +1 -0
  47. package/dist/src/expression-language/resolvers/env.resolver.test.d.ts +2 -0
  48. package/dist/src/expression-language/resolvers/env.resolver.test.d.ts.map +1 -0
  49. package/dist/src/expression-language/resolvers/env.resolver.test.js +23 -0
  50. package/dist/src/expression-language/resolvers/env.resolver.test.js.map +1 -0
  51. package/dist/src/expression-language/resolvers/index.d.ts +8 -0
  52. package/dist/src/expression-language/resolvers/index.d.ts.map +1 -0
  53. package/dist/src/expression-language/resolvers/index.js +12 -0
  54. package/dist/src/expression-language/resolvers/index.js.map +1 -0
  55. package/dist/src/expression-language/resolvers/resolver.interface.d.ts +5 -0
  56. package/dist/src/expression-language/resolvers/resolver.interface.d.ts.map +1 -0
  57. package/dist/src/{bootstrap/synchronizers/sync-entity-options.js → expression-language/resolvers/resolver.interface.js} +1 -1
  58. package/dist/src/expression-language/resolvers/resolver.interface.js.map +1 -0
  59. package/dist/src/index.d.ts +3 -1
  60. package/dist/src/index.d.ts.map +1 -1
  61. package/dist/src/index.js +8 -1
  62. package/dist/src/index.js.map +1 -1
  63. package/dist/src/utils/io.d.ts +1 -1
  64. package/dist/src/utils/io.d.ts.map +1 -1
  65. package/dist/src/utils/io.js +4 -1
  66. package/dist/src/utils/io.js.map +1 -1
  67. package/package.json +1 -1
  68. package/dist/src/bootstrap/fix-created-by.d.ts +0 -10
  69. package/dist/src/bootstrap/fix-created-by.d.ts.map +0 -1
  70. package/dist/src/bootstrap/fix-created-by.js +0 -36
  71. package/dist/src/bootstrap/fix-created-by.js.map +0 -1
  72. package/dist/src/bootstrap/initialize-pae-client.d.ts +0 -7
  73. package/dist/src/bootstrap/initialize-pae-client.d.ts.map +0 -1
  74. package/dist/src/bootstrap/initialize-pae-client.js +0 -24
  75. package/dist/src/bootstrap/initialize-pae-client.js.map +0 -1
  76. package/dist/src/bootstrap/run-bootstrap-sync.service.d.ts +0 -4
  77. package/dist/src/bootstrap/run-bootstrap-sync.service.d.ts.map +0 -1
  78. package/dist/src/bootstrap/run-bootstrap-sync.service.js +0 -29
  79. package/dist/src/bootstrap/run-bootstrap-sync.service.js.map +0 -1
  80. package/dist/src/bootstrap/synchronizers/sync-applications.d.ts +0 -4
  81. package/dist/src/bootstrap/synchronizers/sync-applications.d.ts.map +0 -1
  82. package/dist/src/bootstrap/synchronizers/sync-applications.js +0 -53
  83. package/dist/src/bootstrap/synchronizers/sync-applications.js.map +0 -1
  84. package/dist/src/bootstrap/synchronizers/sync-authz-entities.d.ts +0 -11
  85. package/dist/src/bootstrap/synchronizers/sync-authz-entities.d.ts.map +0 -1
  86. package/dist/src/bootstrap/synchronizers/sync-authz-entities.js +0 -58
  87. package/dist/src/bootstrap/synchronizers/sync-authz-entities.js.map +0 -1
  88. package/dist/src/bootstrap/synchronizers/sync-catalog.d.ts +0 -5
  89. package/dist/src/bootstrap/synchronizers/sync-catalog.d.ts.map +0 -1
  90. package/dist/src/bootstrap/synchronizers/sync-catalog.js +0 -95
  91. package/dist/src/bootstrap/synchronizers/sync-catalog.js.map +0 -1
  92. package/dist/src/bootstrap/synchronizers/sync-entities/performDeletes.d.ts +0 -11
  93. package/dist/src/bootstrap/synchronizers/sync-entities/performDeletes.d.ts.map +0 -1
  94. package/dist/src/bootstrap/synchronizers/sync-entities/performDeletes.js +0 -38
  95. package/dist/src/bootstrap/synchronizers/sync-entities/performDeletes.js.map +0 -1
  96. package/dist/src/bootstrap/synchronizers/sync-entities/performUpdates.d.ts +0 -12
  97. package/dist/src/bootstrap/synchronizers/sync-entities/performUpdates.d.ts.map +0 -1
  98. package/dist/src/bootstrap/synchronizers/sync-entities/performUpdates.js +0 -43
  99. package/dist/src/bootstrap/synchronizers/sync-entities/performUpdates.js.map +0 -1
  100. package/dist/src/bootstrap/synchronizers/sync-entities.d.ts +0 -19
  101. package/dist/src/bootstrap/synchronizers/sync-entities.d.ts.map +0 -1
  102. package/dist/src/bootstrap/synchronizers/sync-entities.js +0 -59
  103. package/dist/src/bootstrap/synchronizers/sync-entities.js.map +0 -1
  104. package/dist/src/bootstrap/synchronizers/sync-entities.test.d.ts +0 -2
  105. package/dist/src/bootstrap/synchronizers/sync-entities.test.d.ts.map +0 -1
  106. package/dist/src/bootstrap/synchronizers/sync-entities.test.js +0 -158
  107. package/dist/src/bootstrap/synchronizers/sync-entities.test.js.map +0 -1
  108. package/dist/src/bootstrap/synchronizers/sync-entity-options.d.ts +0 -11
  109. package/dist/src/bootstrap/synchronizers/sync-entity-options.d.ts.map +0 -1
  110. package/dist/src/bootstrap/synchronizers/sync-entity-options.js.map +0 -1
  111. package/dist/src/bootstrap/synchronizers/sync-feature-flags.d.ts +0 -8
  112. package/dist/src/bootstrap/synchronizers/sync-feature-flags.d.ts.map +0 -1
  113. package/dist/src/bootstrap/synchronizers/sync-feature-flags.js +0 -67
  114. package/dist/src/bootstrap/synchronizers/sync-feature-flags.js.map +0 -1
  115. package/dist/src/bootstrap/synchronizers/sync-modules-config.d.ts +0 -4
  116. package/dist/src/bootstrap/synchronizers/sync-modules-config.d.ts.map +0 -1
  117. package/dist/src/bootstrap/synchronizers/sync-modules-config.js +0 -28
  118. package/dist/src/bootstrap/synchronizers/sync-modules-config.js.map +0 -1
  119. package/dist/src/bootstrap/synchronizers/sync-operations.d.ts +0 -5
  120. package/dist/src/bootstrap/synchronizers/sync-operations.d.ts.map +0 -1
  121. package/dist/src/bootstrap/synchronizers/sync-operations.js +0 -41
  122. package/dist/src/bootstrap/synchronizers/sync-operations.js.map +0 -1
  123. package/dist/src/bootstrap/synchronizers/sync-role-operations.d.ts +0 -8
  124. package/dist/src/bootstrap/synchronizers/sync-role-operations.d.ts.map +0 -1
  125. package/dist/src/bootstrap/synchronizers/sync-role-operations.js +0 -74
  126. package/dist/src/bootstrap/synchronizers/sync-role-operations.js.map +0 -1
  127. package/dist/src/bootstrap/synchronizers/sync-roles.d.ts +0 -5
  128. package/dist/src/bootstrap/synchronizers/sync-roles.d.ts.map +0 -1
  129. package/dist/src/bootstrap/synchronizers/sync-roles.js +0 -41
  130. package/dist/src/bootstrap/synchronizers/sync-roles.js.map +0 -1
  131. package/dist/src/bootstrap/synchronizers/sync-shared-libraries.d.ts +0 -4
  132. package/dist/src/bootstrap/synchronizers/sync-shared-libraries.d.ts.map +0 -1
  133. package/dist/src/bootstrap/synchronizers/sync-shared-libraries.js +0 -32
  134. package/dist/src/bootstrap/synchronizers/sync-shared-libraries.js.map +0 -1
@@ -46,12 +46,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
46
46
  scopedTo: 'blah'
47
47
  },
48
48
  };
49
- const result = (() => { const _io0 = input => "object" === typeof input.syncConfig && null !== input.syncConfig && _io1(input.syncConfig) && (undefined === input.sharedLibraries || Array.isArray(input.sharedLibraries) && input.sharedLibraries.every(elem => "object" === typeof elem && null !== elem && _io2(elem))) && (undefined === input.featureFlags || Array.isArray(input.featureFlags) && input.featureFlags.every(elem => "object" === typeof elem && null !== elem && _io3(elem))) && (undefined === input.catalog || Array.isArray(input.catalog) && input.catalog.every(elem => "object" === typeof elem && null !== elem && _io5(elem))) && (undefined === input.applicationsAuthz || Array.isArray(input.applicationsAuthz) && input.applicationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io13(elem))) && (undefined === input.rolesAuthz || Array.isArray(input.rolesAuthz) && input.rolesAuthz.every(elem => "object" === typeof elem && null !== elem && _io14(elem))) && (undefined === input.operationsAuthz || Array.isArray(input.operationsAuthz) && input.operationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io15(elem))) && (undefined === input.modulesConfig || Array.isArray(input.modulesConfig) && input.modulesConfig.every(elem => "object" === typeof elem && null !== elem && _io16(elem))); const _io1 = input => "string" === typeof input.scopedTo; const _io2 = input => "string" === typeof input.name && "string" === typeof input.url && (undefined === input.description || "string" === typeof input.description); const _io3 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.constraints || Array.isArray(input.constraints) && input.constraints.every(elem => "object" === typeof elem && null !== elem && _io4(elem))); const _io4 = input => "string" === typeof input.contextName && "string" === typeof input.operator && (undefined === input.values || Array.isArray(input.values) && input.values.every(elem => "string" === typeof elem)); const _io5 = input => "string" === typeof input.name && "string" === typeof input.displayName && ("service" === input.type || "app" === input.type || "tool" === input.type || "utility" === input.type || "cloud-function" === input.type || "documentation" === input.type) && "string" === typeof input.baseUrl && ("object" === typeof input.service && null !== input.service && _io6(input.service)) && (Array.isArray(input.dependsOn) && input.dependsOn.every(elem => "string" === typeof elem)) && (undefined === input.commonPaths || "object" === typeof input.commonPaths && null !== input.commonPaths && false === Array.isArray(input.commonPaths) && _io7(input.commonPaths)) && (undefined === input.ui || "object" === typeof input.ui && null !== input.ui && _io8(input.ui)) && (undefined === input.cloudFunction || "object" === typeof input.cloudFunction && null !== input.cloudFunction && _io10(input.cloudFunction)) && (undefined === input.authorization || "object" === typeof input.authorization && null !== input.authorization && false === Array.isArray(input.authorization) && _io11(input.authorization)) && (undefined === input.application || "string" === typeof input.application) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.isPublic || "boolean" === typeof input.isPublic) && (undefined === input.id || "number" === typeof input.id); const _io6 = input => "string" === typeof input.host && "number" === typeof input.port && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io7 = input => (undefined === input.apiDocs || "string" === typeof input.apiDocs) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.health || "string" === typeof input.health) && (undefined === input.changelog || "string" === typeof input.changelog); const _io8 = input => "string" === typeof input.route && (null === input.mountAtSelector || undefined === input.mountAtSelector || "string" === typeof input.mountAtSelector) && "string" === typeof input.bundleFile && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io9(input.customProps)) && (undefined === input.shell || "boolean" === typeof input.shell) && (undefined === input.isPlatformCustomization || "boolean" === typeof input.isPlatformCustomization); const _io9 = input => Object.keys(input).every(key => {
49
+ const result = (() => { const _io0 = input => "object" === typeof input.syncConfig && null !== input.syncConfig && _io1(input.syncConfig) && (undefined === input.sharedLibraries || Array.isArray(input.sharedLibraries) && input.sharedLibraries.every(elem => "object" === typeof elem && null !== elem && _io2(elem))) && (undefined === input.featureFlags || Array.isArray(input.featureFlags) && input.featureFlags.every(elem => "object" === typeof elem && null !== elem && _io3(elem))) && (undefined === input.catalog || Array.isArray(input.catalog) && input.catalog.every(elem => "object" === typeof elem && null !== elem && _io5(elem))) && (undefined === input.applicationsAuthz || Array.isArray(input.applicationsAuthz) && input.applicationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io14(elem))) && (undefined === input.rolesAuthz || Array.isArray(input.rolesAuthz) && input.rolesAuthz.every(elem => "object" === typeof elem && null !== elem && _io15(elem))) && (undefined === input.operationsAuthz || Array.isArray(input.operationsAuthz) && input.operationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io16(elem))) && (undefined === input.modulesConfig || Array.isArray(input.modulesConfig) && input.modulesConfig.every(elem => "object" === typeof elem && null !== elem && _io17(elem))); const _io1 = input => "string" === typeof input.scopedTo; const _io2 = input => "string" === typeof input.name && "string" === typeof input.url && (undefined === input.description || "string" === typeof input.description); const _io3 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.applicationName || "string" === typeof input.applicationName) && (undefined === input.constraints || Array.isArray(input.constraints) && input.constraints.every(elem => "object" === typeof elem && null !== elem && _io4(elem))); const _io4 = input => "string" === typeof input.contextName && "string" === typeof input.operator && (undefined === input.values || Array.isArray(input.values) && input.values.every(elem => "string" === typeof elem)); const _io5 = input => "string" === typeof input.name && "string" === typeof input.displayName && ("service" === input.type || "app" === input.type || "tool" === input.type || "utility" === input.type || "cloud-function" === input.type || "documentation" === input.type) && "string" === typeof input.baseUrl && ("object" === typeof input.service && null !== input.service && _io6(input.service)) && (Array.isArray(input.dependsOn) && input.dependsOn.every(elem => "string" === typeof elem)) && (undefined === input.commonPaths || "object" === typeof input.commonPaths && null !== input.commonPaths && false === Array.isArray(input.commonPaths) && _io7(input.commonPaths)) && (undefined === input.ui || "object" === typeof input.ui && null !== input.ui && _io8(input.ui)) && (undefined === input.cloudFunction || "object" === typeof input.cloudFunction && null !== input.cloudFunction && _io10(input.cloudFunction)) && (undefined === input.authorization || "object" === typeof input.authorization && null !== input.authorization && false === Array.isArray(input.authorization) && _io11(input.authorization)) && (undefined === input.application || "string" === typeof input.application) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.isPublic || "boolean" === typeof input.isPublic) && (undefined === input.id || "number" === typeof input.id) && (undefined === input.serviceLocal || "object" === typeof input.serviceLocal && null !== input.serviceLocal && false === Array.isArray(input.serviceLocal) && _io13(input.serviceLocal)); const _io6 = input => "string" === typeof input.host && "number" === typeof input.port && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io7 = input => (undefined === input.apiDocs || "string" === typeof input.apiDocs) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.health || "string" === typeof input.health) && (undefined === input.changelog || "string" === typeof input.changelog); const _io8 = input => "string" === typeof input.route && (null === input.mountAtSelector || undefined === input.mountAtSelector || "string" === typeof input.mountAtSelector) && "string" === typeof input.bundleFile && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io9(input.customProps)) && (undefined === input.shell || "boolean" === typeof input.shell) && (undefined === input.isPlatformCustomization || "boolean" === typeof input.isPlatformCustomization); const _io9 = input => Object.keys(input).every(key => {
50
50
  const value = input[key];
51
51
  if (undefined === value)
52
52
  return true;
53
53
  return true;
54
- }); const _io10 = input => "aws" === input.provider && "boolean" === typeof input.requiresSignature; const _io11 = input => (undefined === input.operations || Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)) && (undefined === input.routes || Array.isArray(input.routes) && input.routes.every(elem => "object" === typeof elem && null !== elem && _io12(elem))); const _io12 = input => (undefined === input.methods || Array.isArray(input.methods) && input.methods.every(elem => "GET" === elem || "POST" === elem || "PUT" === elem || "DELETE" === elem || "PATCH" === elem || "OPTIONS" === elem || "HEAD" === elem || "CONNECT" === elem || "TRACE" === elem)) && "string" === typeof input.pattern && (Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)); const _io13 = input => "string" === typeof input.name && (undefined === input.displayName || "string" === typeof input.displayName) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.allowedByDefault || "boolean" === typeof input.allowedByDefault); const _io14 = input => (undefined === input.applicationName || "string" === typeof input.applicationName) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io15 = input => (undefined === input.roles || Array.isArray(input.roles) && input.roles.every(elem => "string" === typeof elem)) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io16 = input => "string" === typeof input.moduleName && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io17(input.customProps)); const _io17 = input => Object.keys(input).every(key => {
54
+ }); const _io10 = input => "aws" === input.provider && "boolean" === typeof input.requiresSignature; const _io11 = input => (undefined === input.operations || Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)) && (undefined === input.routes || Array.isArray(input.routes) && input.routes.every(elem => "object" === typeof elem && null !== elem && _io12(elem))); const _io12 = input => (undefined === input.methods || Array.isArray(input.methods) && input.methods.every(elem => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem)) && "string" === typeof input.pattern && (Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)); const _io13 = input => (undefined === input.host || "string" === typeof input.host) && (undefined === input.port || "number" === typeof input.port) && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io14 = input => "string" === typeof input.name && (undefined === input.displayName || "string" === typeof input.displayName) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.allowedByDefault || "boolean" === typeof input.allowedByDefault); const _io15 = input => (undefined === input.applicationName || "string" === typeof input.applicationName) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io16 = input => (undefined === input.roles || Array.isArray(input.roles) && input.roles.every(elem => "string" === typeof elem)) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io17 = input => "string" === typeof input.moduleName && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io18(input.customProps)); const _io18 = input => Object.keys(input).every(key => {
55
55
  const value = input[key];
56
56
  if (undefined === value)
57
57
  return true;
@@ -98,19 +98,19 @@ describe('BootstrapSyncMetadata - type validations', () => {
98
98
  value: input.featureFlags
99
99
  }), undefined === input.catalog || (Array.isArray(input.catalog) || _report(_exceptionable, {
100
100
  path: _path + ".catalog",
101
- expected: "(Array<CreateOrUpdateModule> | undefined)",
101
+ expected: "(Array<BootstrapModule> | undefined)",
102
102
  value: input.catalog
103
103
  })) && input.catalog.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
104
104
  path: _path + ".catalog[" + _index18 + "]",
105
- expected: "CreateOrUpdateModule",
105
+ expected: "BootstrapModule",
106
106
  value: elem
107
107
  })) && _vo5(elem, _path + ".catalog[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
108
108
  path: _path + ".catalog[" + _index18 + "]",
109
- expected: "CreateOrUpdateModule",
109
+ expected: "BootstrapModule",
110
110
  value: elem
111
111
  })).every(flag => flag) || _report(_exceptionable, {
112
112
  path: _path + ".catalog",
113
- expected: "(Array<CreateOrUpdateModule> | undefined)",
113
+ expected: "(Array<BootstrapModule> | undefined)",
114
114
  value: input.catalog
115
115
  }), undefined === input.applicationsAuthz || (Array.isArray(input.applicationsAuthz) || _report(_exceptionable, {
116
116
  path: _path + ".applicationsAuthz",
@@ -120,7 +120,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
120
120
  path: _path + ".applicationsAuthz[" + _index19 + "]",
121
121
  expected: "CreateApplicationDTO",
122
122
  value: elem
123
- })) && _vo13(elem, _path + ".applicationsAuthz[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
123
+ })) && _vo14(elem, _path + ".applicationsAuthz[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
124
124
  path: _path + ".applicationsAuthz[" + _index19 + "]",
125
125
  expected: "CreateApplicationDTO",
126
126
  value: elem
@@ -136,7 +136,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
136
136
  path: _path + ".rolesAuthz[" + _index20 + "]",
137
137
  expected: "CreateRoleDTO",
138
138
  value: elem
139
- })) && _vo14(elem, _path + ".rolesAuthz[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
139
+ })) && _vo15(elem, _path + ".rolesAuthz[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
140
140
  path: _path + ".rolesAuthz[" + _index20 + "]",
141
141
  expected: "CreateRoleDTO",
142
142
  value: elem
@@ -152,7 +152,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
152
152
  path: _path + ".operationsAuthz[" + _index21 + "]",
153
153
  expected: "OperationAuthzBootstrap",
154
154
  value: elem
155
- })) && _vo15(elem, _path + ".operationsAuthz[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
155
+ })) && _vo16(elem, _path + ".operationsAuthz[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
156
156
  path: _path + ".operationsAuthz[" + _index21 + "]",
157
157
  expected: "OperationAuthzBootstrap",
158
158
  value: elem
@@ -168,7 +168,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
168
168
  path: _path + ".modulesConfig[" + _index22 + "]",
169
169
  expected: "UpdateModuleUIConfigDTO",
170
170
  value: elem
171
- })) && _vo16(elem, _path + ".modulesConfig[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
171
+ })) && _vo17(elem, _path + ".modulesConfig[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
172
172
  path: _path + ".modulesConfig[" + _index22 + "]",
173
173
  expected: "UpdateModuleUIConfigDTO",
174
174
  value: elem
@@ -204,6 +204,10 @@ describe('BootstrapSyncMetadata - type validations', () => {
204
204
  path: _path + ".enabled",
205
205
  expected: "(boolean | undefined)",
206
206
  value: input.enabled
207
+ }), undefined === input.applicationName || "string" === typeof input.applicationName || _report(_exceptionable, {
208
+ path: _path + ".applicationName",
209
+ expected: "(string | undefined)",
210
+ value: input.applicationName
207
211
  }), undefined === input.constraints || (Array.isArray(input.constraints) || _report(_exceptionable, {
208
212
  path: _path + ".constraints",
209
213
  expected: "(Array<__type> | undefined)",
@@ -324,6 +328,14 @@ describe('BootstrapSyncMetadata - type validations', () => {
324
328
  path: _path + ".id",
325
329
  expected: "(number | undefined)",
326
330
  value: input.id
331
+ }), undefined === input.serviceLocal || ("object" === typeof input.serviceLocal && null !== input.serviceLocal && false === Array.isArray(input.serviceLocal) || _report(_exceptionable, {
332
+ path: _path + ".serviceLocal",
333
+ expected: "(Partial<ServiceConfig> | undefined)",
334
+ value: input.serviceLocal
335
+ })) && _vo13(input.serviceLocal, _path + ".serviceLocal", true && _exceptionable) || _report(_exceptionable, {
336
+ path: _path + ".serviceLocal",
337
+ expected: "(Partial<ServiceConfig> | undefined)",
338
+ value: input.serviceLocal
327
339
  })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.host || _report(_exceptionable, {
328
340
  path: _path + ".host",
329
341
  expected: "string",
@@ -429,7 +441,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
429
441
  path: _path + ".methods",
430
442
  expected: "(Array<HttpMethod> | undefined)",
431
443
  value: input.methods
432
- })) && input.methods.map((elem, _index28) => "GET" === elem || "POST" === elem || "PUT" === elem || "DELETE" === elem || "PATCH" === elem || "OPTIONS" === elem || "HEAD" === elem || "CONNECT" === elem || "TRACE" === elem || _report(_exceptionable, {
444
+ })) && input.methods.map((elem, _index28) => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem || _report(_exceptionable, {
433
445
  path: _path + ".methods[" + _index28 + "]",
434
446
  expected: "(\"CONNECT\" | \"DELETE\" | \"GET\" | \"HEAD\" | \"OPTIONS\" | \"PATCH\" | \"POST\" | \"PUT\" | \"TRACE\")",
435
447
  value: elem
@@ -453,7 +465,23 @@ describe('BootstrapSyncMetadata - type validations', () => {
453
465
  path: _path + ".operations",
454
466
  expected: "Array<string>",
455
467
  value: input.operations
456
- })].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
468
+ })].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
469
+ path: _path + ".host",
470
+ expected: "(string | undefined)",
471
+ value: input.host
472
+ }), undefined === input.port || "number" === typeof input.port || _report(_exceptionable, {
473
+ path: _path + ".port",
474
+ expected: "(number | undefined)",
475
+ value: input.port
476
+ }), undefined === input.protocol || "string" === typeof input.protocol || _report(_exceptionable, {
477
+ path: _path + ".protocol",
478
+ expected: "(string | undefined)",
479
+ value: input.protocol
480
+ }), undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL || _report(_exceptionable, {
481
+ path: _path + ".includeBaseURL",
482
+ expected: "(boolean | undefined)",
483
+ value: input.includeBaseURL
484
+ })].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
457
485
  path: _path + ".name",
458
486
  expected: "string",
459
487
  value: input.name
@@ -469,7 +497,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
469
497
  path: _path + ".allowedByDefault",
470
498
  expected: "(boolean | undefined)",
471
499
  value: input.allowedByDefault
472
- })].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.applicationName || "string" === typeof input.applicationName || _report(_exceptionable, {
500
+ })].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.applicationName || "string" === typeof input.applicationName || _report(_exceptionable, {
473
501
  path: _path + ".applicationName",
474
502
  expected: "(string | undefined)",
475
503
  value: input.applicationName
@@ -481,7 +509,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
481
509
  path: _path + ".description",
482
510
  expected: "(string | undefined)",
483
511
  value: input.description
484
- })].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.roles || (Array.isArray(input.roles) || _report(_exceptionable, {
512
+ })].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.roles || (Array.isArray(input.roles) || _report(_exceptionable, {
485
513
  path: _path + ".roles",
486
514
  expected: "(Array<string> | undefined)",
487
515
  value: input.roles
@@ -505,7 +533,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
505
533
  path: _path + ".applicationName",
506
534
  expected: "(string | undefined)",
507
535
  value: input.applicationName
508
- })].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => ["string" === typeof input.moduleName || _report(_exceptionable, {
536
+ })].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.moduleName || _report(_exceptionable, {
509
537
  path: _path + ".moduleName",
510
538
  expected: "string",
511
539
  value: input.moduleName
@@ -513,11 +541,11 @@ describe('BootstrapSyncMetadata - type validations', () => {
513
541
  path: _path + ".customProps",
514
542
  expected: "Record<string, any>",
515
543
  value: input.customProps
516
- })) && _vo17(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
544
+ })) && _vo18(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
517
545
  path: _path + ".customProps",
518
546
  expected: "Record<string, any>",
519
547
  value: input.customProps
520
- })].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
548
+ })].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
521
549
  const value = input[key];
522
550
  if (undefined === value)
523
551
  return true;
@@ -556,12 +584,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
556
584
  const invalidObject = {
557
585
  invalidField: 'invalidValue',
558
586
  };
559
- const result = (() => { const _io0 = input => "object" === typeof input.syncConfig && null !== input.syncConfig && _io1(input.syncConfig) && (undefined === input.sharedLibraries || Array.isArray(input.sharedLibraries) && input.sharedLibraries.every(elem => "object" === typeof elem && null !== elem && _io2(elem))) && (undefined === input.featureFlags || Array.isArray(input.featureFlags) && input.featureFlags.every(elem => "object" === typeof elem && null !== elem && _io3(elem))) && (undefined === input.catalog || Array.isArray(input.catalog) && input.catalog.every(elem => "object" === typeof elem && null !== elem && _io5(elem))) && (undefined === input.applicationsAuthz || Array.isArray(input.applicationsAuthz) && input.applicationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io13(elem))) && (undefined === input.rolesAuthz || Array.isArray(input.rolesAuthz) && input.rolesAuthz.every(elem => "object" === typeof elem && null !== elem && _io14(elem))) && (undefined === input.operationsAuthz || Array.isArray(input.operationsAuthz) && input.operationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io15(elem))) && (undefined === input.modulesConfig || Array.isArray(input.modulesConfig) && input.modulesConfig.every(elem => "object" === typeof elem && null !== elem && _io16(elem))); const _io1 = input => "string" === typeof input.scopedTo; const _io2 = input => "string" === typeof input.name && "string" === typeof input.url && (undefined === input.description || "string" === typeof input.description); const _io3 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.constraints || Array.isArray(input.constraints) && input.constraints.every(elem => "object" === typeof elem && null !== elem && _io4(elem))); const _io4 = input => "string" === typeof input.contextName && "string" === typeof input.operator && (undefined === input.values || Array.isArray(input.values) && input.values.every(elem => "string" === typeof elem)); const _io5 = input => "string" === typeof input.name && "string" === typeof input.displayName && ("service" === input.type || "app" === input.type || "tool" === input.type || "utility" === input.type || "cloud-function" === input.type || "documentation" === input.type) && "string" === typeof input.baseUrl && ("object" === typeof input.service && null !== input.service && _io6(input.service)) && (Array.isArray(input.dependsOn) && input.dependsOn.every(elem => "string" === typeof elem)) && (undefined === input.commonPaths || "object" === typeof input.commonPaths && null !== input.commonPaths && false === Array.isArray(input.commonPaths) && _io7(input.commonPaths)) && (undefined === input.ui || "object" === typeof input.ui && null !== input.ui && _io8(input.ui)) && (undefined === input.cloudFunction || "object" === typeof input.cloudFunction && null !== input.cloudFunction && _io10(input.cloudFunction)) && (undefined === input.authorization || "object" === typeof input.authorization && null !== input.authorization && false === Array.isArray(input.authorization) && _io11(input.authorization)) && (undefined === input.application || "string" === typeof input.application) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.isPublic || "boolean" === typeof input.isPublic) && (undefined === input.id || "number" === typeof input.id); const _io6 = input => "string" === typeof input.host && "number" === typeof input.port && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io7 = input => (undefined === input.apiDocs || "string" === typeof input.apiDocs) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.health || "string" === typeof input.health) && (undefined === input.changelog || "string" === typeof input.changelog); const _io8 = input => "string" === typeof input.route && (null === input.mountAtSelector || undefined === input.mountAtSelector || "string" === typeof input.mountAtSelector) && "string" === typeof input.bundleFile && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io9(input.customProps)) && (undefined === input.shell || "boolean" === typeof input.shell) && (undefined === input.isPlatformCustomization || "boolean" === typeof input.isPlatformCustomization); const _io9 = input => Object.keys(input).every(key => {
587
+ const result = (() => { const _io0 = input => "object" === typeof input.syncConfig && null !== input.syncConfig && _io1(input.syncConfig) && (undefined === input.sharedLibraries || Array.isArray(input.sharedLibraries) && input.sharedLibraries.every(elem => "object" === typeof elem && null !== elem && _io2(elem))) && (undefined === input.featureFlags || Array.isArray(input.featureFlags) && input.featureFlags.every(elem => "object" === typeof elem && null !== elem && _io3(elem))) && (undefined === input.catalog || Array.isArray(input.catalog) && input.catalog.every(elem => "object" === typeof elem && null !== elem && _io5(elem))) && (undefined === input.applicationsAuthz || Array.isArray(input.applicationsAuthz) && input.applicationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io14(elem))) && (undefined === input.rolesAuthz || Array.isArray(input.rolesAuthz) && input.rolesAuthz.every(elem => "object" === typeof elem && null !== elem && _io15(elem))) && (undefined === input.operationsAuthz || Array.isArray(input.operationsAuthz) && input.operationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io16(elem))) && (undefined === input.modulesConfig || Array.isArray(input.modulesConfig) && input.modulesConfig.every(elem => "object" === typeof elem && null !== elem && _io17(elem))); const _io1 = input => "string" === typeof input.scopedTo; const _io2 = input => "string" === typeof input.name && "string" === typeof input.url && (undefined === input.description || "string" === typeof input.description); const _io3 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.applicationName || "string" === typeof input.applicationName) && (undefined === input.constraints || Array.isArray(input.constraints) && input.constraints.every(elem => "object" === typeof elem && null !== elem && _io4(elem))); const _io4 = input => "string" === typeof input.contextName && "string" === typeof input.operator && (undefined === input.values || Array.isArray(input.values) && input.values.every(elem => "string" === typeof elem)); const _io5 = input => "string" === typeof input.name && "string" === typeof input.displayName && ("service" === input.type || "app" === input.type || "tool" === input.type || "utility" === input.type || "cloud-function" === input.type || "documentation" === input.type) && "string" === typeof input.baseUrl && ("object" === typeof input.service && null !== input.service && _io6(input.service)) && (Array.isArray(input.dependsOn) && input.dependsOn.every(elem => "string" === typeof elem)) && (undefined === input.commonPaths || "object" === typeof input.commonPaths && null !== input.commonPaths && false === Array.isArray(input.commonPaths) && _io7(input.commonPaths)) && (undefined === input.ui || "object" === typeof input.ui && null !== input.ui && _io8(input.ui)) && (undefined === input.cloudFunction || "object" === typeof input.cloudFunction && null !== input.cloudFunction && _io10(input.cloudFunction)) && (undefined === input.authorization || "object" === typeof input.authorization && null !== input.authorization && false === Array.isArray(input.authorization) && _io11(input.authorization)) && (undefined === input.application || "string" === typeof input.application) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.isPublic || "boolean" === typeof input.isPublic) && (undefined === input.id || "number" === typeof input.id) && (undefined === input.serviceLocal || "object" === typeof input.serviceLocal && null !== input.serviceLocal && false === Array.isArray(input.serviceLocal) && _io13(input.serviceLocal)); const _io6 = input => "string" === typeof input.host && "number" === typeof input.port && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io7 = input => (undefined === input.apiDocs || "string" === typeof input.apiDocs) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.health || "string" === typeof input.health) && (undefined === input.changelog || "string" === typeof input.changelog); const _io8 = input => "string" === typeof input.route && (null === input.mountAtSelector || undefined === input.mountAtSelector || "string" === typeof input.mountAtSelector) && "string" === typeof input.bundleFile && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io9(input.customProps)) && (undefined === input.shell || "boolean" === typeof input.shell) && (undefined === input.isPlatformCustomization || "boolean" === typeof input.isPlatformCustomization); const _io9 = input => Object.keys(input).every(key => {
560
588
  const value = input[key];
561
589
  if (undefined === value)
562
590
  return true;
563
591
  return true;
564
- }); const _io10 = input => "aws" === input.provider && "boolean" === typeof input.requiresSignature; const _io11 = input => (undefined === input.operations || Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)) && (undefined === input.routes || Array.isArray(input.routes) && input.routes.every(elem => "object" === typeof elem && null !== elem && _io12(elem))); const _io12 = input => (undefined === input.methods || Array.isArray(input.methods) && input.methods.every(elem => "GET" === elem || "POST" === elem || "PUT" === elem || "DELETE" === elem || "PATCH" === elem || "OPTIONS" === elem || "HEAD" === elem || "CONNECT" === elem || "TRACE" === elem)) && "string" === typeof input.pattern && (Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)); const _io13 = input => "string" === typeof input.name && (undefined === input.displayName || "string" === typeof input.displayName) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.allowedByDefault || "boolean" === typeof input.allowedByDefault); const _io14 = input => (undefined === input.applicationName || "string" === typeof input.applicationName) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io15 = input => (undefined === input.roles || Array.isArray(input.roles) && input.roles.every(elem => "string" === typeof elem)) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io16 = input => "string" === typeof input.moduleName && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io17(input.customProps)); const _io17 = input => Object.keys(input).every(key => {
592
+ }); const _io10 = input => "aws" === input.provider && "boolean" === typeof input.requiresSignature; const _io11 = input => (undefined === input.operations || Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)) && (undefined === input.routes || Array.isArray(input.routes) && input.routes.every(elem => "object" === typeof elem && null !== elem && _io12(elem))); const _io12 = input => (undefined === input.methods || Array.isArray(input.methods) && input.methods.every(elem => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem)) && "string" === typeof input.pattern && (Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)); const _io13 = input => (undefined === input.host || "string" === typeof input.host) && (undefined === input.port || "number" === typeof input.port) && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io14 = input => "string" === typeof input.name && (undefined === input.displayName || "string" === typeof input.displayName) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.allowedByDefault || "boolean" === typeof input.allowedByDefault); const _io15 = input => (undefined === input.applicationName || "string" === typeof input.applicationName) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io16 = input => (undefined === input.roles || Array.isArray(input.roles) && input.roles.every(elem => "string" === typeof elem)) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io17 = input => "string" === typeof input.moduleName && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io18(input.customProps)); const _io18 = input => Object.keys(input).every(key => {
565
593
  const value = input[key];
566
594
  if (undefined === value)
567
595
  return true;
@@ -608,19 +636,19 @@ describe('BootstrapSyncMetadata - type validations', () => {
608
636
  value: input.featureFlags
609
637
  }), undefined === input.catalog || (Array.isArray(input.catalog) || _report(_exceptionable, {
610
638
  path: _path + ".catalog",
611
- expected: "(Array<CreateOrUpdateModule> | undefined)",
639
+ expected: "(Array<BootstrapModule> | undefined)",
612
640
  value: input.catalog
613
641
  })) && input.catalog.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
614
642
  path: _path + ".catalog[" + _index18 + "]",
615
- expected: "CreateOrUpdateModule",
643
+ expected: "BootstrapModule",
616
644
  value: elem
617
645
  })) && _vo5(elem, _path + ".catalog[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
618
646
  path: _path + ".catalog[" + _index18 + "]",
619
- expected: "CreateOrUpdateModule",
647
+ expected: "BootstrapModule",
620
648
  value: elem
621
649
  })).every(flag => flag) || _report(_exceptionable, {
622
650
  path: _path + ".catalog",
623
- expected: "(Array<CreateOrUpdateModule> | undefined)",
651
+ expected: "(Array<BootstrapModule> | undefined)",
624
652
  value: input.catalog
625
653
  }), undefined === input.applicationsAuthz || (Array.isArray(input.applicationsAuthz) || _report(_exceptionable, {
626
654
  path: _path + ".applicationsAuthz",
@@ -630,7 +658,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
630
658
  path: _path + ".applicationsAuthz[" + _index19 + "]",
631
659
  expected: "CreateApplicationDTO",
632
660
  value: elem
633
- })) && _vo13(elem, _path + ".applicationsAuthz[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
661
+ })) && _vo14(elem, _path + ".applicationsAuthz[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
634
662
  path: _path + ".applicationsAuthz[" + _index19 + "]",
635
663
  expected: "CreateApplicationDTO",
636
664
  value: elem
@@ -646,7 +674,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
646
674
  path: _path + ".rolesAuthz[" + _index20 + "]",
647
675
  expected: "CreateRoleDTO",
648
676
  value: elem
649
- })) && _vo14(elem, _path + ".rolesAuthz[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
677
+ })) && _vo15(elem, _path + ".rolesAuthz[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
650
678
  path: _path + ".rolesAuthz[" + _index20 + "]",
651
679
  expected: "CreateRoleDTO",
652
680
  value: elem
@@ -662,7 +690,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
662
690
  path: _path + ".operationsAuthz[" + _index21 + "]",
663
691
  expected: "OperationAuthzBootstrap",
664
692
  value: elem
665
- })) && _vo15(elem, _path + ".operationsAuthz[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
693
+ })) && _vo16(elem, _path + ".operationsAuthz[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
666
694
  path: _path + ".operationsAuthz[" + _index21 + "]",
667
695
  expected: "OperationAuthzBootstrap",
668
696
  value: elem
@@ -678,7 +706,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
678
706
  path: _path + ".modulesConfig[" + _index22 + "]",
679
707
  expected: "UpdateModuleUIConfigDTO",
680
708
  value: elem
681
- })) && _vo16(elem, _path + ".modulesConfig[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
709
+ })) && _vo17(elem, _path + ".modulesConfig[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
682
710
  path: _path + ".modulesConfig[" + _index22 + "]",
683
711
  expected: "UpdateModuleUIConfigDTO",
684
712
  value: elem
@@ -714,6 +742,10 @@ describe('BootstrapSyncMetadata - type validations', () => {
714
742
  path: _path + ".enabled",
715
743
  expected: "(boolean | undefined)",
716
744
  value: input.enabled
745
+ }), undefined === input.applicationName || "string" === typeof input.applicationName || _report(_exceptionable, {
746
+ path: _path + ".applicationName",
747
+ expected: "(string | undefined)",
748
+ value: input.applicationName
717
749
  }), undefined === input.constraints || (Array.isArray(input.constraints) || _report(_exceptionable, {
718
750
  path: _path + ".constraints",
719
751
  expected: "(Array<__type> | undefined)",
@@ -834,6 +866,14 @@ describe('BootstrapSyncMetadata - type validations', () => {
834
866
  path: _path + ".id",
835
867
  expected: "(number | undefined)",
836
868
  value: input.id
869
+ }), undefined === input.serviceLocal || ("object" === typeof input.serviceLocal && null !== input.serviceLocal && false === Array.isArray(input.serviceLocal) || _report(_exceptionable, {
870
+ path: _path + ".serviceLocal",
871
+ expected: "(Partial<ServiceConfig> | undefined)",
872
+ value: input.serviceLocal
873
+ })) && _vo13(input.serviceLocal, _path + ".serviceLocal", true && _exceptionable) || _report(_exceptionable, {
874
+ path: _path + ".serviceLocal",
875
+ expected: "(Partial<ServiceConfig> | undefined)",
876
+ value: input.serviceLocal
837
877
  })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.host || _report(_exceptionable, {
838
878
  path: _path + ".host",
839
879
  expected: "string",
@@ -939,7 +979,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
939
979
  path: _path + ".methods",
940
980
  expected: "(Array<HttpMethod> | undefined)",
941
981
  value: input.methods
942
- })) && input.methods.map((elem, _index28) => "GET" === elem || "POST" === elem || "PUT" === elem || "DELETE" === elem || "PATCH" === elem || "OPTIONS" === elem || "HEAD" === elem || "CONNECT" === elem || "TRACE" === elem || _report(_exceptionable, {
982
+ })) && input.methods.map((elem, _index28) => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem || _report(_exceptionable, {
943
983
  path: _path + ".methods[" + _index28 + "]",
944
984
  expected: "(\"CONNECT\" | \"DELETE\" | \"GET\" | \"HEAD\" | \"OPTIONS\" | \"PATCH\" | \"POST\" | \"PUT\" | \"TRACE\")",
945
985
  value: elem
@@ -963,7 +1003,23 @@ describe('BootstrapSyncMetadata - type validations', () => {
963
1003
  path: _path + ".operations",
964
1004
  expected: "Array<string>",
965
1005
  value: input.operations
966
- })].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
1006
+ })].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
1007
+ path: _path + ".host",
1008
+ expected: "(string | undefined)",
1009
+ value: input.host
1010
+ }), undefined === input.port || "number" === typeof input.port || _report(_exceptionable, {
1011
+ path: _path + ".port",
1012
+ expected: "(number | undefined)",
1013
+ value: input.port
1014
+ }), undefined === input.protocol || "string" === typeof input.protocol || _report(_exceptionable, {
1015
+ path: _path + ".protocol",
1016
+ expected: "(string | undefined)",
1017
+ value: input.protocol
1018
+ }), undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL || _report(_exceptionable, {
1019
+ path: _path + ".includeBaseURL",
1020
+ expected: "(boolean | undefined)",
1021
+ value: input.includeBaseURL
1022
+ })].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
967
1023
  path: _path + ".name",
968
1024
  expected: "string",
969
1025
  value: input.name
@@ -979,7 +1035,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
979
1035
  path: _path + ".allowedByDefault",
980
1036
  expected: "(boolean | undefined)",
981
1037
  value: input.allowedByDefault
982
- })].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.applicationName || "string" === typeof input.applicationName || _report(_exceptionable, {
1038
+ })].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.applicationName || "string" === typeof input.applicationName || _report(_exceptionable, {
983
1039
  path: _path + ".applicationName",
984
1040
  expected: "(string | undefined)",
985
1041
  value: input.applicationName
@@ -991,7 +1047,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
991
1047
  path: _path + ".description",
992
1048
  expected: "(string | undefined)",
993
1049
  value: input.description
994
- })].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.roles || (Array.isArray(input.roles) || _report(_exceptionable, {
1050
+ })].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.roles || (Array.isArray(input.roles) || _report(_exceptionable, {
995
1051
  path: _path + ".roles",
996
1052
  expected: "(Array<string> | undefined)",
997
1053
  value: input.roles
@@ -1015,7 +1071,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1015
1071
  path: _path + ".applicationName",
1016
1072
  expected: "(string | undefined)",
1017
1073
  value: input.applicationName
1018
- })].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => ["string" === typeof input.moduleName || _report(_exceptionable, {
1074
+ })].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.moduleName || _report(_exceptionable, {
1019
1075
  path: _path + ".moduleName",
1020
1076
  expected: "string",
1021
1077
  value: input.moduleName
@@ -1023,11 +1079,11 @@ describe('BootstrapSyncMetadata - type validations', () => {
1023
1079
  path: _path + ".customProps",
1024
1080
  expected: "Record<string, any>",
1025
1081
  value: input.customProps
1026
- })) && _vo17(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
1082
+ })) && _vo18(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
1027
1083
  path: _path + ".customProps",
1028
1084
  expected: "Record<string, any>",
1029
1085
  value: input.customProps
1030
- })].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
1086
+ })].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
1031
1087
  const value = input[key];
1032
1088
  if (undefined === value)
1033
1089
  return true;
@@ -1087,12 +1143,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
1087
1143
  scopedTo: "any"
1088
1144
  },
1089
1145
  };
1090
- const result = (() => { const _io0 = input => "object" === typeof input.syncConfig && null !== input.syncConfig && _io1(input.syncConfig) && (undefined === input.sharedLibraries || Array.isArray(input.sharedLibraries) && input.sharedLibraries.every(elem => "object" === typeof elem && null !== elem && _io2(elem))) && (undefined === input.featureFlags || Array.isArray(input.featureFlags) && input.featureFlags.every(elem => "object" === typeof elem && null !== elem && _io3(elem))) && (undefined === input.catalog || Array.isArray(input.catalog) && input.catalog.every(elem => "object" === typeof elem && null !== elem && _io5(elem))) && (undefined === input.applicationsAuthz || Array.isArray(input.applicationsAuthz) && input.applicationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io13(elem))) && (undefined === input.rolesAuthz || Array.isArray(input.rolesAuthz) && input.rolesAuthz.every(elem => "object" === typeof elem && null !== elem && _io14(elem))) && (undefined === input.operationsAuthz || Array.isArray(input.operationsAuthz) && input.operationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io15(elem))) && (undefined === input.modulesConfig || Array.isArray(input.modulesConfig) && input.modulesConfig.every(elem => "object" === typeof elem && null !== elem && _io16(elem))); const _io1 = input => "string" === typeof input.scopedTo; const _io2 = input => "string" === typeof input.name && "string" === typeof input.url && (undefined === input.description || "string" === typeof input.description); const _io3 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.constraints || Array.isArray(input.constraints) && input.constraints.every(elem => "object" === typeof elem && null !== elem && _io4(elem))); const _io4 = input => "string" === typeof input.contextName && "string" === typeof input.operator && (undefined === input.values || Array.isArray(input.values) && input.values.every(elem => "string" === typeof elem)); const _io5 = input => "string" === typeof input.name && "string" === typeof input.displayName && ("service" === input.type || "app" === input.type || "tool" === input.type || "utility" === input.type || "cloud-function" === input.type || "documentation" === input.type) && "string" === typeof input.baseUrl && ("object" === typeof input.service && null !== input.service && _io6(input.service)) && (Array.isArray(input.dependsOn) && input.dependsOn.every(elem => "string" === typeof elem)) && (undefined === input.commonPaths || "object" === typeof input.commonPaths && null !== input.commonPaths && false === Array.isArray(input.commonPaths) && _io7(input.commonPaths)) && (undefined === input.ui || "object" === typeof input.ui && null !== input.ui && _io8(input.ui)) && (undefined === input.cloudFunction || "object" === typeof input.cloudFunction && null !== input.cloudFunction && _io10(input.cloudFunction)) && (undefined === input.authorization || "object" === typeof input.authorization && null !== input.authorization && false === Array.isArray(input.authorization) && _io11(input.authorization)) && (undefined === input.application || "string" === typeof input.application) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.isPublic || "boolean" === typeof input.isPublic) && (undefined === input.id || "number" === typeof input.id); const _io6 = input => "string" === typeof input.host && "number" === typeof input.port && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io7 = input => (undefined === input.apiDocs || "string" === typeof input.apiDocs) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.health || "string" === typeof input.health) && (undefined === input.changelog || "string" === typeof input.changelog); const _io8 = input => "string" === typeof input.route && (null === input.mountAtSelector || undefined === input.mountAtSelector || "string" === typeof input.mountAtSelector) && "string" === typeof input.bundleFile && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io9(input.customProps)) && (undefined === input.shell || "boolean" === typeof input.shell) && (undefined === input.isPlatformCustomization || "boolean" === typeof input.isPlatformCustomization); const _io9 = input => Object.keys(input).every(key => {
1146
+ const result = (() => { const _io0 = input => "object" === typeof input.syncConfig && null !== input.syncConfig && _io1(input.syncConfig) && (undefined === input.sharedLibraries || Array.isArray(input.sharedLibraries) && input.sharedLibraries.every(elem => "object" === typeof elem && null !== elem && _io2(elem))) && (undefined === input.featureFlags || Array.isArray(input.featureFlags) && input.featureFlags.every(elem => "object" === typeof elem && null !== elem && _io3(elem))) && (undefined === input.catalog || Array.isArray(input.catalog) && input.catalog.every(elem => "object" === typeof elem && null !== elem && _io5(elem))) && (undefined === input.applicationsAuthz || Array.isArray(input.applicationsAuthz) && input.applicationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io14(elem))) && (undefined === input.rolesAuthz || Array.isArray(input.rolesAuthz) && input.rolesAuthz.every(elem => "object" === typeof elem && null !== elem && _io15(elem))) && (undefined === input.operationsAuthz || Array.isArray(input.operationsAuthz) && input.operationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io16(elem))) && (undefined === input.modulesConfig || Array.isArray(input.modulesConfig) && input.modulesConfig.every(elem => "object" === typeof elem && null !== elem && _io17(elem))); const _io1 = input => "string" === typeof input.scopedTo; const _io2 = input => "string" === typeof input.name && "string" === typeof input.url && (undefined === input.description || "string" === typeof input.description); const _io3 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.applicationName || "string" === typeof input.applicationName) && (undefined === input.constraints || Array.isArray(input.constraints) && input.constraints.every(elem => "object" === typeof elem && null !== elem && _io4(elem))); const _io4 = input => "string" === typeof input.contextName && "string" === typeof input.operator && (undefined === input.values || Array.isArray(input.values) && input.values.every(elem => "string" === typeof elem)); const _io5 = input => "string" === typeof input.name && "string" === typeof input.displayName && ("service" === input.type || "app" === input.type || "tool" === input.type || "utility" === input.type || "cloud-function" === input.type || "documentation" === input.type) && "string" === typeof input.baseUrl && ("object" === typeof input.service && null !== input.service && _io6(input.service)) && (Array.isArray(input.dependsOn) && input.dependsOn.every(elem => "string" === typeof elem)) && (undefined === input.commonPaths || "object" === typeof input.commonPaths && null !== input.commonPaths && false === Array.isArray(input.commonPaths) && _io7(input.commonPaths)) && (undefined === input.ui || "object" === typeof input.ui && null !== input.ui && _io8(input.ui)) && (undefined === input.cloudFunction || "object" === typeof input.cloudFunction && null !== input.cloudFunction && _io10(input.cloudFunction)) && (undefined === input.authorization || "object" === typeof input.authorization && null !== input.authorization && false === Array.isArray(input.authorization) && _io11(input.authorization)) && (undefined === input.application || "string" === typeof input.application) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.isPublic || "boolean" === typeof input.isPublic) && (undefined === input.id || "number" === typeof input.id) && (undefined === input.serviceLocal || "object" === typeof input.serviceLocal && null !== input.serviceLocal && false === Array.isArray(input.serviceLocal) && _io13(input.serviceLocal)); const _io6 = input => "string" === typeof input.host && "number" === typeof input.port && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io7 = input => (undefined === input.apiDocs || "string" === typeof input.apiDocs) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.health || "string" === typeof input.health) && (undefined === input.changelog || "string" === typeof input.changelog); const _io8 = input => "string" === typeof input.route && (null === input.mountAtSelector || undefined === input.mountAtSelector || "string" === typeof input.mountAtSelector) && "string" === typeof input.bundleFile && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io9(input.customProps)) && (undefined === input.shell || "boolean" === typeof input.shell) && (undefined === input.isPlatformCustomization || "boolean" === typeof input.isPlatformCustomization); const _io9 = input => Object.keys(input).every(key => {
1091
1147
  const value = input[key];
1092
1148
  if (undefined === value)
1093
1149
  return true;
1094
1150
  return true;
1095
- }); const _io10 = input => "aws" === input.provider && "boolean" === typeof input.requiresSignature; const _io11 = input => (undefined === input.operations || Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)) && (undefined === input.routes || Array.isArray(input.routes) && input.routes.every(elem => "object" === typeof elem && null !== elem && _io12(elem))); const _io12 = input => (undefined === input.methods || Array.isArray(input.methods) && input.methods.every(elem => "GET" === elem || "POST" === elem || "PUT" === elem || "DELETE" === elem || "PATCH" === elem || "OPTIONS" === elem || "HEAD" === elem || "CONNECT" === elem || "TRACE" === elem)) && "string" === typeof input.pattern && (Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)); const _io13 = input => "string" === typeof input.name && (undefined === input.displayName || "string" === typeof input.displayName) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.allowedByDefault || "boolean" === typeof input.allowedByDefault); const _io14 = input => (undefined === input.applicationName || "string" === typeof input.applicationName) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io15 = input => (undefined === input.roles || Array.isArray(input.roles) && input.roles.every(elem => "string" === typeof elem)) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io16 = input => "string" === typeof input.moduleName && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io17(input.customProps)); const _io17 = input => Object.keys(input).every(key => {
1151
+ }); const _io10 = input => "aws" === input.provider && "boolean" === typeof input.requiresSignature; const _io11 = input => (undefined === input.operations || Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)) && (undefined === input.routes || Array.isArray(input.routes) && input.routes.every(elem => "object" === typeof elem && null !== elem && _io12(elem))); const _io12 = input => (undefined === input.methods || Array.isArray(input.methods) && input.methods.every(elem => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem)) && "string" === typeof input.pattern && (Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)); const _io13 = input => (undefined === input.host || "string" === typeof input.host) && (undefined === input.port || "number" === typeof input.port) && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io14 = input => "string" === typeof input.name && (undefined === input.displayName || "string" === typeof input.displayName) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.allowedByDefault || "boolean" === typeof input.allowedByDefault); const _io15 = input => (undefined === input.applicationName || "string" === typeof input.applicationName) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io16 = input => (undefined === input.roles || Array.isArray(input.roles) && input.roles.every(elem => "string" === typeof elem)) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io17 = input => "string" === typeof input.moduleName && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io18(input.customProps)); const _io18 = input => Object.keys(input).every(key => {
1096
1152
  const value = input[key];
1097
1153
  if (undefined === value)
1098
1154
  return true;
@@ -1139,19 +1195,19 @@ describe('BootstrapSyncMetadata - type validations', () => {
1139
1195
  value: input.featureFlags
1140
1196
  }), undefined === input.catalog || (Array.isArray(input.catalog) || _report(_exceptionable, {
1141
1197
  path: _path + ".catalog",
1142
- expected: "(Array<CreateOrUpdateModule> | undefined)",
1198
+ expected: "(Array<BootstrapModule> | undefined)",
1143
1199
  value: input.catalog
1144
1200
  })) && input.catalog.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1145
1201
  path: _path + ".catalog[" + _index18 + "]",
1146
- expected: "CreateOrUpdateModule",
1202
+ expected: "BootstrapModule",
1147
1203
  value: elem
1148
1204
  })) && _vo5(elem, _path + ".catalog[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
1149
1205
  path: _path + ".catalog[" + _index18 + "]",
1150
- expected: "CreateOrUpdateModule",
1206
+ expected: "BootstrapModule",
1151
1207
  value: elem
1152
1208
  })).every(flag => flag) || _report(_exceptionable, {
1153
1209
  path: _path + ".catalog",
1154
- expected: "(Array<CreateOrUpdateModule> | undefined)",
1210
+ expected: "(Array<BootstrapModule> | undefined)",
1155
1211
  value: input.catalog
1156
1212
  }), undefined === input.applicationsAuthz || (Array.isArray(input.applicationsAuthz) || _report(_exceptionable, {
1157
1213
  path: _path + ".applicationsAuthz",
@@ -1161,7 +1217,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1161
1217
  path: _path + ".applicationsAuthz[" + _index19 + "]",
1162
1218
  expected: "CreateApplicationDTO",
1163
1219
  value: elem
1164
- })) && _vo13(elem, _path + ".applicationsAuthz[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
1220
+ })) && _vo14(elem, _path + ".applicationsAuthz[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
1165
1221
  path: _path + ".applicationsAuthz[" + _index19 + "]",
1166
1222
  expected: "CreateApplicationDTO",
1167
1223
  value: elem
@@ -1177,7 +1233,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1177
1233
  path: _path + ".rolesAuthz[" + _index20 + "]",
1178
1234
  expected: "CreateRoleDTO",
1179
1235
  value: elem
1180
- })) && _vo14(elem, _path + ".rolesAuthz[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
1236
+ })) && _vo15(elem, _path + ".rolesAuthz[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
1181
1237
  path: _path + ".rolesAuthz[" + _index20 + "]",
1182
1238
  expected: "CreateRoleDTO",
1183
1239
  value: elem
@@ -1193,7 +1249,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1193
1249
  path: _path + ".operationsAuthz[" + _index21 + "]",
1194
1250
  expected: "OperationAuthzBootstrap",
1195
1251
  value: elem
1196
- })) && _vo15(elem, _path + ".operationsAuthz[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
1252
+ })) && _vo16(elem, _path + ".operationsAuthz[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
1197
1253
  path: _path + ".operationsAuthz[" + _index21 + "]",
1198
1254
  expected: "OperationAuthzBootstrap",
1199
1255
  value: elem
@@ -1209,7 +1265,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1209
1265
  path: _path + ".modulesConfig[" + _index22 + "]",
1210
1266
  expected: "UpdateModuleUIConfigDTO",
1211
1267
  value: elem
1212
- })) && _vo16(elem, _path + ".modulesConfig[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
1268
+ })) && _vo17(elem, _path + ".modulesConfig[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
1213
1269
  path: _path + ".modulesConfig[" + _index22 + "]",
1214
1270
  expected: "UpdateModuleUIConfigDTO",
1215
1271
  value: elem
@@ -1245,6 +1301,10 @@ describe('BootstrapSyncMetadata - type validations', () => {
1245
1301
  path: _path + ".enabled",
1246
1302
  expected: "(boolean | undefined)",
1247
1303
  value: input.enabled
1304
+ }), undefined === input.applicationName || "string" === typeof input.applicationName || _report(_exceptionable, {
1305
+ path: _path + ".applicationName",
1306
+ expected: "(string | undefined)",
1307
+ value: input.applicationName
1248
1308
  }), undefined === input.constraints || (Array.isArray(input.constraints) || _report(_exceptionable, {
1249
1309
  path: _path + ".constraints",
1250
1310
  expected: "(Array<__type> | undefined)",
@@ -1365,6 +1425,14 @@ describe('BootstrapSyncMetadata - type validations', () => {
1365
1425
  path: _path + ".id",
1366
1426
  expected: "(number | undefined)",
1367
1427
  value: input.id
1428
+ }), undefined === input.serviceLocal || ("object" === typeof input.serviceLocal && null !== input.serviceLocal && false === Array.isArray(input.serviceLocal) || _report(_exceptionable, {
1429
+ path: _path + ".serviceLocal",
1430
+ expected: "(Partial<ServiceConfig> | undefined)",
1431
+ value: input.serviceLocal
1432
+ })) && _vo13(input.serviceLocal, _path + ".serviceLocal", true && _exceptionable) || _report(_exceptionable, {
1433
+ path: _path + ".serviceLocal",
1434
+ expected: "(Partial<ServiceConfig> | undefined)",
1435
+ value: input.serviceLocal
1368
1436
  })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.host || _report(_exceptionable, {
1369
1437
  path: _path + ".host",
1370
1438
  expected: "string",
@@ -1470,7 +1538,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1470
1538
  path: _path + ".methods",
1471
1539
  expected: "(Array<HttpMethod> | undefined)",
1472
1540
  value: input.methods
1473
- })) && input.methods.map((elem, _index28) => "GET" === elem || "POST" === elem || "PUT" === elem || "DELETE" === elem || "PATCH" === elem || "OPTIONS" === elem || "HEAD" === elem || "CONNECT" === elem || "TRACE" === elem || _report(_exceptionable, {
1541
+ })) && input.methods.map((elem, _index28) => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem || _report(_exceptionable, {
1474
1542
  path: _path + ".methods[" + _index28 + "]",
1475
1543
  expected: "(\"CONNECT\" | \"DELETE\" | \"GET\" | \"HEAD\" | \"OPTIONS\" | \"PATCH\" | \"POST\" | \"PUT\" | \"TRACE\")",
1476
1544
  value: elem
@@ -1494,7 +1562,23 @@ describe('BootstrapSyncMetadata - type validations', () => {
1494
1562
  path: _path + ".operations",
1495
1563
  expected: "Array<string>",
1496
1564
  value: input.operations
1497
- })].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
1565
+ })].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
1566
+ path: _path + ".host",
1567
+ expected: "(string | undefined)",
1568
+ value: input.host
1569
+ }), undefined === input.port || "number" === typeof input.port || _report(_exceptionable, {
1570
+ path: _path + ".port",
1571
+ expected: "(number | undefined)",
1572
+ value: input.port
1573
+ }), undefined === input.protocol || "string" === typeof input.protocol || _report(_exceptionable, {
1574
+ path: _path + ".protocol",
1575
+ expected: "(string | undefined)",
1576
+ value: input.protocol
1577
+ }), undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL || _report(_exceptionable, {
1578
+ path: _path + ".includeBaseURL",
1579
+ expected: "(boolean | undefined)",
1580
+ value: input.includeBaseURL
1581
+ })].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
1498
1582
  path: _path + ".name",
1499
1583
  expected: "string",
1500
1584
  value: input.name
@@ -1510,7 +1594,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1510
1594
  path: _path + ".allowedByDefault",
1511
1595
  expected: "(boolean | undefined)",
1512
1596
  value: input.allowedByDefault
1513
- })].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.applicationName || "string" === typeof input.applicationName || _report(_exceptionable, {
1597
+ })].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.applicationName || "string" === typeof input.applicationName || _report(_exceptionable, {
1514
1598
  path: _path + ".applicationName",
1515
1599
  expected: "(string | undefined)",
1516
1600
  value: input.applicationName
@@ -1522,7 +1606,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1522
1606
  path: _path + ".description",
1523
1607
  expected: "(string | undefined)",
1524
1608
  value: input.description
1525
- })].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.roles || (Array.isArray(input.roles) || _report(_exceptionable, {
1609
+ })].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.roles || (Array.isArray(input.roles) || _report(_exceptionable, {
1526
1610
  path: _path + ".roles",
1527
1611
  expected: "(Array<string> | undefined)",
1528
1612
  value: input.roles
@@ -1546,7 +1630,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1546
1630
  path: _path + ".applicationName",
1547
1631
  expected: "(string | undefined)",
1548
1632
  value: input.applicationName
1549
- })].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => ["string" === typeof input.moduleName || _report(_exceptionable, {
1633
+ })].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.moduleName || _report(_exceptionable, {
1550
1634
  path: _path + ".moduleName",
1551
1635
  expected: "string",
1552
1636
  value: input.moduleName
@@ -1554,11 +1638,11 @@ describe('BootstrapSyncMetadata - type validations', () => {
1554
1638
  path: _path + ".customProps",
1555
1639
  expected: "Record<string, any>",
1556
1640
  value: input.customProps
1557
- })) && _vo17(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
1641
+ })) && _vo18(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
1558
1642
  path: _path + ".customProps",
1559
1643
  expected: "Record<string, any>",
1560
1644
  value: input.customProps
1561
- })].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
1645
+ })].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
1562
1646
  const value = input[key];
1563
1647
  if (undefined === value)
1564
1648
  return true;
@@ -1618,12 +1702,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
1618
1702
  scopedTo: "any"
1619
1703
  },
1620
1704
  };
1621
- const result = (() => { const _io0 = input => "object" === typeof input.syncConfig && null !== input.syncConfig && _io1(input.syncConfig) && (undefined === input.sharedLibraries || Array.isArray(input.sharedLibraries) && input.sharedLibraries.every(elem => "object" === typeof elem && null !== elem && _io2(elem))) && (undefined === input.featureFlags || Array.isArray(input.featureFlags) && input.featureFlags.every(elem => "object" === typeof elem && null !== elem && _io3(elem))) && (undefined === input.catalog || Array.isArray(input.catalog) && input.catalog.every(elem => "object" === typeof elem && null !== elem && _io5(elem))) && (undefined === input.applicationsAuthz || Array.isArray(input.applicationsAuthz) && input.applicationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io13(elem))) && (undefined === input.rolesAuthz || Array.isArray(input.rolesAuthz) && input.rolesAuthz.every(elem => "object" === typeof elem && null !== elem && _io14(elem))) && (undefined === input.operationsAuthz || Array.isArray(input.operationsAuthz) && input.operationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io15(elem))) && (undefined === input.modulesConfig || Array.isArray(input.modulesConfig) && input.modulesConfig.every(elem => "object" === typeof elem && null !== elem && _io16(elem))); const _io1 = input => "string" === typeof input.scopedTo; const _io2 = input => "string" === typeof input.name && "string" === typeof input.url && (undefined === input.description || "string" === typeof input.description); const _io3 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.constraints || Array.isArray(input.constraints) && input.constraints.every(elem => "object" === typeof elem && null !== elem && _io4(elem))); const _io4 = input => "string" === typeof input.contextName && "string" === typeof input.operator && (undefined === input.values || Array.isArray(input.values) && input.values.every(elem => "string" === typeof elem)); const _io5 = input => "string" === typeof input.name && "string" === typeof input.displayName && ("service" === input.type || "app" === input.type || "tool" === input.type || "utility" === input.type || "cloud-function" === input.type || "documentation" === input.type) && "string" === typeof input.baseUrl && ("object" === typeof input.service && null !== input.service && _io6(input.service)) && (Array.isArray(input.dependsOn) && input.dependsOn.every(elem => "string" === typeof elem)) && (undefined === input.commonPaths || "object" === typeof input.commonPaths && null !== input.commonPaths && false === Array.isArray(input.commonPaths) && _io7(input.commonPaths)) && (undefined === input.ui || "object" === typeof input.ui && null !== input.ui && _io8(input.ui)) && (undefined === input.cloudFunction || "object" === typeof input.cloudFunction && null !== input.cloudFunction && _io10(input.cloudFunction)) && (undefined === input.authorization || "object" === typeof input.authorization && null !== input.authorization && false === Array.isArray(input.authorization) && _io11(input.authorization)) && (undefined === input.application || "string" === typeof input.application) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.isPublic || "boolean" === typeof input.isPublic) && (undefined === input.id || "number" === typeof input.id); const _io6 = input => "string" === typeof input.host && "number" === typeof input.port && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io7 = input => (undefined === input.apiDocs || "string" === typeof input.apiDocs) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.health || "string" === typeof input.health) && (undefined === input.changelog || "string" === typeof input.changelog); const _io8 = input => "string" === typeof input.route && (null === input.mountAtSelector || undefined === input.mountAtSelector || "string" === typeof input.mountAtSelector) && "string" === typeof input.bundleFile && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io9(input.customProps)) && (undefined === input.shell || "boolean" === typeof input.shell) && (undefined === input.isPlatformCustomization || "boolean" === typeof input.isPlatformCustomization); const _io9 = input => Object.keys(input).every(key => {
1705
+ const result = (() => { const _io0 = input => "object" === typeof input.syncConfig && null !== input.syncConfig && _io1(input.syncConfig) && (undefined === input.sharedLibraries || Array.isArray(input.sharedLibraries) && input.sharedLibraries.every(elem => "object" === typeof elem && null !== elem && _io2(elem))) && (undefined === input.featureFlags || Array.isArray(input.featureFlags) && input.featureFlags.every(elem => "object" === typeof elem && null !== elem && _io3(elem))) && (undefined === input.catalog || Array.isArray(input.catalog) && input.catalog.every(elem => "object" === typeof elem && null !== elem && _io5(elem))) && (undefined === input.applicationsAuthz || Array.isArray(input.applicationsAuthz) && input.applicationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io14(elem))) && (undefined === input.rolesAuthz || Array.isArray(input.rolesAuthz) && input.rolesAuthz.every(elem => "object" === typeof elem && null !== elem && _io15(elem))) && (undefined === input.operationsAuthz || Array.isArray(input.operationsAuthz) && input.operationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io16(elem))) && (undefined === input.modulesConfig || Array.isArray(input.modulesConfig) && input.modulesConfig.every(elem => "object" === typeof elem && null !== elem && _io17(elem))); const _io1 = input => "string" === typeof input.scopedTo; const _io2 = input => "string" === typeof input.name && "string" === typeof input.url && (undefined === input.description || "string" === typeof input.description); const _io3 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.applicationName || "string" === typeof input.applicationName) && (undefined === input.constraints || Array.isArray(input.constraints) && input.constraints.every(elem => "object" === typeof elem && null !== elem && _io4(elem))); const _io4 = input => "string" === typeof input.contextName && "string" === typeof input.operator && (undefined === input.values || Array.isArray(input.values) && input.values.every(elem => "string" === typeof elem)); const _io5 = input => "string" === typeof input.name && "string" === typeof input.displayName && ("service" === input.type || "app" === input.type || "tool" === input.type || "utility" === input.type || "cloud-function" === input.type || "documentation" === input.type) && "string" === typeof input.baseUrl && ("object" === typeof input.service && null !== input.service && _io6(input.service)) && (Array.isArray(input.dependsOn) && input.dependsOn.every(elem => "string" === typeof elem)) && (undefined === input.commonPaths || "object" === typeof input.commonPaths && null !== input.commonPaths && false === Array.isArray(input.commonPaths) && _io7(input.commonPaths)) && (undefined === input.ui || "object" === typeof input.ui && null !== input.ui && _io8(input.ui)) && (undefined === input.cloudFunction || "object" === typeof input.cloudFunction && null !== input.cloudFunction && _io10(input.cloudFunction)) && (undefined === input.authorization || "object" === typeof input.authorization && null !== input.authorization && false === Array.isArray(input.authorization) && _io11(input.authorization)) && (undefined === input.application || "string" === typeof input.application) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.isPublic || "boolean" === typeof input.isPublic) && (undefined === input.id || "number" === typeof input.id) && (undefined === input.serviceLocal || "object" === typeof input.serviceLocal && null !== input.serviceLocal && false === Array.isArray(input.serviceLocal) && _io13(input.serviceLocal)); const _io6 = input => "string" === typeof input.host && "number" === typeof input.port && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io7 = input => (undefined === input.apiDocs || "string" === typeof input.apiDocs) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.health || "string" === typeof input.health) && (undefined === input.changelog || "string" === typeof input.changelog); const _io8 = input => "string" === typeof input.route && (null === input.mountAtSelector || undefined === input.mountAtSelector || "string" === typeof input.mountAtSelector) && "string" === typeof input.bundleFile && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io9(input.customProps)) && (undefined === input.shell || "boolean" === typeof input.shell) && (undefined === input.isPlatformCustomization || "boolean" === typeof input.isPlatformCustomization); const _io9 = input => Object.keys(input).every(key => {
1622
1706
  const value = input[key];
1623
1707
  if (undefined === value)
1624
1708
  return true;
1625
1709
  return true;
1626
- }); const _io10 = input => "aws" === input.provider && "boolean" === typeof input.requiresSignature; const _io11 = input => (undefined === input.operations || Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)) && (undefined === input.routes || Array.isArray(input.routes) && input.routes.every(elem => "object" === typeof elem && null !== elem && _io12(elem))); const _io12 = input => (undefined === input.methods || Array.isArray(input.methods) && input.methods.every(elem => "GET" === elem || "POST" === elem || "PUT" === elem || "DELETE" === elem || "PATCH" === elem || "OPTIONS" === elem || "HEAD" === elem || "CONNECT" === elem || "TRACE" === elem)) && "string" === typeof input.pattern && (Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)); const _io13 = input => "string" === typeof input.name && (undefined === input.displayName || "string" === typeof input.displayName) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.allowedByDefault || "boolean" === typeof input.allowedByDefault); const _io14 = input => (undefined === input.applicationName || "string" === typeof input.applicationName) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io15 = input => (undefined === input.roles || Array.isArray(input.roles) && input.roles.every(elem => "string" === typeof elem)) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io16 = input => "string" === typeof input.moduleName && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io17(input.customProps)); const _io17 = input => Object.keys(input).every(key => {
1710
+ }); const _io10 = input => "aws" === input.provider && "boolean" === typeof input.requiresSignature; const _io11 = input => (undefined === input.operations || Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)) && (undefined === input.routes || Array.isArray(input.routes) && input.routes.every(elem => "object" === typeof elem && null !== elem && _io12(elem))); const _io12 = input => (undefined === input.methods || Array.isArray(input.methods) && input.methods.every(elem => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem)) && "string" === typeof input.pattern && (Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)); const _io13 = input => (undefined === input.host || "string" === typeof input.host) && (undefined === input.port || "number" === typeof input.port) && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io14 = input => "string" === typeof input.name && (undefined === input.displayName || "string" === typeof input.displayName) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.allowedByDefault || "boolean" === typeof input.allowedByDefault); const _io15 = input => (undefined === input.applicationName || "string" === typeof input.applicationName) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io16 = input => (undefined === input.roles || Array.isArray(input.roles) && input.roles.every(elem => "string" === typeof elem)) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io17 = input => "string" === typeof input.moduleName && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io18(input.customProps)); const _io18 = input => Object.keys(input).every(key => {
1627
1711
  const value = input[key];
1628
1712
  if (undefined === value)
1629
1713
  return true;
@@ -1670,19 +1754,19 @@ describe('BootstrapSyncMetadata - type validations', () => {
1670
1754
  value: input.featureFlags
1671
1755
  }), undefined === input.catalog || (Array.isArray(input.catalog) || _report(_exceptionable, {
1672
1756
  path: _path + ".catalog",
1673
- expected: "(Array<CreateOrUpdateModule> | undefined)",
1757
+ expected: "(Array<BootstrapModule> | undefined)",
1674
1758
  value: input.catalog
1675
1759
  })) && input.catalog.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1676
1760
  path: _path + ".catalog[" + _index18 + "]",
1677
- expected: "CreateOrUpdateModule",
1761
+ expected: "BootstrapModule",
1678
1762
  value: elem
1679
1763
  })) && _vo5(elem, _path + ".catalog[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
1680
1764
  path: _path + ".catalog[" + _index18 + "]",
1681
- expected: "CreateOrUpdateModule",
1765
+ expected: "BootstrapModule",
1682
1766
  value: elem
1683
1767
  })).every(flag => flag) || _report(_exceptionable, {
1684
1768
  path: _path + ".catalog",
1685
- expected: "(Array<CreateOrUpdateModule> | undefined)",
1769
+ expected: "(Array<BootstrapModule> | undefined)",
1686
1770
  value: input.catalog
1687
1771
  }), undefined === input.applicationsAuthz || (Array.isArray(input.applicationsAuthz) || _report(_exceptionable, {
1688
1772
  path: _path + ".applicationsAuthz",
@@ -1692,7 +1776,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1692
1776
  path: _path + ".applicationsAuthz[" + _index19 + "]",
1693
1777
  expected: "CreateApplicationDTO",
1694
1778
  value: elem
1695
- })) && _vo13(elem, _path + ".applicationsAuthz[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
1779
+ })) && _vo14(elem, _path + ".applicationsAuthz[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
1696
1780
  path: _path + ".applicationsAuthz[" + _index19 + "]",
1697
1781
  expected: "CreateApplicationDTO",
1698
1782
  value: elem
@@ -1708,7 +1792,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1708
1792
  path: _path + ".rolesAuthz[" + _index20 + "]",
1709
1793
  expected: "CreateRoleDTO",
1710
1794
  value: elem
1711
- })) && _vo14(elem, _path + ".rolesAuthz[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
1795
+ })) && _vo15(elem, _path + ".rolesAuthz[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
1712
1796
  path: _path + ".rolesAuthz[" + _index20 + "]",
1713
1797
  expected: "CreateRoleDTO",
1714
1798
  value: elem
@@ -1724,7 +1808,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1724
1808
  path: _path + ".operationsAuthz[" + _index21 + "]",
1725
1809
  expected: "OperationAuthzBootstrap",
1726
1810
  value: elem
1727
- })) && _vo15(elem, _path + ".operationsAuthz[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
1811
+ })) && _vo16(elem, _path + ".operationsAuthz[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
1728
1812
  path: _path + ".operationsAuthz[" + _index21 + "]",
1729
1813
  expected: "OperationAuthzBootstrap",
1730
1814
  value: elem
@@ -1740,7 +1824,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1740
1824
  path: _path + ".modulesConfig[" + _index22 + "]",
1741
1825
  expected: "UpdateModuleUIConfigDTO",
1742
1826
  value: elem
1743
- })) && _vo16(elem, _path + ".modulesConfig[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
1827
+ })) && _vo17(elem, _path + ".modulesConfig[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
1744
1828
  path: _path + ".modulesConfig[" + _index22 + "]",
1745
1829
  expected: "UpdateModuleUIConfigDTO",
1746
1830
  value: elem
@@ -1776,6 +1860,10 @@ describe('BootstrapSyncMetadata - type validations', () => {
1776
1860
  path: _path + ".enabled",
1777
1861
  expected: "(boolean | undefined)",
1778
1862
  value: input.enabled
1863
+ }), undefined === input.applicationName || "string" === typeof input.applicationName || _report(_exceptionable, {
1864
+ path: _path + ".applicationName",
1865
+ expected: "(string | undefined)",
1866
+ value: input.applicationName
1779
1867
  }), undefined === input.constraints || (Array.isArray(input.constraints) || _report(_exceptionable, {
1780
1868
  path: _path + ".constraints",
1781
1869
  expected: "(Array<__type> | undefined)",
@@ -1896,6 +1984,14 @@ describe('BootstrapSyncMetadata - type validations', () => {
1896
1984
  path: _path + ".id",
1897
1985
  expected: "(number | undefined)",
1898
1986
  value: input.id
1987
+ }), undefined === input.serviceLocal || ("object" === typeof input.serviceLocal && null !== input.serviceLocal && false === Array.isArray(input.serviceLocal) || _report(_exceptionable, {
1988
+ path: _path + ".serviceLocal",
1989
+ expected: "(Partial<ServiceConfig> | undefined)",
1990
+ value: input.serviceLocal
1991
+ })) && _vo13(input.serviceLocal, _path + ".serviceLocal", true && _exceptionable) || _report(_exceptionable, {
1992
+ path: _path + ".serviceLocal",
1993
+ expected: "(Partial<ServiceConfig> | undefined)",
1994
+ value: input.serviceLocal
1899
1995
  })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.host || _report(_exceptionable, {
1900
1996
  path: _path + ".host",
1901
1997
  expected: "string",
@@ -2001,7 +2097,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
2001
2097
  path: _path + ".methods",
2002
2098
  expected: "(Array<HttpMethod> | undefined)",
2003
2099
  value: input.methods
2004
- })) && input.methods.map((elem, _index28) => "GET" === elem || "POST" === elem || "PUT" === elem || "DELETE" === elem || "PATCH" === elem || "OPTIONS" === elem || "HEAD" === elem || "CONNECT" === elem || "TRACE" === elem || _report(_exceptionable, {
2100
+ })) && input.methods.map((elem, _index28) => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem || _report(_exceptionable, {
2005
2101
  path: _path + ".methods[" + _index28 + "]",
2006
2102
  expected: "(\"CONNECT\" | \"DELETE\" | \"GET\" | \"HEAD\" | \"OPTIONS\" | \"PATCH\" | \"POST\" | \"PUT\" | \"TRACE\")",
2007
2103
  value: elem
@@ -2025,7 +2121,23 @@ describe('BootstrapSyncMetadata - type validations', () => {
2025
2121
  path: _path + ".operations",
2026
2122
  expected: "Array<string>",
2027
2123
  value: input.operations
2028
- })].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
2124
+ })].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
2125
+ path: _path + ".host",
2126
+ expected: "(string | undefined)",
2127
+ value: input.host
2128
+ }), undefined === input.port || "number" === typeof input.port || _report(_exceptionable, {
2129
+ path: _path + ".port",
2130
+ expected: "(number | undefined)",
2131
+ value: input.port
2132
+ }), undefined === input.protocol || "string" === typeof input.protocol || _report(_exceptionable, {
2133
+ path: _path + ".protocol",
2134
+ expected: "(string | undefined)",
2135
+ value: input.protocol
2136
+ }), undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL || _report(_exceptionable, {
2137
+ path: _path + ".includeBaseURL",
2138
+ expected: "(boolean | undefined)",
2139
+ value: input.includeBaseURL
2140
+ })].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
2029
2141
  path: _path + ".name",
2030
2142
  expected: "string",
2031
2143
  value: input.name
@@ -2041,7 +2153,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
2041
2153
  path: _path + ".allowedByDefault",
2042
2154
  expected: "(boolean | undefined)",
2043
2155
  value: input.allowedByDefault
2044
- })].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.applicationName || "string" === typeof input.applicationName || _report(_exceptionable, {
2156
+ })].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.applicationName || "string" === typeof input.applicationName || _report(_exceptionable, {
2045
2157
  path: _path + ".applicationName",
2046
2158
  expected: "(string | undefined)",
2047
2159
  value: input.applicationName
@@ -2053,7 +2165,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
2053
2165
  path: _path + ".description",
2054
2166
  expected: "(string | undefined)",
2055
2167
  value: input.description
2056
- })].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.roles || (Array.isArray(input.roles) || _report(_exceptionable, {
2168
+ })].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.roles || (Array.isArray(input.roles) || _report(_exceptionable, {
2057
2169
  path: _path + ".roles",
2058
2170
  expected: "(Array<string> | undefined)",
2059
2171
  value: input.roles
@@ -2077,7 +2189,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
2077
2189
  path: _path + ".applicationName",
2078
2190
  expected: "(string | undefined)",
2079
2191
  value: input.applicationName
2080
- })].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => ["string" === typeof input.moduleName || _report(_exceptionable, {
2192
+ })].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.moduleName || _report(_exceptionable, {
2081
2193
  path: _path + ".moduleName",
2082
2194
  expected: "string",
2083
2195
  value: input.moduleName
@@ -2085,11 +2197,11 @@ describe('BootstrapSyncMetadata - type validations', () => {
2085
2197
  path: _path + ".customProps",
2086
2198
  expected: "Record<string, any>",
2087
2199
  value: input.customProps
2088
- })) && _vo17(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
2200
+ })) && _vo18(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
2089
2201
  path: _path + ".customProps",
2090
2202
  expected: "Record<string, any>",
2091
2203
  value: input.customProps
2092
- })].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
2204
+ })].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
2093
2205
  const value = input[key];
2094
2206
  if (undefined === value)
2095
2207
  return true;