@opengeni/contracts 3.1.2 → 3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atlassian.js +5 -4
- package/dist/{chunk-OF6OKOBF.js → chunk-B2G6NXLZ.js} +8486 -9303
- package/dist/chunk-B2G6NXLZ.js.map +1 -0
- package/dist/chunk-C6HESWDB.js +1384 -0
- package/dist/chunk-C6HESWDB.js.map +1 -0
- package/dist/{chunk-6C2HKFTU.js → chunk-KLG2MBAU.js} +2 -2
- package/dist/connect.js +8 -7
- package/dist/connect.js.map +1 -1
- package/dist/connection-authority.js +6 -5
- package/dist/google-drive.js +6 -5
- package/dist/google-drive.js.map +1 -1
- package/dist/host-mcp-bindings.js +6 -5
- package/dist/host-mcp-bindings.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +191 -101
- package/dist/personal-github.js +5 -4
- package/dist/personal-github.js.map +1 -1
- package/dist/vault-provider-wire.d.ts +856 -0
- package/dist/vault-provider-wire.js +72 -0
- package/dist/vault-provider-wire.js.map +1 -0
- package/dist/vaults.d.ts +669 -0
- package/package.json +5 -1
- package/src/index.ts +1 -0
- package/src/vault-provider-wire.ts +584 -0
- package/src/vaults.ts +188 -3
- package/dist/chunk-OF6OKOBF.js.map +0 -1
- /package/dist/{chunk-6C2HKFTU.js.map → chunk-KLG2MBAU.js.map} +0 -0
package/dist/vaults.d.ts
CHANGED
|
@@ -16,9 +16,13 @@ export declare const VaultOwnerKind: z.ZodEnum<{
|
|
|
16
16
|
}>;
|
|
17
17
|
export type VaultOwnerKind = z.infer<typeof VaultOwnerKind>;
|
|
18
18
|
export declare const VaultSource: z.ZodEnum<{
|
|
19
|
+
bitwarden: "bitwarden";
|
|
20
|
+
external: "external";
|
|
19
21
|
host: "host";
|
|
22
|
+
keeper: "keeper";
|
|
20
23
|
onepassword: "onepassword";
|
|
21
24
|
opengeni: "opengeni";
|
|
25
|
+
protonpass: "protonpass";
|
|
22
26
|
}>;
|
|
23
27
|
export type VaultSource = z.infer<typeof VaultSource>;
|
|
24
28
|
export declare const VaultMode: z.ZodEnum<{
|
|
@@ -49,6 +53,52 @@ export declare const VaultFieldKind: z.ZodEnum<{
|
|
|
49
53
|
totp: "totp";
|
|
50
54
|
}>;
|
|
51
55
|
export type VaultFieldKind = z.infer<typeof VaultFieldKind>;
|
|
56
|
+
/** Effective operations, not a promise that upstream permissions cannot change. */
|
|
57
|
+
export declare const VaultProviderOperations: z.ZodObject<{
|
|
58
|
+
createItemTypes: z.ZodArray<z.ZodEnum<{
|
|
59
|
+
api_key: "api_key";
|
|
60
|
+
file: "file";
|
|
61
|
+
login: "login";
|
|
62
|
+
note: "note";
|
|
63
|
+
passkey: "passkey";
|
|
64
|
+
}>>;
|
|
65
|
+
updateItem: z.ZodBoolean;
|
|
66
|
+
removeField: z.ZodBoolean;
|
|
67
|
+
archiveItem: z.ZodBoolean;
|
|
68
|
+
archiveKind: z.ZodEnum<{
|
|
69
|
+
archive: "archive";
|
|
70
|
+
none: "none";
|
|
71
|
+
trash: "trash";
|
|
72
|
+
}>;
|
|
73
|
+
deleteItem: z.ZodLiteral<false>;
|
|
74
|
+
restoreItem: z.ZodBoolean;
|
|
75
|
+
readFiles: z.ZodBoolean;
|
|
76
|
+
writeFiles: z.ZodBoolean;
|
|
77
|
+
createTotp: z.ZodBoolean;
|
|
78
|
+
updateTotp: z.ZodBoolean;
|
|
79
|
+
createVault: z.ZodBoolean;
|
|
80
|
+
restoreFieldHistory: z.ZodBoolean;
|
|
81
|
+
}, z.core.$strict>;
|
|
82
|
+
export type VaultProviderOperations = z.infer<typeof VaultProviderOperations>;
|
|
83
|
+
/** A successful mirror check does not prove a customer's upstream cache is current. */
|
|
84
|
+
export declare const VaultProviderFreshness: z.ZodObject<{
|
|
85
|
+
state: z.ZodEnum<{
|
|
86
|
+
current: "current";
|
|
87
|
+
refreshing: "refreshing";
|
|
88
|
+
stale: "stale";
|
|
89
|
+
unavailable: "unavailable";
|
|
90
|
+
}>;
|
|
91
|
+
lastCheckedAt: z.ZodNullable<z.ZodString>;
|
|
92
|
+
sourceSyncedAt: z.ZodNullable<z.ZodString>;
|
|
93
|
+
source: z.ZodEnum<{
|
|
94
|
+
cache: "cache";
|
|
95
|
+
live: "live";
|
|
96
|
+
unknown: "unknown";
|
|
97
|
+
}>;
|
|
98
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
99
|
+
retryAt: z.ZodNullable<z.ZodString>;
|
|
100
|
+
}, z.core.$strict>;
|
|
101
|
+
export type VaultProviderFreshness = z.infer<typeof VaultProviderFreshness>;
|
|
52
102
|
/** Lookup order for references that name no vault; index = tier. */
|
|
53
103
|
export declare const VAULT_LOOKUP_TIERS: readonly ["task", "user", "workspace", "organization"];
|
|
54
104
|
export type VaultLookupTier = (typeof VAULT_LOOKUP_TIERS)[number];
|
|
@@ -126,9 +176,13 @@ export declare const VaultSummary: z.ZodObject<{
|
|
|
126
176
|
name: z.ZodString;
|
|
127
177
|
description: z.ZodNullable<z.ZodString>;
|
|
128
178
|
source: z.ZodEnum<{
|
|
179
|
+
bitwarden: "bitwarden";
|
|
180
|
+
external: "external";
|
|
129
181
|
host: "host";
|
|
182
|
+
keeper: "keeper";
|
|
130
183
|
onepassword: "onepassword";
|
|
131
184
|
opengeni: "opengeni";
|
|
185
|
+
protonpass: "protonpass";
|
|
132
186
|
}>;
|
|
133
187
|
mode: z.ZodEnum<{
|
|
134
188
|
read_only: "read_only";
|
|
@@ -146,6 +200,48 @@ export declare const VaultSummary: z.ZodObject<{
|
|
|
146
200
|
lastSyncedAt: z.ZodNullable<z.ZodString>;
|
|
147
201
|
rateLimitedUntil: z.ZodNullable<z.ZodString>;
|
|
148
202
|
providerConnectionId: z.ZodNullable<z.ZodString>;
|
|
203
|
+
providerOperations: z.ZodOptional<z.ZodObject<{
|
|
204
|
+
createItemTypes: z.ZodArray<z.ZodEnum<{
|
|
205
|
+
api_key: "api_key";
|
|
206
|
+
file: "file";
|
|
207
|
+
login: "login";
|
|
208
|
+
note: "note";
|
|
209
|
+
passkey: "passkey";
|
|
210
|
+
}>>;
|
|
211
|
+
updateItem: z.ZodBoolean;
|
|
212
|
+
removeField: z.ZodBoolean;
|
|
213
|
+
archiveItem: z.ZodBoolean;
|
|
214
|
+
archiveKind: z.ZodEnum<{
|
|
215
|
+
archive: "archive";
|
|
216
|
+
none: "none";
|
|
217
|
+
trash: "trash";
|
|
218
|
+
}>;
|
|
219
|
+
deleteItem: z.ZodLiteral<false>;
|
|
220
|
+
restoreItem: z.ZodBoolean;
|
|
221
|
+
readFiles: z.ZodBoolean;
|
|
222
|
+
writeFiles: z.ZodBoolean;
|
|
223
|
+
createTotp: z.ZodBoolean;
|
|
224
|
+
updateTotp: z.ZodBoolean;
|
|
225
|
+
createVault: z.ZodBoolean;
|
|
226
|
+
restoreFieldHistory: z.ZodBoolean;
|
|
227
|
+
}, z.core.$strict>>;
|
|
228
|
+
freshness: z.ZodOptional<z.ZodObject<{
|
|
229
|
+
state: z.ZodEnum<{
|
|
230
|
+
current: "current";
|
|
231
|
+
refreshing: "refreshing";
|
|
232
|
+
stale: "stale";
|
|
233
|
+
unavailable: "unavailable";
|
|
234
|
+
}>;
|
|
235
|
+
lastCheckedAt: z.ZodNullable<z.ZodString>;
|
|
236
|
+
sourceSyncedAt: z.ZodNullable<z.ZodString>;
|
|
237
|
+
source: z.ZodEnum<{
|
|
238
|
+
cache: "cache";
|
|
239
|
+
live: "live";
|
|
240
|
+
unknown: "unknown";
|
|
241
|
+
}>;
|
|
242
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
243
|
+
retryAt: z.ZodNullable<z.ZodString>;
|
|
244
|
+
}, z.core.$strict>>;
|
|
149
245
|
availability: z.ZodNullable<z.ZodObject<{
|
|
150
246
|
allowedWorkspaceIds: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
151
247
|
allowPersonalWorkspaces: z.ZodBoolean;
|
|
@@ -498,9 +594,13 @@ export declare const ListVaultsResponse: z.ZodObject<{
|
|
|
498
594
|
name: z.ZodString;
|
|
499
595
|
description: z.ZodNullable<z.ZodString>;
|
|
500
596
|
source: z.ZodEnum<{
|
|
597
|
+
bitwarden: "bitwarden";
|
|
598
|
+
external: "external";
|
|
501
599
|
host: "host";
|
|
600
|
+
keeper: "keeper";
|
|
502
601
|
onepassword: "onepassword";
|
|
503
602
|
opengeni: "opengeni";
|
|
603
|
+
protonpass: "protonpass";
|
|
504
604
|
}>;
|
|
505
605
|
mode: z.ZodEnum<{
|
|
506
606
|
read_only: "read_only";
|
|
@@ -518,6 +618,48 @@ export declare const ListVaultsResponse: z.ZodObject<{
|
|
|
518
618
|
lastSyncedAt: z.ZodNullable<z.ZodString>;
|
|
519
619
|
rateLimitedUntil: z.ZodNullable<z.ZodString>;
|
|
520
620
|
providerConnectionId: z.ZodNullable<z.ZodString>;
|
|
621
|
+
providerOperations: z.ZodOptional<z.ZodObject<{
|
|
622
|
+
createItemTypes: z.ZodArray<z.ZodEnum<{
|
|
623
|
+
api_key: "api_key";
|
|
624
|
+
file: "file";
|
|
625
|
+
login: "login";
|
|
626
|
+
note: "note";
|
|
627
|
+
passkey: "passkey";
|
|
628
|
+
}>>;
|
|
629
|
+
updateItem: z.ZodBoolean;
|
|
630
|
+
removeField: z.ZodBoolean;
|
|
631
|
+
archiveItem: z.ZodBoolean;
|
|
632
|
+
archiveKind: z.ZodEnum<{
|
|
633
|
+
archive: "archive";
|
|
634
|
+
none: "none";
|
|
635
|
+
trash: "trash";
|
|
636
|
+
}>;
|
|
637
|
+
deleteItem: z.ZodLiteral<false>;
|
|
638
|
+
restoreItem: z.ZodBoolean;
|
|
639
|
+
readFiles: z.ZodBoolean;
|
|
640
|
+
writeFiles: z.ZodBoolean;
|
|
641
|
+
createTotp: z.ZodBoolean;
|
|
642
|
+
updateTotp: z.ZodBoolean;
|
|
643
|
+
createVault: z.ZodBoolean;
|
|
644
|
+
restoreFieldHistory: z.ZodBoolean;
|
|
645
|
+
}, z.core.$strict>>;
|
|
646
|
+
freshness: z.ZodOptional<z.ZodObject<{
|
|
647
|
+
state: z.ZodEnum<{
|
|
648
|
+
current: "current";
|
|
649
|
+
refreshing: "refreshing";
|
|
650
|
+
stale: "stale";
|
|
651
|
+
unavailable: "unavailable";
|
|
652
|
+
}>;
|
|
653
|
+
lastCheckedAt: z.ZodNullable<z.ZodString>;
|
|
654
|
+
sourceSyncedAt: z.ZodNullable<z.ZodString>;
|
|
655
|
+
source: z.ZodEnum<{
|
|
656
|
+
cache: "cache";
|
|
657
|
+
live: "live";
|
|
658
|
+
unknown: "unknown";
|
|
659
|
+
}>;
|
|
660
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
661
|
+
retryAt: z.ZodNullable<z.ZodString>;
|
|
662
|
+
}, z.core.$strict>>;
|
|
521
663
|
availability: z.ZodNullable<z.ZodObject<{
|
|
522
664
|
allowedWorkspaceIds: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
523
665
|
allowPersonalWorkspaces: z.ZodBoolean;
|
|
@@ -611,9 +753,13 @@ export declare const SessionSecretsView: z.ZodObject<{
|
|
|
611
753
|
name: z.ZodString;
|
|
612
754
|
description: z.ZodNullable<z.ZodString>;
|
|
613
755
|
source: z.ZodEnum<{
|
|
756
|
+
bitwarden: "bitwarden";
|
|
757
|
+
external: "external";
|
|
614
758
|
host: "host";
|
|
759
|
+
keeper: "keeper";
|
|
615
760
|
onepassword: "onepassword";
|
|
616
761
|
opengeni: "opengeni";
|
|
762
|
+
protonpass: "protonpass";
|
|
617
763
|
}>;
|
|
618
764
|
mode: z.ZodEnum<{
|
|
619
765
|
read_only: "read_only";
|
|
@@ -631,6 +777,48 @@ export declare const SessionSecretsView: z.ZodObject<{
|
|
|
631
777
|
lastSyncedAt: z.ZodNullable<z.ZodString>;
|
|
632
778
|
rateLimitedUntil: z.ZodNullable<z.ZodString>;
|
|
633
779
|
providerConnectionId: z.ZodNullable<z.ZodString>;
|
|
780
|
+
providerOperations: z.ZodOptional<z.ZodObject<{
|
|
781
|
+
createItemTypes: z.ZodArray<z.ZodEnum<{
|
|
782
|
+
api_key: "api_key";
|
|
783
|
+
file: "file";
|
|
784
|
+
login: "login";
|
|
785
|
+
note: "note";
|
|
786
|
+
passkey: "passkey";
|
|
787
|
+
}>>;
|
|
788
|
+
updateItem: z.ZodBoolean;
|
|
789
|
+
removeField: z.ZodBoolean;
|
|
790
|
+
archiveItem: z.ZodBoolean;
|
|
791
|
+
archiveKind: z.ZodEnum<{
|
|
792
|
+
archive: "archive";
|
|
793
|
+
none: "none";
|
|
794
|
+
trash: "trash";
|
|
795
|
+
}>;
|
|
796
|
+
deleteItem: z.ZodLiteral<false>;
|
|
797
|
+
restoreItem: z.ZodBoolean;
|
|
798
|
+
readFiles: z.ZodBoolean;
|
|
799
|
+
writeFiles: z.ZodBoolean;
|
|
800
|
+
createTotp: z.ZodBoolean;
|
|
801
|
+
updateTotp: z.ZodBoolean;
|
|
802
|
+
createVault: z.ZodBoolean;
|
|
803
|
+
restoreFieldHistory: z.ZodBoolean;
|
|
804
|
+
}, z.core.$strict>>;
|
|
805
|
+
freshness: z.ZodOptional<z.ZodObject<{
|
|
806
|
+
state: z.ZodEnum<{
|
|
807
|
+
current: "current";
|
|
808
|
+
refreshing: "refreshing";
|
|
809
|
+
stale: "stale";
|
|
810
|
+
unavailable: "unavailable";
|
|
811
|
+
}>;
|
|
812
|
+
lastCheckedAt: z.ZodNullable<z.ZodString>;
|
|
813
|
+
sourceSyncedAt: z.ZodNullable<z.ZodString>;
|
|
814
|
+
source: z.ZodEnum<{
|
|
815
|
+
cache: "cache";
|
|
816
|
+
live: "live";
|
|
817
|
+
unknown: "unknown";
|
|
818
|
+
}>;
|
|
819
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
820
|
+
retryAt: z.ZodNullable<z.ZodString>;
|
|
821
|
+
}, z.core.$strict>>;
|
|
634
822
|
availability: z.ZodNullable<z.ZodObject<{
|
|
635
823
|
allowedWorkspaceIds: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
636
824
|
allowPersonalWorkspaces: z.ZodBoolean;
|
|
@@ -682,9 +870,13 @@ export declare const SessionSecretsView: z.ZodObject<{
|
|
|
682
870
|
name: z.ZodString;
|
|
683
871
|
description: z.ZodNullable<z.ZodString>;
|
|
684
872
|
source: z.ZodEnum<{
|
|
873
|
+
bitwarden: "bitwarden";
|
|
874
|
+
external: "external";
|
|
685
875
|
host: "host";
|
|
876
|
+
keeper: "keeper";
|
|
686
877
|
onepassword: "onepassword";
|
|
687
878
|
opengeni: "opengeni";
|
|
879
|
+
protonpass: "protonpass";
|
|
688
880
|
}>;
|
|
689
881
|
mode: z.ZodEnum<{
|
|
690
882
|
read_only: "read_only";
|
|
@@ -702,6 +894,48 @@ export declare const SessionSecretsView: z.ZodObject<{
|
|
|
702
894
|
lastSyncedAt: z.ZodNullable<z.ZodString>;
|
|
703
895
|
rateLimitedUntil: z.ZodNullable<z.ZodString>;
|
|
704
896
|
providerConnectionId: z.ZodNullable<z.ZodString>;
|
|
897
|
+
providerOperations: z.ZodOptional<z.ZodObject<{
|
|
898
|
+
createItemTypes: z.ZodArray<z.ZodEnum<{
|
|
899
|
+
api_key: "api_key";
|
|
900
|
+
file: "file";
|
|
901
|
+
login: "login";
|
|
902
|
+
note: "note";
|
|
903
|
+
passkey: "passkey";
|
|
904
|
+
}>>;
|
|
905
|
+
updateItem: z.ZodBoolean;
|
|
906
|
+
removeField: z.ZodBoolean;
|
|
907
|
+
archiveItem: z.ZodBoolean;
|
|
908
|
+
archiveKind: z.ZodEnum<{
|
|
909
|
+
archive: "archive";
|
|
910
|
+
none: "none";
|
|
911
|
+
trash: "trash";
|
|
912
|
+
}>;
|
|
913
|
+
deleteItem: z.ZodLiteral<false>;
|
|
914
|
+
restoreItem: z.ZodBoolean;
|
|
915
|
+
readFiles: z.ZodBoolean;
|
|
916
|
+
writeFiles: z.ZodBoolean;
|
|
917
|
+
createTotp: z.ZodBoolean;
|
|
918
|
+
updateTotp: z.ZodBoolean;
|
|
919
|
+
createVault: z.ZodBoolean;
|
|
920
|
+
restoreFieldHistory: z.ZodBoolean;
|
|
921
|
+
}, z.core.$strict>>;
|
|
922
|
+
freshness: z.ZodOptional<z.ZodObject<{
|
|
923
|
+
state: z.ZodEnum<{
|
|
924
|
+
current: "current";
|
|
925
|
+
refreshing: "refreshing";
|
|
926
|
+
stale: "stale";
|
|
927
|
+
unavailable: "unavailable";
|
|
928
|
+
}>;
|
|
929
|
+
lastCheckedAt: z.ZodNullable<z.ZodString>;
|
|
930
|
+
sourceSyncedAt: z.ZodNullable<z.ZodString>;
|
|
931
|
+
source: z.ZodEnum<{
|
|
932
|
+
cache: "cache";
|
|
933
|
+
live: "live";
|
|
934
|
+
unknown: "unknown";
|
|
935
|
+
}>;
|
|
936
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
937
|
+
retryAt: z.ZodNullable<z.ZodString>;
|
|
938
|
+
}, z.core.$strict>>;
|
|
705
939
|
availability: z.ZodNullable<z.ZodObject<{
|
|
706
940
|
allowedWorkspaceIds: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
707
941
|
allowPersonalWorkspaces: z.ZodBoolean;
|
|
@@ -738,6 +972,36 @@ export declare const ProviderVaultMeta: z.ZodObject<{
|
|
|
738
972
|
name: z.ZodString;
|
|
739
973
|
itemCount: z.ZodNullable<z.ZodNumber>;
|
|
740
974
|
linkedVaultId: z.ZodNullable<z.ZodString>;
|
|
975
|
+
writeAccess: z.ZodOptional<z.ZodEnum<{
|
|
976
|
+
read_only: "read_only";
|
|
977
|
+
read_write: "read_write";
|
|
978
|
+
unknown: "unknown";
|
|
979
|
+
}>>;
|
|
980
|
+
operations: z.ZodOptional<z.ZodObject<{
|
|
981
|
+
createItemTypes: z.ZodArray<z.ZodEnum<{
|
|
982
|
+
api_key: "api_key";
|
|
983
|
+
file: "file";
|
|
984
|
+
login: "login";
|
|
985
|
+
note: "note";
|
|
986
|
+
passkey: "passkey";
|
|
987
|
+
}>>;
|
|
988
|
+
updateItem: z.ZodBoolean;
|
|
989
|
+
removeField: z.ZodBoolean;
|
|
990
|
+
archiveItem: z.ZodBoolean;
|
|
991
|
+
archiveKind: z.ZodEnum<{
|
|
992
|
+
archive: "archive";
|
|
993
|
+
none: "none";
|
|
994
|
+
trash: "trash";
|
|
995
|
+
}>;
|
|
996
|
+
deleteItem: z.ZodLiteral<false>;
|
|
997
|
+
restoreItem: z.ZodBoolean;
|
|
998
|
+
readFiles: z.ZodBoolean;
|
|
999
|
+
writeFiles: z.ZodBoolean;
|
|
1000
|
+
createTotp: z.ZodBoolean;
|
|
1001
|
+
updateTotp: z.ZodBoolean;
|
|
1002
|
+
createVault: z.ZodBoolean;
|
|
1003
|
+
restoreFieldHistory: z.ZodBoolean;
|
|
1004
|
+
}, z.core.$strict>>;
|
|
741
1005
|
}, z.core.$strip>;
|
|
742
1006
|
export type ProviderVaultMeta = z.infer<typeof ProviderVaultMeta>;
|
|
743
1007
|
export declare const InstallOnePasswordResponse: z.ZodObject<{
|
|
@@ -748,6 +1012,36 @@ export declare const InstallOnePasswordResponse: z.ZodObject<{
|
|
|
748
1012
|
name: z.ZodString;
|
|
749
1013
|
itemCount: z.ZodNullable<z.ZodNumber>;
|
|
750
1014
|
linkedVaultId: z.ZodNullable<z.ZodString>;
|
|
1015
|
+
writeAccess: z.ZodOptional<z.ZodEnum<{
|
|
1016
|
+
read_only: "read_only";
|
|
1017
|
+
read_write: "read_write";
|
|
1018
|
+
unknown: "unknown";
|
|
1019
|
+
}>>;
|
|
1020
|
+
operations: z.ZodOptional<z.ZodObject<{
|
|
1021
|
+
createItemTypes: z.ZodArray<z.ZodEnum<{
|
|
1022
|
+
api_key: "api_key";
|
|
1023
|
+
file: "file";
|
|
1024
|
+
login: "login";
|
|
1025
|
+
note: "note";
|
|
1026
|
+
passkey: "passkey";
|
|
1027
|
+
}>>;
|
|
1028
|
+
updateItem: z.ZodBoolean;
|
|
1029
|
+
removeField: z.ZodBoolean;
|
|
1030
|
+
archiveItem: z.ZodBoolean;
|
|
1031
|
+
archiveKind: z.ZodEnum<{
|
|
1032
|
+
archive: "archive";
|
|
1033
|
+
none: "none";
|
|
1034
|
+
trash: "trash";
|
|
1035
|
+
}>;
|
|
1036
|
+
deleteItem: z.ZodLiteral<false>;
|
|
1037
|
+
restoreItem: z.ZodBoolean;
|
|
1038
|
+
readFiles: z.ZodBoolean;
|
|
1039
|
+
writeFiles: z.ZodBoolean;
|
|
1040
|
+
createTotp: z.ZodBoolean;
|
|
1041
|
+
updateTotp: z.ZodBoolean;
|
|
1042
|
+
createVault: z.ZodBoolean;
|
|
1043
|
+
restoreFieldHistory: z.ZodBoolean;
|
|
1044
|
+
}, z.core.$strict>>;
|
|
751
1045
|
}, z.core.$strip>>;
|
|
752
1046
|
}, z.core.$strip>;
|
|
753
1047
|
export type InstallOnePasswordResponse = z.infer<typeof InstallOnePasswordResponse>;
|
|
@@ -808,10 +1102,307 @@ export declare const DisconnectOnePasswordResponse: z.ZodObject<{
|
|
|
808
1102
|
unlinkedVaultIds: z.ZodArray<z.ZodString>;
|
|
809
1103
|
}, z.core.$strip>;
|
|
810
1104
|
export type DisconnectOnePasswordResponse = z.infer<typeof DisconnectOnePasswordResponse>;
|
|
1105
|
+
/** Providers installed through the generic connection lifecycle. */
|
|
1106
|
+
export declare const ExternalVaultProviderKind: z.ZodEnum<{
|
|
1107
|
+
bitwarden: "bitwarden";
|
|
1108
|
+
external: "external";
|
|
1109
|
+
keeper: "keeper";
|
|
1110
|
+
protonpass: "protonpass";
|
|
1111
|
+
}>;
|
|
1112
|
+
export type ExternalVaultProviderKind = z.infer<typeof ExternalVaultProviderKind>;
|
|
1113
|
+
/** Write-only setup material. Never included in connection summaries or logs. */
|
|
1114
|
+
export declare const VaultProviderCredentials: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1115
|
+
provider: z.ZodLiteral<"external">;
|
|
1116
|
+
endpoint: z.ZodString;
|
|
1117
|
+
signingSecret: z.ZodString;
|
|
1118
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1119
|
+
provider: z.ZodLiteral<"bitwarden">;
|
|
1120
|
+
endpoint: z.ZodString;
|
|
1121
|
+
signingSecret: z.ZodString;
|
|
1122
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1123
|
+
provider: z.ZodLiteral<"protonpass">;
|
|
1124
|
+
token: z.ZodString;
|
|
1125
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1126
|
+
provider: z.ZodLiteral<"keeper">;
|
|
1127
|
+
oneTimeToken: z.ZodString;
|
|
1128
|
+
hostname: z.ZodOptional<z.ZodString>;
|
|
1129
|
+
}, z.core.$strict>], "provider">;
|
|
1130
|
+
export type VaultProviderCredentials = z.infer<typeof VaultProviderCredentials>;
|
|
1131
|
+
export declare const InstallVaultProviderRequest: z.ZodObject<{
|
|
1132
|
+
credentials: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1133
|
+
provider: z.ZodLiteral<"external">;
|
|
1134
|
+
endpoint: z.ZodString;
|
|
1135
|
+
signingSecret: z.ZodString;
|
|
1136
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1137
|
+
provider: z.ZodLiteral<"bitwarden">;
|
|
1138
|
+
endpoint: z.ZodString;
|
|
1139
|
+
signingSecret: z.ZodString;
|
|
1140
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1141
|
+
provider: z.ZodLiteral<"protonpass">;
|
|
1142
|
+
token: z.ZodString;
|
|
1143
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1144
|
+
provider: z.ZodLiteral<"keeper">;
|
|
1145
|
+
oneTimeToken: z.ZodString;
|
|
1146
|
+
hostname: z.ZodOptional<z.ZodString>;
|
|
1147
|
+
}, z.core.$strict>], "provider">;
|
|
1148
|
+
ownership: z.ZodEnum<{
|
|
1149
|
+
organization: "organization";
|
|
1150
|
+
user: "user";
|
|
1151
|
+
workspace: "workspace";
|
|
1152
|
+
}>;
|
|
1153
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1154
|
+
}, z.core.$strict>;
|
|
1155
|
+
export type InstallVaultProviderRequest = z.infer<typeof InstallVaultProviderRequest>;
|
|
1156
|
+
export declare const ReplaceVaultProviderCredentialsRequest: z.ZodObject<{
|
|
1157
|
+
credentials: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1158
|
+
provider: z.ZodLiteral<"external">;
|
|
1159
|
+
endpoint: z.ZodString;
|
|
1160
|
+
signingSecret: z.ZodString;
|
|
1161
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1162
|
+
provider: z.ZodLiteral<"bitwarden">;
|
|
1163
|
+
endpoint: z.ZodString;
|
|
1164
|
+
signingSecret: z.ZodString;
|
|
1165
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1166
|
+
provider: z.ZodLiteral<"protonpass">;
|
|
1167
|
+
token: z.ZodString;
|
|
1168
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1169
|
+
provider: z.ZodLiteral<"keeper">;
|
|
1170
|
+
oneTimeToken: z.ZodString;
|
|
1171
|
+
hostname: z.ZodOptional<z.ZodString>;
|
|
1172
|
+
}, z.core.$strict>], "provider">;
|
|
1173
|
+
}, z.core.$strict>;
|
|
1174
|
+
export type ReplaceVaultProviderCredentialsRequest = z.infer<typeof ReplaceVaultProviderCredentialsRequest>;
|
|
1175
|
+
/** Includes legacy 1Password connections; existing 1Password routes remain supported. */
|
|
1176
|
+
export declare const VaultProviderConnectionSummary: z.ZodObject<{
|
|
1177
|
+
id: z.ZodString;
|
|
1178
|
+
provider: z.ZodEnum<{
|
|
1179
|
+
bitwarden: "bitwarden";
|
|
1180
|
+
external: "external";
|
|
1181
|
+
keeper: "keeper";
|
|
1182
|
+
onepassword: "onepassword";
|
|
1183
|
+
protonpass: "protonpass";
|
|
1184
|
+
}>;
|
|
1185
|
+
ownership: z.ZodEnum<{
|
|
1186
|
+
organization: "organization";
|
|
1187
|
+
user: "user";
|
|
1188
|
+
workspace: "workspace";
|
|
1189
|
+
}>;
|
|
1190
|
+
accountName: z.ZodNullable<z.ZodString>;
|
|
1191
|
+
label: z.ZodNullable<z.ZodString>;
|
|
1192
|
+
verifiedAt: z.ZodString;
|
|
1193
|
+
createdAt: z.ZodString;
|
|
1194
|
+
createdBySubjectId: z.ZodNullable<z.ZodString>;
|
|
1195
|
+
canManage: z.ZodBoolean;
|
|
1196
|
+
operations: z.ZodObject<{
|
|
1197
|
+
createItemTypes: z.ZodArray<z.ZodEnum<{
|
|
1198
|
+
api_key: "api_key";
|
|
1199
|
+
file: "file";
|
|
1200
|
+
login: "login";
|
|
1201
|
+
note: "note";
|
|
1202
|
+
passkey: "passkey";
|
|
1203
|
+
}>>;
|
|
1204
|
+
updateItem: z.ZodBoolean;
|
|
1205
|
+
removeField: z.ZodBoolean;
|
|
1206
|
+
archiveItem: z.ZodBoolean;
|
|
1207
|
+
archiveKind: z.ZodEnum<{
|
|
1208
|
+
archive: "archive";
|
|
1209
|
+
none: "none";
|
|
1210
|
+
trash: "trash";
|
|
1211
|
+
}>;
|
|
1212
|
+
deleteItem: z.ZodLiteral<false>;
|
|
1213
|
+
restoreItem: z.ZodBoolean;
|
|
1214
|
+
readFiles: z.ZodBoolean;
|
|
1215
|
+
writeFiles: z.ZodBoolean;
|
|
1216
|
+
createTotp: z.ZodBoolean;
|
|
1217
|
+
updateTotp: z.ZodBoolean;
|
|
1218
|
+
createVault: z.ZodBoolean;
|
|
1219
|
+
restoreFieldHistory: z.ZodBoolean;
|
|
1220
|
+
}, z.core.$strict>;
|
|
1221
|
+
planTier: z.ZodOptional<z.ZodEnum<{
|
|
1222
|
+
business: "business";
|
|
1223
|
+
family: "family";
|
|
1224
|
+
teams: "teams";
|
|
1225
|
+
}>>;
|
|
1226
|
+
available: z.ZodBoolean;
|
|
1227
|
+
verificationStatus: z.ZodOptional<z.ZodEnum<{
|
|
1228
|
+
pending: "pending";
|
|
1229
|
+
ready: "ready";
|
|
1230
|
+
}>>;
|
|
1231
|
+
}, z.core.$strip>;
|
|
1232
|
+
export type VaultProviderConnectionSummary = z.infer<typeof VaultProviderConnectionSummary>;
|
|
1233
|
+
/** Deployment configuration, independent of whether anyone has connected yet. */
|
|
1234
|
+
export declare const VaultProviderAvailability: z.ZodObject<{
|
|
1235
|
+
provider: z.ZodEnum<{
|
|
1236
|
+
bitwarden: "bitwarden";
|
|
1237
|
+
external: "external";
|
|
1238
|
+
keeper: "keeper";
|
|
1239
|
+
onepassword: "onepassword";
|
|
1240
|
+
protonpass: "protonpass";
|
|
1241
|
+
}>;
|
|
1242
|
+
available: z.ZodBoolean;
|
|
1243
|
+
reason: z.ZodNullable<z.ZodEnum<{
|
|
1244
|
+
not_enabled: "not_enabled";
|
|
1245
|
+
}>>;
|
|
1246
|
+
}, z.core.$strip>;
|
|
1247
|
+
export type VaultProviderAvailability = z.infer<typeof VaultProviderAvailability>;
|
|
1248
|
+
export declare const ListVaultProviderConnectionsResponse: z.ZodObject<{
|
|
1249
|
+
connections: z.ZodArray<z.ZodObject<{
|
|
1250
|
+
id: z.ZodString;
|
|
1251
|
+
provider: z.ZodEnum<{
|
|
1252
|
+
bitwarden: "bitwarden";
|
|
1253
|
+
external: "external";
|
|
1254
|
+
keeper: "keeper";
|
|
1255
|
+
onepassword: "onepassword";
|
|
1256
|
+
protonpass: "protonpass";
|
|
1257
|
+
}>;
|
|
1258
|
+
ownership: z.ZodEnum<{
|
|
1259
|
+
organization: "organization";
|
|
1260
|
+
user: "user";
|
|
1261
|
+
workspace: "workspace";
|
|
1262
|
+
}>;
|
|
1263
|
+
accountName: z.ZodNullable<z.ZodString>;
|
|
1264
|
+
label: z.ZodNullable<z.ZodString>;
|
|
1265
|
+
verifiedAt: z.ZodString;
|
|
1266
|
+
createdAt: z.ZodString;
|
|
1267
|
+
createdBySubjectId: z.ZodNullable<z.ZodString>;
|
|
1268
|
+
canManage: z.ZodBoolean;
|
|
1269
|
+
operations: z.ZodObject<{
|
|
1270
|
+
createItemTypes: z.ZodArray<z.ZodEnum<{
|
|
1271
|
+
api_key: "api_key";
|
|
1272
|
+
file: "file";
|
|
1273
|
+
login: "login";
|
|
1274
|
+
note: "note";
|
|
1275
|
+
passkey: "passkey";
|
|
1276
|
+
}>>;
|
|
1277
|
+
updateItem: z.ZodBoolean;
|
|
1278
|
+
removeField: z.ZodBoolean;
|
|
1279
|
+
archiveItem: z.ZodBoolean;
|
|
1280
|
+
archiveKind: z.ZodEnum<{
|
|
1281
|
+
archive: "archive";
|
|
1282
|
+
none: "none";
|
|
1283
|
+
trash: "trash";
|
|
1284
|
+
}>;
|
|
1285
|
+
deleteItem: z.ZodLiteral<false>;
|
|
1286
|
+
restoreItem: z.ZodBoolean;
|
|
1287
|
+
readFiles: z.ZodBoolean;
|
|
1288
|
+
writeFiles: z.ZodBoolean;
|
|
1289
|
+
createTotp: z.ZodBoolean;
|
|
1290
|
+
updateTotp: z.ZodBoolean;
|
|
1291
|
+
createVault: z.ZodBoolean;
|
|
1292
|
+
restoreFieldHistory: z.ZodBoolean;
|
|
1293
|
+
}, z.core.$strict>;
|
|
1294
|
+
planTier: z.ZodOptional<z.ZodEnum<{
|
|
1295
|
+
business: "business";
|
|
1296
|
+
family: "family";
|
|
1297
|
+
teams: "teams";
|
|
1298
|
+
}>>;
|
|
1299
|
+
available: z.ZodBoolean;
|
|
1300
|
+
verificationStatus: z.ZodOptional<z.ZodEnum<{
|
|
1301
|
+
pending: "pending";
|
|
1302
|
+
ready: "ready";
|
|
1303
|
+
}>>;
|
|
1304
|
+
}, z.core.$strip>>;
|
|
1305
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1306
|
+
provider: z.ZodEnum<{
|
|
1307
|
+
bitwarden: "bitwarden";
|
|
1308
|
+
external: "external";
|
|
1309
|
+
keeper: "keeper";
|
|
1310
|
+
onepassword: "onepassword";
|
|
1311
|
+
protonpass: "protonpass";
|
|
1312
|
+
}>;
|
|
1313
|
+
available: z.ZodBoolean;
|
|
1314
|
+
reason: z.ZodNullable<z.ZodEnum<{
|
|
1315
|
+
not_enabled: "not_enabled";
|
|
1316
|
+
}>>;
|
|
1317
|
+
}, z.core.$strip>>>;
|
|
1318
|
+
}, z.core.$strip>;
|
|
1319
|
+
export type ListVaultProviderConnectionsResponse = z.infer<typeof ListVaultProviderConnectionsResponse>;
|
|
1320
|
+
export declare const InstallVaultProviderResponse: z.ZodObject<{
|
|
1321
|
+
connectionId: z.ZodString;
|
|
1322
|
+
accountName: z.ZodNullable<z.ZodString>;
|
|
1323
|
+
provider: z.ZodEnum<{
|
|
1324
|
+
bitwarden: "bitwarden";
|
|
1325
|
+
external: "external";
|
|
1326
|
+
keeper: "keeper";
|
|
1327
|
+
protonpass: "protonpass";
|
|
1328
|
+
}>;
|
|
1329
|
+
operations: z.ZodObject<{
|
|
1330
|
+
createItemTypes: z.ZodArray<z.ZodEnum<{
|
|
1331
|
+
api_key: "api_key";
|
|
1332
|
+
file: "file";
|
|
1333
|
+
login: "login";
|
|
1334
|
+
note: "note";
|
|
1335
|
+
passkey: "passkey";
|
|
1336
|
+
}>>;
|
|
1337
|
+
updateItem: z.ZodBoolean;
|
|
1338
|
+
removeField: z.ZodBoolean;
|
|
1339
|
+
archiveItem: z.ZodBoolean;
|
|
1340
|
+
archiveKind: z.ZodEnum<{
|
|
1341
|
+
archive: "archive";
|
|
1342
|
+
none: "none";
|
|
1343
|
+
trash: "trash";
|
|
1344
|
+
}>;
|
|
1345
|
+
deleteItem: z.ZodLiteral<false>;
|
|
1346
|
+
restoreItem: z.ZodBoolean;
|
|
1347
|
+
readFiles: z.ZodBoolean;
|
|
1348
|
+
writeFiles: z.ZodBoolean;
|
|
1349
|
+
createTotp: z.ZodBoolean;
|
|
1350
|
+
updateTotp: z.ZodBoolean;
|
|
1351
|
+
createVault: z.ZodBoolean;
|
|
1352
|
+
restoreFieldHistory: z.ZodBoolean;
|
|
1353
|
+
}, z.core.$strict>;
|
|
1354
|
+
vaults: z.ZodArray<z.ZodObject<{
|
|
1355
|
+
externalVaultId: z.ZodString;
|
|
1356
|
+
name: z.ZodString;
|
|
1357
|
+
itemCount: z.ZodNullable<z.ZodNumber>;
|
|
1358
|
+
linkedVaultId: z.ZodNullable<z.ZodString>;
|
|
1359
|
+
writeAccess: z.ZodOptional<z.ZodEnum<{
|
|
1360
|
+
read_only: "read_only";
|
|
1361
|
+
read_write: "read_write";
|
|
1362
|
+
unknown: "unknown";
|
|
1363
|
+
}>>;
|
|
1364
|
+
operations: z.ZodOptional<z.ZodObject<{
|
|
1365
|
+
createItemTypes: z.ZodArray<z.ZodEnum<{
|
|
1366
|
+
api_key: "api_key";
|
|
1367
|
+
file: "file";
|
|
1368
|
+
login: "login";
|
|
1369
|
+
note: "note";
|
|
1370
|
+
passkey: "passkey";
|
|
1371
|
+
}>>;
|
|
1372
|
+
updateItem: z.ZodBoolean;
|
|
1373
|
+
removeField: z.ZodBoolean;
|
|
1374
|
+
archiveItem: z.ZodBoolean;
|
|
1375
|
+
archiveKind: z.ZodEnum<{
|
|
1376
|
+
archive: "archive";
|
|
1377
|
+
none: "none";
|
|
1378
|
+
trash: "trash";
|
|
1379
|
+
}>;
|
|
1380
|
+
deleteItem: z.ZodLiteral<false>;
|
|
1381
|
+
restoreItem: z.ZodBoolean;
|
|
1382
|
+
readFiles: z.ZodBoolean;
|
|
1383
|
+
writeFiles: z.ZodBoolean;
|
|
1384
|
+
createTotp: z.ZodBoolean;
|
|
1385
|
+
updateTotp: z.ZodBoolean;
|
|
1386
|
+
createVault: z.ZodBoolean;
|
|
1387
|
+
restoreFieldHistory: z.ZodBoolean;
|
|
1388
|
+
}, z.core.$strict>>;
|
|
1389
|
+
}, z.core.$strip>>;
|
|
1390
|
+
discoveryPending: z.ZodOptional<z.ZodBoolean>;
|
|
1391
|
+
errorCode: z.ZodOptional<z.ZodString>;
|
|
1392
|
+
}, z.core.$strip>;
|
|
1393
|
+
export type InstallVaultProviderResponse = z.infer<typeof InstallVaultProviderResponse>;
|
|
1394
|
+
export declare const DisconnectVaultProviderResponse: z.ZodObject<{
|
|
1395
|
+
unlinkedVaultIds: z.ZodArray<z.ZodString>;
|
|
1396
|
+
}, z.core.$strip>;
|
|
1397
|
+
export type DisconnectVaultProviderResponse = z.infer<typeof DisconnectVaultProviderResponse>;
|
|
811
1398
|
export declare const LinkProviderVaultRequest: z.ZodObject<{
|
|
812
1399
|
provider: z.ZodEnum<{
|
|
1400
|
+
bitwarden: "bitwarden";
|
|
1401
|
+
external: "external";
|
|
813
1402
|
host: "host";
|
|
1403
|
+
keeper: "keeper";
|
|
814
1404
|
onepassword: "onepassword";
|
|
1405
|
+
protonpass: "protonpass";
|
|
815
1406
|
}>;
|
|
816
1407
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
817
1408
|
externalVaultId: z.ZodString;
|
|
@@ -848,6 +1439,9 @@ export declare const VaultErrorCode: z.ZodEnum<{
|
|
|
848
1439
|
provider_auth_expired: "provider_auth_expired";
|
|
849
1440
|
provider_auth_invalid: "provider_auth_invalid";
|
|
850
1441
|
provider_conflict: "provider_conflict";
|
|
1442
|
+
provider_inventory_incomplete: "provider_inventory_incomplete";
|
|
1443
|
+
provider_locked: "provider_locked";
|
|
1444
|
+
provider_outcome_unknown: "provider_outcome_unknown";
|
|
851
1445
|
provider_rate_limited: "provider_rate_limited";
|
|
852
1446
|
provider_unavailable: "provider_unavailable";
|
|
853
1447
|
secret_save_forbidden: "secret_save_forbidden";
|
|
@@ -875,6 +1469,9 @@ export declare const VaultApiError: z.ZodObject<{
|
|
|
875
1469
|
provider_auth_expired: "provider_auth_expired";
|
|
876
1470
|
provider_auth_invalid: "provider_auth_invalid";
|
|
877
1471
|
provider_conflict: "provider_conflict";
|
|
1472
|
+
provider_inventory_incomplete: "provider_inventory_incomplete";
|
|
1473
|
+
provider_locked: "provider_locked";
|
|
1474
|
+
provider_outcome_unknown: "provider_outcome_unknown";
|
|
878
1475
|
provider_rate_limited: "provider_rate_limited";
|
|
879
1476
|
provider_unavailable: "provider_unavailable";
|
|
880
1477
|
secret_save_forbidden: "secret_save_forbidden";
|
|
@@ -920,6 +1517,7 @@ export declare const SecretSearchInput: z.ZodObject<{
|
|
|
920
1517
|
vault: z.ZodOptional<z.ZodString>;
|
|
921
1518
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
922
1519
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1520
|
+
refresh: z.ZodOptional<z.ZodBoolean>;
|
|
923
1521
|
}, z.core.$strict>;
|
|
924
1522
|
export type SecretSearchInput = z.infer<typeof SecretSearchInput>;
|
|
925
1523
|
export declare const SecretSearchResult: z.ZodObject<{
|
|
@@ -933,9 +1531,13 @@ export declare const SecretSearchResult: z.ZodObject<{
|
|
|
933
1531
|
workspace: "workspace";
|
|
934
1532
|
}>;
|
|
935
1533
|
source: z.ZodEnum<{
|
|
1534
|
+
bitwarden: "bitwarden";
|
|
1535
|
+
external: "external";
|
|
936
1536
|
host: "host";
|
|
1537
|
+
keeper: "keeper";
|
|
937
1538
|
onepassword: "onepassword";
|
|
938
1539
|
opengeni: "opengeni";
|
|
1540
|
+
protonpass: "protonpass";
|
|
939
1541
|
}>;
|
|
940
1542
|
mode: z.ZodEnum<{
|
|
941
1543
|
read_only: "read_only";
|
|
@@ -984,15 +1586,36 @@ export declare const SecretSearchVault: z.ZodObject<{
|
|
|
984
1586
|
workspace: "workspace";
|
|
985
1587
|
}>;
|
|
986
1588
|
source: z.ZodEnum<{
|
|
1589
|
+
bitwarden: "bitwarden";
|
|
1590
|
+
external: "external";
|
|
987
1591
|
host: "host";
|
|
1592
|
+
keeper: "keeper";
|
|
988
1593
|
onepassword: "onepassword";
|
|
989
1594
|
opengeni: "opengeni";
|
|
1595
|
+
protonpass: "protonpass";
|
|
990
1596
|
}>;
|
|
991
1597
|
mode: z.ZodEnum<{
|
|
992
1598
|
read_only: "read_only";
|
|
993
1599
|
read_write: "read_write";
|
|
994
1600
|
}>;
|
|
995
1601
|
itemCount: z.ZodNumber;
|
|
1602
|
+
freshness: z.ZodOptional<z.ZodObject<{
|
|
1603
|
+
state: z.ZodEnum<{
|
|
1604
|
+
current: "current";
|
|
1605
|
+
refreshing: "refreshing";
|
|
1606
|
+
stale: "stale";
|
|
1607
|
+
unavailable: "unavailable";
|
|
1608
|
+
}>;
|
|
1609
|
+
lastCheckedAt: z.ZodNullable<z.ZodString>;
|
|
1610
|
+
sourceSyncedAt: z.ZodNullable<z.ZodString>;
|
|
1611
|
+
source: z.ZodEnum<{
|
|
1612
|
+
cache: "cache";
|
|
1613
|
+
live: "live";
|
|
1614
|
+
unknown: "unknown";
|
|
1615
|
+
}>;
|
|
1616
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
1617
|
+
retryAt: z.ZodNullable<z.ZodString>;
|
|
1618
|
+
}, z.core.$strict>>;
|
|
996
1619
|
}, z.core.$strip>;
|
|
997
1620
|
export type SecretSearchVault = z.infer<typeof SecretSearchVault>;
|
|
998
1621
|
export declare const SecretSearchOutput: z.ZodObject<{
|
|
@@ -1007,9 +1630,13 @@ export declare const SecretSearchOutput: z.ZodObject<{
|
|
|
1007
1630
|
workspace: "workspace";
|
|
1008
1631
|
}>;
|
|
1009
1632
|
source: z.ZodEnum<{
|
|
1633
|
+
bitwarden: "bitwarden";
|
|
1634
|
+
external: "external";
|
|
1010
1635
|
host: "host";
|
|
1636
|
+
keeper: "keeper";
|
|
1011
1637
|
onepassword: "onepassword";
|
|
1012
1638
|
opengeni: "opengeni";
|
|
1639
|
+
protonpass: "protonpass";
|
|
1013
1640
|
}>;
|
|
1014
1641
|
mode: z.ZodEnum<{
|
|
1015
1642
|
read_only: "read_only";
|
|
@@ -1059,15 +1686,57 @@ export declare const SecretSearchOutput: z.ZodObject<{
|
|
|
1059
1686
|
workspace: "workspace";
|
|
1060
1687
|
}>;
|
|
1061
1688
|
source: z.ZodEnum<{
|
|
1689
|
+
bitwarden: "bitwarden";
|
|
1690
|
+
external: "external";
|
|
1062
1691
|
host: "host";
|
|
1692
|
+
keeper: "keeper";
|
|
1063
1693
|
onepassword: "onepassword";
|
|
1064
1694
|
opengeni: "opengeni";
|
|
1695
|
+
protonpass: "protonpass";
|
|
1065
1696
|
}>;
|
|
1066
1697
|
mode: z.ZodEnum<{
|
|
1067
1698
|
read_only: "read_only";
|
|
1068
1699
|
read_write: "read_write";
|
|
1069
1700
|
}>;
|
|
1070
1701
|
itemCount: z.ZodNumber;
|
|
1702
|
+
freshness: z.ZodOptional<z.ZodObject<{
|
|
1703
|
+
state: z.ZodEnum<{
|
|
1704
|
+
current: "current";
|
|
1705
|
+
refreshing: "refreshing";
|
|
1706
|
+
stale: "stale";
|
|
1707
|
+
unavailable: "unavailable";
|
|
1708
|
+
}>;
|
|
1709
|
+
lastCheckedAt: z.ZodNullable<z.ZodString>;
|
|
1710
|
+
sourceSyncedAt: z.ZodNullable<z.ZodString>;
|
|
1711
|
+
source: z.ZodEnum<{
|
|
1712
|
+
cache: "cache";
|
|
1713
|
+
live: "live";
|
|
1714
|
+
unknown: "unknown";
|
|
1715
|
+
}>;
|
|
1716
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
1717
|
+
retryAt: z.ZodNullable<z.ZodString>;
|
|
1718
|
+
}, z.core.$strict>>;
|
|
1719
|
+
}, z.core.$strip>>>;
|
|
1720
|
+
complete: z.ZodOptional<z.ZodBoolean>;
|
|
1721
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1722
|
+
vaultId: z.ZodString;
|
|
1723
|
+
freshness: z.ZodObject<{
|
|
1724
|
+
state: z.ZodEnum<{
|
|
1725
|
+
current: "current";
|
|
1726
|
+
refreshing: "refreshing";
|
|
1727
|
+
stale: "stale";
|
|
1728
|
+
unavailable: "unavailable";
|
|
1729
|
+
}>;
|
|
1730
|
+
lastCheckedAt: z.ZodNullable<z.ZodString>;
|
|
1731
|
+
sourceSyncedAt: z.ZodNullable<z.ZodString>;
|
|
1732
|
+
source: z.ZodEnum<{
|
|
1733
|
+
cache: "cache";
|
|
1734
|
+
live: "live";
|
|
1735
|
+
unknown: "unknown";
|
|
1736
|
+
}>;
|
|
1737
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
1738
|
+
retryAt: z.ZodNullable<z.ZodString>;
|
|
1739
|
+
}, z.core.$strict>;
|
|
1071
1740
|
}, z.core.$strip>>>;
|
|
1072
1741
|
}, z.core.$strip>;
|
|
1073
1742
|
export type SecretSearchOutput = z.infer<typeof SecretSearchOutput>;
|