@unified-api/typescript-sdk 2.73.16 → 2.73.18
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 +1734 -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/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/propertyconnectionauth.d.ts +2 -0
- package/sdk/models/shared/propertyconnectionauth.d.ts.map +1 -1
- package/sdk/models/shared/propertyconnectionauth.js +4 -0
- package/sdk/models/shared/propertyconnectionauth.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 +4 -0
- package/sdk/models/shared/webhook.d.ts.map +1 -1
- package/sdk/models/shared/webhook.js +6 -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/index.ts +7 -0
- package/src/sdk/models/shared/propertyconnectionauth.ts +6 -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 +8 -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
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type ListVerificationRequestsRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* The candidate ID to filter by
|
|
14
|
+
*/
|
|
15
|
+
candidateId?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* ID of the connection
|
|
18
|
+
*/
|
|
19
|
+
connectionId: string;
|
|
20
|
+
/**
|
|
21
|
+
* Comma-delimited fields to return
|
|
22
|
+
*/
|
|
23
|
+
fields?: Array<string> | undefined;
|
|
24
|
+
limit?: number | undefined;
|
|
25
|
+
offset?: number | undefined;
|
|
26
|
+
order?: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* The package ID to filter by
|
|
29
|
+
*/
|
|
30
|
+
packageId?: string | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Query string to search. eg. email address or name
|
|
33
|
+
*/
|
|
34
|
+
query?: string | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
|
|
37
|
+
*/
|
|
38
|
+
raw?: string | undefined;
|
|
39
|
+
sort?: string | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* Return only results whose updated date is equal or greater to this value
|
|
42
|
+
*/
|
|
43
|
+
updatedGte?: string | undefined;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const ListVerificationRequestsRequest$inboundSchema: z.ZodType<
|
|
48
|
+
ListVerificationRequestsRequest,
|
|
49
|
+
z.ZodTypeDef,
|
|
50
|
+
unknown
|
|
51
|
+
> = z.object({
|
|
52
|
+
candidate_id: z.string().optional(),
|
|
53
|
+
connection_id: z.string(),
|
|
54
|
+
fields: z.array(z.string()).optional(),
|
|
55
|
+
limit: z.number().optional(),
|
|
56
|
+
offset: z.number().optional(),
|
|
57
|
+
order: z.string().optional(),
|
|
58
|
+
package_id: z.string().optional(),
|
|
59
|
+
query: z.string().optional(),
|
|
60
|
+
raw: z.string().optional(),
|
|
61
|
+
sort: z.string().optional(),
|
|
62
|
+
updated_gte: z.string().optional(),
|
|
63
|
+
}).transform((v) => {
|
|
64
|
+
return remap$(v, {
|
|
65
|
+
"candidate_id": "candidateId",
|
|
66
|
+
"connection_id": "connectionId",
|
|
67
|
+
"package_id": "packageId",
|
|
68
|
+
"updated_gte": "updatedGte",
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
/** @internal */
|
|
73
|
+
export type ListVerificationRequestsRequest$Outbound = {
|
|
74
|
+
candidate_id?: string | undefined;
|
|
75
|
+
connection_id: string;
|
|
76
|
+
fields?: Array<string> | undefined;
|
|
77
|
+
limit?: number | undefined;
|
|
78
|
+
offset?: number | undefined;
|
|
79
|
+
order?: string | undefined;
|
|
80
|
+
package_id?: string | undefined;
|
|
81
|
+
query?: string | undefined;
|
|
82
|
+
raw?: string | undefined;
|
|
83
|
+
sort?: string | undefined;
|
|
84
|
+
updated_gte?: string | undefined;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
/** @internal */
|
|
88
|
+
export const ListVerificationRequestsRequest$outboundSchema: z.ZodType<
|
|
89
|
+
ListVerificationRequestsRequest$Outbound,
|
|
90
|
+
z.ZodTypeDef,
|
|
91
|
+
ListVerificationRequestsRequest
|
|
92
|
+
> = z.object({
|
|
93
|
+
candidateId: z.string().optional(),
|
|
94
|
+
connectionId: z.string(),
|
|
95
|
+
fields: z.array(z.string()).optional(),
|
|
96
|
+
limit: z.number().optional(),
|
|
97
|
+
offset: z.number().optional(),
|
|
98
|
+
order: z.string().optional(),
|
|
99
|
+
packageId: z.string().optional(),
|
|
100
|
+
query: z.string().optional(),
|
|
101
|
+
raw: z.string().optional(),
|
|
102
|
+
sort: z.string().optional(),
|
|
103
|
+
updatedGte: z.string().optional(),
|
|
104
|
+
}).transform((v) => {
|
|
105
|
+
return remap$(v, {
|
|
106
|
+
candidateId: "candidate_id",
|
|
107
|
+
connectionId: "connection_id",
|
|
108
|
+
packageId: "package_id",
|
|
109
|
+
updatedGte: "updated_gte",
|
|
110
|
+
});
|
|
111
|
+
});
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @internal
|
|
115
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
116
|
+
*/
|
|
117
|
+
export namespace ListVerificationRequestsRequest$ {
|
|
118
|
+
/** @deprecated use `ListVerificationRequestsRequest$inboundSchema` instead. */
|
|
119
|
+
export const inboundSchema = ListVerificationRequestsRequest$inboundSchema;
|
|
120
|
+
/** @deprecated use `ListVerificationRequestsRequest$outboundSchema` instead. */
|
|
121
|
+
export const outboundSchema = ListVerificationRequestsRequest$outboundSchema;
|
|
122
|
+
/** @deprecated use `ListVerificationRequestsRequest$Outbound` instead. */
|
|
123
|
+
export type Outbound = ListVerificationRequestsRequest$Outbound;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export function listVerificationRequestsRequestToJSON(
|
|
127
|
+
listVerificationRequestsRequest: ListVerificationRequestsRequest,
|
|
128
|
+
): string {
|
|
129
|
+
return JSON.stringify(
|
|
130
|
+
ListVerificationRequestsRequest$outboundSchema.parse(
|
|
131
|
+
listVerificationRequestsRequest,
|
|
132
|
+
),
|
|
133
|
+
);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export function listVerificationRequestsRequestFromJSON(
|
|
137
|
+
jsonString: string,
|
|
138
|
+
): SafeParseResult<ListVerificationRequestsRequest, SDKValidationError> {
|
|
139
|
+
return safeParse(
|
|
140
|
+
jsonString,
|
|
141
|
+
(x) => ListVerificationRequestsRequest$inboundSchema.parse(JSON.parse(x)),
|
|
142
|
+
`Failed to parse 'ListVerificationRequestsRequest' from JSON`,
|
|
143
|
+
);
|
|
144
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import * as shared from "../shared/index.js";
|
|
11
|
+
|
|
12
|
+
export type PatchVerificationRequestRequest = {
|
|
13
|
+
verificationRequest: shared.VerificationRequest;
|
|
14
|
+
/**
|
|
15
|
+
* ID of the connection
|
|
16
|
+
*/
|
|
17
|
+
connectionId: string;
|
|
18
|
+
/**
|
|
19
|
+
* Comma-delimited fields to return
|
|
20
|
+
*/
|
|
21
|
+
fields?: Array<string> | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* ID of the Request
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
|
|
28
|
+
*/
|
|
29
|
+
raw?: string | undefined;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
/** @internal */
|
|
33
|
+
export const PatchVerificationRequestRequest$inboundSchema: z.ZodType<
|
|
34
|
+
PatchVerificationRequestRequest,
|
|
35
|
+
z.ZodTypeDef,
|
|
36
|
+
unknown
|
|
37
|
+
> = z.object({
|
|
38
|
+
VerificationRequest: shared.VerificationRequest$inboundSchema,
|
|
39
|
+
connection_id: z.string(),
|
|
40
|
+
fields: z.array(z.string()).optional(),
|
|
41
|
+
id: z.string(),
|
|
42
|
+
raw: z.string().optional(),
|
|
43
|
+
}).transform((v) => {
|
|
44
|
+
return remap$(v, {
|
|
45
|
+
"VerificationRequest": "verificationRequest",
|
|
46
|
+
"connection_id": "connectionId",
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
/** @internal */
|
|
51
|
+
export type PatchVerificationRequestRequest$Outbound = {
|
|
52
|
+
VerificationRequest: shared.VerificationRequest$Outbound;
|
|
53
|
+
connection_id: string;
|
|
54
|
+
fields?: Array<string> | undefined;
|
|
55
|
+
id: string;
|
|
56
|
+
raw?: string | undefined;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
/** @internal */
|
|
60
|
+
export const PatchVerificationRequestRequest$outboundSchema: z.ZodType<
|
|
61
|
+
PatchVerificationRequestRequest$Outbound,
|
|
62
|
+
z.ZodTypeDef,
|
|
63
|
+
PatchVerificationRequestRequest
|
|
64
|
+
> = z.object({
|
|
65
|
+
verificationRequest: shared.VerificationRequest$outboundSchema,
|
|
66
|
+
connectionId: z.string(),
|
|
67
|
+
fields: z.array(z.string()).optional(),
|
|
68
|
+
id: z.string(),
|
|
69
|
+
raw: z.string().optional(),
|
|
70
|
+
}).transform((v) => {
|
|
71
|
+
return remap$(v, {
|
|
72
|
+
verificationRequest: "VerificationRequest",
|
|
73
|
+
connectionId: "connection_id",
|
|
74
|
+
});
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
80
|
+
*/
|
|
81
|
+
export namespace PatchVerificationRequestRequest$ {
|
|
82
|
+
/** @deprecated use `PatchVerificationRequestRequest$inboundSchema` instead. */
|
|
83
|
+
export const inboundSchema = PatchVerificationRequestRequest$inboundSchema;
|
|
84
|
+
/** @deprecated use `PatchVerificationRequestRequest$outboundSchema` instead. */
|
|
85
|
+
export const outboundSchema = PatchVerificationRequestRequest$outboundSchema;
|
|
86
|
+
/** @deprecated use `PatchVerificationRequestRequest$Outbound` instead. */
|
|
87
|
+
export type Outbound = PatchVerificationRequestRequest$Outbound;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function patchVerificationRequestRequestToJSON(
|
|
91
|
+
patchVerificationRequestRequest: PatchVerificationRequestRequest,
|
|
92
|
+
): string {
|
|
93
|
+
return JSON.stringify(
|
|
94
|
+
PatchVerificationRequestRequest$outboundSchema.parse(
|
|
95
|
+
patchVerificationRequestRequest,
|
|
96
|
+
),
|
|
97
|
+
);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export function patchVerificationRequestRequestFromJSON(
|
|
101
|
+
jsonString: string,
|
|
102
|
+
): SafeParseResult<PatchVerificationRequestRequest, SDKValidationError> {
|
|
103
|
+
return safeParse(
|
|
104
|
+
jsonString,
|
|
105
|
+
(x) => PatchVerificationRequestRequest$inboundSchema.parse(JSON.parse(x)),
|
|
106
|
+
`Failed to parse 'PatchVerificationRequestRequest' from JSON`,
|
|
107
|
+
);
|
|
108
|
+
}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type RemoveVerificationRequestRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* ID of the connection
|
|
14
|
+
*/
|
|
15
|
+
connectionId: string;
|
|
16
|
+
/**
|
|
17
|
+
* ID of the Request
|
|
18
|
+
*/
|
|
19
|
+
id: string;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export type RemoveVerificationRequestResponse = {
|
|
23
|
+
headers: { [k: string]: Array<string> };
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export const RemoveVerificationRequestRequest$inboundSchema: z.ZodType<
|
|
28
|
+
RemoveVerificationRequestRequest,
|
|
29
|
+
z.ZodTypeDef,
|
|
30
|
+
unknown
|
|
31
|
+
> = z.object({
|
|
32
|
+
connection_id: z.string(),
|
|
33
|
+
id: z.string(),
|
|
34
|
+
}).transform((v) => {
|
|
35
|
+
return remap$(v, {
|
|
36
|
+
"connection_id": "connectionId",
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
/** @internal */
|
|
41
|
+
export type RemoveVerificationRequestRequest$Outbound = {
|
|
42
|
+
connection_id: string;
|
|
43
|
+
id: string;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const RemoveVerificationRequestRequest$outboundSchema: z.ZodType<
|
|
48
|
+
RemoveVerificationRequestRequest$Outbound,
|
|
49
|
+
z.ZodTypeDef,
|
|
50
|
+
RemoveVerificationRequestRequest
|
|
51
|
+
> = z.object({
|
|
52
|
+
connectionId: z.string(),
|
|
53
|
+
id: z.string(),
|
|
54
|
+
}).transform((v) => {
|
|
55
|
+
return remap$(v, {
|
|
56
|
+
connectionId: "connection_id",
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
63
|
+
*/
|
|
64
|
+
export namespace RemoveVerificationRequestRequest$ {
|
|
65
|
+
/** @deprecated use `RemoveVerificationRequestRequest$inboundSchema` instead. */
|
|
66
|
+
export const inboundSchema = RemoveVerificationRequestRequest$inboundSchema;
|
|
67
|
+
/** @deprecated use `RemoveVerificationRequestRequest$outboundSchema` instead. */
|
|
68
|
+
export const outboundSchema = RemoveVerificationRequestRequest$outboundSchema;
|
|
69
|
+
/** @deprecated use `RemoveVerificationRequestRequest$Outbound` instead. */
|
|
70
|
+
export type Outbound = RemoveVerificationRequestRequest$Outbound;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function removeVerificationRequestRequestToJSON(
|
|
74
|
+
removeVerificationRequestRequest: RemoveVerificationRequestRequest,
|
|
75
|
+
): string {
|
|
76
|
+
return JSON.stringify(
|
|
77
|
+
RemoveVerificationRequestRequest$outboundSchema.parse(
|
|
78
|
+
removeVerificationRequestRequest,
|
|
79
|
+
),
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function removeVerificationRequestRequestFromJSON(
|
|
84
|
+
jsonString: string,
|
|
85
|
+
): SafeParseResult<RemoveVerificationRequestRequest, SDKValidationError> {
|
|
86
|
+
return safeParse(
|
|
87
|
+
jsonString,
|
|
88
|
+
(x) => RemoveVerificationRequestRequest$inboundSchema.parse(JSON.parse(x)),
|
|
89
|
+
`Failed to parse 'RemoveVerificationRequestRequest' from JSON`,
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/** @internal */
|
|
94
|
+
export const RemoveVerificationRequestResponse$inboundSchema: z.ZodType<
|
|
95
|
+
RemoveVerificationRequestResponse,
|
|
96
|
+
z.ZodTypeDef,
|
|
97
|
+
unknown
|
|
98
|
+
> = z.object({
|
|
99
|
+
Headers: z.record(z.array(z.string())),
|
|
100
|
+
}).transform((v) => {
|
|
101
|
+
return remap$(v, {
|
|
102
|
+
"Headers": "headers",
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
|
|
106
|
+
/** @internal */
|
|
107
|
+
export type RemoveVerificationRequestResponse$Outbound = {
|
|
108
|
+
Headers: { [k: string]: Array<string> };
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
/** @internal */
|
|
112
|
+
export const RemoveVerificationRequestResponse$outboundSchema: z.ZodType<
|
|
113
|
+
RemoveVerificationRequestResponse$Outbound,
|
|
114
|
+
z.ZodTypeDef,
|
|
115
|
+
RemoveVerificationRequestResponse
|
|
116
|
+
> = z.object({
|
|
117
|
+
headers: z.record(z.array(z.string())),
|
|
118
|
+
}).transform((v) => {
|
|
119
|
+
return remap$(v, {
|
|
120
|
+
headers: "Headers",
|
|
121
|
+
});
|
|
122
|
+
});
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @internal
|
|
126
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
127
|
+
*/
|
|
128
|
+
export namespace RemoveVerificationRequestResponse$ {
|
|
129
|
+
/** @deprecated use `RemoveVerificationRequestResponse$inboundSchema` instead. */
|
|
130
|
+
export const inboundSchema = RemoveVerificationRequestResponse$inboundSchema;
|
|
131
|
+
/** @deprecated use `RemoveVerificationRequestResponse$outboundSchema` instead. */
|
|
132
|
+
export const outboundSchema =
|
|
133
|
+
RemoveVerificationRequestResponse$outboundSchema;
|
|
134
|
+
/** @deprecated use `RemoveVerificationRequestResponse$Outbound` instead. */
|
|
135
|
+
export type Outbound = RemoveVerificationRequestResponse$Outbound;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export function removeVerificationRequestResponseToJSON(
|
|
139
|
+
removeVerificationRequestResponse: RemoveVerificationRequestResponse,
|
|
140
|
+
): string {
|
|
141
|
+
return JSON.stringify(
|
|
142
|
+
RemoveVerificationRequestResponse$outboundSchema.parse(
|
|
143
|
+
removeVerificationRequestResponse,
|
|
144
|
+
),
|
|
145
|
+
);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
export function removeVerificationRequestResponseFromJSON(
|
|
149
|
+
jsonString: string,
|
|
150
|
+
): SafeParseResult<RemoveVerificationRequestResponse, SDKValidationError> {
|
|
151
|
+
return safeParse(
|
|
152
|
+
jsonString,
|
|
153
|
+
(x) => RemoveVerificationRequestResponse$inboundSchema.parse(JSON.parse(x)),
|
|
154
|
+
`Failed to parse 'RemoveVerificationRequestResponse' from JSON`,
|
|
155
|
+
);
|
|
156
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import * as shared from "../shared/index.js";
|
|
11
|
+
|
|
12
|
+
export type UpdateVerificationRequestRequest = {
|
|
13
|
+
verificationRequest: shared.VerificationRequest;
|
|
14
|
+
/**
|
|
15
|
+
* ID of the connection
|
|
16
|
+
*/
|
|
17
|
+
connectionId: string;
|
|
18
|
+
/**
|
|
19
|
+
* Comma-delimited fields to return
|
|
20
|
+
*/
|
|
21
|
+
fields?: Array<string> | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* ID of the Request
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
|
|
28
|
+
*/
|
|
29
|
+
raw?: string | undefined;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
/** @internal */
|
|
33
|
+
export const UpdateVerificationRequestRequest$inboundSchema: z.ZodType<
|
|
34
|
+
UpdateVerificationRequestRequest,
|
|
35
|
+
z.ZodTypeDef,
|
|
36
|
+
unknown
|
|
37
|
+
> = z.object({
|
|
38
|
+
VerificationRequest: shared.VerificationRequest$inboundSchema,
|
|
39
|
+
connection_id: z.string(),
|
|
40
|
+
fields: z.array(z.string()).optional(),
|
|
41
|
+
id: z.string(),
|
|
42
|
+
raw: z.string().optional(),
|
|
43
|
+
}).transform((v) => {
|
|
44
|
+
return remap$(v, {
|
|
45
|
+
"VerificationRequest": "verificationRequest",
|
|
46
|
+
"connection_id": "connectionId",
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
/** @internal */
|
|
51
|
+
export type UpdateVerificationRequestRequest$Outbound = {
|
|
52
|
+
VerificationRequest: shared.VerificationRequest$Outbound;
|
|
53
|
+
connection_id: string;
|
|
54
|
+
fields?: Array<string> | undefined;
|
|
55
|
+
id: string;
|
|
56
|
+
raw?: string | undefined;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
/** @internal */
|
|
60
|
+
export const UpdateVerificationRequestRequest$outboundSchema: z.ZodType<
|
|
61
|
+
UpdateVerificationRequestRequest$Outbound,
|
|
62
|
+
z.ZodTypeDef,
|
|
63
|
+
UpdateVerificationRequestRequest
|
|
64
|
+
> = z.object({
|
|
65
|
+
verificationRequest: shared.VerificationRequest$outboundSchema,
|
|
66
|
+
connectionId: z.string(),
|
|
67
|
+
fields: z.array(z.string()).optional(),
|
|
68
|
+
id: z.string(),
|
|
69
|
+
raw: z.string().optional(),
|
|
70
|
+
}).transform((v) => {
|
|
71
|
+
return remap$(v, {
|
|
72
|
+
verificationRequest: "VerificationRequest",
|
|
73
|
+
connectionId: "connection_id",
|
|
74
|
+
});
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
80
|
+
*/
|
|
81
|
+
export namespace UpdateVerificationRequestRequest$ {
|
|
82
|
+
/** @deprecated use `UpdateVerificationRequestRequest$inboundSchema` instead. */
|
|
83
|
+
export const inboundSchema = UpdateVerificationRequestRequest$inboundSchema;
|
|
84
|
+
/** @deprecated use `UpdateVerificationRequestRequest$outboundSchema` instead. */
|
|
85
|
+
export const outboundSchema = UpdateVerificationRequestRequest$outboundSchema;
|
|
86
|
+
/** @deprecated use `UpdateVerificationRequestRequest$Outbound` instead. */
|
|
87
|
+
export type Outbound = UpdateVerificationRequestRequest$Outbound;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function updateVerificationRequestRequestToJSON(
|
|
91
|
+
updateVerificationRequestRequest: UpdateVerificationRequestRequest,
|
|
92
|
+
): string {
|
|
93
|
+
return JSON.stringify(
|
|
94
|
+
UpdateVerificationRequestRequest$outboundSchema.parse(
|
|
95
|
+
updateVerificationRequestRequest,
|
|
96
|
+
),
|
|
97
|
+
);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export function updateVerificationRequestRequestFromJSON(
|
|
101
|
+
jsonString: string,
|
|
102
|
+
): SafeParseResult<UpdateVerificationRequestRequest, SDKValidationError> {
|
|
103
|
+
return safeParse(
|
|
104
|
+
jsonString,
|
|
105
|
+
(x) => UpdateVerificationRequestRequest$inboundSchema.parse(JSON.parse(x)),
|
|
106
|
+
`Failed to parse 'UpdateVerificationRequestRequest' from JSON`,
|
|
107
|
+
);
|
|
108
|
+
}
|
|
@@ -237,4 +237,11 @@ export * from "./ucrecording.js";
|
|
|
237
237
|
export * from "./ucrecordingmedia.js";
|
|
238
238
|
export * from "./ucrecordingtranscript.js";
|
|
239
239
|
export * from "./uctelephone.js";
|
|
240
|
+
export * from "./verificationaddress.js";
|
|
241
|
+
export * from "./verificationpackage.js";
|
|
242
|
+
export * from "./verificationparameter.js";
|
|
243
|
+
export * from "./verificationparameterinput.js";
|
|
244
|
+
export * from "./verificationrequest.js";
|
|
245
|
+
export * from "./verificationresponsedetail.js";
|
|
246
|
+
export * from "./verificationtime.js";
|
|
240
247
|
export * from "./webhook.js";
|
|
@@ -35,6 +35,7 @@ export type PropertyConnectionAuth = {
|
|
|
35
35
|
refreshToken?: string | undefined;
|
|
36
36
|
refreshTokenExpiresDate?: Date | undefined;
|
|
37
37
|
refreshTokenExpiresIn?: number | undefined;
|
|
38
|
+
refreshUrl?: string | undefined;
|
|
38
39
|
state?: string | undefined;
|
|
39
40
|
token?: string | undefined;
|
|
40
41
|
tokenUrl?: string | undefined;
|
|
@@ -70,6 +71,7 @@ export const PropertyConnectionAuth$inboundSchema: z.ZodType<
|
|
|
70
71
|
v => new Date(v)
|
|
71
72
|
).optional(),
|
|
72
73
|
refresh_token_expires_in: z.number().optional(),
|
|
74
|
+
refresh_url: z.string().optional(),
|
|
73
75
|
state: z.string().optional(),
|
|
74
76
|
token: z.string().optional(),
|
|
75
77
|
token_url: z.string().optional(),
|
|
@@ -91,6 +93,7 @@ export const PropertyConnectionAuth$inboundSchema: z.ZodType<
|
|
|
91
93
|
"refresh_token": "refreshToken",
|
|
92
94
|
"refresh_token_expires_date": "refreshTokenExpiresDate",
|
|
93
95
|
"refresh_token_expires_in": "refreshTokenExpiresIn",
|
|
96
|
+
"refresh_url": "refreshUrl",
|
|
94
97
|
"token_url": "tokenUrl",
|
|
95
98
|
"user_id": "userId",
|
|
96
99
|
});
|
|
@@ -118,6 +121,7 @@ export type PropertyConnectionAuth$Outbound = {
|
|
|
118
121
|
refresh_token?: string | undefined;
|
|
119
122
|
refresh_token_expires_date?: string | undefined;
|
|
120
123
|
refresh_token_expires_in?: number | undefined;
|
|
124
|
+
refresh_url?: string | undefined;
|
|
121
125
|
state?: string | undefined;
|
|
122
126
|
token?: string | undefined;
|
|
123
127
|
token_url?: string | undefined;
|
|
@@ -150,6 +154,7 @@ export const PropertyConnectionAuth$outboundSchema: z.ZodType<
|
|
|
150
154
|
refreshToken: z.string().optional(),
|
|
151
155
|
refreshTokenExpiresDate: z.date().transform(v => v.toISOString()).optional(),
|
|
152
156
|
refreshTokenExpiresIn: z.number().optional(),
|
|
157
|
+
refreshUrl: z.string().optional(),
|
|
153
158
|
state: z.string().optional(),
|
|
154
159
|
token: z.string().optional(),
|
|
155
160
|
tokenUrl: z.string().optional(),
|
|
@@ -171,6 +176,7 @@ export const PropertyConnectionAuth$outboundSchema: z.ZodType<
|
|
|
171
176
|
refreshToken: "refresh_token",
|
|
172
177
|
refreshTokenExpiresDate: "refresh_token_expires_date",
|
|
173
178
|
refreshTokenExpiresIn: "refresh_token_expires_in",
|
|
179
|
+
refreshUrl: "refresh_url",
|
|
174
180
|
tokenUrl: "token_url",
|
|
175
181
|
userId: "user_id",
|
|
176
182
|
});
|
|
@@ -61,6 +61,9 @@ export const PropertyConnectionPermissions = {
|
|
|
61
61
|
CommerceLocationWrite: "commerce_location_write",
|
|
62
62
|
CommerceReviewRead: "commerce_review_read",
|
|
63
63
|
CommerceReviewWrite: "commerce_review_write",
|
|
64
|
+
VerificationPackageRead: "verification_package_read",
|
|
65
|
+
VerificationRequestRead: "verification_request_read",
|
|
66
|
+
VerificationRequestWrite: "verification_request_write",
|
|
64
67
|
AtsActivityRead: "ats_activity_read",
|
|
65
68
|
AtsActivityWrite: "ats_activity_write",
|
|
66
69
|
AtsApplicationRead: "ats_application_read",
|