@kanda-libs/ks-component-ts 0.3.69 → 0.3.71
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 +15218 -12946
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +3 -3
- package/package.json +1 -1
- package/src/generated/components/schemas/Enquiry.ts +30 -0
- package/src/generated/components/schemas/EnquiryBody.ts +18 -0
- package/src/generated/components/schemas/EnquiryInfo.ts +29 -0
- package/src/generated/components/schemas/EnquiryState.ts +28 -0
- package/src/generated/components/schemas/EnquiryStateRequest.ts +10 -0
- package/src/generated/components/schemas/InfoEnquiry.ts +26 -0
- package/src/generated/components/schemas/InfoTag.ts +15 -0
- package/src/generated/components/schemas/InterestInCredit.ts +5 -0
- package/src/generated/components/schemas/InterestInCreditRequest.ts +10 -0
- package/src/generated/components/schemas/JobInfo.ts +20 -0
- package/src/generated/components/schemas/MaxBudget.ts +16 -0
- package/src/generated/components/schemas/PreferenceMap.ts +5 -0
- package/src/generated/components/schemas/SearchHits.ts +14 -0
- package/src/generated/components/schemas/SearchIndex.ts +4 -0
- package/src/generated/components/schemas/Tag.ts +7 -0
- package/src/generated/components/schemas/TagBody.ts +17 -0
- package/src/generated/components/schemas/WorkType.ts +2 -0
- package/src/generated/components/schemas/index.ts +14 -0
- package/src/generated/operations/deleteEnquiry.ts +29 -0
- package/src/generated/operations/deleteTag.ts +29 -0
- package/src/generated/operations/getEnquiries.ts +25 -0
- package/src/generated/operations/getEnquiry.ts +29 -0
- package/src/generated/operations/getInfoEnquiry.ts +29 -0
- package/src/generated/operations/getTag.ts +29 -0
- package/src/generated/operations/getTags.ts +25 -0
- package/src/generated/operations/index.ts +243 -0
- package/src/generated/operations/postEnquiry.ts +24 -0
- package/src/generated/operations/postEnquiryArchive.ts +29 -0
- package/src/generated/operations/postEnquiryBudget.ts +35 -0
- package/src/generated/operations/postEnquiryConsumer.ts +35 -0
- package/src/generated/operations/postEnquiryConsumerPreferences.ts +38 -0
- package/src/generated/operations/postEnquiryConsumerSignature.ts +38 -0
- package/src/generated/operations/postEnquiryConvertJob.ts +29 -0
- package/src/generated/operations/postEnquiryInterestInCredit.ts +38 -0
- package/src/generated/operations/postEnquiryJobInfo.ts +35 -0
- package/src/generated/operations/postEnquiryState.ts +38 -0
- package/src/generated/operations/postEnquirySubmit.ts +29 -0
- package/src/generated/operations/postEnquiryUnarchive.ts +29 -0
- package/src/generated/operations/postTag.ts +24 -0
- package/src/generated/operations/putEnquiry.ts +35 -0
- package/src/generated/operations/putInfoTag.ts +24 -0
- package/src/generated/operations/putTag.ts +35 -0
- package/src/generated/widget/index.tsx +71508 -62799
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { RequestFunction } from "@kanda-libs/openapi-io-ts-runtime";
|
|
2
|
+
import * as schemas from "../components/schemas";
|
|
3
|
+
|
|
4
|
+
export type PostEnquiryStateRequestParameters = {
|
|
5
|
+
id: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const postEnquiryStateOperation = {
|
|
9
|
+
path: "/api/enquiry/{id}/state",
|
|
10
|
+
method: "post",
|
|
11
|
+
responses: {
|
|
12
|
+
"200": { _tag: "JsonResponse", decoder: schemas.Enquiry },
|
|
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 PostEnquiryStateRequestFunction = RequestFunction<
|
|
33
|
+
{
|
|
34
|
+
params: PostEnquiryStateRequestParameters;
|
|
35
|
+
body: schemas.EnquiryStateRequest;
|
|
36
|
+
},
|
|
37
|
+
schemas.Enquiry
|
|
38
|
+
>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { RequestFunction } from "@kanda-libs/openapi-io-ts-runtime";
|
|
2
|
+
import * as schemas from "../components/schemas";
|
|
3
|
+
|
|
4
|
+
export type PostEnquirySubmitRequestParameters = {
|
|
5
|
+
id: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const postEnquirySubmitOperation = {
|
|
9
|
+
path: "/api/enquiry/{id}/submit",
|
|
10
|
+
method: "post",
|
|
11
|
+
responses: {
|
|
12
|
+
"200": { _tag: "JsonResponse", decoder: schemas.Enquiry },
|
|
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 PostEnquirySubmitRequestFunction = RequestFunction<
|
|
27
|
+
{ params: PostEnquirySubmitRequestParameters },
|
|
28
|
+
schemas.Enquiry
|
|
29
|
+
>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { RequestFunction } from "@kanda-libs/openapi-io-ts-runtime";
|
|
2
|
+
import * as schemas from "../components/schemas";
|
|
3
|
+
|
|
4
|
+
export type PostEnquiryUnarchiveRequestParameters = {
|
|
5
|
+
id: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const postEnquiryUnarchiveOperation = {
|
|
9
|
+
path: "/api/enquiry/{id}/unarchive",
|
|
10
|
+
method: "post",
|
|
11
|
+
responses: {
|
|
12
|
+
"200": { _tag: "JsonResponse", decoder: schemas.Enquiry },
|
|
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 PostEnquiryUnarchiveRequestFunction = RequestFunction<
|
|
27
|
+
{ params: PostEnquiryUnarchiveRequestParameters },
|
|
28
|
+
schemas.Enquiry
|
|
29
|
+
>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { RequestFunction } from "@kanda-libs/openapi-io-ts-runtime";
|
|
2
|
+
import * as schemas from "../components/schemas";
|
|
3
|
+
|
|
4
|
+
export const postTagOperation = {
|
|
5
|
+
path: "/api/tag",
|
|
6
|
+
method: "post",
|
|
7
|
+
responses: {
|
|
8
|
+
"200": { _tag: "JsonResponse", decoder: schemas.Tag },
|
|
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 PostTagRequestFunction = RequestFunction<
|
|
22
|
+
{ body: schemas.TagBody },
|
|
23
|
+
schemas.Tag
|
|
24
|
+
>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { RequestFunction } from "@kanda-libs/openapi-io-ts-runtime";
|
|
2
|
+
import * as schemas from "../components/schemas";
|
|
3
|
+
|
|
4
|
+
export type PutEnquiryRequestParameters = {
|
|
5
|
+
id: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const putEnquiryOperation = {
|
|
9
|
+
path: "/api/enquiry/{id}",
|
|
10
|
+
method: "put",
|
|
11
|
+
responses: {
|
|
12
|
+
"200": { _tag: "JsonResponse", decoder: schemas.Enquiry },
|
|
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 PutEnquiryRequestFunction = RequestFunction<
|
|
33
|
+
{ params: PutEnquiryRequestParameters; body: schemas.EnquiryBody },
|
|
34
|
+
schemas.Enquiry
|
|
35
|
+
>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { RequestFunction } from "@kanda-libs/openapi-io-ts-runtime";
|
|
2
|
+
import * as schemas from "../components/schemas";
|
|
3
|
+
|
|
4
|
+
export const putInfoTagOperation = {
|
|
5
|
+
path: "/api/info/tag",
|
|
6
|
+
method: "put",
|
|
7
|
+
responses: {
|
|
8
|
+
"200": { _tag: "JsonResponse", decoder: schemas.InfoTag },
|
|
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 PutInfoTagRequestFunction = RequestFunction<
|
|
22
|
+
{ body: schemas.InfoTag },
|
|
23
|
+
schemas.InfoTag
|
|
24
|
+
>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { RequestFunction } from "@kanda-libs/openapi-io-ts-runtime";
|
|
2
|
+
import * as schemas from "../components/schemas";
|
|
3
|
+
|
|
4
|
+
export type PutTagRequestParameters = {
|
|
5
|
+
id: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const putTagOperation = {
|
|
9
|
+
path: "/api/tag/{id}",
|
|
10
|
+
method: "put",
|
|
11
|
+
responses: {
|
|
12
|
+
"200": { _tag: "JsonResponse", decoder: schemas.Tag },
|
|
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 PutTagRequestFunction = RequestFunction<
|
|
33
|
+
{ params: PutTagRequestParameters; body: schemas.TagBody },
|
|
34
|
+
schemas.Tag
|
|
35
|
+
>;
|