@unified-api/typescript-sdk 2.73.17 → 2.73.19
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/README.md +16 -0
- package/bin/mcp-server.js +1730 -11
- package/bin/mcp-server.js.map +51 -20
- package/docs/sdks/package/README.md +165 -0
- package/docs/sdks/request/README.md +489 -0
- package/docs/sdks/verification/README.md +647 -0
- package/examples/package-lock.json +1 -1
- package/funcs/accountingListAccountingBalancesheets.js +2 -0
- package/funcs/accountingListAccountingBalancesheets.js.map +1 -1
- package/funcs/accountingListAccountingProfitlosses.js +2 -0
- package/funcs/accountingListAccountingProfitlosses.js.map +1 -1
- package/funcs/verificationCreateVerificationRequest.d.ts +15 -0
- package/funcs/verificationCreateVerificationRequest.d.ts.map +1 -0
- package/funcs/verificationCreateVerificationRequest.js +124 -0
- package/funcs/verificationCreateVerificationRequest.js.map +1 -0
- package/funcs/verificationGetVerificationPackage.d.ts +15 -0
- package/funcs/verificationGetVerificationPackage.d.ts.map +1 -0
- package/funcs/verificationGetVerificationPackage.js +125 -0
- package/funcs/verificationGetVerificationPackage.js.map +1 -0
- package/funcs/verificationGetVerificationRequest.d.ts +15 -0
- package/funcs/verificationGetVerificationRequest.d.ts.map +1 -0
- package/funcs/verificationGetVerificationRequest.js +125 -0
- package/funcs/verificationGetVerificationRequest.js.map +1 -0
- package/funcs/verificationListVerificationPackages.d.ts +15 -0
- package/funcs/verificationListVerificationPackages.d.ts.map +1 -0
- package/funcs/verificationListVerificationPackages.js +128 -0
- package/funcs/verificationListVerificationPackages.js.map +1 -0
- package/funcs/verificationListVerificationRequests.d.ts +15 -0
- package/funcs/verificationListVerificationRequests.d.ts.map +1 -0
- package/funcs/verificationListVerificationRequests.js +130 -0
- package/funcs/verificationListVerificationRequests.js.map +1 -0
- package/funcs/verificationPatchVerificationRequest.d.ts +15 -0
- package/funcs/verificationPatchVerificationRequest.d.ts.map +1 -0
- package/funcs/verificationPatchVerificationRequest.js +128 -0
- package/funcs/verificationPatchVerificationRequest.js.map +1 -0
- package/funcs/verificationRemoveVerificationRequest.d.ts +14 -0
- package/funcs/verificationRemoveVerificationRequest.d.ts.map +1 -0
- package/funcs/verificationRemoveVerificationRequest.js +122 -0
- package/funcs/verificationRemoveVerificationRequest.js.map +1 -0
- package/funcs/verificationUpdateVerificationRequest.d.ts +15 -0
- package/funcs/verificationUpdateVerificationRequest.d.ts.map +1 -0
- package/funcs/verificationUpdateVerificationRequest.js +128 -0
- package/funcs/verificationUpdateVerificationRequest.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +17 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/verificationCreateVerificationRequest.d.ts +8 -0
- package/mcp-server/tools/verificationCreateVerificationRequest.d.ts.map +1 -0
- package/mcp-server/tools/verificationCreateVerificationRequest.js +62 -0
- package/mcp-server/tools/verificationCreateVerificationRequest.js.map +1 -0
- package/mcp-server/tools/verificationGetVerificationPackage.d.ts +8 -0
- package/mcp-server/tools/verificationGetVerificationPackage.d.ts.map +1 -0
- package/mcp-server/tools/verificationGetVerificationPackage.js +62 -0
- package/mcp-server/tools/verificationGetVerificationPackage.js.map +1 -0
- package/mcp-server/tools/verificationGetVerificationRequest.d.ts +8 -0
- package/mcp-server/tools/verificationGetVerificationRequest.d.ts.map +1 -0
- package/mcp-server/tools/verificationGetVerificationRequest.js +62 -0
- package/mcp-server/tools/verificationGetVerificationRequest.js.map +1 -0
- package/mcp-server/tools/verificationListVerificationPackages.d.ts +8 -0
- package/mcp-server/tools/verificationListVerificationPackages.d.ts.map +1 -0
- package/mcp-server/tools/verificationListVerificationPackages.js +62 -0
- package/mcp-server/tools/verificationListVerificationPackages.js.map +1 -0
- package/mcp-server/tools/verificationListVerificationRequests.d.ts +8 -0
- package/mcp-server/tools/verificationListVerificationRequests.d.ts.map +1 -0
- package/mcp-server/tools/verificationListVerificationRequests.js +62 -0
- package/mcp-server/tools/verificationListVerificationRequests.js.map +1 -0
- package/mcp-server/tools/verificationPatchVerificationRequest.d.ts +8 -0
- package/mcp-server/tools/verificationPatchVerificationRequest.d.ts.map +1 -0
- package/mcp-server/tools/verificationPatchVerificationRequest.js +62 -0
- package/mcp-server/tools/verificationPatchVerificationRequest.js.map +1 -0
- package/mcp-server/tools/verificationRemoveVerificationRequest.d.ts +8 -0
- package/mcp-server/tools/verificationRemoveVerificationRequest.d.ts.map +1 -0
- package/mcp-server/tools/verificationRemoveVerificationRequest.js +61 -0
- package/mcp-server/tools/verificationRemoveVerificationRequest.js.map +1 -0
- package/mcp-server/tools/verificationUpdateVerificationRequest.d.ts +8 -0
- package/mcp-server/tools/verificationUpdateVerificationRequest.d.ts.map +1 -0
- package/mcp-server/tools/verificationUpdateVerificationRequest.js +62 -0
- package/mcp-server/tools/verificationUpdateVerificationRequest.js.map +1 -0
- package/package.json +1 -1
- package/sdk/models/operations/createverificationrequest.d.ts +45 -0
- package/sdk/models/operations/createverificationrequest.d.ts.map +1 -0
- package/sdk/models/operations/createverificationrequest.js +87 -0
- package/sdk/models/operations/createverificationrequest.js.map +1 -0
- package/sdk/models/operations/getverificationpackage.d.ts +47 -0
- package/sdk/models/operations/getverificationpackage.d.ts.map +1 -0
- package/sdk/models/operations/getverificationpackage.js +84 -0
- package/sdk/models/operations/getverificationpackage.js.map +1 -0
- package/sdk/models/operations/getverificationrequest.d.ts +47 -0
- package/sdk/models/operations/getverificationrequest.d.ts.map +1 -0
- package/sdk/models/operations/getverificationrequest.js +84 -0
- package/sdk/models/operations/getverificationrequest.js.map +1 -0
- package/sdk/models/operations/index.d.ts +8 -0
- package/sdk/models/operations/index.d.ts.map +1 -1
- package/sdk/models/operations/index.js +8 -0
- package/sdk/models/operations/index.js.map +1 -1
- package/sdk/models/operations/listaccountingbalancesheets.d.ts +10 -0
- package/sdk/models/operations/listaccountingbalancesheets.d.ts.map +1 -1
- package/sdk/models/operations/listaccountingbalancesheets.js +8 -0
- package/sdk/models/operations/listaccountingbalancesheets.js.map +1 -1
- package/sdk/models/operations/listaccountingprofitlosses.d.ts +10 -0
- package/sdk/models/operations/listaccountingprofitlosses.d.ts.map +1 -1
- package/sdk/models/operations/listaccountingprofitlosses.js +8 -0
- package/sdk/models/operations/listaccountingprofitlosses.js.map +1 -1
- package/sdk/models/operations/listunifiedconnections.d.ts +3 -0
- package/sdk/models/operations/listunifiedconnections.d.ts.map +1 -1
- package/sdk/models/operations/listunifiedconnections.js +1 -0
- package/sdk/models/operations/listunifiedconnections.js.map +1 -1
- package/sdk/models/operations/listunifiedintegrations.d.ts +3 -0
- package/sdk/models/operations/listunifiedintegrations.d.ts.map +1 -1
- package/sdk/models/operations/listunifiedintegrations.js +1 -0
- package/sdk/models/operations/listunifiedintegrations.js.map +1 -1
- package/sdk/models/operations/listunifiedintegrationworkspaces.d.ts +3 -0
- package/sdk/models/operations/listunifiedintegrationworkspaces.d.ts.map +1 -1
- package/sdk/models/operations/listunifiedintegrationworkspaces.js +1 -0
- package/sdk/models/operations/listunifiedintegrationworkspaces.js.map +1 -1
- package/sdk/models/operations/listverificationpackages.d.ts +60 -0
- package/sdk/models/operations/listverificationpackages.d.ts.map +1 -0
- package/sdk/models/operations/listverificationpackages.js +96 -0
- package/sdk/models/operations/listverificationpackages.js.map +1 -0
- package/sdk/models/operations/listverificationrequests.d.ts +70 -0
- package/sdk/models/operations/listverificationrequests.d.ts.map +1 -0
- package/sdk/models/operations/listverificationrequests.js +104 -0
- package/sdk/models/operations/listverificationrequests.js.map +1 -0
- package/sdk/models/operations/patchverificationrequest.d.ts +50 -0
- package/sdk/models/operations/patchverificationrequest.d.ts.map +1 -0
- package/sdk/models/operations/patchverificationrequest.js +89 -0
- package/sdk/models/operations/patchverificationrequest.js.map +1 -0
- package/sdk/models/operations/removeverificationrequest.d.ts +66 -0
- package/sdk/models/operations/removeverificationrequest.d.ts.map +1 -0
- package/sdk/models/operations/removeverificationrequest.js +115 -0
- package/sdk/models/operations/removeverificationrequest.js.map +1 -0
- package/sdk/models/operations/updateverificationrequest.d.ts +50 -0
- package/sdk/models/operations/updateverificationrequest.d.ts.map +1 -0
- package/sdk/models/operations/updateverificationrequest.js +89 -0
- package/sdk/models/operations/updateverificationrequest.js.map +1 -0
- package/sdk/models/shared/genaiprompt.d.ts +2 -0
- package/sdk/models/shared/genaiprompt.d.ts.map +1 -1
- package/sdk/models/shared/genaiprompt.js +4 -0
- package/sdk/models/shared/genaiprompt.js.map +1 -1
- package/sdk/models/shared/index.d.ts +7 -0
- package/sdk/models/shared/index.d.ts.map +1 -1
- package/sdk/models/shared/index.js +7 -0
- package/sdk/models/shared/index.js.map +1 -1
- package/sdk/models/shared/propertyconnectioncategories.d.ts +1 -0
- package/sdk/models/shared/propertyconnectioncategories.d.ts.map +1 -1
- package/sdk/models/shared/propertyconnectioncategories.js +1 -0
- package/sdk/models/shared/propertyconnectioncategories.js.map +1 -1
- package/sdk/models/shared/propertyconnectionpermissions.d.ts +3 -0
- package/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
- package/sdk/models/shared/propertyconnectionpermissions.js +3 -0
- package/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
- package/sdk/models/shared/propertyintegrationcategories.d.ts +1 -0
- package/sdk/models/shared/propertyintegrationcategories.d.ts.map +1 -1
- package/sdk/models/shared/propertyintegrationcategories.js +1 -0
- package/sdk/models/shared/propertyintegrationcategories.js.map +1 -1
- package/sdk/models/shared/verificationaddress.d.ts +43 -0
- package/sdk/models/shared/verificationaddress.d.ts.map +1 -0
- package/sdk/models/shared/verificationaddress.js +96 -0
- package/sdk/models/shared/verificationaddress.js.map +1 -0
- package/sdk/models/shared/verificationpackage.d.ts +104 -0
- package/sdk/models/shared/verificationpackage.d.ts.map +1 -0
- package/sdk/models/shared/verificationpackage.js +165 -0
- package/sdk/models/shared/verificationpackage.js.map +1 -0
- package/sdk/models/shared/verificationparameter.d.ts +76 -0
- package/sdk/models/shared/verificationparameter.d.ts.map +1 -0
- package/sdk/models/shared/verificationparameter.js +129 -0
- package/sdk/models/shared/verificationparameter.js.map +1 -0
- package/sdk/models/shared/verificationparameterinput.d.ts +33 -0
- package/sdk/models/shared/verificationparameterinput.d.ts.map +1 -0
- package/sdk/models/shared/verificationparameterinput.js +73 -0
- package/sdk/models/shared/verificationparameterinput.js.map +1 -0
- package/sdk/models/shared/verificationrequest.d.ts +131 -0
- package/sdk/models/shared/verificationrequest.d.ts.map +1 -0
- package/sdk/models/shared/verificationrequest.js +233 -0
- package/sdk/models/shared/verificationrequest.js.map +1 -0
- package/sdk/models/shared/verificationresponsedetail.d.ts +39 -0
- package/sdk/models/shared/verificationresponsedetail.d.ts.map +1 -0
- package/sdk/models/shared/verificationresponsedetail.js +94 -0
- package/sdk/models/shared/verificationresponsedetail.js.map +1 -0
- package/sdk/models/shared/verificationtime.d.ts +34 -0
- package/sdk/models/shared/verificationtime.d.ts.map +1 -0
- package/sdk/models/shared/verificationtime.js +80 -0
- package/sdk/models/shared/verificationtime.js.map +1 -0
- package/sdk/models/shared/webhook.d.ts +2 -0
- package/sdk/models/shared/webhook.d.ts.map +1 -1
- package/sdk/models/shared/webhook.js +2 -0
- package/sdk/models/shared/webhook.js.map +1 -1
- package/sdk/package.d.ts +14 -0
- package/sdk/package.d.ts.map +1 -0
- package/sdk/package.js +26 -0
- package/sdk/package.js.map +1 -0
- package/sdk/request.d.ts +30 -0
- package/sdk/request.d.ts.map +1 -0
- package/sdk/request.js +54 -0
- package/sdk/request.js.map +1 -0
- package/sdk/sdk.d.ts +9 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +12 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/verification.d.ts +38 -0
- package/sdk/verification.d.ts.map +1 -0
- package/sdk/verification.js +68 -0
- package/sdk/verification.js.map +1 -0
- package/src/funcs/accountingListAccountingBalancesheets.ts +2 -0
- package/src/funcs/accountingListAccountingProfitlosses.ts +2 -0
- package/src/funcs/verificationCreateVerificationRequest.ts +173 -0
- package/src/funcs/verificationGetVerificationPackage.ts +176 -0
- package/src/funcs/verificationGetVerificationRequest.ts +176 -0
- package/src/funcs/verificationListVerificationPackages.ts +177 -0
- package/src/funcs/verificationListVerificationRequests.ts +179 -0
- package/src/funcs/verificationPatchVerificationRequest.ts +179 -0
- package/src/funcs/verificationRemoveVerificationRequest.ts +181 -0
- package/src/funcs/verificationUpdateVerificationRequest.ts +179 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +17 -1
- package/src/mcp-server/tools/verificationCreateVerificationRequest.ts +37 -0
- package/src/mcp-server/tools/verificationGetVerificationPackage.ts +37 -0
- package/src/mcp-server/tools/verificationGetVerificationRequest.ts +37 -0
- package/src/mcp-server/tools/verificationListVerificationPackages.ts +37 -0
- package/src/mcp-server/tools/verificationListVerificationRequests.ts +37 -0
- package/src/mcp-server/tools/verificationPatchVerificationRequest.ts +37 -0
- package/src/mcp-server/tools/verificationRemoveVerificationRequest.ts +35 -0
- package/src/mcp-server/tools/verificationUpdateVerificationRequest.ts +37 -0
- package/src/sdk/models/operations/createverificationrequest.ts +101 -0
- package/src/sdk/models/operations/getverificationpackage.ts +101 -0
- package/src/sdk/models/operations/getverificationrequest.ts +101 -0
- package/src/sdk/models/operations/index.ts +8 -0
- package/src/sdk/models/operations/listaccountingbalancesheets.ts +18 -0
- package/src/sdk/models/operations/listaccountingprofitlosses.ts +18 -0
- package/src/sdk/models/operations/listunifiedconnections.ts +1 -0
- package/src/sdk/models/operations/listunifiedintegrations.ts +1 -0
- package/src/sdk/models/operations/listunifiedintegrationworkspaces.ts +1 -0
- package/src/sdk/models/operations/listverificationpackages.ts +126 -0
- package/src/sdk/models/operations/listverificationrequests.ts +144 -0
- package/src/sdk/models/operations/patchverificationrequest.ts +108 -0
- package/src/sdk/models/operations/removeverificationrequest.ts +156 -0
- package/src/sdk/models/operations/updateverificationrequest.ts +108 -0
- package/src/sdk/models/shared/genaiprompt.ts +6 -0
- package/src/sdk/models/shared/index.ts +7 -0
- package/src/sdk/models/shared/propertyconnectioncategories.ts +1 -0
- package/src/sdk/models/shared/propertyconnectionpermissions.ts +3 -0
- package/src/sdk/models/shared/propertyintegrationcategories.ts +1 -0
- package/src/sdk/models/shared/verificationaddress.ts +107 -0
- package/src/sdk/models/shared/verificationpackage.ts +231 -0
- package/src/sdk/models/shared/verificationparameter.ts +167 -0
- package/src/sdk/models/shared/verificationparameterinput.ts +74 -0
- package/src/sdk/models/shared/verificationrequest.ts +330 -0
- package/src/sdk/models/shared/verificationresponsedetail.ts +101 -0
- package/src/sdk/models/shared/verificationtime.ts +82 -0
- package/src/sdk/models/shared/webhook.ts +2 -0
- package/src/sdk/package.ts +40 -0
- package/src/sdk/request.ts +100 -0
- package/src/sdk/sdk.ts +18 -0
- package/src/sdk/verification.ts +130 -0
package/bin/mcp-server.js
CHANGED
|
@@ -34231,9 +34231,9 @@ var init_config = __esm(() => {
|
|
|
34231
34231
|
SDK_METADATA = {
|
|
34232
34232
|
language: "typescript",
|
|
34233
34233
|
openapiDocVersion: "1.0",
|
|
34234
|
-
sdkVersion: "2.73.
|
|
34235
|
-
genVersion: "2.687.
|
|
34236
|
-
userAgent: "speakeasy-sdk/typescript 2.73.
|
|
34234
|
+
sdkVersion: "2.73.19",
|
|
34235
|
+
genVersion: "2.687.13",
|
|
34236
|
+
userAgent: "speakeasy-sdk/typescript 2.73.19 2.687.13 1.0 @unified-api/typescript-sdk"
|
|
34237
34237
|
};
|
|
34238
34238
|
});
|
|
34239
34239
|
|
|
@@ -42088,7 +42088,8 @@ var init_propertyconnectioncategories = __esm(() => {
|
|
|
42088
42088
|
Lms: "lms",
|
|
42089
42089
|
Repo: "repo",
|
|
42090
42090
|
Metadata: "metadata",
|
|
42091
|
-
Calendar: "calendar"
|
|
42091
|
+
Calendar: "calendar",
|
|
42092
|
+
Verification: "verification"
|
|
42092
42093
|
};
|
|
42093
42094
|
PropertyConnectionCategories$inboundSchema = unionType([
|
|
42094
42095
|
nativeEnumType(PropertyConnectionCategories),
|
|
@@ -42160,6 +42161,9 @@ var init_propertyconnectionpermissions = __esm(() => {
|
|
|
42160
42161
|
CommerceLocationWrite: "commerce_location_write",
|
|
42161
42162
|
CommerceReviewRead: "commerce_review_read",
|
|
42162
42163
|
CommerceReviewWrite: "commerce_review_write",
|
|
42164
|
+
VerificationPackageRead: "verification_package_read",
|
|
42165
|
+
VerificationRequestRead: "verification_request_read",
|
|
42166
|
+
VerificationRequestWrite: "verification_request_write",
|
|
42163
42167
|
AtsActivityRead: "ats_activity_read",
|
|
42164
42168
|
AtsActivityWrite: "ats_activity_write",
|
|
42165
42169
|
AtsApplicationRead: "ats_application_read",
|
|
@@ -44115,6 +44119,7 @@ var init_genaiprompt = __esm(() => {
|
|
|
44115
44119
|
init_genaicontent();
|
|
44116
44120
|
GenaiPrompt$inboundSchema = objectType({
|
|
44117
44121
|
max_tokens: numberType().optional(),
|
|
44122
|
+
mcp_url: stringType().optional(),
|
|
44118
44123
|
messages: arrayType(GenaiContent$inboundSchema).optional(),
|
|
44119
44124
|
model_id: stringType().optional(),
|
|
44120
44125
|
raw: recordType(anyType()).optional(),
|
|
@@ -44124,12 +44129,14 @@ var init_genaiprompt = __esm(() => {
|
|
|
44124
44129
|
}).transform((v2) => {
|
|
44125
44130
|
return remap(v2, {
|
|
44126
44131
|
max_tokens: "maxTokens",
|
|
44132
|
+
mcp_url: "mcpUrl",
|
|
44127
44133
|
model_id: "modelId",
|
|
44128
44134
|
tokens_used: "tokensUsed"
|
|
44129
44135
|
});
|
|
44130
44136
|
});
|
|
44131
44137
|
GenaiPrompt$outboundSchema = objectType({
|
|
44132
44138
|
maxTokens: numberType().optional(),
|
|
44139
|
+
mcpUrl: stringType().optional(),
|
|
44133
44140
|
messages: arrayType(GenaiContent$outboundSchema).optional(),
|
|
44134
44141
|
modelId: stringType().optional(),
|
|
44135
44142
|
raw: recordType(anyType()).optional(),
|
|
@@ -44139,6 +44146,7 @@ var init_genaiprompt = __esm(() => {
|
|
|
44139
44146
|
}).transform((v2) => {
|
|
44140
44147
|
return remap(v2, {
|
|
44141
44148
|
maxTokens: "max_tokens",
|
|
44149
|
+
mcpUrl: "mcp_url",
|
|
44142
44150
|
modelId: "model_id",
|
|
44143
44151
|
tokensUsed: "tokens_used"
|
|
44144
44152
|
});
|
|
@@ -45490,7 +45498,8 @@ var init_propertyintegrationcategories = __esm(() => {
|
|
|
45490
45498
|
Lms: "lms",
|
|
45491
45499
|
Repo: "repo",
|
|
45492
45500
|
Metadata: "metadata",
|
|
45493
|
-
Calendar: "calendar"
|
|
45501
|
+
Calendar: "calendar",
|
|
45502
|
+
Verification: "verification"
|
|
45494
45503
|
};
|
|
45495
45504
|
PropertyIntegrationCategories$inboundSchema = unionType([
|
|
45496
45505
|
nativeEnumType(PropertyIntegrationCategories),
|
|
@@ -50173,6 +50182,456 @@ var init_ucrecording = __esm(() => {
|
|
|
50173
50182
|
})(UcRecording$ ||= {});
|
|
50174
50183
|
});
|
|
50175
50184
|
|
|
50185
|
+
// src/sdk/models/shared/verificationaddress.ts
|
|
50186
|
+
var VerificationAddress$inboundSchema, VerificationAddress$outboundSchema, VerificationAddress$;
|
|
50187
|
+
var init_verificationaddress = __esm(() => {
|
|
50188
|
+
init_esm();
|
|
50189
|
+
init_primitives();
|
|
50190
|
+
VerificationAddress$inboundSchema = objectType({
|
|
50191
|
+
address1: stringType().optional(),
|
|
50192
|
+
address2: stringType().optional(),
|
|
50193
|
+
city: stringType().optional(),
|
|
50194
|
+
country: stringType().optional(),
|
|
50195
|
+
country_code: stringType().optional(),
|
|
50196
|
+
postal_code: stringType().optional(),
|
|
50197
|
+
region: stringType().optional(),
|
|
50198
|
+
region_code: stringType().optional()
|
|
50199
|
+
}).transform((v2) => {
|
|
50200
|
+
return remap(v2, {
|
|
50201
|
+
country_code: "countryCode",
|
|
50202
|
+
postal_code: "postalCode",
|
|
50203
|
+
region_code: "regionCode"
|
|
50204
|
+
});
|
|
50205
|
+
});
|
|
50206
|
+
VerificationAddress$outboundSchema = objectType({
|
|
50207
|
+
address1: stringType().optional(),
|
|
50208
|
+
address2: stringType().optional(),
|
|
50209
|
+
city: stringType().optional(),
|
|
50210
|
+
country: stringType().optional(),
|
|
50211
|
+
countryCode: stringType().optional(),
|
|
50212
|
+
postalCode: stringType().optional(),
|
|
50213
|
+
region: stringType().optional(),
|
|
50214
|
+
regionCode: stringType().optional()
|
|
50215
|
+
}).transform((v2) => {
|
|
50216
|
+
return remap(v2, {
|
|
50217
|
+
countryCode: "country_code",
|
|
50218
|
+
postalCode: "postal_code",
|
|
50219
|
+
regionCode: "region_code"
|
|
50220
|
+
});
|
|
50221
|
+
});
|
|
50222
|
+
((VerificationAddress$) => {
|
|
50223
|
+
VerificationAddress$.inboundSchema = VerificationAddress$inboundSchema;
|
|
50224
|
+
VerificationAddress$.outboundSchema = VerificationAddress$outboundSchema;
|
|
50225
|
+
})(VerificationAddress$ ||= {});
|
|
50226
|
+
});
|
|
50227
|
+
|
|
50228
|
+
// src/sdk/models/shared/verificationparameter.ts
|
|
50229
|
+
var VerificationParameterType, VerificationParameterType$inboundSchema, VerificationParameterType$outboundSchema, VerificationParameterType$, VerificationParameter$inboundSchema, VerificationParameter$outboundSchema, VerificationParameter$;
|
|
50230
|
+
var init_verificationparameter = __esm(() => {
|
|
50231
|
+
init_esm();
|
|
50232
|
+
init_primitives();
|
|
50233
|
+
VerificationParameterType = {
|
|
50234
|
+
Text: "TEXT",
|
|
50235
|
+
Number: "NUMBER",
|
|
50236
|
+
MultipleChoice: "MULTIPLE_CHOICE",
|
|
50237
|
+
MultipleSelect: "MULTIPLE_SELECT",
|
|
50238
|
+
Date: "DATE",
|
|
50239
|
+
File: "FILE"
|
|
50240
|
+
};
|
|
50241
|
+
VerificationParameterType$inboundSchema = unionType([
|
|
50242
|
+
nativeEnumType(VerificationParameterType),
|
|
50243
|
+
stringType().transform(catchUnrecognizedEnum)
|
|
50244
|
+
]);
|
|
50245
|
+
VerificationParameterType$outboundSchema = unionType([
|
|
50246
|
+
nativeEnumType(VerificationParameterType),
|
|
50247
|
+
stringType().and(custom())
|
|
50248
|
+
]);
|
|
50249
|
+
((VerificationParameterType$) => {
|
|
50250
|
+
VerificationParameterType$.inboundSchema = VerificationParameterType$inboundSchema;
|
|
50251
|
+
VerificationParameterType$.outboundSchema = VerificationParameterType$outboundSchema;
|
|
50252
|
+
})(VerificationParameterType$ ||= {});
|
|
50253
|
+
VerificationParameter$inboundSchema = objectType({
|
|
50254
|
+
file_types: arrayType(stringType()).optional(),
|
|
50255
|
+
id: stringType().optional(),
|
|
50256
|
+
is_required: booleanType().optional(),
|
|
50257
|
+
name: stringType(),
|
|
50258
|
+
options: arrayType(stringType()).optional(),
|
|
50259
|
+
public_question: stringType().optional(),
|
|
50260
|
+
type: VerificationParameterType$inboundSchema.optional(),
|
|
50261
|
+
valid_regions: arrayType(stringType()).optional()
|
|
50262
|
+
}).transform((v2) => {
|
|
50263
|
+
return remap(v2, {
|
|
50264
|
+
file_types: "fileTypes",
|
|
50265
|
+
is_required: "isRequired",
|
|
50266
|
+
public_question: "publicQuestion",
|
|
50267
|
+
valid_regions: "validRegions"
|
|
50268
|
+
});
|
|
50269
|
+
});
|
|
50270
|
+
VerificationParameter$outboundSchema = objectType({
|
|
50271
|
+
fileTypes: arrayType(stringType()).optional(),
|
|
50272
|
+
id: stringType().optional(),
|
|
50273
|
+
isRequired: booleanType().optional(),
|
|
50274
|
+
name: stringType(),
|
|
50275
|
+
options: arrayType(stringType()).optional(),
|
|
50276
|
+
publicQuestion: stringType().optional(),
|
|
50277
|
+
type: VerificationParameterType$outboundSchema.optional(),
|
|
50278
|
+
validRegions: arrayType(stringType()).optional()
|
|
50279
|
+
}).transform((v2) => {
|
|
50280
|
+
return remap(v2, {
|
|
50281
|
+
fileTypes: "file_types",
|
|
50282
|
+
isRequired: "is_required",
|
|
50283
|
+
publicQuestion: "public_question",
|
|
50284
|
+
validRegions: "valid_regions"
|
|
50285
|
+
});
|
|
50286
|
+
});
|
|
50287
|
+
((VerificationParameter$) => {
|
|
50288
|
+
VerificationParameter$.inboundSchema = VerificationParameter$inboundSchema;
|
|
50289
|
+
VerificationParameter$.outboundSchema = VerificationParameter$outboundSchema;
|
|
50290
|
+
})(VerificationParameter$ ||= {});
|
|
50291
|
+
});
|
|
50292
|
+
|
|
50293
|
+
// src/sdk/models/shared/verificationtime.ts
|
|
50294
|
+
var VerificationTime$inboundSchema, VerificationTime$outboundSchema, VerificationTime$;
|
|
50295
|
+
var init_verificationtime = __esm(() => {
|
|
50296
|
+
init_esm();
|
|
50297
|
+
init_primitives();
|
|
50298
|
+
VerificationTime$inboundSchema = objectType({
|
|
50299
|
+
milliseconds: numberType().optional(),
|
|
50300
|
+
valid_regions: arrayType(stringType()).optional()
|
|
50301
|
+
}).transform((v2) => {
|
|
50302
|
+
return remap(v2, {
|
|
50303
|
+
valid_regions: "validRegions"
|
|
50304
|
+
});
|
|
50305
|
+
});
|
|
50306
|
+
VerificationTime$outboundSchema = objectType({
|
|
50307
|
+
milliseconds: numberType().optional(),
|
|
50308
|
+
validRegions: arrayType(stringType()).optional()
|
|
50309
|
+
}).transform((v2) => {
|
|
50310
|
+
return remap(v2, {
|
|
50311
|
+
validRegions: "valid_regions"
|
|
50312
|
+
});
|
|
50313
|
+
});
|
|
50314
|
+
((VerificationTime$) => {
|
|
50315
|
+
VerificationTime$.inboundSchema = VerificationTime$inboundSchema;
|
|
50316
|
+
VerificationTime$.outboundSchema = VerificationTime$outboundSchema;
|
|
50317
|
+
})(VerificationTime$ ||= {});
|
|
50318
|
+
});
|
|
50319
|
+
|
|
50320
|
+
// src/sdk/models/shared/verificationpackage.ts
|
|
50321
|
+
var VerificationPackageType, VerificationPackageType$inboundSchema, VerificationPackageType$outboundSchema, VerificationPackageType$, VerificationPackage$inboundSchema, VerificationPackage$outboundSchema, VerificationPackage$;
|
|
50322
|
+
var init_verificationpackage = __esm(() => {
|
|
50323
|
+
init_esm();
|
|
50324
|
+
init_primitives();
|
|
50325
|
+
init_verificationparameter();
|
|
50326
|
+
init_verificationtime();
|
|
50327
|
+
VerificationPackageType = {
|
|
50328
|
+
IdentityVerification: "IDENTITY_VERIFICATION",
|
|
50329
|
+
Screening: "SCREENING",
|
|
50330
|
+
BackgroundCheck: "BACKGROUND_CHECK",
|
|
50331
|
+
EmploymentVerification: "EMPLOYMENT_VERIFICATION",
|
|
50332
|
+
EducationVerification: "EDUCATION_VERIFICATION",
|
|
50333
|
+
CreditCheck: "CREDIT_CHECK",
|
|
50334
|
+
FraudPrevention: "FRAUD_PREVENTION",
|
|
50335
|
+
Other: "OTHER"
|
|
50336
|
+
};
|
|
50337
|
+
VerificationPackageType$inboundSchema = unionType([
|
|
50338
|
+
nativeEnumType(VerificationPackageType),
|
|
50339
|
+
stringType().transform(catchUnrecognizedEnum)
|
|
50340
|
+
]);
|
|
50341
|
+
VerificationPackageType$outboundSchema = unionType([
|
|
50342
|
+
nativeEnumType(VerificationPackageType),
|
|
50343
|
+
stringType().and(custom())
|
|
50344
|
+
]);
|
|
50345
|
+
((VerificationPackageType$) => {
|
|
50346
|
+
VerificationPackageType$.inboundSchema = VerificationPackageType$inboundSchema;
|
|
50347
|
+
VerificationPackageType$.outboundSchema = VerificationPackageType$outboundSchema;
|
|
50348
|
+
})(VerificationPackageType$ ||= {});
|
|
50349
|
+
VerificationPackage$inboundSchema = objectType({
|
|
50350
|
+
aliases: arrayType(stringType()).optional(),
|
|
50351
|
+
average_processing_times: arrayType(VerificationTime$inboundSchema).optional(),
|
|
50352
|
+
cost_amount: numberType().optional(),
|
|
50353
|
+
created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
50354
|
+
currency: stringType().optional(),
|
|
50355
|
+
description: stringType().optional(),
|
|
50356
|
+
has_redirect_url: booleanType().optional(),
|
|
50357
|
+
has_target_url: booleanType().optional(),
|
|
50358
|
+
id: stringType(),
|
|
50359
|
+
info_url: stringType().optional(),
|
|
50360
|
+
max_score: numberType().optional(),
|
|
50361
|
+
name: stringType(),
|
|
50362
|
+
needs_ip_address: booleanType().optional(),
|
|
50363
|
+
parameters: arrayType(VerificationParameter$inboundSchema).optional(),
|
|
50364
|
+
raw: recordType(anyType()).optional(),
|
|
50365
|
+
tags: arrayType(stringType()).optional(),
|
|
50366
|
+
type: VerificationPackageType$inboundSchema,
|
|
50367
|
+
updated_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
50368
|
+
}).transform((v2) => {
|
|
50369
|
+
return remap(v2, {
|
|
50370
|
+
average_processing_times: "averageProcessingTimes",
|
|
50371
|
+
cost_amount: "costAmount",
|
|
50372
|
+
created_at: "createdAt",
|
|
50373
|
+
has_redirect_url: "hasRedirectUrl",
|
|
50374
|
+
has_target_url: "hasTargetUrl",
|
|
50375
|
+
info_url: "infoUrl",
|
|
50376
|
+
max_score: "maxScore",
|
|
50377
|
+
needs_ip_address: "needsIpAddress",
|
|
50378
|
+
updated_at: "updatedAt"
|
|
50379
|
+
});
|
|
50380
|
+
});
|
|
50381
|
+
VerificationPackage$outboundSchema = objectType({
|
|
50382
|
+
aliases: arrayType(stringType()).optional(),
|
|
50383
|
+
averageProcessingTimes: arrayType(VerificationTime$outboundSchema).optional(),
|
|
50384
|
+
costAmount: numberType().optional(),
|
|
50385
|
+
createdAt: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
50386
|
+
currency: stringType().optional(),
|
|
50387
|
+
description: stringType().optional(),
|
|
50388
|
+
hasRedirectUrl: booleanType().optional(),
|
|
50389
|
+
hasTargetUrl: booleanType().optional(),
|
|
50390
|
+
id: stringType(),
|
|
50391
|
+
infoUrl: stringType().optional(),
|
|
50392
|
+
maxScore: numberType().optional(),
|
|
50393
|
+
name: stringType(),
|
|
50394
|
+
needsIpAddress: booleanType().optional(),
|
|
50395
|
+
parameters: arrayType(VerificationParameter$outboundSchema).optional(),
|
|
50396
|
+
raw: recordType(anyType()).optional(),
|
|
50397
|
+
tags: arrayType(stringType()).optional(),
|
|
50398
|
+
type: VerificationPackageType$outboundSchema,
|
|
50399
|
+
updatedAt: dateType().transform((v2) => v2.toISOString()).optional()
|
|
50400
|
+
}).transform((v2) => {
|
|
50401
|
+
return remap(v2, {
|
|
50402
|
+
averageProcessingTimes: "average_processing_times",
|
|
50403
|
+
costAmount: "cost_amount",
|
|
50404
|
+
createdAt: "created_at",
|
|
50405
|
+
hasRedirectUrl: "has_redirect_url",
|
|
50406
|
+
hasTargetUrl: "has_target_url",
|
|
50407
|
+
infoUrl: "info_url",
|
|
50408
|
+
maxScore: "max_score",
|
|
50409
|
+
needsIpAddress: "needs_ip_address",
|
|
50410
|
+
updatedAt: "updated_at"
|
|
50411
|
+
});
|
|
50412
|
+
});
|
|
50413
|
+
((VerificationPackage$) => {
|
|
50414
|
+
VerificationPackage$.inboundSchema = VerificationPackage$inboundSchema;
|
|
50415
|
+
VerificationPackage$.outboundSchema = VerificationPackage$outboundSchema;
|
|
50416
|
+
})(VerificationPackage$ ||= {});
|
|
50417
|
+
});
|
|
50418
|
+
|
|
50419
|
+
// src/sdk/models/shared/verificationparameterinput.ts
|
|
50420
|
+
var VerificationParameterInput$inboundSchema, VerificationParameterInput$outboundSchema, VerificationParameterInput$;
|
|
50421
|
+
var init_verificationparameterinput = __esm(() => {
|
|
50422
|
+
init_esm();
|
|
50423
|
+
VerificationParameterInput$inboundSchema = objectType({
|
|
50424
|
+
id: stringType().optional(),
|
|
50425
|
+
inputs: arrayType(stringType()).optional(),
|
|
50426
|
+
name: stringType().optional()
|
|
50427
|
+
});
|
|
50428
|
+
VerificationParameterInput$outboundSchema = objectType({
|
|
50429
|
+
id: stringType().optional(),
|
|
50430
|
+
inputs: arrayType(stringType()).optional(),
|
|
50431
|
+
name: stringType().optional()
|
|
50432
|
+
});
|
|
50433
|
+
((VerificationParameterInput$) => {
|
|
50434
|
+
VerificationParameterInput$.inboundSchema = VerificationParameterInput$inboundSchema;
|
|
50435
|
+
VerificationParameterInput$.outboundSchema = VerificationParameterInput$outboundSchema;
|
|
50436
|
+
})(VerificationParameterInput$ ||= {});
|
|
50437
|
+
});
|
|
50438
|
+
|
|
50439
|
+
// src/sdk/models/shared/verificationresponsedetail.ts
|
|
50440
|
+
var VerificationResponseDetail$inboundSchema, VerificationResponseDetail$outboundSchema, VerificationResponseDetail$;
|
|
50441
|
+
var init_verificationresponsedetail = __esm(() => {
|
|
50442
|
+
init_esm();
|
|
50443
|
+
init_primitives();
|
|
50444
|
+
VerificationResponseDetail$inboundSchema = objectType({
|
|
50445
|
+
download_url: stringType().optional(),
|
|
50446
|
+
is_failed_reason: booleanType().optional(),
|
|
50447
|
+
is_private: booleanType().optional(),
|
|
50448
|
+
parameter_id: stringType().optional(),
|
|
50449
|
+
text: stringType().optional(),
|
|
50450
|
+
title: stringType().optional()
|
|
50451
|
+
}).transform((v2) => {
|
|
50452
|
+
return remap(v2, {
|
|
50453
|
+
download_url: "downloadUrl",
|
|
50454
|
+
is_failed_reason: "isFailedReason",
|
|
50455
|
+
is_private: "isPrivate",
|
|
50456
|
+
parameter_id: "parameterId"
|
|
50457
|
+
});
|
|
50458
|
+
});
|
|
50459
|
+
VerificationResponseDetail$outboundSchema = objectType({
|
|
50460
|
+
downloadUrl: stringType().optional(),
|
|
50461
|
+
isFailedReason: booleanType().optional(),
|
|
50462
|
+
isPrivate: booleanType().optional(),
|
|
50463
|
+
parameterId: stringType().optional(),
|
|
50464
|
+
text: stringType().optional(),
|
|
50465
|
+
title: stringType().optional()
|
|
50466
|
+
}).transform((v2) => {
|
|
50467
|
+
return remap(v2, {
|
|
50468
|
+
downloadUrl: "download_url",
|
|
50469
|
+
isFailedReason: "is_failed_reason",
|
|
50470
|
+
isPrivate: "is_private",
|
|
50471
|
+
parameterId: "parameter_id"
|
|
50472
|
+
});
|
|
50473
|
+
});
|
|
50474
|
+
((VerificationResponseDetail$) => {
|
|
50475
|
+
VerificationResponseDetail$.inboundSchema = VerificationResponseDetail$inboundSchema;
|
|
50476
|
+
VerificationResponseDetail$.outboundSchema = VerificationResponseDetail$outboundSchema;
|
|
50477
|
+
})(VerificationResponseDetail$ ||= {});
|
|
50478
|
+
});
|
|
50479
|
+
|
|
50480
|
+
// src/sdk/models/shared/verificationrequest.ts
|
|
50481
|
+
var ProfileGender, ResponseStatus, ProfileGender$inboundSchema, ProfileGender$outboundSchema, ProfileGender$, ResponseStatus$inboundSchema, ResponseStatus$outboundSchema, ResponseStatus$, VerificationRequest$inboundSchema, VerificationRequest$outboundSchema, VerificationRequest$;
|
|
50482
|
+
var init_verificationrequest = __esm(() => {
|
|
50483
|
+
init_esm();
|
|
50484
|
+
init_primitives();
|
|
50485
|
+
init_verificationaddress();
|
|
50486
|
+
init_verificationparameterinput();
|
|
50487
|
+
init_verificationresponsedetail();
|
|
50488
|
+
ProfileGender = {
|
|
50489
|
+
Male: "MALE",
|
|
50490
|
+
Female: "FEMALE",
|
|
50491
|
+
Intersex: "INTERSEX",
|
|
50492
|
+
Trans: "TRANS",
|
|
50493
|
+
NonBinary: "NON_BINARY"
|
|
50494
|
+
};
|
|
50495
|
+
ResponseStatus = {
|
|
50496
|
+
Completed: "COMPLETED",
|
|
50497
|
+
Failed: "FAILED",
|
|
50498
|
+
Passed: "PASSED",
|
|
50499
|
+
Pending: "PENDING"
|
|
50500
|
+
};
|
|
50501
|
+
ProfileGender$inboundSchema = unionType([
|
|
50502
|
+
nativeEnumType(ProfileGender),
|
|
50503
|
+
stringType().transform(catchUnrecognizedEnum)
|
|
50504
|
+
]);
|
|
50505
|
+
ProfileGender$outboundSchema = unionType([
|
|
50506
|
+
nativeEnumType(ProfileGender),
|
|
50507
|
+
stringType().and(custom())
|
|
50508
|
+
]);
|
|
50509
|
+
((ProfileGender$) => {
|
|
50510
|
+
ProfileGender$.inboundSchema = ProfileGender$inboundSchema;
|
|
50511
|
+
ProfileGender$.outboundSchema = ProfileGender$outboundSchema;
|
|
50512
|
+
})(ProfileGender$ ||= {});
|
|
50513
|
+
ResponseStatus$inboundSchema = unionType([
|
|
50514
|
+
nativeEnumType(ResponseStatus),
|
|
50515
|
+
stringType().transform(catchUnrecognizedEnum)
|
|
50516
|
+
]);
|
|
50517
|
+
ResponseStatus$outboundSchema = unionType([
|
|
50518
|
+
nativeEnumType(ResponseStatus),
|
|
50519
|
+
stringType().and(custom())
|
|
50520
|
+
]);
|
|
50521
|
+
((ResponseStatus$) => {
|
|
50522
|
+
ResponseStatus$.inboundSchema = ResponseStatus$inboundSchema;
|
|
50523
|
+
ResponseStatus$.outboundSchema = ResponseStatus$outboundSchema;
|
|
50524
|
+
})(ResponseStatus$ ||= {});
|
|
50525
|
+
VerificationRequest$inboundSchema = objectType({
|
|
50526
|
+
candidate_id: stringType().optional(),
|
|
50527
|
+
created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
50528
|
+
id: stringType().optional(),
|
|
50529
|
+
package_id: stringType().optional(),
|
|
50530
|
+
parameters: arrayType(VerificationParameterInput$inboundSchema).optional(),
|
|
50531
|
+
profile_addresses: arrayType(VerificationAddress$inboundSchema).optional(),
|
|
50532
|
+
profile_date_of_birth: stringType().optional(),
|
|
50533
|
+
profile_emails: arrayType(stringType()).optional(),
|
|
50534
|
+
profile_gender: ProfileGender$inboundSchema.optional(),
|
|
50535
|
+
profile_ip_address: stringType().optional(),
|
|
50536
|
+
profile_name: stringType().optional(),
|
|
50537
|
+
profile_national_identifier: stringType().optional(),
|
|
50538
|
+
profile_telephones: arrayType(stringType()).optional(),
|
|
50539
|
+
raw: recordType(anyType()).optional(),
|
|
50540
|
+
response_completed_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
50541
|
+
response_details: arrayType(VerificationResponseDetail$inboundSchema).optional(),
|
|
50542
|
+
response_download_urls: arrayType(stringType()).optional(),
|
|
50543
|
+
response_expires_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
50544
|
+
response_issued_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
50545
|
+
response_redirect_url: stringType().optional(),
|
|
50546
|
+
response_score: numberType().optional(),
|
|
50547
|
+
response_source: stringType().optional(),
|
|
50548
|
+
response_status: ResponseStatus$inboundSchema.optional(),
|
|
50549
|
+
target_url: stringType().optional(),
|
|
50550
|
+
updated_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
50551
|
+
}).transform((v2) => {
|
|
50552
|
+
return remap(v2, {
|
|
50553
|
+
candidate_id: "candidateId",
|
|
50554
|
+
created_at: "createdAt",
|
|
50555
|
+
package_id: "packageId",
|
|
50556
|
+
profile_addresses: "profileAddresses",
|
|
50557
|
+
profile_date_of_birth: "profileDateOfBirth",
|
|
50558
|
+
profile_emails: "profileEmails",
|
|
50559
|
+
profile_gender: "profileGender",
|
|
50560
|
+
profile_ip_address: "profileIpAddress",
|
|
50561
|
+
profile_name: "profileName",
|
|
50562
|
+
profile_national_identifier: "profileNationalIdentifier",
|
|
50563
|
+
profile_telephones: "profileTelephones",
|
|
50564
|
+
response_completed_at: "responseCompletedAt",
|
|
50565
|
+
response_details: "responseDetails",
|
|
50566
|
+
response_download_urls: "responseDownloadUrls",
|
|
50567
|
+
response_expires_at: "responseExpiresAt",
|
|
50568
|
+
response_issued_at: "responseIssuedAt",
|
|
50569
|
+
response_redirect_url: "responseRedirectUrl",
|
|
50570
|
+
response_score: "responseScore",
|
|
50571
|
+
response_source: "responseSource",
|
|
50572
|
+
response_status: "responseStatus",
|
|
50573
|
+
target_url: "targetUrl",
|
|
50574
|
+
updated_at: "updatedAt"
|
|
50575
|
+
});
|
|
50576
|
+
});
|
|
50577
|
+
VerificationRequest$outboundSchema = objectType({
|
|
50578
|
+
candidateId: stringType().optional(),
|
|
50579
|
+
createdAt: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
50580
|
+
id: stringType().optional(),
|
|
50581
|
+
packageId: stringType().optional(),
|
|
50582
|
+
parameters: arrayType(VerificationParameterInput$outboundSchema).optional(),
|
|
50583
|
+
profileAddresses: arrayType(VerificationAddress$outboundSchema).optional(),
|
|
50584
|
+
profileDateOfBirth: stringType().optional(),
|
|
50585
|
+
profileEmails: arrayType(stringType()).optional(),
|
|
50586
|
+
profileGender: ProfileGender$outboundSchema.optional(),
|
|
50587
|
+
profileIpAddress: stringType().optional(),
|
|
50588
|
+
profileName: stringType().optional(),
|
|
50589
|
+
profileNationalIdentifier: stringType().optional(),
|
|
50590
|
+
profileTelephones: arrayType(stringType()).optional(),
|
|
50591
|
+
raw: recordType(anyType()).optional(),
|
|
50592
|
+
responseCompletedAt: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
50593
|
+
responseDetails: arrayType(VerificationResponseDetail$outboundSchema).optional(),
|
|
50594
|
+
responseDownloadUrls: arrayType(stringType()).optional(),
|
|
50595
|
+
responseExpiresAt: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
50596
|
+
responseIssuedAt: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
50597
|
+
responseRedirectUrl: stringType().optional(),
|
|
50598
|
+
responseScore: numberType().optional(),
|
|
50599
|
+
responseSource: stringType().optional(),
|
|
50600
|
+
responseStatus: ResponseStatus$outboundSchema.optional(),
|
|
50601
|
+
targetUrl: stringType().optional(),
|
|
50602
|
+
updatedAt: dateType().transform((v2) => v2.toISOString()).optional()
|
|
50603
|
+
}).transform((v2) => {
|
|
50604
|
+
return remap(v2, {
|
|
50605
|
+
candidateId: "candidate_id",
|
|
50606
|
+
createdAt: "created_at",
|
|
50607
|
+
packageId: "package_id",
|
|
50608
|
+
profileAddresses: "profile_addresses",
|
|
50609
|
+
profileDateOfBirth: "profile_date_of_birth",
|
|
50610
|
+
profileEmails: "profile_emails",
|
|
50611
|
+
profileGender: "profile_gender",
|
|
50612
|
+
profileIpAddress: "profile_ip_address",
|
|
50613
|
+
profileName: "profile_name",
|
|
50614
|
+
profileNationalIdentifier: "profile_national_identifier",
|
|
50615
|
+
profileTelephones: "profile_telephones",
|
|
50616
|
+
responseCompletedAt: "response_completed_at",
|
|
50617
|
+
responseDetails: "response_details",
|
|
50618
|
+
responseDownloadUrls: "response_download_urls",
|
|
50619
|
+
responseExpiresAt: "response_expires_at",
|
|
50620
|
+
responseIssuedAt: "response_issued_at",
|
|
50621
|
+
responseRedirectUrl: "response_redirect_url",
|
|
50622
|
+
responseScore: "response_score",
|
|
50623
|
+
responseSource: "response_source",
|
|
50624
|
+
responseStatus: "response_status",
|
|
50625
|
+
targetUrl: "target_url",
|
|
50626
|
+
updatedAt: "updated_at"
|
|
50627
|
+
});
|
|
50628
|
+
});
|
|
50629
|
+
((VerificationRequest$) => {
|
|
50630
|
+
VerificationRequest$.inboundSchema = VerificationRequest$inboundSchema;
|
|
50631
|
+
VerificationRequest$.outboundSchema = VerificationRequest$outboundSchema;
|
|
50632
|
+
})(VerificationRequest$ ||= {});
|
|
50633
|
+
});
|
|
50634
|
+
|
|
50176
50635
|
// src/sdk/models/shared/webhook.ts
|
|
50177
50636
|
var DbType, Event, ObjectType, WebhookType, DbType$inboundSchema, DbType$outboundSchema, DbType$, Event$inboundSchema, Event$outboundSchema, Event$, ObjectType$inboundSchema, ObjectType$outboundSchema, ObjectType$, WebhookType$inboundSchema, WebhookType$outboundSchema, WebhookType$, Webhook$inboundSchema, Webhook$outboundSchema, Webhook$;
|
|
50178
50637
|
var init_webhook = __esm(() => {
|
|
@@ -50218,6 +50677,8 @@ var init_webhook = __esm(() => {
|
|
|
50218
50677
|
CommerceInventory: "commerce_inventory",
|
|
50219
50678
|
CommerceLocation: "commerce_location",
|
|
50220
50679
|
CommerceReview: "commerce_review",
|
|
50680
|
+
VerificationPackage: "verification_package",
|
|
50681
|
+
VerificationRequest: "verification_request",
|
|
50221
50682
|
AtsActivity: "ats_activity",
|
|
50222
50683
|
AtsApplication: "ats_application",
|
|
50223
50684
|
AtsApplicationstatus: "ats_applicationstatus",
|
|
@@ -50668,6 +51129,13 @@ var init_shared2 = __esm(() => {
|
|
|
50668
51129
|
init_ucrecordingmedia();
|
|
50669
51130
|
init_ucrecordingtranscript();
|
|
50670
51131
|
init_uctelephone();
|
|
51132
|
+
init_verificationaddress();
|
|
51133
|
+
init_verificationpackage();
|
|
51134
|
+
init_verificationparameter();
|
|
51135
|
+
init_verificationparameterinput();
|
|
51136
|
+
init_verificationrequest();
|
|
51137
|
+
init_verificationresponsedetail();
|
|
51138
|
+
init_verificationtime();
|
|
50671
51139
|
init_webhook();
|
|
50672
51140
|
});
|
|
50673
51141
|
|
|
@@ -53331,6 +53799,40 @@ var init_createunifiedwebhook = __esm(() => {
|
|
|
53331
53799
|
})(CreateUnifiedWebhookRequest$ ||= {});
|
|
53332
53800
|
});
|
|
53333
53801
|
|
|
53802
|
+
// src/sdk/models/operations/createverificationrequest.ts
|
|
53803
|
+
var CreateVerificationRequestRequest$inboundSchema, CreateVerificationRequestRequest$outboundSchema, CreateVerificationRequestRequest$;
|
|
53804
|
+
var init_createverificationrequest = __esm(() => {
|
|
53805
|
+
init_esm();
|
|
53806
|
+
init_primitives();
|
|
53807
|
+
init_shared2();
|
|
53808
|
+
CreateVerificationRequestRequest$inboundSchema = objectType({
|
|
53809
|
+
VerificationRequest: VerificationRequest$inboundSchema,
|
|
53810
|
+
connection_id: stringType(),
|
|
53811
|
+
fields: arrayType(stringType()).optional(),
|
|
53812
|
+
raw: stringType().optional()
|
|
53813
|
+
}).transform((v2) => {
|
|
53814
|
+
return remap(v2, {
|
|
53815
|
+
VerificationRequest: "verificationRequest",
|
|
53816
|
+
connection_id: "connectionId"
|
|
53817
|
+
});
|
|
53818
|
+
});
|
|
53819
|
+
CreateVerificationRequestRequest$outboundSchema = objectType({
|
|
53820
|
+
verificationRequest: VerificationRequest$outboundSchema,
|
|
53821
|
+
connectionId: stringType(),
|
|
53822
|
+
fields: arrayType(stringType()).optional(),
|
|
53823
|
+
raw: stringType().optional()
|
|
53824
|
+
}).transform((v2) => {
|
|
53825
|
+
return remap(v2, {
|
|
53826
|
+
verificationRequest: "VerificationRequest",
|
|
53827
|
+
connectionId: "connection_id"
|
|
53828
|
+
});
|
|
53829
|
+
});
|
|
53830
|
+
((CreateVerificationRequestRequest$) => {
|
|
53831
|
+
CreateVerificationRequestRequest$.inboundSchema = CreateVerificationRequestRequest$inboundSchema;
|
|
53832
|
+
CreateVerificationRequestRequest$.outboundSchema = CreateVerificationRequestRequest$outboundSchema;
|
|
53833
|
+
})(CreateVerificationRequestRequest$ ||= {});
|
|
53834
|
+
});
|
|
53835
|
+
|
|
53334
53836
|
// src/sdk/models/operations/getaccountingaccount.ts
|
|
53335
53837
|
var GetAccountingAccountRequest$inboundSchema, GetAccountingAccountRequest$outboundSchema, GetAccountingAccountRequest$;
|
|
53336
53838
|
var init_getaccountingaccount = __esm(() => {
|
|
@@ -56040,6 +56542,68 @@ var init_getunifiedwebhook = __esm(() => {
|
|
|
56040
56542
|
})(GetUnifiedWebhookRequest$ ||= {});
|
|
56041
56543
|
});
|
|
56042
56544
|
|
|
56545
|
+
// src/sdk/models/operations/getverificationpackage.ts
|
|
56546
|
+
var GetVerificationPackageRequest$inboundSchema, GetVerificationPackageRequest$outboundSchema, GetVerificationPackageRequest$;
|
|
56547
|
+
var init_getverificationpackage = __esm(() => {
|
|
56548
|
+
init_esm();
|
|
56549
|
+
init_primitives();
|
|
56550
|
+
GetVerificationPackageRequest$inboundSchema = objectType({
|
|
56551
|
+
connection_id: stringType(),
|
|
56552
|
+
fields: arrayType(stringType()).optional(),
|
|
56553
|
+
id: stringType(),
|
|
56554
|
+
raw: stringType().optional()
|
|
56555
|
+
}).transform((v2) => {
|
|
56556
|
+
return remap(v2, {
|
|
56557
|
+
connection_id: "connectionId"
|
|
56558
|
+
});
|
|
56559
|
+
});
|
|
56560
|
+
GetVerificationPackageRequest$outboundSchema = objectType({
|
|
56561
|
+
connectionId: stringType(),
|
|
56562
|
+
fields: arrayType(stringType()).optional(),
|
|
56563
|
+
id: stringType(),
|
|
56564
|
+
raw: stringType().optional()
|
|
56565
|
+
}).transform((v2) => {
|
|
56566
|
+
return remap(v2, {
|
|
56567
|
+
connectionId: "connection_id"
|
|
56568
|
+
});
|
|
56569
|
+
});
|
|
56570
|
+
((GetVerificationPackageRequest$) => {
|
|
56571
|
+
GetVerificationPackageRequest$.inboundSchema = GetVerificationPackageRequest$inboundSchema;
|
|
56572
|
+
GetVerificationPackageRequest$.outboundSchema = GetVerificationPackageRequest$outboundSchema;
|
|
56573
|
+
})(GetVerificationPackageRequest$ ||= {});
|
|
56574
|
+
});
|
|
56575
|
+
|
|
56576
|
+
// src/sdk/models/operations/getverificationrequest.ts
|
|
56577
|
+
var GetVerificationRequestRequest$inboundSchema, GetVerificationRequestRequest$outboundSchema, GetVerificationRequestRequest$;
|
|
56578
|
+
var init_getverificationrequest = __esm(() => {
|
|
56579
|
+
init_esm();
|
|
56580
|
+
init_primitives();
|
|
56581
|
+
GetVerificationRequestRequest$inboundSchema = objectType({
|
|
56582
|
+
connection_id: stringType(),
|
|
56583
|
+
fields: arrayType(stringType()).optional(),
|
|
56584
|
+
id: stringType(),
|
|
56585
|
+
raw: stringType().optional()
|
|
56586
|
+
}).transform((v2) => {
|
|
56587
|
+
return remap(v2, {
|
|
56588
|
+
connection_id: "connectionId"
|
|
56589
|
+
});
|
|
56590
|
+
});
|
|
56591
|
+
GetVerificationRequestRequest$outboundSchema = objectType({
|
|
56592
|
+
connectionId: stringType(),
|
|
56593
|
+
fields: arrayType(stringType()).optional(),
|
|
56594
|
+
id: stringType(),
|
|
56595
|
+
raw: stringType().optional()
|
|
56596
|
+
}).transform((v2) => {
|
|
56597
|
+
return remap(v2, {
|
|
56598
|
+
connectionId: "connection_id"
|
|
56599
|
+
});
|
|
56600
|
+
});
|
|
56601
|
+
((GetVerificationRequestRequest$) => {
|
|
56602
|
+
GetVerificationRequestRequest$.inboundSchema = GetVerificationRequestRequest$inboundSchema;
|
|
56603
|
+
GetVerificationRequestRequest$.outboundSchema = GetVerificationRequestRequest$outboundSchema;
|
|
56604
|
+
})(GetVerificationRequestRequest$ ||= {});
|
|
56605
|
+
});
|
|
56606
|
+
|
|
56043
56607
|
// src/sdk/models/operations/listaccountingaccounts.ts
|
|
56044
56608
|
var ListAccountingAccountsRequest$inboundSchema, ListAccountingAccountsRequest$outboundSchema, ListAccountingAccountsRequest$;
|
|
56045
56609
|
var init_listaccountingaccounts = __esm(() => {
|
|
@@ -56093,7 +56657,9 @@ var init_listaccountingbalancesheets = __esm(() => {
|
|
|
56093
56657
|
init_esm();
|
|
56094
56658
|
init_primitives();
|
|
56095
56659
|
ListAccountingBalancesheetsRequest$inboundSchema = objectType({
|
|
56660
|
+
category_id: stringType().optional(),
|
|
56096
56661
|
connection_id: stringType(),
|
|
56662
|
+
contact_id: stringType().optional(),
|
|
56097
56663
|
end_le: stringType().optional(),
|
|
56098
56664
|
fields: arrayType(stringType()).optional(),
|
|
56099
56665
|
limit: numberType().optional(),
|
|
@@ -56106,14 +56672,18 @@ var init_listaccountingbalancesheets = __esm(() => {
|
|
|
56106
56672
|
updated_gte: stringType().optional()
|
|
56107
56673
|
}).transform((v2) => {
|
|
56108
56674
|
return remap(v2, {
|
|
56675
|
+
category_id: "categoryId",
|
|
56109
56676
|
connection_id: "connectionId",
|
|
56677
|
+
contact_id: "contactId",
|
|
56110
56678
|
end_le: "endLe",
|
|
56111
56679
|
start_gte: "startGte",
|
|
56112
56680
|
updated_gte: "updatedGte"
|
|
56113
56681
|
});
|
|
56114
56682
|
});
|
|
56115
56683
|
ListAccountingBalancesheetsRequest$outboundSchema = objectType({
|
|
56684
|
+
categoryId: stringType().optional(),
|
|
56116
56685
|
connectionId: stringType(),
|
|
56686
|
+
contactId: stringType().optional(),
|
|
56117
56687
|
endLe: stringType().optional(),
|
|
56118
56688
|
fields: arrayType(stringType()).optional(),
|
|
56119
56689
|
limit: numberType().optional(),
|
|
@@ -56126,7 +56696,9 @@ var init_listaccountingbalancesheets = __esm(() => {
|
|
|
56126
56696
|
updatedGte: stringType().optional()
|
|
56127
56697
|
}).transform((v2) => {
|
|
56128
56698
|
return remap(v2, {
|
|
56699
|
+
categoryId: "category_id",
|
|
56129
56700
|
connectionId: "connection_id",
|
|
56701
|
+
contactId: "contact_id",
|
|
56130
56702
|
endLe: "end_le",
|
|
56131
56703
|
startGte: "start_gte",
|
|
56132
56704
|
updatedGte: "updated_gte"
|
|
@@ -56534,7 +57106,9 @@ var init_listaccountingprofitlosses = __esm(() => {
|
|
|
56534
57106
|
init_esm();
|
|
56535
57107
|
init_primitives();
|
|
56536
57108
|
ListAccountingProfitlossesRequest$inboundSchema = objectType({
|
|
57109
|
+
category_id: stringType().optional(),
|
|
56537
57110
|
connection_id: stringType(),
|
|
57111
|
+
contact_id: stringType().optional(),
|
|
56538
57112
|
end_le: stringType().optional(),
|
|
56539
57113
|
fields: arrayType(stringType()).optional(),
|
|
56540
57114
|
limit: numberType().optional(),
|
|
@@ -56547,14 +57121,18 @@ var init_listaccountingprofitlosses = __esm(() => {
|
|
|
56547
57121
|
updated_gte: stringType().optional()
|
|
56548
57122
|
}).transform((v2) => {
|
|
56549
57123
|
return remap(v2, {
|
|
57124
|
+
category_id: "categoryId",
|
|
56550
57125
|
connection_id: "connectionId",
|
|
57126
|
+
contact_id: "contactId",
|
|
56551
57127
|
end_le: "endLe",
|
|
56552
57128
|
start_gte: "startGte",
|
|
56553
57129
|
updated_gte: "updatedGte"
|
|
56554
57130
|
});
|
|
56555
57131
|
});
|
|
56556
57132
|
ListAccountingProfitlossesRequest$outboundSchema = objectType({
|
|
57133
|
+
categoryId: stringType().optional(),
|
|
56557
57134
|
connectionId: stringType(),
|
|
57135
|
+
contactId: stringType().optional(),
|
|
56558
57136
|
endLe: stringType().optional(),
|
|
56559
57137
|
fields: arrayType(stringType()).optional(),
|
|
56560
57138
|
limit: numberType().optional(),
|
|
@@ -56567,7 +57145,9 @@ var init_listaccountingprofitlosses = __esm(() => {
|
|
|
56567
57145
|
updatedGte: stringType().optional()
|
|
56568
57146
|
}).transform((v2) => {
|
|
56569
57147
|
return remap(v2, {
|
|
57148
|
+
categoryId: "category_id",
|
|
56570
57149
|
connectionId: "connection_id",
|
|
57150
|
+
contactId: "contact_id",
|
|
56571
57151
|
endLe: "end_le",
|
|
56572
57152
|
startGte: "start_gte",
|
|
56573
57153
|
updatedGte: "updated_gte"
|
|
@@ -60622,7 +61202,8 @@ var init_listunifiedconnections = __esm(() => {
|
|
|
60622
61202
|
Lms: "lms",
|
|
60623
61203
|
Repo: "repo",
|
|
60624
61204
|
Metadata: "metadata",
|
|
60625
|
-
Calendar: "calendar"
|
|
61205
|
+
Calendar: "calendar",
|
|
61206
|
+
Verification: "verification"
|
|
60626
61207
|
};
|
|
60627
61208
|
Categories$inboundSchema = nativeEnumType(Categories);
|
|
60628
61209
|
Categories$outboundSchema = Categories$inboundSchema;
|
|
@@ -60693,7 +61274,8 @@ var init_listunifiedintegrations = __esm(() => {
|
|
|
60693
61274
|
Lms: "lms",
|
|
60694
61275
|
Repo: "repo",
|
|
60695
61276
|
Metadata: "metadata",
|
|
60696
|
-
Calendar: "calendar"
|
|
61277
|
+
Calendar: "calendar",
|
|
61278
|
+
Verification: "verification"
|
|
60697
61279
|
};
|
|
60698
61280
|
ListUnifiedIntegrationsQueryParamCategories$inboundSchema = nativeEnumType(ListUnifiedIntegrationsQueryParamCategories);
|
|
60699
61281
|
ListUnifiedIntegrationsQueryParamCategories$outboundSchema = ListUnifiedIntegrationsQueryParamCategories$inboundSchema;
|
|
@@ -60762,7 +61344,8 @@ var init_listunifiedintegrationworkspaces = __esm(() => {
|
|
|
60762
61344
|
Lms: "lms",
|
|
60763
61345
|
Repo: "repo",
|
|
60764
61346
|
Metadata: "metadata",
|
|
60765
|
-
Calendar: "calendar"
|
|
61347
|
+
Calendar: "calendar",
|
|
61348
|
+
Verification: "verification"
|
|
60766
61349
|
};
|
|
60767
61350
|
QueryParamCategories$inboundSchema = nativeEnumType(QueryParamCategories);
|
|
60768
61351
|
QueryParamCategories$outboundSchema = QueryParamCategories$inboundSchema;
|
|
@@ -60888,6 +61471,100 @@ var init_listunifiedwebhooks = __esm(() => {
|
|
|
60888
61471
|
})(ListUnifiedWebhooksRequest$ ||= {});
|
|
60889
61472
|
});
|
|
60890
61473
|
|
|
61474
|
+
// src/sdk/models/operations/listverificationpackages.ts
|
|
61475
|
+
var ListVerificationPackagesRequest$inboundSchema, ListVerificationPackagesRequest$outboundSchema, ListVerificationPackagesRequest$;
|
|
61476
|
+
var init_listverificationpackages = __esm(() => {
|
|
61477
|
+
init_esm();
|
|
61478
|
+
init_primitives();
|
|
61479
|
+
ListVerificationPackagesRequest$inboundSchema = objectType({
|
|
61480
|
+
connection_id: stringType(),
|
|
61481
|
+
fields: arrayType(stringType()).optional(),
|
|
61482
|
+
limit: numberType().optional(),
|
|
61483
|
+
offset: numberType().optional(),
|
|
61484
|
+
order: stringType().optional(),
|
|
61485
|
+
query: stringType().optional(),
|
|
61486
|
+
raw: stringType().optional(),
|
|
61487
|
+
sort: stringType().optional(),
|
|
61488
|
+
updated_gte: stringType().optional()
|
|
61489
|
+
}).transform((v2) => {
|
|
61490
|
+
return remap(v2, {
|
|
61491
|
+
connection_id: "connectionId",
|
|
61492
|
+
updated_gte: "updatedGte"
|
|
61493
|
+
});
|
|
61494
|
+
});
|
|
61495
|
+
ListVerificationPackagesRequest$outboundSchema = objectType({
|
|
61496
|
+
connectionId: stringType(),
|
|
61497
|
+
fields: arrayType(stringType()).optional(),
|
|
61498
|
+
limit: numberType().optional(),
|
|
61499
|
+
offset: numberType().optional(),
|
|
61500
|
+
order: stringType().optional(),
|
|
61501
|
+
query: stringType().optional(),
|
|
61502
|
+
raw: stringType().optional(),
|
|
61503
|
+
sort: stringType().optional(),
|
|
61504
|
+
updatedGte: stringType().optional()
|
|
61505
|
+
}).transform((v2) => {
|
|
61506
|
+
return remap(v2, {
|
|
61507
|
+
connectionId: "connection_id",
|
|
61508
|
+
updatedGte: "updated_gte"
|
|
61509
|
+
});
|
|
61510
|
+
});
|
|
61511
|
+
((ListVerificationPackagesRequest$) => {
|
|
61512
|
+
ListVerificationPackagesRequest$.inboundSchema = ListVerificationPackagesRequest$inboundSchema;
|
|
61513
|
+
ListVerificationPackagesRequest$.outboundSchema = ListVerificationPackagesRequest$outboundSchema;
|
|
61514
|
+
})(ListVerificationPackagesRequest$ ||= {});
|
|
61515
|
+
});
|
|
61516
|
+
|
|
61517
|
+
// src/sdk/models/operations/listverificationrequests.ts
|
|
61518
|
+
var ListVerificationRequestsRequest$inboundSchema, ListVerificationRequestsRequest$outboundSchema, ListVerificationRequestsRequest$;
|
|
61519
|
+
var init_listverificationrequests = __esm(() => {
|
|
61520
|
+
init_esm();
|
|
61521
|
+
init_primitives();
|
|
61522
|
+
ListVerificationRequestsRequest$inboundSchema = objectType({
|
|
61523
|
+
candidate_id: stringType().optional(),
|
|
61524
|
+
connection_id: stringType(),
|
|
61525
|
+
fields: arrayType(stringType()).optional(),
|
|
61526
|
+
limit: numberType().optional(),
|
|
61527
|
+
offset: numberType().optional(),
|
|
61528
|
+
order: stringType().optional(),
|
|
61529
|
+
package_id: stringType().optional(),
|
|
61530
|
+
query: stringType().optional(),
|
|
61531
|
+
raw: stringType().optional(),
|
|
61532
|
+
sort: stringType().optional(),
|
|
61533
|
+
updated_gte: stringType().optional()
|
|
61534
|
+
}).transform((v2) => {
|
|
61535
|
+
return remap(v2, {
|
|
61536
|
+
candidate_id: "candidateId",
|
|
61537
|
+
connection_id: "connectionId",
|
|
61538
|
+
package_id: "packageId",
|
|
61539
|
+
updated_gte: "updatedGte"
|
|
61540
|
+
});
|
|
61541
|
+
});
|
|
61542
|
+
ListVerificationRequestsRequest$outboundSchema = objectType({
|
|
61543
|
+
candidateId: stringType().optional(),
|
|
61544
|
+
connectionId: stringType(),
|
|
61545
|
+
fields: arrayType(stringType()).optional(),
|
|
61546
|
+
limit: numberType().optional(),
|
|
61547
|
+
offset: numberType().optional(),
|
|
61548
|
+
order: stringType().optional(),
|
|
61549
|
+
packageId: stringType().optional(),
|
|
61550
|
+
query: stringType().optional(),
|
|
61551
|
+
raw: stringType().optional(),
|
|
61552
|
+
sort: stringType().optional(),
|
|
61553
|
+
updatedGte: stringType().optional()
|
|
61554
|
+
}).transform((v2) => {
|
|
61555
|
+
return remap(v2, {
|
|
61556
|
+
candidateId: "candidate_id",
|
|
61557
|
+
connectionId: "connection_id",
|
|
61558
|
+
packageId: "package_id",
|
|
61559
|
+
updatedGte: "updated_gte"
|
|
61560
|
+
});
|
|
61561
|
+
});
|
|
61562
|
+
((ListVerificationRequestsRequest$) => {
|
|
61563
|
+
ListVerificationRequestsRequest$.inboundSchema = ListVerificationRequestsRequest$inboundSchema;
|
|
61564
|
+
ListVerificationRequestsRequest$.outboundSchema = ListVerificationRequestsRequest$outboundSchema;
|
|
61565
|
+
})(ListVerificationRequestsRequest$ ||= {});
|
|
61566
|
+
});
|
|
61567
|
+
|
|
60891
61568
|
// src/sdk/models/operations/patchaccountingaccount.ts
|
|
60892
61569
|
var PatchAccountingAccountRequest$inboundSchema, PatchAccountingAccountRequest$outboundSchema, PatchAccountingAccountRequest$;
|
|
60893
61570
|
var init_patchaccountingaccount = __esm(() => {
|
|
@@ -63707,6 +64384,42 @@ var init_patchunifiedwebhooktrigger = __esm(() => {
|
|
|
63707
64384
|
})(PatchUnifiedWebhookTriggerResponse$ ||= {});
|
|
63708
64385
|
});
|
|
63709
64386
|
|
|
64387
|
+
// src/sdk/models/operations/patchverificationrequest.ts
|
|
64388
|
+
var PatchVerificationRequestRequest$inboundSchema, PatchVerificationRequestRequest$outboundSchema, PatchVerificationRequestRequest$;
|
|
64389
|
+
var init_patchverificationrequest = __esm(() => {
|
|
64390
|
+
init_esm();
|
|
64391
|
+
init_primitives();
|
|
64392
|
+
init_shared2();
|
|
64393
|
+
PatchVerificationRequestRequest$inboundSchema = objectType({
|
|
64394
|
+
VerificationRequest: VerificationRequest$inboundSchema,
|
|
64395
|
+
connection_id: stringType(),
|
|
64396
|
+
fields: arrayType(stringType()).optional(),
|
|
64397
|
+
id: stringType(),
|
|
64398
|
+
raw: stringType().optional()
|
|
64399
|
+
}).transform((v2) => {
|
|
64400
|
+
return remap(v2, {
|
|
64401
|
+
VerificationRequest: "verificationRequest",
|
|
64402
|
+
connection_id: "connectionId"
|
|
64403
|
+
});
|
|
64404
|
+
});
|
|
64405
|
+
PatchVerificationRequestRequest$outboundSchema = objectType({
|
|
64406
|
+
verificationRequest: VerificationRequest$outboundSchema,
|
|
64407
|
+
connectionId: stringType(),
|
|
64408
|
+
fields: arrayType(stringType()).optional(),
|
|
64409
|
+
id: stringType(),
|
|
64410
|
+
raw: stringType().optional()
|
|
64411
|
+
}).transform((v2) => {
|
|
64412
|
+
return remap(v2, {
|
|
64413
|
+
verificationRequest: "VerificationRequest",
|
|
64414
|
+
connectionId: "connection_id"
|
|
64415
|
+
});
|
|
64416
|
+
});
|
|
64417
|
+
((PatchVerificationRequestRequest$) => {
|
|
64418
|
+
PatchVerificationRequestRequest$.inboundSchema = PatchVerificationRequestRequest$inboundSchema;
|
|
64419
|
+
PatchVerificationRequestRequest$.outboundSchema = PatchVerificationRequestRequest$outboundSchema;
|
|
64420
|
+
})(PatchVerificationRequestRequest$ ||= {});
|
|
64421
|
+
});
|
|
64422
|
+
|
|
63710
64423
|
// src/sdk/models/operations/removeaccountingaccount.ts
|
|
63711
64424
|
var RemoveAccountingAccountRequest$inboundSchema, RemoveAccountingAccountRequest$outboundSchema, RemoveAccountingAccountRequest$, RemoveAccountingAccountResponse$inboundSchema, RemoveAccountingAccountResponse$outboundSchema, RemoveAccountingAccountResponse$;
|
|
63712
64425
|
var init_removeaccountingaccount = __esm(() => {
|
|
@@ -67053,6 +67766,51 @@ var init_removeunifiedwebhook = __esm(() => {
|
|
|
67053
67766
|
})(RemoveUnifiedWebhookResponse$ ||= {});
|
|
67054
67767
|
});
|
|
67055
67768
|
|
|
67769
|
+
// src/sdk/models/operations/removeverificationrequest.ts
|
|
67770
|
+
var RemoveVerificationRequestRequest$inboundSchema, RemoveVerificationRequestRequest$outboundSchema, RemoveVerificationRequestRequest$, RemoveVerificationRequestResponse$inboundSchema, RemoveVerificationRequestResponse$outboundSchema, RemoveVerificationRequestResponse$;
|
|
67771
|
+
var init_removeverificationrequest = __esm(() => {
|
|
67772
|
+
init_esm();
|
|
67773
|
+
init_primitives();
|
|
67774
|
+
RemoveVerificationRequestRequest$inboundSchema = objectType({
|
|
67775
|
+
connection_id: stringType(),
|
|
67776
|
+
id: stringType()
|
|
67777
|
+
}).transform((v2) => {
|
|
67778
|
+
return remap(v2, {
|
|
67779
|
+
connection_id: "connectionId"
|
|
67780
|
+
});
|
|
67781
|
+
});
|
|
67782
|
+
RemoveVerificationRequestRequest$outboundSchema = objectType({
|
|
67783
|
+
connectionId: stringType(),
|
|
67784
|
+
id: stringType()
|
|
67785
|
+
}).transform((v2) => {
|
|
67786
|
+
return remap(v2, {
|
|
67787
|
+
connectionId: "connection_id"
|
|
67788
|
+
});
|
|
67789
|
+
});
|
|
67790
|
+
((RemoveVerificationRequestRequest$) => {
|
|
67791
|
+
RemoveVerificationRequestRequest$.inboundSchema = RemoveVerificationRequestRequest$inboundSchema;
|
|
67792
|
+
RemoveVerificationRequestRequest$.outboundSchema = RemoveVerificationRequestRequest$outboundSchema;
|
|
67793
|
+
})(RemoveVerificationRequestRequest$ ||= {});
|
|
67794
|
+
RemoveVerificationRequestResponse$inboundSchema = objectType({
|
|
67795
|
+
Headers: recordType(arrayType(stringType()))
|
|
67796
|
+
}).transform((v2) => {
|
|
67797
|
+
return remap(v2, {
|
|
67798
|
+
Headers: "headers"
|
|
67799
|
+
});
|
|
67800
|
+
});
|
|
67801
|
+
RemoveVerificationRequestResponse$outboundSchema = objectType({
|
|
67802
|
+
headers: recordType(arrayType(stringType()))
|
|
67803
|
+
}).transform((v2) => {
|
|
67804
|
+
return remap(v2, {
|
|
67805
|
+
headers: "Headers"
|
|
67806
|
+
});
|
|
67807
|
+
});
|
|
67808
|
+
((RemoveVerificationRequestResponse$) => {
|
|
67809
|
+
RemoveVerificationRequestResponse$.inboundSchema = RemoveVerificationRequestResponse$inboundSchema;
|
|
67810
|
+
RemoveVerificationRequestResponse$.outboundSchema = RemoveVerificationRequestResponse$outboundSchema;
|
|
67811
|
+
})(RemoveVerificationRequestResponse$ ||= {});
|
|
67812
|
+
});
|
|
67813
|
+
|
|
67056
67814
|
// src/sdk/models/operations/updateaccountingaccount.ts
|
|
67057
67815
|
var UpdateAccountingAccountRequest$inboundSchema, UpdateAccountingAccountRequest$outboundSchema, UpdateAccountingAccountRequest$;
|
|
67058
67816
|
var init_updateaccountingaccount = __esm(() => {
|
|
@@ -69872,6 +70630,42 @@ var init_updateunifiedwebhooktrigger = __esm(() => {
|
|
|
69872
70630
|
})(UpdateUnifiedWebhookTriggerResponse$ ||= {});
|
|
69873
70631
|
});
|
|
69874
70632
|
|
|
70633
|
+
// src/sdk/models/operations/updateverificationrequest.ts
|
|
70634
|
+
var UpdateVerificationRequestRequest$inboundSchema, UpdateVerificationRequestRequest$outboundSchema, UpdateVerificationRequestRequest$;
|
|
70635
|
+
var init_updateverificationrequest = __esm(() => {
|
|
70636
|
+
init_esm();
|
|
70637
|
+
init_primitives();
|
|
70638
|
+
init_shared2();
|
|
70639
|
+
UpdateVerificationRequestRequest$inboundSchema = objectType({
|
|
70640
|
+
VerificationRequest: VerificationRequest$inboundSchema,
|
|
70641
|
+
connection_id: stringType(),
|
|
70642
|
+
fields: arrayType(stringType()).optional(),
|
|
70643
|
+
id: stringType(),
|
|
70644
|
+
raw: stringType().optional()
|
|
70645
|
+
}).transform((v2) => {
|
|
70646
|
+
return remap(v2, {
|
|
70647
|
+
VerificationRequest: "verificationRequest",
|
|
70648
|
+
connection_id: "connectionId"
|
|
70649
|
+
});
|
|
70650
|
+
});
|
|
70651
|
+
UpdateVerificationRequestRequest$outboundSchema = objectType({
|
|
70652
|
+
verificationRequest: VerificationRequest$outboundSchema,
|
|
70653
|
+
connectionId: stringType(),
|
|
70654
|
+
fields: arrayType(stringType()).optional(),
|
|
70655
|
+
id: stringType(),
|
|
70656
|
+
raw: stringType().optional()
|
|
70657
|
+
}).transform((v2) => {
|
|
70658
|
+
return remap(v2, {
|
|
70659
|
+
verificationRequest: "VerificationRequest",
|
|
70660
|
+
connectionId: "connection_id"
|
|
70661
|
+
});
|
|
70662
|
+
});
|
|
70663
|
+
((UpdateVerificationRequestRequest$) => {
|
|
70664
|
+
UpdateVerificationRequestRequest$.inboundSchema = UpdateVerificationRequestRequest$inboundSchema;
|
|
70665
|
+
UpdateVerificationRequestRequest$.outboundSchema = UpdateVerificationRequestRequest$outboundSchema;
|
|
70666
|
+
})(UpdateVerificationRequestRequest$ ||= {});
|
|
70667
|
+
});
|
|
70668
|
+
|
|
69875
70669
|
// src/sdk/models/operations/index.ts
|
|
69876
70670
|
var init_operations = __esm(() => {
|
|
69877
70671
|
init_createaccountingaccount();
|
|
@@ -69949,6 +70743,7 @@ var init_operations = __esm(() => {
|
|
|
69949
70743
|
init_createuccontact();
|
|
69950
70744
|
init_createucrecording();
|
|
69951
70745
|
init_createunifiedwebhook();
|
|
70746
|
+
init_createverificationrequest();
|
|
69952
70747
|
init_getaccountingaccount();
|
|
69953
70748
|
init_getaccountingbalancesheet();
|
|
69954
70749
|
init_getaccountingbill();
|
|
@@ -70037,6 +70832,8 @@ var init_operations = __esm(() => {
|
|
|
70037
70832
|
init_getunifiedintegrationauth();
|
|
70038
70833
|
init_getunifiedintegrationlogin();
|
|
70039
70834
|
init_getunifiedwebhook();
|
|
70835
|
+
init_getverificationpackage();
|
|
70836
|
+
init_getverificationrequest();
|
|
70040
70837
|
init_listaccountingaccounts();
|
|
70041
70838
|
init_listaccountingbalancesheets();
|
|
70042
70839
|
init_listaccountingbills();
|
|
@@ -70133,6 +70930,8 @@ var init_operations = __esm(() => {
|
|
|
70133
70930
|
init_listunifiedintegrationworkspaces();
|
|
70134
70931
|
init_listunifiedissues();
|
|
70135
70932
|
init_listunifiedwebhooks();
|
|
70933
|
+
init_listverificationpackages();
|
|
70934
|
+
init_listverificationrequests();
|
|
70136
70935
|
init_patchaccountingaccount();
|
|
70137
70936
|
init_patchaccountingbill();
|
|
70138
70937
|
init_patchaccountingcategory();
|
|
@@ -70209,6 +71008,7 @@ var init_operations = __esm(() => {
|
|
|
70209
71008
|
init_patchunifiedconnection();
|
|
70210
71009
|
init_patchunifiedwebhook();
|
|
70211
71010
|
init_patchunifiedwebhooktrigger();
|
|
71011
|
+
init_patchverificationrequest();
|
|
70212
71012
|
init_removeaccountingaccount();
|
|
70213
71013
|
init_removeaccountingbill();
|
|
70214
71014
|
init_removeaccountingcategory();
|
|
@@ -70283,6 +71083,7 @@ var init_operations = __esm(() => {
|
|
|
70283
71083
|
init_removeucrecording();
|
|
70284
71084
|
init_removeunifiedconnection();
|
|
70285
71085
|
init_removeunifiedwebhook();
|
|
71086
|
+
init_removeverificationrequest();
|
|
70286
71087
|
init_updateaccountingaccount();
|
|
70287
71088
|
init_updateaccountingbill();
|
|
70288
71089
|
init_updateaccountingcategory();
|
|
@@ -70359,6 +71160,7 @@ var init_operations = __esm(() => {
|
|
|
70359
71160
|
init_updateunifiedconnection();
|
|
70360
71161
|
init_updateunifiedwebhook();
|
|
70361
71162
|
init_updateunifiedwebhooktrigger();
|
|
71163
|
+
init_updateverificationrequest();
|
|
70362
71164
|
});
|
|
70363
71165
|
|
|
70364
71166
|
// src/sdk/types/async.ts
|
|
@@ -73714,6 +74516,8 @@ async function $do31(client, request, options) {
|
|
|
73714
74516
|
};
|
|
73715
74517
|
const path = pathToFunc("/accounting/{connection_id}/balancesheet")(pathParams);
|
|
73716
74518
|
const query = encodeFormQuery({
|
|
74519
|
+
category_id: payload.category_id,
|
|
74520
|
+
contact_id: payload.contact_id,
|
|
73717
74521
|
end_le: payload.end_le,
|
|
73718
74522
|
fields: payload.fields,
|
|
73719
74523
|
limit: payload.limit,
|
|
@@ -74755,6 +75559,8 @@ async function $do40(client, request, options) {
|
|
|
74755
75559
|
};
|
|
74756
75560
|
const path = pathToFunc("/accounting/{connection_id}/profitloss")(pathParams);
|
|
74757
75561
|
const query = encodeFormQuery({
|
|
75562
|
+
category_id: payload.category_id,
|
|
75563
|
+
contact_id: payload.contact_id,
|
|
74758
75564
|
end_le: payload.end_le,
|
|
74759
75565
|
fields: payload.fields,
|
|
74760
75566
|
limit: payload.limit,
|
|
@@ -124306,11 +125112,908 @@ var init_unifiedUpdateUnifiedWebhookTrigger2 = __esm(() => {
|
|
|
124306
125112
|
};
|
|
124307
125113
|
});
|
|
124308
125114
|
|
|
125115
|
+
// src/funcs/verificationCreateVerificationRequest.ts
|
|
125116
|
+
function verificationCreateVerificationRequest(client, request, options) {
|
|
125117
|
+
return new APIPromise($do487(client, request, options));
|
|
125118
|
+
}
|
|
125119
|
+
async function $do487(client, request, options) {
|
|
125120
|
+
const parsed = safeParse(request, (value) => CreateVerificationRequestRequest$outboundSchema.parse(value), "Input validation failed");
|
|
125121
|
+
if (!parsed.ok) {
|
|
125122
|
+
return [parsed, { status: "invalid" }];
|
|
125123
|
+
}
|
|
125124
|
+
const payload = parsed.value;
|
|
125125
|
+
const body = encodeJSON("body", payload.VerificationRequest, {
|
|
125126
|
+
explode: true
|
|
125127
|
+
});
|
|
125128
|
+
const pathParams = {
|
|
125129
|
+
connection_id: encodeSimple("connection_id", payload.connection_id, {
|
|
125130
|
+
explode: false,
|
|
125131
|
+
charEncoding: "percent"
|
|
125132
|
+
})
|
|
125133
|
+
};
|
|
125134
|
+
const path = pathToFunc("/verification/{connection_id}/request")(pathParams);
|
|
125135
|
+
const query = encodeFormQuery({
|
|
125136
|
+
fields: payload.fields,
|
|
125137
|
+
raw: payload.raw
|
|
125138
|
+
});
|
|
125139
|
+
const headers = new Headers(compactMap({
|
|
125140
|
+
"Content-Type": "application/json",
|
|
125141
|
+
Accept: "application/json"
|
|
125142
|
+
}));
|
|
125143
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
125144
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
125145
|
+
const context = {
|
|
125146
|
+
options: client._options,
|
|
125147
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
125148
|
+
operationID: "createVerificationRequest",
|
|
125149
|
+
oAuth2Scopes: [],
|
|
125150
|
+
resolvedSecurity: requestSecurity,
|
|
125151
|
+
securitySource: client._options.security,
|
|
125152
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
125153
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
125154
|
+
};
|
|
125155
|
+
const requestRes = client._createRequest(context, {
|
|
125156
|
+
security: requestSecurity,
|
|
125157
|
+
method: "POST",
|
|
125158
|
+
baseURL: options?.serverURL,
|
|
125159
|
+
path,
|
|
125160
|
+
headers,
|
|
125161
|
+
query,
|
|
125162
|
+
body,
|
|
125163
|
+
userAgent: client._options.userAgent,
|
|
125164
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
125165
|
+
}, options);
|
|
125166
|
+
if (!requestRes.ok) {
|
|
125167
|
+
return [requestRes, { status: "invalid" }];
|
|
125168
|
+
}
|
|
125169
|
+
const req = requestRes.value;
|
|
125170
|
+
const doResult = await client._do(req, {
|
|
125171
|
+
context,
|
|
125172
|
+
errorCodes: ["4XX", "5XX"],
|
|
125173
|
+
retryConfig: context.retryConfig,
|
|
125174
|
+
retryCodes: context.retryCodes
|
|
125175
|
+
});
|
|
125176
|
+
if (!doResult.ok) {
|
|
125177
|
+
return [doResult, { status: "request-error", request: req }];
|
|
125178
|
+
}
|
|
125179
|
+
const response = doResult.value;
|
|
125180
|
+
const [result] = await match(json(200, VerificationRequest$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
125181
|
+
if (!result.ok) {
|
|
125182
|
+
return [result, { status: "complete", request: req, response }];
|
|
125183
|
+
}
|
|
125184
|
+
return [result, { status: "complete", request: req, response }];
|
|
125185
|
+
}
|
|
125186
|
+
var init_verificationCreateVerificationRequest = __esm(() => {
|
|
125187
|
+
init_encodings();
|
|
125188
|
+
init_matchers();
|
|
125189
|
+
init_primitives();
|
|
125190
|
+
init_schemas();
|
|
125191
|
+
init_security();
|
|
125192
|
+
init_url();
|
|
125193
|
+
init_operations();
|
|
125194
|
+
init_shared2();
|
|
125195
|
+
init_async();
|
|
125196
|
+
});
|
|
125197
|
+
|
|
125198
|
+
// src/mcp-server/tools/verificationCreateVerificationRequest.ts
|
|
125199
|
+
var args487, tool$verificationCreateVerificationRequest;
|
|
125200
|
+
var init_verificationCreateVerificationRequest2 = __esm(() => {
|
|
125201
|
+
init_verificationCreateVerificationRequest();
|
|
125202
|
+
init_operations();
|
|
125203
|
+
init_tools();
|
|
125204
|
+
args487 = {
|
|
125205
|
+
request: CreateVerificationRequestRequest$inboundSchema
|
|
125206
|
+
};
|
|
125207
|
+
tool$verificationCreateVerificationRequest = {
|
|
125208
|
+
name: "verification-create-verification-request",
|
|
125209
|
+
description: `Create a request`,
|
|
125210
|
+
args: args487,
|
|
125211
|
+
tool: async (client, args488, ctx) => {
|
|
125212
|
+
const [result, apiCall] = await verificationCreateVerificationRequest(client, args488.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
125213
|
+
if (!result.ok) {
|
|
125214
|
+
return {
|
|
125215
|
+
content: [{ type: "text", text: result.error.message }],
|
|
125216
|
+
isError: true
|
|
125217
|
+
};
|
|
125218
|
+
}
|
|
125219
|
+
const value = result.value;
|
|
125220
|
+
return formatResult(value, apiCall);
|
|
125221
|
+
}
|
|
125222
|
+
};
|
|
125223
|
+
});
|
|
125224
|
+
|
|
125225
|
+
// src/funcs/verificationGetVerificationPackage.ts
|
|
125226
|
+
function verificationGetVerificationPackage(client, request, options) {
|
|
125227
|
+
return new APIPromise($do488(client, request, options));
|
|
125228
|
+
}
|
|
125229
|
+
async function $do488(client, request, options) {
|
|
125230
|
+
const parsed = safeParse(request, (value) => GetVerificationPackageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
125231
|
+
if (!parsed.ok) {
|
|
125232
|
+
return [parsed, { status: "invalid" }];
|
|
125233
|
+
}
|
|
125234
|
+
const payload = parsed.value;
|
|
125235
|
+
const body = null;
|
|
125236
|
+
const pathParams = {
|
|
125237
|
+
connection_id: encodeSimple("connection_id", payload.connection_id, {
|
|
125238
|
+
explode: false,
|
|
125239
|
+
charEncoding: "percent"
|
|
125240
|
+
}),
|
|
125241
|
+
id: encodeSimple("id", payload.id, {
|
|
125242
|
+
explode: false,
|
|
125243
|
+
charEncoding: "percent"
|
|
125244
|
+
})
|
|
125245
|
+
};
|
|
125246
|
+
const path = pathToFunc("/verification/{connection_id}/package/{id}")(pathParams);
|
|
125247
|
+
const query = encodeFormQuery({
|
|
125248
|
+
fields: payload.fields,
|
|
125249
|
+
raw: payload.raw
|
|
125250
|
+
});
|
|
125251
|
+
const headers = new Headers(compactMap({
|
|
125252
|
+
Accept: "application/json"
|
|
125253
|
+
}));
|
|
125254
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
125255
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
125256
|
+
const context = {
|
|
125257
|
+
options: client._options,
|
|
125258
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
125259
|
+
operationID: "getVerificationPackage",
|
|
125260
|
+
oAuth2Scopes: [],
|
|
125261
|
+
resolvedSecurity: requestSecurity,
|
|
125262
|
+
securitySource: client._options.security,
|
|
125263
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
125264
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
125265
|
+
};
|
|
125266
|
+
const requestRes = client._createRequest(context, {
|
|
125267
|
+
security: requestSecurity,
|
|
125268
|
+
method: "GET",
|
|
125269
|
+
baseURL: options?.serverURL,
|
|
125270
|
+
path,
|
|
125271
|
+
headers,
|
|
125272
|
+
query,
|
|
125273
|
+
body,
|
|
125274
|
+
userAgent: client._options.userAgent,
|
|
125275
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
125276
|
+
}, options);
|
|
125277
|
+
if (!requestRes.ok) {
|
|
125278
|
+
return [requestRes, { status: "invalid" }];
|
|
125279
|
+
}
|
|
125280
|
+
const req = requestRes.value;
|
|
125281
|
+
const doResult = await client._do(req, {
|
|
125282
|
+
context,
|
|
125283
|
+
errorCodes: ["4XX", "5XX"],
|
|
125284
|
+
retryConfig: context.retryConfig,
|
|
125285
|
+
retryCodes: context.retryCodes
|
|
125286
|
+
});
|
|
125287
|
+
if (!doResult.ok) {
|
|
125288
|
+
return [doResult, { status: "request-error", request: req }];
|
|
125289
|
+
}
|
|
125290
|
+
const response = doResult.value;
|
|
125291
|
+
const [result] = await match(json(200, VerificationPackage$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
125292
|
+
if (!result.ok) {
|
|
125293
|
+
return [result, { status: "complete", request: req, response }];
|
|
125294
|
+
}
|
|
125295
|
+
return [result, { status: "complete", request: req, response }];
|
|
125296
|
+
}
|
|
125297
|
+
var init_verificationGetVerificationPackage = __esm(() => {
|
|
125298
|
+
init_encodings();
|
|
125299
|
+
init_matchers();
|
|
125300
|
+
init_primitives();
|
|
125301
|
+
init_schemas();
|
|
125302
|
+
init_security();
|
|
125303
|
+
init_url();
|
|
125304
|
+
init_operations();
|
|
125305
|
+
init_shared2();
|
|
125306
|
+
init_async();
|
|
125307
|
+
});
|
|
125308
|
+
|
|
125309
|
+
// src/mcp-server/tools/verificationGetVerificationPackage.ts
|
|
125310
|
+
var args488, tool$verificationGetVerificationPackage;
|
|
125311
|
+
var init_verificationGetVerificationPackage2 = __esm(() => {
|
|
125312
|
+
init_verificationGetVerificationPackage();
|
|
125313
|
+
init_operations();
|
|
125314
|
+
init_tools();
|
|
125315
|
+
args488 = {
|
|
125316
|
+
request: GetVerificationPackageRequest$inboundSchema
|
|
125317
|
+
};
|
|
125318
|
+
tool$verificationGetVerificationPackage = {
|
|
125319
|
+
name: "verification-get-verification-package",
|
|
125320
|
+
description: `Retrieve a package`,
|
|
125321
|
+
args: args488,
|
|
125322
|
+
tool: async (client, args489, ctx) => {
|
|
125323
|
+
const [result, apiCall] = await verificationGetVerificationPackage(client, args489.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
125324
|
+
if (!result.ok) {
|
|
125325
|
+
return {
|
|
125326
|
+
content: [{ type: "text", text: result.error.message }],
|
|
125327
|
+
isError: true
|
|
125328
|
+
};
|
|
125329
|
+
}
|
|
125330
|
+
const value = result.value;
|
|
125331
|
+
return formatResult(value, apiCall);
|
|
125332
|
+
}
|
|
125333
|
+
};
|
|
125334
|
+
});
|
|
125335
|
+
|
|
125336
|
+
// src/funcs/verificationGetVerificationRequest.ts
|
|
125337
|
+
function verificationGetVerificationRequest(client, request, options) {
|
|
125338
|
+
return new APIPromise($do489(client, request, options));
|
|
125339
|
+
}
|
|
125340
|
+
async function $do489(client, request, options) {
|
|
125341
|
+
const parsed = safeParse(request, (value) => GetVerificationRequestRequest$outboundSchema.parse(value), "Input validation failed");
|
|
125342
|
+
if (!parsed.ok) {
|
|
125343
|
+
return [parsed, { status: "invalid" }];
|
|
125344
|
+
}
|
|
125345
|
+
const payload = parsed.value;
|
|
125346
|
+
const body = null;
|
|
125347
|
+
const pathParams = {
|
|
125348
|
+
connection_id: encodeSimple("connection_id", payload.connection_id, {
|
|
125349
|
+
explode: false,
|
|
125350
|
+
charEncoding: "percent"
|
|
125351
|
+
}),
|
|
125352
|
+
id: encodeSimple("id", payload.id, {
|
|
125353
|
+
explode: false,
|
|
125354
|
+
charEncoding: "percent"
|
|
125355
|
+
})
|
|
125356
|
+
};
|
|
125357
|
+
const path = pathToFunc("/verification/{connection_id}/request/{id}")(pathParams);
|
|
125358
|
+
const query = encodeFormQuery({
|
|
125359
|
+
fields: payload.fields,
|
|
125360
|
+
raw: payload.raw
|
|
125361
|
+
});
|
|
125362
|
+
const headers = new Headers(compactMap({
|
|
125363
|
+
Accept: "application/json"
|
|
125364
|
+
}));
|
|
125365
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
125366
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
125367
|
+
const context = {
|
|
125368
|
+
options: client._options,
|
|
125369
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
125370
|
+
operationID: "getVerificationRequest",
|
|
125371
|
+
oAuth2Scopes: [],
|
|
125372
|
+
resolvedSecurity: requestSecurity,
|
|
125373
|
+
securitySource: client._options.security,
|
|
125374
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
125375
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
125376
|
+
};
|
|
125377
|
+
const requestRes = client._createRequest(context, {
|
|
125378
|
+
security: requestSecurity,
|
|
125379
|
+
method: "GET",
|
|
125380
|
+
baseURL: options?.serverURL,
|
|
125381
|
+
path,
|
|
125382
|
+
headers,
|
|
125383
|
+
query,
|
|
125384
|
+
body,
|
|
125385
|
+
userAgent: client._options.userAgent,
|
|
125386
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
125387
|
+
}, options);
|
|
125388
|
+
if (!requestRes.ok) {
|
|
125389
|
+
return [requestRes, { status: "invalid" }];
|
|
125390
|
+
}
|
|
125391
|
+
const req = requestRes.value;
|
|
125392
|
+
const doResult = await client._do(req, {
|
|
125393
|
+
context,
|
|
125394
|
+
errorCodes: ["4XX", "5XX"],
|
|
125395
|
+
retryConfig: context.retryConfig,
|
|
125396
|
+
retryCodes: context.retryCodes
|
|
125397
|
+
});
|
|
125398
|
+
if (!doResult.ok) {
|
|
125399
|
+
return [doResult, { status: "request-error", request: req }];
|
|
125400
|
+
}
|
|
125401
|
+
const response = doResult.value;
|
|
125402
|
+
const [result] = await match(json(200, VerificationRequest$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
125403
|
+
if (!result.ok) {
|
|
125404
|
+
return [result, { status: "complete", request: req, response }];
|
|
125405
|
+
}
|
|
125406
|
+
return [result, { status: "complete", request: req, response }];
|
|
125407
|
+
}
|
|
125408
|
+
var init_verificationGetVerificationRequest = __esm(() => {
|
|
125409
|
+
init_encodings();
|
|
125410
|
+
init_matchers();
|
|
125411
|
+
init_primitives();
|
|
125412
|
+
init_schemas();
|
|
125413
|
+
init_security();
|
|
125414
|
+
init_url();
|
|
125415
|
+
init_operations();
|
|
125416
|
+
init_shared2();
|
|
125417
|
+
init_async();
|
|
125418
|
+
});
|
|
125419
|
+
|
|
125420
|
+
// src/mcp-server/tools/verificationGetVerificationRequest.ts
|
|
125421
|
+
var args489, tool$verificationGetVerificationRequest;
|
|
125422
|
+
var init_verificationGetVerificationRequest2 = __esm(() => {
|
|
125423
|
+
init_verificationGetVerificationRequest();
|
|
125424
|
+
init_operations();
|
|
125425
|
+
init_tools();
|
|
125426
|
+
args489 = {
|
|
125427
|
+
request: GetVerificationRequestRequest$inboundSchema
|
|
125428
|
+
};
|
|
125429
|
+
tool$verificationGetVerificationRequest = {
|
|
125430
|
+
name: "verification-get-verification-request",
|
|
125431
|
+
description: `Retrieve a request`,
|
|
125432
|
+
args: args489,
|
|
125433
|
+
tool: async (client, args490, ctx) => {
|
|
125434
|
+
const [result, apiCall] = await verificationGetVerificationRequest(client, args490.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
125435
|
+
if (!result.ok) {
|
|
125436
|
+
return {
|
|
125437
|
+
content: [{ type: "text", text: result.error.message }],
|
|
125438
|
+
isError: true
|
|
125439
|
+
};
|
|
125440
|
+
}
|
|
125441
|
+
const value = result.value;
|
|
125442
|
+
return formatResult(value, apiCall);
|
|
125443
|
+
}
|
|
125444
|
+
};
|
|
125445
|
+
});
|
|
125446
|
+
|
|
125447
|
+
// src/funcs/verificationListVerificationPackages.ts
|
|
125448
|
+
function verificationListVerificationPackages(client, request, options) {
|
|
125449
|
+
return new APIPromise($do490(client, request, options));
|
|
125450
|
+
}
|
|
125451
|
+
async function $do490(client, request, options) {
|
|
125452
|
+
const parsed = safeParse(request, (value) => ListVerificationPackagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
125453
|
+
if (!parsed.ok) {
|
|
125454
|
+
return [parsed, { status: "invalid" }];
|
|
125455
|
+
}
|
|
125456
|
+
const payload = parsed.value;
|
|
125457
|
+
const body = null;
|
|
125458
|
+
const pathParams = {
|
|
125459
|
+
connection_id: encodeSimple("connection_id", payload.connection_id, {
|
|
125460
|
+
explode: false,
|
|
125461
|
+
charEncoding: "percent"
|
|
125462
|
+
})
|
|
125463
|
+
};
|
|
125464
|
+
const path = pathToFunc("/verification/{connection_id}/package")(pathParams);
|
|
125465
|
+
const query = encodeFormQuery({
|
|
125466
|
+
fields: payload.fields,
|
|
125467
|
+
limit: payload.limit,
|
|
125468
|
+
offset: payload.offset,
|
|
125469
|
+
order: payload.order,
|
|
125470
|
+
query: payload.query,
|
|
125471
|
+
raw: payload.raw,
|
|
125472
|
+
sort: payload.sort,
|
|
125473
|
+
updated_gte: payload.updated_gte
|
|
125474
|
+
});
|
|
125475
|
+
const headers = new Headers(compactMap({
|
|
125476
|
+
Accept: "application/json"
|
|
125477
|
+
}));
|
|
125478
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
125479
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
125480
|
+
const context = {
|
|
125481
|
+
options: client._options,
|
|
125482
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
125483
|
+
operationID: "listVerificationPackages",
|
|
125484
|
+
oAuth2Scopes: [],
|
|
125485
|
+
resolvedSecurity: requestSecurity,
|
|
125486
|
+
securitySource: client._options.security,
|
|
125487
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
125488
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
125489
|
+
};
|
|
125490
|
+
const requestRes = client._createRequest(context, {
|
|
125491
|
+
security: requestSecurity,
|
|
125492
|
+
method: "GET",
|
|
125493
|
+
baseURL: options?.serverURL,
|
|
125494
|
+
path,
|
|
125495
|
+
headers,
|
|
125496
|
+
query,
|
|
125497
|
+
body,
|
|
125498
|
+
userAgent: client._options.userAgent,
|
|
125499
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
125500
|
+
}, options);
|
|
125501
|
+
if (!requestRes.ok) {
|
|
125502
|
+
return [requestRes, { status: "invalid" }];
|
|
125503
|
+
}
|
|
125504
|
+
const req = requestRes.value;
|
|
125505
|
+
const doResult = await client._do(req, {
|
|
125506
|
+
context,
|
|
125507
|
+
errorCodes: ["4XX", "5XX"],
|
|
125508
|
+
retryConfig: context.retryConfig,
|
|
125509
|
+
retryCodes: context.retryCodes
|
|
125510
|
+
});
|
|
125511
|
+
if (!doResult.ok) {
|
|
125512
|
+
return [doResult, { status: "request-error", request: req }];
|
|
125513
|
+
}
|
|
125514
|
+
const response = doResult.value;
|
|
125515
|
+
const [result] = await match(json(200, arrayType(VerificationPackage$inboundSchema)), fail("4XX"), fail("5XX"))(response, req);
|
|
125516
|
+
if (!result.ok) {
|
|
125517
|
+
return [result, { status: "complete", request: req, response }];
|
|
125518
|
+
}
|
|
125519
|
+
return [result, { status: "complete", request: req, response }];
|
|
125520
|
+
}
|
|
125521
|
+
var init_verificationListVerificationPackages = __esm(() => {
|
|
125522
|
+
init_esm();
|
|
125523
|
+
init_encodings();
|
|
125524
|
+
init_matchers();
|
|
125525
|
+
init_primitives();
|
|
125526
|
+
init_schemas();
|
|
125527
|
+
init_security();
|
|
125528
|
+
init_url();
|
|
125529
|
+
init_operations();
|
|
125530
|
+
init_shared2();
|
|
125531
|
+
init_async();
|
|
125532
|
+
});
|
|
125533
|
+
|
|
125534
|
+
// src/mcp-server/tools/verificationListVerificationPackages.ts
|
|
125535
|
+
var args490, tool$verificationListVerificationPackages;
|
|
125536
|
+
var init_verificationListVerificationPackages2 = __esm(() => {
|
|
125537
|
+
init_verificationListVerificationPackages();
|
|
125538
|
+
init_operations();
|
|
125539
|
+
init_tools();
|
|
125540
|
+
args490 = {
|
|
125541
|
+
request: ListVerificationPackagesRequest$inboundSchema
|
|
125542
|
+
};
|
|
125543
|
+
tool$verificationListVerificationPackages = {
|
|
125544
|
+
name: "verification-list-verification-packages",
|
|
125545
|
+
description: `List all packages`,
|
|
125546
|
+
args: args490,
|
|
125547
|
+
tool: async (client, args491, ctx) => {
|
|
125548
|
+
const [result, apiCall] = await verificationListVerificationPackages(client, args491.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
125549
|
+
if (!result.ok) {
|
|
125550
|
+
return {
|
|
125551
|
+
content: [{ type: "text", text: result.error.message }],
|
|
125552
|
+
isError: true
|
|
125553
|
+
};
|
|
125554
|
+
}
|
|
125555
|
+
const value = result.value;
|
|
125556
|
+
return formatResult(value, apiCall);
|
|
125557
|
+
}
|
|
125558
|
+
};
|
|
125559
|
+
});
|
|
125560
|
+
|
|
125561
|
+
// src/funcs/verificationListVerificationRequests.ts
|
|
125562
|
+
function verificationListVerificationRequests(client, request, options) {
|
|
125563
|
+
return new APIPromise($do491(client, request, options));
|
|
125564
|
+
}
|
|
125565
|
+
async function $do491(client, request, options) {
|
|
125566
|
+
const parsed = safeParse(request, (value) => ListVerificationRequestsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
125567
|
+
if (!parsed.ok) {
|
|
125568
|
+
return [parsed, { status: "invalid" }];
|
|
125569
|
+
}
|
|
125570
|
+
const payload = parsed.value;
|
|
125571
|
+
const body = null;
|
|
125572
|
+
const pathParams = {
|
|
125573
|
+
connection_id: encodeSimple("connection_id", payload.connection_id, {
|
|
125574
|
+
explode: false,
|
|
125575
|
+
charEncoding: "percent"
|
|
125576
|
+
})
|
|
125577
|
+
};
|
|
125578
|
+
const path = pathToFunc("/verification/{connection_id}/request")(pathParams);
|
|
125579
|
+
const query = encodeFormQuery({
|
|
125580
|
+
candidate_id: payload.candidate_id,
|
|
125581
|
+
fields: payload.fields,
|
|
125582
|
+
limit: payload.limit,
|
|
125583
|
+
offset: payload.offset,
|
|
125584
|
+
order: payload.order,
|
|
125585
|
+
package_id: payload.package_id,
|
|
125586
|
+
query: payload.query,
|
|
125587
|
+
raw: payload.raw,
|
|
125588
|
+
sort: payload.sort,
|
|
125589
|
+
updated_gte: payload.updated_gte
|
|
125590
|
+
});
|
|
125591
|
+
const headers = new Headers(compactMap({
|
|
125592
|
+
Accept: "application/json"
|
|
125593
|
+
}));
|
|
125594
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
125595
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
125596
|
+
const context = {
|
|
125597
|
+
options: client._options,
|
|
125598
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
125599
|
+
operationID: "listVerificationRequests",
|
|
125600
|
+
oAuth2Scopes: [],
|
|
125601
|
+
resolvedSecurity: requestSecurity,
|
|
125602
|
+
securitySource: client._options.security,
|
|
125603
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
125604
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
125605
|
+
};
|
|
125606
|
+
const requestRes = client._createRequest(context, {
|
|
125607
|
+
security: requestSecurity,
|
|
125608
|
+
method: "GET",
|
|
125609
|
+
baseURL: options?.serverURL,
|
|
125610
|
+
path,
|
|
125611
|
+
headers,
|
|
125612
|
+
query,
|
|
125613
|
+
body,
|
|
125614
|
+
userAgent: client._options.userAgent,
|
|
125615
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
125616
|
+
}, options);
|
|
125617
|
+
if (!requestRes.ok) {
|
|
125618
|
+
return [requestRes, { status: "invalid" }];
|
|
125619
|
+
}
|
|
125620
|
+
const req = requestRes.value;
|
|
125621
|
+
const doResult = await client._do(req, {
|
|
125622
|
+
context,
|
|
125623
|
+
errorCodes: ["4XX", "5XX"],
|
|
125624
|
+
retryConfig: context.retryConfig,
|
|
125625
|
+
retryCodes: context.retryCodes
|
|
125626
|
+
});
|
|
125627
|
+
if (!doResult.ok) {
|
|
125628
|
+
return [doResult, { status: "request-error", request: req }];
|
|
125629
|
+
}
|
|
125630
|
+
const response = doResult.value;
|
|
125631
|
+
const [result] = await match(json(200, arrayType(VerificationRequest$inboundSchema)), fail("4XX"), fail("5XX"))(response, req);
|
|
125632
|
+
if (!result.ok) {
|
|
125633
|
+
return [result, { status: "complete", request: req, response }];
|
|
125634
|
+
}
|
|
125635
|
+
return [result, { status: "complete", request: req, response }];
|
|
125636
|
+
}
|
|
125637
|
+
var init_verificationListVerificationRequests = __esm(() => {
|
|
125638
|
+
init_esm();
|
|
125639
|
+
init_encodings();
|
|
125640
|
+
init_matchers();
|
|
125641
|
+
init_primitives();
|
|
125642
|
+
init_schemas();
|
|
125643
|
+
init_security();
|
|
125644
|
+
init_url();
|
|
125645
|
+
init_operations();
|
|
125646
|
+
init_shared2();
|
|
125647
|
+
init_async();
|
|
125648
|
+
});
|
|
125649
|
+
|
|
125650
|
+
// src/mcp-server/tools/verificationListVerificationRequests.ts
|
|
125651
|
+
var args491, tool$verificationListVerificationRequests;
|
|
125652
|
+
var init_verificationListVerificationRequests2 = __esm(() => {
|
|
125653
|
+
init_verificationListVerificationRequests();
|
|
125654
|
+
init_operations();
|
|
125655
|
+
init_tools();
|
|
125656
|
+
args491 = {
|
|
125657
|
+
request: ListVerificationRequestsRequest$inboundSchema
|
|
125658
|
+
};
|
|
125659
|
+
tool$verificationListVerificationRequests = {
|
|
125660
|
+
name: "verification-list-verification-requests",
|
|
125661
|
+
description: `List all requests`,
|
|
125662
|
+
args: args491,
|
|
125663
|
+
tool: async (client, args492, ctx) => {
|
|
125664
|
+
const [result, apiCall] = await verificationListVerificationRequests(client, args492.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
125665
|
+
if (!result.ok) {
|
|
125666
|
+
return {
|
|
125667
|
+
content: [{ type: "text", text: result.error.message }],
|
|
125668
|
+
isError: true
|
|
125669
|
+
};
|
|
125670
|
+
}
|
|
125671
|
+
const value = result.value;
|
|
125672
|
+
return formatResult(value, apiCall);
|
|
125673
|
+
}
|
|
125674
|
+
};
|
|
125675
|
+
});
|
|
125676
|
+
|
|
125677
|
+
// src/funcs/verificationPatchVerificationRequest.ts
|
|
125678
|
+
function verificationPatchVerificationRequest(client, request, options) {
|
|
125679
|
+
return new APIPromise($do492(client, request, options));
|
|
125680
|
+
}
|
|
125681
|
+
async function $do492(client, request, options) {
|
|
125682
|
+
const parsed = safeParse(request, (value) => PatchVerificationRequestRequest$outboundSchema.parse(value), "Input validation failed");
|
|
125683
|
+
if (!parsed.ok) {
|
|
125684
|
+
return [parsed, { status: "invalid" }];
|
|
125685
|
+
}
|
|
125686
|
+
const payload = parsed.value;
|
|
125687
|
+
const body = encodeJSON("body", payload.VerificationRequest, {
|
|
125688
|
+
explode: true
|
|
125689
|
+
});
|
|
125690
|
+
const pathParams = {
|
|
125691
|
+
connection_id: encodeSimple("connection_id", payload.connection_id, {
|
|
125692
|
+
explode: false,
|
|
125693
|
+
charEncoding: "percent"
|
|
125694
|
+
}),
|
|
125695
|
+
id: encodeSimple("id", payload.id, {
|
|
125696
|
+
explode: false,
|
|
125697
|
+
charEncoding: "percent"
|
|
125698
|
+
})
|
|
125699
|
+
};
|
|
125700
|
+
const path = pathToFunc("/verification/{connection_id}/request/{id}")(pathParams);
|
|
125701
|
+
const query = encodeFormQuery({
|
|
125702
|
+
fields: payload.fields,
|
|
125703
|
+
raw: payload.raw
|
|
125704
|
+
});
|
|
125705
|
+
const headers = new Headers(compactMap({
|
|
125706
|
+
"Content-Type": "application/json",
|
|
125707
|
+
Accept: "application/json"
|
|
125708
|
+
}));
|
|
125709
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
125710
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
125711
|
+
const context = {
|
|
125712
|
+
options: client._options,
|
|
125713
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
125714
|
+
operationID: "patchVerificationRequest",
|
|
125715
|
+
oAuth2Scopes: [],
|
|
125716
|
+
resolvedSecurity: requestSecurity,
|
|
125717
|
+
securitySource: client._options.security,
|
|
125718
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
125719
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
125720
|
+
};
|
|
125721
|
+
const requestRes = client._createRequest(context, {
|
|
125722
|
+
security: requestSecurity,
|
|
125723
|
+
method: "PATCH",
|
|
125724
|
+
baseURL: options?.serverURL,
|
|
125725
|
+
path,
|
|
125726
|
+
headers,
|
|
125727
|
+
query,
|
|
125728
|
+
body,
|
|
125729
|
+
userAgent: client._options.userAgent,
|
|
125730
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
125731
|
+
}, options);
|
|
125732
|
+
if (!requestRes.ok) {
|
|
125733
|
+
return [requestRes, { status: "invalid" }];
|
|
125734
|
+
}
|
|
125735
|
+
const req = requestRes.value;
|
|
125736
|
+
const doResult = await client._do(req, {
|
|
125737
|
+
context,
|
|
125738
|
+
errorCodes: ["4XX", "5XX"],
|
|
125739
|
+
retryConfig: context.retryConfig,
|
|
125740
|
+
retryCodes: context.retryCodes
|
|
125741
|
+
});
|
|
125742
|
+
if (!doResult.ok) {
|
|
125743
|
+
return [doResult, { status: "request-error", request: req }];
|
|
125744
|
+
}
|
|
125745
|
+
const response = doResult.value;
|
|
125746
|
+
const [result] = await match(json(200, VerificationRequest$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
125747
|
+
if (!result.ok) {
|
|
125748
|
+
return [result, { status: "complete", request: req, response }];
|
|
125749
|
+
}
|
|
125750
|
+
return [result, { status: "complete", request: req, response }];
|
|
125751
|
+
}
|
|
125752
|
+
var init_verificationPatchVerificationRequest = __esm(() => {
|
|
125753
|
+
init_encodings();
|
|
125754
|
+
init_matchers();
|
|
125755
|
+
init_primitives();
|
|
125756
|
+
init_schemas();
|
|
125757
|
+
init_security();
|
|
125758
|
+
init_url();
|
|
125759
|
+
init_operations();
|
|
125760
|
+
init_shared2();
|
|
125761
|
+
init_async();
|
|
125762
|
+
});
|
|
125763
|
+
|
|
125764
|
+
// src/mcp-server/tools/verificationPatchVerificationRequest.ts
|
|
125765
|
+
var args492, tool$verificationPatchVerificationRequest;
|
|
125766
|
+
var init_verificationPatchVerificationRequest2 = __esm(() => {
|
|
125767
|
+
init_verificationPatchVerificationRequest();
|
|
125768
|
+
init_operations();
|
|
125769
|
+
init_tools();
|
|
125770
|
+
args492 = {
|
|
125771
|
+
request: PatchVerificationRequestRequest$inboundSchema
|
|
125772
|
+
};
|
|
125773
|
+
tool$verificationPatchVerificationRequest = {
|
|
125774
|
+
name: "verification-patch-verification-request",
|
|
125775
|
+
description: `Update a request`,
|
|
125776
|
+
args: args492,
|
|
125777
|
+
tool: async (client, args493, ctx) => {
|
|
125778
|
+
const [result, apiCall] = await verificationPatchVerificationRequest(client, args493.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
125779
|
+
if (!result.ok) {
|
|
125780
|
+
return {
|
|
125781
|
+
content: [{ type: "text", text: result.error.message }],
|
|
125782
|
+
isError: true
|
|
125783
|
+
};
|
|
125784
|
+
}
|
|
125785
|
+
const value = result.value;
|
|
125786
|
+
return formatResult(value, apiCall);
|
|
125787
|
+
}
|
|
125788
|
+
};
|
|
125789
|
+
});
|
|
125790
|
+
|
|
125791
|
+
// src/funcs/verificationRemoveVerificationRequest.ts
|
|
125792
|
+
function verificationRemoveVerificationRequest(client, request, options) {
|
|
125793
|
+
return new APIPromise($do493(client, request, options));
|
|
125794
|
+
}
|
|
125795
|
+
async function $do493(client, request, options) {
|
|
125796
|
+
const parsed = safeParse(request, (value) => RemoveVerificationRequestRequest$outboundSchema.parse(value), "Input validation failed");
|
|
125797
|
+
if (!parsed.ok) {
|
|
125798
|
+
return [parsed, { status: "invalid" }];
|
|
125799
|
+
}
|
|
125800
|
+
const payload = parsed.value;
|
|
125801
|
+
const body = null;
|
|
125802
|
+
const pathParams = {
|
|
125803
|
+
connection_id: encodeSimple("connection_id", payload.connection_id, {
|
|
125804
|
+
explode: false,
|
|
125805
|
+
charEncoding: "percent"
|
|
125806
|
+
}),
|
|
125807
|
+
id: encodeSimple("id", payload.id, {
|
|
125808
|
+
explode: false,
|
|
125809
|
+
charEncoding: "percent"
|
|
125810
|
+
})
|
|
125811
|
+
};
|
|
125812
|
+
const path = pathToFunc("/verification/{connection_id}/request/{id}")(pathParams);
|
|
125813
|
+
const headers = new Headers(compactMap({
|
|
125814
|
+
Accept: "*/*"
|
|
125815
|
+
}));
|
|
125816
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
125817
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
125818
|
+
const context = {
|
|
125819
|
+
options: client._options,
|
|
125820
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
125821
|
+
operationID: "removeVerificationRequest",
|
|
125822
|
+
oAuth2Scopes: [],
|
|
125823
|
+
resolvedSecurity: requestSecurity,
|
|
125824
|
+
securitySource: client._options.security,
|
|
125825
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
125826
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
125827
|
+
};
|
|
125828
|
+
const requestRes = client._createRequest(context, {
|
|
125829
|
+
security: requestSecurity,
|
|
125830
|
+
method: "DELETE",
|
|
125831
|
+
baseURL: options?.serverURL,
|
|
125832
|
+
path,
|
|
125833
|
+
headers,
|
|
125834
|
+
body,
|
|
125835
|
+
userAgent: client._options.userAgent,
|
|
125836
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
125837
|
+
}, options);
|
|
125838
|
+
if (!requestRes.ok) {
|
|
125839
|
+
return [requestRes, { status: "invalid" }];
|
|
125840
|
+
}
|
|
125841
|
+
const req = requestRes.value;
|
|
125842
|
+
const doResult = await client._do(req, {
|
|
125843
|
+
context,
|
|
125844
|
+
errorCodes: ["4XX", "5XX"],
|
|
125845
|
+
retryConfig: context.retryConfig,
|
|
125846
|
+
retryCodes: context.retryCodes
|
|
125847
|
+
});
|
|
125848
|
+
if (!doResult.ok) {
|
|
125849
|
+
return [doResult, { status: "request-error", request: req }];
|
|
125850
|
+
}
|
|
125851
|
+
const response = doResult.value;
|
|
125852
|
+
const responseFields = {
|
|
125853
|
+
HttpMeta: { Response: response, Request: req }
|
|
125854
|
+
};
|
|
125855
|
+
const [result] = await match(nil(200, RemoveVerificationRequestResponse$inboundSchema.optional()), fail("4XX"), fail("5XX"), nil("default", RemoveVerificationRequestResponse$inboundSchema.optional(), { hdrs: true }))(response, req, { extraFields: responseFields });
|
|
125856
|
+
if (!result.ok) {
|
|
125857
|
+
return [result, { status: "complete", request: req, response }];
|
|
125858
|
+
}
|
|
125859
|
+
return [result, { status: "complete", request: req, response }];
|
|
125860
|
+
}
|
|
125861
|
+
var init_verificationRemoveVerificationRequest = __esm(() => {
|
|
125862
|
+
init_encodings();
|
|
125863
|
+
init_matchers();
|
|
125864
|
+
init_primitives();
|
|
125865
|
+
init_schemas();
|
|
125866
|
+
init_security();
|
|
125867
|
+
init_url();
|
|
125868
|
+
init_operations();
|
|
125869
|
+
init_async();
|
|
125870
|
+
});
|
|
125871
|
+
|
|
125872
|
+
// src/mcp-server/tools/verificationRemoveVerificationRequest.ts
|
|
125873
|
+
var args493, tool$verificationRemoveVerificationRequest;
|
|
125874
|
+
var init_verificationRemoveVerificationRequest2 = __esm(() => {
|
|
125875
|
+
init_verificationRemoveVerificationRequest();
|
|
125876
|
+
init_operations();
|
|
125877
|
+
init_tools();
|
|
125878
|
+
args493 = {
|
|
125879
|
+
request: RemoveVerificationRequestRequest$inboundSchema
|
|
125880
|
+
};
|
|
125881
|
+
tool$verificationRemoveVerificationRequest = {
|
|
125882
|
+
name: "verification-remove-verification-request",
|
|
125883
|
+
description: `Remove a request`,
|
|
125884
|
+
args: args493,
|
|
125885
|
+
tool: async (client, args494, ctx) => {
|
|
125886
|
+
const [result, apiCall] = await verificationRemoveVerificationRequest(client, args494.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
125887
|
+
if (!result.ok) {
|
|
125888
|
+
return {
|
|
125889
|
+
content: [{ type: "text", text: result.error.message }],
|
|
125890
|
+
isError: true
|
|
125891
|
+
};
|
|
125892
|
+
}
|
|
125893
|
+
return formatResult(undefined, apiCall);
|
|
125894
|
+
}
|
|
125895
|
+
};
|
|
125896
|
+
});
|
|
125897
|
+
|
|
125898
|
+
// src/funcs/verificationUpdateVerificationRequest.ts
|
|
125899
|
+
function verificationUpdateVerificationRequest(client, request, options) {
|
|
125900
|
+
return new APIPromise($do494(client, request, options));
|
|
125901
|
+
}
|
|
125902
|
+
async function $do494(client, request, options) {
|
|
125903
|
+
const parsed = safeParse(request, (value) => UpdateVerificationRequestRequest$outboundSchema.parse(value), "Input validation failed");
|
|
125904
|
+
if (!parsed.ok) {
|
|
125905
|
+
return [parsed, { status: "invalid" }];
|
|
125906
|
+
}
|
|
125907
|
+
const payload = parsed.value;
|
|
125908
|
+
const body = encodeJSON("body", payload.VerificationRequest, {
|
|
125909
|
+
explode: true
|
|
125910
|
+
});
|
|
125911
|
+
const pathParams = {
|
|
125912
|
+
connection_id: encodeSimple("connection_id", payload.connection_id, {
|
|
125913
|
+
explode: false,
|
|
125914
|
+
charEncoding: "percent"
|
|
125915
|
+
}),
|
|
125916
|
+
id: encodeSimple("id", payload.id, {
|
|
125917
|
+
explode: false,
|
|
125918
|
+
charEncoding: "percent"
|
|
125919
|
+
})
|
|
125920
|
+
};
|
|
125921
|
+
const path = pathToFunc("/verification/{connection_id}/request/{id}")(pathParams);
|
|
125922
|
+
const query = encodeFormQuery({
|
|
125923
|
+
fields: payload.fields,
|
|
125924
|
+
raw: payload.raw
|
|
125925
|
+
});
|
|
125926
|
+
const headers = new Headers(compactMap({
|
|
125927
|
+
"Content-Type": "application/json",
|
|
125928
|
+
Accept: "application/json"
|
|
125929
|
+
}));
|
|
125930
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
125931
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
125932
|
+
const context = {
|
|
125933
|
+
options: client._options,
|
|
125934
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
125935
|
+
operationID: "updateVerificationRequest",
|
|
125936
|
+
oAuth2Scopes: [],
|
|
125937
|
+
resolvedSecurity: requestSecurity,
|
|
125938
|
+
securitySource: client._options.security,
|
|
125939
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
125940
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
125941
|
+
};
|
|
125942
|
+
const requestRes = client._createRequest(context, {
|
|
125943
|
+
security: requestSecurity,
|
|
125944
|
+
method: "PUT",
|
|
125945
|
+
baseURL: options?.serverURL,
|
|
125946
|
+
path,
|
|
125947
|
+
headers,
|
|
125948
|
+
query,
|
|
125949
|
+
body,
|
|
125950
|
+
userAgent: client._options.userAgent,
|
|
125951
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
125952
|
+
}, options);
|
|
125953
|
+
if (!requestRes.ok) {
|
|
125954
|
+
return [requestRes, { status: "invalid" }];
|
|
125955
|
+
}
|
|
125956
|
+
const req = requestRes.value;
|
|
125957
|
+
const doResult = await client._do(req, {
|
|
125958
|
+
context,
|
|
125959
|
+
errorCodes: ["4XX", "5XX"],
|
|
125960
|
+
retryConfig: context.retryConfig,
|
|
125961
|
+
retryCodes: context.retryCodes
|
|
125962
|
+
});
|
|
125963
|
+
if (!doResult.ok) {
|
|
125964
|
+
return [doResult, { status: "request-error", request: req }];
|
|
125965
|
+
}
|
|
125966
|
+
const response = doResult.value;
|
|
125967
|
+
const [result] = await match(json(200, VerificationRequest$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
125968
|
+
if (!result.ok) {
|
|
125969
|
+
return [result, { status: "complete", request: req, response }];
|
|
125970
|
+
}
|
|
125971
|
+
return [result, { status: "complete", request: req, response }];
|
|
125972
|
+
}
|
|
125973
|
+
var init_verificationUpdateVerificationRequest = __esm(() => {
|
|
125974
|
+
init_encodings();
|
|
125975
|
+
init_matchers();
|
|
125976
|
+
init_primitives();
|
|
125977
|
+
init_schemas();
|
|
125978
|
+
init_security();
|
|
125979
|
+
init_url();
|
|
125980
|
+
init_operations();
|
|
125981
|
+
init_shared2();
|
|
125982
|
+
init_async();
|
|
125983
|
+
});
|
|
125984
|
+
|
|
125985
|
+
// src/mcp-server/tools/verificationUpdateVerificationRequest.ts
|
|
125986
|
+
var args494, tool$verificationUpdateVerificationRequest;
|
|
125987
|
+
var init_verificationUpdateVerificationRequest2 = __esm(() => {
|
|
125988
|
+
init_verificationUpdateVerificationRequest();
|
|
125989
|
+
init_operations();
|
|
125990
|
+
init_tools();
|
|
125991
|
+
args494 = {
|
|
125992
|
+
request: UpdateVerificationRequestRequest$inboundSchema
|
|
125993
|
+
};
|
|
125994
|
+
tool$verificationUpdateVerificationRequest = {
|
|
125995
|
+
name: "verification-update-verification-request",
|
|
125996
|
+
description: `Update a request`,
|
|
125997
|
+
args: args494,
|
|
125998
|
+
tool: async (client, args495, ctx) => {
|
|
125999
|
+
const [result, apiCall] = await verificationUpdateVerificationRequest(client, args495.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
126000
|
+
if (!result.ok) {
|
|
126001
|
+
return {
|
|
126002
|
+
content: [{ type: "text", text: result.error.message }],
|
|
126003
|
+
isError: true
|
|
126004
|
+
};
|
|
126005
|
+
}
|
|
126006
|
+
const value = result.value;
|
|
126007
|
+
return formatResult(value, apiCall);
|
|
126008
|
+
}
|
|
126009
|
+
};
|
|
126010
|
+
});
|
|
126011
|
+
|
|
124309
126012
|
// src/mcp-server/server.ts
|
|
124310
126013
|
function createMCPServer(deps) {
|
|
124311
126014
|
const server = new McpServer({
|
|
124312
126015
|
name: "UnifiedTo",
|
|
124313
|
-
version: "2.73.
|
|
126016
|
+
version: "2.73.19"
|
|
124314
126017
|
});
|
|
124315
126018
|
const client = new UnifiedToCore({
|
|
124316
126019
|
security: deps.security,
|
|
@@ -124810,6 +126513,14 @@ function createMCPServer(deps) {
|
|
|
124810
126513
|
tool(tool$unifiedUpdateUnifiedWebhook);
|
|
124811
126514
|
tool(tool$unifiedUpdateUnifiedWebhookTrigger);
|
|
124812
126515
|
tool(tool$authGetUnifiedIntegrationLogin);
|
|
126516
|
+
tool(tool$verificationCreateVerificationRequest);
|
|
126517
|
+
tool(tool$verificationGetVerificationPackage);
|
|
126518
|
+
tool(tool$verificationGetVerificationRequest);
|
|
126519
|
+
tool(tool$verificationListVerificationPackages);
|
|
126520
|
+
tool(tool$verificationListVerificationRequests);
|
|
126521
|
+
tool(tool$verificationPatchVerificationRequest);
|
|
126522
|
+
tool(tool$verificationRemoveVerificationRequest);
|
|
126523
|
+
tool(tool$verificationUpdateVerificationRequest);
|
|
124813
126524
|
return server;
|
|
124814
126525
|
}
|
|
124815
126526
|
var init_server2 = __esm(() => {
|
|
@@ -125303,6 +127014,14 @@ var init_server2 = __esm(() => {
|
|
|
125303
127014
|
init_unifiedUpdateUnifiedConnection2();
|
|
125304
127015
|
init_unifiedUpdateUnifiedWebhook2();
|
|
125305
127016
|
init_unifiedUpdateUnifiedWebhookTrigger2();
|
|
127017
|
+
init_verificationCreateVerificationRequest2();
|
|
127018
|
+
init_verificationGetVerificationPackage2();
|
|
127019
|
+
init_verificationGetVerificationRequest2();
|
|
127020
|
+
init_verificationListVerificationPackages2();
|
|
127021
|
+
init_verificationListVerificationRequests2();
|
|
127022
|
+
init_verificationPatchVerificationRequest2();
|
|
127023
|
+
init_verificationRemoveVerificationRequest2();
|
|
127024
|
+
init_verificationUpdateVerificationRequest2();
|
|
125306
127025
|
});
|
|
125307
127026
|
|
|
125308
127027
|
// src/mcp-server/cli/start/impl.ts
|
|
@@ -126477,7 +128196,7 @@ var routes = an({
|
|
|
126477
128196
|
var app = He(routes, {
|
|
126478
128197
|
name: "mcp",
|
|
126479
128198
|
versionInfo: {
|
|
126480
|
-
currentVersion: "2.73.
|
|
128199
|
+
currentVersion: "2.73.19"
|
|
126481
128200
|
}
|
|
126482
128201
|
});
|
|
126483
128202
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -126485,5 +128204,5 @@ export {
|
|
|
126485
128204
|
app
|
|
126486
128205
|
};
|
|
126487
128206
|
|
|
126488
|
-
//# debugId=
|
|
128207
|
+
//# debugId=2E9AA79EB9CE254264756E2164756E21
|
|
126489
128208
|
//# sourceMappingURL=mcp-server.js.map
|