@kanda-libs/ks-component-ts 0.3.4 → 0.3.6
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 +12813 -12813
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +3 -3
- package/package.json +1 -1
- package/src/generated/components/parameters/datetime_from.ts +8 -0
- package/src/generated/components/parameters/datetime_to.ts +8 -0
- package/src/generated/components/parameters/index.ts +2 -0
- package/src/generated/operations/exportEnterpriseDailyReport.ts +24 -0
- package/src/generated/operations/index.ts +12 -0
- package/src/generated/widget/index.tsx +64371 -64370
package/package.json
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
2
|
+
import * as parameters from "../components/parameters";
|
|
3
|
+
import * as schemas from "../components/schemas";
|
|
4
|
+
|
|
5
|
+
export type ExportEnterpriseDailyReportRequestParameters = {
|
|
6
|
+
datetime_from?: string;
|
|
7
|
+
datetime_to?: string;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export const exportEnterpriseDailyReportOperation = {
|
|
11
|
+
path: "/api/enterprise/all/export-daily-report",
|
|
12
|
+
method: "post",
|
|
13
|
+
responses: {
|
|
14
|
+
"200": { _tag: "JsonResponse", decoder: schemas.ExportCSV },
|
|
15
|
+
default: { _tag: "JsonResponse", decoder: schemas.Error },
|
|
16
|
+
},
|
|
17
|
+
parameters: [parameters.datetime_from, parameters.datetime_to],
|
|
18
|
+
requestDefaultHeaders: { Accept: "application/json" },
|
|
19
|
+
} as const;
|
|
20
|
+
|
|
21
|
+
export type ExportEnterpriseDailyReportRequestFunction = RequestFunction<
|
|
22
|
+
{ params: ExportEnterpriseDailyReportRequestParameters },
|
|
23
|
+
schemas.ExportCSV
|
|
24
|
+
>;
|
|
@@ -109,6 +109,10 @@ import {
|
|
|
109
109
|
directorCompanyOperation,
|
|
110
110
|
DirectorCompanyRequestFunction,
|
|
111
111
|
} from "./directorCompany";
|
|
112
|
+
import {
|
|
113
|
+
exportEnterpriseDailyReportOperation,
|
|
114
|
+
ExportEnterpriseDailyReportRequestFunction,
|
|
115
|
+
} from "./exportEnterpriseDailyReport";
|
|
112
116
|
import {
|
|
113
117
|
exportFcaApprovedOperation,
|
|
114
118
|
ExportFcaApprovedRequestFunction,
|
|
@@ -623,6 +627,7 @@ export const operations: Operations = {
|
|
|
623
627
|
deleteEnterprise: deleteEnterpriseOperation,
|
|
624
628
|
getEnterpriseBranches: getEnterpriseBranchesOperation,
|
|
625
629
|
postEnterpriseBranches: postEnterpriseBranchesOperation,
|
|
630
|
+
exportEnterpriseDailyReport: exportEnterpriseDailyReportOperation,
|
|
626
631
|
getIntroductions: getIntroductionsOperation,
|
|
627
632
|
postIntroduction: postIntroductionOperation,
|
|
628
633
|
getIntroduction: getIntroductionOperation,
|
|
@@ -814,6 +819,7 @@ export interface OperationRequestFunctionMap {
|
|
|
814
819
|
deleteEnterprise: DeleteEnterpriseRequestFunction;
|
|
815
820
|
getEnterpriseBranches: GetEnterpriseBranchesRequestFunction;
|
|
816
821
|
postEnterpriseBranches: PostEnterpriseBranchesRequestFunction;
|
|
822
|
+
exportEnterpriseDailyReport: ExportEnterpriseDailyReportRequestFunction;
|
|
817
823
|
getIntroductions: GetIntroductionsRequestFunction;
|
|
818
824
|
postIntroduction: PostIntroductionRequestFunction;
|
|
819
825
|
getIntroduction: GetIntroductionRequestFunction;
|
|
@@ -1087,6 +1093,10 @@ export const requestFunctionsBuilder = (
|
|
|
1087
1093
|
operations.postEnterpriseBranches,
|
|
1088
1094
|
requestAdapter
|
|
1089
1095
|
),
|
|
1096
|
+
exportEnterpriseDailyReport: requestFunctionBuilder(
|
|
1097
|
+
operations.exportEnterpriseDailyReport,
|
|
1098
|
+
requestAdapter
|
|
1099
|
+
),
|
|
1090
1100
|
getIntroductions: requestFunctionBuilder(
|
|
1091
1101
|
operations.getIntroductions,
|
|
1092
1102
|
requestAdapter
|
|
@@ -1648,6 +1658,7 @@ export const enterpriseServiceBuilder = (
|
|
|
1648
1658
|
deleteEnterprise: requestFunctions.deleteEnterprise,
|
|
1649
1659
|
getEnterpriseBranches: requestFunctions.getEnterpriseBranches,
|
|
1650
1660
|
postEnterpriseBranches: requestFunctions.postEnterpriseBranches,
|
|
1661
|
+
exportEnterpriseDailyReport: requestFunctions.exportEnterpriseDailyReport,
|
|
1651
1662
|
});
|
|
1652
1663
|
|
|
1653
1664
|
export const introductionServiceBuilder = (
|
|
@@ -1874,6 +1885,7 @@ export interface Operations {
|
|
|
1874
1885
|
deleteEnterprise: typeof deleteEnterpriseOperation;
|
|
1875
1886
|
getEnterpriseBranches: typeof getEnterpriseBranchesOperation;
|
|
1876
1887
|
postEnterpriseBranches: typeof postEnterpriseBranchesOperation;
|
|
1888
|
+
exportEnterpriseDailyReport: typeof exportEnterpriseDailyReportOperation;
|
|
1877
1889
|
getIntroductions: typeof getIntroductionsOperation;
|
|
1878
1890
|
postIntroduction: typeof postIntroductionOperation;
|
|
1879
1891
|
getIntroduction: typeof getIntroductionOperation;
|