@mohasinac/appkit 3.3.1 → 3.3.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/dist/_internal/server/features/checkout/actions.js +11 -15
- package/dist/client/api/surface-error.js +9 -1
- package/dist/client.d.ts +7 -1
- package/dist/client.js +5 -1
- package/dist/errors/error-handler.d.ts +6 -0
- package/dist/errors/error-handler.js +26 -28
- package/dist/features/account/hooks/useProfile.d.ts +8 -0
- package/dist/features/account/schemas/index.d.ts +12 -3
- package/dist/features/account/schemas/index.js +10 -3
- package/dist/features/auth/components/RegisterForm.js +2 -2
- package/dist/features/auth/permissions/constants.d.ts +1 -1
- package/dist/features/auth/schemas/index.d.ts +8 -0
- package/dist/features/auth/schemas/index.js +15 -1
- package/dist/features/faq/actions/faq-actions.d.ts +6 -6
- package/dist/features/faq/schemas/index.d.ts +4 -4
- package/dist/features/seller/actions/seller-actions.js +54 -13
- package/dist/features/seller/components/SellerOrdersView.js +24 -9
- package/dist/features/seller/components/SellerProductShell.js +17 -2
- package/dist/features/support/schemas/index.d.ts +2 -2
- package/dist/http/ApiClient.d.ts +11 -0
- package/dist/http/ApiClient.js +4 -0
- package/dist/schemas/registry.d.ts +52 -52
- package/dist/schemas/webhooks/razorpay.d.ts +50 -50
- package/dist/validation/schemas.d.ts +4 -4
- package/package.json +1 -1
|
@@ -275,20 +275,35 @@ export function SellerOrdersView({ orderDetailApiBase = SELLER_ENDPOINTS.ORDERS,
|
|
|
275
275
|
render: (row) => _jsx(Span, { size: "xs", color: "muted", children: row.updatedAt }),
|
|
276
276
|
},
|
|
277
277
|
];
|
|
278
|
+
const [shippingRowId, setShippingRowId] = useState(null);
|
|
278
279
|
const handleQuickShip = useCallback(async (row, e) => {
|
|
279
280
|
e.stopPropagation();
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
281
|
+
setShippingRowId(row.id);
|
|
282
|
+
try {
|
|
283
|
+
const res = await fetch(`${orderDetailApiBase}/${row.id}`, {
|
|
284
|
+
method: "PATCH",
|
|
285
|
+
headers: { "Content-Type": "application/json" },
|
|
286
|
+
body: JSON.stringify({ status: "shipped" }),
|
|
287
|
+
});
|
|
288
|
+
if (!res.ok) {
|
|
289
|
+
const body = await res.json().catch(() => null);
|
|
290
|
+
throw new Error(body?.error ?? "Failed to mark order shipped");
|
|
291
|
+
}
|
|
292
|
+
showToast("Order marked shipped.", "success");
|
|
286
293
|
setSelectedOrderId(null);
|
|
287
|
-
|
|
294
|
+
}
|
|
295
|
+
catch (err) {
|
|
296
|
+
void normalizeError(err);
|
|
297
|
+
showToast(err instanceof Error ? err.message : "Failed to mark order shipped.", "error");
|
|
298
|
+
}
|
|
299
|
+
finally {
|
|
300
|
+
setShippingRowId(null);
|
|
301
|
+
}
|
|
302
|
+
}, [orderDetailApiBase, showToast]);
|
|
288
303
|
const renderRowActions = useCallback((row) => {
|
|
289
304
|
const isShippable = ["PENDING", "PROCESSING", "CONFIRMED"].includes(row.status?.toUpperCase() ?? "");
|
|
290
|
-
return (_jsxs(Row, { align: "center", gap: "xs", children: [isShippable && (_jsx(Button, { variant: "ghost", size: "sm", onClick: (e) => void handleQuickShip(row, e), "aria-label": "Mark as shipped", title: "Mark shipped", children: _jsx(Truck, { className: "h-4 w-4" }) })), _jsx(Button, { variant: "ghost", size: "sm", onClick: (e) => { e.stopPropagation(); setSelectedOrderId(row.id); }, title: "View order details", "aria-label": "View order details", children: _jsx(Eye, { className: "h-4 w-4" }) })] }));
|
|
291
|
-
}, [handleQuickShip]);
|
|
305
|
+
return (_jsxs(Row, { align: "center", gap: "xs", children: [isShippable && (_jsx(Button, { variant: "ghost", size: "sm", onClick: (e) => void handleQuickShip(row, e), "aria-label": "Mark as shipped", title: "Mark shipped", isLoading: shippingRowId === row.id, disabled: shippingRowId !== null, children: _jsx(Truck, { className: "h-4 w-4" }) })), _jsx(Button, { variant: "ghost", size: "sm", onClick: (e) => { e.stopPropagation(); setSelectedOrderId(row.id); }, title: "View order details", "aria-label": "View order details", children: _jsx(Eye, { className: "h-4 w-4" }) })] }));
|
|
306
|
+
}, [handleQuickShip, shippingRowId]);
|
|
292
307
|
const selection = useBulkSelection({ items: rows, keyExtractor: (r) => r.id });
|
|
293
308
|
const handlePrintPackingSlips = useCallback(() => {
|
|
294
309
|
const ids = selection.selectedIds.join(",");
|
|
@@ -296,17 +296,32 @@ export function SellerProductShell({ mode, listingType = "standard", initialValu
|
|
|
296
296
|
{
|
|
297
297
|
label: "Basic",
|
|
298
298
|
render: ({ values, onChange }) => (_jsx(StepBasic, { values: values, onChange: onChange, renderCategorySelector: renderCategorySelector, renderBrandSelector: renderBrandSelector, renderTemplateSelector: renderTemplateSelector })),
|
|
299
|
-
validate: (v) =>
|
|
299
|
+
validate: (v) => {
|
|
300
|
+
if (!v.title?.trim() || v.title.trim().length < 3)
|
|
301
|
+
return "Title must be at least 3 characters";
|
|
302
|
+
if (!v.description?.trim() || v.description.trim().length < 20)
|
|
303
|
+
return "Description must be at least 20 characters";
|
|
304
|
+
return null;
|
|
305
|
+
},
|
|
300
306
|
},
|
|
301
307
|
{
|
|
302
308
|
label: "Media",
|
|
303
309
|
render: ({ values, onChange }) => (_jsx(StepMedia, { values: values, onChange: onChange, storeSlug: storeSlug })),
|
|
310
|
+
validate: (v) => (!v.mainImage ? "A main image is required" : null),
|
|
304
311
|
},
|
|
305
312
|
...(typeSpecificStep ? [typeSpecificStep] : []),
|
|
306
313
|
{
|
|
307
314
|
label: "Pricing",
|
|
308
315
|
render: ({ values, onChange }) => (_jsx(StepPricing, { values: values, onChange: onChange, listingType: listingType })),
|
|
309
|
-
validate: (v) =>
|
|
316
|
+
validate: (v) => {
|
|
317
|
+
if (!v.price)
|
|
318
|
+
return "Price is required";
|
|
319
|
+
if (pluginForMode(listingType).showsStockQuantity &&
|
|
320
|
+
(v.stockQuantity === undefined || v.stockQuantity === null)) {
|
|
321
|
+
return "Stock quantity is required";
|
|
322
|
+
}
|
|
323
|
+
return null;
|
|
324
|
+
},
|
|
310
325
|
},
|
|
311
326
|
{
|
|
312
327
|
label: "Shipping",
|
|
@@ -159,8 +159,8 @@ export declare const supportTicketFirestoreSchema: z.ZodObject<{
|
|
|
159
159
|
updatedAt: string | Date | z.objectOutputType<{
|
|
160
160
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
161
161
|
}, z.ZodTypeAny, "passthrough">;
|
|
162
|
+
priority: "high" | "low" | "normal" | "urgent";
|
|
162
163
|
userId: string;
|
|
163
|
-
priority: "normal" | "high" | "low" | "urgent";
|
|
164
164
|
messages: {
|
|
165
165
|
createdAt: string | Date | z.objectOutputType<{
|
|
166
166
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
@@ -202,8 +202,8 @@ export declare const supportTicketFirestoreSchema: z.ZodObject<{
|
|
|
202
202
|
updatedAt: string | Date | z.objectInputType<{
|
|
203
203
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
204
204
|
}, z.ZodTypeAny, "passthrough">;
|
|
205
|
+
priority: "high" | "low" | "normal" | "urgent";
|
|
205
206
|
userId: string;
|
|
206
|
-
priority: "normal" | "high" | "low" | "urgent";
|
|
207
207
|
messages: {
|
|
208
208
|
createdAt: string | Date | z.objectInputType<{
|
|
209
209
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
package/dist/http/ApiClient.d.ts
CHANGED
|
@@ -20,6 +20,17 @@ import type { JsonValue } from "../schemas/types";
|
|
|
20
20
|
export declare class ApiClientError extends Error {
|
|
21
21
|
readonly status: number;
|
|
22
22
|
readonly data?: unknown | undefined;
|
|
23
|
+
/** Stable server error code, e.g. HTTP_ERROR_CODES.VALIDATION_FAILED — lets
|
|
24
|
+
* `surfaceError`/`ERROR_DISPLAY_MAP` route this to a toast or an inline
|
|
25
|
+
* field error the same way a `client/api/ApiError` would. */
|
|
26
|
+
readonly code?: string;
|
|
27
|
+
/** Serialised Zod issues, when the failure was a validation error. */
|
|
28
|
+
readonly issues?: {
|
|
29
|
+
message: string;
|
|
30
|
+
path?: (string | number)[];
|
|
31
|
+
code?: string;
|
|
32
|
+
}[];
|
|
33
|
+
readonly requestId?: string;
|
|
23
34
|
constructor(message: string, status: number, data?: unknown | undefined);
|
|
24
35
|
}
|
|
25
36
|
export interface RequestConfig extends RequestInit {
|
package/dist/http/ApiClient.js
CHANGED
|
@@ -22,6 +22,10 @@ export class ApiClientError extends Error {
|
|
|
22
22
|
this.status = status;
|
|
23
23
|
this.data = data;
|
|
24
24
|
this.name = "ApiClientError";
|
|
25
|
+
const body = data;
|
|
26
|
+
this.code = typeof body?.code === "string" ? body.code : undefined;
|
|
27
|
+
this.issues = Array.isArray(body?.issues) ? body.issues : undefined;
|
|
28
|
+
this.requestId = typeof body?.requestId === "string" ? body.requestId : undefined;
|
|
25
29
|
}
|
|
26
30
|
}
|
|
27
31
|
export class ApiClient {
|
|
@@ -2049,8 +2049,8 @@ export declare const SCHEMAS: {
|
|
|
2049
2049
|
updatedAt: string | Date | import("zod").objectOutputType<{
|
|
2050
2050
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
2051
2051
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
2052
|
-
order: number;
|
|
2053
2052
|
priority: number;
|
|
2053
|
+
order: number;
|
|
2054
2054
|
stats: {
|
|
2055
2055
|
views: number;
|
|
2056
2056
|
helpful: number;
|
|
@@ -2088,8 +2088,8 @@ export declare const SCHEMAS: {
|
|
|
2088
2088
|
updatedAt: string | Date | import("zod").objectInputType<{
|
|
2089
2089
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
2090
2090
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
2091
|
-
order: number;
|
|
2092
2091
|
priority: number;
|
|
2092
|
+
order: number;
|
|
2093
2093
|
stats: {
|
|
2094
2094
|
views: number;
|
|
2095
2095
|
helpful: number;
|
|
@@ -4132,8 +4132,8 @@ export declare const SCHEMAS: {
|
|
|
4132
4132
|
updatedAt: string | Date | import("zod").objectOutputType<{
|
|
4133
4133
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
4134
4134
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
4135
|
+
priority: "high" | "low" | "normal" | "urgent";
|
|
4135
4136
|
userId: string;
|
|
4136
|
-
priority: "normal" | "high" | "low" | "urgent";
|
|
4137
4137
|
messages: {
|
|
4138
4138
|
createdAt: string | Date | import("zod").objectOutputType<{
|
|
4139
4139
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
@@ -4175,8 +4175,8 @@ export declare const SCHEMAS: {
|
|
|
4175
4175
|
updatedAt: string | Date | import("zod").objectInputType<{
|
|
4176
4176
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
4177
4177
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
4178
|
+
priority: "high" | "low" | "normal" | "urgent";
|
|
4178
4179
|
userId: string;
|
|
4179
|
-
priority: "normal" | "high" | "low" | "urgent";
|
|
4180
4180
|
messages: {
|
|
4181
4181
|
createdAt: string | Date | import("zod").objectInputType<{
|
|
4182
4182
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
@@ -4264,8 +4264,8 @@ export declare const SCHEMAS: {
|
|
|
4264
4264
|
id: string;
|
|
4265
4265
|
amount: number;
|
|
4266
4266
|
description?: string | null | undefined;
|
|
4267
|
-
email?: string | undefined;
|
|
4268
4267
|
method?: string | undefined;
|
|
4268
|
+
email?: string | undefined;
|
|
4269
4269
|
captured?: boolean | undefined;
|
|
4270
4270
|
notes?: Record<string, string> | undefined;
|
|
4271
4271
|
wallet?: string | null | undefined;
|
|
@@ -4294,8 +4294,8 @@ export declare const SCHEMAS: {
|
|
|
4294
4294
|
id: string;
|
|
4295
4295
|
amount: number;
|
|
4296
4296
|
description?: string | null | undefined;
|
|
4297
|
-
email?: string | undefined;
|
|
4298
4297
|
method?: string | undefined;
|
|
4298
|
+
email?: string | undefined;
|
|
4299
4299
|
captured?: boolean | undefined;
|
|
4300
4300
|
notes?: Record<string, string> | undefined;
|
|
4301
4301
|
wallet?: string | null | undefined;
|
|
@@ -4326,8 +4326,8 @@ export declare const SCHEMAS: {
|
|
|
4326
4326
|
id: string;
|
|
4327
4327
|
amount: number;
|
|
4328
4328
|
description?: string | null | undefined;
|
|
4329
|
-
email?: string | undefined;
|
|
4330
4329
|
method?: string | undefined;
|
|
4330
|
+
email?: string | undefined;
|
|
4331
4331
|
captured?: boolean | undefined;
|
|
4332
4332
|
notes?: Record<string, string> | undefined;
|
|
4333
4333
|
wallet?: string | null | undefined;
|
|
@@ -4358,8 +4358,8 @@ export declare const SCHEMAS: {
|
|
|
4358
4358
|
id: string;
|
|
4359
4359
|
amount: number;
|
|
4360
4360
|
description?: string | null | undefined;
|
|
4361
|
-
email?: string | undefined;
|
|
4362
4361
|
method?: string | undefined;
|
|
4362
|
+
email?: string | undefined;
|
|
4363
4363
|
captured?: boolean | undefined;
|
|
4364
4364
|
notes?: Record<string, string> | undefined;
|
|
4365
4365
|
wallet?: string | null | undefined;
|
|
@@ -4392,8 +4392,8 @@ export declare const SCHEMAS: {
|
|
|
4392
4392
|
id: string;
|
|
4393
4393
|
amount: number;
|
|
4394
4394
|
description?: string | null | undefined;
|
|
4395
|
-
email?: string | undefined;
|
|
4396
4395
|
method?: string | undefined;
|
|
4396
|
+
email?: string | undefined;
|
|
4397
4397
|
captured?: boolean | undefined;
|
|
4398
4398
|
notes?: Record<string, string> | undefined;
|
|
4399
4399
|
wallet?: string | null | undefined;
|
|
@@ -4426,8 +4426,8 @@ export declare const SCHEMAS: {
|
|
|
4426
4426
|
id: string;
|
|
4427
4427
|
amount: number;
|
|
4428
4428
|
description?: string | null | undefined;
|
|
4429
|
-
email?: string | undefined;
|
|
4430
4429
|
method?: string | undefined;
|
|
4430
|
+
email?: string | undefined;
|
|
4431
4431
|
captured?: boolean | undefined;
|
|
4432
4432
|
notes?: Record<string, string> | undefined;
|
|
4433
4433
|
wallet?: string | null | undefined;
|
|
@@ -4463,8 +4463,8 @@ export declare const SCHEMAS: {
|
|
|
4463
4463
|
id: string;
|
|
4464
4464
|
amount: number;
|
|
4465
4465
|
description?: string | null | undefined;
|
|
4466
|
-
email?: string | undefined;
|
|
4467
4466
|
method?: string | undefined;
|
|
4467
|
+
email?: string | undefined;
|
|
4468
4468
|
captured?: boolean | undefined;
|
|
4469
4469
|
notes?: Record<string, string> | undefined;
|
|
4470
4470
|
wallet?: string | null | undefined;
|
|
@@ -4503,8 +4503,8 @@ export declare const SCHEMAS: {
|
|
|
4503
4503
|
id: string;
|
|
4504
4504
|
amount: number;
|
|
4505
4505
|
description?: string | null | undefined;
|
|
4506
|
-
email?: string | undefined;
|
|
4507
4506
|
method?: string | undefined;
|
|
4507
|
+
email?: string | undefined;
|
|
4508
4508
|
captured?: boolean | undefined;
|
|
4509
4509
|
notes?: Record<string, string> | undefined;
|
|
4510
4510
|
wallet?: string | null | undefined;
|
|
@@ -4576,8 +4576,8 @@ export declare const SCHEMAS: {
|
|
|
4576
4576
|
id: string;
|
|
4577
4577
|
amount: number;
|
|
4578
4578
|
description?: string | null | undefined;
|
|
4579
|
-
email?: string | undefined;
|
|
4580
4579
|
method?: string | undefined;
|
|
4580
|
+
email?: string | undefined;
|
|
4581
4581
|
captured?: boolean | undefined;
|
|
4582
4582
|
notes?: Record<string, string> | undefined;
|
|
4583
4583
|
wallet?: string | null | undefined;
|
|
@@ -4606,8 +4606,8 @@ export declare const SCHEMAS: {
|
|
|
4606
4606
|
id: string;
|
|
4607
4607
|
amount: number;
|
|
4608
4608
|
description?: string | null | undefined;
|
|
4609
|
-
email?: string | undefined;
|
|
4610
4609
|
method?: string | undefined;
|
|
4610
|
+
email?: string | undefined;
|
|
4611
4611
|
captured?: boolean | undefined;
|
|
4612
4612
|
notes?: Record<string, string> | undefined;
|
|
4613
4613
|
wallet?: string | null | undefined;
|
|
@@ -4638,8 +4638,8 @@ export declare const SCHEMAS: {
|
|
|
4638
4638
|
id: string;
|
|
4639
4639
|
amount: number;
|
|
4640
4640
|
description?: string | null | undefined;
|
|
4641
|
-
email?: string | undefined;
|
|
4642
4641
|
method?: string | undefined;
|
|
4642
|
+
email?: string | undefined;
|
|
4643
4643
|
captured?: boolean | undefined;
|
|
4644
4644
|
notes?: Record<string, string> | undefined;
|
|
4645
4645
|
wallet?: string | null | undefined;
|
|
@@ -4670,8 +4670,8 @@ export declare const SCHEMAS: {
|
|
|
4670
4670
|
id: string;
|
|
4671
4671
|
amount: number;
|
|
4672
4672
|
description?: string | null | undefined;
|
|
4673
|
-
email?: string | undefined;
|
|
4674
4673
|
method?: string | undefined;
|
|
4674
|
+
email?: string | undefined;
|
|
4675
4675
|
captured?: boolean | undefined;
|
|
4676
4676
|
notes?: Record<string, string> | undefined;
|
|
4677
4677
|
wallet?: string | null | undefined;
|
|
@@ -4704,8 +4704,8 @@ export declare const SCHEMAS: {
|
|
|
4704
4704
|
id: string;
|
|
4705
4705
|
amount: number;
|
|
4706
4706
|
description?: string | null | undefined;
|
|
4707
|
-
email?: string | undefined;
|
|
4708
4707
|
method?: string | undefined;
|
|
4708
|
+
email?: string | undefined;
|
|
4709
4709
|
captured?: boolean | undefined;
|
|
4710
4710
|
notes?: Record<string, string> | undefined;
|
|
4711
4711
|
wallet?: string | null | undefined;
|
|
@@ -4738,8 +4738,8 @@ export declare const SCHEMAS: {
|
|
|
4738
4738
|
id: string;
|
|
4739
4739
|
amount: number;
|
|
4740
4740
|
description?: string | null | undefined;
|
|
4741
|
-
email?: string | undefined;
|
|
4742
4741
|
method?: string | undefined;
|
|
4742
|
+
email?: string | undefined;
|
|
4743
4743
|
captured?: boolean | undefined;
|
|
4744
4744
|
notes?: Record<string, string> | undefined;
|
|
4745
4745
|
wallet?: string | null | undefined;
|
|
@@ -4775,8 +4775,8 @@ export declare const SCHEMAS: {
|
|
|
4775
4775
|
id: string;
|
|
4776
4776
|
amount: number;
|
|
4777
4777
|
description?: string | null | undefined;
|
|
4778
|
-
email?: string | undefined;
|
|
4779
4778
|
method?: string | undefined;
|
|
4779
|
+
email?: string | undefined;
|
|
4780
4780
|
captured?: boolean | undefined;
|
|
4781
4781
|
notes?: Record<string, string> | undefined;
|
|
4782
4782
|
wallet?: string | null | undefined;
|
|
@@ -4815,8 +4815,8 @@ export declare const SCHEMAS: {
|
|
|
4815
4815
|
id: string;
|
|
4816
4816
|
amount: number;
|
|
4817
4817
|
description?: string | null | undefined;
|
|
4818
|
-
email?: string | undefined;
|
|
4819
4818
|
method?: string | undefined;
|
|
4819
|
+
email?: string | undefined;
|
|
4820
4820
|
captured?: boolean | undefined;
|
|
4821
4821
|
notes?: Record<string, string> | undefined;
|
|
4822
4822
|
wallet?: string | null | undefined;
|
|
@@ -4888,8 +4888,8 @@ export declare const SCHEMAS: {
|
|
|
4888
4888
|
id: string;
|
|
4889
4889
|
amount: number;
|
|
4890
4890
|
description?: string | null | undefined;
|
|
4891
|
-
email?: string | undefined;
|
|
4892
4891
|
method?: string | undefined;
|
|
4892
|
+
email?: string | undefined;
|
|
4893
4893
|
captured?: boolean | undefined;
|
|
4894
4894
|
notes?: Record<string, string> | undefined;
|
|
4895
4895
|
wallet?: string | null | undefined;
|
|
@@ -4918,8 +4918,8 @@ export declare const SCHEMAS: {
|
|
|
4918
4918
|
id: string;
|
|
4919
4919
|
amount: number;
|
|
4920
4920
|
description?: string | null | undefined;
|
|
4921
|
-
email?: string | undefined;
|
|
4922
4921
|
method?: string | undefined;
|
|
4922
|
+
email?: string | undefined;
|
|
4923
4923
|
captured?: boolean | undefined;
|
|
4924
4924
|
notes?: Record<string, string> | undefined;
|
|
4925
4925
|
wallet?: string | null | undefined;
|
|
@@ -4950,8 +4950,8 @@ export declare const SCHEMAS: {
|
|
|
4950
4950
|
id: string;
|
|
4951
4951
|
amount: number;
|
|
4952
4952
|
description?: string | null | undefined;
|
|
4953
|
-
email?: string | undefined;
|
|
4954
4953
|
method?: string | undefined;
|
|
4954
|
+
email?: string | undefined;
|
|
4955
4955
|
captured?: boolean | undefined;
|
|
4956
4956
|
notes?: Record<string, string> | undefined;
|
|
4957
4957
|
wallet?: string | null | undefined;
|
|
@@ -4982,8 +4982,8 @@ export declare const SCHEMAS: {
|
|
|
4982
4982
|
id: string;
|
|
4983
4983
|
amount: number;
|
|
4984
4984
|
description?: string | null | undefined;
|
|
4985
|
-
email?: string | undefined;
|
|
4986
4985
|
method?: string | undefined;
|
|
4986
|
+
email?: string | undefined;
|
|
4987
4987
|
captured?: boolean | undefined;
|
|
4988
4988
|
notes?: Record<string, string> | undefined;
|
|
4989
4989
|
wallet?: string | null | undefined;
|
|
@@ -5016,8 +5016,8 @@ export declare const SCHEMAS: {
|
|
|
5016
5016
|
id: string;
|
|
5017
5017
|
amount: number;
|
|
5018
5018
|
description?: string | null | undefined;
|
|
5019
|
-
email?: string | undefined;
|
|
5020
5019
|
method?: string | undefined;
|
|
5020
|
+
email?: string | undefined;
|
|
5021
5021
|
captured?: boolean | undefined;
|
|
5022
5022
|
notes?: Record<string, string> | undefined;
|
|
5023
5023
|
wallet?: string | null | undefined;
|
|
@@ -5050,8 +5050,8 @@ export declare const SCHEMAS: {
|
|
|
5050
5050
|
id: string;
|
|
5051
5051
|
amount: number;
|
|
5052
5052
|
description?: string | null | undefined;
|
|
5053
|
-
email?: string | undefined;
|
|
5054
5053
|
method?: string | undefined;
|
|
5054
|
+
email?: string | undefined;
|
|
5055
5055
|
captured?: boolean | undefined;
|
|
5056
5056
|
notes?: Record<string, string> | undefined;
|
|
5057
5057
|
wallet?: string | null | undefined;
|
|
@@ -5087,8 +5087,8 @@ export declare const SCHEMAS: {
|
|
|
5087
5087
|
id: string;
|
|
5088
5088
|
amount: number;
|
|
5089
5089
|
description?: string | null | undefined;
|
|
5090
|
-
email?: string | undefined;
|
|
5091
5090
|
method?: string | undefined;
|
|
5091
|
+
email?: string | undefined;
|
|
5092
5092
|
captured?: boolean | undefined;
|
|
5093
5093
|
notes?: Record<string, string> | undefined;
|
|
5094
5094
|
wallet?: string | null | undefined;
|
|
@@ -5127,8 +5127,8 @@ export declare const SCHEMAS: {
|
|
|
5127
5127
|
id: string;
|
|
5128
5128
|
amount: number;
|
|
5129
5129
|
description?: string | null | undefined;
|
|
5130
|
-
email?: string | undefined;
|
|
5131
5130
|
method?: string | undefined;
|
|
5131
|
+
email?: string | undefined;
|
|
5132
5132
|
captured?: boolean | undefined;
|
|
5133
5133
|
notes?: Record<string, string> | undefined;
|
|
5134
5134
|
wallet?: string | null | undefined;
|
|
@@ -5277,8 +5277,8 @@ export declare const SCHEMAS: {
|
|
|
5277
5277
|
id: string;
|
|
5278
5278
|
amount: number;
|
|
5279
5279
|
description?: string | null | undefined;
|
|
5280
|
-
email?: string | undefined;
|
|
5281
5280
|
method?: string | undefined;
|
|
5281
|
+
email?: string | undefined;
|
|
5282
5282
|
captured?: boolean | undefined;
|
|
5283
5283
|
notes?: Record<string, string> | undefined;
|
|
5284
5284
|
wallet?: string | null | undefined;
|
|
@@ -5307,8 +5307,8 @@ export declare const SCHEMAS: {
|
|
|
5307
5307
|
id: string;
|
|
5308
5308
|
amount: number;
|
|
5309
5309
|
description?: string | null | undefined;
|
|
5310
|
-
email?: string | undefined;
|
|
5311
5310
|
method?: string | undefined;
|
|
5311
|
+
email?: string | undefined;
|
|
5312
5312
|
captured?: boolean | undefined;
|
|
5313
5313
|
notes?: Record<string, string> | undefined;
|
|
5314
5314
|
wallet?: string | null | undefined;
|
|
@@ -5339,8 +5339,8 @@ export declare const SCHEMAS: {
|
|
|
5339
5339
|
id: string;
|
|
5340
5340
|
amount: number;
|
|
5341
5341
|
description?: string | null | undefined;
|
|
5342
|
-
email?: string | undefined;
|
|
5343
5342
|
method?: string | undefined;
|
|
5343
|
+
email?: string | undefined;
|
|
5344
5344
|
captured?: boolean | undefined;
|
|
5345
5345
|
notes?: Record<string, string> | undefined;
|
|
5346
5346
|
wallet?: string | null | undefined;
|
|
@@ -5371,8 +5371,8 @@ export declare const SCHEMAS: {
|
|
|
5371
5371
|
id: string;
|
|
5372
5372
|
amount: number;
|
|
5373
5373
|
description?: string | null | undefined;
|
|
5374
|
-
email?: string | undefined;
|
|
5375
5374
|
method?: string | undefined;
|
|
5375
|
+
email?: string | undefined;
|
|
5376
5376
|
captured?: boolean | undefined;
|
|
5377
5377
|
notes?: Record<string, string> | undefined;
|
|
5378
5378
|
wallet?: string | null | undefined;
|
|
@@ -5422,8 +5422,8 @@ export declare const SCHEMAS: {
|
|
|
5422
5422
|
id: string;
|
|
5423
5423
|
amount: number;
|
|
5424
5424
|
description?: string | null | undefined;
|
|
5425
|
-
email?: string | undefined;
|
|
5426
5425
|
method?: string | undefined;
|
|
5426
|
+
email?: string | undefined;
|
|
5427
5427
|
captured?: boolean | undefined;
|
|
5428
5428
|
notes?: Record<string, string> | undefined;
|
|
5429
5429
|
wallet?: string | null | undefined;
|
|
@@ -5473,8 +5473,8 @@ export declare const SCHEMAS: {
|
|
|
5473
5473
|
id: string;
|
|
5474
5474
|
amount: number;
|
|
5475
5475
|
description?: string | null | undefined;
|
|
5476
|
-
email?: string | undefined;
|
|
5477
5476
|
method?: string | undefined;
|
|
5477
|
+
email?: string | undefined;
|
|
5478
5478
|
captured?: boolean | undefined;
|
|
5479
5479
|
notes?: Record<string, string> | undefined;
|
|
5480
5480
|
wallet?: string | null | undefined;
|
|
@@ -5527,8 +5527,8 @@ export declare const SCHEMAS: {
|
|
|
5527
5527
|
id: string;
|
|
5528
5528
|
amount: number;
|
|
5529
5529
|
description?: string | null | undefined;
|
|
5530
|
-
email?: string | undefined;
|
|
5531
5530
|
method?: string | undefined;
|
|
5531
|
+
email?: string | undefined;
|
|
5532
5532
|
captured?: boolean | undefined;
|
|
5533
5533
|
notes?: Record<string, string> | undefined;
|
|
5534
5534
|
wallet?: string | null | undefined;
|
|
@@ -5584,8 +5584,8 @@ export declare const SCHEMAS: {
|
|
|
5584
5584
|
id: string;
|
|
5585
5585
|
amount: number;
|
|
5586
5586
|
description?: string | null | undefined;
|
|
5587
|
-
email?: string | undefined;
|
|
5588
5587
|
method?: string | undefined;
|
|
5588
|
+
email?: string | undefined;
|
|
5589
5589
|
captured?: boolean | undefined;
|
|
5590
5590
|
notes?: Record<string, string> | undefined;
|
|
5591
5591
|
wallet?: string | null | undefined;
|
|
@@ -5902,8 +5902,8 @@ export declare const SCHEMAS: {
|
|
|
5902
5902
|
id: string;
|
|
5903
5903
|
amount: number;
|
|
5904
5904
|
description?: string | null | undefined;
|
|
5905
|
-
email?: string | undefined;
|
|
5906
5905
|
method?: string | undefined;
|
|
5906
|
+
email?: string | undefined;
|
|
5907
5907
|
captured?: boolean | undefined;
|
|
5908
5908
|
notes?: Record<string, string> | undefined;
|
|
5909
5909
|
wallet?: string | null | undefined;
|
|
@@ -5932,8 +5932,8 @@ export declare const SCHEMAS: {
|
|
|
5932
5932
|
id: string;
|
|
5933
5933
|
amount: number;
|
|
5934
5934
|
description?: string | null | undefined;
|
|
5935
|
-
email?: string | undefined;
|
|
5936
5935
|
method?: string | undefined;
|
|
5936
|
+
email?: string | undefined;
|
|
5937
5937
|
captured?: boolean | undefined;
|
|
5938
5938
|
notes?: Record<string, string> | undefined;
|
|
5939
5939
|
wallet?: string | null | undefined;
|
|
@@ -5964,8 +5964,8 @@ export declare const SCHEMAS: {
|
|
|
5964
5964
|
id: string;
|
|
5965
5965
|
amount: number;
|
|
5966
5966
|
description?: string | null | undefined;
|
|
5967
|
-
email?: string | undefined;
|
|
5968
5967
|
method?: string | undefined;
|
|
5968
|
+
email?: string | undefined;
|
|
5969
5969
|
captured?: boolean | undefined;
|
|
5970
5970
|
notes?: Record<string, string> | undefined;
|
|
5971
5971
|
wallet?: string | null | undefined;
|
|
@@ -5996,8 +5996,8 @@ export declare const SCHEMAS: {
|
|
|
5996
5996
|
id: string;
|
|
5997
5997
|
amount: number;
|
|
5998
5998
|
description?: string | null | undefined;
|
|
5999
|
-
email?: string | undefined;
|
|
6000
5999
|
method?: string | undefined;
|
|
6000
|
+
email?: string | undefined;
|
|
6001
6001
|
captured?: boolean | undefined;
|
|
6002
6002
|
notes?: Record<string, string> | undefined;
|
|
6003
6003
|
wallet?: string | null | undefined;
|
|
@@ -6047,8 +6047,8 @@ export declare const SCHEMAS: {
|
|
|
6047
6047
|
id: string;
|
|
6048
6048
|
amount: number;
|
|
6049
6049
|
description?: string | null | undefined;
|
|
6050
|
-
email?: string | undefined;
|
|
6051
6050
|
method?: string | undefined;
|
|
6051
|
+
email?: string | undefined;
|
|
6052
6052
|
captured?: boolean | undefined;
|
|
6053
6053
|
notes?: Record<string, string> | undefined;
|
|
6054
6054
|
wallet?: string | null | undefined;
|
|
@@ -6098,8 +6098,8 @@ export declare const SCHEMAS: {
|
|
|
6098
6098
|
id: string;
|
|
6099
6099
|
amount: number;
|
|
6100
6100
|
description?: string | null | undefined;
|
|
6101
|
-
email?: string | undefined;
|
|
6102
6101
|
method?: string | undefined;
|
|
6102
|
+
email?: string | undefined;
|
|
6103
6103
|
captured?: boolean | undefined;
|
|
6104
6104
|
notes?: Record<string, string> | undefined;
|
|
6105
6105
|
wallet?: string | null | undefined;
|
|
@@ -6152,8 +6152,8 @@ export declare const SCHEMAS: {
|
|
|
6152
6152
|
id: string;
|
|
6153
6153
|
amount: number;
|
|
6154
6154
|
description?: string | null | undefined;
|
|
6155
|
-
email?: string | undefined;
|
|
6156
6155
|
method?: string | undefined;
|
|
6156
|
+
email?: string | undefined;
|
|
6157
6157
|
captured?: boolean | undefined;
|
|
6158
6158
|
notes?: Record<string, string> | undefined;
|
|
6159
6159
|
wallet?: string | null | undefined;
|
|
@@ -6209,8 +6209,8 @@ export declare const SCHEMAS: {
|
|
|
6209
6209
|
id: string;
|
|
6210
6210
|
amount: number;
|
|
6211
6211
|
description?: string | null | undefined;
|
|
6212
|
-
email?: string | undefined;
|
|
6213
6212
|
method?: string | undefined;
|
|
6213
|
+
email?: string | undefined;
|
|
6214
6214
|
captured?: boolean | undefined;
|
|
6215
6215
|
notes?: Record<string, string> | undefined;
|
|
6216
6216
|
wallet?: string | null | undefined;
|
|
@@ -6349,8 +6349,8 @@ export declare const SCHEMAS: {
|
|
|
6349
6349
|
id: string;
|
|
6350
6350
|
amount: number;
|
|
6351
6351
|
description?: string | null | undefined;
|
|
6352
|
-
email?: string | undefined;
|
|
6353
6352
|
method?: string | undefined;
|
|
6353
|
+
email?: string | undefined;
|
|
6354
6354
|
captured?: boolean | undefined;
|
|
6355
6355
|
notes?: Record<string, string> | undefined;
|
|
6356
6356
|
wallet?: string | null | undefined;
|
|
@@ -6379,8 +6379,8 @@ export declare const SCHEMAS: {
|
|
|
6379
6379
|
id: string;
|
|
6380
6380
|
amount: number;
|
|
6381
6381
|
description?: string | null | undefined;
|
|
6382
|
-
email?: string | undefined;
|
|
6383
6382
|
method?: string | undefined;
|
|
6383
|
+
email?: string | undefined;
|
|
6384
6384
|
captured?: boolean | undefined;
|
|
6385
6385
|
notes?: Record<string, string> | undefined;
|
|
6386
6386
|
wallet?: string | null | undefined;
|
|
@@ -6411,8 +6411,8 @@ export declare const SCHEMAS: {
|
|
|
6411
6411
|
id: string;
|
|
6412
6412
|
amount: number;
|
|
6413
6413
|
description?: string | null | undefined;
|
|
6414
|
-
email?: string | undefined;
|
|
6415
6414
|
method?: string | undefined;
|
|
6415
|
+
email?: string | undefined;
|
|
6416
6416
|
captured?: boolean | undefined;
|
|
6417
6417
|
notes?: Record<string, string> | undefined;
|
|
6418
6418
|
wallet?: string | null | undefined;
|
|
@@ -6443,8 +6443,8 @@ export declare const SCHEMAS: {
|
|
|
6443
6443
|
id: string;
|
|
6444
6444
|
amount: number;
|
|
6445
6445
|
description?: string | null | undefined;
|
|
6446
|
-
email?: string | undefined;
|
|
6447
6446
|
method?: string | undefined;
|
|
6447
|
+
email?: string | undefined;
|
|
6448
6448
|
captured?: boolean | undefined;
|
|
6449
6449
|
notes?: Record<string, string> | undefined;
|
|
6450
6450
|
wallet?: string | null | undefined;
|
|
@@ -6492,8 +6492,8 @@ export declare const SCHEMAS: {
|
|
|
6492
6492
|
id: string;
|
|
6493
6493
|
amount: number;
|
|
6494
6494
|
description?: string | null | undefined;
|
|
6495
|
-
email?: string | undefined;
|
|
6496
6495
|
method?: string | undefined;
|
|
6496
|
+
email?: string | undefined;
|
|
6497
6497
|
captured?: boolean | undefined;
|
|
6498
6498
|
notes?: Record<string, string> | undefined;
|
|
6499
6499
|
wallet?: string | null | undefined;
|
|
@@ -6541,8 +6541,8 @@ export declare const SCHEMAS: {
|
|
|
6541
6541
|
id: string;
|
|
6542
6542
|
amount: number;
|
|
6543
6543
|
description?: string | null | undefined;
|
|
6544
|
-
email?: string | undefined;
|
|
6545
6544
|
method?: string | undefined;
|
|
6545
|
+
email?: string | undefined;
|
|
6546
6546
|
captured?: boolean | undefined;
|
|
6547
6547
|
notes?: Record<string, string> | undefined;
|
|
6548
6548
|
wallet?: string | null | undefined;
|
|
@@ -6593,8 +6593,8 @@ export declare const SCHEMAS: {
|
|
|
6593
6593
|
id: string;
|
|
6594
6594
|
amount: number;
|
|
6595
6595
|
description?: string | null | undefined;
|
|
6596
|
-
email?: string | undefined;
|
|
6597
6596
|
method?: string | undefined;
|
|
6597
|
+
email?: string | undefined;
|
|
6598
6598
|
captured?: boolean | undefined;
|
|
6599
6599
|
notes?: Record<string, string> | undefined;
|
|
6600
6600
|
wallet?: string | null | undefined;
|
|
@@ -6648,8 +6648,8 @@ export declare const SCHEMAS: {
|
|
|
6648
6648
|
id: string;
|
|
6649
6649
|
amount: number;
|
|
6650
6650
|
description?: string | null | undefined;
|
|
6651
|
-
email?: string | undefined;
|
|
6652
6651
|
method?: string | undefined;
|
|
6652
|
+
email?: string | undefined;
|
|
6653
6653
|
captured?: boolean | undefined;
|
|
6654
6654
|
notes?: Record<string, string> | undefined;
|
|
6655
6655
|
wallet?: string | null | undefined;
|