@codiac.io/codiac-cli 1.3.120 → 1.3.122

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 (90) hide show
  1. package/README.md +1 -1
  2. package/dist/apis/codiac-api/i-client.d.ts +12 -0
  3. package/dist/apis/codiac-api-nats/gen/client.d.ts +5 -0
  4. package/dist/apis/codiac-api-nats/gen/client.js +22 -8
  5. package/dist/apis/codiac-api-nats/gen/client.js.map +1 -1
  6. package/dist/apis/codiac-api-nats/gen/config.d.ts +2 -1
  7. package/dist/apis/codiac-api-nats/gen/config.js +3 -2
  8. package/dist/apis/codiac-api-nats/gen/config.js.map +1 -1
  9. package/dist/apis/codiac-relay/gen/contracts/types.gen.d.ts +10 -3
  10. package/dist/apis/codiac-relay/gen/contracts/types.gen.js.map +1 -1
  11. package/dist/apis/codiac-relay-nats/common/creds.d.ts +8 -0
  12. package/dist/apis/codiac-relay-nats/common/creds.js +19 -0
  13. package/dist/apis/codiac-relay-nats/common/creds.js.map +1 -0
  14. package/dist/apis/codiac-relay-nats/common/token-utils.d.ts +11 -0
  15. package/dist/apis/codiac-relay-nats/common/token-utils.js +84 -0
  16. package/dist/apis/codiac-relay-nats/common/token-utils.js.map +1 -0
  17. package/dist/apis/codiac-relay-nats/common/token.d.ts +4 -0
  18. package/dist/apis/codiac-relay-nats/common/token.js +16 -0
  19. package/dist/apis/codiac-relay-nats/common/token.js.map +1 -0
  20. package/dist/apis/codiac-relay-nats/common/types.d.ts +8 -0
  21. package/dist/apis/codiac-relay-nats/common/types.js +3 -0
  22. package/dist/apis/codiac-relay-nats/common/types.js.map +1 -0
  23. package/dist/apis/codiac-relay-nats/common/utils.d.ts +56 -0
  24. package/dist/apis/codiac-relay-nats/common/utils.js +323 -0
  25. package/dist/apis/codiac-relay-nats/common/utils.js.map +1 -0
  26. package/dist/apis/codiac-relay-nats/gen/client.d.ts +995 -0
  27. package/dist/apis/codiac-relay-nats/gen/client.js +5750 -0
  28. package/dist/apis/codiac-relay-nats/gen/client.js.map +1 -0
  29. package/dist/apis/codiac-relay-nats/gen/config.d.ts +19 -0
  30. package/dist/apis/codiac-relay-nats/gen/config.js +19 -0
  31. package/dist/apis/codiac-relay-nats/gen/config.js.map +1 -0
  32. package/dist/apis/codiac-relay-nats/gen/contracts/index.d.ts +1 -0
  33. package/dist/apis/codiac-relay-nats/gen/contracts/index.js +6 -0
  34. package/dist/apis/codiac-relay-nats/gen/contracts/index.js.map +1 -0
  35. package/dist/apis/codiac-relay-nats/gen/contracts/transformers.gen.d.ts +315 -0
  36. package/dist/apis/codiac-relay-nats/gen/contracts/transformers.gen.js +3656 -0
  37. package/dist/apis/codiac-relay-nats/gen/contracts/transformers.gen.js.map +1 -0
  38. package/dist/apis/codiac-relay-nats/gen/contracts/types.gen.d.ts +16515 -0
  39. package/dist/apis/codiac-relay-nats/gen/contracts/types.gen.js +408 -0
  40. package/dist/apis/codiac-relay-nats/gen/contracts/types.gen.js.map +1 -0
  41. package/dist/apis/codiac-relay-nats/gen/contracts.ng.d.ts +4517 -0
  42. package/dist/apis/codiac-relay-nats/gen/contracts.ng.js +573 -0
  43. package/dist/apis/codiac-relay-nats/gen/contracts.ng.js.map +1 -0
  44. package/dist/apis/codiac-relay-nats/index.d.ts +3 -0
  45. package/dist/apis/codiac-relay-nats/index.js +7 -0
  46. package/dist/apis/codiac-relay-nats/index.js.map +1 -0
  47. package/dist/bootstrapper-for-api-clients.d.ts +6 -0
  48. package/dist/bootstrapper-for-api-clients.js +110 -0
  49. package/dist/bootstrapper-for-api-clients.js.map +1 -0
  50. package/dist/bootstrapper-for-enterprise-commands.js +2 -59
  51. package/dist/bootstrapper-for-enterprise-commands.js.map +1 -1
  52. package/dist/codiac-constants.d.ts +1 -1
  53. package/dist/codiac-constants.js +1 -1
  54. package/dist/codiac-constants.js.map +1 -1
  55. package/dist/command-base-enterprise.js +17 -4
  56. package/dist/command-base-enterprise.js.map +1 -1
  57. package/dist/command-base-exec-tenant.js +11 -4
  58. package/dist/command-base-exec-tenant.js.map +1 -1
  59. package/dist/commands/asset/view.js +1 -1
  60. package/dist/commands/asset/view.js.map +1 -1
  61. package/dist/commands/cluster/connect.js +1 -1
  62. package/dist/commands/cluster/connect.js.map +1 -1
  63. package/dist/commands/csp/login.d.ts +25 -6
  64. package/dist/commands/csp/login.js +186 -142
  65. package/dist/commands/csp/login.js.map +1 -1
  66. package/dist/commands/csp/logout.d.ts +5 -3
  67. package/dist/commands/csp/logout.js +27 -16
  68. package/dist/commands/csp/logout.js.map +1 -1
  69. package/dist/commands/noc/cluster/forget.js +3 -3
  70. package/dist/commands/noc/cluster/forget.js.map +1 -1
  71. package/dist/ops/k8s/k8s-utils.d.ts +2 -1
  72. package/dist/ops/k8s/k8s-utils.js +4 -3
  73. package/dist/ops/k8s/k8s-utils.js.map +1 -1
  74. package/dist/ops/k8s/kube-config-utils.d.ts +2 -1
  75. package/dist/ops/k8s/kube-config-utils.js +1 -1
  76. package/dist/ops/k8s/kube-config-utils.js.map +1 -1
  77. package/dist/read-stdin.js +7 -6
  78. package/dist/read-stdin.js.map +1 -1
  79. package/dist/relay/relay-container.js +1 -1
  80. package/dist/sdk/i-login-configurator.d.ts +2 -1
  81. package/dist/sdk-adapters/aws/aws-resource-configurator.js +13 -9
  82. package/dist/sdk-adapters/aws/aws-resource-configurator.js.map +1 -1
  83. package/dist/sdk-adapters/azure/az-interactive-login-configurator.d.ts +2 -2
  84. package/dist/sdk-adapters/azure/az-interactive-login-configurator.js +2 -2
  85. package/dist/sdk-adapters/azure/az-interactive-login-configurator.js.map +1 -1
  86. package/dist/uilogic/cloud-provider-contextualizer.d.ts +5 -1
  87. package/dist/uilogic/cloud-provider-contextualizer.js +48 -7
  88. package/dist/uilogic/cloud-provider-contextualizer.js.map +1 -1
  89. package/oclif.manifest.json +60 -11
  90. package/package.json +2 -2
