@kanda-libs/ks-component-ts 0.3.91 → 0.3.92
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 +15015 -15015
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +3 -3
- package/package.json +1 -1
- package/src/generated/operations/index.ts +12 -0
- package/src/generated/operations/jobSwitchDeposit.ts +29 -0
- package/src/generated/widget/index.tsx +72054 -72055
package/package.json
CHANGED
|
@@ -371,6 +371,10 @@ import {
|
|
|
371
371
|
jobCompanyInfoOperation,
|
|
372
372
|
JobCompanyInfoRequestFunction,
|
|
373
373
|
} from "./jobCompanyInfo";
|
|
374
|
+
import {
|
|
375
|
+
jobSwitchDepositOperation,
|
|
376
|
+
JobSwitchDepositRequestFunction,
|
|
377
|
+
} from "./jobSwitchDeposit";
|
|
374
378
|
import {
|
|
375
379
|
lenderReviewJobSatNoteOperation,
|
|
376
380
|
LenderReviewJobSatNoteRequestFunction,
|
|
@@ -807,6 +811,7 @@ export const operations: Operations = {
|
|
|
807
811
|
applyJob: applyJobOperation,
|
|
808
812
|
reapplyJob: reapplyJobOperation,
|
|
809
813
|
payJob: payJobOperation,
|
|
814
|
+
jobSwitchDeposit: jobSwitchDepositOperation,
|
|
810
815
|
viewJobSatNote: viewJobSatNoteOperation,
|
|
811
816
|
signJobSatNote: signJobSatNoteOperation,
|
|
812
817
|
approveJobSatNote: approveJobSatNoteOperation,
|
|
@@ -1034,6 +1039,7 @@ export interface OperationRequestFunctionMap {
|
|
|
1034
1039
|
applyJob: ApplyJobRequestFunction;
|
|
1035
1040
|
reapplyJob: ReapplyJobRequestFunction;
|
|
1036
1041
|
payJob: PayJobRequestFunction;
|
|
1042
|
+
jobSwitchDeposit: JobSwitchDepositRequestFunction;
|
|
1037
1043
|
viewJobSatNote: ViewJobSatNoteRequestFunction;
|
|
1038
1044
|
signJobSatNote: SignJobSatNoteRequestFunction;
|
|
1039
1045
|
approveJobSatNote: ApproveJobSatNoteRequestFunction;
|
|
@@ -1461,6 +1467,10 @@ export const requestFunctionsBuilder = (
|
|
|
1461
1467
|
applyJob: requestFunctionBuilder(operations.applyJob, requestAdapter),
|
|
1462
1468
|
reapplyJob: requestFunctionBuilder(operations.reapplyJob, requestAdapter),
|
|
1463
1469
|
payJob: requestFunctionBuilder(operations.payJob, requestAdapter),
|
|
1470
|
+
jobSwitchDeposit: requestFunctionBuilder(
|
|
1471
|
+
operations.jobSwitchDeposit,
|
|
1472
|
+
requestAdapter
|
|
1473
|
+
),
|
|
1464
1474
|
viewJobSatNote: requestFunctionBuilder(
|
|
1465
1475
|
operations.viewJobSatNote,
|
|
1466
1476
|
requestAdapter
|
|
@@ -1809,6 +1819,7 @@ export const jobServiceBuilder = (
|
|
|
1809
1819
|
applyJob: requestFunctions.applyJob,
|
|
1810
1820
|
reapplyJob: requestFunctions.reapplyJob,
|
|
1811
1821
|
payJob: requestFunctions.payJob,
|
|
1822
|
+
jobSwitchDeposit: requestFunctions.jobSwitchDeposit,
|
|
1812
1823
|
viewJobSatNote: requestFunctions.viewJobSatNote,
|
|
1813
1824
|
signJobSatNote: requestFunctions.signJobSatNote,
|
|
1814
1825
|
approveJobSatNote: requestFunctions.approveJobSatNote,
|
|
@@ -2323,6 +2334,7 @@ export interface Operations {
|
|
|
2323
2334
|
applyJob: typeof applyJobOperation;
|
|
2324
2335
|
reapplyJob: typeof reapplyJobOperation;
|
|
2325
2336
|
payJob: typeof payJobOperation;
|
|
2337
|
+
jobSwitchDeposit: typeof jobSwitchDepositOperation;
|
|
2326
2338
|
viewJobSatNote: typeof viewJobSatNoteOperation;
|
|
2327
2339
|
signJobSatNote: typeof signJobSatNoteOperation;
|
|
2328
2340
|
approveJobSatNote: typeof approveJobSatNoteOperation;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { RequestFunction } from "@kanda-libs/openapi-io-ts-runtime";
|
|
2
|
+
import * as schemas from "../components/schemas";
|
|
3
|
+
|
|
4
|
+
export type JobSwitchDepositRequestParameters = {
|
|
5
|
+
id: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const jobSwitchDepositOperation = {
|
|
9
|
+
path: "/api/job/{id}/switch-deposit",
|
|
10
|
+
method: "post",
|
|
11
|
+
responses: {
|
|
12
|
+
"200": { _tag: "JsonResponse", decoder: schemas.Job },
|
|
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 JobSwitchDepositRequestFunction = RequestFunction<
|
|
27
|
+
{ params: JobSwitchDepositRequestParameters },
|
|
28
|
+
schemas.Job
|
|
29
|
+
>;
|