@kanda-libs/ks-component-ts 0.2.398 → 0.2.400
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 +12730 -12730
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +3 -3
- package/package.json +1 -1
- package/src/generated/operations/exportJobPayouts.ts +20 -2
- package/src/generated/widget/index.tsx +62856 -62856
package/package.json
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
2
2
|
import * as schemas from "../components/schemas";
|
|
3
3
|
|
|
4
|
+
export type ExportJobPayoutsRequestParameters = {
|
|
5
|
+
dryrun?: boolean;
|
|
6
|
+
payout?: "set_payout_pending" | "set_paid";
|
|
7
|
+
};
|
|
8
|
+
|
|
4
9
|
export const exportJobPayoutsOperation = {
|
|
5
10
|
path: "/api/job/all/export-payouts",
|
|
6
11
|
method: "post",
|
|
@@ -8,7 +13,20 @@ export const exportJobPayoutsOperation = {
|
|
|
8
13
|
"200": { _tag: "JsonResponse", decoder: schemas.JobPayouts },
|
|
9
14
|
default: { _tag: "JsonResponse", decoder: schemas.Error },
|
|
10
15
|
},
|
|
11
|
-
parameters: [
|
|
16
|
+
parameters: [
|
|
17
|
+
{
|
|
18
|
+
_tag: "FormParameter",
|
|
19
|
+
explode: true,
|
|
20
|
+
in: "query",
|
|
21
|
+
name: "dryrun",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
_tag: "FormParameter",
|
|
25
|
+
explode: true,
|
|
26
|
+
in: "query",
|
|
27
|
+
name: "payout",
|
|
28
|
+
},
|
|
29
|
+
],
|
|
12
30
|
requestDefaultHeaders: {
|
|
13
31
|
"Content-Type": "application/json",
|
|
14
32
|
Accept: "application/json",
|
|
@@ -19,6 +37,6 @@ export const exportJobPayoutsOperation = {
|
|
|
19
37
|
} as const;
|
|
20
38
|
|
|
21
39
|
export type ExportJobPayoutsRequestFunction = RequestFunction<
|
|
22
|
-
{ body: Array<string> },
|
|
40
|
+
{ params: ExportJobPayoutsRequestParameters; body: Array<string> },
|
|
23
41
|
schemas.JobPayouts
|
|
24
42
|
>;
|