@kanda-libs/ks-component-ts 0.2.322 → 0.2.324
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 +10726 -10723
- 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/InfoCheckoutRedirect.ts +2 -0
- package/src/generated/operations/infoRate.ts +16 -2
- package/src/generated/widget/index.tsx +54314 -54295
package/package.json
CHANGED
|
@@ -19,6 +19,7 @@ export const InfoCheckoutRedirect = t.intersection([
|
|
|
19
19
|
job_items: t.array(JobItem),
|
|
20
20
|
}),
|
|
21
21
|
t.partial({
|
|
22
|
+
enabled_rates: t.array(t.string),
|
|
22
23
|
redirect_urls: RedirectURLs,
|
|
23
24
|
}),
|
|
24
25
|
]);
|
|
@@ -26,6 +27,7 @@ export const InfoCheckoutRedirect = t.intersection([
|
|
|
26
27
|
export interface InfoCheckoutRedirect {
|
|
27
28
|
reference: string;
|
|
28
29
|
work_type: WorkType;
|
|
30
|
+
enabled_rates?: Array<string>;
|
|
29
31
|
deposit_type: "no_deposit" | "partial_deposit" | "fixed_deposit";
|
|
30
32
|
deposit_value: Money;
|
|
31
33
|
customer: Customer;
|
|
@@ -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 InfoRateRequestParameters = {
|
|
5
|
+
cid?: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
4
8
|
export const infoRateOperation = {
|
|
5
9
|
path: "/api/info/rate",
|
|
6
10
|
method: "get",
|
|
@@ -8,8 +12,18 @@ export const infoRateOperation = {
|
|
|
8
12
|
"200": { _tag: "JsonResponse", decoder: schemas.Rate },
|
|
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: "cid",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
12
23
|
requestDefaultHeaders: { Accept: "application/json" },
|
|
13
24
|
} as const;
|
|
14
25
|
|
|
15
|
-
export type InfoRateRequestFunction = RequestFunction<
|
|
26
|
+
export type InfoRateRequestFunction = RequestFunction<
|
|
27
|
+
{ params: InfoRateRequestParameters },
|
|
28
|
+
schemas.Rate
|
|
29
|
+
>;
|