@kanda-libs/ks-component-ts 0.2.426 → 0.2.428

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.
Files changed (28) hide show
  1. package/dist/index.d.ts +15101 -12963
  2. package/dist/index.esm.js +4 -4
  3. package/dist/index.esm.js.map +3 -3
  4. package/package.json +1 -1
  5. package/src/generated/components/parameters/index.ts +1 -0
  6. package/src/generated/components/parameters/tier.ts +8 -0
  7. package/src/generated/components/schemas/Budgets.ts +12 -0
  8. package/src/generated/components/schemas/Company.ts +3 -0
  9. package/src/generated/components/schemas/Introduction.ts +50 -0
  10. package/src/generated/components/schemas/IntroductionState.ts +34 -0
  11. package/src/generated/components/schemas/JobDetails.ts +5 -0
  12. package/src/generated/components/schemas/Tier.ts +8 -0
  13. package/src/generated/components/schemas/TierConfig.ts +13 -0
  14. package/src/generated/components/schemas/TierEvent.ts +15 -0
  15. package/src/generated/components/schemas/index.ts +7 -0
  16. package/src/generated/operations/deleteIntroduction.ts +29 -0
  17. package/src/generated/operations/getIntroduction.ts +29 -0
  18. package/src/generated/operations/getIntroductions.ts +25 -0
  19. package/src/generated/operations/index.ts +114 -0
  20. package/src/generated/operations/postCompanyBilling.ts +3 -0
  21. package/src/generated/operations/postCompanyBillingSuccess.ts +3 -0
  22. package/src/generated/operations/postIntroduction.ts +24 -0
  23. package/src/generated/operations/postIntroductionConsumerDetails.ts +38 -0
  24. package/src/generated/operations/postIntroductionConvertJob.ts +29 -0
  25. package/src/generated/operations/postIntroductionJobDetails.ts +38 -0
  26. package/src/generated/operations/postIntroductionTrader.ts +38 -0
  27. package/src/generated/operations/putIntroduction.ts +35 -0
  28. package/src/generated/widget/index.tsx +69612 -62050
@@ -0,0 +1,38 @@
1
+ import type { RequestFunction } from "@openapi-io-ts/runtime";
2
+ import * as schemas from "../components/schemas";
3
+
4
+ export type PostIntroductionTraderRequestParameters = {
5
+ id: string;
6
+ };
7
+
8
+ export const postIntroductionTraderOperation = {
9
+ path: "/api/introduction/{id}/trader",
10
+ method: "post",
11
+ responses: {
12
+ "200": { _tag: "JsonResponse", decoder: schemas.Introduction },
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 PostIntroductionTraderRequestFunction = RequestFunction<
33
+ {
34
+ params: PostIntroductionTraderRequestParameters;
35
+ body: schemas.ContactInfo;
36
+ },
37
+ schemas.Introduction
38
+ >;
@@ -0,0 +1,35 @@
1
+ import type { RequestFunction } from "@openapi-io-ts/runtime";
2
+ import * as schemas from "../components/schemas";
3
+
4
+ export type PutIntroductionRequestParameters = {
5
+ id: string;
6
+ };
7
+
8
+ export const putIntroductionOperation = {
9
+ path: "/api/introduction/{id}",
10
+ method: "put",
11
+ responses: {
12
+ "200": { _tag: "JsonResponse", decoder: schemas.Introduction },
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 PutIntroductionRequestFunction = RequestFunction<
33
+ { params: PutIntroductionRequestParameters; body: schemas.Introduction },
34
+ schemas.Introduction
35
+ >;