@codiac.io/codiac-cli 1.3.127 → 1.3.129

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/README.md +1 -1
  2. package/dist/apis/codiac-api-nats/gen/client.d.ts +72 -11
  3. package/dist/apis/codiac-api-nats/gen/client.js +967 -84
  4. package/dist/apis/codiac-api-nats/gen/client.js.map +1 -1
  5. package/dist/apis/codiac-api-nats/gen/config.d.ts +3 -15
  6. package/dist/apis/codiac-api-nats/gen/config.js +5 -4
  7. package/dist/apis/codiac-api-nats/gen/config.js.map +1 -1
  8. package/dist/apis/codiac-api-nats/gen/contracts/transformers.gen.d.ts +3 -2
  9. package/dist/apis/codiac-api-nats/gen/contracts/transformers.gen.js +23 -18
  10. package/dist/apis/codiac-api-nats/gen/contracts/transformers.gen.js.map +1 -1
  11. package/dist/apis/codiac-api-nats/gen/contracts/types.gen.d.ts +72 -20
  12. package/dist/apis/codiac-api-nats/gen/contracts/types.gen.js +18 -7
  13. package/dist/apis/codiac-api-nats/gen/contracts/types.gen.js.map +1 -1
  14. package/dist/apis/codiac-api-nats/gen/contracts.ng.d.ts +34 -7
  15. package/dist/apis/codiac-api-nats/gen/contracts.ng.js +1 -2
  16. package/dist/apis/codiac-api-nats/gen/contracts.ng.js.map +1 -1
  17. package/dist/apis/codiac-relay-nats/gen/client.d.ts +10 -13
  18. package/dist/apis/codiac-relay-nats/gen/client.js +35 -73
  19. package/dist/apis/codiac-relay-nats/gen/client.js.map +1 -1
  20. package/dist/apis/codiac-relay-nats/gen/config.d.ts +3 -16
  21. package/dist/apis/codiac-relay-nats/gen/config.js +7 -5
  22. package/dist/apis/codiac-relay-nats/gen/config.js.map +1 -1
  23. package/dist/apis/codiac-relay-nats/gen/contracts/types.gen.d.ts +3 -3
  24. package/dist/apis/codiac-relay-nats/gen/contracts.ng.d.ts +0 -7
  25. package/dist/apis/codiac-relay-nats/gen/contracts.ng.js +2 -2
  26. package/dist/apis/codiac-relay-nats/gen/contracts.ng.js.map +1 -1
  27. package/dist/apis/nats/nats-client.d.ts +0 -47
  28. package/dist/apis/nats/nats-client.js +279 -335
  29. package/dist/apis/nats/nats-client.js.map +1 -1
  30. package/dist/bootstrapper-for-api-clients.d.ts +1 -0
  31. package/dist/bootstrapper-for-api-clients.js +15 -2
  32. package/dist/bootstrapper-for-api-clients.js.map +1 -1
  33. package/dist/bootstrapper-for-enterprise-commands.js +22 -5
  34. package/dist/bootstrapper-for-enterprise-commands.js.map +1 -1
  35. package/dist/command-base-enterprise.d.ts +1 -1
  36. package/dist/command-base-enterprise.js +24 -8
  37. package/dist/command-base-enterprise.js.map +1 -1
  38. package/dist/commands/cluster/start.js +3 -3
  39. package/dist/commands/cluster/start.js.map +1 -1
  40. package/dist/commands/cluster/stop.js +3 -3
  41. package/dist/commands/cluster/stop.js.map +1 -1
  42. package/dist/commands/noc/cluster/create.js +3 -3
  43. package/dist/commands/noc/cluster/create.js.map +1 -1
  44. package/dist/commands/noc/cluster/destroy.js +3 -3
  45. package/dist/commands/noc/cluster/destroy.js.map +1 -1
  46. package/dist/ops/terminal-command-runner/local-command-runner.d.ts +1 -1
  47. package/dist/relay/relay-container.js +1 -1
  48. package/dist/relay/wsclient/relay-websocket-client.d.ts +2 -2
  49. package/dist/relay/wsclient/relay-websocket-client.js +1 -1
  50. package/dist/relay/wsclient/relay-websocket-client.js.map +1 -1
  51. package/dist/relay/wsclient/socket-contracts.d.ts +1 -1
  52. package/dist/sdk-adapters/azure/az-interactive-login-configurator.d.ts +1 -1
  53. package/dist/sdk-adapters/azure/az-interactive-login-configurator.js +95 -56
  54. package/dist/sdk-adapters/azure/az-interactive-login-configurator.js.map +1 -1
  55. package/dist/sdk-adapters/azure/azure-resource-configurator.d.ts +1 -1
  56. package/dist/sdk-adapters/azure/azure-resource-configurator.js +7 -7
  57. package/dist/sdk-adapters/azure/azure-resource-configurator.js.map +1 -1
  58. package/dist/uilogic/i-messaging-client.d.ts +0 -56
  59. package/dist/uilogic/i-messaging-client.js +84 -9
  60. package/dist/uilogic/i-messaging-client.js.map +1 -1
  61. package/dist/uilogic/lrp-watcher-predef.d.ts +1 -1
  62. package/dist/uilogic/lrp-watcher-predef.js +1 -1
  63. package/dist/uilogic/lrp-watcher-predef.js.map +1 -1
  64. package/dist/uilogic/lrp-watcher.d.ts +1 -1
  65. package/dist/uilogic/lrp-watcher.js +2 -2
  66. package/dist/uilogic/lrp-watcher.js.map +1 -1
  67. package/oclif.manifest.json +1 -1
  68. package/package.json +7 -6
