@kanda-libs/ks-component-ts 0.2.451 → 0.2.453
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 +14871 -14855
- 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 +3 -0
- package/src/generated/operations/index.ts +12 -0
- package/src/generated/operations/postIntroductionNotification.ts +29 -0
- package/src/generated/widget/index.tsx +70512 -70450
package/package.json
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import * as t from "io-ts";
|
|
2
2
|
import { Address } from "./Address";
|
|
3
|
+
import { CompanyType } from "./CompanyType";
|
|
3
4
|
|
|
4
5
|
export const Trader = t.type({
|
|
6
|
+
trading_type: CompanyType,
|
|
5
7
|
trading_name: t.string,
|
|
6
8
|
trading_address: Address,
|
|
7
9
|
vat_number: t.string,
|
|
@@ -11,6 +13,7 @@ export const Trader = t.type({
|
|
|
11
13
|
});
|
|
12
14
|
|
|
13
15
|
export interface Trader {
|
|
16
|
+
trading_type: CompanyType;
|
|
14
17
|
trading_name: string;
|
|
15
18
|
trading_address: Address;
|
|
16
19
|
vat_number: string;
|
|
@@ -402,6 +402,10 @@ import {
|
|
|
402
402
|
postIntroductionJobDetailsOperation,
|
|
403
403
|
PostIntroductionJobDetailsRequestFunction,
|
|
404
404
|
} from "./postIntroductionJobDetails";
|
|
405
|
+
import {
|
|
406
|
+
postIntroductionNotificationOperation,
|
|
407
|
+
PostIntroductionNotificationRequestFunction,
|
|
408
|
+
} from "./postIntroductionNotification";
|
|
405
409
|
import {
|
|
406
410
|
postIntroductionRejectJobOperation,
|
|
407
411
|
PostIntroductionRejectJobRequestFunction,
|
|
@@ -619,6 +623,7 @@ export const operations: Operations = {
|
|
|
619
623
|
postIntroductionRejectJob: postIntroductionRejectJobOperation,
|
|
620
624
|
submitIntroductionState: submitIntroductionStateOperation,
|
|
621
625
|
postIntroductionConvertJob: postIntroductionConvertJobOperation,
|
|
626
|
+
postIntroductionNotification: postIntroductionNotificationOperation,
|
|
622
627
|
getCompanies: getCompaniesOperation,
|
|
623
628
|
postCompany: postCompanyOperation,
|
|
624
629
|
getCompany: getCompanyOperation,
|
|
@@ -802,6 +807,7 @@ export interface OperationRequestFunctionMap {
|
|
|
802
807
|
postIntroductionRejectJob: PostIntroductionRejectJobRequestFunction;
|
|
803
808
|
submitIntroductionState: SubmitIntroductionStateRequestFunction;
|
|
804
809
|
postIntroductionConvertJob: PostIntroductionConvertJobRequestFunction;
|
|
810
|
+
postIntroductionNotification: PostIntroductionNotificationRequestFunction;
|
|
805
811
|
getCompanies: GetCompaniesRequestFunction;
|
|
806
812
|
postCompany: PostCompanyRequestFunction;
|
|
807
813
|
getCompany: GetCompanyRequestFunction;
|
|
@@ -1116,6 +1122,10 @@ export const requestFunctionsBuilder = (
|
|
|
1116
1122
|
operations.postIntroductionConvertJob,
|
|
1117
1123
|
requestAdapter
|
|
1118
1124
|
),
|
|
1125
|
+
postIntroductionNotification: requestFunctionBuilder(
|
|
1126
|
+
operations.postIntroductionNotification,
|
|
1127
|
+
requestAdapter
|
|
1128
|
+
),
|
|
1119
1129
|
getCompanies: requestFunctionBuilder(operations.getCompanies, requestAdapter),
|
|
1120
1130
|
postCompany: requestFunctionBuilder(operations.postCompany, requestAdapter),
|
|
1121
1131
|
getCompany: requestFunctionBuilder(operations.getCompany, requestAdapter),
|
|
@@ -1617,6 +1627,7 @@ export const introductionServiceBuilder = (
|
|
|
1617
1627
|
postIntroductionRejectJob: requestFunctions.postIntroductionRejectJob,
|
|
1618
1628
|
submitIntroductionState: requestFunctions.submitIntroductionState,
|
|
1619
1629
|
postIntroductionConvertJob: requestFunctions.postIntroductionConvertJob,
|
|
1630
|
+
postIntroductionNotification: requestFunctions.postIntroductionNotification,
|
|
1620
1631
|
});
|
|
1621
1632
|
|
|
1622
1633
|
export const companyServiceBuilder = (
|
|
@@ -1820,6 +1831,7 @@ export interface Operations {
|
|
|
1820
1831
|
postIntroductionRejectJob: typeof postIntroductionRejectJobOperation;
|
|
1821
1832
|
submitIntroductionState: typeof submitIntroductionStateOperation;
|
|
1822
1833
|
postIntroductionConvertJob: typeof postIntroductionConvertJobOperation;
|
|
1834
|
+
postIntroductionNotification: typeof postIntroductionNotificationOperation;
|
|
1823
1835
|
getCompanies: typeof getCompaniesOperation;
|
|
1824
1836
|
postCompany: typeof postCompanyOperation;
|
|
1825
1837
|
getCompany: typeof getCompanyOperation;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
2
|
+
import * as schemas from "../components/schemas";
|
|
3
|
+
|
|
4
|
+
export type PostIntroductionNotificationRequestParameters = {
|
|
5
|
+
id: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const postIntroductionNotificationOperation = {
|
|
9
|
+
path: "/api/introduction/{id}/notification",
|
|
10
|
+
method: "post",
|
|
11
|
+
responses: {
|
|
12
|
+
"200": { _tag: "JsonResponse", decoder: schemas.Introduction },
|
|
13
|
+
default: { _tag: "JsonResponse", decoder: schemas.Error },
|
|
14
|
+
},
|
|
15
|
+
parameters: [
|
|
16
|
+
{
|
|
17
|
+
_tag: "FormParameter",
|
|
18
|
+
explode: false,
|
|
19
|
+
in: "path",
|
|
20
|
+
name: "id",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
requestDefaultHeaders: { Accept: "application/json" },
|
|
24
|
+
} as const;
|
|
25
|
+
|
|
26
|
+
export type PostIntroductionNotificationRequestFunction = RequestFunction<
|
|
27
|
+
{ params: PostIntroductionNotificationRequestParameters },
|
|
28
|
+
schemas.Introduction
|
|
29
|
+
>;
|