@kanda-libs/ks-component-ts 0.3.24 → 0.3.25
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/index.d.ts +13417 -13411
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +3 -3
- package/package.json +1 -1
- package/src/generated/components/schemas/Trader.ts +15 -9
- package/src/generated/widget/index.tsx +54639 -54593
package/package.json
CHANGED
|
@@ -3,15 +3,20 @@ import { Address } from "./Address";
|
|
|
3
3
|
import { CompanyType } from "./CompanyType";
|
|
4
4
|
import { VatNumber } from "./VatNumber";
|
|
5
5
|
|
|
6
|
-
export const Trader = t.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
6
|
+
export const Trader = t.intersection([
|
|
7
|
+
t.type({
|
|
8
|
+
trading_type: CompanyType,
|
|
9
|
+
trading_name: t.string,
|
|
10
|
+
trading_address: Address,
|
|
11
|
+
vat_number: VatNumber,
|
|
12
|
+
contact_name: t.string,
|
|
13
|
+
contact_email: t.string,
|
|
14
|
+
contact_mobile: t.string,
|
|
15
|
+
}),
|
|
16
|
+
t.partial({
|
|
17
|
+
reference: t.string,
|
|
18
|
+
}),
|
|
19
|
+
]);
|
|
15
20
|
|
|
16
21
|
export interface Trader {
|
|
17
22
|
trading_type: CompanyType;
|
|
@@ -21,4 +26,5 @@ export interface Trader {
|
|
|
21
26
|
contact_name: string;
|
|
22
27
|
contact_email: string;
|
|
23
28
|
contact_mobile: string;
|
|
29
|
+
reference?: string;
|
|
24
30
|
}
|