package/README.md CHANGED
@@ -21,7 +21,7 @@ $ npm install -g @codiac.io/codiac-cli
21
21
  $ codiac COMMAND
22
22
  running command...
23
23
  $ codiac (--version|-v)
24
- @codiac.io/codiac-cli/1.3.127 linux-x64 node-v22.15.1
24
+ @codiac.io/codiac-cli/1.3.129 linux-x64 node-v22.15.1
25
25
  $ codiac --help [COMMAND]
26
26
  USAGE
27
27
  $ codiac COMMAND
@@ -8,11 +8,13 @@ import { TokenCreds } from "../common/token";
8
8
  import { CodiacNatsClientConfig } from "./config";
9
9
  import { UpdatePartialWhereRequest, IThrowingRepoOptions } from "../common/types";
10
10
  import * as Contracts from './contracts';
11
- import * as Nats from "@nats-io/nats-core";
11
+ import { ICodiacClient, IStackableNatsClient } from "../../codiac-api/i-client";
12
12
  import { TokenUtils } from "../common/token-utils";
13
- export declare class CodiacNatsClient {
13
+ import { IStreamingConnector } from "@codiac.io/codiac-messaging";
14
+ export declare class CodiacNatsClient implements ICodiacClient, IStackableNatsClient {
14
15
  logger: IBetterLogger;
15
16
  private _settings;
17
+ private connector;
16
18
  private _tokenCredentials?;
17
19
  static readonly DEFAULT_TOKEN_HEADER_PARAM = "authorization";
18
20
  /** Version of the remote api from which this client was generated */
@@ -22,24 +24,29 @@ export declare class CodiacNatsClient {
22
24
  static readonly DEFAULTS: CodiacNatsClientConfig;
23
25
  static bootstrap(ioc: interfaces.Container, settings?: CodiacNatsClientConfig): void;
24
26
  /** This factory method is just for convenience and hasty backward compatibility with consumers not using ioc. */
25
- static create(logger: IBetterLogger, configuration?: CodiacNatsClientConfig, codiacJwt?: string | TokenCreds): CodiacNatsClient;
26
- private static _nc;
27
- static get nc(): Nats.NatsConnection | undefined;
28
- constructor(logger: IBetterLogger, _settings: CodiacNatsClientConfig, _tokenCredentials?: TokenCreds | undefined);
27
+ static create(logger: IBetterLogger, connector: IStreamingConnector, configuration?: CodiacNatsClientConfig, codiacJwt?: string | TokenCreds): CodiacNatsClient;
28
+ constructor(logger: IBetterLogger, _settings: CodiacNatsClientConfig, connector: IStreamingConnector, _tokenCredentials?: TokenCreds | undefined);
29
29
  TokenUtils: TokenUtils;
30
+ endpoints: {
31
+ [operationId: string]: string[];
32
+ };
33
+ registerEndpoints(endpoints: {
34
+ [op: string]: string[];
35
+ }): void;
36
+ supportsSubject(subject: string): boolean;
37
+ /** Throws if not found; */
38
+ opFor(subject: string): string;
30
39
  isExpired(token: string, throwOnError?: boolean): boolean;
31
40
  /** Sets the user context to impersonate in requests made to the api. */
32
41
  setUserToken(token: string): void;
33
- connect(): Promise<Nats.ServerInfo | undefined>;
42
+ connect(): Promise<string>;
34
43
  isConnected(): boolean;
35
44
  disconnect(): Promise<void>;
36
45
  /** Disregards any instances and checks the underlying connection store
37
46
  * for any connections that are currently not closed or draining. */
38
- static areAnyConnected(): boolean;
47
+ areAnyConnected(): boolean;
39
48
  /** Closes any unclosed connections in the underlying connection store (regardless of instances). */
40
- static disconnectAll(): Promise<void>;
41
- /** Declaration of what messaging protocol to connect with. */
42
- private clientType;
49
+ disconnectAll(): Promise<void>;
43
50
  get tokenCredentials(): TokenCreds | undefined;
44
51
  set tokenCredentials(value: TokenCreds | undefined);
45
52
  get settings(): CodiacNatsClientConfig;
@@ -174,6 +181,7 @@ declare class AuthOperations {
174
181
  declare class ActivityBaseCruds {
175
182
  private core;
176
183
  constructor(core: CodiacNatsClient);
184
+ private endpoints;
177
185
  /** Deletes each existing ActivityBase that satisfies the given criteria. */
178
186
  tryDeleteWhere(request: Contracts.ActivityCriteriaBase, options?: IRepoOptions): Promise<BatchResult<Contracts.ActivityBase>>;
179
187
  deleteWhere(request: Contracts.ActivityCriteriaBase, options?: IThrowingRepoOptions): Promise<Contracts.ActivityBase[]>;
@@ -223,6 +231,7 @@ declare class ActivityBaseCruds {
223
231
  declare class AssetCruds {
224
232
  private core;
225
233
  constructor(core: CodiacNatsClient);
234
+ private endpoints;
226
235
  /** Deletes each existing Asset that satisfies the given criteria. */
227
236
  tryDeleteWhere(request: Contracts.AssetCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.Asset>>;
228
237
  deleteWhere(request: Contracts.AssetCriteria, options?: IThrowingRepoOptions): Promise<Contracts.Asset[]>;
@@ -272,6 +281,7 @@ declare class AssetCruds {
272
281
  declare class AssetVersionConfigCruds {
273
282
  private core;
274
283
  constructor(core: CodiacNatsClient);
284
+ private endpoints;
275
285
  /** Deletes each existing AssetVersionConfig that satisfies the given criteria. */
276
286
  tryDeleteWhere(request: Contracts.AssetVersionConfigCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.AssetVersionConfig>>;
277
287
  deleteWhere(request: Contracts.AssetVersionConfigCriteria, options?: IThrowingRepoOptions): Promise<Contracts.AssetVersionConfig[]>;
@@ -321,6 +331,7 @@ declare class AssetVersionConfigCruds {
321
331
  declare class AuthRoleCruds {
322
332
  private core;
323
333
  constructor(core: CodiacNatsClient);
334
+ private endpoints;
324
335
  /** Deletes each existing AuthRole that satisfies the given criteria. */
325
336
  tryDeleteWhere(request: Contracts.AuthRoleCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.AuthRole>>;
326
337
  deleteWhere(request: Contracts.AuthRoleCriteria, options?: IThrowingRepoOptions): Promise<Contracts.AuthRole[]>;
@@ -370,6 +381,7 @@ declare class AuthRoleCruds {
370
381
  declare class BuildCruds {
371
382
  private core;
372
383
  constructor(core: CodiacNatsClient);
384
+ private endpoints;
373
385
  /** Deletes each existing Build that satisfies the given criteria. */
374
386
  tryDeleteWhere(request: Contracts.BuildCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.Build>>;
375
387
  deleteWhere(request: Contracts.BuildCriteria, options?: IThrowingRepoOptions): Promise<Contracts.Build[]>;
@@ -419,6 +431,7 @@ declare class BuildCruds {
419
431
  declare class BuildPipelineCruds {
420
432
  private core;
421
433
  constructor(core: CodiacNatsClient);
434
+ private endpoints;
422
435
  /** Deletes each existing BuildPipeline that satisfies the given criteria. */
423
436
  tryDeleteWhere(request: Contracts.BuildPipelineCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.BuildPipeline>>;
424
437
  deleteWhere(request: Contracts.BuildPipelineCriteria, options?: IThrowingRepoOptions): Promise<Contracts.BuildPipeline[]>;
@@ -468,6 +481,7 @@ declare class BuildPipelineCruds {
468
481
  declare class CabinetCruds {
469
482
  private core;
470
483
  constructor(core: CodiacNatsClient);
484
+ private endpoints;
471
485
  /** Deletes each existing Cabinet that satisfies the given criteria. */
472
486
  tryDeleteWhere(request: Contracts.CabinetCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.Cabinet>>;
473
487
  deleteWhere(request: Contracts.CabinetCriteria, options?: IThrowingRepoOptions): Promise<Contracts.Cabinet[]>;
@@ -517,6 +531,7 @@ declare class CabinetCruds {
517
531
  declare class CabinetCreateActivityCruds {
518
532
  private core;
519
533
  constructor(core: CodiacNatsClient);
534
+ private endpoints;
520
535
  /** Deletes each existing CabinetCreateActivity that satisfies the given criteria. */
521
536
  tryDeleteWhere(request: Contracts.CabinetCreateActivityCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.CabinetCreateActivity>>;
522
537
  deleteWhere(request: Contracts.CabinetCreateActivityCriteria, options?: IThrowingRepoOptions): Promise<Contracts.CabinetCreateActivity[]>;
@@ -566,6 +581,7 @@ declare class CabinetCreateActivityCruds {
566
581
  declare class ClusterCruds {
567
582
  private core;
568
583
  constructor(core: CodiacNatsClient);
584
+ private endpoints;
569
585
  /** Deletes each existing Cluster that satisfies the given criteria. */
570
586
  tryDeleteWhere(request: Contracts.ClusterCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.Cluster>>;
571
587
  deleteWhere(request: Contracts.ClusterCriteria, options?: IThrowingRepoOptions): Promise<Contracts.Cluster[]>;
@@ -615,6 +631,7 @@ declare class ClusterCruds {
615
631
  declare class ClusterDefCruds {
616
632
  private core;
617
633
  constructor(core: CodiacNatsClient);
634
+ private endpoints;
618
635
  /** Deletes each existing ClusterDef that satisfies the given criteria. */
619
636
  tryDeleteWhere(request: Contracts.ClusterDefCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.ClusterDef>>;
620
637
  deleteWhere(request: Contracts.ClusterDefCriteria, options?: IThrowingRepoOptions): Promise<Contracts.ClusterDef[]>;
@@ -664,6 +681,7 @@ declare class ClusterDefCruds {
664
681
  declare class ClusterGrantCruds {
665
682
  private core;
666
683
  constructor(core: CodiacNatsClient);
684
+ private endpoints;
667
685
  /** Deletes each existing ClusterGrant that satisfies the given criteria. */
668
686
  tryDeleteWhere(request: Contracts.ClusterGrantCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.ClusterGrant>>;
669
687
  deleteWhere(request: Contracts.ClusterGrantCriteria, options?: IThrowingRepoOptions): Promise<Contracts.ClusterGrant[]>;
@@ -713,6 +731,7 @@ declare class ClusterGrantCruds {
713
731
  declare class CodiacTenantCruds {
714
732
  private core;
715
733
  constructor(core: CodiacNatsClient);
734
+ private endpoints;
716
735
  /** Deletes each existing CodiacTenant that satisfies the given criteria. */
717
736
  tryDeleteWhere(request: Contracts.CodiacTenantCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.CodiacTenant>>;
718
737
  deleteWhere(request: Contracts.CodiacTenantCriteria, options?: IThrowingRepoOptions): Promise<Contracts.CodiacTenant[]>;
@@ -762,6 +781,7 @@ declare class CodiacTenantCruds {
762
781
  declare class CodiacUserCruds {
763
782
  private core;
764
783
  constructor(core: CodiacNatsClient);
784
+ private endpoints;
765
785
  /** Retrieves all the existing CodiacUser that satisfy the given criteria. */
766
786
  tryReadMany(request: Contracts.CodiacUserCriteria, options?: IRepoOptions): Promise<ListResult<Contracts.CodiacUser>>;
767
787
  readMany(request: Contracts.CodiacUserCriteria, options?: IThrowingRepoOptions): Promise<Contracts.CodiacUser[]>;
@@ -772,6 +792,7 @@ declare class CodiacUserCruds {
772
792
  declare class CommentCruds {
773
793
  private core;
774
794
  constructor(core: CodiacNatsClient);
795
+ private endpoints;
775
796
  /** Deletes each existing Comment that satisfies the given criteria. */
776
797
  tryDeleteWhere(request: Contracts.CommentCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.Comment>>;
777
798
  deleteWhere(request: Contracts.CommentCriteria, options?: IThrowingRepoOptions): Promise<Contracts.Comment[]>;
@@ -821,6 +842,7 @@ declare class CommentCruds {
821
842
  declare class ConfigChangeCruds {
822
843
  private core;
823
844
  constructor(core: CodiacNatsClient);
845
+ private endpoints;
824
846
  /** Deletes each existing ConfigChange that satisfies the given criteria. */
825
847
  tryDeleteWhere(request: Contracts.ConfigChangeCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.ConfigChange>>;
826
848
  deleteWhere(request: Contracts.ConfigChangeCriteria, options?: IThrowingRepoOptions): Promise<Contracts.ConfigChange[]>;
@@ -870,6 +892,7 @@ declare class ConfigChangeCruds {
870
892
  declare class ConfigDeploymentActivityCruds {
871
893
  private core;
872
894
  constructor(core: CodiacNatsClient);
895
+ private endpoints;
873
896
  /** Deletes each existing ConfigDeploymentActivity that satisfies the given criteria. */
874
897
  tryDeleteWhere(request: Contracts.ConfigDeploymentActivityCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.ConfigDeploymentActivity>>;
875
898
  deleteWhere(request: Contracts.ConfigDeploymentActivityCriteria, options?: IThrowingRepoOptions): Promise<Contracts.ConfigDeploymentActivity[]>;
@@ -919,6 +942,7 @@ declare class ConfigDeploymentActivityCruds {
919
942
  declare class ContainerFootprintCruds {
920
943
  private core;
921
944
  constructor(core: CodiacNatsClient);
945
+ private endpoints;
922
946
  /** Deletes each existing ContainerFootprint that satisfies the given criteria. */
923
947
  tryDeleteWhere(request: Contracts.ContainerFootprintCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.ContainerFootprint>>;
924
948
  deleteWhere(request: Contracts.ContainerFootprintCriteria, options?: IThrowingRepoOptions): Promise<Contracts.ContainerFootprint[]>;
@@ -968,6 +992,7 @@ declare class ContainerFootprintCruds {
968
992
  declare class CspTenantProfileCruds {
969
993
  private core;
970
994
  constructor(core: CodiacNatsClient);
995
+ private endpoints;
971
996
  /** Deletes each existing CspTenantProfile that satisfies the given criteria. */
972
997
  tryDeleteWhere(request: Contracts.CspTenantProfileCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.CspTenantProfile>>;
973
998
  deleteWhere(request: Contracts.CspTenantProfileCriteria, options?: IThrowingRepoOptions): Promise<Contracts.CspTenantProfile[]>;
@@ -1017,6 +1042,7 @@ declare class CspTenantProfileCruds {
1017
1042
  declare class DefaultChildAclCruds {
1018
1043
  private core;
1019
1044
  constructor(core: CodiacNatsClient);
1045
+ private endpoints;
1020
1046
  /** Deletes each existing DefaultChildAcl that satisfies the given criteria. */
1021
1047
  tryDeleteWhere(request: Contracts.DefaultChildAclCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.DefaultChildAcl>>;
1022
1048
  deleteWhere(request: Contracts.DefaultChildAclCriteria, options?: IThrowingRepoOptions): Promise<Contracts.DefaultChildAcl[]>;
@@ -1066,6 +1092,7 @@ declare class DefaultChildAclCruds {
1066
1092
  declare class DeployAttemptCruds {
1067
1093
  private core;
1068
1094
  constructor(core: CodiacNatsClient);
1095
+ private endpoints;
1069
1096
  /** Deletes each existing DeployAttempt that satisfies the given criteria. */
1070
1097
  tryDeleteWhere(request: Contracts.DeployAttemptCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.DeployAttempt>>;
1071
1098
  deleteWhere(request: Contracts.DeployAttemptCriteria, options?: IThrowingRepoOptions): Promise<Contracts.DeployAttempt[]>;
@@ -1115,6 +1142,7 @@ declare class DeployAttemptCruds {
1115
1142
  declare class DeployPipelineCruds {
1116
1143
  private core;
1117
1144
  constructor(core: CodiacNatsClient);
1145
+ private endpoints;
1118
1146
  /** Deletes each existing DeployPipeline that satisfies the given criteria. */
1119
1147
  tryDeleteWhere(request: Contracts.DeployPipelineCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.DeployPipeline>>;
1120
1148
  deleteWhere(request: Contracts.DeployPipelineCriteria, options?: IThrowingRepoOptions): Promise<Contracts.DeployPipeline[]>;
@@ -1164,6 +1192,7 @@ declare class DeployPipelineCruds {
1164
1192
  declare class DeploymentCruds {
1165
1193
  private core;
1166
1194
  constructor(core: CodiacNatsClient);
1195
+ private endpoints;
1167
1196
  /** Deletes each existing Deployment that satisfies the given criteria. */
1168
1197
  tryDeleteWhere(request: Contracts.DeploymentCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.Deployment>>;
1169
1198
  deleteWhere(request: Contracts.DeploymentCriteria, options?: IThrowingRepoOptions): Promise<Contracts.Deployment[]>;
@@ -1213,6 +1242,7 @@ declare class DeploymentCruds {
1213
1242
  declare class DeploymentActivityCruds {
1214
1243
  private core;
1215
1244
  constructor(core: CodiacNatsClient);
1245
+ private endpoints;
1216
1246
  /** Deletes each existing DeploymentActivity that satisfies the given criteria. */
1217
1247
  tryDeleteWhere(request: Contracts.DeploymentActivityCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.DeploymentActivity>>;
1218
1248
  deleteWhere(request: Contracts.DeploymentActivityCriteria, options?: IThrowingRepoOptions): Promise<Contracts.DeploymentActivity[]>;
@@ -1262,6 +1292,7 @@ declare class DeploymentActivityCruds {
1262
1292
  declare class EnterpriseCruds {
1263
1293
  private core;
1264
1294
  constructor(core: CodiacNatsClient);
1295
+ private endpoints;
1265
1296
  /** Deletes each existing Enterprise that satisfies the given criteria. */
1266
1297
  tryDeleteWhere(request: Contracts.EnterpriseCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.Enterprise>>;
1267
1298
  deleteWhere(request: Contracts.EnterpriseCriteria, options?: IThrowingRepoOptions): Promise<Contracts.Enterprise[]>;
@@ -1311,6 +1342,7 @@ declare class EnterpriseCruds {
1311
1342
  declare class EnterpriseRunStateCruds {
1312
1343
  private core;
1313
1344
  constructor(core: CodiacNatsClient);
1345
+ private endpoints;
1314
1346
  /** Deletes each existing EnterpriseRunState that satisfies the given criteria. */
1315
1347
  tryDeleteWhere(request: Contracts.EnterpriseRunStateCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.EnterpriseRunState>>;
1316
1348
  deleteWhere(request: Contracts.EnterpriseRunStateCriteria, options?: IThrowingRepoOptions): Promise<Contracts.EnterpriseRunState[]>;
@@ -1360,6 +1392,7 @@ declare class EnterpriseRunStateCruds {
1360
1392
  declare class EnterpriseVersionConfigCruds {
1361
1393
  private core;
1362
1394
  constructor(core: CodiacNatsClient);
1395
+ private endpoints;
1363
1396
  /** Deletes each existing EnterpriseVersionConfig that satisfies the given criteria. */
1364
1397
  tryDeleteWhere(request: Contracts.EnterpriseVersionConfigCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.EnterpriseVersionConfig>>;
1365
1398
  deleteWhere(request: Contracts.EnterpriseVersionConfigCriteria, options?: IThrowingRepoOptions): Promise<Contracts.EnterpriseVersionConfig[]>;
@@ -1409,6 +1442,7 @@ declare class EnterpriseVersionConfigCruds {
1409
1442
  declare class EntityAclCruds {
1410
1443
  private core;
1411
1444
  constructor(core: CodiacNatsClient);
1445
+ private endpoints;
1412
1446
  /** Deletes each existing EntityAcl that satisfies the given criteria. */
1413
1447
  tryDeleteWhere(request: Contracts.EntityAclCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.EntityAcl>>;
1414
1448
  deleteWhere(request: Contracts.EntityAclCriteria, options?: IThrowingRepoOptions): Promise<Contracts.EntityAcl[]>;
@@ -1458,6 +1492,7 @@ declare class EntityAclCruds {
1458
1492
  declare class EnvironmentCruds {
1459
1493
  private core;
1460
1494
  constructor(core: CodiacNatsClient);
1495
+ private endpoints;
1461
1496
  /** Deletes each existing Environment that satisfies the given criteria. */
1462
1497
  tryDeleteWhere(request: Contracts.EnvironmentCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.Environment>>;
1463
1498
  deleteWhere(request: Contracts.EnvironmentCriteria, options?: IThrowingRepoOptions): Promise<Contracts.Environment[]>;
@@ -1507,6 +1542,7 @@ declare class EnvironmentCruds {
1507
1542
  declare class FileStoreDefCruds {
1508
1543
  private core;
1509
1544
  constructor(core: CodiacNatsClient);
1545
+ private endpoints;
1510
1546
  /** Deletes each existing FileStoreDef that satisfies the given criteria. */
1511
1547
  tryDeleteWhere(request: Contracts.FileStoreDefCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.FileStoreDef>>;
1512
1548
  deleteWhere(request: Contracts.FileStoreDefCriteria, options?: IThrowingRepoOptions): Promise<Contracts.FileStoreDef[]>;
@@ -1556,6 +1592,7 @@ declare class FileStoreDefCruds {
1556
1592
  declare class ImageCruds {
1557
1593
  private core;
1558
1594
  constructor(core: CodiacNatsClient);
1595
+ private endpoints;
1559
1596
  /** Deletes each existing Image that satisfies the given criteria. */
1560
1597
  tryDeleteWhere(request: Contracts.ImageCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.Image>>;
1561
1598
  deleteWhere(request: Contracts.ImageCriteria, options?: IThrowingRepoOptions): Promise<Contracts.Image[]>;
@@ -1605,6 +1642,7 @@ declare class ImageCruds {
1605
1642
  declare class ImageRegistryCruds {
1606
1643
  private core;
1607
1644
  constructor(core: CodiacNatsClient);
1645
+ private endpoints;
1608
1646
  /** Deletes each existing ImageRegistry that satisfies the given criteria. */
1609
1647
  tryDeleteWhere(request: Contracts.ImageRegistryCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.ImageRegistry>>;
1610
1648
  deleteWhere(request: Contracts.ImageRegistryCriteria, options?: IThrowingRepoOptions): Promise<Contracts.ImageRegistry[]>;
@@ -1654,6 +1692,7 @@ declare class ImageRegistryCruds {
1654
1692
  declare class KitCruds {
1655
1693
  private core;
1656
1694
  constructor(core: CodiacNatsClient);
1695
+ private endpoints;
1657
1696
  /** Deletes each existing Kit that satisfies the given criteria. */
1658
1697
  tryDeleteWhere(request: Contracts.KitCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.Kit>>;
1659
1698
  deleteWhere(request: Contracts.KitCriteria, options?: IThrowingRepoOptions): Promise<Contracts.Kit[]>;
@@ -1703,6 +1742,7 @@ declare class KitCruds {
1703
1742
  declare class KvpStoreDefCruds {
1704
1743
  private core;
1705
1744
  constructor(core: CodiacNatsClient);
1745
+ private endpoints;
1706
1746
  /** Deletes each existing KvpStoreDef that satisfies the given criteria. */
1707
1747
  tryDeleteWhere(request: Contracts.KvpStoreDefCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.KvpStoreDef>>;
1708
1748
  deleteWhere(request: Contracts.KvpStoreDefCriteria, options?: IThrowingRepoOptions): Promise<Contracts.KvpStoreDef[]>;
@@ -1752,6 +1792,7 @@ declare class KvpStoreDefCruds {
1752
1792
  declare class LabelCruds {
1753
1793
  private core;
1754
1794
  constructor(core: CodiacNatsClient);
1795
+ private endpoints;
1755
1796
  /** Deletes each existing Label that satisfies the given criteria. */
1756
1797
  tryDeleteWhere(request: Contracts.LabelCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.Label>>;
1757
1798
  deleteWhere(request: Contracts.LabelCriteria, options?: IThrowingRepoOptions): Promise<Contracts.Label[]>;
@@ -1801,6 +1842,7 @@ declare class LabelCruds {
1801
1842
  declare class NodePoolDefCruds {
1802
1843
  private core;
1803
1844
  constructor(core: CodiacNatsClient);
1845
+ private endpoints;
1804
1846
  /** Deletes each existing NodePoolDef that satisfies the given criteria. */
1805
1847
  tryDeleteWhere(request: Contracts.NodePoolDefCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.NodePoolDef>>;
1806
1848
  deleteWhere(request: Contracts.NodePoolDefCriteria, options?: IThrowingRepoOptions): Promise<Contracts.NodePoolDef[]>;
@@ -1850,6 +1892,7 @@ declare class NodePoolDefCruds {
1850
1892
  declare class ProbeCruds {
1851
1893
  private core;
1852
1894
  constructor(core: CodiacNatsClient);
1895
+ private endpoints;
1853
1896
  /** Deletes each existing Probe that satisfies the given criteria. */
1854
1897
  tryDeleteWhere(request: Contracts.ProbeCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.Probe>>;
1855
1898
  deleteWhere(request: Contracts.ProbeCriteria, options?: IThrowingRepoOptions): Promise<Contracts.Probe[]>;
@@ -1899,6 +1942,7 @@ declare class ProbeCruds {
1899
1942
  declare class ProductCruds {
1900
1943
  private core;
1901
1944
  constructor(core: CodiacNatsClient);
1945
+ private endpoints;
1902
1946
  /** Deletes each existing Product that satisfies the given criteria. */
1903
1947
  tryDeleteWhere(request: Contracts.ProductCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.Product>>;
1904
1948
  deleteWhere(request: Contracts.ProductCriteria, options?: IThrowingRepoOptions): Promise<Contracts.Product[]>;
@@ -1948,6 +1992,7 @@ declare class ProductCruds {
1948
1992
  declare class ProductVersionConfigCruds {
1949
1993
  private core;
1950
1994
  constructor(core: CodiacNatsClient);
1995
+ private endpoints;
1951
1996
  /** Deletes each existing ProductVersionConfig that satisfies the given criteria. */
1952
1997
  tryDeleteWhere(request: Contracts.ProductVersionConfigCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.ProductVersionConfig>>;
1953
1998
  deleteWhere(request: Contracts.ProductVersionConfigCriteria, options?: IThrowingRepoOptions): Promise<Contracts.ProductVersionConfig[]>;
@@ -1997,6 +2042,7 @@ declare class ProductVersionConfigCruds {
1997
2042
  declare class ScopedHostNameConfigCruds {
1998
2043
  private core;
1999
2044
  constructor(core: CodiacNatsClient);
2045
+ private endpoints;
2000
2046
  /** Deletes each existing ScopedHostNameConfig that satisfies the given criteria. */
2001
2047
  tryDeleteWhere(request: Contracts.ScopedHostNameConfigCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.ScopedHostNameConfig>>;
2002
2048
  deleteWhere(request: Contracts.ScopedHostNameConfigCriteria, options?: IThrowingRepoOptions): Promise<Contracts.ScopedHostNameConfig[]>;
@@ -2046,6 +2092,7 @@ declare class ScopedHostNameConfigCruds {
2046
2092
  declare class ScopedSettingCruds {
2047
2093
  private core;
2048
2094
  constructor(core: CodiacNatsClient);
2095
+ private endpoints;
2049
2096
  /** Deletes each existing ScopedSetting that satisfies the given criteria. */
2050
2097
  tryDeleteWhere(request: Contracts.ScopedSettingCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.ScopedSetting>>;
2051
2098
  deleteWhere(request: Contracts.ScopedSettingCriteria, options?: IThrowingRepoOptions): Promise<Contracts.ScopedSetting[]>;
@@ -2095,6 +2142,7 @@ declare class ScopedSettingCruds {
2095
2142
  declare class SetupJournalCruds {
2096
2143
  private core;
2097
2144
  constructor(core: CodiacNatsClient);
2145
+ private endpoints;
2098
2146
  /** Deletes each existing SetupJournal that satisfies the given criteria. */
2099
2147
  tryDeleteWhere(request: Contracts.SetupJournalCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.SetupJournal>>;
2100
2148
  deleteWhere(request: Contracts.SetupJournalCriteria, options?: IThrowingRepoOptions): Promise<Contracts.SetupJournal[]>;
@@ -2144,6 +2192,7 @@ declare class SetupJournalCruds {
2144
2192
  declare class SnapshotCruds {
2145
2193
  private core;
2146
2194
  constructor(core: CodiacNatsClient);
2195
+ private endpoints;
2147
2196
  /** Deletes each existing Snapshot that satisfies the given criteria. */
2148
2197
  tryDeleteWhere(request: Contracts.SnapshotCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.Snapshot>>;
2149
2198
  deleteWhere(request: Contracts.SnapshotCriteria, options?: IThrowingRepoOptions): Promise<Contracts.Snapshot[]>;
@@ -2193,6 +2242,7 @@ declare class SnapshotCruds {
2193
2242
  declare class SourceRepoCruds {
2194
2243
  private core;
2195
2244
  constructor(core: CodiacNatsClient);
2245
+ private endpoints;
2196
2246
  /** Deletes each existing SourceRepo that satisfies the given criteria. */
2197
2247
  tryDeleteWhere(request: Contracts.SourceRepoCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.SourceRepo>>;
2198
2248
  deleteWhere(request: Contracts.SourceRepoCriteria, options?: IThrowingRepoOptions): Promise<Contracts.SourceRepo[]>;
@@ -2242,6 +2292,7 @@ declare class SourceRepoCruds {
2242
2292
  declare class SubscriptionCruds {
2243
2293
  private core;
2244
2294
  constructor(core: CodiacNatsClient);
2295
+ private endpoints;
2245
2296
  /** Deletes each existing Subscription that satisfies the given criteria. */
2246
2297
  tryDeleteWhere(request: Contracts.SubscriptionCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.Subscription>>;
2247
2298
  deleteWhere(request: Contracts.SubscriptionCriteria, options?: IThrowingRepoOptions): Promise<Contracts.Subscription[]>;
@@ -2291,6 +2342,7 @@ declare class SubscriptionCruds {
2291
2342
  declare class TagCruds {
2292
2343
  private core;
2293
2344
  constructor(core: CodiacNatsClient);
2345
+ private endpoints;
2294
2346
  /** Deletes each existing Tag that satisfies the given criteria. */
2295
2347
  tryDeleteWhere(request: Contracts.TagCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.Tag>>;
2296
2348
  deleteWhere(request: Contracts.TagCriteria, options?: IThrowingRepoOptions): Promise<Contracts.Tag[]>;
@@ -2340,6 +2392,7 @@ declare class TagCruds {
2340
2392
  declare class VersionConfigCruds {
2341
2393
  private core;
2342
2394
  constructor(core: CodiacNatsClient);
2395
+ private endpoints;
2343
2396
  /** Deletes each existing VersionConfig that satisfies the given criteria. */
2344
2397
  tryDeleteWhere(request: Contracts.VersionConfigCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.VersionConfig>>;
2345
2398
  deleteWhere(request: Contracts.VersionConfigCriteria, options?: IThrowingRepoOptions): Promise<Contracts.VersionConfig[]>;
@@ -2389,6 +2442,7 @@ declare class VersionConfigCruds {
2389
2442
  declare class VersionCreateActivityCruds {
2390
2443
  private core;
2391
2444
  constructor(core: CodiacNatsClient);
2445
+ private endpoints;
2392
2446
  /** Deletes each existing VersionCreateActivity that satisfies the given criteria. */
2393
2447
  tryDeleteWhere(request: Contracts.VersionCreateActivityCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.VersionCreateActivity>>;
2394
2448
  deleteWhere(request: Contracts.VersionCreateActivityCriteria, options?: IThrowingRepoOptions): Promise<Contracts.VersionCreateActivity[]>;
@@ -2438,6 +2492,7 @@ declare class VersionCreateActivityCruds {
2438
2492
  declare class WorkFlowStrategyCruds {
2439
2493
  private core;
2440
2494
  constructor(core: CodiacNatsClient);
2495
+ private endpoints;
2441
2496
  /** Deletes each existing WorkFlowStrategy that satisfies the given criteria. */
2442
2497
  tryDeleteWhere(request: Contracts.WorkFlowStrategyCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.WorkFlowStrategy>>;
2443
2498
  deleteWhere(request: Contracts.WorkFlowStrategyCriteria, options?: IThrowingRepoOptions): Promise<Contracts.WorkFlowStrategy[]>;
@@ -2487,6 +2542,7 @@ declare class WorkFlowStrategyCruds {
2487
2542
  declare class ZombiePeriodCruds {
2488
2543
  private core;
2489
2544
  constructor(core: CodiacNatsClient);
2545
+ private endpoints;
2490
2546
  /** Deletes each existing ZombiePeriod that satisfies the given criteria. */
2491
2547
  tryDeleteWhere(request: Contracts.ZombiePeriodCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.ZombiePeriod>>;
2492
2548
  deleteWhere(request: Contracts.ZombiePeriodCriteria, options?: IThrowingRepoOptions): Promise<Contracts.ZombiePeriod[]>;
@@ -2536,6 +2592,11 @@ declare class ZombiePeriodCruds {
2536
2592
  declare class OtherOperations {
2537
2593
  private core;
2538
2594
  constructor(core: CodiacNatsClient);
2595
+ private endpoints;
2596
+ /** Retrieves all the existing AssetVersionConfig that satisfy the given criteria. */
2597
+ AssetVersionConfigSearch(request: Contracts.AssetVersionConfigCriteria, options?: IRepoOptions): Promise<ListResult<Contracts.AssetVersionConfig>>;
2598
+ /** Retrieves all the existing AssetVersionConfig that satisfy the given criteria. */
2599
+ AssetVersionConfigSearchDeprecated(request: Contracts.AssetVersionConfigCriteria, options?: IRepoOptions): Promise<ListResult<Contracts.AssetVersionConfig>>;
2539
2600
  /** Includes the given cluster within the given environment. */
2540
2601
  EnvironmentClusterAttach(request: Contracts.ClusterAttachRequest, options?: IRepoOptions): Promise<SingleResult<Partial<Contracts.Environment>>>;
2541
2602
  /** Removes the linkage between the given environment and the given cluster. */