@bluealba/pae-bootstrap-lib 2.1.3-develop-94 → 2.1.3-develop-117

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.
@@ -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.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); 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 => "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 => "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
@@ -328,6 +328,14 @@ describe('BootstrapSyncMetadata - type validations', () => {
328
328
  path: _path + ".id",
329
329
  expected: "(number | undefined)",
330
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
331
339
  })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.host || _report(_exceptionable, {
332
340
  path: _path + ".host",
333
341
  expected: "string",
@@ -457,7 +465,23 @@ describe('BootstrapSyncMetadata - type validations', () => {
457
465
  path: _path + ".operations",
458
466
  expected: "Array<string>",
459
467
  value: input.operations
460
- })].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, {
461
485
  path: _path + ".name",
462
486
  expected: "string",
463
487
  value: input.name
@@ -473,7 +497,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
473
497
  path: _path + ".allowedByDefault",
474
498
  expected: "(boolean | undefined)",
475
499
  value: input.allowedByDefault
476
- })].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, {
477
501
  path: _path + ".applicationName",
478
502
  expected: "(string | undefined)",
479
503
  value: input.applicationName
@@ -485,7 +509,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
485
509
  path: _path + ".description",
486
510
  expected: "(string | undefined)",
487
511
  value: input.description
488
- })].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, {
489
513
  path: _path + ".roles",
490
514
  expected: "(Array<string> | undefined)",
491
515
  value: input.roles
@@ -509,7 +533,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
509
533
  path: _path + ".applicationName",
510
534
  expected: "(string | undefined)",
511
535
  value: input.applicationName
512
- })].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, {
513
537
  path: _path + ".moduleName",
514
538
  expected: "string",
515
539
  value: input.moduleName
@@ -517,11 +541,11 @@ describe('BootstrapSyncMetadata - type validations', () => {
517
541
  path: _path + ".customProps",
518
542
  expected: "Record<string, any>",
519
543
  value: input.customProps
520
- })) && _vo17(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
544
+ })) && _vo18(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
521
545
  path: _path + ".customProps",
522
546
  expected: "Record<string, any>",
523
547
  value: input.customProps
524
- })].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 => {
525
549
  const value = input[key];
526
550
  if (undefined === value)
527
551
  return true;
@@ -560,12 +584,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
560
584
  const invalidObject = {
561
585
  invalidField: 'invalidValue',
562
586
  };
563
- 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.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); 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 => {
564
588
  const value = input[key];
565
589
  if (undefined === value)
566
590
  return true;
567
591
  return true;
568
- }); 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 => "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 => {
569
593
  const value = input[key];
570
594
  if (undefined === value)
571
595
  return true;
@@ -612,19 +636,19 @@ describe('BootstrapSyncMetadata - type validations', () => {
612
636
  value: input.featureFlags
613
637
  }), undefined === input.catalog || (Array.isArray(input.catalog) || _report(_exceptionable, {
614
638
  path: _path + ".catalog",
615
- expected: "(Array<CreateOrUpdateModule> | undefined)",
639
+ expected: "(Array<BootstrapModule> | undefined)",
616
640
  value: input.catalog
617
641
  })) && input.catalog.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
618
642
  path: _path + ".catalog[" + _index18 + "]",
619
- expected: "CreateOrUpdateModule",
643
+ expected: "BootstrapModule",
620
644
  value: elem
