@nexeraid/identity-schemas 2.37.0 → 2.38.0-dev

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.
Files changed (92) hide show
  1. package/dist/{CoinMarketCap.schema-6a1ff221.cjs.prod.cjs → CoinMarketCap.schema-5142a776.cjs.prod.cjs} +23 -12
  2. package/dist/{CoinMarketCap.schema-aefa43e8.cjs.dev.cjs → CoinMarketCap.schema-f5000da2.cjs.dev.cjs} +23 -12
  3. package/dist/{CoinMarketCap.schema-280414c3.esm.mjs → CoinMarketCap.schema-f9a98f8e.esm.mjs} +11 -2
  4. package/dist/declarations/src/customer.schema.d.ts +7 -0
  5. package/dist/declarations/src/customer.schema.d.ts.map +1 -1
  6. package/dist/declarations/src/identity/app-requests.schema.d.ts +358 -170
  7. package/dist/declarations/src/identity/app-requests.schema.d.ts.map +1 -1
  8. package/dist/declarations/src/identity/host-requests.schema.d.ts +10 -10
  9. package/dist/declarations/src/identity/identity-v2.schema.d.ts +86 -42
  10. package/dist/declarations/src/identity/identity-v2.schema.d.ts.map +1 -1
  11. package/dist/declarations/src/identity/kyc.schema.d.ts +190 -94
  12. package/dist/declarations/src/identity/kyc.schema.d.ts.map +1 -1
  13. package/dist/declarations/src/identity/query.schema.d.ts +141 -565
  14. package/dist/declarations/src/identity/query.schema.d.ts.map +1 -1
  15. package/dist/declarations/src/identity/scenario.schema.d.ts +316 -562
  16. package/dist/declarations/src/identity/scenario.schema.d.ts.map +1 -1
  17. package/dist/declarations/src/identity/zkps.schema.d.ts +145 -53
  18. package/dist/declarations/src/identity/zkps.schema.d.ts.map +1 -1
  19. package/dist/declarations/src/index.d.ts +1 -0
  20. package/dist/declarations/src/index.d.ts.map +1 -1
  21. package/dist/declarations/src/providers/comply-advantage/comply-advantage.schema.d.ts +42 -42
  22. package/dist/declarations/src/providers/kyb-sessions.schema.d.ts +16 -16
  23. package/dist/declarations/src/providers/kyc-sessions.schema.d.ts +36 -36
  24. package/dist/declarations/src/providers/merkle-science/merkle-science.schema.d.ts +32 -32
  25. package/dist/declarations/src/providers/provider.schema.d.ts +469 -469
  26. package/dist/declarations/src/providers/sumsub/sumsub-applicant.schema.d.ts +36 -36
  27. package/dist/declarations/src/providers/synaps/synaps.schema.d.ts +100 -100
  28. package/dist/declarations/src/vault/data-link.schema.d.ts +8 -0
  29. package/dist/declarations/src/vault/data-link.schema.d.ts.map +1 -0
  30. package/dist/declarations/src/vault/index.d.ts +3 -0
  31. package/dist/declarations/src/vault/index.d.ts.map +1 -0
  32. package/dist/declarations/src/vault/schemas/generated/Customer.schema.json.d.ts +897 -0
  33. package/dist/declarations/src/vault/schemas/generated/Customer.type.d.ts +47 -0
  34. package/dist/declarations/src/vault/schemas/generated/Customer.type.d.ts.map +1 -0
  35. package/dist/declarations/src/vault/schemas/generated/KycSession.schema.json.d.ts +1859 -0
  36. package/dist/declarations/src/vault/schemas/generated/KycSession.type.d.ts +219 -0
  37. package/dist/declarations/src/vault/schemas/generated/KycSession.type.d.ts.map +1 -0
  38. package/dist/declarations/src/vault/schemas/generated/Transaction.schema.json.d.ts +1139 -0
  39. package/dist/declarations/src/vault/schemas/generated/Transaction.type.d.ts +61 -0
  40. package/dist/declarations/src/vault/schemas/generated/Transaction.type.d.ts.map +1 -0
  41. package/dist/declarations/src/vault/vault.schema.d.ts +2808 -0
  42. package/dist/declarations/src/vault/vault.schema.d.ts.map +1 -0
  43. package/dist/declarations/src/verifiable-credentials/index.d.ts +5 -10
  44. package/dist/declarations/src/verifiable-credentials/index.d.ts.map +1 -1
  45. package/dist/declarations/src/verifiable-credentials/vcs.schema.d.ts +8764 -0
  46. package/dist/declarations/src/verifiable-credentials/vcs.schema.d.ts.map +1 -0
  47. package/dist/declarations/src/webhooks/alert.webhooks.schema.d.ts +2 -2
  48. package/dist/declarations/src/webhooks/customer.webhooks.schema.d.ts +28 -28
  49. package/dist/declarations/src/webhooks/send-verification-flow-webhook.schema.d.ts +100 -100
  50. package/dist/declarations/src/webhooks/svix.webhooks.schema.d.ts +1362 -1480
  51. package/dist/declarations/src/webhooks/svix.webhooks.schema.d.ts.map +1 -1
  52. package/dist/declarations/src/webhooks/tms.webhooks.schema.d.ts +2 -2
  53. package/dist/{frontend-utilities.schema-2cdacfcb.cjs.dev.cjs → frontend-utilities.schema-3dbbc782.cjs.dev.cjs} +7 -6
  54. package/dist/{frontend-utilities.schema-2c6e346e.esm.mjs → frontend-utilities.schema-aae337dd.esm.mjs} +2 -1
  55. package/dist/{frontend-utilities.schema-fb803ead.cjs.prod.cjs → frontend-utilities.schema-b58a8d24.cjs.prod.cjs} +7 -6
  56. package/dist/identity-api.schema-185a6e6e.cjs.dev.cjs +2012 -0
  57. package/dist/identity-api.schema-774e69d4.cjs.prod.cjs +2012 -0
  58. package/dist/identity-api.schema-80658b16.esm.mjs +1654 -0
  59. package/dist/nexeraid-identity-schemas.cjs.dev.cjs +124 -98
  60. package/dist/nexeraid-identity-schemas.cjs.prod.cjs +124 -98
  61. package/dist/nexeraid-identity-schemas.esm.mjs +5 -4
  62. package/dist/package.json +25 -5
  63. package/dist/vault.schema-05a9f7fa.cjs.dev.cjs +6349 -0
  64. package/dist/vault.schema-d868aba3.cjs.prod.cjs +6349 -0
  65. package/dist/vault.schema-dc014e8d.esm.mjs +6238 -0
  66. package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.cjs +16 -22
  67. package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.cjs +16 -22
  68. package/identity/dist/nexeraid-identity-schemas-identity.esm.mjs +3 -1
  69. package/package.json +25 -5
  70. package/providers/dist/nexeraid-identity-schemas-providers.cjs.dev.cjs +4 -2
  71. package/providers/dist/nexeraid-identity-schemas-providers.cjs.prod.cjs +4 -2
  72. package/providers/dist/nexeraid-identity-schemas-providers.esm.mjs +4 -2
  73. package/vault/dist/nexeraid-identity-schemas-vault.cjs.cjs +7 -0
  74. package/vault/dist/nexeraid-identity-schemas-vault.cjs.d.cts +2 -0
  75. package/vault/dist/nexeraid-identity-schemas-vault.cjs.d.mts +2 -0
  76. package/vault/dist/nexeraid-identity-schemas-vault.cjs.d.ts +2 -0
  77. package/vault/dist/nexeraid-identity-schemas-vault.cjs.dev.cjs +25 -0
  78. package/vault/dist/nexeraid-identity-schemas-vault.cjs.prod.cjs +25 -0
  79. package/vault/dist/nexeraid-identity-schemas-vault.esm.mjs +3 -0
  80. package/vault/package.json +4 -0
  81. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.cjs +35 -20
  82. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.cjs +35 -20
  83. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.mjs +4 -2
  84. package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.dev.cjs +22 -17
  85. package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.prod.cjs +22 -17
  86. package/webhooks/dist/nexeraid-identity-schemas-webhooks.esm.mjs +8 -3
  87. package/dist/identity-api.schema-79b2c3a7.esm.mjs +0 -3485
  88. package/dist/identity-api.schema-ab731fb2.cjs.prod.cjs +0 -3895
  89. package/dist/identity-api.schema-d2a8b678.cjs.dev.cjs +0 -3895
  90. package/dist/transaction.schema-16357ae0.esm.mjs +0 -65
  91. package/dist/transaction.schema-548b315f.cjs.prod.cjs +0 -101
  92. package/dist/transaction.schema-8c266a30.cjs.dev.cjs +0 -101
