@kanda-libs/ks-component-ts 0.2.397 → 0.2.399
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 +13333 -13330
- 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/JobCreditState.ts +2 -0
- package/src/generated/operations/exportJobPayouts.ts +13 -2
- package/src/generated/widget/index.tsx +62189 -62162
package/package.json
CHANGED
|
@@ -20,6 +20,7 @@ export const JobCreditState = t.intersection([
|
|
|
20
20
|
t.literal("paid_out"),
|
|
21
21
|
t.literal("cancelled"),
|
|
22
22
|
]),
|
|
23
|
+
xstatus: t.string,
|
|
23
24
|
}),
|
|
24
25
|
]);
|
|
25
26
|
|
|
@@ -39,4 +40,5 @@ export interface JobCreditState {
|
|
|
39
40
|
| "finished"
|
|
40
41
|
| "paid_out"
|
|
41
42
|
| "cancelled";
|
|
43
|
+
xstatus?: string;
|
|
42
44
|
}
|
|
@@ -1,6 +1,10 @@
|
|
|
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
|
+
};
|
|
7
|
+
|
|
4
8
|
export const exportJobPayoutsOperation = {
|
|
5
9
|
path: "/api/job/all/export-payouts",
|
|
6
10
|
method: "post",
|
|
@@ -8,7 +12,14 @@ export const exportJobPayoutsOperation = {
|
|
|
8
12
|
"200": { _tag: "JsonResponse", decoder: schemas.JobPayouts },
|
|
9
13
|
default: { _tag: "JsonResponse", decoder: schemas.Error },
|
|
10
14
|
},
|
|
11
|
-
parameters: [
|
|
15
|
+
parameters: [
|
|
16
|
+
{
|
|
17
|
+
_tag: "FormParameter",
|
|
18
|
+
explode: true,
|
|
19
|
+
in: "query",
|
|
20
|
+
name: "dryrun",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
12
23
|
requestDefaultHeaders: {
|
|
13
24
|
"Content-Type": "application/json",
|
|
14
25
|
Accept: "application/json",
|
|
@@ -19,6 +30,6 @@ export const exportJobPayoutsOperation = {
|
|
|
19
30
|
} as const;
|
|
20
31
|
|
|
21
32
|
export type ExportJobPayoutsRequestFunction = RequestFunction<
|
|
22
|
-
{ body: Array<string> },
|
|
33
|
+
{ params: ExportJobPayoutsRequestParameters; body: Array<string> },
|
|
23
34
|
schemas.JobPayouts
|
|
24
35
|
>;
|