@odigos/vmagent-api-apollo-client 0.25.0 → 0.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/dialects.d.ts +5 -1
- package/dist/generated/dialects.js +5 -1
- package/dist/generated/next/graphql.d.ts +83 -16
- package/dist/generated/next/graphql.js +6 -5
- package/dist/generated/surface.d.ts +3 -1
- package/dist/generated/surface.js +3 -1
- package/dist/generated/v0_26_0/graphql.d.ts +5922 -0
- package/dist/generated/v0_26_0/graphql.js +113 -0
- package/dist/generated/v0_27_0/graphql.d.ts +5922 -0
- package/dist/generated/v0_27_0/graphql.js +113 -0
- package/package.json +1 -1
|
@@ -15,6 +15,8 @@ import * as v0_22_0 from "./v0_22_0/graphql";
|
|
|
15
15
|
import * as v0_23_0 from "./v0_23_0/graphql";
|
|
16
16
|
import * as v0_24_0 from "./v0_24_0/graphql";
|
|
17
17
|
import * as v0_25_0 from "./v0_25_0/graphql";
|
|
18
|
+
import * as v0_26_0 from "./v0_26_0/graphql";
|
|
19
|
+
import * as v0_27_0 from "./v0_27_0/graphql";
|
|
18
20
|
import * as nextDialect from "./next/graphql";
|
|
19
21
|
export declare const dialects: {
|
|
20
22
|
readonly "v0.6.0": typeof v0_6_0;
|
|
@@ -34,6 +36,8 @@ export declare const dialects: {
|
|
|
34
36
|
readonly "v0.23.0": typeof v0_23_0;
|
|
35
37
|
readonly "v0.24.0": typeof v0_24_0;
|
|
36
38
|
readonly "v0.25.0": typeof v0_25_0;
|
|
39
|
+
readonly "v0.26.0": typeof v0_26_0;
|
|
40
|
+
readonly "v0.27.0": typeof v0_27_0;
|
|
37
41
|
};
|
|
38
42
|
export declare const NEXT_DIALECT: typeof nextDialect;
|
|
39
|
-
export declare const LATEST_DIALECT_VERSION: "v0.
|
|
43
|
+
export declare const LATEST_DIALECT_VERSION: "v0.27.0";
|
|
@@ -19,6 +19,8 @@ import * as v0_22_0 from "./v0_22_0/graphql";
|
|
|
19
19
|
import * as v0_23_0 from "./v0_23_0/graphql";
|
|
20
20
|
import * as v0_24_0 from "./v0_24_0/graphql";
|
|
21
21
|
import * as v0_25_0 from "./v0_25_0/graphql";
|
|
22
|
+
import * as v0_26_0 from "./v0_26_0/graphql";
|
|
23
|
+
import * as v0_27_0 from "./v0_27_0/graphql";
|
|
22
24
|
import * as nextDialect from "./next/graphql";
|
|
23
25
|
// Every frozen dialect, keyed by its snapshot version. The published package
|
|
24
26
|
// ships all of them so central-ui can resolve a dialect per connected
|
|
@@ -41,9 +43,11 @@ export const dialects = {
|
|
|
41
43
|
"v0.23.0": v0_23_0,
|
|
42
44
|
"v0.24.0": v0_24_0,
|
|
43
45
|
"v0.25.0": v0_25_0,
|
|
46
|
+
"v0.26.0": v0_26_0,
|
|
47
|
+
"v0.27.0": v0_27_0,
|
|
44
48
|
};
|
|
45
49
|
// The live, unreleased dialect (generated from graphql/ HEAD). Deliberately
|
|
46
50
|
// excluded from `dialects` so it never participates in version resolution.
|
|
47
51
|
export const NEXT_DIALECT = nextDialect;
|
|
48
52
|
// Highest frozen dialect: the default surface and the floor-resolution ceiling.
|
|
49
|
-
export const LATEST_DIALECT_VERSION = "v0.
|
|
53
|
+
export const LATEST_DIALECT_VERSION = "v0.27.0";
|
|
@@ -120,11 +120,13 @@ export type AwsManagedCollectorProviderOverridesInput = {
|
|
|
120
120
|
additionalSecurityGroupIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
121
121
|
allowNetworkCidrFallback?: InputMaybe<Scalars['Boolean']['input']>;
|
|
122
122
|
assignPublicIp?: InputMaybe<Scalars['Boolean']['input']>;
|
|
123
|
+
/** Required on create in both modes. Must identify an ACTIVE ECS cluster. */
|
|
123
124
|
clusterRef?: InputMaybe<Scalars['String']['input']>;
|
|
124
|
-
/**
|
|
125
|
+
/** Required on create in both modes. The ECS task assumes this customer-owned role; Odigos never mutates it. */
|
|
125
126
|
executionRoleArn?: InputMaybe<Scalars['String']['input']>;
|
|
126
127
|
minFallbackPrefixLength?: InputMaybe<Scalars['Int']['input']>;
|
|
127
128
|
securityGroupIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
129
|
+
/** Omit to keep the current pin; [] clears it and resumes automatic subnet selection. */
|
|
128
130
|
subnetIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
129
131
|
useFargateSpot?: InputMaybe<Scalars['Boolean']['input']>;
|
|
130
132
|
};
|
|
@@ -286,8 +288,8 @@ export type CreateManagedCollectorDestinationInput = {
|
|
|
286
288
|
type: Scalars['String']['input'];
|
|
287
289
|
};
|
|
288
290
|
/**
|
|
289
|
-
* Settings for one region's Collector. The region
|
|
290
|
-
*
|
|
291
|
+
* Settings for one region's Collector. The region is required; other omitted fields inherit
|
|
292
|
+
* `collector.defaults`. Collector operations use the connector credentials.
|
|
291
293
|
*
|
|
292
294
|
* An explicitly empty list means "none" and is NOT the same as omitting the field — omitting inherits the
|
|
293
295
|
* default's list, and clearing it is the only way to say this region wants none of them.
|
|
@@ -295,20 +297,18 @@ export type CreateManagedCollectorDestinationInput = {
|
|
|
295
297
|
export type CreateManagedCollectorInput = {
|
|
296
298
|
arch?: InputMaybe<Scalars['String']['input']>;
|
|
297
299
|
cpu?: InputMaybe<Scalars['String']['input']>;
|
|
298
|
-
/**
|
|
299
|
-
deploymentRoleRef
|
|
300
|
+
/** Deprecated legacy deployment identity. Collector access uses the connector credentials. */
|
|
301
|
+
deploymentRoleRef?: InputMaybe<Scalars['String']['input']>;
|
|
300
302
|
endpointOverride?: InputMaybe<Scalars['String']['input']>;
|
|
301
303
|
imageRepositoryOverride?: InputMaybe<Scalars['String']['input']>;
|
|
302
304
|
ingress?: InputMaybe<ManagedCollectorIngressInput>;
|
|
303
305
|
logRetentionDays?: InputMaybe<Scalars['Int']['input']>;
|
|
304
306
|
memory?: InputMaybe<Scalars['String']['input']>;
|
|
305
|
-
/**
|
|
306
|
-
* Pin the Collector to one network. Omit to let Odigos select the region's only eligible network;
|
|
307
|
-
* it refuses to guess when several are eligible and reports the candidates.
|
|
308
|
-
*/
|
|
307
|
+
/** Required on AWS create in both modes; identifies the host VPC. */
|
|
309
308
|
networkId?: InputMaybe<Scalars['String']['input']>;
|
|
310
309
|
providerOverrides?: InputMaybe<ManagedCollectorProviderOverridesInput>;
|
|
311
310
|
region: Scalars['String']['input'];
|
|
311
|
+
retention?: InputMaybe<ManagedCollectorRetentionInput>;
|
|
312
312
|
/** How many workloads one cutover pass may re-point at this Collector. 0 uses the connector default. */
|
|
313
313
|
rolloutBatchSize?: InputMaybe<Scalars['Int']['input']>;
|
|
314
314
|
scaling?: InputMaybe<ManagedCollectorScalingInput>;
|
|
@@ -892,7 +892,7 @@ export type ManagedCollectorDesired = {
|
|
|
892
892
|
__typename?: 'ManagedCollectorDesired';
|
|
893
893
|
arch: Scalars['String']['output'];
|
|
894
894
|
cpu: Scalars['String']['output'];
|
|
895
|
-
/**
|
|
895
|
+
/** Deprecated legacy field. Collector operations use the connector credentials. */
|
|
896
896
|
deploymentRoleRef?: Maybe<Scalars['String']['output']>;
|
|
897
897
|
/**
|
|
898
898
|
* Whether this region gets a Collector at all. Resolved: an unset region inherits the feature
|
|
@@ -916,6 +916,7 @@ export type ManagedCollectorDesired = {
|
|
|
916
916
|
networkId?: Maybe<Scalars['String']['output']>;
|
|
917
917
|
/** Provider-specific desired deployment settings. */
|
|
918
918
|
providerOverrides: ManagedCollectorProviderOverrides;
|
|
919
|
+
retention: ManagedCollectorRetention;
|
|
919
920
|
scaling: ManagedCollectorScalingTarget;
|
|
920
921
|
transport: ManagedCollectorTransport;
|
|
921
922
|
};
|
|
@@ -967,7 +968,7 @@ export type ManagedCollectorIngressInput = {
|
|
|
967
968
|
*/
|
|
968
969
|
export type ManagedCollectorInstructions = {
|
|
969
970
|
__typename?: 'ManagedCollectorInstructions';
|
|
970
|
-
/**
|
|
971
|
+
/** Deprecated legacy field. Collector operations use the connector credentials. */
|
|
971
972
|
deploymentRoleRef?: Maybe<Scalars['String']['output']>;
|
|
972
973
|
/**
|
|
973
974
|
* The deployment rendered per delivery tool, in the connector's preferred order. Never empty.
|
|
@@ -1132,6 +1133,16 @@ export type ManagedCollectorReport = {
|
|
|
1132
1133
|
/** RFC3339 timestamp of the last report refresh. */
|
|
1133
1134
|
updatedAt: Scalars['String']['output'];
|
|
1134
1135
|
};
|
|
1136
|
+
export type ManagedCollectorRetention = {
|
|
1137
|
+
__typename?: 'ManagedCollectorRetention';
|
|
1138
|
+
idleDeleteAfterHours: Scalars['Int']['output'];
|
|
1139
|
+
idleScaleToZeroAfterHours: Scalars['Int']['output'];
|
|
1140
|
+
};
|
|
1141
|
+
/** Hours of continuous idleness before a disabled or source-free Collector is parked or removed. Zero keeps it. */
|
|
1142
|
+
export type ManagedCollectorRetentionInput = {
|
|
1143
|
+
idleDeleteAfterHours?: InputMaybe<Scalars['Int']['input']>;
|
|
1144
|
+
idleScaleToZeroAfterHours?: InputMaybe<Scalars['Int']['input']>;
|
|
1145
|
+
};
|
|
1135
1146
|
/** Scaling policy. `mode` is manual (fixed desiredCount) or auto (the platform autoscaler bounds). */
|
|
1136
1147
|
export type ManagedCollectorScalingInput = {
|
|
1137
1148
|
desiredCount?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -1239,6 +1250,8 @@ export type Mutation = {
|
|
|
1239
1250
|
/** Request bounded cleanup of connector-created resources. Not implemented in the discovery-only phase. */
|
|
1240
1251
|
requestCleanup: Scalars['Boolean']['output'];
|
|
1241
1252
|
restartSource: RestartSourcePayload;
|
|
1253
|
+
/** Admin-only revocation; the Collector must use a replacement credential to reconnect. */
|
|
1254
|
+
revokeManagedCollectorCredential: RevokeManagedCollectorCredentialPayload;
|
|
1242
1255
|
startBackgroundProfileBundle: ProfileBundleStatus;
|
|
1243
1256
|
/**
|
|
1244
1257
|
* Request teardown of one region's Collector.
|
|
@@ -1336,6 +1349,9 @@ export type MutationRequestCleanupArgs = {
|
|
|
1336
1349
|
export type MutationRestartSourceArgs = {
|
|
1337
1350
|
input: RestartSourceInput;
|
|
1338
1351
|
};
|
|
1352
|
+
export type MutationRevokeManagedCollectorCredentialArgs = {
|
|
1353
|
+
input: RevokeManagedCollectorCredentialInput;
|
|
1354
|
+
};
|
|
1339
1355
|
export type MutationStartBackgroundProfileBundleArgs = {
|
|
1340
1356
|
durationSeconds?: InputMaybe<Scalars['Int']['input']>;
|
|
1341
1357
|
service?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1639,6 +1655,17 @@ export type RevisionedServiceWorkloadDetails = WorkloadDetails & {
|
|
|
1639
1655
|
/** Fully-qualified platform resource identity: the Cloud Run service name, or the Container App resource id. */
|
|
1640
1656
|
service?: Maybe<Scalars['String']['output']>;
|
|
1641
1657
|
};
|
|
1658
|
+
/** Revoke one manual Collector credential after rotation or compromise. */
|
|
1659
|
+
export type RevokeManagedCollectorCredentialInput = {
|
|
1660
|
+
credentialId: Scalars['String']['input'];
|
|
1661
|
+
region: Scalars['String']['input'];
|
|
1662
|
+
};
|
|
1663
|
+
export type RevokeManagedCollectorCredentialPayload = {
|
|
1664
|
+
__typename?: 'RevokeManagedCollectorCredentialPayload';
|
|
1665
|
+
credentialId: Scalars['String']['output'];
|
|
1666
|
+
region: Scalars['String']['output'];
|
|
1667
|
+
revoked: Scalars['Boolean']['output'];
|
|
1668
|
+
};
|
|
1642
1669
|
export declare enum RuleType {
|
|
1643
1670
|
CodeAttributes = "CodeAttributes",
|
|
1644
1671
|
CustomInstrumentation = "CustomInstrumentation",
|
|
@@ -1899,11 +1926,11 @@ export type UpdateManagedCollectorDestinationInput = {
|
|
|
1899
1926
|
export type UpdateManagedCollectorInput = {
|
|
1900
1927
|
arch?: InputMaybe<Scalars['String']['input']>;
|
|
1901
1928
|
cpu?: InputMaybe<Scalars['String']['input']>;
|
|
1902
|
-
/**
|
|
1929
|
+
/** Deprecated legacy field. Collector operations use the connector credentials. */
|
|
1903
1930
|
deploymentRoleRef?: InputMaybe<Scalars['String']['input']>;
|
|
1904
1931
|
/**
|
|
1905
|
-
* Setting this to false stops convergence
|
|
1906
|
-
*
|
|
1932
|
+
* Setting this to false stops convergence. Default retention keeps the Collector running;
|
|
1933
|
+
* a configured retention policy can park or remove it after its idle grace.
|
|
1907
1934
|
*/
|
|
1908
1935
|
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1909
1936
|
endpointOverride?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1912,12 +1939,14 @@ export type UpdateManagedCollectorInput = {
|
|
|
1912
1939
|
logRetentionDays?: InputMaybe<Scalars['Int']['input']>;
|
|
1913
1940
|
memory?: InputMaybe<Scalars['String']['input']>;
|
|
1914
1941
|
/**
|
|
1915
|
-
*
|
|
1916
|
-
*
|
|
1942
|
+
* On AWS automatic mode, a changed VPC starts a resumable old-stack teardown followed by
|
|
1943
|
+
* provisioning in the new VPC; update networkId separately from other fields. In manual mode,
|
|
1944
|
+
* the customer moves IaC and re-issues the revoked network-bound OpAMP credential.
|
|
1917
1945
|
*/
|
|
1918
1946
|
networkId?: InputMaybe<Scalars['String']['input']>;
|
|
1919
1947
|
providerOverrides?: InputMaybe<ManagedCollectorProviderOverridesInput>;
|
|
1920
1948
|
region: Scalars['String']['input'];
|
|
1949
|
+
retention?: InputMaybe<ManagedCollectorRetentionInput>;
|
|
1921
1950
|
rolloutBatchSize?: InputMaybe<Scalars['Int']['input']>;
|
|
1922
1951
|
scaling?: InputMaybe<ManagedCollectorScalingInput>;
|
|
1923
1952
|
transport?: InputMaybe<ManagedCollectorTransportInput>;
|
|
@@ -3342,6 +3371,11 @@ export type GetManagedCollectorReportsQuery = {
|
|
|
3342
3371
|
targetCpuPercent?: number | null;
|
|
3343
3372
|
targetMemoryPercent?: number | null;
|
|
3344
3373
|
};
|
|
3374
|
+
retention: {
|
|
3375
|
+
__typename?: 'ManagedCollectorRetention';
|
|
3376
|
+
idleScaleToZeroAfterHours: number;
|
|
3377
|
+
idleDeleteAfterHours: number;
|
|
3378
|
+
};
|
|
3345
3379
|
transport: {
|
|
3346
3380
|
__typename?: 'ManagedCollectorTransport';
|
|
3347
3381
|
mode?: string | null;
|
|
@@ -3474,6 +3508,11 @@ export type GetManagedCollectorReportQuery = {
|
|
|
3474
3508
|
targetCpuPercent?: number | null;
|
|
3475
3509
|
targetMemoryPercent?: number | null;
|
|
3476
3510
|
};
|
|
3511
|
+
retention: {
|
|
3512
|
+
__typename?: 'ManagedCollectorRetention';
|
|
3513
|
+
idleScaleToZeroAfterHours: number;
|
|
3514
|
+
idleDeleteAfterHours: number;
|
|
3515
|
+
};
|
|
3477
3516
|
transport: {
|
|
3478
3517
|
__typename?: 'ManagedCollectorTransport';
|
|
3479
3518
|
mode?: string | null;
|
|
@@ -3667,6 +3706,11 @@ export type CreateManagedCollectorMutation = {
|
|
|
3667
3706
|
targetCpuPercent?: number | null;
|
|
3668
3707
|
targetMemoryPercent?: number | null;
|
|
3669
3708
|
};
|
|
3709
|
+
retention: {
|
|
3710
|
+
__typename?: 'ManagedCollectorRetention';
|
|
3711
|
+
idleScaleToZeroAfterHours: number;
|
|
3712
|
+
idleDeleteAfterHours: number;
|
|
3713
|
+
};
|
|
3670
3714
|
transport: {
|
|
3671
3715
|
__typename?: 'ManagedCollectorTransport';
|
|
3672
3716
|
mode?: string | null;
|
|
@@ -3799,6 +3843,11 @@ export type UpdateManagedCollectorMutation = {
|
|
|
3799
3843
|
targetCpuPercent?: number | null;
|
|
3800
3844
|
targetMemoryPercent?: number | null;
|
|
3801
3845
|
};
|
|
3846
|
+
retention: {
|
|
3847
|
+
__typename?: 'ManagedCollectorRetention';
|
|
3848
|
+
idleScaleToZeroAfterHours: number;
|
|
3849
|
+
idleDeleteAfterHours: number;
|
|
3850
|
+
};
|
|
3802
3851
|
transport: {
|
|
3803
3852
|
__typename?: 'ManagedCollectorTransport';
|
|
3804
3853
|
mode?: string | null;
|
|
@@ -3922,6 +3971,18 @@ export type IssueManagedCollectorCredentialMutation = {
|
|
|
3922
3971
|
secretRef: string;
|
|
3923
3972
|
};
|
|
3924
3973
|
};
|
|
3974
|
+
export type RevokeManagedCollectorCredentialMutationVariables = Exact<{
|
|
3975
|
+
input: RevokeManagedCollectorCredentialInput;
|
|
3976
|
+
}>;
|
|
3977
|
+
export type RevokeManagedCollectorCredentialMutation = {
|
|
3978
|
+
__typename?: 'Mutation';
|
|
3979
|
+
revokeManagedCollectorCredential: {
|
|
3980
|
+
__typename?: 'RevokeManagedCollectorCredentialPayload';
|
|
3981
|
+
region: string;
|
|
3982
|
+
credentialId: string;
|
|
3983
|
+
revoked: boolean;
|
|
3984
|
+
};
|
|
3985
|
+
};
|
|
3925
3986
|
export type ManagedCollectorReportFieldsFragment = {
|
|
3926
3987
|
__typename?: 'ManagedCollectorReport';
|
|
3927
3988
|
region: string;
|
|
@@ -3952,6 +4013,11 @@ export type ManagedCollectorReportFieldsFragment = {
|
|
|
3952
4013
|
targetCpuPercent?: number | null;
|
|
3953
4014
|
targetMemoryPercent?: number | null;
|
|
3954
4015
|
};
|
|
4016
|
+
retention: {
|
|
4017
|
+
__typename?: 'ManagedCollectorRetention';
|
|
4018
|
+
idleScaleToZeroAfterHours: number;
|
|
4019
|
+
idleDeleteAfterHours: number;
|
|
4020
|
+
};
|
|
3955
4021
|
transport: {
|
|
3956
4022
|
__typename?: 'ManagedCollectorTransport';
|
|
3957
4023
|
mode?: string | null;
|
|
@@ -5825,6 +5891,7 @@ export declare const CreateManagedCollectorDocument: DocumentNode<CreateManagedC
|
|
|
5825
5891
|
export declare const UpdateManagedCollectorDocument: DocumentNode<UpdateManagedCollectorMutation, UpdateManagedCollectorMutationVariables>;
|
|
5826
5892
|
export declare const TeardownManagedCollectorDocument: DocumentNode<TeardownManagedCollectorMutation, TeardownManagedCollectorMutationVariables>;
|
|
5827
5893
|
export declare const IssueManagedCollectorCredentialDocument: DocumentNode<IssueManagedCollectorCredentialMutation, IssueManagedCollectorCredentialMutationVariables>;
|
|
5894
|
+
export declare const RevokeManagedCollectorCredentialDocument: DocumentNode<RevokeManagedCollectorCredentialMutation, RevokeManagedCollectorCredentialMutationVariables>;
|
|
5828
5895
|
export declare const GetManagedCollectorDestinationTypesDocument: DocumentNode<GetManagedCollectorDestinationTypesQuery, GetManagedCollectorDestinationTypesQueryVariables>;
|
|
5829
5896
|
export declare const ListManagedCollectorDestinationsDocument: DocumentNode<ListManagedCollectorDestinationsQuery, ListManagedCollectorDestinationsQueryVariables>;
|
|
5830
5897
|
export declare const GetManagedCollectorDestinationDocument: DocumentNode<GetManagedCollectorDestinationQuery, GetManagedCollectorDestinationQueryVariables>;
|