@@ -1,8 +1,8 @@
1
1
  import { z } from "zod";
2
- export declare const AllCredentialAttributes: z.ZodUnion<[z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox")[]]>, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "isSandbox" | "base64_front" | "base64_back" | "name" | "mediaType_front" | "mediaType_back", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "isSandbox" | "base64_front" | "base64_back" | "name" | "mediaType_front" | "mediaType_back")[]]>, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "entryDate" | "entryTime" | "isSandbox" | "name" | "base64" | "mediaType", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "entryDate" | "entryTime" | "isSandbox" | "name" | "base64" | "mediaType")[]]>, z.ZodEnum<["id" | "journeyId" | "documentType" | "entryDate" | "entryTime" | "country" | "isSandbox" | "name" | "base64" | "mediaType" | "county" | "city" | "streetName" | "postalCode", ...("id" | "journeyId" | "documentType" | "entryDate" | "entryTime" | "country" | "isSandbox" | "name" | "base64" | "mediaType" | "county" | "city" | "streetName" | "postalCode")[]]>]>;
3
- export type AllCredentialAttributes = z.infer<typeof AllCredentialAttributes>;
4
- export declare const AllCredentialValues: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
5
- export type AllCredentialValues = z.infer<typeof AllCredentialValues>;
2
+ import type { VaultMetadataLink, VaultSchemaPaths } from "../vault/index.js";
3
+ export declare const QUERY_LOGIC_OPERATOR: readonly ["AND", "OR"];
4
+ export declare const QueryLogicOperator: z.ZodEnum<["AND", "OR"]>;
5
+ export type QueryLogicOperator = z.infer<typeof QueryLogicOperator>;
6
6
  export declare const OPERATORS: readonly ["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"];
7
7
  export declare const Operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
8
8
  export declare const ZKPOperator: z.ZodEnum<["$noop", "$eq", "$lt", "$gt", "$in", "$nin", "$ne", "$exists"]>;
@@ -53,472 +53,89 @@ export declare const SupportedTypes: z.ZodObject<{
53
53
  date: "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$ne";
54
54
  array: "$eq" | "$in" | "$nin" | "$ne";
55
55
  }>;
56
- export declare const IDInformation: z.ZodObject<{
57
- type: z.ZodLiteral<"IDInformation">;
58
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
59
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox")[]]>]>;
60
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
61
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
62
- }, "strip", z.ZodTypeAny, {
63
- value: string | number | boolean | string[] | number[];
64
- type: "IDInformation";
65
- attribute: string;
66
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
67
- requestId?: number | null | undefined;
68
- }, {
69
- value: string | number | boolean | string[] | number[];
70
- type: "IDInformation";
71
- attribute: string;
72
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
73
- requestId?: number | null | undefined;
74
- }>;
75
- export declare const QueryConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
76
- type: z.ZodLiteral<"IDInformation">;
77
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
78
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox")[]]>]>;
79
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
80
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
81
- }, "strip", z.ZodTypeAny, {
82
- value: string | number | boolean | string[] | number[];
83
- type: "IDInformation";
84
- attribute: string;
85
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
86
- requestId?: number | null | undefined;
87
- }, {
88
- value: string | number | boolean | string[] | number[];
89
- type: "IDInformation";
90
- attribute: string;
91
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
92
- requestId?: number | null | undefined;
93
- }>, z.ZodObject<{
94
- type: z.ZodLiteral<"IDImage">;
95
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
96
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "isSandbox" | "base64_front" | "base64_back" | "name" | "mediaType_front" | "mediaType_back", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "isSandbox" | "base64_front" | "base64_back" | "name" | "mediaType_front" | "mediaType_back")[]]>]>;
97
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
98
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
99
- }, "strip", z.ZodTypeAny, {
100
- value: string | number | boolean | string[] | number[];
101
- type: "IDImage";
102
- attribute: string;
103
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
104
- requestId?: number | null | undefined;
105
- }, {
106
- value: string | number | boolean | string[] | number[];
107
- type: "IDImage";
108
- attribute: string;
109
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
110
- requestId?: number | null | undefined;
111
- }>, z.ZodObject<{
112
- type: z.ZodLiteral<"SelfieImage">;
113
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
114
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "entryDate" | "entryTime" | "isSandbox" | "name" | "base64" | "mediaType", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "entryDate" | "entryTime" | "isSandbox" | "name" | "base64" | "mediaType")[]]>]>;
115
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
116
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
117
- }, "strip", z.ZodTypeAny, {
118
- value: string | number | boolean | string[] | number[];
119
- type: "SelfieImage";
120
- attribute: string;
121
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
122
- requestId?: number | null | undefined;
123
- }, {
124
- value: string | number | boolean | string[] | number[];
125
- type: "SelfieImage";
126
- attribute: string;
127
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
128
- requestId?: number | null | undefined;
129
- }>, z.ZodObject<{
130
- type: z.ZodLiteral<"ProofOfResidence">;
131
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
132
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "documentType" | "entryDate" | "entryTime" | "country" | "isSandbox" | "name" | "base64" | "mediaType" | "county" | "city" | "streetName" | "postalCode", ...("id" | "journeyId" | "documentType" | "entryDate" | "entryTime" | "country" | "isSandbox" | "name" | "base64" | "mediaType" | "county" | "city" | "streetName" | "postalCode")[]]>]>;
133
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
134
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
135
- }, "strip", z.ZodTypeAny, {
136
- value: string | number | boolean | string[] | number[];
137
- type: "ProofOfResidence";
138
- attribute: string;
139
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
140
- requestId?: number | null | undefined;
141
- }, {
142
- value: string | number | boolean | string[] | number[];
143
- type: "ProofOfResidence";
144
- attribute: string;
145
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
146
- requestId?: number | null | undefined;
147
- }>]>;
148
- export declare const QueryType: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
149
- export type QueryType = z.infer<typeof QueryType>;
56
+ export declare const AllCredentialValues: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
57
+ export type AllCredentialValues = z.infer<typeof AllCredentialValues>;
150
58
  export declare const QueryConfigSimplified: z.ZodObject<{
151
- type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
59
+ queryId: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
152
60
  requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
153
- attribute: z.ZodString;
154
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
61
+ attribute: z.ZodObject<{
62
+ version: z.ZodEnum<["v1"]>;
63
+ schema: z.ZodEnum<[keyof import("../vault/index.js").VaultSchema, ...(keyof import("../vault/index.js").VaultSchema)[]]>;
64
+ path: z.ZodEnum<[VaultSchemaPaths, ...VaultSchemaPaths[]]>;
65
+ }, "strip", z.ZodTypeAny, {
66
+ path: VaultSchemaPaths;
67
+ version: "v1";
68
+ schema: keyof import("../vault/index.js").VaultSchema;
69
+ }, {
70
+ path: VaultSchemaPaths;
71
+ version: "v1";
72
+ schema: keyof import("../vault/index.js").VaultSchema;
73
+ }>;
74
+ value: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>>;
155
75
  operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
156
76
  }, "strip", z.ZodTypeAny, {
157
- value: string | number | boolean | string[] | number[];
158
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
159
- attribute: string;
77
+ attribute: {
78
+ path: VaultSchemaPaths;
79
+ version: "v1";
80
+ schema: keyof import("../vault/index.js").VaultSchema;
81
+ };
160
82
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
83
+ value?: string | number | boolean | string[] | number[] | null | undefined;
84
+ queryId?: `query_${string}` | undefined;
161
85
  requestId?: number | null | undefined;
162
86
  }, {
163
- value: string | number | boolean | string[] | number[];
164
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
165
- attribute: string;
87
+ attribute: {
88
+ path: VaultSchemaPaths;
89
+ version: "v1";
90
+ schema: keyof import("../vault/index.js").VaultSchema;
91
+ };
166
92
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
93
+ value?: string | number | boolean | string[] | number[] | null | undefined;
94
+ queryId?: `query_${string}` | undefined;
167
95
  requestId?: number | null | undefined;
168
96
  }>;
