@blezgo/api-sdk 0.1.4 → 0.1.5

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 +193 -193
  2. package/dist/account/generated.d.ts.map +1 -1
  3. package/dist/activity/generated.d.ts +82 -82
  4. package/dist/activity/generated.d.ts.map +1 -1
  5. package/dist/addon/generated.d.ts +96 -96
  6. package/dist/addon/generated.d.ts.map +1 -1
  7. package/dist/admin/generated.d.ts +85 -85
  8. package/dist/admin/generated.d.ts.map +1 -1
  9. package/dist/affiliate/generated.d.ts +87 -87
  10. package/dist/affiliate/generated.d.ts.map +1 -1
  11. package/dist/analytics/generated.d.ts +15 -15
  12. package/dist/analytics/generated.d.ts.map +1 -1
  13. package/dist/announcements/generated.d.ts +34 -34
  14. package/dist/announcements/generated.d.ts.map +1 -1
  15. package/dist/apikeys/generated.d.ts +99 -99
  16. package/dist/apikeys/generated.d.ts.map +1 -1
  17. package/dist/assistance/generated.d.ts +15 -15
  18. package/dist/assistance/generated.d.ts.map +1 -1
  19. package/dist/authentication/generated.d.ts +74 -74
  20. package/dist/authentication/generated.d.ts.map +1 -1
  21. package/dist/blog/generated.d.ts +144 -144
  22. package/dist/blog/generated.d.ts.map +1 -1
  23. package/dist/bundle/generated.d.ts +177 -177
  24. package/dist/bundle/generated.d.ts.map +1 -1
  25. package/dist/cache/generated.d.ts +37 -37
  26. package/dist/cache/generated.d.ts.map +1 -1
  27. package/dist/calendar/generated.d.ts +69 -69
  28. package/dist/calendar/generated.d.ts.map +1 -1
  29. package/dist/campaigns/generated.d.ts +215 -215
  30. package/dist/campaigns/generated.d.ts.map +1 -1
  31. package/dist/cart/generated.d.ts +57 -57
  32. package/dist/cart/generated.d.ts.map +1 -1
  33. package/dist/changelog/generated.d.ts +103 -103
  34. package/dist/changelog/generated.d.ts.map +1 -1
  35. package/dist/channel/generated.d.ts +221 -221
  36. package/dist/channel/generated.d.ts.map +1 -1
  37. package/dist/company/generated.d.ts +35 -35
  38. package/dist/company/generated.d.ts.map +1 -1
  39. package/dist/conference/generated.d.ts +155 -155
  40. package/dist/conference/generated.d.ts.map +1 -1
  41. package/dist/config/generated.d.ts +44 -44
  42. package/dist/config/generated.d.ts.map +1 -1
  43. package/dist/content/generated.d.ts +500 -500
  44. package/dist/content/generated.d.ts.map +1 -1
  45. package/dist/cookies/generated.d.ts +89 -89
  46. package/dist/cookies/generated.d.ts.map +1 -1
  47. package/dist/courses/generated.d.ts +350 -350
  48. package/dist/courses/generated.d.ts.map +1 -1
  49. package/dist/custom/generated.d.ts +70 -70
  50. package/dist/custom/generated.d.ts.map +1 -1
  51. package/dist/dashboard/generated.d.ts +185 -185
  52. package/dist/dashboard/generated.d.ts.map +1 -1
  53. package/dist/elasticsearch/generated.d.ts +15 -15
  54. package/dist/elasticsearch/generated.d.ts.map +1 -1
  55. package/dist/enrollments/generated.d.ts +15 -15
  56. package/dist/enrollments/generated.d.ts.map +1 -1
  57. package/dist/errors/generated.d.ts +15 -15
  58. package/dist/errors/generated.d.ts.map +1 -1
  59. package/dist/eventconfig/generated.d.ts +95 -95
  60. package/dist/eventconfig/generated.d.ts.map +1 -1
  61. package/dist/funnels/generated.d.ts +131 -131
  62. package/dist/funnels/generated.d.ts.map +1 -1
  63. package/dist/gamification/generated.d.ts +144 -144
  64. package/dist/gamification/generated.d.ts.map +1 -1
  65. package/dist/impersonation/generated.d.ts +60 -60
  66. package/dist/impersonation/generated.d.ts.map +1 -1
  67. package/dist/inbox/generated.d.ts +133 -133
  68. package/dist/inbox/generated.d.ts.map +1 -1
  69. package/dist/internal/generated.d.ts +15 -15
  70. package/dist/internal/generated.d.ts.map +1 -1
  71. package/dist/internationalization/generated.d.ts +15 -15
  72. package/dist/internationalization/generated.d.ts.map +1 -1
  73. package/dist/invitations/generated.d.ts +124 -124
  74. package/dist/invitations/generated.d.ts.map +1 -1
  75. package/dist/meetings/generated.d.ts +213 -213
  76. package/dist/meetings/generated.d.ts.map +1 -1
  77. package/dist/metas/generated.d.ts +169 -169
  78. package/dist/metas/generated.d.ts.map +1 -1
  79. package/dist/notification/generated.d.ts +411 -411
  80. package/dist/notification/generated.d.ts.map +1 -1
  81. package/dist/notifications/generated.d.ts +15 -15
  82. package/dist/notifications/generated.d.ts.map +1 -1
  83. package/dist/onboarding/generated.d.ts +96 -96
  84. package/dist/onboarding/generated.d.ts.map +1 -1
  85. package/dist/packages/generated.d.ts +78 -78
  86. package/dist/packages/generated.d.ts.map +1 -1
  87. package/dist/payments/generated.d.ts +530 -530
  88. package/dist/payments/generated.d.ts.map +1 -1
  89. package/dist/payouts/generated.d.ts +15 -15
  90. package/dist/payouts/generated.d.ts.map +1 -1
  91. package/dist/plans/generated.d.ts +281 -281
  92. package/dist/plans/generated.d.ts.map +1 -1
  93. package/dist/pricing/generated.d.ts +97 -97
  94. package/dist/pricing/generated.d.ts.map +1 -1
  95. package/dist/products/generated.d.ts +491 -491
  96. package/dist/products/generated.d.ts.map +1 -1
  97. package/dist/profile/generated.d.ts +265 -265
  98. package/dist/profile/generated.d.ts.map +1 -1
  99. package/dist/reasons/generated.d.ts +100 -100
  100. package/dist/reasons/generated.d.ts.map +1 -1
  101. package/dist/registration/generated.d.ts +140 -140
  102. package/dist/registration/generated.d.ts.map +1 -1
  103. package/dist/reviews/generated.d.ts +67 -67
  104. package/dist/reviews/generated.d.ts.map +1 -1
  105. package/dist/role/generated.d.ts +216 -216
  106. package/dist/role/generated.d.ts.map +1 -1
  107. package/dist/scheduling/generated.d.ts +118 -118
  108. package/dist/scheduling/generated.d.ts.map +1 -1
  109. package/dist/services/generated.d.ts +819 -819
  110. package/dist/services/generated.d.ts.map +1 -1
  111. package/dist/sessions/generated.d.ts +236 -236
  112. package/dist/sessions/generated.d.ts.map +1 -1
  113. package/dist/spaces/generated.d.ts +423 -423
  114. package/dist/spaces/generated.d.ts.map +1 -1
  115. package/dist/storefront/generated.d.ts +15 -15
  116. package/dist/storefront/generated.d.ts.map +1 -1
  117. package/dist/support/generated.d.ts +1605 -1605
  118. package/dist/support/generated.d.ts.map +1 -1
  119. package/dist/sync/generated.d.ts +156 -156
  120. package/dist/sync/generated.d.ts.map +1 -1
  121. package/dist/tenant/generated.d.ts +435 -435
  122. package/dist/tenant/generated.d.ts.map +1 -1
  123. package/dist/testimonials/generated.d.ts +60 -60
  124. package/dist/testimonials/generated.d.ts.map +1 -1
  125. package/dist/tests/generated.d.ts +415 -415
  126. package/dist/tests/generated.d.ts.map +1 -1
  127. package/dist/tokens/generated.d.ts +48 -48
  128. package/dist/tokens/generated.d.ts.map +1 -1
  129. package/dist/uploads/generated.d.ts +56 -56
  130. package/dist/uploads/generated.d.ts.map +1 -1
  131. package/dist/upsell/generated.d.ts +86 -86
  132. package/dist/upsell/generated.d.ts.map +1 -1
  133. package/dist/user/generated.d.ts +99 -99
  134. package/dist/user/generated.d.ts.map +1 -1
  135. package/dist/webinars/generated.d.ts +185 -185
  136. package/dist/webinars/generated.d.ts.map +1 -1
  137. package/package.json +1 -1
