@financeable/aggregation 0.11.0 → 0.12.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/README.md +4 -0
- package/docs/sdks/applications/README.md +144 -0
- package/examples/package-lock.json +1 -1
- package/funcs/applicationsGet.d.ts +14 -0
- package/funcs/applicationsGet.d.ts.map +1 -0
- package/funcs/applicationsGet.js +122 -0
- package/funcs/applicationsGet.js.map +1 -0
- package/funcs/applicationsList.d.ts +14 -0
- package/funcs/applicationsList.d.ts.map +1 -0
- package/funcs/applicationsList.js +117 -0
- package/funcs/applicationsList.js.map +1 -0
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/businessloanbusinessapplicationrelationships.d.ts +21 -21
- package/models/components/businessloanbusinessapplicationrelationships.d.ts.map +1 -1
- package/models/components/businessloanbusinessapplicationrelationships.js +24 -26
- package/models/components/businessloanbusinessapplicationrelationships.js.map +1 -1
- package/models/components/commercialapplicationjsonapirelationships.d.ts +15 -15
- package/models/components/commercialapplicationjsonapirelationships.d.ts.map +1 -1
- package/models/components/commercialapplicationjsonapirelationships.js +18 -18
- package/models/components/commercialapplicationjsonapirelationships.js.map +1 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +36 -36
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js +46 -44
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +1 -1
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts +3 -3
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -1
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js +3 -3
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +1 -1
- package/models/components/customerattributes.d.ts +0 -22
- package/models/components/customerattributes.d.ts.map +1 -1
- package/models/components/customerattributes.js +0 -10
- package/models/components/customerattributes.js.map +1 -1
- package/models/components/customerattributescreateitem.d.ts +112 -0
- package/models/components/customerattributescreateitem.d.ts.map +1 -0
- package/models/components/customerattributescreateitem.js +110 -0
- package/models/components/customerattributescreateitem.js.map +1 -0
- package/models/components/entityattributes.d.ts +129 -0
- package/models/components/entityattributes.d.ts.map +1 -1
- package/models/components/entityattributes.js +71 -1
- package/models/components/entityattributes.js.map +1 -1
- package/models/components/entityattributesinput.d.ts +41 -0
- package/models/components/entityattributesinput.d.ts.map +1 -0
- package/models/components/entityattributesinput.js +81 -0
- package/models/components/entityattributesinput.js.map +1 -0
- package/models/components/index.d.ts +4 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +4 -0
- package/models/components/index.js.map +1 -1
- package/models/components/paginationlinks.d.ts +47 -0
- package/models/components/paginationlinks.d.ts.map +1 -0
- package/models/components/paginationlinks.js +75 -0
- package/models/components/paginationlinks.js.map +1 -0
- package/models/components/paginationmeta.d.ts +47 -0
- package/models/components/paginationmeta.d.ts.map +1 -0
- package/models/components/paginationmeta.js +88 -0
- package/models/components/paginationmeta.js.map +1 -0
- package/models/components/personalloanpersonalapplicationrelationships.d.ts +3 -3
- package/models/components/personalloanpersonalapplicationrelationships.d.ts.map +1 -1
- package/models/components/personalloanpersonalapplicationrelationships.js +3 -3
- package/models/components/personalloanpersonalapplicationrelationships.js.map +1 -1
- package/models/operations/createapplication.d.ts +218 -45
- package/models/operations/createapplication.d.ts.map +1 -1
- package/models/operations/createapplication.js +145 -45
- package/models/operations/createapplication.js.map +1 -1
- package/models/operations/getapplication.d.ts +703 -0
- package/models/operations/getapplication.d.ts.map +1 -0
- package/models/operations/getapplication.js +697 -0
- package/models/operations/getapplication.js.map +1 -0
- package/models/operations/index.d.ts +2 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listapplications.d.ts +141 -0
- package/models/operations/listapplications.d.ts.map +1 -0
- package/models/operations/listapplications.js +199 -0
- package/models/operations/listapplications.js.map +1 -0
- package/package.json +1 -1
- package/sdk/applications.d.ts +8 -0
- package/sdk/applications.d.ts.map +1 -1
- package/sdk/applications.js +14 -0
- package/sdk/applications.js.map +1 -1
- package/src/funcs/applicationsGet.ts +170 -0
- package/src/funcs/applicationsList.ts +164 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/businessloanbusinessapplicationrelationships.ts +52 -53
- package/src/models/components/commercialapplicationjsonapirelationships.ts +43 -67
- package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +114 -94
- package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +9 -9
- package/src/models/components/customerattributes.ts +0 -38
- package/src/models/components/customerattributescreateitem.ts +214 -0
- package/src/models/components/entityattributes.ts +134 -0
- package/src/models/components/entityattributesinput.ts +90 -0
- package/src/models/components/index.ts +4 -0
- package/src/models/components/paginationlinks.ts +88 -0
- package/src/models/components/paginationmeta.ts +99 -0
- package/src/models/components/personalloanpersonalapplicationrelationships.ts +9 -9
- package/src/models/operations/createapplication.ts +289 -62
- package/src/models/operations/getapplication.ts +1378 -0
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/listapplications.ts +364 -0
- package/src/sdk/applications.ts +30 -0
|
@@ -1,24 +1,153 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
2
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
4
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
/**
|
|
6
|
+
* Derived from ABR lookup.
|
|
7
|
+
*/
|
|
8
|
+
export declare const State: {
|
|
9
|
+
readonly Sa: "SA";
|
|
10
|
+
readonly Nsw: "NSW";
|
|
11
|
+
readonly Vic: "VIC";
|
|
12
|
+
readonly Qld: "QLD";
|
|
13
|
+
readonly Wa: "WA";
|
|
14
|
+
readonly Tas: "TAS";
|
|
15
|
+
readonly Act: "ACT";
|
|
16
|
+
readonly Nt: "NT";
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Derived from ABR lookup.
|
|
20
|
+
*/
|
|
21
|
+
export type State = ClosedEnum<typeof State>;
|
|
22
|
+
/**
|
|
23
|
+
* Derived from ABR lookup.
|
|
24
|
+
*/
|
|
25
|
+
export declare const AbnStatus: {
|
|
26
|
+
readonly Active: "active";
|
|
27
|
+
readonly Registered: "registered";
|
|
28
|
+
readonly Cancelled: "cancelled";
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Derived from ABR lookup.
|
|
32
|
+
*/
|
|
33
|
+
export type AbnStatus = ClosedEnum<typeof AbnStatus>;
|
|
4
34
|
export type EntityAttributes = {
|
|
5
35
|
id?: string | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Derived from ABR lookup.
|
|
38
|
+
*/
|
|
39
|
+
businessNames?: Array<string> | undefined;
|
|
6
40
|
entityName?: string | undefined;
|
|
7
41
|
abn?: string | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Derived from ABR lookup.
|
|
44
|
+
*/
|
|
45
|
+
acn?: string | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* Derived from ABR lookup.
|
|
48
|
+
*/
|
|
49
|
+
state?: State | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* Derived from ABR lookup.
|
|
52
|
+
*/
|
|
53
|
+
entityType?: string | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* Derived from ABR lookup.
|
|
56
|
+
*/
|
|
57
|
+
gst?: string | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* Derived from ABR lookup.
|
|
60
|
+
*/
|
|
61
|
+
abnStatus?: AbnStatus | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* Derived from ABR lookup. Format YYYY-MM-DD
|
|
64
|
+
*/
|
|
65
|
+
abnStatusEffectiveFrom?: string | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* Derived from ABR lookup.
|
|
68
|
+
*/
|
|
69
|
+
timeInBusiness?: number | undefined;
|
|
8
70
|
turnover?: number | undefined;
|
|
9
71
|
industryType?: string | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* Derived from ABR lookup.
|
|
74
|
+
*/
|
|
75
|
+
ppsr?: string | undefined;
|
|
10
76
|
emails?: Array<string> | undefined;
|
|
11
77
|
phoneNumbers?: Array<string> | undefined;
|
|
12
78
|
};
|
|
13
79
|
/** @internal */
|
|
80
|
+
export declare const State$inboundSchema: z.ZodNativeEnum<typeof State>;
|
|
81
|
+
/** @internal */
|
|
82
|
+
export declare const State$outboundSchema: z.ZodNativeEnum<typeof State>;
|
|
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 declare namespace State$ {
|
|
88
|
+
/** @deprecated use `State$inboundSchema` instead. */
|
|
89
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
90
|
+
readonly Sa: "SA";
|
|
91
|
+
readonly Nsw: "NSW";
|
|
92
|
+
readonly Vic: "VIC";
|
|
93
|
+
readonly Qld: "QLD";
|
|
94
|
+
readonly Wa: "WA";
|
|
95
|
+
readonly Tas: "TAS";
|
|
96
|
+
readonly Act: "ACT";
|
|
97
|
+
readonly Nt: "NT";
|
|
98
|
+
}>;
|
|
99
|
+
/** @deprecated use `State$outboundSchema` instead. */
|
|
100
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
101
|
+
readonly Sa: "SA";
|
|
102
|
+
readonly Nsw: "NSW";
|
|
103
|
+
readonly Vic: "VIC";
|
|
104
|
+
readonly Qld: "QLD";
|
|
105
|
+
readonly Wa: "WA";
|
|
106
|
+
readonly Tas: "TAS";
|
|
107
|
+
readonly Act: "ACT";
|
|
108
|
+
readonly Nt: "NT";
|
|
109
|
+
}>;
|
|
110
|
+
}
|
|
111
|
+
/** @internal */
|
|
112
|
+
export declare const AbnStatus$inboundSchema: z.ZodNativeEnum<typeof AbnStatus>;
|
|
113
|
+
/** @internal */
|
|
114
|
+
export declare const AbnStatus$outboundSchema: z.ZodNativeEnum<typeof AbnStatus>;
|
|
115
|
+
/**
|
|
116
|
+
* @internal
|
|
117
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
118
|
+
*/
|
|
119
|
+
export declare namespace AbnStatus$ {
|
|
120
|
+
/** @deprecated use `AbnStatus$inboundSchema` instead. */
|
|
121
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
122
|
+
readonly Active: "active";
|
|
123
|
+
readonly Registered: "registered";
|
|
124
|
+
readonly Cancelled: "cancelled";
|
|
125
|
+
}>;
|
|
126
|
+
/** @deprecated use `AbnStatus$outboundSchema` instead. */
|
|
127
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
128
|
+
readonly Active: "active";
|
|
129
|
+
readonly Registered: "registered";
|
|
130
|
+
readonly Cancelled: "cancelled";
|
|
131
|
+
}>;
|
|
132
|
+
}
|
|
133
|
+
/** @internal */
|
|
14
134
|
export declare const EntityAttributes$inboundSchema: z.ZodType<EntityAttributes, z.ZodTypeDef, unknown>;
|
|
15
135
|
/** @internal */
|
|
16
136
|
export type EntityAttributes$Outbound = {
|
|
17
137
|
id?: string | undefined;
|
|
138
|
+
businessNames?: Array<string> | undefined;
|
|
18
139
|
entityName?: string | undefined;
|
|
19
140
|
abn?: string | undefined;
|
|
141
|
+
acn?: string | undefined;
|
|
142
|
+
state?: string | undefined;
|
|
143
|
+
entityType?: string | undefined;
|
|
144
|
+
gst?: string | undefined;
|
|
145
|
+
abnStatus?: string | undefined;
|
|
146
|
+
abnStatusEffectiveFrom?: string | undefined;
|
|
147
|
+
timeInBusiness?: number | undefined;
|
|
20
148
|
turnover?: number | undefined;
|
|
21
149
|
industryType?: string | undefined;
|
|
150
|
+
ppsr?: string | undefined;
|
|
22
151
|
emails?: Array<string> | undefined;
|
|
23
152
|
phoneNumbers?: Array<string> | undefined;
|
|
24
153
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entityattributes.d.ts","sourceRoot":"","sources":["../../src/models/components/entityattributes.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,gBAAgB,GAAG;IAC7B,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CACpD,gBAAgB,EAChB,CAAC,CAAC,UAAU,EACZ,OAAO,
|
|
1
|
+
{"version":3,"file":"entityattributes.d.ts","sourceRoot":"","sources":["../../src/models/components/entityattributes.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,KAAK;;;;;;;;;CASR,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,KAAK,GAAG,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,SAAS;;;;CAIZ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,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,gBAAgB,CAkBhB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,iBAAiB,CAAC;IACjC,gEAAgE;IACzD,MAAM,aAAa,oDAAiC,CAAC;IAC5D,iEAAiE;IAC1D,MAAM,cAAc,sEAAkC,CAAC;IAC9D,2DAA2D;IAC3D,KAAY,QAAQ,GAAG,yBAAyB,CAAC;CAClD;AAED,wBAAgB,sBAAsB,CACpC,gBAAgB,EAAE,gBAAgB,GACjC,MAAM,CAIR;AAED,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAMvD"}
|
|
@@ -36,28 +36,98 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.EntityAttributes$ = exports.EntityAttributes$outboundSchema = exports.EntityAttributes$inboundSchema = void 0;
|
|
39
|
+
exports.EntityAttributes$ = exports.EntityAttributes$outboundSchema = exports.EntityAttributes$inboundSchema = exports.AbnStatus$ = exports.AbnStatus$outboundSchema = exports.AbnStatus$inboundSchema = exports.State$ = exports.State$outboundSchema = exports.State$inboundSchema = exports.AbnStatus = exports.State = void 0;
|
|
40
40
|
exports.entityAttributesToJSON = entityAttributesToJSON;
|
|
41
41
|
exports.entityAttributesFromJSON = entityAttributesFromJSON;
|
|
42
42
|
const z = __importStar(require("zod/v3"));
|
|
43
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
/**
|
|
45
|
+
* Derived from ABR lookup.
|
|
46
|
+
*/
|
|
47
|
+
exports.State = {
|
|
48
|
+
Sa: "SA",
|
|
49
|
+
Nsw: "NSW",
|
|
50
|
+
Vic: "VIC",
|
|
51
|
+
Qld: "QLD",
|
|
52
|
+
Wa: "WA",
|
|
53
|
+
Tas: "TAS",
|
|
54
|
+
Act: "ACT",
|
|
55
|
+
Nt: "NT",
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Derived from ABR lookup.
|
|
59
|
+
*/
|
|
60
|
+
exports.AbnStatus = {
|
|
61
|
+
Active: "active",
|
|
62
|
+
Registered: "registered",
|
|
63
|
+
Cancelled: "cancelled",
|
|
64
|
+
};
|
|
65
|
+
/** @internal */
|
|
66
|
+
exports.State$inboundSchema = z.nativeEnum(exports.State);
|
|
67
|
+
/** @internal */
|
|
68
|
+
exports.State$outboundSchema = exports.State$inboundSchema;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
72
|
+
*/
|
|
73
|
+
var State$;
|
|
74
|
+
(function (State$) {
|
|
75
|
+
/** @deprecated use `State$inboundSchema` instead. */
|
|
76
|
+
State$.inboundSchema = exports.State$inboundSchema;
|
|
77
|
+
/** @deprecated use `State$outboundSchema` instead. */
|
|
78
|
+
State$.outboundSchema = exports.State$outboundSchema;
|
|
79
|
+
})(State$ || (exports.State$ = State$ = {}));
|
|
80
|
+
/** @internal */
|
|
81
|
+
exports.AbnStatus$inboundSchema = z
|
|
82
|
+
.nativeEnum(exports.AbnStatus);
|
|
83
|
+
/** @internal */
|
|
84
|
+
exports.AbnStatus$outboundSchema = exports.AbnStatus$inboundSchema;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
88
|
+
*/
|
|
89
|
+
var AbnStatus$;
|
|
90
|
+
(function (AbnStatus$) {
|
|
91
|
+
/** @deprecated use `AbnStatus$inboundSchema` instead. */
|
|
92
|
+
AbnStatus$.inboundSchema = exports.AbnStatus$inboundSchema;
|
|
93
|
+
/** @deprecated use `AbnStatus$outboundSchema` instead. */
|
|
94
|
+
AbnStatus$.outboundSchema = exports.AbnStatus$outboundSchema;
|
|
95
|
+
})(AbnStatus$ || (exports.AbnStatus$ = AbnStatus$ = {}));
|
|
44
96
|
/** @internal */
|
|
45
97
|
exports.EntityAttributes$inboundSchema = z.object({
|
|
46
98
|
id: z.string().optional(),
|
|
99
|
+
businessNames: z.array(z.string()).optional(),
|
|
47
100
|
entityName: z.string().optional(),
|
|
48
101
|
abn: z.string().optional(),
|
|
102
|
+
acn: z.string().optional(),
|
|
103
|
+
state: exports.State$inboundSchema.optional(),
|
|
104
|
+
entityType: z.string().optional(),
|
|
105
|
+
gst: z.string().optional(),
|
|
106
|
+
abnStatus: exports.AbnStatus$inboundSchema.optional(),
|
|
107
|
+
abnStatusEffectiveFrom: z.string().optional(),
|
|
108
|
+
timeInBusiness: z.number().int().optional(),
|
|
49
109
|
turnover: z.number().int().optional(),
|
|
50
110
|
industryType: z.string().optional(),
|
|
111
|
+
ppsr: z.string().optional(),
|
|
51
112
|
emails: z.array(z.string()).optional(),
|
|
52
113
|
phoneNumbers: z.array(z.string()).optional(),
|
|
53
114
|
});
|
|
54
115
|
/** @internal */
|
|
55
116
|
exports.EntityAttributes$outboundSchema = z.object({
|
|
56
117
|
id: z.string().optional(),
|
|
118
|
+
businessNames: z.array(z.string()).optional(),
|
|
57
119
|
entityName: z.string().optional(),
|
|
58
120
|
abn: z.string().optional(),
|
|
121
|
+
acn: z.string().optional(),
|
|
122
|
+
state: exports.State$outboundSchema.optional(),
|
|
123
|
+
entityType: z.string().optional(),
|
|
124
|
+
gst: z.string().optional(),
|
|
125
|
+
abnStatus: exports.AbnStatus$outboundSchema.optional(),
|
|
126
|
+
abnStatusEffectiveFrom: z.string().optional(),
|
|
127
|
+
timeInBusiness: z.number().int().optional(),
|
|
59
128
|
turnover: z.number().int().optional(),
|
|
60
129
|
industryType: z.string().optional(),
|
|
130
|
+
ppsr: z.string().optional(),
|
|
61
131
|
emails: z.array(z.string()).optional(),
|
|
62
132
|
phoneNumbers: z.array(z.string()).optional(),
|
|
63
133
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entityattributes.js","sourceRoot":"","sources":["../../src/models/components/entityattributes.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"entityattributes.js","sourceRoot":"","sources":["../../src/models/components/entityattributes.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6MH,wDAMC;AAED,4DAQC;AA3ND,0CAA4B;AAC5B,qDAAiD;AAKjD;;GAEG;AACU,QAAA,KAAK,GAAG;IACnB,EAAE,EAAE,IAAI;IACR,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,EAAE,EAAE,IAAI;IACR,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,EAAE,EAAE,IAAI;CACA,CAAC;AAMX;;GAEG;AACU,QAAA,SAAS,GAAG;IACvB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;CACd,CAAC;AAoDX,gBAAgB;AACH,QAAA,mBAAmB,GAAkC,CAAC,CAAC,UAAU,CAC5E,aAAK,CACN,CAAC;AAEF,gBAAgB;AACH,QAAA,oBAAoB,GAC/B,2BAAmB,CAAC;AAEtB;;;GAGG;AACH,IAAiB,MAAM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E,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACrC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtC,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,iBAAiB,CAOjC;AAPD,WAAiB,iBAAiB;IAChC,gEAAgE;IACnD,+BAAa,GAAG,sCAA8B,CAAC;IAC5D,iEAAiE;IACpD,gCAAc,GAAG,uCAA+B,CAAC;AAGhE,CAAC,EAPgB,iBAAiB,iCAAjB,iBAAiB,QAOjC;AAED,SAAgB,sBAAsB,CACpC,gBAAkC;IAElC,OAAO,IAAI,CAAC,SAAS,CACnB,uCAA+B,CAAC,KAAK,CAAC,gBAAgB,CAAC,CACxD,CAAC;AACJ,CAAC;AAED,SAAgB,wBAAwB,CACtC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,sCAA8B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1D,8CAA8C,CAC/C,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type EntityAttributesInput = {
|
|
5
|
+
id?: string | undefined;
|
|
6
|
+
entityName?: string | undefined;
|
|
7
|
+
abn?: string | undefined;
|
|
8
|
+
turnover?: number | undefined;
|
|
9
|
+
industryType?: string | undefined;
|
|
10
|
+
emails?: Array<string> | undefined;
|
|
11
|
+
phoneNumbers?: Array<string> | undefined;
|
|
12
|
+
};
|
|
13
|
+
/** @internal */
|
|
14
|
+
export declare const EntityAttributesInput$inboundSchema: z.ZodType<EntityAttributesInput, z.ZodTypeDef, unknown>;
|
|
15
|
+
/** @internal */
|
|
16
|
+
export type EntityAttributesInput$Outbound = {
|
|
17
|
+
id?: string | undefined;
|
|
18
|
+
entityName?: string | undefined;
|
|
19
|
+
abn?: string | undefined;
|
|
20
|
+
turnover?: number | undefined;
|
|
21
|
+
industryType?: string | undefined;
|
|
22
|
+
emails?: Array<string> | undefined;
|
|
23
|
+
phoneNumbers?: Array<string> | undefined;
|
|
24
|
+
};
|
|
25
|
+
/** @internal */
|
|
26
|
+
export declare const EntityAttributesInput$outboundSchema: z.ZodType<EntityAttributesInput$Outbound, z.ZodTypeDef, EntityAttributesInput>;
|
|
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 declare namespace EntityAttributesInput$ {
|
|
32
|
+
/** @deprecated use `EntityAttributesInput$inboundSchema` instead. */
|
|
33
|
+
const inboundSchema: z.ZodType<EntityAttributesInput, z.ZodTypeDef, unknown>;
|
|
34
|
+
/** @deprecated use `EntityAttributesInput$outboundSchema` instead. */
|
|
35
|
+
const outboundSchema: z.ZodType<EntityAttributesInput$Outbound, z.ZodTypeDef, EntityAttributesInput>;
|
|
36
|
+
/** @deprecated use `EntityAttributesInput$Outbound` instead. */
|
|
37
|
+
type Outbound = EntityAttributesInput$Outbound;
|
|
38
|
+
}
|
|
39
|
+
export declare function entityAttributesInputToJSON(entityAttributesInput: EntityAttributesInput): string;
|
|
40
|
+
export declare function entityAttributesInputFromJSON(jsonString: string): SafeParseResult<EntityAttributesInput, SDKValidationError>;
|
|
41
|
+
//# sourceMappingURL=entityattributesinput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entityattributesinput.d.ts","sourceRoot":"","sources":["../../src/models/components/entityattributesinput.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,qBAAqB,GAAG;IAClC,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CASrB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,sBAAsB,CAAC;IACtC,qEAAqE;IAC9D,MAAM,aAAa,yDAAsC,CAAC;IACjE,sEAAsE;IAC/D,MAAM,cAAc,gFAAuC,CAAC;IACnE,gEAAgE;IAChE,KAAY,QAAQ,GAAG,8BAA8B,CAAC;CACvD;AAED,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR;AAED,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.EntityAttributesInput$ = exports.EntityAttributesInput$outboundSchema = exports.EntityAttributesInput$inboundSchema = void 0;
|
|
40
|
+
exports.entityAttributesInputToJSON = entityAttributesInputToJSON;
|
|
41
|
+
exports.entityAttributesInputFromJSON = entityAttributesInputFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
/** @internal */
|
|
45
|
+
exports.EntityAttributesInput$inboundSchema = z.object({
|
|
46
|
+
id: z.string().optional(),
|
|
47
|
+
entityName: z.string().optional(),
|
|
48
|
+
abn: z.string().optional(),
|
|
49
|
+
turnover: z.number().int().optional(),
|
|
50
|
+
industryType: z.string().optional(),
|
|
51
|
+
emails: z.array(z.string()).optional(),
|
|
52
|
+
phoneNumbers: z.array(z.string()).optional(),
|
|
53
|
+
});
|
|
54
|
+
/** @internal */
|
|
55
|
+
exports.EntityAttributesInput$outboundSchema = z.object({
|
|
56
|
+
id: z.string().optional(),
|
|
57
|
+
entityName: z.string().optional(),
|
|
58
|
+
abn: z.string().optional(),
|
|
59
|
+
turnover: z.number().int().optional(),
|
|
60
|
+
industryType: z.string().optional(),
|
|
61
|
+
emails: z.array(z.string()).optional(),
|
|
62
|
+
phoneNumbers: z.array(z.string()).optional(),
|
|
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
|
+
var EntityAttributesInput$;
|
|
69
|
+
(function (EntityAttributesInput$) {
|
|
70
|
+
/** @deprecated use `EntityAttributesInput$inboundSchema` instead. */
|
|
71
|
+
EntityAttributesInput$.inboundSchema = exports.EntityAttributesInput$inboundSchema;
|
|
72
|
+
/** @deprecated use `EntityAttributesInput$outboundSchema` instead. */
|
|
73
|
+
EntityAttributesInput$.outboundSchema = exports.EntityAttributesInput$outboundSchema;
|
|
74
|
+
})(EntityAttributesInput$ || (exports.EntityAttributesInput$ = EntityAttributesInput$ = {}));
|
|
75
|
+
function entityAttributesInputToJSON(entityAttributesInput) {
|
|
76
|
+
return JSON.stringify(exports.EntityAttributesInput$outboundSchema.parse(entityAttributesInput));
|
|
77
|
+
}
|
|
78
|
+
function entityAttributesInputFromJSON(jsonString) {
|
|
79
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EntityAttributesInput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EntityAttributesInput' from JSON`);
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=entityattributesinput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entityattributesinput.js","sourceRoot":"","sources":["../../src/models/components/entityattributesinput.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuEH,kEAMC;AAED,sEAQC;AArFD,0CAA4B;AAC5B,qDAAiD;AAcjD,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAA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c,GAAG,4CAAoC,CAAC;AAGrE,CAAC,EAPgB,sBAAsB,sCAAtB,sBAAsB,QAOtC;AAED,SAAgB,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,4CAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC;AAED,SAAgB,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
|
|
@@ -27,6 +27,7 @@ export * from "./currencycodeiso4217.js";
|
|
|
27
27
|
export * from "./customerassetattributes.js";
|
|
28
28
|
export * from "./customerassettype.js";
|
|
29
29
|
export * from "./customerattributes.js";
|
|
30
|
+
export * from "./customerattributescreateitem.js";
|
|
30
31
|
export * from "./customeridtype.js";
|
|
31
32
|
export * from "./customerliabilityattributes.js";
|
|
32
33
|
export * from "./customerliabilityrepaymentfrequency.js";
|
|
@@ -34,6 +35,7 @@ export * from "./customerliabilitytype.js";
|
|
|
34
35
|
export * from "./customertitle.js";
|
|
35
36
|
export * from "./documenttype.js";
|
|
36
37
|
export * from "./entityattributes.js";
|
|
38
|
+
export * from "./entityattributesinput.js";
|
|
37
39
|
export * from "./errorsource.js";
|
|
38
40
|
export * from "./expenseattributes.js";
|
|
39
41
|
export * from "./expensefrequency.js";
|
|
@@ -48,6 +50,8 @@ export * from "./livingarrangements.js";
|
|
|
48
50
|
export * from "./loandetailsattributes.js";
|
|
49
51
|
export * from "./maritalstatus.js";
|
|
50
52
|
export * from "./monetaryquantity.js";
|
|
53
|
+
export * from "./paginationlinks.js";
|
|
54
|
+
export * from "./paginationmeta.js";
|
|
51
55
|
export * from "./percentagequantity.js";
|
|
52
56
|
export * from "./personalapplicationjsonapirelationships.js";
|
|
53
57
|
export * from "./personalapplicationpayload.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qCAAqC,CAAC;AACpD,cAAc,sBAAsB,CAAC;AACrC,cAAc,8CAA8C,CAAC;AAC7D,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,mDAAmD,CAAC;AAClE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,0CAA0C,CAAC;AACzD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,8DAA8D,CAAC;AAC7E,cAAc,sCAAsC,CAAC;AACrD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,mCAAmC,CAAC;AAClD,cAAc,0DAA0D,CAAC;AACzE,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kCAAkC,CAAC;AACjD,cAAc,0CAA0C,CAAC;AACzD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,o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C9B,cAAc,mCAAmC,CAAC;AAClD,cAAc,wCAAwC,CAAC;AACvD,cAAc,sCAAsC,CAAC;AACrD,cAAc,iCAAiC,CAAC;AAChD,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC"}
|
|
@@ -46,6 +46,7 @@ __exportStar(require("./currencycodeiso4217.js"), exports);
|
|
|
46
46
|
__exportStar(require("./customerassetattributes.js"), exports);
|
|
47
47
|
__exportStar(require("./customerassettype.js"), exports);
|
|
48
48
|
__exportStar(require("./customerattributes.js"), exports);
|
|
49
|
+
__exportStar(require("./customerattributescreateitem.js"), exports);
|
|
49
50
|
__exportStar(require("./customeridtype.js"), exports);
|
|
50
51
|
__exportStar(require("./customerliabilityattributes.js"), exports);
|
|
51
52
|
__exportStar(require("./customerliabilityrepaymentfrequency.js"), exports);
|
|
@@ -53,6 +54,7 @@ __exportStar(require("./customerliabilitytype.js"), exports);
|
|
|
53
54
|
__exportStar(require("./customertitle.js"), exports);
|
|
54
55
|
__exportStar(require("./documenttype.js"), exports);
|
|
55
56
|
__exportStar(require("./entityattributes.js"), exports);
|
|
57
|
+
__exportStar(require("./entityattributesinput.js"), exports);
|
|
56
58
|
__exportStar(require("./errorsource.js"), exports);
|
|
57
59
|
__exportStar(require("./expenseattributes.js"), exports);
|
|
58
60
|
__exportStar(require("./expensefrequency.js"), exports);
|
|
@@ -67,6 +69,8 @@ __exportStar(require("./livingarrangements.js"), exports);
|
|
|
67
69
|
__exportStar(require("./loandetailsattributes.js"), exports);
|
|
68
70
|
__exportStar(require("./maritalstatus.js"), exports);
|
|
69
71
|
__exportStar(require("./monetaryquantity.js"), exports);
|
|
72
|
+
__exportStar(require("./paginationlinks.js"), exports);
|
|
73
|
+
__exportStar(require("./paginationmeta.js"), exports);
|
|
70
74
|
__exportStar(require("./percentagequantity.js"), exports);
|
|
71
75
|
__exportStar(require("./personalapplicationjsonapirelationships.js"), exports);
|
|
72
76
|
__exportStar(require("./personalapplicationpayload.js"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,yDAAuC;AACvC,qDAAmC;AACnC,2DAAyC;AACzC,yDAAuC;AACvC,sEAAoD;AACpD,uDAAqC;AACrC,+EAA6D;AAC7D,kEAAgD;AAChD,mEAAiD;AACjD,oFAAkE;AAClE,iFAA+D;AAC/D,2EAAyD;AACzD,4EAA0D;AAC1D,4EAA0D;AAC1D,sEAAoD;AACpD,+FAA6E;AAC7E,uEAAqD;AACrD,+EAA6D;AAC7D,yEAAuD;AACvD,0EAAwD;AACxD,0EAAwD;AACxD,oEAAkD;AAClD,2FAAyE;AACzE,qEAAmD;AACnD,yEAAuD;AACvD,2DAAyC;AACzC,+DAA6C;AAC7C,yDAAuC;AACvC,0DAAwC;AACxC,sDAAoC;AACpC,mEAAiD;AACjD,2EAAyD;AACzD,6DAA2C;AAC3C,qDAAmC;AACnC,oDAAkC;AAClC,wDAAsC;AACtC,mDAAiC;AACjC,yDAAuC;AACvC,wDAAsC;AACtC,mDAAiC;AACjC,sDAAoC;AACpC,qDAAmC;AACnC,wDAAsC;AACtC,uDAAqC;AACrC,kDAAgC;AAChC,kDAAgC;AAChC,0DAAwC;AACxC,6DAA2C;AAC3C,qDAAmC;AACnC,wDAAsC;AACtC,0DAAwC;AACxC,+EAA6D;AAC7D,kEAAgD;AAChD,mEAAiD;AACjD,oFAAkE;AAClE,oEAAkD;AAClD,0DAAwC;AACxC,uDAAqC;AACrC,wDAAsC;AACtC,gDAA8B;AAC9B,oEAAkD;AAClD,yEAAuD;AACvD,uEAAqD;AACrD,kEAAgD;AAChD,oDAAkC;AAClC,qDAAmC;AACnC,sDAAoC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,yDAAuC;AACvC,qDAAmC;AACnC,2DAAyC;AACzC,yDAAuC;AACvC,sEAAoD;AACpD,uDAAqC;AACrC,+EAA6D;AAC7D,kEAAgD;AAChD,mEAAiD;AACjD,oFAAkE;AAClE,iFAA+D;AAC/D,2EAAyD;AACzD,4EAA0D;AAC1D,4EAA0D;AAC1D,sEAAoD;AACpD,+FAA6E;AAC7E,uEAAqD;AACrD,+EAA6D;AAC7D,yEAAuD;AACvD,0EAAwD;AACxD,0EAAwD;AACxD,oEAAkD;AAClD,2FAAyE;AACzE,qEAAmD;AACnD,yEAAuD;AACvD,2DAAyC;AACzC,+DAA6C;AAC7C,yDAAuC;AACvC,0DAAwC;AACxC,oEAAkD;AAClD,sDAAoC;AACpC,mEAAiD;AACjD,2EAAyD;AACzD,6DAA2C;AAC3C,qDAAmC;AACnC,oDAAkC;AAClC,wDAAsC;AACtC,6DAA2C;AAC3C,mDAAiC;AACjC,yDAAuC;AACvC,wDAAsC;AACtC,mDAAiC;AACjC,sDAAoC;AACpC,qDAAmC;AACnC,wDAAsC;AACtC,uDAAqC;AACrC,kDAAgC;AAChC,kDAAgC;AAChC,0DAAwC;AACxC,6DAA2C;AAC3C,qDAAmC;AACnC,wDAAsC;AACtC,uDAAqC;AACrC,sDAAoC;AACpC,0DAAwC;AACxC,+EAA6D;AAC7D,kEAAgD;AAChD,mEAAiD;AACjD,oFAAkE;AAClE,oEAAkD;AAClD,0DAAwC;AACxC,uDAAqC;AACrC,wDAAsC;AACtC,gDAA8B;AAC9B,oEAAkD;AAClD,yEAAuD;AACvD,uEAAqD;AACrD,kEAAgD;AAChD,oDAAkC;AAClC,qDAAmC;AACnC,sDAAoC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type PaginationLinks = {
|
|
5
|
+
/**
|
|
6
|
+
* Link to the first page of data
|
|
7
|
+
*/
|
|
8
|
+
first?: string | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* Link to the last page of data
|
|
11
|
+
*/
|
|
12
|
+
last?: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* Link to the next page of data
|
|
15
|
+
*/
|
|
16
|
+
next?: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Link to the previous page of data
|
|
19
|
+
*/
|
|
20
|
+
prev?: string | undefined;
|
|
21
|
+
};
|
|
22
|
+
/** @internal */
|
|
23
|
+
export declare const PaginationLinks$inboundSchema: z.ZodType<PaginationLinks, z.ZodTypeDef, unknown>;
|
|
24
|
+
/** @internal */
|
|
25
|
+
export type PaginationLinks$Outbound = {
|
|
26
|
+
first?: string | undefined;
|
|
27
|
+
last?: string | undefined;
|
|
28
|
+
next?: string | undefined;
|
|
29
|
+
prev?: string | undefined;
|
|
30
|
+
};
|
|
31
|
+
/** @internal */
|
|
32
|
+
export declare const PaginationLinks$outboundSchema: z.ZodType<PaginationLinks$Outbound, z.ZodTypeDef, PaginationLinks>;
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
36
|
+
*/
|
|
37
|
+
export declare namespace PaginationLinks$ {
|
|
38
|
+
/** @deprecated use `PaginationLinks$inboundSchema` instead. */
|
|
39
|
+
const inboundSchema: z.ZodType<PaginationLinks, z.ZodTypeDef, unknown>;
|
|
40
|
+
/** @deprecated use `PaginationLinks$outboundSchema` instead. */
|
|
41
|
+
const outboundSchema: z.ZodType<PaginationLinks$Outbound, z.ZodTypeDef, PaginationLinks>;
|
|
42
|
+
/** @deprecated use `PaginationLinks$Outbound` instead. */
|
|
43
|
+
type Outbound = PaginationLinks$Outbound;
|
|
44
|
+
}
|
|
45
|
+
export declare function paginationLinksToJSON(paginationLinks: PaginationLinks): string;
|
|
46
|
+
export declare function paginationLinksFromJSON(jsonString: string): SafeParseResult<PaginationLinks, SDKValidationError>;
|
|
47
|
+
//# sourceMappingURL=paginationlinks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paginationlinks.d.ts","sourceRoot":"","sources":["../../src/models/components/paginationlinks.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,eAAe,EACf,CAAC,CAAC,UAAU,EACZ,OAAO,CAMP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,wBAAwB,GAAG;IACrC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CACpD,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,eAAe,CAMf,CAAC;AAEH;;;GAGG;AACH,yBAAiB,gBAAgB,CAAC;IAChC,+DAA+D;IACxD,MAAM,aAAa,mDAAgC,CAAC;IAC3D,gEAAgE;IACzD,MAAM,cAAc,oEAAiC,CAAC;IAC7D,0DAA0D;IAC1D,KAAY,QAAQ,GAAG,wBAAwB,CAAC;CACjD;AAED,wBAAgB,qBAAqB,CACnC,eAAe,EAAE,eAAe,GAC/B,MAAM,CAER;AAED,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,eAAe,EAAE,kBAAkB,CAAC,CAMtD"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.PaginationLinks$ = exports.PaginationLinks$outboundSchema = exports.PaginationLinks$inboundSchema = void 0;
|
|
40
|
+
exports.paginationLinksToJSON = paginationLinksToJSON;
|
|
41
|
+
exports.paginationLinksFromJSON = paginationLinksFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
/** @internal */
|
|
45
|
+
exports.PaginationLinks$inboundSchema = z.object({
|
|
46
|
+
first: z.string().optional(),
|
|
47
|
+
last: z.string().optional(),
|
|
48
|
+
next: z.string().optional(),
|
|
49
|
+
prev: z.string().optional(),
|
|
50
|
+
});
|
|
51
|
+
/** @internal */
|
|
52
|
+
exports.PaginationLinks$outboundSchema = z.object({
|
|
53
|
+
first: z.string().optional(),
|
|
54
|
+
last: z.string().optional(),
|
|
55
|
+
next: z.string().optional(),
|
|
56
|
+
prev: z.string().optional(),
|
|
57
|
+
});
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
61
|
+
*/
|
|
62
|
+
var PaginationLinks$;
|
|
63
|
+
(function (PaginationLinks$) {
|
|
64
|
+
/** @deprecated use `PaginationLinks$inboundSchema` instead. */
|
|
65
|
+
PaginationLinks$.inboundSchema = exports.PaginationLinks$inboundSchema;
|
|
66
|
+
/** @deprecated use `PaginationLinks$outboundSchema` instead. */
|
|
67
|
+
PaginationLinks$.outboundSchema = exports.PaginationLinks$outboundSchema;
|
|
68
|
+
})(PaginationLinks$ || (exports.PaginationLinks$ = PaginationLinks$ = {}));
|
|
69
|
+
function paginationLinksToJSON(paginationLinks) {
|
|
70
|
+
return JSON.stringify(exports.PaginationLinks$outboundSchema.parse(paginationLinks));
|
|
71
|
+
}
|
|
72
|
+
function paginationLinksFromJSON(jsonString) {
|
|
73
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PaginationLinks$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PaginationLinks' from JSON`);
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=paginationlinks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paginationlinks.js","sourceRoot":"","sources":["../../src/models/components/paginationlinks.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuEH,sDAIC;AAED,0DAQC;AAnFD,0CAA4B;AAC5B,qDAAiD;AAuBjD,gBAAgB;AACH,QAAA,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC5B,CAAC,CAAC;AAUH,gBAAgB;AACH,QAAA,8BAA8B,GAIvC,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,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