621
645
  })) && _vo5(elem, _path + ".catalog[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
622
646
  path: _path + ".catalog[" + _index18 + "]",
623
- expected: "CreateOrUpdateModule",
647
+ expected: "BootstrapModule",
624
648
  value: elem
625
649
  })).every(flag => flag) || _report(_exceptionable, {
626
650
  path: _path + ".catalog",
627
- expected: "(Array<CreateOrUpdateModule> | undefined)",
651
+ expected: "(Array<BootstrapModule> | undefined)",
628
652
  value: input.catalog
629
653
  }), undefined === input.applicationsAuthz || (Array.isArray(input.applicationsAuthz) || _report(_exceptionable, {
630
654
  path: _path + ".applicationsAuthz",
@@ -634,7 +658,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
634
658
  path: _path + ".applicationsAuthz[" + _index19 + "]",
635
659
  expected: "CreateApplicationDTO",
636
660
  value: elem
637
- })) && _vo13(elem, _path + ".applicationsAuthz[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
661
+ })) && _vo14(elem, _path + ".applicationsAuthz[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
638
662
  path: _path + ".applicationsAuthz[" + _index19 + "]",
639
663
  expected: "CreateApplicationDTO",
640
664
  value: elem
@@ -650,7 +674,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
650
674
  path: _path + ".rolesAuthz[" + _index20 + "]",
651
675
  expected: "CreateRoleDTO",
652
676
  value: elem
653
- })) && _vo14(elem, _path + ".rolesAuthz[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
677
+ })) && _vo15(elem, _path + ".rolesAuthz[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
654
678
  path: _path + ".rolesAuthz[" + _index20 + "]",
655
679
  expected: "CreateRoleDTO",
656
680
  value: elem
@@ -666,7 +690,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
666
690
  path: _path + ".operationsAuthz[" + _index21 + "]",
667
691
  expected: "OperationAuthzBootstrap",
668
692
  value: elem
669
- })) && _vo15(elem, _path + ".operationsAuthz[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
693
+ })) && _vo16(elem, _path + ".operationsAuthz[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
670
694
  path: _path + ".operationsAuthz[" + _index21 + "]",
671
695
  expected: "OperationAuthzBootstrap",
672
696
  value: elem
@@ -682,7 +706,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
682
706
  path: _path + ".modulesConfig[" + _index22 + "]",
683
707
  expected: "UpdateModuleUIConfigDTO",
684
708
  value: elem
685
- })) && _vo16(elem, _path + ".modulesConfig[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
709
+ })) && _vo17(elem, _path + ".modulesConfig[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
686
710
  path: _path + ".modulesConfig[" + _index22 + "]",
687
711
  expected: "UpdateModuleUIConfigDTO",
688
712
  value: elem
@@ -842,6 +866,14 @@ describe('BootstrapSyncMetadata - type validations', () => {
842
866
  path: _path + ".id",
843
867
  expected: "(number | undefined)",
844
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
845
877
  })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.host || _report(_exceptionable, {
846
878
  path: _path + ".host",
847
879
  expected: "string",
@@ -971,7 +1003,23 @@ describe('BootstrapSyncMetadata - type validations', () => {
971
1003
  path: _path + ".operations",
972
1004
  expected: "Array<string>",
973
1005
  value: input.operations
974
- })].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, {
975
1023
  path: _path + ".name",
976
1024
  expected: "string",
977
1025
  value: input.name
@@ -987,7 +1035,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
987
1035
  path: _path + ".allowedByDefault",
988
1036
  expected: "(boolean | undefined)",
989
1037
  value: input.allowedByDefault
990
- })].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, {
991
1039
  path: _path + ".applicationName",
992
1040
  expected: "(string | undefined)",
993
1041
  value: input.applicationName
@@ -999,7 +1047,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
999
1047
  path: _path + ".description",
1000
1048
  expected: "(string | undefined)",
1001
1049
  value: input.description
1002
- })].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, {
1003
1051
  path: _path + ".roles",
1004
1052
  expected: "(Array<string> | undefined)",
1005
1053
  value: input.roles
@@ -1023,7 +1071,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1023
1071
  path: _path + ".applicationName",
1024
1072
  expected: "(string | undefined)",
1025
1073
  value: input.applicationName
1026
- })].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, {
1027
1075
  path: _path + ".moduleName",
1028
1076
  expected: "string",
1029
1077
  value: input.moduleName
@@ -1031,11 +1079,11 @@ describe('BootstrapSyncMetadata - type validations', () => {
1031
1079
  path: _path + ".customProps",
1032
1080
  expected: "Record<string, any>",
1033
1081
  value: input.customProps
1034
- })) && _vo17(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
1082
+ })) && _vo18(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
1035
1083
  path: _path + ".customProps",
1036
1084
  expected: "Record<string, any>",
1037
1085
  value: input.customProps
1038
- })].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 => {
1039
1087
  const value = input[key];
1040
1088
  if (undefined === value)
1041
1089
  return true;
@@ -1095,12 +1143,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
1095
1143
  scopedTo: "any"
1096
1144
  },
1097
1145
  };