@@ -3241,40 +3241,11 @@ export interface paths {
3241
3241
  export type webhooks = Record<string, never>;
3242
3242
  export interface components {
3243
3243
  schemas: {
3244
- /** ProcessRefundRequest */
3245
- ProcessRefundRequest: {
3246
- /**
3247
- * Payment Id
3248
- * @description Payment ID to refund
3249
- */
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;
3261
- /**
3262
- * Reason
3263
- * @description Refund reason
3264
- */
3265
- reason?: string | null;
3266
- };
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
- };
3273
- /** InitPaymentRequest */
3274
- InitPaymentRequest: {
3244
+ /** CreateSubscriptionRequest */
3245
+ CreateSubscriptionRequest: {
3275
3246
  /**
3276
3247
  * Order Id
3277
- * @description Order ID (external order_id like ord_xxx)
3248
+ * @description Order ID (external ord_xxx format)
3278
3249
  */
3279
3250
  order_id: string;
3280
3251
  /**
@@ -3284,7 +3255,7 @@ export interface components {
3284
3255
  company_id: number;
3285
3256
  /**
3286
3257
  * Gateway
3287
- * @description Payment gateway (stripe, razorpay, paypal, etc)
3258
+ * @description Payment gateway (stripe, razorpay, etc)
3288
3259
  */
3289
3260
  gateway: string;
3290
3261
  /**
@@ -3309,126 +3280,137 @@ export interface components {
3309
3280
  */
3310
3281
  return_url?: string | null;
3311
3282
  };
3312
- /**
3313
- * CouponAdminCreateRequest
3314
- * @description Admin-specific coupon creation request with optional owner parameter.
3315
- * Allows admins to create coupons on behalf of other users.
3316
- */
3317
- CouponAdminCreateRequest: {
3318
- /** Coupon Name */
3319
- coupon_name: string;
3320
- /** Coupon Code */
3321
- coupon_code: string;
3322
- /** Duration */
3323
- duration?: string | null;
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: {
3324
3300
  /**
3325
- * Duration In Months
3326
- * @default 0
3301
+ * User Remark
3302
+ * @description User remark for cancellation
3327
3303
  */
3328
- duration_in_months: number;
3329
- /** Amount Off */
3330
- amount_off?: number | null;
3331
- /** Currency */
3332
- currency?: string | null;
3333
- /** Percent Off */
3334
- percent_off?: number | null;
3304
+ user_remark?: string | null;
3335
3305
  /**
3336
- * Redeem From
3337
- * @description Coupon valid from datetime (YYYY-MM-DD HH:MM:SS)
3306
+ * Admin Remark
3307
+ * @description Admin remark for cancellation
3338
3308
  */
3339
- redeem_from?: string | null;
3309
+ admin_remark?: string | null;
3310
+ };
3311
+ /** CartUpdateRequest */
3312
+ CartUpdateRequest: {
3313
+ /** Quantity */
3314
+ quantity: number;
3315
+ };
3316
+ /** OfflineStatusUpdateRequest */
3317
+ OfflineStatusUpdateRequest: {
3340
3318
  /**
3341
- * Redeem By
3342
- * @description Coupon expiry datetime (YYYY-MM-DD HH:MM:SS)
3319
+ * Status
3320
+ * @description Status: proof_uploaded or cancelled for users
3343
3321
  */
3344
- redeem_by?: string | null;
3322
+ status: string;
3345
3323
  /**
3346
- * Max Redemptions
3347
- * @default 0
3324
+ * Proof Of Payment
3325
+ * @description Proof of payment (required for proof_uploaded)
3348
3326
  */
3349
- max_redemptions: number;
3327
+ proof_of_payment?: string | null;
3350
3328
  /**
3351
- * Site Wide
3352
- * @default true
3329
+ * User Remark
3330
+ * @description User remark
3353
3331
  */
3354
- site_wide: boolean;
3355
- /** Applies To */
3356
- applies_to?: {
3357
- [key: string]: unknown;
3358
- } | null;
3359
- /** Coupon Data */
3360
- coupon_data?: {
3361
- [key: string]: unknown;
3362
- } | null;
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;
3363
3343
  /** Company Id */
3364
3344
  company_id: number;
3365
- /** Applicable Gateways */
3366
- applicable_gateways: string[];
3367
- /** Min Order Amount */
3368
- min_order_amount?: number | null;
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;
3369
3353
  /**
3370
- * Owner
3371
- * @description User ID who will own the coupon (defaults to creator if not specified)
3354
+ * Test Mode
3355
+ * @default false
3372
3356
  */
3373
- owner?: number | null;
3357
+ test_mode: boolean;
3374
3358
  };
3375
- /** VerifyPaymentRequest */
3376
- VerifyPaymentRequest: {
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: {
3377
3370
  /**
3378
3371
  * Payment Id
3379
- * @description Blezgo payment ID
3372
+ * @description Payment ID to refund
3380
3373
  */
3381
3374
  payment_id: string;
3382
3375
  /**
3383
- * Gateway Payment Id
3384
- * @description Gateway payment/transaction ID
3376
+ * Company Id
3377
+ * @description Company ID
3385
3378
  */
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: {
3379
+ company_id: number;
3420
3380
  /**
3421
- * Cancel At Period End
3422
- * @description Cancel at end of billing period
3423
- * @default true
3381
+ * Refund Amount
3382
+ * @description Refund amount (None for full refund)
3424
3383
  */
3425
- cancel_at_period_end: boolean;
3384
+ refund_amount?: number | null;
3426
3385
  /**
3427
3386
  * Reason
3428
- * @description Cancellation reason
3387
+ * @description Refund reason
3429
3388
  */
3430
3389
  reason?: string | null;
3431
3390
  };
3391
+ /** GenerateInvoiceRequest */
3392
+ GenerateInvoiceRequest: {
3393
+ /**
3394
+ * Order Id
3395
+ * @description Order ID
3396
+ */
3397
+ order_id: number;
3398
+ /**
3399
+ * Company Id
3400
+ * @description Company ID
3401
+ */
3402
+ company_id: number;
3403
+ };
3404
+ /** OrderCreateRequest */
3405
+ OrderCreateRequest: {
3406
+ /** Company Id */
3407
+ company_id: number;
3408
+ /**
3409
+ * Recovery Token
3410
+ * @description Cart recovery token from abandoned cart email link (enables recovery attribution)
3411
+ */
3412
+ recovery_token?: string | null;
3413
+ };
3432
3414
  /**
3433
3415
  * CouponBulkCreateRequest
3434
3416
  * @description Bulk coupon creation request - coupon_code is NOT required (auto-generated).
@@ -3490,74 +3472,115 @@ export interface components {
3490
3472
  */
3491
3473
  owner?: number | null;
3492
3474
  };
3493
- /** CartUpdateRequest */
3494
- CartUpdateRequest: {
3495
- /** Quantity */
3496
- quantity: number;
3497
- };
3498
- /**
3499
- * PriceType
3500
- * @enum {string}
3501
- */
3502
- PriceType: "free" | "subscription" | "onetime" | "emi";
3503
- /** CartItemRequest */
3504
- CartItemRequest: {
3505
- /** Items */
3506
- items: components["schemas"]["CartItem"][];
3507
- };
3508
- /** UpdateOrderStatusRequest */
3509
- UpdateOrderStatusRequest: {
3510
- /** Status */
3511
- status: string;
3512
- };
3513
- /** AddPaymentMethodRequest */
3514
- AddPaymentMethodRequest: {
3475
+ /** OfflinePaymentRequest */
3476
+ OfflinePaymentRequest: {
3515
3477
  /**
3516
- * Payment Method Token
3517
- * @description Payment method token from gateway
3478
+ * Amount
3479
+ * @description Payment amount
3518
3480
  */
3519
- payment_method_token: string;
3481
+ amount: number;
3520
3482
  /**
3521
- * Gateway
3522
- * @description Payment gateway (stripe, razorpay, etc)
3483
+ * Currency
3484
+ * @description Currency code (e.g., USD)
3523
3485
  */
3524
- gateway: string;
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;
3525
3497
  };
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;
3498
+ InvalidParam: {
3499
+ /** @example items[0].quantity */
3500
+ field?: string;
3501
+ /** @example Input should be greater than or equal to 1 */
3502
+ error?: string;
3540
3503
  };
3541
- StandardResponse_CartItemDetail_: {
3504
+ StandardResponse_CartItemResponseData_: {
3542
3505
  [key: string]: unknown;
3543
3506
  };
3544
- Extensions: {
3507
+ ErrorResponse: {
3508
+ /** @example about:blank */
3509
+ type?: string;
3545
3510
  /** @example GENERIC_ERROR */
3546
- message_code?: string;
3547
- /** @example [] */
3548
- invalid_params?: components["schemas"]["InvalidParam"][];
3549
- extra_data?: Record<string, never> | null;
3550
- /** @example Detailed debug information */
3551
- debug?: string | null;
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"];
3552
3521
  };
3553
- StandardResponse_CartItemResponseData_: {
3522
+ /**
3523
+ * PriceType
3524
+ * @enum {string}
3525
+ */
3526
+ PriceType: "free" | "subscription" | "onetime" | "emi";
3527
+ StandardResponse_CartItemDetail_: {
3554
3528
  [key: string]: unknown;
3555
3529
  };
3556
- /** CreateSubscriptionRequest */
3557
- CreateSubscriptionRequest: {
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;
3578
+ };
3579
+ /** InitPaymentRequest */
3580
+ InitPaymentRequest: {
3558
3581
  /**
3559
3582
  * Order Id
3560
- * @description Order ID (external ord_xxx format)
3583
+ * @description Order ID (external order_id like ord_xxx)
3561
3584
  */
3562
3585
  order_id: string;
3563
3586
  /**
@@ -3567,7 +3590,7 @@ export interface components {
3567
3590
  company_id: number;
3568
3591
  /**
3569
3592
  * Gateway
3570
- * @description Payment gateway (stripe, razorpay, etc)
3593
+ * @description Payment gateway (stripe, razorpay, paypal, etc)
3571
3594
  */
3572
3595
  gateway: string;
3573
3596
  /**
@@ -3592,51 +3615,16 @@ export interface components {
3592
3615
  */
3593
3616
  return_url?: string | null;
3594
3617
  };
3595
- /** GenerateInvoiceRequest */
3596
- GenerateInvoiceRequest: {
3597
- /**
3598
- * Order Id
3599
- * @description Order ID
3600
- */
3601
- order_id: number;
3618
+ /** WalletCreditDebitRequest */
3619
+ WalletCreditDebitRequest: {
3602
3620
  /**
3603
- * Company Id
3604
- * @description Company ID
3621
+ * User Id
3622
+ * @description User ID to credit/debit
3605
3623
  */
3606
- company_id: number;
3607
- };
3608
- ErrorResponse: {
3609
- /** @example about:blank */
3610
- type?: string;
3611
- /** @example GENERIC_ERROR */
3612
- code?: string;
3613
- /** @example Client Error */
3614
- title?: string;
3615
- /** @example 400 */
3616
- status?: number;
3617
- /** @example An error occurred */
3618
- detail?: string;
3619
- /** @example /v1/cart/items */
3620
- instance?: string;
3621
- extensions?: components["schemas"]["Extensions"];
3622
- };
3623
- StandardResponse_MergeCartResponseData_: {
3624
- [key: string]: unknown;
3625
- };
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;
3634
- };
3635
- /** WalletPaymentRequest */
3636
- WalletPaymentRequest: {
3624
+ user_id: number;
3637
3625
  /**
3638
3626
  * Amount
3639
- * @description Payment amount
3627
+ * @description Amount to credit/debit
3640
3628
  */
3641
3629
  amount: number;
3642
3630
  /**
@@ -3645,19 +3633,40 @@ export interface components {
3645
3633
  */
3646
3634
  currency: string;
3647
3635
  /**
3648
- * Order Id
3649
- * @description Order ID from order_tbl
3636
+ * Reason
3637
+ * @description Reason for credit/debit
3650
3638
  */
3651
- order_id: string;
3639
+ reason: string;
3652
3640
  };
3653
- /** CouponUpdateRequest */
3654
- CouponUpdateRequest: {
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;
3656
+ };
3657
+ /** CouponCreateRequest */
3658
+ CouponCreateRequest: {
3655
3659
  /** Coupon Name */
3656
- coupon_name?: string | null;
3660
+ coupon_name: string;
3661
+ /** Coupon Code */
3662
+ coupon_code: string;
3657
3663
  /** Duration */
3658
3664
  duration?: string | null;
3659
- /** Duration In Months */
3660
- duration_in_months?: number | null;
3665
+ /**
3666
+ * Duration In Months
3667
+ * @default 0
3668
+ */
3669
+ duration_in_months: number;
3661
3670
  /** Amount Off */
3662
3671
  amount_off?: number | null;
3663
3672
  /** Currency */
@@ -3674,10 +3683,16 @@ export interface components {
3674
3683
  * @description Coupon expiry datetime (YYYY-MM-DD HH:MM:SS)
3675
3684
  */
3676
3685
  redeem_by?: string | null;
3677
- /** Max Redemptions */
3678
- max_redemptions?: number | null;
3679
- /** Site Wide */
3680
- site_wide?: boolean | null;
3686
+ /**
3687
+ * Max Redemptions
3688
+ * @default 0
3689
+ */
3690
+ max_redemptions: number;
3691
+ /**
3692
+ * Site Wide
3693
+ * @default true
3694
+ */
3695
+ site_wide: boolean;
3681
3696
  /** Applies To */
3682
3697
  applies_to?: {
3683
3698
  [key: string]: unknown;
@@ -3686,104 +3701,225 @@ export interface components {
3686
3701
  coupon_data?: {
3687
3702
  [key: string]: unknown;
3688
3703
  } | null;
3704
+ /** Company Id */
3705
+ company_id: number;
3689
3706
  /** Applicable Gateways */
3690
- applicable_gateways?: string[] | null;
3707
+ applicable_gateways: string[];
3691
3708
  /** Min Order Amount */
3692
3709
  min_order_amount?: number | null;
3693
3710
  };
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;
3711
+ StandardResponse_CartResponseData_: {
3712
+ [key: string]: unknown;
3713
3713
  };
3714
- /** PriceRequest */
3715
- PriceRequest: {
3714
+ /** CancelSubscriptionRequest */
3715
+ CancelSubscriptionRequest: {
3716
3716
  /**
3717
- * Company Id
3718
- * @description Company ID for gateway configuration
3719
- * @example 1
3717
+ * Cancel At Period End
3718
+ * @description Cancel at end of billing period
3719
+ * @default true
3720
3720
  */
3721
- company_id: number;
3721
+ cancel_at_period_end: boolean;
3722
3722
  /**
3723
- * Product Id
3724
- * @example 132
3723
+ * Reason
3724
+ * @description Cancellation reason
3725
3725
  */
3726
- product_id: number;
3727
- /** @example subscription */
3728
- price_type: components["schemas"]["PriceType"];
3726
+ reason?: string | null;
3727
+ };
3728
+ /** AddPaymentMethodRequest */
3729
+ AddPaymentMethodRequest: {
3729
3730
  /**
3730
- * Amount
3731
- * @example 52
3731
+ * Payment Method Token
3732
+ * @description Payment method token from gateway
3732
3733
  */
3733
- amount: number;
3734
- /** @example USD */
3735
- currency: components["schemas"]["Currency"];
3734
+ payment_method_token: string;
3736
3735
  /**
3737
3736
  * Gateway
3738
- * @example stripe
3737
+ * @description Payment gateway (stripe, razorpay, etc)
3739
3738
  */
3740
- gateway?: string | null;
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;
3741
3747
  /**
3742
- * Is Live
3743
- * @default false
3744
- * @example false
3748
+ * Sub Product Id
3749
+ * @default 0
3745
3750
  */
3746
- is_live: boolean;
3747
- /** @example month */
3748
- interval?: components["schemas"]["Interval"] | null;
3751
+ sub_product_id: number | null;
3749
3752
  /**
3750
- * Interval Count
3751
- * @example 1
3753
+ * Quantity
3754
+ * @default 1
3752
3755
  */
3753
- interval_count?: number | null;
3756
+ quantity: number | null;
3757
+ };
3758
+ /** CouponUpdateRequest */
3759
+ CouponUpdateRequest: {
3760
+ /** Coupon Name */
3761
+ coupon_name?: string | null;
3762
+ /** Duration */
3763
+ duration?: string | null;
3764
+ /** Duration In Months */
3765
+ duration_in_months?: number | null;
3766
+ /** Amount Off */
3767
+ amount_off?: number | null;
3768
+ /** Currency */
3769
+ currency?: string | null;
3770
+ /** Percent Off */
3771
+ percent_off?: number | null;
3754
3772
  /**
3755
- * Trial Period Days
3756
- * @default 0
3757
- * @example 0
3773
+ * Redeem From
3774
+ * @description Coupon valid from datetime (YYYY-MM-DD HH:MM:SS)
3758
3775
  */
3759
- trial_period_days: number | null;
3776
+ redeem_from?: string | null;
3760
3777
  /**
3761
- * Initial Amount
3762
- * @example 0
3778
+ * Redeem By
3779
+ * @description Coupon expiry datetime (YYYY-MM-DD HH:MM:SS)
3763
3780
  */
3764
- initial_amount?: number | null;
3781
+ redeem_by?: string | null;
3782
+ /** Max Redemptions */
3783
+ max_redemptions?: number | null;
3784
+ /** Site Wide */
3785
+ site_wide?: boolean | null;
3786
+ /** Applies To */
3787
+ applies_to?: {
3788
+ [key: string]: unknown;
3789
+ } | null;
3790
+ /** Coupon Data */
3791
+ coupon_data?: {
3792
+ [key: string]: unknown;
3793
+ } | null;
3794
+ /** Applicable Gateways */
3795
+ applicable_gateways?: string[] | null;
3796
+ /** Min Order Amount */
3797
+ min_order_amount?: number | null;
3798
+ };
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: {
3765
3835
  /**
3766
- * Compare Price
3767
- * @example 0
3836
+ * Payment Id
3837
+ * @description Blezgo payment ID
3768
3838
  */
3769
- compare_price?: number | null;
3839
+ payment_id: string;
3770
3840
  /**
3771
- * Object Id
3772
- * @example 0
3841
+ * Gateway Payment Id
3842
+ * @description Gateway payment/transaction ID
3773
3843
  */
3774
- object_id?: number | null;
3844
+ gateway_payment_id?: string | null;
3845
+ };
3846
+ /** AdminStatusVerifyRequest */
3847
+ AdminStatusVerifyRequest: {
3775
3848
  /**
3776
- * Module Id
3777
- * @example 0
3849
+ * Status
3850
+ * @description Status: completed or failed
3778
3851
  */
3779
- module_id?: number | null;
3852
+ status: string;
3780
3853
  /**
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)
3854
+ * Admin Remark
3855
+ * @description Admin remark
3856
+ */
3857
+ admin_remark?: string | null;
3858
+ };
3859
+ /** GuestCheckRequest */
3860
+ GuestCheckRequest: {
3861
+ /** Email */
3862
+ email: string;
3863
+ /** Mobile Isd Code */
3864
+ mobile_isd_code: string;
3865
+ /** Mobile No */
3866
+ mobile_no: string;
3867
+ };
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
+ /**
3898
+ * SyncCustomerRequest
3899
+ * @description Request to sync customer to payment gateway
3900
+ */
3901
+ SyncCustomerRequest: {
3902
+ /**
3903
+ * Gateway
3904
+ * @description Gateway (stripe, razorpay, paypal, athmovil)
3905
+ */
3906
+ gateway: string;
3907
+ /**
3908
+ * Company Id
3909
+ * @description Company ID (required for gateway config lookup)
3910
+ */
3911
+ company_id: number;
3912
+ /**
3913
+ * Email
3914
+ * @description Email to sync (defaults to current user)
3915
+ */
3916
+ email?: string | null;
3917
+ /**
3918
+ * Force Create
3919
+ * @description Force create new customer even if exists
3783
3920
  * @default false
3784
- * @example false
3785
3921
  */
3786
- requires_payment_method_upfront: boolean;
3922
+ force_create: boolean;
3787
3923
  };
3788
3924
  /**
3789
3925
  * GuestDetails
@@ -3846,103 +3982,126 @@ export interface components {
3846
3982
  */
3847
3983
  country?: string | null;
3848
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: {
3999
+ /**
4000
+ * Amount
4001
+ * @description Top-up amount (must be positive)
4002
+ */
4003
+ amount: number;
4004
+ /**
4005
+ * Company Id
4006
+ * @description Company ID
4007
+ */
4008
+ company_id: number;
4009
+ };
3849
4010
  /**
3850
4011
  * Interval
3851
4012
  * @enum {string}
3852
4013
  */
3853
4014
  Interval: "day" | "week" | "month" | "year";
3854
- /** AttachGuestDetailsRequest */
3855
- AttachGuestDetailsRequest: {
3856
- guest_details: components["schemas"]["GuestDetails"];
4015
+ /** CartItemRequest */
4016
+ CartItemRequest: {
4017
+ /** Items */
4018
+ items: components["schemas"]["CartItem"][];
3857
4019
  };
3858
- /** OrderCreateRequest */
3859
- OrderCreateRequest: {
3860
- /** Company Id */
4020
+ /** PriceRequest */
4021
+ PriceRequest: {
4022
+ /**
4023
+ * Company Id
4024
+ * @description Company ID for gateway configuration
4025
+ * @example 1
4026
+ */
3861
4027
  company_id: number;
3862
4028
  /**
3863
- * Recovery Token
3864
- * @description Cart recovery token from abandoned cart email link (enables recovery attribution)
4029
+ * Product Id
4030
+ * @example 132
3865
4031
  */
3866
- recovery_token?: string | null;
3867
- };
3868
- /** SendInvoiceRequest */
3869
- SendInvoiceRequest: {
4032
+ product_id: number;
4033
+ /** @example subscription */
4034
+ price_type: components["schemas"]["PriceType"];
3870
4035
  /**
3871
- * Recipient Email
3872
- * @description Email address to send invoice
4036
+ * Amount
4037
+ * @example 52
3873
4038
  */
3874
- recipient_email: string;
3875
- };
3876
- StandardResponse_CartResponseData_: {
3877
- [key: string]: unknown;
3878
- };
3879
- /** CancelOfflineOrderRequest */
3880
- CancelOfflineOrderRequest: {
4039
+ amount: number;
4040
+ /** @example USD */
4041
+ currency: components["schemas"]["Currency"];
3881
4042
  /**
3882
- * User Remark
3883
- * @description User remark for cancellation
4043
+ * Gateway
4044
+ * @example stripe
3884
4045
  */
3885
- user_remark?: string | null;
4046
+ gateway?: string | null;
3886
4047
  /**
3887
- * Admin Remark
3888
- * @description Admin remark for cancellation
4048
+ * Is Live
4049
+ * @default false
4050
+ * @example false
3889
4051
  */
3890
- admin_remark?: string | null;
3891
- };
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;
3902
- };
3903
- /** OfflineStatusUpdateRequest */
3904
- OfflineStatusUpdateRequest: {
4052
+ is_live: boolean;
4053
+ /** @example month */
4054
+ interval?: components["schemas"]["Interval"] | null;
3905
4055
  /**
3906
- * Status
3907
- * @description Status: proof_uploaded or cancelled for users
4056
+ * Interval Count
4057
+ * @example 1
3908
4058
  */
3909
- status: string;
4059
+ interval_count?: number | null;
3910
4060
  /**
3911
- * Proof Of Payment
3912
- * @description Proof of payment (required for proof_uploaded)
4061
+ * Trial Period Days
4062
+ * @default 0
4063
+ * @example 0
3913
4064
  */
3914
- proof_of_payment?: string | null;
4065
+ trial_period_days: number | null;
3915
4066
  /**
3916
- * User Remark
3917
- * @description User remark
4067
+ * Initial Amount
4068
+ * @example 0
3918
4069
  */
3919
- user_remark?: string | null;
3920
- };
3921
- /** OfflinePaymentRequest */
3922
- OfflinePaymentRequest: {
4070
+ initial_amount?: number | null;
3923
4071
  /**
3924
- * Amount
3925
- * @description Payment amount
4072
+ * Compare Price
4073
+ * @example 0
3926
4074
  */
3927
- amount: number;
4075
+ compare_price?: number | null;
3928
4076
  /**
3929
- * Currency
3930
- * @description Currency code (e.g., USD)
4077
+ * Object Id
4078
+ * @example 0
3931
4079
  */
3932
- currency: string;
4080
+ object_id?: number | null;
3933
4081
  /**
3934
- * Company Id
3935
- * @description Company ID
4082
+ * Module Id
4083
+ * @example 0
3936
4084
  */
3937
- company_id: number;
4085
+ module_id?: number | null;
3938
4086
  /**
3939
- * Order Id
3940
- * @description Order ID
4087
+ * Requires Payment Method Upfront
4088
+ * @description False=Gateway-managed trial (send trial to gateway), True=App-managed trial (don't send trial to gateway)
4089
+ * @default false
4090
+ * @example false
3941
4091
  */
3942
- order_id: string;
4092
+ requires_payment_method_upfront: boolean;
3943
4093
  };
3944
- /** CouponCreateRequest */
3945
- CouponCreateRequest: {
4094
+ /** UpdateOrderStatusRequest */
4095
+ UpdateOrderStatusRequest: {
4096
+ /** Status */
4097
+ status: string;
4098
+ };
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: {
3946
4105
  /** Coupon Name */
3947
4106
  coupon_name: string;
3948
4107
  /** Coupon Code */
@@ -3994,170 +4153,11 @@ export interface components {
3994
4153
  applicable_gateways: string[];
3995
4154
  /** Min Order Amount */
3996
4155
  min_order_amount?: number | null;
3997
- };
3998
- /**
3999
- * SyncCustomerRequest
4000
- * @description Request to sync customer to payment gateway
4001
- */
4002
- SyncCustomerRequest: {
4003
- /**
4004
- * Gateway
4005
- * @description Gateway (stripe, razorpay, paypal, athmovil)
4006
- */
4007
- gateway: string;
4008
- /**
4009
- * Company Id
4010
- * @description Company ID (required for gateway config lookup)
4011
- */
4012
- company_id: number;
4013
- /**
4014
- * Email
4015
- * @description Email to sync (defaults to current user)
4016
- */
4017
- email?: string | null;
4018
4156
  /**
4019
- * Force Create
4020
- * @description Force create new customer even if exists
4021
- * @default false
4022
- */
4023
- force_create: boolean;
4024
- };
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: {
4041
- /**
4042
- * Amount
4043
- * @description Top-up amount (must be positive)
4044
- */
4045
- amount: number;
4046
- /**
4047
- * Company Id
4048
- * @description Company ID
4049
- */
4050
- company_id: number;
4051
- };
4052
- /**
4053
- * Currency
4054
- * @enum {string}
4055
- */
4056
- Currency: "USD" | "INR" | "EUR" | "GBP";
4057
- /** AdminStatusVerifyRequest */
4058
- AdminStatusVerifyRequest: {
4059
- /**
4060
- * Status
4061
- * @description Status: completed or failed
4062
- */
4063
- status: string;
4064
- /**
4065
- * Admin Remark
4066
- * @description Admin remark
4067
- */
4068
- admin_remark?: string | null;
4069
- };
4070
- /** WalletCreditDebitRequest */
4071
- WalletCreditDebitRequest: {
4072
- /**
4073
- * User Id
4074
- * @description User ID to credit/debit
4075
- */
4076
- user_id: number;
4077
- /**
4078
- * Amount
4079
- * @description Amount to credit/debit
4080
- */
4081
- amount: number;
4082
- /**
4083
- * Currency
4084
- * @description Currency code (e.g., USD)
4085
- */
4086
- currency: string;
4087
- /**
4088
- * Reason
4089
- * @description Reason for credit/debit
4090
- */
4091
- reason: string;
4092
- };
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;
4102
- /**
4103
- * Sub Product Id
4104
- * @default 0
4105
- */
4106
- sub_product_id: number | null;
4107
- /**
4108
- * Quantity
4109
- * @default 1
4110
- */
4111
- quantity: number | null;
4112
- };
4113
- /** SavePaymentMethodRequest */
4114
- SavePaymentMethodRequest: {
4115
- /**
4116
- * Gateway
4117
- * @description Payment gateway (stripe, razorpay, etc)
4118
- */
4119
- gateway: string;
4120
- /**
4121
- * Gateway Payment Method Id
4122
- * @description Gateway payment method token/ID
4123
- */
4124
- gateway_payment_method_id: string;
4125
- /**
4126
- * Card Last4
4127
- * @description Last 4 digits of card
4128
- */
4129
- card_last4?: string | null;
4130
- /**
4131
- * Card Brand
4132
- * @description Card brand (Visa, Mastercard, etc)
4133
- */
4134
- card_brand?: string | null;
4135
- /**
4136
- * Card Exp Month
4137
- * @description Card expiry month (1-12)
4138
- */
4139
- card_exp_month?: number | null;
4140
- /**
4141
- * Card Exp Year
4142
- * @description Card expiry year (YYYY)
4143
- */
4144
- card_exp_year?: number | null;
4145
- /**
4146
- * Billing Name
4147
- * @description Billing name
4148
- */
4149
- billing_name?: string | null;
4150
- /**
4151
- * Billing Email
4152
- * @description Billing email
4153
- */
4154
- billing_email?: string | null;
4155
- /**
4156
- * Is Default
4157
- * @description Set as default payment method
4158
- * @default false
4157
+ * Owner
4158
+ * @description User ID who will own the coupon (defaults to creator if not specified)
4159
4159
  */
4160
- is_default: boolean;
4160
+ owner?: number | null;
4161
4161
  };
4162
4162
  };
4163
4163
  responses: never;
@@ -16316,7 +16316,7 @@ export interface operations {
16316
16316
  authorization?: string | null;
16317
16317
  };
16318
16318
  path: {
16319
- user_id: number;
16319
+ user_id: string;
16320
16320
  };
16321
16321
  cookie?: never;
16322
16322
  };