@blezgo/api-sdk 0.1.5 → 0.1.6

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