@blezgo/api-sdk 0.1.3 → 0.1.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 (138) hide show
  1. package/dist/account/generated.d.ts +180 -180
  2. package/dist/account/generated.d.ts.map +1 -1
  3. package/dist/activity/generated.d.ts +60 -60
  4. package/dist/activity/generated.d.ts.map +1 -1
  5. package/dist/addon/generated.d.ts +83 -83
  6. package/dist/addon/generated.d.ts.map +1 -1
  7. package/dist/admin/generated.d.ts +126 -126
  8. package/dist/admin/generated.d.ts.map +1 -1
  9. package/dist/affiliate/generated.d.ts +83 -83
  10. package/dist/affiliate/generated.d.ts.map +1 -1
  11. package/dist/analytics/generated.d.ts +30 -30
  12. package/dist/analytics/generated.d.ts.map +1 -1
  13. package/dist/announcements/generated.d.ts +64 -64
  14. package/dist/announcements/generated.d.ts.map +1 -1
  15. package/dist/apikeys/generated.d.ts +79 -79
  16. package/dist/apikeys/generated.d.ts.map +1 -1
  17. package/dist/assistance/generated.d.ts +30 -30
  18. package/dist/assistance/generated.d.ts.map +1 -1
  19. package/dist/authentication/generated.d.ts +83 -83
  20. package/dist/authentication/generated.d.ts.map +1 -1
  21. package/dist/blog/generated.d.ts +204 -204
  22. package/dist/blog/generated.d.ts.map +1 -1
  23. package/dist/bundle/generated.d.ts +147 -147
  24. package/dist/bundle/generated.d.ts.map +1 -1
  25. package/dist/cache/generated.d.ts +33 -33
  26. package/dist/cache/generated.d.ts.map +1 -1
  27. package/dist/calendar/generated.d.ts +80 -80
  28. package/dist/calendar/generated.d.ts.map +1 -1
  29. package/dist/campaigns/generated.d.ts +198 -198
  30. package/dist/campaigns/generated.d.ts.map +1 -1
  31. package/dist/cart/generated.d.ts +40 -40
  32. package/dist/cart/generated.d.ts.map +1 -1
  33. package/dist/changelog/generated.d.ts +95 -95
  34. package/dist/changelog/generated.d.ts.map +1 -1
  35. package/dist/channel/generated.d.ts +251 -251
  36. package/dist/channel/generated.d.ts.map +1 -1
  37. package/dist/company/generated.d.ts +69 -69
  38. package/dist/company/generated.d.ts.map +1 -1
  39. package/dist/conference/generated.d.ts +166 -166
  40. package/dist/conference/generated.d.ts.map +1 -1
  41. package/dist/config/generated.d.ts +54 -54
  42. package/dist/config/generated.d.ts.map +1 -1
  43. package/dist/content/generated.d.ts +477 -477
  44. package/dist/content/generated.d.ts.map +1 -1
  45. package/dist/cookies/generated.d.ts +77 -77
  46. package/dist/cookies/generated.d.ts.map +1 -1
  47. package/dist/courses/generated.d.ts +397 -397
  48. package/dist/courses/generated.d.ts.map +1 -1
  49. package/dist/custom/generated.d.ts +99 -99
  50. package/dist/custom/generated.d.ts.map +1 -1
  51. package/dist/dashboard/generated.d.ts +177 -177
  52. package/dist/dashboard/generated.d.ts.map +1 -1
  53. package/dist/elasticsearch/generated.d.ts +30 -30
  54. package/dist/elasticsearch/generated.d.ts.map +1 -1
  55. package/dist/enrollments/generated.d.ts +30 -30
  56. package/dist/enrollments/generated.d.ts.map +1 -1
  57. package/dist/errors/generated.d.ts +30 -30
  58. package/dist/errors/generated.d.ts.map +1 -1
  59. package/dist/eventconfig/generated.d.ts +94 -94
  60. package/dist/eventconfig/generated.d.ts.map +1 -1
  61. package/dist/funnels/generated.d.ts +146 -146
  62. package/dist/funnels/generated.d.ts.map +1 -1
  63. package/dist/gamification/generated.d.ts +154 -154
  64. package/dist/gamification/generated.d.ts.map +1 -1
  65. package/dist/impersonation/generated.d.ts +71 -71
  66. package/dist/impersonation/generated.d.ts.map +1 -1
  67. package/dist/inbox/generated.d.ts +140 -140
  68. package/dist/inbox/generated.d.ts.map +1 -1
  69. package/dist/internal/generated.d.ts +30 -30
  70. package/dist/internal/generated.d.ts.map +1 -1
  71. package/dist/internationalization/generated.d.ts +30 -30
  72. package/dist/internationalization/generated.d.ts.map +1 -1
  73. package/dist/invitations/generated.d.ts +123 -123
  74. package/dist/invitations/generated.d.ts.map +1 -1
  75. package/dist/meetings/generated.d.ts +337 -337
  76. package/dist/meetings/generated.d.ts.map +1 -1
  77. package/dist/metas/generated.d.ts +170 -170
  78. package/dist/metas/generated.d.ts.map +1 -1
  79. package/dist/notification/generated.d.ts +382 -382
  80. package/dist/notification/generated.d.ts.map +1 -1
  81. package/dist/notifications/generated.d.ts +30 -30
  82. package/dist/notifications/generated.d.ts.map +1 -1
  83. package/dist/onboarding/generated.d.ts +106 -106
  84. package/dist/onboarding/generated.d.ts.map +1 -1
  85. package/dist/packages/generated.d.ts +83 -83
  86. package/dist/packages/generated.d.ts.map +1 -1
  87. package/dist/payments/generated.d.ts +502 -502
  88. package/dist/payments/generated.d.ts.map +1 -1
  89. package/dist/payouts/generated.d.ts +30 -30
  90. package/dist/payouts/generated.d.ts.map +1 -1
  91. package/dist/plans/generated.d.ts +470 -470
  92. package/dist/plans/generated.d.ts.map +1 -1
  93. package/dist/pricing/generated.d.ts +87 -87
  94. package/dist/pricing/generated.d.ts.map +1 -1
  95. package/dist/products/generated.d.ts +552 -552
  96. package/dist/products/generated.d.ts.map +1 -1
  97. package/dist/profile/generated.d.ts +272 -272
  98. package/dist/profile/generated.d.ts.map +1 -1
  99. package/dist/reasons/generated.d.ts +78 -78
  100. package/dist/reasons/generated.d.ts.map +1 -1
  101. package/dist/registration/generated.d.ts +145 -145
  102. package/dist/registration/generated.d.ts.map +1 -1
  103. package/dist/reviews/generated.d.ts +47 -47
  104. package/dist/reviews/generated.d.ts.map +1 -1
  105. package/dist/role/generated.d.ts +217 -217
  106. package/dist/role/generated.d.ts.map +1 -1
  107. package/dist/scheduling/generated.d.ts +139 -139
  108. package/dist/scheduling/generated.d.ts.map +1 -1
  109. package/dist/services/generated.d.ts +989 -989
  110. package/dist/services/generated.d.ts.map +1 -1
  111. package/dist/sessions/generated.d.ts +334 -334
  112. package/dist/sessions/generated.d.ts.map +1 -1
  113. package/dist/spaces/generated.d.ts +390 -390
  114. package/dist/spaces/generated.d.ts.map +1 -1
  115. package/dist/storefront/generated.d.ts +30 -30
  116. package/dist/storefront/generated.d.ts.map +1 -1
  117. package/dist/support/generated.d.ts +1465 -1465
  118. package/dist/support/generated.d.ts.map +1 -1
  119. package/dist/sync/generated.d.ts +157 -157
  120. package/dist/sync/generated.d.ts.map +1 -1
  121. package/dist/tenant/generated.d.ts +562 -562
  122. package/dist/tenant/generated.d.ts.map +1 -1
  123. package/dist/testimonials/generated.d.ts +67 -67
  124. package/dist/testimonials/generated.d.ts.map +1 -1
  125. package/dist/tests/generated.d.ts +619 -619
  126. package/dist/tests/generated.d.ts.map +1 -1
  127. package/dist/tokens/generated.d.ts +59 -59
  128. package/dist/tokens/generated.d.ts.map +1 -1
  129. package/dist/uploads/generated.d.ts +65 -65
  130. package/dist/uploads/generated.d.ts.map +1 -1
  131. package/dist/upsell/generated.d.ts +130 -130
  132. package/dist/upsell/generated.d.ts.map +1 -1
  133. package/dist/user/generated.d.ts +123 -117
  134. package/dist/user/generated.d.ts.map +1 -1
  135. package/dist/webinars/generated.d.ts +298 -298
  136. package/dist/webinars/generated.d.ts.map +1 -1
  137. package/package.json +1 -1
  138. package/test-commit.txt +1 -0
