ebay-mcp 1.4.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/LICENSE +201 -0
- package/README.md +586 -0
- package/build/api/account-management/account.d.ts +216 -0
- package/build/api/account-management/account.js +305 -0
- package/build/api/analytics-and-report/analytics.d.ts +33 -0
- package/build/api/analytics-and-report/analytics.js +102 -0
- package/build/api/client.d.ts +89 -0
- package/build/api/client.js +343 -0
- package/build/api/communication/feedback.d.ts +45 -0
- package/build/api/communication/feedback.js +119 -0
- package/build/api/communication/message.d.ts +55 -0
- package/build/api/communication/message.js +131 -0
- package/build/api/communication/negotiation.d.ts +39 -0
- package/build/api/communication/negotiation.js +97 -0
- package/build/api/communication/notification.d.ts +128 -0
- package/build/api/communication/notification.js +373 -0
- package/build/api/index.d.ts +96 -0
- package/build/api/index.js +121 -0
- package/build/api/listing-management/inventory.d.ts +216 -0
- package/build/api/listing-management/inventory.js +633 -0
- package/build/api/listing-metadata/metadata.d.ts +154 -0
- package/build/api/listing-metadata/metadata.js +485 -0
- package/build/api/listing-metadata/taxonomy.d.ts +38 -0
- package/build/api/listing-metadata/taxonomy.js +58 -0
- package/build/api/marketing-and-promotions/marketing.d.ts +395 -0
- package/build/api/marketing-and-promotions/marketing.js +565 -0
- package/build/api/marketing-and-promotions/recommendation.d.ts +20 -0
- package/build/api/marketing-and-promotions/recommendation.js +32 -0
- package/build/api/order-management/dispute.d.ts +65 -0
- package/build/api/order-management/dispute.js +69 -0
- package/build/api/order-management/fulfillment.d.ts +80 -0
- package/build/api/order-management/fulfillment.js +89 -0
- package/build/api/other/compliance.d.ts +26 -0
- package/build/api/other/compliance.js +47 -0
- package/build/api/other/edelivery.d.ts +153 -0
- package/build/api/other/edelivery.js +219 -0
- package/build/api/other/identity.d.ts +17 -0
- package/build/api/other/identity.js +24 -0
- package/build/api/other/translation.d.ts +14 -0
- package/build/api/other/translation.js +22 -0
- package/build/api/other/vero.d.ts +30 -0
- package/build/api/other/vero.js +48 -0
- package/build/auth/oauth-metadata.d.ts +46 -0
- package/build/auth/oauth-metadata.js +59 -0
- package/build/auth/oauth-middleware.d.ts +35 -0
- package/build/auth/oauth-middleware.js +99 -0
- package/build/auth/oauth-types.d.ts +66 -0
- package/build/auth/oauth-types.js +4 -0
- package/build/auth/oauth.d.ts +93 -0
- package/build/auth/oauth.js +383 -0
- package/build/auth/scope-utils.d.ts +70 -0
- package/build/auth/scope-utils.js +304 -0
- package/build/auth/token-verifier.d.ts +57 -0
- package/build/auth/token-verifier.js +172 -0
- package/build/config/environment.d.ts +61 -0
- package/build/config/environment.js +260 -0
- package/build/index.d.ts +1 -0
- package/build/index.js +98 -0
- package/build/schemas/account-management/account.d.ts +5324 -0
- package/build/schemas/account-management/account.js +366 -0
- package/build/schemas/analytics/analytics.d.ts +167 -0
- package/build/schemas/analytics/analytics.js +191 -0
- package/build/schemas/communication/messages.d.ts +1872 -0
- package/build/schemas/communication/messages.js +348 -0
- package/build/schemas/fulfillment/orders.d.ts +4655 -0
- package/build/schemas/fulfillment/orders.js +317 -0
- package/build/schemas/index.d.ts +2100 -0
- package/build/schemas/index.js +68 -0
- package/build/schemas/inventory-management/inventory.d.ts +6419 -0
- package/build/schemas/inventory-management/inventory.js +450 -0
- package/build/schemas/marketing/marketing.d.ts +14181 -0
- package/build/schemas/marketing/marketing.js +1088 -0
- package/build/schemas/metadata/metadata.d.ts +5259 -0
- package/build/schemas/metadata/metadata.js +614 -0
- package/build/schemas/other/other-apis.d.ts +257 -0
- package/build/schemas/other/other-apis.js +372 -0
- package/build/schemas/taxonomy/taxonomy.d.ts +215 -0
- package/build/schemas/taxonomy/taxonomy.js +571 -0
- package/build/scripts/auto-setup.d.ts +12 -0
- package/build/scripts/auto-setup.js +277 -0
- package/build/scripts/diagnostics.d.ts +8 -0
- package/build/scripts/diagnostics.js +299 -0
- package/build/scripts/download-specs.d.ts +1 -0
- package/build/scripts/download-specs.js +116 -0
- package/build/scripts/interactive-setup.d.ts +21 -0
- package/build/scripts/interactive-setup.js +723 -0
- package/build/server-http.d.ts +11 -0
- package/build/server-http.js +361 -0
- package/build/tools/definitions/account-with-schemas.d.ts +39 -0
- package/build/tools/definitions/account-with-schemas.js +170 -0
- package/build/tools/definitions/account.d.ts +12 -0
- package/build/tools/definitions/account.js +428 -0
- package/build/tools/definitions/analytics.d.ts +25 -0
- package/build/tools/definitions/analytics.js +66 -0
- package/build/tools/definitions/communication.d.ts +12 -0
- package/build/tools/definitions/communication.js +151 -0
- package/build/tools/definitions/fulfillment.d.ts +12 -0
- package/build/tools/definitions/fulfillment.js +326 -0
- package/build/tools/definitions/index.d.ts +25 -0
- package/build/tools/definitions/index.js +37 -0
- package/build/tools/definitions/inventory.d.ts +12 -0
- package/build/tools/definitions/inventory.js +429 -0
- package/build/tools/definitions/marketing.d.ts +12 -0
- package/build/tools/definitions/marketing.js +1095 -0
- package/build/tools/definitions/metadata.d.ts +12 -0
- package/build/tools/definitions/metadata.js +188 -0
- package/build/tools/definitions/other.d.ts +13 -0
- package/build/tools/definitions/other.js +309 -0
- package/build/tools/definitions/taxonomy.d.ts +25 -0
- package/build/tools/definitions/taxonomy.js +64 -0
- package/build/tools/definitions/token-management.d.ts +35 -0
- package/build/tools/definitions/token-management.js +103 -0
- package/build/tools/index.d.ts +11 -0
- package/build/tools/index.js +1003 -0
- package/build/tools/schemas.d.ts +14764 -0
- package/build/tools/schemas.js +667 -0
- package/build/tools/tool-definitions.d.ts +35 -0
- package/build/tools/tool-definitions.js +3534 -0
- package/build/types/application-settings/developerAnalyticsV1BetaOas3.d.ts +197 -0
- package/build/types/application-settings/developerAnalyticsV1BetaOas3.js +5 -0
- package/build/types/application-settings/developerClientRegistrationV1Oas3.d.ts +155 -0
- package/build/types/application-settings/developerClientRegistrationV1Oas3.js +5 -0
- package/build/types/application-settings/developerKeyManagementV1Oas3.d.ts +246 -0
- package/build/types/application-settings/developerKeyManagementV1Oas3.js +5 -0
- package/build/types/ebay-enums.d.ts +1204 -0
- package/build/types/ebay-enums.js +1330 -0
- package/build/types/ebay.d.ts +143 -0
- package/build/types/ebay.js +123 -0
- package/build/types/index.d.ts +6 -0
- package/build/types/index.js +10 -0
- package/build/types/sell-apps/account-management/sellAccountV1Oas3.d.ts +2579 -0
- package/build/types/sell-apps/account-management/sellAccountV1Oas3.js +5 -0
- package/build/types/sell-apps/analytics-and-report/sellAnalyticsV1Oas3.d.ts +446 -0
- package/build/types/sell-apps/analytics-and-report/sellAnalyticsV1Oas3.js +5 -0
- package/build/types/sell-apps/communication/commerceFeedbackV1BetaOas3.d.ts +705 -0
- package/build/types/sell-apps/communication/commerceFeedbackV1BetaOas3.js +5 -0
- package/build/types/sell-apps/communication/commerceMessageV1Oas3.d.ts +590 -0
- package/build/types/sell-apps/communication/commerceMessageV1Oas3.js +5 -0
- package/build/types/sell-apps/communication/commerceNotificationV1Oas3.d.ts +1276 -0
- package/build/types/sell-apps/communication/commerceNotificationV1Oas3.js +5 -0
- package/build/types/sell-apps/communication/sellNegotiationV1Oas3.d.ts +277 -0
- package/build/types/sell-apps/communication/sellNegotiationV1Oas3.js +5 -0
- package/build/types/sell-apps/listing-management/sellInventoryV1Oas3.d.ts +3133 -0
- package/build/types/sell-apps/listing-management/sellInventoryV1Oas3.js +5 -0
- package/build/types/sell-apps/listing-metadata/sellMetadataV1Oas3.d.ts +2289 -0
- package/build/types/sell-apps/listing-metadata/sellMetadataV1Oas3.js +5 -0
- package/build/types/sell-apps/markeitng-and-promotions/sellMarketingV1Oas3.d.ts +6650 -0
- package/build/types/sell-apps/markeitng-and-promotions/sellMarketingV1Oas3.js +5 -0
- package/build/types/sell-apps/markeitng-and-promotions/sellRecommendationV1Oas3.d.ts +172 -0
- package/build/types/sell-apps/markeitng-and-promotions/sellRecommendationV1Oas3.js +5 -0
- package/build/types/sell-apps/order-management/sellFulfillmentV1Oas3.d.ts +1869 -0
- package/build/types/sell-apps/order-management/sellFulfillmentV1Oas3.js +5 -0
- package/build/types/sell-apps/other-apis/commerceIdentityV1Oas3.d.ts +178 -0
- package/build/types/sell-apps/other-apis/commerceIdentityV1Oas3.js +5 -0
- package/build/types/sell-apps/other-apis/commerceTranslationV1BetaOas3.d.ts +128 -0
- package/build/types/sell-apps/other-apis/commerceTranslationV1BetaOas3.js +5 -0
- package/build/types/sell-apps/other-apis/commerceVeroV1Oas3.d.ts +417 -0
- package/build/types/sell-apps/other-apis/commerceVeroV1Oas3.js +5 -0
- package/build/types/sell-apps/other-apis/sellComplianceV1Oas3.d.ts +273 -0
- package/build/types/sell-apps/other-apis/sellComplianceV1Oas3.js +5 -0
- package/build/types/sell-apps/other-apis/sellEdeliveryInternationalShippingOas3.d.ts +2537 -0
- package/build/types/sell-apps/other-apis/sellEdeliveryInternationalShippingOas3.js +5 -0
- package/build/types/sell-apps/other-apis/sellMarketingV1Oas3.d.ts +6650 -0
- package/build/types/sell-apps/other-apis/sellMarketingV1Oas3.js +5 -0
- package/build/types/sell-apps/other-apis/sellRecommendationV1Oas3.d.ts +172 -0
- package/build/types/sell-apps/other-apis/sellRecommendationV1Oas3.js +5 -0
- package/build/utils/account-management/account.d.ts +1094 -0
- package/build/utils/account-management/account.js +831 -0
- package/build/utils/communication/feedback.d.ts +152 -0
- package/build/utils/communication/feedback.js +216 -0
- package/build/utils/communication/message.d.ts +174 -0
- package/build/utils/communication/message.js +242 -0
- package/build/utils/communication/negotiation.d.ts +123 -0
- package/build/utils/communication/negotiation.js +150 -0
- package/build/utils/communication/notification.d.ts +370 -0
- package/build/utils/communication/notification.js +369 -0
- package/build/utils/date-converter.d.ts +59 -0
- package/build/utils/date-converter.js +160 -0
- package/build/utils/llm-client-detector.d.ts +54 -0
- package/build/utils/llm-client-detector.js +318 -0
- package/build/utils/oauth-helper.d.ts +37 -0
- package/build/utils/oauth-helper.js +315 -0
- package/build/utils/order-management/dispute.d.ts +346 -0
- package/build/utils/order-management/dispute.js +369 -0
- package/build/utils/order-management/fulfillment.d.ts +200 -0
- package/build/utils/order-management/fulfillment.js +205 -0
- package/build/utils/other/compliance.d.ts +49 -0
- package/build/utils/other/compliance.js +76 -0
- package/build/utils/other/edelivery.d.ts +310 -0
- package/build/utils/other/edelivery.js +241 -0
- package/build/utils/other/identity.d.ts +13 -0
- package/build/utils/other/identity.js +13 -0
- package/build/utils/other/translation.d.ts +28 -0
- package/build/utils/other/translation.js +41 -0
- package/build/utils/other/vero.d.ts +61 -0
- package/build/utils/other/vero.js +90 -0
- package/build/utils/scope-helper.d.ts +49 -0
- package/build/utils/scope-helper.js +207 -0
- package/build/utils/security-checker.d.ts +46 -0
- package/build/utils/security-checker.js +248 -0
- package/build/utils/setup-validator.d.ts +25 -0
- package/build/utils/setup-validator.js +305 -0
- package/build/utils/token-utils.d.ts +40 -0
- package/build/utils/token-utils.js +40 -0
- package/package.json +115 -0
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert Zod schemas to JSON Schema format for MCP tools
|
|
3
|
+
*/
|
|
4
|
+
export declare function getOtherApisJsonSchemas(): {
|
|
5
|
+
getUserConsentOutput: import("zod-to-json-schema").JsonSchema7Type & {
|
|
6
|
+
$schema?: string | undefined;
|
|
7
|
+
definitions?: {
|
|
8
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
9
|
+
} | undefined;
|
|
10
|
+
};
|
|
11
|
+
getComplianceSummaryOutput: import("zod-to-json-schema").JsonSchema7Type & {
|
|
12
|
+
$schema?: string | undefined;
|
|
13
|
+
definitions?: {
|
|
14
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
15
|
+
} | undefined;
|
|
16
|
+
};
|
|
17
|
+
getListingViolationsInput: import("zod-to-json-schema").JsonSchema7Type & {
|
|
18
|
+
$schema?: string | undefined;
|
|
19
|
+
definitions?: {
|
|
20
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
21
|
+
} | undefined;
|
|
22
|
+
};
|
|
23
|
+
getListingViolationsOutput: import("zod-to-json-schema").JsonSchema7Type & {
|
|
24
|
+
$schema?: string | undefined;
|
|
25
|
+
definitions?: {
|
|
26
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
27
|
+
} | undefined;
|
|
28
|
+
};
|
|
29
|
+
suppressViolationInput: import("zod-to-json-schema").JsonSchema7Type & {
|
|
30
|
+
$schema?: string | undefined;
|
|
31
|
+
definitions?: {
|
|
32
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
33
|
+
} | undefined;
|
|
34
|
+
};
|
|
35
|
+
translateInput: import("zod-to-json-schema").JsonSchema7Type & {
|
|
36
|
+
$schema?: string | undefined;
|
|
37
|
+
definitions?: {
|
|
38
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
39
|
+
} | undefined;
|
|
40
|
+
};
|
|
41
|
+
translateOutput: import("zod-to-json-schema").JsonSchema7Type & {
|
|
42
|
+
$schema?: string | undefined;
|
|
43
|
+
definitions?: {
|
|
44
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
45
|
+
} | undefined;
|
|
46
|
+
};
|
|
47
|
+
reportItemsInput: import("zod-to-json-schema").JsonSchema7Type & {
|
|
48
|
+
$schema?: string | undefined;
|
|
49
|
+
definitions?: {
|
|
50
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
51
|
+
} | undefined;
|
|
52
|
+
};
|
|
53
|
+
reportItemsOutput: import("zod-to-json-schema").JsonSchema7Type & {
|
|
54
|
+
$schema?: string | undefined;
|
|
55
|
+
definitions?: {
|
|
56
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
57
|
+
} | undefined;
|
|
58
|
+
};
|
|
59
|
+
getVeroReportedListingsInput: import("zod-to-json-schema").JsonSchema7Type & {
|
|
60
|
+
$schema?: string | undefined;
|
|
61
|
+
definitions?: {
|
|
62
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
63
|
+
} | undefined;
|
|
64
|
+
};
|
|
65
|
+
getVeroReportedListingsOutput: import("zod-to-json-schema").JsonSchema7Type & {
|
|
66
|
+
$schema?: string | undefined;
|
|
67
|
+
definitions?: {
|
|
68
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
69
|
+
} | undefined;
|
|
70
|
+
};
|
|
71
|
+
createShippingQuoteInput: import("zod-to-json-schema").JsonSchema7Type & {
|
|
72
|
+
$schema?: string | undefined;
|
|
73
|
+
definitions?: {
|
|
74
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
75
|
+
} | undefined;
|
|
76
|
+
};
|
|
77
|
+
createShippingQuoteOutput: import("zod-to-json-schema").JsonSchema7Type & {
|
|
78
|
+
$schema?: string | undefined;
|
|
79
|
+
definitions?: {
|
|
80
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
81
|
+
} | undefined;
|
|
82
|
+
};
|
|
83
|
+
purchaseLabelInput: import("zod-to-json-schema").JsonSchema7Type & {
|
|
84
|
+
$schema?: string | undefined;
|
|
85
|
+
definitions?: {
|
|
86
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
87
|
+
} | undefined;
|
|
88
|
+
};
|
|
89
|
+
purchaseLabelOutput: import("zod-to-json-schema").JsonSchema7Type & {
|
|
90
|
+
$schema?: string | undefined;
|
|
91
|
+
definitions?: {
|
|
92
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
93
|
+
} | undefined;
|
|
94
|
+
};
|
|
95
|
+
getShipmentOutput: import("zod-to-json-schema").JsonSchema7Type & {
|
|
96
|
+
$schema?: string | undefined;
|
|
97
|
+
definitions?: {
|
|
98
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
99
|
+
} | undefined;
|
|
100
|
+
};
|
|
101
|
+
cancelShipmentOutput: import("zod-to-json-schema").JsonSchema7Type & {
|
|
102
|
+
$schema?: string | undefined;
|
|
103
|
+
definitions?: {
|
|
104
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
105
|
+
} | undefined;
|
|
106
|
+
};
|
|
107
|
+
downloadLabelOutput: import("zod-to-json-schema").JsonSchema7Type & {
|
|
108
|
+
$schema?: string | undefined;
|
|
109
|
+
definitions?: {
|
|
110
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
111
|
+
} | undefined;
|
|
112
|
+
};
|
|
113
|
+
error: import("zod-to-json-schema").JsonSchema7Type & {
|
|
114
|
+
$schema?: string | undefined;
|
|
115
|
+
definitions?: {
|
|
116
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
117
|
+
} | undefined;
|
|
118
|
+
};
|
|
119
|
+
errorParameter: import("zod-to-json-schema").JsonSchema7Type & {
|
|
120
|
+
$schema?: string | undefined;
|
|
121
|
+
definitions?: {
|
|
122
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
123
|
+
} | undefined;
|
|
124
|
+
};
|
|
125
|
+
amount: import("zod-to-json-schema").JsonSchema7Type & {
|
|
126
|
+
$schema?: string | undefined;
|
|
127
|
+
definitions?: {
|
|
128
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
129
|
+
} | undefined;
|
|
130
|
+
};
|
|
131
|
+
address: import("zod-to-json-schema").JsonSchema7Type & {
|
|
132
|
+
$schema?: string | undefined;
|
|
133
|
+
definitions?: {
|
|
134
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
135
|
+
} | undefined;
|
|
136
|
+
};
|
|
137
|
+
contact: import("zod-to-json-schema").JsonSchema7Type & {
|
|
138
|
+
$schema?: string | undefined;
|
|
139
|
+
definitions?: {
|
|
140
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
141
|
+
} | undefined;
|
|
142
|
+
};
|
|
143
|
+
dimensions: import("zod-to-json-schema").JsonSchema7Type & {
|
|
144
|
+
$schema?: string | undefined;
|
|
145
|
+
definitions?: {
|
|
146
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
147
|
+
} | undefined;
|
|
148
|
+
};
|
|
149
|
+
weight: import("zod-to-json-schema").JsonSchema7Type & {
|
|
150
|
+
$schema?: string | undefined;
|
|
151
|
+
definitions?: {
|
|
152
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
153
|
+
} | undefined;
|
|
154
|
+
};
|
|
155
|
+
pageMetadata: import("zod-to-json-schema").JsonSchema7Type & {
|
|
156
|
+
$schema?: string | undefined;
|
|
157
|
+
definitions?: {
|
|
158
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
159
|
+
} | undefined;
|
|
160
|
+
};
|
|
161
|
+
complianceViolation: import("zod-to-json-schema").JsonSchema7Type & {
|
|
162
|
+
$schema?: string | undefined;
|
|
163
|
+
definitions?: {
|
|
164
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
165
|
+
} | undefined;
|
|
166
|
+
};
|
|
167
|
+
complianceDetail: import("zod-to-json-schema").JsonSchema7Type & {
|
|
168
|
+
$schema?: string | undefined;
|
|
169
|
+
definitions?: {
|
|
170
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
171
|
+
} | undefined;
|
|
172
|
+
};
|
|
173
|
+
correctiveRecommendations: import("zod-to-json-schema").JsonSchema7Type & {
|
|
174
|
+
$schema?: string | undefined;
|
|
175
|
+
definitions?: {
|
|
176
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
177
|
+
} | undefined;
|
|
178
|
+
};
|
|
179
|
+
variationDetails: import("zod-to-json-schema").JsonSchema7Type & {
|
|
180
|
+
$schema?: string | undefined;
|
|
181
|
+
definitions?: {
|
|
182
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
183
|
+
} | undefined;
|
|
184
|
+
};
|
|
185
|
+
nameValueList: import("zod-to-json-schema").JsonSchema7Type & {
|
|
186
|
+
$schema?: string | undefined;
|
|
187
|
+
definitions?: {
|
|
188
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
189
|
+
} | undefined;
|
|
190
|
+
};
|
|
191
|
+
translation: import("zod-to-json-schema").JsonSchema7Type & {
|
|
192
|
+
$schema?: string | undefined;
|
|
193
|
+
definitions?: {
|
|
194
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
195
|
+
} | undefined;
|
|
196
|
+
};
|
|
197
|
+
veroReportedListing: import("zod-to-json-schema").JsonSchema7Type & {
|
|
198
|
+
$schema?: string | undefined;
|
|
199
|
+
definitions?: {
|
|
200
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
201
|
+
} | undefined;
|
|
202
|
+
};
|
|
203
|
+
reportedListingDetails: import("zod-to-json-schema").JsonSchema7Type & {
|
|
204
|
+
$schema?: string | undefined;
|
|
205
|
+
definitions?: {
|
|
206
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
207
|
+
} | undefined;
|
|
208
|
+
};
|
|
209
|
+
itemLocation: import("zod-to-json-schema").JsonSchema7Type & {
|
|
210
|
+
$schema?: string | undefined;
|
|
211
|
+
definitions?: {
|
|
212
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
213
|
+
} | undefined;
|
|
214
|
+
};
|
|
215
|
+
shippingQuote: import("zod-to-json-schema").JsonSchema7Type & {
|
|
216
|
+
$schema?: string | undefined;
|
|
217
|
+
definitions?: {
|
|
218
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
219
|
+
} | undefined;
|
|
220
|
+
};
|
|
221
|
+
shipment: import("zod-to-json-schema").JsonSchema7Type & {
|
|
222
|
+
$schema?: string | undefined;
|
|
223
|
+
definitions?: {
|
|
224
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
225
|
+
} | undefined;
|
|
226
|
+
};
|
|
227
|
+
package: import("zod-to-json-schema").JsonSchema7Type & {
|
|
228
|
+
$schema?: string | undefined;
|
|
229
|
+
definitions?: {
|
|
230
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
231
|
+
} | undefined;
|
|
232
|
+
};
|
|
233
|
+
rate: import("zod-to-json-schema").JsonSchema7Type & {
|
|
234
|
+
$schema?: string | undefined;
|
|
235
|
+
definitions?: {
|
|
236
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
237
|
+
} | undefined;
|
|
238
|
+
};
|
|
239
|
+
label: import("zod-to-json-schema").JsonSchema7Type & {
|
|
240
|
+
$schema?: string | undefined;
|
|
241
|
+
definitions?: {
|
|
242
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
243
|
+
} | undefined;
|
|
244
|
+
};
|
|
245
|
+
packageDetails: import("zod-to-json-schema").JsonSchema7Type & {
|
|
246
|
+
$schema?: string | undefined;
|
|
247
|
+
definitions?: {
|
|
248
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
249
|
+
} | undefined;
|
|
250
|
+
};
|
|
251
|
+
userConsent: import("zod-to-json-schema").JsonSchema7Type & {
|
|
252
|
+
$schema?: string | undefined;
|
|
253
|
+
definitions?: {
|
|
254
|
+
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
255
|
+
} | undefined;
|
|
256
|
+
};
|
|
257
|
+
};
|
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { zodToJsonSchema } from 'zod-to-json-schema';
|
|
3
|
+
/**
|
|
4
|
+
* Other eBay APIs Schemas
|
|
5
|
+
*
|
|
6
|
+
* This file contains Zod schemas for various eBay APIs including:
|
|
7
|
+
* - Commerce Identity API
|
|
8
|
+
* - Sell Compliance API
|
|
9
|
+
* - Commerce Translation API
|
|
10
|
+
* - Commerce VERO API
|
|
11
|
+
* - Sell eDelivery International Shipping API
|
|
12
|
+
*/
|
|
13
|
+
// ============================================================================
|
|
14
|
+
// Common Schemas
|
|
15
|
+
// ============================================================================
|
|
16
|
+
const errorParameterSchema = z.object({
|
|
17
|
+
name: z.string().optional(),
|
|
18
|
+
value: z.string().optional(),
|
|
19
|
+
});
|
|
20
|
+
const errorSchema = z.object({
|
|
21
|
+
category: z.string().optional(),
|
|
22
|
+
domain: z.string().optional(),
|
|
23
|
+
errorId: z.number().int().optional(),
|
|
24
|
+
inputRefIds: z.array(z.string()).optional(),
|
|
25
|
+
longMessage: z.string().optional(),
|
|
26
|
+
message: z.string().optional(),
|
|
27
|
+
outputRefIds: z.array(z.string()).optional(),
|
|
28
|
+
parameters: z.array(errorParameterSchema).optional(),
|
|
29
|
+
subdomain: z.string().optional(),
|
|
30
|
+
});
|
|
31
|
+
// ============================================================================
|
|
32
|
+
// Commerce Identity API Schemas
|
|
33
|
+
// ============================================================================
|
|
34
|
+
const userConsentSchema = z.object({
|
|
35
|
+
consentState: z.string().optional(),
|
|
36
|
+
consentType: z.string().optional(),
|
|
37
|
+
});
|
|
38
|
+
const getUserConsentResponseSchema = z.object({
|
|
39
|
+
consents: z.array(userConsentSchema).optional(),
|
|
40
|
+
});
|
|
41
|
+
// ============================================================================
|
|
42
|
+
// Sell Compliance API Schemas
|
|
43
|
+
// ============================================================================
|
|
44
|
+
const nameValueListSchema = z.object({
|
|
45
|
+
name: z.string().optional(),
|
|
46
|
+
value: z.string().optional(),
|
|
47
|
+
});
|
|
48
|
+
const correctiveRecommendationsSchema = z.object({
|
|
49
|
+
complianceDetail: z.string().optional(),
|
|
50
|
+
complianceDetailDescription: z.string().optional(),
|
|
51
|
+
correctiveActionDetails: z.string().optional(),
|
|
52
|
+
productRecommendation: z.object({
|
|
53
|
+
epid: z.string().optional(),
|
|
54
|
+
}).optional(),
|
|
55
|
+
});
|
|
56
|
+
const variationDetailsSchema = z.object({
|
|
57
|
+
sku: z.string().optional(),
|
|
58
|
+
variationAspects: z.array(nameValueListSchema).optional(),
|
|
59
|
+
});
|
|
60
|
+
const complianceDetailSchema = z.object({
|
|
61
|
+
complianceState: z.string().optional(),
|
|
62
|
+
complianceType: z.string().optional(),
|
|
63
|
+
message: z.string().optional(),
|
|
64
|
+
reasons: z.array(z.object({
|
|
65
|
+
complianceDetailType: z.string().optional(),
|
|
66
|
+
message: z.string().optional(),
|
|
67
|
+
variation: variationDetailsSchema.optional(),
|
|
68
|
+
violationData: z.array(nameValueListSchema).optional(),
|
|
69
|
+
})).optional(),
|
|
70
|
+
correctiveRecommendations: correctiveRecommendationsSchema.optional(),
|
|
71
|
+
});
|
|
72
|
+
const complianceSummaryInfoSchema = z.object({
|
|
73
|
+
complianceSummary: z.object({
|
|
74
|
+
violationSummaries: z.array(z.object({
|
|
75
|
+
complianceType: z.string().optional(),
|
|
76
|
+
listingCount: z.number().int().optional(),
|
|
77
|
+
})).optional(),
|
|
78
|
+
}).optional(),
|
|
79
|
+
});
|
|
80
|
+
const complianceViolationSchema = z.object({
|
|
81
|
+
listingId: z.string().optional(),
|
|
82
|
+
offerId: z.string().optional(),
|
|
83
|
+
sku: z.string().optional(),
|
|
84
|
+
complianceType: z.string().optional(),
|
|
85
|
+
complianceDetails: z.array(complianceDetailSchema).optional(),
|
|
86
|
+
});
|
|
87
|
+
const pageMetadataSchema = z.object({
|
|
88
|
+
href: z.string().optional(),
|
|
89
|
+
limit: z.number().int().optional(),
|
|
90
|
+
next: z.string().optional(),
|
|
91
|
+
offset: z.number().int().optional(),
|
|
92
|
+
prev: z.string().optional(),
|
|
93
|
+
total: z.number().int().optional(),
|
|
94
|
+
});
|
|
95
|
+
const listingViolationSummaryResponseSchema = z.object({
|
|
96
|
+
href: z.string().optional(),
|
|
97
|
+
limit: z.number().int().optional(),
|
|
98
|
+
listingViolations: z.array(complianceViolationSchema).optional(),
|
|
99
|
+
next: z.string().optional(),
|
|
100
|
+
offset: z.number().int().optional(),
|
|
101
|
+
prev: z.string().optional(),
|
|
102
|
+
total: z.number().int().optional(),
|
|
103
|
+
});
|
|
104
|
+
const suppressViolationRequestSchema = z.object({
|
|
105
|
+
complianceType: z.string().optional(),
|
|
106
|
+
listingId: z.string().optional(),
|
|
107
|
+
});
|
|
108
|
+
// ============================================================================
|
|
109
|
+
// Commerce Translation API Schemas
|
|
110
|
+
// ============================================================================
|
|
111
|
+
const translationSchema = z.object({
|
|
112
|
+
from: z.string().optional(),
|
|
113
|
+
to: z.string().optional(),
|
|
114
|
+
translatedText: z.string().optional(),
|
|
115
|
+
});
|
|
116
|
+
const translateRequestSchema = z.object({
|
|
117
|
+
from: z.string().optional(),
|
|
118
|
+
to: z.string(),
|
|
119
|
+
text: z.array(z.string()),
|
|
120
|
+
translationContext: z.string().optional(),
|
|
121
|
+
});
|
|
122
|
+
const translateResponseSchema = z.object({
|
|
123
|
+
translations: z.array(translationSchema).optional(),
|
|
124
|
+
});
|
|
125
|
+
// ============================================================================
|
|
126
|
+
// Commerce VERO API Schemas
|
|
127
|
+
// ============================================================================
|
|
128
|
+
const itemLocationSchema = z.object({
|
|
129
|
+
countryCode: z.string().optional(),
|
|
130
|
+
location: z.string().optional(),
|
|
131
|
+
postalCode: z.string().optional(),
|
|
132
|
+
});
|
|
133
|
+
const amountSchema = z.object({
|
|
134
|
+
currency: z.string().optional(),
|
|
135
|
+
value: z.string().optional(),
|
|
136
|
+
});
|
|
137
|
+
const reportedListingDetailsSchema = z.object({
|
|
138
|
+
categoryId: z.string().optional(),
|
|
139
|
+
imageUrl: z.string().optional(),
|
|
140
|
+
itemId: z.string().optional(),
|
|
141
|
+
itemLocation: itemLocationSchema.optional(),
|
|
142
|
+
price: amountSchema.optional(),
|
|
143
|
+
quantity: z.number().int().optional(),
|
|
144
|
+
sellerId: z.string().optional(),
|
|
145
|
+
title: z.string().optional(),
|
|
146
|
+
});
|
|
147
|
+
const veroReportItemsRequestSchema = z.object({
|
|
148
|
+
reportingReason: z.string().optional(),
|
|
149
|
+
reportedListingIds: z.array(z.string()).optional(),
|
|
150
|
+
});
|
|
151
|
+
const veroReportItemsResponseSchema = z.object({
|
|
152
|
+
reportedListings: z.array(z.object({
|
|
153
|
+
itemId: z.string().optional(),
|
|
154
|
+
statusCode: z.number().int().optional(),
|
|
155
|
+
statusMessage: z.string().optional(),
|
|
156
|
+
})).optional(),
|
|
157
|
+
});
|
|
158
|
+
const veroReportedListingSchema = z.object({
|
|
159
|
+
itemId: z.string().optional(),
|
|
160
|
+
reasonForReport: z.string().optional(),
|
|
161
|
+
reportedDate: z.string().optional(),
|
|
162
|
+
reportedListingDetails: reportedListingDetailsSchema.optional(),
|
|
163
|
+
});
|
|
164
|
+
const veroReportedListingsResponseSchema = z.object({
|
|
165
|
+
href: z.string().optional(),
|
|
166
|
+
limit: z.number().int().optional(),
|
|
167
|
+
next: z.string().optional(),
|
|
168
|
+
offset: z.number().int().optional(),
|
|
169
|
+
prev: z.string().optional(),
|
|
170
|
+
reportedListings: z.array(veroReportedListingSchema).optional(),
|
|
171
|
+
total: z.number().int().optional(),
|
|
172
|
+
});
|
|
173
|
+
// ============================================================================
|
|
174
|
+
// Sell eDelivery International Shipping API Schemas
|
|
175
|
+
// ============================================================================
|
|
176
|
+
const addressSchema = z.object({
|
|
177
|
+
addressLine1: z.string().optional(),
|
|
178
|
+
addressLine2: z.string().optional(),
|
|
179
|
+
city: z.string().optional(),
|
|
180
|
+
stateOrProvince: z.string().optional(),
|
|
181
|
+
postalCode: z.string().optional(),
|
|
182
|
+
countryCode: z.string().optional(),
|
|
183
|
+
});
|
|
184
|
+
const contactSchema = z.object({
|
|
185
|
+
companyName: z.string().optional(),
|
|
186
|
+
contactAddress: addressSchema.optional(),
|
|
187
|
+
email: z.string().optional(),
|
|
188
|
+
fullName: z.string().optional(),
|
|
189
|
+
primaryPhone: z.object({
|
|
190
|
+
phoneNumber: z.string().optional(),
|
|
191
|
+
}).optional(),
|
|
192
|
+
});
|
|
193
|
+
const dimensionsSchema = z.object({
|
|
194
|
+
height: z.number().optional(),
|
|
195
|
+
length: z.number().optional(),
|
|
196
|
+
width: z.number().optional(),
|
|
197
|
+
unit: z.string().optional(),
|
|
198
|
+
});
|
|
199
|
+
const weightSchema = z.object({
|
|
200
|
+
value: z.number().optional(),
|
|
201
|
+
unit: z.string().optional(),
|
|
202
|
+
});
|
|
203
|
+
const packageDetailsSchema = z.object({
|
|
204
|
+
dimensions: dimensionsSchema.optional(),
|
|
205
|
+
weight: weightSchema.optional(),
|
|
206
|
+
});
|
|
207
|
+
const lineItemInputSchema = z.object({
|
|
208
|
+
lineItemId: z.string().optional(),
|
|
209
|
+
quantity: z.number().int().optional(),
|
|
210
|
+
});
|
|
211
|
+
const createShippingQuoteRequestSchema = z.object({
|
|
212
|
+
orders: z.array(z.object({
|
|
213
|
+
lineItems: z.array(lineItemInputSchema).optional(),
|
|
214
|
+
orderId: z.string().optional(),
|
|
215
|
+
})).optional(),
|
|
216
|
+
shippingDestination: contactSchema.optional(),
|
|
217
|
+
});
|
|
218
|
+
const rateSchema = z.object({
|
|
219
|
+
maxEstimatedDeliveryDate: z.string().optional(),
|
|
220
|
+
minEstimatedDeliveryDate: z.string().optional(),
|
|
221
|
+
rateId: z.string().optional(),
|
|
222
|
+
shippingCost: amountSchema.optional(),
|
|
223
|
+
shippingServiceCode: z.string().optional(),
|
|
224
|
+
shippingServiceName: z.string().optional(),
|
|
225
|
+
});
|
|
226
|
+
const packageSchema = z.object({
|
|
227
|
+
lineItems: z.array(z.object({
|
|
228
|
+
itemId: z.string().optional(),
|
|
229
|
+
lineItemId: z.string().optional(),
|
|
230
|
+
orderId: z.string().optional(),
|
|
231
|
+
quantity: z.number().int().optional(),
|
|
232
|
+
})).optional(),
|
|
233
|
+
packageDetails: packageDetailsSchema.optional(),
|
|
234
|
+
packageId: z.string().optional(),
|
|
235
|
+
rates: z.array(rateSchema).optional(),
|
|
236
|
+
});
|
|
237
|
+
const shippingQuoteSchema = z.object({
|
|
238
|
+
creationDate: z.string().optional(),
|
|
239
|
+
expirationDate: z.string().optional(),
|
|
240
|
+
packages: z.array(packageSchema).optional(),
|
|
241
|
+
quoteId: z.string().optional(),
|
|
242
|
+
shippingDestination: contactSchema.optional(),
|
|
243
|
+
warnings: z.array(errorSchema).optional(),
|
|
244
|
+
});
|
|
245
|
+
const createShippingQuoteResponseSchema = z.object({
|
|
246
|
+
shippingQuote: shippingQuoteSchema.optional(),
|
|
247
|
+
});
|
|
248
|
+
const purchaseLabelRequestSchema = z.object({
|
|
249
|
+
labelFormat: z.string().optional(),
|
|
250
|
+
rateId: z.string(),
|
|
251
|
+
shipFromAddress: contactSchema.optional(),
|
|
252
|
+
});
|
|
253
|
+
const labelSchema = z.object({
|
|
254
|
+
labelData: z.string().optional(),
|
|
255
|
+
labelFormat: z.string().optional(),
|
|
256
|
+
labelId: z.string().optional(),
|
|
257
|
+
});
|
|
258
|
+
const purchasedRateSchema = z.object({
|
|
259
|
+
baseShippingCost: amountSchema.optional(),
|
|
260
|
+
destinationTimeZone: z.string().optional(),
|
|
261
|
+
maxEstimatedDeliveryDate: z.string().optional(),
|
|
262
|
+
minEstimatedDeliveryDate: z.string().optional(),
|
|
263
|
+
rateId: z.string().optional(),
|
|
264
|
+
shippingCost: amountSchema.optional(),
|
|
265
|
+
shippingServiceCode: z.string().optional(),
|
|
266
|
+
shippingServiceName: z.string().optional(),
|
|
267
|
+
});
|
|
268
|
+
const shipmentSchema = z.object({
|
|
269
|
+
creationDate: z.string().optional(),
|
|
270
|
+
labels: z.array(labelSchema).optional(),
|
|
271
|
+
packages: z.array(z.object({
|
|
272
|
+
packageId: z.string().optional(),
|
|
273
|
+
trackingNumber: z.string().optional(),
|
|
274
|
+
})).optional(),
|
|
275
|
+
rate: purchasedRateSchema.optional(),
|
|
276
|
+
shipFromAddress: contactSchema.optional(),
|
|
277
|
+
shipmentId: z.string().optional(),
|
|
278
|
+
shipmentTrackingNumber: z.string().optional(),
|
|
279
|
+
shippingDestination: contactSchema.optional(),
|
|
280
|
+
});
|
|
281
|
+
const purchaseLabelResponseSchema = z.object({
|
|
282
|
+
shipment: shipmentSchema.optional(),
|
|
283
|
+
warnings: z.array(errorSchema).optional(),
|
|
284
|
+
});
|
|
285
|
+
const getShipmentResponseSchema = z.object({
|
|
286
|
+
shipment: shipmentSchema.optional(),
|
|
287
|
+
});
|
|
288
|
+
const cancelShipmentResponseSchema = z.object({
|
|
289
|
+
shipment: shipmentSchema.optional(),
|
|
290
|
+
warnings: z.array(errorSchema).optional(),
|
|
291
|
+
});
|
|
292
|
+
const downloadLabelResponseSchema = z.object({
|
|
293
|
+
labelData: z.string().optional(),
|
|
294
|
+
labelFormat: z.string().optional(),
|
|
295
|
+
warnings: z.array(errorSchema).optional(),
|
|
296
|
+
});
|
|
297
|
+
// ============================================================================
|
|
298
|
+
// Input Schemas for Operations
|
|
299
|
+
// ============================================================================
|
|
300
|
+
const getListingViolationsInputSchema = z.object({
|
|
301
|
+
compliance_type: z.string().optional(),
|
|
302
|
+
offset: z.number().int().optional(),
|
|
303
|
+
listing_id: z.string().optional(),
|
|
304
|
+
limit: z.number().int().optional(),
|
|
305
|
+
filter: z.string().optional(),
|
|
306
|
+
});
|
|
307
|
+
const getVeroReportedListingsInputSchema = z.object({
|
|
308
|
+
limit: z.number().int().optional(),
|
|
309
|
+
offset: z.number().int().optional(),
|
|
310
|
+
});
|
|
311
|
+
// ============================================================================
|
|
312
|
+
// JSON Schema Conversion Functions
|
|
313
|
+
// ============================================================================
|
|
314
|
+
/**
|
|
315
|
+
* Convert Zod schemas to JSON Schema format for MCP tools
|
|
316
|
+
*/
|
|
317
|
+
export function getOtherApisJsonSchemas() {
|
|
318
|
+
return {
|
|
319
|
+
// Commerce Identity API
|
|
320
|
+
getUserConsentOutput: zodToJsonSchema(getUserConsentResponseSchema, 'getUserConsentOutput'),
|
|
321
|
+
// Sell Compliance API
|
|
322
|
+
getComplianceSummaryOutput: zodToJsonSchema(complianceSummaryInfoSchema, 'getComplianceSummaryOutput'),
|
|
323
|
+
getListingViolationsInput: zodToJsonSchema(getListingViolationsInputSchema, 'getListingViolationsInput'),
|
|
324
|
+
getListingViolationsOutput: zodToJsonSchema(listingViolationSummaryResponseSchema, 'getListingViolationsOutput'),
|
|
325
|
+
suppressViolationInput: zodToJsonSchema(suppressViolationRequestSchema, 'suppressViolationInput'),
|
|
326
|
+
// Commerce Translation API
|
|
327
|
+
translateInput: zodToJsonSchema(translateRequestSchema, 'translateInput'),
|
|
328
|
+
translateOutput: zodToJsonSchema(translateResponseSchema, 'translateOutput'),
|
|
329
|
+
// Commerce VERO API
|
|
330
|
+
reportItemsInput: zodToJsonSchema(veroReportItemsRequestSchema, 'reportItemsInput'),
|
|
331
|
+
reportItemsOutput: zodToJsonSchema(veroReportItemsResponseSchema, 'reportItemsOutput'),
|
|
332
|
+
getVeroReportedListingsInput: zodToJsonSchema(getVeroReportedListingsInputSchema, 'getVeroReportedListingsInput'),
|
|
333
|
+
getVeroReportedListingsOutput: zodToJsonSchema(veroReportedListingsResponseSchema, 'getVeroReportedListingsOutput'),
|
|
334
|
+
// Sell eDelivery International Shipping API
|
|
335
|
+
createShippingQuoteInput: zodToJsonSchema(createShippingQuoteRequestSchema, 'createShippingQuoteInput'),
|
|
336
|
+
createShippingQuoteOutput: zodToJsonSchema(createShippingQuoteResponseSchema, 'createShippingQuoteOutput'),
|
|
337
|
+
purchaseLabelInput: zodToJsonSchema(purchaseLabelRequestSchema, 'purchaseLabelInput'),
|
|
338
|
+
purchaseLabelOutput: zodToJsonSchema(purchaseLabelResponseSchema, 'purchaseLabelOutput'),
|
|
339
|
+
getShipmentOutput: zodToJsonSchema(getShipmentResponseSchema, 'getShipmentOutput'),
|
|
340
|
+
cancelShipmentOutput: zodToJsonSchema(cancelShipmentResponseSchema, 'cancelShipmentOutput'),
|
|
341
|
+
downloadLabelOutput: zodToJsonSchema(downloadLabelResponseSchema, 'downloadLabelOutput'),
|
|
342
|
+
// Common Types
|
|
343
|
+
error: zodToJsonSchema(errorSchema, 'error'),
|
|
344
|
+
errorParameter: zodToJsonSchema(errorParameterSchema, 'errorParameter'),
|
|
345
|
+
amount: zodToJsonSchema(amountSchema, 'amount'),
|
|
346
|
+
address: zodToJsonSchema(addressSchema, 'address'),
|
|
347
|
+
contact: zodToJsonSchema(contactSchema, 'contact'),
|
|
348
|
+
dimensions: zodToJsonSchema(dimensionsSchema, 'dimensions'),
|
|
349
|
+
weight: zodToJsonSchema(weightSchema, 'weight'),
|
|
350
|
+
pageMetadata: zodToJsonSchema(pageMetadataSchema, 'pageMetadata'),
|
|
351
|
+
// Compliance Types
|
|
352
|
+
complianceViolation: zodToJsonSchema(complianceViolationSchema, 'complianceViolation'),
|
|
353
|
+
complianceDetail: zodToJsonSchema(complianceDetailSchema, 'complianceDetail'),
|
|
354
|
+
correctiveRecommendations: zodToJsonSchema(correctiveRecommendationsSchema, 'correctiveRecommendations'),
|
|
355
|
+
variationDetails: zodToJsonSchema(variationDetailsSchema, 'variationDetails'),
|
|
356
|
+
nameValueList: zodToJsonSchema(nameValueListSchema, 'nameValueList'),
|
|
357
|
+
// Translation Types
|
|
358
|
+
translation: zodToJsonSchema(translationSchema, 'translation'),
|
|
359
|
+
// VERO Types
|
|
360
|
+
veroReportedListing: zodToJsonSchema(veroReportedListingSchema, 'veroReportedListing'),
|
|
361
|
+
reportedListingDetails: zodToJsonSchema(reportedListingDetailsSchema, 'reportedListingDetails'),
|
|
362
|
+
itemLocation: zodToJsonSchema(itemLocationSchema, 'itemLocation'),
|
|
363
|
+
// eDelivery International Shipping Types
|
|
364
|
+
shippingQuote: zodToJsonSchema(shippingQuoteSchema, 'shippingQuote'),
|
|
365
|
+
shipment: zodToJsonSchema(shipmentSchema, 'shipment'),
|
|
366
|
+
package: zodToJsonSchema(packageSchema, 'package'),
|
|
367
|
+
rate: zodToJsonSchema(rateSchema, 'rate'),
|
|
368
|
+
label: zodToJsonSchema(labelSchema, 'label'),
|
|
369
|
+
packageDetails: zodToJsonSchema(packageDetailsSchema, 'packageDetails'),
|
|
370
|
+
userConsent: zodToJsonSchema(userConsentSchema, 'userConsent'),
|
|
371
|
+
};
|
|
372
|
+
}
|