@burdenoff/microfe-security 2026.601.1 → 2026.601.3

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.
@@ -2,18 +2,54 @@ import { gql as e } from "@apollo/client";
2
2
  import * as t from "@apollo/client/react";
3
3
  //#region src/generated/wspace-operations.ts
4
4
  var n = {}, r = e`
5
+ fragment SecretRow_Secret on Secret {
6
+ id
7
+ vaultId
8
+ name
9
+ description
10
+ type
11
+ status
12
+ expiresAt
13
+ lastRotatedAt
14
+ labels {
15
+ id
16
+ label
17
+ color
18
+ }
19
+ versionCount
20
+ createdBy
21
+ createdAt
22
+ updatedAt
23
+ }
24
+ `;
25
+ e`
26
+ fragment VaultCard_Vault on Vault {
27
+ id
28
+ name
29
+ description
30
+ status
31
+ lockedAt
32
+ lockAfterMinutes
33
+ secretCount
34
+ memberCount
35
+ createdBy
36
+ createdAt
37
+ updatedAt
38
+ }
39
+ `;
40
+ var i = e`
5
41
  mutation BulkDeleteSecrets($ids: [ID!]!) {
6
42
  bulkDeleteSecrets(ids: $ids)
7
43
  }
8
44
  `;
9
- function i(e) {
10
- let i = {
45
+ function a(e) {
46
+ let r = {
11
47
  ...n,
12
48
  ...e
13
49
  };
14
- return t.useMutation(r, i);
50
+ return t.useMutation(i, r);
15
51
  }
16
- var a = e`
52
+ var o = e`
17
53
  mutation BulkMoveSecrets($ids: [ID!]!, $targetVaultId: ID!) {
18
54
  bulkMoveSecrets(ids: $ids, targetVaultId: $targetVaultId) {
19
55
  id
@@ -21,14 +57,14 @@ var a = e`
21
57
  }
22
58
  }
23
59
  `;
24
- function o(e) {
60
+ function s(e) {
25
61
  let r = {
26
62
  ...n,
27
63
  ...e
28
64
  };
29
- return t.useMutation(a, r);
65
+ return t.useMutation(o, r);
30
66
  }
31
- var s = e`
67
+ var c = e`
32
68
  mutation BulkLabelSecrets($ids: [ID!]!, $label: String!, $color: String) {
33
69
  bulkLabelSecrets(ids: $ids, label: $label, color: $color) {
34
70
  id
@@ -40,14 +76,14 @@ var s = e`
40
76
  }
41
77
  }
42
78
  `;
43
- function c(e) {
79
+ function l(e) {
44
80
  let r = {
45
81
  ...n,
46
82
  ...e
47
83
  };
48
- return t.useMutation(s, r);
84
+ return t.useMutation(c, r);
49
85
  }
50
- var l = e`
86
+ var u = e`
51
87
  mutation CreateSecret($input: CreateSecretInput!) {
52
88
  createSecret(input: $input) {
53
89
  id
@@ -59,14 +95,14 @@ var l = e`
59
95
  }
60
96
  }
61
97
  `;
62
- function u(e) {
98
+ function d(e) {
63
99
  let r = {
64
100
  ...n,
65
101
  ...e
66
102
  };
67
- return t.useMutation(l, r);
103
+ return t.useMutation(u, r);
68
104
  }
69
- var d = e`
105
+ var f = e`
70
106
  mutation CreateVault($input: CreateVaultInput!) {
71
107
  createVault(input: $input) {
72
108
  id
@@ -76,38 +112,38 @@ var d = e`
76
112
  }
77
113
  }
78
114
  `;
79
- function f(e) {
115
+ function p(e) {
80
116
  let r = {
81
117
  ...n,
82
118
  ...e
83
119
  };
84
- return t.useMutation(d, r);
120
+ return t.useMutation(f, r);
85
121
  }
86
- var p = e`
122
+ var m = e`
87
123
  mutation DeleteSecret($id: ID!) {
88
124
  deleteSecret(id: $id)
89
125
  }
90
126
  `;
91
- function m(e) {
127
+ function h(e) {
92
128
  let r = {
93
129
  ...n,
94
130
  ...e
95
131
  };
96
- return t.useMutation(p, r);
132
+ return t.useMutation(m, r);
97
133
  }
98
- var h = e`
134
+ var g = e`
99
135
  mutation DeleteVault($id: ID!) {
100
136
  deleteVault(id: $id)
101
137
  }
102
138
  `;
103
- function g(e) {
139
+ function _(e) {
104
140
  let r = {
105
141
  ...n,
106
142
  ...e
107
143
  };
108
- return t.useMutation(h, r);
144
+ return t.useMutation(g, r);
109
145
  }
110
- var _ = e`
146
+ var v = e`
111
147
  mutation BulkCreateSecrets($input: BulkCreateSecretsInput!) {
112
148
  bulkCreateSecrets(input: $input) {
113
149
  imported
@@ -116,14 +152,14 @@ var _ = e`
116
152
  }
117
153
  }
118
154
  `;
119
- function v(e) {
155
+ function y(e) {
120
156
  let r = {
121
157
  ...n,
122
158
  ...e
123
159
  };
124
- return t.useMutation(_, r);
160
+ return t.useMutation(v, r);
125
161
  }
126
- var y = e`
162
+ var b = e`
127
163
  mutation LockVault($id: ID!) {
128
164
  lockVault(id: $id) {
129
165
  id
@@ -132,14 +168,14 @@ var y = e`
132
168
  }
133
169
  }
134
170
  `;
135
- function b(e) {
171
+ function x(e) {
136
172
  let r = {
137
173
  ...n,
138
174
  ...e
139
175
  };
140
- return t.useMutation(y, r);
176
+ return t.useMutation(b, r);
141
177
  }
142
- var x = e`
178
+ var S = e`
143
179
  mutation ShareVault($input: ShareVaultInput!) {
144
180
  shareVault(input: $input) {
145
181
  id
@@ -149,26 +185,26 @@ var x = e`
149
185
  }
150
186
  }
151
187
  `;
152
- function S(e) {
188
+ function C(e) {
153
189
  let r = {
154
190
  ...n,
155
191
  ...e
156
192
  };
157
- return t.useMutation(x, r);
193
+ return t.useMutation(S, r);
158
194
  }
159
- var C = e`
195
+ var w = e`
160
196
  mutation UnshareVault($vaultId: ID!, $actorId: String!, $actorType: String!) {
161
197
  unshareVault(vaultId: $vaultId, actorId: $actorId, actorType: $actorType)
162
198
  }
163
199
  `;
164
- function w(e) {
200
+ function T(e) {
165
201
  let r = {
166
202
  ...n,
167
203
  ...e
168
204
  };
169
- return t.useMutation(C, r);
205
+ return t.useMutation(w, r);
170
206
  }
171
- var T = e`
207
+ var E = e`
172
208
  mutation UpdateVaultMemberRole($vaultId: ID!, $actorId: String!, $actorType: String!, $role: VaultMemberRole!) {
173
209
  updateVaultMemberRole(
174
210
  vaultId: $vaultId
@@ -181,12 +217,12 @@ var T = e`
181
217
  }
182
218
  }
183
219
  `;
184
- function E(e) {
220
+ function D(e) {
185
221
  let r = {
186
222
  ...n,
187
223
  ...e
188
224
  };
189
- return t.useMutation(T, r);
225
+ return t.useMutation(E, r);
190
226
  }
191
227
  e`
192
228
  mutation CreateVaultIntegration($input: CreateVaultIntegrationInput!) {
@@ -197,19 +233,19 @@ e`
197
233
  }
198
234
  }
199
235
  `;
200
- var D = e`
236
+ var O = e`
201
237
  mutation DeleteVaultIntegration($id: ID!) {
202
238
  deleteVaultIntegration(id: $id)
203
239
  }
204
240
  `;
205
- function O(e) {
241
+ function k(e) {
206
242
  let r = {
207
243
  ...n,
208
244
  ...e
209
245
  };
210
- return t.useMutation(D, r);
246
+ return t.useMutation(O, r);
211
247
  }
212
- var k = e`
248
+ var A = e`
213
249
  mutation TriggerVaultSync($integrationId: ID!) {
214
250
  triggerVaultSync(integrationId: $integrationId) {
215
251
  id
@@ -218,14 +254,14 @@ var k = e`
218
254
  }
219
255
  }
220
256
  `;
221
- function A(e) {
257
+ function j(e) {
222
258
  let r = {
223
259
  ...n,
224
260
  ...e
225
261
  };
226
- return t.useMutation(k, r);
262
+ return t.useMutation(A, r);
227
263
  }
228
- var ee = e`
264
+ var M = e`
229
265
  mutation RollbackSecret($id: ID!, $version: Int!) {
230
266
  rollbackSecret(id: $id, version: $version) {
231
267
  id
@@ -233,14 +269,14 @@ var ee = e`
233
269
  }
234
270
  }
235
271
  `;
236
- function j(e) {
272
+ function N(e) {
237
273
  let r = {
238
274
  ...n,
239
275
  ...e
240
276
  };
241
- return t.useMutation(ee, r);
277
+ return t.useMutation(M, r);
242
278
  }
243
- var M = e`
279
+ var ee = e`
244
280
  mutation RotateSecret($id: ID!, $newValue: String!) {
245
281
  rotateSecret(id: $id, newValue: $newValue) {
246
282
  id
@@ -249,14 +285,14 @@ var M = e`
249
285
  }
250
286
  }
251
287
  `;
252
- function N(e) {
288
+ function P(e) {
253
289
  let r = {
254
290
  ...n,
255
291
  ...e
256
292
  };
257
- return t.useMutation(M, r);
293
+ return t.useMutation(ee, r);
258
294
  }
259
- var P = e`
295
+ var F = e`
260
296
  mutation UnlockVault($id: ID!) {
261
297
  unlockVault(id: $id) {
262
298
  id
@@ -264,12 +300,12 @@ var P = e`
264
300
  }
265
301
  }
266
302
  `;
267
- function F(e) {
303
+ function I(e) {
268
304
  let r = {
269
305
  ...n,
270
306
  ...e
271
307
  };
272
- return t.useMutation(P, r);
308
+ return t.useMutation(F, r);
273
309
  }
274
310
  e`
275
311
  mutation UpdateSecret($id: ID!, $input: UpdateSecretInput!) {
@@ -282,7 +318,7 @@ e`
282
318
  }
283
319
  }
284
320
  `;
285
- var I = e`
321
+ var L = e`
286
322
  mutation UpdateVault($id: ID!, $input: UpdateVaultInput!) {
287
323
  updateVault(id: $id, input: $input) {
288
324
  id
@@ -291,14 +327,14 @@ var I = e`
291
327
  }
292
328
  }
293
329
  `;
294
- function L(e) {
330
+ function R(e) {
295
331
  let r = {
296
332
  ...n,
297
333
  ...e
298
334
  };
299
- return t.useMutation(I, r);
335
+ return t.useMutation(L, r);
300
336
  }
301
- var R = e`
337
+ var z = e`
302
338
  query GetVaultAuditLogs($filter: VaultAuditLogFilterInput, $pagination: SecurityPaginationInput) {
303
339
  getVaultAuditLogs(filter: $filter, pagination: $pagination) {
304
340
  items {
@@ -316,14 +352,14 @@ var R = e`
316
352
  }
317
353
  }
318
354
  `;
319
- function z(e) {
355
+ function B(e) {
320
356
  let r = {
321
357
  ...n,
322
358
  ...e
323
359
  };
324
- return t.useQuery(R, r);
360
+ return t.useQuery(z, r);
325
361
  }
326
- var B = e`
362
+ var V = e`
327
363
  query GetVaultIntegrations($vaultId: ID!, $pagination: SecurityPaginationInput) {
328
364
  getVaultIntegrations(vaultId: $vaultId, pagination: $pagination) {
329
365
  items {
@@ -342,14 +378,14 @@ var B = e`
342
378
  }
343
379
  }
344
380
  `;
345
- function V(e) {
381
+ function H(e) {
346
382
  let r = {
347
383
  ...n,
348
384
  ...e
349
385
  };
350
- return t.useQuery(B, r);
386
+ return t.useQuery(V, r);
351
387
  }
352
- var H = e`
388
+ var U = e`
353
389
  query GetSecret($id: ID!) {
354
390
  getSecret(id: $id) {
355
391
  id
@@ -373,14 +409,14 @@ var H = e`
373
409
  }
374
410
  }
375
411
  `;
376
- function U(e) {
412
+ function W(e) {
377
413
  let r = {
378
414
  ...n,
379
415
  ...e
380
416
  };
381
- return t.useQuery(H, r);
417
+ return t.useQuery(U, r);
382
418
  }
383
- var W = e`
419
+ var G = e`
384
420
  query DecryptSecret($id: ID!) {
385
421
  decryptSecret(id: $id) {
386
422
  id
@@ -391,14 +427,14 @@ var W = e`
391
427
  }
392
428
  }
393
429
  `;
394
- function G(e) {
430
+ function K(e) {
395
431
  let r = {
396
432
  ...n,
397
433
  ...e
398
434
  };
399
- return t.useLazyQuery(W, r);
435
+ return t.useLazyQuery(G, r);
400
436
  }
401
- var K = e`
437
+ var q = e`
402
438
  query GetSecretVersions($secretId: ID!, $pagination: SecurityPaginationInput) {
403
439
  getSecretVersionsPaginated(secretId: $secretId, pagination: $pagination) {
404
440
  items {
@@ -413,46 +449,35 @@ var K = e`
413
449
  }
414
450
  }
415
451
  `;
416
- function q(e) {
452
+ function J(e) {
417
453
  let r = {
418
454
  ...n,
419
455
  ...e
420
456
  };
421
- return t.useQuery(K, r);
457
+ return t.useQuery(q, r);
422
458
  }
423
- var J = e`
459
+ var Y = e`
424
460
  query GetSecrets($vaultId: ID!, $filter: SecretFilterInput, $pagination: SecurityPaginationInput) {
425
461
  getSecrets(vaultId: $vaultId, filter: $filter, pagination: $pagination) {
426
462
  items {
427
463
  __typename
428
- id
429
- name
464
+ ...SecretRow_Secret
430
465
  key
431
- status
432
- createdAt
433
- updatedAt
434
- versionCount
435
466
  tags
436
- labels {
437
- id
438
- label
439
- color
440
- createdAt
441
- }
442
467
  }
443
468
  total
444
469
  hasMore
445
470
  }
446
471
  }
447
- `;
448
- function Y(e) {
472
+ ${r}`;
473
+ function X(e) {
449
474
  let r = {
450
475
  ...n,
451
476
  ...e
452
477
  };
453
- return t.useQuery(J, r);
478
+ return t.useQuery(Y, r);
454
479
  }
455
- var X = e`
480
+ var Z = e`
456
481
  query GetVault($id: ID!) {
457
482
  getVault(id: $id) {
458
483
  id
@@ -480,14 +505,14 @@ var X = e`
480
505
  }
481
506
  }
482
507
  `;
483
- function Z(e) {
508
+ function Q(e) {
484
509
  let r = {
485
510
  ...n,
486
511
  ...e
487
512
  };
488
- return t.useQuery(X, r);
513
+ return t.useQuery(Z, r);
489
514
  }
490
- var Q = e`
515
+ var $ = e`
491
516
  query GetVaultSyncLogs($integrationId: ID!, $filter: VaultSyncLogFilterInput, $pagination: SecurityPaginationInput) {
492
517
  getVaultSyncLogs(
493
518
  integrationId: $integrationId
@@ -512,14 +537,14 @@ var Q = e`
512
537
  }
513
538
  }
514
539
  `;
515
- function $(e) {
540
+ function te(e) {
516
541
  let r = {
517
542
  ...n,
518
543
  ...e
519
544
  };
520
- return t.useQuery(Q, r);
545
+ return t.useQuery($, r);
521
546
  }
522
- var te = e`
547
+ var ne = e`
523
548
  query GetVaultWithSecrets($id: ID!, $filter: SecretFilterInput, $pagination: SecurityPaginationInput) {
524
549
  getVault(id: $id) {
525
550
  __typename
@@ -549,34 +574,23 @@ var te = e`
549
574
  getSecrets(vaultId: $id, filter: $filter, pagination: $pagination) {
550
575
  items {
551
576
  __typename
552
- id
553
- name
577
+ ...SecretRow_Secret
554
578
  key
555
- status
556
- createdAt
557
- updatedAt
558
- versionCount
559
579
  tags
560
- labels {
561
- id
562
- label
563
- color
564
- createdAt
565
- }
566
580
  }
567
581
  total
568
582
  hasMore
569
583
  }
570
584
  }
571
- `;
572
- function ne(e) {
585
+ ${r}`;
586
+ function re(e) {
573
587
  let r = {
574
588
  ...n,
575
589
  ...e
576
590
  };
577
- return t.useQuery(te, r);
591
+ return t.useQuery(ne, r);
578
592
  }
579
- var re = e`
593
+ var ie = e`
580
594
  query GetVaults($filter: VaultFilterInput, $pagination: SecurityPaginationInput) {
581
595
  getVaults(filter: $filter, pagination: $pagination) {
582
596
  items {
@@ -598,14 +612,14 @@ var re = e`
598
612
  }
599
613
  }
600
614
  `;
601
- function ie(e) {
615
+ function ae(e) {
602
616
  let r = {
603
617
  ...n,
604
618
  ...e
605
619
  };
606
- return t.useQuery(re, r);
620
+ return t.useQuery(ie, r);
607
621
  }
608
- var ae = e`
622
+ var oe = e`
609
623
  subscription SecurityVaultEvents($workspaceId: String!) {
610
624
  securityVaultEvents(workspaceId: $workspaceId) {
611
625
  __typename
@@ -626,7 +640,7 @@ var ae = e`
626
640
  workspaceId
627
641
  }
628
642
  }
629
- `, oe = e`
643
+ `, se = e`
630
644
  subscription SecuritySecretEvents($workspaceId: String!) {
631
645
  securitySecretEvents(workspaceId: $workspaceId) {
632
646
  __typename
@@ -668,7 +682,7 @@ var ae = e`
668
682
  workspaceId
669
683
  }
670
684
  }
671
- `, se = e`
685
+ `, ce = e`
672
686
  subscription SecurityMemberEvents($workspaceId: String!) {
673
687
  securityMemberEvents(workspaceId: $workspaceId) {
674
688
  __typename
@@ -690,6 +704,6 @@ var ae = e`
690
704
  }
691
705
  `;
692
706
  //#endregion
693
- export { J as GetSecretsDocument, se as SecurityMemberEventsDocument, oe as SecuritySecretEventsDocument, ae as SecurityVaultEventsDocument, v as useBulkCreateSecretsMutation, i as useBulkDeleteSecretsMutation, c as useBulkLabelSecretsMutation, o as useBulkMoveSecretsMutation, u as useCreateSecretMutation, f as useCreateVaultMutation, G as useDecryptSecretLazyQuery, m as useDeleteSecretMutation, O as useDeleteVaultIntegrationMutation, g as useDeleteVaultMutation, U as useGetSecretQuery, q as useGetSecretVersionsQuery, Y as useGetSecretsQuery, z as useGetVaultAuditLogsQuery, V as useGetVaultIntegrationsQuery, Z as useGetVaultQuery, $ as useGetVaultSyncLogsQuery, ne as useGetVaultWithSecretsQuery, ie as useGetVaultsQuery, b as useLockVaultMutation, j as useRollbackSecretMutation, N as useRotateSecretMutation, S as useShareVaultMutation, A as useTriggerVaultSyncMutation, F as useUnlockVaultMutation, w as useUnshareVaultMutation, E as useUpdateVaultMemberRoleMutation, L as useUpdateVaultMutation };
707
+ export { Y as GetSecretsDocument, ce as SecurityMemberEventsDocument, se as SecuritySecretEventsDocument, oe as SecurityVaultEventsDocument, y as useBulkCreateSecretsMutation, a as useBulkDeleteSecretsMutation, l as useBulkLabelSecretsMutation, s as useBulkMoveSecretsMutation, d as useCreateSecretMutation, p as useCreateVaultMutation, K as useDecryptSecretLazyQuery, h as useDeleteSecretMutation, k as useDeleteVaultIntegrationMutation, _ as useDeleteVaultMutation, W as useGetSecretQuery, J as useGetSecretVersionsQuery, X as useGetSecretsQuery, B as useGetVaultAuditLogsQuery, H as useGetVaultIntegrationsQuery, Q as useGetVaultQuery, te as useGetVaultSyncLogsQuery, re as useGetVaultWithSecretsQuery, ae as useGetVaultsQuery, x as useLockVaultMutation, N as useRollbackSecretMutation, P as useRotateSecretMutation, C as useShareVaultMutation, j as useTriggerVaultSyncMutation, I as useUnlockVaultMutation, T as useUnshareVaultMutation, D as useUpdateVaultMemberRoleMutation, R as useUpdateVaultMutation };
694
708
 
695
709
  //# sourceMappingURL=wspace-operations.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"wspace-operations.js","names":[],"sources":["../../src/generated/wspace-operations.ts"],"sourcesContent":["// @ts-nocheck\nimport * as Types from './wspace-types';\n\nimport { gql } from '@apollo/client';\nimport * as Apollo from '@apollo/client';\nimport * as ApolloReactHooks from '@apollo/client/react';\nconst defaultOptions = {} as const;\nexport type BulkDeleteSecretsMutationVariables = Types.Exact<{\n ids: Array<Types.Scalars['ID']['input']> | Types.Scalars['ID']['input'];\n}>;\n\n\nexport type BulkDeleteSecretsMutation = { __typename?: 'Mutation', bulkDeleteSecrets: boolean };\n\nexport type BulkMoveSecretsMutationVariables = Types.Exact<{\n ids: Array<Types.Scalars['ID']['input']> | Types.Scalars['ID']['input'];\n targetVaultId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type BulkMoveSecretsMutation = { __typename?: 'Mutation', bulkMoveSecrets: Array<{ __typename?: 'Secret', id: string, vaultId: string }> };\n\nexport type BulkLabelSecretsMutationVariables = Types.Exact<{\n ids: Array<Types.Scalars['ID']['input']> | Types.Scalars['ID']['input'];\n label: Types.Scalars['String']['input'];\n color?: Types.InputMaybe<Types.Scalars['String']['input']>;\n}>;\n\n\nexport type BulkLabelSecretsMutation = { __typename?: 'Mutation', bulkLabelSecrets: Array<{ __typename?: 'Secret', id: string, labels?: Array<{ __typename?: 'SecretLabel', id: string, label: string, color?: string | null }> | null }> };\n\nexport type CreateSecretMutationVariables = Types.Exact<{\n input: Types.CreateSecretInput;\n}>;\n\n\nexport type CreateSecretMutation = { __typename?: 'Mutation', createSecret: { __typename?: 'Secret', id: string, name: string, key: string, type: Types.SecretType, status: Types.SecretStatus, createdAt: string } };\n\nexport type CreateVaultMutationVariables = Types.Exact<{\n input: Types.CreateVaultInput;\n}>;\n\n\nexport type CreateVaultMutation = { __typename?: 'Mutation', createVault: { __typename?: 'Vault', id: string, name: string, description?: string | null, status: Types.VaultStatus } };\n\nexport type DeleteSecretMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type DeleteSecretMutation = { __typename?: 'Mutation', deleteSecret: boolean };\n\nexport type DeleteVaultMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type DeleteVaultMutation = { __typename?: 'Mutation', deleteVault: boolean };\n\nexport type BulkCreateSecretsMutationVariables = Types.Exact<{\n input: Types.BulkCreateSecretsInput;\n}>;\n\n\nexport type BulkCreateSecretsMutation = { __typename?: 'Mutation', bulkCreateSecrets: { __typename?: 'SecretImportResult', imported: number, skipped: number, errors: Array<string> } };\n\nexport type LockVaultMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type LockVaultMutation = { __typename?: 'Mutation', lockVault: { __typename?: 'Vault', id: string, status: Types.VaultStatus, lockedAt?: string | null } };\n\nexport type ShareVaultMutationVariables = Types.Exact<{\n input: Types.ShareVaultInput;\n}>;\n\n\nexport type ShareVaultMutation = { __typename?: 'Mutation', shareVault: { __typename?: 'VaultMember', id: string, actorId: string, actorType: string, role: Types.VaultMemberRole } };\n\nexport type UnshareVaultMutationVariables = Types.Exact<{\n vaultId: Types.Scalars['ID']['input'];\n actorId: Types.Scalars['String']['input'];\n actorType: Types.Scalars['String']['input'];\n}>;\n\n\nexport type UnshareVaultMutation = { __typename?: 'Mutation', unshareVault: boolean };\n\nexport type UpdateVaultMemberRoleMutationVariables = Types.Exact<{\n vaultId: Types.Scalars['ID']['input'];\n actorId: Types.Scalars['String']['input'];\n actorType: Types.Scalars['String']['input'];\n role: Types.VaultMemberRole;\n}>;\n\n\nexport type UpdateVaultMemberRoleMutation = { __typename?: 'Mutation', updateVaultMemberRole: { __typename?: 'VaultMember', id: string, role: Types.VaultMemberRole } };\n\nexport type CreateVaultIntegrationMutationVariables = Types.Exact<{\n input: Types.CreateVaultIntegrationInput;\n}>;\n\n\nexport type CreateVaultIntegrationMutation = { __typename?: 'Mutation', createVaultIntegration: { __typename?: 'VaultIntegration', id: string, providerType: Types.ExternalProviderType, displayName: string } };\n\nexport type DeleteVaultIntegrationMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type DeleteVaultIntegrationMutation = { __typename?: 'Mutation', deleteVaultIntegration: boolean };\n\nexport type TriggerVaultSyncMutationVariables = Types.Exact<{\n integrationId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type TriggerVaultSyncMutation = { __typename?: 'Mutation', triggerVaultSync: { __typename?: 'VaultSyncLog', id: string, status: Types.VaultSyncStatus, secretsSynced: number } };\n\nexport type RollbackSecretMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n version: Types.Scalars['Int']['input'];\n}>;\n\n\nexport type RollbackSecretMutation = { __typename?: 'Mutation', rollbackSecret: { __typename?: 'Secret', id: string, status: Types.SecretStatus } };\n\nexport type RotateSecretMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n newValue: Types.Scalars['String']['input'];\n}>;\n\n\nexport type RotateSecretMutation = { __typename?: 'Mutation', rotateSecret: { __typename?: 'Secret', id: string, status: Types.SecretStatus, lastRotatedAt?: string | null } };\n\nexport type UnlockVaultMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type UnlockVaultMutation = { __typename?: 'Mutation', unlockVault: { __typename?: 'Vault', id: string, status: Types.VaultStatus } };\n\nexport type UpdateSecretMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n input: Types.UpdateSecretInput;\n}>;\n\n\nexport type UpdateSecretMutation = { __typename?: 'Mutation', updateSecret: { __typename?: 'Secret', id: string, name: string, key: string, status: Types.SecretStatus, updatedAt: string } };\n\nexport type UpdateVaultMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n input: Types.UpdateVaultInput;\n}>;\n\n\nexport type UpdateVaultMutation = { __typename?: 'Mutation', updateVault: { __typename?: 'Vault', id: string, name: string, description?: string | null } };\n\nexport type GetVaultAuditLogsQueryVariables = Types.Exact<{\n filter?: Types.InputMaybe<Types.VaultAuditLogFilterInput>;\n pagination?: Types.InputMaybe<Types.SecurityPaginationInput>;\n}>;\n\n\nexport type GetVaultAuditLogsQuery = { __typename?: 'Query', getVaultAuditLogs: { __typename?: 'VaultAuditLogList', total: number, hasMore: boolean, items: Array<{ __typename?: 'VaultAuditLog', id: string, entityId?: string | null, entityType: string, action: string, metadata?: Record<string, unknown> | null, actorId: string, actorType: string, timestamp: string }> } };\n\nexport type GetVaultIntegrationsQueryVariables = Types.Exact<{\n vaultId: Types.Scalars['ID']['input'];\n pagination?: Types.InputMaybe<Types.SecurityPaginationInput>;\n}>;\n\n\nexport type GetVaultIntegrationsQuery = { __typename?: 'Query', getVaultIntegrations: { __typename?: 'VaultIntegrationList', total: number, hasMore: boolean, items: Array<{ __typename?: 'VaultIntegration', id: string, vaultId: string, providerType: Types.ExternalProviderType, displayName: string, syncDirection: Types.SyncDirection, syncEnabled: boolean, syncIntervalMinutes: number, lastSyncAt?: string | null, createdAt: string }> } };\n\nexport type GetSecretQueryVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type GetSecretQuery = { __typename?: 'Query', getSecret?: { __typename?: 'Secret', id: string, vaultId: string, name: string, key: string, description?: string | null, type: Types.SecretType, status: Types.SecretStatus, expiresAt?: string | null, lastRotatedAt?: string | null, versionCount: number, createdBy: string, createdAt: string, updatedAt: string, labels?: Array<{ __typename?: 'SecretLabel', id: string, label: string, color?: string | null }> | null } | null };\n\nexport type DecryptSecretQueryVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type DecryptSecretQuery = { __typename?: 'Query', decryptSecret?: { __typename?: 'DecryptedSecret', id: string, name: string, key: string, value: string, type: Types.SecretType } | null };\n\nexport type GetSecretVersionsQueryVariables = Types.Exact<{\n secretId: Types.Scalars['ID']['input'];\n pagination?: Types.InputMaybe<Types.SecurityPaginationInput>;\n}>;\n\n\nexport type GetSecretVersionsQuery = { __typename?: 'Query', getSecretVersionsPaginated: { __typename?: 'SecretVersionList', total: number, hasMore: boolean, items: Array<{ __typename?: 'SecretVersion', id: string, version: number, changeReason?: string | null, createdBy: string, createdAt: string }> } };\n\nexport type GetSecretsQueryVariables = Types.Exact<{\n vaultId: Types.Scalars['ID']['input'];\n filter?: Types.InputMaybe<Types.SecretFilterInput>;\n pagination?: Types.InputMaybe<Types.SecurityPaginationInput>;\n}>;\n\n\nexport type GetSecretsQuery = { __typename?: 'Query', getSecrets: { __typename?: 'SecretList', total: number, hasMore: boolean, items: Array<{ __typename: 'Secret', id: string, name: string, key: string, status: Types.SecretStatus, createdAt: string, updatedAt: string, versionCount: number, tags: Array<string>, labels?: Array<{ __typename?: 'SecretLabel', id: string, label: string, color?: string | null, createdAt: string }> | null }> } };\n\nexport type GetVaultQueryVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type GetVaultQuery = { __typename?: 'Query', getVault?: { __typename?: 'Vault', id: string, name: string, description?: string | null, status: Types.VaultStatus, lockedAt?: string | null, lockAfterMinutes?: number | null, secretCount: number, memberCount: number, createdBy: string, createdAt: string, updatedAt: string, membersList: { __typename?: 'VaultMemberList', total: number, hasMore: boolean, items: Array<{ __typename?: 'VaultMember', id: string, actorId: string, actorType: string, role: Types.VaultMemberRole, createdAt: string }> } } | null };\n\nexport type GetVaultSyncLogsQueryVariables = Types.Exact<{\n integrationId: Types.Scalars['ID']['input'];\n filter?: Types.InputMaybe<Types.VaultSyncLogFilterInput>;\n pagination?: Types.InputMaybe<Types.SecurityPaginationInput>;\n}>;\n\n\nexport type GetVaultSyncLogsQuery = { __typename?: 'Query', getVaultSyncLogs: { __typename?: 'VaultSyncLogList', total: number, hasMore: boolean, items: Array<{ __typename?: 'VaultSyncLog', id: string, integrationId: string, status: Types.VaultSyncStatus, secretsSynced: number, secretsFailed: number, errorMessage?: string | null, createdBy: string, startedAt: string, completedAt?: string | null, durationMs?: number | null, createdAt: string }> } };\n\nexport type GetVaultWithSecretsQueryVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n filter?: Types.InputMaybe<Types.SecretFilterInput>;\n pagination?: Types.InputMaybe<Types.SecurityPaginationInput>;\n}>;\n\n\nexport type GetVaultWithSecretsQuery = { __typename?: 'Query', getVault?: { __typename: 'Vault', id: string, name: string, description?: string | null, status: Types.VaultStatus, createdAt: string, updatedAt: string, secretCount: number, memberCount: number, lastAccessedAt?: string | null, lockAfterMinutes?: number | null, lockedAt?: string | null, membersList: { __typename?: 'VaultMemberList', total: number, hasMore: boolean, items: Array<{ __typename?: 'VaultMember', id: string, actorId: string, actorType: string, role: Types.VaultMemberRole, createdAt: string }> } } | null, getSecrets: { __typename?: 'SecretList', total: number, hasMore: boolean, items: Array<{ __typename: 'Secret', id: string, name: string, key: string, status: Types.SecretStatus, createdAt: string, updatedAt: string, versionCount: number, tags: Array<string>, labels?: Array<{ __typename?: 'SecretLabel', id: string, label: string, color?: string | null, createdAt: string }> | null }> } };\n\nexport type GetVaultsQueryVariables = Types.Exact<{\n filter?: Types.InputMaybe<Types.VaultFilterInput>;\n pagination?: Types.InputMaybe<Types.SecurityPaginationInput>;\n}>;\n\n\nexport type GetVaultsQuery = { __typename?: 'Query', getVaults: { __typename?: 'VaultList', total: number, hasMore: boolean, items: Array<{ __typename: 'Vault', id: string, name: string, description?: string | null, status: Types.VaultStatus, createdAt: string, updatedAt: string, secretCount: number, memberCount: number, lastAccessedAt?: string | null, lockAfterMinutes?: number | null, lockedAt?: string | null }> } };\n\nexport type SecurityVaultEventsSubscriptionVariables = Types.Exact<{\n workspaceId: Types.Scalars['String']['input'];\n}>;\n\n\nexport type SecurityVaultEventsSubscription = { __typename?: 'Subscription', securityVaultEvents?: { __typename: 'VaultCreatedPayload', workspaceId: string, vault: { __typename: 'Vault', id: string, name: string, description?: string | null, status: Types.VaultStatus, createdAt: string, updatedAt: string, secretCount: number, memberCount: number, lastAccessedAt?: string | null, lockAfterMinutes?: number | null, lockedAt?: string | null } } | null };\n\nexport type SecuritySecretEventsSubscriptionVariables = Types.Exact<{\n workspaceId: Types.Scalars['String']['input'];\n}>;\n\n\nexport type SecuritySecretEventsSubscription = { __typename?: 'Subscription', securitySecretEvents?: { __typename: 'SecretCreatedPayload', vaultId: string, workspaceId: string, secret: { __typename: 'Secret', id: string, vaultId: string, name: string, description?: string | null, key: string, type: Types.SecretType, version: number, isLatest: boolean, status: Types.SecretStatus, tags: Array<string>, expiresAt?: string | null, lastRotatedAt?: string | null, accessCount: number, lastAccessedAt?: string | null, isEphemeral: boolean, maxAccessCount?: number | null, ephemeralExpiresAt?: string | null, createdBy: string, workspaceId: string, tenantId?: string | null, createdAt: string, updatedAt: string, deletedAt?: string | null, versionCount: number, labels?: Array<{ __typename: 'SecretLabel', id: string, label: string, color?: string | null, createdAt: string }> | null } } | null };\n\nexport type SecurityMemberEventsSubscriptionVariables = Types.Exact<{\n workspaceId: Types.Scalars['String']['input'];\n}>;\n\n\nexport type SecurityMemberEventsSubscription = { __typename?: 'Subscription', securityMemberEvents?: { __typename: 'MemberAddedPayload', vaultId: string, workspaceId: string, member: { __typename: 'VaultMember', id: string, vaultId: string, actorId: string, actorType: string, role: Types.VaultMemberRole, createdBy: string, createdAt: string, updatedAt: string, expiresAt?: string | null } } | null };\n\n\nexport const BulkDeleteSecretsDocument = gql`\n mutation BulkDeleteSecrets($ids: [ID!]!) {\n bulkDeleteSecrets(ids: $ids)\n}\n `;\nexport type BulkDeleteSecretsMutationFn = Apollo.MutationFunction<Types.BulkDeleteSecretsMutation, Types.BulkDeleteSecretsMutationVariables>;\n\n/**\n * __useBulkDeleteSecretsMutation__\n *\n * To run a mutation, you first call `useBulkDeleteSecretsMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useBulkDeleteSecretsMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [bulkDeleteSecretsMutation, { data, loading, error }] = useBulkDeleteSecretsMutation({\n * variables: {\n * ids: // value for 'ids'\n * },\n * });\n */\nexport function useBulkDeleteSecretsMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.BulkDeleteSecretsMutation, Types.BulkDeleteSecretsMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.BulkDeleteSecretsMutation, Types.BulkDeleteSecretsMutationVariables>(BulkDeleteSecretsDocument, options);\n }\nexport type BulkDeleteSecretsMutationHookResult = ReturnType<typeof useBulkDeleteSecretsMutation>;\nexport type BulkDeleteSecretsMutationResult = Apollo.MutationResult<Types.BulkDeleteSecretsMutation>;\nexport type BulkDeleteSecretsMutationOptions = Apollo.BaseMutationOptions<Types.BulkDeleteSecretsMutation, Types.BulkDeleteSecretsMutationVariables>;\nexport const BulkMoveSecretsDocument = gql`\n mutation BulkMoveSecrets($ids: [ID!]!, $targetVaultId: ID!) {\n bulkMoveSecrets(ids: $ids, targetVaultId: $targetVaultId) {\n id\n vaultId\n }\n}\n `;\nexport type BulkMoveSecretsMutationFn = Apollo.MutationFunction<Types.BulkMoveSecretsMutation, Types.BulkMoveSecretsMutationVariables>;\n\n/**\n * __useBulkMoveSecretsMutation__\n *\n * To run a mutation, you first call `useBulkMoveSecretsMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useBulkMoveSecretsMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [bulkMoveSecretsMutation, { data, loading, error }] = useBulkMoveSecretsMutation({\n * variables: {\n * ids: // value for 'ids'\n * targetVaultId: // value for 'targetVaultId'\n * },\n * });\n */\nexport function useBulkMoveSecretsMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.BulkMoveSecretsMutation, Types.BulkMoveSecretsMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.BulkMoveSecretsMutation, Types.BulkMoveSecretsMutationVariables>(BulkMoveSecretsDocument, options);\n }\nexport type BulkMoveSecretsMutationHookResult = ReturnType<typeof useBulkMoveSecretsMutation>;\nexport type BulkMoveSecretsMutationResult = Apollo.MutationResult<Types.BulkMoveSecretsMutation>;\nexport type BulkMoveSecretsMutationOptions = Apollo.BaseMutationOptions<Types.BulkMoveSecretsMutation, Types.BulkMoveSecretsMutationVariables>;\nexport const BulkLabelSecretsDocument = gql`\n mutation BulkLabelSecrets($ids: [ID!]!, $label: String!, $color: String) {\n bulkLabelSecrets(ids: $ids, label: $label, color: $color) {\n id\n labels {\n id\n label\n color\n }\n }\n}\n `;\nexport type BulkLabelSecretsMutationFn = Apollo.MutationFunction<Types.BulkLabelSecretsMutation, Types.BulkLabelSecretsMutationVariables>;\n\n/**\n * __useBulkLabelSecretsMutation__\n *\n * To run a mutation, you first call `useBulkLabelSecretsMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useBulkLabelSecretsMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [bulkLabelSecretsMutation, { data, loading, error }] = useBulkLabelSecretsMutation({\n * variables: {\n * ids: // value for 'ids'\n * label: // value for 'label'\n * color: // value for 'color'\n * },\n * });\n */\nexport function useBulkLabelSecretsMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.BulkLabelSecretsMutation, Types.BulkLabelSecretsMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.BulkLabelSecretsMutation, Types.BulkLabelSecretsMutationVariables>(BulkLabelSecretsDocument, options);\n }\nexport type BulkLabelSecretsMutationHookResult = ReturnType<typeof useBulkLabelSecretsMutation>;\nexport type BulkLabelSecretsMutationResult = Apollo.MutationResult<Types.BulkLabelSecretsMutation>;\nexport type BulkLabelSecretsMutationOptions = Apollo.BaseMutationOptions<Types.BulkLabelSecretsMutation, Types.BulkLabelSecretsMutationVariables>;\nexport const CreateSecretDocument = gql`\n mutation CreateSecret($input: CreateSecretInput!) {\n createSecret(input: $input) {\n id\n name\n key\n type\n status\n createdAt\n }\n}\n `;\nexport type CreateSecretMutationFn = Apollo.MutationFunction<Types.CreateSecretMutation, Types.CreateSecretMutationVariables>;\n\n/**\n * __useCreateSecretMutation__\n *\n * To run a mutation, you first call `useCreateSecretMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useCreateSecretMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [createSecretMutation, { data, loading, error }] = useCreateSecretMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useCreateSecretMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateSecretMutation, Types.CreateSecretMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.CreateSecretMutation, Types.CreateSecretMutationVariables>(CreateSecretDocument, options);\n }\nexport type CreateSecretMutationHookResult = ReturnType<typeof useCreateSecretMutation>;\nexport type CreateSecretMutationResult = Apollo.MutationResult<Types.CreateSecretMutation>;\nexport type CreateSecretMutationOptions = Apollo.BaseMutationOptions<Types.CreateSecretMutation, Types.CreateSecretMutationVariables>;\nexport const CreateVaultDocument = gql`\n mutation CreateVault($input: CreateVaultInput!) {\n createVault(input: $input) {\n id\n name\n description\n status\n }\n}\n `;\nexport type CreateVaultMutationFn = Apollo.MutationFunction<Types.CreateVaultMutation, Types.CreateVaultMutationVariables>;\n\n/**\n * __useCreateVaultMutation__\n *\n * To run a mutation, you first call `useCreateVaultMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useCreateVaultMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [createVaultMutation, { data, loading, error }] = useCreateVaultMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useCreateVaultMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateVaultMutation, Types.CreateVaultMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.CreateVaultMutation, Types.CreateVaultMutationVariables>(CreateVaultDocument, options);\n }\nexport type CreateVaultMutationHookResult = ReturnType<typeof useCreateVaultMutation>;\nexport type CreateVaultMutationResult = Apollo.MutationResult<Types.CreateVaultMutation>;\nexport type CreateVaultMutationOptions = Apollo.BaseMutationOptions<Types.CreateVaultMutation, Types.CreateVaultMutationVariables>;\nexport const DeleteSecretDocument = gql`\n mutation DeleteSecret($id: ID!) {\n deleteSecret(id: $id)\n}\n `;\nexport type DeleteSecretMutationFn = Apollo.MutationFunction<Types.DeleteSecretMutation, Types.DeleteSecretMutationVariables>;\n\n/**\n * __useDeleteSecretMutation__\n *\n * To run a mutation, you first call `useDeleteSecretMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useDeleteSecretMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [deleteSecretMutation, { data, loading, error }] = useDeleteSecretMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useDeleteSecretMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteSecretMutation, Types.DeleteSecretMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.DeleteSecretMutation, Types.DeleteSecretMutationVariables>(DeleteSecretDocument, options);\n }\nexport type DeleteSecretMutationHookResult = ReturnType<typeof useDeleteSecretMutation>;\nexport type DeleteSecretMutationResult = Apollo.MutationResult<Types.DeleteSecretMutation>;\nexport type DeleteSecretMutationOptions = Apollo.BaseMutationOptions<Types.DeleteSecretMutation, Types.DeleteSecretMutationVariables>;\nexport const DeleteVaultDocument = gql`\n mutation DeleteVault($id: ID!) {\n deleteVault(id: $id)\n}\n `;\nexport type DeleteVaultMutationFn = Apollo.MutationFunction<Types.DeleteVaultMutation, Types.DeleteVaultMutationVariables>;\n\n/**\n * __useDeleteVaultMutation__\n *\n * To run a mutation, you first call `useDeleteVaultMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useDeleteVaultMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [deleteVaultMutation, { data, loading, error }] = useDeleteVaultMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useDeleteVaultMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteVaultMutation, Types.DeleteVaultMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.DeleteVaultMutation, Types.DeleteVaultMutationVariables>(DeleteVaultDocument, options);\n }\nexport type DeleteVaultMutationHookResult = ReturnType<typeof useDeleteVaultMutation>;\nexport type DeleteVaultMutationResult = Apollo.MutationResult<Types.DeleteVaultMutation>;\nexport type DeleteVaultMutationOptions = Apollo.BaseMutationOptions<Types.DeleteVaultMutation, Types.DeleteVaultMutationVariables>;\nexport const BulkCreateSecretsDocument = gql`\n mutation BulkCreateSecrets($input: BulkCreateSecretsInput!) {\n bulkCreateSecrets(input: $input) {\n imported\n skipped\n errors\n }\n}\n `;\nexport type BulkCreateSecretsMutationFn = Apollo.MutationFunction<Types.BulkCreateSecretsMutation, Types.BulkCreateSecretsMutationVariables>;\n\n/**\n * __useBulkCreateSecretsMutation__\n *\n * To run a mutation, you first call `useBulkCreateSecretsMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useBulkCreateSecretsMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [bulkCreateSecretsMutation, { data, loading, error }] = useBulkCreateSecretsMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useBulkCreateSecretsMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.BulkCreateSecretsMutation, Types.BulkCreateSecretsMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.BulkCreateSecretsMutation, Types.BulkCreateSecretsMutationVariables>(BulkCreateSecretsDocument, options);\n }\nexport type BulkCreateSecretsMutationHookResult = ReturnType<typeof useBulkCreateSecretsMutation>;\nexport type BulkCreateSecretsMutationResult = Apollo.MutationResult<Types.BulkCreateSecretsMutation>;\nexport type BulkCreateSecretsMutationOptions = Apollo.BaseMutationOptions<Types.BulkCreateSecretsMutation, Types.BulkCreateSecretsMutationVariables>;\nexport const LockVaultDocument = gql`\n mutation LockVault($id: ID!) {\n lockVault(id: $id) {\n id\n status\n lockedAt\n }\n}\n `;\nexport type LockVaultMutationFn = Apollo.MutationFunction<Types.LockVaultMutation, Types.LockVaultMutationVariables>;\n\n/**\n * __useLockVaultMutation__\n *\n * To run a mutation, you first call `useLockVaultMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useLockVaultMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [lockVaultMutation, { data, loading, error }] = useLockVaultMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useLockVaultMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.LockVaultMutation, Types.LockVaultMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.LockVaultMutation, Types.LockVaultMutationVariables>(LockVaultDocument, options);\n }\nexport type LockVaultMutationHookResult = ReturnType<typeof useLockVaultMutation>;\nexport type LockVaultMutationResult = Apollo.MutationResult<Types.LockVaultMutation>;\nexport type LockVaultMutationOptions = Apollo.BaseMutationOptions<Types.LockVaultMutation, Types.LockVaultMutationVariables>;\nexport const ShareVaultDocument = gql`\n mutation ShareVault($input: ShareVaultInput!) {\n shareVault(input: $input) {\n id\n actorId\n actorType\n role\n }\n}\n `;\nexport type ShareVaultMutationFn = Apollo.MutationFunction<Types.ShareVaultMutation, Types.ShareVaultMutationVariables>;\n\n/**\n * __useShareVaultMutation__\n *\n * To run a mutation, you first call `useShareVaultMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useShareVaultMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [shareVaultMutation, { data, loading, error }] = useShareVaultMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useShareVaultMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ShareVaultMutation, Types.ShareVaultMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.ShareVaultMutation, Types.ShareVaultMutationVariables>(ShareVaultDocument, options);\n }\nexport type ShareVaultMutationHookResult = ReturnType<typeof useShareVaultMutation>;\nexport type ShareVaultMutationResult = Apollo.MutationResult<Types.ShareVaultMutation>;\nexport type ShareVaultMutationOptions = Apollo.BaseMutationOptions<Types.ShareVaultMutation, Types.ShareVaultMutationVariables>;\nexport const UnshareVaultDocument = gql`\n mutation UnshareVault($vaultId: ID!, $actorId: String!, $actorType: String!) {\n unshareVault(vaultId: $vaultId, actorId: $actorId, actorType: $actorType)\n}\n `;\nexport type UnshareVaultMutationFn = Apollo.MutationFunction<Types.UnshareVaultMutation, Types.UnshareVaultMutationVariables>;\n\n/**\n * __useUnshareVaultMutation__\n *\n * To run a mutation, you first call `useUnshareVaultMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUnshareVaultMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [unshareVaultMutation, { data, loading, error }] = useUnshareVaultMutation({\n * variables: {\n * vaultId: // value for 'vaultId'\n * actorId: // value for 'actorId'\n * actorType: // value for 'actorType'\n * },\n * });\n */\nexport function useUnshareVaultMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UnshareVaultMutation, Types.UnshareVaultMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UnshareVaultMutation, Types.UnshareVaultMutationVariables>(UnshareVaultDocument, options);\n }\nexport type UnshareVaultMutationHookResult = ReturnType<typeof useUnshareVaultMutation>;\nexport type UnshareVaultMutationResult = Apollo.MutationResult<Types.UnshareVaultMutation>;\nexport type UnshareVaultMutationOptions = Apollo.BaseMutationOptions<Types.UnshareVaultMutation, Types.UnshareVaultMutationVariables>;\nexport const UpdateVaultMemberRoleDocument = gql`\n mutation UpdateVaultMemberRole($vaultId: ID!, $actorId: String!, $actorType: String!, $role: VaultMemberRole!) {\n updateVaultMemberRole(\n vaultId: $vaultId\n actorId: $actorId\n actorType: $actorType\n role: $role\n ) {\n id\n role\n }\n}\n `;\nexport type UpdateVaultMemberRoleMutationFn = Apollo.MutationFunction<Types.UpdateVaultMemberRoleMutation, Types.UpdateVaultMemberRoleMutationVariables>;\n\n/**\n * __useUpdateVaultMemberRoleMutation__\n *\n * To run a mutation, you first call `useUpdateVaultMemberRoleMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUpdateVaultMemberRoleMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [updateVaultMemberRoleMutation, { data, loading, error }] = useUpdateVaultMemberRoleMutation({\n * variables: {\n * vaultId: // value for 'vaultId'\n * actorId: // value for 'actorId'\n * actorType: // value for 'actorType'\n * role: // value for 'role'\n * },\n * });\n */\nexport function useUpdateVaultMemberRoleMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateVaultMemberRoleMutation, Types.UpdateVaultMemberRoleMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UpdateVaultMemberRoleMutation, Types.UpdateVaultMemberRoleMutationVariables>(UpdateVaultMemberRoleDocument, options);\n }\nexport type UpdateVaultMemberRoleMutationHookResult = ReturnType<typeof useUpdateVaultMemberRoleMutation>;\nexport type UpdateVaultMemberRoleMutationResult = Apollo.MutationResult<Types.UpdateVaultMemberRoleMutation>;\nexport type UpdateVaultMemberRoleMutationOptions = Apollo.BaseMutationOptions<Types.UpdateVaultMemberRoleMutation, Types.UpdateVaultMemberRoleMutationVariables>;\nexport const CreateVaultIntegrationDocument = gql`\n mutation CreateVaultIntegration($input: CreateVaultIntegrationInput!) {\n createVaultIntegration(input: $input) {\n id\n providerType\n displayName\n }\n}\n `;\nexport type CreateVaultIntegrationMutationFn = Apollo.MutationFunction<Types.CreateVaultIntegrationMutation, Types.CreateVaultIntegrationMutationVariables>;\n\n/**\n * __useCreateVaultIntegrationMutation__\n *\n * To run a mutation, you first call `useCreateVaultIntegrationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useCreateVaultIntegrationMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [createVaultIntegrationMutation, { data, loading, error }] = useCreateVaultIntegrationMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useCreateVaultIntegrationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateVaultIntegrationMutation, Types.CreateVaultIntegrationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.CreateVaultIntegrationMutation, Types.CreateVaultIntegrationMutationVariables>(CreateVaultIntegrationDocument, options);\n }\nexport type CreateVaultIntegrationMutationHookResult = ReturnType<typeof useCreateVaultIntegrationMutation>;\nexport type CreateVaultIntegrationMutationResult = Apollo.MutationResult<Types.CreateVaultIntegrationMutation>;\nexport type CreateVaultIntegrationMutationOptions = Apollo.BaseMutationOptions<Types.CreateVaultIntegrationMutation, Types.CreateVaultIntegrationMutationVariables>;\nexport const DeleteVaultIntegrationDocument = gql`\n mutation DeleteVaultIntegration($id: ID!) {\n deleteVaultIntegration(id: $id)\n}\n `;\nexport type DeleteVaultIntegrationMutationFn = Apollo.MutationFunction<Types.DeleteVaultIntegrationMutation, Types.DeleteVaultIntegrationMutationVariables>;\n\n/**\n * __useDeleteVaultIntegrationMutation__\n *\n * To run a mutation, you first call `useDeleteVaultIntegrationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useDeleteVaultIntegrationMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [deleteVaultIntegrationMutation, { data, loading, error }] = useDeleteVaultIntegrationMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useDeleteVaultIntegrationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteVaultIntegrationMutation, Types.DeleteVaultIntegrationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.DeleteVaultIntegrationMutation, Types.DeleteVaultIntegrationMutationVariables>(DeleteVaultIntegrationDocument, options);\n }\nexport type DeleteVaultIntegrationMutationHookResult = ReturnType<typeof useDeleteVaultIntegrationMutation>;\nexport type DeleteVaultIntegrationMutationResult = Apollo.MutationResult<Types.DeleteVaultIntegrationMutation>;\nexport type DeleteVaultIntegrationMutationOptions = Apollo.BaseMutationOptions<Types.DeleteVaultIntegrationMutation, Types.DeleteVaultIntegrationMutationVariables>;\nexport const TriggerVaultSyncDocument = gql`\n mutation TriggerVaultSync($integrationId: ID!) {\n triggerVaultSync(integrationId: $integrationId) {\n id\n status\n secretsSynced\n }\n}\n `;\nexport type TriggerVaultSyncMutationFn = Apollo.MutationFunction<Types.TriggerVaultSyncMutation, Types.TriggerVaultSyncMutationVariables>;\n\n/**\n * __useTriggerVaultSyncMutation__\n *\n * To run a mutation, you first call `useTriggerVaultSyncMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useTriggerVaultSyncMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [triggerVaultSyncMutation, { data, loading, error }] = useTriggerVaultSyncMutation({\n * variables: {\n * integrationId: // value for 'integrationId'\n * },\n * });\n */\nexport function useTriggerVaultSyncMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.TriggerVaultSyncMutation, Types.TriggerVaultSyncMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.TriggerVaultSyncMutation, Types.TriggerVaultSyncMutationVariables>(TriggerVaultSyncDocument, options);\n }\nexport type TriggerVaultSyncMutationHookResult = ReturnType<typeof useTriggerVaultSyncMutation>;\nexport type TriggerVaultSyncMutationResult = Apollo.MutationResult<Types.TriggerVaultSyncMutation>;\nexport type TriggerVaultSyncMutationOptions = Apollo.BaseMutationOptions<Types.TriggerVaultSyncMutation, Types.TriggerVaultSyncMutationVariables>;\nexport const RollbackSecretDocument = gql`\n mutation RollbackSecret($id: ID!, $version: Int!) {\n rollbackSecret(id: $id, version: $version) {\n id\n status\n }\n}\n `;\nexport type RollbackSecretMutationFn = Apollo.MutationFunction<Types.RollbackSecretMutation, Types.RollbackSecretMutationVariables>;\n\n/**\n * __useRollbackSecretMutation__\n *\n * To run a mutation, you first call `useRollbackSecretMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useRollbackSecretMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [rollbackSecretMutation, { data, loading, error }] = useRollbackSecretMutation({\n * variables: {\n * id: // value for 'id'\n * version: // value for 'version'\n * },\n * });\n */\nexport function useRollbackSecretMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.RollbackSecretMutation, Types.RollbackSecretMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.RollbackSecretMutation, Types.RollbackSecretMutationVariables>(RollbackSecretDocument, options);\n }\nexport type RollbackSecretMutationHookResult = ReturnType<typeof useRollbackSecretMutation>;\nexport type RollbackSecretMutationResult = Apollo.MutationResult<Types.RollbackSecretMutation>;\nexport type RollbackSecretMutationOptions = Apollo.BaseMutationOptions<Types.RollbackSecretMutation, Types.RollbackSecretMutationVariables>;\nexport const RotateSecretDocument = gql`\n mutation RotateSecret($id: ID!, $newValue: String!) {\n rotateSecret(id: $id, newValue: $newValue) {\n id\n status\n lastRotatedAt\n }\n}\n `;\nexport type RotateSecretMutationFn = Apollo.MutationFunction<Types.RotateSecretMutation, Types.RotateSecretMutationVariables>;\n\n/**\n * __useRotateSecretMutation__\n *\n * To run a mutation, you first call `useRotateSecretMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useRotateSecretMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [rotateSecretMutation, { data, loading, error }] = useRotateSecretMutation({\n * variables: {\n * id: // value for 'id'\n * newValue: // value for 'newValue'\n * },\n * });\n */\nexport function useRotateSecretMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.RotateSecretMutation, Types.RotateSecretMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.RotateSecretMutation, Types.RotateSecretMutationVariables>(RotateSecretDocument, options);\n }\nexport type RotateSecretMutationHookResult = ReturnType<typeof useRotateSecretMutation>;\nexport type RotateSecretMutationResult = Apollo.MutationResult<Types.RotateSecretMutation>;\nexport type RotateSecretMutationOptions = Apollo.BaseMutationOptions<Types.RotateSecretMutation, Types.RotateSecretMutationVariables>;\nexport const UnlockVaultDocument = gql`\n mutation UnlockVault($id: ID!) {\n unlockVault(id: $id) {\n id\n status\n }\n}\n `;\nexport type UnlockVaultMutationFn = Apollo.MutationFunction<Types.UnlockVaultMutation, Types.UnlockVaultMutationVariables>;\n\n/**\n * __useUnlockVaultMutation__\n *\n * To run a mutation, you first call `useUnlockVaultMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUnlockVaultMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [unlockVaultMutation, { data, loading, error }] = useUnlockVaultMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useUnlockVaultMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UnlockVaultMutation, Types.UnlockVaultMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UnlockVaultMutation, Types.UnlockVaultMutationVariables>(UnlockVaultDocument, options);\n }\nexport type UnlockVaultMutationHookResult = ReturnType<typeof useUnlockVaultMutation>;\nexport type UnlockVaultMutationResult = Apollo.MutationResult<Types.UnlockVaultMutation>;\nexport type UnlockVaultMutationOptions = Apollo.BaseMutationOptions<Types.UnlockVaultMutation, Types.UnlockVaultMutationVariables>;\nexport const UpdateSecretDocument = gql`\n mutation UpdateSecret($id: ID!, $input: UpdateSecretInput!) {\n updateSecret(id: $id, input: $input) {\n id\n name\n key\n status\n updatedAt\n }\n}\n `;\nexport type UpdateSecretMutationFn = Apollo.MutationFunction<Types.UpdateSecretMutation, Types.UpdateSecretMutationVariables>;\n\n/**\n * __useUpdateSecretMutation__\n *\n * To run a mutation, you first call `useUpdateSecretMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUpdateSecretMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [updateSecretMutation, { data, loading, error }] = useUpdateSecretMutation({\n * variables: {\n * id: // value for 'id'\n * input: // value for 'input'\n * },\n * });\n */\nexport function useUpdateSecretMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateSecretMutation, Types.UpdateSecretMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UpdateSecretMutation, Types.UpdateSecretMutationVariables>(UpdateSecretDocument, options);\n }\nexport type UpdateSecretMutationHookResult = ReturnType<typeof useUpdateSecretMutation>;\nexport type UpdateSecretMutationResult = Apollo.MutationResult<Types.UpdateSecretMutation>;\nexport type UpdateSecretMutationOptions = Apollo.BaseMutationOptions<Types.UpdateSecretMutation, Types.UpdateSecretMutationVariables>;\nexport const UpdateVaultDocument = gql`\n mutation UpdateVault($id: ID!, $input: UpdateVaultInput!) {\n updateVault(id: $id, input: $input) {\n id\n name\n description\n }\n}\n `;\nexport type UpdateVaultMutationFn = Apollo.MutationFunction<Types.UpdateVaultMutation, Types.UpdateVaultMutationVariables>;\n\n/**\n * __useUpdateVaultMutation__\n *\n * To run a mutation, you first call `useUpdateVaultMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUpdateVaultMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [updateVaultMutation, { data, loading, error }] = useUpdateVaultMutation({\n * variables: {\n * id: // value for 'id'\n * input: // value for 'input'\n * },\n * });\n */\nexport function useUpdateVaultMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateVaultMutation, Types.UpdateVaultMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UpdateVaultMutation, Types.UpdateVaultMutationVariables>(UpdateVaultDocument, options);\n }\nexport type UpdateVaultMutationHookResult = ReturnType<typeof useUpdateVaultMutation>;\nexport type UpdateVaultMutationResult = Apollo.MutationResult<Types.UpdateVaultMutation>;\nexport type UpdateVaultMutationOptions = Apollo.BaseMutationOptions<Types.UpdateVaultMutation, Types.UpdateVaultMutationVariables>;\nexport const GetVaultAuditLogsDocument = gql`\n query GetVaultAuditLogs($filter: VaultAuditLogFilterInput, $pagination: SecurityPaginationInput) {\n getVaultAuditLogs(filter: $filter, pagination: $pagination) {\n items {\n id\n entityId\n entityType\n action\n metadata\n actorId\n actorType\n timestamp\n }\n total\n hasMore\n }\n}\n `;\n\n/**\n * __useGetVaultAuditLogsQuery__\n *\n * To run a query within a React component, call `useGetVaultAuditLogsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetVaultAuditLogsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetVaultAuditLogsQuery({\n * variables: {\n * filter: // value for 'filter'\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useGetVaultAuditLogsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetVaultAuditLogsQuery, Types.GetVaultAuditLogsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetVaultAuditLogsQuery, Types.GetVaultAuditLogsQueryVariables>(GetVaultAuditLogsDocument, options);\n }\nexport function useGetVaultAuditLogsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetVaultAuditLogsQuery, Types.GetVaultAuditLogsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetVaultAuditLogsQuery, Types.GetVaultAuditLogsQueryVariables>(GetVaultAuditLogsDocument, options);\n }\n// @ts-ignore\nexport function useGetVaultAuditLogsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultAuditLogsQuery, Types.GetVaultAuditLogsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetVaultAuditLogsQuery, Types.GetVaultAuditLogsQueryVariables>;\nexport function useGetVaultAuditLogsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultAuditLogsQuery, Types.GetVaultAuditLogsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetVaultAuditLogsQuery | undefined, Types.GetVaultAuditLogsQueryVariables>;\nexport function useGetVaultAuditLogsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultAuditLogsQuery, Types.GetVaultAuditLogsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetVaultAuditLogsQuery, Types.GetVaultAuditLogsQueryVariables>(GetVaultAuditLogsDocument, options);\n }\nexport type GetVaultAuditLogsQueryHookResult = ReturnType<typeof useGetVaultAuditLogsQuery>;\nexport type GetVaultAuditLogsLazyQueryHookResult = ReturnType<typeof useGetVaultAuditLogsLazyQuery>;\nexport type GetVaultAuditLogsSuspenseQueryHookResult = ReturnType<typeof useGetVaultAuditLogsSuspenseQuery>;\nexport type GetVaultAuditLogsQueryResult = Apollo.QueryResult<Types.GetVaultAuditLogsQuery, Types.GetVaultAuditLogsQueryVariables>;\nexport const GetVaultIntegrationsDocument = gql`\n query GetVaultIntegrations($vaultId: ID!, $pagination: SecurityPaginationInput) {\n getVaultIntegrations(vaultId: $vaultId, pagination: $pagination) {\n items {\n id\n vaultId\n providerType\n displayName\n syncDirection\n syncEnabled\n syncIntervalMinutes\n lastSyncAt\n createdAt\n }\n total\n hasMore\n }\n}\n `;\n\n/**\n * __useGetVaultIntegrationsQuery__\n *\n * To run a query within a React component, call `useGetVaultIntegrationsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetVaultIntegrationsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetVaultIntegrationsQuery({\n * variables: {\n * vaultId: // value for 'vaultId'\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useGetVaultIntegrationsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetVaultIntegrationsQuery, Types.GetVaultIntegrationsQueryVariables> & ({ variables: Types.GetVaultIntegrationsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetVaultIntegrationsQuery, Types.GetVaultIntegrationsQueryVariables>(GetVaultIntegrationsDocument, options);\n }\nexport function useGetVaultIntegrationsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetVaultIntegrationsQuery, Types.GetVaultIntegrationsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetVaultIntegrationsQuery, Types.GetVaultIntegrationsQueryVariables>(GetVaultIntegrationsDocument, options);\n }\n// @ts-ignore\nexport function useGetVaultIntegrationsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultIntegrationsQuery, Types.GetVaultIntegrationsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetVaultIntegrationsQuery, Types.GetVaultIntegrationsQueryVariables>;\nexport function useGetVaultIntegrationsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultIntegrationsQuery, Types.GetVaultIntegrationsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetVaultIntegrationsQuery | undefined, Types.GetVaultIntegrationsQueryVariables>;\nexport function useGetVaultIntegrationsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultIntegrationsQuery, Types.GetVaultIntegrationsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetVaultIntegrationsQuery, Types.GetVaultIntegrationsQueryVariables>(GetVaultIntegrationsDocument, options);\n }\nexport type GetVaultIntegrationsQueryHookResult = ReturnType<typeof useGetVaultIntegrationsQuery>;\nexport type GetVaultIntegrationsLazyQueryHookResult = ReturnType<typeof useGetVaultIntegrationsLazyQuery>;\nexport type GetVaultIntegrationsSuspenseQueryHookResult = ReturnType<typeof useGetVaultIntegrationsSuspenseQuery>;\nexport type GetVaultIntegrationsQueryResult = Apollo.QueryResult<Types.GetVaultIntegrationsQuery, Types.GetVaultIntegrationsQueryVariables>;\nexport const GetSecretDocument = gql`\n query GetSecret($id: ID!) {\n getSecret(id: $id) {\n id\n vaultId\n name\n key\n description\n type\n status\n expiresAt\n lastRotatedAt\n labels {\n id\n label\n color\n }\n versionCount\n createdBy\n createdAt\n updatedAt\n }\n}\n `;\n\n/**\n * __useGetSecretQuery__\n *\n * To run a query within a React component, call `useGetSecretQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetSecretQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetSecretQuery({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useGetSecretQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetSecretQuery, Types.GetSecretQueryVariables> & ({ variables: Types.GetSecretQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetSecretQuery, Types.GetSecretQueryVariables>(GetSecretDocument, options);\n }\nexport function useGetSecretLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetSecretQuery, Types.GetSecretQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetSecretQuery, Types.GetSecretQueryVariables>(GetSecretDocument, options);\n }\n// @ts-ignore\nexport function useGetSecretSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetSecretQuery, Types.GetSecretQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetSecretQuery, Types.GetSecretQueryVariables>;\nexport function useGetSecretSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetSecretQuery, Types.GetSecretQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetSecretQuery | undefined, Types.GetSecretQueryVariables>;\nexport function useGetSecretSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetSecretQuery, Types.GetSecretQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetSecretQuery, Types.GetSecretQueryVariables>(GetSecretDocument, options);\n }\nexport type GetSecretQueryHookResult = ReturnType<typeof useGetSecretQuery>;\nexport type GetSecretLazyQueryHookResult = ReturnType<typeof useGetSecretLazyQuery>;\nexport type GetSecretSuspenseQueryHookResult = ReturnType<typeof useGetSecretSuspenseQuery>;\nexport type GetSecretQueryResult = Apollo.QueryResult<Types.GetSecretQuery, Types.GetSecretQueryVariables>;\nexport const DecryptSecretDocument = gql`\n query DecryptSecret($id: ID!) {\n decryptSecret(id: $id) {\n id\n name\n key\n value\n type\n }\n}\n `;\n\n/**\n * __useDecryptSecretQuery__\n *\n * To run a query within a React component, call `useDecryptSecretQuery` and pass it any options that fit your needs.\n * When your component renders, `useDecryptSecretQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useDecryptSecretQuery({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useDecryptSecretQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.DecryptSecretQuery, Types.DecryptSecretQueryVariables> & ({ variables: Types.DecryptSecretQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.DecryptSecretQuery, Types.DecryptSecretQueryVariables>(DecryptSecretDocument, options);\n }\nexport function useDecryptSecretLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.DecryptSecretQuery, Types.DecryptSecretQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.DecryptSecretQuery, Types.DecryptSecretQueryVariables>(DecryptSecretDocument, options);\n }\n// @ts-ignore\nexport function useDecryptSecretSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.DecryptSecretQuery, Types.DecryptSecretQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.DecryptSecretQuery, Types.DecryptSecretQueryVariables>;\nexport function useDecryptSecretSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.DecryptSecretQuery, Types.DecryptSecretQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.DecryptSecretQuery | undefined, Types.DecryptSecretQueryVariables>;\nexport function useDecryptSecretSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.DecryptSecretQuery, Types.DecryptSecretQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.DecryptSecretQuery, Types.DecryptSecretQueryVariables>(DecryptSecretDocument, options);\n }\nexport type DecryptSecretQueryHookResult = ReturnType<typeof useDecryptSecretQuery>;\nexport type DecryptSecretLazyQueryHookResult = ReturnType<typeof useDecryptSecretLazyQuery>;\nexport type DecryptSecretSuspenseQueryHookResult = ReturnType<typeof useDecryptSecretSuspenseQuery>;\nexport type DecryptSecretQueryResult = Apollo.QueryResult<Types.DecryptSecretQuery, Types.DecryptSecretQueryVariables>;\nexport const GetSecretVersionsDocument = gql`\n query GetSecretVersions($secretId: ID!, $pagination: SecurityPaginationInput) {\n getSecretVersionsPaginated(secretId: $secretId, pagination: $pagination) {\n items {\n id\n version\n changeReason\n createdBy\n createdAt\n }\n total\n hasMore\n }\n}\n `;\n\n/**\n * __useGetSecretVersionsQuery__\n *\n * To run a query within a React component, call `useGetSecretVersionsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetSecretVersionsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetSecretVersionsQuery({\n * variables: {\n * secretId: // value for 'secretId'\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useGetSecretVersionsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetSecretVersionsQuery, Types.GetSecretVersionsQueryVariables> & ({ variables: Types.GetSecretVersionsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetSecretVersionsQuery, Types.GetSecretVersionsQueryVariables>(GetSecretVersionsDocument, options);\n }\nexport function useGetSecretVersionsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetSecretVersionsQuery, Types.GetSecretVersionsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetSecretVersionsQuery, Types.GetSecretVersionsQueryVariables>(GetSecretVersionsDocument, options);\n }\n// @ts-ignore\nexport function useGetSecretVersionsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetSecretVersionsQuery, Types.GetSecretVersionsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetSecretVersionsQuery, Types.GetSecretVersionsQueryVariables>;\nexport function useGetSecretVersionsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetSecretVersionsQuery, Types.GetSecretVersionsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetSecretVersionsQuery | undefined, Types.GetSecretVersionsQueryVariables>;\nexport function useGetSecretVersionsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetSecretVersionsQuery, Types.GetSecretVersionsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetSecretVersionsQuery, Types.GetSecretVersionsQueryVariables>(GetSecretVersionsDocument, options);\n }\nexport type GetSecretVersionsQueryHookResult = ReturnType<typeof useGetSecretVersionsQuery>;\nexport type GetSecretVersionsLazyQueryHookResult = ReturnType<typeof useGetSecretVersionsLazyQuery>;\nexport type GetSecretVersionsSuspenseQueryHookResult = ReturnType<typeof useGetSecretVersionsSuspenseQuery>;\nexport type GetSecretVersionsQueryResult = Apollo.QueryResult<Types.GetSecretVersionsQuery, Types.GetSecretVersionsQueryVariables>;\nexport const GetSecretsDocument = gql`\n query GetSecrets($vaultId: ID!, $filter: SecretFilterInput, $pagination: SecurityPaginationInput) {\n getSecrets(vaultId: $vaultId, filter: $filter, pagination: $pagination) {\n items {\n __typename\n id\n name\n key\n status\n createdAt\n updatedAt\n versionCount\n tags\n labels {\n id\n label\n color\n createdAt\n }\n }\n total\n hasMore\n }\n}\n `;\n\n/**\n * __useGetSecretsQuery__\n *\n * To run a query within a React component, call `useGetSecretsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetSecretsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetSecretsQuery({\n * variables: {\n * vaultId: // value for 'vaultId'\n * filter: // value for 'filter'\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useGetSecretsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetSecretsQuery, Types.GetSecretsQueryVariables> & ({ variables: Types.GetSecretsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetSecretsQuery, Types.GetSecretsQueryVariables>(GetSecretsDocument, options);\n }\nexport function useGetSecretsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetSecretsQuery, Types.GetSecretsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetSecretsQuery, Types.GetSecretsQueryVariables>(GetSecretsDocument, options);\n }\n// @ts-ignore\nexport function useGetSecretsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetSecretsQuery, Types.GetSecretsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetSecretsQuery, Types.GetSecretsQueryVariables>;\nexport function useGetSecretsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetSecretsQuery, Types.GetSecretsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetSecretsQuery | undefined, Types.GetSecretsQueryVariables>;\nexport function useGetSecretsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetSecretsQuery, Types.GetSecretsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetSecretsQuery, Types.GetSecretsQueryVariables>(GetSecretsDocument, options);\n }\nexport type GetSecretsQueryHookResult = ReturnType<typeof useGetSecretsQuery>;\nexport type GetSecretsLazyQueryHookResult = ReturnType<typeof useGetSecretsLazyQuery>;\nexport type GetSecretsSuspenseQueryHookResult = ReturnType<typeof useGetSecretsSuspenseQuery>;\nexport type GetSecretsQueryResult = Apollo.QueryResult<Types.GetSecretsQuery, Types.GetSecretsQueryVariables>;\nexport const GetVaultDocument = gql`\n query GetVault($id: ID!) {\n getVault(id: $id) {\n id\n name\n description\n status\n lockedAt\n lockAfterMinutes\n secretCount\n memberCount\n membersList(pagination: {limit: 100}) {\n items {\n id\n actorId\n actorType\n role\n createdAt\n }\n total\n hasMore\n }\n createdBy\n createdAt\n updatedAt\n }\n}\n `;\n\n/**\n * __useGetVaultQuery__\n *\n * To run a query within a React component, call `useGetVaultQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetVaultQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetVaultQuery({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useGetVaultQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetVaultQuery, Types.GetVaultQueryVariables> & ({ variables: Types.GetVaultQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetVaultQuery, Types.GetVaultQueryVariables>(GetVaultDocument, options);\n }\nexport function useGetVaultLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetVaultQuery, Types.GetVaultQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetVaultQuery, Types.GetVaultQueryVariables>(GetVaultDocument, options);\n }\n// @ts-ignore\nexport function useGetVaultSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultQuery, Types.GetVaultQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetVaultQuery, Types.GetVaultQueryVariables>;\nexport function useGetVaultSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultQuery, Types.GetVaultQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetVaultQuery | undefined, Types.GetVaultQueryVariables>;\nexport function useGetVaultSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultQuery, Types.GetVaultQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetVaultQuery, Types.GetVaultQueryVariables>(GetVaultDocument, options);\n }\nexport type GetVaultQueryHookResult = ReturnType<typeof useGetVaultQuery>;\nexport type GetVaultLazyQueryHookResult = ReturnType<typeof useGetVaultLazyQuery>;\nexport type GetVaultSuspenseQueryHookResult = ReturnType<typeof useGetVaultSuspenseQuery>;\nexport type GetVaultQueryResult = Apollo.QueryResult<Types.GetVaultQuery, Types.GetVaultQueryVariables>;\nexport const GetVaultSyncLogsDocument = gql`\n query GetVaultSyncLogs($integrationId: ID!, $filter: VaultSyncLogFilterInput, $pagination: SecurityPaginationInput) {\n getVaultSyncLogs(\n integrationId: $integrationId\n filter: $filter\n pagination: $pagination\n ) {\n items {\n id\n integrationId\n status\n secretsSynced\n secretsFailed\n errorMessage\n createdBy\n startedAt\n completedAt\n durationMs\n createdAt\n }\n total\n hasMore\n }\n}\n `;\n\n/**\n * __useGetVaultSyncLogsQuery__\n *\n * To run a query within a React component, call `useGetVaultSyncLogsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetVaultSyncLogsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetVaultSyncLogsQuery({\n * variables: {\n * integrationId: // value for 'integrationId'\n * filter: // value for 'filter'\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useGetVaultSyncLogsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetVaultSyncLogsQuery, Types.GetVaultSyncLogsQueryVariables> & ({ variables: Types.GetVaultSyncLogsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetVaultSyncLogsQuery, Types.GetVaultSyncLogsQueryVariables>(GetVaultSyncLogsDocument, options);\n }\nexport function useGetVaultSyncLogsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetVaultSyncLogsQuery, Types.GetVaultSyncLogsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetVaultSyncLogsQuery, Types.GetVaultSyncLogsQueryVariables>(GetVaultSyncLogsDocument, options);\n }\n// @ts-ignore\nexport function useGetVaultSyncLogsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultSyncLogsQuery, Types.GetVaultSyncLogsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetVaultSyncLogsQuery, Types.GetVaultSyncLogsQueryVariables>;\nexport function useGetVaultSyncLogsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultSyncLogsQuery, Types.GetVaultSyncLogsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetVaultSyncLogsQuery | undefined, Types.GetVaultSyncLogsQueryVariables>;\nexport function useGetVaultSyncLogsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultSyncLogsQuery, Types.GetVaultSyncLogsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetVaultSyncLogsQuery, Types.GetVaultSyncLogsQueryVariables>(GetVaultSyncLogsDocument, options);\n }\nexport type GetVaultSyncLogsQueryHookResult = ReturnType<typeof useGetVaultSyncLogsQuery>;\nexport type GetVaultSyncLogsLazyQueryHookResult = ReturnType<typeof useGetVaultSyncLogsLazyQuery>;\nexport type GetVaultSyncLogsSuspenseQueryHookResult = ReturnType<typeof useGetVaultSyncLogsSuspenseQuery>;\nexport type GetVaultSyncLogsQueryResult = Apollo.QueryResult<Types.GetVaultSyncLogsQuery, Types.GetVaultSyncLogsQueryVariables>;\nexport const GetVaultWithSecretsDocument = gql`\n query GetVaultWithSecrets($id: ID!, $filter: SecretFilterInput, $pagination: SecurityPaginationInput) {\n getVault(id: $id) {\n __typename\n id\n name\n description\n status\n createdAt\n updatedAt\n secretCount\n memberCount\n lastAccessedAt\n lockAfterMinutes\n lockedAt\n membersList(pagination: {limit: 100}) {\n items {\n id\n actorId\n actorType\n role\n createdAt\n }\n total\n hasMore\n }\n }\n getSecrets(vaultId: $id, filter: $filter, pagination: $pagination) {\n items {\n __typename\n id\n name\n key\n status\n createdAt\n updatedAt\n versionCount\n tags\n labels {\n id\n label\n color\n createdAt\n }\n }\n total\n hasMore\n }\n}\n `;\n\n/**\n * __useGetVaultWithSecretsQuery__\n *\n * To run a query within a React component, call `useGetVaultWithSecretsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetVaultWithSecretsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetVaultWithSecretsQuery({\n * variables: {\n * id: // value for 'id'\n * filter: // value for 'filter'\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useGetVaultWithSecretsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetVaultWithSecretsQuery, Types.GetVaultWithSecretsQueryVariables> & ({ variables: Types.GetVaultWithSecretsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetVaultWithSecretsQuery, Types.GetVaultWithSecretsQueryVariables>(GetVaultWithSecretsDocument, options);\n }\nexport function useGetVaultWithSecretsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetVaultWithSecretsQuery, Types.GetVaultWithSecretsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetVaultWithSecretsQuery, Types.GetVaultWithSecretsQueryVariables>(GetVaultWithSecretsDocument, options);\n }\n// @ts-ignore\nexport function useGetVaultWithSecretsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultWithSecretsQuery, Types.GetVaultWithSecretsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetVaultWithSecretsQuery, Types.GetVaultWithSecretsQueryVariables>;\nexport function useGetVaultWithSecretsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultWithSecretsQuery, Types.GetVaultWithSecretsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetVaultWithSecretsQuery | undefined, Types.GetVaultWithSecretsQueryVariables>;\nexport function useGetVaultWithSecretsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultWithSecretsQuery, Types.GetVaultWithSecretsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetVaultWithSecretsQuery, Types.GetVaultWithSecretsQueryVariables>(GetVaultWithSecretsDocument, options);\n }\nexport type GetVaultWithSecretsQueryHookResult = ReturnType<typeof useGetVaultWithSecretsQuery>;\nexport type GetVaultWithSecretsLazyQueryHookResult = ReturnType<typeof useGetVaultWithSecretsLazyQuery>;\nexport type GetVaultWithSecretsSuspenseQueryHookResult = ReturnType<typeof useGetVaultWithSecretsSuspenseQuery>;\nexport type GetVaultWithSecretsQueryResult = Apollo.QueryResult<Types.GetVaultWithSecretsQuery, Types.GetVaultWithSecretsQueryVariables>;\nexport const GetVaultsDocument = gql`\n query GetVaults($filter: VaultFilterInput, $pagination: SecurityPaginationInput) {\n getVaults(filter: $filter, pagination: $pagination) {\n items {\n __typename\n id\n name\n description\n status\n createdAt\n updatedAt\n secretCount\n memberCount\n lastAccessedAt\n lockAfterMinutes\n lockedAt\n }\n total\n hasMore\n }\n}\n `;\n\n/**\n * __useGetVaultsQuery__\n *\n * To run a query within a React component, call `useGetVaultsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetVaultsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetVaultsQuery({\n * variables: {\n * filter: // value for 'filter'\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useGetVaultsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetVaultsQuery, Types.GetVaultsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetVaultsQuery, Types.GetVaultsQueryVariables>(GetVaultsDocument, options);\n }\nexport function useGetVaultsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetVaultsQuery, Types.GetVaultsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetVaultsQuery, Types.GetVaultsQueryVariables>(GetVaultsDocument, options);\n }\n// @ts-ignore\nexport function useGetVaultsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultsQuery, Types.GetVaultsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetVaultsQuery, Types.GetVaultsQueryVariables>;\nexport function useGetVaultsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultsQuery, Types.GetVaultsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetVaultsQuery | undefined, Types.GetVaultsQueryVariables>;\nexport function useGetVaultsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultsQuery, Types.GetVaultsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetVaultsQuery, Types.GetVaultsQueryVariables>(GetVaultsDocument, options);\n }\nexport type GetVaultsQueryHookResult = ReturnType<typeof useGetVaultsQuery>;\nexport type GetVaultsLazyQueryHookResult = ReturnType<typeof useGetVaultsLazyQuery>;\nexport type GetVaultsSuspenseQueryHookResult = ReturnType<typeof useGetVaultsSuspenseQuery>;\nexport type GetVaultsQueryResult = Apollo.QueryResult<Types.GetVaultsQuery, Types.GetVaultsQueryVariables>;\nexport const SecurityVaultEventsDocument = gql`\n subscription SecurityVaultEvents($workspaceId: String!) {\n securityVaultEvents(workspaceId: $workspaceId) {\n __typename\n vault {\n __typename\n id\n name\n description\n status\n createdAt\n updatedAt\n secretCount\n memberCount\n lastAccessedAt\n lockAfterMinutes\n lockedAt\n }\n workspaceId\n }\n}\n `;\n\n/**\n * __useSecurityVaultEventsSubscription__\n *\n * To run a query within a React component, call `useSecurityVaultEventsSubscription` and pass it any options that fit your needs.\n * When your component renders, `useSecurityVaultEventsSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useSecurityVaultEventsSubscription({\n * variables: {\n * workspaceId: // value for 'workspaceId'\n * },\n * });\n */\nexport function useSecurityVaultEventsSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.SecurityVaultEventsSubscription, Types.SecurityVaultEventsSubscriptionVariables> & ({ variables: Types.SecurityVaultEventsSubscriptionVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.SecurityVaultEventsSubscription, Types.SecurityVaultEventsSubscriptionVariables>(SecurityVaultEventsDocument, options);\n }\nexport type SecurityVaultEventsSubscriptionHookResult = ReturnType<typeof useSecurityVaultEventsSubscription>;\nexport type SecurityVaultEventsSubscriptionResult = Apollo.SubscriptionResult<Types.SecurityVaultEventsSubscription>;\nexport const SecuritySecretEventsDocument = gql`\n subscription SecuritySecretEvents($workspaceId: String!) {\n securitySecretEvents(workspaceId: $workspaceId) {\n __typename\n secret {\n __typename\n id\n vaultId\n name\n description\n key\n type\n version\n isLatest\n status\n tags\n expiresAt\n lastRotatedAt\n accessCount\n lastAccessedAt\n isEphemeral\n maxAccessCount\n ephemeralExpiresAt\n createdBy\n workspaceId\n tenantId\n createdAt\n updatedAt\n deletedAt\n labels {\n __typename\n id\n label\n color\n createdAt\n }\n versionCount\n }\n vaultId\n workspaceId\n }\n}\n `;\n\n/**\n * __useSecuritySecretEventsSubscription__\n *\n * To run a query within a React component, call `useSecuritySecretEventsSubscription` and pass it any options that fit your needs.\n * When your component renders, `useSecuritySecretEventsSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useSecuritySecretEventsSubscription({\n * variables: {\n * workspaceId: // value for 'workspaceId'\n * },\n * });\n */\nexport function useSecuritySecretEventsSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.SecuritySecretEventsSubscription, Types.SecuritySecretEventsSubscriptionVariables> & ({ variables: Types.SecuritySecretEventsSubscriptionVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.SecuritySecretEventsSubscription, Types.SecuritySecretEventsSubscriptionVariables>(SecuritySecretEventsDocument, options);\n }\nexport type SecuritySecretEventsSubscriptionHookResult = ReturnType<typeof useSecuritySecretEventsSubscription>;\nexport type SecuritySecretEventsSubscriptionResult = Apollo.SubscriptionResult<Types.SecuritySecretEventsSubscription>;\nexport const SecurityMemberEventsDocument = gql`\n subscription SecurityMemberEvents($workspaceId: String!) {\n securityMemberEvents(workspaceId: $workspaceId) {\n __typename\n member {\n __typename\n id\n vaultId\n actorId\n actorType\n role\n createdBy\n createdAt\n updatedAt\n expiresAt\n }\n vaultId\n workspaceId\n }\n}\n `;\n\n/**\n * __useSecurityMemberEventsSubscription__\n *\n * To run a query within a React component, call `useSecurityMemberEventsSubscription` and pass it any options that fit your needs.\n * When your component renders, `useSecurityMemberEventsSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useSecurityMemberEventsSubscription({\n * variables: {\n * workspaceId: // value for 'workspaceId'\n * },\n * });\n */\nexport function useSecurityMemberEventsSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.SecurityMemberEventsSubscription, Types.SecurityMemberEventsSubscriptionVariables> & ({ variables: Types.SecurityMemberEventsSubscriptionVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.SecurityMemberEventsSubscription, Types.SecurityMemberEventsSubscriptionVariables>(SecurityMemberEventsDocument, options);\n }\nexport type SecurityMemberEventsSubscriptionHookResult = ReturnType<typeof useSecurityMemberEventsSubscription>;\nexport type SecurityMemberEventsSubscriptionResult = Apollo.SubscriptionResult<Types.SecurityMemberEventsSubscription>;"],"mappings":";;;AAMA,IAAM,IAAiB,EAAE,EA+PZ,IAA4B,CAAG;;;;;AAwB5C,SAAgB,EAA6B,GAA+H;CACpK,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAuF,GAA2B,EAAQ;;AAK1J,IAAa,IAA0B,CAAG;;;;;;;;AA4B1C,SAAgB,EAA2B,GAA2H;CAC9J,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAmF,GAAyB,EAAQ;;AAKpJ,IAAa,IAA2B,CAAG;;;;;;;;;;;;AAiC3C,SAAgB,EAA4B,GAA6H;CACjK,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAqF,GAA0B,EAAQ;;AAKvJ,IAAa,IAAuB,CAAG;;;;;;;;;;;;AA+BvC,SAAgB,EAAwB,GAAqH;CACrJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA6E,GAAsB,EAAQ;;AAK3I,IAAa,IAAsB,CAAG;;;;;;;;;;AA6BtC,SAAgB,EAAuB,GAAmH;CAClJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA2E,GAAqB,EAAQ;;AAKxI,IAAa,IAAuB,CAAG;;;;;AAwBvC,SAAgB,EAAwB,GAAqH;CACrJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA6E,GAAsB,EAAQ;;AAK3I,IAAa,IAAsB,CAAG;;;;;AAwBtC,SAAgB,EAAuB,GAAmH;CAClJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA2E,GAAqB,EAAQ;;AAKxI,IAAa,IAA4B,CAAG;;;;;;;;;AA4B5C,SAAgB,EAA6B,GAA+H;CACpK,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAuF,GAA2B,EAAQ;;AAK1J,IAAa,IAAoB,CAAG;;;;;;;;;AA4BpC,SAAgB,EAAqB,GAA+G;CAC5I,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAuE,GAAmB,EAAQ;;AAKlI,IAAa,IAAqB,CAAG;;;;;;;;;;AA6BrC,SAAgB,EAAsB,GAAiH;CAC/I,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAyE,GAAoB,EAAQ;;AAKrI,IAAa,IAAuB,CAAG;;;;;AA0BvC,SAAgB,EAAwB,GAAqH;CACrJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA6E,GAAsB,EAAQ;;AAK3I,IAAa,IAAgC,CAAG;;;;;;;;;;;;;AAmChD,SAAgB,EAAiC,GAAuI;CAChL,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA+F,GAA+B,EAAQ;;AAKxH,CAAG;;;;;;;;;AAmCjD,IAAa,IAAiC,CAAG;;;;;AAwBjD,SAAgB,EAAkC,GAAyI;CACnL,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAiG,GAAgC,EAAQ;;AAKzK,IAAa,IAA2B,CAAG;;;;;;;;;AA4B3C,SAAgB,EAA4B,GAA6H;CACjK,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAqF,GAA0B,EAAQ;;AAKvJ,IAAa,KAAyB,CAAG;;;;;;;;AA4BzC,SAAgB,EAA0B,GAAyH;CAC3J,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAiF,IAAwB,EAAQ;;AAKjJ,IAAa,IAAuB,CAAG;;;;;;;;;AA6BvC,SAAgB,EAAwB,GAAqH;CACrJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA6E,GAAsB,EAAQ;;AAK3I,IAAa,IAAsB,CAAG;;;;;;;;AA2BtC,SAAgB,EAAuB,GAAmH;CAClJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA2E,GAAqB,EAAQ;;AAKpG,CAAG;;;;;;;;;;;AAsCvC,IAAa,IAAsB,CAAG;;;;;;;;;AA6BtC,SAAgB,EAAuB,GAAmH;CAClJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA2E,GAAqB,EAAQ;;AAKxI,IAAa,IAA4B,CAAG;;;;;;;;;;;;;;;;;;AAoC5C,SAAgB,EAA0B,GAAsH;CACxJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,SAA8E,GAA2B,EAAQ;;AAiBjJ,IAAa,IAA+B,CAAG;;;;;;;;;;;;;;;;;;;AAqC/C,SAAgB,EAA6B,GAA8N;CACnQ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,SAAoF,GAA8B,EAAQ;;AAiB1J,IAAa,IAAoB,CAAG;;;;;;;;;;;;;;;;;;;;;;;;AAyCpC,SAAgB,EAAkB,GAA6L;CACvN,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,SAA8D,GAAmB,EAAQ;;AAiBzH,IAAa,IAAwB,CAAG;;;;;;;;;;;AAgCxC,SAAgB,EAA0B,GAAkH;CAClJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,aAA0E,GAAuB,EAAQ;;AAa3I,IAAa,IAA4B,CAAG;;;;;;;;;;;;;;;AAiC5C,SAAgB,EAA0B,GAAqN;CACvP,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,SAA8E,GAA2B,EAAQ;;AAiBjJ,IAAa,IAAqB,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;AA4CrC,SAAgB,EAAmB,GAAgM;CAC3N,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,SAAgE,GAAoB,EAAQ;;AAiB5H,IAAa,IAAmB,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CnC,SAAgB,EAAiB,GAA0L;CACnN,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,SAA4D,GAAkB,EAAQ;;AAiBtH,IAAa,IAA2B,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;AA4C3C,SAAgB,EAAyB,GAAkN;CACnP,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,SAA4E,GAA0B,EAAQ;;AAiB9I,IAAa,KAA8B,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqE9C,SAAgB,GAA4B,GAA2N;CAC/P,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,SAAkF,IAA6B,EAAQ;;AAiBvJ,IAAa,KAAoB,CAAG;;;;;;;;;;;;;;;;;;;;;;AAwCpC,SAAgB,GAAkB,GAAsG;CAChI,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,SAA8D,IAAmB,EAAQ;;AAiBzH,IAAa,KAA8B,CAAG;;;;;;;;;;;;;;;;;;;;;OA6CjC,KAA+B,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkElC,KAA+B,CAAG"}
1
+ {"version":3,"file":"wspace-operations.js","names":[],"sources":["../../src/generated/wspace-operations.ts"],"sourcesContent":["// @ts-nocheck\nimport * as Types from './wspace-types';\n\nimport { gql } from '@apollo/client';\nimport * as Apollo from '@apollo/client';\nimport * as ApolloReactHooks from '@apollo/client/react';\nconst defaultOptions = {} as const;\nexport type BulkDeleteSecretsMutationVariables = Types.Exact<{\n ids: Array<Types.Scalars['ID']['input']> | Types.Scalars['ID']['input'];\n}>;\n\n\nexport type BulkDeleteSecretsMutation = { __typename?: 'Mutation', bulkDeleteSecrets: boolean };\n\nexport type BulkMoveSecretsMutationVariables = Types.Exact<{\n ids: Array<Types.Scalars['ID']['input']> | Types.Scalars['ID']['input'];\n targetVaultId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type BulkMoveSecretsMutation = { __typename?: 'Mutation', bulkMoveSecrets: Array<{ __typename?: 'Secret', id: string, vaultId: string }> };\n\nexport type BulkLabelSecretsMutationVariables = Types.Exact<{\n ids: Array<Types.Scalars['ID']['input']> | Types.Scalars['ID']['input'];\n label: Types.Scalars['String']['input'];\n color?: Types.InputMaybe<Types.Scalars['String']['input']>;\n}>;\n\n\nexport type BulkLabelSecretsMutation = { __typename?: 'Mutation', bulkLabelSecrets: Array<{ __typename?: 'Secret', id: string, labels?: Array<{ __typename?: 'SecretLabel', id: string, label: string, color?: string | null }> | null }> };\n\nexport type CreateSecretMutationVariables = Types.Exact<{\n input: Types.CreateSecretInput;\n}>;\n\n\nexport type CreateSecretMutation = { __typename?: 'Mutation', createSecret: { __typename?: 'Secret', id: string, name: string, key: string, type: Types.SecretType, status: Types.SecretStatus, createdAt: string } };\n\nexport type CreateVaultMutationVariables = Types.Exact<{\n input: Types.CreateVaultInput;\n}>;\n\n\nexport type CreateVaultMutation = { __typename?: 'Mutation', createVault: { __typename?: 'Vault', id: string, name: string, description?: string | null, status: Types.VaultStatus } };\n\nexport type DeleteSecretMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type DeleteSecretMutation = { __typename?: 'Mutation', deleteSecret: boolean };\n\nexport type DeleteVaultMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type DeleteVaultMutation = { __typename?: 'Mutation', deleteVault: boolean };\n\nexport type BulkCreateSecretsMutationVariables = Types.Exact<{\n input: Types.BulkCreateSecretsInput;\n}>;\n\n\nexport type BulkCreateSecretsMutation = { __typename?: 'Mutation', bulkCreateSecrets: { __typename?: 'SecretImportResult', imported: number, skipped: number, errors: Array<string> } };\n\nexport type LockVaultMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type LockVaultMutation = { __typename?: 'Mutation', lockVault: { __typename?: 'Vault', id: string, status: Types.VaultStatus, lockedAt?: string | null } };\n\nexport type ShareVaultMutationVariables = Types.Exact<{\n input: Types.ShareVaultInput;\n}>;\n\n\nexport type ShareVaultMutation = { __typename?: 'Mutation', shareVault: { __typename?: 'VaultMember', id: string, actorId: string, actorType: string, role: Types.VaultMemberRole } };\n\nexport type UnshareVaultMutationVariables = Types.Exact<{\n vaultId: Types.Scalars['ID']['input'];\n actorId: Types.Scalars['String']['input'];\n actorType: Types.Scalars['String']['input'];\n}>;\n\n\nexport type UnshareVaultMutation = { __typename?: 'Mutation', unshareVault: boolean };\n\nexport type UpdateVaultMemberRoleMutationVariables = Types.Exact<{\n vaultId: Types.Scalars['ID']['input'];\n actorId: Types.Scalars['String']['input'];\n actorType: Types.Scalars['String']['input'];\n role: Types.VaultMemberRole;\n}>;\n\n\nexport type UpdateVaultMemberRoleMutation = { __typename?: 'Mutation', updateVaultMemberRole: { __typename?: 'VaultMember', id: string, role: Types.VaultMemberRole } };\n\nexport type CreateVaultIntegrationMutationVariables = Types.Exact<{\n input: Types.CreateVaultIntegrationInput;\n}>;\n\n\nexport type CreateVaultIntegrationMutation = { __typename?: 'Mutation', createVaultIntegration: { __typename?: 'VaultIntegration', id: string, providerType: Types.ExternalProviderType, displayName: string } };\n\nexport type DeleteVaultIntegrationMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type DeleteVaultIntegrationMutation = { __typename?: 'Mutation', deleteVaultIntegration: boolean };\n\nexport type TriggerVaultSyncMutationVariables = Types.Exact<{\n integrationId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type TriggerVaultSyncMutation = { __typename?: 'Mutation', triggerVaultSync: { __typename?: 'VaultSyncLog', id: string, status: Types.VaultSyncStatus, secretsSynced: number } };\n\nexport type RollbackSecretMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n version: Types.Scalars['Int']['input'];\n}>;\n\n\nexport type RollbackSecretMutation = { __typename?: 'Mutation', rollbackSecret: { __typename?: 'Secret', id: string, status: Types.SecretStatus } };\n\nexport type RotateSecretMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n newValue: Types.Scalars['String']['input'];\n}>;\n\n\nexport type RotateSecretMutation = { __typename?: 'Mutation', rotateSecret: { __typename?: 'Secret', id: string, status: Types.SecretStatus, lastRotatedAt?: string | null } };\n\nexport type UnlockVaultMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type UnlockVaultMutation = { __typename?: 'Mutation', unlockVault: { __typename?: 'Vault', id: string, status: Types.VaultStatus } };\n\nexport type UpdateSecretMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n input: Types.UpdateSecretInput;\n}>;\n\n\nexport type UpdateSecretMutation = { __typename?: 'Mutation', updateSecret: { __typename?: 'Secret', id: string, name: string, key: string, status: Types.SecretStatus, updatedAt: string } };\n\nexport type UpdateVaultMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n input: Types.UpdateVaultInput;\n}>;\n\n\nexport type UpdateVaultMutation = { __typename?: 'Mutation', updateVault: { __typename?: 'Vault', id: string, name: string, description?: string | null } };\n\nexport type GetVaultAuditLogsQueryVariables = Types.Exact<{\n filter?: Types.InputMaybe<Types.VaultAuditLogFilterInput>;\n pagination?: Types.InputMaybe<Types.SecurityPaginationInput>;\n}>;\n\n\nexport type GetVaultAuditLogsQuery = { __typename?: 'Query', getVaultAuditLogs: { __typename?: 'VaultAuditLogList', total: number, hasMore: boolean, items: Array<{ __typename?: 'VaultAuditLog', id: string, entityId?: string | null, entityType: string, action: string, metadata?: Record<string, unknown> | null, actorId: string, actorType: string, timestamp: string }> } };\n\nexport type GetVaultIntegrationsQueryVariables = Types.Exact<{\n vaultId: Types.Scalars['ID']['input'];\n pagination?: Types.InputMaybe<Types.SecurityPaginationInput>;\n}>;\n\n\nexport type GetVaultIntegrationsQuery = { __typename?: 'Query', getVaultIntegrations: { __typename?: 'VaultIntegrationList', total: number, hasMore: boolean, items: Array<{ __typename?: 'VaultIntegration', id: string, vaultId: string, providerType: Types.ExternalProviderType, displayName: string, syncDirection: Types.SyncDirection, syncEnabled: boolean, syncIntervalMinutes: number, lastSyncAt?: string | null, createdAt: string }> } };\n\nexport type GetSecretQueryVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type GetSecretQuery = { __typename?: 'Query', getSecret?: { __typename?: 'Secret', id: string, vaultId: string, name: string, key: string, description?: string | null, type: Types.SecretType, status: Types.SecretStatus, expiresAt?: string | null, lastRotatedAt?: string | null, versionCount: number, createdBy: string, createdAt: string, updatedAt: string, labels?: Array<{ __typename?: 'SecretLabel', id: string, label: string, color?: string | null }> | null } | null };\n\nexport type DecryptSecretQueryVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type DecryptSecretQuery = { __typename?: 'Query', decryptSecret?: { __typename?: 'DecryptedSecret', id: string, name: string, key: string, value: string, type: Types.SecretType } | null };\n\nexport type GetSecretVersionsQueryVariables = Types.Exact<{\n secretId: Types.Scalars['ID']['input'];\n pagination?: Types.InputMaybe<Types.SecurityPaginationInput>;\n}>;\n\n\nexport type GetSecretVersionsQuery = { __typename?: 'Query', getSecretVersionsPaginated: { __typename?: 'SecretVersionList', total: number, hasMore: boolean, items: Array<{ __typename?: 'SecretVersion', id: string, version: number, changeReason?: string | null, createdBy: string, createdAt: string }> } };\n\nexport type GetSecretsQueryVariables = Types.Exact<{\n vaultId: Types.Scalars['ID']['input'];\n filter?: Types.InputMaybe<Types.SecretFilterInput>;\n pagination?: Types.InputMaybe<Types.SecurityPaginationInput>;\n}>;\n\n\nexport type GetSecretsQuery = { __typename?: 'Query', getSecrets: { __typename?: 'SecretList', total: number, hasMore: boolean, items: Array<{ __typename: 'Secret', key: string, tags: Array<string>, id: string, vaultId: string, name: string, description?: string | null, type: Types.SecretType, status: Types.SecretStatus, expiresAt?: string | null, lastRotatedAt?: string | null, versionCount: number, createdBy: string, createdAt: string, updatedAt: string, labels?: Array<{ __typename?: 'SecretLabel', id: string, label: string, color?: string | null }> | null }> } };\n\nexport type GetVaultQueryVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type GetVaultQuery = { __typename?: 'Query', getVault?: { __typename?: 'Vault', id: string, name: string, description?: string | null, status: Types.VaultStatus, lockedAt?: string | null, lockAfterMinutes?: number | null, secretCount: number, memberCount: number, createdBy: string, createdAt: string, updatedAt: string, membersList: { __typename?: 'VaultMemberList', total: number, hasMore: boolean, items: Array<{ __typename?: 'VaultMember', id: string, actorId: string, actorType: string, role: Types.VaultMemberRole, createdAt: string }> } } | null };\n\nexport type GetVaultSyncLogsQueryVariables = Types.Exact<{\n integrationId: Types.Scalars['ID']['input'];\n filter?: Types.InputMaybe<Types.VaultSyncLogFilterInput>;\n pagination?: Types.InputMaybe<Types.SecurityPaginationInput>;\n}>;\n\n\nexport type GetVaultSyncLogsQuery = { __typename?: 'Query', getVaultSyncLogs: { __typename?: 'VaultSyncLogList', total: number, hasMore: boolean, items: Array<{ __typename?: 'VaultSyncLog', id: string, integrationId: string, status: Types.VaultSyncStatus, secretsSynced: number, secretsFailed: number, errorMessage?: string | null, createdBy: string, startedAt: string, completedAt?: string | null, durationMs?: number | null, createdAt: string }> } };\n\nexport type GetVaultWithSecretsQueryVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n filter?: Types.InputMaybe<Types.SecretFilterInput>;\n pagination?: Types.InputMaybe<Types.SecurityPaginationInput>;\n}>;\n\n\nexport type GetVaultWithSecretsQuery = { __typename?: 'Query', getVault?: { __typename: 'Vault', id: string, name: string, description?: string | null, status: Types.VaultStatus, createdAt: string, updatedAt: string, secretCount: number, memberCount: number, lastAccessedAt?: string | null, lockAfterMinutes?: number | null, lockedAt?: string | null, membersList: { __typename?: 'VaultMemberList', total: number, hasMore: boolean, items: Array<{ __typename?: 'VaultMember', id: string, actorId: string, actorType: string, role: Types.VaultMemberRole, createdAt: string }> } } | null, getSecrets: { __typename?: 'SecretList', total: number, hasMore: boolean, items: Array<{ __typename: 'Secret', key: string, tags: Array<string>, id: string, vaultId: string, name: string, description?: string | null, type: Types.SecretType, status: Types.SecretStatus, expiresAt?: string | null, lastRotatedAt?: string | null, versionCount: number, createdBy: string, createdAt: string, updatedAt: string, labels?: Array<{ __typename?: 'SecretLabel', id: string, label: string, color?: string | null }> | null }> } };\n\nexport type GetVaultsQueryVariables = Types.Exact<{\n filter?: Types.InputMaybe<Types.VaultFilterInput>;\n pagination?: Types.InputMaybe<Types.SecurityPaginationInput>;\n}>;\n\n\nexport type GetVaultsQuery = { __typename?: 'Query', getVaults: { __typename?: 'VaultList', total: number, hasMore: boolean, items: Array<{ __typename: 'Vault', id: string, name: string, description?: string | null, status: Types.VaultStatus, createdAt: string, updatedAt: string, secretCount: number, memberCount: number, lastAccessedAt?: string | null, lockAfterMinutes?: number | null, lockedAt?: string | null }> } };\n\nexport type SecurityVaultEventsSubscriptionVariables = Types.Exact<{\n workspaceId: Types.Scalars['String']['input'];\n}>;\n\n\nexport type SecurityVaultEventsSubscription = { __typename?: 'Subscription', securityVaultEvents?: { __typename: 'VaultCreatedPayload', workspaceId: string, vault: { __typename: 'Vault', id: string, name: string, description?: string | null, status: Types.VaultStatus, createdAt: string, updatedAt: string, secretCount: number, memberCount: number, lastAccessedAt?: string | null, lockAfterMinutes?: number | null, lockedAt?: string | null } } | null };\n\nexport type SecuritySecretEventsSubscriptionVariables = Types.Exact<{\n workspaceId: Types.Scalars['String']['input'];\n}>;\n\n\nexport type SecuritySecretEventsSubscription = { __typename?: 'Subscription', securitySecretEvents?: { __typename: 'SecretCreatedPayload', vaultId: string, workspaceId: string, secret: { __typename: 'Secret', id: string, vaultId: string, name: string, description?: string | null, key: string, type: Types.SecretType, version: number, isLatest: boolean, status: Types.SecretStatus, tags: Array<string>, expiresAt?: string | null, lastRotatedAt?: string | null, accessCount: number, lastAccessedAt?: string | null, isEphemeral: boolean, maxAccessCount?: number | null, ephemeralExpiresAt?: string | null, createdBy: string, workspaceId: string, tenantId?: string | null, createdAt: string, updatedAt: string, deletedAt?: string | null, versionCount: number, labels?: Array<{ __typename: 'SecretLabel', id: string, label: string, color?: string | null, createdAt: string }> | null } } | null };\n\nexport type SecurityMemberEventsSubscriptionVariables = Types.Exact<{\n workspaceId: Types.Scalars['String']['input'];\n}>;\n\n\nexport type SecurityMemberEventsSubscription = { __typename?: 'Subscription', securityMemberEvents?: { __typename: 'MemberAddedPayload', vaultId: string, workspaceId: string, member: { __typename: 'VaultMember', id: string, vaultId: string, actorId: string, actorType: string, role: Types.VaultMemberRole, createdBy: string, createdAt: string, updatedAt: string, expiresAt?: string | null } } | null };\n\nexport type SecretRow_SecretFragment = { __typename?: 'Secret', id: string, vaultId: string, name: string, description?: string | null, type: Types.SecretType, status: Types.SecretStatus, expiresAt?: string | null, lastRotatedAt?: string | null, versionCount: number, createdBy: string, createdAt: string, updatedAt: string, labels?: Array<{ __typename?: 'SecretLabel', id: string, label: string, color?: string | null }> | null };\n\nexport type VaultCard_VaultFragment = { __typename?: 'Vault', id: string, name: string, description?: string | null, status: Types.VaultStatus, lockedAt?: string | null, lockAfterMinutes?: number | null, secretCount: number, memberCount: number, createdBy: string, createdAt: string, updatedAt: string };\n\nexport const SecretRow_SecretFragmentDoc = gql`\n fragment SecretRow_Secret on Secret {\n id\n vaultId\n name\n description\n type\n status\n expiresAt\n lastRotatedAt\n labels {\n id\n label\n color\n }\n versionCount\n createdBy\n createdAt\n updatedAt\n}\n `;\nexport const VaultCard_VaultFragmentDoc = gql`\n fragment VaultCard_Vault on Vault {\n id\n name\n description\n status\n lockedAt\n lockAfterMinutes\n secretCount\n memberCount\n createdBy\n createdAt\n updatedAt\n}\n `;\nexport const BulkDeleteSecretsDocument = gql`\n mutation BulkDeleteSecrets($ids: [ID!]!) {\n bulkDeleteSecrets(ids: $ids)\n}\n `;\nexport type BulkDeleteSecretsMutationFn = Apollo.MutationFunction<Types.BulkDeleteSecretsMutation, Types.BulkDeleteSecretsMutationVariables>;\n\n/**\n * __useBulkDeleteSecretsMutation__\n *\n * To run a mutation, you first call `useBulkDeleteSecretsMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useBulkDeleteSecretsMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [bulkDeleteSecretsMutation, { data, loading, error }] = useBulkDeleteSecretsMutation({\n * variables: {\n * ids: // value for 'ids'\n * },\n * });\n */\nexport function useBulkDeleteSecretsMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.BulkDeleteSecretsMutation, Types.BulkDeleteSecretsMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.BulkDeleteSecretsMutation, Types.BulkDeleteSecretsMutationVariables>(BulkDeleteSecretsDocument, options);\n }\nexport type BulkDeleteSecretsMutationHookResult = ReturnType<typeof useBulkDeleteSecretsMutation>;\nexport type BulkDeleteSecretsMutationResult = Apollo.MutationResult<Types.BulkDeleteSecretsMutation>;\nexport type BulkDeleteSecretsMutationOptions = Apollo.BaseMutationOptions<Types.BulkDeleteSecretsMutation, Types.BulkDeleteSecretsMutationVariables>;\nexport const BulkMoveSecretsDocument = gql`\n mutation BulkMoveSecrets($ids: [ID!]!, $targetVaultId: ID!) {\n bulkMoveSecrets(ids: $ids, targetVaultId: $targetVaultId) {\n id\n vaultId\n }\n}\n `;\nexport type BulkMoveSecretsMutationFn = Apollo.MutationFunction<Types.BulkMoveSecretsMutation, Types.BulkMoveSecretsMutationVariables>;\n\n/**\n * __useBulkMoveSecretsMutation__\n *\n * To run a mutation, you first call `useBulkMoveSecretsMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useBulkMoveSecretsMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [bulkMoveSecretsMutation, { data, loading, error }] = useBulkMoveSecretsMutation({\n * variables: {\n * ids: // value for 'ids'\n * targetVaultId: // value for 'targetVaultId'\n * },\n * });\n */\nexport function useBulkMoveSecretsMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.BulkMoveSecretsMutation, Types.BulkMoveSecretsMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.BulkMoveSecretsMutation, Types.BulkMoveSecretsMutationVariables>(BulkMoveSecretsDocument, options);\n }\nexport type BulkMoveSecretsMutationHookResult = ReturnType<typeof useBulkMoveSecretsMutation>;\nexport type BulkMoveSecretsMutationResult = Apollo.MutationResult<Types.BulkMoveSecretsMutation>;\nexport type BulkMoveSecretsMutationOptions = Apollo.BaseMutationOptions<Types.BulkMoveSecretsMutation, Types.BulkMoveSecretsMutationVariables>;\nexport const BulkLabelSecretsDocument = gql`\n mutation BulkLabelSecrets($ids: [ID!]!, $label: String!, $color: String) {\n bulkLabelSecrets(ids: $ids, label: $label, color: $color) {\n id\n labels {\n id\n label\n color\n }\n }\n}\n `;\nexport type BulkLabelSecretsMutationFn = Apollo.MutationFunction<Types.BulkLabelSecretsMutation, Types.BulkLabelSecretsMutationVariables>;\n\n/**\n * __useBulkLabelSecretsMutation__\n *\n * To run a mutation, you first call `useBulkLabelSecretsMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useBulkLabelSecretsMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [bulkLabelSecretsMutation, { data, loading, error }] = useBulkLabelSecretsMutation({\n * variables: {\n * ids: // value for 'ids'\n * label: // value for 'label'\n * color: // value for 'color'\n * },\n * });\n */\nexport function useBulkLabelSecretsMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.BulkLabelSecretsMutation, Types.BulkLabelSecretsMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.BulkLabelSecretsMutation, Types.BulkLabelSecretsMutationVariables>(BulkLabelSecretsDocument, options);\n }\nexport type BulkLabelSecretsMutationHookResult = ReturnType<typeof useBulkLabelSecretsMutation>;\nexport type BulkLabelSecretsMutationResult = Apollo.MutationResult<Types.BulkLabelSecretsMutation>;\nexport type BulkLabelSecretsMutationOptions = Apollo.BaseMutationOptions<Types.BulkLabelSecretsMutation, Types.BulkLabelSecretsMutationVariables>;\nexport const CreateSecretDocument = gql`\n mutation CreateSecret($input: CreateSecretInput!) {\n createSecret(input: $input) {\n id\n name\n key\n type\n status\n createdAt\n }\n}\n `;\nexport type CreateSecretMutationFn = Apollo.MutationFunction<Types.CreateSecretMutation, Types.CreateSecretMutationVariables>;\n\n/**\n * __useCreateSecretMutation__\n *\n * To run a mutation, you first call `useCreateSecretMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useCreateSecretMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [createSecretMutation, { data, loading, error }] = useCreateSecretMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useCreateSecretMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateSecretMutation, Types.CreateSecretMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.CreateSecretMutation, Types.CreateSecretMutationVariables>(CreateSecretDocument, options);\n }\nexport type CreateSecretMutationHookResult = ReturnType<typeof useCreateSecretMutation>;\nexport type CreateSecretMutationResult = Apollo.MutationResult<Types.CreateSecretMutation>;\nexport type CreateSecretMutationOptions = Apollo.BaseMutationOptions<Types.CreateSecretMutation, Types.CreateSecretMutationVariables>;\nexport const CreateVaultDocument = gql`\n mutation CreateVault($input: CreateVaultInput!) {\n createVault(input: $input) {\n id\n name\n description\n status\n }\n}\n `;\nexport type CreateVaultMutationFn = Apollo.MutationFunction<Types.CreateVaultMutation, Types.CreateVaultMutationVariables>;\n\n/**\n * __useCreateVaultMutation__\n *\n * To run a mutation, you first call `useCreateVaultMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useCreateVaultMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [createVaultMutation, { data, loading, error }] = useCreateVaultMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useCreateVaultMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateVaultMutation, Types.CreateVaultMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.CreateVaultMutation, Types.CreateVaultMutationVariables>(CreateVaultDocument, options);\n }\nexport type CreateVaultMutationHookResult = ReturnType<typeof useCreateVaultMutation>;\nexport type CreateVaultMutationResult = Apollo.MutationResult<Types.CreateVaultMutation>;\nexport type CreateVaultMutationOptions = Apollo.BaseMutationOptions<Types.CreateVaultMutation, Types.CreateVaultMutationVariables>;\nexport const DeleteSecretDocument = gql`\n mutation DeleteSecret($id: ID!) {\n deleteSecret(id: $id)\n}\n `;\nexport type DeleteSecretMutationFn = Apollo.MutationFunction<Types.DeleteSecretMutation, Types.DeleteSecretMutationVariables>;\n\n/**\n * __useDeleteSecretMutation__\n *\n * To run a mutation, you first call `useDeleteSecretMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useDeleteSecretMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [deleteSecretMutation, { data, loading, error }] = useDeleteSecretMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useDeleteSecretMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteSecretMutation, Types.DeleteSecretMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.DeleteSecretMutation, Types.DeleteSecretMutationVariables>(DeleteSecretDocument, options);\n }\nexport type DeleteSecretMutationHookResult = ReturnType<typeof useDeleteSecretMutation>;\nexport type DeleteSecretMutationResult = Apollo.MutationResult<Types.DeleteSecretMutation>;\nexport type DeleteSecretMutationOptions = Apollo.BaseMutationOptions<Types.DeleteSecretMutation, Types.DeleteSecretMutationVariables>;\nexport const DeleteVaultDocument = gql`\n mutation DeleteVault($id: ID!) {\n deleteVault(id: $id)\n}\n `;\nexport type DeleteVaultMutationFn = Apollo.MutationFunction<Types.DeleteVaultMutation, Types.DeleteVaultMutationVariables>;\n\n/**\n * __useDeleteVaultMutation__\n *\n * To run a mutation, you first call `useDeleteVaultMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useDeleteVaultMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [deleteVaultMutation, { data, loading, error }] = useDeleteVaultMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useDeleteVaultMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteVaultMutation, Types.DeleteVaultMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.DeleteVaultMutation, Types.DeleteVaultMutationVariables>(DeleteVaultDocument, options);\n }\nexport type DeleteVaultMutationHookResult = ReturnType<typeof useDeleteVaultMutation>;\nexport type DeleteVaultMutationResult = Apollo.MutationResult<Types.DeleteVaultMutation>;\nexport type DeleteVaultMutationOptions = Apollo.BaseMutationOptions<Types.DeleteVaultMutation, Types.DeleteVaultMutationVariables>;\nexport const BulkCreateSecretsDocument = gql`\n mutation BulkCreateSecrets($input: BulkCreateSecretsInput!) {\n bulkCreateSecrets(input: $input) {\n imported\n skipped\n errors\n }\n}\n `;\nexport type BulkCreateSecretsMutationFn = Apollo.MutationFunction<Types.BulkCreateSecretsMutation, Types.BulkCreateSecretsMutationVariables>;\n\n/**\n * __useBulkCreateSecretsMutation__\n *\n * To run a mutation, you first call `useBulkCreateSecretsMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useBulkCreateSecretsMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [bulkCreateSecretsMutation, { data, loading, error }] = useBulkCreateSecretsMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useBulkCreateSecretsMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.BulkCreateSecretsMutation, Types.BulkCreateSecretsMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.BulkCreateSecretsMutation, Types.BulkCreateSecretsMutationVariables>(BulkCreateSecretsDocument, options);\n }\nexport type BulkCreateSecretsMutationHookResult = ReturnType<typeof useBulkCreateSecretsMutation>;\nexport type BulkCreateSecretsMutationResult = Apollo.MutationResult<Types.BulkCreateSecretsMutation>;\nexport type BulkCreateSecretsMutationOptions = Apollo.BaseMutationOptions<Types.BulkCreateSecretsMutation, Types.BulkCreateSecretsMutationVariables>;\nexport const LockVaultDocument = gql`\n mutation LockVault($id: ID!) {\n lockVault(id: $id) {\n id\n status\n lockedAt\n }\n}\n `;\nexport type LockVaultMutationFn = Apollo.MutationFunction<Types.LockVaultMutation, Types.LockVaultMutationVariables>;\n\n/**\n * __useLockVaultMutation__\n *\n * To run a mutation, you first call `useLockVaultMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useLockVaultMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [lockVaultMutation, { data, loading, error }] = useLockVaultMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useLockVaultMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.LockVaultMutation, Types.LockVaultMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.LockVaultMutation, Types.LockVaultMutationVariables>(LockVaultDocument, options);\n }\nexport type LockVaultMutationHookResult = ReturnType<typeof useLockVaultMutation>;\nexport type LockVaultMutationResult = Apollo.MutationResult<Types.LockVaultMutation>;\nexport type LockVaultMutationOptions = Apollo.BaseMutationOptions<Types.LockVaultMutation, Types.LockVaultMutationVariables>;\nexport const ShareVaultDocument = gql`\n mutation ShareVault($input: ShareVaultInput!) {\n shareVault(input: $input) {\n id\n actorId\n actorType\n role\n }\n}\n `;\nexport type ShareVaultMutationFn = Apollo.MutationFunction<Types.ShareVaultMutation, Types.ShareVaultMutationVariables>;\n\n/**\n * __useShareVaultMutation__\n *\n * To run a mutation, you first call `useShareVaultMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useShareVaultMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [shareVaultMutation, { data, loading, error }] = useShareVaultMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useShareVaultMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ShareVaultMutation, Types.ShareVaultMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.ShareVaultMutation, Types.ShareVaultMutationVariables>(ShareVaultDocument, options);\n }\nexport type ShareVaultMutationHookResult = ReturnType<typeof useShareVaultMutation>;\nexport type ShareVaultMutationResult = Apollo.MutationResult<Types.ShareVaultMutation>;\nexport type ShareVaultMutationOptions = Apollo.BaseMutationOptions<Types.ShareVaultMutation, Types.ShareVaultMutationVariables>;\nexport const UnshareVaultDocument = gql`\n mutation UnshareVault($vaultId: ID!, $actorId: String!, $actorType: String!) {\n unshareVault(vaultId: $vaultId, actorId: $actorId, actorType: $actorType)\n}\n `;\nexport type UnshareVaultMutationFn = Apollo.MutationFunction<Types.UnshareVaultMutation, Types.UnshareVaultMutationVariables>;\n\n/**\n * __useUnshareVaultMutation__\n *\n * To run a mutation, you first call `useUnshareVaultMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUnshareVaultMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [unshareVaultMutation, { data, loading, error }] = useUnshareVaultMutation({\n * variables: {\n * vaultId: // value for 'vaultId'\n * actorId: // value for 'actorId'\n * actorType: // value for 'actorType'\n * },\n * });\n */\nexport function useUnshareVaultMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UnshareVaultMutation, Types.UnshareVaultMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UnshareVaultMutation, Types.UnshareVaultMutationVariables>(UnshareVaultDocument, options);\n }\nexport type UnshareVaultMutationHookResult = ReturnType<typeof useUnshareVaultMutation>;\nexport type UnshareVaultMutationResult = Apollo.MutationResult<Types.UnshareVaultMutation>;\nexport type UnshareVaultMutationOptions = Apollo.BaseMutationOptions<Types.UnshareVaultMutation, Types.UnshareVaultMutationVariables>;\nexport const UpdateVaultMemberRoleDocument = gql`\n mutation UpdateVaultMemberRole($vaultId: ID!, $actorId: String!, $actorType: String!, $role: VaultMemberRole!) {\n updateVaultMemberRole(\n vaultId: $vaultId\n actorId: $actorId\n actorType: $actorType\n role: $role\n ) {\n id\n role\n }\n}\n `;\nexport type UpdateVaultMemberRoleMutationFn = Apollo.MutationFunction<Types.UpdateVaultMemberRoleMutation, Types.UpdateVaultMemberRoleMutationVariables>;\n\n/**\n * __useUpdateVaultMemberRoleMutation__\n *\n * To run a mutation, you first call `useUpdateVaultMemberRoleMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUpdateVaultMemberRoleMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [updateVaultMemberRoleMutation, { data, loading, error }] = useUpdateVaultMemberRoleMutation({\n * variables: {\n * vaultId: // value for 'vaultId'\n * actorId: // value for 'actorId'\n * actorType: // value for 'actorType'\n * role: // value for 'role'\n * },\n * });\n */\nexport function useUpdateVaultMemberRoleMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateVaultMemberRoleMutation, Types.UpdateVaultMemberRoleMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UpdateVaultMemberRoleMutation, Types.UpdateVaultMemberRoleMutationVariables>(UpdateVaultMemberRoleDocument, options);\n }\nexport type UpdateVaultMemberRoleMutationHookResult = ReturnType<typeof useUpdateVaultMemberRoleMutation>;\nexport type UpdateVaultMemberRoleMutationResult = Apollo.MutationResult<Types.UpdateVaultMemberRoleMutation>;\nexport type UpdateVaultMemberRoleMutationOptions = Apollo.BaseMutationOptions<Types.UpdateVaultMemberRoleMutation, Types.UpdateVaultMemberRoleMutationVariables>;\nexport const CreateVaultIntegrationDocument = gql`\n mutation CreateVaultIntegration($input: CreateVaultIntegrationInput!) {\n createVaultIntegration(input: $input) {\n id\n providerType\n displayName\n }\n}\n `;\nexport type CreateVaultIntegrationMutationFn = Apollo.MutationFunction<Types.CreateVaultIntegrationMutation, Types.CreateVaultIntegrationMutationVariables>;\n\n/**\n * __useCreateVaultIntegrationMutation__\n *\n * To run a mutation, you first call `useCreateVaultIntegrationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useCreateVaultIntegrationMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [createVaultIntegrationMutation, { data, loading, error }] = useCreateVaultIntegrationMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useCreateVaultIntegrationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateVaultIntegrationMutation, Types.CreateVaultIntegrationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.CreateVaultIntegrationMutation, Types.CreateVaultIntegrationMutationVariables>(CreateVaultIntegrationDocument, options);\n }\nexport type CreateVaultIntegrationMutationHookResult = ReturnType<typeof useCreateVaultIntegrationMutation>;\nexport type CreateVaultIntegrationMutationResult = Apollo.MutationResult<Types.CreateVaultIntegrationMutation>;\nexport type CreateVaultIntegrationMutationOptions = Apollo.BaseMutationOptions<Types.CreateVaultIntegrationMutation, Types.CreateVaultIntegrationMutationVariables>;\nexport const DeleteVaultIntegrationDocument = gql`\n mutation DeleteVaultIntegration($id: ID!) {\n deleteVaultIntegration(id: $id)\n}\n `;\nexport type DeleteVaultIntegrationMutationFn = Apollo.MutationFunction<Types.DeleteVaultIntegrationMutation, Types.DeleteVaultIntegrationMutationVariables>;\n\n/**\n * __useDeleteVaultIntegrationMutation__\n *\n * To run a mutation, you first call `useDeleteVaultIntegrationMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useDeleteVaultIntegrationMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [deleteVaultIntegrationMutation, { data, loading, error }] = useDeleteVaultIntegrationMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useDeleteVaultIntegrationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteVaultIntegrationMutation, Types.DeleteVaultIntegrationMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.DeleteVaultIntegrationMutation, Types.DeleteVaultIntegrationMutationVariables>(DeleteVaultIntegrationDocument, options);\n }\nexport type DeleteVaultIntegrationMutationHookResult = ReturnType<typeof useDeleteVaultIntegrationMutation>;\nexport type DeleteVaultIntegrationMutationResult = Apollo.MutationResult<Types.DeleteVaultIntegrationMutation>;\nexport type DeleteVaultIntegrationMutationOptions = Apollo.BaseMutationOptions<Types.DeleteVaultIntegrationMutation, Types.DeleteVaultIntegrationMutationVariables>;\nexport const TriggerVaultSyncDocument = gql`\n mutation TriggerVaultSync($integrationId: ID!) {\n triggerVaultSync(integrationId: $integrationId) {\n id\n status\n secretsSynced\n }\n}\n `;\nexport type TriggerVaultSyncMutationFn = Apollo.MutationFunction<Types.TriggerVaultSyncMutation, Types.TriggerVaultSyncMutationVariables>;\n\n/**\n * __useTriggerVaultSyncMutation__\n *\n * To run a mutation, you first call `useTriggerVaultSyncMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useTriggerVaultSyncMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [triggerVaultSyncMutation, { data, loading, error }] = useTriggerVaultSyncMutation({\n * variables: {\n * integrationId: // value for 'integrationId'\n * },\n * });\n */\nexport function useTriggerVaultSyncMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.TriggerVaultSyncMutation, Types.TriggerVaultSyncMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.TriggerVaultSyncMutation, Types.TriggerVaultSyncMutationVariables>(TriggerVaultSyncDocument, options);\n }\nexport type TriggerVaultSyncMutationHookResult = ReturnType<typeof useTriggerVaultSyncMutation>;\nexport type TriggerVaultSyncMutationResult = Apollo.MutationResult<Types.TriggerVaultSyncMutation>;\nexport type TriggerVaultSyncMutationOptions = Apollo.BaseMutationOptions<Types.TriggerVaultSyncMutation, Types.TriggerVaultSyncMutationVariables>;\nexport const RollbackSecretDocument = gql`\n mutation RollbackSecret($id: ID!, $version: Int!) {\n rollbackSecret(id: $id, version: $version) {\n id\n status\n }\n}\n `;\nexport type RollbackSecretMutationFn = Apollo.MutationFunction<Types.RollbackSecretMutation, Types.RollbackSecretMutationVariables>;\n\n/**\n * __useRollbackSecretMutation__\n *\n * To run a mutation, you first call `useRollbackSecretMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useRollbackSecretMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [rollbackSecretMutation, { data, loading, error }] = useRollbackSecretMutation({\n * variables: {\n * id: // value for 'id'\n * version: // value for 'version'\n * },\n * });\n */\nexport function useRollbackSecretMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.RollbackSecretMutation, Types.RollbackSecretMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.RollbackSecretMutation, Types.RollbackSecretMutationVariables>(RollbackSecretDocument, options);\n }\nexport type RollbackSecretMutationHookResult = ReturnType<typeof useRollbackSecretMutation>;\nexport type RollbackSecretMutationResult = Apollo.MutationResult<Types.RollbackSecretMutation>;\nexport type RollbackSecretMutationOptions = Apollo.BaseMutationOptions<Types.RollbackSecretMutation, Types.RollbackSecretMutationVariables>;\nexport const RotateSecretDocument = gql`\n mutation RotateSecret($id: ID!, $newValue: String!) {\n rotateSecret(id: $id, newValue: $newValue) {\n id\n status\n lastRotatedAt\n }\n}\n `;\nexport type RotateSecretMutationFn = Apollo.MutationFunction<Types.RotateSecretMutation, Types.RotateSecretMutationVariables>;\n\n/**\n * __useRotateSecretMutation__\n *\n * To run a mutation, you first call `useRotateSecretMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useRotateSecretMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [rotateSecretMutation, { data, loading, error }] = useRotateSecretMutation({\n * variables: {\n * id: // value for 'id'\n * newValue: // value for 'newValue'\n * },\n * });\n */\nexport function useRotateSecretMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.RotateSecretMutation, Types.RotateSecretMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.RotateSecretMutation, Types.RotateSecretMutationVariables>(RotateSecretDocument, options);\n }\nexport type RotateSecretMutationHookResult = ReturnType<typeof useRotateSecretMutation>;\nexport type RotateSecretMutationResult = Apollo.MutationResult<Types.RotateSecretMutation>;\nexport type RotateSecretMutationOptions = Apollo.BaseMutationOptions<Types.RotateSecretMutation, Types.RotateSecretMutationVariables>;\nexport const UnlockVaultDocument = gql`\n mutation UnlockVault($id: ID!) {\n unlockVault(id: $id) {\n id\n status\n }\n}\n `;\nexport type UnlockVaultMutationFn = Apollo.MutationFunction<Types.UnlockVaultMutation, Types.UnlockVaultMutationVariables>;\n\n/**\n * __useUnlockVaultMutation__\n *\n * To run a mutation, you first call `useUnlockVaultMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUnlockVaultMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [unlockVaultMutation, { data, loading, error }] = useUnlockVaultMutation({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useUnlockVaultMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UnlockVaultMutation, Types.UnlockVaultMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UnlockVaultMutation, Types.UnlockVaultMutationVariables>(UnlockVaultDocument, options);\n }\nexport type UnlockVaultMutationHookResult = ReturnType<typeof useUnlockVaultMutation>;\nexport type UnlockVaultMutationResult = Apollo.MutationResult<Types.UnlockVaultMutation>;\nexport type UnlockVaultMutationOptions = Apollo.BaseMutationOptions<Types.UnlockVaultMutation, Types.UnlockVaultMutationVariables>;\nexport const UpdateSecretDocument = gql`\n mutation UpdateSecret($id: ID!, $input: UpdateSecretInput!) {\n updateSecret(id: $id, input: $input) {\n id\n name\n key\n status\n updatedAt\n }\n}\n `;\nexport type UpdateSecretMutationFn = Apollo.MutationFunction<Types.UpdateSecretMutation, Types.UpdateSecretMutationVariables>;\n\n/**\n * __useUpdateSecretMutation__\n *\n * To run a mutation, you first call `useUpdateSecretMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUpdateSecretMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [updateSecretMutation, { data, loading, error }] = useUpdateSecretMutation({\n * variables: {\n * id: // value for 'id'\n * input: // value for 'input'\n * },\n * });\n */\nexport function useUpdateSecretMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateSecretMutation, Types.UpdateSecretMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UpdateSecretMutation, Types.UpdateSecretMutationVariables>(UpdateSecretDocument, options);\n }\nexport type UpdateSecretMutationHookResult = ReturnType<typeof useUpdateSecretMutation>;\nexport type UpdateSecretMutationResult = Apollo.MutationResult<Types.UpdateSecretMutation>;\nexport type UpdateSecretMutationOptions = Apollo.BaseMutationOptions<Types.UpdateSecretMutation, Types.UpdateSecretMutationVariables>;\nexport const UpdateVaultDocument = gql`\n mutation UpdateVault($id: ID!, $input: UpdateVaultInput!) {\n updateVault(id: $id, input: $input) {\n id\n name\n description\n }\n}\n `;\nexport type UpdateVaultMutationFn = Apollo.MutationFunction<Types.UpdateVaultMutation, Types.UpdateVaultMutationVariables>;\n\n/**\n * __useUpdateVaultMutation__\n *\n * To run a mutation, you first call `useUpdateVaultMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUpdateVaultMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [updateVaultMutation, { data, loading, error }] = useUpdateVaultMutation({\n * variables: {\n * id: // value for 'id'\n * input: // value for 'input'\n * },\n * });\n */\nexport function useUpdateVaultMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateVaultMutation, Types.UpdateVaultMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UpdateVaultMutation, Types.UpdateVaultMutationVariables>(UpdateVaultDocument, options);\n }\nexport type UpdateVaultMutationHookResult = ReturnType<typeof useUpdateVaultMutation>;\nexport type UpdateVaultMutationResult = Apollo.MutationResult<Types.UpdateVaultMutation>;\nexport type UpdateVaultMutationOptions = Apollo.BaseMutationOptions<Types.UpdateVaultMutation, Types.UpdateVaultMutationVariables>;\nexport const GetVaultAuditLogsDocument = gql`\n query GetVaultAuditLogs($filter: VaultAuditLogFilterInput, $pagination: SecurityPaginationInput) {\n getVaultAuditLogs(filter: $filter, pagination: $pagination) {\n items {\n id\n entityId\n entityType\n action\n metadata\n actorId\n actorType\n timestamp\n }\n total\n hasMore\n }\n}\n `;\n\n/**\n * __useGetVaultAuditLogsQuery__\n *\n * To run a query within a React component, call `useGetVaultAuditLogsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetVaultAuditLogsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetVaultAuditLogsQuery({\n * variables: {\n * filter: // value for 'filter'\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useGetVaultAuditLogsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetVaultAuditLogsQuery, Types.GetVaultAuditLogsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetVaultAuditLogsQuery, Types.GetVaultAuditLogsQueryVariables>(GetVaultAuditLogsDocument, options);\n }\nexport function useGetVaultAuditLogsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetVaultAuditLogsQuery, Types.GetVaultAuditLogsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetVaultAuditLogsQuery, Types.GetVaultAuditLogsQueryVariables>(GetVaultAuditLogsDocument, options);\n }\n// @ts-ignore\nexport function useGetVaultAuditLogsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultAuditLogsQuery, Types.GetVaultAuditLogsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetVaultAuditLogsQuery, Types.GetVaultAuditLogsQueryVariables>;\nexport function useGetVaultAuditLogsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultAuditLogsQuery, Types.GetVaultAuditLogsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetVaultAuditLogsQuery | undefined, Types.GetVaultAuditLogsQueryVariables>;\nexport function useGetVaultAuditLogsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultAuditLogsQuery, Types.GetVaultAuditLogsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetVaultAuditLogsQuery, Types.GetVaultAuditLogsQueryVariables>(GetVaultAuditLogsDocument, options);\n }\nexport type GetVaultAuditLogsQueryHookResult = ReturnType<typeof useGetVaultAuditLogsQuery>;\nexport type GetVaultAuditLogsLazyQueryHookResult = ReturnType<typeof useGetVaultAuditLogsLazyQuery>;\nexport type GetVaultAuditLogsSuspenseQueryHookResult = ReturnType<typeof useGetVaultAuditLogsSuspenseQuery>;\nexport type GetVaultAuditLogsQueryResult = Apollo.QueryResult<Types.GetVaultAuditLogsQuery, Types.GetVaultAuditLogsQueryVariables>;\nexport const GetVaultIntegrationsDocument = gql`\n query GetVaultIntegrations($vaultId: ID!, $pagination: SecurityPaginationInput) {\n getVaultIntegrations(vaultId: $vaultId, pagination: $pagination) {\n items {\n id\n vaultId\n providerType\n displayName\n syncDirection\n syncEnabled\n syncIntervalMinutes\n lastSyncAt\n createdAt\n }\n total\n hasMore\n }\n}\n `;\n\n/**\n * __useGetVaultIntegrationsQuery__\n *\n * To run a query within a React component, call `useGetVaultIntegrationsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetVaultIntegrationsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetVaultIntegrationsQuery({\n * variables: {\n * vaultId: // value for 'vaultId'\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useGetVaultIntegrationsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetVaultIntegrationsQuery, Types.GetVaultIntegrationsQueryVariables> & ({ variables: Types.GetVaultIntegrationsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetVaultIntegrationsQuery, Types.GetVaultIntegrationsQueryVariables>(GetVaultIntegrationsDocument, options);\n }\nexport function useGetVaultIntegrationsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetVaultIntegrationsQuery, Types.GetVaultIntegrationsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetVaultIntegrationsQuery, Types.GetVaultIntegrationsQueryVariables>(GetVaultIntegrationsDocument, options);\n }\n// @ts-ignore\nexport function useGetVaultIntegrationsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultIntegrationsQuery, Types.GetVaultIntegrationsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetVaultIntegrationsQuery, Types.GetVaultIntegrationsQueryVariables>;\nexport function useGetVaultIntegrationsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultIntegrationsQuery, Types.GetVaultIntegrationsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetVaultIntegrationsQuery | undefined, Types.GetVaultIntegrationsQueryVariables>;\nexport function useGetVaultIntegrationsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultIntegrationsQuery, Types.GetVaultIntegrationsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetVaultIntegrationsQuery, Types.GetVaultIntegrationsQueryVariables>(GetVaultIntegrationsDocument, options);\n }\nexport type GetVaultIntegrationsQueryHookResult = ReturnType<typeof useGetVaultIntegrationsQuery>;\nexport type GetVaultIntegrationsLazyQueryHookResult = ReturnType<typeof useGetVaultIntegrationsLazyQuery>;\nexport type GetVaultIntegrationsSuspenseQueryHookResult = ReturnType<typeof useGetVaultIntegrationsSuspenseQuery>;\nexport type GetVaultIntegrationsQueryResult = Apollo.QueryResult<Types.GetVaultIntegrationsQuery, Types.GetVaultIntegrationsQueryVariables>;\nexport const GetSecretDocument = gql`\n query GetSecret($id: ID!) {\n getSecret(id: $id) {\n id\n vaultId\n name\n key\n description\n type\n status\n expiresAt\n lastRotatedAt\n labels {\n id\n label\n color\n }\n versionCount\n createdBy\n createdAt\n updatedAt\n }\n}\n `;\n\n/**\n * __useGetSecretQuery__\n *\n * To run a query within a React component, call `useGetSecretQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetSecretQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetSecretQuery({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useGetSecretQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetSecretQuery, Types.GetSecretQueryVariables> & ({ variables: Types.GetSecretQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetSecretQuery, Types.GetSecretQueryVariables>(GetSecretDocument, options);\n }\nexport function useGetSecretLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetSecretQuery, Types.GetSecretQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetSecretQuery, Types.GetSecretQueryVariables>(GetSecretDocument, options);\n }\n// @ts-ignore\nexport function useGetSecretSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetSecretQuery, Types.GetSecretQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetSecretQuery, Types.GetSecretQueryVariables>;\nexport function useGetSecretSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetSecretQuery, Types.GetSecretQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetSecretQuery | undefined, Types.GetSecretQueryVariables>;\nexport function useGetSecretSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetSecretQuery, Types.GetSecretQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetSecretQuery, Types.GetSecretQueryVariables>(GetSecretDocument, options);\n }\nexport type GetSecretQueryHookResult = ReturnType<typeof useGetSecretQuery>;\nexport type GetSecretLazyQueryHookResult = ReturnType<typeof useGetSecretLazyQuery>;\nexport type GetSecretSuspenseQueryHookResult = ReturnType<typeof useGetSecretSuspenseQuery>;\nexport type GetSecretQueryResult = Apollo.QueryResult<Types.GetSecretQuery, Types.GetSecretQueryVariables>;\nexport const DecryptSecretDocument = gql`\n query DecryptSecret($id: ID!) {\n decryptSecret(id: $id) {\n id\n name\n key\n value\n type\n }\n}\n `;\n\n/**\n * __useDecryptSecretQuery__\n *\n * To run a query within a React component, call `useDecryptSecretQuery` and pass it any options that fit your needs.\n * When your component renders, `useDecryptSecretQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useDecryptSecretQuery({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useDecryptSecretQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.DecryptSecretQuery, Types.DecryptSecretQueryVariables> & ({ variables: Types.DecryptSecretQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.DecryptSecretQuery, Types.DecryptSecretQueryVariables>(DecryptSecretDocument, options);\n }\nexport function useDecryptSecretLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.DecryptSecretQuery, Types.DecryptSecretQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.DecryptSecretQuery, Types.DecryptSecretQueryVariables>(DecryptSecretDocument, options);\n }\n// @ts-ignore\nexport function useDecryptSecretSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.DecryptSecretQuery, Types.DecryptSecretQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.DecryptSecretQuery, Types.DecryptSecretQueryVariables>;\nexport function useDecryptSecretSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.DecryptSecretQuery, Types.DecryptSecretQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.DecryptSecretQuery | undefined, Types.DecryptSecretQueryVariables>;\nexport function useDecryptSecretSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.DecryptSecretQuery, Types.DecryptSecretQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.DecryptSecretQuery, Types.DecryptSecretQueryVariables>(DecryptSecretDocument, options);\n }\nexport type DecryptSecretQueryHookResult = ReturnType<typeof useDecryptSecretQuery>;\nexport type DecryptSecretLazyQueryHookResult = ReturnType<typeof useDecryptSecretLazyQuery>;\nexport type DecryptSecretSuspenseQueryHookResult = ReturnType<typeof useDecryptSecretSuspenseQuery>;\nexport type DecryptSecretQueryResult = Apollo.QueryResult<Types.DecryptSecretQuery, Types.DecryptSecretQueryVariables>;\nexport const GetSecretVersionsDocument = gql`\n query GetSecretVersions($secretId: ID!, $pagination: SecurityPaginationInput) {\n getSecretVersionsPaginated(secretId: $secretId, pagination: $pagination) {\n items {\n id\n version\n changeReason\n createdBy\n createdAt\n }\n total\n hasMore\n }\n}\n `;\n\n/**\n * __useGetSecretVersionsQuery__\n *\n * To run a query within a React component, call `useGetSecretVersionsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetSecretVersionsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetSecretVersionsQuery({\n * variables: {\n * secretId: // value for 'secretId'\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useGetSecretVersionsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetSecretVersionsQuery, Types.GetSecretVersionsQueryVariables> & ({ variables: Types.GetSecretVersionsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetSecretVersionsQuery, Types.GetSecretVersionsQueryVariables>(GetSecretVersionsDocument, options);\n }\nexport function useGetSecretVersionsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetSecretVersionsQuery, Types.GetSecretVersionsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetSecretVersionsQuery, Types.GetSecretVersionsQueryVariables>(GetSecretVersionsDocument, options);\n }\n// @ts-ignore\nexport function useGetSecretVersionsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetSecretVersionsQuery, Types.GetSecretVersionsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetSecretVersionsQuery, Types.GetSecretVersionsQueryVariables>;\nexport function useGetSecretVersionsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetSecretVersionsQuery, Types.GetSecretVersionsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetSecretVersionsQuery | undefined, Types.GetSecretVersionsQueryVariables>;\nexport function useGetSecretVersionsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetSecretVersionsQuery, Types.GetSecretVersionsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetSecretVersionsQuery, Types.GetSecretVersionsQueryVariables>(GetSecretVersionsDocument, options);\n }\nexport type GetSecretVersionsQueryHookResult = ReturnType<typeof useGetSecretVersionsQuery>;\nexport type GetSecretVersionsLazyQueryHookResult = ReturnType<typeof useGetSecretVersionsLazyQuery>;\nexport type GetSecretVersionsSuspenseQueryHookResult = ReturnType<typeof useGetSecretVersionsSuspenseQuery>;\nexport type GetSecretVersionsQueryResult = Apollo.QueryResult<Types.GetSecretVersionsQuery, Types.GetSecretVersionsQueryVariables>;\nexport const GetSecretsDocument = gql`\n query GetSecrets($vaultId: ID!, $filter: SecretFilterInput, $pagination: SecurityPaginationInput) {\n getSecrets(vaultId: $vaultId, filter: $filter, pagination: $pagination) {\n items {\n __typename\n ...SecretRow_Secret\n key\n tags\n }\n total\n hasMore\n }\n}\n ${SecretRow_SecretFragmentDoc}`;\n\n/**\n * __useGetSecretsQuery__\n *\n * To run a query within a React component, call `useGetSecretsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetSecretsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetSecretsQuery({\n * variables: {\n * vaultId: // value for 'vaultId'\n * filter: // value for 'filter'\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useGetSecretsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetSecretsQuery, Types.GetSecretsQueryVariables> & ({ variables: Types.GetSecretsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetSecretsQuery, Types.GetSecretsQueryVariables>(GetSecretsDocument, options);\n }\nexport function useGetSecretsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetSecretsQuery, Types.GetSecretsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetSecretsQuery, Types.GetSecretsQueryVariables>(GetSecretsDocument, options);\n }\n// @ts-ignore\nexport function useGetSecretsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetSecretsQuery, Types.GetSecretsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetSecretsQuery, Types.GetSecretsQueryVariables>;\nexport function useGetSecretsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetSecretsQuery, Types.GetSecretsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetSecretsQuery | undefined, Types.GetSecretsQueryVariables>;\nexport function useGetSecretsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetSecretsQuery, Types.GetSecretsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetSecretsQuery, Types.GetSecretsQueryVariables>(GetSecretsDocument, options);\n }\nexport type GetSecretsQueryHookResult = ReturnType<typeof useGetSecretsQuery>;\nexport type GetSecretsLazyQueryHookResult = ReturnType<typeof useGetSecretsLazyQuery>;\nexport type GetSecretsSuspenseQueryHookResult = ReturnType<typeof useGetSecretsSuspenseQuery>;\nexport type GetSecretsQueryResult = Apollo.QueryResult<Types.GetSecretsQuery, Types.GetSecretsQueryVariables>;\nexport const GetVaultDocument = gql`\n query GetVault($id: ID!) {\n getVault(id: $id) {\n id\n name\n description\n status\n lockedAt\n lockAfterMinutes\n secretCount\n memberCount\n membersList(pagination: {limit: 100}) {\n items {\n id\n actorId\n actorType\n role\n createdAt\n }\n total\n hasMore\n }\n createdBy\n createdAt\n updatedAt\n }\n}\n `;\n\n/**\n * __useGetVaultQuery__\n *\n * To run a query within a React component, call `useGetVaultQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetVaultQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetVaultQuery({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useGetVaultQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetVaultQuery, Types.GetVaultQueryVariables> & ({ variables: Types.GetVaultQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetVaultQuery, Types.GetVaultQueryVariables>(GetVaultDocument, options);\n }\nexport function useGetVaultLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetVaultQuery, Types.GetVaultQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetVaultQuery, Types.GetVaultQueryVariables>(GetVaultDocument, options);\n }\n// @ts-ignore\nexport function useGetVaultSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultQuery, Types.GetVaultQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetVaultQuery, Types.GetVaultQueryVariables>;\nexport function useGetVaultSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultQuery, Types.GetVaultQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetVaultQuery | undefined, Types.GetVaultQueryVariables>;\nexport function useGetVaultSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultQuery, Types.GetVaultQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetVaultQuery, Types.GetVaultQueryVariables>(GetVaultDocument, options);\n }\nexport type GetVaultQueryHookResult = ReturnType<typeof useGetVaultQuery>;\nexport type GetVaultLazyQueryHookResult = ReturnType<typeof useGetVaultLazyQuery>;\nexport type GetVaultSuspenseQueryHookResult = ReturnType<typeof useGetVaultSuspenseQuery>;\nexport type GetVaultQueryResult = Apollo.QueryResult<Types.GetVaultQuery, Types.GetVaultQueryVariables>;\nexport const GetVaultSyncLogsDocument = gql`\n query GetVaultSyncLogs($integrationId: ID!, $filter: VaultSyncLogFilterInput, $pagination: SecurityPaginationInput) {\n getVaultSyncLogs(\n integrationId: $integrationId\n filter: $filter\n pagination: $pagination\n ) {\n items {\n id\n integrationId\n status\n secretsSynced\n secretsFailed\n errorMessage\n createdBy\n startedAt\n completedAt\n durationMs\n createdAt\n }\n total\n hasMore\n }\n}\n `;\n\n/**\n * __useGetVaultSyncLogsQuery__\n *\n * To run a query within a React component, call `useGetVaultSyncLogsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetVaultSyncLogsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetVaultSyncLogsQuery({\n * variables: {\n * integrationId: // value for 'integrationId'\n * filter: // value for 'filter'\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useGetVaultSyncLogsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetVaultSyncLogsQuery, Types.GetVaultSyncLogsQueryVariables> & ({ variables: Types.GetVaultSyncLogsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetVaultSyncLogsQuery, Types.GetVaultSyncLogsQueryVariables>(GetVaultSyncLogsDocument, options);\n }\nexport function useGetVaultSyncLogsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetVaultSyncLogsQuery, Types.GetVaultSyncLogsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetVaultSyncLogsQuery, Types.GetVaultSyncLogsQueryVariables>(GetVaultSyncLogsDocument, options);\n }\n// @ts-ignore\nexport function useGetVaultSyncLogsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultSyncLogsQuery, Types.GetVaultSyncLogsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetVaultSyncLogsQuery, Types.GetVaultSyncLogsQueryVariables>;\nexport function useGetVaultSyncLogsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultSyncLogsQuery, Types.GetVaultSyncLogsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetVaultSyncLogsQuery | undefined, Types.GetVaultSyncLogsQueryVariables>;\nexport function useGetVaultSyncLogsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultSyncLogsQuery, Types.GetVaultSyncLogsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetVaultSyncLogsQuery, Types.GetVaultSyncLogsQueryVariables>(GetVaultSyncLogsDocument, options);\n }\nexport type GetVaultSyncLogsQueryHookResult = ReturnType<typeof useGetVaultSyncLogsQuery>;\nexport type GetVaultSyncLogsLazyQueryHookResult = ReturnType<typeof useGetVaultSyncLogsLazyQuery>;\nexport type GetVaultSyncLogsSuspenseQueryHookResult = ReturnType<typeof useGetVaultSyncLogsSuspenseQuery>;\nexport type GetVaultSyncLogsQueryResult = Apollo.QueryResult<Types.GetVaultSyncLogsQuery, Types.GetVaultSyncLogsQueryVariables>;\nexport const GetVaultWithSecretsDocument = gql`\n query GetVaultWithSecrets($id: ID!, $filter: SecretFilterInput, $pagination: SecurityPaginationInput) {\n getVault(id: $id) {\n __typename\n id\n name\n description\n status\n createdAt\n updatedAt\n secretCount\n memberCount\n lastAccessedAt\n lockAfterMinutes\n lockedAt\n membersList(pagination: {limit: 100}) {\n items {\n id\n actorId\n actorType\n role\n createdAt\n }\n total\n hasMore\n }\n }\n getSecrets(vaultId: $id, filter: $filter, pagination: $pagination) {\n items {\n __typename\n ...SecretRow_Secret\n key\n tags\n }\n total\n hasMore\n }\n}\n ${SecretRow_SecretFragmentDoc}`;\n\n/**\n * __useGetVaultWithSecretsQuery__\n *\n * To run a query within a React component, call `useGetVaultWithSecretsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetVaultWithSecretsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetVaultWithSecretsQuery({\n * variables: {\n * id: // value for 'id'\n * filter: // value for 'filter'\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useGetVaultWithSecretsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetVaultWithSecretsQuery, Types.GetVaultWithSecretsQueryVariables> & ({ variables: Types.GetVaultWithSecretsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetVaultWithSecretsQuery, Types.GetVaultWithSecretsQueryVariables>(GetVaultWithSecretsDocument, options);\n }\nexport function useGetVaultWithSecretsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetVaultWithSecretsQuery, Types.GetVaultWithSecretsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetVaultWithSecretsQuery, Types.GetVaultWithSecretsQueryVariables>(GetVaultWithSecretsDocument, options);\n }\n// @ts-ignore\nexport function useGetVaultWithSecretsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultWithSecretsQuery, Types.GetVaultWithSecretsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetVaultWithSecretsQuery, Types.GetVaultWithSecretsQueryVariables>;\nexport function useGetVaultWithSecretsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultWithSecretsQuery, Types.GetVaultWithSecretsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetVaultWithSecretsQuery | undefined, Types.GetVaultWithSecretsQueryVariables>;\nexport function useGetVaultWithSecretsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultWithSecretsQuery, Types.GetVaultWithSecretsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetVaultWithSecretsQuery, Types.GetVaultWithSecretsQueryVariables>(GetVaultWithSecretsDocument, options);\n }\nexport type GetVaultWithSecretsQueryHookResult = ReturnType<typeof useGetVaultWithSecretsQuery>;\nexport type GetVaultWithSecretsLazyQueryHookResult = ReturnType<typeof useGetVaultWithSecretsLazyQuery>;\nexport type GetVaultWithSecretsSuspenseQueryHookResult = ReturnType<typeof useGetVaultWithSecretsSuspenseQuery>;\nexport type GetVaultWithSecretsQueryResult = Apollo.QueryResult<Types.GetVaultWithSecretsQuery, Types.GetVaultWithSecretsQueryVariables>;\nexport const GetVaultsDocument = gql`\n query GetVaults($filter: VaultFilterInput, $pagination: SecurityPaginationInput) {\n getVaults(filter: $filter, pagination: $pagination) {\n items {\n __typename\n id\n name\n description\n status\n createdAt\n updatedAt\n secretCount\n memberCount\n lastAccessedAt\n lockAfterMinutes\n lockedAt\n }\n total\n hasMore\n }\n}\n `;\n\n/**\n * __useGetVaultsQuery__\n *\n * To run a query within a React component, call `useGetVaultsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetVaultsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetVaultsQuery({\n * variables: {\n * filter: // value for 'filter'\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useGetVaultsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetVaultsQuery, Types.GetVaultsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetVaultsQuery, Types.GetVaultsQueryVariables>(GetVaultsDocument, options);\n }\nexport function useGetVaultsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetVaultsQuery, Types.GetVaultsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetVaultsQuery, Types.GetVaultsQueryVariables>(GetVaultsDocument, options);\n }\n// @ts-ignore\nexport function useGetVaultsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultsQuery, Types.GetVaultsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetVaultsQuery, Types.GetVaultsQueryVariables>;\nexport function useGetVaultsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultsQuery, Types.GetVaultsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetVaultsQuery | undefined, Types.GetVaultsQueryVariables>;\nexport function useGetVaultsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVaultsQuery, Types.GetVaultsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetVaultsQuery, Types.GetVaultsQueryVariables>(GetVaultsDocument, options);\n }\nexport type GetVaultsQueryHookResult = ReturnType<typeof useGetVaultsQuery>;\nexport type GetVaultsLazyQueryHookResult = ReturnType<typeof useGetVaultsLazyQuery>;\nexport type GetVaultsSuspenseQueryHookResult = ReturnType<typeof useGetVaultsSuspenseQuery>;\nexport type GetVaultsQueryResult = Apollo.QueryResult<Types.GetVaultsQuery, Types.GetVaultsQueryVariables>;\nexport const SecurityVaultEventsDocument = gql`\n subscription SecurityVaultEvents($workspaceId: String!) {\n securityVaultEvents(workspaceId: $workspaceId) {\n __typename\n vault {\n __typename\n id\n name\n description\n status\n createdAt\n updatedAt\n secretCount\n memberCount\n lastAccessedAt\n lockAfterMinutes\n lockedAt\n }\n workspaceId\n }\n}\n `;\n\n/**\n * __useSecurityVaultEventsSubscription__\n *\n * To run a query within a React component, call `useSecurityVaultEventsSubscription` and pass it any options that fit your needs.\n * When your component renders, `useSecurityVaultEventsSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useSecurityVaultEventsSubscription({\n * variables: {\n * workspaceId: // value for 'workspaceId'\n * },\n * });\n */\nexport function useSecurityVaultEventsSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.SecurityVaultEventsSubscription, Types.SecurityVaultEventsSubscriptionVariables> & ({ variables: Types.SecurityVaultEventsSubscriptionVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.SecurityVaultEventsSubscription, Types.SecurityVaultEventsSubscriptionVariables>(SecurityVaultEventsDocument, options);\n }\nexport type SecurityVaultEventsSubscriptionHookResult = ReturnType<typeof useSecurityVaultEventsSubscription>;\nexport type SecurityVaultEventsSubscriptionResult = Apollo.SubscriptionResult<Types.SecurityVaultEventsSubscription>;\nexport const SecuritySecretEventsDocument = gql`\n subscription SecuritySecretEvents($workspaceId: String!) {\n securitySecretEvents(workspaceId: $workspaceId) {\n __typename\n secret {\n __typename\n id\n vaultId\n name\n description\n key\n type\n version\n isLatest\n status\n tags\n expiresAt\n lastRotatedAt\n accessCount\n lastAccessedAt\n isEphemeral\n maxAccessCount\n ephemeralExpiresAt\n createdBy\n workspaceId\n tenantId\n createdAt\n updatedAt\n deletedAt\n labels {\n __typename\n id\n label\n color\n createdAt\n }\n versionCount\n }\n vaultId\n workspaceId\n }\n}\n `;\n\n/**\n * __useSecuritySecretEventsSubscription__\n *\n * To run a query within a React component, call `useSecuritySecretEventsSubscription` and pass it any options that fit your needs.\n * When your component renders, `useSecuritySecretEventsSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useSecuritySecretEventsSubscription({\n * variables: {\n * workspaceId: // value for 'workspaceId'\n * },\n * });\n */\nexport function useSecuritySecretEventsSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.SecuritySecretEventsSubscription, Types.SecuritySecretEventsSubscriptionVariables> & ({ variables: Types.SecuritySecretEventsSubscriptionVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.SecuritySecretEventsSubscription, Types.SecuritySecretEventsSubscriptionVariables>(SecuritySecretEventsDocument, options);\n }\nexport type SecuritySecretEventsSubscriptionHookResult = ReturnType<typeof useSecuritySecretEventsSubscription>;\nexport type SecuritySecretEventsSubscriptionResult = Apollo.SubscriptionResult<Types.SecuritySecretEventsSubscription>;\nexport const SecurityMemberEventsDocument = gql`\n subscription SecurityMemberEvents($workspaceId: String!) {\n securityMemberEvents(workspaceId: $workspaceId) {\n __typename\n member {\n __typename\n id\n vaultId\n actorId\n actorType\n role\n createdBy\n createdAt\n updatedAt\n expiresAt\n }\n vaultId\n workspaceId\n }\n}\n `;\n\n/**\n * __useSecurityMemberEventsSubscription__\n *\n * To run a query within a React component, call `useSecurityMemberEventsSubscription` and pass it any options that fit your needs.\n * When your component renders, `useSecurityMemberEventsSubscription` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useSecurityMemberEventsSubscription({\n * variables: {\n * workspaceId: // value for 'workspaceId'\n * },\n * });\n */\nexport function useSecurityMemberEventsSubscription(baseOptions: ApolloReactHooks.SubscriptionHookOptions<Types.SecurityMemberEventsSubscription, Types.SecurityMemberEventsSubscriptionVariables> & ({ variables: Types.SecurityMemberEventsSubscriptionVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSubscription<Types.SecurityMemberEventsSubscription, Types.SecurityMemberEventsSubscriptionVariables>(SecurityMemberEventsDocument, options);\n }\nexport type SecurityMemberEventsSubscriptionHookResult = ReturnType<typeof useSecurityMemberEventsSubscription>;\nexport type SecurityMemberEventsSubscriptionResult = Apollo.SubscriptionResult<Types.SecurityMemberEventsSubscription>;"],"mappings":";;;AAMA,IAAM,IAAiB,EAAE,EAkQZ,IAA8B,CAAG;;;;;;;;;;;;;;;;;;;;;AAqBJ,CAAG;;;;;;;;;;;;;;;AAe7C,IAAa,IAA4B,CAAG;;;;;AAwB5C,SAAgB,EAA6B,GAA+H;CACpK,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAuF,GAA2B,EAAQ;;AAK1J,IAAa,IAA0B,CAAG;;;;;;;;AA4B1C,SAAgB,EAA2B,GAA2H;CAC9J,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAmF,GAAyB,EAAQ;;AAKpJ,IAAa,IAA2B,CAAG;;;;;;;;;;;;AAiC3C,SAAgB,EAA4B,GAA6H;CACjK,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAqF,GAA0B,EAAQ;;AAKvJ,IAAa,IAAuB,CAAG;;;;;;;;;;;;AA+BvC,SAAgB,EAAwB,GAAqH;CACrJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA6E,GAAsB,EAAQ;;AAK3I,IAAa,IAAsB,CAAG;;;;;;;;;;AA6BtC,SAAgB,EAAuB,GAAmH;CAClJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA2E,GAAqB,EAAQ;;AAKxI,IAAa,IAAuB,CAAG;;;;;AAwBvC,SAAgB,EAAwB,GAAqH;CACrJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA6E,GAAsB,EAAQ;;AAK3I,IAAa,IAAsB,CAAG;;;;;AAwBtC,SAAgB,EAAuB,GAAmH;CAClJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA2E,GAAqB,EAAQ;;AAKxI,IAAa,IAA4B,CAAG;;;;;;;;;AA4B5C,SAAgB,EAA6B,GAA+H;CACpK,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAuF,GAA2B,EAAQ;;AAK1J,IAAa,IAAoB,CAAG;;;;;;;;;AA4BpC,SAAgB,EAAqB,GAA+G;CAC5I,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAuE,GAAmB,EAAQ;;AAKlI,IAAa,IAAqB,CAAG;;;;;;;;;;AA6BrC,SAAgB,EAAsB,GAAiH;CAC/I,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAyE,GAAoB,EAAQ;;AAKrI,IAAa,IAAuB,CAAG;;;;;AA0BvC,SAAgB,EAAwB,GAAqH;CACrJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA6E,GAAsB,EAAQ;;AAK3I,IAAa,IAAgC,CAAG;;;;;;;;;;;;;AAmChD,SAAgB,EAAiC,GAAuI;CAChL,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA+F,GAA+B,EAAQ;;AAKxH,CAAG;;;;;;;;;AAmCjD,IAAa,IAAiC,CAAG;;;;;AAwBjD,SAAgB,EAAkC,GAAyI;CACnL,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAiG,GAAgC,EAAQ;;AAKzK,IAAa,IAA2B,CAAG;;;;;;;;;AA4B3C,SAAgB,EAA4B,GAA6H;CACjK,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAqF,GAA0B,EAAQ;;AAKvJ,IAAa,IAAyB,CAAG;;;;;;;;AA4BzC,SAAgB,EAA0B,GAAyH;CAC3J,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAAiF,GAAwB,EAAQ;;AAKjJ,IAAa,KAAuB,CAAG;;;;;;;;;AA6BvC,SAAgB,EAAwB,GAAqH;CACrJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA6E,IAAsB,EAAQ;;AAK3I,IAAa,IAAsB,CAAG;;;;;;;;AA2BtC,SAAgB,EAAuB,GAAmH;CAClJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA2E,GAAqB,EAAQ;;AAKpG,CAAG;;;;;;;;;;;AAsCvC,IAAa,IAAsB,CAAG;;;;;;;;;AA6BtC,SAAgB,EAAuB,GAAmH;CAClJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,YAA2E,GAAqB,EAAQ;;AAKxI,IAAa,IAA4B,CAAG;;;;;;;;;;;;;;;;;;AAoC5C,SAAgB,EAA0B,GAAsH;CACxJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,SAA8E,GAA2B,EAAQ;;AAiBjJ,IAAa,IAA+B,CAAG;;;;;;;;;;;;;;;;;;;AAqC/C,SAAgB,EAA6B,GAA8N;CACnQ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,SAAoF,GAA8B,EAAQ;;AAiB1J,IAAa,IAAoB,CAAG;;;;;;;;;;;;;;;;;;;;;;;;AAyCpC,SAAgB,EAAkB,GAA6L;CACvN,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,SAA8D,GAAmB,EAAQ;;AAiBzH,IAAa,IAAwB,CAAG;;;;;;;;;;;AAgCxC,SAAgB,EAA0B,GAAkH;CAClJ,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,aAA0E,GAAuB,EAAQ;;AAa3I,IAAa,IAA4B,CAAG;;;;;;;;;;;;;;;AAiC5C,SAAgB,EAA0B,GAAqN;CACvP,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,SAA8E,GAA2B,EAAQ;;AAiBjJ,IAAa,IAAqB,CAAG;;;;;;;;;;;;;MAa/B;AAoBN,SAAgB,EAAmB,GAAgM;CAC3N,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,SAAgE,GAAoB,EAAQ;;AAiB5H,IAAa,IAAmB,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CnC,SAAgB,EAAiB,GAA0L;CACnN,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,SAA4D,GAAkB,EAAQ;;AAiBtH,IAAa,IAA2B,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;AA4C3C,SAAgB,GAAyB,GAAkN;CACnP,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,SAA4E,GAA0B,EAAQ;;AAiB9I,IAAa,KAA8B,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAsCxC;AAoBN,SAAgB,GAA4B,GAA2N;CAC/P,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,SAAkF,IAA6B,EAAQ;;AAiBvJ,IAAa,KAAoB,CAAG;;;;;;;;;;;;;;;;;;;;;;AAwCpC,SAAgB,GAAkB,GAAsG;CAChI,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;EAAY;AACnD,QAAO,EAAiB,SAA8D,IAAmB,EAAQ;;AAiBzH,IAAa,KAA8B,CAAG;;;;;;;;;;;;;;;;;;;;;OA6CjC,KAA+B,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkElC,KAA+B,CAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"SecurityProvider.js","names":[],"sources":["../../../src/security/providers/SecurityProvider.tsx"],"sourcesContent":["import type { FC, PropsWithChildren } from 'react';\nimport { createContext, use, useMemo } from 'react';\nimport { MemoryRouter } from 'react-router-dom';\nimport { MutationCache, QueryClient, QueryClientProvider } from '@tanstack/react-query';\nimport { ApolloClient, InMemoryCache, HttpLink, from } from '@apollo/client';\nimport { onError } from '@apollo/client/link/error';\nimport { ApolloProvider } from '@apollo/client/react';\nimport { isAuthNetworkError, redirectToLogin } from '@burdenoff/fe-libs/shared/utils';\nimport { PermissionProvider } from '@burdenoff/fe-libs/shared/providers/shell';\nimport type { SecurityRootProps } from '../types';\n\nfunction hasSessionAuthErrors(\n errors: ReadonlyArray<{ message?: string; extensions?: Record<string, unknown> }> = []\n): boolean {\n return errors.some((error) => {\n const code = typeof error.extensions?.code === 'string' ? error.extensions.code : '';\n const errorCode =\n typeof error.extensions?.errorCode === 'string' ? error.extensions.errorCode : '';\n const message = (error.message ?? '').toLowerCase();\n\n return (\n code === 'UNAUTHENTICATED' ||\n errorCode === 'TOKEN_EXPIRED' ||\n message.includes('token_expired') ||\n message.includes('token expired') ||\n message.includes('session expired') ||\n message.includes('unauthorized') ||\n message.includes('unauthenticated') ||\n message.includes('authentication required') ||\n message.includes('workspace context missing')\n );\n });\n}\n\n/**\n * Context value for Security microfrontend\n */\ntype SecurityContextValue = SecurityRootProps;\n\nconst SecurityContext = createContext<SecurityContextValue | null>(null);\n\n/**\n * Hook to access Security context\n */\nexport const useSecurity = () => {\n const context = use(SecurityContext);\n if (!context) {\n throw new Error('useSecurity must be used within SecurityProvider');\n }\n return context;\n};\n\n/**\n * Provider component for Security microfrontend\n * Sets up routing, context, Apollo Client, and React Query client\n */\nexport const SecurityProvider: FC<PropsWithChildren<SecurityRootProps>> = ({\n children,\n basePath,\n navigate: shellNavigate,\n onAuthError,\n getWorkspaceToken,\n currentUser,\n workspaceId,\n apiGatewayUrl,\n authToken,\n workspaceToken,\n}) => {\n const contextValue: SecurityContextValue = {\n basePath,\n navigate: shellNavigate,\n onAuthError,\n getWorkspaceToken,\n currentUser,\n workspaceId,\n apiGatewayUrl,\n authToken,\n workspaceToken,\n };\n\n // Create QueryClient instance (memoized to avoid recreation on re-renders)\n const queryClient = useMemo(\n () => {\n const client = new QueryClient({\n mutationCache: new MutationCache({\n onSuccess: () => {\n void client.invalidateQueries();\n },\n }),\n defaultOptions: {\n queries: {\n retry: 1,\n refetchOnWindowFocus: false,\n staleTime: 0, // always refetch\n },\n },\n });\n return client;\n },\n []\n );\n\n // Create ApolloClient instance (memoized, recreated when tokens change)\n // The workspace gateway requires dual-token auth:\n // Authorization: Bearer <authToken> (platform identity)\n // X-Workspace-Authorization: Bearer <workspaceToken> (workspace access)\n // NOTE: shellNavigate is deliberately NOT a dep of this memo — see the\n // dep array at the bottom of the function for the rationale. Do not\n // reference shellNavigate inside this memo body without also adding it\n // to the dep array (which would defeat the purpose of the omission).\n const apolloClient = useMemo(() => {\n const headers: Record<string, string> = {};\n if (authToken) {\n headers['Authorization'] = `Bearer ${authToken}`;\n }\n if (workspaceToken) {\n headers['X-Workspace-Authorization'] = `Bearer ${workspaceToken}`;\n }\n\n const graphqlUri = apiGatewayUrl\n ? `${apiGatewayUrl}/workspaces/graphql`\n : '/workspaces/graphql';\n\n const httpLink = new HttpLink({\n uri: graphqlUri,\n headers: Object.keys(headers).length > 0 ? headers : undefined,\n });\n\n const errorLink = onError(({ error }) => {\n if (!error) return;\n\n const graphQLErrors = 'errors' in error && Array.isArray(error.errors) ? error.errors : [];\n\n if (hasSessionAuthErrors(graphQLErrors)) {\n if (authToken && !workspaceToken && workspaceId) {\n void getWorkspaceToken?.();\n return;\n }\n\n if (onAuthError) {\n void Promise.resolve(onAuthError());\n return;\n }\n\n redirectToLogin();\n return;\n }\n\n if (error instanceof Error && isAuthNetworkError(error)) {\n if (authToken && !workspaceToken && workspaceId) {\n void getWorkspaceToken?.();\n return;\n }\n\n if (onAuthError) {\n void Promise.resolve(onAuthError());\n return;\n }\n\n redirectToLogin();\n }\n });\n\n return new ApolloClient({\n link: from([errorLink, httpLink]),\n cache: new InMemoryCache(),\n defaultOptions: {\n watchQuery: {\n fetchPolicy: 'network-only',\n },\n query: {\n fetchPolicy: 'network-only',\n },\n },\n });\n }, [\n apiGatewayUrl,\n authToken,\n workspaceToken,\n workspaceId,\n onAuthError,\n getWorkspaceToken,\n // shellNavigate is intentionally NOT in this dep array — it is not\n // referenced inside the memo body, and shell apps typically pass a\n // new function reference on every render which would tear the\n // entire Apollo client + cache down once per parent render.\n ]);\n\n const isIntegrated = !!basePath;\n\n // Wrap content with QueryClientProvider and SecurityContext.Provider.\n // PermissionProvider requires the shell's AuthProvider — pages inside\n // security routes call usePermissions() and would throw without it.\n // Security calls workspace gateway, so scope to workspaceId.\n const content = (\n <QueryClientProvider client={queryClient}>\n <SecurityContext.Provider value={contextValue}>\n <PermissionProvider scopeId={workspaceId ?? null} gateway=\"workspace\">\n {children}\n </PermissionProvider>\n </SecurityContext.Provider>\n </QueryClientProvider>\n );\n\n // When integrated into a shell (basePath provided), the shell already has a router and ApolloProvider\n // so we don't create another one. When standalone (no basePath), use MemoryRouter and ApolloProvider.\n return isIntegrated ? (\n content\n ) : (\n <ApolloProvider client={apolloClient}>\n <MemoryRouter>{content}</MemoryRouter>\n </ApolloProvider>\n );\n};\n"],"mappings":";;;;;;;;;;AAWA,SAAS,EACP,IAAoF,EAAE,EAC7E;AACT,QAAO,EAAO,MAAM,MAAU;EAC5B,IAAM,IAAO,OAAO,EAAM,YAAY,QAAS,WAAW,EAAM,WAAW,OAAO,IAC5E,IACJ,OAAO,EAAM,YAAY,aAAc,WAAW,EAAM,WAAW,YAAY,IAC3E,KAAW,EAAM,WAAW,IAAI,aAAa;AAEnD,SACE,MAAS,qBACT,MAAc,mBACd,EAAQ,SAAS,gBAAgB,IACjC,EAAQ,SAAS,gBAAgB,IACjC,EAAQ,SAAS,kBAAkB,IACnC,EAAQ,SAAS,eAAe,IAChC,EAAQ,SAAS,kBAAkB,IACnC,EAAQ,SAAS,0BAA0B,IAC3C,EAAQ,SAAS,4BAA4B;GAE/C;;AAQJ,IAAM,IAAkB,EAA2C,KAAK,EAK3D,UAAoB;CAC/B,IAAM,IAAU,EAAI,EAAgB;AACpC,KAAI,CAAC,EACH,OAAU,MAAM,mDAAmD;AAErE,QAAO;GAOI,KAA8D,EACzE,aACA,aACA,UAAU,GACV,gBACA,sBACA,gBACA,gBACA,kBACA,cACA,wBACI;CACJ,IAAM,IAAqC;EACzC;EACA,UAAU;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACD,EAGK,IAAc,QACZ;EACJ,IAAM,IAAS,IAAI,EAAY;GAC7B,eAAe,IAAI,EAAc,EAC/B,iBAAiB;AACV,MAAO,mBAAmB;MAElC,CAAC;GACF,gBAAgB,EACd,SAAS;IACP,OAAO;IACP,sBAAsB;IACtB,WAAW;IACZ,EACF;GACF,CAAC;AACF,SAAO;IAET,EAAE,CACH,EAUK,IAAe,QAAc;EACjC,IAAM,IAAkC,EAAE;AAI1C,EAHI,MACF,EAAQ,gBAAmB,UAAU,MAEnC,MACF,EAAQ,+BAA+B,UAAU;EAOnD,IAAM,IAAW,IAAI,EAAS;GAC5B,KALiB,IACf,GAAG,EAAc,uBACjB;GAIF,SAAS,OAAO,KAAK,EAAQ,CAAC,SAAS,IAAI,IAAU,KAAA;GACtD,CAAC;AAqCF,SAAO,IAAI,EAAa;GACtB,MAAM,EAAK,CApCK,GAAS,EAAE,eAAY;AAClC,WAIL;SAAI,EAFkB,YAAY,KAAS,MAAM,QAAQ,EAAM,OAAO,GAAG,EAAM,SAAS,EAAE,CAEnD,EAAE;AACvC,UAAI,KAAa,CAAC,KAAkB,GAAa;AAC1C,YAAqB;AAC1B;;AAGF,UAAI,GAAa;AACV,eAAQ,QAAQ,GAAa,CAAC;AACnC;;AAGF,SAAiB;AACjB;;AAGF,SAAI,aAAiB,SAAS,EAAmB,EAAM,EAAE;AACvD,UAAI,KAAa,CAAC,KAAkB,GAAa;AAC1C,YAAqB;AAC1B;;AAGF,UAAI,GAAa;AACV,eAAQ,QAAQ,GAAa,CAAC;AACnC;;AAGF,SAAiB;;;KAEnB,EAGuB,EAAS,CAAC;GACjC,OAAO,IAAI,GAAe;GAC1B,gBAAgB;IACd,YAAY,EACV,aAAa,gBACd;IACD,OAAO,EACL,aAAa,gBACd;IACF;GACF,CAAC;IACD;EACD;EACA;EACA;EACA;EACA;EACA;EAKD,CAAC,EAEI,IAAe,CAAC,CAAC,GAMjB,IACJ,kBAAC,GAAD;EAAqB,QAAQ;YAC3B,kBAAC,EAAgB,UAAjB;GAA0B,OAAO;aAC/B,kBAAC,GAAD;IAAoB,SAAS,KAAe;IAAM,SAAQ;IACvD;IACkB,CAAA;GACI,CAAA;EACP,CAAA;AAKxB,QAAO,IACL,IAEA,kBAAC,GAAD;EAAgB,QAAQ;YACtB,kBAAC,GAAD,EAAA,UAAe,GAAuB,CAAA;EACvB,CAAA"}
1
+ {"version":3,"file":"SecurityProvider.js","names":[],"sources":["../../../src/security/providers/SecurityProvider.tsx"],"sourcesContent":["import type { FC, PropsWithChildren } from 'react';\nimport { createContext, use, useMemo } from 'react';\nimport { MemoryRouter } from 'react-router-dom';\nimport { MutationCache, QueryClient, QueryClientProvider } from '@tanstack/react-query';\nimport { ApolloClient, InMemoryCache, HttpLink, from } from '@apollo/client';\nimport { onError } from '@apollo/client/link/error';\nimport { ApolloProvider } from '@apollo/client/react';\nimport { isAuthNetworkError, redirectToLogin } from '@burdenoff/fe-libs/shared/utils';\nimport { PermissionProvider } from '@burdenoff/fe-libs/shared/providers/shell';\nimport type { SecurityRootProps } from '../types';\n\nfunction hasSessionAuthErrors(\n errors: ReadonlyArray<{ message?: string; extensions?: Record<string, unknown> }> = []\n): boolean {\n return errors.some((error) => {\n const code = typeof error.extensions?.code === 'string' ? error.extensions.code : '';\n const errorCode =\n typeof error.extensions?.errorCode === 'string' ? error.extensions.errorCode : '';\n const message = (error.message ?? '').toLowerCase();\n\n return (\n code === 'UNAUTHENTICATED' ||\n errorCode === 'TOKEN_EXPIRED' ||\n message.includes('token_expired') ||\n message.includes('token expired') ||\n message.includes('session expired') ||\n message.includes('unauthorized') ||\n message.includes('unauthenticated') ||\n message.includes('authentication required') ||\n message.includes('workspace context missing')\n );\n });\n}\n\n/**\n * Context value for Security microfrontend\n */\ntype SecurityContextValue = SecurityRootProps;\n\nconst SecurityContext = createContext<SecurityContextValue | null>(null);\n\n/**\n * Hook to access Security context\n */\nexport const useSecurity = () => {\n const context = use(SecurityContext);\n if (!context) {\n throw new Error('useSecurity must be used within SecurityProvider');\n }\n return context;\n};\n\n/**\n * Provider component for Security microfrontend\n * Sets up routing, context, Apollo Client, and React Query client\n */\nexport const SecurityProvider: FC<PropsWithChildren<SecurityRootProps>> = ({\n children,\n basePath,\n navigate: shellNavigate,\n onAuthError,\n getWorkspaceToken,\n currentUser,\n workspaceId,\n apiGatewayUrl,\n authToken,\n workspaceToken,\n}) => {\n const contextValue: SecurityContextValue = {\n basePath,\n navigate: shellNavigate,\n onAuthError,\n getWorkspaceToken,\n currentUser,\n workspaceId,\n apiGatewayUrl,\n authToken,\n workspaceToken,\n };\n\n // Create QueryClient instance (memoized to avoid recreation on re-renders)\n const queryClient = useMemo(() => {\n const client = new QueryClient({\n mutationCache: new MutationCache({\n onSuccess: () => {\n void client.invalidateQueries();\n },\n }),\n defaultOptions: {\n queries: {\n retry: 1,\n refetchOnWindowFocus: false,\n staleTime: 0, // always refetch\n },\n },\n });\n return client;\n }, []);\n\n // Create ApolloClient instance (memoized, recreated when tokens change)\n // The workspace gateway requires dual-token auth:\n // Authorization: Bearer <authToken> (platform identity)\n // X-Workspace-Authorization: Bearer <workspaceToken> (workspace access)\n // NOTE: shellNavigate is deliberately NOT a dep of this memo — see the\n // dep array at the bottom of the function for the rationale. Do not\n // reference shellNavigate inside this memo body without also adding it\n // to the dep array (which would defeat the purpose of the omission).\n const apolloClient = useMemo(() => {\n const headers: Record<string, string> = {};\n if (authToken) {\n headers['Authorization'] = `Bearer ${authToken}`;\n }\n if (workspaceToken) {\n headers['X-Workspace-Authorization'] = `Bearer ${workspaceToken}`;\n }\n\n const graphqlUri = apiGatewayUrl\n ? `${apiGatewayUrl}/workspaces/graphql`\n : '/workspaces/graphql';\n\n const httpLink = new HttpLink({\n uri: graphqlUri,\n headers: Object.keys(headers).length > 0 ? headers : undefined,\n });\n\n const errorLink = onError(({ error }) => {\n if (!error) return;\n\n const graphQLErrors = 'errors' in error && Array.isArray(error.errors) ? error.errors : [];\n\n if (hasSessionAuthErrors(graphQLErrors)) {\n if (authToken && !workspaceToken && workspaceId) {\n void getWorkspaceToken?.();\n return;\n }\n\n if (onAuthError) {\n void Promise.resolve(onAuthError());\n return;\n }\n\n redirectToLogin();\n return;\n }\n\n if (error instanceof Error && isAuthNetworkError(error)) {\n if (authToken && !workspaceToken && workspaceId) {\n void getWorkspaceToken?.();\n return;\n }\n\n if (onAuthError) {\n void Promise.resolve(onAuthError());\n return;\n }\n\n redirectToLogin();\n }\n });\n\n return new ApolloClient({\n link: from([errorLink, httpLink]),\n cache: new InMemoryCache(),\n defaultOptions: {\n watchQuery: {\n fetchPolicy: 'network-only',\n },\n query: {\n fetchPolicy: 'network-only',\n },\n },\n });\n }, [\n apiGatewayUrl,\n authToken,\n workspaceToken,\n workspaceId,\n onAuthError,\n getWorkspaceToken,\n // shellNavigate is intentionally NOT in this dep array — it is not\n // referenced inside the memo body, and shell apps typically pass a\n // new function reference on every render which would tear the\n // entire Apollo client + cache down once per parent render.\n ]);\n\n const isIntegrated = !!basePath;\n\n // Wrap content with QueryClientProvider and SecurityContext.Provider.\n // PermissionProvider requires the shell's AuthProvider — pages inside\n // security routes call usePermissions() and would throw without it.\n // Security calls workspace gateway, so scope to workspaceId.\n const content = (\n <QueryClientProvider client={queryClient}>\n <SecurityContext.Provider value={contextValue}>\n <PermissionProvider scopeId={workspaceId ?? null} gateway=\"workspace\">\n {children}\n </PermissionProvider>\n </SecurityContext.Provider>\n </QueryClientProvider>\n );\n\n // When integrated into a shell (basePath provided), the shell already has a router and ApolloProvider\n // so we don't create another one. When standalone (no basePath), use MemoryRouter and ApolloProvider.\n return isIntegrated ? (\n content\n ) : (\n <ApolloProvider client={apolloClient}>\n <MemoryRouter>{content}</MemoryRouter>\n </ApolloProvider>\n );\n};\n"],"mappings":";;;;;;;;;;AAWA,SAAS,EACP,IAAoF,EAAE,EAC7E;AACT,QAAO,EAAO,MAAM,MAAU;EAC5B,IAAM,IAAO,OAAO,EAAM,YAAY,QAAS,WAAW,EAAM,WAAW,OAAO,IAC5E,IACJ,OAAO,EAAM,YAAY,aAAc,WAAW,EAAM,WAAW,YAAY,IAC3E,KAAW,EAAM,WAAW,IAAI,aAAa;AAEnD,SACE,MAAS,qBACT,MAAc,mBACd,EAAQ,SAAS,gBAAgB,IACjC,EAAQ,SAAS,gBAAgB,IACjC,EAAQ,SAAS,kBAAkB,IACnC,EAAQ,SAAS,eAAe,IAChC,EAAQ,SAAS,kBAAkB,IACnC,EAAQ,SAAS,0BAA0B,IAC3C,EAAQ,SAAS,4BAA4B;GAE/C;;AAQJ,IAAM,IAAkB,EAA2C,KAAK,EAK3D,UAAoB;CAC/B,IAAM,IAAU,EAAI,EAAgB;AACpC,KAAI,CAAC,EACH,OAAU,MAAM,mDAAmD;AAErE,QAAO;GAOI,KAA8D,EACzE,aACA,aACA,UAAU,GACV,gBACA,sBACA,gBACA,gBACA,kBACA,cACA,wBACI;CACJ,IAAM,IAAqC;EACzC;EACA,UAAU;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACD,EAGK,IAAc,QAAc;EAChC,IAAM,IAAS,IAAI,EAAY;GAC7B,eAAe,IAAI,EAAc,EAC/B,iBAAiB;AACV,MAAO,mBAAmB;MAElC,CAAC;GACF,gBAAgB,EACd,SAAS;IACP,OAAO;IACP,sBAAsB;IACtB,WAAW;IACZ,EACF;GACF,CAAC;AACF,SAAO;IACN,EAAE,CAAC,EAUA,IAAe,QAAc;EACjC,IAAM,IAAkC,EAAE;AAI1C,EAHI,MACF,EAAQ,gBAAmB,UAAU,MAEnC,MACF,EAAQ,+BAA+B,UAAU;EAOnD,IAAM,IAAW,IAAI,EAAS;GAC5B,KALiB,IACf,GAAG,EAAc,uBACjB;GAIF,SAAS,OAAO,KAAK,EAAQ,CAAC,SAAS,IAAI,IAAU,KAAA;GACtD,CAAC;AAqCF,SAAO,IAAI,EAAa;GACtB,MAAM,EAAK,CApCK,GAAS,EAAE,eAAY;AAClC,WAIL;SAAI,EAFkB,YAAY,KAAS,MAAM,QAAQ,EAAM,OAAO,GAAG,EAAM,SAAS,EAAE,CAEnD,EAAE;AACvC,UAAI,KAAa,CAAC,KAAkB,GAAa;AAC1C,YAAqB;AAC1B;;AAGF,UAAI,GAAa;AACV,eAAQ,QAAQ,GAAa,CAAC;AACnC;;AAGF,SAAiB;AACjB;;AAGF,SAAI,aAAiB,SAAS,EAAmB,EAAM,EAAE;AACvD,UAAI,KAAa,CAAC,KAAkB,GAAa;AAC1C,YAAqB;AAC1B;;AAGF,UAAI,GAAa;AACV,eAAQ,QAAQ,GAAa,CAAC;AACnC;;AAGF,SAAiB;;;KAEnB,EAGuB,EAAS,CAAC;GACjC,OAAO,IAAI,GAAe;GAC1B,gBAAgB;IACd,YAAY,EACV,aAAa,gBACd;IACD,OAAO,EACL,aAAa,gBACd;IACF;GACF,CAAC;IACD;EACD;EACA;EACA;EACA;EACA;EACA;EAKD,CAAC,EAEI,IAAe,CAAC,CAAC,GAMjB,IACJ,kBAAC,GAAD;EAAqB,QAAQ;YAC3B,kBAAC,EAAgB,UAAjB;GAA0B,OAAO;aAC/B,kBAAC,GAAD;IAAoB,SAAS,KAAe;IAAM,SAAQ;IACvD;IACkB,CAAA;GACI,CAAA;EACP,CAAA;AAKxB,QAAO,IACL,IAEA,kBAAC,GAAD;EAAgB,QAAQ;YACtB,kBAAC,GAAD,EAAA,UAAe,GAAuB,CAAA;EACvB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-security",
3
- "version": "2026.601.1",
3
+ "version": "2026.601.3",
4
4
  "description": "Security vault management microfrontend",
5
5
  "type": "module",
6
6
  "files": [