@kanda-libs/ks-component-ts 0.2.430 → 0.2.431
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 +14194 -14194
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +3 -3
- package/package.json +1 -1
- package/src/generated/operations/index.ts +9 -0
- package/src/generated/operations/putInfoStats.ts +24 -0
- package/src/generated/widget/index.tsx +68151 -68151
package/package.json
CHANGED
|
@@ -456,6 +456,10 @@ import {
|
|
|
456
456
|
putEnterpriseOperation,
|
|
457
457
|
PutEnterpriseRequestFunction,
|
|
458
458
|
} from "./putEnterprise";
|
|
459
|
+
import {
|
|
460
|
+
putInfoStatsOperation,
|
|
461
|
+
PutInfoStatsRequestFunction,
|
|
462
|
+
} from "./putInfoStats";
|
|
459
463
|
import {
|
|
460
464
|
putIntroductionOperation,
|
|
461
465
|
PutIntroductionRequestFunction,
|
|
@@ -551,6 +555,7 @@ export const operations: Operations = {
|
|
|
551
555
|
infoEnterpriseRole: infoEnterpriseRoleOperation,
|
|
552
556
|
infoLead: infoLeadOperation,
|
|
553
557
|
infoStats: infoStatsOperation,
|
|
558
|
+
putInfoStats: putInfoStatsOperation,
|
|
554
559
|
getPartners: getPartnersOperation,
|
|
555
560
|
postPartner: postPartnerOperation,
|
|
556
561
|
getPartner: getPartnerOperation,
|
|
@@ -726,6 +731,7 @@ export interface OperationRequestFunctionMap {
|
|
|
726
731
|
infoEnterpriseRole: InfoEnterpriseRoleRequestFunction;
|
|
727
732
|
infoLead: InfoLeadRequestFunction;
|
|
728
733
|
infoStats: InfoStatsRequestFunction;
|
|
734
|
+
putInfoStats: PutInfoStatsRequestFunction;
|
|
729
735
|
getPartners: GetPartnersRequestFunction;
|
|
730
736
|
postPartner: PostPartnerRequestFunction;
|
|
731
737
|
getPartner: GetPartnerRequestFunction;
|
|
@@ -939,6 +945,7 @@ export const requestFunctionsBuilder = (
|
|
|
939
945
|
),
|
|
940
946
|
infoLead: requestFunctionBuilder(operations.infoLead, requestAdapter),
|
|
941
947
|
infoStats: requestFunctionBuilder(operations.infoStats, requestAdapter),
|
|
948
|
+
putInfoStats: requestFunctionBuilder(operations.putInfoStats, requestAdapter),
|
|
942
949
|
getPartners: requestFunctionBuilder(operations.getPartners, requestAdapter),
|
|
943
950
|
postPartner: requestFunctionBuilder(operations.postPartner, requestAdapter),
|
|
944
951
|
getPartner: requestFunctionBuilder(operations.getPartner, requestAdapter),
|
|
@@ -1480,6 +1487,7 @@ export const infoStatsServiceBuilder = (
|
|
|
1480
1487
|
requestFunctions: OperationRequestFunctionMap
|
|
1481
1488
|
) => ({
|
|
1482
1489
|
infoStats: requestFunctions.infoStats,
|
|
1490
|
+
putInfoStats: requestFunctions.putInfoStats,
|
|
1483
1491
|
});
|
|
1484
1492
|
|
|
1485
1493
|
export const partnerServiceBuilder = (
|
|
@@ -1696,6 +1704,7 @@ export interface Operations {
|
|
|
1696
1704
|
infoEnterpriseRole: typeof infoEnterpriseRoleOperation;
|
|
1697
1705
|
infoLead: typeof infoLeadOperation;
|
|
1698
1706
|
infoStats: typeof infoStatsOperation;
|
|
1707
|
+
putInfoStats: typeof putInfoStatsOperation;
|
|
1699
1708
|
getPartners: typeof getPartnersOperation;
|
|
1700
1709
|
postPartner: typeof postPartnerOperation;
|
|
1701
1710
|
getPartner: typeof getPartnerOperation;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
2
|
+
import * as schemas from "../components/schemas";
|
|
3
|
+
|
|
4
|
+
export const putInfoStatsOperation = {
|
|
5
|
+
path: "/api/info/stats",
|
|
6
|
+
method: "put",
|
|
7
|
+
responses: {
|
|
8
|
+
"200": { _tag: "JsonResponse", decoder: schemas.InfoStats },
|
|
9
|
+
default: { _tag: "JsonResponse", decoder: schemas.Error },
|
|
10
|
+
},
|
|
11
|
+
parameters: [],
|
|
12
|
+
requestDefaultHeaders: {
|
|
13
|
+
"Content-Type": "application/json",
|
|
14
|
+
Accept: "application/json",
|
|
15
|
+
},
|
|
16
|
+
body: {
|
|
17
|
+
_tag: "JsonBody",
|
|
18
|
+
},
|
|
19
|
+
} as const;
|
|
20
|
+
|
|
21
|
+
export type PutInfoStatsRequestFunction = RequestFunction<
|
|
22
|
+
{ body: schemas.InfoSearch },
|
|
23
|
+
schemas.InfoStats
|
|
24
|
+
>;
|