@kanda-libs/ks-component-ts 0.2.240-qa → 0.2.240-qa2
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/app/.yalc/@kanda-libs/ks-component-ts/dist/index.esm.js +3 -3
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/index.esm.js.map +3 -3
- package/app/.yalc/@kanda-libs/ks-component-ts/package.json +2 -2
- package/app/.yalc/@kanda-libs/ks-component-ts/yalc.sig +1 -1
- package/app/yalc.lock +1 -1
- package/dist/index.d.ts +7268 -10040
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +3 -3
- package/package.json +2 -2
- package/src/field/types.d.ts +2 -2
- package/src/generated/components/schemas/FinanceRate.ts +0 -2
- package/src/generated/components/schemas/index.ts +0 -3
- package/src/generated/operations/index.ts +0 -41
- package/src/generated/widget/index.tsx +34423 -44142
- package/yarn.lock +64 -0
- package/src/generated/components/schemas/Lead.ts +0 -61
- package/src/generated/components/schemas/LeadApplicant.ts +0 -16
- package/src/generated/components/schemas/LeadQuote.ts +0 -39
- package/src/generated/operations/deleteLead.ts +0 -29
- package/src/generated/operations/getLead.ts +0 -29
- package/src/generated/operations/getLeads.ts +0 -25
- package/src/generated/operations/postLead.ts +0 -24
- package/src/generated/operations/putLead.ts +0 -35
- package/src/generated/operations/quoteLead.ts +0 -35
package/yarn.lock
CHANGED
|
@@ -2,6 +2,19 @@
|
|
|
2
2
|
# yarn lockfile v1
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
"@amplitude/analytics-browser@1.10.7":
|
|
6
|
+
version "1.10.7"
|
|
7
|
+
resolved "https://registry.yarnpkg.com/@amplitude/analytics-browser/-/analytics-browser-1.10.7.tgz#c084c39cc156c09d23c1fefa0b4607f30bda9846"
|
|
8
|
+
integrity sha512-gN1DMJHEZSc5ApF0xtkN4jBNl/69v9djREYYKsJMYRPkgKE8jn7oCB5H9tuRu99zeKdMMeAF7g3QzTBxOT+owA==
|
|
9
|
+
dependencies:
|
|
10
|
+
"@amplitude/analytics-client-common" "^1.0.0"
|
|
11
|
+
"@amplitude/analytics-core" "^1.0.0"
|
|
12
|
+
"@amplitude/analytics-types" "^1.0.0"
|
|
13
|
+
"@amplitude/plugin-page-view-tracking-browser" "^1.0.1"
|
|
14
|
+
"@amplitude/plugin-web-attribution-browser" "^1.0.1"
|
|
15
|
+
"@amplitude/ua-parser-js" "^0.7.31"
|
|
16
|
+
tslib "^2.4.1"
|
|
17
|
+
|
|
5
18
|
"@amplitude/analytics-browser@^1.6.4":
|
|
6
19
|
version "1.6.8"
|
|
7
20
|
resolved "https://registry.yarnpkg.com/@amplitude/analytics-browser/-/analytics-browser-1.6.8.tgz#bad4ca8d031145fcbf9a0feb26284a2769919d0a"
|
|
@@ -23,6 +36,16 @@
|
|
|
23
36
|
"@amplitude/analytics-types" "^0.14.0"
|
|
24
37
|
tslib "^2.4.1"
|
|
25
38
|
|
|
39
|
+
"@amplitude/analytics-client-common@^1.0.0", "@amplitude/analytics-client-common@^1.0.3":
|
|
40
|
+
version "1.0.3"
|
|
41
|
+
resolved "https://registry.yarnpkg.com/@amplitude/analytics-client-common/-/analytics-client-common-1.0.3.tgz#e7ca54ed8db59130dd8dca6434d3117eaeeb2207"
|
|
42
|
+
integrity sha512-RcfQvQakpzUosDlqPllfAhZNfPBrpLOeQnMIwKm3Z3ktlxv0I5+eZvs/mMVSbHrL7Ri83cInPG1pxnZfpOACwQ==
|
|
43
|
+
dependencies:
|
|
44
|
+
"@amplitude/analytics-connector" "^1.4.5"
|
|
45
|
+
"@amplitude/analytics-core" "^1.1.2"
|
|
46
|
+
"@amplitude/analytics-types" "^1.2.1"
|
|
47
|
+
tslib "^2.4.1"
|
|
48
|
+
|
|
26
49
|
"@amplitude/analytics-connector@^1.4.5":
|
|
27
50
|
version "1.4.6"
|
|
28
51
|
resolved "https://registry.yarnpkg.com/@amplitude/analytics-connector/-/analytics-connector-1.4.6.tgz#60a66eaf0bcdcd17db4f414ff340c69e63116a72"
|
|
@@ -38,11 +61,42 @@
|
|
|
38
61
|
"@amplitude/analytics-types" "^0.14.0"
|
|
39
62
|
tslib "^2.4.1"
|
|
40
63
|
|
|
64
|
+
"@amplitude/analytics-core@^1.0.0", "@amplitude/analytics-core@^1.1.2":
|
|
65
|
+
version "1.1.2"
|
|
66
|
+
resolved "https://registry.yarnpkg.com/@amplitude/analytics-core/-/analytics-core-1.1.2.tgz#222852f662c576599c163265e09c91e7592474ac"
|
|
67
|
+
integrity sha512-+NCjDOJNsE5rm9ZYeSWf9+pyC3akU05PJzAyPWl9TcTie1LXCBfiZER2zxvfvLIyQ250l8O3uB5Zt3VFJMdbvA==
|
|
68
|
+
dependencies:
|
|
69
|
+
"@amplitude/analytics-types" "^1.2.1"
|
|
70
|
+
tslib "^2.4.1"
|
|
71
|
+
|
|
41
72
|
"@amplitude/analytics-types@^0.14.0":
|
|
42
73
|
version "0.14.0"
|
|
43
74
|
resolved "https://registry.yarnpkg.com/@amplitude/analytics-types/-/analytics-types-0.14.0.tgz#06848235e52fe1d46a6e04bbc5d14090bdde15e3"
|
|
44
75
|
integrity sha512-O3E/KHyWCb4HAlYevqgCzqQdS+0LhbJV2IeVGox2eyCge+/lGwtGdJV2rJNWcoGf3p+BhnbqJBlhkPMs12iniA==
|
|
45
76
|
|
|
77
|
+
"@amplitude/analytics-types@^1.0.0", "@amplitude/analytics-types@^1.2.1":
|
|
78
|
+
version "1.2.1"
|
|
79
|
+
resolved "https://registry.yarnpkg.com/@amplitude/analytics-types/-/analytics-types-1.2.1.tgz#21db4978b83adc26eebf96353a97c67013d15ad3"
|
|
80
|
+
integrity sha512-YcOA1BhZ78dp9LxLetjwZU9vZHP+E6XiScOVFD8+Hum5c4ncBNj3AhsLLO4lnU67clQqp1/PZVcUsf3kxHvcnA==
|
|
81
|
+
|
|
82
|
+
"@amplitude/plugin-page-view-tracking-browser@^1.0.1":
|
|
83
|
+
version "1.0.5"
|
|
84
|
+
resolved "https://registry.yarnpkg.com/@amplitude/plugin-page-view-tracking-browser/-/plugin-page-view-tracking-browser-1.0.5.tgz#3c32ef68e0c156959afcf046ee22eaf72a86b486"
|
|
85
|
+
integrity sha512-Q6pj/AVDH9f5Dn0s6PLsvtqLaJkoTH8Vg8SRNMdhGKKnUJQdjUyui01PquPR9RQd8RKE1SioGBzlbGFh+qH+1Q==
|
|
86
|
+
dependencies:
|
|
87
|
+
"@amplitude/analytics-client-common" "^1.0.3"
|
|
88
|
+
"@amplitude/analytics-types" "^1.2.1"
|
|
89
|
+
tslib "^2.4.1"
|
|
90
|
+
|
|
91
|
+
"@amplitude/plugin-web-attribution-browser@^1.0.1":
|
|
92
|
+
version "1.0.5"
|
|
93
|
+
resolved "https://registry.yarnpkg.com/@amplitude/plugin-web-attribution-browser/-/plugin-web-attribution-browser-1.0.5.tgz#d7f53c3bf7897865f638053646cd192f140e44df"
|
|
94
|
+
integrity sha512-oQ/mk08EoZJzYN5mN+XNzUSF65jaWRUUeG9tK0xqiLTeBkVq8SEjmmxj6QdPqHDKxIw/bqLpLdCAZ2hkCxapQw==
|
|
95
|
+
dependencies:
|
|
96
|
+
"@amplitude/analytics-client-common" "^1.0.3"
|
|
97
|
+
"@amplitude/analytics-types" "^1.2.1"
|
|
98
|
+
tslib "^2.4.1"
|
|
99
|
+
|
|
46
100
|
"@amplitude/ua-parser-js@0.7.31", "@amplitude/ua-parser-js@^0.7.31":
|
|
47
101
|
version "0.7.31"
|
|
48
102
|
resolved "https://registry.yarnpkg.com/@amplitude/ua-parser-js/-/ua-parser-js-0.7.31.tgz#749bf7cb633cfcc7ff3c10805bad7c5f6fbdbc61"
|
|
@@ -788,6 +842,16 @@
|
|
|
788
842
|
"@react-pdf/font" "2.3.1"
|
|
789
843
|
"@react-pdf/renderer" "3.0.0"
|
|
790
844
|
|
|
845
|
+
"@kanda-libs/ks-amplitude-provider@0.0.17-qa2":
|
|
846
|
+
version "0.0.17-qa2"
|
|
847
|
+
resolved "https://registry.yarnpkg.com/@kanda-libs/ks-amplitude-provider/-/ks-amplitude-provider-0.0.17-qa2.tgz#53922f15a8eaaff174358a85bc8e1b7bdaf38980"
|
|
848
|
+
integrity sha512-oyJG5AiopQJJ6amefKN3qvN0wN9s84Q4zYMn0CfhVd1BLKWheKefkF9TrEr5vlEZqoOoHgpWiTb63tWRrLQTcw==
|
|
849
|
+
dependencies:
|
|
850
|
+
"@amplitude/analytics-browser" "1.10.7"
|
|
851
|
+
lodash.clonedeep "^4.5.0"
|
|
852
|
+
lodash.get "^4.4.2"
|
|
853
|
+
lodash.set "^4.3.2"
|
|
854
|
+
|
|
791
855
|
"@kanda-libs/ks-amplitude-provider@^0.0.15":
|
|
792
856
|
version "0.0.15"
|
|
793
857
|
resolved "https://registry.yarnpkg.com/@kanda-libs/ks-amplitude-provider/-/ks-amplitude-provider-0.0.15.tgz#cba7a700f9901a6ac351c878e7c6eebe3a38e1f6"
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import * as t from "io-ts";
|
|
2
|
-
import { DateFromISOString } from "io-ts-types/DateFromISOString";
|
|
3
|
-
import { FinanceRate } from "./FinanceRate";
|
|
4
|
-
import { FlowType } from "./FlowType";
|
|
5
|
-
import { LeadApplicant } from "./LeadApplicant";
|
|
6
|
-
import { LeadQuote } from "./LeadQuote";
|
|
7
|
-
import { Metadata } from "./Metadata";
|
|
8
|
-
import { Money } from "./Money";
|
|
9
|
-
|
|
10
|
-
export const Lead = t.intersection([
|
|
11
|
-
t.type({
|
|
12
|
-
expired_at: DateFromISOString,
|
|
13
|
-
status: t.union([
|
|
14
|
-
t.literal("open"),
|
|
15
|
-
t.literal("credit_declined"),
|
|
16
|
-
t.literal("quote_declined"),
|
|
17
|
-
t.literal("trade_accepted"),
|
|
18
|
-
t.literal("trade_declined"),
|
|
19
|
-
t.literal("expired"),
|
|
20
|
-
t.literal("closed"),
|
|
21
|
-
]),
|
|
22
|
-
}),
|
|
23
|
-
t.partial({
|
|
24
|
-
id: t.string,
|
|
25
|
-
cid: t.string,
|
|
26
|
-
oid: t.string,
|
|
27
|
-
aid: t.string,
|
|
28
|
-
lead_applicant: LeadApplicant,
|
|
29
|
-
lead_quote: LeadQuote,
|
|
30
|
-
finance_options: t.array(FinanceRate),
|
|
31
|
-
max_credit_amount: Money,
|
|
32
|
-
xid: t.string,
|
|
33
|
-
xref: t.string,
|
|
34
|
-
flow_type: FlowType,
|
|
35
|
-
metadata: Metadata,
|
|
36
|
-
}),
|
|
37
|
-
]);
|
|
38
|
-
|
|
39
|
-
export interface Lead {
|
|
40
|
-
id?: string;
|
|
41
|
-
cid?: string;
|
|
42
|
-
oid?: string;
|
|
43
|
-
aid?: string;
|
|
44
|
-
lead_applicant?: LeadApplicant;
|
|
45
|
-
lead_quote?: LeadQuote;
|
|
46
|
-
finance_options?: Array<FinanceRate>;
|
|
47
|
-
max_credit_amount?: Money;
|
|
48
|
-
expired_at: Date;
|
|
49
|
-
xid?: string;
|
|
50
|
-
xref?: string;
|
|
51
|
-
status:
|
|
52
|
-
| "open"
|
|
53
|
-
| "credit_declined"
|
|
54
|
-
| "quote_declined"
|
|
55
|
-
| "trade_accepted"
|
|
56
|
-
| "trade_declined"
|
|
57
|
-
| "expired"
|
|
58
|
-
| "closed";
|
|
59
|
-
flow_type?: FlowType;
|
|
60
|
-
metadata?: Metadata;
|
|
61
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as t from "io-ts";
|
|
2
|
-
import { CustomerDetails } from "./CustomerDetails";
|
|
3
|
-
import { EmploymentDetails } from "./EmploymentDetails";
|
|
4
|
-
import { FinanceDetails } from "./FinanceDetails";
|
|
5
|
-
|
|
6
|
-
export const LeadApplicant = t.type({
|
|
7
|
-
customer_details: CustomerDetails,
|
|
8
|
-
employment_details: EmploymentDetails,
|
|
9
|
-
finance_details: FinanceDetails,
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
export interface LeadApplicant {
|
|
13
|
-
customer_details: CustomerDetails;
|
|
14
|
-
employment_details: EmploymentDetails;
|
|
15
|
-
finance_details: FinanceDetails;
|
|
16
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import * as t from "io-ts";
|
|
2
|
-
import { FinanceRate } from "./FinanceRate";
|
|
3
|
-
import { Money } from "./Money";
|
|
4
|
-
import { WorkType } from "./WorkType";
|
|
5
|
-
|
|
6
|
-
export const LeadQuote = t.intersection([
|
|
7
|
-
t.type({
|
|
8
|
-
finance_option: FinanceRate,
|
|
9
|
-
work_type: WorkType,
|
|
10
|
-
work_finished_by: t.union([
|
|
11
|
-
t.literal("as soon as possible"),
|
|
12
|
-
t.literal("within 1 month"),
|
|
13
|
-
t.literal("within 3 months"),
|
|
14
|
-
t.literal("within 6 months"),
|
|
15
|
-
t.literal("over 6 months"),
|
|
16
|
-
]),
|
|
17
|
-
description: t.string,
|
|
18
|
-
}),
|
|
19
|
-
t.partial({
|
|
20
|
-
cash_amount: Money,
|
|
21
|
-
credit_amount: Money,
|
|
22
|
-
budget: Money,
|
|
23
|
-
}),
|
|
24
|
-
]);
|
|
25
|
-
|
|
26
|
-
export interface LeadQuote {
|
|
27
|
-
finance_option: FinanceRate;
|
|
28
|
-
work_type: WorkType;
|
|
29
|
-
cash_amount?: Money;
|
|
30
|
-
credit_amount?: Money;
|
|
31
|
-
budget?: Money;
|
|
32
|
-
work_finished_by:
|
|
33
|
-
| "as soon as possible"
|
|
34
|
-
| "within 1 month"
|
|
35
|
-
| "within 3 months"
|
|
36
|
-
| "within 6 months"
|
|
37
|
-
| "over 6 months";
|
|
38
|
-
description: string;
|
|
39
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
2
|
-
import * as schemas from "../components/schemas";
|
|
3
|
-
|
|
4
|
-
export type DeleteLeadRequestParameters = {
|
|
5
|
-
id: string;
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export const deleteLeadOperation = {
|
|
9
|
-
path: "/api/lead/{id}",
|
|
10
|
-
method: "delete",
|
|
11
|
-
responses: {
|
|
12
|
-
"200": { _tag: "JsonResponse", decoder: schemas.Lead },
|
|
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 DeleteLeadRequestFunction = RequestFunction<
|
|
27
|
-
{ params: DeleteLeadRequestParameters },
|
|
28
|
-
schemas.Lead
|
|
29
|
-
>;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
2
|
-
import * as schemas from "../components/schemas";
|
|
3
|
-
|
|
4
|
-
export type GetLeadRequestParameters = {
|
|
5
|
-
id: string;
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export const getLeadOperation = {
|
|
9
|
-
path: "/api/lead/{id}",
|
|
10
|
-
method: "get",
|
|
11
|
-
responses: {
|
|
12
|
-
"200": { _tag: "JsonResponse", decoder: schemas.Lead },
|
|
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 GetLeadRequestFunction = RequestFunction<
|
|
27
|
-
{ params: GetLeadRequestParameters },
|
|
28
|
-
schemas.Lead
|
|
29
|
-
>;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
2
|
-
import * as t from "io-ts";
|
|
3
|
-
import * as parameters from "../components/parameters";
|
|
4
|
-
import * as schemas from "../components/schemas";
|
|
5
|
-
|
|
6
|
-
export type GetLeadsRequestParameters = {
|
|
7
|
-
format?: "reduced" | "full";
|
|
8
|
-
q?: string;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export const getLeadsOperation = {
|
|
12
|
-
path: "/api/lead",
|
|
13
|
-
method: "get",
|
|
14
|
-
responses: {
|
|
15
|
-
"200": { _tag: "JsonResponse", decoder: t.array(schemas.Lead) },
|
|
16
|
-
default: { _tag: "JsonResponse", decoder: schemas.Error },
|
|
17
|
-
},
|
|
18
|
-
parameters: [parameters.format, parameters.q],
|
|
19
|
-
requestDefaultHeaders: { Accept: "application/json" },
|
|
20
|
-
} as const;
|
|
21
|
-
|
|
22
|
-
export type GetLeadsRequestFunction = RequestFunction<
|
|
23
|
-
{ params: GetLeadsRequestParameters },
|
|
24
|
-
Array<schemas.Lead>
|
|
25
|
-
>;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
2
|
-
import * as schemas from "../components/schemas";
|
|
3
|
-
|
|
4
|
-
export const postLeadOperation = {
|
|
5
|
-
path: "/api/lead",
|
|
6
|
-
method: "post",
|
|
7
|
-
responses: {
|
|
8
|
-
"200": { _tag: "JsonResponse", decoder: schemas.Lead },
|
|
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 PostLeadRequestFunction = RequestFunction<
|
|
22
|
-
{ body: schemas.LeadApplicant },
|
|
23
|
-
schemas.Lead
|
|
24
|
-
>;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
2
|
-
import * as schemas from "../components/schemas";
|
|
3
|
-
|
|
4
|
-
export type PutLeadRequestParameters = {
|
|
5
|
-
id: string;
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export const putLeadOperation = {
|
|
9
|
-
path: "/api/lead/{id}",
|
|
10
|
-
method: "put",
|
|
11
|
-
responses: {
|
|
12
|
-
"200": { _tag: "JsonResponse", decoder: schemas.Lead },
|
|
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 PutLeadRequestFunction = RequestFunction<
|
|
33
|
-
{ params: PutLeadRequestParameters; body: schemas.Lead },
|
|
34
|
-
schemas.Lead
|
|
35
|
-
>;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
2
|
-
import * as schemas from "../components/schemas";
|
|
3
|
-
|
|
4
|
-
export type QuoteLeadRequestParameters = {
|
|
5
|
-
id: string;
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export const quoteLeadOperation = {
|
|
9
|
-
path: "/api/lead/{id}/quote",
|
|
10
|
-
method: "post",
|
|
11
|
-
responses: {
|
|
12
|
-
"200": { _tag: "JsonResponse", decoder: schemas.Lead },
|
|
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 QuoteLeadRequestFunction = RequestFunction<
|
|
33
|
-
{ params: QuoteLeadRequestParameters; body: schemas.LeadQuote },
|
|
34
|
-
schemas.Lead
|
|
35
|
-
>;
|