@nuanu-ai/agentify-contracts 0.6.0 → 0.8.0
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/dist/api.d.ts +259 -327
- package/dist/api.js +108 -68
- package/dist/card.d.ts +127 -81
- package/dist/card.js +271 -66
- package/dist/envelope.d.ts +46 -0
- package/dist/index.d.ts +231 -203
- package/dist/index.js +21 -12
- package/dist/merchant.d.ts +21 -120
- package/dist/merchant.js +60 -185
- package/dist/order-status.d.ts +2 -1
- package/dist/order-status.js +13 -1
- package/dist/order.d.ts +17 -0
- package/dist/order.js +13 -0
- package/dist/primitives.d.ts +13 -0
- package/dist/primitives.js +14 -0
- package/dist/quote.d.ts +6 -0
- package/dist/quote.js +10 -0
- package/dist/receipt.d.ts +8 -5
- package/dist/receipt.js +13 -6
- package/dist/results.d.ts +19 -10
- package/dist/results.js +21 -11
- package/dist/seller-site.d.ts +30 -0
- package/dist/seller-site.js +43 -0
- package/dist/ship-to.d.ts +50 -0
- package/dist/ship-to.js +76 -0
- package/dist/shipment.d.ts +42 -0
- package/dist/shipment.js +112 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
*/
|
|
23
23
|
import { z } from "zod";
|
|
24
24
|
export type { AgentOrderStatus, AuthMode, CatalogPage, ErrorCode, ErrorEnvelope, HttpMethod, MerchantCardList, OrderAcceptResponse, OrderCallResponse, OrderList, OrderListQuery, OrderWithStatus, PurchaseRequest, QuoteAnswerAck, ReceiptList, RouteDefinition, RouteName, RouteResponse, WorkerPollRequest, WorkerPollResponse, } from "./api.js";
|
|
25
|
-
export { AgentOrderStatusSchema, API_ROUTES, AUTH_MODES, CatalogPageSchema, ERROR_CODES, ErrorEnvelopeSchema, expandPath, HTTP_METHODS, MERCHANT_KEY_HEADER, MerchantCardListSchema, merchantKeyFrom, merchantKeyHeaderValue, mountableRoutes, OrderAcceptResponseSchema, OrderCallResponseSchema, OrderListQuerySchema, OrderListSchema, OrderWithStatusSchema, PurchaseRequestSchema, pathParamsOf, QuoteAnswerAckSchema, ReceiptListSchema, WorkerPollRequestSchema, WorkerPollResponseSchema, } from "./api.js";
|
|
26
|
-
export type { BazaarDeclaration, Card, CardInput, Fulfillment, MerchantCard, PriceCheck, PublicCard, } from "./card.js";
|
|
27
|
-
export { bazaarDeclarationOf, CardSchema, deliveryCheckFor, FulfillmentSchema, MerchantCardSchema, PriceCheckSchema, PublicCardSchema, publicCardOf, purchaseCheckFor, ServiceNameSchema, TagsSchema, } from "./card.js";
|
|
25
|
+
export { AgentOrderStatusSchema, API_ROUTES, AUTH_MODES, CatalogPageSchema, cardsOf, ERROR_CODES, ErrorEnvelopeSchema, expandPath, HTTP_METHODS, MERCHANT_KEY_HEADER, MerchantCardListSchema, merchantKeyFrom, merchantKeyHeaderValue, mountableRoutes, OrderAcceptResponseSchema, OrderCallResponseSchema, OrderListQuerySchema, OrderListSchema, OrderWithStatusSchema, PurchaseRequestSchema, pathParamsOf, QuoteAnswerAckSchema, ReceiptListSchema, WorkerPollRequestSchema, WorkerPollResponseSchema, } from "./api.js";
|
|
26
|
+
export type { BazaarDeclaration, Card, CardInput, Fulfillment, MerchantCard, PriceCheck, ProjectedCard, PublicCard, Seller, } from "./card.js";
|
|
27
|
+
export { bazaarDeclarationOf, CardSchema, deliveryCheckFor, FulfillmentSchema, MerchantCardSchema, PriceCheckSchema, PublicCardSchema, publicCardOf, purchaseCheckFor, SellerSchema, ServiceNameSchema, TagsSchema, } from "./card.js";
|
|
28
28
|
export type { WorkerEnvelope, WorkerEnvelopeKind } from "./envelope.js";
|
|
29
29
|
export { WORKER_ENVELOPE_KINDS, WORKER_ENVELOPE_PAYLOADS, WorkerEnvelopeSchema, } from "./envelope.js";
|
|
30
30
|
export type { OrderEvent, RefundDueReason } from "./events.js";
|
|
@@ -33,8 +33,8 @@ export type { EvmAddress } from "./evm-address.js";
|
|
|
33
33
|
export { checksummedAddressOf, EvmAddressSchema } from "./evm-address.js";
|
|
34
34
|
export type { Acceptance, Delivery, HandlerAnswer, Refusal, RefusalCode } from "./handler.js";
|
|
35
35
|
export { AcceptanceSchema, DeliverySchema, HandlerAnswerSchema, RECOMMENDED_REFUSAL_CODES, RefusalCodeSchema, RefusalSchema, } from "./handler.js";
|
|
36
|
-
export type {
|
|
37
|
-
export {
|
|
36
|
+
export type { DisabledKey, IssuedKey, IssueKeyRequest, MerchantKey, MerchantKeyList, PayoutWallet, PendingPayoutWallet, SellerName, SellerNameRequest, } from "./merchant.js";
|
|
37
|
+
export { DisabledKeySchema, IssuedKeySchema, IssueKeyRequestSchema, MerchantKeyListSchema, MerchantKeySchema, PayoutWalletSchema, PendingPayoutWalletSchema, SellerNameRequestSchema, SellerNameSchema, } from "./merchant.js";
|
|
38
38
|
export type { Order } from "./order.js";
|
|
39
39
|
export { OrderSchema } from "./order.js";
|
|
40
40
|
export type { OrderStatus } from "./order-status.js";
|
|
@@ -44,16 +44,21 @@ export { FieldSpecSchema, ParamNameSchema, ParamSpecSchema, ParamTypeSchema, PRO
|
|
|
44
44
|
export type { TextLines } from "./plain-text.js";
|
|
45
45
|
export { notPlainTextIn } from "./plain-text.js";
|
|
46
46
|
export { PAYABLE_CURRENCIES, PAYABLE_DECIMALS, priceProblemsOf } from "./price-rule.js";
|
|
47
|
-
export type { Amount, CurrencyCode, Identifier, Money, SalePrice, Timestamp, } from "./primitives.js";
|
|
48
|
-
export { AmountSchema, CurrencyCodeSchema, IdentifierSchema, MoneySchema, SalePriceSchema, TimestampSchema, } from "./primitives.js";
|
|
47
|
+
export type { Amount, CurrencyCode, Identifier, Money, OpenWord, SalePrice, Timestamp, } from "./primitives.js";
|
|
48
|
+
export { AmountSchema, CurrencyCodeSchema, IdentifierSchema, MoneySchema, OpenWordSchema, SalePriceSchema, TimestampSchema, } from "./primitives.js";
|
|
49
49
|
export type { QuotePurpose, QuoteRequest, QuoteResponse } from "./quote.js";
|
|
50
50
|
export { QuotePurposeSchema, QuoteRequestSchema, QuoteResponseSchema } from "./quote.js";
|
|
51
51
|
export type { Receipt, ReceiptOutcome } from "./receipt.js";
|
|
52
52
|
export { ReceiptOutcomeSchema, ReceiptSchema } from "./receipt.js";
|
|
53
53
|
export type { CallError, MerchantFinding, OrderCallResult, Problem, PublishResult, } from "./results.js";
|
|
54
54
|
export { CARD_REJECTED, CallErrorSchema, MERCHANT_FINDINGS, ORDER_CALL_ERROR_CODES, ORDER_CALL_RESULTS, OrderCallResultSchema, ProblemSchema, PublishResultSchema, } from "./results.js";
|
|
55
|
+
export { SellerSiteSchema } from "./seller-site.js";
|
|
55
56
|
export type { SellingState } from "./selling.js";
|
|
56
57
|
export { SELLING_STATES, SellingStateSchema } from "./selling.js";
|
|
58
|
+
export type { ErasedShipTo, ShipTo, ShipToLocality } from "./ship-to.js";
|
|
59
|
+
export { ErasedShipToSchema, localityOf, ShipToLocalitySchema, ShipToSchema, } from "./ship-to.js";
|
|
60
|
+
export type { RecordedShipment, Shipment } from "./shipment.js";
|
|
61
|
+
export { RecordedShipmentSchema, ShipmentSchema } from "./shipment.js";
|
|
57
62
|
/**
|
|
58
63
|
* The version of the public contract. It grows when the meaning of the fields
|
|
59
64
|
* changes, not when a schema is added: a consumer uses it to decide whether it
|
|
@@ -80,9 +85,10 @@ export declare const schemas: Readonly<{
|
|
|
80
85
|
agent_order_status: z.ZodObject<{
|
|
81
86
|
order_id: z.ZodString;
|
|
82
87
|
status_url: z.ZodURL;
|
|
83
|
-
status: z.ZodEnum<{
|
|
88
|
+
status: z.ZodUnion<readonly [z.ZodEnum<{
|
|
84
89
|
delivered: "delivered";
|
|
85
90
|
in_progress: "in_progress";
|
|
91
|
+
shipped: "shipped";
|
|
86
92
|
rejected: "rejected";
|
|
87
93
|
payment_unresolved: "payment_unresolved";
|
|
88
94
|
declined: "declined";
|
|
@@ -91,24 +97,36 @@ export declare const schemas: Readonly<{
|
|
|
91
97
|
refund_due: "refund_due";
|
|
92
98
|
refunded: "refunded";
|
|
93
99
|
delivered_unpaid: "delivered_unpaid";
|
|
94
|
-
}>;
|
|
100
|
+
}>, z.ZodString]>;
|
|
95
101
|
price: z.ZodNullable<z.ZodObject<{
|
|
96
102
|
amount: z.ZodString;
|
|
97
103
|
currency: z.ZodString;
|
|
98
104
|
at: z.ZodISODateTime;
|
|
99
105
|
as_of: z.ZodISODateTime;
|
|
100
|
-
}, z.core.$
|
|
106
|
+
}, z.core.$loose>>;
|
|
101
107
|
delivered: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
108
|
+
shipment: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
109
|
+
carrier: z.ZodString;
|
|
110
|
+
tracking_number: z.ZodNullable<z.ZodString>;
|
|
111
|
+
tracking_url: z.ZodOptional<z.ZodString>;
|
|
112
|
+
shipped_at: z.ZodISODateTime;
|
|
113
|
+
estimated_delivery: z.ZodOptional<z.ZodObject<{
|
|
114
|
+
earliest: z.ZodISODateTime;
|
|
115
|
+
latest: z.ZodISODateTime;
|
|
116
|
+
}, z.core.$loose>>;
|
|
117
|
+
}, z.core.$loose>>>;
|
|
118
|
+
ship_by: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
102
119
|
test: z.ZodBoolean;
|
|
103
120
|
refusal: z.ZodOptional<z.ZodObject<{
|
|
104
121
|
code: z.ZodString;
|
|
105
122
|
message: z.ZodString;
|
|
106
|
-
}, z.core.$
|
|
107
|
-
|
|
123
|
+
}, z.core.$loose>>;
|
|
124
|
+
seller: z.ZodObject<{
|
|
125
|
+
name: z.ZodNullable<z.ZodString>;
|
|
126
|
+
site: z.ZodNullable<z.ZodString>;
|
|
127
|
+
}, z.core.$loose>;
|
|
128
|
+
}, z.core.$loose>;
|
|
108
129
|
amount: z.ZodString;
|
|
109
|
-
cabinet_key: z.ZodObject<{
|
|
110
|
-
secret: z.ZodString;
|
|
111
|
-
}, z.core.$strict>;
|
|
112
130
|
call_error: z.ZodObject<{
|
|
113
131
|
code: z.ZodString;
|
|
114
132
|
message: z.ZodString;
|
|
@@ -137,7 +155,7 @@ export declare const schemas: Readonly<{
|
|
|
137
155
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
138
156
|
title: z.ZodOptional<z.ZodString>;
|
|
139
157
|
}, z.core.$strict>>>>;
|
|
140
|
-
result: z.ZodPreprocess<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
158
|
+
result: z.ZodOptional<z.ZodPreprocess<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
141
159
|
type: z.ZodEnum<{
|
|
142
160
|
string: "string";
|
|
143
161
|
number: "number";
|
|
@@ -146,118 +164,24 @@ export declare const schemas: Readonly<{
|
|
|
146
164
|
}>;
|
|
147
165
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
148
166
|
title: z.ZodOptional<z.ZodString>;
|
|
149
|
-
}, z.core.$strict
|
|
167
|
+
}, z.core.$strict>>>>;
|
|
150
168
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
151
169
|
fulfillment: z.ZodDefault<z.ZodEnum<{
|
|
152
170
|
sync: "sync";
|
|
153
171
|
async: "async";
|
|
154
172
|
confirm: "confirm";
|
|
173
|
+
ship: "ship";
|
|
155
174
|
}>>;
|
|
156
175
|
price_check: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"handler">, z.ZodObject<{
|
|
157
176
|
url: z.ZodURL;
|
|
158
177
|
}, z.core.$strict>]>>;
|
|
159
178
|
confirm_deadline_seconds: z.ZodOptional<z.ZodInt>;
|
|
160
179
|
fulfill_deadline_seconds: z.ZodOptional<z.ZodInt>;
|
|
180
|
+
ship_within_seconds: z.ZodOptional<z.ZodInt>;
|
|
161
181
|
}, z.core.$strict>;
|
|
162
182
|
catalog_page: z.ZodObject<{
|
|
163
|
-
items: z.ZodArray<z.
|
|
164
|
-
|
|
165
|
-
title: z.ZodString;
|
|
166
|
-
description: z.ZodString;
|
|
167
|
-
price: z.ZodObject<{
|
|
168
|
-
amount: z.ZodString;
|
|
169
|
-
currency: z.ZodString;
|
|
170
|
-
}, z.core.$strict>;
|
|
171
|
-
as_of: z.ZodISODateTime;
|
|
172
|
-
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
173
|
-
type: z.ZodEnum<{
|
|
174
|
-
string: "string";
|
|
175
|
-
number: "number";
|
|
176
|
-
boolean: "boolean";
|
|
177
|
-
integer: "integer";
|
|
178
|
-
}>;
|
|
179
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
180
|
-
title: z.ZodOptional<z.ZodString>;
|
|
181
|
-
}, z.core.$strict>>>;
|
|
182
|
-
result: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
183
|
-
type: z.ZodEnum<{
|
|
184
|
-
string: "string";
|
|
185
|
-
number: "number";
|
|
186
|
-
boolean: "boolean";
|
|
187
|
-
integer: "integer";
|
|
188
|
-
}>;
|
|
189
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
190
|
-
title: z.ZodOptional<z.ZodString>;
|
|
191
|
-
}, z.core.$strict>>;
|
|
192
|
-
price_checked_at_purchase: z.ZodBoolean;
|
|
193
|
-
fulfillment: z.ZodLiteral<"sync">;
|
|
194
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
195
|
-
id: z.ZodString;
|
|
196
|
-
title: z.ZodString;
|
|
197
|
-
description: z.ZodString;
|
|
198
|
-
price: z.ZodObject<{
|
|
199
|
-
amount: z.ZodString;
|
|
200
|
-
currency: z.ZodString;
|
|
201
|
-
}, z.core.$strict>;
|
|
202
|
-
as_of: z.ZodISODateTime;
|
|
203
|
-
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
204
|
-
type: z.ZodEnum<{
|
|
205
|
-
string: "string";
|
|
206
|
-
number: "number";
|
|
207
|
-
boolean: "boolean";
|
|
208
|
-
integer: "integer";
|
|
209
|
-
}>;
|
|
210
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
211
|
-
title: z.ZodOptional<z.ZodString>;
|
|
212
|
-
}, z.core.$strict>>>;
|
|
213
|
-
result: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
214
|
-
type: z.ZodEnum<{
|
|
215
|
-
string: "string";
|
|
216
|
-
number: "number";
|
|
217
|
-
boolean: "boolean";
|
|
218
|
-
integer: "integer";
|
|
219
|
-
}>;
|
|
220
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
221
|
-
title: z.ZodOptional<z.ZodString>;
|
|
222
|
-
}, z.core.$strict>>;
|
|
223
|
-
price_checked_at_purchase: z.ZodBoolean;
|
|
224
|
-
fulfillment: z.ZodLiteral<"async">;
|
|
225
|
-
fulfill_deadline_seconds: z.ZodOptional<z.ZodInt>;
|
|
226
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
227
|
-
id: z.ZodString;
|
|
228
|
-
title: z.ZodString;
|
|
229
|
-
description: z.ZodString;
|
|
230
|
-
price: z.ZodObject<{
|
|
231
|
-
amount: z.ZodString;
|
|
232
|
-
currency: z.ZodString;
|
|
233
|
-
}, z.core.$strict>;
|
|
234
|
-
as_of: z.ZodISODateTime;
|
|
235
|
-
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
236
|
-
type: z.ZodEnum<{
|
|
237
|
-
string: "string";
|
|
238
|
-
number: "number";
|
|
239
|
-
boolean: "boolean";
|
|
240
|
-
integer: "integer";
|
|
241
|
-
}>;
|
|
242
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
243
|
-
title: z.ZodOptional<z.ZodString>;
|
|
244
|
-
}, z.core.$strict>>>;
|
|
245
|
-
result: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
246
|
-
type: z.ZodEnum<{
|
|
247
|
-
string: "string";
|
|
248
|
-
number: "number";
|
|
249
|
-
boolean: "boolean";
|
|
250
|
-
integer: "integer";
|
|
251
|
-
}>;
|
|
252
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
253
|
-
title: z.ZodOptional<z.ZodString>;
|
|
254
|
-
}, z.core.$strict>>;
|
|
255
|
-
price_checked_at_purchase: z.ZodBoolean;
|
|
256
|
-
fulfillment: z.ZodLiteral<"confirm">;
|
|
257
|
-
confirm_deadline_seconds: z.ZodOptional<z.ZodInt>;
|
|
258
|
-
fulfill_deadline_seconds: z.ZodOptional<z.ZodInt>;
|
|
259
|
-
}, z.core.$strict>], "fulfillment">>;
|
|
260
|
-
}, z.core.$strict>;
|
|
183
|
+
items: z.ZodArray<z.ZodUnknown>;
|
|
184
|
+
}, z.core.$loose>;
|
|
261
185
|
currency_code: z.ZodString;
|
|
262
186
|
delivery: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
263
187
|
disabled_key: z.ZodObject<{
|
|
@@ -269,6 +193,9 @@ export declare const schemas: Readonly<{
|
|
|
269
193
|
disabled_at: z.ZodNullable<z.ZodISODateTime>;
|
|
270
194
|
}, z.core.$strict>;
|
|
271
195
|
}, z.core.$strict>;
|
|
196
|
+
erased_ship_to: z.ZodObject<{
|
|
197
|
+
erased_at: z.ZodISODateTime;
|
|
198
|
+
}, z.core.$strict>;
|
|
272
199
|
error_envelope: z.ZodObject<{
|
|
273
200
|
error: z.ZodObject<{
|
|
274
201
|
code: z.ZodString;
|
|
@@ -287,13 +214,11 @@ export declare const schemas: Readonly<{
|
|
|
287
214
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
288
215
|
title: z.ZodOptional<z.ZodString>;
|
|
289
216
|
}, z.core.$strict>;
|
|
290
|
-
forgotten_cabinet_key: z.ZodObject<{
|
|
291
|
-
forgotten: z.ZodLiteral<true>;
|
|
292
|
-
}, z.core.$strict>;
|
|
293
217
|
fulfillment: z.ZodEnum<{
|
|
294
218
|
sync: "sync";
|
|
295
219
|
async: "async";
|
|
296
220
|
confirm: "confirm";
|
|
221
|
+
ship: "ship";
|
|
297
222
|
}>;
|
|
298
223
|
handler_answer: z.ZodUnion<readonly [z.ZodObject<{
|
|
299
224
|
delivered: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -342,7 +267,7 @@ export declare const schemas: Readonly<{
|
|
|
342
267
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
343
268
|
title: z.ZodOptional<z.ZodString>;
|
|
344
269
|
}, z.core.$strict>>>>;
|
|
345
|
-
result: z.ZodPreprocess<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
270
|
+
result: z.ZodOptional<z.ZodPreprocess<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
346
271
|
type: z.ZodEnum<{
|
|
347
272
|
string: "string";
|
|
348
273
|
number: "number";
|
|
@@ -351,18 +276,20 @@ export declare const schemas: Readonly<{
|
|
|
351
276
|
}>;
|
|
352
277
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
353
278
|
title: z.ZodOptional<z.ZodString>;
|
|
354
|
-
}, z.core.$strict
|
|
279
|
+
}, z.core.$strict>>>>;
|
|
355
280
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
356
281
|
fulfillment: z.ZodDefault<z.ZodEnum<{
|
|
357
282
|
sync: "sync";
|
|
358
283
|
async: "async";
|
|
359
284
|
confirm: "confirm";
|
|
285
|
+
ship: "ship";
|
|
360
286
|
}>>;
|
|
361
287
|
price_check: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"handler">, z.ZodObject<{
|
|
362
288
|
url: z.ZodURL;
|
|
363
289
|
}, z.core.$strict>]>>;
|
|
364
290
|
confirm_deadline_seconds: z.ZodOptional<z.ZodInt>;
|
|
365
291
|
fulfill_deadline_seconds: z.ZodOptional<z.ZodInt>;
|
|
292
|
+
ship_within_seconds: z.ZodOptional<z.ZodInt>;
|
|
366
293
|
}, z.core.$strict>;
|
|
367
294
|
selling: z.ZodEnum<{
|
|
368
295
|
open: "open";
|
|
@@ -398,7 +325,7 @@ export declare const schemas: Readonly<{
|
|
|
398
325
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
399
326
|
title: z.ZodOptional<z.ZodString>;
|
|
400
327
|
}, z.core.$strict>>>>;
|
|
401
|
-
result: z.ZodPreprocess<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
328
|
+
result: z.ZodOptional<z.ZodPreprocess<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
402
329
|
type: z.ZodEnum<{
|
|
403
330
|
string: "string";
|
|
404
331
|
number: "number";
|
|
@@ -407,18 +334,20 @@ export declare const schemas: Readonly<{
|
|
|
407
334
|
}>;
|
|
408
335
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
409
336
|
title: z.ZodOptional<z.ZodString>;
|
|
410
|
-
}, z.core.$strict
|
|
337
|
+
}, z.core.$strict>>>>;
|
|
411
338
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
412
339
|
fulfillment: z.ZodDefault<z.ZodEnum<{
|
|
413
340
|
sync: "sync";
|
|
414
341
|
async: "async";
|
|
415
342
|
confirm: "confirm";
|
|
343
|
+
ship: "ship";
|
|
416
344
|
}>>;
|
|
417
345
|
price_check: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"handler">, z.ZodObject<{
|
|
418
346
|
url: z.ZodURL;
|
|
419
347
|
}, z.core.$strict>]>>;
|
|
420
348
|
confirm_deadline_seconds: z.ZodOptional<z.ZodInt>;
|
|
421
349
|
fulfill_deadline_seconds: z.ZodOptional<z.ZodInt>;
|
|
350
|
+
ship_within_seconds: z.ZodOptional<z.ZodInt>;
|
|
422
351
|
}, z.core.$strict>;
|
|
423
352
|
selling: z.ZodEnum<{
|
|
424
353
|
open: "open";
|
|
@@ -449,6 +378,7 @@ export declare const schemas: Readonly<{
|
|
|
449
378
|
amount: z.ZodString;
|
|
450
379
|
currency: z.ZodString;
|
|
451
380
|
}, z.core.$strict>;
|
|
381
|
+
open_word: z.ZodString;
|
|
452
382
|
order: z.ZodObject<{
|
|
453
383
|
id: z.ZodString;
|
|
454
384
|
merchant_item_id: z.ZodString;
|
|
@@ -460,6 +390,23 @@ export declare const schemas: Readonly<{
|
|
|
460
390
|
as_of: z.ZodISODateTime;
|
|
461
391
|
}, z.core.$strict>;
|
|
462
392
|
price_id: z.ZodOptional<z.ZodString>;
|
|
393
|
+
ship_to: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
394
|
+
name: z.ZodString;
|
|
395
|
+
line_one: z.ZodString;
|
|
396
|
+
line_two: z.ZodOptional<z.ZodString>;
|
|
397
|
+
city: z.ZodString;
|
|
398
|
+
state: z.ZodOptional<z.ZodString>;
|
|
399
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
400
|
+
country: z.ZodString;
|
|
401
|
+
phone_number: z.ZodString;
|
|
402
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
403
|
+
country: z.ZodString;
|
|
404
|
+
state: z.ZodOptional<z.ZodString>;
|
|
405
|
+
city: z.ZodString;
|
|
406
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
407
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
408
|
+
erased_at: z.ZodISODateTime;
|
|
409
|
+
}, z.core.$strict>]>>;
|
|
463
410
|
test: z.ZodBoolean;
|
|
464
411
|
}, z.core.$strict>;
|
|
465
412
|
order_accept_response: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -542,10 +489,28 @@ export declare const schemas: Readonly<{
|
|
|
542
489
|
as_of: z.ZodISODateTime;
|
|
543
490
|
}, z.core.$strict>;
|
|
544
491
|
price_id: z.ZodOptional<z.ZodString>;
|
|
492
|
+
ship_to: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
493
|
+
name: z.ZodString;
|
|
494
|
+
line_one: z.ZodString;
|
|
495
|
+
line_two: z.ZodOptional<z.ZodString>;
|
|
496
|
+
city: z.ZodString;
|
|
497
|
+
state: z.ZodOptional<z.ZodString>;
|
|
498
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
499
|
+
country: z.ZodString;
|
|
500
|
+
phone_number: z.ZodString;
|
|
501
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
502
|
+
country: z.ZodString;
|
|
503
|
+
state: z.ZodOptional<z.ZodString>;
|
|
504
|
+
city: z.ZodString;
|
|
505
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
506
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
507
|
+
erased_at: z.ZodISODateTime;
|
|
508
|
+
}, z.core.$strict>]>>;
|
|
545
509
|
test: z.ZodBoolean;
|
|
546
510
|
status: z.ZodEnum<{
|
|
547
511
|
delivered: "delivered";
|
|
548
512
|
in_progress: "in_progress";
|
|
513
|
+
shipped: "shipped";
|
|
549
514
|
rejected: "rejected";
|
|
550
515
|
payment_unresolved: "payment_unresolved";
|
|
551
516
|
declined: "declined";
|
|
@@ -566,6 +531,7 @@ export declare const schemas: Readonly<{
|
|
|
566
531
|
order_status: z.ZodEnum<{
|
|
567
532
|
delivered: "delivered";
|
|
568
533
|
in_progress: "in_progress";
|
|
534
|
+
shipped: "shipped";
|
|
569
535
|
rejected: "rejected";
|
|
570
536
|
payment_unresolved: "payment_unresolved";
|
|
571
537
|
declined: "declined";
|
|
@@ -586,10 +552,28 @@ export declare const schemas: Readonly<{
|
|
|
586
552
|
as_of: z.ZodISODateTime;
|
|
587
553
|
}, z.core.$strict>;
|
|
588
554
|
price_id: z.ZodOptional<z.ZodString>;
|
|
555
|
+
ship_to: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
556
|
+
name: z.ZodString;
|
|
557
|
+
line_one: z.ZodString;
|
|
558
|
+
line_two: z.ZodOptional<z.ZodString>;
|
|
559
|
+
city: z.ZodString;
|
|
560
|
+
state: z.ZodOptional<z.ZodString>;
|
|
561
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
562
|
+
country: z.ZodString;
|
|
563
|
+
phone_number: z.ZodString;
|
|
564
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
565
|
+
country: z.ZodString;
|
|
566
|
+
state: z.ZodOptional<z.ZodString>;
|
|
567
|
+
city: z.ZodString;
|
|
568
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
569
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
570
|
+
erased_at: z.ZodISODateTime;
|
|
571
|
+
}, z.core.$strict>]>>;
|
|
589
572
|
test: z.ZodBoolean;
|
|
590
573
|
status: z.ZodEnum<{
|
|
591
574
|
delivered: "delivered";
|
|
592
575
|
in_progress: "in_progress";
|
|
576
|
+
shipped: "shipped";
|
|
593
577
|
rejected: "rejected";
|
|
594
578
|
payment_unresolved: "payment_unresolved";
|
|
595
579
|
declined: "declined";
|
|
@@ -624,9 +608,6 @@ export declare const schemas: Readonly<{
|
|
|
624
608
|
takes_effect_at: z.ZodISODateTime;
|
|
625
609
|
}, z.core.$strict>>;
|
|
626
610
|
}, z.core.$strict>;
|
|
627
|
-
payout_wallet_request: z.ZodObject<{
|
|
628
|
-
payout_wallet: z.ZodPipe<z.ZodString, z.ZodString>;
|
|
629
|
-
}, z.core.$strict>;
|
|
630
611
|
pending_payout_wallet: z.ZodObject<{
|
|
631
612
|
payout_wallet: z.ZodString;
|
|
632
613
|
takes_effect_at: z.ZodISODateTime;
|
|
@@ -639,45 +620,14 @@ export declare const schemas: Readonly<{
|
|
|
639
620
|
code: z.ZodString;
|
|
640
621
|
message: z.ZodString;
|
|
641
622
|
}, z.core.$strict>;
|
|
642
|
-
public_card: z.
|
|
623
|
+
public_card: z.ZodObject<{
|
|
643
624
|
id: z.ZodString;
|
|
644
625
|
title: z.ZodString;
|
|
645
626
|
description: z.ZodString;
|
|
646
627
|
price: z.ZodObject<{
|
|
647
628
|
amount: z.ZodString;
|
|
648
629
|
currency: z.ZodString;
|
|
649
|
-
}, z.core.$
|
|
650
|
-
as_of: z.ZodISODateTime;
|
|
651
|
-
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
652
|
-
type: z.ZodEnum<{
|
|
653
|
-
string: "string";
|
|
654
|
-
number: "number";
|
|
655
|
-
boolean: "boolean";
|
|
656
|
-
integer: "integer";
|
|
657
|
-
}>;
|
|
658
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
659
|
-
title: z.ZodOptional<z.ZodString>;
|
|
660
|
-
}, z.core.$strict>>>;
|
|
661
|
-
result: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
662
|
-
type: z.ZodEnum<{
|
|
663
|
-
string: "string";
|
|
664
|
-
number: "number";
|
|
665
|
-
boolean: "boolean";
|
|
666
|
-
integer: "integer";
|
|
667
|
-
}>;
|
|
668
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
669
|
-
title: z.ZodOptional<z.ZodString>;
|
|
670
|
-
}, z.core.$strict>>;
|
|
671
|
-
price_checked_at_purchase: z.ZodBoolean;
|
|
672
|
-
fulfillment: z.ZodLiteral<"sync">;
|
|
673
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
674
|
-
id: z.ZodString;
|
|
675
|
-
title: z.ZodString;
|
|
676
|
-
description: z.ZodString;
|
|
677
|
-
price: z.ZodObject<{
|
|
678
|
-
amount: z.ZodString;
|
|
679
|
-
currency: z.ZodString;
|
|
680
|
-
}, z.core.$strict>;
|
|
630
|
+
}, z.core.$loose>;
|
|
681
631
|
as_of: z.ZodISODateTime;
|
|
682
632
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
683
633
|
type: z.ZodEnum<{
|
|
@@ -688,8 +638,8 @@ export declare const schemas: Readonly<{
|
|
|
688
638
|
}>;
|
|
689
639
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
690
640
|
title: z.ZodOptional<z.ZodString>;
|
|
691
|
-
}, z.core.$
|
|
692
|
-
result: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
641
|
+
}, z.core.$loose>>>;
|
|
642
|
+
result: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
693
643
|
type: z.ZodEnum<{
|
|
694
644
|
string: "string";
|
|
695
645
|
number: "number";
|
|
@@ -698,44 +648,22 @@ export declare const schemas: Readonly<{
|
|
|
698
648
|
}>;
|
|
699
649
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
700
650
|
title: z.ZodOptional<z.ZodString>;
|
|
701
|
-
}, z.core.$
|
|
651
|
+
}, z.core.$loose>>>;
|
|
702
652
|
price_checked_at_purchase: z.ZodBoolean;
|
|
703
|
-
|
|
653
|
+
seller: z.ZodObject<{
|
|
654
|
+
name: z.ZodNullable<z.ZodString>;
|
|
655
|
+
site: z.ZodNullable<z.ZodString>;
|
|
656
|
+
}, z.core.$loose>;
|
|
657
|
+
fulfillment: z.ZodUnion<readonly [z.ZodEnum<{
|
|
658
|
+
sync: "sync";
|
|
659
|
+
async: "async";
|
|
660
|
+
confirm: "confirm";
|
|
661
|
+
ship: "ship";
|
|
662
|
+
}>, z.ZodString]>;
|
|
704
663
|
fulfill_deadline_seconds: z.ZodOptional<z.ZodInt>;
|
|
705
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
706
|
-
id: z.ZodString;
|
|
707
|
-
title: z.ZodString;
|
|
708
|
-
description: z.ZodString;
|
|
709
|
-
price: z.ZodObject<{
|
|
710
|
-
amount: z.ZodString;
|
|
711
|
-
currency: z.ZodString;
|
|
712
|
-
}, z.core.$strict>;
|
|
713
|
-
as_of: z.ZodISODateTime;
|
|
714
|
-
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
715
|
-
type: z.ZodEnum<{
|
|
716
|
-
string: "string";
|
|
717
|
-
number: "number";
|
|
718
|
-
boolean: "boolean";
|
|
719
|
-
integer: "integer";
|
|
720
|
-
}>;
|
|
721
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
722
|
-
title: z.ZodOptional<z.ZodString>;
|
|
723
|
-
}, z.core.$strict>>>;
|
|
724
|
-
result: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
725
|
-
type: z.ZodEnum<{
|
|
726
|
-
string: "string";
|
|
727
|
-
number: "number";
|
|
728
|
-
boolean: "boolean";
|
|
729
|
-
integer: "integer";
|
|
730
|
-
}>;
|
|
731
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
732
|
-
title: z.ZodOptional<z.ZodString>;
|
|
733
|
-
}, z.core.$strict>>;
|
|
734
|
-
price_checked_at_purchase: z.ZodBoolean;
|
|
735
|
-
fulfillment: z.ZodLiteral<"confirm">;
|
|
736
664
|
confirm_deadline_seconds: z.ZodOptional<z.ZodInt>;
|
|
737
|
-
|
|
738
|
-
}, z.core.$
|
|
665
|
+
ship_within_seconds: z.ZodOptional<z.ZodInt>;
|
|
666
|
+
}, z.core.$loose>;
|
|
739
667
|
publish_result: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
740
668
|
ok: z.ZodLiteral<true>;
|
|
741
669
|
id: z.ZodString;
|
|
@@ -754,6 +682,16 @@ export declare const schemas: Readonly<{
|
|
|
754
682
|
}, z.core.$strict>], "ok">;
|
|
755
683
|
purchase_request: z.ZodObject<{
|
|
756
684
|
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
685
|
+
ship_to: z.ZodOptional<z.ZodObject<{
|
|
686
|
+
name: z.ZodString;
|
|
687
|
+
line_one: z.ZodString;
|
|
688
|
+
line_two: z.ZodOptional<z.ZodString>;
|
|
689
|
+
city: z.ZodString;
|
|
690
|
+
state: z.ZodOptional<z.ZodString>;
|
|
691
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
692
|
+
country: z.ZodString;
|
|
693
|
+
phone_number: z.ZodString;
|
|
694
|
+
}, z.core.$strict>>;
|
|
757
695
|
}, z.core.$strict>;
|
|
758
696
|
quote_answer_ack: z.ZodObject<{
|
|
759
697
|
used: z.ZodBoolean;
|
|
@@ -765,6 +703,12 @@ export declare const schemas: Readonly<{
|
|
|
765
703
|
quote_request: z.ZodObject<{
|
|
766
704
|
merchant_item_id: z.ZodString;
|
|
767
705
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
706
|
+
ship_to: z.ZodOptional<z.ZodObject<{
|
|
707
|
+
country: z.ZodString;
|
|
708
|
+
state: z.ZodOptional<z.ZodString>;
|
|
709
|
+
city: z.ZodString;
|
|
710
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
711
|
+
}, z.core.$strict>>;
|
|
768
712
|
price_id: z.ZodString;
|
|
769
713
|
purpose: z.ZodEnum<{
|
|
770
714
|
purchase: "purchase";
|
|
@@ -798,6 +742,7 @@ export declare const schemas: Readonly<{
|
|
|
798
742
|
outcome: z.ZodEnum<{
|
|
799
743
|
delivered: "delivered";
|
|
800
744
|
in_progress: "in_progress";
|
|
745
|
+
shipped: "shipped";
|
|
801
746
|
refund_due: "refund_due";
|
|
802
747
|
refunded: "refunded";
|
|
803
748
|
}>;
|
|
@@ -819,6 +764,7 @@ export declare const schemas: Readonly<{
|
|
|
819
764
|
outcome: z.ZodEnum<{
|
|
820
765
|
delivered: "delivered";
|
|
821
766
|
in_progress: "in_progress";
|
|
767
|
+
shipped: "shipped";
|
|
822
768
|
refund_due: "refund_due";
|
|
823
769
|
refunded: "refunded";
|
|
824
770
|
}>;
|
|
@@ -828,16 +774,10 @@ export declare const schemas: Readonly<{
|
|
|
828
774
|
receipt_outcome: z.ZodEnum<{
|
|
829
775
|
delivered: "delivered";
|
|
830
776
|
in_progress: "in_progress";
|
|
777
|
+
shipped: "shipped";
|
|
831
778
|
refund_due: "refund_due";
|
|
832
779
|
refunded: "refunded";
|
|
833
780
|
}>;
|
|
834
|
-
registered_merchant: z.ZodObject<{
|
|
835
|
-
merchant_id: z.ZodString;
|
|
836
|
-
secret: z.ZodString;
|
|
837
|
-
}, z.core.$strict>;
|
|
838
|
-
registration_request: z.ZodObject<{
|
|
839
|
-
invitation: z.ZodString;
|
|
840
|
-
}, z.core.$strict>;
|
|
841
781
|
refund_due_reason: z.ZodEnum<{
|
|
842
782
|
refused: "refused";
|
|
843
783
|
deadline_passed: "deadline_passed";
|
|
@@ -854,18 +794,60 @@ export declare const schemas: Readonly<{
|
|
|
854
794
|
at: z.ZodISODateTime;
|
|
855
795
|
as_of: z.ZodISODateTime;
|
|
856
796
|
}, z.core.$strict>;
|
|
797
|
+
seller: z.ZodObject<{
|
|
798
|
+
name: z.ZodNullable<z.ZodString>;
|
|
799
|
+
site: z.ZodNullable<z.ZodString>;
|
|
800
|
+
}, z.core.$strict>;
|
|
857
801
|
seller_name: z.ZodObject<{
|
|
858
802
|
seller_name: z.ZodNullable<z.ZodString>;
|
|
803
|
+
seller_site: z.ZodNullable<z.ZodString>;
|
|
859
804
|
}, z.core.$strict>;
|
|
860
805
|
seller_name_request: z.ZodObject<{
|
|
861
|
-
seller_name: z.ZodPipe<z.ZodString, z.ZodString
|
|
806
|
+
seller_name: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodString>>;
|
|
807
|
+
seller_site: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodString>>;
|
|
862
808
|
}, z.core.$strict>;
|
|
863
809
|
selling_state: z.ZodEnum<{
|
|
864
810
|
open: "open";
|
|
865
811
|
paused: "paused";
|
|
866
812
|
departed: "departed";
|
|
867
813
|
}>;
|
|
814
|
+
seller_site: z.ZodString;
|
|
868
815
|
service_name: z.ZodString;
|
|
816
|
+
ship_to: z.ZodObject<{
|
|
817
|
+
name: z.ZodString;
|
|
818
|
+
line_one: z.ZodString;
|
|
819
|
+
line_two: z.ZodOptional<z.ZodString>;
|
|
820
|
+
city: z.ZodString;
|
|
821
|
+
state: z.ZodOptional<z.ZodString>;
|
|
822
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
823
|
+
country: z.ZodString;
|
|
824
|
+
phone_number: z.ZodString;
|
|
825
|
+
}, z.core.$strict>;
|
|
826
|
+
ship_to_locality: z.ZodObject<{
|
|
827
|
+
country: z.ZodString;
|
|
828
|
+
state: z.ZodOptional<z.ZodString>;
|
|
829
|
+
city: z.ZodString;
|
|
830
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
831
|
+
}, z.core.$strict>;
|
|
832
|
+
shipment: z.ZodObject<{
|
|
833
|
+
carrier: z.ZodString;
|
|
834
|
+
tracking_number: z.ZodNullable<z.ZodString>;
|
|
835
|
+
tracking_url: z.ZodOptional<z.ZodString>;
|
|
836
|
+
estimated_delivery: z.ZodOptional<z.ZodObject<{
|
|
837
|
+
earliest: z.ZodISODateTime;
|
|
838
|
+
latest: z.ZodISODateTime;
|
|
839
|
+
}, z.core.$strict>>;
|
|
840
|
+
}, z.core.$strict>;
|
|
841
|
+
recorded_shipment: z.ZodObject<{
|
|
842
|
+
carrier: z.ZodString;
|
|
843
|
+
tracking_number: z.ZodNullable<z.ZodString>;
|
|
844
|
+
tracking_url: z.ZodOptional<z.ZodString>;
|
|
845
|
+
estimated_delivery: z.ZodOptional<z.ZodObject<{
|
|
846
|
+
earliest: z.ZodISODateTime;
|
|
847
|
+
latest: z.ZodISODateTime;
|
|
848
|
+
}, z.core.$strict>>;
|
|
849
|
+
shipped_at: z.ZodISODateTime;
|
|
850
|
+
}, z.core.$strict>;
|
|
869
851
|
tags: z.ZodArray<z.ZodString>;
|
|
870
852
|
timestamp: z.ZodISODateTime;
|
|
871
853
|
worker_envelope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -883,6 +865,23 @@ export declare const schemas: Readonly<{
|
|
|
883
865
|
as_of: z.ZodISODateTime;
|
|
884
866
|
}, z.core.$strict>;
|
|
885
867
|
price_id: z.ZodOptional<z.ZodString>;
|
|
868
|
+
ship_to: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
869
|
+
name: z.ZodString;
|
|
870
|
+
line_one: z.ZodString;
|
|
871
|
+
line_two: z.ZodOptional<z.ZodString>;
|
|
872
|
+
city: z.ZodString;
|
|
873
|
+
state: z.ZodOptional<z.ZodString>;
|
|
874
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
875
|
+
country: z.ZodString;
|
|
876
|
+
phone_number: z.ZodString;
|
|
877
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
878
|
+
country: z.ZodString;
|
|
879
|
+
state: z.ZodOptional<z.ZodString>;
|
|
880
|
+
city: z.ZodString;
|
|
881
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
882
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
883
|
+
erased_at: z.ZodISODateTime;
|
|
884
|
+
}, z.core.$strict>]>>;
|
|
886
885
|
test: z.ZodBoolean;
|
|
887
886
|
}, z.core.$strict>;
|
|
888
887
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -892,6 +891,12 @@ export declare const schemas: Readonly<{
|
|
|
892
891
|
payload: z.ZodObject<{
|
|
893
892
|
merchant_item_id: z.ZodString;
|
|
894
893
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
894
|
+
ship_to: z.ZodOptional<z.ZodObject<{
|
|
895
|
+
country: z.ZodString;
|
|
896
|
+
state: z.ZodOptional<z.ZodString>;
|
|
897
|
+
city: z.ZodString;
|
|
898
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
899
|
+
}, z.core.$strict>>;
|
|
895
900
|
price_id: z.ZodString;
|
|
896
901
|
purpose: z.ZodEnum<{
|
|
897
902
|
purchase: "purchase";
|
|
@@ -947,6 +952,23 @@ export declare const schemas: Readonly<{
|
|
|
947
952
|
as_of: z.ZodISODateTime;
|
|
948
953
|
}, z.core.$strict>;
|
|
949
954
|
price_id: z.ZodOptional<z.ZodString>;
|
|
955
|
+
ship_to: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
956
|
+
name: z.ZodString;
|
|
957
|
+
line_one: z.ZodString;
|
|
958
|
+
line_two: z.ZodOptional<z.ZodString>;
|
|
959
|
+
city: z.ZodString;
|
|
960
|
+
state: z.ZodOptional<z.ZodString>;
|
|
961
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
962
|
+
country: z.ZodString;
|
|
963
|
+
phone_number: z.ZodString;
|
|
964
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
965
|
+
country: z.ZodString;
|
|
966
|
+
state: z.ZodOptional<z.ZodString>;
|
|
967
|
+
city: z.ZodString;
|
|
968
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
969
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
970
|
+
erased_at: z.ZodISODateTime;
|
|
971
|
+
}, z.core.$strict>]>>;
|
|
950
972
|
test: z.ZodBoolean;
|
|
951
973
|
}, z.core.$strict>;
|
|
952
974
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -956,6 +978,12 @@ export declare const schemas: Readonly<{
|
|
|
956
978
|
payload: z.ZodObject<{
|
|
957
979
|
merchant_item_id: z.ZodString;
|
|
958
980
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
981
|
+
ship_to: z.ZodOptional<z.ZodObject<{
|
|
982
|
+
country: z.ZodString;
|
|
983
|
+
state: z.ZodOptional<z.ZodString>;
|
|
984
|
+
city: z.ZodString;
|
|
985
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
986
|
+
}, z.core.$strict>>;
|
|
959
987
|
price_id: z.ZodString;
|
|
960
988
|
purpose: z.ZodEnum<{
|
|
961
989
|
purchase: "purchase";
|