97
+ export type QueryConfigSimplified = z.infer<typeof QueryConfigSimplified>;
169
98
  export declare const PartialQueryConfigSimplified: z.ZodObject<{
170
- type: z.ZodOptional<z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>;
99
+ queryId: z.ZodOptional<z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>>;
171
100
  requestId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
172
- attribute: z.ZodOptional<z.ZodString>;
173
- value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>;
101
+ attribute: z.ZodOptional<z.ZodObject<{
102
+ version: z.ZodEnum<["v1"]>;
103
+ schema: z.ZodEnum<[keyof import("../vault/index.js").VaultSchema, ...(keyof import("../vault/index.js").VaultSchema)[]]>;
104
+ path: z.ZodEnum<[VaultSchemaPaths, ...VaultSchemaPaths[]]>;
105
+ }, "strip", z.ZodTypeAny, {
106
+ path: VaultSchemaPaths;
107
+ version: "v1";
108
+ schema: keyof import("../vault/index.js").VaultSchema;
109
+ }, {
110
+ path: VaultSchemaPaths;
111
+ version: "v1";
112
+ schema: keyof import("../vault/index.js").VaultSchema;
113
+ }>>;
114
+ value: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>>>;
174
115
  operator: z.ZodOptional<z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>>;
175
116
  }, "strip", z.ZodTypeAny, {
176
- value?: string | number | boolean | string[] | number[] | undefined;
177
- type?: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport" | undefined;
117
+ value?: string | number | boolean | string[] | number[] | null | undefined;
118
+ queryId?: `query_${string}` | undefined;
178
119
  requestId?: number | null | undefined;
179
- attribute?: string | undefined;
120
+ attribute?: {
121
+ path: VaultSchemaPaths;
122
+ version: "v1";
123
+ schema: keyof import("../vault/index.js").VaultSchema;
124
+ } | undefined;
180
125
  operator?: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | undefined;
181
126
  }, {
182
- value?: string | number | boolean | string[] | number[] | undefined;
183
- type?: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport" | undefined;
127
+ value?: string | number | boolean | string[] | number[] | null | undefined;
128
+ queryId?: `query_${string}` | undefined;
184
129
  requestId?: number | null | undefined;
185
- attribute?: string | undefined;
130
+ attribute?: {
131
+ path: VaultSchemaPaths;
132
+ version: "v1";
133
+ schema: keyof import("../vault/index.js").VaultSchema;
134
+ } | undefined;
186
135
  operator?: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | undefined;
187
136
  }>;
