@kanda-libs/ks-component-ts 0.2.299 → 0.2.301
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 +10422 -10422
- 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 +24 -0
- package/src/generated/operations/postCompanyBilling.ts +29 -0
- package/src/generated/operations/postCompanyBillingSuccess.ts +29 -0
- package/src/generated/widget/index.tsx +51081 -51081
package/package.json
CHANGED
|
@@ -261,6 +261,14 @@ import {
|
|
|
261
261
|
postCompanyOperation,
|
|
262
262
|
PostCompanyRequestFunction,
|
|
263
263
|
} from "./postCompany";
|
|
264
|
+
import {
|
|
265
|
+
postCompanyBillingOperation,
|
|
266
|
+
PostCompanyBillingRequestFunction,
|
|
267
|
+
} from "./postCompanyBilling";
|
|
268
|
+
import {
|
|
269
|
+
postCompanyBillingSuccessOperation,
|
|
270
|
+
PostCompanyBillingSuccessRequestFunction,
|
|
271
|
+
} from "./postCompanyBillingSuccess";
|
|
264
272
|
import {
|
|
265
273
|
postCompanyDirectorVerificationOperation,
|
|
266
274
|
PostCompanyDirectorVerificationRequestFunction,
|
|
@@ -437,6 +445,8 @@ export const operations: Operations = {
|
|
|
437
445
|
getCompany: getCompanyOperation,
|
|
438
446
|
putCompany: putCompanyOperation,
|
|
439
447
|
deleteCompany: deleteCompanyOperation,
|
|
448
|
+
postCompanyBilling: postCompanyBillingOperation,
|
|
449
|
+
postCompanyBillingSuccess: postCompanyBillingSuccessOperation,
|
|
440
450
|
getCompanyDirectorVerification: getCompanyDirectorVerificationOperation,
|
|
441
451
|
postCompanyDirectorVerification: postCompanyDirectorVerificationOperation,
|
|
442
452
|
directorCompany: directorCompanyOperation,
|
|
@@ -576,6 +586,8 @@ export interface OperationRequestFunctionMap {
|
|
|
576
586
|
getCompany: GetCompanyRequestFunction;
|
|
577
587
|
putCompany: PutCompanyRequestFunction;
|
|
578
588
|
deleteCompany: DeleteCompanyRequestFunction;
|
|
589
|
+
postCompanyBilling: PostCompanyBillingRequestFunction;
|
|
590
|
+
postCompanyBillingSuccess: PostCompanyBillingSuccessRequestFunction;
|
|
579
591
|
getCompanyDirectorVerification: GetCompanyDirectorVerificationRequestFunction;
|
|
580
592
|
postCompanyDirectorVerification: PostCompanyDirectorVerificationRequestFunction;
|
|
581
593
|
directorCompany: DirectorCompanyRequestFunction;
|
|
@@ -798,6 +810,14 @@ export const requestFunctionsBuilder = (
|
|
|
798
810
|
operations.deleteCompany,
|
|
799
811
|
requestAdapter
|
|
800
812
|
),
|
|
813
|
+
postCompanyBilling: requestFunctionBuilder(
|
|
814
|
+
operations.postCompanyBilling,
|
|
815
|
+
requestAdapter
|
|
816
|
+
),
|
|
817
|
+
postCompanyBillingSuccess: requestFunctionBuilder(
|
|
818
|
+
operations.postCompanyBillingSuccess,
|
|
819
|
+
requestAdapter
|
|
820
|
+
),
|
|
801
821
|
getCompanyDirectorVerification: requestFunctionBuilder(
|
|
802
822
|
operations.getCompanyDirectorVerification,
|
|
803
823
|
requestAdapter
|
|
@@ -1174,6 +1194,8 @@ export const companyServiceBuilder = (
|
|
|
1174
1194
|
getCompany: requestFunctions.getCompany,
|
|
1175
1195
|
putCompany: requestFunctions.putCompany,
|
|
1176
1196
|
deleteCompany: requestFunctions.deleteCompany,
|
|
1197
|
+
postCompanyBilling: requestFunctions.postCompanyBilling,
|
|
1198
|
+
postCompanyBillingSuccess: requestFunctions.postCompanyBillingSuccess,
|
|
1177
1199
|
getCompanyDirectorVerification:
|
|
1178
1200
|
requestFunctions.getCompanyDirectorVerification,
|
|
1179
1201
|
postCompanyDirectorVerification:
|
|
@@ -1318,6 +1340,8 @@ export interface Operations {
|
|
|
1318
1340
|
getCompany: typeof getCompanyOperation;
|
|
1319
1341
|
putCompany: typeof putCompanyOperation;
|
|
1320
1342
|
deleteCompany: typeof deleteCompanyOperation;
|
|
1343
|
+
postCompanyBilling: typeof postCompanyBillingOperation;
|
|
1344
|
+
postCompanyBillingSuccess: typeof postCompanyBillingSuccessOperation;
|
|
1321
1345
|
getCompanyDirectorVerification: typeof getCompanyDirectorVerificationOperation;
|
|
1322
1346
|
postCompanyDirectorVerification: typeof postCompanyDirectorVerificationOperation;
|
|
1323
1347
|
directorCompany: typeof directorCompanyOperation;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
2
|
+
import * as schemas from "../components/schemas";
|
|
3
|
+
|
|
4
|
+
export type PostCompanyBillingRequestParameters = {
|
|
5
|
+
id: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const postCompanyBillingOperation = {
|
|
9
|
+
path: "/api/company/{id}/billing",
|
|
10
|
+
method: "post",
|
|
11
|
+
responses: {
|
|
12
|
+
"200": { _tag: "JsonResponse", decoder: schemas.RedirectURLs },
|
|
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: { Accept: "application/json" },
|
|
24
|
+
} as const;
|
|
25
|
+
|
|
26
|
+
export type PostCompanyBillingRequestFunction = RequestFunction<
|
|
27
|
+
{ params: PostCompanyBillingRequestParameters },
|
|
28
|
+
schemas.RedirectURLs
|
|
29
|
+
>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
2
|
+
import * as schemas from "../components/schemas";
|
|
3
|
+
|
|
4
|
+
export type PostCompanyBillingSuccessRequestParameters = {
|
|
5
|
+
id: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const postCompanyBillingSuccessOperation = {
|
|
9
|
+
path: "/api/company/{id}/billing-success",
|
|
10
|
+
method: "post",
|
|
11
|
+
responses: {
|
|
12
|
+
"200": { _tag: "JsonResponse", decoder: schemas.Company },
|
|
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: { Accept: "application/json" },
|
|
24
|
+
} as const;
|
|
25
|
+
|
|
26
|
+
export type PostCompanyBillingSuccessRequestFunction = RequestFunction<
|
|
27
|
+
{ params: PostCompanyBillingSuccessRequestParameters },
|
|
28
|
+
schemas.Company
|
|
29
|
+
>;
|