@odigos/vmagent-api-apollo-client 0.25.0 → 0.26.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.
@@ -15,6 +15,7 @@ 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";
18
19
  import * as nextDialect from "./next/graphql";
19
20
  export declare const dialects: {
20
21
  readonly "v0.6.0": typeof v0_6_0;
@@ -34,6 +35,7 @@ export declare const dialects: {
34
35
  readonly "v0.23.0": typeof v0_23_0;
35
36
  readonly "v0.24.0": typeof v0_24_0;
36
37
  readonly "v0.25.0": typeof v0_25_0;
38
+ readonly "v0.26.0": typeof v0_26_0;
37
39
  };
38
40
  export declare const NEXT_DIALECT: typeof nextDialect;
39
- export declare const LATEST_DIALECT_VERSION: "v0.25.0";
41
+ export declare const LATEST_DIALECT_VERSION: "v0.26.0";
@@ -19,6 +19,7 @@ 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";
22
23
  import * as nextDialect from "./next/graphql";
23
24
  // Every frozen dialect, keyed by its snapshot version. The published package
24
25
  // ships all of them so central-ui can resolve a dialect per connected
@@ -41,9 +42,10 @@ export const dialects = {
41
42
  "v0.23.0": v0_23_0,
42
43
  "v0.24.0": v0_24_0,
43
44
  "v0.25.0": v0_25_0,
45
+ "v0.26.0": v0_26_0,
44
46
  };
45
47
  // The live, unreleased dialect (generated from graphql/ HEAD). Deliberately
46
48
  // excluded from `dialects` so it never participates in version resolution.
47
49
  export const NEXT_DIALECT = nextDialect;
48
50
  // Highest frozen dialect: the default surface and the floor-resolution ceiling.
49
- export const LATEST_DIALECT_VERSION = "v0.25.0";
51
+ export const LATEST_DIALECT_VERSION = "v0.26.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
- /** Placement references supplied by the customer are never mutated or deleted by Odigos. */
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
  };
@@ -302,13 +304,11 @@ export type CreateManagedCollectorInput = {
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>;
@@ -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
  };
@@ -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",
@@ -1902,8 +1929,8 @@ export type UpdateManagedCollectorInput = {
1902
1929
  /** Replace the customer-provisioned deployment identity for this region. */
1903
1930
  deploymentRoleRef?: InputMaybe<Scalars['String']['input']>;
1904
1931
  /**
1905
- * Setting this to false stops convergence and leaves everything running — it does NOT remove the
1906
- * Collector. Use teardownManagedCollector to destroy it.
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
- * Moving the Collector to another network is a REDEPLOYMENT of the same logical Collector: its
1916
- * credential is replaced and its infrastructure rebuilt in the new network.
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>;