1098
- 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.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); 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 => {
1099
1147
  const value = input[key];
1100
1148
  if (undefined === value)
1101
1149
  return true;
1102
1150
  return true;
1103
- }); 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 => "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 => {
1104
1152
  const value = input[key];
1105
1153
  if (undefined === value)
1106
1154
  return true;
@@ -1147,19 +1195,19 @@ describe('BootstrapSyncMetadata - type validations', () => {
1147
1195
  value: input.featureFlags
1148
1196
  }), undefined === input.catalog || (Array.isArray(input.catalog) || _report(_exceptionable, {
1149
1197
  path: _path + ".catalog",
1150
- expected: "(Array<CreateOrUpdateModule> | undefined)",
1198
+ expected: "(Array<BootstrapModule> | undefined)",
1151
1199
  value: input.catalog
1152
1200
  })) && input.catalog.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1153
1201
  path: _path + ".catalog[" + _index18 + "]",
1154
- expected: "CreateOrUpdateModule",
1202
+ expected: "BootstrapModule",
1155
1203
  value: elem
1156
1204
  })) && _vo5(elem, _path + ".catalog[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
1157
1205
  path: _path + ".catalog[" + _index18 + "]",
1158
- expected: "CreateOrUpdateModule",
1206
+ expected: "BootstrapModule",
1159
1207
  value: elem
1160
1208
  })).every(flag => flag) || _report(_exceptionable, {
1161
1209
  path: _path + ".catalog",
1162
- expected: "(Array<CreateOrUpdateModule> | undefined)",
1210
+ expected: "(Array<BootstrapModule> | undefined)",
1163
1211
  value: input.catalog
1164
1212
  }), undefined === input.applicationsAuthz || (Array.isArray(input.applicationsAuthz) || _report(_exceptionable, {
1165
1213
  path: _path + ".applicationsAuthz",
@@ -1169,7 +1217,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1169
1217
  path: _path + ".applicationsAuthz[" + _index19 + "]",
1170
1218
  expected: "CreateApplicationDTO",
1171
1219
  value: elem
1172
- })) && _vo13(elem, _path + ".applicationsAuthz[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
1220
+ })) && _vo14(elem, _path + ".applicationsAuthz[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
1173
1221
  path: _path + ".applicationsAuthz[" + _index19 + "]",
1174
1222
  expected: "CreateApplicationDTO",
1175
1223
  value: elem
@@ -1185,7 +1233,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1185
1233
  path: _path + ".rolesAuthz[" + _index20 + "]",
1186
1234
  expected: "CreateRoleDTO",
1187
1235
  value: elem
1188
- })) && _vo14(elem, _path + ".rolesAuthz[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
1236
+ })) && _vo15(elem, _path + ".rolesAuthz[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
1189
1237
  path: _path + ".rolesAuthz[" + _index20 + "]",
1190
1238
  expected: "CreateRoleDTO",
1191
1239
  value: elem
@@ -1201,7 +1249,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1201
1249
  path: _path + ".operationsAuthz[" + _index21 + "]",
1202
1250
  expected: "OperationAuthzBootstrap",
1203
1251
  value: elem
1204
- })) && _vo15(elem, _path + ".operationsAuthz[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
1252
+ })) && _vo16(elem, _path + ".operationsAuthz[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
1205
1253
  path: _path + ".operationsAuthz[" + _index21 + "]",
1206
1254
  expected: "OperationAuthzBootstrap",
1207
1255
  value: elem
@@ -1217,7 +1265,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1217
1265
  path: _path + ".modulesConfig[" + _index22 + "]",
1218
1266
  expected: "UpdateModuleUIConfigDTO",
1219
1267
  value: elem
1220
- })) && _vo16(elem, _path + ".modulesConfig[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
1268
+ })) && _vo17(elem, _path + ".modulesConfig[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
1221
1269
  path: _path + ".modulesConfig[" + _index22 + "]",
1222
1270
  expected: "UpdateModuleUIConfigDTO",
1223
1271
  value: elem
@@ -1377,6 +1425,14 @@ describe('BootstrapSyncMetadata - type validations', () => {
1377
1425
  path: _path + ".id",
1378
1426
  expected: "(number | undefined)",
1379
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
1380
1436
  })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.host || _report(_exceptionable, {
1381
1437
  path: _path + ".host",
1382
1438
  expected: "string",
@@ -1506,7 +1562,23 @@ describe('BootstrapSyncMetadata - type validations', () => {
1506
1562
  path: _path + ".operations",
1507
1563
  expected: "Array<string>",
1508
1564
  value: input.operations
1509
- })].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, {
1510
1582
  path: _path + ".name",
1511
1583
  expected: "string",
1512
1584
  value: input.name
@@ -1522,7 +1594,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1522
1594
  path: _path + ".allowedByDefault",
1523
1595
  expected: "(boolean | undefined)",
1524
1596
  value: input.allowedByDefault
1525
- })].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, {
1526
1598
  path: _path + ".applicationName",
1527
1599
  expected: "(string | undefined)",
1528
1600
  value: input.applicationName
@@ -1534,7 +1606,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1534
1606
  path: _path + ".description",
1535
1607
  expected: "(string | undefined)",
1536
1608
  value: input.description
1537
- })].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, {
1538
1610
  path: _path + ".roles",
1539
1611
  expected: "(Array<string> | undefined)",
1540
1612
  value: input.roles
@@ -1558,7 +1630,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1558
1630
  path: _path + ".applicationName",
1559
1631
  expected: "(string | undefined)",
1560
1632
  value: input.applicationName
1561
- })].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, {
1562
1634
  path: _path + ".moduleName",
1563
1635
  expected: "string",
1564
1636
  value: input.moduleName
@@ -1566,11 +1638,11 @@ describe('BootstrapSyncMetadata - type validations', () => {
1566
1638
  path: _path + ".customProps",
1567
1639
  expected: "Record<string, any>",
1568
1640
  value: input.customProps
1569
- })) && _vo17(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
1641
+ })) && _vo18(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
1570
1642
  path: _path + ".customProps",
1571
1643
  expected: "Record<string, any>",
1572
1644
  value: input.customProps
1573
- })].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 => {
1574
1646
  const value = input[key];
1575
1647
  if (undefined === value)
1576
1648
  return true;
@@ -1630,12 +1702,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
1630
1702
  scopedTo: "any"
1631
1703
  },
