@kanda-libs/ks-component-ts 0.2.401 → 0.2.402
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 +11862 -11862
- 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/{JobPayouts.ts → ExportCSV.ts} +2 -2
- package/src/generated/components/schemas/index.ts +1 -1
- package/src/generated/operations/exportFcaApproved.ts +18 -0
- package/src/generated/operations/exportJobPayouts.ts +2 -2
- package/src/generated/operations/index.ts +12 -0
- package/src/generated/widget/index.tsx +55069 -55069
package/package.json
CHANGED
|
@@ -35,6 +35,7 @@ export * from "./Event";
|
|
|
35
35
|
export * from "./EventOptions";
|
|
36
36
|
export * from "./EventProps";
|
|
37
37
|
export * from "./Expenditure";
|
|
38
|
+
export * from "./ExportCSV";
|
|
38
39
|
export * from "./FinanceDetails";
|
|
39
40
|
export * from "./FinanceProvider";
|
|
40
41
|
export * from "./FinanceRate";
|
|
@@ -65,7 +66,6 @@ export * from "./JobCompanyInfo";
|
|
|
65
66
|
export * from "./JobCreditState";
|
|
66
67
|
export * from "./JobItem";
|
|
67
68
|
export * from "./JobOverride";
|
|
68
|
-
export * from "./JobPayouts";
|
|
69
69
|
export * from "./LatLng";
|
|
70
70
|
export * from "./Lead";
|
|
71
71
|
export * from "./LeadApplicant";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
2
|
+
import * as schemas from "../components/schemas";
|
|
3
|
+
|
|
4
|
+
export const exportFcaApprovedOperation = {
|
|
5
|
+
path: "/api/company/all/export-fca-approved",
|
|
6
|
+
method: "post",
|
|
7
|
+
responses: {
|
|
8
|
+
"200": { _tag: "JsonResponse", decoder: schemas.ExportCSV },
|
|
9
|
+
default: { _tag: "JsonResponse", decoder: schemas.Error },
|
|
10
|
+
},
|
|
11
|
+
parameters: [],
|
|
12
|
+
requestDefaultHeaders: { Accept: "application/json" },
|
|
13
|
+
} as const;
|
|
14
|
+
|
|
15
|
+
export type ExportFcaApprovedRequestFunction = RequestFunction<
|
|
16
|
+
undefined,
|
|
17
|
+
schemas.ExportCSV
|
|
18
|
+
>;
|
|
@@ -10,7 +10,7 @@ export const exportJobPayoutsOperation = {
|
|
|
10
10
|
path: "/api/job/all/export-payouts",
|
|
11
11
|
method: "post",
|
|
12
12
|
responses: {
|
|
13
|
-
"200": { _tag: "JsonResponse", decoder: schemas.
|
|
13
|
+
"200": { _tag: "JsonResponse", decoder: schemas.ExportCSV },
|
|
14
14
|
default: { _tag: "JsonResponse", decoder: schemas.Error },
|
|
15
15
|
},
|
|
16
16
|
parameters: [
|
|
@@ -38,5 +38,5 @@ export const exportJobPayoutsOperation = {
|
|
|
38
38
|
|
|
39
39
|
export type ExportJobPayoutsRequestFunction = RequestFunction<
|
|
40
40
|
{ params: ExportJobPayoutsRequestParameters; body: Array<string> },
|
|
41
|
-
schemas.
|
|
41
|
+
schemas.ExportCSV
|
|
42
42
|
>;
|
|
@@ -101,6 +101,10 @@ import {
|
|
|
101
101
|
directorCompanyOperation,
|
|
102
102
|
DirectorCompanyRequestFunction,
|
|
103
103
|
} from "./directorCompany";
|
|
104
|
+
import {
|
|
105
|
+
exportFcaApprovedOperation,
|
|
106
|
+
ExportFcaApprovedRequestFunction,
|
|
107
|
+
} from "./exportFcaApproved";
|
|
104
108
|
import {
|
|
105
109
|
exportJobPayoutsOperation,
|
|
106
110
|
ExportJobPayoutsRequestFunction,
|
|
@@ -513,6 +517,7 @@ export const operations: Operations = {
|
|
|
513
517
|
postCompanyReferrals: postCompanyReferralsOperation,
|
|
514
518
|
approveCompany: approveCompanyOperation,
|
|
515
519
|
declineCompany: declineCompanyOperation,
|
|
520
|
+
exportFcaApproved: exportFcaApprovedOperation,
|
|
516
521
|
getJobs: getJobsOperation,
|
|
517
522
|
postJob: postJobOperation,
|
|
518
523
|
getJob: getJobOperation,
|
|
@@ -670,6 +675,7 @@ export interface OperationRequestFunctionMap {
|
|
|
670
675
|
postCompanyReferrals: PostCompanyReferralsRequestFunction;
|
|
671
676
|
approveCompany: ApproveCompanyRequestFunction;
|
|
672
677
|
declineCompany: DeclineCompanyRequestFunction;
|
|
678
|
+
exportFcaApproved: ExportFcaApprovedRequestFunction;
|
|
673
679
|
getJobs: GetJobsRequestFunction;
|
|
674
680
|
postJob: PostJobRequestFunction;
|
|
675
681
|
getJob: GetJobRequestFunction;
|
|
@@ -937,6 +943,10 @@ export const requestFunctionsBuilder = (
|
|
|
937
943
|
operations.declineCompany,
|
|
938
944
|
requestAdapter
|
|
939
945
|
),
|
|
946
|
+
exportFcaApproved: requestFunctionBuilder(
|
|
947
|
+
operations.exportFcaApproved,
|
|
948
|
+
requestAdapter
|
|
949
|
+
),
|
|
940
950
|
getJobs: requestFunctionBuilder(operations.getJobs, requestAdapter),
|
|
941
951
|
postJob: requestFunctionBuilder(operations.postJob, requestAdapter),
|
|
942
952
|
getJob: requestFunctionBuilder(operations.getJob, requestAdapter),
|
|
@@ -1354,6 +1364,7 @@ export const companyServiceBuilder = (
|
|
|
1354
1364
|
postCompanyReferrals: requestFunctions.postCompanyReferrals,
|
|
1355
1365
|
approveCompany: requestFunctions.approveCompany,
|
|
1356
1366
|
declineCompany: requestFunctions.declineCompany,
|
|
1367
|
+
exportFcaApproved: requestFunctions.exportFcaApproved,
|
|
1357
1368
|
});
|
|
1358
1369
|
|
|
1359
1370
|
export const paymentServiceBuilder = (
|
|
@@ -1519,6 +1530,7 @@ export interface Operations {
|
|
|
1519
1530
|
postCompanyReferrals: typeof postCompanyReferralsOperation;
|
|
1520
1531
|
approveCompany: typeof approveCompanyOperation;
|
|
1521
1532
|
declineCompany: typeof declineCompanyOperation;
|
|
1533
|
+
exportFcaApproved: typeof exportFcaApprovedOperation;
|
|
1522
1534
|
getJobs: typeof getJobsOperation;
|
|
1523
1535
|
postJob: typeof postJobOperation;
|
|
1524
1536
|
getJob: typeof getJobOperation;
|