188
- export type QueryConfigSimplified = z.infer<typeof QueryConfigSimplified>;
189
137
  export type PartialQueryConfigSimplified = z.infer<typeof PartialQueryConfigSimplified>;
190
- export declare const QueryConfigSimplifiedParsed: z.ZodEffects<z.ZodObject<{
191
- type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
192
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
193
- attribute: z.ZodString;
194
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
195
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
196
- }, "strip", z.ZodTypeAny, {
197
- value: string | number | boolean | string[] | number[];
198
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
199
- attribute: string;
200
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
201
- requestId?: number | null | undefined;
202
- }, {
203
- value: string | number | boolean | string[] | number[];
204
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
205
- attribute: string;
206
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
207
- requestId?: number | null | undefined;
208
- }>, {
209
- requestId: number | null | undefined;
210
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
211
- attribute: string;
212
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
213
- value: string | number | boolean | string[] | number[];
214
- }, {
215
- value: string | number | boolean | string[] | number[];
216
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
217
- attribute: string;
218
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
219
- requestId?: number | null | undefined;
220
- }>;
221
- export type QueryConfigSimplifiedParsed = z.infer<typeof QueryConfigSimplifiedParsed>;
222
- export declare const QueryConfiguration: z.ZodObject<{
223
- id: z.ZodString;
224
- query: z.ZodEffects<z.ZodObject<{
225
- type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
226
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
227
- attribute: z.ZodString;
228
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
229
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
230
- }, "strip", z.ZodTypeAny, {
231
- value: string | number | boolean | string[] | number[];
232
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
233
- attribute: string;
234
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
235
- requestId?: number | null | undefined;
236
- }, {
237
- value: string | number | boolean | string[] | number[];
238
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
239
- attribute: string;
240
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
241
- requestId?: number | null | undefined;
242
- }>, {
243
- requestId: number | null | undefined;
244
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
245
- attribute: string;
246
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
247
- value: string | number | boolean | string[] | number[];
248
- }, {
249
- value: string | number | boolean | string[] | number[];
250
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
251
- attribute: string;
252
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
253
- requestId?: number | null | undefined;
254
- }>;
255
- }, "strip", z.ZodTypeAny, {
256
- id: string;
257
- query: {
258
- requestId: number | null | undefined;
259
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
260
- attribute: string;
261
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
262
- value: string | number | boolean | string[] | number[];
263
- };
264
- }, {
265
- id: string;
266
- query: {
267
- value: string | number | boolean | string[] | number[];
268
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
269
- attribute: string;
270
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
271
- requestId?: number | null | undefined;
272
- };
273
- }>;
274
- export declare const NonParsedQueryConfiguration: z.ZodObject<{
275
- id: z.ZodString;
276
- query: z.ZodObject<{
277
- type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
278
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
279
- attribute: z.ZodString;
280
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
281
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
282
- }, "strip", z.ZodTypeAny, {
283
- value: string | number | boolean | string[] | number[];
284
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
285
- attribute: string;
286
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
287
- requestId?: number | null | undefined;
288
- }, {
289
- value: string | number | boolean | string[] | number[];
290
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
291
- attribute: string;
292
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
293
- requestId?: number | null | undefined;
294
- }>;
295
- }, "strip", z.ZodTypeAny, {
296
- id: string;
297
- query: {
298
- value: string | number | boolean | string[] | number[];
299
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
300
- attribute: string;
301
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
302
- requestId?: number | null | undefined;
303
- };
304
- }, {
305
- id: string;
306
- query: {
307
- value: string | number | boolean | string[] | number[];
308
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
309
- attribute: string;
310
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
311
- requestId?: number | null | undefined;
312
- };
313
- }>;
314
- export type NonParsedQueryConfiguration = z.infer<typeof NonParsedQueryConfiguration>;
315
- export declare const CreateQueryConfigurationInput: z.ZodObject<{
316
- query: z.ZodObject<{
317
- type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
318
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
319
- attribute: z.ZodString;
320
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
321
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
322
- }, "strip", z.ZodTypeAny, {
323
- value: string | number | boolean | string[] | number[];
324
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
325
- attribute: string;
326
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
327
- requestId?: number | null | undefined;
328
- }, {
329
- value: string | number | boolean | string[] | number[];
330
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
331
- attribute: string;
332
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
333
- requestId?: number | null | undefined;
334
- }>;
335
- scenarioId: z.ZodString;
336
- }, "strip", z.ZodTypeAny, {
337
- query: {
338
- value: string | number | boolean | string[] | number[];
339
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
340
- attribute: string;
341
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
342
- requestId?: number | null | undefined;
343
- };
344
- scenarioId: string;
345
- }, {
346
- query: {
347
- value: string | number | boolean | string[] | number[];
348
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
349
- attribute: string;
350
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
351
- requestId?: number | null | undefined;
352
- };
353
- scenarioId: string;
354
- }>;
355
- export declare const CreateQueryConfigurationResponse: z.ZodObject<{
356
- queryConfiguration: z.ZodEffects<z.ZodObject<{
357
- type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
358
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
359
- attribute: z.ZodString;
360
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
361
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
362
- }, "strip", z.ZodTypeAny, {
363
- value: string | number | boolean | string[] | number[];
364
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
365
- attribute: string;
366
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
367
- requestId?: number | null | undefined;
368
- }, {
369
- value: string | number | boolean | string[] | number[];
370
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
371
- attribute: string;
372
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
373
- requestId?: number | null | undefined;
374
- }>, {
375
- requestId: number | null | undefined;
376
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
377
- attribute: string;
378
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
379
- value: string | number | boolean | string[] | number[];
380
- }, {
381
- value: string | number | boolean | string[] | number[];
382
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
383
- attribute: string;
384
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
385
- requestId?: number | null | undefined;
386
- }>;
387
- }, "strip", z.ZodTypeAny, {
388
- queryConfiguration: {
389
- requestId: number | null | undefined;
390
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
391
- attribute: string;
392
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
393
- value: string | number | boolean | string[] | number[];
394
- };
395
- }, {
396
- queryConfiguration: {
397
- value: string | number | boolean | string[] | number[];
398
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
399
- attribute: string;
400
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
401
- requestId?: number | null | undefined;
402
- };
403
- }>;
404
- export declare const UpdateQueryConfigurationInput: z.ZodObject<{
405
- queryConfigurationId: z.ZodString;
406
- scenarioId: z.ZodString;
407
- query: z.ZodObject<{
408
- type: z.ZodOptional<z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>;
409
- requestId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
410
- attribute: z.ZodOptional<z.ZodString>;
411
- value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>;
412
- operator: z.ZodOptional<z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>>;
413
- }, "strip", z.ZodTypeAny, {
414
- value?: string | number | boolean | string[] | number[] | undefined;
415
- type?: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport" | undefined;
416
- requestId?: number | null | undefined;
417
- attribute?: string | undefined;
418
- operator?: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | undefined;
419
- }, {
420
- value?: string | number | boolean | string[] | number[] | undefined;
421
- type?: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport" | undefined;
422
- requestId?: number | null | undefined;
423
- attribute?: string | undefined;
424
- operator?: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | undefined;
425
- }>;
426
- }, "strip", z.ZodTypeAny, {
427
- query: {
428
- value?: string | number | boolean | string[] | number[] | undefined;
429
- type?: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport" | undefined;
430
- requestId?: number | null | undefined;
431
- attribute?: string | undefined;
432
- operator?: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | undefined;
433
- };
434
- scenarioId: string;
435
- queryConfigurationId: string;
436
- }, {
437
- query: {
438
- value?: string | number | boolean | string[] | number[] | undefined;
439
- type?: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport" | undefined;
440
- requestId?: number | null | undefined;
441
- attribute?: string | undefined;
442
- operator?: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | undefined;
443
- };
444
- scenarioId: string;
445
- queryConfigurationId: string;
446
- }>;
447
- export declare const UpdateQueryConfigurationResponse: z.ZodObject<{
448
- queryConfiguration: z.ZodEffects<z.ZodObject<{
449
- type: z.ZodOptional<z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>;
450
- requestId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
451
- attribute: z.ZodOptional<z.ZodString>;
452
- value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>;
453
- operator: z.ZodOptional<z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>>;
454
- }, "strip", z.ZodTypeAny, {
455
- value?: string | number | boolean | string[] | number[] | undefined;
456
- type?: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport" | undefined;
457
- requestId?: number | null | undefined;
458
- attribute?: string | undefined;
459
- operator?: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | undefined;
460
- }, {
461
- value?: string | number | boolean | string[] | number[] | undefined;
462
- type?: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport" | undefined;
463
- requestId?: number | null | undefined;
464
- attribute?: string | undefined;
465
- operator?: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | undefined;
466
- }>, {
467
- value?: string | number | boolean | string[] | number[] | undefined;
468
- type?: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport" | undefined;
469
- requestId?: number | null | undefined;
470
- attribute?: string | undefined;
471
- operator?: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | undefined;
472
- }, {
473
- value?: string | number | boolean | string[] | number[] | undefined;
474
- type?: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport" | undefined;
475
- requestId?: number | null | undefined;
476
- attribute?: string | undefined;
477
- operator?: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | undefined;
478
- }>;
479
- }, "strip", z.ZodTypeAny, {
480
- queryConfiguration: {
481
- value?: string | number | boolean | string[] | number[] | undefined;
482
- type?: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport" | undefined;
483
- requestId?: number | null | undefined;
484
- attribute?: string | undefined;
485
- operator?: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | undefined;
486
- };
487
- }, {
488
- queryConfiguration: {
489
- value?: string | number | boolean | string[] | number[] | undefined;
490
- type?: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport" | undefined;
491
- requestId?: number | null | undefined;
492
- attribute?: string | undefined;
493
- operator?: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | undefined;
494
- };
495
- }>;
496
- export declare const DeleteQueryConfigurationInput: z.ZodObject<{
497
- queryConfigurationId: z.ZodString;
498
- scenarioId: z.ZodString;
499
- }, "strip", z.ZodTypeAny, {
500
- scenarioId: string;
501
- queryConfigurationId: string;
502
- }, {
503
- scenarioId: string;
504
- queryConfigurationId: string;
505
- }>;
506
- export declare const DeleteQueryConfigurationResponse: z.ZodObject<{
507
- queryConfigurationId: z.ZodString;
508
- }, "strip", z.ZodTypeAny, {
509
- queryConfigurationId: string;
510
- }, {
511
- queryConfigurationId: string;
512
- }>;
513
138
  export type Operator = z.infer<typeof Operator>;
