pcbway-mcp-server 0.1.0 → 0.1.1-beta.49

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 (47) hide show
  1. package/README.md +24 -2
  2. package/dist/index.js +1 -1
  3. package/dist/resources/Account.d.ts +2 -2
  4. package/dist/resources/Account.d.ts.map +1 -1
  5. package/dist/resources/CancelOrder.d.ts +2 -10
  6. package/dist/resources/CancelOrder.d.ts.map +1 -1
  7. package/dist/resources/CancelTGroupOrder.d.ts +2 -10
  8. package/dist/resources/CancelTGroupOrder.d.ts.map +1 -1
  9. package/dist/resources/CheckGroupOrder.d.ts +2 -10
  10. package/dist/resources/CheckGroupOrder.d.ts.map +1 -1
  11. package/dist/resources/CheckTGroupOrder.d.ts +2 -10
  12. package/dist/resources/CheckTGroupOrder.d.ts.map +1 -1
  13. package/dist/resources/ConfirmOrder.d.ts +2 -66
  14. package/dist/resources/ConfirmOrder.d.ts.map +1 -1
  15. package/dist/resources/GetCities.d.ts +2 -18
  16. package/dist/resources/GetCities.d.ts.map +1 -1
  17. package/dist/resources/GetCountries.d.ts +2 -2
  18. package/dist/resources/GetCountries.d.ts.map +1 -1
  19. package/dist/resources/GetStates.d.ts +2 -14
  20. package/dist/resources/GetStates.d.ts.map +1 -1
  21. package/dist/resources/OrderDetails.d.ts +2 -10
  22. package/dist/resources/OrderDetails.d.ts.map +1 -1
  23. package/dist/resources/OrderProcess.d.ts +2 -10
  24. package/dist/resources/OrderProcess.d.ts.map +1 -1
  25. package/dist/resources/PayTGroupOrder.d.ts +2 -14
  26. package/dist/resources/PayTGroupOrder.d.ts.map +1 -1
  27. package/dist/resources/PcbQuote.d.ts +2 -214
  28. package/dist/resources/PcbQuote.d.ts.map +1 -1
  29. package/dist/resources/PlaceOrder.d.ts +2 -110
  30. package/dist/resources/PlaceOrder.d.ts.map +1 -1
  31. package/dist/resources/Shipping.d.ts +2 -38
  32. package/dist/resources/Shipping.d.ts.map +1 -1
  33. package/dist/resources/SmtQuote.d.ts +30 -60
  34. package/dist/resources/SmtQuote.d.ts.map +1 -1
  35. package/package.json +12 -6
  36. package/dist/resources/AssemblyQuote.d.ts +0 -144
  37. package/dist/resources/AssemblyQuote.d.ts.map +0 -1
  38. package/dist/resources/AssemblyQuote.js +0 -102
  39. package/dist/resources/AssemblyQuote.js.map +0 -1
  40. package/dist/resources/Order.d.ts +0 -25
  41. package/dist/resources/Order.d.ts.map +0 -1
  42. package/dist/resources/Order.js +0 -59
  43. package/dist/resources/Order.js.map +0 -1
  44. package/dist/resources/Status.d.ts +0 -27
  45. package/dist/resources/Status.d.ts.map +0 -1
  46. package/dist/resources/Status.js +0 -47
  47. package/dist/resources/Status.js.map +0 -1
package/README.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # pcbway-mcp-server
2
2
 
