@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
@@ -97,12 +97,6 @@ export type AccessProfile = {
97
97
  inactive?: boolean;
98
98
  roles: Array<AuthRole>;
99
99
  };
100
- export type AccessTypesEnum = 'private' | 'public' | 'both';
101
- export declare const AccessTypesEnum: {
102
- readonly private: "private";
103
- readonly public: "public";
104
- readonly both: "both";
105
- };
106
100
  /**
107
101
  * Historical record of the occurrence of an event.
108
102
  */
@@ -2806,6 +2800,30 @@ export type ClusterCriteria = {
2806
2800
  */
2807
2801
  reverse?: unknown;
2808
2802
  };
2803
+ /**
2804
+ * Declares whether the k8s api is available from the internet, the private network, or both.
2805
+ */
2806
+ export type K8sAccess = 'both' | 'private' | 'public';
2807
+ /**
2808
+ * Declares whether the k8s api is available from the internet, the private network, or both.
2809
+ */
2810
+ export declare const K8sAccess: {
2811
+ readonly both: "both";
2812
+ readonly private: "private";
2813
+ readonly public: "public";
2814
+ };
2815
+ /**
2816
+ * Declares whether the nodes are placed within the public or private subnets within the cluster's vpc/vnet.
2817
+ */
2818
+ export type NodesAccess = 'both' | 'private' | 'public';
2819
+ /**
2820
+ * Declares whether the nodes are placed within the public or private subnets within the cluster's vpc/vnet.
2821
+ */
2822
+ export declare const NodesAccess: {
2823
+ readonly both: "both";
2824
+ readonly private: "private";
2825
+ readonly public: "public";
2826
+ };
2809
2827
  /**
2810
2828
  * The specs for a kubernetes cluster to be managed by the Codiac team.
2811
2829
  * This class is used to programmatically put up and take down clusters.
@@ -2854,20 +2872,20 @@ export type ClusterDef = {
2854
2872
  /**
2855
2873
  * Declares whether the k8s api is available from the internet, the private network, or both.
2856
2874
  */
2857
- k8sAccess?: AccessTypesEnum;
2875
+ k8sAccess?: 'both' | 'private' | 'public';
2858
2876
  /**
2859
2877
  * Declares whether the nodes are placed within the public or private subnets within the cluster's vpc/vnet.
2860
2878
  */
2861
- nodesAccess?: AccessTypesEnum;
2879
+ nodesAccess?: 'both' | 'private' | 'public';
2862
2880
  /**
2863
2881
  * The resourceId of the subnets in which the cluster shall create its nodes and pods.
2864
2882
  * Unless podSubnet is specified, in which case this property will only designate node subnets.
2865
2883
  */
2866
- subnet?: string | string[];
2884
+ subnet?: Array<string> | string;
2867
2885
  /**
2868
2886
  * The resourceId of the subnets in which the cluster shall create its pods.
2869
2887
  */
2870
- podSubnet?: string | string[];
2888
+ podSubnet?: Array<string> | string;
2871
2889
  /**
2872
2890
  * The version of Kubernetes to use as the cluster.
2873
2891
  */
@@ -3263,7 +3281,7 @@ export declare const ConfigDefTypesEnum: {
3263
3281
  readonly filestore: "filestore";
3264
3282
  readonly footprint: "footprint";
3265
3283
  readonly helm: "helm";
3266
- readonly k8spatch: "k8spatch";
3284
+ readonly k8Spatch: "k8spatch";
3267
3285
  readonly label: "label";
3268
3286
  readonly permit: "permit";
3269
3287
  readonly probing: "probing";
@@ -3484,12 +3502,12 @@ export type CspTenantProfile = {
3484
3502
  cspTenantId: string;
3485
3503
  notes?: string;
3486
3504
  id?: string;
3505
+ subscriptionIds?: Array<string>;
3506
+ isDefault?: boolean;
3487
3507
  createdBy: string;
3488
3508
  modifiedBy: string;
3489
3509
  created: Date;
3490
3510
  modified: Date;
3491
- subscriptionIds?: string[];
3492
- isDefault?: boolean;
3493
3511
  };
3494
3512
  /**
3495
3513
  * Identifier for a supported cloud service provider, for use in selecting infrastructure clients, provisioners, and credentials.
@@ -3514,6 +3532,7 @@ export type CspTenantProfileCriteria = {
3514
3532
  cspTenantId?: string;
3515
3533
  subscriptionId?: string;
3516
3534
  subscriptionIds?: StringListFilter;
3535
+ isDefault?: boolean;
3517
3536
  ids?: Array<string>;
3518
3537
  all?: boolean;
3519
3538
  /**
@@ -4960,6 +4979,14 @@ export type ImageRegistry = {
4960
4979
  * Declaration of which paradigm to use for implementing Helm chart operations with a a given registry.
4961
4980
  */
4962
4981
  helmSupport?: 'classic' | 'oci';
4982
+ /**
4983
+ * Subscription at the Cloud Service Provider (csp) under which this imageRegistry resides.
4984
+ *
4985
+ * (eg: In azure this is the subscriptionId, not the tenantId. In aws, this is the accountId)
4986
+ *
4987
+ * Used to select the matching csp credentials for accessing this registry.
4988
+ */
4989
+ subscriptionId?: string;
4963
4990
  };