514
- export type QueryConfig = z.infer<typeof QueryConfig>;
515
- export type CreateQueryConfigurationInput = z.infer<typeof CreateQueryConfigurationInput>;
516
- export type CreateQueryConfigurationResponse = z.infer<typeof CreateQueryConfigurationResponse>;
517
- export type UpdateQueryConfigurationInput = z.infer<typeof UpdateQueryConfigurationInput>;
518
- export type UpdateQueryConfigurationResponse = z.infer<typeof UpdateQueryConfigurationResponse>;
519
- export type DeleteQueryConfigurationInput = z.infer<typeof DeleteQueryConfigurationInput>;
520
- export type DeleteQueryConfigurationResponse = z.infer<typeof DeleteQueryConfigurationResponse>;
521
- export type QueryConfiguration = z.infer<typeof QueryConfiguration>;
522
139
  export type SupportedTypes = z.infer<typeof SupportedTypes>;
523
140
  export type ArrayOperator = z.infer<typeof ArrayOperator>;
524
141
  export type BooleanOperator = z.infer<typeof BooleanOperator>;
@@ -526,143 +143,78 @@ export type DateOperator = z.infer<typeof DateOperator>;
526
143
  export type NumericOperator = z.infer<typeof NumericOperator>;
527
144
  export type AllOperators = ArrayOperator | BooleanOperator | DateOperator;
