@kanda-libs/ks-component-ts 0.2.393 → 0.2.395
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 +13208 -13208
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +3 -3
- package/package.json +1 -1
- package/src/generated/operations/applyInstallationWithFinance.ts +38 -0
- package/src/generated/operations/index.ts +12 -0
- package/src/generated/widget/index.tsx +65750 -65751
package/package.json
CHANGED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
2
|
+
import * as schemas from "../components/schemas";
|
|
3
|
+
|
|
4
|
+
export type ApplyInstallationWithFinanceRequestParameters = {
|
|
5
|
+
id: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const applyInstallationWithFinanceOperation = {
|
|
9
|
+
path: "/api/installation/{id}/apply",
|
|
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: {
|
|
24
|
+
"Content-Type": "application/json",
|
|
25
|
+
Accept: "application/json",
|
|
26
|
+
},
|
|
27
|
+
body: {
|
|
28
|
+
_tag: "JsonBody",
|
|
29
|
+
},
|
|
30
|
+
} as const;
|
|
31
|
+
|
|
32
|
+
export type ApplyInstallationWithFinanceRequestFunction = RequestFunction<
|
|
33
|
+
{
|
|
34
|
+
params: ApplyInstallationWithFinanceRequestParameters;
|
|
35
|
+
body: schemas.FinanceRate;
|
|
36
|
+
},
|
|
37
|
+
schemas.Job
|
|
38
|
+
>;
|
|
@@ -14,6 +14,10 @@ import {
|
|
|
14
14
|
applyCreditOperation,
|
|
15
15
|
ApplyCreditRequestFunction,
|
|
16
16
|
} from "./applyCredit";
|
|
17
|
+
import {
|
|
18
|
+
applyInstallationWithFinanceOperation,
|
|
19
|
+
ApplyInstallationWithFinanceRequestFunction,
|
|
20
|
+
} from "./applyInstallationWithFinance";
|
|
17
21
|
import {
|
|
18
22
|
applyInviteLeadOperation,
|
|
19
23
|
ApplyInviteLeadRequestFunction,
|
|
@@ -601,6 +605,7 @@ export const operations: Operations = {
|
|
|
601
605
|
getInstallation: getInstallationOperation,
|
|
602
606
|
putInstallation: putInstallationOperation,
|
|
603
607
|
deleteInstallation: deleteInstallationOperation,
|
|
608
|
+
applyInstallationWithFinance: applyInstallationWithFinanceOperation,
|
|
604
609
|
getSubscriptions: getSubscriptionsOperation,
|
|
605
610
|
postSubscription: postSubscriptionOperation,
|
|
606
611
|
getSubscription: getSubscriptionOperation,
|
|
@@ -763,6 +768,7 @@ export interface OperationRequestFunctionMap {
|
|
|
763
768
|
getInstallation: GetInstallationRequestFunction;
|
|
764
769
|
putInstallation: PutInstallationRequestFunction;
|
|
765
770
|
deleteInstallation: DeleteInstallationRequestFunction;
|
|
771
|
+
applyInstallationWithFinance: ApplyInstallationWithFinanceRequestFunction;
|
|
766
772
|
getSubscriptions: GetSubscriptionsRequestFunction;
|
|
767
773
|
postSubscription: PostSubscriptionRequestFunction;
|
|
768
774
|
getSubscription: GetSubscriptionRequestFunction;
|
|
@@ -1101,6 +1107,10 @@ export const requestFunctionsBuilder = (
|
|
|
1101
1107
|
operations.deleteInstallation,
|
|
1102
1108
|
requestAdapter
|
|
1103
1109
|
),
|
|
1110
|
+
applyInstallationWithFinance: requestFunctionBuilder(
|
|
1111
|
+
operations.applyInstallationWithFinance,
|
|
1112
|
+
requestAdapter
|
|
1113
|
+
),
|
|
1104
1114
|
getSubscriptions: requestFunctionBuilder(
|
|
1105
1115
|
operations.getSubscriptions,
|
|
1106
1116
|
requestAdapter
|
|
@@ -1455,6 +1465,7 @@ export const installationServiceBuilder = (
|
|
|
1455
1465
|
getInstallation: requestFunctions.getInstallation,
|
|
1456
1466
|
putInstallation: requestFunctions.putInstallation,
|
|
1457
1467
|
deleteInstallation: requestFunctions.deleteInstallation,
|
|
1468
|
+
applyInstallationWithFinance: requestFunctions.applyInstallationWithFinance,
|
|
1458
1469
|
});
|
|
1459
1470
|
|
|
1460
1471
|
export const subscriptionServiceBuilder = (
|
|
@@ -1647,6 +1658,7 @@ export interface Operations {
|
|
|
1647
1658
|
getInstallation: typeof getInstallationOperation;
|
|
1648
1659
|
putInstallation: typeof putInstallationOperation;
|
|
1649
1660
|
deleteInstallation: typeof deleteInstallationOperation;
|
|
1661
|
+
applyInstallationWithFinance: typeof applyInstallationWithFinanceOperation;
|
|
1650
1662
|
getSubscriptions: typeof getSubscriptionsOperation;
|
|
1651
1663
|
postSubscription: typeof postSubscriptionOperation;
|
|
1652
1664
|
getSubscription: typeof getSubscriptionOperation;
|