@mohasinac/appkit 3.3.3 → 3.3.4

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.
Files changed (41) hide show
  1. package/dist/_internal/client/features/lottery/LotteryAdminSlotView.js +1 -1
  2. package/dist/_internal/server/features/cart/actions.js +1 -1
  3. package/dist/_internal/server/features/lottery/data.d.ts +2 -3
  4. package/dist/_internal/server/features/products/actions.js +1 -1
  5. package/dist/features/admin/components/AdminSectionsView.js +7 -4
  6. package/dist/features/admin/constants/filter-tabs.js +11 -0
  7. package/dist/features/auctions/columns/index.js +1 -1
  8. package/dist/features/auctions/schemas/index.d.ts +2 -2
  9. package/dist/features/auth/hooks/useRBAC.js +6 -1
  10. package/dist/features/blog/columns/index.js +1 -1
  11. package/dist/features/categories/schemas/firestore.d.ts +1 -1
  12. package/dist/features/contact/email.js +0 -1
  13. package/dist/features/forms/Slider.js +4 -1
  14. package/dist/features/forms/Toggle.js +4 -1
  15. package/dist/features/homepage/components/NewsletterBanner.js +1 -1
  16. package/dist/features/layout/BottomActions.js +27 -0
  17. package/dist/features/layout/BottomActionsContext.d.ts +36 -0
  18. package/dist/features/layout/BottomActionsContext.js +36 -0
  19. package/dist/features/orders/schemas/index.d.ts +2 -2
  20. package/dist/features/payments/schemas/index.d.ts +4 -4
  21. package/dist/features/products/repository/products.repository.js +1 -1
  22. package/dist/features/products/schemas/product-features.validators.d.ts +6 -6
  23. package/dist/features/promotions/repository/claimed-coupons.repository.js +1 -1
  24. package/dist/features/reviews/columns/index.js +1 -1
  25. package/dist/features/search/schemas/index.d.ts +2 -2
  26. package/dist/features/seller/actions/seller-actions.d.ts +2 -2
  27. package/dist/features/seller/components/SellerOrdersView.js +4 -1
  28. package/dist/features/seller/components/SellerProductsView.js +35 -31
  29. package/dist/features/seller/components/SellerReviewsView.js +1 -1
  30. package/dist/features/seller/schemas/index.d.ts +2 -2
  31. package/dist/features/stores/columns/index.js +1 -1
  32. package/dist/features/stores/components/StoresIndexListing.js +20 -15
  33. package/dist/features/wishlist/actions/wishlist-actions.js +1 -1
  34. package/dist/next/components/NotFoundView.js +17 -0
  35. package/dist/next/components/UnauthorizedView.js +13 -0
  36. package/dist/schemas/registry.d.ts +93 -94
  37. package/dist/schemas/webhooks/razorpay.d.ts +86 -86
  38. package/dist/ui/columns/column-renderers.js +1 -1
  39. package/dist/ui/components/Accordion.js +10 -6
  40. package/dist/ui/components/ListingLayout.js +6 -2
  41. package/package.json +1 -1