528
145
  export type StringOperator = z.infer<typeof StringOperator>;
529
- export declare const QueryCredentialTypes: readonly ["IDInformation", "IDImage", "SelfieImage", "ProofOfResidence"];
530
- export declare const QueryCredentialType: z.ZodEnum<["IDInformation", "IDImage", "SelfieImage", "ProofOfResidence"]>;
531
- export type QueryCredentialType = z.infer<typeof QueryCredentialType>;
532
- export declare const ChallengeQuerySchema: z.ZodObject<{
146
+ export declare const OLD_ChallengeQuerySchema: z.ZodObject<{
533
147
  id: z.ZodOptional<z.ZodString>;
534
- query: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
535
- type: z.ZodLiteral<"IDInformation">;
536
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
537
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox")[]]>]>;
538
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
539
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
540
- }, "strip", z.ZodTypeAny, {
541
- value: string | number | boolean | string[] | number[];
542
- type: "IDInformation";
543
- attribute: string;
544
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
545
- requestId?: number | null | undefined;
546
- }, {
547
- value: string | number | boolean | string[] | number[];
548
- type: "IDInformation";
549
- attribute: string;
550
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
551
- requestId?: number | null | undefined;
552
- }>, z.ZodObject<{
553
- type: z.ZodLiteral<"IDImage">;
554
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
555
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "isSandbox" | "base64_front" | "base64_back" | "name" | "mediaType_front" | "mediaType_back", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "isSandbox" | "base64_front" | "base64_back" | "name" | "mediaType_front" | "mediaType_back")[]]>]>;
556
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
557
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
558
- }, "strip", z.ZodTypeAny, {
559
- value: string | number | boolean | string[] | number[];
560
- type: "IDImage";
561
- attribute: string;
562
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
563
- requestId?: number | null | undefined;
564
- }, {
565
- value: string | number | boolean | string[] | number[];
566
- type: "IDImage";
567
- attribute: string;
568
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
569
- requestId?: number | null | undefined;
570
- }>, z.ZodObject<{
571
- type: z.ZodLiteral<"SelfieImage">;
572
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
573
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "entryDate" | "entryTime" | "isSandbox" | "name" | "base64" | "mediaType", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "entryDate" | "entryTime" | "isSandbox" | "name" | "base64" | "mediaType")[]]>]>;
574
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
575
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
576
- }, "strip", z.ZodTypeAny, {
577
- value: string | number | boolean | string[] | number[];
578
- type: "SelfieImage";
579
- attribute: string;
580
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
581
- requestId?: number | null | undefined;
582
- }, {
583
- value: string | number | boolean | string[] | number[];
584
- type: "SelfieImage";
585
- attribute: string;
586
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
587
- requestId?: number | null | undefined;
588
- }>, z.ZodObject<{
589
- type: z.ZodLiteral<"ProofOfResidence">;
148
+ query: z.ZodObject<{
149
+ queryId: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
590
150
  requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
591
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "documentType" | "entryDate" | "entryTime" | "country" | "isSandbox" | "name" | "base64" | "mediaType" | "county" | "city" | "streetName" | "postalCode", ...("id" | "journeyId" | "documentType" | "entryDate" | "entryTime" | "country" | "isSandbox" | "name" | "base64" | "mediaType" | "county" | "city" | "streetName" | "postalCode")[]]>]>;
592
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
151
+ attribute: z.ZodObject<{
152
+ version: z.ZodEnum<["v1"]>;
153
+ schema: z.ZodEnum<[keyof import("../vault/index.js").VaultSchema, ...(keyof import("../vault/index.js").VaultSchema)[]]>;
154
+ path: z.ZodEnum<[VaultSchemaPaths, ...VaultSchemaPaths[]]>;
155
+ }, "strip", z.ZodTypeAny, {
156
+ path: VaultSchemaPaths;
157
+ version: "v1";
158
+ schema: keyof import("../vault/index.js").VaultSchema;
159
+ }, {
160
+ path: VaultSchemaPaths;
161
+ version: "v1";
162
+ schema: keyof import("../vault/index.js").VaultSchema;
163
+ }>;
164
+ value: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>>;
593
165
  operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