@@ -0,0 +1,995 @@
1
+ /// <reference types="node" />
2
+ /// <reference types="node" />
3
+ import { interfaces } from "inversify";
4
+ import { Buffer } from "buffer";
5
+ import { IRepoOptions, IBetterLogger } from "@codiac.io/codiac-common";
6
+ import { ListResult, BatchResult, SingleResult, PatchSpecForOne, PatchSpecForMany, IdSpecFor } from "@codiac.io/codiac-common/contracts";
7
+ import { TokenCreds } from "../common/token";
8
+ import { RelayNatsClientConfig } from "./config";
9
+ import { UpdatePartialWhereRequest, IThrowingRepoOptions } from "../common/types";
10
+ import * as Contracts from './contracts';
11
+ import * as Nats from "@nats-io/nats-core";
12
+ import { IStackableNatsClient } from "../../codiac-api/i-client";
13
+ import { TokenUtils } from "../common/token-utils";
14
+ export type NatsClientOptions = {
15
+ requestTimeoutInMs: number;
16
+ };
17
+ export declare class RelayNatsClient implements /* ICodiacClient, */ /* IRelayClient, */ IStackableNatsClient {
18
+ logger: IBetterLogger;
19
+ private _settings;
20
+ private _tokenCredentials?;
21
+ static readonly DEFAULT_TOKEN_HEADER_PARAM = "authorization";
22
+ /** Version of the remote api from which this client was generated */
23
+ static apiVersion: string;
24
+ /** The name of the jwt claim in the codiac token that holds the nats credentials. */
25
+ private static readonly CLAIM_FOR_GLOBAL_CLIENT_KEY;
26
+ static readonly DEFAULTS: RelayNatsClientConfig;
27
+ static bootstrap(ioc: interfaces.Container, settings?: Partial<RelayNatsClientConfig>): void;
28
+ /** 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);
33
+ TokenUtils: TokenUtils;
34
+ endpoints: {
35
+ [operationId: string]: string[];
36
+ };
37
+ registerEndpoints(endpoints: {
38
+ [op: string]: string[];
39
+ }): void;
40
+ supportsSubject(subject: string): boolean;
41
+ /** Throws if not found; */
42
+ opFor(subject: string): string;
43
+ isExpired(token: string, throwOnError?: boolean): boolean;
44
+ /** Sets the user context to impersonate in requests made to the api. */
45
+ setUserToken(token: string): void;
46
+ connect(): Promise<Nats.ServerInfo | undefined>;
47
+ isConnected(): boolean;
48
+ disconnect(): Promise<void>;
49
+ /** Disregards any instances and checks the underlying connection store
50
+ * for any connections that are currently not closed or draining. */
51
+ static areAnyConnected(): boolean;
52
+ /** 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;
56
+ get tokenCredentials(): TokenCreds | undefined;
57
+ set tokenCredentials(value: TokenCreds | undefined);
58
+ get settings(): RelayNatsClientConfig;
59
+ private getValues;
60
+ request<TRequest, TResponse>(subject: string, req?: TRequest, options?: IRepoOptions, clientOptions?: Partial<NatsClientOptions>): Promise<TResponse>;
61
+ private makeRequest;
62
+ Auth: AuthOperations;
63
+ Call: OtherOperations;
64
+ AuthRole: AuthRoleCruds;
65
+ Cabinet: CabinetCruds;
66
+ ClusterDef: ClusterDefCruds;
67
+ DefaultChildAcl: DefaultChildAclCruds;
68
+ DeployAttempt: DeployAttemptCruds;
69
+ Deployment: DeploymentCruds;
70
+ EnterpriseRunState: EnterpriseRunStateCruds;
71
+ EntityAcl: EntityAclCruds;
72
+ Environment: EnvironmentCruds;
73
+ FileStoreDef: FileStoreDefCruds;
74
+ ScopedHostNameConfig: ScopedHostNameConfigCruds;
75
+ ScopedSetting: ScopedSettingCruds;
76
+ SetupJournal: SetupJournalCruds;
77
+ ZombiePeriod: ZombiePeriodCruds;
78
+ }
79
+ declare class AuthOperations {
80
+ private core;
81
+ constructor(core: RelayNatsClient);
82
+ RoleCreate(request: Contracts.AuthRole, options?: IRepoOptions): Promise<SingleResult<Contracts.AuthRole>>;
83
+ RoleCreateMany(request: Array<Contracts.AuthRole>, options?: IRepoOptions): Promise<BatchResult<Contracts.AuthRole>>;
84
+ RoleDelete(request: IdSpecFor<Contracts.AuthRole>, options?: IRepoOptions): Promise<SingleResult<Contracts.AuthRole>>;
85
+ RoleDeleteWhere(request: Contracts.AuthRoleCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.AuthRole>>;
86
+ RoleGet(request: IdSpecFor<Contracts.AuthRole>, options?: IRepoOptions): Promise<SingleResult<Contracts.AuthRole>>;
87
+ RoleList(request: Contracts.AuthRoleCriteria, options?: IRepoOptions): Promise<ListResult<Contracts.AuthRole>>;
88
+ RolePatch(request: PatchSpecForOne<Contracts.AuthRole>, options?: IRepoOptions): Promise<SingleResult<Contracts.AuthRole>>;
89
+ RolePatchWhere(request: PatchSpecForMany<Contracts.AuthRole, Contracts.AuthRoleCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.AuthRole>>;
90
+ RoleUpdate(request: Contracts.AuthRole, options?: IRepoOptions): Promise<SingleResult<Contracts.AuthRole>>;
91
+ RoleUpdateMany(request: Array<Contracts.AuthRole>, options?: IRepoOptions): Promise<BatchResult<Contracts.AuthRole>>;
92
+ RoleUpdatePartial(request: Partial<Contracts.AuthRole>, options?: IRepoOptions): Promise<SingleResult<Partial<Contracts.AuthRole>>>;
93
+ RoleUpdatePartialMany(request: Array<Contracts.AuthRole>, options?: IRepoOptions): Promise<BatchResult<Partial<Contracts.AuthRole>>>;
94
+ RoleUpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.AuthRole, Contracts.AuthRoleCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.AuthRole>>;
95
+ RoleUpsert(request: Contracts.AuthRole, options?: IRepoOptions): Promise<SingleResult<Contracts.AuthRole>>;
96
+ RoleUpsertMany(request: Array<Contracts.AuthRole>, options?: IRepoOptions): Promise<BatchResult<Contracts.AuthRole>>;
97
+ DefaultChildAclCreate(request: Contracts.DefaultChildAcl, options?: IRepoOptions): Promise<SingleResult<Contracts.DefaultChildAcl>>;
98
+ DefaultChildAclCreateMany(request: Array<Contracts.DefaultChildAcl>, options?: IRepoOptions): Promise<BatchResult<Contracts.DefaultChildAcl>>;
99
+ DefaultChildAclDelete(request: IdSpecFor<Contracts.DefaultChildAcl>, options?: IRepoOptions): Promise<SingleResult<Contracts.DefaultChildAcl>>;
100
+ DefaultChildAclGet(request: IdSpecFor<Contracts.DefaultChildAcl>, options?: IRepoOptions): Promise<SingleResult<Contracts.DefaultChildAcl>>;
101
+ DefaultChildAclList(request: Contracts.DefaultChildAclCriteria, options?: IRepoOptions): Promise<ListResult<Contracts.DefaultChildAcl>>;
102
+ DefaultChildAclPatch(request: PatchSpecForOne<Contracts.DefaultChildAcl>, options?: IRepoOptions): Promise<SingleResult<Contracts.DefaultChildAcl>>;
103
+ DefaultChildAclPatchWhere(request: PatchSpecForMany<Contracts.DefaultChildAcl, Contracts.DefaultChildAclCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.DefaultChildAcl>>;
104
+ DefaultChildAclUpdate(request: Contracts.DefaultChildAcl, options?: IRepoOptions): Promise<SingleResult<Contracts.DefaultChildAcl>>;
105
+ DefaultChildAclUpdateMany(request: Array<Contracts.DefaultChildAcl>, options?: IRepoOptions): Promise<BatchResult<Contracts.DefaultChildAcl>>;
106
+ DefaultChildAclUpdatePartial(request: Partial<Contracts.DefaultChildAcl>, options?: IRepoOptions): Promise<SingleResult<Partial<Contracts.DefaultChildAcl>>>;
107
+ DefaultChildAclUpdatePartialMany(request: Array<Contracts.DefaultChildAcl>, options?: IRepoOptions): Promise<BatchResult<Partial<Contracts.DefaultChildAcl>>>;
108
+ DefaultChildAclUpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.DefaultChildAcl, Contracts.DefaultChildAclCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.DefaultChildAcl>>;
109
+ DefaultChildAclUpsert(request: Contracts.DefaultChildAcl, options?: IRepoOptions): Promise<SingleResult<Contracts.DefaultChildAcl>>;
110
+ DefaultChildAclUpsertMany(request: Array<Contracts.DefaultChildAcl>, options?: IRepoOptions): Promise<BatchResult<Contracts.DefaultChildAcl>>;
111
+ EntityAclCreate(request: Contracts.EntityAcl, options?: IRepoOptions): Promise<SingleResult<Contracts.EntityAcl>>;
112
+ EntityAclCreateMany(request: Array<Contracts.EntityAcl>, options?: IRepoOptions): Promise<BatchResult<Contracts.EntityAcl>>;
113
+ EntityAclDelete(request: IdSpecFor<Contracts.EntityAcl>, options?: IRepoOptions): Promise<SingleResult<Contracts.EntityAcl>>;
114
+ EntityAclDeleteWhere(request: Contracts.EntityAclCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.EntityAcl>>;
115
+ EntityAclGet(request: IdSpecFor<Contracts.EntityAcl>, options?: IRepoOptions): Promise<SingleResult<Contracts.EntityAcl>>;
116
+ EntityAclList(request: Contracts.EntityAclCriteria, options?: IRepoOptions): Promise<ListResult<Contracts.EntityAcl>>;
117
+ EntityAclPatch(request: PatchSpecForOne<Contracts.EntityAcl>, options?: IRepoOptions): Promise<SingleResult<Contracts.EntityAcl>>;
118
+ EntityAclPatchWhere(request: PatchSpecForMany<Contracts.EntityAcl, Contracts.EntityAclCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.EntityAcl>>;
119
+ EntityAclUpdate(request: Contracts.EntityAcl, options?: IRepoOptions): Promise<SingleResult<Contracts.EntityAcl>>;
120
+ EntityAclUpdateMany(request: Array<Contracts.EntityAcl>, options?: IRepoOptions): Promise<BatchResult<Contracts.EntityAcl>>;
121
+ EntityAclUpdatePartial(request: Partial<Contracts.EntityAcl>, options?: IRepoOptions): Promise<SingleResult<Partial<Contracts.EntityAcl>>>;
122
+ EntityAclUpdatePartialMany(request: Array<Contracts.EntityAcl>, options?: IRepoOptions): Promise<BatchResult<Partial<Contracts.EntityAcl>>>;
123
+ EntityAclUpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.EntityAcl, Contracts.EntityAclCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.EntityAcl>>;
124
+ EntityAclUpsert(request: Contracts.EntityAcl, options?: IRepoOptions): Promise<SingleResult<Contracts.EntityAcl>>;
125
+ EntityAclUpsertMany(request: Array<Contracts.EntityAcl>, options?: IRepoOptions): Promise<BatchResult<Contracts.EntityAcl>>;
126
+ /** Determines whether the given token is expired.
127
+ * @param throwOnError throws any encountered errors, including token parsing errors.
128
+ */
129
+ isExpired(token: string, throwOnError?: boolean): boolean;
130
+ extractTokenExpiration(token: string): Date | undefined;
131
+ }
132
+ declare class AuthRoleCruds {
133
+ private core;
134
+ constructor(core: RelayNatsClient);
135
+ private endpoints;
136
+ /** Deletes each existing AuthRole that satisfies the given criteria. */
137
+ tryDeleteWhere(request: Contracts.AuthRoleCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.AuthRole>>;
138
+ deleteWhere(request: Contracts.AuthRoleCriteria, options?: IThrowingRepoOptions): Promise<Contracts.AuthRole[]>;
139
+ /** Retrieves all the existing AuthRole that satisfy the given criteria. */
140
+ tryReadMany(request: Contracts.AuthRoleCriteria, options?: IRepoOptions): Promise<ListResult<Contracts.AuthRole>>;
141
+ readMany(request: Contracts.AuthRoleCriteria, options?: IThrowingRepoOptions): Promise<Contracts.AuthRole[]>;
142
+ /** Performs the given operations on each existing AuthRole that satisfies the given criteria. */
143
+ tryPatchWhere(request: PatchSpecForMany<Contracts.AuthRole, Contracts.AuthRoleCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.AuthRole>>;
144
+ patchWhere(request: PatchSpecForMany<Contracts.AuthRole, Contracts.AuthRoleCriteria>, options?: IThrowingRepoOptions): Promise<Contracts.AuthRole[]>;
145
+ /** Saves each given input as a new AuthRole. */
146
+ tryCreateMany(request: Array<Contracts.AuthRole>, options?: IRepoOptions): Promise<BatchResult<Contracts.AuthRole>>;
147
+ createMany(request: Array<Contracts.AuthRole>, options?: IThrowingRepoOptions): Promise<Contracts.AuthRole[]>;
148
+ /** Overwrites each existing AuthRole. */
149
+ tryUpdateMany(request: Array<Contracts.AuthRole>, options?: IRepoOptions): Promise<BatchResult<Contracts.AuthRole>>;
150
+ updateMany(request: Array<Contracts.AuthRole>, options?: IThrowingRepoOptions): Promise<Contracts.AuthRole[]>;
151
+ /** Deletes the existing AuthRole. */
152
+ tryDelete(request: IdSpecFor<Contracts.AuthRole>, options?: IRepoOptions): Promise<SingleResult<Contracts.AuthRole>>;
153
+ delete(request: IdSpecFor<Contracts.AuthRole>, options?: IThrowingRepoOptions): Promise<Contracts.AuthRole>;
154
+ /** Retrieves the single, uniquely identified AuthRole. */
155
+ tryRead(request: IdSpecFor<Contracts.AuthRole>, options?: IRepoOptions): Promise<SingleResult<Contracts.AuthRole>>;
156
+ read(request: IdSpecFor<Contracts.AuthRole>, options?: IThrowingRepoOptions): Promise<Contracts.AuthRole>;
157
+ /** Performs the given operations on the existing AuthRole. */
158
+ tryPatch(request: PatchSpecForOne<Contracts.AuthRole>, options?: IRepoOptions): Promise<SingleResult<Contracts.AuthRole>>;
159
+ patch(request: PatchSpecForOne<Contracts.AuthRole>, options?: IThrowingRepoOptions): Promise<Contracts.AuthRole>;
160
+ /** Overwrites the existing AuthRole. */
161
+ tryUpdate(request: Contracts.AuthRole, options?: IRepoOptions): Promise<SingleResult<Contracts.AuthRole>>;
162
+ update(request: Contracts.AuthRole, options?: IThrowingRepoOptions): Promise<Contracts.AuthRole>;
163
+ /** Overwrites the given properties of the existing AuthRole. */
164
+ tryUpdatePartial(request: Partial<Contracts.AuthRole>, options?: IRepoOptions): Promise<SingleResult<Partial<Contracts.AuthRole>>>;
165
+ updatePartial(request: Partial<Contracts.AuthRole>, options?: IThrowingRepoOptions): Promise<Partial<Contracts.AuthRole>>;
166
+ /** Saves the input as a new AuthRole. */
167
+ tryCreate(request: Contracts.AuthRole, options?: IRepoOptions): Promise<SingleResult<Contracts.AuthRole>>;
168
+ create(request: Contracts.AuthRole, options?: IThrowingRepoOptions): Promise<Contracts.AuthRole>;
169
+ /** Overwrites the given properties for each existing AuthRole. */
170
+ tryUpdatePartialMany(request: Array<Contracts.AuthRole>, options?: IRepoOptions): Promise<BatchResult<Partial<Contracts.AuthRole>>>;
171
+ updatePartialMany(request: Array<Contracts.AuthRole>, options?: IThrowingRepoOptions): Promise<Partial<Contracts.AuthRole>[]>;
172
+ /** Performs the given operation on each existing AuthRole that satisfies the given criteria. */
173
+ tryUpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.AuthRole, Contracts.AuthRoleCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.AuthRole>>;
174
+ UpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.AuthRole, Contracts.AuthRoleCriteria>, options?: IThrowingRepoOptions): Promise<Contracts.AuthRole[]>;
175
+ /** Saves the input as a new AuthRole, or updates existing if it already exists. Identity is based either on the existence of a valid id property on the entity submitted or the response from the database (based on unique indexes / primary keys). */
176
+ tryUpsert(request: Contracts.AuthRole, options?: IRepoOptions): Promise<SingleResult<Contracts.AuthRole>>;
177
+ upsert(request: Contracts.AuthRole, options?: IThrowingRepoOptions): Promise<Contracts.AuthRole>;
178
+ /** Saves each given input as a new AuthRole, or updates existing if it already exists. Identity is based either on the existence of a valid id property on the entity submitted or the response from the database (based on unique indexes / primary keys). */
179
+ tryUpsertMany(request: Array<Contracts.AuthRole>, options?: IRepoOptions): Promise<BatchResult<Contracts.AuthRole>>;
180
+ upsertMany(request: Array<Contracts.AuthRole>, options?: IThrowingRepoOptions): Promise<Contracts.AuthRole[]>;
181
+ }
182
+ declare class CabinetCruds {
183
+ private core;
184
+ constructor(core: RelayNatsClient);
185
+ private endpoints;
186
+ /** Deletes each existing Cabinet that satisfies the given criteria. */
187
+ tryDeleteWhere(request: Contracts.CabinetCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.Cabinet>>;
188
+ deleteWhere(request: Contracts.CabinetCriteria, options?: IThrowingRepoOptions): Promise<Contracts.Cabinet[]>;
189
+ /** Retrieves all the existing Cabinet that satisfy the given criteria. */
190
+ tryReadMany(request: Contracts.CabinetCriteria, options?: IRepoOptions): Promise<ListResult<Contracts.Cabinet>>;
191
+ readMany(request: Contracts.CabinetCriteria, options?: IThrowingRepoOptions): Promise<Contracts.Cabinet[]>;
192
+ /** Performs the given operations on each existing Cabinet that satisfies the given criteria. */
193
+ tryPatchWhere(request: PatchSpecForMany<Contracts.Cabinet, Contracts.CabinetCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.Cabinet>>;
194
+ patchWhere(request: PatchSpecForMany<Contracts.Cabinet, Contracts.CabinetCriteria>, options?: IThrowingRepoOptions): Promise<Contracts.Cabinet[]>;
195
+ /** Saves each given input as a new Cabinet. */
196
+ tryCreateMany(request: Array<Contracts.Cabinet>, options?: IRepoOptions): Promise<BatchResult<Contracts.Cabinet>>;
197
+ createMany(request: Array<Contracts.Cabinet>, options?: IThrowingRepoOptions): Promise<Contracts.Cabinet[]>;
198
+ /** Overwrites each existing Cabinet. */
199
+ tryUpdateMany(request: Array<Contracts.Cabinet>, options?: IRepoOptions): Promise<BatchResult<Contracts.Cabinet>>;
200
+ updateMany(request: Array<Contracts.Cabinet>, options?: IThrowingRepoOptions): Promise<Contracts.Cabinet[]>;
201
+ /** Deletes the existing Cabinet. */
202
+ tryDelete(request: IdSpecFor<Contracts.Cabinet>, options?: IRepoOptions): Promise<SingleResult<Contracts.Cabinet>>;
203
+ delete(request: IdSpecFor<Contracts.Cabinet>, options?: IThrowingRepoOptions): Promise<Contracts.Cabinet>;
204
+ /** Retrieves the single, uniquely identified Cabinet. */
205
+ tryRead(request: IdSpecFor<Contracts.Cabinet>, options?: IRepoOptions): Promise<SingleResult<Contracts.Cabinet>>;
206
+ read(request: IdSpecFor<Contracts.Cabinet>, options?: IThrowingRepoOptions): Promise<Contracts.Cabinet>;
207
+ /** Performs the given operations on the existing Cabinet. */
208
+ tryPatch(request: PatchSpecForOne<Contracts.Cabinet>, options?: IRepoOptions): Promise<SingleResult<Contracts.Cabinet>>;
209
+ patch(request: PatchSpecForOne<Contracts.Cabinet>, options?: IThrowingRepoOptions): Promise<Contracts.Cabinet>;
210
+ /** Overwrites the existing Cabinet. */
211
+ tryUpdate(request: Contracts.Cabinet, options?: IRepoOptions): Promise<SingleResult<Contracts.Cabinet>>;
212
+ update(request: Contracts.Cabinet, options?: IThrowingRepoOptions): Promise<Contracts.Cabinet>;
213
+ /** Overwrites the given properties of the existing Cabinet. */
214
+ tryUpdatePartial(request: Partial<Contracts.Cabinet>, options?: IRepoOptions): Promise<SingleResult<Partial<Contracts.Cabinet>>>;
215
+ updatePartial(request: Partial<Contracts.Cabinet>, options?: IThrowingRepoOptions): Promise<Partial<Contracts.Cabinet>>;
216
+ /** Saves the input as a new Cabinet. */
217
+ tryCreate(request: Contracts.Cabinet, options?: IRepoOptions): Promise<SingleResult<Contracts.Cabinet>>;
218
+ create(request: Contracts.Cabinet, options?: IThrowingRepoOptions): Promise<Contracts.Cabinet>;
219
+ /** Overwrites the given properties for each existing Cabinet. */
220
+ tryUpdatePartialMany(request: Array<Contracts.Cabinet>, options?: IRepoOptions): Promise<BatchResult<Partial<Contracts.Cabinet>>>;
221
+ updatePartialMany(request: Array<Contracts.Cabinet>, options?: IThrowingRepoOptions): Promise<Partial<Contracts.Cabinet>[]>;
222
+ /** Performs the given operation on each existing Cabinet that satisfies the given criteria. */
223
+ tryUpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.Cabinet, Contracts.CabinetCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.Cabinet>>;
224
+ UpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.Cabinet, Contracts.CabinetCriteria>, options?: IThrowingRepoOptions): Promise<Contracts.Cabinet[]>;
225
+ /** Saves the input as a new Cabinet, or updates existing if it already exists. Identity is based either on the existence of a valid id property on the entity submitted or the response from the database (based on unique indexes / primary keys). */
226
+ tryUpsert(request: Contracts.Cabinet, options?: IRepoOptions): Promise<SingleResult<Contracts.Cabinet>>;
227
+ upsert(request: Contracts.Cabinet, options?: IThrowingRepoOptions): Promise<Contracts.Cabinet>;
228
+ /** Saves each given input as a new Cabinet, or updates existing if it already exists. Identity is based either on the existence of a valid id property on the entity submitted or the response from the database (based on unique indexes / primary keys). */
229
+ tryUpsertMany(request: Array<Contracts.Cabinet>, options?: IRepoOptions): Promise<BatchResult<Contracts.Cabinet>>;
230
+ upsertMany(request: Array<Contracts.Cabinet>, options?: IThrowingRepoOptions): Promise<Contracts.Cabinet[]>;
231
+ }
232
+ declare class ClusterDefCruds {
233
+ private core;
234
+ constructor(core: RelayNatsClient);
235
+ private endpoints;
236
+ /** Deletes each existing ClusterDef that satisfies the given criteria. */
237
+ tryDeleteWhere(request: Contracts.ClusterDefCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.ClusterDef>>;
238
+ deleteWhere(request: Contracts.ClusterDefCriteria, options?: IThrowingRepoOptions): Promise<Contracts.ClusterDef[]>;
239
+ /** Retrieves all the existing ClusterDef that satisfy the given criteria. */
240
+ tryReadMany(request: Contracts.ClusterDefCriteria, options?: IRepoOptions): Promise<ListResult<Contracts.ClusterDef>>;
241
+ readMany(request: Contracts.ClusterDefCriteria, options?: IThrowingRepoOptions): Promise<Contracts.ClusterDef[]>;
242
+ /** Performs the given operations on each existing ClusterDef that satisfies the given criteria. */
243
+ tryPatchWhere(request: PatchSpecForMany<Contracts.ClusterDef, Contracts.ClusterDefCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.ClusterDef>>;
244
+ patchWhere(request: PatchSpecForMany<Contracts.ClusterDef, Contracts.ClusterDefCriteria>, options?: IThrowingRepoOptions): Promise<Contracts.ClusterDef[]>;
245
+ /** Saves each given input as a new ClusterDef. */
246
+ tryCreateMany(request: Array<Contracts.ClusterDef>, options?: IRepoOptions): Promise<BatchResult<Contracts.ClusterDef>>;
247
+ createMany(request: Array<Contracts.ClusterDef>, options?: IThrowingRepoOptions): Promise<Contracts.ClusterDef[]>;
248
+ /** Overwrites each existing ClusterDef. */
249
+ tryUpdateMany(request: Array<Contracts.ClusterDef>, options?: IRepoOptions): Promise<BatchResult<Contracts.ClusterDef>>;
250
+ updateMany(request: Array<Contracts.ClusterDef>, options?: IThrowingRepoOptions): Promise<Contracts.ClusterDef[]>;
251
+ /** Deletes the existing ClusterDef. */
252
+ tryDelete(request: IdSpecFor<Contracts.ClusterDef>, options?: IRepoOptions): Promise<SingleResult<Contracts.ClusterDef>>;
253
+ delete(request: IdSpecFor<Contracts.ClusterDef>, options?: IThrowingRepoOptions): Promise<Contracts.ClusterDef>;
254
+ /** Retrieves the single, uniquely identified ClusterDef. */
255
+ tryRead(request: IdSpecFor<Contracts.ClusterDef>, options?: IRepoOptions): Promise<SingleResult<Contracts.ClusterDef>>;
256
+ read(request: IdSpecFor<Contracts.ClusterDef>, options?: IThrowingRepoOptions): Promise<Contracts.ClusterDef>;
257
+ /** Performs the given operations on the existing ClusterDef. */
258
+ tryPatch(request: PatchSpecForOne<Contracts.ClusterDef>, options?: IRepoOptions): Promise<SingleResult<Contracts.ClusterDef>>;
259
+ patch(request: PatchSpecForOne<Contracts.ClusterDef>, options?: IThrowingRepoOptions): Promise<Contracts.ClusterDef>;
260
+ /** Overwrites the existing ClusterDef. */
261
+ tryUpdate(request: Contracts.ClusterDef, options?: IRepoOptions): Promise<SingleResult<Contracts.ClusterDef>>;
262
+ update(request: Contracts.ClusterDef, options?: IThrowingRepoOptions): Promise<Contracts.ClusterDef>;
263
+ /** Overwrites the given properties of the existing ClusterDef. */
264
+ tryUpdatePartial(request: Partial<Contracts.ClusterDef>, options?: IRepoOptions): Promise<SingleResult<Partial<Contracts.ClusterDef>>>;
265
+ updatePartial(request: Partial<Contracts.ClusterDef>, options?: IThrowingRepoOptions): Promise<Partial<Contracts.ClusterDef>>;
266
+ /** Saves the input as a new ClusterDef. */
267
+ tryCreate(request: Contracts.ClusterDef, options?: IRepoOptions): Promise<SingleResult<Contracts.ClusterDef>>;
268
+ create(request: Contracts.ClusterDef, options?: IThrowingRepoOptions): Promise<Contracts.ClusterDef>;
269
+ /** Overwrites the given properties for each existing ClusterDef. */
270
+ tryUpdatePartialMany(request: Array<Contracts.ClusterDef>, options?: IRepoOptions): Promise<BatchResult<Partial<Contracts.ClusterDef>>>;
271
+ updatePartialMany(request: Array<Contracts.ClusterDef>, options?: IThrowingRepoOptions): Promise<Partial<Contracts.ClusterDef>[]>;
272
+ /** Performs the given operation on each existing ClusterDef that satisfies the given criteria. */
273
+ tryUpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.ClusterDef, Contracts.ClusterDefCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.ClusterDef>>;
274
+ UpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.ClusterDef, Contracts.ClusterDefCriteria>, options?: IThrowingRepoOptions): Promise<Contracts.ClusterDef[]>;
275
+ /** Saves the input as a new ClusterDef, or updates existing if it already exists. Identity is based either on the existence of a valid id property on the entity submitted or the response from the database (based on unique indexes / primary keys). */
276
+ tryUpsert(request: Contracts.ClusterDef, options?: IRepoOptions): Promise<SingleResult<Contracts.ClusterDef>>;
277
+ upsert(request: Contracts.ClusterDef, options?: IThrowingRepoOptions): Promise<Contracts.ClusterDef>;
278
+ /** Saves each given input as a new ClusterDef, or updates existing if it already exists. Identity is based either on the existence of a valid id property on the entity submitted or the response from the database (based on unique indexes / primary keys). */
279
+ tryUpsertMany(request: Array<Contracts.ClusterDef>, options?: IRepoOptions): Promise<BatchResult<Contracts.ClusterDef>>;
280
+ upsertMany(request: Array<Contracts.ClusterDef>, options?: IThrowingRepoOptions): Promise<Contracts.ClusterDef[]>;
281
+ }
282
+ declare class DefaultChildAclCruds {
283
+ private core;
284
+ constructor(core: RelayNatsClient);
285
+ private endpoints;
286
+ /** Retrieves all the existing DefaultChildAcl that satisfy the given criteria. */
287
+ tryReadMany(request: Contracts.DefaultChildAclCriteria, options?: IRepoOptions): Promise<ListResult<Contracts.DefaultChildAcl>>;
288
+ readMany(request: Contracts.DefaultChildAclCriteria, options?: IThrowingRepoOptions): Promise<Contracts.DefaultChildAcl[]>;
289
+ /** Performs the given operations on each existing DefaultChildAcl that satisfies the given criteria. */
290
+ tryPatchWhere(request: PatchSpecForMany<Contracts.DefaultChildAcl, Contracts.DefaultChildAclCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.DefaultChildAcl>>;
291
+ patchWhere(request: PatchSpecForMany<Contracts.DefaultChildAcl, Contracts.DefaultChildAclCriteria>, options?: IThrowingRepoOptions): Promise<Contracts.DefaultChildAcl[]>;
292
+ /** Saves each given input as a new DefaultChildAcl. */
293
+ tryCreateMany(request: Array<Contracts.DefaultChildAcl>, options?: IRepoOptions): Promise<BatchResult<Contracts.DefaultChildAcl>>;
294
+ createMany(request: Array<Contracts.DefaultChildAcl>, options?: IThrowingRepoOptions): Promise<Contracts.DefaultChildAcl[]>;
295
+ /** Overwrites each existing DefaultChildAcl. */
296
+ tryUpdateMany(request: Array<Contracts.DefaultChildAcl>, options?: IRepoOptions): Promise<BatchResult<Contracts.DefaultChildAcl>>;
297
+ updateMany(request: Array<Contracts.DefaultChildAcl>, options?: IThrowingRepoOptions): Promise<Contracts.DefaultChildAcl[]>;
298
+ /** Deletes the existing DefaultChildAcl. */
299
+ tryDelete(request: IdSpecFor<Contracts.DefaultChildAcl>, options?: IRepoOptions): Promise<SingleResult<Contracts.DefaultChildAcl>>;
300
+ delete(request: IdSpecFor<Contracts.DefaultChildAcl>, options?: IThrowingRepoOptions): Promise<Contracts.DefaultChildAcl>;
301
+ /** Retrieves the single, uniquely identified DefaultChildAcl. */
302
+ tryRead(request: IdSpecFor<Contracts.DefaultChildAcl>, options?: IRepoOptions): Promise<SingleResult<Contracts.DefaultChildAcl>>;
303
+ read(request: IdSpecFor<Contracts.DefaultChildAcl>, options?: IThrowingRepoOptions): Promise<Contracts.DefaultChildAcl>;
304
+ /** Performs the given operations on the existing DefaultChildAcl. */
305
+ tryPatch(request: PatchSpecForOne<Contracts.DefaultChildAcl>, options?: IRepoOptions): Promise<SingleResult<Contracts.DefaultChildAcl>>;
306
+ patch(request: PatchSpecForOne<Contracts.DefaultChildAcl>, options?: IThrowingRepoOptions): Promise<Contracts.DefaultChildAcl>;
307
+ /** Overwrites the existing DefaultChildAcl. */
308
+ tryUpdate(request: Contracts.DefaultChildAcl, options?: IRepoOptions): Promise<SingleResult<Contracts.DefaultChildAcl>>;
309
+ update(request: Contracts.DefaultChildAcl, options?: IThrowingRepoOptions): Promise<Contracts.DefaultChildAcl>;
310
+ /** Overwrites the given properties of the existing DefaultChildAcl. */
311
+ tryUpdatePartial(request: Partial<Contracts.DefaultChildAcl>, options?: IRepoOptions): Promise<SingleResult<Partial<Contracts.DefaultChildAcl>>>;
312
+ updatePartial(request: Partial<Contracts.DefaultChildAcl>, options?: IThrowingRepoOptions): Promise<Partial<Contracts.DefaultChildAcl>>;
313
+ /** Saves the input as a new DefaultChildAcl. */
314
+ tryCreate(request: Contracts.DefaultChildAcl, options?: IRepoOptions): Promise<SingleResult<Contracts.DefaultChildAcl>>;
315
+ create(request: Contracts.DefaultChildAcl, options?: IThrowingRepoOptions): Promise<Contracts.DefaultChildAcl>;
316
+ /** Overwrites the given properties for each existing DefaultChildAcl. */
317
+ tryUpdatePartialMany(request: Array<Contracts.DefaultChildAcl>, options?: IRepoOptions): Promise<BatchResult<Partial<Contracts.DefaultChildAcl>>>;
318
+ updatePartialMany(request: Array<Contracts.DefaultChildAcl>, options?: IThrowingRepoOptions): Promise<Partial<Contracts.DefaultChildAcl>[]>;
319
+ /** Performs the given operation on each existing DefaultChildAcl that satisfies the given criteria. */
320
+ tryUpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.DefaultChildAcl, Contracts.DefaultChildAclCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.DefaultChildAcl>>;
321
+ UpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.DefaultChildAcl, Contracts.DefaultChildAclCriteria>, options?: IThrowingRepoOptions): Promise<Contracts.DefaultChildAcl[]>;
322
+ /** Saves the input as a new DefaultChildAcl, or updates existing if it already exists. Identity is based either on the existence of a valid id property on the entity submitted or the response from the database (based on unique indexes / primary keys). */
323
+ tryUpsert(request: Contracts.DefaultChildAcl, options?: IRepoOptions): Promise<SingleResult<Contracts.DefaultChildAcl>>;
324
+ upsert(request: Contracts.DefaultChildAcl, options?: IThrowingRepoOptions): Promise<Contracts.DefaultChildAcl>;
325
+ /** Saves each given input as a new DefaultChildAcl, or updates existing if it already exists. Identity is based either on the existence of a valid id property on the entity submitted or the response from the database (based on unique indexes / primary keys). */
326
+ tryUpsertMany(request: Array<Contracts.DefaultChildAcl>, options?: IRepoOptions): Promise<BatchResult<Contracts.DefaultChildAcl>>;
327
+ upsertMany(request: Array<Contracts.DefaultChildAcl>, options?: IThrowingRepoOptions): Promise<Contracts.DefaultChildAcl[]>;
328
+ }
329
+ declare class DeployAttemptCruds {
330
+ private core;
331
+ constructor(core: RelayNatsClient);
332
+ private endpoints;
333
+ /** Deletes each existing DeployAttempt that satisfies the given criteria. */
334
+ tryDeleteWhere(request: Contracts.DeployAttemptCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.DeployAttempt>>;
335
+ deleteWhere(request: Contracts.DeployAttemptCriteria, options?: IThrowingRepoOptions): Promise<Contracts.DeployAttempt[]>;
336
+ /** Retrieves all the existing DeployAttempt that satisfy the given criteria. */
337
+ tryReadMany(request: Contracts.DeployAttemptCriteria, options?: IRepoOptions): Promise<ListResult<Contracts.DeployAttempt>>;
338
+ readMany(request: Contracts.DeployAttemptCriteria, options?: IThrowingRepoOptions): Promise<Contracts.DeployAttempt[]>;
339
+ /** Performs the given operations on each existing DeployAttempt that satisfies the given criteria. */
340
+ tryPatchWhere(request: PatchSpecForMany<Contracts.DeployAttempt, Contracts.DeployAttemptCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.DeployAttempt>>;
341
+ patchWhere(request: PatchSpecForMany<Contracts.DeployAttempt, Contracts.DeployAttemptCriteria>, options?: IThrowingRepoOptions): Promise<Contracts.DeployAttempt[]>;
342
+ /** Saves each given input as a new DeployAttempt. */
343
+ tryCreateMany(request: Array<Contracts.DeployAttempt>, options?: IRepoOptions): Promise<BatchResult<Contracts.DeployAttempt>>;
344
+ createMany(request: Array<Contracts.DeployAttempt>, options?: IThrowingRepoOptions): Promise<Contracts.DeployAttempt[]>;
345
+ /** Overwrites each existing DeployAttempt. */
346
+ tryUpdateMany(request: Array<Contracts.DeployAttempt>, options?: IRepoOptions): Promise<BatchResult<Contracts.DeployAttempt>>;
347
+ updateMany(request: Array<Contracts.DeployAttempt>, options?: IThrowingRepoOptions): Promise<Contracts.DeployAttempt[]>;
348
+ /** Deletes the existing DeployAttempt. */
349
+ tryDelete(request: IdSpecFor<Contracts.DeployAttempt>, options?: IRepoOptions): Promise<SingleResult<Contracts.DeployAttempt>>;
350
+ delete(request: IdSpecFor<Contracts.DeployAttempt>, options?: IThrowingRepoOptions): Promise<Contracts.DeployAttempt>;
351
+ /** Retrieves the single, uniquely identified DeployAttempt. */
352
+ tryRead(request: IdSpecFor<Contracts.DeployAttempt>, options?: IRepoOptions): Promise<SingleResult<Contracts.DeployAttempt>>;
353
+ read(request: IdSpecFor<Contracts.DeployAttempt>, options?: IThrowingRepoOptions): Promise<Contracts.DeployAttempt>;
354
+ /** Performs the given operations on the existing DeployAttempt. */
355
+ tryPatch(request: PatchSpecForOne<Contracts.DeployAttempt>, options?: IRepoOptions): Promise<SingleResult<Contracts.DeployAttempt>>;
356
+ patch(request: PatchSpecForOne<Contracts.DeployAttempt>, options?: IThrowingRepoOptions): Promise<Contracts.DeployAttempt>;
357
+ /** Overwrites the existing DeployAttempt. */
358
+ tryUpdate(request: Contracts.DeployAttempt, options?: IRepoOptions): Promise<SingleResult<Contracts.DeployAttempt>>;
359
+ update(request: Contracts.DeployAttempt, options?: IThrowingRepoOptions): Promise<Contracts.DeployAttempt>;
360
+ /** Overwrites the given properties of the existing DeployAttempt. */
361
+ tryUpdatePartial(request: Partial<Contracts.DeployAttempt>, options?: IRepoOptions): Promise<SingleResult<Partial<Contracts.DeployAttempt>>>;
362
+ updatePartial(request: Partial<Contracts.DeployAttempt>, options?: IThrowingRepoOptions): Promise<Partial<Contracts.DeployAttempt>>;
363
+ /** Saves the input as a new DeployAttempt. */
364
+ tryCreate(request: Contracts.DeployAttempt, options?: IRepoOptions): Promise<SingleResult<Contracts.DeployAttempt>>;
365
+ create(request: Contracts.DeployAttempt, options?: IThrowingRepoOptions): Promise<Contracts.DeployAttempt>;
366
+ /** Overwrites the given properties for each existing DeployAttempt. */
367
+ tryUpdatePartialMany(request: Array<Contracts.DeployAttempt>, options?: IRepoOptions): Promise<BatchResult<Partial<Contracts.DeployAttempt>>>;
368
+ updatePartialMany(request: Array<Contracts.DeployAttempt>, options?: IThrowingRepoOptions): Promise<Partial<Contracts.DeployAttempt>[]>;
369
+ /** Performs the given operation on each existing DeployAttempt that satisfies the given criteria. */
370
+ tryUpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.DeployAttempt, Contracts.DeployAttemptCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.DeployAttempt>>;
371
+ UpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.DeployAttempt, Contracts.DeployAttemptCriteria>, options?: IThrowingRepoOptions): Promise<Contracts.DeployAttempt[]>;
372
+ /** Saves the input as a new DeployAttempt, or updates existing if it already exists. Identity is based either on the existence of a valid id property on the entity submitted or the response from the database (based on unique indexes / primary keys). */
373
+ tryUpsert(request: Contracts.DeployAttempt, options?: IRepoOptions): Promise<SingleResult<Contracts.DeployAttempt>>;
374
+ upsert(request: Contracts.DeployAttempt, options?: IThrowingRepoOptions): Promise<Contracts.DeployAttempt>;
375
+ /** Saves each given input as a new DeployAttempt, or updates existing if it already exists. Identity is based either on the existence of a valid id property on the entity submitted or the response from the database (based on unique indexes / primary keys). */
376
+ tryUpsertMany(request: Array<Contracts.DeployAttempt>, options?: IRepoOptions): Promise<BatchResult<Contracts.DeployAttempt>>;
377
+ upsertMany(request: Array<Contracts.DeployAttempt>, options?: IThrowingRepoOptions): Promise<Contracts.DeployAttempt[]>;
378
+ }
379
+ declare class DeploymentCruds {
380
+ private core;
381
+ constructor(core: RelayNatsClient);
382
+ private endpoints;
383
+ /** Deletes each existing Deployment that satisfies the given criteria. */
384
+ tryDeleteWhere(request: Contracts.DeploymentCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.Deployment>>;
385
+ deleteWhere(request: Contracts.DeploymentCriteria, options?: IThrowingRepoOptions): Promise<Contracts.Deployment[]>;
386
+ /** Retrieves all the existing Deployment that satisfy the given criteria. */
387
+ tryReadMany(request: Contracts.DeploymentCriteria, options?: IRepoOptions): Promise<ListResult<Contracts.Deployment>>;
388
+ readMany(request: Contracts.DeploymentCriteria, options?: IThrowingRepoOptions): Promise<Contracts.Deployment[]>;
389
+ /** Performs the given operations on each existing Deployment that satisfies the given criteria. */
390
+ tryPatchWhere(request: PatchSpecForMany<Contracts.Deployment, Contracts.DeploymentCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.Deployment>>;
391
+ patchWhere(request: PatchSpecForMany<Contracts.Deployment, Contracts.DeploymentCriteria>, options?: IThrowingRepoOptions): Promise<Contracts.Deployment[]>;
392
+ /** Saves each given input as a new Deployment. */
393
+ tryCreateMany(request: Array<Contracts.Deployment>, options?: IRepoOptions): Promise<BatchResult<Contracts.Deployment>>;
394
+ createMany(request: Array<Contracts.Deployment>, options?: IThrowingRepoOptions): Promise<Contracts.Deployment[]>;
395
+ /** Overwrites each existing Deployment. */
396
+ tryUpdateMany(request: Array<Contracts.Deployment>, options?: IRepoOptions): Promise<BatchResult<Contracts.Deployment>>;
397
+ updateMany(request: Array<Contracts.Deployment>, options?: IThrowingRepoOptions): Promise<Contracts.Deployment[]>;
398
+ /** Deletes the existing Deployment. */
399
+ tryDelete(request: IdSpecFor<Contracts.Deployment>, options?: IRepoOptions): Promise<SingleResult<Contracts.Deployment>>;
400
+ delete(request: IdSpecFor<Contracts.Deployment>, options?: IThrowingRepoOptions): Promise<Contracts.Deployment>;
401
+ /** Retrieves the single, uniquely identified Deployment. */
402
+ tryRead(request: IdSpecFor<Contracts.Deployment>, options?: IRepoOptions): Promise<SingleResult<Contracts.Deployment>>;
403
+ read(request: IdSpecFor<Contracts.Deployment>, options?: IThrowingRepoOptions): Promise<Contracts.Deployment>;
404
+ /** Performs the given operations on the existing Deployment. */
405
+ tryPatch(request: PatchSpecForOne<Contracts.Deployment>, options?: IRepoOptions): Promise<SingleResult<Contracts.Deployment>>;
406
+ patch(request: PatchSpecForOne<Contracts.Deployment>, options?: IThrowingRepoOptions): Promise<Contracts.Deployment>;
407
+ /** Overwrites the existing Deployment. */
408
+ tryUpdate(request: Contracts.Deployment, options?: IRepoOptions): Promise<SingleResult<Contracts.Deployment>>;
409
+ update(request: Contracts.Deployment, options?: IThrowingRepoOptions): Promise<Contracts.Deployment>;
410
+ /** Overwrites the given properties of the existing Deployment. */
411
+ tryUpdatePartial(request: Partial<Contracts.Deployment>, options?: IRepoOptions): Promise<SingleResult<Partial<Contracts.Deployment>>>;
412
+ updatePartial(request: Partial<Contracts.Deployment>, options?: IThrowingRepoOptions): Promise<Partial<Contracts.Deployment>>;
413
+ /** Saves the input as a new Deployment. */
414
+ tryCreate(request: Contracts.Deployment, options?: IRepoOptions): Promise<SingleResult<Contracts.Deployment>>;
415
+ create(request: Contracts.Deployment, options?: IThrowingRepoOptions): Promise<Contracts.Deployment>;
416
+ /** Overwrites the given properties for each existing Deployment. */
417
+ tryUpdatePartialMany(request: Array<Contracts.Deployment>, options?: IRepoOptions): Promise<BatchResult<Partial<Contracts.Deployment>>>;
418
+ updatePartialMany(request: Array<Contracts.Deployment>, options?: IThrowingRepoOptions): Promise<Partial<Contracts.Deployment>[]>;
419
+ /** Performs the given operation on each existing Deployment that satisfies the given criteria. */
420
+ tryUpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.Deployment, Contracts.DeploymentCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.Deployment>>;
421
+ UpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.Deployment, Contracts.DeploymentCriteria>, options?: IThrowingRepoOptions): Promise<Contracts.Deployment[]>;
422
+ /** Saves the input as a new Deployment, or updates existing if it already exists. Identity is based either on the existence of a valid id property on the entity submitted or the response from the database (based on unique indexes / primary keys). */
423
+ tryUpsert(request: Contracts.Deployment, options?: IRepoOptions): Promise<SingleResult<Contracts.Deployment>>;
424
+ upsert(request: Contracts.Deployment, options?: IThrowingRepoOptions): Promise<Contracts.Deployment>;
425
+ /** Saves each given input as a new Deployment, or updates existing if it already exists. Identity is based either on the existence of a valid id property on the entity submitted or the response from the database (based on unique indexes / primary keys). */
426
+ tryUpsertMany(request: Array<Contracts.Deployment>, options?: IRepoOptions): Promise<BatchResult<Contracts.Deployment>>;
427
+ upsertMany(request: Array<Contracts.Deployment>, options?: IThrowingRepoOptions): Promise<Contracts.Deployment[]>;
428
+ }
429
+ declare class EnterpriseRunStateCruds {
430
+ private core;
431
+ constructor(core: RelayNatsClient);
432
+ private endpoints;
433
+ /** Deletes each existing EnterpriseRunState that satisfies the given criteria. */
434
+ tryDeleteWhere(request: Contracts.EnterpriseRunStateCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.EnterpriseRunState>>;
435
+ deleteWhere(request: Contracts.EnterpriseRunStateCriteria, options?: IThrowingRepoOptions): Promise<Contracts.EnterpriseRunState[]>;
436
+ /** Retrieves all the existing EnterpriseRunState that satisfy the given criteria. */
437
+ tryReadMany(request: Contracts.EnterpriseRunStateCriteria, options?: IRepoOptions): Promise<ListResult<Contracts.EnterpriseRunState>>;
438
+ readMany(request: Contracts.EnterpriseRunStateCriteria, options?: IThrowingRepoOptions): Promise<Contracts.EnterpriseRunState[]>;
439
+ /** Performs the given operations on each existing EnterpriseRunState that satisfies the given criteria. */
440
+ tryPatchWhere(request: PatchSpecForMany<Contracts.EnterpriseRunState, Contracts.EnterpriseRunStateCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.EnterpriseRunState>>;
441
+ patchWhere(request: PatchSpecForMany<Contracts.EnterpriseRunState, Contracts.EnterpriseRunStateCriteria>, options?: IThrowingRepoOptions): Promise<Contracts.EnterpriseRunState[]>;
442
+ /** Saves each given input as a new EnterpriseRunState. */
443
+ tryCreateMany(request: Array<Contracts.EnterpriseRunState>, options?: IRepoOptions): Promise<BatchResult<Contracts.EnterpriseRunState>>;
444
+ createMany(request: Array<Contracts.EnterpriseRunState>, options?: IThrowingRepoOptions): Promise<Contracts.EnterpriseRunState[]>;
445
+ /** Overwrites each existing EnterpriseRunState. */
446
+ tryUpdateMany(request: Array<Contracts.EnterpriseRunState>, options?: IRepoOptions): Promise<BatchResult<Contracts.EnterpriseRunState>>;
447
+ updateMany(request: Array<Contracts.EnterpriseRunState>, options?: IThrowingRepoOptions): Promise<Contracts.EnterpriseRunState[]>;
448
+ /** Deletes the existing EnterpriseRunState. */
449
+ tryDelete(request: IdSpecFor<Contracts.EnterpriseRunState>, options?: IRepoOptions): Promise<SingleResult<Contracts.EnterpriseRunState>>;
450
+ delete(request: IdSpecFor<Contracts.EnterpriseRunState>, options?: IThrowingRepoOptions): Promise<Contracts.EnterpriseRunState>;
451
+ /** Retrieves the single, uniquely identified EnterpriseRunState. */
452
+ tryRead(request: IdSpecFor<Contracts.EnterpriseRunState>, options?: IRepoOptions): Promise<SingleResult<Contracts.EnterpriseRunState>>;
453
+ read(request: IdSpecFor<Contracts.EnterpriseRunState>, options?: IThrowingRepoOptions): Promise<Contracts.EnterpriseRunState>;
454
+ /** Performs the given operations on the existing EnterpriseRunState. */
455
+ tryPatch(request: PatchSpecForOne<Contracts.EnterpriseRunState>, options?: IRepoOptions): Promise<SingleResult<Contracts.EnterpriseRunState>>;
456
+ patch(request: PatchSpecForOne<Contracts.EnterpriseRunState>, options?: IThrowingRepoOptions): Promise<Contracts.EnterpriseRunState>;
457
+ /** Overwrites the existing EnterpriseRunState. */
458
+ tryUpdate(request: Contracts.EnterpriseRunState, options?: IRepoOptions): Promise<SingleResult<Contracts.EnterpriseRunState>>;
459
+ update(request: Contracts.EnterpriseRunState, options?: IThrowingRepoOptions): Promise<Contracts.EnterpriseRunState>;
460
+ /** Overwrites the given properties of the existing EnterpriseRunState. */
461
+ tryUpdatePartial(request: Partial<Contracts.EnterpriseRunState>, options?: IRepoOptions): Promise<SingleResult<Partial<Contracts.EnterpriseRunState>>>;
462
+ updatePartial(request: Partial<Contracts.EnterpriseRunState>, options?: IThrowingRepoOptions): Promise<Partial<Contracts.EnterpriseRunState>>;
463
+ /** Saves the input as a new EnterpriseRunState. */
464
+ tryCreate(request: Contracts.EnterpriseRunState, options?: IRepoOptions): Promise<SingleResult<Contracts.EnterpriseRunState>>;
465
+ create(request: Contracts.EnterpriseRunState, options?: IThrowingRepoOptions): Promise<Contracts.EnterpriseRunState>;
466
+ /** Overwrites the given properties for each existing EnterpriseRunState. */
467
+ tryUpdatePartialMany(request: Array<Contracts.EnterpriseRunState>, options?: IRepoOptions): Promise<BatchResult<Partial<Contracts.EnterpriseRunState>>>;
468
+ updatePartialMany(request: Array<Contracts.EnterpriseRunState>, options?: IThrowingRepoOptions): Promise<Partial<Contracts.EnterpriseRunState>[]>;
469
+ /** Performs the given operation on each existing EnterpriseRunState that satisfies the given criteria. */
470
+ tryUpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.EnterpriseRunState, Contracts.EnterpriseRunStateCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.EnterpriseRunState>>;
471
+ UpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.EnterpriseRunState, Contracts.EnterpriseRunStateCriteria>, options?: IThrowingRepoOptions): Promise<Contracts.EnterpriseRunState[]>;
472
+ /** Saves the input as a new EnterpriseRunState, or updates existing if it already exists. Identity is based either on the existence of a valid id property on the entity submitted or the response from the database (based on unique indexes / primary keys). */
473
+ tryUpsert(request: Contracts.EnterpriseRunState, options?: IRepoOptions): Promise<SingleResult<Contracts.EnterpriseRunState>>;
474
+ upsert(request: Contracts.EnterpriseRunState, options?: IThrowingRepoOptions): Promise<Contracts.EnterpriseRunState>;
475
+ /** Saves each given input as a new EnterpriseRunState, or updates existing if it already exists. Identity is based either on the existence of a valid id property on the entity submitted or the response from the database (based on unique indexes / primary keys). */
476
+ tryUpsertMany(request: Array<Contracts.EnterpriseRunState>, options?: IRepoOptions): Promise<BatchResult<Contracts.EnterpriseRunState>>;
477
+ upsertMany(request: Array<Contracts.EnterpriseRunState>, options?: IThrowingRepoOptions): Promise<Contracts.EnterpriseRunState[]>;
478
+ }
479
+ declare class EntityAclCruds {
480
+ private core;
481
+ constructor(core: RelayNatsClient);
482
+ private endpoints;
483
+ /** Deletes each existing EntityAcl that satisfies the given criteria. */
484
+ tryDeleteWhere(request: Contracts.EntityAclCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.EntityAcl>>;
485
+ deleteWhere(request: Contracts.EntityAclCriteria, options?: IThrowingRepoOptions): Promise<Contracts.EntityAcl[]>;
486
+ /** Retrieves all the existing EntityAcl that satisfy the given criteria. */
487
+ tryReadMany(request: Contracts.EntityAclCriteria, options?: IRepoOptions): Promise<ListResult<Contracts.EntityAcl>>;
488
+ readMany(request: Contracts.EntityAclCriteria, options?: IThrowingRepoOptions): Promise<Contracts.EntityAcl[]>;
489
+ /** Performs the given operations on each existing EntityAcl that satisfies the given criteria. */
490
+ tryPatchWhere(request: PatchSpecForMany<Contracts.EntityAcl, Contracts.EntityAclCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.EntityAcl>>;
491
+ patchWhere(request: PatchSpecForMany<Contracts.EntityAcl, Contracts.EntityAclCriteria>, options?: IThrowingRepoOptions): Promise<Contracts.EntityAcl[]>;
492
+ /** Saves each given input as a new EntityAcl. */
493
+ tryCreateMany(request: Array<Contracts.EntityAcl>, options?: IRepoOptions): Promise<BatchResult<Contracts.EntityAcl>>;
494
+ createMany(request: Array<Contracts.EntityAcl>, options?: IThrowingRepoOptions): Promise<Contracts.EntityAcl[]>;
495
+ /** Overwrites each existing EntityAcl. */
496
+ tryUpdateMany(request: Array<Contracts.EntityAcl>, options?: IRepoOptions): Promise<BatchResult<Contracts.EntityAcl>>;
497
+ updateMany(request: Array<Contracts.EntityAcl>, options?: IThrowingRepoOptions): Promise<Contracts.EntityAcl[]>;
498
+ /** Deletes the existing EntityAcl. */
499
+ tryDelete(request: IdSpecFor<Contracts.EntityAcl>, options?: IRepoOptions): Promise<SingleResult<Contracts.EntityAcl>>;
500
+ delete(request: IdSpecFor<Contracts.EntityAcl>, options?: IThrowingRepoOptions): Promise<Contracts.EntityAcl>;
501
+ /** Retrieves the single, uniquely identified EntityAcl. */
502
+ tryRead(request: IdSpecFor<Contracts.EntityAcl>, options?: IRepoOptions): Promise<SingleResult<Contracts.EntityAcl>>;
503
+ read(request: IdSpecFor<Contracts.EntityAcl>, options?: IThrowingRepoOptions): Promise<Contracts.EntityAcl>;
504
+ /** Performs the given operations on the existing EntityAcl. */
505
+ tryPatch(request: PatchSpecForOne<Contracts.EntityAcl>, options?: IRepoOptions): Promise<SingleResult<Contracts.EntityAcl>>;
506
+ patch(request: PatchSpecForOne<Contracts.EntityAcl>, options?: IThrowingRepoOptions): Promise<Contracts.EntityAcl>;
507
+ /** Overwrites the existing EntityAcl. */
508
+ tryUpdate(request: Contracts.EntityAcl, options?: IRepoOptions): Promise<SingleResult<Contracts.EntityAcl>>;
509
+ update(request: Contracts.EntityAcl, options?: IThrowingRepoOptions): Promise<Contracts.EntityAcl>;
510
+ /** Overwrites the given properties of the existing EntityAcl. */
511
+ tryUpdatePartial(request: Partial<Contracts.EntityAcl>, options?: IRepoOptions): Promise<SingleResult<Partial<Contracts.EntityAcl>>>;
512
+ updatePartial(request: Partial<Contracts.EntityAcl>, options?: IThrowingRepoOptions): Promise<Partial<Contracts.EntityAcl>>;
513
+ /** Saves the input as a new EntityAcl. */
514
+ tryCreate(request: Contracts.EntityAcl, options?: IRepoOptions): Promise<SingleResult<Contracts.EntityAcl>>;
515
+ create(request: Contracts.EntityAcl, options?: IThrowingRepoOptions): Promise<Contracts.EntityAcl>;
516
+ /** Overwrites the given properties for each existing EntityAcl. */
517
+ tryUpdatePartialMany(request: Array<Contracts.EntityAcl>, options?: IRepoOptions): Promise<BatchResult<Partial<Contracts.EntityAcl>>>;
518
+ updatePartialMany(request: Array<Contracts.EntityAcl>, options?: IThrowingRepoOptions): Promise<Partial<Contracts.EntityAcl>[]>;
519
+ /** Performs the given operation on each existing EntityAcl that satisfies the given criteria. */
520
+ tryUpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.EntityAcl, Contracts.EntityAclCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.EntityAcl>>;
521
+ UpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.EntityAcl, Contracts.EntityAclCriteria>, options?: IThrowingRepoOptions): Promise<Contracts.EntityAcl[]>;
522
+ /** Saves the input as a new EntityAcl, or updates existing if it already exists. Identity is based either on the existence of a valid id property on the entity submitted or the response from the database (based on unique indexes / primary keys). */
523
+ tryUpsert(request: Contracts.EntityAcl, options?: IRepoOptions): Promise<SingleResult<Contracts.EntityAcl>>;
524
+ upsert(request: Contracts.EntityAcl, options?: IThrowingRepoOptions): Promise<Contracts.EntityAcl>;
525
+ /** Saves each given input as a new EntityAcl, or updates existing if it already exists. Identity is based either on the existence of a valid id property on the entity submitted or the response from the database (based on unique indexes / primary keys). */
526
+ tryUpsertMany(request: Array<Contracts.EntityAcl>, options?: IRepoOptions): Promise<BatchResult<Contracts.EntityAcl>>;
527
+ upsertMany(request: Array<Contracts.EntityAcl>, options?: IThrowingRepoOptions): Promise<Contracts.EntityAcl[]>;
528
+ }
529
+ declare class EnvironmentCruds {
530
+ private core;
531
+ constructor(core: RelayNatsClient);
532
+ private endpoints;
533
+ /** Deletes each existing Environment that satisfies the given criteria. */
534
+ tryDeleteWhere(request: Contracts.EnvironmentCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.Environment>>;
535
+ deleteWhere(request: Contracts.EnvironmentCriteria, options?: IThrowingRepoOptions): Promise<Contracts.Environment[]>;
536
+ /** Retrieves all the existing Environment that satisfy the given criteria. */
537
+ tryReadMany(request: Contracts.EnvironmentCriteria, options?: IRepoOptions): Promise<ListResult<Contracts.Environment>>;
538
+ readMany(request: Contracts.EnvironmentCriteria, options?: IThrowingRepoOptions): Promise<Contracts.Environment[]>;
539
+ /** Performs the given operations on each existing Environment that satisfies the given criteria. */
540
+ tryPatchWhere(request: PatchSpecForMany<Contracts.Environment, Contracts.EnvironmentCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.Environment>>;
541
+ patchWhere(request: PatchSpecForMany<Contracts.Environment, Contracts.EnvironmentCriteria>, options?: IThrowingRepoOptions): Promise<Contracts.Environment[]>;
542
+ /** Saves each given input as a new Environment. */
543
+ tryCreateMany(request: Array<Contracts.Environment>, options?: IRepoOptions): Promise<BatchResult<Contracts.Environment>>;
544
+ createMany(request: Array<Contracts.Environment>, options?: IThrowingRepoOptions): Promise<Contracts.Environment[]>;
545
+ /** Overwrites each existing Environment. */
546
+ tryUpdateMany(request: Array<Contracts.Environment>, options?: IRepoOptions): Promise<BatchResult<Contracts.Environment>>;
547
+ updateMany(request: Array<Contracts.Environment>, options?: IThrowingRepoOptions): Promise<Contracts.Environment[]>;
548
+ /** Deletes the existing Environment. */
549
+ tryDelete(request: IdSpecFor<Contracts.Environment>, options?: IRepoOptions): Promise<SingleResult<Contracts.Environment>>;
550
+ delete(request: IdSpecFor<Contracts.Environment>, options?: IThrowingRepoOptions): Promise<Contracts.Environment>;
551
+ /** Retrieves the single, uniquely identified Environment. */
552
+ tryRead(request: IdSpecFor<Contracts.Environment>, options?: IRepoOptions): Promise<SingleResult<Contracts.Environment>>;
553
+ read(request: IdSpecFor<Contracts.Environment>, options?: IThrowingRepoOptions): Promise<Contracts.Environment>;
554
+ /** Performs the given operations on the existing Environment. */
555
+ tryPatch(request: PatchSpecForOne<Contracts.Environment>, options?: IRepoOptions): Promise<SingleResult<Contracts.Environment>>;
556
+ patch(request: PatchSpecForOne<Contracts.Environment>, options?: IThrowingRepoOptions): Promise<Contracts.Environment>;
557
+ /** Overwrites the existing Environment. */
558
+ tryUpdate(request: Contracts.Environment, options?: IRepoOptions): Promise<SingleResult<Contracts.Environment>>;
559
+ update(request: Contracts.Environment, options?: IThrowingRepoOptions): Promise<Contracts.Environment>;
560
+ /** Overwrites the given properties of the existing Environment. */
561
+ tryUpdatePartial(request: Partial<Contracts.Environment>, options?: IRepoOptions): Promise<SingleResult<Partial<Contracts.Environment>>>;
562
+ updatePartial(request: Partial<Contracts.Environment>, options?: IThrowingRepoOptions): Promise<Partial<Contracts.Environment>>;
563
+ /** Saves the input as a new Environment. */
564
+ tryCreate(request: Contracts.Environment, options?: IRepoOptions): Promise<SingleResult<Contracts.Environment>>;
565
+ create(request: Contracts.Environment, options?: IThrowingRepoOptions): Promise<Contracts.Environment>;
566
+ /** Overwrites the given properties for each existing Environment. */
567
+ tryUpdatePartialMany(request: Array<Contracts.Environment>, options?: IRepoOptions): Promise<BatchResult<Partial<Contracts.Environment>>>;
568
+ updatePartialMany(request: Array<Contracts.Environment>, options?: IThrowingRepoOptions): Promise<Partial<Contracts.Environment>[]>;
569
+ /** Performs the given operation on each existing Environment that satisfies the given criteria. */
570
+ tryUpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.Environment, Contracts.EnvironmentCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.Environment>>;
571
+ UpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.Environment, Contracts.EnvironmentCriteria>, options?: IThrowingRepoOptions): Promise<Contracts.Environment[]>;
572
+ /** Saves the input as a new Environment, or updates existing if it already exists. Identity is based either on the existence of a valid id property on the entity submitted or the response from the database (based on unique indexes / primary keys). */
573
+ tryUpsert(request: Contracts.Environment, options?: IRepoOptions): Promise<SingleResult<Contracts.Environment>>;
574
+ upsert(request: Contracts.Environment, options?: IThrowingRepoOptions): Promise<Contracts.Environment>;
575
+ /** Saves each given input as a new Environment, or updates existing if it already exists. Identity is based either on the existence of a valid id property on the entity submitted or the response from the database (based on unique indexes / primary keys). */
576
+ tryUpsertMany(request: Array<Contracts.Environment>, options?: IRepoOptions): Promise<BatchResult<Contracts.Environment>>;
577
+ upsertMany(request: Array<Contracts.Environment>, options?: IThrowingRepoOptions): Promise<Contracts.Environment[]>;
578
+ }
579
+ declare class FileStoreDefCruds {
580
+ private core;
581
+ constructor(core: RelayNatsClient);
582
+ private endpoints;
583
+ /** Deletes each existing FileStoreDef that satisfies the given criteria. */
584
+ tryDeleteWhere(request: Contracts.FileStoreDefCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.FileStoreDef>>;
585
+ deleteWhere(request: Contracts.FileStoreDefCriteria, options?: IThrowingRepoOptions): Promise<Contracts.FileStoreDef[]>;
586
+ /** Retrieves all the existing FileStoreDef that satisfy the given criteria. */
587
+ tryReadMany(request: Contracts.FileStoreDefCriteria, options?: IRepoOptions): Promise<ListResult<Contracts.FileStoreDef>>;
588
+ readMany(request: Contracts.FileStoreDefCriteria, options?: IThrowingRepoOptions): Promise<Contracts.FileStoreDef[]>;
589
+ /** Performs the given operations on each existing FileStoreDef that satisfies the given criteria. */
590
+ tryPatchWhere(request: PatchSpecForMany<Contracts.FileStoreDef, Contracts.FileStoreDefCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.FileStoreDef>>;
591
+ patchWhere(request: PatchSpecForMany<Contracts.FileStoreDef, Contracts.FileStoreDefCriteria>, options?: IThrowingRepoOptions): Promise<Contracts.FileStoreDef[]>;
592
+ /** Saves each given input as a new FileStoreDef. */
593
+ tryCreateMany(request: Array<Contracts.FileStoreDef>, options?: IRepoOptions): Promise<BatchResult<Contracts.FileStoreDef>>;
594
+ createMany(request: Array<Contracts.FileStoreDef>, options?: IThrowingRepoOptions): Promise<Contracts.FileStoreDef[]>;
595
+ /** Overwrites each existing FileStoreDef. */
596
+ tryUpdateMany(request: Array<Contracts.FileStoreDef>, options?: IRepoOptions): Promise<BatchResult<Contracts.FileStoreDef>>;
597
+ updateMany(request: Array<Contracts.FileStoreDef>, options?: IThrowingRepoOptions): Promise<Contracts.FileStoreDef[]>;
598
+ /** Deletes the existing FileStoreDef. */
599
+ tryDelete(request: IdSpecFor<Contracts.FileStoreDef>, options?: IRepoOptions): Promise<SingleResult<Contracts.FileStoreDef>>;
600
+ delete(request: IdSpecFor<Contracts.FileStoreDef>, options?: IThrowingRepoOptions): Promise<Contracts.FileStoreDef>;
601
+ /** Retrieves the single, uniquely identified FileStoreDef. */
602
+ tryRead(request: IdSpecFor<Contracts.FileStoreDef>, options?: IRepoOptions): Promise<SingleResult<Contracts.FileStoreDef>>;
603
+ read(request: IdSpecFor<Contracts.FileStoreDef>, options?: IThrowingRepoOptions): Promise<Contracts.FileStoreDef>;
604
+ /** Performs the given operations on the existing FileStoreDef. */
605
+ tryPatch(request: PatchSpecForOne<Contracts.FileStoreDef>, options?: IRepoOptions): Promise<SingleResult<Contracts.FileStoreDef>>;
606
+ patch(request: PatchSpecForOne<Contracts.FileStoreDef>, options?: IThrowingRepoOptions): Promise<Contracts.FileStoreDef>;
607
+ /** Overwrites the existing FileStoreDef. */
608
+ tryUpdate(request: Contracts.FileStoreDef, options?: IRepoOptions): Promise<SingleResult<Contracts.FileStoreDef>>;
609
+ update(request: Contracts.FileStoreDef, options?: IThrowingRepoOptions): Promise<Contracts.FileStoreDef>;
610
+ /** Overwrites the given properties of the existing FileStoreDef. */
611
+ tryUpdatePartial(request: Partial<Contracts.FileStoreDef>, options?: IRepoOptions): Promise<SingleResult<Partial<Contracts.FileStoreDef>>>;
612
+ updatePartial(request: Partial<Contracts.FileStoreDef>, options?: IThrowingRepoOptions): Promise<Partial<Contracts.FileStoreDef>>;
613
+ /** Saves the input as a new FileStoreDef. */
614
+ tryCreate(request: Contracts.FileStoreDef, options?: IRepoOptions): Promise<SingleResult<Contracts.FileStoreDef>>;
615
+ create(request: Contracts.FileStoreDef, options?: IThrowingRepoOptions): Promise<Contracts.FileStoreDef>;
616
+ /** Overwrites the given properties for each existing FileStoreDef. */
617
+ tryUpdatePartialMany(request: Array<Contracts.FileStoreDef>, options?: IRepoOptions): Promise<BatchResult<Partial<Contracts.FileStoreDef>>>;
618
+ updatePartialMany(request: Array<Contracts.FileStoreDef>, options?: IThrowingRepoOptions): Promise<Partial<Contracts.FileStoreDef>[]>;
619
+ /** Performs the given operation on each existing FileStoreDef that satisfies the given criteria. */
620
+ tryUpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.FileStoreDef, Contracts.FileStoreDefCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.FileStoreDef>>;
621
+ UpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.FileStoreDef, Contracts.FileStoreDefCriteria>, options?: IThrowingRepoOptions): Promise<Contracts.FileStoreDef[]>;
622
+ /** Saves the input as a new FileStoreDef, or updates existing if it already exists. Identity is based either on the existence of a valid id property on the entity submitted or the response from the database (based on unique indexes / primary keys). */
623
+ tryUpsert(request: Contracts.FileStoreDef, options?: IRepoOptions): Promise<SingleResult<Contracts.FileStoreDef>>;
624
+ upsert(request: Contracts.FileStoreDef, options?: IThrowingRepoOptions): Promise<Contracts.FileStoreDef>;
625
+ /** Saves each given input as a new FileStoreDef, or updates existing if it already exists. Identity is based either on the existence of a valid id property on the entity submitted or the response from the database (based on unique indexes / primary keys). */
626
+ tryUpsertMany(request: Array<Contracts.FileStoreDef>, options?: IRepoOptions): Promise<BatchResult<Contracts.FileStoreDef>>;
627
+ upsertMany(request: Array<Contracts.FileStoreDef>, options?: IThrowingRepoOptions): Promise<Contracts.FileStoreDef[]>;
628
+ }
629
+ declare class ScopedHostNameConfigCruds {
630
+ private core;
631
+ constructor(core: RelayNatsClient);
632
+ private endpoints;
633
+ /** Deletes each existing ScopedHostNameConfig that satisfies the given criteria. */
634
+ tryDeleteWhere(request: Contracts.ScopedHostNameConfigCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.ScopedHostNameConfig>>;
635
+ deleteWhere(request: Contracts.ScopedHostNameConfigCriteria, options?: IThrowingRepoOptions): Promise<Contracts.ScopedHostNameConfig[]>;
636
+ /** Retrieves all the existing ScopedHostNameConfig that satisfy the given criteria. */
637
+ tryReadMany(request: Contracts.ScopedHostNameConfigCriteria, options?: IRepoOptions): Promise<ListResult<Contracts.ScopedHostNameConfig>>;
638
+ readMany(request: Contracts.ScopedHostNameConfigCriteria, options?: IThrowingRepoOptions): Promise<Contracts.ScopedHostNameConfig[]>;
639
+ /** Performs the given operations on each existing ScopedHostNameConfig that satisfies the given criteria. */
640
+ tryPatchWhere(request: PatchSpecForMany<Contracts.ScopedHostNameConfig, Contracts.ScopedHostNameConfigCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.ScopedHostNameConfig>>;
641
+ patchWhere(request: PatchSpecForMany<Contracts.ScopedHostNameConfig, Contracts.ScopedHostNameConfigCriteria>, options?: IThrowingRepoOptions): Promise<Contracts.ScopedHostNameConfig[]>;
642
+ /** Saves each given input as a new ScopedHostNameConfig. */
643
+ tryCreateMany(request: Array<Contracts.ScopedHostNameConfig>, options?: IRepoOptions): Promise<BatchResult<Contracts.ScopedHostNameConfig>>;
644
+ createMany(request: Array<Contracts.ScopedHostNameConfig>, options?: IThrowingRepoOptions): Promise<Contracts.ScopedHostNameConfig[]>;
645
+ /** Overwrites each existing ScopedHostNameConfig. */
646
+ tryUpdateMany(request: Array<Contracts.ScopedHostNameConfig>, options?: IRepoOptions): Promise<BatchResult<Contracts.ScopedHostNameConfig>>;
647
+ updateMany(request: Array<Contracts.ScopedHostNameConfig>, options?: IThrowingRepoOptions): Promise<Contracts.ScopedHostNameConfig[]>;
648
+ /** Deletes the existing ScopedHostNameConfig. */
649
+ tryDelete(request: IdSpecFor<Contracts.ScopedHostNameConfig>, options?: IRepoOptions): Promise<SingleResult<Contracts.ScopedHostNameConfig>>;
650
+ delete(request: IdSpecFor<Contracts.ScopedHostNameConfig>, options?: IThrowingRepoOptions): Promise<Contracts.ScopedHostNameConfig>;
651
+ /** Retrieves the single, uniquely identified ScopedHostNameConfig. */
652
+ tryRead(request: IdSpecFor<Contracts.ScopedHostNameConfig>, options?: IRepoOptions): Promise<SingleResult<Contracts.ScopedHostNameConfig>>;
653
+ read(request: IdSpecFor<Contracts.ScopedHostNameConfig>, options?: IThrowingRepoOptions): Promise<Contracts.ScopedHostNameConfig>;
654
+ /** Performs the given operations on the existing ScopedHostNameConfig. */
655
+ tryPatch(request: PatchSpecForOne<Contracts.ScopedHostNameConfig>, options?: IRepoOptions): Promise<SingleResult<Contracts.ScopedHostNameConfig>>;
656
+ patch(request: PatchSpecForOne<Contracts.ScopedHostNameConfig>, options?: IThrowingRepoOptions): Promise<Contracts.ScopedHostNameConfig>;
657
+ /** Overwrites the existing ScopedHostNameConfig. */
658
+ tryUpdate(request: Contracts.ScopedHostNameConfig, options?: IRepoOptions): Promise<SingleResult<Contracts.ScopedHostNameConfig>>;
659
+ update(request: Contracts.ScopedHostNameConfig, options?: IThrowingRepoOptions): Promise<Contracts.ScopedHostNameConfig>;
660
+ /** Overwrites the given properties of the existing ScopedHostNameConfig. */
661
+ tryUpdatePartial(request: Partial<Contracts.ScopedHostNameConfig>, options?: IRepoOptions): Promise<SingleResult<Partial<Contracts.ScopedHostNameConfig>>>;
662
+ updatePartial(request: Partial<Contracts.ScopedHostNameConfig>, options?: IThrowingRepoOptions): Promise<Partial<Contracts.ScopedHostNameConfig>>;
663
+ /** Saves the input as a new ScopedHostNameConfig. */
664
+ tryCreate(request: Contracts.ScopedHostNameConfig, options?: IRepoOptions): Promise<SingleResult<Contracts.ScopedHostNameConfig>>;
665
+ create(request: Contracts.ScopedHostNameConfig, options?: IThrowingRepoOptions): Promise<Contracts.ScopedHostNameConfig>;
666
+ /** Overwrites the given properties for each existing ScopedHostNameConfig. */
667
+ tryUpdatePartialMany(request: Array<Contracts.ScopedHostNameConfig>, options?: IRepoOptions): Promise<BatchResult<Partial<Contracts.ScopedHostNameConfig>>>;
668
+ updatePartialMany(request: Array<Contracts.ScopedHostNameConfig>, options?: IThrowingRepoOptions): Promise<Partial<Contracts.ScopedHostNameConfig>[]>;
669
+ /** Performs the given operation on each existing ScopedHostNameConfig that satisfies the given criteria. */
670
+ tryUpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.ScopedHostNameConfig, Contracts.ScopedHostNameConfigCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.ScopedHostNameConfig>>;
671
+ UpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.ScopedHostNameConfig, Contracts.ScopedHostNameConfigCriteria>, options?: IThrowingRepoOptions): Promise<Contracts.ScopedHostNameConfig[]>;
672
+ /** Saves the input as a new ScopedHostNameConfig, or updates existing if it already exists. Identity is based either on the existence of a valid id property on the entity submitted or the response from the database (based on unique indexes / primary keys). */
673
+ tryUpsert(request: Contracts.ScopedHostNameConfig, options?: IRepoOptions): Promise<SingleResult<Contracts.ScopedHostNameConfig>>;
674
+ upsert(request: Contracts.ScopedHostNameConfig, options?: IThrowingRepoOptions): Promise<Contracts.ScopedHostNameConfig>;
675
+ /** Saves each given input as a new ScopedHostNameConfig, or updates existing if it already exists. Identity is based either on the existence of a valid id property on the entity submitted or the response from the database (based on unique indexes / primary keys). */
676
+ tryUpsertMany(request: Array<Contracts.ScopedHostNameConfig>, options?: IRepoOptions): Promise<BatchResult<Contracts.ScopedHostNameConfig>>;
677
+ upsertMany(request: Array<Contracts.ScopedHostNameConfig>, options?: IThrowingRepoOptions): Promise<Contracts.ScopedHostNameConfig[]>;
678
+ }
679
+ declare class ScopedSettingCruds {
680
+ private core;
681
+ constructor(core: RelayNatsClient);
682
+ private endpoints;
683
+ /** Deletes each existing ScopedSetting that satisfies the given criteria. */
684
+ tryDeleteWhere(request: Contracts.ScopedSettingCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.ScopedSetting>>;
685
+ deleteWhere(request: Contracts.ScopedSettingCriteria, options?: IThrowingRepoOptions): Promise<Contracts.ScopedSetting[]>;
686
+ /** Retrieves all the existing ScopedSetting that satisfy the given criteria. */
687
+ tryReadMany(request: Contracts.ScopedSettingCriteria, options?: IRepoOptions): Promise<ListResult<Contracts.ScopedSetting>>;
688
+ readMany(request: Contracts.ScopedSettingCriteria, options?: IThrowingRepoOptions): Promise<Contracts.ScopedSetting[]>;
689
+ /** Performs the given operations on each existing ScopedSetting that satisfies the given criteria. */
690
+ tryPatchWhere(request: PatchSpecForMany<Contracts.ScopedSetting, Contracts.ScopedSettingCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.ScopedSetting>>;
691
+ patchWhere(request: PatchSpecForMany<Contracts.ScopedSetting, Contracts.ScopedSettingCriteria>, options?: IThrowingRepoOptions): Promise<Contracts.ScopedSetting[]>;
692
+ /** Saves each given input as a new ScopedSetting. */
693
+ tryCreateMany(request: Array<Contracts.ScopedSetting>, options?: IRepoOptions): Promise<BatchResult<Contracts.ScopedSetting>>;
694
+ createMany(request: Array<Contracts.ScopedSetting>, options?: IThrowingRepoOptions): Promise<Contracts.ScopedSetting[]>;
695
+ /** Overwrites each existing ScopedSetting. */
696
+ tryUpdateMany(request: Array<Contracts.ScopedSetting>, options?: IRepoOptions): Promise<BatchResult<Contracts.ScopedSetting>>;
697
+ updateMany(request: Array<Contracts.ScopedSetting>, options?: IThrowingRepoOptions): Promise<Contracts.ScopedSetting[]>;
698
+ /** Deletes the existing ScopedSetting. */
699
+ tryDelete(request: IdSpecFor<Contracts.ScopedSetting>, options?: IRepoOptions): Promise<SingleResult<Contracts.ScopedSetting>>;
700
+ delete(request: IdSpecFor<Contracts.ScopedSetting>, options?: IThrowingRepoOptions): Promise<Contracts.ScopedSetting>;
701
+ /** Retrieves the single, uniquely identified ScopedSetting. */
702
+ tryRead(request: IdSpecFor<Contracts.ScopedSetting>, options?: IRepoOptions): Promise<SingleResult<Contracts.ScopedSetting>>;
703
+ read(request: IdSpecFor<Contracts.ScopedSetting>, options?: IThrowingRepoOptions): Promise<Contracts.ScopedSetting>;
704
+ /** Performs the given operations on the existing ScopedSetting. */
705
+ tryPatch(request: PatchSpecForOne<Contracts.ScopedSetting>, options?: IRepoOptions): Promise<SingleResult<Contracts.ScopedSetting>>;
706
+ patch(request: PatchSpecForOne<Contracts.ScopedSetting>, options?: IThrowingRepoOptions): Promise<Contracts.ScopedSetting>;
707
+ /** Overwrites the existing ScopedSetting. */
708
+ tryUpdate(request: Contracts.ScopedSetting, options?: IRepoOptions): Promise<SingleResult<Contracts.ScopedSetting>>;
709
+ update(request: Contracts.ScopedSetting, options?: IThrowingRepoOptions): Promise<Contracts.ScopedSetting>;
710
+ /** Overwrites the given properties of the existing ScopedSetting. */
711
+ tryUpdatePartial(request: Partial<Contracts.ScopedSetting>, options?: IRepoOptions): Promise<SingleResult<Partial<Contracts.ScopedSetting>>>;
712
+ updatePartial(request: Partial<Contracts.ScopedSetting>, options?: IThrowingRepoOptions): Promise<Partial<Contracts.ScopedSetting>>;
713
+ /** Saves the input as a new ScopedSetting. */
714
+ tryCreate(request: Contracts.ScopedSetting, options?: IRepoOptions): Promise<SingleResult<Contracts.ScopedSetting>>;
715
+ create(request: Contracts.ScopedSetting, options?: IThrowingRepoOptions): Promise<Contracts.ScopedSetting>;
716
+ /** Overwrites the given properties for each existing ScopedSetting. */
717
+ tryUpdatePartialMany(request: Array<Contracts.ScopedSetting>, options?: IRepoOptions): Promise<BatchResult<Partial<Contracts.ScopedSetting>>>;
718
+ updatePartialMany(request: Array<Contracts.ScopedSetting>, options?: IThrowingRepoOptions): Promise<Partial<Contracts.ScopedSetting>[]>;
719
+ /** Performs the given operation on each existing ScopedSetting that satisfies the given criteria. */
720
+ tryUpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.ScopedSetting, Contracts.ScopedSettingCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.ScopedSetting>>;
721
+ UpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.ScopedSetting, Contracts.ScopedSettingCriteria>, options?: IThrowingRepoOptions): Promise<Contracts.ScopedSetting[]>;
722
+ /** Saves the input as a new ScopedSetting, or updates existing if it already exists. Identity is based either on the existence of a valid id property on the entity submitted or the response from the database (based on unique indexes / primary keys). */
723
+ tryUpsert(request: Contracts.ScopedSetting, options?: IRepoOptions): Promise<SingleResult<Contracts.ScopedSetting>>;
724
+ upsert(request: Contracts.ScopedSetting, options?: IThrowingRepoOptions): Promise<Contracts.ScopedSetting>;
725
+ /** Saves each given input as a new ScopedSetting, or updates existing if it already exists. Identity is based either on the existence of a valid id property on the entity submitted or the response from the database (based on unique indexes / primary keys). */
726
+ tryUpsertMany(request: Array<Contracts.ScopedSetting>, options?: IRepoOptions): Promise<BatchResult<Contracts.ScopedSetting>>;
727
+ upsertMany(request: Array<Contracts.ScopedSetting>, options?: IThrowingRepoOptions): Promise<Contracts.ScopedSetting[]>;
728
+ }
729
+ declare class SetupJournalCruds {
730
+ private core;
731
+ constructor(core: RelayNatsClient);
732
+ private endpoints;
733
+ /** Deletes each existing SetupJournal that satisfies the given criteria. */
734
+ tryDeleteWhere(request: Contracts.SetupJournalCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.SetupJournal>>;
735
+ deleteWhere(request: Contracts.SetupJournalCriteria, options?: IThrowingRepoOptions): Promise<Contracts.SetupJournal[]>;
736
+ /** Retrieves all the existing SetupJournal that satisfy the given criteria. */
737
+ tryReadMany(request: Contracts.SetupJournalCriteria, options?: IRepoOptions): Promise<ListResult<Contracts.SetupJournal>>;
738
+ readMany(request: Contracts.SetupJournalCriteria, options?: IThrowingRepoOptions): Promise<Contracts.SetupJournal[]>;
739
+ /** Performs the given operations on each existing SetupJournal that satisfies the given criteria. */
740
+ tryPatchWhere(request: PatchSpecForMany<Contracts.SetupJournal, Contracts.SetupJournalCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.SetupJournal>>;
741
+ patchWhere(request: PatchSpecForMany<Contracts.SetupJournal, Contracts.SetupJournalCriteria>, options?: IThrowingRepoOptions): Promise<Contracts.SetupJournal[]>;
742
+ /** Saves each given input as a new SetupJournal. */
743
+ tryCreateMany(request: Array<Contracts.SetupJournal>, options?: IRepoOptions): Promise<BatchResult<Contracts.SetupJournal>>;
744
+ createMany(request: Array<Contracts.SetupJournal>, options?: IThrowingRepoOptions): Promise<Contracts.SetupJournal[]>;
745
+ /** Overwrites each existing SetupJournal. */
746
+ tryUpdateMany(request: Array<Contracts.SetupJournal>, options?: IRepoOptions): Promise<BatchResult<Contracts.SetupJournal>>;
747
+ updateMany(request: Array<Contracts.SetupJournal>, options?: IThrowingRepoOptions): Promise<Contracts.SetupJournal[]>;
748
+ /** Deletes the existing SetupJournal. */
749
+ tryDelete(request: IdSpecFor<Contracts.SetupJournal>, options?: IRepoOptions): Promise<SingleResult<Contracts.SetupJournal>>;
750
+ delete(request: IdSpecFor<Contracts.SetupJournal>, options?: IThrowingRepoOptions): Promise<Contracts.SetupJournal>;
751
+ /** Retrieves the single, uniquely identified SetupJournal. */
752
+ tryRead(request: IdSpecFor<Contracts.SetupJournal>, options?: IRepoOptions): Promise<SingleResult<Contracts.SetupJournal>>;
753
+ read(request: IdSpecFor<Contracts.SetupJournal>, options?: IThrowingRepoOptions): Promise<Contracts.SetupJournal>;
754
+ /** Performs the given operations on the existing SetupJournal. */
755
+ tryPatch(request: PatchSpecForOne<Contracts.SetupJournal>, options?: IRepoOptions): Promise<SingleResult<Contracts.SetupJournal>>;
756
+ patch(request: PatchSpecForOne<Contracts.SetupJournal>, options?: IThrowingRepoOptions): Promise<Contracts.SetupJournal>;
757
+ /** Overwrites the existing SetupJournal. */
758
+ tryUpdate(request: Contracts.SetupJournal, options?: IRepoOptions): Promise<SingleResult<Contracts.SetupJournal>>;
759
+ update(request: Contracts.SetupJournal, options?: IThrowingRepoOptions): Promise<Contracts.SetupJournal>;
760
+ /** Overwrites the given properties of the existing SetupJournal. */
761
+ tryUpdatePartial(request: Partial<Contracts.SetupJournal>, options?: IRepoOptions): Promise<SingleResult<Partial<Contracts.SetupJournal>>>;
762
+ updatePartial(request: Partial<Contracts.SetupJournal>, options?: IThrowingRepoOptions): Promise<Partial<Contracts.SetupJournal>>;
763
+ /** Saves the input as a new SetupJournal. */
764
+ tryCreate(request: Contracts.SetupJournal, options?: IRepoOptions): Promise<SingleResult<Contracts.SetupJournal>>;
765
+ create(request: Contracts.SetupJournal, options?: IThrowingRepoOptions): Promise<Contracts.SetupJournal>;
766
+ /** Overwrites the given properties for each existing SetupJournal. */
767
+ tryUpdatePartialMany(request: Array<Contracts.SetupJournal>, options?: IRepoOptions): Promise<BatchResult<Partial<Contracts.SetupJournal>>>;
768
+ updatePartialMany(request: Array<Contracts.SetupJournal>, options?: IThrowingRepoOptions): Promise<Partial<Contracts.SetupJournal>[]>;
769
+ /** Performs the given operation on each existing SetupJournal that satisfies the given criteria. */
770
+ tryUpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.SetupJournal, Contracts.SetupJournalCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.SetupJournal>>;
771
+ UpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.SetupJournal, Contracts.SetupJournalCriteria>, options?: IThrowingRepoOptions): Promise<Contracts.SetupJournal[]>;
772
+ /** Saves the input as a new SetupJournal, or updates existing if it already exists. Identity is based either on the existence of a valid id property on the entity submitted or the response from the database (based on unique indexes / primary keys). */
773
+ tryUpsert(request: Contracts.SetupJournal, options?: IRepoOptions): Promise<SingleResult<Contracts.SetupJournal>>;
774
+ upsert(request: Contracts.SetupJournal, options?: IThrowingRepoOptions): Promise<Contracts.SetupJournal>;
775
+ /** Saves each given input as a new SetupJournal, or updates existing if it already exists. Identity is based either on the existence of a valid id property on the entity submitted or the response from the database (based on unique indexes / primary keys). */
776
+ tryUpsertMany(request: Array<Contracts.SetupJournal>, options?: IRepoOptions): Promise<BatchResult<Contracts.SetupJournal>>;
777
+ upsertMany(request: Array<Contracts.SetupJournal>, options?: IThrowingRepoOptions): Promise<Contracts.SetupJournal[]>;
778
+ }
779
+ declare class ZombiePeriodCruds {
780
+ private core;
781
+ constructor(core: RelayNatsClient);
782
+ private endpoints;
783
+ /** Deletes each existing ZombiePeriod that satisfies the given criteria. */
784
+ tryDeleteWhere(request: Contracts.ZombiePeriodCriteria, options?: IRepoOptions): Promise<BatchResult<Contracts.ZombiePeriod>>;
785
+ deleteWhere(request: Contracts.ZombiePeriodCriteria, options?: IThrowingRepoOptions): Promise<Contracts.ZombiePeriod[]>;
786
+ /** Retrieves all the existing ZombiePeriod that satisfy the given criteria. */
787
+ tryReadMany(request: Contracts.ZombiePeriodCriteria, options?: IRepoOptions): Promise<ListResult<Contracts.ZombiePeriod>>;
788
+ readMany(request: Contracts.ZombiePeriodCriteria, options?: IThrowingRepoOptions): Promise<Contracts.ZombiePeriod[]>;
789
+ /** Performs the given operations on each existing ZombiePeriod that satisfies the given criteria. */
790
+ tryPatchWhere(request: PatchSpecForMany<Contracts.ZombiePeriod, Contracts.ZombiePeriodCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.ZombiePeriod>>;
791
+ patchWhere(request: PatchSpecForMany<Contracts.ZombiePeriod, Contracts.ZombiePeriodCriteria>, options?: IThrowingRepoOptions): Promise<Contracts.ZombiePeriod[]>;
792
+ /** Saves each given input as a new ZombiePeriod. */
793
+ tryCreateMany(request: Array<Contracts.ZombiePeriod>, options?: IRepoOptions): Promise<BatchResult<Contracts.ZombiePeriod>>;
794
+ createMany(request: Array<Contracts.ZombiePeriod>, options?: IThrowingRepoOptions): Promise<Contracts.ZombiePeriod[]>;
795
+ /** Overwrites each existing ZombiePeriod. */
796
+ tryUpdateMany(request: Array<Contracts.ZombiePeriod>, options?: IRepoOptions): Promise<BatchResult<Contracts.ZombiePeriod>>;
797
+ updateMany(request: Array<Contracts.ZombiePeriod>, options?: IThrowingRepoOptions): Promise<Contracts.ZombiePeriod[]>;
798
+ /** Deletes the existing ZombiePeriod. */
799
+ tryDelete(request: IdSpecFor<Contracts.ZombiePeriod>, options?: IRepoOptions): Promise<SingleResult<Contracts.ZombiePeriod>>;
800
+ delete(request: IdSpecFor<Contracts.ZombiePeriod>, options?: IThrowingRepoOptions): Promise<Contracts.ZombiePeriod>;
801
+ /** Retrieves the single, uniquely identified ZombiePeriod. */
802
+ tryRead(request: IdSpecFor<Contracts.ZombiePeriod>, options?: IRepoOptions): Promise<SingleResult<Contracts.ZombiePeriod>>;
803
+ read(request: IdSpecFor<Contracts.ZombiePeriod>, options?: IThrowingRepoOptions): Promise<Contracts.ZombiePeriod>;
804
+ /** Performs the given operations on the existing ZombiePeriod. */
805
+ tryPatch(request: PatchSpecForOne<Contracts.ZombiePeriod>, options?: IRepoOptions): Promise<SingleResult<Contracts.ZombiePeriod>>;
806
+ patch(request: PatchSpecForOne<Contracts.ZombiePeriod>, options?: IThrowingRepoOptions): Promise<Contracts.ZombiePeriod>;
807
+ /** Overwrites the existing ZombiePeriod. */
808
+ tryUpdate(request: Contracts.ZombiePeriod, options?: IRepoOptions): Promise<SingleResult<Contracts.ZombiePeriod>>;
809
+ update(request: Contracts.ZombiePeriod, options?: IThrowingRepoOptions): Promise<Contracts.ZombiePeriod>;
810
+ /** Overwrites the given properties of the existing ZombiePeriod. */
811
+ tryUpdatePartial(request: Partial<Contracts.ZombiePeriod>, options?: IRepoOptions): Promise<SingleResult<Partial<Contracts.ZombiePeriod>>>;
812
+ updatePartial(request: Partial<Contracts.ZombiePeriod>, options?: IThrowingRepoOptions): Promise<Partial<Contracts.ZombiePeriod>>;
813
+ /** Saves the input as a new ZombiePeriod. */
814
+ tryCreate(request: Contracts.ZombiePeriod, options?: IRepoOptions): Promise<SingleResult<Contracts.ZombiePeriod>>;
815
+ create(request: Contracts.ZombiePeriod, options?: IThrowingRepoOptions): Promise<Contracts.ZombiePeriod>;
816
+ /** Overwrites the given properties for each existing ZombiePeriod. */
817
+ tryUpdatePartialMany(request: Array<Contracts.ZombiePeriod>, options?: IRepoOptions): Promise<BatchResult<Partial<Contracts.ZombiePeriod>>>;
818
+ updatePartialMany(request: Array<Contracts.ZombiePeriod>, options?: IThrowingRepoOptions): Promise<Partial<Contracts.ZombiePeriod>[]>;
819
+ /** Performs the given operation on each existing ZombiePeriod that satisfies the given criteria. */
820
+ tryUpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.ZombiePeriod, Contracts.ZombiePeriodCriteria>, options?: IRepoOptions): Promise<BatchResult<Contracts.ZombiePeriod>>;
821
+ UpdatePartialWhere(request: UpdatePartialWhereRequest<Contracts.ZombiePeriod, Contracts.ZombiePeriodCriteria>, options?: IThrowingRepoOptions): Promise<Contracts.ZombiePeriod[]>;
822
+ /** Saves the input as a new ZombiePeriod, or updates existing if it already exists. Identity is based either on the existence of a valid id property on the entity submitted or the response from the database (based on unique indexes / primary keys). */
823
+ tryUpsert(request: Contracts.ZombiePeriod, options?: IRepoOptions): Promise<SingleResult<Contracts.ZombiePeriod>>;
824
+ upsert(request: Contracts.ZombiePeriod, options?: IThrowingRepoOptions): Promise<Contracts.ZombiePeriod>;
825
+ /** Saves each given input as a new ZombiePeriod, or updates existing if it already exists. Identity is based either on the existence of a valid id property on the entity submitted or the response from the database (based on unique indexes / primary keys). */
826
+ tryUpsertMany(request: Array<Contracts.ZombiePeriod>, options?: IRepoOptions): Promise<BatchResult<Contracts.ZombiePeriod>>;
827
+ upsertMany(request: Array<Contracts.ZombiePeriod>, options?: IThrowingRepoOptions): Promise<Contracts.ZombiePeriod[]>;
828
+ }
829
+ declare class OtherOperations {
830
+ private core;
831
+ constructor(core: RelayNatsClient);
832
+ private endpoints;
833
+ /** Includes the given cluster within the given environment. */
834
+ EnvironmentClusterAttach(request: Contracts.ClusterAttachRequest, options?: IRepoOptions): Promise<SingleResult<Partial<Contracts.Environment>>>;
835
+ /** Removes the linkage between the given environment and the given cluster. */
836
+ EnvironmentClusterDetach(request: Contracts.ClusterDetachRequest, options?: IRepoOptions): Promise<SingleResult<Partial<Contracts.Environment>>>;
837
+ /** Retrieves all versions for the given asset/image both from the image registry and the asset version history. */
838
+ FetchAssetVersions(request: Contracts.FetchAssetVersionsRequest, options?: IRepoOptions): Promise<ListResult<string>>;
839
+ /** Retrieves all versions for the given asset/image both from the image registry and the asset version history. */
840
+ FetchAssetVersionsSearch(request: Contracts.FetchAssetVersionsRequest, options?: IRepoOptions): Promise<ListResult<string>>;
841
+ /** Retrieves the list of cloud providers with secret stores support. */
842
+ GetAllSecretProviders(request: Contracts.GetAllSecretProvidersRequest, options?: IRepoOptions): Promise<ListResult<Contracts.CloudProviderEnum>>;
843
+ /** Assembles (via smashMerge) the host naming strategy configuration for each applicable cabinet. Allows deeper filtering on domain names and types of host name strategies. */
844
+ GetCabinetHostNameConfig(request: Contracts.CabinetHostNameConfigCriteria, options?: IRepoOptions): Promise<ListResult<Contracts.CabinetHostNameConfig>>;
845
+ /** Retrieves lightly loaded cabinets (from RootMap) matching the given criteria. */
846
+ GetCabinets(request: Contracts.CabinetSelector, options?: IRepoOptions): Promise<ListResult<Contracts.CabinetClusterRoot>>;
847
+ /** Retrieves a list of kubernetes clusters that currently exist in a cloud subscription. */
848
+ GetExistingCspClusters(request: Contracts.GetExistingCspClustersRequest, options?: IRepoOptions): Promise<ListResult<Contracts.Cluster>>;
849
+ /** Retrieves list of references to captured file stores. */
850
+ GetFileStores(request: Contracts.GetFileStoresRequest, options?: IRepoOptions): Promise<ListResult<Contracts.FileStoreDef>>;
851
+ /** REtrieves the final configuration file contents for the given cabinet */
852
+ GetRenderedCabinetConfig(request: Contracts.GetRenderedCabinetConfigRequest, options?: IRepoOptions): Promise<SingleResult<string>>;
853
+ /** Retrieves a list of currently captured secret stores. */
854
+ GetSecretStores(request: Contracts.GetSecretStoresRequest, options?: IRepoOptions): Promise<ListResult<Contracts.SecretStore>>;
855
+ GetStorageAccountKeys(request: Contracts.GetStorageAccountKeysRequest, options?: IRepoOptions): Promise<ListResult<Contracts.StorageAccountKey>>;
856
+ /** Retrieves list of references to cloud file storage accounts. */
857
+ GetStorageAccounts(request: Contracts.GetStorageAccountRequest, options?: IRepoOptions): Promise<ListResult<Contracts.StorageAccount>>;
858
+ /** Uploads the contents of a config file and converts it to ScopedSettings */
859
+ ImportConfig(request: Contracts.ImportConfigRequest, options?: IRepoOptions): Promise<Contracts.Result>;
860
+ /** Bring me a valid token and I'll register with the websocket svc bus and listen to messages. */
861
+ activateBusListener(request: Contracts.ActivateBusListenerRequest, options?: IRepoOptions): Promise<Contracts.Result>;
862
+ /** Provides an asset-level snapshot of the status of the instances and versions of the given asset. */
863
+ assetStatus(request: Contracts.AssetStatusRequest, options?: IRepoOptions): Promise<BatchResult<Contracts.AssetStatus>>;
864
+ /** Shows the cabinets to which the given asset is currently deployed and which version is where. */
865
+ assetWhere(request: Contracts.AssetWhereRequest, options?: IRepoOptions): Promise<ListResult<Contracts.CabinetAssetVersion>>;
866
+ /** Creates a new record in Codiac for a cluster that already physically exists in a cloud subscription. */
867
+ clusterCapture(request: Contracts.ClusterCaptureRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.ClusterDef>>;
868
+ clusterCreateAsync(request: Contracts.CreateClusterRequestAsync, options?: IRepoOptions): Promise<SingleResult<Contracts.CreateClusterAck>>;
869
+ clusterDeinit(request: Contracts.ExecuteClusterIngressDeleteRequest, options?: IRepoOptions): Promise<Contracts.ExecuteClusterIngressDeleteResponse>;
870
+ clusterInit(request: Contracts.ExecuteClusterInitRequestAsync, options?: IRepoOptions): Promise<Contracts.ExecuteClusterInitResponse>;
871
+ /** Authenticates with the given cloud service provider using the given credentials or, if none provided, using the credentials cached for the given csp. */
872
+ csp_login(request: Contracts.LogintoCloudProviderRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.CspTokenAndUserMeta>>;
873
+ /** Target for the OAuth 2.0 Authorization Code Flow redirect. Receives the authorization code, converts it to a token and passes the token down to the calling application (via websocket backchannel specified in the message state). */
874
+ csp_login_auth_code_catcher(request: Contracts.CspLoginAuthCodeCatcherRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.CspLoginAuthCodeCatcherResponse>>;
875
+ /** Invokes the OAuth 2.0 interactive login sequence for the given cloud service provider. */
876
+ csp_login_interactive(request: Contracts.CspLoginInteractiveRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.CspLoginInteractiveResponse>>;
877
+ /** Target for the OAuth 2.0 sign-out redirect. Purges any existing tokens for the given csp and notifies the calling application (via websocket backchannel specified in the message). */
878
+ csp_logout_catcher(request: Contracts.CspLogoutCatcherRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.CspLoginAuthCodeCatcherResponse>>;
879
+ /** Invokes the OAuth 2.0 interactive sign out sequence for the given cloud service provider (ensures that the browser and any other sso-related systems also get the sign-out message). */
880
+ csp_logout_interactive(request: Contracts.CspLogoutInteractiveRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.CspLogoutInteractiveResponse>>;
881
+ /** Ensures that the Codiac app itself is registered within the security model of the given cloud service provider (aws, azure, docker, etc) and granted appropriate access. eg: in Azure, this endpoint registers Codiac as an App Registration in Entra, aka: Azure AD, whereas DockerHub does not require this at all). One tenant profile needs to be created for a given cloud provider tenant account. */
882
+ csp_tenant_profile_getsert(request: Contracts.CspTenantProfileGetsertRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.CspTenantProfile>>;
883
+ /** Deletes a previously declared host naming strategy declaration for a given domain. */
884
+ domainDelete(request: Contracts.DomainDeleteRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.ScopedHostNameConfig>>;
885
+ /** UN-deploys the given assets from the given cabinet. */
886
+ executeDestroyAssets(request: Contracts.UndeployAssetsRequest, options?: IRepoOptions): Promise<Contracts.Result>;
887
+ /** Creates or updates a host naming assignment strategy for a given domain. */
888
+ executeDomainUpsert(request: Contracts.ExecuteDomainUpsertRequest, options?: IRepoOptions): Promise<Contracts.Result>;
889
+ /** Provides any predefined structure (eg: setting names, meta, and types) for an asset config. */
890
+ get_asset_config_schema(request: Contracts.AssetConfigSchemaRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.Schema>>;
891
+ /** Retrieves the names of the available autoscaling metrics, for use when defining autoscaling on asset footprints. */
892
+ get_autoscaling_metrics(request: Contracts.GetAutoscalingMetricsRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.Schema>>;
893
+ /** Returns the currently cached username for the given cloud service provider. */
894
+ get_current_users_for(request: Contracts.GetCloudProviderUserRequest, options?: IRepoOptions): Promise<ListResult<Contracts.CspPrimaryCredsMeta>>;
895
+ /** Retrieves the list of k8s versions supported by the given cloud provider (and Codiac), for use in creating a cluster. */
896
+ getAvailableK8sVersions(request: Contracts.GetAvailableK8sVersionsRequest, options?: IRepoOptions): Promise<ListResult<Contracts.AvailableK8sVersion>>;
897
+ /** Retrieves the list of vm specs available for use as Aws cluster nodes. */
898
+ getAwsNodeTypes(request: Contracts.GetAwsNodeTypesRequest, options?: IRepoOptions): Promise<ListResult<Contracts.AwsNodeType>>;
899
+ /** Retrieves the list of data center locations and their human-readable ids. */
900
+ getAwsRegions(request: Contracts.GetAwsRegionsRequest, options?: IRepoOptions): Promise<ListResult<Contracts.AwsRegion>>;
901
+ /** Retrieves the list of existing S3 buckets available in the given Aws account. */
902
+ getAwsS3Buckets(request: Contracts.GetAwsS3BucketsRequest, options?: IRepoOptions): Promise<ListResult<Contracts.AwsS3Bucket>>;
903
+ /** Retrieves the list of subnets in a given VPC. */
904
+ getAwsSubnets(request: Contracts.GetAwsSubnetsRequest, options?: IRepoOptions): Promise<ListResult<Contracts.AwsSubnet>>;
905
+ /** Retrieves the basic identity info for the given aws credentials or for this tenant user's locally stored AWS user credentials. */
906
+ getAwsUser(request: Contracts.GetAwsUserRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.AwsIdentity>>;
907
+ /** Retrieves the list of VPCs in a given aws account. */
908
+ getAwsVpcs(request: Contracts.GetAwsVpcsRequest, options?: IRepoOptions): Promise<ListResult<Contracts.AwsVpc>>;
909
+ /** Retrieves the list of Azure Container Registries (ACRs) under the given azure subscription. */
910
+ getAzureAcrs(request: Contracts.GetAzureContainerRegistriesRequest, options?: IRepoOptions): Promise<ListResult<Contracts.AzureAcr>>;
911
+ /** Retrieves the list of data center locations available for Azure clusters. */
912
+ getAzureLocations(request: Contracts.GetAzureLocationsRequest, options?: IRepoOptions): Promise<ListResult<Contracts.AzureLocation>>;
913
+ /** Retrieves the list of vm specs available for use as Azure cluster nodes. */
914
+ getAzureNodeTypes(request: Contracts.GetAzureNodeTypesRequest, options?: IRepoOptions): Promise<ListResult<Contracts.AzureNodeType>>;
915
+ /** Retrieves the list of azure resource groups under the given subscription for the given location. */
916
+ getAzureResourceGroups(request: Contracts.GetAzureResourceGroupsRequest, options?: IRepoOptions): Promise<ListResult<string>>;
917
+ /** Retrieves the list of azure subscriptions for the given azure user account. */
918
+ getAzureSubscriptions(request: Contracts.GetAzureSubscriptionsRequest, options?: IRepoOptions): Promise<ListResult<Contracts.AzureUserSubscription>>;
919
+ /** Retrieves the list of virutal networks that exist under the given subscription for the given location. */
920
+ getAzureVnets(request: Contracts.GetAzureVnetsRequest, options?: IRepoOptions): Promise<ListResult<Contracts.AzureVNet>>;
921
+ /** Retrieves all available enterprises, environments, cabinets, and clusters for the given tenant. */
922
+ getCabinetScopes(request: Contracts.CabinetScopesCriteria, options?: IRepoOptions): Promise<ListResult<Contracts.EnterpriseScope>>;
923
+ /** Retrieves connection specifications to connect to the cluster in which the given cabinet resides (to be used with the KubeConfig.loadFromString() method from the npm package: https://www.npmjs.com/package/@kubernetes/client-node). */
924
+ getClusterConnectionSpecs(request: Contracts.ClusterConnectionRequest, options?: IRepoOptions): Promise<SingleResult<string>>;
925
+ /** Retrieves the default values for cluster creation */
926
+ getClusterDefaults(request: Contracts.GetClusterDefaultsRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.ClusterDefaults>>;
927
+ /** Retrieves the list of currently declared config files for the given enterprise asset. */
928
+ getConfigDefs(request: Contracts.ConfigDefCriteria, options?: IRepoOptions): Promise<ListResult<Contracts.ConfigDef>>;
929
+ getConfigDoc(request: Contracts.ConfigDocSpecForOne, options?: IRepoOptions): Promise<Contracts.ConfigDoc>;
930
+ /** Retrieves the actual string file contents of the ultimate scoped configs that were written to the cabinet (sourced directly from the k8s ConfigMaps). */
931
+ getDeployedConfigs(request: Contracts.DeployedConfigCriteria, options?: IRepoOptions): Promise<ListResult<Contracts.DeployedConfig>>;
932
+ /** Retrieves a manifest of all versions and configs currently deployed within the given enterprise. */
933
+ getDeployedState(request: Contracts.EnterpriseStateRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.EnterpriseState>>;
934
+ /** Retrieves connection specifications to connect to the cluster in which the given cabinet resides (to be used with the KubeConfig.loadFromString() method from the npm package: https://www.npmjs.com/package/@kubernetes/client-node), AND the names of the requested k8s entities. */
935
+ getExecConnectionSpec(request: Contracts.AssetReplicaContext, options?: IRepoOptions): Promise<SingleResult<Contracts.K8sContainerRef>>;
936
+ /** Generates a Kit object from an existing asset. (generated operationId) */
937
+ getGenerateAssetFromKit(request: Contracts.GenerateAssetFromKitRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.Kit>>;
938
+ /** Generates a Kit object from an existing asset. (generated operationId) */
939
+ getGenerateKit(request: Contracts.GenerateKitRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.Kit>>;
940
+ /** Retrieves a list of all host naming strategies as applied to the map of enterprises, environments, and cabinets. */
941
+ getIngressMap(request: Contracts.IngressMapRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.IngressMap>>;
942
+ getKnownPortNumbers(request: Contracts.GetKnownPortNumbersRequest, options?: IRepoOptions): Promise<ListResult<Contracts.KnownPortNumberAssignment>>;
943
+ /** Retrieves connection specifications to connect to the log stream for a given asset replica (to be used as input for the 'request' function from the npm package: https://www.npmjs.com/package/request). */
944
+ getLogStreamSpecs(request: Contracts.AssetReplicaLogRequest, options?: IRepoOptions): Promise<SingleResult<Object>>;
945
+ /** Returns the list of support cloud service providers with image registries. */
946
+ getRegistryProviders(request: Contracts.GetRegistryProvidersRequest, options?: IRepoOptions): Promise<ListResult<string>>;
947
+ /** Attempts to recognize the cloud Service provider from the given registry url. */
948
+ getRegistryType(request: Contracts.GetRegistryTypeRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.RegistryTypeInfo>>;
949
+ /** All the enterprises, assets, cabinets, environments, and clusters for the current tenant. That is, retrieves a semi-detailed list of all the primary entities of a tenant's software organization. Originally designed for use in ingress routing. */
950
+ getRootMap(request: Contracts.RootMapCriteria, options?: IRepoOptions): Promise<SingleResult<Contracts.RootMap>>;
951
+ /** Assembles (via smashMerge) a single config doc for the given enterprise asset, scoped for the given cabinet. */
952
+ getScopedConfigs(request: Contracts.ScopedConfigCriteria, options?: IRepoOptions): Promise<ListResult<Contracts.ScopedConfig>>;
953
+ /** (generated operationId) */
954
+ getSwaggerUiPath(request: Contracts.FileRequest, options?: IRepoOptions): Promise<Buffer>;
955
+ /** Enables the given user to access the given cluster via cloud provider security. */
956
+ grantClusterAccess(request: Contracts.ClusterAccessGrantRequest, options?: IRepoOptions): Promise<BatchResult<Contracts.AccessGrant>>;
957
+ /** Lightweight endpoint returning the last heartbeat as a UTC standard format date string (retrieves from ENV variable: HEARTBEAT_LAST). */
958
+ heartbeat(request: Object, options?: IRepoOptions): Promise<void>;
959
+ /** Lightweight endpoint returning the last heartbeat object as a JSON string (retrieves from ENV variable: HEARTBEAT_JSON). */
960
+ heartbeatJson(request: Object, options?: IRepoOptions): Promise<Contracts.HeartbeatRecord>;
961
+ /** (generated operationId) */
962
+ postExecuteCabinetKiller(request: Contracts.ExecuteCabinetKillerRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.Cabinet>>;
963
+ /** (generated operationId) */
964
+ postExecuteCabinetMaker(request: Contracts.ExecuteCreateCabinetRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.Cabinet>>;
965
+ /** (generated operationId) */
966
+ postExecuteDeleteClusterInstance(request: Contracts.DeleteClusterInstanceRequest, options?: IRepoOptions): Promise<Contracts.DeleteClusterInstanceResponse>;
967
+ /** (generated operationId) */
968
+ postExecuteDeployConfigsFor(request: Contracts.ExecuteDeployConfigsForRequest, options?: IRepoOptions): Promise<Contracts.ExecuteDeployConfigsForResponse>;
969
+ /** (generated operationId) */
970
+ postExecuteDeployIngressFor(request: Contracts.ExecuteDeployIngressForAssetsRequest, options?: IRepoOptions): Promise<Contracts.ExecuteDeployIngressForAssetsResponse>;
971
+ /** (generated operationId) */
972
+ postExecuteDeployment(request: Contracts.DeployRequest, options?: IRepoOptions): Promise<BatchResult<Contracts.IPartialAsset>>;
973
+ /** (generated operationId) */
974
+ postExecuteRecycleAssets(request: Contracts.CabinetAssetList, options?: IRepoOptions): Promise<BatchResult<Contracts.CabinetAssetList>>;
975
+ /** (generated operationId) */
976
+ postReadAssetLogs(request: Contracts.ReadAssetLogsForCabinetRequest, options?: IRepoOptions): Promise<Contracts.ReadAssetLogsForCabinetResponse>;
977
+ /** (generated operationId) */
978
+ postReadVaultStoreKeys(request: Contracts.ReadKeysFromStoreContactRequest, options?: IRepoOptions): Promise<SingleResult<Array<string>>>;
979
+ /** Retrieves a status of cluster ip via nslookup in a given registered DNS. */
980
+ readDnsConnection(request: Contracts.DnsConnectionRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.DnsResponse>>;
981
+ readyState(request: Contracts.ReadyStateRequest, options?: IRepoOptions): Promise<Contracts.ApiReadyState>;
982
+ /** Retrieves a list of all host naming strategies as applied to the map of enteprises, environments, and cabinets. */
983
+ recaptureIngressIp(request: Contracts.IngressMapRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.IngressMap>>;
984
+ /** Makes a cabinet-scoped change to the asset resource footprint, and applies it to the actual asset instances in the cluster. */
985
+ scaleAsset(request: Contracts.ScaleAssetRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.AssetResourcesSpec>>;
986
+ /** Returns the image repositories matching the search string in the given registry. */
987
+ searchRegistry(request: Contracts.RegistrySearchRequest, options?: IRepoOptions): Promise<ListResult<Contracts.ImageRepository>>;
988
+ /** Ensures that the specified cluster is running. */
989
+ startCluster(request: Contracts.ClusterStartRequestAsync, options?: IRepoOptions): Promise<SingleResult<Contracts.ClusterStartAck>>;
990
+ /** Ensures that the specified cluster is not running. */
991
+ stopCluster(request: Contracts.ClusterStopRequestAsync, options?: IRepoOptions): Promise<SingleResult<Contracts.ClusterStopAck>>;
992
+ /** Triggers Zombie Mode metrics service instances to update to the latest schedule of zombie periods. it does this by deploying the zombie schedule config maps and recycling the zombie metrics services. */
993
+ zombie_refresh(request: Contracts.ZombieRefreshRequest, options?: IRepoOptions): Promise<Contracts.Result>;
994
+ }
995
+ export {};