@kanda-libs/ks-schema 1.0.122 → 1.0.124
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/dist/components/schemas/Identity.d.ts +5 -4
- package/dist/components/schemas/Identity.d.ts.map +1 -1
- package/dist/components/schemas/Identity.js +12 -8
- package/dist/operations/declineCompany.d.ts +1 -1
- package/dist/operations/declineCompany.d.ts.map +1 -1
- package/dist/schema.json +1 -1
- package/dist/widget/index.d.ts +4658 -4663
- package/dist/widget/index.d.ts.map +1 -1
- package/dist/widget/index.js +12238 -12240
- package/package.json +1 -1
- package/schema.yaml +9 -5
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as t from "io-ts";
|
|
2
2
|
import { Address } from "./Address";
|
|
3
|
-
export declare const Identity: t.TypeC<{
|
|
3
|
+
export declare const Identity: t.IntersectionC<[t.TypeC<{
|
|
4
4
|
first_name: t.StringC;
|
|
5
5
|
last_name: t.StringC;
|
|
6
6
|
email: t.StringC;
|
|
7
7
|
mobile: t.StringC;
|
|
8
|
-
date_of_birth: import("io-ts-types/DateFromISOString").DateFromISOStringC;
|
|
9
8
|
home_address: t.IntersectionC<[t.TypeC<{
|
|
10
9
|
line_1: t.StringC;
|
|
11
10
|
city: t.StringC;
|
|
@@ -18,13 +17,15 @@ export declare const Identity: t.TypeC<{
|
|
|
18
17
|
county: t.StringC;
|
|
19
18
|
months_at_address: t.NumberC;
|
|
20
19
|
}>]>;
|
|
21
|
-
}
|
|
20
|
+
}>, t.PartialC<{
|
|
21
|
+
date_of_birth: import("io-ts-types/DateFromISOString").DateFromISOStringC;
|
|
22
|
+
}>]>;
|
|
22
23
|
export interface Identity {
|
|
23
24
|
first_name: string;
|
|
24
25
|
last_name: string;
|
|
25
26
|
email: string;
|
|
26
27
|
mobile: string;
|
|
27
|
-
date_of_birth
|
|
28
|
+
date_of_birth?: Date;
|
|
28
29
|
home_address: Address;
|
|
29
30
|
}
|
|
30
31
|
//# sourceMappingURL=Identity.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Identity.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/Identity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAE3B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"Identity.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/Identity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAE3B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;IAWnB,CAAC;AAEH,MAAM,WAAW,QAAQ;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,IAAI,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;CACvB"}
|
|
@@ -27,11 +27,15 @@ exports.Identity = void 0;
|
|
|
27
27
|
const t = __importStar(require("io-ts"));
|
|
28
28
|
const DateFromISOString_1 = require("io-ts-types/DateFromISOString");
|
|
29
29
|
const Address_1 = require("./Address");
|
|
30
|
-
exports.Identity = t.
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
})
|
|
30
|
+
exports.Identity = t.intersection([
|
|
31
|
+
t.type({
|
|
32
|
+
first_name: t.string,
|
|
33
|
+
last_name: t.string,
|
|
34
|
+
email: t.string,
|
|
35
|
+
mobile: t.string,
|
|
36
|
+
home_address: Address_1.Address,
|
|
37
|
+
}),
|
|
38
|
+
t.partial({
|
|
39
|
+
date_of_birth: DateFromISOString_1.DateFromISOString,
|
|
40
|
+
}),
|
|
41
|
+
]);
|
|
@@ -2,7 +2,7 @@ import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
|
2
2
|
import * as schemas from "../components/schemas";
|
|
3
3
|
export declare type DeclineCompanyRequestParameters = {
|
|
4
4
|
id: string;
|
|
5
|
-
reason: "
|
|
5
|
+
reason: "rejected_outdated_insurance_document" | "rejected_invalid_insurnace_document" | "rejected_not_on_trade_body_website" | "rejected_contact_us_on_application_error" | "declined_ccj_against_business_or_director" | "declined_ccj_against_previous_association" | "declined_listed_trade_type_not_covered" | "declined_several_negatives_against_company" | "declined_unable_to_complete_id_checks";
|
|
6
6
|
};
|
|
7
7
|
export declare const declineCompanyOperation: {
|
|
8
8
|
readonly path: "/api/company/{id}/decline";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"declineCompany.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/declineCompany.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,+BAA+B,GAAG;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EACF,
|
|
1
|
+
{"version":3,"file":"declineCompany.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/declineCompany.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,+BAA+B,GAAG;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EACF,sCAAsC,GACtC,qCAAqC,GACrC,oCAAoC,GACpC,0CAA0C,GAC1C,2CAA2C,GAC3C,2CAA2C,GAC3C,wCAAwC,GACxC,4CAA4C,GAC5C,uCAAuC,CAAC;CAC7C,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsB1B,CAAC;AAEX,oBAAY,6BAA6B,GAAG,eAAe,CACzD;IAAE,MAAM,EAAE,+BAA+B,CAAA;CAAE,EAC3C,OAAO,CAAC,OAAO,CAChB,CAAC"}
|