@kanda-libs/ks-component-ts 0.2.352 → 0.2.354

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kanda-libs/ks-component-ts",
3
- "version": "0.2.352",
3
+ "version": "0.2.354",
4
4
  "description": "Kanda form component library",
5
5
  "main": "dist/index.esm.js",
6
6
  "module": "dist/index.esm.js",
@@ -18,7 +18,7 @@ const Desktop: FunctionComponent<SelectionModalProps> = function ({
18
18
 
19
19
  return (
20
20
  <Popover.Standard
21
- id="selection-modal"
21
+ id={`${name}-selection-modal`}
22
22
  button={
23
23
  <SelectionModalButton
24
24
  id={buttonId}
@@ -1,6 +1,13 @@
1
1
  import type { RequestFunction } from "@openapi-io-ts/runtime";
2
2
  import * as schemas from "../components/schemas";
3
3
 
4
+ export type InfoLeadRequestParameters = {
5
+ eid?: string;
6
+ bid?: string;
7
+ subdomain?: string;
8
+ branch_code?: string;
9
+ };
10
+
4
11
  export const infoLeadOperation = {
5
12
  path: "/api/info/lead",
6
13
  method: "put",
@@ -8,7 +15,32 @@ export const infoLeadOperation = {
8
15
  "200": { _tag: "JsonResponse", decoder: schemas.ContactInfo },
9
16
  default: { _tag: "JsonResponse", decoder: schemas.Error },
10
17
  },
11
- parameters: [],
18
+ parameters: [
19
+ {
20
+ _tag: "FormParameter",
21
+ explode: true,
22
+ in: "query",
23
+ name: "eid",
24
+ },
25
+ {
26
+ _tag: "FormParameter",
27
+ explode: true,
28
+ in: "query",
29
+ name: "bid",
30
+ },
31
+ {
32
+ _tag: "FormParameter",
33
+ explode: true,
34
+ in: "query",
35
+ name: "subdomain",
36
+ },
37
+ {
38
+ _tag: "FormParameter",
39
+ explode: true,
40
+ in: "query",
41
+ name: "branch_code",
42
+ },
43
+ ],
12
44
  requestDefaultHeaders: {
13
45
  "Content-Type": "application/json",
14
46
  Accept: "application/json",
@@ -19,6 +51,6 @@ export const infoLeadOperation = {
19
51
  } as const;
20
52
 
21
53
  export type InfoLeadRequestFunction = RequestFunction<
22
- { body: schemas.ContactInfo },
54
+ { params: InfoLeadRequestParameters; body: schemas.ContactInfo },
23
55
  schemas.ContactInfo
24
56
  >;