@burdenoff/microfe-security 2026.1114.1 → 2026.1117.1

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.
@@ -1,50 +1,271 @@
1
+ /** Internal type. DO NOT USE DIRECTLY. */
2
+ type Exact<T extends {
3
+ [key: string]: unknown;
4
+ }> = {
5
+ [K in keyof T]: T[K];
6
+ };
7
+ /** Internal type. DO NOT USE DIRECTLY. */
8
+ export type Incremental<T> = T | {
9
+ [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
10
+ };
1
11
  import * as Types from './wspace-types';
2
12
  import * as Apollo from '@apollo/client';
3
13
  import * as ApolloReactHooks from '@apollo/client/react';
4
- export type BulkDeleteSecretsMutationVariables = Types.Exact<{
5
- ids: Array<Types.Scalars['ID']['input']> | Types.Scalars['ID']['input'];
14
+ /** Bulk-create plaintext secrets in a vault. This mutation is gated on `create:secret` only; it intentionally does NOT support overwriting existing secrets (duplicates are reported in the `skipped` count of the result). If a future flow needs an upsert path it should be a separate mutation gated on both `create:secret` and `update:secret` so a caller cannot escalate from create-only to update via the duplicate-key path. (Codex flagged the previous shape on PR #11.) */
15
+ export type BulkCreateSecretsInput = {
16
+ secrets: Array<BulkSecretInput>;
17
+ vaultId: string | number;
18
+ };
19
+ export type BulkSecretInput = {
20
+ description?: string | null | undefined;
21
+ key: string;
22
+ metadata?: Record<string, unknown> | null | undefined;
23
+ name: string;
24
+ tags?: Array<string> | null | undefined;
25
+ type: SecretType;
26
+ value: string;
27
+ };
28
+ /**
29
+ * Context filter input for querying records by context.
30
+ * Supports exact match filtering on context fields.
31
+ */
32
+ export type ContextFilterInput = {
33
+ /** Filter by app ID */
34
+ appId?: string | number | null | undefined;
35
+ /** Filter by project ID */
36
+ projectId?: string | number | null | undefined;
37
+ /** Filter by user ID */
38
+ userId?: string | number | null | undefined;
39
+ /** Filter by workspace ID */
40
+ workspaceId?: string | number | null | undefined;
41
+ };
42
+ /**
43
+ * Operation context for filtering and scoping data.
44
+ * All fields are optional and can be extended as needed.
45
+ */
46
+ export type ContextInput = {
47
+ /** App ID for app-level scoping */
48
+ appId?: string | number | null | undefined;
49
+ /** Additional custom context as JSON */
50
+ custom?: Record<string, unknown> | null | undefined;
51
+ /** Project ID for project-level scoping */
52
+ projectId?: string | number | null | undefined;
53
+ /** User ID for user-level scoping */
54
+ userId?: string | number | null | undefined;
55
+ /** Workspace ID for workspace-level scoping */
56
+ workspaceId?: string | number | null | undefined;
57
+ };
58
+ export type CreateSecretInput = {
59
+ /** Operation context for scoping (workspaceId, userId, projectId, etc.) */
60
+ context?: ContextInput | null | undefined;
61
+ description?: string | null | undefined;
62
+ ephemeralExpiresAt?: string | null | undefined;
63
+ expiresAt?: string | null | undefined;
64
+ isEphemeral?: boolean | null | undefined;
65
+ key: string;
66
+ maxAccessCount?: number | null | undefined;
67
+ metadata?: Record<string, unknown> | null | undefined;
68
+ name: string;
69
+ rotationConfig?: Record<string, unknown> | null | undefined;
70
+ /** Legacy tag input. Use `tagsV2` for canonical [{key,value}] shape (marqueue §251). */
71
+ tags?: Array<string> | null | undefined;
72
+ /** Canonical universal-tag input (marqueue §251). Takes precedence over legacy `tags`. */
73
+ tagsV2?: Record<string, unknown> | null | undefined;
74
+ type: SecretType;
75
+ value: string;
76
+ vaultId: string | number;
77
+ };
78
+ export type CreateSecretShareLinkInput = {
79
+ expiresAt?: string | null | undefined;
80
+ label?: string | null | undefined;
81
+ /** Optional cap on the number of reveals before the link stops working. */
82
+ maxViews?: number | null | undefined;
83
+ /** Optional second factor the viewer must enter to reveal the credential. */
84
+ password?: string | null | undefined;
85
+ /** Defaults to VIEWER. Links are read-only regardless of role. */
86
+ role?: VaultMemberRole | null | undefined;
87
+ /** Omit to share the entire vault; set to share a single credential. */
88
+ secretId?: string | number | null | undefined;
89
+ vaultId: string | number;
90
+ };
91
+ export type CreateVaultInput = {
92
+ /** Operation context for scoping (workspaceId, userId, projectId, etc.) */
93
+ context?: ContextInput | null | undefined;
94
+ description?: string | null | undefined;
95
+ lockAfterMinutes?: number | null | undefined;
96
+ metadata?: Record<string, unknown> | null | undefined;
97
+ name: string;
98
+ scope: VaultScope;
99
+ scopeId?: string | null | undefined;
100
+ settings?: Record<string, unknown> | null | undefined;
101
+ };
102
+ export type CreateVaultIntegrationInput = {
103
+ /** Operation context for scoping (workspaceId, userId, projectId, etc.) */
104
+ context?: ContextInput | null | undefined;
105
+ /** Provider credentials, stored encrypted with the vault's key and never returned. AWS: accessKeyId, secretAccessKey; Vault/OpenBao: token, or roleId and secretId; 1Password Connect: token; Infisical: clientId, clientSecret. */
106
+ credentials?: Record<string, unknown> | null | undefined;
107
+ displayName: string;
108
+ /** Legacy: a connection holding the provider credentials. Not needed when credentials are given. */
109
+ integrationConnectionId?: string | null | undefined;
110
+ providerConfig?: Record<string, unknown> | null | undefined;
111
+ providerType: ExternalProviderType;
112
+ /** The key connection fields use to reference this provider, as in {{ $secrets.<referenceKey>.<name> }}: lower-case letters, digits, "-" and "_", starting with a letter. Unique in the workspace. */
113
+ referenceKey?: string | null | undefined;
114
+ syncDirection?: SyncDirection | null | undefined;
115
+ syncEnabled?: boolean | null | undefined;
116
+ syncIntervalMinutes?: number | null | undefined;
117
+ vaultId: string | number;
118
+ };
119
+ export type ExternalProviderType = 'AWS_SECRETS_MANAGER' | 'AZURE_KEY_VAULT' | 'GCP_SECRET_MANAGER' | 'HASHICORP_VAULT'
120
+ /** Infisical, with a machine identity (BOFF-9741). */
121
+ | 'INFISICAL'
122
+ /** 1Password Connect (BOFF-9741). */
123
+ | 'ONEPASSWORD_CONNECT' | 'OPENBAO';
124
+ export type SecretFilterInput = {
125
+ /** Filter by operation context (workspaceId, userId, projectId, etc.) */
126
+ context?: ContextFilterInput | null | undefined;
127
+ createdBy?: string | number | null | undefined;
128
+ isEphemeral?: boolean | null | undefined;
129
+ search?: string | null | undefined;
130
+ status?: SecretStatus | null | undefined;
131
+ tags?: Array<string> | null | undefined;
132
+ type?: SecretType | null | undefined;
133
+ vaultId?: string | number | null | undefined;
134
+ };
135
+ export type SecretShareKind = 'ACCOUNT' | 'LINK';
136
+ export type SecretShareScope = 'SECRET' | 'VAULT';
137
+ export type SecretShareStatus = 'ACTIVE' | 'REVOKED';
138
+ export type SecretStatus = 'ACTIVE' | 'ARCHIVED' | 'EXPIRED' | 'REVOKED' | 'ROTATED';
139
+ export type SecretType = 'API_KEY' | 'CERTIFICATE' | 'CREDENTIAL' | 'FILE' | 'PRIVATE_KEY' | 'STRUCTURED_DATA' | 'TEXT' | 'TOKEN';
140
+ export type SecurityMemberEventAction = 'ADDED' | 'REMOVED' | 'ROLE_CHANGED';
141
+ export type SecurityPaginationInput = {
142
+ limit?: number | null | undefined;
143
+ offset?: number | null | undefined;
144
+ };
145
+ export type SecuritySecretEventAction = 'CREATED' | 'DELETED' | 'ROTATED' | 'UPDATED';
146
+ export type SecurityVaultEventAction = 'CREATED' | 'DELETED' | 'LOCKED' | 'UNLOCKED' | 'UPDATED';
147
+ export type ShareSecretWithAccountInput = {
148
+ /** Target platform account id. Provide this OR email. */
149
+ accountId?: string | null | undefined;
150
+ /** Target account email (resolved to an account id). Provide this OR accountId. */
151
+ email?: string | null | undefined;
152
+ expiresAt?: string | null | undefined;
153
+ label?: string | null | undefined;
154
+ role: VaultMemberRole;
155
+ /** Omit to share the entire vault; set to share a single credential. */
156
+ secretId?: string | number | null | undefined;
157
+ vaultId: string | number;
158
+ };
159
+ export type ShareVaultInput = {
160
+ actorId: string;
161
+ actorType: string;
162
+ expiresAt?: string | null | undefined;
163
+ role: VaultMemberRole;
164
+ vaultId: string | number;
165
+ };
166
+ export type SyncDirection = 'BIDIRECTIONAL' | 'PULL' | 'PUSH';
167
+ export type UpdateSecretInput = {
168
+ /** Operation context for scoping (workspaceId, userId, projectId, etc.) */
169
+ context?: ContextInput | null | undefined;
170
+ description?: string | null | undefined;
171
+ expiresAt?: string | null | undefined;
172
+ metadata?: Record<string, unknown> | null | undefined;
173
+ name?: string | null | undefined;
174
+ rotationConfig?: Record<string, unknown> | null | undefined;
175
+ status?: SecretStatus | null | undefined;
176
+ /** Legacy tag input. Use `tagsV2` for canonical [{key,value}] shape (marqueue §251). */
177
+ tags?: Array<string> | null | undefined;
178
+ /** Canonical universal-tag input (marqueue §251). Takes precedence over legacy `tags`. */
179
+ tagsV2?: Record<string, unknown> | null | undefined;
180
+ value?: string | null | undefined;
181
+ };
182
+ export type UpdateVaultInput = {
183
+ /** Operation context for scoping (workspaceId, userId, projectId, etc.) */
184
+ context?: ContextInput | null | undefined;
185
+ description?: string | null | undefined;
186
+ lockAfterMinutes?: number | null | undefined;
187
+ metadata?: Record<string, unknown> | null | undefined;
188
+ name?: string | null | undefined;
189
+ settings?: Record<string, unknown> | null | undefined;
190
+ status?: VaultStatus | null | undefined;
191
+ };
192
+ export type UpdateVaultIntegrationInput = {
193
+ /** Operation context for scoping (workspaceId, userId, projectId, etc.) */
194
+ context?: ContextInput | null | undefined;
195
+ /** Replaces the stored credentials. Omit to keep them. */
196
+ credentials?: Record<string, unknown> | null | undefined;
197
+ displayName?: string | null | undefined;
198
+ providerConfig?: Record<string, unknown> | null | undefined;
199
+ referenceKey?: string | null | undefined;
200
+ syncDirection?: SyncDirection | null | undefined;
201
+ syncEnabled?: boolean | null | undefined;
202
+ syncIntervalMinutes?: number | null | undefined;
203
+ };
204
+ export type VaultAuditLogFilterInput = {
205
+ action?: string | null | undefined;
206
+ actorId?: string | null | undefined;
207
+ /** Filter by operation context (workspaceId, userId, projectId, etc.) */
208
+ context?: ContextFilterInput | null | undefined;
209
+ endDate?: string | null | undefined;
210
+ entityId?: string | null | undefined;
211
+ entityType?: string | null | undefined;
212
+ startDate?: string | null | undefined;
213
+ };
214
+ export type VaultFilterInput = {
215
+ /** Filter by operation context (workspaceId, userId, projectId, etc.) */
216
+ context?: ContextFilterInput | null | undefined;
217
+ createdBy?: string | number | null | undefined;
218
+ scope?: VaultScope | null | undefined;
219
+ search?: string | null | undefined;
220
+ status?: VaultStatus | null | undefined;
221
+ };
222
+ export type VaultMemberRole = 'ADMIN' | 'EDITOR' | 'VIEWER';
223
+ export type VaultScope = 'PERSONAL' | 'PRODUCT' | 'TENANT' | 'WORKSPACE';
224
+ export type VaultStatus = 'ACTIVE' | 'ARCHIVED' | 'DELETED' | 'LOCKED' | 'SUSPENDED';
225
+ export type VaultSyncLogFilterInput = {
226
+ direction?: SyncDirection | null | undefined;
227
+ endDate?: string | null | undefined;
228
+ integrationId?: string | number | null | undefined;
229
+ startDate?: string | null | undefined;
230
+ status?: VaultSyncStatus | null | undefined;
231
+ };
232
+ export type VaultSyncStatus = 'COMPLETED' | 'FAILED' | 'IN_PROGRESS' | 'PARTIAL' | 'PENDING';
233
+ export type BulkDeleteSecretsMutationVariables = Exact<{
234
+ ids: Array<string | number> | string | number;
6
235
  }>;
7
236
  export type BulkDeleteSecretsMutation = {
8
- __typename?: 'Mutation';
9
237
  bulkDeleteSecrets: boolean;
10
238
  };
11
- export type BulkMoveSecretsMutationVariables = Types.Exact<{
12
- ids: Array<Types.Scalars['ID']['input']> | Types.Scalars['ID']['input'];
13
- targetVaultId: Types.Scalars['ID']['input'];
239
+ export type BulkMoveSecretsMutationVariables = Exact<{
240
+ ids: Array<string | number> | string | number;
241
+ targetVaultId: string | number;
14
242
  }>;
15
243
  export type BulkMoveSecretsMutation = {
16
- __typename?: 'Mutation';
17
244
  bulkMoveSecrets: Array<{
18
- __typename?: 'Secret';
19
245
  id: string;
20
246
  vaultId: string;
21
247
  }>;
22
248
  };
23
- export type BulkLabelSecretsMutationVariables = Types.Exact<{
24
- ids: Array<Types.Scalars['ID']['input']> | Types.Scalars['ID']['input'];
25
- label: Types.Scalars['String']['input'];
26
- color?: Types.InputMaybe<Types.Scalars['String']['input']>;
249
+ export type BulkLabelSecretsMutationVariables = Exact<{
250
+ ids: Array<string | number> | string | number;
251
+ label: string;
252
+ color?: string | null | undefined;
27
253
  }>;
28
254
  export type BulkLabelSecretsMutation = {
29
- __typename?: 'Mutation';
30
255
  bulkLabelSecrets: Array<{
31
- __typename?: 'Secret';
32
256
  id: string;
33
- labels?: Array<{
34
- __typename?: 'SecretLabel';
257
+ labels: Array<{
35
258
  id: string;
36
259
  label: string;
37
- color?: string | null;
260
+ color: string | null;
38
261
  }> | null;
39
262
  }>;
40
263
  };
41
- export type CreateSecretMutationVariables = Types.Exact<{
264
+ export type CreateSecretMutationVariables = Exact<{
42
265
  input: Types.CreateSecretInput;
43
266
  }>;
44
267
  export type CreateSecretMutation = {
45
- __typename?: 'Mutation';
46
268
  createSecret: {
47
- __typename?: 'Secret';
48
269
  id: string;
49
270
  name: string;
50
271
  key: string;
@@ -53,269 +274,229 @@ export type CreateSecretMutation = {
53
274
  createdAt: string;
54
275
  };
55
276
  };
56
- export type CreateVaultMutationVariables = Types.Exact<{
277
+ export type CreateVaultMutationVariables = Exact<{
57
278
  input: Types.CreateVaultInput;
58
279
  }>;
59
280
  export type CreateVaultMutation = {
60
- __typename?: 'Mutation';
61
281
  createVault: {
62
- __typename?: 'Vault';
63
282
  id: string;
64
283
  name: string;
65
- description?: string | null;
284
+ description: string | null;
66
285
  status: Types.VaultStatus;
67
286
  };
68
287
  };
69
- export type DeleteSecretMutationVariables = Types.Exact<{
70
- id: Types.Scalars['ID']['input'];
288
+ export type DeleteSecretMutationVariables = Exact<{
289
+ id: string | number;
71
290
  }>;
72
291
  export type DeleteSecretMutation = {
73
- __typename?: 'Mutation';
74
292
  deleteSecret: boolean;
75
293
  };
76
- export type DeleteVaultMutationVariables = Types.Exact<{
77
- id: Types.Scalars['ID']['input'];
294
+ export type DeleteVaultMutationVariables = Exact<{
295
+ id: string | number;
78
296
  }>;
79
297
  export type DeleteVaultMutation = {
80
- __typename?: 'Mutation';
81
298
  deleteVault: boolean;
82
299
  };
83
- export type CreateExternalSecretProviderMutationVariables = Types.Exact<{
300
+ export type CreateExternalSecretProviderMutationVariables = Exact<{
84
301
  input: Types.CreateVaultIntegrationInput;
85
302
  }>;
86
303
  export type CreateExternalSecretProviderMutation = {
87
- __typename?: 'Mutation';
88
304
  createVaultIntegration: {
89
- __typename?: 'VaultIntegration';
90
305
  id: string;
91
- referenceKey?: string | null;
306
+ referenceKey: string | null;
92
307
  };
93
308
  };
94
- export type UpdateExternalSecretProviderMutationVariables = Types.Exact<{
95
- id: Types.Scalars['ID']['input'];
309
+ export type UpdateExternalSecretProviderMutationVariables = Exact<{
310
+ id: string | number;
96
311
  input: Types.UpdateVaultIntegrationInput;
97
312
  }>;
98
313
  export type UpdateExternalSecretProviderMutation = {
99
- __typename?: 'Mutation';
100
314
  updateVaultIntegration: {
101
- __typename?: 'VaultIntegration';
102
315
  id: string;
103
- referenceKey?: string | null;
316
+ referenceKey: string | null;
104
317
  };
105
318
  };
106
- export type TestExternalSecretProviderMutationVariables = Types.Exact<{
107
- id: Types.Scalars['ID']['input'];
319
+ export type TestExternalSecretProviderMutationVariables = Exact<{
320
+ id: string | number;
108
321
  }>;
109
322
  export type TestExternalSecretProviderMutation = {
110
- __typename?: 'Mutation';
111
323
  testVaultIntegration: {
112
- __typename?: 'VaultIntegrationTestResult';
113
324
  success: boolean;
114
325
  message: string;
115
326
  testedAt: string;
116
327
  };
117
328
  };
118
- export type BulkCreateSecretsMutationVariables = Types.Exact<{
329
+ export type BulkCreateSecretsMutationVariables = Exact<{
119
330
  input: Types.BulkCreateSecretsInput;
120
331
  }>;
121
332
  export type BulkCreateSecretsMutation = {
122
- __typename?: 'Mutation';
123
333
  bulkCreateSecrets: {
124
- __typename?: 'SecretImportResult';
125
334
  imported: number;
126
335
  skipped: number;
127
336
  errors: Array<string>;
128
337
  };
129
338
  };
130
- export type LockVaultMutationVariables = Types.Exact<{
131
- id: Types.Scalars['ID']['input'];
339
+ export type LockVaultMutationVariables = Exact<{
340
+ id: string | number;
132
341
  }>;
133
342
  export type LockVaultMutation = {
134
- __typename?: 'Mutation';
135
343
  lockVault: {
136
- __typename?: 'Vault';
137
344
  id: string;
138
345
  status: Types.VaultStatus;
139
- lockedAt?: string | null;
346
+ lockedAt: string | null;
140
347
  };
141
348
  };
142
- export type ShareVaultMutationVariables = Types.Exact<{
349
+ export type ShareVaultMutationVariables = Exact<{
143
350
  input: Types.ShareVaultInput;
144
351
  }>;
145
352
  export type ShareVaultMutation = {
146
- __typename?: 'Mutation';
147
353
  shareVault: {
148
- __typename?: 'VaultMember';
149
354
  id: string;
150
355
  actorId: string;
151
356
  actorType: string;
152
357
  role: Types.VaultMemberRole;
153
358
  };
154
359
  };
155
- export type UnshareVaultMutationVariables = Types.Exact<{
156
- vaultId: Types.Scalars['ID']['input'];
157
- actorId: Types.Scalars['String']['input'];
158
- actorType: Types.Scalars['String']['input'];
360
+ export type UnshareVaultMutationVariables = Exact<{
361
+ vaultId: string | number;
362
+ actorId: string;
363
+ actorType: string;
159
364
  }>;
160
365
  export type UnshareVaultMutation = {
161
- __typename?: 'Mutation';
162
366
  unshareVault: boolean;
163
367
  };
164
- export type UpdateVaultMemberRoleMutationVariables = Types.Exact<{
165
- vaultId: Types.Scalars['ID']['input'];
166
- actorId: Types.Scalars['String']['input'];
167
- actorType: Types.Scalars['String']['input'];
368
+ export type UpdateVaultMemberRoleMutationVariables = Exact<{
369
+ vaultId: string | number;
370
+ actorId: string;
371
+ actorType: string;
168
372
  role: Types.VaultMemberRole;
169
373
  }>;
170
374
  export type UpdateVaultMemberRoleMutation = {
171
- __typename?: 'Mutation';
172
375
  updateVaultMemberRole: {
173
- __typename?: 'VaultMember';
174
376
  id: string;
175
377
  role: Types.VaultMemberRole;
176
378
  };
177
379
  };
178
- export type CreateVaultIntegrationMutationVariables = Types.Exact<{
380
+ export type CreateVaultIntegrationMutationVariables = Exact<{
179
381
  input: Types.CreateVaultIntegrationInput;
180
382
  }>;
181
383
  export type CreateVaultIntegrationMutation = {
182
- __typename?: 'Mutation';
183
384
  createVaultIntegration: {
184
- __typename?: 'VaultIntegration';
185
385
  id: string;
186
386
  providerType: Types.ExternalProviderType;
187
387
  displayName: string;
188
388
  };
189
389
  };
190
- export type DeleteVaultIntegrationMutationVariables = Types.Exact<{
191
- id: Types.Scalars['ID']['input'];
390
+ export type DeleteVaultIntegrationMutationVariables = Exact<{
391
+ id: string | number;
192
392
  }>;
193
393
  export type DeleteVaultIntegrationMutation = {
194
- __typename?: 'Mutation';
195
394
  deleteVaultIntegration: boolean;
196
395
  };
197
- export type TriggerVaultSyncMutationVariables = Types.Exact<{
198
- integrationId: Types.Scalars['ID']['input'];
396
+ export type TriggerVaultSyncMutationVariables = Exact<{
397
+ integrationId: string | number;
199
398
  }>;
200
399
  export type TriggerVaultSyncMutation = {
201
- __typename?: 'Mutation';
202
400
  triggerVaultSync: {
203
- __typename?: 'VaultSyncLog';
204
401
  id: string;
205
402
  status: Types.VaultSyncStatus;
206
403
  secretsSynced: number;
207
404
  };
208
405
  };
209
- export type RollbackSecretMutationVariables = Types.Exact<{
210
- id: Types.Scalars['ID']['input'];
211
- version: Types.Scalars['Int']['input'];
406
+ export type RollbackSecretMutationVariables = Exact<{
407
+ id: string | number;
408
+ version: number;
212
409
  }>;
213
410
  export type RollbackSecretMutation = {
214
- __typename?: 'Mutation';
215
411
  rollbackSecret: {
216
- __typename?: 'Secret';
217
412
  id: string;
218
413
  status: Types.SecretStatus;
219
414
  };
220
415
  };
221
- export type RotateSecretMutationVariables = Types.Exact<{
222
- id: Types.Scalars['ID']['input'];
223
- newValue: Types.Scalars['String']['input'];
416
+ export type RotateSecretMutationVariables = Exact<{
417
+ id: string | number;
418
+ newValue: string;
224
419
  }>;
225
420
  export type RotateSecretMutation = {
226
- __typename?: 'Mutation';
227
421
  rotateSecret: {
228
- __typename?: 'Secret';
229
422
  id: string;
230
423
  status: Types.SecretStatus;
231
- lastRotatedAt?: string | null;
424
+ lastRotatedAt: string | null;
232
425
  };
233
426
  };
234
- export type ShareSecretWithAccountMutationVariables = Types.Exact<{
427
+ export type ShareSecretWithAccountMutationVariables = Exact<{
235
428
  input: Types.ShareSecretWithAccountInput;
236
429
  }>;
237
430
  export type ShareSecretWithAccountMutation = {
238
- __typename?: 'Mutation';
239
431
  shareSecretWithAccount: {
240
- __typename?: 'SecretShare';
241
432
  id: string;
242
433
  vaultId: string;
243
- secretId?: string | null;
434
+ secretId: string | null;
244
435
  kind: Types.SecretShareKind;
245
436
  role: Types.VaultMemberRole;
246
437
  status: Types.SecretShareStatus;
247
438
  scope: Types.SecretShareScope;
248
- actorId?: string | null;
249
- actorType?: string | null;
250
- label?: string | null;
251
- expiresAt?: string | null;
439
+ actorId: string | null;
440
+ actorType: string | null;
441
+ label: string | null;
442
+ expiresAt: string | null;
252
443
  createdAt: string;
253
444
  };
254
445
  };
255
- export type CreateSecretShareLinkMutationVariables = Types.Exact<{
446
+ export type CreateSecretShareLinkMutationVariables = Exact<{
256
447
  input: Types.CreateSecretShareLinkInput;
257
448
  }>;
258
449
  export type CreateSecretShareLinkMutation = {
259
- __typename?: 'Mutation';
260
450
  createSecretShareLink: {
261
- __typename?: 'CreateSecretShareLinkResult';
262
451
  token: string;
263
452
  share: {
264
- __typename?: 'SecretShare';
265
453
  id: string;
266
454
  vaultId: string;
267
- secretId?: string | null;
455
+ secretId: string | null;
268
456
  kind: Types.SecretShareKind;
269
457
  role: Types.VaultMemberRole;
270
458
  status: Types.SecretShareStatus;
271
459
  scope: Types.SecretShareScope;
272
- label?: string | null;
460
+ label: string | null;
273
461
  requiresPassword: boolean;
274
- maxViews?: number | null;
462
+ maxViews: number | null;
275
463
  viewCount: number;
276
- expiresAt?: string | null;
464
+ expiresAt: string | null;
277
465
  createdAt: string;
278
466
  };
279
467
  };
280
468
  };
281
- export type RevokeSecretShareMutationVariables = Types.Exact<{
282
- id: Types.Scalars['ID']['input'];
469
+ export type RevokeSecretShareMutationVariables = Exact<{
470
+ id: string | number;
283
471
  }>;
284
472
  export type RevokeSecretShareMutation = {
285
- __typename?: 'Mutation';
286
473
  revokeSecretShare: boolean;
287
474
  };
288
- export type UpdateSecretShareRoleMutationVariables = Types.Exact<{
289
- id: Types.Scalars['ID']['input'];
475
+ export type UpdateSecretShareRoleMutationVariables = Exact<{
476
+ id: string | number;
290
477
  role: Types.VaultMemberRole;
291
478
  }>;
292
479
  export type UpdateSecretShareRoleMutation = {
293
- __typename?: 'Mutation';
294
480
  updateSecretShareRole: {
295
- __typename?: 'SecretShare';
296
481
  id: string;
297
482
  role: Types.VaultMemberRole;
298
483
  };
299
484
  };
300
- export type UnlockVaultMutationVariables = Types.Exact<{
301
- id: Types.Scalars['ID']['input'];
485
+ export type UnlockVaultMutationVariables = Exact<{
486
+ id: string | number;
302
487
  }>;
303
488
  export type UnlockVaultMutation = {
304
- __typename?: 'Mutation';
305
489
  unlockVault: {
306
- __typename?: 'Vault';
307
490
  id: string;
308
491
  status: Types.VaultStatus;
309
492
  };
310
493
  };
311
- export type UpdateSecretMutationVariables = Types.Exact<{
312
- id: Types.Scalars['ID']['input'];
494
+ export type UpdateSecretMutationVariables = Exact<{
495
+ id: string | number;
313
496
  input: Types.UpdateSecretInput;
314
497
  }>;
315
498
  export type UpdateSecretMutation = {
316
- __typename?: 'Mutation';
317
499
  updateSecret: {
318
- __typename?: 'Secret';
319
500
  id: string;
320
501
  name: string;
321
502
  key: string;
@@ -323,54 +504,46 @@ export type UpdateSecretMutation = {
323
504
  updatedAt: string;
324
505
  };
325
506
  };
326
- export type UpdateVaultMutationVariables = Types.Exact<{
327
- id: Types.Scalars['ID']['input'];
507
+ export type UpdateVaultMutationVariables = Exact<{
508
+ id: string | number;
328
509
  input: Types.UpdateVaultInput;
329
510
  }>;
330
511
  export type UpdateVaultMutation = {
331
- __typename?: 'Mutation';
332
512
  updateVault: {
333
- __typename?: 'Vault';
334
513
  id: string;
335
514
  name: string;
336
- description?: string | null;
515
+ description: string | null;
337
516
  };
338
517
  };
339
- export type GetVaultAuditLogsQueryVariables = Types.Exact<{
340
- filter?: Types.InputMaybe<Types.VaultAuditLogFilterInput>;
341
- pagination?: Types.InputMaybe<Types.SecurityPaginationInput>;
518
+ export type GetVaultAuditLogsQueryVariables = Exact<{
519
+ filter?: Types.VaultAuditLogFilterInput | null | undefined;
520
+ pagination?: Types.SecurityPaginationInput | null | undefined;
342
521
  }>;
343
522
  export type GetVaultAuditLogsQuery = {
344
- __typename?: 'Query';
345
523
  getVaultAuditLogs: {
346
- __typename?: 'VaultAuditLogList';
347
524
  total: number;
348
525
  hasMore: boolean;
349
526
  items: Array<{
350
- __typename?: 'VaultAuditLog';
351
527
  id: string;
352
- entityId?: string | null;
528
+ entityId: string | null;
353
529
  entityType: string;
354
530
  action: string;
355
- metadata?: Record<string, unknown> | null;
531
+ metadata: Record<string, unknown> | null;
356
532
  actorId: string;
357
533
  actorType: string;
358
534
  timestamp: string;
359
535
  }>;
360
536
  };
361
537
  };
362
- export type GetVaultIntegrationsQueryVariables = Types.Exact<{
363
- vaultId: Types.Scalars['ID']['input'];
364
- pagination?: Types.InputMaybe<Types.SecurityPaginationInput>;
538
+ export type GetVaultIntegrationsQueryVariables = Exact<{
539
+ vaultId: string | number;
540
+ pagination?: Types.SecurityPaginationInput | null | undefined;
365
541
  }>;
366
542
  export type GetVaultIntegrationsQuery = {
367
- __typename?: 'Query';
368
543
  getVaultIntegrations: {
369
- __typename?: 'VaultIntegrationList';
370
544
  total: number;
371
545
  hasMore: boolean;
372
546
  items: Array<{
373
- __typename?: 'VaultIntegration';
374
547
  id: string;
375
548
  vaultId: string;
376
549
  providerType: Types.ExternalProviderType;
@@ -378,52 +551,47 @@ export type GetVaultIntegrationsQuery = {
378
551
  syncDirection: Types.SyncDirection;
379
552
  syncEnabled: boolean;
380
553
  syncIntervalMinutes: number;
381
- lastSyncAt?: string | null;
554
+ lastSyncAt: string | null;
382
555
  createdAt: string;
383
- providerConfig?: Record<string, unknown> | null;
384
- referenceKey?: string | null;
556
+ providerConfig: Record<string, unknown> | null;
557
+ referenceKey: string | null;
385
558
  hasCredentials: boolean;
386
- lastTestedAt?: string | null;
387
- lastTestStatus?: string | null;
388
- lastTestMessage?: string | null;
559
+ lastTestedAt: string | null;
560
+ lastTestStatus: string | null;
561
+ lastTestMessage: string | null;
389
562
  }>;
390
563
  };
391
564
  };
392
- export type GetSecretQueryVariables = Types.Exact<{
393
- id: Types.Scalars['ID']['input'];
565
+ export type GetSecretQueryVariables = Exact<{
566
+ id: string | number;
394
567
  }>;
395
568
  export type GetSecretQuery = {
396
- __typename?: 'Query';
397
- getSecret?: {
398
- __typename?: 'Secret';
569
+ getSecret: {
399
570
  id: string;
400
571
  vaultId: string;
401
572
  name: string;
402
573
  key: string;
403
- description?: string | null;
574
+ description: string | null;
404
575
  type: Types.SecretType;
405
576
  status: Types.SecretStatus;
406
- expiresAt?: string | null;
407
- lastRotatedAt?: string | null;
577
+ expiresAt: string | null;
578
+ lastRotatedAt: string | null;
408
579
  versionCount: number;
409
580
  createdBy: string;
410
581
  createdAt: string;
411
582
  updatedAt: string;
412
- labels?: Array<{
413
- __typename?: 'SecretLabel';
583
+ labels: Array<{
414
584
  id: string;
415
585
  label: string;
416
- color?: string | null;
586
+ color: string | null;
417
587
  }> | null;
418
588
  } | null;
419
589
  };
420
- export type DecryptSecretQueryVariables = Types.Exact<{
421
- id: Types.Scalars['ID']['input'];
590
+ export type DecryptSecretQueryVariables = Exact<{
591
+ id: string | number;
422
592
  }>;
423
593
  export type DecryptSecretQuery = {
424
- __typename?: 'Query';
425
- decryptSecret?: {
426
- __typename?: 'DecryptedSecret';
594
+ decryptSecret: {
427
595
  id: string;
428
596
  name: string;
429
597
  key: string;
@@ -431,35 +599,30 @@ export type DecryptSecretQuery = {
431
599
  type: Types.SecretType;
432
600
  } | null;
433
601
  };
434
- export type GetSecretVersionsQueryVariables = Types.Exact<{
435
- secretId: Types.Scalars['ID']['input'];
436
- pagination?: Types.InputMaybe<Types.SecurityPaginationInput>;
602
+ export type GetSecretVersionsQueryVariables = Exact<{
603
+ secretId: string | number;
604
+ pagination?: Types.SecurityPaginationInput | null | undefined;
437
605
  }>;
438
606
  export type GetSecretVersionsQuery = {
439
- __typename?: 'Query';
440
607
  getSecretVersionsPaginated: {
441
- __typename?: 'SecretVersionList';
442
608
  total: number;
443
609
  hasMore: boolean;
444
610
  items: Array<{
445
- __typename?: 'SecretVersion';
446
611
  id: string;
447
612
  version: number;
448
- changeReason?: string | null;
613
+ changeReason: string | null;
449
614
  createdBy: string;
450
615
  createdAt: string;
451
616
  }>;
452
617
  };
453
618
  };
454
- export type GetSecretsQueryVariables = Types.Exact<{
455
- vaultId: Types.Scalars['ID']['input'];
456
- filter?: Types.InputMaybe<Types.SecretFilterInput>;
457
- pagination?: Types.InputMaybe<Types.SecurityPaginationInput>;
619
+ export type GetSecretsQueryVariables = Exact<{
620
+ vaultId: string | number;
621
+ filter?: Types.SecretFilterInput | null | undefined;
622
+ pagination?: Types.SecurityPaginationInput | null | undefined;
458
623
  }>;
459
624
  export type GetSecretsQuery = {
460
- __typename?: 'Query';
461
625
  getSecrets: {
462
- __typename?: 'SecretList';
463
626
  total: number;
464
627
  hasMore: boolean;
465
628
  items: Array<{
@@ -469,48 +632,43 @@ export type GetSecretsQuery = {
469
632
  id: string;
470
633
  vaultId: string;
471
634
  name: string;
472
- description?: string | null;
635
+ description: string | null;
473
636
  type: Types.SecretType;
474
637
  status: Types.SecretStatus;
475
- expiresAt?: string | null;
476
- lastRotatedAt?: string | null;
638
+ expiresAt: string | null;
639
+ lastRotatedAt: string | null;
477
640
  versionCount: number;
478
641
  createdBy: string;
479
642
  createdAt: string;
480
643
  updatedAt: string;
481
- labels?: Array<{
482
- __typename?: 'SecretLabel';
644
+ labels: Array<{
483
645
  id: string;
484
646
  label: string;
485
- color?: string | null;
647
+ color: string | null;
486
648
  }> | null;
487
649
  }>;
488
650
  };
489
651
  };
490
- export type GetVaultQueryVariables = Types.Exact<{
491
- id: Types.Scalars['ID']['input'];
652
+ export type GetVaultQueryVariables = Exact<{
653
+ id: string | number;
492
654
  }>;
493
655
  export type GetVaultQuery = {
494
- __typename?: 'Query';
495
- getVault?: {
496
- __typename?: 'Vault';
656
+ getVault: {
497
657
  id: string;
498
658
  name: string;
499
- description?: string | null;
659
+ description: string | null;
500
660
  status: Types.VaultStatus;
501
- lockedAt?: string | null;
502
- lockAfterMinutes?: number | null;
661
+ lockedAt: string | null;
662
+ lockAfterMinutes: number | null;
503
663
  secretCount: number;
504
664
  memberCount: number;
505
665
  createdBy: string;
506
666
  createdAt: string;
507
667
  updatedAt: string;
508
668
  membersList: {
509
- __typename?: 'VaultMemberList';
510
669
  total: number;
511
670
  hasMore: boolean;
512
671
  items: Array<{
513
- __typename?: 'VaultMember';
514
672
  id: string;
515
673
  actorId: string;
516
674
  actorType: string;
@@ -520,59 +678,53 @@ export type GetVaultQuery = {
520
678
  };
521
679
  } | null;
522
680
  };
523
- export type GetVaultSyncLogsQueryVariables = Types.Exact<{
524
- integrationId: Types.Scalars['ID']['input'];
525
- filter?: Types.InputMaybe<Types.VaultSyncLogFilterInput>;
526
- pagination?: Types.InputMaybe<Types.SecurityPaginationInput>;
681
+ export type GetVaultSyncLogsQueryVariables = Exact<{
682
+ integrationId: string | number;
683
+ filter?: Types.VaultSyncLogFilterInput | null | undefined;
684
+ pagination?: Types.SecurityPaginationInput | null | undefined;
527
685
  }>;
528
686
  export type GetVaultSyncLogsQuery = {
529
- __typename?: 'Query';
530
687
  getVaultSyncLogs: {
531
- __typename?: 'VaultSyncLogList';
532
688
  total: number;
533
689
  hasMore: boolean;
534
690
  items: Array<{
535
- __typename?: 'VaultSyncLog';
536
691
  id: string;
537
692
  integrationId: string;
538
693
  status: Types.VaultSyncStatus;
539
694
  secretsSynced: number;
540
695
  secretsFailed: number;
541
- errorMessage?: string | null;
696
+ errorMessage: string | null;
542
697
  createdBy: string;
543
698
  startedAt: string;
544
- completedAt?: string | null;
545
- durationMs?: number | null;
699
+ completedAt: string | null;
700
+ durationMs: number | null;
546
701
  createdAt: string;
547
702
  }>;
548
703
  };
549
704
  };
550
- export type GetVaultWithSecretsQueryVariables = Types.Exact<{
551
- id: Types.Scalars['ID']['input'];
552
- filter?: Types.InputMaybe<Types.SecretFilterInput>;
553
- pagination?: Types.InputMaybe<Types.SecurityPaginationInput>;
705
+ export type GetVaultWithSecretsQueryVariables = Exact<{
706
+ id: string | number;
707
+ filter?: Types.SecretFilterInput | null | undefined;
708
+ pagination?: Types.SecurityPaginationInput | null | undefined;
554
709
  }>;
555
710
  export type GetVaultWithSecretsQuery = {
556
- __typename?: 'Query';
557
- getVault?: {
711
+ getVault: {
558
712
  __typename: 'Vault';
559
713
  id: string;
560
714
  name: string;
561
- description?: string | null;
715
+ description: string | null;
562
716
  status: Types.VaultStatus;
563
717
  createdAt: string;
564
718
  updatedAt: string;
565
719
  secretCount: number;
566
720
  memberCount: number;
567
- lastAccessedAt?: string | null;
568
- lockAfterMinutes?: number | null;
569
- lockedAt?: string | null;
721
+ lastAccessedAt: string | null;
722
+ lockAfterMinutes: number | null;
723
+ lockedAt: string | null;
570
724
  membersList: {
571
- __typename?: 'VaultMemberList';
572
725
  total: number;
573
726
  hasMore: boolean;
574
727
  items: Array<{
575
- __typename?: 'VaultMember';
576
728
  id: string;
577
729
  actorId: string;
578
730
  actorType: string;
@@ -582,7 +734,6 @@ export type GetVaultWithSecretsQuery = {
582
734
  };
583
735
  } | null;
584
736
  getSecrets: {
585
- __typename?: 'SecretList';
586
737
  total: number;
587
738
  hasMore: boolean;
588
739
  items: Array<{
@@ -592,119 +743,107 @@ export type GetVaultWithSecretsQuery = {
592
743
  id: string;
593
744
  vaultId: string;
594
745
  name: string;
595
- description?: string | null;
746
+ description: string | null;
596
747
  type: Types.SecretType;
597
748
  status: Types.SecretStatus;
598
- expiresAt?: string | null;
599
- lastRotatedAt?: string | null;
749
+ expiresAt: string | null;
750
+ lastRotatedAt: string | null;
600
751
  versionCount: number;
601
752
  createdBy: string;
602
753
  createdAt: string;
603
754
  updatedAt: string;
604
- labels?: Array<{
605
- __typename?: 'SecretLabel';
755
+ labels: Array<{
606
756
  id: string;
607
757
  label: string;
608
- color?: string | null;
758
+ color: string | null;
609
759
  }> | null;
610
760
  }>;
611
761
  };
612
762
  };
613
- export type GetVaultsQueryVariables = Types.Exact<{
614
- filter?: Types.InputMaybe<Types.VaultFilterInput>;
615
- pagination?: Types.InputMaybe<Types.SecurityPaginationInput>;
763
+ export type GetVaultsQueryVariables = Exact<{
764
+ filter?: Types.VaultFilterInput | null | undefined;
765
+ pagination?: Types.SecurityPaginationInput | null | undefined;
616
766
  }>;
617
767
  export type GetVaultsQuery = {
618
- __typename?: 'Query';
619
768
  getVaults: {
620
- __typename?: 'VaultList';
621
769
  total: number;
622
770
  hasMore: boolean;
623
771
  items: Array<{
624
772
  __typename: 'Vault';
625
773
  id: string;
626
774
  name: string;
627
- description?: string | null;
775
+ description: string | null;
628
776
  status: Types.VaultStatus;
629
777
  createdAt: string;
630
778
  updatedAt: string;
631
779
  secretCount: number;
632
780
  memberCount: number;
633
- lastAccessedAt?: string | null;
634
- lockAfterMinutes?: number | null;
635
- lockedAt?: string | null;
781
+ lastAccessedAt: string | null;
782
+ lockAfterMinutes: number | null;
783
+ lockedAt: string | null;
636
784
  }>;
637
785
  };
638
786
  };
639
- export type SecretSharesQueryVariables = Types.Exact<{
640
- vaultId: Types.Scalars['ID']['input'];
641
- secretId?: Types.InputMaybe<Types.Scalars['ID']['input']>;
787
+ export type SecretSharesQueryVariables = Exact<{
788
+ vaultId: string | number;
789
+ secretId?: string | number | null | undefined;
642
790
  }>;
643
791
  export type SecretSharesQuery = {
644
- __typename?: 'Query';
645
792
  secretShares: {
646
- __typename?: 'SecretShareList';
647
793
  total: number;
648
794
  items: Array<{
649
- __typename?: 'SecretShare';
650
795
  id: string;
651
796
  vaultId: string;
652
- secretId?: string | null;
797
+ secretId: string | null;
653
798
  kind: Types.SecretShareKind;
654
799
  role: Types.VaultMemberRole;
655
800
  status: Types.SecretShareStatus;
656
801
  scope: Types.SecretShareScope;
657
- actorId?: string | null;
658
- actorType?: string | null;
659
- label?: string | null;
802
+ actorId: string | null;
803
+ actorType: string | null;
804
+ label: string | null;
660
805
  requiresPassword: boolean;
661
- maxViews?: number | null;
806
+ maxViews: number | null;
662
807
  viewCount: number;
663
- expiresAt?: string | null;
664
- revokedAt?: string | null;
665
- lastAccessedAt?: string | null;
808
+ expiresAt: string | null;
809
+ revokedAt: string | null;
810
+ lastAccessedAt: string | null;
666
811
  createdAt: string;
667
812
  }>;
668
813
  };
669
814
  };
670
- export type MySharedCredentialsQueryVariables = Types.Exact<{
815
+ export type MySharedCredentialsQueryVariables = Exact<{
671
816
  [key: string]: never;
672
817
  }>;
673
818
  export type MySharedCredentialsQuery = {
674
- __typename?: 'Query';
675
819
  mySharedCredentials: {
676
- __typename?: 'SecretShareList';
677
820
  total: number;
678
821
  items: Array<{
679
- __typename?: 'SecretShare';
680
822
  id: string;
681
823
  vaultId: string;
682
- secretId?: string | null;
824
+ secretId: string | null;
683
825
  kind: Types.SecretShareKind;
684
826
  role: Types.VaultMemberRole;
685
827
  status: Types.SecretShareStatus;
686
828
  scope: Types.SecretShareScope;
687
- label?: string | null;
688
- expiresAt?: string | null;
829
+ label: string | null;
830
+ expiresAt: string | null;
689
831
  createdAt: string;
690
832
  }>;
691
833
  };
692
834
  };
693
- export type RevealSharedCredentialQueryVariables = Types.Exact<{
694
- shareId: Types.Scalars['ID']['input'];
835
+ export type RevealSharedCredentialQueryVariables = Exact<{
836
+ shareId: string | number;
695
837
  }>;
696
838
  export type RevealSharedCredentialQuery = {
697
- __typename?: 'Query';
698
839
  revealSharedCredential: {
699
- __typename?: 'SharedSecretView';
700
840
  shareId: string;
701
841
  vaultId: string;
702
842
  vaultName: string;
703
- secretId?: string | null;
843
+ secretId: string | null;
704
844
  scope: Types.SecretShareScope;
705
845
  role: Types.VaultMemberRole;
706
846
  entries: Array<{
707
- __typename?: 'SharedSecretEntry';
708
847
  id: string;
709
848
  name: string;
710
849
  key: string;
@@ -713,94 +852,91 @@ export type RevealSharedCredentialQuery = {
713
852
  }>;
714
853
  };
715
854
  };
716
- export type SecurityVaultEventsSubscriptionVariables = Types.Exact<{
717
- workspaceId: Types.Scalars['String']['input'];
855
+ export type SecurityVaultEventsSubscriptionVariables = Exact<{
856
+ workspaceId: string;
718
857
  }>;
719
858
  export type SecurityVaultEventsSubscription = {
720
- __typename?: 'Subscription';
721
- securityVaultLifecycleEvents?: {
859
+ securityVaultLifecycleEvents: {
722
860
  __typename: 'SecurityVaultEvent';
723
861
  action: Types.SecurityVaultEventAction;
724
862
  vaultId: string;
725
863
  workspaceId: string;
726
864
  timestamp: string;
727
- vault?: {
865
+ vault: {
728
866
  __typename: 'Vault';
729
867
  id: string;
730
868
  name: string;
731
- description?: string | null;
869
+ description: string | null;
732
870
  status: Types.VaultStatus;
733
871
  createdAt: string;
734
872
  updatedAt: string;
735
873
  secretCount: number;
736
874
  memberCount: number;
737
- lastAccessedAt?: string | null;
738
- lockAfterMinutes?: number | null;
739
- lockedAt?: string | null;
875
+ lastAccessedAt: string | null;
876
+ lockAfterMinutes: number | null;
877
+ lockedAt: string | null;
740
878
  } | null;
741
879
  } | null;
742
880
  };
743
- export type SecuritySecretEventsSubscriptionVariables = Types.Exact<{
744
- workspaceId: Types.Scalars['String']['input'];
881
+ export type SecuritySecretEventsSubscriptionVariables = Exact<{
882
+ workspaceId: string;
745
883
  }>;
746
884
  export type SecuritySecretEventsSubscription = {
747
- __typename?: 'Subscription';
748
- securitySecretLifecycleEvents?: {
885
+ securitySecretLifecycleEvents: {
749
886
  __typename: 'SecuritySecretEvent';
750
887
  action: Types.SecuritySecretEventAction;
751
888
  secretId: string;
752
889
  vaultId: string;
753
890
  workspaceId: string;
754
891
  timestamp: string;
755
- secret?: {
892
+ secret: {
756
893
  __typename: 'Secret';
757
894
  id: string;
758
895
  vaultId: string;
759
896
  name: string;
760
- description?: string | null;
897
+ description: string | null;
761
898
  key: string;
762
899
  type: Types.SecretType;
763
900
  version: number;
764
901
  isLatest: boolean;
765
902
  status: Types.SecretStatus;
766
903
  tags: Array<string>;
767
- expiresAt?: string | null;
768
- lastRotatedAt?: string | null;
904
+ expiresAt: string | null;
905
+ lastRotatedAt: string | null;
769
906
  accessCount: number;
770
- lastAccessedAt?: string | null;
907
+ lastAccessedAt: string | null;
771
908
  isEphemeral: boolean;
772
- maxAccessCount?: number | null;
773
- ephemeralExpiresAt?: string | null;
909
+ maxAccessCount: number | null;
910
+ ephemeralExpiresAt: string | null;
774
911
  createdBy: string;
775
912
  workspaceId: string;
776
- tenantId?: string | null;
913
+ tenantId: string | null;
777
914
  createdAt: string;
778
915
  updatedAt: string;
779
- deletedAt?: string | null;
916
+ deletedAt: string | null;
780
917
  versionCount: number;
781
- labels?: Array<{
918
+ labels: Array<{
782
919
  __typename: 'SecretLabel';
783
920
  id: string;
784
921
  label: string;
785
- color?: string | null;
922
+ color: string | null;
786
923
  createdAt: string;
787
924
  }> | null;
788
925
  } | null;
789
926
  } | null;
790
927
  };
791
- export type SecurityMemberEventsSubscriptionVariables = Types.Exact<{
792
- workspaceId: Types.Scalars['String']['input'];
928
+ export type SecurityMemberEventsSubscriptionVariables = Exact<{
929
+ workspaceId: string;
793
930
  }>;
794
931
  export type SecurityMemberEventsSubscription = {
795
- __typename?: 'Subscription';
796
- securityMemberLifecycleEvents?: {
932
+ securityMemberLifecycleEvents: {
797
933
  __typename: 'SecurityMemberEvent';
798
934
  action: Types.SecurityMemberEventAction;
799
935
  memberId: string;
800
936
  vaultId: string;
801
937
  workspaceId: string;
802
938
  timestamp: string;
803
- member?: {
939
+ member: {
804
940
  __typename: 'VaultMember';
805
941
  id: string;
806
942
  vaultId: string;
@@ -810,39 +946,36 @@ export type SecurityMemberEventsSubscription = {
810
946
  createdBy: string;
811
947
  createdAt: string;
812
948
  updatedAt: string;
813
- expiresAt?: string | null;
949
+ expiresAt: string | null;
814
950
  } | null;
815
951
  } | null;
816
952
  };
817
953
  export type SecretRow_SecretFragment = {
818
- __typename?: 'Secret';
819
954
  id: string;
820
955
  vaultId: string;
821
956
  name: string;
822
- description?: string | null;
957
+ description: string | null;
823
958
  type: Types.SecretType;
824
959
  status: Types.SecretStatus;
825
- expiresAt?: string | null;
826
- lastRotatedAt?: string | null;
960
+ expiresAt: string | null;
961
+ lastRotatedAt: string | null;
827
962
  versionCount: number;
828
963
  createdBy: string;
829
964
  createdAt: string;
830
965
  updatedAt: string;
831
- labels?: Array<{
832
- __typename?: 'SecretLabel';
966
+ labels: Array<{
833
967
  id: string;
834
968
  label: string;
835
- color?: string | null;
969
+ color: string | null;
836
970
  }> | null;
837
971
  };
838
972
  export type VaultCard_VaultFragment = {
839
- __typename?: 'Vault';
840
973
  id: string;
841
974
  name: string;
842
- description?: string | null;
975
+ description: string | null;
843
976
  status: Types.VaultStatus;
844
- lockedAt?: string | null;
845
- lockAfterMinutes?: number | null;
977
+ lockedAt: string | null;
978
+ lockAfterMinutes: number | null;
846
979
  secretCount: number;
847
980
  memberCount: number;
848
981
  createdBy: string;
@@ -1946,3 +2079,4 @@ export declare function useSecurityMemberEventsSubscription(baseOptions: ApolloR
1946
2079
  })): ApolloReactHooks.useSubscription.Result<Types.SecurityMemberEventsSubscription>;
1947
2080
  export type SecurityMemberEventsSubscriptionHookResult = ReturnType<typeof useSecurityMemberEventsSubscription>;
1948
2081
  export type SecurityMemberEventsSubscriptionResult = Apollo.SubscriptionResult<Types.SecurityMemberEventsSubscription>;
2082
+ export {};