@kanda-libs/ks-component-ts 0.2.389 → 0.2.391
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 +12298 -12288
- 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 +9 -0
- package/src/generated/components/schemas/index.ts +1 -0
- package/src/generated/operations/exportJobPayouts.ts +24 -0
- package/src/generated/operations/index.ts +12 -0
- package/src/generated/widget/index.tsx +48654 -48622
package/package.json
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
2
|
+
import * as schemas from "../components/schemas";
|
|
3
|
+
|
|
4
|
+
export const exportJobPayoutsOperation = {
|
|
5
|
+
path: "/api/job/all/export-payouts",
|
|
6
|
+
method: "post",
|
|
7
|
+
responses: {
|
|
8
|
+
"200": { _tag: "JsonResponse", decoder: schemas.JobPayouts },
|
|
9
|
+
default: { _tag: "JsonResponse", decoder: schemas.Error },
|
|
10
|
+
},
|
|
11
|
+
parameters: [],
|
|
12
|
+
requestDefaultHeaders: {
|
|
13
|
+
"Content-Type": "application/json",
|
|
14
|
+
Accept: "application/json",
|
|
15
|
+
},
|
|
16
|
+
body: {
|
|
17
|
+
_tag: "JsonBody",
|
|
18
|
+
},
|
|
19
|
+
} as const;
|
|
20
|
+
|
|
21
|
+
export type ExportJobPayoutsRequestFunction = RequestFunction<
|
|
22
|
+
{ body: Array<string> },
|
|
23
|
+
schemas.JobPayouts
|
|
24
|
+
>;
|
|
@@ -101,6 +101,10 @@ import {
|
|
|
101
101
|
directorCompanyOperation,
|
|
102
102
|
DirectorCompanyRequestFunction,
|
|
103
103
|
} from "./directorCompany";
|
|
104
|
+
import {
|
|
105
|
+
exportJobPayoutsOperation,
|
|
106
|
+
ExportJobPayoutsRequestFunction,
|
|
107
|
+
} from "./exportJobPayouts";
|
|
104
108
|
import {
|
|
105
109
|
getCompaniesOperation,
|
|
106
110
|
GetCompaniesRequestFunction,
|
|
@@ -534,6 +538,7 @@ export const operations: Operations = {
|
|
|
534
538
|
overrideJob: overrideJobOperation,
|
|
535
539
|
jobCheckoutLink: jobCheckoutLinkOperation,
|
|
536
540
|
jobCompanyInfo: jobCompanyInfoOperation,
|
|
541
|
+
exportJobPayouts: exportJobPayoutsOperation,
|
|
537
542
|
getPayments: getPaymentsOperation,
|
|
538
543
|
postPayment: postPaymentOperation,
|
|
539
544
|
getPayment: getPaymentOperation,
|
|
@@ -690,6 +695,7 @@ export interface OperationRequestFunctionMap {
|
|
|
690
695
|
overrideJob: OverrideJobRequestFunction;
|
|
691
696
|
jobCheckoutLink: JobCheckoutLinkRequestFunction;
|
|
692
697
|
jobCompanyInfo: JobCompanyInfoRequestFunction;
|
|
698
|
+
exportJobPayouts: ExportJobPayoutsRequestFunction;
|
|
693
699
|
getPayments: GetPaymentsRequestFunction;
|
|
694
700
|
postPayment: PostPaymentRequestFunction;
|
|
695
701
|
getPayment: GetPaymentRequestFunction;
|
|
@@ -977,6 +983,10 @@ export const requestFunctionsBuilder = (
|
|
|
977
983
|
operations.jobCompanyInfo,
|
|
978
984
|
requestAdapter
|
|
979
985
|
),
|
|
986
|
+
exportJobPayouts: requestFunctionBuilder(
|
|
987
|
+
operations.exportJobPayouts,
|
|
988
|
+
requestAdapter
|
|
989
|
+
),
|
|
980
990
|
getPayments: requestFunctionBuilder(operations.getPayments, requestAdapter),
|
|
981
991
|
postPayment: requestFunctionBuilder(operations.postPayment, requestAdapter),
|
|
982
992
|
getPayment: requestFunctionBuilder(operations.getPayment, requestAdapter),
|
|
@@ -1188,6 +1198,7 @@ export const jobServiceBuilder = (
|
|
|
1188
1198
|
overrideJob: requestFunctions.overrideJob,
|
|
1189
1199
|
jobCheckoutLink: requestFunctions.jobCheckoutLink,
|
|
1190
1200
|
jobCompanyInfo: requestFunctions.jobCompanyInfo,
|
|
1201
|
+
exportJobPayouts: requestFunctions.exportJobPayouts,
|
|
1191
1202
|
});
|
|
1192
1203
|
|
|
1193
1204
|
export const creditServiceBuilder = (
|
|
@@ -1533,6 +1544,7 @@ export interface Operations {
|
|
|
1533
1544
|
overrideJob: typeof overrideJobOperation;
|
|
1534
1545
|
jobCheckoutLink: typeof jobCheckoutLinkOperation;
|
|
1535
1546
|
jobCompanyInfo: typeof jobCompanyInfoOperation;
|
|
1547
|
+
exportJobPayouts: typeof exportJobPayoutsOperation;
|
|
1536
1548
|
getPayments: typeof getPaymentsOperation;
|
|
1537
1549
|
postPayment: typeof postPaymentOperation;
|
|
1538
1550
|
getPayment: typeof getPaymentOperation;
|