@shippo/shippo-mcp 2.0.2 → 2.0.3
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/bin/mcp-server.js +32 -32
- package/bin/mcp-server.js.map +6 -6
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/models/customsdeclarationcreaterequest.d.ts +27 -27
- package/esm/models/customsdeclarationcreaterequest.d.ts.map +1 -1
- package/esm/models/customsdeclarationcreaterequest.js +27 -27
- package/esm/models/customsdeclarationcreaterequest.js.map +1 -1
- package/esm/models/shipment.d.ts +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/customsdeclarationcreaterequest.ts +54 -54
package/esm/lib/config.d.ts
CHANGED
|
@@ -39,8 +39,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
39
39
|
export declare const SDK_METADATA: {
|
|
40
40
|
readonly language: "typescript";
|
|
41
41
|
readonly openapiDocVersion: "2018-02-08";
|
|
42
|
-
readonly sdkVersion: "2.0.
|
|
42
|
+
readonly sdkVersion: "2.0.3";
|
|
43
43
|
readonly genVersion: "2.788.5";
|
|
44
|
-
readonly userAgent: "speakeasy-sdk/mcp-typescript 2.0.
|
|
44
|
+
readonly userAgent: "speakeasy-sdk/mcp-typescript 2.0.3 2.788.5 2018-02-08 @shippo/shippo-mcp";
|
|
45
45
|
};
|
|
46
46
|
//# sourceMappingURL=config.d.ts.map
|
package/esm/lib/config.js
CHANGED
|
@@ -24,8 +24,8 @@ export function serverURLFromOptions(options) {
|
|
|
24
24
|
export const SDK_METADATA = {
|
|
25
25
|
language: "typescript",
|
|
26
26
|
openapiDocVersion: "2018-02-08",
|
|
27
|
-
sdkVersion: "2.0.
|
|
27
|
+
sdkVersion: "2.0.3",
|
|
28
28
|
genVersion: "2.788.5",
|
|
29
|
-
userAgent: "speakeasy-sdk/mcp-typescript 2.0.
|
|
29
|
+
userAgent: "speakeasy-sdk/mcp-typescript 2.0.3 2.788.5 2018-02-08 @shippo/shippo-mcp",
|
|
30
30
|
};
|
|
31
31
|
//# sourceMappingURL=config.js.map
|
package/esm/mcp-server/server.js
CHANGED
|
@@ -79,7 +79,7 @@ import { tool$webhooksUpdate } from "./tools/webhooksUpdate.js";
|
|
|
79
79
|
export function createMCPServer(deps) {
|
|
80
80
|
const server = new McpServer({
|
|
81
81
|
name: "ShippoSDK",
|
|
82
|
-
version: "2.0.
|
|
82
|
+
version: "2.0.3",
|
|
83
83
|
});
|
|
84
84
|
const getClient = deps.getSDK || (() => new ShippoSDKCore({
|
|
85
85
|
security: deps.security,
|
|
@@ -40,28 +40,28 @@ export type CustomsDeclarationCreateRequestDutiesPayor = {
|
|
|
40
40
|
export declare const CustomsDeclarationCreateRequestDutiesPayor$zodSchema: z.ZodType<CustomsDeclarationCreateRequestDutiesPayor>;
|
|
41
41
|
export type CustomsExporterIdentification = {
|
|
42
42
|
eori_number?: string | null | undefined;
|
|
43
|
-
tax_id?: CustomsTaxIdentification | undefined;
|
|
43
|
+
tax_id?: CustomsTaxIdentification | null | undefined;
|
|
44
44
|
};
|
|
45
45
|
export declare const CustomsExporterIdentification$zodSchema: z.ZodType<CustomsExporterIdentification>;
|
|
46
46
|
export type CustomsDeclarationCreateRequest = {
|
|
47
|
-
aes_itn?: string | undefined;
|
|
47
|
+
aes_itn?: string | null | undefined;
|
|
48
48
|
b13a_filing_option?: CustomsDeclarationB13AFilingOptionEnum | undefined;
|
|
49
|
-
b13a_number?: string | undefined;
|
|
50
|
-
certificate?: string | undefined;
|
|
49
|
+
b13a_number?: string | null | undefined;
|
|
50
|
+
certificate?: string | null | undefined;
|
|
51
51
|
certify: boolean;
|
|
52
52
|
certify_signer: string;
|
|
53
|
-
commercial_invoice?: boolean | undefined;
|
|
54
|
-
contents_explanation?: string | undefined;
|
|
55
|
-
disclaimer?: string | undefined;
|
|
53
|
+
commercial_invoice?: boolean | null | undefined;
|
|
54
|
+
contents_explanation?: string | null | undefined;
|
|
55
|
+
disclaimer?: string | null | undefined;
|
|
56
56
|
duties_payor?: CustomsDeclarationCreateRequestDutiesPayor | null | undefined;
|
|
57
57
|
exporter_identification?: CustomsExporterIdentification | null | undefined;
|
|
58
|
-
exporter_reference?: string | undefined;
|
|
59
|
-
importer_reference?: string | undefined;
|
|
60
|
-
is_vat_collected?: boolean | undefined;
|
|
61
|
-
invoice?: string | undefined;
|
|
62
|
-
license?: string | undefined;
|
|
63
|
-
metadata?: string | undefined;
|
|
64
|
-
notes?: string | undefined;
|
|
58
|
+
exporter_reference?: string | null | undefined;
|
|
59
|
+
importer_reference?: string | null | undefined;
|
|
60
|
+
is_vat_collected?: boolean | null | undefined;
|
|
61
|
+
invoice?: string | null | undefined;
|
|
62
|
+
license?: string | null | undefined;
|
|
63
|
+
metadata?: string | null | undefined;
|
|
64
|
+
notes?: string | null | undefined;
|
|
65
65
|
address_importer?: AddressImporter | undefined;
|
|
66
66
|
contents_type: CustomsDeclarationContentsTypeEnum;
|
|
67
67
|
eel_pfc?: CustomsDeclarationEelPfcEnum | undefined;
|
|
@@ -110,24 +110,24 @@ export type CustomsInvoicedCharges = {
|
|
|
110
110
|
};
|
|
111
111
|
export declare const CustomsInvoicedCharges$zodSchema: z.ZodType<CustomsInvoicedCharges>;
|
|
112
112
|
export type CustomsDeclaration = {
|
|
113
|
-
aes_itn?: string | undefined;
|
|
113
|
+
aes_itn?: string | null | undefined;
|
|
114
114
|
b13a_filing_option?: string | undefined;
|
|
115
|
-
b13a_number?: string | undefined;
|
|
116
|
-
certificate?: string | undefined;
|
|
115
|
+
b13a_number?: string | null | undefined;
|
|
116
|
+
certificate?: string | null | undefined;
|
|
117
117
|
certify: boolean;
|
|
118
118
|
certify_signer: string;
|
|
119
|
-
commercial_invoice?: boolean | undefined;
|
|
120
|
-
contents_explanation?: string | undefined;
|
|
121
|
-
disclaimer?: string | undefined;
|
|
119
|
+
commercial_invoice?: boolean | null | undefined;
|
|
120
|
+
contents_explanation?: string | null | undefined;
|
|
121
|
+
disclaimer?: string | null | undefined;
|
|
122
122
|
duties_payor?: CustomsDeclarationDutiesPayor | null | undefined;
|
|
123
123
|
exporter_identification?: CustomsExporterIdentification | null | undefined;
|
|
124
|
-
exporter_reference?: string | undefined;
|
|
125
|
-
importer_reference?: string | undefined;
|
|
126
|
-
is_vat_collected?: boolean | undefined;
|
|
127
|
-
invoice?: string | undefined;
|
|
128
|
-
license?: string | undefined;
|
|
129
|
-
metadata?: string | undefined;
|
|
130
|
-
notes?: string | undefined;
|
|
124
|
+
exporter_reference?: string | null | undefined;
|
|
125
|
+
importer_reference?: string | null | undefined;
|
|
126
|
+
is_vat_collected?: boolean | null | undefined;
|
|
127
|
+
invoice?: string | null | undefined;
|
|
128
|
+
license?: string | null | undefined;
|
|
129
|
+
metadata?: string | null | undefined;
|
|
130
|
+
notes?: string | null | undefined;
|
|
131
131
|
address_importer?: string | null | undefined;
|
|
132
132
|
contents_type: string;
|
|
133
133
|
eel_pfc?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customsdeclarationcreaterequest.d.ts","sourceRoot":"","sources":["../../src/models/customsdeclarationcreaterequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACL,eAAe,EAEhB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,sCAAsC,EAEvC,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACL,kCAAkC,EAEnC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACL,4BAA4B,EAE7B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,8BAA8B,EAE/B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,uCAAuC,EAExC,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,wBAAwB,EAEzB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,wBAAwB,EAEzB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,eAAe,EAEhB,MAAM,sBAAsB,CAAC;AAE9B;;GAEG;AACH,eAAO,MAAM,mCAAmC;;;;CAItC,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,mCAAmC,GAAG,UAAU,CAC1D,OAAO,mCAAmC,CAC3C,CAAC;AAEF,eAAO,MAAM,6CAA6C;;;;EAIb,CAAC;AAE9C,MAAM,MAAM,sCAAsC,GAAG;IACnD,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,OAAO,CACtE,sCAAsC,CAKtC,CAAC;AAEH,MAAM,MAAM,0CAA0C,GAAG;IACvD,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,IAAI,CAAC,EAAE,mCAAmC,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9D,OAAO,CAAC,EAAE,sCAAsC,GAAG,IAAI,GAAG,SAAS,CAAC;CACrE,CAAC;AAEF,eAAO,MAAM,oDAAoD,EAAE,CAAC,CAAC,OAAO,CAC1E,0CAA0C,CAM1C,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG;IAC1C,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,MAAM,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"customsdeclarationcreaterequest.d.ts","sourceRoot":"","sources":["../../src/models/customsdeclarationcreaterequest.ts"],"names":[],"mappings":"AAIA,O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CustomsExporterIdentification$zodSchema = z.object({
|
|
39
39
|
eori_number: z.string().nullable().optional(),
|
|
40
|
-
tax_id: CustomsTaxIdentification$zodSchema.optional(),
|
|
40
|
+
tax_id: CustomsTaxIdentification$zodSchema.nullable().optional(),
|
|
41
41
|
});
|
|
42
42
|
export const CustomsDeclarationCreateRequest$zodSchema = z.object({
|
|
43
43
|
address_importer: AddressImporter$zodSchema.optional(),
|
|
44
|
-
aes_itn: z.string().optional(),
|
|
44
|
+
aes_itn: z.string().nullable().optional(),
|
|
45
45
|
b13a_filing_option: CustomsDeclarationB13AFilingOptionEnum$zodSchema
|
|
46
46
|
.optional(),
|
|
47
|
-
b13a_number: z.string().optional(),
|
|
48
|
-
certificate: z.string().optional(),
|
|
47
|
+
b13a_number: z.string().nullable().optional(),
|
|
48
|
+
certificate: z.string().nullable().optional(),
|
|
49
49
|
certify: z.boolean(),
|
|
50
50
|
certify_signer: z.string(),
|
|
51
|
-
commercial_invoice: z.boolean().optional(),
|
|
52
|
-
contents_explanation: z.string().optional(),
|
|
51
|
+
commercial_invoice: z.boolean().nullable().optional(),
|
|
52
|
+
contents_explanation: z.string().nullable().optional(),
|
|
53
53
|
contents_type: CustomsDeclarationContentsTypeEnum$zodSchema,
|
|
54
|
-
disclaimer: z.string().optional(),
|
|
54
|
+
disclaimer: z.string().nullable().optional(),
|
|
55
55
|
duties_payor: z.lazy(() => CustomsDeclarationCreateRequestDutiesPayor$zodSchema).nullable().optional(),
|
|
56
56
|
eel_pfc: CustomsDeclarationEelPfcEnum$zodSchema.optional(),
|
|
57
57
|
exporter_identification: z.lazy(() => CustomsExporterIdentification$zodSchema)
|
|
58
58
|
.nullable().optional(),
|
|
59
|
-
exporter_reference: z.string().optional(),
|
|
60
|
-
importer_reference: z.string().optional(),
|
|
59
|
+
exporter_reference: z.string().nullable().optional(),
|
|
60
|
+
importer_reference: z.string().nullable().optional(),
|
|
61
61
|
incoterm: CustomsDeclarationIncotermEnum$zodSchema.optional(),
|
|
62
|
-
invoice: z.string().optional(),
|
|
63
|
-
is_vat_collected: z.boolean().optional(),
|
|
62
|
+
invoice: z.string().nullable().optional(),
|
|
63
|
+
is_vat_collected: z.boolean().nullable().optional(),
|
|
64
64
|
items: z.array(CustomsItemCreateRequest$zodSchema),
|
|
65
|
-
license: z.string().optional(),
|
|
66
|
-
metadata: z.string().optional(),
|
|
65
|
+
license: z.string().nullable().optional(),
|
|
66
|
+
metadata: z.string().nullable().optional(),
|
|
67
67
|
non_delivery_option: CustomsDeclarationNonDeliveryOptionEnum$zodSchema,
|
|
68
|
-
notes: z.string().optional(),
|
|
68
|
+
notes: z.string().nullable().optional(),
|
|
69
69
|
test: z.boolean().optional(),
|
|
70
70
|
});
|
|
71
71
|
/**
|
|
@@ -103,32 +103,32 @@ export const CustomsInvoicedCharges$zodSchema = z.object({
|
|
|
103
103
|
export const CustomsDeclaration$zodSchema = z
|
|
104
104
|
.object({
|
|
105
105
|
address_importer: z.string().nullable().optional(),
|
|
106
|
-
aes_itn: z.string().optional(),
|
|
106
|
+
aes_itn: z.string().nullable().optional(),
|
|
107
107
|
b13a_filing_option: z.string().optional(),
|
|
108
|
-
b13a_number: z.string().optional(),
|
|
109
|
-
certificate: z.string().optional(),
|
|
108
|
+
b13a_number: z.string().nullable().optional(),
|
|
109
|
+
certificate: z.string().nullable().optional(),
|
|
110
110
|
certify: z.boolean(),
|
|
111
111
|
certify_signer: z.string(),
|
|
112
|
-
commercial_invoice: z.boolean().optional(),
|
|
113
|
-
contents_explanation: z.string().optional(),
|
|
112
|
+
commercial_invoice: z.boolean().nullable().optional(),
|
|
113
|
+
contents_explanation: z.string().nullable().optional(),
|
|
114
114
|
contents_type: z.string(),
|
|
115
|
-
disclaimer: z.string().optional(),
|
|
115
|
+
disclaimer: z.string().nullable().optional(),
|
|
116
116
|
duties_payor: z.lazy(() => CustomsDeclarationDutiesPayor$zodSchema)
|
|
117
117
|
.nullable().optional(),
|
|
118
118
|
eel_pfc: z.string().optional(),
|
|
119
119
|
exporter_identification: z.lazy(() => CustomsExporterIdentification$zodSchema).nullable().optional(),
|
|
120
|
-
exporter_reference: z.string().optional(),
|
|
121
|
-
importer_reference: z.string().optional(),
|
|
120
|
+
exporter_reference: z.string().nullable().optional(),
|
|
121
|
+
importer_reference: z.string().nullable().optional(),
|
|
122
122
|
incoterm: z.string().optional(),
|
|
123
|
-
invoice: z.string().optional(),
|
|
123
|
+
invoice: z.string().nullable().optional(),
|
|
124
124
|
invoiced_charges: z.lazy(() => CustomsInvoicedCharges$zodSchema).nullable()
|
|
125
125
|
.optional(),
|
|
126
|
-
is_vat_collected: z.boolean().optional(),
|
|
126
|
+
is_vat_collected: z.boolean().nullable().optional(),
|
|
127
127
|
items: z.array(z.string()).optional(),
|
|
128
|
-
license: z.string().optional(),
|
|
129
|
-
metadata: z.string().optional(),
|
|
128
|
+
license: z.string().nullable().optional(),
|
|
129
|
+
metadata: z.string().nullable().optional(),
|
|
130
130
|
non_delivery_option: z.string(),
|
|
131
|
-
notes: z.string().optional(),
|
|
131
|
+
notes: z.string().nullable().optional(),
|
|
132
132
|
object_created: z.iso.datetime({ offset: true }).optional(),
|
|
133
133
|
object_id: z.string().optional(),
|
|
134
134
|
object_owner: z.string().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customsdeclarationcreaterequest.js","sourceRoot":"","sources":["../../src/models/customsdeclarationcreaterequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAEL,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,gDAAgD,GACjD,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAEL,4CAA4C,GAC7C,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAEL,sCAAsC,GACvC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAEL,wCAAwC,GACzC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAEL,iD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C,QAAQ,EAAE;IAC3D,IAAI,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC7B,CAAC,CAAC"}
|
package/esm/models/shipment.d.ts
CHANGED
|
@@ -30,9 +30,9 @@ export declare const ShipmentStatus: {
|
|
|
30
30
|
*/
|
|
31
31
|
export type ShipmentStatus = ClosedEnum<typeof ShipmentStatus>;
|
|
32
32
|
export declare const ShipmentStatus$zodSchema: z.ZodEnum<{
|
|
33
|
+
ERROR: "ERROR";
|
|
33
34
|
QUEUED: "QUEUED";
|
|
34
35
|
SUCCESS: "SUCCESS";
|
|
35
|
-
ERROR: "ERROR";
|
|
36
36
|
WAITING: "WAITING";
|
|
37
37
|
}>;
|
|
38
38
|
/**
|
package/manifest.json
CHANGED
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -67,8 +67,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
67
67
|
export const SDK_METADATA = {
|
|
68
68
|
language: "typescript",
|
|
69
69
|
openapiDocVersion: "2018-02-08",
|
|
70
|
-
sdkVersion: "2.0.
|
|
70
|
+
sdkVersion: "2.0.3",
|
|
71
71
|
genVersion: "2.788.5",
|
|
72
72
|
userAgent:
|
|
73
|
-
"speakeasy-sdk/mcp-typescript 2.0.
|
|
73
|
+
"speakeasy-sdk/mcp-typescript 2.0.3 2.788.5 2018-02-08 @shippo/shippo-mcp",
|
|
74
74
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -93,35 +93,35 @@ export const CustomsDeclarationCreateRequestDutiesPayor$zodSchema: z.ZodType<
|
|
|
93
93
|
|
|
94
94
|
export type CustomsExporterIdentification = {
|
|
95
95
|
eori_number?: string | null | undefined;
|
|
96
|
-
tax_id?: CustomsTaxIdentification | undefined;
|
|
96
|
+
tax_id?: CustomsTaxIdentification | null | undefined;
|
|
97
97
|
};
|
|
98
98
|
|
|
99
99
|
export const CustomsExporterIdentification$zodSchema: z.ZodType<
|
|
100
100
|
CustomsExporterIdentification
|
|
101
101
|
> = z.object({
|
|
102
102
|
eori_number: z.string().nullable().optional(),
|
|
103
|
-
tax_id: CustomsTaxIdentification$zodSchema.optional(),
|
|
103
|
+
tax_id: CustomsTaxIdentification$zodSchema.nullable().optional(),
|
|
104
104
|
});
|
|
105
105
|
|
|
106
106
|
export type CustomsDeclarationCreateRequest = {
|
|
107
|
-
aes_itn?: string | undefined;
|
|
107
|
+
aes_itn?: string | null | undefined;
|
|
108
108
|
b13a_filing_option?: CustomsDeclarationB13AFilingOptionEnum | undefined;
|
|
109
|
-
b13a_number?: string | undefined;
|
|
110
|
-
certificate?: string | undefined;
|
|
109
|
+
b13a_number?: string | null | undefined;
|
|
110
|
+
certificate?: string | null | undefined;
|
|
111
111
|
certify: boolean;
|
|
112
112
|
certify_signer: string;
|
|
113
|
-
commercial_invoice?: boolean | undefined;
|
|
114
|
-
contents_explanation?: string | undefined;
|
|
115
|
-
disclaimer?: string | undefined;
|
|
113
|
+
commercial_invoice?: boolean | null | undefined;
|
|
114
|
+
contents_explanation?: string | null | undefined;
|
|
115
|
+
disclaimer?: string | null | undefined;
|
|
116
116
|
duties_payor?: CustomsDeclarationCreateRequestDutiesPayor | null | undefined;
|
|
117
117
|
exporter_identification?: CustomsExporterIdentification | null | undefined;
|
|
118
|
-
exporter_reference?: string | undefined;
|
|
119
|
-
importer_reference?: string | undefined;
|
|
120
|
-
is_vat_collected?: boolean | undefined;
|
|
121
|
-
invoice?: string | undefined;
|
|
122
|
-
license?: string | undefined;
|
|
123
|
-
metadata?: string | undefined;
|
|
124
|
-
notes?: string | undefined;
|
|
118
|
+
exporter_reference?: string | null | undefined;
|
|
119
|
+
importer_reference?: string | null | undefined;
|
|
120
|
+
is_vat_collected?: boolean | null | undefined;
|
|
121
|
+
invoice?: string | null | undefined;
|
|
122
|
+
license?: string | null | undefined;
|
|
123
|
+
metadata?: string | null | undefined;
|
|
124
|
+
notes?: string | null | undefined;
|
|
125
125
|
address_importer?: AddressImporter | undefined;
|
|
126
126
|
contents_type: CustomsDeclarationContentsTypeEnum;
|
|
127
127
|
eel_pfc?: CustomsDeclarationEelPfcEnum | undefined;
|
|
@@ -135,33 +135,33 @@ export const CustomsDeclarationCreateRequest$zodSchema: z.ZodType<
|
|
|
135
135
|
CustomsDeclarationCreateRequest
|
|
136
136
|
> = z.object({
|
|
137
137
|
address_importer: AddressImporter$zodSchema.optional(),
|
|
138
|
-
aes_itn: z.string().optional(),
|
|
138
|
+
aes_itn: z.string().nullable().optional(),
|
|
139
139
|
b13a_filing_option: CustomsDeclarationB13AFilingOptionEnum$zodSchema
|
|
140
140
|
.optional(),
|
|
141
|
-
b13a_number: z.string().optional(),
|
|
142
|
-
certificate: z.string().optional(),
|
|
141
|
+
b13a_number: z.string().nullable().optional(),
|
|
142
|
+
certificate: z.string().nullable().optional(),
|
|
143
143
|
certify: z.boolean(),
|
|
144
144
|
certify_signer: z.string(),
|
|
145
|
-
commercial_invoice: z.boolean().optional(),
|
|
146
|
-
contents_explanation: z.string().optional(),
|
|
145
|
+
commercial_invoice: z.boolean().nullable().optional(),
|
|
146
|
+
contents_explanation: z.string().nullable().optional(),
|
|
147
147
|
contents_type: CustomsDeclarationContentsTypeEnum$zodSchema,
|
|
148
|
-
disclaimer: z.string().optional(),
|
|
148
|
+
disclaimer: z.string().nullable().optional(),
|
|
149
149
|
duties_payor: z.lazy(() =>
|
|
150
150
|
CustomsDeclarationCreateRequestDutiesPayor$zodSchema
|
|
151
151
|
).nullable().optional(),
|
|
152
152
|
eel_pfc: CustomsDeclarationEelPfcEnum$zodSchema.optional(),
|
|
153
153
|
exporter_identification: z.lazy(() => CustomsExporterIdentification$zodSchema)
|
|
154
154
|
.nullable().optional(),
|
|
155
|
-
exporter_reference: z.string().optional(),
|
|
156
|
-
importer_reference: z.string().optional(),
|
|
155
|
+
exporter_reference: z.string().nullable().optional(),
|
|
156
|
+
importer_reference: z.string().nullable().optional(),
|
|
157
157
|
incoterm: CustomsDeclarationIncotermEnum$zodSchema.optional(),
|
|
158
|
-
invoice: z.string().optional(),
|
|
159
|
-
is_vat_collected: z.boolean().optional(),
|
|
158
|
+
invoice: z.string().nullable().optional(),
|
|
159
|
+
is_vat_collected: z.boolean().nullable().optional(),
|
|
160
160
|
items: z.array(CustomsItemCreateRequest$zodSchema),
|
|
161
|
-
license: z.string().optional(),
|
|
162
|
-
metadata: z.string().optional(),
|
|
161
|
+
license: z.string().nullable().optional(),
|
|
162
|
+
metadata: z.string().nullable().optional(),
|
|
163
163
|
non_delivery_option: CustomsDeclarationNonDeliveryOptionEnum$zodSchema,
|
|
164
|
-
notes: z.string().optional(),
|
|
164
|
+
notes: z.string().nullable().optional(),
|
|
165
165
|
test: z.boolean().optional(),
|
|
166
166
|
});
|
|
167
167
|
|
|
@@ -234,24 +234,24 @@ export const CustomsInvoicedCharges$zodSchema: z.ZodType<
|
|
|
234
234
|
});
|
|
235
235
|
|
|
236
236
|
export type CustomsDeclaration = {
|
|
237
|
-
aes_itn?: string | undefined;
|
|
237
|
+
aes_itn?: string | null | undefined;
|
|
238
238
|
b13a_filing_option?: string | undefined;
|
|
239
|
-
b13a_number?: string | undefined;
|
|
240
|
-
certificate?: string | undefined;
|
|
239
|
+
b13a_number?: string | null | undefined;
|
|
240
|
+
certificate?: string | null | undefined;
|
|
241
241
|
certify: boolean;
|
|
242
242
|
certify_signer: string;
|
|
243
|
-
commercial_invoice?: boolean | undefined;
|
|
244
|
-
contents_explanation?: string | undefined;
|
|
245
|
-
disclaimer?: string | undefined;
|
|
243
|
+
commercial_invoice?: boolean | null | undefined;
|
|
244
|
+
contents_explanation?: string | null | undefined;
|
|
245
|
+
disclaimer?: string | null | undefined;
|
|
246
246
|
duties_payor?: CustomsDeclarationDutiesPayor | null | undefined;
|
|
247
247
|
exporter_identification?: CustomsExporterIdentification | null | undefined;
|
|
248
|
-
exporter_reference?: string | undefined;
|
|
249
|
-
importer_reference?: string | undefined;
|
|
250
|
-
is_vat_collected?: boolean | undefined;
|
|
251
|
-
invoice?: string | undefined;
|
|
252
|
-
license?: string | undefined;
|
|
253
|
-
metadata?: string | undefined;
|
|
254
|
-
notes?: string | undefined;
|
|
248
|
+
exporter_reference?: string | null | undefined;
|
|
249
|
+
importer_reference?: string | null | undefined;
|
|
250
|
+
is_vat_collected?: boolean | null | undefined;
|
|
251
|
+
invoice?: string | null | undefined;
|
|
252
|
+
license?: string | null | undefined;
|
|
253
|
+
metadata?: string | null | undefined;
|
|
254
|
+
notes?: string | null | undefined;
|
|
255
255
|
address_importer?: string | null | undefined;
|
|
256
256
|
contents_type: string;
|
|
257
257
|
eel_pfc?: string | undefined;
|
|
@@ -270,34 +270,34 @@ export type CustomsDeclaration = {
|
|
|
270
270
|
export const CustomsDeclaration$zodSchema: z.ZodType<CustomsDeclaration> = z
|
|
271
271
|
.object({
|
|
272
272
|
address_importer: z.string().nullable().optional(),
|
|
273
|
-
aes_itn: z.string().optional(),
|
|
273
|
+
aes_itn: z.string().nullable().optional(),
|
|
274
274
|
b13a_filing_option: z.string().optional(),
|
|
275
|
-
b13a_number: z.string().optional(),
|
|
276
|
-
certificate: z.string().optional(),
|
|
275
|
+
b13a_number: z.string().nullable().optional(),
|
|
276
|
+
certificate: z.string().nullable().optional(),
|
|
277
277
|
certify: z.boolean(),
|
|
278
278
|
certify_signer: z.string(),
|
|
279
|
-
commercial_invoice: z.boolean().optional(),
|
|
280
|
-
contents_explanation: z.string().optional(),
|
|
279
|
+
commercial_invoice: z.boolean().nullable().optional(),
|
|
280
|
+
contents_explanation: z.string().nullable().optional(),
|
|
281
281
|
contents_type: z.string(),
|
|
282
|
-
disclaimer: z.string().optional(),
|
|
282
|
+
disclaimer: z.string().nullable().optional(),
|
|
283
283
|
duties_payor: z.lazy(() => CustomsDeclarationDutiesPayor$zodSchema)
|
|
284
284
|
.nullable().optional(),
|
|
285
285
|
eel_pfc: z.string().optional(),
|
|
286
286
|
exporter_identification: z.lazy(() =>
|
|
287
287
|
CustomsExporterIdentification$zodSchema
|
|
288
288
|
).nullable().optional(),
|
|
289
|
-
exporter_reference: z.string().optional(),
|
|
290
|
-
importer_reference: z.string().optional(),
|
|
289
|
+
exporter_reference: z.string().nullable().optional(),
|
|
290
|
+
importer_reference: z.string().nullable().optional(),
|
|
291
291
|
incoterm: z.string().optional(),
|
|
292
|
-
invoice: z.string().optional(),
|
|
292
|
+
invoice: z.string().nullable().optional(),
|
|
293
293
|
invoiced_charges: z.lazy(() => CustomsInvoicedCharges$zodSchema).nullable()
|
|
294
294
|
.optional(),
|
|
295
|
-
is_vat_collected: z.boolean().optional(),
|
|
295
|
+
is_vat_collected: z.boolean().nullable().optional(),
|
|
296
296
|
items: z.array(z.string()).optional(),
|
|
297
|
-
license: z.string().optional(),
|
|
298
|
-
metadata: z.string().optional(),
|
|
297
|
+
license: z.string().nullable().optional(),
|
|
298
|
+
metadata: z.string().nullable().optional(),
|
|
299
299
|
non_delivery_option: z.string(),
|
|
300
|
-
notes: z.string().optional(),
|
|
300
|
+
notes: z.string().nullable().optional(),
|
|
301
301
|
object_created: z.iso.datetime({ offset: true }).optional(),
|
|
302
302
|
object_id: z.string().optional(),
|
|
303
303
|
object_owner: z.string().optional(),
|