@@ -30,8 +30,8 @@ export declare const razorpayPaymentEntitySchema: z.ZodObject<{
30
30
  acquirer_data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>>;
31
31
  created_at: z.ZodOptional<z.ZodNumber>;
32
32
  }, "strip", z.ZodTypeAny, {
33
- status: string;
34
33
  currency: string;
34
+ status: string;
35
35
  id: string;
36
36
  amount: number;
37
37
  description?: string | null | undefined;
@@ -60,8 +60,8 @@ export declare const razorpayPaymentEntitySchema: z.ZodObject<{
60
60
  acquirer_data?: Record<string, string | number | null> | undefined;
61
61
  created_at?: number | undefined;
62
62
  }, {
63
- status: string;
64
63
  currency: string;
64
+ status: string;
65
65
  id: string;
66
66
  amount: number;
67
67
  description?: string | null | undefined;
@@ -105,8 +105,8 @@ export declare const razorpayRefundEntitySchema: z.ZodObject<{
105
105
  speed_processed: z.ZodOptional<z.ZodString>;
106
106
  speed_requested: z.ZodOptional<z.ZodString>;
107
107
  }, "strip", z.ZodTypeAny, {
108
- status: string;
109
108
  currency: string;
109
+ status: string;
110
110
  id: string;
111
111
  amount: number;
112
112
  payment_id: string;
@@ -119,8 +119,8 @@ export declare const razorpayRefundEntitySchema: z.ZodObject<{
119
119
  speed_processed?: string | undefined;
120
120
  speed_requested?: string | undefined;
121
121
  }, {
122
- status: string;
123
122
  currency: string;
123
+ status: string;
124
124
  id: string;
125
125
  amount: number;
126
126
  payment_id: string;
@@ -146,8 +146,8 @@ export declare const razorpayOrderEntitySchema: z.ZodObject<{
146
146
  notes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
147
147
  created_at: z.ZodOptional<z.ZodNumber>;
148
148
  }, "strip", z.ZodTypeAny, {
149
- status: string;
150
149
  currency: string;
150
+ status: string;
151
151
  id: string;
152
152
  amount: number;
153
153
  notes?: Record<string, string> | undefined;
@@ -158,8 +158,8 @@ export declare const razorpayOrderEntitySchema: z.ZodObject<{
158
158
  amount_due?: number | undefined;
159
159
  attempts?: number | undefined;
160
160
  }, {
161
- status: string;
162
161
  currency: string;
162
+ status: string;
163
163
  id: string;
164
164
  amount: number;
165
165
  notes?: Record<string, string> | undefined;
@@ -208,8 +208,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
208
208
  acquirer_data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>>;
209
209
  created_at: z.ZodOptional<z.ZodNumber>;
210
210
  }, "strip", z.ZodTypeAny, {
211
- status: string;
212
211
  currency: string;
212
+ status: string;
213
213
  id: string;
214
214
  amount: number;
215
215
  description?: string | null | undefined;
@@ -238,8 +238,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
238
238
  acquirer_data?: Record<string, string | number | null> | undefined;
239
239
  created_at?: number | undefined;
240
240
  }, {
241
- status: string;
242
241
  currency: string;
242
+ status: string;
243
243
  id: string;
244
244
  amount: number;
245
245
  description?: string | null | undefined;
@@ -270,8 +270,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
270
270
  }>;
271
271
  }, "strip", z.ZodTypeAny, {
272
272
  entity: {
273
- status: string;
274
273
  currency: string;
274
+ status: string;
275
275
  id: string;
276
276
  amount: number;
277
277
  description?: string | null | undefined;
@@ -302,8 +302,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
302
302
  };
303
303
  }, {
304
304
  entity: {
305
- status: string;
306
305
  currency: string;
306
+ status: string;
307
307
  id: string;
308
308
  amount: number;
309
309
  description?: string | null | undefined;
@@ -336,8 +336,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
336
336
  }, "strip", z.ZodTypeAny, {
337
337
  payment: {
338
338
  entity: {
339
- status: string;
340
339
  currency: string;
340
+ status: string;
341
341
  id: string;
342
342
  amount: number;
343
343
  description?: string | null | undefined;
@@ -370,8 +370,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
370
370
  }, {
371
371
  payment: {
372
372
  entity: {
373
- status: string;
374
373
  currency: string;
374
+ status: string;
375
375
  id: string;
376
376
  amount: number;
377
377
  description?: string | null | undefined;
@@ -407,8 +407,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
407
407
  payload: {
408
408
  payment: {
409
409
  entity: {
410
- status: string;
411
410
  currency: string;
411
+ status: string;
412
412
  id: string;
413
413
  amount: number;
414
414
  description?: string | null | undefined;
@@ -447,8 +447,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
447
447
  payload: {
448
448
  payment: {
449
449
  entity: {
450
- status: string;
451
450
  currency: string;
451
+ status: string;
452
452
  id: string;
453
453
  amount: number;
454
454
  description?: string | null | undefined;
@@ -520,8 +520,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
520
520
  acquirer_data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>>;
521
521
  created_at: z.ZodOptional<z.ZodNumber>;
522
522
  }, "strip", z.ZodTypeAny, {
523
- status: string;
524
523
  currency: string;
524
+ status: string;
525
525
  id: string;
526
526
  amount: number;
527
527
  description?: string | null | undefined;
@@ -550,8 +550,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
550
550
  acquirer_data?: Record<string, string | number | null> | undefined;
551
551
  created_at?: number | undefined;
552
552
  }, {
553
- status: string;
554
553
  currency: string;
554
+ status: string;
555
555
  id: string;
556
556
  amount: number;
557
557
  description?: string | null | undefined;
@@ -582,8 +582,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
582
582
  }>;
583
583
  }, "strip", z.ZodTypeAny, {
584
584
  entity: {
585
- status: string;
586
585
  currency: string;
586
+ status: string;
587
587
  id: string;
588
588
  amount: number;
589
589
  description?: string | null | undefined;
@@ -614,8 +614,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
614
614
  };
615
615
  }, {
616
616
  entity: {
617
- status: string;
618
617
  currency: string;
618
+ status: string;
619
619
  id: string;
620
620
  amount: number;
621
621
  description?: string | null | undefined;
@@ -648,8 +648,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
648
648
  }, "strip", z.ZodTypeAny, {
649
649
  payment: {
650
650
  entity: {
651
- status: string;
652
651
  currency: string;
652
+ status: string;
653
653
  id: string;
654
654
  amount: number;
655
655
  description?: string | null | undefined;
@@ -682,8 +682,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
682
682
  }, {
683
683
  payment: {
684
684
  entity: {
685
- status: string;
686
685
  currency: string;
686
+ status: string;
687
687
  id: string;
688
688
  amount: number;
689
689
  description?: string | null | undefined;
@@ -719,8 +719,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
719
719
  payload: {
720
720
  payment: {
721
721
  entity: {
722
- status: string;
723
722
  currency: string;
723
+ status: string;
724
724
  id: string;
725
725
  amount: number;
726
726
  description?: string | null | undefined;
@@ -759,8 +759,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
759
759
  payload: {
760
760
  payment: {
761
761
  entity: {
762
- status: string;
763
762
  currency: string;
763
+ status: string;
764
764
  id: string;
765
765
  amount: number;
766
766
  description?: string | null | undefined;
@@ -832,8 +832,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
832
832
  acquirer_data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>>;
833
833
  created_at: z.ZodOptional<z.ZodNumber>;
834
834
  }, "strip", z.ZodTypeAny, {
835
- status: string;
836
835
  currency: string;
836
+ status: string;
837
837
  id: string;
838
838
  amount: number;
839
839
  description?: string | null | undefined;
@@ -862,8 +862,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
862
862
  acquirer_data?: Record<string, string | number | null> | undefined;
863
863
  created_at?: number | undefined;
864
864
  }, {
865
- status: string;
866
865
  currency: string;
866
+ status: string;
867
867
  id: string;
868
868
  amount: number;
869
869
  description?: string | null | undefined;
@@ -894,8 +894,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
894
894
  }>;
895
895
  }, "strip", z.ZodTypeAny, {
896
896
  entity: {
897
- status: string;
898
897
  currency: string;
898
+ status: string;
899
899
  id: string;
900
900
  amount: number;
901
901
  description?: string | null | undefined;
@@ -926,8 +926,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
926
926
  };
927
927
  }, {
928
928
  entity: {
929
- status: string;
930
929
  currency: string;
930
+ status: string;
931
931
  id: string;
932
932
  amount: number;
933
933
  description?: string | null | undefined;
@@ -960,8 +960,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
960
960
  }, "strip", z.ZodTypeAny, {
961
961
  payment: {
962
962
  entity: {
963
- status: string;
964
963
  currency: string;
964
+ status: string;
965
965
  id: string;
966
966
  amount: number;
967
967
  description?: string | null | undefined;
@@ -994,8 +994,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
994
994
  }, {
995
995
  payment: {
996
996
  entity: {
997
- status: string;
998
997
  currency: string;
998
+ status: string;
999
999
  id: string;
1000
1000
  amount: number;
1001
1001
  description?: string | null | undefined;
@@ -1031,8 +1031,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1031
1031
  payload: {
1032
1032
  payment: {
1033
1033
  entity: {
1034
- status: string;
1035
1034
  currency: string;
1035
+ status: string;
1036
1036
  id: string;
1037
1037
  amount: number;
1038
1038
  description?: string | null | undefined;
@@ -1071,8 +1071,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1071
1071
  payload: {
1072
1072
  payment: {
1073
1073
  entity: {
1074
- status: string;
1075
1074
  currency: string;
1075
+ status: string;
1076
1076
  id: string;
1077
1077
  amount: number;
1078
1078
  description?: string | null | undefined;
@@ -1128,8 +1128,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1128
1128
  speed_processed: z.ZodOptional<z.ZodString>;
1129
1129
  speed_requested: z.ZodOptional<z.ZodString>;
1130
1130
  }, "strip", z.ZodTypeAny, {
1131
- status: string;
1132
1131
  currency: string;
1132
+ status: string;
1133
1133
  id: string;
1134
1134
  amount: number;
1135
1135
  payment_id: string;
@@ -1142,8 +1142,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1142
1142
  speed_processed?: string | undefined;
1143
1143
  speed_requested?: string | undefined;
1144
1144
  }, {
1145
- status: string;
1146
1145
  currency: string;
1146
+ status: string;
1147
1147
  id: string;
1148
1148
  amount: number;
1149
1149
  payment_id: string;
@@ -1158,8 +1158,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1158
1158
  }>;
1159
1159
  }, "strip", z.ZodTypeAny, {
1160
1160
  entity: {
1161
- status: string;
1162
1161
  currency: string;
1162
+ status: string;
1163
1163
  id: string;
1164
1164
  amount: number;
1165
1165
  payment_id: string;
@@ -1174,8 +1174,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1174
1174
  };
1175
1175
  }, {
1176
1176
  entity: {
1177
- status: string;
1178
1177
  currency: string;
1178
+ status: string;
1179
1179
  id: string;
1180
1180
  amount: number;
1181
1181
  payment_id: string;
@@ -1221,8 +1221,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1221
1221
  acquirer_data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>>;
1222
1222
  created_at: z.ZodOptional<z.ZodNumber>;
1223
1223
  }, "strip", z.ZodTypeAny, {
1224
- status: string;
1225
1224
  currency: string;
1225
+ status: string;
1226
1226
  id: string;
1227
1227
  amount: number;
1228
1228
  description?: string | null | undefined;
@@ -1251,8 +1251,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1251
1251
  acquirer_data?: Record<string, string | number | null> | undefined;
1252
1252
  created_at?: number | undefined;
1253
1253
  }, {
1254
- status: string;
1255
1254
  currency: string;
1255
+ status: string;
1256
1256
  id: string;
1257
1257
  amount: number;
1258
1258
  description?: string | null | undefined;
@@ -1283,8 +1283,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1283
1283
  }>;
1284
1284
  }, "strip", z.ZodTypeAny, {
1285
1285
  entity: {
1286
- status: string;
1287
1286
  currency: string;
1287
+ status: string;
1288
1288
  id: string;
1289
1289
  amount: number;
1290
1290
  description?: string | null | undefined;
@@ -1315,8 +1315,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1315
1315
  };
1316
1316
  }, {
1317
1317
  entity: {
1318
- status: string;
1319
1318
  currency: string;
1319
+ status: string;
1320
1320
  id: string;
1321
1321
  amount: number;
1322
1322
  description?: string | null | undefined;
@@ -1349,8 +1349,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1349
1349
  }, "strip", z.ZodTypeAny, {
1350
1350
  refund: {
1351
1351
  entity: {
1352
- status: string;
1353
1352
  currency: string;
1353
+ status: string;
1354
1354
  id: string;
1355
1355
  amount: number;
1356
1356
  payment_id: string;
@@ -1366,8 +1366,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1366
1366
  };
1367
1367
  payment?: {
1368
1368
  entity: {
1369
- status: string;
1370
1369
  currency: string;
1370
+ status: string;
1371
1371
  id: string;
1372
1372
  amount: number;
1373
1373
  description?: string | null | undefined;
@@ -1400,8 +1400,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1400
1400
  }, {
1401
1401
  refund: {
1402
1402
  entity: {
1403
- status: string;
1404
1403
  currency: string;
1404
+ status: string;
1405
1405
  id: string;
1406
1406
  amount: number;
1407
1407
  payment_id: string;
@@ -1417,8 +1417,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1417
1417
  };
1418
1418
  payment?: {
1419
1419
  entity: {
1420
- status: string;
1421
1420
  currency: string;
1421
+ status: string;
1422
1422
  id: string;
1423
1423
  amount: number;
1424
1424
  description?: string | null | undefined;
@@ -1454,8 +1454,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1454
1454
  payload: {
1455
1455
  refund: {
1456
1456
  entity: {
1457
- status: string;
1458
1457
  currency: string;
1458
+ status: string;
1459
1459
  id: string;
1460
1460
  amount: number;
1461
1461
  payment_id: string;
@@ -1471,8 +1471,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1471
1471
  };
1472
1472
  payment?: {
1473
1473
  entity: {
1474
- status: string;
1475
1474
  currency: string;
1475
+ status: string;
1476
1476
  id: string;
1477
1477
  amount: number;
1478
1478
  description?: string | null | undefined;
@@ -1511,8 +1511,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1511
1511
  payload: {
1512
1512
  refund: {
1513
1513
  entity: {
1514
- status: string;
1515
1514
  currency: string;
1515
+ status: string;
1516
1516
  id: string;
1517
1517
  amount: number;
1518
1518
  payment_id: string;
@@ -1528,8 +1528,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1528
1528
  };
1529
1529
  payment?: {
1530
1530
  entity: {
1531
- status: string;
1532
1531
  currency: string;
1532
+ status: string;
1533
1533
  id: string;
1534
1534
  amount: number;
1535
1535
  description?: string | null | undefined;
@@ -1585,8 +1585,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1585
1585
  speed_processed: z.ZodOptional<z.ZodString>;
1586
1586
  speed_requested: z.ZodOptional<z.ZodString>;
1587
1587
  }, "strip", z.ZodTypeAny, {
1588
- status: string;
1589
1588
  currency: string;
1589
+ status: string;
1590
1590
  id: string;
1591
1591
  amount: number;
1592
1592
  payment_id: string;
@@ -1599,8 +1599,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1599
1599
  speed_processed?: string | undefined;
1600
1600
  speed_requested?: string | undefined;
1601
1601
  }, {
1602
- status: string;
1603
1602
  currency: string;
1603
+ status: string;
1604
1604
  id: string;
1605
1605
  amount: number;
1606
1606
  payment_id: string;
@@ -1615,8 +1615,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1615
1615
  }>;
1616
1616
  }, "strip", z.ZodTypeAny, {
1617
1617
  entity: {
1618
- status: string;
1619
1618
  currency: string;
1619
+ status: string;
1620
1620
  id: string;
1621
1621
  amount: number;
1622
1622
  payment_id: string;
@@ -1631,8 +1631,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1631
1631
  };
1632
1632
  }, {
1633
1633
  entity: {
1634
- status: string;
1635
1634
  currency: string;
1635
+ status: string;
1636
1636
  id: string;
1637
1637
  amount: number;
1638
1638
  payment_id: string;
@@ -1649,8 +1649,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1649
1649
  }, "strip", z.ZodTypeAny, {
1650
1650
  refund: {
1651
1651
  entity: {
1652
- status: string;
1653
1652
  currency: string;
1653
+ status: string;
1654
1654
  id: string;
1655
1655
  amount: number;
1656
1656
  payment_id: string;
@@ -1667,8 +1667,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1667
1667
  }, {
1668
1668
  refund: {
1669
1669
  entity: {
1670
- status: string;
1671
1670
  currency: string;
1671
+ status: string;
1672
1672
  id: string;
1673
1673
  amount: number;
1674
1674
  payment_id: string;
@@ -1688,8 +1688,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1688
1688
  payload: {
1689
1689
  refund: {
1690
1690
  entity: {
1691
- status: string;
1692
1691
  currency: string;
1692
+ status: string;
1693
1693
  id: string;
1694
1694
  amount: number;
1695
1695
  payment_id: string;
@@ -1712,8 +1712,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1712
1712
  payload: {
1713
1713
  refund: {
1714
1714
  entity: {
1715
- status: string;
1716
1715
  currency: string;
1716
+ status: string;
1717
1717
  id: string;
1718
1718
  amount: number;
1719
1719
  payment_id: string;
@@ -1753,8 +1753,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1753
1753
  speed_processed: z.ZodOptional<z.ZodString>;
1754
1754
  speed_requested: z.ZodOptional<z.ZodString>;
1755
1755
  }, "strip", z.ZodTypeAny, {
1756
- status: string;
1757
1756
  currency: string;
1757
+ status: string;
1758
1758
  id: string;
1759
1759
  amount: number;
1760
1760
  payment_id: string;
@@ -1767,8 +1767,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1767
1767
  speed_processed?: string | undefined;
1768
1768
  speed_requested?: string | undefined;
1769
1769
  }, {
1770
- status: string;
1771
1770
  currency: string;
1771
+ status: string;
1772
1772
  id: string;
1773
1773
  amount: number;
1774
1774
  payment_id: string;
@@ -1783,8 +1783,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1783
1783
  }>;
1784
1784
  }, "strip", z.ZodTypeAny, {
1785
1785
  entity: {
1786
- status: string;
1787
1786
  currency: string;
1787
+ status: string;
1788
1788
  id: string;
1789
1789
  amount: number;
1790
1790
  payment_id: string;
@@ -1799,8 +1799,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1799
1799
  };
1800
1800
  }, {
1801
1801
  entity: {
1802
- status: string;
1803
1802
  currency: string;
1803
+ status: string;
1804
1804
  id: string;
1805
1805
  amount: number;
1806
1806
  payment_id: string;
@@ -1846,8 +1846,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1846
1846
  acquirer_data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>>;
1847
1847
  created_at: z.ZodOptional<z.ZodNumber>;
1848
1848
  }, "strip", z.ZodTypeAny, {
1849
- status: string;
1850
1849
  currency: string;
1850
+ status: string;
1851
1851
  id: string;
1852
1852
  amount: number;
1853
1853
  description?: string | null | undefined;
@@ -1876,8 +1876,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1876
1876
  acquirer_data?: Record<string, string | number | null> | undefined;
1877
1877
  created_at?: number | undefined;
1878
1878
  }, {
1879
- status: string;
1880
1879
  currency: string;
1880
+ status: string;
1881
1881
  id: string;
1882
1882
  amount: number;
1883
1883
  description?: string | null | undefined;
@@ -1908,8 +1908,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1908
1908
  }>;
1909
1909
  }, "strip", z.ZodTypeAny, {
1910
1910
  entity: {
1911
- status: string;
1912
1911
  currency: string;
1912
+ status: string;
1913
1913
  id: string;
1914
1914
  amount: number;
1915
1915
  description?: string | null | undefined;
@@ -1940,8 +1940,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1940
1940
  };
1941
1941
  }, {
1942
1942
  entity: {
1943
- status: string;
1944
1943
  currency: string;
1944
+ status: string;
1945
1945
  id: string;
1946
1946
  amount: number;
1947
1947
  description?: string | null | undefined;
@@ -1974,8 +1974,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1974
1974
  }, "strip", z.ZodTypeAny, {
1975
1975
  refund: {
1976
1976
  entity: {
1977
- status: string;
1978
1977
  currency: string;
1978
+ status: string;
1979
1979
  id: string;
1980
1980
  amount: number;
1981
1981
  payment_id: string;
@@ -1991,8 +1991,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
1991
1991
  };
1992
1992
  payment?: {
1993
1993
  entity: {
1994
- status: string;
1995
1994
  currency: string;
1995
+ status: string;
1996
1996
  id: string;
1997
1997
  amount: number;
1998
1998
  description?: string | null | undefined;
@@ -2025,8 +2025,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
2025
2025
  }, {
2026
2026
  refund: {
2027
2027
  entity: {
2028
- status: string;
2029
2028
  currency: string;
2029
+ status: string;
2030
2030
  id: string;
2031
2031
  amount: number;
2032
2032
  payment_id: string;
@@ -2042,8 +2042,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
2042
2042
  };
2043
2043
  payment?: {
2044
2044
  entity: {
2045
- status: string;
2046
2045
  currency: string;
2046
+ status: string;
2047
2047
  id: string;
2048
2048
  amount: number;
2049
2049
  description?: string | null | undefined;
@@ -2079,8 +2079,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
2079
2079
  payload: {
2080
2080
  refund: {
2081
2081
  entity: {
2082
- status: string;
2083
2082
  currency: string;
2083
+ status: string;
2084
2084
  id: string;
2085
2085
  amount: number;
2086
2086
  payment_id: string;
@@ -2096,8 +2096,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
2096
2096
  };
2097
2097
  payment?: {
2098
2098
  entity: {
2099
- status: string;
2100
2099
  currency: string;
2100
+ status: string;
2101
2101
  id: string;
2102
2102
  amount: number;
2103
2103
  description?: string | null | undefined;
@@ -2136,8 +2136,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
2136
2136
  payload: {
2137
2137
  refund: {
2138
2138
  entity: {
2139
- status: string;
2140
2139
  currency: string;
2140
+ status: string;
2141
2141
  id: string;
2142
2142
  amount: number;
2143
2143
  payment_id: string;
@@ -2153,8 +2153,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
2153
2153
  };
2154
2154
  payment?: {
2155
2155
  entity: {
2156
- status: string;
2157
2156
  currency: string;
2157
+ status: string;
2158
2158
  id: string;
2159
2159
  amount: number;
2160
2160
  description?: string | null | undefined;
@@ -2208,8 +2208,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
2208
2208
  notes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2209
2209
  created_at: z.ZodOptional<z.ZodNumber>;
2210
2210
  }, "strip", z.ZodTypeAny, {
2211
- status: string;
2212
2211
  currency: string;
2212
+ status: string;
2213
2213
  id: string;
2214
2214
  amount: number;
2215
2215
  notes?: Record<string, string> | undefined;
@@ -2220,8 +2220,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
2220
2220
  amount_due?: number | undefined;
2221
2221
  attempts?: number | undefined;
2222
2222
  }, {
2223
- status: string;
2224
2223
  currency: string;
2224
+ status: string;
2225
2225
  id: string;
2226
2226
  amount: number;
2227
2227
  notes?: Record<string, string> | undefined;
@@ -2234,8 +2234,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
2234
2234
  }>;
2235
2235
  }, "strip", z.ZodTypeAny, {
2236
2236
  entity: {
2237
- status: string;
2238
2237
  currency: string;
2238
+ status: string;
2239
2239
  id: string;
2240
2240
  amount: number;
2241
2241
  notes?: Record<string, string> | undefined;
@@ -2248,8 +2248,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
2248
2248
  };
2249
2249
  }, {
2250
2250
  entity: {
2251
- status: string;
2252
2251
  currency: string;
2252
+ status: string;
2253
2253
  id: string;
2254
2254
  amount: number;
2255
2255
  notes?: Record<string, string> | undefined;
@@ -2293,8 +2293,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
2293
2293
  acquirer_data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>>;
2294
2294
  created_at: z.ZodOptional<z.ZodNumber>;
2295
2295
  }, "strip", z.ZodTypeAny, {
2296
- status: string;
2297
2296
  currency: string;
2297
+ status: string;
2298
2298
  id: string;
2299
2299
  amount: number;
2300
2300
  description?: string | null | undefined;
@@ -2323,8 +2323,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
2323
2323
  acquirer_data?: Record<string, string | number | null> | undefined;
2324
2324
  created_at?: number | undefined;
2325
2325
  }, {
2326
- status: string;
2327
2326
  currency: string;
2327
+ status: string;
2328
2328
  id: string;
2329
2329
  amount: number;
2330
2330
  description?: string | null | undefined;
@@ -2355,8 +2355,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
2355
2355
  }>;
2356
2356
  }, "strip", z.ZodTypeAny, {
2357
2357
  entity: {
2358
- status: string;
2359
2358
  currency: string;
2359
+ status: string;
2360
2360
  id: string;
2361
2361
  amount: number;
2362
2362
  description?: string | null | undefined;
@@ -2387,8 +2387,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
2387
2387
  };
2388
2388
  }, {
2389
2389
  entity: {
2390
- status: string;
2391
2390
  currency: string;
2391
+ status: string;
2392
2392
  id: string;
2393
2393
  amount: number;
2394
2394
  description?: string | null | undefined;
@@ -2421,8 +2421,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
2421
2421
  }, "strip", z.ZodTypeAny, {
2422
2422
  order: {
2423
2423
  entity: {
2424
- status: string;
2425
2424
  currency: string;
2425
+ status: string;
2426
2426
  id: string;
2427
2427
  amount: number;
2428
2428
  notes?: Record<string, string> | undefined;
@@ -2436,8 +2436,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
2436
2436
  };
2437
2437
  payment?: {
2438
2438
  entity: {
2439
- status: string;
2440
2439
  currency: string;
2440
+ status: string;
2441
2441
  id: string;
2442
2442
  amount: number;
2443
2443
  description?: string | null | undefined;
@@ -2470,8 +2470,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
2470
2470
  }, {
2471
2471
  order: {
2472
2472
  entity: {
2473
- status: string;
2474
2473
  currency: string;
2474
+ status: string;
2475
2475
  id: string;
2476
2476
  amount: number;
2477
2477
  notes?: Record<string, string> | undefined;
@@ -2485,8 +2485,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
2485
2485
  };
2486
2486
  payment?: {
2487
2487
  entity: {
2488
- status: string;
2489
2488
  currency: string;
2489
+ status: string;
2490
2490
  id: string;
2491
2491
  amount: number;
2492
2492
  description?: string | null | undefined;
@@ -2522,8 +2522,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
2522
2522
  payload: {
2523
2523
  order: {
2524
2524
  entity: {
2525
- status: string;
2526
2525
  currency: string;
2526
+ status: string;
2527
2527
  id: string;
2528
2528
  amount: number;
2529
2529
  notes?: Record<string, string> | undefined;
@@ -2537,8 +2537,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
2537
2537
  };
2538
2538
  payment?: {
2539
2539
  entity: {
2540
- status: string;
2541
2540
  currency: string;
2541
+ status: string;
2542
2542
  id: string;
2543
2543
  amount: number;
2544
2544
  description?: string | null | undefined;
@@ -2577,8 +2577,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
2577
2577
  payload: {
2578
2578
  order: {
2579
2579
  entity: {
2580
- status: string;
2581
2580
  currency: string;
2581
+ status: string;
2582
2582
  id: string;
2583
2583
  amount: number;
2584
2584
  notes?: Record<string, string> | undefined;
@@ -2592,8 +2592,8 @@ export declare const razorpayWebhookEnvelopeSchema: z.ZodDiscriminatedUnion<"eve
2592
2592
  };
2593
2593
  payment?: {
2594
2594
  entity: {
2595
- status: string;
2596
2595
  currency: string;
2596
+ status: string;
2597
2597
  id: string;
2598
2598
  amount: number;
2599
2599
  description?: string | null | undefined;