594
166
  }, "strip", z.ZodTypeAny, {
595
- value: string | number | boolean | string[] | number[];
596
- type: "ProofOfResidence";
597
- attribute: string;
167
+ attribute: {
168
+ path: VaultSchemaPaths;
169
+ version: "v1";
170
+ schema: keyof import("../vault/index.js").VaultSchema;
171
+ };
598
172
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
173
+ value?: string | number | boolean | string[] | number[] | null | undefined;
174
+ queryId?: `query_${string}` | undefined;
599
175
  requestId?: number | null | undefined;
600
176
  }, {
601
- value: string | number | boolean | string[] | number[];
602
- type: "ProofOfResidence";
603
- attribute: string;
177
+ attribute: {
178
+ path: VaultSchemaPaths;
179
+ version: "v1";
180
+ schema: keyof import("../vault/index.js").VaultSchema;
181
+ };
604
182
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
183
+ value?: string | number | boolean | string[] | number[] | null | undefined;
184
+ queryId?: `query_${string}` | undefined;
605
185
  requestId?: number | null | undefined;
606
- }>]>;
186
+ }>;
607
187
  }, "strip", z.ZodTypeAny, {
608
188
  query: {
609
- value: string | number | boolean | string[] | number[];
610
- type: "IDInformation";
611
- attribute: string;
612
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
613
- requestId?: number | null | undefined;
614
- } | {
615
- value: string | number | boolean | string[] | number[];
616
- type: "IDImage";
617
- attribute: string;
618
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
619
- requestId?: number | null | undefined;
620
- } | {
621
- value: string | number | boolean | string[] | number[];
622
- type: "SelfieImage";
623
- attribute: string;
624
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
625
- requestId?: number | null | undefined;
626
- } | {
627
- value: string | number | boolean | string[] | number[];
628
- type: "ProofOfResidence";
629
- attribute: string;
189
+ attribute: {
190
+ path: VaultSchemaPaths;
191
+ version: "v1";
192
+ schema: keyof import("../vault/index.js").VaultSchema;
193
+ };
630
194
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
195
+ value?: string | number | boolean | string[] | number[] | null | undefined;
196
+ queryId?: `query_${string}` | undefined;
631
197
  requestId?: number | null | undefined;
632
198
  };
633
199
  id?: string | undefined;
634
200
  }, {
635
201
  query: {
636
- value: string | number | boolean | string[] | number[];
637
- type: "IDInformation";
638
- attribute: string;
639
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
640
- requestId?: number | null | undefined;
641
- } | {
642
- value: string | number | boolean | string[] | number[];
643
- type: "IDImage";
644
- attribute: string;
645
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
646
- requestId?: number | null | undefined;
647
- } | {
648
- value: string | number | boolean | string[] | number[];
649
- type: "SelfieImage";
650
- attribute: string;
651
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
652
- requestId?: number | null | undefined;
653
- } | {
654
- value: string | number | boolean | string[] | number[];
655
- type: "ProofOfResidence";
656
- attribute: string;
202
+ attribute: {
203
+ path: VaultSchemaPaths;
204
+ version: "v1";
205
+ schema: keyof import("../vault/index.js").VaultSchema;
206
+ };
657
207
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
208
+ value?: string | number | boolean | string[] | number[] | null | undefined;
209
+ queryId?: `query_${string}` | undefined;
658
210
  requestId?: number | null | undefined;
659
211
  };
660
212
  id?: string | undefined;
661
213
  }>;