4964
4991
  export type PackageType = 'container' | 'helm';
4965
4992
  export declare const PackageType: {
@@ -4971,6 +4998,7 @@ export type ImageRegistryCriteria = {
4971
4998
  url?: StringFilter;
4972
4999
  type?: StringFilter;
4973
5000
  packageType?: 'container' | 'helm';
5001
+ subscriptionId?: string;
4974
5002
  ids?: Array<string>;
4975
5003
  all?: boolean;
4976
5004
  /**
@@ -5018,6 +5046,14 @@ export type ImageRegistrySpec = {
5018
5046
  * Declaration of which paradigm to use for implementing Helm chart operations with a a given registry.
5019
5047
  */
5020
5048
  helmSupport?: 'classic' | 'oci';
5049
+ /**
5050
+ * Subscription at the Cloud Service Provider (csp) under which this imageRegistry resides.
5051
+ *
5052
+ * (eg: In azure this is the subscriptionId, not the tenantId. In aws, this is the accountId)
5053
+ *
5054
+ * Used to select the matching csp credentials for accessing this registry.
5055
+ */
5056
+ subscriptionId?: string;
5021
5057
  };
5022
5058
  /**
5023
5059
  * IMPORTANT!!! Key names are `"camelCase"`, whereas the values are `"PascalCase"`.
@@ -5371,6 +5407,7 @@ export type KvpReference = {
5371
5407
  * This class is used to programmatically put up and take down concrete key value stores.
5372
5408
  */
5373
5409
  export type KvpStoreDef = {
5410
+ id?: string;
5374
5411
  /**
5375
5412
  * The friendly identifying name under which the key value store resource is registered within an enterprise.
5376
5413
  * The concrete instance that gets created will use this name
@@ -5381,7 +5418,7 @@ export type KvpStoreDef = {
5381
5418
  provider: CloudProviderEnum;
5382
5419
  type: KvpStoreTypesEnum;
5383
5420
  instance?: KvpStoreInfrx;
5384
- id?: string;
5421
+ subscriptionId?: string;
5385
5422
  createdBy: string;
5386
5423
  modifiedBy: string;
5387
5424
  created: Date;
@@ -5393,6 +5430,7 @@ export type KvpStoreDefCriteria = {
5393
5430
  * Identifier for a supported cloud service provider, for use in selecting infrastructure clients, provisioners, and credentials.
5394
5431
  */
5395
5432
  provider?: 'artifactHub' | 'aws' | 'azure' | 'dockerHub' | 'localMachine' | 'other';
5433
+ providerSubscription?: string;
5396
5434
  /**
5397
5435
  * List of codenames for supported KeyValue stores.
5398
5436
  * eg: Clients for these types of stores are registered under these values.
@@ -5431,6 +5469,7 @@ export type KvpStoreDefCriteria = {
5431
5469
  };
5432
5470
  export type KvpStoreInfrx = {
5433
5471
  type: KvpStoreTypesEnum;
5472
+ id?: string;
5434
5473
  /**
5435
5474
  * The friendly, human-readable identifier of this resource,
5436
5475
  * as it is known by the cloud provider.
@@ -5443,7 +5482,10 @@ export type KvpStoreInfrx = {
5443
5482
  * The Id given by the csp.
5444
5483
  */
5445
5484
  resourceId: string;
5446
- id?: string;
5485
+ /**
5486
+ * TODO: Make this required.
5487
+ */
5488
+ subscriptionId?: string;
5447
5489
  createdBy: string;
5448
5490
  modifiedBy: string;
5449
5491
  created: Date;
@@ -11523,16 +11565,16 @@ export type AssetVersionConfigPatchWhereResponses = {
11523
11565
  200: BatchResult_assetVersionConfig_;
11524
11566
  };
11525
11567
  export type AssetVersionConfigPatchWhereResponse = AssetVersionConfigPatchWhereResponses[keyof AssetVersionConfigPatchWhereResponses];
11526
- export type AssetVersionConfigCreateManyData = {
11527
- body?: Array<AssetVersionConfig>;
11568
+ export type AssetVersionConfigSearchDeprecatedData = {
11569
+ body?: AssetVersionConfigCriteria;
11528
11570
  path?: never;
11529
11571
  query?: never;
11530
11572
  url: '/asset-versions(/)';
11531
11573
  };
11532
- export type AssetVersionConfigCreateManyResponses = {
11533
- 200: BatchResult_assetVersionConfig_;
11574
+ export type AssetVersionConfigSearchDeprecatedResponses = {
11575
+ 200: ListResult_assetVersionConfig_;
11534
11576
  };
11535
- export type AssetVersionConfigCreateManyResponse = AssetVersionConfigCreateManyResponses[keyof AssetVersionConfigCreateManyResponses];
11577
+ export type AssetVersionConfigSearchDeprecatedResponse = AssetVersionConfigSearchDeprecatedResponses[keyof AssetVersionConfigSearchDeprecatedResponses];
11536
11578
  export type AssetVersionConfigUpdateManyData = {
11537
11579
  body?: Array<AssetVersionConfig>;
11538
11580
  path?: never;
@@ -11623,6 +11665,16 @@ export type AssetVersionConfigUpdatePartialManyResponses = {
11623
11665
  200: BatchResult_Partial_assetVersionConfig__;
11624
11666
  };
11625
11667
  export type AssetVersionConfigUpdatePartialManyResponse = AssetVersionConfigUpdatePartialManyResponses[keyof AssetVersionConfigUpdatePartialManyResponses];
11668
+ export type AssetVersionConfigSearchData = {
11669
+ body?: AssetVersionConfigCriteria;
11670
+ path?: never;
11671
+ query?: never;
11672
+ url: '/asset-versions/search';
11673
+ };
11674
+ export type AssetVersionConfigSearchResponses = {
11675
+ 200: ListResult_assetVersionConfig_;
11676
+ };
11677
+ export type AssetVersionConfigSearchResponse = AssetVersionConfigSearchResponses[keyof AssetVersionConfigSearchResponses];
11626
11678
  export type AssetVersionConfigUpsertManyData = {
11627
11679
  body?: Array<AssetVersionConfig>;
11628
11680
  path?: never;
@@ -1,12 +1,7 @@
1
1
  "use strict";
2
2
  // This file is auto-generated by @hey-api/openapi-ts
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Hr24 = exports.Day = exports.Status = exports.SubscriptionStatus = exports.SecurityAccountTypeEnum = exports.ScopeLevel = exports.RangeBoundary = exports.Scope = exports.ProbeUsageTypesEnum = exports.ActionType = exports.ProbeActionTypesEnum = exports.Privilege = exports.PatchOperationType = exports.OrderEnum = exports.NativeDataTypeEnum = exports.KvpStoreTypesEnum = exports.AssetType = exports.KitAccessibilityEnum = exports.ImageRegistryTypes = exports.PackageType = exports.HelmSupport = exports.Os = exports.Architecture = exports.Scheme = exports.HostNameStrategyEnum = exports.FileStoreTypeEnum = exports.Provider = exports.ConfigFormatsEnum = exports.ConfigDefTypesEnum = exports.Format = exports.CloudProviderEnum = exports.CertIssuer = exports.AssetTypesEnum = exports.Op = exports.Type = exports.ApiReadyStateEnum = exports.ActivityTypeEnum = exports.AccessTypesEnum = void 0;
5
- exports.AccessTypesEnum = {
6
- private: "private",
7
- public: "public",
8
- both: "both"
9
- };
4
+ exports.Hr24 = exports.Day = exports.Status = exports.SubscriptionStatus = exports.SecurityAccountTypeEnum = exports.ScopeLevel = exports.RangeBoundary = exports.Scope = exports.ProbeUsageTypesEnum = exports.ActionType = exports.ProbeActionTypesEnum = exports.Privilege = exports.PatchOperationType = exports.OrderEnum = exports.NativeDataTypeEnum = exports.KvpStoreTypesEnum = exports.AssetType = exports.KitAccessibilityEnum = exports.ImageRegistryTypes = exports.PackageType = exports.HelmSupport = exports.Os = exports.Architecture = exports.Scheme = exports.HostNameStrategyEnum = exports.FileStoreTypeEnum = exports.Provider = exports.ConfigFormatsEnum = exports.ConfigDefTypesEnum = exports.Format = exports.NodesAccess = exports.K8sAccess = exports.CloudProviderEnum = exports.CertIssuer = exports.AssetTypesEnum = exports.Op = exports.Type = exports.ApiReadyStateEnum = exports.ActivityTypeEnum = void 0;
10
5
  exports.ActivityTypeEnum = {
11
6
  cabinetCreate: 'cabinetCreate',
12
7
  cabinetDelete: 'cabinetDelete',
@@ -56,6 +51,22 @@ exports.CloudProviderEnum = {
56
51
  localMachine: 'localMachine',
57
52
  other: 'other'
58
53
  };
54
+ /**
55
+ * Declares whether the k8s api is available from the internet, the private network, or both.
56
+ */
57
+ exports.K8sAccess = {
58
+ both: 'both',
59
+ private: 'private',
60
+ public: 'public'
61
+ };
62
+ /**
63
+ * Declares whether the nodes are placed within the public or private subnets within the cluster's vpc/vnet.
64
+ */
65
+ exports.NodesAccess = {
66
+ both: 'both',
67
+ private: 'private',
68
+ public: 'public'
69
+ };
59
70
  exports.Format = {
60
71
  ini: 'ini',
61
72
  json: 'json',
@@ -73,7 +84,7 @@ exports.ConfigDefTypesEnum = {
73
84
  filestore: 'filestore',
74
85
  footprint: 'footprint',
75
86
  helm: 'helm',
76
- k8spatch: 'k8spatch',
87
+ k8Spatch: 'k8spatch',
77
88
  label: 'label',
78
89
  permit: 'permit',
79
90
  probing: 'probing'
@@ -1 +1 @@
1
- {"version":3,"file":"types.gen.js","sourceRoot":"","sources":["../../../../../src/apis/codiac-api-nats/gen/contracts/types.gen.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AAkHxC,QAAA,eAAe,GAAG;IAC3B,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;CACN,CAAC;AA0DE,QAAA,gBAAgB,GAAG;IAC5B,aAAa,EAAE,eAAe;IAC9B,aAAa,EAAE,eAAe;IAC9B,UAAU,EAAE,YAAY;IACxB,YAAY,EAAE,cAAc;IAC5B,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB,aAAa,EAAE,eAAe;CACxB,CAAC;AAuCE,QAAA,iBAAiB,GAAG;IAC7B,YAAY,EAAE,cAAc;IAC5B,mBAAmB,EAAE,qBAAqB;IAC1C,aAAa,EAAE,eAAe;IAC9B,UAAU,EAAE,YAAY;IACxB,KAAK,EAAE,OAAO;CACR,CAAC;AAOX;;GAEG;AACU,QAAA,IAAI,GAAG;IAChB,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,OAAO,EAAE,SAAS;CACZ,CAAC;AAIE,QAAA,EAAE,GAAG;IACd,IAAI,EAAE,IAAI;IACV,GAAG,EAAE,GAAG;IACR,IAAI,EAAE,IAAI;CACJ,CAAC;AA0PE,QAAA,cAAc,GAAG;IAC1B,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAA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,IAAI;IACR,EAAE,EAAE,IAAI;IACR,EAAE,EAAE,IAAI;IACR,EAAE,EAAE,IAAI;IACR,EAAE,EAAE,IAAI;IACR,EAAE,EAAE,IAAI;CACF,CAAC;AAIE,QAAA,IAAI,GAAG;IAChB,CAAC,EAAE,CAAC;IACJ,CAAC,EAAE,CAAC;IACJ,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,CAAC,EAAE,CAAC;IACJ,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,CAAC,EAAE,CAAC;IACJ,CAAC,EAAE,CAAC;IACJ,CAAC,EAAE,CAAC;IACJ,CAAC,EAAE,CAAC;IACJ,CAAC,EAAE,CAAC;IACJ,CAAC,EAAE,CAAC;IACJ,CAAC,EAAE,CAAC;CACE,CAAC"}
1
+ {"version":3,"file":"types.gen.js","sourceRoot":"","sources":["../../../../../src/apis/codiac-api-nats/gen/contracts/types.gen.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AAwKxC,QAAA,gBAAgB,GAAG;IAC5B,aAAa,EAAE,eAAe;IAC9B,aAAa,EAAE,eAAe;IAC9B,UAAU,EAAE,YAAY;IACxB,YAAY,EAAE,cAAc;IAC5B,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB,aAAa,EAAE,eAAe;CACxB,CAAC;AAuCE,QAAA,iBAAiB,GAAG;IAC7B,YAAY,EAAE,cAAc;IAC5B,mBAAmB,EAAE,qBAAqB;IAC1C,aAAa,EAAE,eAAe;IAC9B,UAAU,EAAE,YAAY;IACxB,KAAK,EAAE,OAAO;CACR,CAAC;AAOX;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,CAAC,EAAE,CAAC;CACE,CAAC"}
@@ -410,8 +410,6 @@ export interface AutoscalingProfile {
410
410
  disabled?: boolean | undefined;
411
411
  metrics?: object | undefined;
412
412
  }
413
- export interface Buffer {
414
- }
415
413
  export interface Build {
416
414
  name: string;
417
415
  id?: string | undefined;
@@ -897,8 +895,15 @@ export interface ClusterDef {
897
895
  * This profile must be applied at cluster creation,
898
896
  * because a cluster cannot be later updated to support windows node pools. */
899
897
  windowsAdmin?: WindowsAdminProfile | undefined;
900
- /** The resourceId of the subnet in which the cluster resides. */
901
- subnet?: string | undefined;
898
+ /** Declares whether the k8s api is available from the internet, the private network, or both. */
899
+ k8sAccess?: "both" | "private" | "public" | undefined;
900
+ /** Declares whether the nodes are placed within the public or private subnets within the cluster's vpc/vnet. */
901
+ nodesAccess?: "both" | "private" | "public" | undefined;
902
+ /** The resourceId of the subnets in which the cluster shall create its nodes and pods.
903
+ * Unless podSubnet is specified, in which case this property will only designate node subnets. */
904
+ subnet?: string[] | string | undefined;
905
+ /** The resourceId of the subnets in which the cluster shall create its pods. */
906
+ podSubnet?: string[] | string | undefined;
902
907
  /** The version of Kubernetes to use as the cluster. */
903
908
  k8sVersion?: string | undefined;
904
909
  /** Specifies whether to enable Kubernetes Role-Based Access Control. */
@@ -1385,16 +1390,21 @@ export interface CspTenantProfile {
1385
1390
  cspTenantId: string;
1386
1391
  notes?: string | undefined;
1387
1392
  id?: string | undefined;
1393
+ subscriptionIds?: string[] | undefined;
1394
+ isDefault?: boolean | undefined;
1388
1395
  createdBy: string;
1389
1396
  modifiedBy: string;
1390
1397
  created: Date;
1391
1398
  modified: Date;
1392
- subscriptionIds?: string[];
1393
1399
  }
1394
1400
  export interface CspTenantProfileCriteria {
1395
1401
  /** Identifier for a supported cloud service provider, for use in selecting infrastructure clients, provisioners, and credentials. */
1396
1402
  provider?: "artifactHub" | "aws" | "azure" | "dockerHub" | "localMachine" | "other" | undefined;
1397
1403
  cspTenantId?: string | undefined;
1404
+ subscriptionId?: string | undefined;
1405
+ /** Applies constraints to an entity property that is a list of strings. */
1406
+ subscriptionIds?: StringListFilter | undefined;
1407
+ isDefault?: boolean | undefined;
1398
1408
  ids?: string[] | undefined;
1399
1409
  all?: boolean | undefined;
1400
1410
  /** supports a single field name
@@ -2353,12 +2363,19 @@ export interface ImageRegistry {
2353
2363
  useRemoteFiltering?: boolean | undefined;
2354
2364
  /** Declaration of which paradigm to use for implementing Helm chart operations with a a given registry. */
2355
2365
  helmSupport?: "classic" | "oci" | undefined;
2366
+ /** Subscription at the Cloud Service Provider (csp) under which this imageRegistry resides.
2367
+ *
2368
+ * (eg: In azure this is the subscriptionId, not the tenantId. In aws, this is the accountId)
2369
+ *
2370
+ * Used to select the matching csp credentials for accessing this registry. */
2371
+ subscriptionId?: string | undefined;
2356
2372
  }
2357
2373
  export interface ImageRegistryCriteria {
2358
2374
  code?: StringFilter | undefined;
2359
2375
  url?: StringFilter | undefined;
2360
2376
  type?: StringFilter | undefined;
2361
2377
  packageType?: "container" | "helm" | undefined;
2378
+ subscriptionId?: string | undefined;
2362
2379
  ids?: string[] | undefined;
2363
2380
  all?: boolean | undefined;
2364
2381
  /** supports a single field name
@@ -2396,6 +2413,12 @@ export interface ImageRegistrySpec {
2396
2413
  useRemoteFiltering?: boolean | undefined;
2397
2414
  /** Declaration of which paradigm to use for implementing Helm chart operations with a a given registry. */
2398
2415
  helmSupport?: "classic" | "oci" | undefined;
2416
+ /** Subscription at the Cloud Service Provider (csp) under which this imageRegistry resides.
2417
+ *
2418
+ * (eg: In azure this is the subscriptionId, not the tenantId. In aws, this is the accountId)
2419
+ *
2420
+ * Used to select the matching csp credentials for accessing this registry. */
2421
+ subscriptionId?: string | undefined;
2399
2422
  }
2400
2423
  /** IMPORTANT!!! Key names are `"camelCase"`, whereas the values are `"PascalCase"`.
2401
2424
  * This mismatching is the result of a late change after values had already been written the the production database. */
@@ -2641,6 +2664,7 @@ export interface KvpReference {
2641
2664
  /** The specs for a key value store to be managed by the codiac system.
2642
2665
  * This class is used to programmatically put up and take down concrete key value stores. */
2643
2666
  export interface KvpStoreDef {
2667
+ id?: string | undefined;
2644
2668
  /** The friendly identifying name under which the key value store resource is registered within an enterprise.
2645
2669
  * The concrete instance that gets created will use this name
2646
2670
  * (if the instance exists already, this property
@@ -2654,7 +2678,7 @@ export interface KvpStoreDef {
2654
2678
  /** Info describing the concrete instance of this kvp store
2655
2679
  * actually living within a cloud provider subscription. */
2656
2680
  instance?: KvpStoreInfrx | undefined;
2657
- id?: string | undefined;
2681
+ subscriptionId?: string | undefined;
2658
2682
  createdBy: string;
2659
2683
  modifiedBy: string;
2660
2684
  created: Date;
@@ -2664,6 +2688,7 @@ export interface KvpStoreDefCriteria {
2664
2688
  name?: string | undefined;
2665
2689
  /** Identifier for a supported cloud service provider, for use in selecting infrastructure clients, provisioners, and credentials. */
2666
2690
  provider?: "artifactHub" | "aws" | "azure" | "dockerHub" | "localMachine" | "other" | undefined;
2691
+ providerSubscription?: string | undefined;
2667
2692
  /** List of codenames for supported KeyValue stores.
2668
2693
  * eg: Clients for these types of stores are registered under these values. */
2669
2694
  type?: "awsKeyVault" | "azBlob" | "azKeyVault" | "etcd" | "mongoCollection" | "mongoDocument" | undefined;
@@ -2694,6 +2719,7 @@ export interface KvpStoreDefCriteria {
2694
2719
  }
2695
2720
  export interface KvpStoreInfrx {
2696
2721
  type: KvpStoreTypesEnum;
2722
+ id?: string | undefined;
2697
2723
  /** The friendly, human-readable identifier of this resource,
2698
2724
  * as it is known by the cloud provider.
2699
2725
  * Its name is unique only within the resource group containing the instance,
@@ -2703,7 +2729,8 @@ export interface KvpStoreInfrx {
2703
2729
  provider: CloudProviderEnum;
2704
2730
  /** The Id given by the csp. */
2705
2731
  resourceId: string;
2706
- id?: string | undefined;
2732
+ /** TODO: Make this required. */
2733
+ subscriptionId?: string | undefined;
2707
2734
  createdBy: string;
2708
2735
  modifiedBy: string;
2709
2736
  created: Date;
@@ -232,7 +232,6 @@ AuthRoleParentFilter
232
232
  AuthSubscription
233
233
  AuthTenant
234
234
  AutoscalingProfile
235
- Buffer
236
235
  Build
237
236
  BuildCriteria
238
237
  BuildPipeline
@@ -509,5 +508,5 @@ ZombiePeriodCriteria
509
508
  // [Partial<VersionCreateActivity>]
510
509
  // [Partial<WorkFlowStrategy>]
511
510
  // [Partial<ZombiePeriod>]
512
- // Total contract count: 297
511
+ // Total contract count: 296
513
512
  //# sourceMappingURL=contracts.ng.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"contracts.ng.js","sourceRoot":"","sources":["../../../../src/apis/codiac-api-nats/gen/contracts.ng.ts"],"names":[],"mappings":";;;AA6DA,IAAY,gBAQX;AARD,WAAY,gBAAgB;IAC1B,mDAA+B,CAAA;IAC/B,mDAA+B,CAAA;IAC/B,6CAAyB,CAAA;IACzB,iDAA6B,CAAA;IAC7B,6CAAyB,CAAA;IACzB,6CAAyB,CAAA;IACzB,mDAA+B,CAAA;AACjC,CAAC,EARW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAQ3B;AAmCD,IAAY,iBAMX;AAND,WAAY,iBAAiB;IAC3B,kDAA6B,CAAA;IAC7B,gEAA2C,CAAA;IAC3C,oDAA+B,CAAA;IAC/B,8CAAyB,CAAA;IACzB,oCAAe,CAAA;AACjB,CAAC,EANW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAM5B;AA4LD,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,+BAAa,CAAA;IACb,6BAAW,CAAA;IACX,qCAAmB,CAAA;AACrB,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB;AAokBD,qIAAqI;AACrI,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IAC3B,gDAA2B,CAAA;IAC3B,gCAAW,CAAA;IACX,oCAAe,CAAA;IACf,4CAAuB,CAAA;IACvB,kDAA6B,CAAA;IAC7B,oCAAe,CAAA;AACjB,CAAC,EAPW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBA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C,4BAA4B"}
1
+ {"version":3,"file":"contracts.ng.js","sourceRoot":"","sources":["../../../../src/apis/codiac-api-nats/gen/contracts.ng.ts"],"names":[],"mappings":";;;AA6DA,IAAY,gBAQX;AARD,WAAY,gBAAgB;IAC1B,mDAA+B,CAAA;IAC/B,mDAA+B,CAAA;IAC/B,6CAAyB,CAAA;IACzB,iDAA6B,CAAA;IAC7B,6CAAyB,CAAA;IACzB,6CAAyB,CAAA;IACzB,mDAA+B,CAAA;AACjC,CAAC,EARW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAQ3B;AAmCD,IAAY,iBAMX;AAND,WAAY,iBAAiB;IAC3B,kDAA6B,CAAA;IAC7B,gEAA2C,CAAA;IAC3C,oDAA+B,CAAA;IAC/B,8CAAyB,CAAA;IACzB,oCAAe,CAAA;AACjB,CAAC,EANW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAM5B;AA4LD,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,+BAAa,CAAA;IACb,6BAAW,CAAA;IACX,qCAAmB,CAAA;AACrB,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB;AAgkBD,qIAAqI;AACrI,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IAC3B,gDAA2B,CAAA;IAC3B,gCAAW,CAAA;IACX,oCAAe,CAAA;IACf,4CAAuB,CAAA;IACvB,kDAA6B,CAAA;IAC7B,oCAAe,CAAA;AACjB,CAAC,EAPW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAO5B;AAscD,+DAA+D;AAC/D,IAAY,kBAWX;AAXD,WAAY,kBAAkB;IAC5B,+CAAyB,CAAA;IACzB,iCAAW,CAAA;IACX,mCAAa,CAAA;IACb,6CAAuB,CAAA;IACvB,6CAAuB,CAAA;IACvB,mCAAa,CAAA;IACb,2CAAqB,CAAA;IACrB,qCAAe,CAAA;IACf,uCAAiB,CAAA;IACjB,yCAAmB,CAAA;AACrB,CAAC,EA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuPE;AAMF,+FAA+F;AAC/F,EAAE;AACF,WAAW;AACX,EAAE;AACF,+FAA+F;AAC3F,cAAc;AACd,UAAU;AACV,4BAA4B;AAC5B,qBAAqB;AACrB,kCAAkC;AAClC,wBAAwB;AACxB,qBAAqB;AACrB,6BAA6B;AAC7B,uBAAuB;AACvB,qCAAqC;AACrC,uBAAuB;AACvB,0BAA0B;AAC1B,4BAA4B;AAC5B,4BAA4B;AAC5B,uBAAuB;AACvB,4BAA4B;AAC5B,wCAAwC;AACxC,kCAAkC;AAClC,gCAAgC;AAChC,+BAA+B;AAC/B,6BAA6B;AAC7B,0BAA0B;AAC1B,kCAAkC;AAClC,8BAA8B;AAC9B,0BAA0B;AAC1B,kCAAkC;AAClC,uCAAuC;AACvC,yBAAyB;AACzB,2BAA2B;AAC3B,4BAA4B;AAC5B,qBAAqB;AACrB,6BAA6B;AAC7B,mBAAmB;AACnB,2BAA2B;AAC3B,qBAAqB;AACrB,2BAA2B;AAC3B,qBAAqB;AACrB,uBAAuB;AACvB,oCAAoC;AACpC,oCAAoC;AACpC,6BAA6B;AAC7B,4BAA4B;AAC5B,wBAAwB;AACxB,0BAA0B;AAC1B,4BAA4B;AAC5B,mBAAmB;AACnB,6BAA6B;AAC7B,qCAAqC;AACrC,gCAAgC;AAChC,4BAA4B;AAChC,4BAA4B"}
@@ -8,15 +8,16 @@ import { TokenCreds } from "../common/token";
8
8
  import { RelayNatsClientConfig } 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";
12
11
  import { IStackableNatsClient } from "../../codiac-api/i-client";
13
12
  import { TokenUtils } from "../common/token-utils";
14
- export type NatsClientOptions = {
13
+ import { IStreamingConnector } from "@codiac.io/codiac-messaging";
14
+ export type NatsRequestOptions = {
15
15
  requestTimeoutInMs: number;
16
16
  };
17
- export declare class RelayNatsClient implements /* ICodiacClient, */ /* IRelayClient, */ IStackableNatsClient {
17
+ export declare class RelayNatsClient implements /* ICodiacClient, */ IStackableNatsClient {
18
18
  logger: IBetterLogger;
19
19
  private _settings;
20
+ private connector;
20
21
  private _tokenCredentials?;
21
22
  static readonly DEFAULT_TOKEN_HEADER_PARAM = "authorization";
22
23
  /** Version of the remote api from which this client was generated */
@@ -26,10 +27,8 @@ export declare class RelayNatsClient implements /* ICodiacClient, */ /* IRelayCl
26
27
  static readonly DEFAULTS: RelayNatsClientConfig;
27
28
  static bootstrap(ioc: interfaces.Container, settings?: Partial<RelayNatsClientConfig>): void;
28
29
  /** This factory method is just for convenience and hasty backward compatibility with consumers not using ioc. */
29
- static create(logger: IBetterLogger, configuration?: RelayNatsClientConfig, codiacJwt?: string | TokenCreds): RelayNatsClient;
30
- private static _nc;
31
- static get nc(): Nats.NatsConnection | undefined;
32
- constructor(logger: IBetterLogger, _settings: RelayNatsClientConfig, _tokenCredentials?: TokenCreds | undefined);
30
+ static create(logger: IBetterLogger, connector: IStreamingConnector, configuration?: RelayNatsClientConfig, codiacJwt?: string | TokenCreds): RelayNatsClient;
31
+ constructor(logger: IBetterLogger, _settings: RelayNatsClientConfig, connector: IStreamingConnector, _tokenCredentials?: TokenCreds | undefined);
33
32
  TokenUtils: TokenUtils;
34
33
  endpoints: {
35
34
  [operationId: string]: string[];
@@ -43,21 +42,19 @@ export declare class RelayNatsClient implements /* ICodiacClient, */ /* IRelayCl
43
42
  isExpired(token: string, throwOnError?: boolean): boolean;
44
43
  /** Sets the user context to impersonate in requests made to the api. */
45
44
  setUserToken(token: string): void;
46
- connect(): Promise<Nats.ServerInfo | undefined>;
45
+ connect(): Promise<string>;
47
46
  isConnected(): boolean;
48
47
  disconnect(): Promise<void>;
49
48
  /** Disregards any instances and checks the underlying connection store
50
49
  * for any connections that are currently not closed or draining. */
51
- static areAnyConnected(): boolean;
50
+ areAnyConnected(): boolean;
52
51
  /** Closes any unclosed connections in the underlying connection store (regardless of instances). */
53
- static disconnectAll(): Promise<void>;
54
- /** Declaration of what messaging protocol to connect with. */
55
- private clientType;
52
+ disconnectAll(): Promise<void>;
56
53
  get tokenCredentials(): TokenCreds | undefined;
57
54
  set tokenCredentials(value: TokenCreds | undefined);
58
55
  get settings(): RelayNatsClientConfig;
59
56
  private getValues;
60
- request<TRequest, TResponse>(subject: string, req?: TRequest, options?: IRepoOptions, clientOptions?: Partial<NatsClientOptions>): Promise<TResponse>;
57
+ request<TRequest, TResponse>(subject: string, req?: TRequest, options?: IRepoOptions, clientOptions?: Partial<NatsRequestOptions>): Promise<TResponse>;
61
58
  private makeRequest;
62
59
  Auth: AuthOperations;
63
60
  Call: OtherOperations;