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,346 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* Schema for getPaymentDispute method
|
|
4
|
+
* Endpoint: GET /payment_dispute/{payment_dispute_id}
|
|
5
|
+
* Path: payment_dispute_id (required)
|
|
6
|
+
*/
|
|
7
|
+
export declare const getPaymentDisputeSchema: z.ZodObject<{
|
|
8
|
+
payment_dispute_id: z.ZodString;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
payment_dispute_id: string;
|
|
11
|
+
}, {
|
|
12
|
+
payment_dispute_id: string;
|
|
13
|
+
}>;
|
|
14
|
+
/**
|
|
15
|
+
* Schema for fetchEvidenceContent method
|
|
16
|
+
* Endpoint: GET /payment_dispute/{payment_dispute_id}/fetch_evidence_content
|
|
17
|
+
* Path: payment_dispute_id (required)
|
|
18
|
+
* Query: evidence_id (required), file_id (required)
|
|
19
|
+
*/
|
|
20
|
+
export declare const fetchEvidenceContentSchema: z.ZodObject<{
|
|
21
|
+
payment_dispute_id: z.ZodString;
|
|
22
|
+
evidence_id: z.ZodString;
|
|
23
|
+
file_id: z.ZodString;
|
|
24
|
+
}, "strip", z.ZodTypeAny, {
|
|
25
|
+
evidence_id: string;
|
|
26
|
+
file_id: string;
|
|
27
|
+
payment_dispute_id: string;
|
|
28
|
+
}, {
|
|
29
|
+
evidence_id: string;
|
|
30
|
+
file_id: string;
|
|
31
|
+
payment_dispute_id: string;
|
|
32
|
+
}>;
|
|
33
|
+
/**
|
|
34
|
+
* Schema for getActivities method
|
|
35
|
+
* Endpoint: GET /payment_dispute/{payment_dispute_id}/activity
|
|
36
|
+
* Path: payment_dispute_id (required)
|
|
37
|
+
*/
|
|
38
|
+
export declare const getActivitiesSchema: z.ZodObject<{
|
|
39
|
+
payment_dispute_id: z.ZodString;
|
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
|
41
|
+
payment_dispute_id: string;
|
|
42
|
+
}, {
|
|
43
|
+
payment_dispute_id: string;
|
|
44
|
+
}>;
|
|
45
|
+
/**
|
|
46
|
+
* Schema for getPaymentDisputeSummaries method
|
|
47
|
+
* Endpoint: GET /payment_dispute_summary
|
|
48
|
+
* Query: order_id, buyer_username, open_date_from, open_date_to, payment_dispute_status, limit, offset
|
|
49
|
+
*/
|
|
50
|
+
export declare const getPaymentDisputeSummariesSchema: z.ZodObject<{
|
|
51
|
+
order_id: z.ZodOptional<z.ZodString>;
|
|
52
|
+
buyer_username: z.ZodOptional<z.ZodString>;
|
|
53
|
+
open_date_from: z.ZodOptional<z.ZodString>;
|
|
54
|
+
open_date_to: z.ZodOptional<z.ZodString>;
|
|
55
|
+
payment_dispute_status: z.ZodOptional<z.ZodString>;
|
|
56
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
57
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
58
|
+
}, "strip", z.ZodTypeAny, {
|
|
59
|
+
limit?: number | undefined;
|
|
60
|
+
offset?: number | undefined;
|
|
61
|
+
order_id?: string | undefined;
|
|
62
|
+
buyer_username?: string | undefined;
|
|
63
|
+
open_date_from?: string | undefined;
|
|
64
|
+
open_date_to?: string | undefined;
|
|
65
|
+
payment_dispute_status?: string | undefined;
|
|
66
|
+
}, {
|
|
67
|
+
limit?: number | undefined;
|
|
68
|
+
offset?: number | undefined;
|
|
69
|
+
order_id?: string | undefined;
|
|
70
|
+
buyer_username?: string | undefined;
|
|
71
|
+
open_date_from?: string | undefined;
|
|
72
|
+
open_date_to?: string | undefined;
|
|
73
|
+
payment_dispute_status?: string | undefined;
|
|
74
|
+
}>;
|
|
75
|
+
/**
|
|
76
|
+
* Schema for contestPaymentDispute method
|
|
77
|
+
* Endpoint: POST /payment_dispute/{payment_dispute_id}/contest
|
|
78
|
+
* Path: payment_dispute_id (required)
|
|
79
|
+
* Body: ContestPaymentDisputeRequest (optional) - note, returnAddress, revision
|
|
80
|
+
*/
|
|
81
|
+
export declare const contestPaymentDisputeSchema: z.ZodObject<{
|
|
82
|
+
payment_dispute_id: z.ZodString;
|
|
83
|
+
note: z.ZodOptional<z.ZodString>;
|
|
84
|
+
return_address: z.ZodOptional<z.ZodObject<{
|
|
85
|
+
full_name: z.ZodOptional<z.ZodString>;
|
|
86
|
+
primary_phone: z.ZodOptional<z.ZodObject<{
|
|
87
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
88
|
+
}, "strip", z.ZodTypeAny, {
|
|
89
|
+
phone_number?: string | undefined;
|
|
90
|
+
}, {
|
|
91
|
+
phone_number?: string | undefined;
|
|
92
|
+
}>>;
|
|
93
|
+
address_line1: z.ZodOptional<z.ZodString>;
|
|
94
|
+
address_line2: z.ZodOptional<z.ZodString>;
|
|
95
|
+
city: z.ZodOptional<z.ZodString>;
|
|
96
|
+
state_or_province: z.ZodOptional<z.ZodString>;
|
|
97
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
98
|
+
country_code: z.ZodOptional<z.ZodString>;
|
|
99
|
+
}, "strip", z.ZodTypeAny, {
|
|
100
|
+
country_code?: string | undefined;
|
|
101
|
+
city?: string | undefined;
|
|
102
|
+
full_name?: string | undefined;
|
|
103
|
+
primary_phone?: {
|
|
104
|
+
phone_number?: string | undefined;
|
|
105
|
+
} | undefined;
|
|
106
|
+
address_line1?: string | undefined;
|
|
107
|
+
address_line2?: string | undefined;
|
|
108
|
+
state_or_province?: string | undefined;
|
|
109
|
+
postal_code?: string | undefined;
|
|
110
|
+
}, {
|
|
111
|
+
country_code?: string | undefined;
|
|
112
|
+
city?: string | undefined;
|
|
113
|
+
full_name?: string | undefined;
|
|
114
|
+
primary_phone?: {
|
|
115
|
+
phone_number?: string | undefined;
|
|
116
|
+
} | undefined;
|
|
117
|
+
address_line1?: string | undefined;
|
|
118
|
+
address_line2?: string | undefined;
|
|
119
|
+
state_or_province?: string | undefined;
|
|
120
|
+
postal_code?: string | undefined;
|
|
121
|
+
}>>;
|
|
122
|
+
revision: z.ZodOptional<z.ZodNumber>;
|
|
123
|
+
}, "strip", z.ZodTypeAny, {
|
|
124
|
+
payment_dispute_id: string;
|
|
125
|
+
note?: string | undefined;
|
|
126
|
+
return_address?: {
|
|
127
|
+
country_code?: string | undefined;
|
|
128
|
+
city?: string | undefined;
|
|
129
|
+
full_name?: string | undefined;
|
|
130
|
+
primary_phone?: {
|
|
131
|
+
phone_number?: string | undefined;
|
|
132
|
+
} | undefined;
|
|
133
|
+
address_line1?: string | undefined;
|
|
134
|
+
address_line2?: string | undefined;
|
|
135
|
+
state_or_province?: string | undefined;
|
|
136
|
+
postal_code?: string | undefined;
|
|
137
|
+
} | undefined;
|
|
138
|
+
revision?: number | undefined;
|
|
139
|
+
}, {
|
|
140
|
+
payment_dispute_id: string;
|
|
141
|
+
note?: string | undefined;
|
|
142
|
+
return_address?: {
|
|
143
|
+
country_code?: string | undefined;
|
|
144
|
+
city?: string | undefined;
|
|
145
|
+
full_name?: string | undefined;
|
|
146
|
+
primary_phone?: {
|
|
147
|
+
phone_number?: string | undefined;
|
|
148
|
+
} | undefined;
|
|
149
|
+
address_line1?: string | undefined;
|
|
150
|
+
address_line2?: string | undefined;
|
|
151
|
+
state_or_province?: string | undefined;
|
|
152
|
+
postal_code?: string | undefined;
|
|
153
|
+
} | undefined;
|
|
154
|
+
revision?: number | undefined;
|
|
155
|
+
}>;
|
|
156
|
+
/**
|
|
157
|
+
* Schema for acceptPaymentDispute method
|
|
158
|
+
* Endpoint: POST /payment_dispute/{payment_dispute_id}/accept
|
|
159
|
+
* Path: payment_dispute_id (required)
|
|
160
|
+
* Body: AcceptPaymentDisputeRequest (optional) - returnAddress, revision
|
|
161
|
+
*/
|
|
162
|
+
export declare const acceptPaymentDisputeSchema: z.ZodObject<{
|
|
163
|
+
payment_dispute_id: z.ZodString;
|
|
164
|
+
return_address: z.ZodOptional<z.ZodObject<{
|
|
165
|
+
full_name: z.ZodOptional<z.ZodString>;
|
|
166
|
+
primary_phone: z.ZodOptional<z.ZodObject<{
|
|
167
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
168
|
+
}, "strip", z.ZodTypeAny, {
|
|
169
|
+
phone_number?: string | undefined;
|
|
170
|
+
}, {
|
|
171
|
+
phone_number?: string | undefined;
|
|
172
|
+
}>>;
|
|
173
|
+
address_line1: z.ZodOptional<z.ZodString>;
|
|
174
|
+
address_line2: z.ZodOptional<z.ZodString>;
|
|
175
|
+
city: z.ZodOptional<z.ZodString>;
|
|
176
|
+
state_or_province: z.ZodOptional<z.ZodString>;
|
|
177
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
178
|
+
country_code: z.ZodOptional<z.ZodString>;
|
|
179
|
+
}, "strip", z.ZodTypeAny, {
|
|
180
|
+
country_code?: string | undefined;
|
|
181
|
+
city?: string | undefined;
|
|
182
|
+
full_name?: string | undefined;
|
|
183
|
+
primary_phone?: {
|
|
184
|
+
phone_number?: string | undefined;
|
|
185
|
+
} | undefined;
|
|
186
|
+
address_line1?: string | undefined;
|
|
187
|
+
address_line2?: string | undefined;
|
|
188
|
+
state_or_province?: string | undefined;
|
|
189
|
+
postal_code?: string | undefined;
|
|
190
|
+
}, {
|
|
191
|
+
country_code?: string | undefined;
|
|
192
|
+
city?: string | undefined;
|
|
193
|
+
full_name?: string | undefined;
|
|
194
|
+
primary_phone?: {
|
|
195
|
+
phone_number?: string | undefined;
|
|
196
|
+
} | undefined;
|
|
197
|
+
address_line1?: string | undefined;
|
|
198
|
+
address_line2?: string | undefined;
|
|
199
|
+
state_or_province?: string | undefined;
|
|
200
|
+
postal_code?: string | undefined;
|
|
201
|
+
}>>;
|
|
202
|
+
revision: z.ZodOptional<z.ZodNumber>;
|
|
203
|
+
}, "strip", z.ZodTypeAny, {
|
|
204
|
+
payment_dispute_id: string;
|
|
205
|
+
return_address?: {
|
|
206
|
+
country_code?: string | undefined;
|
|
207
|
+
city?: string | undefined;
|
|
208
|
+
full_name?: string | undefined;
|
|
209
|
+
primary_phone?: {
|
|
210
|
+
phone_number?: string | undefined;
|
|
211
|
+
} | undefined;
|
|
212
|
+
address_line1?: string | undefined;
|
|
213
|
+
address_line2?: string | undefined;
|
|
214
|
+
state_or_province?: string | undefined;
|
|
215
|
+
postal_code?: string | undefined;
|
|
216
|
+
} | undefined;
|
|
217
|
+
revision?: number | undefined;
|
|
218
|
+
}, {
|
|
219
|
+
payment_dispute_id: string;
|
|
220
|
+
return_address?: {
|
|
221
|
+
country_code?: string | undefined;
|
|
222
|
+
city?: string | undefined;
|
|
223
|
+
full_name?: string | undefined;
|
|
224
|
+
primary_phone?: {
|
|
225
|
+
phone_number?: string | undefined;
|
|
226
|
+
} | undefined;
|
|
227
|
+
address_line1?: string | undefined;
|
|
228
|
+
address_line2?: string | undefined;
|
|
229
|
+
state_or_province?: string | undefined;
|
|
230
|
+
postal_code?: string | undefined;
|
|
231
|
+
} | undefined;
|
|
232
|
+
revision?: number | undefined;
|
|
233
|
+
}>;
|
|
234
|
+
/**
|
|
235
|
+
* Schema for uploadEvidenceFile method
|
|
236
|
+
* Endpoint: POST /payment_dispute/{payment_dispute_id}/upload_evidence_file
|
|
237
|
+
* Path: payment_dispute_id (required)
|
|
238
|
+
* Body: ArrayBuffer (binary file data)
|
|
239
|
+
*/
|
|
240
|
+
export declare const uploadEvidenceFileSchema: z.ZodObject<{
|
|
241
|
+
payment_dispute_id: z.ZodString;
|
|
242
|
+
file_data: z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>;
|
|
243
|
+
}, "strip", z.ZodTypeAny, {
|
|
244
|
+
payment_dispute_id: string;
|
|
245
|
+
file_data: ArrayBuffer;
|
|
246
|
+
}, {
|
|
247
|
+
payment_dispute_id: string;
|
|
248
|
+
file_data: ArrayBuffer;
|
|
249
|
+
}>;
|
|
250
|
+
/**
|
|
251
|
+
* Schema for addEvidence method
|
|
252
|
+
* Endpoint: POST /payment_dispute/{payment_dispute_id}/add_evidence
|
|
253
|
+
* Path: payment_dispute_id (required)
|
|
254
|
+
* Body: AddEvidencePaymentDisputeRequest - evidenceType, files, lineItems
|
|
255
|
+
*/
|
|
256
|
+
export declare const addEvidenceSchema: z.ZodObject<{
|
|
257
|
+
payment_dispute_id: z.ZodString;
|
|
258
|
+
evidence_type: z.ZodOptional<z.ZodString>;
|
|
259
|
+
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
260
|
+
file_id: z.ZodOptional<z.ZodString>;
|
|
261
|
+
}, "strip", z.ZodTypeAny, {
|
|
262
|
+
file_id?: string | undefined;
|
|
263
|
+
}, {
|
|
264
|
+
file_id?: string | undefined;
|
|
265
|
+
}>, "many">>;
|
|
266
|
+
line_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
267
|
+
item_id: z.ZodOptional<z.ZodString>;
|
|
268
|
+
line_item_id: z.ZodOptional<z.ZodString>;
|
|
269
|
+
}, "strip", z.ZodTypeAny, {
|
|
270
|
+
item_id?: string | undefined;
|
|
271
|
+
line_item_id?: string | undefined;
|
|
272
|
+
}, {
|
|
273
|
+
item_id?: string | undefined;
|
|
274
|
+
line_item_id?: string | undefined;
|
|
275
|
+
}>, "many">>;
|
|
276
|
+
}, "strip", z.ZodTypeAny, {
|
|
277
|
+
payment_dispute_id: string;
|
|
278
|
+
files?: {
|
|
279
|
+
file_id?: string | undefined;
|
|
280
|
+
}[] | undefined;
|
|
281
|
+
evidence_type?: string | undefined;
|
|
282
|
+
line_items?: {
|
|
283
|
+
item_id?: string | undefined;
|
|
284
|
+
line_item_id?: string | undefined;
|
|
285
|
+
}[] | undefined;
|
|
286
|
+
}, {
|
|
287
|
+
payment_dispute_id: string;
|
|
288
|
+
files?: {
|
|
289
|
+
file_id?: string | undefined;
|
|
290
|
+
}[] | undefined;
|
|
291
|
+
evidence_type?: string | undefined;
|
|
292
|
+
line_items?: {
|
|
293
|
+
item_id?: string | undefined;
|
|
294
|
+
line_item_id?: string | undefined;
|
|
295
|
+
}[] | undefined;
|
|
296
|
+
}>;
|
|
297
|
+
/**
|
|
298
|
+
* Schema for updateEvidence method
|
|
299
|
+
* Endpoint: POST /payment_dispute/{payment_dispute_id}/update_evidence
|
|
300
|
+
* Path: payment_dispute_id (required)
|
|
301
|
+
* Body: UpdateEvidencePaymentDisputeRequest - evidenceId, evidenceType, files, lineItems
|
|
302
|
+
*/
|
|
303
|
+
export declare const updateEvidenceSchema: z.ZodObject<{
|
|
304
|
+
payment_dispute_id: z.ZodString;
|
|
305
|
+
evidence_id: z.ZodOptional<z.ZodString>;
|
|
306
|
+
evidence_type: z.ZodOptional<z.ZodString>;
|
|
307
|
+
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
308
|
+
file_id: z.ZodOptional<z.ZodString>;
|
|
309
|
+
}, "strip", z.ZodTypeAny, {
|
|
310
|
+
file_id?: string | undefined;
|
|
311
|
+
}, {
|
|
312
|
+
file_id?: string | undefined;
|
|
313
|
+
}>, "many">>;
|
|
314
|
+
line_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
315
|
+
item_id: z.ZodOptional<z.ZodString>;
|
|
316
|
+
line_item_id: z.ZodOptional<z.ZodString>;
|
|
317
|
+
}, "strip", z.ZodTypeAny, {
|
|
318
|
+
item_id?: string | undefined;
|
|
319
|
+
line_item_id?: string | undefined;
|
|
320
|
+
}, {
|
|
321
|
+
item_id?: string | undefined;
|
|
322
|
+
line_item_id?: string | undefined;
|
|
323
|
+
}>, "many">>;
|
|
324
|
+
}, "strip", z.ZodTypeAny, {
|
|
325
|
+
payment_dispute_id: string;
|
|
326
|
+
evidence_id?: string | undefined;
|
|
327
|
+
files?: {
|
|
328
|
+
file_id?: string | undefined;
|
|
329
|
+
}[] | undefined;
|
|
330
|
+
evidence_type?: string | undefined;
|
|
331
|
+
line_items?: {
|
|
332
|
+
item_id?: string | undefined;
|
|
333
|
+
line_item_id?: string | undefined;
|
|
334
|
+
}[] | undefined;
|
|
335
|
+
}, {
|
|
336
|
+
payment_dispute_id: string;
|
|
337
|
+
evidence_id?: string | undefined;
|
|
338
|
+
files?: {
|
|
339
|
+
file_id?: string | undefined;
|
|
340
|
+
}[] | undefined;
|
|
341
|
+
evidence_type?: string | undefined;
|
|
342
|
+
line_items?: {
|
|
343
|
+
item_id?: string | undefined;
|
|
344
|
+
line_item_id?: string | undefined;
|
|
345
|
+
}[] | undefined;
|
|
346
|
+
}>;
|