@financeable/aggregation 0.7.3 → 0.8.0
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/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +192 -14
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js +186 -19
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +1 -1
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts +192 -14
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -1
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js +191 -20
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +1 -1
- package/models/components/currencycodeiso4217.d.ts +25 -0
- package/models/components/currencycodeiso4217.d.ts.map +1 -0
- package/models/components/currencycodeiso4217.js +59 -0
- package/models/components/currencycodeiso4217.js.map +1 -0
- package/models/components/customerassetattributes.d.ts +37 -0
- package/models/components/customerassetattributes.d.ts.map +1 -0
- package/models/components/customerassetattributes.js +77 -0
- package/models/components/customerassetattributes.js.map +1 -0
- package/models/components/customerassettype.d.ts +46 -0
- package/models/components/customerassettype.d.ts.map +1 -0
- package/models/components/customerassettype.js +66 -0
- package/models/components/customerassettype.js.map +1 -0
- package/models/components/customerattributes.d.ts +14 -0
- package/models/components/customerattributes.d.ts.map +1 -1
- package/models/components/customerattributes.js +11 -0
- package/models/components/customerattributes.js.map +1 -1
- package/models/components/customerliabilityattributes.d.ts +46 -0
- package/models/components/customerliabilityattributes.d.ts.map +1 -0
- package/models/components/customerliabilityattributes.js +88 -0
- package/models/components/customerliabilityattributes.js.map +1 -0
- package/models/components/customerliabilityrepaymentfrequency.d.ts +31 -0
- package/models/components/customerliabilityrepaymentfrequency.d.ts.map +1 -0
- package/models/components/customerliabilityrepaymentfrequency.js +61 -0
- package/models/components/customerliabilityrepaymentfrequency.js.map +1 -0
- package/models/components/customerliabilitytype.d.ts +40 -0
- package/models/components/customerliabilitytype.d.ts.map +1 -0
- package/models/components/customerliabilitytype.js +64 -0
- package/models/components/customerliabilitytype.js.map +1 -0
- package/models/components/index.d.ts +11 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +11 -0
- package/models/components/index.js.map +1 -1
- package/models/components/livingarrangements.d.ts +34 -0
- package/models/components/livingarrangements.d.ts.map +1 -0
- package/models/components/livingarrangements.js +62 -0
- package/models/components/livingarrangements.js.map +1 -0
- package/models/components/loandetailsattributes.d.ts +252 -30
- package/models/components/loandetailsattributes.d.ts.map +1 -1
- package/models/components/loandetailsattributes.js +266 -19
- package/models/components/loandetailsattributes.js.map +1 -1
- package/models/components/maritalstatus.d.ts +28 -0
- package/models/components/maritalstatus.d.ts.map +1 -0
- package/models/components/maritalstatus.js +60 -0
- package/models/components/maritalstatus.js.map +1 -0
- package/models/components/monetaryquantity.d.ts +63 -0
- package/models/components/monetaryquantity.d.ts.map +1 -0
- package/models/components/monetaryquantity.js +93 -0
- package/models/components/monetaryquantity.js.map +1 -0
- package/models/components/percentagequantity.d.ts +57 -0
- package/models/components/percentagequantity.d.ts.map +1 -0
- package/models/components/percentagequantity.js +89 -0
- package/models/components/percentagequantity.js.map +1 -0
- package/models/components/residencystatus.d.ts +37 -0
- package/models/components/residencystatus.d.ts.map +1 -0
- package/models/components/residencystatus.js +63 -0
- package/models/components/residencystatus.js.map +1 -0
- package/models/operations/createapplication.d.ts +102 -4
- package/models/operations/createapplication.d.ts.map +1 -1
- package/models/operations/createapplication.js +107 -1
- package/models/operations/createapplication.js.map +1 -1
- package/package.json +2 -2
- package/src/lib/config.ts +3 -3
- package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +426 -25
- package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +480 -26
- package/src/models/components/currencycodeiso4217.ts +32 -0
- package/src/models/components/customerassetattributes.ts +89 -0
- package/src/models/components/customerassettype.ts +39 -0
- package/src/models/components/customerattributes.ts +34 -0
- package/src/models/components/customerliabilityattributes.ts +114 -0
- package/src/models/components/customerliabilityrepaymentfrequency.ts +38 -0
- package/src/models/components/customerliabilitytype.ts +37 -0
- package/src/models/components/index.ts +11 -0
- package/src/models/components/livingarrangements.ts +35 -0
- package/src/models/components/loandetailsattributes.ts +537 -48
- package/src/models/components/maritalstatus.ts +33 -0
- package/src/models/components/monetaryquantity.ts +110 -0
- package/src/models/components/percentagequantity.ts +102 -0
- package/src/models/components/residencystatus.ts +36 -0
- package/src/models/operations/createapplication.ts +191 -3
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
CustomerAssetType,
|
|
11
|
+
CustomerAssetType$inboundSchema,
|
|
12
|
+
CustomerAssetType$outboundSchema,
|
|
13
|
+
} from "./customerassettype.js";
|
|
14
|
+
import {
|
|
15
|
+
MonetaryQuantity,
|
|
16
|
+
MonetaryQuantity$inboundSchema,
|
|
17
|
+
MonetaryQuantity$Outbound,
|
|
18
|
+
MonetaryQuantity$outboundSchema,
|
|
19
|
+
} from "./monetaryquantity.js";
|
|
20
|
+
|
|
21
|
+
export type CustomerAssetAttributes = {
|
|
22
|
+
id?: string | undefined;
|
|
23
|
+
assetType: CustomerAssetType;
|
|
24
|
+
value?: MonetaryQuantity | undefined;
|
|
25
|
+
description?: string | undefined;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const CustomerAssetAttributes$inboundSchema: z.ZodType<
|
|
30
|
+
CustomerAssetAttributes,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
id: z.string().optional(),
|
|
35
|
+
assetType: CustomerAssetType$inboundSchema,
|
|
36
|
+
value: MonetaryQuantity$inboundSchema.optional(),
|
|
37
|
+
description: z.string().optional(),
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
/** @internal */
|
|
41
|
+
export type CustomerAssetAttributes$Outbound = {
|
|
42
|
+
id?: string | undefined;
|
|
43
|
+
assetType: string;
|
|
44
|
+
value?: MonetaryQuantity$Outbound | undefined;
|
|
45
|
+
description?: string | undefined;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const CustomerAssetAttributes$outboundSchema: z.ZodType<
|
|
50
|
+
CustomerAssetAttributes$Outbound,
|
|
51
|
+
z.ZodTypeDef,
|
|
52
|
+
CustomerAssetAttributes
|
|
53
|
+
> = z.object({
|
|
54
|
+
id: z.string().optional(),
|
|
55
|
+
assetType: CustomerAssetType$outboundSchema,
|
|
56
|
+
value: MonetaryQuantity$outboundSchema.optional(),
|
|
57
|
+
description: z.string().optional(),
|
|
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 CustomerAssetAttributes$ {
|
|
65
|
+
/** @deprecated use `CustomerAssetAttributes$inboundSchema` instead. */
|
|
66
|
+
export const inboundSchema = CustomerAssetAttributes$inboundSchema;
|
|
67
|
+
/** @deprecated use `CustomerAssetAttributes$outboundSchema` instead. */
|
|
68
|
+
export const outboundSchema = CustomerAssetAttributes$outboundSchema;
|
|
69
|
+
/** @deprecated use `CustomerAssetAttributes$Outbound` instead. */
|
|
70
|
+
export type Outbound = CustomerAssetAttributes$Outbound;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function customerAssetAttributesToJSON(
|
|
74
|
+
customerAssetAttributes: CustomerAssetAttributes,
|
|
75
|
+
): string {
|
|
76
|
+
return JSON.stringify(
|
|
77
|
+
CustomerAssetAttributes$outboundSchema.parse(customerAssetAttributes),
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export function customerAssetAttributesFromJSON(
|
|
82
|
+
jsonString: string,
|
|
83
|
+
): SafeParseResult<CustomerAssetAttributes, SDKValidationError> {
|
|
84
|
+
return safeParse(
|
|
85
|
+
jsonString,
|
|
86
|
+
(x) => CustomerAssetAttributes$inboundSchema.parse(JSON.parse(x)),
|
|
87
|
+
`Failed to parse 'CustomerAssetAttributes' from JSON`,
|
|
88
|
+
);
|
|
89
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const CustomerAssetType = {
|
|
9
|
+
PrimaryOccupiedResidentialProperty: "PRIMARY_OCCUPIED_RESIDENTIAL_PROPERTY",
|
|
10
|
+
InvestmentProperty: "INVESTMENT_PROPERTY",
|
|
11
|
+
CommercialProperty: "COMMERCIAL_PROPERTY",
|
|
12
|
+
MotorVehicle: "MOTOR_VEHICLE",
|
|
13
|
+
CashSavings: "CASH_SAVINGS",
|
|
14
|
+
InvestmentShares: "INVESTMENT_SHARES",
|
|
15
|
+
Superannuation: "SUPERANNUATION",
|
|
16
|
+
Other: "OTHER",
|
|
17
|
+
} as const;
|
|
18
|
+
export type CustomerAssetType = ClosedEnum<typeof CustomerAssetType>;
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const CustomerAssetType$inboundSchema: z.ZodNativeEnum<
|
|
22
|
+
typeof CustomerAssetType
|
|
23
|
+
> = z.nativeEnum(CustomerAssetType);
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const CustomerAssetType$outboundSchema: z.ZodNativeEnum<
|
|
27
|
+
typeof CustomerAssetType
|
|
28
|
+
> = CustomerAssetType$inboundSchema;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
33
|
+
*/
|
|
34
|
+
export namespace CustomerAssetType$ {
|
|
35
|
+
/** @deprecated use `CustomerAssetType$inboundSchema` instead. */
|
|
36
|
+
export const inboundSchema = CustomerAssetType$inboundSchema;
|
|
37
|
+
/** @deprecated use `CustomerAssetType$outboundSchema` instead. */
|
|
38
|
+
export const outboundSchema = CustomerAssetType$outboundSchema;
|
|
39
|
+
}
|
|
@@ -16,6 +16,21 @@ import {
|
|
|
16
16
|
CustomerTitle$inboundSchema,
|
|
17
17
|
CustomerTitle$outboundSchema,
|
|
18
18
|
} from "./customertitle.js";
|
|
19
|
+
import {
|
|
20
|
+
LivingArrangements,
|
|
21
|
+
LivingArrangements$inboundSchema,
|
|
22
|
+
LivingArrangements$outboundSchema,
|
|
23
|
+
} from "./livingarrangements.js";
|
|
24
|
+
import {
|
|
25
|
+
MaritalStatus,
|
|
26
|
+
MaritalStatus$inboundSchema,
|
|
27
|
+
MaritalStatus$outboundSchema,
|
|
28
|
+
} from "./maritalstatus.js";
|
|
29
|
+
import {
|
|
30
|
+
ResidencyStatus,
|
|
31
|
+
ResidencyStatus$inboundSchema,
|
|
32
|
+
ResidencyStatus$outboundSchema,
|
|
33
|
+
} from "./residencystatus.js";
|
|
19
34
|
|
|
20
35
|
/**
|
|
21
36
|
* A customer of the proposed financing
|
|
@@ -62,6 +77,13 @@ export type CustomerAttributes = {
|
|
|
62
77
|
* The customer's phone numbers
|
|
63
78
|
*/
|
|
64
79
|
phoneNumbers?: Array<string> | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* The number of financial dependents of the customer
|
|
82
|
+
*/
|
|
83
|
+
numberOfDependents?: number | undefined;
|
|
84
|
+
residencyStatus?: ResidencyStatus | undefined;
|
|
85
|
+
livingArrangements?: LivingArrangements | undefined;
|
|
86
|
+
maritalStatus?: MaritalStatus | undefined;
|
|
65
87
|
};
|
|
66
88
|
|
|
67
89
|
/** @internal */
|
|
@@ -81,6 +103,10 @@ export const CustomerAttributes$inboundSchema: z.ZodType<
|
|
|
81
103
|
idNumber: z.string().optional(),
|
|
82
104
|
emailAddresses: z.array(z.string()).optional(),
|
|
83
105
|
phoneNumbers: z.array(z.string()).optional(),
|
|
106
|
+
numberOfDependents: z.number().int().optional(),
|
|
107
|
+
residencyStatus: ResidencyStatus$inboundSchema.optional(),
|
|
108
|
+
livingArrangements: LivingArrangements$inboundSchema.optional(),
|
|
109
|
+
maritalStatus: MaritalStatus$inboundSchema.optional(),
|
|
84
110
|
});
|
|
85
111
|
|
|
86
112
|
/** @internal */
|
|
@@ -96,6 +122,10 @@ export type CustomerAttributes$Outbound = {
|
|
|
96
122
|
idNumber?: string | undefined;
|
|
97
123
|
emailAddresses?: Array<string> | undefined;
|
|
98
124
|
phoneNumbers?: Array<string> | undefined;
|
|
125
|
+
numberOfDependents?: number | undefined;
|
|
126
|
+
residencyStatus?: string | undefined;
|
|
127
|
+
livingArrangements?: string | undefined;
|
|
128
|
+
maritalStatus?: string | undefined;
|
|
99
129
|
};
|
|
100
130
|
|
|
101
131
|
/** @internal */
|
|
@@ -115,6 +145,10 @@ export const CustomerAttributes$outboundSchema: z.ZodType<
|
|
|
115
145
|
idNumber: z.string().optional(),
|
|
116
146
|
emailAddresses: z.array(z.string()).optional(),
|
|
117
147
|
phoneNumbers: z.array(z.string()).optional(),
|
|
148
|
+
numberOfDependents: z.number().int().optional(),
|
|
149
|
+
residencyStatus: ResidencyStatus$outboundSchema.optional(),
|
|
150
|
+
livingArrangements: LivingArrangements$outboundSchema.optional(),
|
|
151
|
+
maritalStatus: MaritalStatus$outboundSchema.optional(),
|
|
118
152
|
});
|
|
119
153
|
|
|
120
154
|
/**
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
CustomerLiabilityRepaymentFrequency,
|
|
11
|
+
CustomerLiabilityRepaymentFrequency$inboundSchema,
|
|
12
|
+
CustomerLiabilityRepaymentFrequency$outboundSchema,
|
|
13
|
+
} from "./customerliabilityrepaymentfrequency.js";
|
|
14
|
+
import {
|
|
15
|
+
CustomerLiabilityType,
|
|
16
|
+
CustomerLiabilityType$inboundSchema,
|
|
17
|
+
CustomerLiabilityType$outboundSchema,
|
|
18
|
+
} from "./customerliabilitytype.js";
|
|
19
|
+
import {
|
|
20
|
+
MonetaryQuantity,
|
|
21
|
+
MonetaryQuantity$inboundSchema,
|
|
22
|
+
MonetaryQuantity$Outbound,
|
|
23
|
+
MonetaryQuantity$outboundSchema,
|
|
24
|
+
} from "./monetaryquantity.js";
|
|
25
|
+
|
|
26
|
+
export type CustomerLiabilityAttributes = {
|
|
27
|
+
id?: string | undefined;
|
|
28
|
+
liabilityType: CustomerLiabilityType;
|
|
29
|
+
outstandingAmount?: MonetaryQuantity | undefined;
|
|
30
|
+
limit?: MonetaryQuantity | undefined;
|
|
31
|
+
financier?: string | undefined;
|
|
32
|
+
repaymentFrequency?: CustomerLiabilityRepaymentFrequency | undefined;
|
|
33
|
+
repaymentAmount?: MonetaryQuantity | undefined;
|
|
34
|
+
description?: string | undefined;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const CustomerLiabilityAttributes$inboundSchema: z.ZodType<
|
|
39
|
+
CustomerLiabilityAttributes,
|
|
40
|
+
z.ZodTypeDef,
|
|
41
|
+
unknown
|
|
42
|
+
> = z.object({
|
|
43
|
+
id: z.string().optional(),
|
|
44
|
+
liabilityType: CustomerLiabilityType$inboundSchema,
|
|
45
|
+
outstandingAmount: MonetaryQuantity$inboundSchema.optional(),
|
|
46
|
+
limit: MonetaryQuantity$inboundSchema.optional(),
|
|
47
|
+
financier: z.string().optional(),
|
|
48
|
+
repaymentFrequency: CustomerLiabilityRepaymentFrequency$inboundSchema
|
|
49
|
+
.optional(),
|
|
50
|
+
repaymentAmount: MonetaryQuantity$inboundSchema.optional(),
|
|
51
|
+
description: z.string().optional(),
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
/** @internal */
|
|
55
|
+
export type CustomerLiabilityAttributes$Outbound = {
|
|
56
|
+
id?: string | undefined;
|
|
57
|
+
liabilityType: string;
|
|
58
|
+
outstandingAmount?: MonetaryQuantity$Outbound | undefined;
|
|
59
|
+
limit?: MonetaryQuantity$Outbound | undefined;
|
|
60
|
+
financier?: string | undefined;
|
|
61
|
+
repaymentFrequency?: string | undefined;
|
|
62
|
+
repaymentAmount?: MonetaryQuantity$Outbound | undefined;
|
|
63
|
+
description?: string | undefined;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
/** @internal */
|
|
67
|
+
export const CustomerLiabilityAttributes$outboundSchema: z.ZodType<
|
|
68
|
+
CustomerLiabilityAttributes$Outbound,
|
|
69
|
+
z.ZodTypeDef,
|
|
70
|
+
CustomerLiabilityAttributes
|
|
71
|
+
> = z.object({
|
|
72
|
+
id: z.string().optional(),
|
|
73
|
+
liabilityType: CustomerLiabilityType$outboundSchema,
|
|
74
|
+
outstandingAmount: MonetaryQuantity$outboundSchema.optional(),
|
|
75
|
+
limit: MonetaryQuantity$outboundSchema.optional(),
|
|
76
|
+
financier: z.string().optional(),
|
|
77
|
+
repaymentFrequency: CustomerLiabilityRepaymentFrequency$outboundSchema
|
|
78
|
+
.optional(),
|
|
79
|
+
repaymentAmount: MonetaryQuantity$outboundSchema.optional(),
|
|
80
|
+
description: z.string().optional(),
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
86
|
+
*/
|
|
87
|
+
export namespace CustomerLiabilityAttributes$ {
|
|
88
|
+
/** @deprecated use `CustomerLiabilityAttributes$inboundSchema` instead. */
|
|
89
|
+
export const inboundSchema = CustomerLiabilityAttributes$inboundSchema;
|
|
90
|
+
/** @deprecated use `CustomerLiabilityAttributes$outboundSchema` instead. */
|
|
91
|
+
export const outboundSchema = CustomerLiabilityAttributes$outboundSchema;
|
|
92
|
+
/** @deprecated use `CustomerLiabilityAttributes$Outbound` instead. */
|
|
93
|
+
export type Outbound = CustomerLiabilityAttributes$Outbound;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export function customerLiabilityAttributesToJSON(
|
|
97
|
+
customerLiabilityAttributes: CustomerLiabilityAttributes,
|
|
98
|
+
): string {
|
|
99
|
+
return JSON.stringify(
|
|
100
|
+
CustomerLiabilityAttributes$outboundSchema.parse(
|
|
101
|
+
customerLiabilityAttributes,
|
|
102
|
+
),
|
|
103
|
+
);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export function customerLiabilityAttributesFromJSON(
|
|
107
|
+
jsonString: string,
|
|
108
|
+
): SafeParseResult<CustomerLiabilityAttributes, SDKValidationError> {
|
|
109
|
+
return safeParse(
|
|
110
|
+
jsonString,
|
|
111
|
+
(x) => CustomerLiabilityAttributes$inboundSchema.parse(JSON.parse(x)),
|
|
112
|
+
`Failed to parse 'CustomerLiabilityAttributes' from JSON`,
|
|
113
|
+
);
|
|
114
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const CustomerLiabilityRepaymentFrequency = {
|
|
9
|
+
Monthly: "MONTHLY",
|
|
10
|
+
Weekly: "WEEKLY",
|
|
11
|
+
Fortnightly: "FORTNIGHTLY",
|
|
12
|
+
} as const;
|
|
13
|
+
export type CustomerLiabilityRepaymentFrequency = ClosedEnum<
|
|
14
|
+
typeof CustomerLiabilityRepaymentFrequency
|
|
15
|
+
>;
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const CustomerLiabilityRepaymentFrequency$inboundSchema: z.ZodNativeEnum<
|
|
19
|
+
typeof CustomerLiabilityRepaymentFrequency
|
|
20
|
+
> = z.nativeEnum(CustomerLiabilityRepaymentFrequency);
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const CustomerLiabilityRepaymentFrequency$outboundSchema:
|
|
24
|
+
z.ZodNativeEnum<typeof CustomerLiabilityRepaymentFrequency> =
|
|
25
|
+
CustomerLiabilityRepaymentFrequency$inboundSchema;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* @internal
|
|
29
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
30
|
+
*/
|
|
31
|
+
export namespace CustomerLiabilityRepaymentFrequency$ {
|
|
32
|
+
/** @deprecated use `CustomerLiabilityRepaymentFrequency$inboundSchema` instead. */
|
|
33
|
+
export const inboundSchema =
|
|
34
|
+
CustomerLiabilityRepaymentFrequency$inboundSchema;
|
|
35
|
+
/** @deprecated use `CustomerLiabilityRepaymentFrequency$outboundSchema` instead. */
|
|
36
|
+
export const outboundSchema =
|
|
37
|
+
CustomerLiabilityRepaymentFrequency$outboundSchema;
|
|
38
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const CustomerLiabilityType = {
|
|
9
|
+
Mortgage: "MORTGAGE",
|
|
10
|
+
MotorVehicle: "MOTOR_VEHICLE",
|
|
11
|
+
CreditCard: "CREDIT_CARD",
|
|
12
|
+
PersonalLoan: "PERSONAL_LOAN",
|
|
13
|
+
PayLater: "PAY_LATER",
|
|
14
|
+
Other: "OTHER",
|
|
15
|
+
} as const;
|
|
16
|
+
export type CustomerLiabilityType = ClosedEnum<typeof CustomerLiabilityType>;
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const CustomerLiabilityType$inboundSchema: z.ZodNativeEnum<
|
|
20
|
+
typeof CustomerLiabilityType
|
|
21
|
+
> = z.nativeEnum(CustomerLiabilityType);
|
|
22
|
+
|
|
23
|
+
/** @internal */
|
|
24
|
+
export const CustomerLiabilityType$outboundSchema: z.ZodNativeEnum<
|
|
25
|
+
typeof CustomerLiabilityType
|
|
26
|
+
> = CustomerLiabilityType$inboundSchema;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
31
|
+
*/
|
|
32
|
+
export namespace CustomerLiabilityType$ {
|
|
33
|
+
/** @deprecated use `CustomerLiabilityType$inboundSchema` instead. */
|
|
34
|
+
export const inboundSchema = CustomerLiabilityType$inboundSchema;
|
|
35
|
+
/** @deprecated use `CustomerLiabilityType$outboundSchema` instead. */
|
|
36
|
+
export const outboundSchema = CustomerLiabilityType$outboundSchema;
|
|
37
|
+
}
|
|
@@ -21,8 +21,14 @@ export * from "./consumersecuredloanassetattributes.js";
|
|
|
21
21
|
export * from "./consumersecuredloanassettype.js";
|
|
22
22
|
export * from "./consumersecuredloanconsumerapplicationrelationships.js";
|
|
23
23
|
export * from "./createsupportingdocumentsresponse.js";
|
|
24
|
+
export * from "./currencycodeiso4217.js";
|
|
25
|
+
export * from "./customerassetattributes.js";
|
|
26
|
+
export * from "./customerassettype.js";
|
|
24
27
|
export * from "./customerattributes.js";
|
|
25
28
|
export * from "./customeridtype.js";
|
|
29
|
+
export * from "./customerliabilityattributes.js";
|
|
30
|
+
export * from "./customerliabilityrepaymentfrequency.js";
|
|
31
|
+
export * from "./customerliabilitytype.js";
|
|
26
32
|
export * from "./customertitle.js";
|
|
27
33
|
export * from "./documenttype.js";
|
|
28
34
|
export * from "./entityattributes.js";
|
|
@@ -30,9 +36,14 @@ export * from "./errorsource.js";
|
|
|
30
36
|
export * from "./forbiddenerror.js";
|
|
31
37
|
export * from "./frequencytype.js";
|
|
32
38
|
export * from "./linkobject.js";
|
|
39
|
+
export * from "./livingarrangements.js";
|
|
33
40
|
export * from "./loandetailsattributes.js";
|
|
41
|
+
export * from "./maritalstatus.js";
|
|
42
|
+
export * from "./monetaryquantity.js";
|
|
43
|
+
export * from "./percentagequantity.js";
|
|
34
44
|
export * from "./relationshipresourcenotfound.js";
|
|
35
45
|
export * from "./repaymentstructure.js";
|
|
46
|
+
export * from "./residencystatus.js";
|
|
36
47
|
export * from "./resourcenotfound.js";
|
|
37
48
|
export * from "./security.js";
|
|
38
49
|
export * from "./supportingdocumentattributes.js";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const LivingArrangements = {
|
|
9
|
+
PropertyOwner: "PROPERTY_OWNER",
|
|
10
|
+
Renting: "RENTING",
|
|
11
|
+
Boarding: "BOARDING",
|
|
12
|
+
LivingWithParents: "LIVING_WITH_PARENTS",
|
|
13
|
+
} as const;
|
|
14
|
+
export type LivingArrangements = ClosedEnum<typeof LivingArrangements>;
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const LivingArrangements$inboundSchema: z.ZodNativeEnum<
|
|
18
|
+
typeof LivingArrangements
|
|
19
|
+
> = z.nativeEnum(LivingArrangements);
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const LivingArrangements$outboundSchema: z.ZodNativeEnum<
|
|
23
|
+
typeof LivingArrangements
|
|
24
|
+
> = LivingArrangements$inboundSchema;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
29
|
+
*/
|
|
30
|
+
export namespace LivingArrangements$ {
|
|
31
|
+
/** @deprecated use `LivingArrangements$inboundSchema` instead. */
|
|
32
|
+
export const inboundSchema = LivingArrangements$inboundSchema;
|
|
33
|
+
/** @deprecated use `LivingArrangements$outboundSchema` instead. */
|
|
34
|
+
export const outboundSchema = LivingArrangements$outboundSchema;
|
|
35
|
+
}
|