1632
1704
  };
1633
- 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.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); 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 => {
1634
1706
  const value = input[key];
1635
1707
  if (undefined === value)
1636
1708
  return true;
1637
1709
  return true;
1638
- }); 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 => "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 => {
1639
1711
  const value = input[key];
1640
1712
  if (undefined === value)
1641
1713
  return true;
@@ -1682,19 +1754,19 @@ describe('BootstrapSyncMetadata - type validations', () => {
1682
1754
  value: input.featureFlags
1683
1755
  }), undefined === input.catalog || (Array.isArray(input.catalog) || _report(_exceptionable, {
1684
1756
  path: _path + ".catalog",
1685
- expected: "(Array<CreateOrUpdateModule> | undefined)",
1757
+ expected: "(Array<BootstrapModule> | undefined)",
1686
1758
  value: input.catalog
1687
1759
  })) && input.catalog.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1688
1760
  path: _path + ".catalog[" + _index18 + "]",
1689
- expected: "CreateOrUpdateModule",
1761
+ expected: "BootstrapModule",
1690
1762
  value: elem
1691
1763
  })) && _vo5(elem, _path + ".catalog[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
1692
1764
  path: _path + ".catalog[" + _index18 + "]",
1693
- expected: "CreateOrUpdateModule",
1765
+ expected: "BootstrapModule",
1694
1766
  value: elem
1695
1767
  })).every(flag => flag) || _report(_exceptionable, {
1696
1768
  path: _path + ".catalog",
1697
- expected: "(Array<CreateOrUpdateModule> | undefined)",
1769
+ expected: "(Array<BootstrapModule> | undefined)",
1698
1770
  value: input.catalog
1699
1771
  }), undefined === input.applicationsAuthz || (Array.isArray(input.applicationsAuthz) || _report(_exceptionable, {
1700
1772
  path: _path + ".applicationsAuthz",
@@ -1704,7 +1776,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1704
1776
  path: _path + ".applicationsAuthz[" + _index19 + "]",
1705
1777
  expected: "CreateApplicationDTO",
1706
1778
  value: elem
1707
- })) && _vo13(elem, _path + ".applicationsAuthz[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
1779
+ })) && _vo14(elem, _path + ".applicationsAuthz[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
1708
1780
  path: _path + ".applicationsAuthz[" + _index19 + "]",
1709
1781
  expected: "CreateApplicationDTO",
1710
1782
  value: elem
@@ -1720,7 +1792,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1720
1792
  path: _path + ".rolesAuthz[" + _index20 + "]",
1721
1793
  expected: "CreateRoleDTO",
1722
1794
  value: elem
1723
- })) && _vo14(elem, _path + ".rolesAuthz[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
1795
+ })) && _vo15(elem, _path + ".rolesAuthz[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
1724
1796
  path: _path + ".rolesAuthz[" + _index20 + "]",
1725
1797
  expected: "CreateRoleDTO",
1726
1798
  value: elem
@@ -1736,7 +1808,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1736
1808
  path: _path + ".operationsAuthz[" + _index21 + "]",
1737
1809
  expected: "OperationAuthzBootstrap",
1738
1810
  value: elem
1739
- })) && _vo15(elem, _path + ".operationsAuthz[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
1811
+ })) && _vo16(elem, _path + ".operationsAuthz[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
1740
1812
  path: _path + ".operationsAuthz[" + _index21 + "]",
1741
1813
  expected: "OperationAuthzBootstrap",
1742
1814
  value: elem
@@ -1752,7 +1824,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1752
1824
  path: _path + ".modulesConfig[" + _index22 + "]",
1753
1825
  expected: "UpdateModuleUIConfigDTO",
1754
1826
  value: elem
1755
- })) && _vo16(elem, _path + ".modulesConfig[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
1827
+ })) && _vo17(elem, _path + ".modulesConfig[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
1756
1828
  path: _path + ".modulesConfig[" + _index22 + "]",
1757
1829
  expected: "UpdateModuleUIConfigDTO",
1758
1830
  value: elem
@@ -1912,6 +1984,14 @@ describe('BootstrapSyncMetadata - type validations', () => {
1912
1984
  path: _path + ".id",
1913
1985
  expected: "(number | undefined)",
1914
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
1915
1995
  })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.host || _report(_exceptionable, {
1916
1996
  path: _path + ".host",
1917
1997
  expected: "string",
@@ -2041,7 +2121,23 @@ describe('BootstrapSyncMetadata - type validations', () => {
2041
2121
  path: _path + ".operations",
2042
2122
  expected: "Array<string>",
2043
2123
  value: input.operations
2044
- })].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, {
2045
2141
  path: _path + ".name",
2046
2142
  expected: "string",
2047
2143
  value: input.name
@@ -2057,7 +2153,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
2057
2153
  path: _path + ".allowedByDefault",
2058
2154
  expected: "(boolean | undefined)",
2059
2155
  value: input.allowedByDefault
2060
- })].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, {
2061
2157
  path: _path + ".applicationName",
2062
2158
  expected: "(string | undefined)",
2063
2159
  value: input.applicationName
@@ -2069,7 +2165,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
2069
2165
  path: _path + ".description",
2070
2166
  expected: "(string | undefined)",
2071
2167
  value: input.description
2072
- })].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, {
2073
2169
  path: _path + ".roles",
2074
2170
  expected: "(Array<string> | undefined)",
2075
2171
  value: input.roles
@@ -2093,7 +2189,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
2093
2189
  path: _path + ".applicationName",
2094
2190
  expected: "(string | undefined)",
2095
2191
  value: input.applicationName
2096
- })].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, {
2097
2193
  path: _path + ".moduleName",
2098
2194
  expected: "string",
2099
2195
  value: input.moduleName
@@ -2101,11 +2197,11 @@ describe('BootstrapSyncMetadata - type validations', () => {
2101
2197
  path: _path + ".customProps",
2102
2198
  expected: "Record<string, any>",
2103
2199
  value: input.customProps
2104
- })) && _vo17(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
2200
+ })) && _vo18(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
2105
2201
  path: _path + ".customProps",
2106
2202
  expected: "Record<string, any>",
2107
2203
  value: input.customProps
2108
- })].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 => {
2109
2205
  const value = input[key];
2110
2206
  if (undefined === value)
2111
2207
  return true;