3
- **MCP server for the PCBWay Partner API.** Full coverage of the PCBWay API — PCB/SMT quotes, order lifecycle (place, confirm, cancel, status), shipping, account, and address lookup — from any MCP-compatible client (Claude Desktop, etc.).
3
+ [![CI](https://github.com/nabheet/pcbway-mcp-server/actions/workflows/ci.yml/badge.svg)](https://github.com/nabheet/pcbway-mcp-server/actions/workflows/ci.yml)
4
+ [![npm](https://img.shields.io/npm/v/pcbway-mcp-server)](https://www.npmjs.com/package/pcbway-mcp-server)
5
+ [![License](https://img.shields.io/github/license/nabheet/pcbway-mcp-server)](LICENSE)
6
+
7
+ **Get instant PCB manufacturing and assembly quotes, place orders, and track fabrication — all from your AI coding assistant.** This MCP server gives you full access to the PCBWay Partner API: PCB pricing, SMT assembly quotes, order lifecycle (place, confirm, cancel, track), shipping costs, and account balance — compatible with Claude Desktop, opencode, Cursor, and any MCP client.
4
8
 
5
9
  ## Features
6
10
 
@@ -22,7 +26,7 @@
22
26
 
23
27
  ### 1. Get API Credentials
24
28
 
25
- Log in to your [PCBWay Partner Dashboard](https://www.pcbway.com) to obtain your **API Key**.
29
+ Contact PCBWay partner support to request an **API Key** for your account.
26
30
 
27
31
  ### 2. Install
28
32
 
@@ -317,6 +321,24 @@ One class per resource. Input validation via Zod schemas. All endpoints use POST
317
321
  | `get_states` | `POST /api/Address/GetState` | ✅ |
318
322
  | `get_cities` | `POST /api/Address/GetCity` | ✅ |
319
323
 
324
+ ## Releases
325
+
326
+ Releases are published automatically by CI — no manual npm publish needed.
327
+
328
+ | Trigger | Channel | Version | Tag | GitHub Release |
329
+ | --- | --- | --- | --- | --- |
330
+ | Merge to `main` | `latest` | next patch (registry-derived) | `vX.Y.Z` | ✅ (auto notes) |
331
+ | Every PR push | `beta` | `<version>-beta.<run_number>` | — | — |
332
+ | Push `v*-beta*` tag | `beta` | from `package.json` | the tag | ✅ (prerelease) |
333
+ | Manual `workflow_dispatch` on CI | `beta` | next `-beta.N` after last published beta | — | — |
334
+
335
+ - Every PR push publishes `<version>-beta.<run_number>` to the `beta` dist-tag (`npm i pcbway-mcp-server@beta`), so every PR is instantly installable — same-repo, non-draft, non-dependabot PRs; re-runs deduped.
336
+
337
+ - Stable version = last published `latest` + patch, so repeated merges never collide.
338
+ - An intentional minor/major bump in `package.json` is published as-is (honored).
339
+ - Publish is retried 3x for transient failures only; a version conflict is never retried.
340
+ - A push to `main` only tags/releases if it actually published (channel check).
341
+
320
342
  ## License
321
343
 
322
344
  MIT
package/dist/index.js CHANGED
@@ -391,7 +391,7 @@ async function main() {
391
391
  const getCities = new GetCities(client);
392
392
  const server = new Server({
393
393
  name: 'pcbway-mcp-server',
394
- version: '1.0.0',
394
+ version: '0.1.1',
395
395
  }, {
396
396
  capabilities: {
397
397
  tools: {},
@@ -3,11 +3,11 @@ import type { PcbWayClient } from '../client.js';
3
3
  /**
4
4
  * QueryBalance takes no parameters — empty body.
5
5
  */
6
- export declare const AccountBalanceInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
6
+ export declare const AccountBalanceInputSchema: z.ZodObject<{}, z.core.$strip>;
7
7
  export type AccountBalanceInput = z.infer<typeof AccountBalanceInputSchema>;
8
8
  export declare class Account {
9
9
  private client;
10
- static inputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
10
+ static inputSchema: z.ZodObject<{}, z.core.$strip>;
11
11
  constructor(client: PcbWayClient);
12
12
  getBalance(_params: AccountBalanceInput): Promise<string>;
13
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Account.d.ts","sourceRoot":"","sources":["../../src/resources/Account.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAGjD;;GAEG;AACH,eAAO,MAAM,yBAAyB,gDAAe,CAAC;AAEtD,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E,qBAAa,OAAO;IAGN,OAAO,CAAC,MAAM;IAF1B,MAAM,CAAC,WAAW,iDAA6B;gBAE3B,MAAM,EAAE,YAAY;IAElC,UAAU,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,MAAM,CAAC;CAahE"}
1
+ {"version":3,"file":"Account.d.ts","sourceRoot":"","sources":["../../src/resources/Account.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAGjD;;GAEG;AACH,eAAO,MAAM,yBAAyB,gCAAe,CAAC;AAEtD,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E,qBAAa,OAAO;IAGN,OAAO,CAAC,MAAM;IAF1B,MAAM,CAAC,WAAW,iCAA6B;gBAE3B,MAAM,EAAE,YAAY;IAElC,UAAU,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,MAAM,CAAC;CAahE"}
@@ -2,21 +2,13 @@ import { z } from 'zod';
2
2
  import type { PcbWayClient } from '../client.js';
3
3
  export declare const CancelOrderInputSchema: z.ZodObject<{
4
4
  OrderNo: z.ZodString;
5
- }, "strip", z.ZodTypeAny, {
6
- OrderNo: string;
7
- }, {
8
- OrderNo: string;
9
- }>;
5
+ }, z.core.$strip>;
10
6
  export type CancelOrderInput = z.infer<typeof CancelOrderInputSchema>;
11
7
  export declare class CancelOrder {
12
8
  private client;
13
9
  static inputSchema: z.ZodObject<{
14
10
  OrderNo: z.ZodString;
15
- }, "strip", z.ZodTypeAny, {
16
- OrderNo: string;
17
- }, {
18
- OrderNo: string;
19
- }>;
11
+ }, z.core.$strip>;
20
12
  constructor(client: PcbWayClient);
21
13
  cancel(params: CancelOrderInput): Promise<string>;
22
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CancelOrder.d.ts","sourceRoot":"","sources":["../../src/resources/CancelOrder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAGjD,eAAO,MAAM,sBAAsB;;;;;;EAEjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,qBAAa,WAAW;IAGV,OAAO,CAAC,MAAM;IAF1B,MAAM,CAAC,WAAW;;;;;;OAA0B;gBAExB,MAAM,EAAE,YAAY;IAElC,MAAM,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAAC,MAAM,CAAC;CAcxD"}
1
+ {"version":3,"file":"CancelOrder.d.ts","sourceRoot":"","sources":["../../src/resources/CancelOrder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAGjD,eAAO,MAAM,sBAAsB;;iBAEjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,qBAAa,WAAW;IAGV,OAAO,CAAC,MAAM;IAF1B,MAAM,CAAC,WAAW;;sBAA0B;gBAExB,MAAM,EAAE,YAAY;IAElC,MAAM,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAAC,MAAM,CAAC;CAcxD"}
@@ -2,21 +2,13 @@ import { z } from 'zod';
2
2
  import type { PcbWayClient } from '../client.js';
3
3
  export declare const CancelTGroupOrderInputSchema: z.ZodObject<{
4
4
  TGroupNo: z.ZodString;
5
- }, "strip", z.ZodTypeAny, {
6
- TGroupNo: string;
7
- }, {
8
- TGroupNo: string;
9
- }>;
5
+ }, z.core.$strip>;
10
6
  export type CancelTGroupOrderInput = z.infer<typeof CancelTGroupOrderInputSchema>;
11
7
  export declare class CancelTGroupOrder {
12
8
  private client;
13
9
  static inputSchema: z.ZodObject<{
14
10
  TGroupNo: z.ZodString;
15
- }, "strip", z.ZodTypeAny, {
16
- TGroupNo: string;
17
- }, {
18
- TGroupNo: string;
19
- }>;
11
+ }, z.core.$strip>;
20
12
  constructor(client: PcbWayClient);
21
13
  cancel(params: CancelTGroupOrderInput): Promise<string>;
22
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CancelTGroupOrder.d.ts","sourceRoot":"","sources":["../../src/resources/CancelTGroupOrder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAGjD,eAAO,MAAM,4BAA4B;;;;;;EAEvC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF,qBAAa,iBAAiB;IAGhB,OAAO,CAAC,MAAM;IAF1B,MAAM,CAAC,WAAW;;;;;;OAAgC;gBAE9B,MAAM,EAAE,YAAY;IAElC,MAAM,CAAC,MAAM,EAAE,sBAAsB,GAAG,OAAO,CAAC,MAAM,CAAC;CAc9D"}
1
+ {"version":3,"file":"CancelTGroupOrder.d.ts","sourceRoot":"","sources":["../../src/resources/CancelTGroupOrder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAGjD,eAAO,MAAM,4BAA4B;;iBAEvC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF,qBAAa,iBAAiB;IAGhB,OAAO,CAAC,MAAM;IAF1B,MAAM,CAAC,WAAW;;sBAAgC;gBAE9B,MAAM,EAAE,YAAY;IAElC,MAAM,CAAC,MAAM,EAAE,sBAAsB,GAAG,OAAO,CAAC,MAAM,CAAC;CAc9D"}
@@ -2,21 +2,13 @@ import { z } from 'zod';
2
2
  import type { PcbWayClient } from '../client.js';
3
3
  export declare const CheckGroupOrderInputSchema: z.ZodObject<{
4
4
  GroupNo: z.ZodString;
5
- }, "strip", z.ZodTypeAny, {
6
- GroupNo: string;
7
- }, {
8
- GroupNo: string;
9
- }>;
5
+ }, z.core.$strip>;
10
6
  export type CheckGroupOrderInput = z.infer<typeof CheckGroupOrderInputSchema>;
11
7
  export declare class CheckGroupOrder {
12
8
  private client;
13
9
  static inputSchema: z.ZodObject<{
14
10
  GroupNo: z.ZodString;
15
- }, "strip", z.ZodTypeAny, {
16
- GroupNo: string;
17
- }, {
18
- GroupNo: string;
19
- }>;
11
+ }, z.core.$strip>;
20
12
  constructor(client: PcbWayClient);
21
13
  check(params: CheckGroupOrderInput): Promise<string>;
22
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CheckGroupOrder.d.ts","sourceRoot":"","sources":["../../src/resources/CheckGroupOrder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAGjD,eAAO,MAAM,0BAA0B;;;;;;EAErC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E,qBAAa,eAAe;IAGd,OAAO,CAAC,MAAM;IAF1B,MAAM,CAAC,WAAW;;;;;;OAA8B;gBAE5B,MAAM,EAAE,YAAY;IAElC,KAAK,CAAC,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC;CAmC3D"}
1
+ {"version":3,"file":"CheckGroupOrder.d.ts","sourceRoot":"","sources":["../../src/resources/CheckGroupOrder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAGjD,eAAO,MAAM,0BAA0B;;iBAErC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E,qBAAa,eAAe;IAGd,OAAO,CAAC,MAAM;IAF1B,MAAM,CAAC,WAAW;;sBAA8B;gBAE5B,MAAM,EAAE,YAAY;IAElC,KAAK,CAAC,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC;CAmC3D"}
@@ -2,21 +2,13 @@ import { z } from 'zod';
2
2
  import type { PcbWayClient } from '../client.js';
3
3
  export declare const CheckTGroupOrderInputSchema: z.ZodObject<{
4
4
  TGroupNo: z.ZodString;
5
- }, "strip", z.ZodTypeAny, {
6
- TGroupNo: string;
7
- }, {
8
- TGroupNo: string;
9
- }>;
5
+ }, z.core.$strip>;
10
6
  export type CheckTGroupOrderInput = z.infer<typeof CheckTGroupOrderInputSchema>;
11
7
  export declare class CheckTGroupOrder {
12
8
  private client;
13
9
  static inputSchema: z.ZodObject<{
14
10
  TGroupNo: z.ZodString;
15
- }, "strip", z.ZodTypeAny, {
16
- TGroupNo: string;
17
- }, {
18
- TGroupNo: string;
19
- }>;
11
+ }, z.core.$strip>;
20
12
  constructor(client: PcbWayClient);
21
13
  check(params: CheckTGroupOrderInput): Promise<string>;
22
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CheckTGroupOrder.d.ts","sourceRoot":"","sources":["../../src/resources/CheckTGroupOrder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAGjD,eAAO,MAAM,2BAA2B;;;;;;EAEtC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,qBAAa,gBAAgB;IAGf,OAAO,CAAC,MAAM;IAF1B,MAAM,CAAC,WAAW;;;;;;OAA+B;gBAE7B,MAAM,EAAE,YAAY;IAElC,KAAK,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,MAAM,CAAC;CAuC5D"}
1
+ {"version":3,"file":"CheckTGroupOrder.d.ts","sourceRoot":"","sources":["../../src/resources/CheckTGroupOrder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAGjD,eAAO,MAAM,2BAA2B;;iBAEtC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,qBAAa,gBAAgB;IAGf,OAAO,CAAC,MAAM;IAF1B,MAAM,CAAC,WAAW;;sBAA+B;gBAE7B,MAAM,EAAE,YAAY;IAElC,KAAK,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,MAAM,CAAC;CAuC5D"}
@@ -16,39 +16,7 @@ export declare const ConfirmOrderInputSchema: z.ZodObject<{
16
16
  Tel: z.ZodOptional<z.ZodString>;
17
17
  BuyerEmail: z.ZodOptional<z.ZodString>;
18
18
  Tax: z.ZodOptional<z.ZodString>;
19
- }, "strip", z.ZodTypeAny, {
20
- OrderNo: string;
21
- PayType: number;
22
- Country?: string | undefined;
23
- CountryCode?: string | undefined;
24
- ShipType?: number | undefined;
25
- Postalcode?: string | undefined;
26
- City?: string | undefined;
27
- State?: string | undefined;
28
- AddGroupNo?: string | undefined;
29
- BuyerEmail?: string | undefined;
30
- Addr?: string | undefined;
31
- CompanyName?: string | undefined;
32
- ContactName?: string | undefined;
33
- Tel?: string | undefined;
34
- Tax?: string | undefined;
35
- }, {
36
- OrderNo: string;
37
- PayType: number;
38
- Country?: string | undefined;
39
- CountryCode?: string | undefined;
40
- ShipType?: number | undefined;
41
- Postalcode?: string | undefined;
42
- City?: string | undefined;
43
- State?: string | undefined;
44
- AddGroupNo?: string | undefined;
45
- BuyerEmail?: string | undefined;
46
- Addr?: string | undefined;
47
- CompanyName?: string | undefined;
48
- ContactName?: string | undefined;
49
- Tel?: string | undefined;
50
- Tax?: string | undefined;
51
- }>;
19
+ }, z.core.$strip>;
52
20
  export type ConfirmOrderInput = z.infer<typeof ConfirmOrderInputSchema>;
53
21
  export declare class ConfirmOrder {
54
22
  private client;
@@ -68,39 +36,7 @@ export declare class ConfirmOrder {
68
36
  Tel: z.ZodOptional<z.ZodString>;
69
37
  BuyerEmail: z.ZodOptional<z.ZodString>;
70
38
  Tax: z.ZodOptional<z.ZodString>;
71
- }, "strip", z.ZodTypeAny, {
72
- OrderNo: string;
73
- PayType: number;
74
- Country?: string | undefined;
75
- CountryCode?: string | undefined;
76
- ShipType?: number | undefined;
77
- Postalcode?: string | undefined;
78
- City?: string | undefined;
79
- State?: string | undefined;
80
- AddGroupNo?: string | undefined;
81
- BuyerEmail?: string | undefined;
82
- Addr?: string | undefined;
83
- CompanyName?: string | undefined;
84
- ContactName?: string | undefined;
85
- Tel?: string | undefined;
86
- Tax?: string | undefined;
87
- }, {
88
- OrderNo: string;
89
- PayType: number;
90
- Country?: string | undefined;
91
- CountryCode?: string | undefined;
92
- ShipType?: number | undefined;
93
- Postalcode?: string | undefined;
94
- City?: string | undefined;
95
- State?: string | undefined;
96
- AddGroupNo?: string | undefined;
97
- BuyerEmail?: string | undefined;
98
- Addr?: string | undefined;
99
- CompanyName?: string | undefined;
100
- ContactName?: string | undefined;
101
- Tel?: string | undefined;
102
- Tax?: string | undefined;
103
- }>;
39
+ }, z.core.$strip>;
104
40
  constructor(client: PcbWayClient);
105
41
  confirm(params: ConfirmOrderInput): Promise<string>;
106
42
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ConfirmOrder.d.ts","sourceRoot":"","sources":["../../src/resources/ConfirmOrder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAIjD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBlC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,qBAAa,YAAY;IAGX,OAAO,CAAC,MAAM;IAF1B,MAAM,CAAC,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAA2B;gBAEzB,MAAM,EAAE,YAAY;IAElC,OAAO,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,MAAM,CAAC;CAiD1D"}
1
+ {"version":3,"file":"ConfirmOrder.d.ts","sourceRoot":"","sources":["../../src/resources/ConfirmOrder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAIjD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;iBAgBlC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,qBAAa,YAAY;IAGX,OAAO,CAAC,MAAM;IAF1B,MAAM,CAAC,WAAW;;;;;;;;;;;;;;;;sBAA2B;gBAEzB,MAAM,EAAE,YAAY;IAElC,OAAO,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,MAAM,CAAC;CAiD1D"}
@@ -4,15 +4,7 @@ export declare const GetCitiesInputSchema: z.ZodObject<{
4
4
  Country: z.ZodString;
5
5
  CountryCode: z.ZodString;
6
6
  State: z.ZodOptional<z.ZodString>;
7
- }, "strip", z.ZodTypeAny, {
8
- Country: string;
9
- CountryCode: string;
10
- State?: string | undefined;
11
- }, {
12
- Country: string;
13
- CountryCode: string;
14
- State?: string | undefined;
15
- }>;
7
+ }, z.core.$strip>;
16
8
  export type GetCitiesInput = z.infer<typeof GetCitiesInputSchema>;
17
9
  export declare class GetCities {
18
10
  private client;
@@ -20,15 +12,7 @@ export declare class GetCities {
20
12
  Country: z.ZodString;
21
13
  CountryCode: z.ZodString;
22
14
  State: z.ZodOptional<z.ZodString>;
23
- }, "strip", z.ZodTypeAny, {
24
- Country: string;
25
- CountryCode: string;
26
- State?: string | undefined;
27
- }, {
28
- Country: string;
29
- CountryCode: string;
30
- State?: string | undefined;
31
- }>;
15
+ }, z.core.$strip>;
32
16
  constructor(client: PcbWayClient);
33
17
  get(params: GetCitiesInput): Promise<string>;
34
18
  }
@@ -1 +1 @@
1
- {"version":3,"file":"GetCities.d.ts","sourceRoot":"","sources":["../../src/resources/GetCities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAGjD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;EAI/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,qBAAa,SAAS;IAGR,OAAO,CAAC,MAAM;IAF1B,MAAM,CAAC,WAAW;;;;;;;;;;;;OAAwB;gBAEtB,MAAM,EAAE,YAAY;IAElC,GAAG,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC;CA0BnD"}
1
+ {"version":3,"file":"GetCities.d.ts","sourceRoot":"","sources":["../../src/resources/GetCities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAGjD,eAAO,MAAM,oBAAoB;;;;iBAI/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,qBAAa,SAAS;IAGR,OAAO,CAAC,MAAM;IAF1B,MAAM,CAAC,WAAW;;;;sBAAwB;gBAEtB,MAAM,EAAE,YAAY;IAElC,GAAG,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC;CA0BnD"}
@@ -3,11 +3,11 @@ import type { PcbWayClient } from '../client.js';
3
3
  /**
4
4
  * GetCountries takes no parameters — empty body.
5
5
  */
6
- export declare const GetCountriesInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
6
+ export declare const GetCountriesInputSchema: z.ZodObject<{}, z.core.$strip>;
7
7
  export type GetCountriesInput = z.infer<typeof GetCountriesInputSchema>;
8
8
  export declare class GetCountries {
9
9
  private client;
10
- static inputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
10
+ static inputSchema: z.ZodObject<{}, z.core.$strip>;
11
11
  constructor(client: PcbWayClient);
12
12
  get(_params: GetCountriesInput): Promise<string>;
13
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"GetCountries.d.ts","sourceRoot":"","sources":["../../src/resources/GetCountries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAGjD;;GAEG;AACH,eAAO,MAAM,uBAAuB,gDAAe,CAAC;AAEpD,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,qBAAa,YAAY;IAGX,OAAO,CAAC,MAAM;IAF1B,MAAM,CAAC,WAAW,iDAA2B;gBAEzB,MAAM,EAAE,YAAY;IAElC,GAAG,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,MAAM,CAAC;CAcvD"}
1
+ {"version":3,"file":"GetCountries.d.ts","sourceRoot":"","sources":["../../src/resources/GetCountries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAGjD;;GAEG;AACH,eAAO,MAAM,uBAAuB,gCAAe,CAAC;AAEpD,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,qBAAa,YAAY;IAGX,OAAO,CAAC,MAAM;IAF1B,MAAM,CAAC,WAAW,iCAA2B;gBAEzB,MAAM,EAAE,YAAY;IAElC,GAAG,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,MAAM,CAAC;CAcvD"}
@@ -3,26 +3,14 @@ import type { PcbWayClient } from '../client.js';
3
3
  export declare const GetStatesInputSchema: z.ZodObject<{
4
4
  Country: z.ZodString;
5
5
  CountryCode: z.ZodString;
6
- }, "strip", z.ZodTypeAny, {
7
- Country: string;
8
- CountryCode: string;
9
- }, {
10
- Country: string;
11
- CountryCode: string;
12
- }>;
6
+ }, z.core.$strip>;
13
7
  export type GetStatesInput = z.infer<typeof GetStatesInputSchema>;
14
8
  export declare class GetStates {
15
9
  private client;
16
10
  static inputSchema: z.ZodObject<{
17
11
  Country: z.ZodString;
18
12
  CountryCode: z.ZodString;
19
- }, "strip", z.ZodTypeAny, {
20
- Country: string;
21
- CountryCode: string;
22
- }, {
23
- Country: string;
24
- CountryCode: string;
25
- }>;
13
+ }, z.core.$strip>;
26
14
  constructor(client: PcbWayClient);
27
15
  get(params: GetStatesInput): Promise<string>;
28
16
  }
@@ -1 +1 @@
1
- {"version":3,"file":"GetStates.d.ts","sourceRoot":"","sources":["../../src/resources/GetStates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAGjD,eAAO,MAAM,oBAAoB;;;;;;;;;EAG/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,qBAAa,SAAS;IAGR,OAAO,CAAC,MAAM;IAF1B,MAAM,CAAC,WAAW;;;;;;;;;OAAwB;gBAEtB,MAAM,EAAE,YAAY;IAElC,GAAG,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC;CAyBnD"}
1
+ {"version":3,"file":"GetStates.d.ts","sourceRoot":"","sources":["../../src/resources/GetStates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAGjD,eAAO,MAAM,oBAAoB;;;iBAG/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,qBAAa,SAAS;IAGR,OAAO,CAAC,MAAM;IAF1B,MAAM,CAAC,WAAW;;;sBAAwB;gBAEtB,MAAM,EAAE,YAAY;IAElC,GAAG,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC;CAyBnD"}
@@ -2,21 +2,13 @@ import { z } from 'zod';
2
2
  import type { PcbWayClient } from '../client.js';
3
3
  export declare const OrderDetailsInputSchema: z.ZodObject<{
4
4
  OrderNo: z.ZodString;
5
- }, "strip", z.ZodTypeAny, {
6
- OrderNo: string;
7
- }, {
8
- OrderNo: string;
9
- }>;
5
+ }, z.core.$strip>;
10
6
  export type OrderDetailsInput = z.infer<typeof OrderDetailsInputSchema>;
11
7
  export declare class OrderDetails {
12
8
  private client;
13
9
  static inputSchema: z.ZodObject<{
14
10
  OrderNo: z.ZodString;
15
- }, "strip", z.ZodTypeAny, {
16
- OrderNo: string;
17
- }, {
18
- OrderNo: string;
19
- }>;
11
+ }, z.core.$strip>;
20
12
  constructor(client: PcbWayClient);
21
13
  getDetails(params: OrderDetailsInput): Promise<string>;
22
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"OrderDetails.d.ts","sourceRoot":"","sources":["../../src/resources/OrderDetails.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAGjD,eAAO,MAAM,uBAAuB;;;;;;EAElC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,qBAAa,YAAY;IAGX,OAAO,CAAC,MAAM;IAF1B,MAAM,CAAC,WAAW;;;;;;OAA2B;gBAEzB,MAAM,EAAE,YAAY;IAElC,UAAU,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,MAAM,CAAC;CA0C7D"}
1
+ {"version":3,"file":"OrderDetails.d.ts","sourceRoot":"","sources":["../../src/resources/OrderDetails.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAGjD,eAAO,MAAM,uBAAuB;;iBAElC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,qBAAa,YAAY;IAGX,OAAO,CAAC,MAAM;IAF1B,MAAM,CAAC,WAAW;;sBAA2B;gBAEzB,MAAM,EAAE,YAAY;IAElC,UAAU,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,MAAM,CAAC;CA0C7D"}
@@ -2,21 +2,13 @@ import { z } from 'zod';
2
2
  import type { PcbWayClient } from '../client.js';
3
3
  export declare const OrderProcessInputSchema: z.ZodObject<{
4
4
  OrderNo: z.ZodString;
5
- }, "strip", z.ZodTypeAny, {
6
- OrderNo: string;
7
- }, {
8
- OrderNo: string;
9
- }>;
5
+ }, z.core.$strip>;
10
6
  export type OrderProcessInput = z.infer<typeof OrderProcessInputSchema>;
11
7
  export declare class OrderProcess {
12
8
  private client;
13
9
  static inputSchema: z.ZodObject<{
14
10
  OrderNo: z.ZodString;
15
- }, "strip", z.ZodTypeAny, {
16
- OrderNo: string;
17
- }, {
18
- OrderNo: string;
19
- }>;
11
+ }, z.core.$strip>;
20
12
  constructor(client: PcbWayClient);
21
13
  getStatus(params: OrderProcessInput): Promise<string>;
22
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"OrderProcess.d.ts","sourceRoot":"","sources":["../../src/resources/OrderProcess.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAGjD,eAAO,MAAM,uBAAuB;;;;;;EAElC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,qBAAa,YAAY;IAGX,OAAO,CAAC,MAAM;IAF1B,MAAM,CAAC,WAAW;;;;;;OAA2B;gBAEzB,MAAM,EAAE,YAAY;IAElC,SAAS,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,MAAM,CAAC;CA+B5D"}
1
+ {"version":3,"file":"OrderProcess.d.ts","sourceRoot":"","sources":["../../src/resources/OrderProcess.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAGjD,eAAO,MAAM,uBAAuB;;iBAElC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,qBAAa,YAAY;IAGX,OAAO,CAAC,MAAM;IAF1B,MAAM,CAAC,WAAW;;sBAA2B;gBAEzB,MAAM,EAAE,YAAY;IAElC,SAAS,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,MAAM,CAAC;CA+B5D"}
@@ -3,26 +3,14 @@ import type { PcbWayClient } from '../client.js';
3
3
  export declare const PayTGroupOrderInputSchema: z.ZodObject<{
4
4
  TGroupNo: z.ZodString;
5
5
  PayType: z.ZodNumber;
6
- }, "strip", z.ZodTypeAny, {
7
- PayType: number;
8
- TGroupNo: string;
9
- }, {
10
- PayType: number;
11
- TGroupNo: string;
12
- }>;
6
+ }, z.core.$strip>;
13
7
  export type PayTGroupOrderInput = z.infer<typeof PayTGroupOrderInputSchema>;
14
8
  export declare class PayTGroupOrder {
15
9
  private client;
16
10
  static inputSchema: z.ZodObject<{
17
11
  TGroupNo: z.ZodString;
18
12
  PayType: z.ZodNumber;
19
- }, "strip", z.ZodTypeAny, {
20
- PayType: number;
21
- TGroupNo: string;
22
- }, {
23
- PayType: number;
24
- TGroupNo: string;
25
- }>;
13
+ }, z.core.$strip>;
26
14
  constructor(client: PcbWayClient);
27
15
  pay(params: PayTGroupOrderInput): Promise<string>;
28
16
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PayTGroupOrder.d.ts","sourceRoot":"","sources":["../../src/resources/PayTGroupOrder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAIjD,eAAO,MAAM,yBAAyB;;;;;;;;;EAGpC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E,qBAAa,cAAc;IAGb,OAAO,CAAC,MAAM;IAF1B,MAAM,CAAC,WAAW;;;;;;;;;OAA6B;gBAE3B,MAAM,EAAE,YAAY;IAElC,GAAG,CAAC,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAAC,MAAM,CAAC;CAoCxD"}
1
+ {"version":3,"file":"PayTGroupOrder.d.ts","sourceRoot":"","sources":["../../src/resources/PayTGroupOrder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAIjD,eAAO,MAAM,yBAAyB;;;iBAGpC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E,qBAAa,cAAc;IAGb,OAAO,CAAC,MAAM;IAF1B,MAAM,CAAC,WAAW;;;sBAA6B;gBAE3B,MAAM,EAAE,YAAY;IAElC,GAAG,CAAC,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAAC,MAAM,CAAC;CAoCxD"}