@@ -3241,25 +3241,35 @@ export interface paths {
3241
3241
  export type webhooks = Record<string, never>;
3242
3242
  export interface components {
3243
3243
  schemas: {
3244
- /** CancelSubscriptionRequest */
3245
- CancelSubscriptionRequest: {
3244
+ /** ProcessRefundRequest */
3245
+ ProcessRefundRequest: {
3246
3246
  /**
3247
- * Cancel At Period End
3248
- * @description Cancel at end of billing period
3249
- * @default true
3247
+ * Payment Id
3248
+ * @description Payment ID to refund
3250
3249
  */
3251
- cancel_at_period_end: boolean;
3250
+ payment_id: string;
3251
+ /**
3252
+ * Company Id
3253
+ * @description Company ID
3254
+ */
3255
+ company_id: number;
3256
+ /**
3257
+ * Refund Amount
3258
+ * @description Refund amount (None for full refund)
3259
+ */
3260
+ refund_amount?: number | null;
3252
3261
  /**
3253
3262
  * Reason
3254
- * @description Cancellation reason
3263
+ * @description Refund reason
3255
3264
  */
3256
3265
  reason?: string | null;
3257
3266
  };
3258
- /**
3259
- * Interval
3260
- * @enum {string}
3261
- */
3262
- Interval: "day" | "week" | "month" | "year";
3267
+ InvalidParam: {
3268
+ /** @example items[0].quantity */
3269
+ field?: string;
3270
+ /** @example Input should be greater than or equal to 1 */
3271
+ error?: string;
3272
+ };
3263
3273
  /** InitPaymentRequest */
3264
3274
  InitPaymentRequest: {
3265
3275
  /**
@@ -3299,22 +3309,16 @@ export interface components {
3299
3309
  */
3300
3310
  return_url?: string | null;
3301
3311
  };
3302
- /** ApplyCouponRequest */
3303
- ApplyCouponRequest: {
3304
- /** Coupon Code */
3305
- coupon_code: string;
3306
- };
3307
- StandardResponse_CartResponseData_: {
3308
- [key: string]: unknown;
3309
- };
3310
3312
  /**
3311
- * CouponBulkCreateRequest
3312
- * @description Bulk coupon creation request - coupon_code is NOT required (auto-generated).
3313
- * Used for creating multiple coupons with a shared prefix and rules.
3313
+ * CouponAdminCreateRequest
3314
+ * @description Admin-specific coupon creation request with optional owner parameter.
3315
+ * Allows admins to create coupons on behalf of other users.
3314
3316
  */
3315
- CouponBulkCreateRequest: {
3317
+ CouponAdminCreateRequest: {
3316
3318
  /** Coupon Name */
3317
3319
  coupon_name: string;
3320
+ /** Coupon Code */
3321
+ coupon_code: string;
3318
3322
  /** Duration */
3319
3323
  duration?: string | null;
3320
3324
  /**
@@ -3368,163 +3372,174 @@ export interface components {
3368
3372
  */
3369
3373
  owner?: number | null;
3370
3374
  };
3371
- /** PriceRequest */
3372
- PriceRequest: {
3373
- /**
3374
- * Company Id
3375
- * @description Company ID for gateway configuration
3376
- * @example 1
3377
- */
3378
- company_id: number;
3379
- /**
3380
- * Product Id
3381
- * @example 132
3382
- */
3383
- product_id: number;
3384
- /** @example subscription */
3385
- price_type: components["schemas"]["PriceType"];
3375
+ /** VerifyPaymentRequest */
3376
+ VerifyPaymentRequest: {
3386
3377
  /**
3387
- * Amount
3388
- * @example 52
3378
+ * Payment Id
3379
+ * @description Blezgo payment ID
3389
3380
  */
3390
- amount: number;
3391
- /** @example USD */
3392
- currency: components["schemas"]["Currency"];
3381
+ payment_id: string;
3393
3382
  /**
3394
- * Gateway
3395
- * @example stripe
3383
+ * Gateway Payment Id
3384
+ * @description Gateway payment/transaction ID
3396
3385
  */
3397
- gateway?: string | null;
3386
+ gateway_payment_id?: string | null;
3387
+ };
3388
+ /**
3389
+ * @example {
3390
+ * "status": "success",
3391
+ * "message": "Operation successful",
3392
+ * "message_code": "api_suc_20001",
3393
+ * "data": {},
3394
+ * "metadata": {
3395
+ * "timestamp": "2026-03-26T10:00:00.000Z",
3396
+ * "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
3397
+ * "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
3398
+ * "version": "v1",
3399
+ * "executionTime": 42,
3400
+ * "language": "en-US"
3401
+ * }
3402
+ * }
3403
+ */
3404
+ StandardResponse: {
3405
+ /** @example success */
3406
+ status?: string;
3407
+ data?: Record<string, never> | null;
3408
+ /** @example Operation successful */
3409
+ message?: string | null;
3410
+ /** @example api_suc_20001 */
3411
+ message_code?: string | null;
3412
+ metadata?: Record<string, never> | null;
3413
+ error?: components["schemas"]["ErrorResponse"];
3414
+ };
3415
+ StandardResponse_DeleteCartItemResponseData_: {
3416
+ [key: string]: unknown;
3417
+ };
3418
+ /** CancelSubscriptionRequest */
3419
+ CancelSubscriptionRequest: {
3398
3420
  /**
3399
- * Is Live
3400
- * @default false
3401
- * @example false
3421
+ * Cancel At Period End
3422
+ * @description Cancel at end of billing period
3423
+ * @default true
3402
3424
  */
3403
- is_live: boolean;
3404
- /** @example month */
3405
- interval?: components["schemas"]["Interval"] | null;
3425
+ cancel_at_period_end: boolean;
3406
3426
  /**
3407
- * Interval Count
3408
- * @example 1
3427
+ * Reason
3428
+ * @description Cancellation reason
3409
3429
  */
3410
- interval_count?: number | null;
3430
+ reason?: string | null;
3431
+ };
3432
+ /**
3433
+ * CouponBulkCreateRequest
3434
+ * @description Bulk coupon creation request - coupon_code is NOT required (auto-generated).
3435
+ * Used for creating multiple coupons with a shared prefix and rules.
3436
+ */
3437
+ CouponBulkCreateRequest: {
3438
+ /** Coupon Name */
3439
+ coupon_name: string;
3440
+ /** Duration */
3441
+ duration?: string | null;
3411
3442
  /**
3412
- * Trial Period Days
3443
+ * Duration In Months
3413
3444
  * @default 0
3414
- * @example 0
3415
- */
3416
- trial_period_days: number | null;
3417
- /**
3418
- * Initial Amount
3419
- * @example 0
3420
3445
  */
3421
- initial_amount?: number | null;
3446
+ duration_in_months: number;
3447
+ /** Amount Off */
3448
+ amount_off?: number | null;
3449
+ /** Currency */
3450
+ currency?: string | null;
3451
+ /** Percent Off */
3452
+ percent_off?: number | null;
3422
3453
  /**
3423
- * Compare Price
3424
- * @example 0
3454
+ * Redeem From
3455
+ * @description Coupon valid from datetime (YYYY-MM-DD HH:MM:SS)
3425
3456
  */
3426
- compare_price?: number | null;
3457
+ redeem_from?: string | null;
3427
3458
  /**
3428
- * Object Id
3429
- * @example 0
3459
+ * Redeem By
3460
+ * @description Coupon expiry datetime (YYYY-MM-DD HH:MM:SS)
3430
3461
  */
3431
- object_id?: number | null;
3462
+ redeem_by?: string | null;
3432
3463
  /**
3433
- * Module Id
3434
- * @example 0
3464
+ * Max Redemptions
3465
+ * @default 0
3435
3466
  */
3436
- module_id?: number | null;
3467
+ max_redemptions: number;
3437
3468
  /**
3438
- * Requires Payment Method Upfront
3439
- * @description False=Gateway-managed trial (send trial to gateway), True=App-managed trial (don't send trial to gateway)
3440
- * @default false
3441
- * @example false
3469
+ * Site Wide
3470
+ * @default true
3442
3471
  */
3443
- requires_payment_method_upfront: boolean;
3444
- };
3445
- /** OrderCreateRequest */
3446
- OrderCreateRequest: {
3472
+ site_wide: boolean;
3473
+ /** Applies To */
3474
+ applies_to?: {
3475
+ [key: string]: unknown;
3476
+ } | null;
3477
+ /** Coupon Data */
3478
+ coupon_data?: {
3479
+ [key: string]: unknown;
3480
+ } | null;
3447
3481
  /** Company Id */
3448
3482
  company_id: number;
3483
+ /** Applicable Gateways */
3484
+ applicable_gateways: string[];
3485
+ /** Min Order Amount */
3486
+ min_order_amount?: number | null;
3449
3487
  /**
3450
- * Recovery Token
3451
- * @description Cart recovery token from abandoned cart email link (enables recovery attribution)
3488
+ * Owner
3489
+ * @description User ID who will own the coupon (defaults to creator if not specified)
3452
3490
  */
3453
- recovery_token?: string | null;
3454
- };
3455
- StandardResponse_MergeCartResponseData_: {
3456
- [key: string]: unknown;
3491
+ owner?: number | null;
3457
3492
  };
3458
- /** GenerateInvoiceRequest */
3459
- GenerateInvoiceRequest: {
3460
- /**
3461
- * Order Id
3462
- * @description Order ID
3463
- */
3464
- order_id: number;
3465
- /**
3466
- * Company Id
3467
- * @description Company ID
3468
- */
3469
- company_id: number;
3493
+ /** CartUpdateRequest */
3494
+ CartUpdateRequest: {
3495
+ /** Quantity */
3496
+ quantity: number;
3470
3497
  };
3471
- /** CouponValidateRequest */
3472
- CouponValidateRequest: {
3473
- /** Coupon Code */
3474
- coupon_code: string;
3475
- /** Company Id */
3476
- company_id: number;
3477
- /** Gateway */
3478
- gateway?: string | null;
3479
- /** Order Amount */
3480
- order_amount?: number | null;
3481
- /** Product Ids */
3482
- product_ids?: number[] | null;
3483
- /** Category Ids */
3484
- category_ids?: number[] | null;
3485
- /**
3486
- * Test Mode
3487
- * @default false
3488
- */
3489
- test_mode: boolean;
3498
+ /**
3499
+ * PriceType
3500
+ * @enum {string}
3501
+ */
3502
+ PriceType: "free" | "subscription" | "onetime" | "emi";
3503
+ /** CartItemRequest */
3504
+ CartItemRequest: {
3505
+ /** Items */
3506
+ items: components["schemas"]["CartItem"][];
3490
3507
  };
3491
3508
  /** UpdateOrderStatusRequest */
3492
3509
  UpdateOrderStatusRequest: {
3493
3510
  /** Status */
3494
3511
  status: string;
3495
3512
  };
3496
- /** GuestCheckRequest */
3497
- GuestCheckRequest: {
3498
- /** Email */
3499
- email: string;
3500
- /** Mobile Isd Code */
3501
- mobile_isd_code: string;
3502
- /** Mobile No */
3503
- mobile_no: string;
3504
- };
3505
- /** AdminStatusVerifyRequest */
3506
- AdminStatusVerifyRequest: {
3513
+ /** AddPaymentMethodRequest */
3514
+ AddPaymentMethodRequest: {
3507
3515
  /**
3508
- * Status
3509
- * @description Status: completed or failed
3516
+ * Payment Method Token
3517
+ * @description Payment method token from gateway
3510
3518
  */
3511
- status: string;
3519
+ payment_method_token: string;
3512
3520
  /**
3513
- * Admin Remark
3514
- * @description Admin remark
3521
+ * Gateway
3522
+ * @description Payment gateway (stripe, razorpay, etc)
3515
3523
  */
3516
- admin_remark?: string | null;
3524
+ gateway: string;
3517
3525
  };
3518
- /** BuyNowRequest */
3519
- BuyNowRequest: {
3520
- /** Company Id */
3521
- company_id: number;
3522
- /** Product Id */
3523
- product_id: number;
3524
- /** Product Pricing Id */
3525
- product_pricing_id: number;
3526
- /** Quantity */
3527
- quantity: number;
3526
+ /** PriceUpdateRequest */
3527
+ PriceUpdateRequest: {
3528
+ /** Amount */
3529
+ amount?: number | null;
3530
+ currency?: components["schemas"]["Currency"] | null;
3531
+ interval?: components["schemas"]["Interval"] | null;
3532
+ /** Interval Count */
3533
+ interval_count?: number | null;
3534
+ /** Trial Period Days */
3535
+ trial_period_days?: number | null;
3536
+ /** Initial Amount */
3537
+ initial_amount?: number | null;
3538
+ /** Compare Price */
3539
+ compare_price?: number | null;
3540
+ };
3541
+ StandardResponse_CartItemDetail_: {
3542
+ [key: string]: unknown;
3528
3543
  };
3529
3544
  Extensions: {
3530
3545
  /** @example GENERIC_ERROR */
@@ -3535,9 +3550,61 @@ export interface components {
3535
3550
  /** @example Detailed debug information */
3536
3551
  debug?: string | null;
3537
3552
  };
3538
- StandardResponse_ClearCartResponseData_: {
3553
+ StandardResponse_CartItemResponseData_: {
3539
3554
  [key: string]: unknown;
3540
3555
  };
3556
+ /** CreateSubscriptionRequest */
3557
+ CreateSubscriptionRequest: {
3558
+ /**
3559
+ * Order Id
3560
+ * @description Order ID (external ord_xxx format)
3561
+ */
3562
+ order_id: string;
3563
+ /**
3564
+ * Company Id
3565
+ * @description Company ID
3566
+ */
3567
+ company_id: number;
3568
+ /**
3569
+ * Gateway
3570
+ * @description Payment gateway (stripe, razorpay, etc)
3571
+ */
3572
+ gateway: string;
3573
+ /**
3574
+ * Payment Method Id
3575
+ * @description Saved payment method ID (optional)
3576
+ */
3577
+ payment_method_id?: string | null;
3578
+ /**
3579
+ * Save Payment Method
3580
+ * @description Save this payment method for future use
3581
+ * @default false
3582
+ */
3583
+ save_payment_method: boolean;
3584
+ /**
3585
+ * Coupon Code
3586
+ * @description Coupon code to apply (optional)
3587
+ */
3588
+ coupon_code?: string | null;
3589
+ /**
3590
+ * Return Url
3591
+ * @description URL to redirect after payment
3592
+ */
3593
+ return_url?: string | null;
3594
+ };
3595
+ /** GenerateInvoiceRequest */
3596
+ GenerateInvoiceRequest: {
3597
+ /**
3598
+ * Order Id
3599
+ * @description Order ID
3600
+ */
3601
+ order_id: number;
3602
+ /**
3603
+ * Company Id
3604
+ * @description Company ID
3605
+ */
3606
+ company_id: number;
3607
+ };
3541
3608
  ErrorResponse: {
3542
3609
  /** @example about:blank */
3543
3610
  type?: string;
@@ -3553,55 +3620,35 @@ export interface components {
3553
3620
  instance?: string;
3554
3621
  extensions?: components["schemas"]["Extensions"];
3555
3622
  };
3556
- /** SendInvoiceRequest */
3557
- SendInvoiceRequest: {
3558
- /**
3559
- * Recipient Email
3560
- * @description Email address to send invoice
3561
- */
3562
- recipient_email: string;
3623
+ StandardResponse_MergeCartResponseData_: {
3624
+ [key: string]: unknown;
3563
3625
  };
3564
- /** PriceUpdateRequest */
3565
- PriceUpdateRequest: {
3566
- /** Amount */
3567
- amount?: number | null;
3568
- currency?: components["schemas"]["Currency"] | null;
3569
- interval?: components["schemas"]["Interval"] | null;
3570
- /** Interval Count */
3571
- interval_count?: number | null;
3572
- /** Trial Period Days */
3573
- trial_period_days?: number | null;
3574
- /** Initial Amount */
3575
- initial_amount?: number | null;
3576
- /** Compare Price */
3577
- compare_price?: number | null;
3626
+ /** GuestCheckRequest */
3627
+ GuestCheckRequest: {
3628
+ /** Email */
3629
+ email: string;
3630
+ /** Mobile Isd Code */
3631
+ mobile_isd_code: string;
3632
+ /** Mobile No */
3633
+ mobile_no: string;
3578
3634
  };
3579
- /**
3580
- * SyncCustomerRequest
3581
- * @description Request to sync customer to payment gateway
3582
- */
3583
- SyncCustomerRequest: {
3584
- /**
3585
- * Gateway
3586
- * @description Gateway (stripe, razorpay, paypal, athmovil)
3587
- */
3588
- gateway: string;
3635
+ /** WalletPaymentRequest */
3636
+ WalletPaymentRequest: {
3589
3637
  /**
3590
- * Company Id
3591
- * @description Company ID (required for gateway config lookup)
3638
+ * Amount
3639
+ * @description Payment amount
3592
3640
  */
3593
- company_id: number;
3641
+ amount: number;
3594
3642
  /**
3595
- * Email
3596
- * @description Email to sync (defaults to current user)
3643
+ * Currency
3644
+ * @description Currency code (e.g., USD)
3597
3645
  */
3598
- email?: string | null;
3646
+ currency: string;
3599
3647
  /**
3600
- * Force Create
3601
- * @description Force create new customer even if exists
3602
- * @default false
3648
+ * Order Id
3649
+ * @description Order ID from order_tbl
3603
3650
  */
3604
- force_create: boolean;
3651
+ order_id: string;
3605
3652
  };
3606
3653
  /** CouponUpdateRequest */
3607
3654
  CouponUpdateRequest: {
@@ -3644,190 +3691,189 @@ export interface components {
3644
3691
  /** Min Order Amount */
3645
3692
  min_order_amount?: number | null;
3646
3693
  };
3647
- /**
3648
- * PriceType
3649
- * @enum {string}
3650
- */
3651
- PriceType: "free" | "subscription" | "onetime" | "emi";
3652
- /** AttachGuestDetailsRequest */
3653
- AttachGuestDetailsRequest: {
3654
- guest_details: components["schemas"]["GuestDetails"];
3694
+ /** CouponValidateRequest */
3695
+ CouponValidateRequest: {
3696
+ /** Coupon Code */
3697
+ coupon_code: string;
3698
+ /** Company Id */
3699
+ company_id: number;
3700
+ /** Gateway */
3701
+ gateway?: string | null;
3702
+ /** Order Amount */
3703
+ order_amount?: number | null;
3704
+ /** Product Ids */
3705
+ product_ids?: number[] | null;
3706
+ /** Category Ids */
3707
+ category_ids?: number[] | null;
3708
+ /**
3709
+ * Test Mode
3710
+ * @default false
3711
+ */
3712
+ test_mode: boolean;
3655
3713
  };
3656
- /** CartItem */
3657
- CartItem: {
3658
- /** Product Id */
3659
- product_id: number;
3660
- /** Product Pricing Id */
3661
- product_pricing_id?: number | null;
3714
+ /** PriceRequest */
3715
+ PriceRequest: {
3662
3716
  /**
3663
- * Sub Product Id
3664
- * @default 0
3717
+ * Company Id
3718
+ * @description Company ID for gateway configuration
3719
+ * @example 1
3665
3720
  */
3666
- sub_product_id: number | null;
3721
+ company_id: number;
3667
3722
  /**
3668
- * Quantity
3669
- * @default 1
3723
+ * Product Id
3724
+ * @example 132
3670
3725
  */
3671
- quantity: number | null;
3672
- };
3673
- /** SavePaymentMethodRequest */
3674
- SavePaymentMethodRequest: {
3726
+ product_id: number;
3727
+ /** @example subscription */
3728
+ price_type: components["schemas"]["PriceType"];
3729
+ /**
3730
+ * Amount
3731
+ * @example 52
3732
+ */
3733
+ amount: number;
3734
+ /** @example USD */
3735
+ currency: components["schemas"]["Currency"];
3675
3736
  /**
3676
3737
  * Gateway
3677
- * @description Payment gateway (stripe, razorpay, etc)
3738
+ * @example stripe
3678
3739
  */
3679
- gateway: string;
3740
+ gateway?: string | null;
3680
3741
  /**
3681
- * Gateway Payment Method Id
3682
- * @description Gateway payment method token/ID
3742
+ * Is Live
3743
+ * @default false
3744
+ * @example false
3683
3745
  */
3684
- gateway_payment_method_id: string;
3746
+ is_live: boolean;
3747
+ /** @example month */
3748
+ interval?: components["schemas"]["Interval"] | null;
3685
3749
  /**
3686
- * Card Last4
3687
- * @description Last 4 digits of card
3750
+ * Interval Count
3751
+ * @example 1
3688
3752
  */
3689
- card_last4?: string | null;
3753
+ interval_count?: number | null;
3690
3754
  /**
3691
- * Card Brand
3692
- * @description Card brand (Visa, Mastercard, etc)
3755
+ * Trial Period Days
3756
+ * @default 0
3757
+ * @example 0
3693
3758
  */
3694
- card_brand?: string | null;
3759
+ trial_period_days: number | null;
3695
3760
  /**
3696
- * Card Exp Month
3697
- * @description Card expiry month (1-12)
3761
+ * Initial Amount
3762
+ * @example 0
3698
3763
  */
3699
- card_exp_month?: number | null;
3764
+ initial_amount?: number | null;
3700
3765
  /**
3701
- * Card Exp Year
3702
- * @description Card expiry year (YYYY)
3766
+ * Compare Price
3767
+ * @example 0
3703
3768
  */
3704
- card_exp_year?: number | null;
3769
+ compare_price?: number | null;
3705
3770
  /**
3706
- * Billing Name
3707
- * @description Billing name
3771
+ * Object Id
3772
+ * @example 0
3708
3773
  */
3709
- billing_name?: string | null;
3774
+ object_id?: number | null;
3710
3775
  /**
3711
- * Billing Email
3712
- * @description Billing email
3776
+ * Module Id
3777
+ * @example 0
3713
3778
  */
3714
- billing_email?: string | null;
3779
+ module_id?: number | null;
3715
3780
  /**
3716
- * Is Default
3717
- * @description Set as default payment method
3781
+ * Requires Payment Method Upfront
3782
+ * @description False=Gateway-managed trial (send trial to gateway), True=App-managed trial (don't send trial to gateway)
3718
3783
  * @default false
3784
+ * @example false
3719
3785
  */
3720
- is_default: boolean;
3786
+ requires_payment_method_upfront: boolean;
3721
3787
  };
3722
3788
  /**
3723
- * InitiateTopupRequest
3724
- * @description Request model for initiating wallet top-up
3725
- *
3726
- * Example:
3727
- * {
3728
- * "amount": 1000.00,
3729
- * "company_id": 5
3730
- * }
3789
+ * GuestDetails
3790
+ * @description Guest customer details for checkout
3731
3791
  */
3732
- InitiateTopupRequest: {
3792
+ GuestDetails: {
3733
3793
  /**
3734
- * Amount
3735
- * @description Top-up amount (must be positive)
3794
+ * Email
3795
+ * @description Guest email address
3736
3796
  */
3737
- amount: number;
3797
+ email: string;
3738
3798
  /**
3739
- * Company Id
3740
- * @description Company ID
3799
+ * Mobile Isd Code
3800
+ * @description Mobile country code (e.g., +91, +1)
3741
3801
  */
3742
- company_id: number;
3743
- };
3744
- /** CartUpdateRequest */
3745
- CartUpdateRequest: {
3746
- /** Quantity */
3747
- quantity: number;
3748
- };
3749
- /** WalletPaymentRequest */
3750
- WalletPaymentRequest: {
3802
+ mobile_isd_code: string;
3751
3803
  /**
3752
- * Amount
3753
- * @description Payment amount
3804
+ * Mobile No
3805
+ * @description Mobile number
3754
3806
  */
3755
- amount: number;
3807
+ mobile_no: string;
3756
3808
  /**
3757
- * Currency
3758
- * @description Currency code (e.g., USD)
3809
+ * First Name
3810
+ * @description Guest first name
3759
3811
  */
3760
- currency: string;
3812
+ first_name: string;
3761
3813
  /**
3762
- * Order Id
3763
- * @description Order ID from order_tbl
3814
+ * Last Name
3815
+ * @description Guest last name
3764
3816
  */
3765
- order_id: string;
3766
- };
3767
- /**
3768
- * CouponAdminCreateRequest
3769
- * @description Admin-specific coupon creation request with optional owner parameter.
3770
- * Allows admins to create coupons on behalf of other users.
3771
- */
3772
- CouponAdminCreateRequest: {
3773
- /** Coupon Name */
3774
- coupon_name: string;
3775
- /** Coupon Code */
3776
- coupon_code: string;
3777
- /** Duration */
3778
- duration?: string | null;
3817
+ last_name: string;
3779
3818
  /**
3780
- * Duration In Months
3781
- * @default 0
3819
+ * Address Line1
3820
+ * @description Street address, PO box, company name
3782
3821
  */
3783
- duration_in_months: number;
3784
- /** Amount Off */
3785
- amount_off?: number | null;
3786
- /** Currency */
3787
- currency?: string | null;
3788
- /** Percent Off */
3789
- percent_off?: number | null;
3822
+ address_line1?: string | null;
3790
3823
  /**
3791
- * Redeem From
3792
- * @description Coupon valid from datetime (YYYY-MM-DD HH:MM:SS)
3824
+ * Address Line2
3825
+ * @description Apartment, suite, unit, building, floor, etc.
3793
3826
  */
3794
- redeem_from?: string | null;
3827
+ address_line2?: string | null;
3795
3828
  /**
3796
- * Redeem By
3797
- * @description Coupon expiry datetime (YYYY-MM-DD HH:MM:SS)
3829
+ * City
3830
+ * @description City, district, suburb, town, or village
3798
3831
  */
3799
- redeem_by?: string | null;
3832
+ city?: string | null;
3800
3833
  /**
3801
- * Max Redemptions
3802
- * @default 0
3834
+ * State
3835
+ * @description State, province, prefecture, or region
3803
3836
  */
3804
- max_redemptions: number;
3837
+ state?: string | null;
3805
3838
  /**
3806
- * Site Wide
3807
- * @default true
3839
+ * Postal Code
3840
+ * @description ZIP or postal code
3808
3841
  */
3809
- site_wide: boolean;
3810
- /** Applies To */
3811
- applies_to?: {
3812
- [key: string]: unknown;
3813
- } | null;
3814
- /** Coupon Data */
3815
- coupon_data?: {
3816
- [key: string]: unknown;
3817
- } | null;
3842
+ postal_code?: string | null;
3843
+ /**
3844
+ * Country
3845
+ * @description Two-letter country code (ISO 3166-1 alpha-2, e.g., IN, US, GB)
3846
+ */
3847
+ country?: string | null;
3848
+ };
3849
+ /**
3850
+ * Interval
3851
+ * @enum {string}
3852
+ */
3853
+ Interval: "day" | "week" | "month" | "year";
3854
+ /** AttachGuestDetailsRequest */
3855
+ AttachGuestDetailsRequest: {
3856
+ guest_details: components["schemas"]["GuestDetails"];
3857
+ };
3858
+ /** OrderCreateRequest */
3859
+ OrderCreateRequest: {
3818
3860
  /** Company Id */
3819
3861
  company_id: number;
3820
- /** Applicable Gateways */
3821
- applicable_gateways: string[];
3822
- /** Min Order Amount */
3823
- min_order_amount?: number | null;
3824
3862
  /**
3825
- * Owner
3826
- * @description User ID who will own the coupon (defaults to creator if not specified)
3863
+ * Recovery Token
3864
+ * @description Cart recovery token from abandoned cart email link (enables recovery attribution)
3827
3865
  */
3828
- owner?: number | null;
3866
+ recovery_token?: string | null;
3829
3867
  };
3830
- StandardResponse_DeleteCartItemResponseData_: {
3868
+ /** SendInvoiceRequest */
3869
+ SendInvoiceRequest: {
3870
+ /**
3871
+ * Recipient Email
3872
+ * @description Email address to send invoice
3873
+ */
3874
+ recipient_email: string;
3875
+ };
3876
+ StandardResponse_CartResponseData_: {
3831
3877
  [key: string]: unknown;
3832
3878
  };
3833
3879
  /** CancelOfflineOrderRequest */
@@ -3843,61 +3889,40 @@ export interface components {
3843
3889
  */
3844
3890
  admin_remark?: string | null;
3845
3891
  };
3846
- /**
3847
- * @example {
3848
- * "status": "success",
3849
- * "message": "Operation successful",
3850
- * "message_code": "api_suc_20001",
3851
- * "data": {},
3852
- * "metadata": {
3853
- * "timestamp": "2026-03-26T10:00:00.000Z",
3854
- * "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
3855
- * "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
3856
- * "version": "v1",
3857
- * "executionTime": 42,
3858
- * "language": "en-US"
3859
- * }
3860
- * }
3861
- */
3862
- StandardResponse: {
3863
- /** @example success */
3864
- status?: string;
3865
- data?: Record<string, never> | null;
3866
- /** @example Operation successful */
3867
- message?: string | null;
3868
- /** @example api_suc_20001 */
3869
- message_code?: string | null;
3870
- metadata?: Record<string, never> | null;
3871
- error?: components["schemas"]["ErrorResponse"];
3892
+ /** BuyNowRequest */
3893
+ BuyNowRequest: {
3894
+ /** Company Id */
3895
+ company_id: number;
3896
+ /** Product Id */
3897
+ product_id: number;
3898
+ /** Product Pricing Id */
3899
+ product_pricing_id: number;
3900
+ /** Quantity */
3901
+ quantity: number;
3872
3902
  };
3873
- /**
3874
- * Currency
3875
- * @enum {string}
3876
- */
3877
- Currency: "USD" | "INR" | "EUR" | "GBP";
3878
- /** VerifyPaymentRequest */
3879
- VerifyPaymentRequest: {
3903
+ /** OfflineStatusUpdateRequest */
3904
+ OfflineStatusUpdateRequest: {
3880
3905
  /**
3881
- * Payment Id
3882
- * @description Blezgo payment ID
3906
+ * Status
3907
+ * @description Status: proof_uploaded or cancelled for users
3883
3908
  */
3884
- payment_id: string;
3909
+ status: string;
3885
3910
  /**
3886
- * Gateway Payment Id
3887
- * @description Gateway payment/transaction ID
3911
+ * Proof Of Payment
3912
+ * @description Proof of payment (required for proof_uploaded)
3888
3913
  */
3889
- gateway_payment_id?: string | null;
3890
- };
3891
- /** WalletCreditDebitRequest */
3892
- WalletCreditDebitRequest: {
3914
+ proof_of_payment?: string | null;
3893
3915
  /**
3894
- * User Id
3895
- * @description User ID to credit/debit
3916
+ * User Remark
3917
+ * @description User remark
3896
3918
  */
3897
- user_id: number;
3919
+ user_remark?: string | null;
3920
+ };
3921
+ /** OfflinePaymentRequest */
3922
+ OfflinePaymentRequest: {
3898
3923
  /**
3899
3924
  * Amount
3900
- * @description Amount to credit/debit
3925
+ * @description Payment amount
3901
3926
  */
3902
3927
  amount: number;
3903
3928
  /**
@@ -3906,32 +3931,15 @@ export interface components {
3906
3931
  */
3907
3932
  currency: string;
3908
3933
  /**
3909
- * Reason
3910
- * @description Reason for credit/debit
3911
- */
3912
- reason: string;
3913
- };
3914
- /** AddPaymentMethodRequest */
3915
- AddPaymentMethodRequest: {
3916
- /**
3917
- * Payment Method Token
3918
- * @description Payment method token from gateway
3934
+ * Company Id
3935
+ * @description Company ID
3919
3936
  */
3920
- payment_method_token: string;
3937
+ company_id: number;
3921
3938
  /**
3922
- * Gateway
3923
- * @description Payment gateway (stripe, razorpay, etc)
3939
+ * Order Id
3940
+ * @description Order ID
3924
3941
  */
3925
- gateway: string;
3926
- };
3927
- InvalidParam: {
3928
- /** @example items[0].quantity */
3929
- field?: string;
3930
- /** @example Input should be greater than or equal to 1 */
3931
- error?: string;
3932
- };
3933
- StandardResponse_CartItemDetail_: {
3934
- [key: string]: unknown;
3942
+ order_id: string;
3935
3943
  };
3936
3944
  /** CouponCreateRequest */
3937
3945
  CouponCreateRequest: {
@@ -3987,177 +3995,169 @@ export interface components {
3987
3995
  /** Min Order Amount */
3988
3996
  min_order_amount?: number | null;
3989
3997
  };
3990
- StandardResponse_CartItemResponseData_: {
3991
- [key: string]: unknown;
3992
- };
3993
- /** OfflinePaymentRequest */
3994
- OfflinePaymentRequest: {
3995
- /**
3996
- * Amount
3997
- * @description Payment amount
3998
- */
3999
- amount: number;
3998
+ /**
3999
+ * SyncCustomerRequest
4000
+ * @description Request to sync customer to payment gateway
4001
+ */
4002
+ SyncCustomerRequest: {
4000
4003
  /**
4001
- * Currency
4002
- * @description Currency code (e.g., USD)
4004
+ * Gateway
4005
+ * @description Gateway (stripe, razorpay, paypal, athmovil)
4003
4006
  */
4004
- currency: string;
4007
+ gateway: string;
4005
4008
  /**
4006
4009
  * Company Id
4007
- * @description Company ID
4010
+ * @description Company ID (required for gateway config lookup)
4008
4011
  */
4009
4012
  company_id: number;
4010
4013
  /**
4011
- * Order Id
4012
- * @description Order ID
4014
+ * Email
4015
+ * @description Email to sync (defaults to current user)
4013
4016
  */
4014
- order_id: string;
4017
+ email?: string | null;
4018
+ /**
4019
+ * Force Create
4020
+ * @description Force create new customer even if exists
4021
+ * @default false
4022
+ */
4023
+ force_create: boolean;
4015
4024
  };
4016
- /** CreateSubscriptionRequest */
4017
- CreateSubscriptionRequest: {
4025
+ /** ApplyCouponRequest */
4026
+ ApplyCouponRequest: {
4027
+ /** Coupon Code */
4028
+ coupon_code: string;
4029
+ };
4030
+ /**
4031
+ * InitiateTopupRequest
4032
+ * @description Request model for initiating wallet top-up
4033
+ *
4034
+ * Example:
4035
+ * {
4036
+ * "amount": 1000.00,
4037
+ * "company_id": 5
4038
+ * }
4039
+ */
4040
+ InitiateTopupRequest: {
4018
4041
  /**
4019
- * Order Id
4020
- * @description Order ID (external ord_xxx format)
4042
+ * Amount
4043
+ * @description Top-up amount (must be positive)
4021
4044
  */
4022
- order_id: string;
4045
+ amount: number;
4023
4046
  /**
4024
4047
  * Company Id
4025
4048
  * @description Company ID
4026
4049
  */
4027
4050
  company_id: number;
4028
- /**
4029
- * Gateway
4030
- * @description Payment gateway (stripe, razorpay, etc)
4031
- */
4032
- gateway: string;
4033
- /**
4034
- * Payment Method Id
4035
- * @description Saved payment method ID (optional)
4036
- */
4037
- payment_method_id?: string | null;
4038
- /**
4039
- * Save Payment Method
4040
- * @description Save this payment method for future use
4041
- * @default false
4042
- */
4043
- save_payment_method: boolean;
4044
- /**
4045
- * Coupon Code
4046
- * @description Coupon code to apply (optional)
4047
- */
4048
- coupon_code?: string | null;
4049
- /**
4050
- * Return Url
4051
- * @description URL to redirect after payment
4052
- */
4053
- return_url?: string | null;
4054
4051
  };
4055
- /** OfflineStatusUpdateRequest */
4056
- OfflineStatusUpdateRequest: {
4052
+ /**
4053
+ * Currency
4054
+ * @enum {string}
4055
+ */
4056
+ Currency: "USD" | "INR" | "EUR" | "GBP";
4057
+ /** AdminStatusVerifyRequest */
4058
+ AdminStatusVerifyRequest: {
4057
4059
  /**
4058
4060
  * Status
4059
- * @description Status: proof_uploaded or cancelled for users
4061
+ * @description Status: completed or failed
4060
4062
  */
4061
4063
  status: string;
4062
4064
  /**
4063
- * Proof Of Payment
4064
- * @description Proof of payment (required for proof_uploaded)
4065
- */
4066
- proof_of_payment?: string | null;
4067
- /**
4068
- * User Remark
4069
- * @description User remark
4065
+ * Admin Remark
4066
+ * @description Admin remark
4070
4067
  */
4071
- user_remark?: string | null;
4068
+ admin_remark?: string | null;
4072
4069
  };
4073
- /** ProcessRefundRequest */
4074
- ProcessRefundRequest: {
4070
+ /** WalletCreditDebitRequest */
4071
+ WalletCreditDebitRequest: {
4075
4072
  /**
4076
- * Payment Id
4077
- * @description Payment ID to refund
4073
+ * User Id
4074
+ * @description User ID to credit/debit
4078
4075
  */
4079
- payment_id: string;
4076
+ user_id: number;
4080
4077
  /**
4081
- * Company Id
4082
- * @description Company ID
4078
+ * Amount
4079
+ * @description Amount to credit/debit
4083
4080
  */
4084
- company_id: number;
4081
+ amount: number;
4085
4082
  /**
4086
- * Refund Amount
4087
- * @description Refund amount (None for full refund)
4083
+ * Currency
4084
+ * @description Currency code (e.g., USD)
4088
4085
  */
4089
- refund_amount?: number | null;
4086
+ currency: string;
4090
4087
  /**
4091
4088
  * Reason
4092
- * @description Refund reason
4089
+ * @description Reason for credit/debit
4093
4090
  */
4094
- reason?: string | null;
4091
+ reason: string;
4095
4092
  };
4096
- /**
4097
- * GuestDetails
4098
- * @description Guest customer details for checkout
4099
- */
4100
- GuestDetails: {
4093
+ StandardResponse_ClearCartResponseData_: {
4094
+ [key: string]: unknown;
4095
+ };
4096
+ /** CartItem */
4097
+ CartItem: {
4098
+ /** Product Id */
4099
+ product_id: number;
4100
+ /** Product Pricing Id */
4101
+ product_pricing_id?: number | null;
4101
4102
  /**
4102
- * Email
4103
- * @description Guest email address
4103
+ * Sub Product Id
4104
+ * @default 0
4104
4105
  */
4105
- email: string;
4106
+ sub_product_id: number | null;
4106
4107
  /**
4107
- * Mobile Isd Code
4108
- * @description Mobile country code (e.g., +91, +1)
4108
+ * Quantity
4109
+ * @default 1
4109
4110
  */
4110
- mobile_isd_code: string;
4111
+ quantity: number | null;
4112
+ };
4113
+ /** SavePaymentMethodRequest */
4114
+ SavePaymentMethodRequest: {
4111
4115
  /**
4112
- * Mobile No
4113
- * @description Mobile number
4116
+ * Gateway
4117
+ * @description Payment gateway (stripe, razorpay, etc)
4114
4118
  */
4115
- mobile_no: string;
4119
+ gateway: string;
4116
4120
  /**
4117
- * First Name
4118
- * @description Guest first name
4121
+ * Gateway Payment Method Id
4122
+ * @description Gateway payment method token/ID
4119
4123
  */
4120
- first_name: string;
4124
+ gateway_payment_method_id: string;
4121
4125
  /**
4122
- * Last Name
4123
- * @description Guest last name
4126
+ * Card Last4
4127
+ * @description Last 4 digits of card
4124
4128
  */
4125
- last_name: string;
4129
+ card_last4?: string | null;
4126
4130
  /**
4127
- * Address Line1
4128
- * @description Street address, PO box, company name
4131
+ * Card Brand
4132
+ * @description Card brand (Visa, Mastercard, etc)
4129
4133
  */
4130
- address_line1?: string | null;
4134
+ card_brand?: string | null;
4131
4135
  /**
4132
- * Address Line2
4133
- * @description Apartment, suite, unit, building, floor, etc.
4136
+ * Card Exp Month
4137
+ * @description Card expiry month (1-12)
4134
4138
  */
4135
- address_line2?: string | null;
4139
+ card_exp_month?: number | null;
4136
4140
  /**
4137
- * City
4138
- * @description City, district, suburb, town, or village
4141
+ * Card Exp Year
4142
+ * @description Card expiry year (YYYY)
4139
4143
  */
4140
- city?: string | null;
4144
+ card_exp_year?: number | null;
4141
4145
  /**
4142
- * State
4143
- * @description State, province, prefecture, or region
4146
+ * Billing Name
4147
+ * @description Billing name
4144
4148
  */
4145
- state?: string | null;
4149
+ billing_name?: string | null;
4146
4150
  /**
4147
- * Postal Code
4148
- * @description ZIP or postal code
4151
+ * Billing Email
4152
+ * @description Billing email
4149
4153
  */
4150
- postal_code?: string | null;
4154
+ billing_email?: string | null;
4151
4155
  /**
4152
- * Country
4153
- * @description Two-letter country code (ISO 3166-1 alpha-2, e.g., IN, US, GB)
4156
+ * Is Default
4157
+ * @description Set as default payment method
4158
+ * @default false
4154
4159
  */
4155
- country?: string | null;
4156
- };
4157
- /** CartItemRequest */
4158
- CartItemRequest: {
4159
- /** Items */
4160
- items: components["schemas"]["CartItem"][];
4160
+ is_default: boolean;
4161
4161
  };
4162
4162
  };
4163
4163
  responses: never;