662
- export type ChallengeQuery = z.infer<typeof ChallengeQuerySchema>;
663
- export declare const CHALLENGE_QUERY_OPERATORS: readonly ["GREATER_THAN", "LESS_THAN", "EQUAL_TO", "NOT_EQUAL_TO", "LESS_THAN_OR_EQUAL_TO", "GREATER_THAN_OR_EQUAL_TO", "IN", "NOT_IN", "EXISTS"];
664
- export declare const ChallengeQueryOperator: z.ZodEnum<["GREATER_THAN", "LESS_THAN", "EQUAL_TO", "NOT_EQUAL_TO", "LESS_THAN_OR_EQUAL_TO", "GREATER_THAN_OR_EQUAL_TO", "IN", "NOT_IN", "EXISTS"]>;
665
- export type ChallengeQueryOperator = z.infer<typeof ChallengeQueryOperator>;
214
+ export type OLD_ChallengeQuery = z.infer<typeof OLD_ChallengeQuerySchema>;
215
+ export declare const OLD_CHALLENGE_QUERY_OPERATORS: readonly ["GREATER_THAN", "LESS_THAN", "EQUAL_TO", "NOT_EQUAL_TO", "LESS_THAN_OR_EQUAL_TO", "GREATER_THAN_OR_EQUAL_TO", "IN", "NOT_IN", "EXISTS"];
216
+ export declare const OLD_ChallengeQueryOperator: z.ZodEnum<["GREATER_THAN", "LESS_THAN", "EQUAL_TO", "NOT_EQUAL_TO", "LESS_THAN_OR_EQUAL_TO", "GREATER_THAN_OR_EQUAL_TO", "IN", "NOT_IN", "EXISTS"]>;
217
+ export type OLD_ChallengeQueryOperator = z.infer<typeof OLD_ChallengeQueryOperator>;
666
218
  export declare const OperatorMappings: {
667
219
  readonly toChallenge: {
668
220
  readonly $noop: "EQUAL_TO";
@@ -688,7 +240,7 @@ export declare const OperatorMappings: {
688
240
  readonly EXISTS: "$exists";
689
241
  };
690
242
  };
691
- export declare const OperatorToChallengeQueryOperator: {
243
+ export declare const OperatorToOLD_ChallengeQueryOperator: {
692
244
  readonly $noop: "EQUAL_TO";
693
245
  readonly $eq: "EQUAL_TO";
694
246
  readonly $lt: "LESS_THAN";
@@ -700,7 +252,7 @@ export declare const OperatorToChallengeQueryOperator: {
700
252
  readonly $ne: "NOT_EQUAL_TO";
701
253
  readonly $exists: "EXISTS";
702
254
  };
703
- export declare const ChallengeQueryOperatorToOperator: {
255
+ export declare const OLD_ChallengeQueryOperatorToOperator: {
704
256
  readonly EQUAL_TO: "$eq";
705
257
  readonly LESS_THAN: "$lt";
706
258
  readonly LESS_THAN_OR_EQUAL_TO: "$lte";
@@ -711,4 +263,28 @@ export declare const ChallengeQueryOperatorToOperator: {
711
263
  readonly NOT_EQUAL_TO: "$ne";
712
264
  readonly EXISTS: "$exists";
713
265
  };
266
+ export declare const OLD_QueryCredentialTypes: readonly ["IDInformation", "IDImage", "SelfieImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"];
267
+ export declare const OLD_QueryCredentialType: z.ZodEnum<["IDInformation", "IDImage", "SelfieImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
268
+ export type OLD_QueryCredentialType = z.infer<typeof OLD_QueryCredentialType>;
269
+ /**
270
+ * @deprecated Use vault client and services instead
271
+ *
272
+ * FIXME: Have a better way to determine which credentials are required, centralize this logic if possible
273
+ * and with a way that doesn't require looking into the link
274
+ *
275
+ * @param dataLink
276
+ * @returns
277
+ */
278
+ export declare function getOldCredentialType(dataLink: VaultMetadataLink): OLD_QueryCredentialType | undefined;
279
+ /**
280
+ * @deprecated Use vault client and services instead
281
+ *
282
+ * @param dataLink
283
+ * @returns
284
+ */
285
+ export declare function getOldCredentialPath(dataLink: VaultMetadataLink): string | undefined;
286
+ /**
287
+ * @deprecated Use vault client and services instead
288
+ */
289
+ export declare function oldCredentialPathToDataLink(path: string, credentialType: string): VaultMetadataLink;
714
290
  //# sourceMappingURL=query.schema.d.ts.map