@unified-api/typescript-sdk 2.9.28 → 2.10.1
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/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/package.json +1 -1
- package/sdk/models/shared/accountingaccount.d.ts +23 -9
- package/sdk/models/shared/accountingaccount.d.ts.map +1 -1
- package/sdk/models/shared/accountingaccount.js +28 -3
- package/sdk/models/shared/accountingaccount.js.map +1 -1
- package/sdk/models/shared/accountingcontact.d.ts +23 -6
- package/sdk/models/shared/accountingcontact.d.ts.map +1 -1
- package/sdk/models/shared/accountingcontact.js +26 -3
- package/sdk/models/shared/accountingcontact.js.map +1 -1
- package/sdk/models/shared/accountinginvoice.d.ts +23 -6
- package/sdk/models/shared/accountinginvoice.d.ts.map +1 -1
- package/sdk/models/shared/accountinginvoice.js +26 -3
- package/sdk/models/shared/accountinginvoice.js.map +1 -1
- package/sdk/models/shared/accountingjournal.d.ts +23 -6
- package/sdk/models/shared/accountingjournal.d.ts.map +1 -1
- package/sdk/models/shared/accountingjournal.js +26 -3
- package/sdk/models/shared/accountingjournal.js.map +1 -1
- package/sdk/models/shared/accountingorder.d.ts +23 -6
- package/sdk/models/shared/accountingorder.d.ts.map +1 -1
- package/sdk/models/shared/accountingorder.js +26 -3
- package/sdk/models/shared/accountingorder.js.map +1 -1
- package/sdk/models/shared/accountingorganization.d.ts +23 -6
- package/sdk/models/shared/accountingorganization.d.ts.map +1 -1
- package/sdk/models/shared/accountingorganization.js +26 -3
- package/sdk/models/shared/accountingorganization.js.map +1 -1
- package/sdk/models/shared/accountingtaxrate.d.ts +23 -6
- package/sdk/models/shared/accountingtaxrate.d.ts.map +1 -1
- package/sdk/models/shared/accountingtaxrate.js +26 -3
- package/sdk/models/shared/accountingtaxrate.js.map +1 -1
- package/sdk/models/shared/accountingtransaction.d.ts +23 -6
- package/sdk/models/shared/accountingtransaction.d.ts.map +1 -1
- package/sdk/models/shared/accountingtransaction.js +26 -3
- package/sdk/models/shared/accountingtransaction.js.map +1 -1
- package/sdk/models/shared/accountingtransactioncontact.d.ts +10 -2
- package/sdk/models/shared/accountingtransactioncontact.d.ts.map +1 -1
- package/sdk/models/shared/accountingtransactioncontact.js +21 -2
- package/sdk/models/shared/accountingtransactioncontact.js.map +1 -1
- package/sdk/models/shared/atsactivity.d.ts +23 -6
- package/sdk/models/shared/atsactivity.d.ts.map +1 -1
- package/sdk/models/shared/atsactivity.js +26 -3
- package/sdk/models/shared/atsactivity.js.map +1 -1
- package/sdk/models/shared/atsapplication.d.ts +23 -6
- package/sdk/models/shared/atsapplication.d.ts.map +1 -1
- package/sdk/models/shared/atsapplication.js +26 -3
- package/sdk/models/shared/atsapplication.js.map +1 -1
- package/sdk/models/shared/atscandidate.d.ts +23 -6
- package/sdk/models/shared/atscandidate.d.ts.map +1 -1
- package/sdk/models/shared/atscandidate.js +26 -3
- package/sdk/models/shared/atscandidate.js.map +1 -1
- package/sdk/models/shared/atscompany.d.ts +23 -6
- package/sdk/models/shared/atscompany.d.ts.map +1 -1
- package/sdk/models/shared/atscompany.js +26 -3
- package/sdk/models/shared/atscompany.js.map +1 -1
- package/sdk/models/shared/atsdocument.d.ts +23 -6
- package/sdk/models/shared/atsdocument.d.ts.map +1 -1
- package/sdk/models/shared/atsdocument.js +26 -3
- package/sdk/models/shared/atsdocument.js.map +1 -1
- package/sdk/models/shared/atsinterview.d.ts +23 -6
- package/sdk/models/shared/atsinterview.d.ts.map +1 -1
- package/sdk/models/shared/atsinterview.js +26 -3
- package/sdk/models/shared/atsinterview.js.map +1 -1
- package/sdk/models/shared/atsjob.d.ts +29 -6
- package/sdk/models/shared/atsjob.d.ts.map +1 -1
- package/sdk/models/shared/atsjob.js +29 -3
- package/sdk/models/shared/atsjob.js.map +1 -1
- package/sdk/models/shared/atsjobposting.d.ts +49 -0
- package/sdk/models/shared/atsjobposting.d.ts.map +1 -0
- package/sdk/models/shared/atsjobposting.js +93 -0
- package/sdk/models/shared/atsjobposting.js.map +1 -0
- package/sdk/models/shared/atsoffer.d.ts +85 -2
- package/sdk/models/shared/atsoffer.d.ts.map +1 -1
- package/sdk/models/shared/atsoffer.js +103 -3
- package/sdk/models/shared/atsoffer.js.map +1 -1
- package/sdk/models/shared/atsscorecard.d.ts +23 -6
- package/sdk/models/shared/atsscorecard.d.ts.map +1 -1
- package/sdk/models/shared/atsscorecard.js +26 -3
- package/sdk/models/shared/atsscorecard.js.map +1 -1
- package/sdk/models/shared/atsstatus.d.ts +23 -6
- package/sdk/models/shared/atsstatus.d.ts.map +1 -1
- package/sdk/models/shared/atsstatus.js +26 -3
- package/sdk/models/shared/atsstatus.js.map +1 -1
- package/sdk/models/shared/commercecollection.d.ts +15 -15
- package/sdk/models/shared/commercecollection.d.ts.map +1 -1
- package/sdk/models/shared/commercecollection.js +18 -20
- package/sdk/models/shared/commercecollection.js.map +1 -1
- package/sdk/models/shared/crmcompany.d.ts +26 -9
- package/sdk/models/shared/crmcompany.d.ts.map +1 -1
- package/sdk/models/shared/crmcompany.js +26 -3
- package/sdk/models/shared/crmcompany.js.map +1 -1
- package/sdk/models/shared/crmcontact.d.ts +26 -9
- package/sdk/models/shared/crmcontact.d.ts.map +1 -1
- package/sdk/models/shared/crmcontact.js +26 -3
- package/sdk/models/shared/crmcontact.js.map +1 -1
- package/sdk/models/shared/crmdeal.d.ts +27 -9
- package/sdk/models/shared/crmdeal.d.ts.map +1 -1
- package/sdk/models/shared/crmdeal.js +34 -3
- package/sdk/models/shared/crmdeal.js.map +1 -1
- package/sdk/models/shared/crmevent.d.ts +23 -9
- package/sdk/models/shared/crmevent.d.ts.map +1 -1
- package/sdk/models/shared/crmevent.js +26 -3
- package/sdk/models/shared/crmevent.js.map +1 -1
- package/sdk/models/shared/crmeventformfield.d.ts +3 -0
- package/sdk/models/shared/crmeventformfield.d.ts.map +1 -1
- package/sdk/models/shared/crmeventformfield.js +1 -0
- package/sdk/models/shared/crmeventformfield.js.map +1 -1
- package/sdk/models/shared/crmlead.d.ts +23 -6
- package/sdk/models/shared/crmlead.d.ts.map +1 -1
- package/sdk/models/shared/crmlead.js +26 -3
- package/sdk/models/shared/crmlead.js.map +1 -1
- package/sdk/models/shared/crmpipeline.d.ts +23 -6
- package/sdk/models/shared/crmpipeline.d.ts.map +1 -1
- package/sdk/models/shared/crmpipeline.js +26 -3
- package/sdk/models/shared/crmpipeline.js.map +1 -1
- package/sdk/models/shared/hriscompany.d.ts +23 -6
- package/sdk/models/shared/hriscompany.d.ts.map +1 -1
- package/sdk/models/shared/hriscompany.js +26 -3
- package/sdk/models/shared/hriscompany.js.map +1 -1
- package/sdk/models/shared/hrisemployee.d.ts +23 -6
- package/sdk/models/shared/hrisemployee.d.ts.map +1 -1
- package/sdk/models/shared/hrisemployee.js +26 -3
- package/sdk/models/shared/hrisemployee.js.map +1 -1
- package/sdk/models/shared/hrisgroup.d.ts +23 -6
- package/sdk/models/shared/hrisgroup.d.ts.map +1 -1
- package/sdk/models/shared/hrisgroup.js +26 -3
- package/sdk/models/shared/hrisgroup.js.map +1 -1
- package/sdk/models/shared/hrislocation.d.ts +23 -6
- package/sdk/models/shared/hrislocation.d.ts.map +1 -1
- package/sdk/models/shared/hrislocation.js +26 -3
- package/sdk/models/shared/hrislocation.js.map +1 -1
- package/sdk/models/shared/hrispayslip.d.ts +27 -8
- package/sdk/models/shared/hrispayslip.d.ts.map +1 -1
- package/sdk/models/shared/hrispayslip.js +32 -5
- package/sdk/models/shared/hrispayslip.js.map +1 -1
- package/sdk/models/shared/hristimeoff.d.ts +27 -8
- package/sdk/models/shared/hristimeoff.d.ts.map +1 -1
- package/sdk/models/shared/hristimeoff.js +32 -5
- package/sdk/models/shared/hristimeoff.js.map +1 -1
- package/sdk/models/shared/index.d.ts +2 -0
- package/sdk/models/shared/index.d.ts.map +1 -1
- package/sdk/models/shared/index.js +2 -0
- package/sdk/models/shared/index.js.map +1 -1
- package/sdk/models/shared/propertyatsjobpostingaddress.d.ts +46 -0
- package/sdk/models/shared/propertyatsjobpostingaddress.d.ts.map +1 -0
- package/sdk/models/shared/propertyatsjobpostingaddress.js +86 -0
- package/sdk/models/shared/propertyatsjobpostingaddress.js.map +1 -0
- package/src/lib/config.ts +3 -3
- package/src/sdk/models/shared/accountingaccount.ts +44 -7
- package/src/sdk/models/shared/accountingcontact.ts +54 -4
- package/src/sdk/models/shared/accountinginvoice.ts +54 -4
- package/src/sdk/models/shared/accountingjournal.ts +54 -4
- package/src/sdk/models/shared/accountingorder.ts +54 -4
- package/src/sdk/models/shared/accountingorganization.ts +54 -4
- package/src/sdk/models/shared/accountingtaxrate.ts +54 -4
- package/src/sdk/models/shared/accountingtransaction.ts +54 -4
- package/src/sdk/models/shared/accountingtransactioncontact.ts +31 -4
- package/src/sdk/models/shared/atsactivity.ts +50 -4
- package/src/sdk/models/shared/atsapplication.ts +54 -4
- package/src/sdk/models/shared/atscandidate.ts +52 -4
- package/src/sdk/models/shared/atscompany.ts +50 -4
- package/src/sdk/models/shared/atsdocument.ts +50 -4
- package/src/sdk/models/shared/atsinterview.ts +52 -4
- package/src/sdk/models/shared/atsjob.ts +63 -4
- package/src/sdk/models/shared/atsjobposting.ts +120 -0
- package/src/sdk/models/shared/atsoffer.ts +170 -4
- package/src/sdk/models/shared/atsscorecard.ts +52 -4
- package/src/sdk/models/shared/atsstatus.ts +50 -4
- package/src/sdk/models/shared/commercecollection.ts +33 -23
- package/src/sdk/models/shared/crmcompany.ts +53 -7
- package/src/sdk/models/shared/crmcontact.ts +53 -7
- package/src/sdk/models/shared/crmdeal.ts +62 -7
- package/src/sdk/models/shared/crmevent.ts +50 -7
- package/src/sdk/models/shared/crmeventformfield.ts +1 -0
- package/src/sdk/models/shared/crmlead.ts +50 -4
- package/src/sdk/models/shared/crmpipeline.ts +50 -4
- package/src/sdk/models/shared/hriscompany.ts +50 -4
- package/src/sdk/models/shared/hrisemployee.ts +52 -4
- package/src/sdk/models/shared/hrisgroup.ts +50 -4
- package/src/sdk/models/shared/hrislocation.ts +52 -4
- package/src/sdk/models/shared/hrispayslip.ts +60 -8
- package/src/sdk/models/shared/hristimeoff.ts +60 -8
- package/src/sdk/models/shared/index.ts +2 -0
- package/src/sdk/models/shared/propertyatsjobpostingaddress.ts +112 -0
|
@@ -14,6 +14,8 @@ import {
|
|
|
14
14
|
PropertyAccountingOrganizationAddress$outboundSchema,
|
|
15
15
|
} from "./propertyaccountingorganizationaddress.js";
|
|
16
16
|
|
|
17
|
+
export type AccountingOrganizationRaw = {};
|
|
18
|
+
|
|
17
19
|
export type AccountingOrganization = {
|
|
18
20
|
address?: PropertyAccountingOrganizationAddress | undefined;
|
|
19
21
|
createdAt?: Date | undefined;
|
|
@@ -23,13 +25,61 @@ export type AccountingOrganization = {
|
|
|
23
25
|
legalName?: string | undefined;
|
|
24
26
|
name: string;
|
|
25
27
|
organizationCode?: string | undefined;
|
|
26
|
-
raw?:
|
|
28
|
+
raw?: AccountingOrganizationRaw | undefined;
|
|
27
29
|
taxNumber?: string | undefined;
|
|
28
30
|
timezone?: string | undefined;
|
|
29
31
|
updatedAt?: Date | undefined;
|
|
30
32
|
website?: string | undefined;
|
|
31
33
|
};
|
|
32
34
|
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const AccountingOrganizationRaw$inboundSchema: z.ZodType<
|
|
37
|
+
AccountingOrganizationRaw,
|
|
38
|
+
z.ZodTypeDef,
|
|
39
|
+
unknown
|
|
40
|
+
> = z.object({});
|
|
41
|
+
|
|
42
|
+
/** @internal */
|
|
43
|
+
export type AccountingOrganizationRaw$Outbound = {};
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const AccountingOrganizationRaw$outboundSchema: z.ZodType<
|
|
47
|
+
AccountingOrganizationRaw$Outbound,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
AccountingOrganizationRaw
|
|
50
|
+
> = z.object({});
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
55
|
+
*/
|
|
56
|
+
export namespace AccountingOrganizationRaw$ {
|
|
57
|
+
/** @deprecated use `AccountingOrganizationRaw$inboundSchema` instead. */
|
|
58
|
+
export const inboundSchema = AccountingOrganizationRaw$inboundSchema;
|
|
59
|
+
/** @deprecated use `AccountingOrganizationRaw$outboundSchema` instead. */
|
|
60
|
+
export const outboundSchema = AccountingOrganizationRaw$outboundSchema;
|
|
61
|
+
/** @deprecated use `AccountingOrganizationRaw$Outbound` instead. */
|
|
62
|
+
export type Outbound = AccountingOrganizationRaw$Outbound;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function accountingOrganizationRawToJSON(
|
|
66
|
+
accountingOrganizationRaw: AccountingOrganizationRaw,
|
|
67
|
+
): string {
|
|
68
|
+
return JSON.stringify(
|
|
69
|
+
AccountingOrganizationRaw$outboundSchema.parse(accountingOrganizationRaw),
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function accountingOrganizationRawFromJSON(
|
|
74
|
+
jsonString: string,
|
|
75
|
+
): SafeParseResult<AccountingOrganizationRaw, SDKValidationError> {
|
|
76
|
+
return safeParse(
|
|
77
|
+
jsonString,
|
|
78
|
+
(x) => AccountingOrganizationRaw$inboundSchema.parse(JSON.parse(x)),
|
|
79
|
+
`Failed to parse 'AccountingOrganizationRaw' from JSON`,
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
|
|
33
83
|
/** @internal */
|
|
34
84
|
export const AccountingOrganization$inboundSchema: z.ZodType<
|
|
35
85
|
AccountingOrganization,
|
|
@@ -45,7 +95,7 @@ export const AccountingOrganization$inboundSchema: z.ZodType<
|
|
|
45
95
|
legal_name: z.string().optional(),
|
|
46
96
|
name: z.string(),
|
|
47
97
|
organization_code: z.string().optional(),
|
|
48
|
-
raw: z.
|
|
98
|
+
raw: z.lazy(() => AccountingOrganizationRaw$inboundSchema).optional(),
|
|
49
99
|
tax_number: z.string().optional(),
|
|
50
100
|
timezone: z.string().optional(),
|
|
51
101
|
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
@@ -72,7 +122,7 @@ export type AccountingOrganization$Outbound = {
|
|
|
72
122
|
legal_name?: string | undefined;
|
|
73
123
|
name: string;
|
|
74
124
|
organization_code?: string | undefined;
|
|
75
|
-
raw?:
|
|
125
|
+
raw?: AccountingOrganizationRaw$Outbound | undefined;
|
|
76
126
|
tax_number?: string | undefined;
|
|
77
127
|
timezone?: string | undefined;
|
|
78
128
|
updated_at?: string | undefined;
|
|
@@ -93,7 +143,7 @@ export const AccountingOrganization$outboundSchema: z.ZodType<
|
|
|
93
143
|
legalName: z.string().optional(),
|
|
94
144
|
name: z.string(),
|
|
95
145
|
organizationCode: z.string().optional(),
|
|
96
|
-
raw: z.
|
|
146
|
+
raw: z.lazy(() => AccountingOrganizationRaw$outboundSchema).optional(),
|
|
97
147
|
taxNumber: z.string().optional(),
|
|
98
148
|
timezone: z.string().optional(),
|
|
99
149
|
updatedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
@@ -8,6 +8,8 @@ import { safeParse } from "../../../lib/schemas.js";
|
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
|
+
export type AccountingTaxrateRaw = {};
|
|
12
|
+
|
|
11
13
|
export type AccountingTaxrate = {
|
|
12
14
|
createdAt?: Date | undefined;
|
|
13
15
|
description?: string | undefined;
|
|
@@ -15,10 +17,58 @@ export type AccountingTaxrate = {
|
|
|
15
17
|
isActive?: boolean | undefined;
|
|
16
18
|
name?: string | undefined;
|
|
17
19
|
rate?: number | undefined;
|
|
18
|
-
raw?:
|
|
20
|
+
raw?: AccountingTaxrateRaw | undefined;
|
|
19
21
|
updatedAt?: Date | undefined;
|
|
20
22
|
};
|
|
21
23
|
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const AccountingTaxrateRaw$inboundSchema: z.ZodType<
|
|
26
|
+
AccountingTaxrateRaw,
|
|
27
|
+
z.ZodTypeDef,
|
|
28
|
+
unknown
|
|
29
|
+
> = z.object({});
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export type AccountingTaxrateRaw$Outbound = {};
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const AccountingTaxrateRaw$outboundSchema: z.ZodType<
|
|
36
|
+
AccountingTaxrateRaw$Outbound,
|
|
37
|
+
z.ZodTypeDef,
|
|
38
|
+
AccountingTaxrateRaw
|
|
39
|
+
> = z.object({});
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* @internal
|
|
43
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
44
|
+
*/
|
|
45
|
+
export namespace AccountingTaxrateRaw$ {
|
|
46
|
+
/** @deprecated use `AccountingTaxrateRaw$inboundSchema` instead. */
|
|
47
|
+
export const inboundSchema = AccountingTaxrateRaw$inboundSchema;
|
|
48
|
+
/** @deprecated use `AccountingTaxrateRaw$outboundSchema` instead. */
|
|
49
|
+
export const outboundSchema = AccountingTaxrateRaw$outboundSchema;
|
|
50
|
+
/** @deprecated use `AccountingTaxrateRaw$Outbound` instead. */
|
|
51
|
+
export type Outbound = AccountingTaxrateRaw$Outbound;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function accountingTaxrateRawToJSON(
|
|
55
|
+
accountingTaxrateRaw: AccountingTaxrateRaw,
|
|
56
|
+
): string {
|
|
57
|
+
return JSON.stringify(
|
|
58
|
+
AccountingTaxrateRaw$outboundSchema.parse(accountingTaxrateRaw),
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function accountingTaxrateRawFromJSON(
|
|
63
|
+
jsonString: string,
|
|
64
|
+
): SafeParseResult<AccountingTaxrateRaw, SDKValidationError> {
|
|
65
|
+
return safeParse(
|
|
66
|
+
jsonString,
|
|
67
|
+
(x) => AccountingTaxrateRaw$inboundSchema.parse(JSON.parse(x)),
|
|
68
|
+
`Failed to parse 'AccountingTaxrateRaw' from JSON`,
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
|
|
22
72
|
/** @internal */
|
|
23
73
|
export const AccountingTaxrate$inboundSchema: z.ZodType<
|
|
24
74
|
AccountingTaxrate,
|
|
@@ -32,7 +82,7 @@ export const AccountingTaxrate$inboundSchema: z.ZodType<
|
|
|
32
82
|
is_active: z.boolean().optional(),
|
|
33
83
|
name: z.string().optional(),
|
|
34
84
|
rate: z.number().optional(),
|
|
35
|
-
raw: z.
|
|
85
|
+
raw: z.lazy(() => AccountingTaxrateRaw$inboundSchema).optional(),
|
|
36
86
|
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
37
87
|
.optional(),
|
|
38
88
|
}).transform((v) => {
|
|
@@ -51,7 +101,7 @@ export type AccountingTaxrate$Outbound = {
|
|
|
51
101
|
is_active?: boolean | undefined;
|
|
52
102
|
name?: string | undefined;
|
|
53
103
|
rate?: number | undefined;
|
|
54
|
-
raw?:
|
|
104
|
+
raw?: AccountingTaxrateRaw$Outbound | undefined;
|
|
55
105
|
updated_at?: string | undefined;
|
|
56
106
|
};
|
|
57
107
|
|
|
@@ -67,7 +117,7 @@ export const AccountingTaxrate$outboundSchema: z.ZodType<
|
|
|
67
117
|
isActive: z.boolean().optional(),
|
|
68
118
|
name: z.string().optional(),
|
|
69
119
|
rate: z.number().optional(),
|
|
70
|
-
raw: z.
|
|
120
|
+
raw: z.lazy(() => AccountingTaxrateRaw$outboundSchema).optional(),
|
|
71
121
|
updatedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
72
122
|
}).transform((v) => {
|
|
73
123
|
return remap$(v, {
|
|
@@ -20,6 +20,8 @@ import {
|
|
|
20
20
|
AccountingTransactionLineItem$outboundSchema,
|
|
21
21
|
} from "./accountingtransactionlineitem.js";
|
|
22
22
|
|
|
23
|
+
export type AccountingTransactionRaw = {};
|
|
24
|
+
|
|
23
25
|
export type AccountingTransaction = {
|
|
24
26
|
accountId?: string | undefined;
|
|
25
27
|
contactId?: string | undefined;
|
|
@@ -32,7 +34,7 @@ export type AccountingTransaction = {
|
|
|
32
34
|
memo?: string | undefined;
|
|
33
35
|
paymentMethod?: string | undefined;
|
|
34
36
|
paymentTerms?: string | undefined;
|
|
35
|
-
raw?:
|
|
37
|
+
raw?: AccountingTransactionRaw | undefined;
|
|
36
38
|
reference?: string | undefined;
|
|
37
39
|
splitAccountId?: string | undefined;
|
|
38
40
|
subTotalAmount?: number | undefined;
|
|
@@ -42,6 +44,54 @@ export type AccountingTransaction = {
|
|
|
42
44
|
updatedAt?: Date | undefined;
|
|
43
45
|
};
|
|
44
46
|
|
|
47
|
+
/** @internal */
|
|
48
|
+
export const AccountingTransactionRaw$inboundSchema: z.ZodType<
|
|
49
|
+
AccountingTransactionRaw,
|
|
50
|
+
z.ZodTypeDef,
|
|
51
|
+
unknown
|
|
52
|
+
> = z.object({});
|
|
53
|
+
|
|
54
|
+
/** @internal */
|
|
55
|
+
export type AccountingTransactionRaw$Outbound = {};
|
|
56
|
+
|
|
57
|
+
/** @internal */
|
|
58
|
+
export const AccountingTransactionRaw$outboundSchema: z.ZodType<
|
|
59
|
+
AccountingTransactionRaw$Outbound,
|
|
60
|
+
z.ZodTypeDef,
|
|
61
|
+
AccountingTransactionRaw
|
|
62
|
+
> = z.object({});
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
67
|
+
*/
|
|
68
|
+
export namespace AccountingTransactionRaw$ {
|
|
69
|
+
/** @deprecated use `AccountingTransactionRaw$inboundSchema` instead. */
|
|
70
|
+
export const inboundSchema = AccountingTransactionRaw$inboundSchema;
|
|
71
|
+
/** @deprecated use `AccountingTransactionRaw$outboundSchema` instead. */
|
|
72
|
+
export const outboundSchema = AccountingTransactionRaw$outboundSchema;
|
|
73
|
+
/** @deprecated use `AccountingTransactionRaw$Outbound` instead. */
|
|
74
|
+
export type Outbound = AccountingTransactionRaw$Outbound;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function accountingTransactionRawToJSON(
|
|
78
|
+
accountingTransactionRaw: AccountingTransactionRaw,
|
|
79
|
+
): string {
|
|
80
|
+
return JSON.stringify(
|
|
81
|
+
AccountingTransactionRaw$outboundSchema.parse(accountingTransactionRaw),
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export function accountingTransactionRawFromJSON(
|
|
86
|
+
jsonString: string,
|
|
87
|
+
): SafeParseResult<AccountingTransactionRaw, SDKValidationError> {
|
|
88
|
+
return safeParse(
|
|
89
|
+
jsonString,
|
|
90
|
+
(x) => AccountingTransactionRaw$inboundSchema.parse(JSON.parse(x)),
|
|
91
|
+
`Failed to parse 'AccountingTransactionRaw' from JSON`,
|
|
92
|
+
);
|
|
93
|
+
}
|
|
94
|
+
|
|
45
95
|
/** @internal */
|
|
46
96
|
export const AccountingTransaction$inboundSchema: z.ZodType<
|
|
47
97
|
AccountingTransaction,
|
|
@@ -60,7 +110,7 @@ export const AccountingTransaction$inboundSchema: z.ZodType<
|
|
|
60
110
|
memo: z.string().optional(),
|
|
61
111
|
payment_method: z.string().optional(),
|
|
62
112
|
payment_terms: z.string().optional(),
|
|
63
|
-
raw: z.
|
|
113
|
+
raw: z.lazy(() => AccountingTransactionRaw$inboundSchema).optional(),
|
|
64
114
|
reference: z.string().optional(),
|
|
65
115
|
split_account_id: z.string().optional(),
|
|
66
116
|
sub_total_amount: z.number().optional(),
|
|
@@ -98,7 +148,7 @@ export type AccountingTransaction$Outbound = {
|
|
|
98
148
|
memo?: string | undefined;
|
|
99
149
|
payment_method?: string | undefined;
|
|
100
150
|
payment_terms?: string | undefined;
|
|
101
|
-
raw?:
|
|
151
|
+
raw?: AccountingTransactionRaw$Outbound | undefined;
|
|
102
152
|
reference?: string | undefined;
|
|
103
153
|
split_account_id?: string | undefined;
|
|
104
154
|
sub_total_amount?: number | undefined;
|
|
@@ -125,7 +175,7 @@ export const AccountingTransaction$outboundSchema: z.ZodType<
|
|
|
125
175
|
memo: z.string().optional(),
|
|
126
176
|
paymentMethod: z.string().optional(),
|
|
127
177
|
paymentTerms: z.string().optional(),
|
|
128
|
-
raw: z.
|
|
178
|
+
raw: z.lazy(() => AccountingTransactionRaw$outboundSchema).optional(),
|
|
129
179
|
reference: z.string().optional(),
|
|
130
180
|
splitAccountId: z.string().optional(),
|
|
131
181
|
subTotalAmount: z.number().optional(),
|
|
@@ -3,28 +3,55 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
6
7
|
import { safeParse } from "../../../lib/schemas.js";
|
|
7
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
10
|
|
|
10
|
-
export type AccountingTransactionContact = {
|
|
11
|
+
export type AccountingTransactionContact = {
|
|
12
|
+
id: string;
|
|
13
|
+
isCustomer?: boolean | undefined;
|
|
14
|
+
isSupplier?: boolean | undefined;
|
|
15
|
+
};
|
|
11
16
|
|
|
12
17
|
/** @internal */
|
|
13
18
|
export const AccountingTransactionContact$inboundSchema: z.ZodType<
|
|
14
19
|
AccountingTransactionContact,
|
|
15
20
|
z.ZodTypeDef,
|
|
16
21
|
unknown
|
|
17
|
-
> = z.object({
|
|
22
|
+
> = z.object({
|
|
23
|
+
id: z.string(),
|
|
24
|
+
is_customer: z.boolean().optional(),
|
|
25
|
+
is_supplier: z.boolean().optional(),
|
|
26
|
+
}).transform((v) => {
|
|
27
|
+
return remap$(v, {
|
|
28
|
+
"is_customer": "isCustomer",
|
|
29
|
+
"is_supplier": "isSupplier",
|
|
30
|
+
});
|
|
31
|
+
});
|
|
18
32
|
|
|
19
33
|
/** @internal */
|
|
20
|
-
export type AccountingTransactionContact$Outbound = {
|
|
34
|
+
export type AccountingTransactionContact$Outbound = {
|
|
35
|
+
id: string;
|
|
36
|
+
is_customer?: boolean | undefined;
|
|
37
|
+
is_supplier?: boolean | undefined;
|
|
38
|
+
};
|
|
21
39
|
|
|
22
40
|
/** @internal */
|
|
23
41
|
export const AccountingTransactionContact$outboundSchema: z.ZodType<
|
|
24
42
|
AccountingTransactionContact$Outbound,
|
|
25
43
|
z.ZodTypeDef,
|
|
26
44
|
AccountingTransactionContact
|
|
27
|
-
> = z.object({
|
|
45
|
+
> = z.object({
|
|
46
|
+
id: z.string(),
|
|
47
|
+
isCustomer: z.boolean().optional(),
|
|
48
|
+
isSupplier: z.boolean().optional(),
|
|
49
|
+
}).transform((v) => {
|
|
50
|
+
return remap$(v, {
|
|
51
|
+
isCustomer: "is_customer",
|
|
52
|
+
isSupplier: "is_supplier",
|
|
53
|
+
});
|
|
54
|
+
});
|
|
28
55
|
|
|
29
56
|
/**
|
|
30
57
|
* @internal
|
|
@@ -21,6 +21,8 @@ import {
|
|
|
21
21
|
PropertyAtsActivityFrom$outboundSchema,
|
|
22
22
|
} from "./propertyatsactivityfrom.js";
|
|
23
23
|
|
|
24
|
+
export type AtsActivityRaw = {};
|
|
25
|
+
|
|
24
26
|
export const AtsActivityType = {
|
|
25
27
|
Note: "NOTE",
|
|
26
28
|
Task: "TASK",
|
|
@@ -41,7 +43,7 @@ export type AtsActivity = {
|
|
|
41
43
|
interviewId?: string | undefined;
|
|
42
44
|
isPrivate?: boolean | undefined;
|
|
43
45
|
jobId?: string | undefined;
|
|
44
|
-
raw?:
|
|
46
|
+
raw?: AtsActivityRaw | undefined;
|
|
45
47
|
subType?: string | undefined;
|
|
46
48
|
title?: string | undefined;
|
|
47
49
|
to?: Array<AtsEmail> | undefined;
|
|
@@ -53,6 +55,50 @@ export type AtsActivity = {
|
|
|
53
55
|
userIds?: Array<string> | undefined;
|
|
54
56
|
};
|
|
55
57
|
|
|
58
|
+
/** @internal */
|
|
59
|
+
export const AtsActivityRaw$inboundSchema: z.ZodType<
|
|
60
|
+
AtsActivityRaw,
|
|
61
|
+
z.ZodTypeDef,
|
|
62
|
+
unknown
|
|
63
|
+
> = z.object({});
|
|
64
|
+
|
|
65
|
+
/** @internal */
|
|
66
|
+
export type AtsActivityRaw$Outbound = {};
|
|
67
|
+
|
|
68
|
+
/** @internal */
|
|
69
|
+
export const AtsActivityRaw$outboundSchema: z.ZodType<
|
|
70
|
+
AtsActivityRaw$Outbound,
|
|
71
|
+
z.ZodTypeDef,
|
|
72
|
+
AtsActivityRaw
|
|
73
|
+
> = z.object({});
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
78
|
+
*/
|
|
79
|
+
export namespace AtsActivityRaw$ {
|
|
80
|
+
/** @deprecated use `AtsActivityRaw$inboundSchema` instead. */
|
|
81
|
+
export const inboundSchema = AtsActivityRaw$inboundSchema;
|
|
82
|
+
/** @deprecated use `AtsActivityRaw$outboundSchema` instead. */
|
|
83
|
+
export const outboundSchema = AtsActivityRaw$outboundSchema;
|
|
84
|
+
/** @deprecated use `AtsActivityRaw$Outbound` instead. */
|
|
85
|
+
export type Outbound = AtsActivityRaw$Outbound;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function atsActivityRawToJSON(atsActivityRaw: AtsActivityRaw): string {
|
|
89
|
+
return JSON.stringify(AtsActivityRaw$outboundSchema.parse(atsActivityRaw));
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function atsActivityRawFromJSON(
|
|
93
|
+
jsonString: string,
|
|
94
|
+
): SafeParseResult<AtsActivityRaw, SDKValidationError> {
|
|
95
|
+
return safeParse(
|
|
96
|
+
jsonString,
|
|
97
|
+
(x) => AtsActivityRaw$inboundSchema.parse(JSON.parse(x)),
|
|
98
|
+
`Failed to parse 'AtsActivityRaw' from JSON`,
|
|
99
|
+
);
|
|
100
|
+
}
|
|
101
|
+
|
|
56
102
|
/** @internal */
|
|
57
103
|
export const AtsActivityType$inboundSchema: z.ZodNativeEnum<
|
|
58
104
|
typeof AtsActivityType
|
|
@@ -93,7 +139,7 @@ export const AtsActivity$inboundSchema: z.ZodType<
|
|
|
93
139
|
interview_id: z.string().optional(),
|
|
94
140
|
is_private: z.boolean().optional(),
|
|
95
141
|
job_id: z.string().optional(),
|
|
96
|
-
raw: z.
|
|
142
|
+
raw: z.lazy(() => AtsActivityRaw$inboundSchema).optional(),
|
|
97
143
|
sub_type: z.string().optional(),
|
|
98
144
|
title: z.string().optional(),
|
|
99
145
|
to: z.array(AtsEmail$inboundSchema).optional(),
|
|
@@ -130,7 +176,7 @@ export type AtsActivity$Outbound = {
|
|
|
130
176
|
interview_id?: string | undefined;
|
|
131
177
|
is_private?: boolean | undefined;
|
|
132
178
|
job_id?: string | undefined;
|
|
133
|
-
raw?:
|
|
179
|
+
raw?: AtsActivityRaw$Outbound | undefined;
|
|
134
180
|
sub_type?: string | undefined;
|
|
135
181
|
title?: string | undefined;
|
|
136
182
|
to?: Array<AtsEmail$Outbound> | undefined;
|
|
@@ -157,7 +203,7 @@ export const AtsActivity$outboundSchema: z.ZodType<
|
|
|
157
203
|
interviewId: z.string().optional(),
|
|
158
204
|
isPrivate: z.boolean().optional(),
|
|
159
205
|
jobId: z.string().optional(),
|
|
160
|
-
raw: z.
|
|
206
|
+
raw: z.lazy(() => AtsActivityRaw$outboundSchema).optional(),
|
|
161
207
|
subType: z.string().optional(),
|
|
162
208
|
title: z.string().optional(),
|
|
163
209
|
to: z.array(AtsEmail$outboundSchema).optional(),
|
|
@@ -21,6 +21,8 @@ import {
|
|
|
21
21
|
AtsOffer$outboundSchema,
|
|
22
22
|
} from "./atsoffer.js";
|
|
23
23
|
|
|
24
|
+
export type AtsApplicationRaw = {};
|
|
25
|
+
|
|
24
26
|
export const AtsApplicationStatus = {
|
|
25
27
|
New: "NEW",
|
|
26
28
|
Reviewing: "REVIEWING",
|
|
@@ -49,7 +51,7 @@ export type AtsApplication = {
|
|
|
49
51
|
jobId?: string | undefined;
|
|
50
52
|
offers?: Array<AtsOffer> | undefined;
|
|
51
53
|
originalStatus?: string | undefined;
|
|
52
|
-
raw?:
|
|
54
|
+
raw?: AtsApplicationRaw | undefined;
|
|
53
55
|
rejectedAt?: Date | undefined;
|
|
54
56
|
rejectedReason?: string | undefined;
|
|
55
57
|
source?: string | undefined;
|
|
@@ -57,6 +59,54 @@ export type AtsApplication = {
|
|
|
57
59
|
updatedAt?: Date | undefined;
|
|
58
60
|
};
|
|
59
61
|
|
|
62
|
+
/** @internal */
|
|
63
|
+
export const AtsApplicationRaw$inboundSchema: z.ZodType<
|
|
64
|
+
AtsApplicationRaw,
|
|
65
|
+
z.ZodTypeDef,
|
|
66
|
+
unknown
|
|
67
|
+
> = z.object({});
|
|
68
|
+
|
|
69
|
+
/** @internal */
|
|
70
|
+
export type AtsApplicationRaw$Outbound = {};
|
|
71
|
+
|
|
72
|
+
/** @internal */
|
|
73
|
+
export const AtsApplicationRaw$outboundSchema: z.ZodType<
|
|
74
|
+
AtsApplicationRaw$Outbound,
|
|
75
|
+
z.ZodTypeDef,
|
|
76
|
+
AtsApplicationRaw
|
|
77
|
+
> = z.object({});
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
82
|
+
*/
|
|
83
|
+
export namespace AtsApplicationRaw$ {
|
|
84
|
+
/** @deprecated use `AtsApplicationRaw$inboundSchema` instead. */
|
|
85
|
+
export const inboundSchema = AtsApplicationRaw$inboundSchema;
|
|
86
|
+
/** @deprecated use `AtsApplicationRaw$outboundSchema` instead. */
|
|
87
|
+
export const outboundSchema = AtsApplicationRaw$outboundSchema;
|
|
88
|
+
/** @deprecated use `AtsApplicationRaw$Outbound` instead. */
|
|
89
|
+
export type Outbound = AtsApplicationRaw$Outbound;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function atsApplicationRawToJSON(
|
|
93
|
+
atsApplicationRaw: AtsApplicationRaw,
|
|
94
|
+
): string {
|
|
95
|
+
return JSON.stringify(
|
|
96
|
+
AtsApplicationRaw$outboundSchema.parse(atsApplicationRaw),
|
|
97
|
+
);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export function atsApplicationRawFromJSON(
|
|
101
|
+
jsonString: string,
|
|
102
|
+
): SafeParseResult<AtsApplicationRaw, SDKValidationError> {
|
|
103
|
+
return safeParse(
|
|
104
|
+
jsonString,
|
|
105
|
+
(x) => AtsApplicationRaw$inboundSchema.parse(JSON.parse(x)),
|
|
106
|
+
`Failed to parse 'AtsApplicationRaw' from JSON`,
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
|
|
60
110
|
/** @internal */
|
|
61
111
|
export const AtsApplicationStatus$inboundSchema: z.ZodNativeEnum<
|
|
62
112
|
typeof AtsApplicationStatus
|
|
@@ -96,7 +146,7 @@ export const AtsApplication$inboundSchema: z.ZodType<
|
|
|
96
146
|
job_id: z.string().optional(),
|
|
97
147
|
offers: z.array(AtsOffer$inboundSchema).optional(),
|
|
98
148
|
original_status: z.string().optional(),
|
|
99
|
-
raw: z.
|
|
149
|
+
raw: z.lazy(() => AtsApplicationRaw$inboundSchema).optional(),
|
|
100
150
|
rejected_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
101
151
|
.optional(),
|
|
102
152
|
rejected_reason: z.string().optional(),
|
|
@@ -129,7 +179,7 @@ export type AtsApplication$Outbound = {
|
|
|
129
179
|
job_id?: string | undefined;
|
|
130
180
|
offers?: Array<AtsOffer$Outbound> | undefined;
|
|
131
181
|
original_status?: string | undefined;
|
|
132
|
-
raw?:
|
|
182
|
+
raw?: AtsApplicationRaw$Outbound | undefined;
|
|
133
183
|
rejected_at?: string | undefined;
|
|
134
184
|
rejected_reason?: string | undefined;
|
|
135
185
|
source?: string | undefined;
|
|
@@ -152,7 +202,7 @@ export const AtsApplication$outboundSchema: z.ZodType<
|
|
|
152
202
|
jobId: z.string().optional(),
|
|
153
203
|
offers: z.array(AtsOffer$outboundSchema).optional(),
|
|
154
204
|
originalStatus: z.string().optional(),
|
|
155
|
-
raw: z.
|
|
205
|
+
raw: z.lazy(() => AtsApplicationRaw$outboundSchema).optional(),
|
|
156
206
|
rejectedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
157
207
|
rejectedReason: z.string().optional(),
|
|
158
208
|
source: z.string().optional(),
|
|
@@ -37,6 +37,8 @@ export const Origin = {
|
|
|
37
37
|
} as const;
|
|
38
38
|
export type Origin = ClosedEnum<typeof Origin>;
|
|
39
39
|
|
|
40
|
+
export type AtsCandidateRaw = {};
|
|
41
|
+
|
|
40
42
|
export type AtsCandidate = {
|
|
41
43
|
address?: PropertyAtsCandidateAddress | undefined;
|
|
42
44
|
companyId?: string | undefined;
|
|
@@ -53,7 +55,7 @@ export type AtsCandidate = {
|
|
|
53
55
|
linkUrls?: Array<string> | undefined;
|
|
54
56
|
name?: string | undefined;
|
|
55
57
|
origin?: Origin | undefined;
|
|
56
|
-
raw?:
|
|
58
|
+
raw?: AtsCandidateRaw | undefined;
|
|
57
59
|
sources?: Array<string> | undefined;
|
|
58
60
|
tags?: Array<string> | undefined;
|
|
59
61
|
telephones?: Array<AtsTelephone> | undefined;
|
|
@@ -82,6 +84,52 @@ export namespace Origin$ {
|
|
|
82
84
|
export const outboundSchema = Origin$outboundSchema;
|
|
83
85
|
}
|
|
84
86
|
|
|
87
|
+
/** @internal */
|
|
88
|
+
export const AtsCandidateRaw$inboundSchema: z.ZodType<
|
|
89
|
+
AtsCandidateRaw,
|
|
90
|
+
z.ZodTypeDef,
|
|
91
|
+
unknown
|
|
92
|
+
> = z.object({});
|
|
93
|
+
|
|
94
|
+
/** @internal */
|
|
95
|
+
export type AtsCandidateRaw$Outbound = {};
|
|
96
|
+
|
|
97
|
+
/** @internal */
|
|
98
|
+
export const AtsCandidateRaw$outboundSchema: z.ZodType<
|
|
99
|
+
AtsCandidateRaw$Outbound,
|
|
100
|
+
z.ZodTypeDef,
|
|
101
|
+
AtsCandidateRaw
|
|
102
|
+
> = z.object({});
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* @internal
|
|
106
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
107
|
+
*/
|
|
108
|
+
export namespace AtsCandidateRaw$ {
|
|
109
|
+
/** @deprecated use `AtsCandidateRaw$inboundSchema` instead. */
|
|
110
|
+
export const inboundSchema = AtsCandidateRaw$inboundSchema;
|
|
111
|
+
/** @deprecated use `AtsCandidateRaw$outboundSchema` instead. */
|
|
112
|
+
export const outboundSchema = AtsCandidateRaw$outboundSchema;
|
|
113
|
+
/** @deprecated use `AtsCandidateRaw$Outbound` instead. */
|
|
114
|
+
export type Outbound = AtsCandidateRaw$Outbound;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export function atsCandidateRawToJSON(
|
|
118
|
+
atsCandidateRaw: AtsCandidateRaw,
|
|
119
|
+
): string {
|
|
120
|
+
return JSON.stringify(AtsCandidateRaw$outboundSchema.parse(atsCandidateRaw));
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export function atsCandidateRawFromJSON(
|
|
124
|
+
jsonString: string,
|
|
125
|
+
): SafeParseResult<AtsCandidateRaw, SDKValidationError> {
|
|
126
|
+
return safeParse(
|
|
127
|
+
jsonString,
|
|
128
|
+
(x) => AtsCandidateRaw$inboundSchema.parse(JSON.parse(x)),
|
|
129
|
+
`Failed to parse 'AtsCandidateRaw' from JSON`,
|
|
130
|
+
);
|
|
131
|
+
}
|
|
132
|
+
|
|
85
133
|
/** @internal */
|
|
86
134
|
export const AtsCandidate$inboundSchema: z.ZodType<
|
|
87
135
|
AtsCandidate,
|
|
@@ -103,7 +151,7 @@ export const AtsCandidate$inboundSchema: z.ZodType<
|
|
|
103
151
|
link_urls: z.array(z.string()).optional(),
|
|
104
152
|
name: z.string().optional(),
|
|
105
153
|
origin: Origin$inboundSchema.optional(),
|
|
106
|
-
raw: z.
|
|
154
|
+
raw: z.lazy(() => AtsCandidateRaw$inboundSchema).optional(),
|
|
107
155
|
sources: z.array(z.string()).optional(),
|
|
108
156
|
tags: z.array(z.string()).optional(),
|
|
109
157
|
telephones: z.array(AtsTelephone$inboundSchema).optional(),
|
|
@@ -141,7 +189,7 @@ export type AtsCandidate$Outbound = {
|
|
|
141
189
|
link_urls?: Array<string> | undefined;
|
|
142
190
|
name?: string | undefined;
|
|
143
191
|
origin?: string | undefined;
|
|
144
|
-
raw?:
|
|
192
|
+
raw?: AtsCandidateRaw$Outbound | undefined;
|
|
145
193
|
sources?: Array<string> | undefined;
|
|
146
194
|
tags?: Array<string> | undefined;
|
|
147
195
|
telephones?: Array<AtsTelephone$Outbound> | undefined;
|
|
@@ -169,7 +217,7 @@ export const AtsCandidate$outboundSchema: z.ZodType<
|
|
|
169
217
|
linkUrls: z.array(z.string()).optional(),
|
|
170
218
|
name: z.string().optional(),
|
|
171
219
|
origin: Origin$outboundSchema.optional(),
|
|
172
|
-
raw: z.
|
|
220
|
+
raw: z.lazy(() => AtsCandidateRaw$outboundSchema).optional(),
|
|
173
221
|
sources: z.array(z.string()).optional(),
|
|
174
222
|
tags: z.array(z.string()).optional(),
|
|
175
223
|
telephones: z.array(AtsTelephone$outboundSchema).optional(),
|