@kanda-libs/ks-component-ts 0.2.274 → 0.2.276
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 +10037 -10037
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +3 -3
- package/package.json +1 -1
- package/src/generated/operations/index.ts +17 -0
- package/src/generated/operations/infoTradeSummary.ts +29 -0
- package/src/generated/widget/index.tsx +50235 -50235
package/package.json
CHANGED
|
@@ -212,6 +212,10 @@ import {
|
|
|
212
212
|
infoSessionOperation,
|
|
213
213
|
InfoSessionRequestFunction,
|
|
214
214
|
} from "./infoSession";
|
|
215
|
+
import {
|
|
216
|
+
infoTradeSummaryOperation,
|
|
217
|
+
InfoTradeSummaryRequestFunction,
|
|
218
|
+
} from "./infoTradeSummary";
|
|
215
219
|
import {
|
|
216
220
|
infoValidateEmailOperation,
|
|
217
221
|
InfoValidateEmailRequestFunction,
|
|
@@ -373,6 +377,7 @@ export const operations: Operations = {
|
|
|
373
377
|
infoHealth: infoHealthOperation,
|
|
374
378
|
infoGhost: infoGhostOperation,
|
|
375
379
|
infoQuery: infoQueryOperation,
|
|
380
|
+
infoTradeSummary: infoTradeSummaryOperation,
|
|
376
381
|
infoCompany: infoCompanyOperation,
|
|
377
382
|
infoOnboarding: infoOnboardingOperation,
|
|
378
383
|
infoDirector: infoDirectorOperation,
|
|
@@ -508,6 +513,7 @@ export interface OperationRequestFunctionMap {
|
|
|
508
513
|
infoHealth: InfoHealthRequestFunction;
|
|
509
514
|
infoGhost: InfoGhostRequestFunction;
|
|
510
515
|
infoQuery: InfoQueryRequestFunction;
|
|
516
|
+
infoTradeSummary: InfoTradeSummaryRequestFunction;
|
|
511
517
|
infoCompany: InfoCompanyRequestFunction;
|
|
512
518
|
infoOnboarding: InfoOnboardingRequestFunction;
|
|
513
519
|
infoDirector: InfoDirectorRequestFunction;
|
|
@@ -645,6 +651,10 @@ export const requestFunctionsBuilder = (
|
|
|
645
651
|
infoHealth: requestFunctionBuilder(operations.infoHealth, requestAdapter),
|
|
646
652
|
infoGhost: requestFunctionBuilder(operations.infoGhost, requestAdapter),
|
|
647
653
|
infoQuery: requestFunctionBuilder(operations.infoQuery, requestAdapter),
|
|
654
|
+
infoTradeSummary: requestFunctionBuilder(
|
|
655
|
+
operations.infoTradeSummary,
|
|
656
|
+
requestAdapter
|
|
657
|
+
),
|
|
648
658
|
infoCompany: requestFunctionBuilder(operations.infoCompany, requestAdapter),
|
|
649
659
|
infoOnboarding: requestFunctionBuilder(
|
|
650
660
|
operations.infoOnboarding,
|
|
@@ -949,6 +959,12 @@ export const infoQueryServiceBuilder = (
|
|
|
949
959
|
infoQuery: requestFunctions.infoQuery,
|
|
950
960
|
});
|
|
951
961
|
|
|
962
|
+
export const tradeSummaryServiceBuilder = (
|
|
963
|
+
requestFunctions: OperationRequestFunctionMap
|
|
964
|
+
) => ({
|
|
965
|
+
infoTradeSummary: requestFunctions.infoTradeSummary,
|
|
966
|
+
});
|
|
967
|
+
|
|
952
968
|
export const infoCompanyServiceBuilder = (
|
|
953
969
|
requestFunctions: OperationRequestFunctionMap
|
|
954
970
|
) => ({
|
|
@@ -1224,6 +1240,7 @@ export interface Operations {
|
|
|
1224
1240
|
infoHealth: typeof infoHealthOperation;
|
|
1225
1241
|
infoGhost: typeof infoGhostOperation;
|
|
1226
1242
|
infoQuery: typeof infoQueryOperation;
|
|
1243
|
+
infoTradeSummary: typeof infoTradeSummaryOperation;
|
|
1227
1244
|
infoCompany: typeof infoCompanyOperation;
|
|
1228
1245
|
infoOnboarding: typeof infoOnboardingOperation;
|
|
1229
1246
|
infoDirector: typeof infoDirectorOperation;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
2
|
+
import * as schemas from "../components/schemas";
|
|
3
|
+
|
|
4
|
+
export type InfoTradeSummaryRequestParameters = {
|
|
5
|
+
id: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const infoTradeSummaryOperation = {
|
|
9
|
+
path: "/api/info/trade-summary",
|
|
10
|
+
method: "get",
|
|
11
|
+
responses: {
|
|
12
|
+
"200": { _tag: "JsonResponse", decoder: schemas.TradeSummary },
|
|
13
|
+
default: { _tag: "JsonResponse", decoder: schemas.Error },
|
|
14
|
+
},
|
|
15
|
+
parameters: [
|
|
16
|
+
{
|
|
17
|
+
_tag: "FormParameter",
|
|
18
|
+
explode: true,
|
|
19
|
+
in: "query",
|
|
20
|
+
name: "id",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
requestDefaultHeaders: { Accept: "application/json" },
|
|
24
|
+
} as const;
|
|
25
|
+
|
|
26
|
+
export type InfoTradeSummaryRequestFunction = RequestFunction<
|
|
27
|
+
{ params: InfoTradeSummaryRequestParameters },
|
|
28
|
+
schemas.TradeSummary
|
|
29
|
+
>;
|