@kanda-libs/ks-component-ts 0.3.68 → 0.3.69
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 +13466 -13458
- 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/Company.ts +3 -0
- package/src/generated/components/schemas/CompanyTraining.ts +12 -0
- package/src/generated/components/schemas/index.ts +1 -0
- package/src/generated/widget/index.tsx +61427 -61357
package/package.json
CHANGED
|
@@ -4,6 +4,7 @@ import { Analytics } from "./Analytics";
|
|
|
4
4
|
import { BankAccount } from "./BankAccount";
|
|
5
5
|
import { BusinessConfig } from "./BusinessConfig";
|
|
6
6
|
import { CompanyInfo } from "./CompanyInfo";
|
|
7
|
+
import { CompanyTraining } from "./CompanyTraining";
|
|
7
8
|
import { CompanyType } from "./CompanyType";
|
|
8
9
|
import { ContactInfo } from "./ContactInfo";
|
|
9
10
|
import { Document } from "./Document";
|
|
@@ -77,6 +78,7 @@ export const Company = t.intersection([
|
|
|
77
78
|
business_type: t.string,
|
|
78
79
|
business_config: BusinessConfig,
|
|
79
80
|
tier_config: TierConfig,
|
|
81
|
+
training_status: CompanyTraining,
|
|
80
82
|
metadata: Metadata,
|
|
81
83
|
}),
|
|
82
84
|
]);
|
|
@@ -131,5 +133,6 @@ export interface Company {
|
|
|
131
133
|
business_type?: string;
|
|
132
134
|
business_config?: BusinessConfig;
|
|
133
135
|
tier_config?: TierConfig;
|
|
136
|
+
training_status?: CompanyTraining;
|
|
134
137
|
metadata?: Metadata;
|
|
135
138
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as t from "io-ts";
|
|
2
|
+
|
|
3
|
+
export const CompanyTraining = t.union([
|
|
4
|
+
t.literal("training_required"),
|
|
5
|
+
t.literal("training_scheduled"),
|
|
6
|
+
t.literal("training_done"),
|
|
7
|
+
]);
|
|
8
|
+
|
|
9
|
+
export type CompanyTraining =
|
|
10
|
+
| "training_required"
|
|
11
|
+
| "training_scheduled"
|
|
12
|
+
| "training_done";
|
|
@@ -28,6 +28,7 @@ export * from "./Company";
|
|
|
28
28
|
export * from "./CompanyDirectorReport";
|
|
29
29
|
export * from "./CompanyInfo";
|
|
30
30
|
export * from "./CompanyReport";
|
|
31
|
+
export * from "./CompanyTraining";
|
|
31
32
|
export * from "./CompanyType";
|
|
32
33
|
export * from "./ConsumerReport";
|
|
33
34
|
export * from "./ConsumerSignature";
|