@blezgo/api-sdk 0.1.3 → 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.
- package/dist/account/generated.d.ts +153 -153
- package/dist/account/generated.d.ts.map +1 -1
- package/dist/activity/generated.d.ts +57 -57
- package/dist/activity/generated.d.ts.map +1 -1
- package/dist/addon/generated.d.ts +104 -104
- package/dist/addon/generated.d.ts.map +1 -1
- package/dist/admin/generated.d.ts +85 -85
- package/dist/admin/generated.d.ts.map +1 -1
- package/dist/affiliate/generated.d.ts +89 -89
- package/dist/affiliate/generated.d.ts.map +1 -1
- package/dist/analytics/generated.d.ts +15 -15
- package/dist/analytics/generated.d.ts.map +1 -1
- package/dist/announcements/generated.d.ts +52 -52
- package/dist/announcements/generated.d.ts.map +1 -1
- package/dist/apikeys/generated.d.ts +43 -43
- package/dist/apikeys/generated.d.ts.map +1 -1
- package/dist/assistance/generated.d.ts +15 -15
- package/dist/assistance/generated.d.ts.map +1 -1
- package/dist/authentication/generated.d.ts +116 -116
- package/dist/authentication/generated.d.ts.map +1 -1
- package/dist/blog/generated.d.ts +168 -168
- package/dist/blog/generated.d.ts.map +1 -1
- package/dist/bundle/generated.d.ts +116 -116
- package/dist/bundle/generated.d.ts.map +1 -1
- package/dist/cache/generated.d.ts +30 -30
- package/dist/cache/generated.d.ts.map +1 -1
- package/dist/calendar/generated.d.ts +37 -37
- package/dist/calendar/generated.d.ts.map +1 -1
- package/dist/campaigns/generated.d.ts +157 -157
- package/dist/campaigns/generated.d.ts.map +1 -1
- package/dist/cart/generated.d.ts +30 -30
- package/dist/cart/generated.d.ts.map +1 -1
- package/dist/changelog/generated.d.ts +107 -107
- package/dist/changelog/generated.d.ts.map +1 -1
- package/dist/channel/generated.d.ts +231 -231
- package/dist/channel/generated.d.ts.map +1 -1
- package/dist/company/generated.d.ts +44 -44
- package/dist/company/generated.d.ts.map +1 -1
- package/dist/conference/generated.d.ts +14 -14
- package/dist/conference/generated.d.ts.map +1 -1
- package/dist/config/generated.d.ts +60 -60
- package/dist/config/generated.d.ts.map +1 -1
- package/dist/content/generated.d.ts +527 -527
- package/dist/content/generated.d.ts.map +1 -1
- package/dist/cookies/generated.d.ts +60 -60
- package/dist/cookies/generated.d.ts.map +1 -1
- package/dist/courses/generated.d.ts +348 -348
- package/dist/courses/generated.d.ts.map +1 -1
- package/dist/custom/generated.d.ts +96 -96
- package/dist/custom/generated.d.ts.map +1 -1
- package/dist/dashboard/generated.d.ts +124 -124
- package/dist/dashboard/generated.d.ts.map +1 -1
- package/dist/elasticsearch/generated.d.ts +15 -15
- package/dist/elasticsearch/generated.d.ts.map +1 -1
- package/dist/enrollments/generated.d.ts +15 -15
- package/dist/enrollments/generated.d.ts.map +1 -1
- package/dist/errors/generated.d.ts +24 -24
- package/dist/errors/generated.d.ts.map +1 -1
- package/dist/eventconfig/generated.d.ts +103 -103
- package/dist/eventconfig/generated.d.ts.map +1 -1
- package/dist/funnels/generated.d.ts +111 -111
- package/dist/funnels/generated.d.ts.map +1 -1
- package/dist/gamification/generated.d.ts +105 -105
- package/dist/gamification/generated.d.ts.map +1 -1
- package/dist/impersonation/generated.d.ts +27 -27
- package/dist/impersonation/generated.d.ts.map +1 -1
- package/dist/inbox/generated.d.ts +117 -117
- package/dist/inbox/generated.d.ts.map +1 -1
- package/dist/internal/generated.d.ts +15 -15
- package/dist/internal/generated.d.ts.map +1 -1
- package/dist/internationalization/generated.d.ts +15 -15
- package/dist/internationalization/generated.d.ts.map +1 -1
- package/dist/invitations/generated.d.ts +85 -85
- package/dist/invitations/generated.d.ts.map +1 -1
- package/dist/meetings/generated.d.ts +295 -295
- package/dist/meetings/generated.d.ts.map +1 -1
- package/dist/metas/generated.d.ts +191 -191
- package/dist/metas/generated.d.ts.map +1 -1
- package/dist/notification/generated.d.ts +261 -261
- package/dist/notification/generated.d.ts.map +1 -1
- package/dist/notifications/generated.d.ts +15 -15
- package/dist/notifications/generated.d.ts.map +1 -1
- package/dist/onboarding/generated.d.ts +116 -116
- package/dist/onboarding/generated.d.ts.map +1 -1
- package/dist/packages/generated.d.ts +21 -21
- package/dist/packages/generated.d.ts.map +1 -1
- package/dist/payments/generated.d.ts +548 -548
- package/dist/payments/generated.d.ts.map +1 -1
- package/dist/payouts/generated.d.ts +15 -15
- package/dist/payouts/generated.d.ts.map +1 -1
- package/dist/plans/generated.d.ts +349 -349
- package/dist/plans/generated.d.ts.map +1 -1
- package/dist/pricing/generated.d.ts +41 -41
- package/dist/pricing/generated.d.ts.map +1 -1
- package/dist/products/generated.d.ts +398 -398
- package/dist/products/generated.d.ts.map +1 -1
- package/dist/profile/generated.d.ts +333 -333
- package/dist/profile/generated.d.ts.map +1 -1
- package/dist/reasons/generated.d.ts +81 -81
- package/dist/reasons/generated.d.ts.map +1 -1
- package/dist/registration/generated.d.ts +178 -178
- package/dist/registration/generated.d.ts.map +1 -1
- package/dist/reviews/generated.d.ts +63 -63
- package/dist/reviews/generated.d.ts.map +1 -1
- package/dist/role/generated.d.ts +218 -218
- package/dist/role/generated.d.ts.map +1 -1
- package/dist/scheduling/generated.d.ts +96 -96
- package/dist/scheduling/generated.d.ts.map +1 -1
- package/dist/services/generated.d.ts +957 -957
- package/dist/services/generated.d.ts.map +1 -1
- package/dist/sessions/generated.d.ts +370 -370
- package/dist/sessions/generated.d.ts.map +1 -1
- package/dist/spaces/generated.d.ts +533 -533
- package/dist/spaces/generated.d.ts.map +1 -1
- package/dist/storefront/generated.d.ts +15 -15
- package/dist/storefront/generated.d.ts.map +1 -1
- package/dist/support/generated.d.ts +1426 -1426
- package/dist/support/generated.d.ts.map +1 -1
- package/dist/sync/generated.d.ts +127 -127
- package/dist/sync/generated.d.ts.map +1 -1
- package/dist/tenant/generated.d.ts +528 -528
- package/dist/tenant/generated.d.ts.map +1 -1
- package/dist/testimonials/generated.d.ts +56 -56
- package/dist/testimonials/generated.d.ts.map +1 -1
- package/dist/tests/generated.d.ts +509 -509
- package/dist/tests/generated.d.ts.map +1 -1
- package/dist/tokens/generated.d.ts +50 -50
- package/dist/tokens/generated.d.ts.map +1 -1
- package/dist/uploads/generated.d.ts +29 -29
- package/dist/uploads/generated.d.ts.map +1 -1
- package/dist/upsell/generated.d.ts +80 -80
- package/dist/upsell/generated.d.ts.map +1 -1
- package/dist/user/generated.d.ts +76 -70
- package/dist/user/generated.d.ts.map +1 -1
- package/dist/webinars/generated.d.ts +336 -336
- package/dist/webinars/generated.d.ts.map +1 -1
- package/package.json +1 -1
- package/test-commit.txt +1 -0
|
@@ -3241,30 +3241,11 @@ export interface paths {
|
|
|
3241
3241
|
export type webhooks = Record<string, never>;
|
|
3242
3242
|
export interface components {
|
|
3243
3243
|
schemas: {
|
|
3244
|
-
/**
|
|
3245
|
-
|
|
3246
|
-
/**
|
|
3247
|
-
* Cancel At Period End
|
|
3248
|
-
* @description Cancel at end of billing period
|
|
3249
|
-
* @default true
|
|
3250
|
-
*/
|
|
3251
|
-
cancel_at_period_end: boolean;
|
|
3252
|
-
/**
|
|
3253
|
-
* Reason
|
|
3254
|
-
* @description Cancellation reason
|
|
3255
|
-
*/
|
|
3256
|
-
reason?: string | null;
|
|
3257
|
-
};
|
|
3258
|
-
/**
|
|
3259
|
-
* Interval
|
|
3260
|
-
* @enum {string}
|
|
3261
|
-
*/
|
|
3262
|
-
Interval: "day" | "week" | "month" | "year";
|
|
3263
|
-
/** InitPaymentRequest */
|
|
3264
|
-
InitPaymentRequest: {
|
|
3244
|
+
/** CreateSubscriptionRequest */
|
|
3245
|
+
CreateSubscriptionRequest: {
|
|
3265
3246
|
/**
|
|
3266
3247
|
* Order Id
|
|
3267
|
-
* @description Order ID (external
|
|
3248
|
+
* @description Order ID (external ord_xxx format)
|
|
3268
3249
|
*/
|
|
3269
3250
|
order_id: string;
|
|
3270
3251
|
/**
|
|
@@ -3274,7 +3255,7 @@ export interface components {
|
|
|
3274
3255
|
company_id: number;
|
|
3275
3256
|
/**
|
|
3276
3257
|
* Gateway
|
|
3277
|
-
* @description Payment gateway (stripe, razorpay,
|
|
3258
|
+
* @description Payment gateway (stripe, razorpay, etc)
|
|
3278
3259
|
*/
|
|
3279
3260
|
gateway: string;
|
|
3280
3261
|
/**
|
|
@@ -3299,13 +3280,136 @@ export interface components {
|
|
|
3299
3280
|
*/
|
|
3300
3281
|
return_url?: string | null;
|
|
3301
3282
|
};
|
|
3302
|
-
/**
|
|
3303
|
-
|
|
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
|
+
};
|
|
3316
|
+
/** OfflineStatusUpdateRequest */
|
|
3317
|
+
OfflineStatusUpdateRequest: {
|
|
3318
|
+
/**
|
|
3319
|
+
* Status
|
|
3320
|
+
* @description Status: proof_uploaded or cancelled for users
|
|
3321
|
+
*/
|
|
3322
|
+
status: string;
|
|
3323
|
+
/**
|
|
3324
|
+
* Proof Of Payment
|
|
3325
|
+
* @description Proof of payment (required for proof_uploaded)
|
|
3326
|
+
*/
|
|
3327
|
+
proof_of_payment?: string | null;
|
|
3328
|
+
/**
|
|
3329
|
+
* User Remark
|
|
3330
|
+
* @description User remark
|
|
3331
|
+
*/
|
|
3332
|
+
user_remark?: string | null;
|
|
3333
|
+
};
|
|
3334
|
+
/**
|
|
3335
|
+
* Currency
|
|
3336
|
+
* @enum {string}
|
|
3337
|
+
*/
|
|
3338
|
+
Currency: "USD" | "INR" | "EUR" | "GBP";
|
|
3339
|
+
/** CouponValidateRequest */
|
|
3340
|
+
CouponValidateRequest: {
|
|
3304
3341
|
/** Coupon Code */
|
|
3305
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;
|
|
3353
|
+
/**
|
|
3354
|
+
* Test Mode
|
|
3355
|
+
* @default false
|
|
3356
|
+
*/
|
|
3357
|
+
test_mode: boolean;
|
|
3306
3358
|
};
|
|
3307
|
-
|
|
3308
|
-
|
|
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: {
|
|
3370
|
+
/**
|
|
3371
|
+
* Payment Id
|
|
3372
|
+
* @description Payment ID to refund
|
|
3373
|
+
*/
|
|
3374
|
+
payment_id: string;
|
|
3375
|
+
/**
|
|
3376
|
+
* Company Id
|
|
3377
|
+
* @description Company ID
|
|
3378
|
+
*/
|
|
3379
|
+
company_id: number;
|
|
3380
|
+
/**
|
|
3381
|
+
* Refund Amount
|
|
3382
|
+
* @description Refund amount (None for full refund)
|
|
3383
|
+
*/
|
|
3384
|
+
refund_amount?: number | null;
|
|
3385
|
+
/**
|
|
3386
|
+
* Reason
|
|
3387
|
+
* @description Refund reason
|
|
3388
|
+
*/
|
|
3389
|
+
reason?: string | null;
|
|
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;
|
|
3309
3413
|
};
|
|
3310
3414
|
/**
|
|
3311
3415
|
* CouponBulkCreateRequest
|
|
@@ -3368,325 +3472,78 @@ export interface components {
|
|
|
3368
3472
|
*/
|
|
3369
3473
|
owner?: number | null;
|
|
3370
3474
|
};
|
|
3371
|
-
/**
|
|
3372
|
-
|
|
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"];
|
|
3475
|
+
/** OfflinePaymentRequest */
|
|
3476
|
+
OfflinePaymentRequest: {
|
|
3386
3477
|
/**
|
|
3387
3478
|
* Amount
|
|
3388
|
-
* @
|
|
3479
|
+
* @description Payment amount
|
|
3389
3480
|
*/
|
|
3390
3481
|
amount: number;
|
|
3391
|
-
/** @example USD */
|
|
3392
|
-
currency: components["schemas"]["Currency"];
|
|
3393
3482
|
/**
|
|
3394
|
-
*
|
|
3395
|
-
* @
|
|
3483
|
+
* Currency
|
|
3484
|
+
* @description Currency code (e.g., USD)
|
|
3396
3485
|
*/
|
|
3397
|
-
|
|
3486
|
+
currency: string;
|
|
3398
3487
|
/**
|
|
3399
|
-
*
|
|
3400
|
-
* @
|
|
3401
|
-
* @example false
|
|
3488
|
+
* Company Id
|
|
3489
|
+
* @description Company ID
|
|
3402
3490
|
*/
|
|
3403
|
-
|
|
3404
|
-
/** @example month */
|
|
3405
|
-
interval?: components["schemas"]["Interval"] | null;
|
|
3491
|
+
company_id: number;
|
|
3406
3492
|
/**
|
|
3407
|
-
*
|
|
3408
|
-
* @
|
|
3493
|
+
* Order Id
|
|
3494
|
+
* @description Order ID
|
|
3409
3495
|
*/
|
|
3410
|
-
|
|
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;
|
|
3503
|
+
};
|
|
3504
|
+
StandardResponse_CartItemResponseData_: {
|
|
3505
|
+
[key: string]: unknown;
|
|
3506
|
+
};
|
|
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"];
|
|
3521
|
+
};
|
|
3522
|
+
/**
|
|
3523
|
+
* PriceType
|
|
3524
|
+
* @enum {string}
|
|
3525
|
+
*/
|
|
3526
|
+
PriceType: "free" | "subscription" | "onetime" | "emi";
|
|
3527
|
+
StandardResponse_CartItemDetail_: {
|
|
3528
|
+
[key: string]: unknown;
|
|
3529
|
+
};
|
|
3530
|
+
/** SavePaymentMethodRequest */
|
|
3531
|
+
SavePaymentMethodRequest: {
|
|
3411
3532
|
/**
|
|
3412
|
-
*
|
|
3413
|
-
* @
|
|
3414
|
-
* @example 0
|
|
3533
|
+
* Gateway
|
|
3534
|
+
* @description Payment gateway (stripe, razorpay, etc)
|
|
3415
3535
|
*/
|
|
3416
|
-
|
|
3536
|
+
gateway: string;
|
|
3417
3537
|
/**
|
|
3418
|
-
*
|
|
3419
|
-
* @
|
|
3538
|
+
* Gateway Payment Method Id
|
|
3539
|
+
* @description Gateway payment method token/ID
|
|
3420
3540
|
*/
|
|
3421
|
-
|
|
3541
|
+
gateway_payment_method_id: string;
|
|
3422
3542
|
/**
|
|
3423
|
-
*
|
|
3424
|
-
* @
|
|
3543
|
+
* Card Last4
|
|
3544
|
+
* @description Last 4 digits of card
|
|
3425
3545
|
*/
|
|
3426
|
-
|
|
3427
|
-
/**
|
|
3428
|
-
* Object Id
|
|
3429
|
-
* @example 0
|
|
3430
|
-
*/
|
|
3431
|
-
object_id?: number | null;
|
|
3432
|
-
/**
|
|
3433
|
-
* Module Id
|
|
3434
|
-
* @example 0
|
|
3435
|
-
*/
|
|
3436
|
-
module_id?: number | null;
|
|
3437
|
-
/**
|
|
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
|
|
3442
|
-
*/
|
|
3443
|
-
requires_payment_method_upfront: boolean;
|
|
3444
|
-
};
|
|
3445
|
-
/** OrderCreateRequest */
|
|
3446
|
-
OrderCreateRequest: {
|
|
3447
|
-
/** Company Id */
|
|
3448
|
-
company_id: number;
|
|
3449
|
-
/**
|
|
3450
|
-
* Recovery Token
|
|
3451
|
-
* @description Cart recovery token from abandoned cart email link (enables recovery attribution)
|
|
3452
|
-
*/
|
|
3453
|
-
recovery_token?: string | null;
|
|
3454
|
-
};
|
|
3455
|
-
StandardResponse_MergeCartResponseData_: {
|
|
3456
|
-
[key: string]: unknown;
|
|
3457
|
-
};
|
|
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;
|
|
3470
|
-
};
|
|
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;
|
|
3490
|
-
};
|
|
3491
|
-
/** UpdateOrderStatusRequest */
|
|
3492
|
-
UpdateOrderStatusRequest: {
|
|
3493
|
-
/** Status */
|
|
3494
|
-
status: string;
|
|
3495
|
-
};
|
|
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: {
|
|
3507
|
-
/**
|
|
3508
|
-
* Status
|
|
3509
|
-
* @description Status: completed or failed
|
|
3510
|
-
*/
|
|
3511
|
-
status: string;
|
|
3512
|
-
/**
|
|
3513
|
-
* Admin Remark
|
|
3514
|
-
* @description Admin remark
|
|
3515
|
-
*/
|
|
3516
|
-
admin_remark?: string | null;
|
|
3517
|
-
};
|
|
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;
|
|
3528
|
-
};
|
|
3529
|
-
Extensions: {
|
|
3530
|
-
/** @example GENERIC_ERROR */
|
|
3531
|
-
message_code?: string;
|
|
3532
|
-
/** @example [] */
|
|
3533
|
-
invalid_params?: components["schemas"]["InvalidParam"][];
|
|
3534
|
-
extra_data?: Record<string, never> | null;
|
|
3535
|
-
/** @example Detailed debug information */
|
|
3536
|
-
debug?: string | null;
|
|
3537
|
-
};
|
|
3538
|
-
StandardResponse_ClearCartResponseData_: {
|
|
3539
|
-
[key: string]: unknown;
|
|
3540
|
-
};
|
|
3541
|
-
ErrorResponse: {
|
|
3542
|
-
/** @example about:blank */
|
|
3543
|
-
type?: string;
|
|
3544
|
-
/** @example GENERIC_ERROR */
|
|
3545
|
-
code?: string;
|
|
3546
|
-
/** @example Client Error */
|
|
3547
|
-
title?: string;
|
|
3548
|
-
/** @example 400 */
|
|
3549
|
-
status?: number;
|
|
3550
|
-
/** @example An error occurred */
|
|
3551
|
-
detail?: string;
|
|
3552
|
-
/** @example /v1/cart/items */
|
|
3553
|
-
instance?: string;
|
|
3554
|
-
extensions?: components["schemas"]["Extensions"];
|
|
3555
|
-
};
|
|
3556
|
-
/** SendInvoiceRequest */
|
|
3557
|
-
SendInvoiceRequest: {
|
|
3558
|
-
/**
|
|
3559
|
-
* Recipient Email
|
|
3560
|
-
* @description Email address to send invoice
|
|
3561
|
-
*/
|
|
3562
|
-
recipient_email: string;
|
|
3563
|
-
};
|
|
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;
|
|
3578
|
-
};
|
|
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;
|
|
3589
|
-
/**
|
|
3590
|
-
* Company Id
|
|
3591
|
-
* @description Company ID (required for gateway config lookup)
|
|
3592
|
-
*/
|
|
3593
|
-
company_id: number;
|
|
3594
|
-
/**
|
|
3595
|
-
* Email
|
|
3596
|
-
* @description Email to sync (defaults to current user)
|
|
3597
|
-
*/
|
|
3598
|
-
email?: string | null;
|
|
3599
|
-
/**
|
|
3600
|
-
* Force Create
|
|
3601
|
-
* @description Force create new customer even if exists
|
|
3602
|
-
* @default false
|
|
3603
|
-
*/
|
|
3604
|
-
force_create: boolean;
|
|
3605
|
-
};
|
|
3606
|
-
/** CouponUpdateRequest */
|
|
3607
|
-
CouponUpdateRequest: {
|
|
3608
|
-
/** Coupon Name */
|
|
3609
|
-
coupon_name?: string | null;
|
|
3610
|
-
/** Duration */
|
|
3611
|
-
duration?: string | null;
|
|
3612
|
-
/** Duration In Months */
|
|
3613
|
-
duration_in_months?: number | null;
|
|
3614
|
-
/** Amount Off */
|
|
3615
|
-
amount_off?: number | null;
|
|
3616
|
-
/** Currency */
|
|
3617
|
-
currency?: string | null;
|
|
3618
|
-
/** Percent Off */
|
|
3619
|
-
percent_off?: number | null;
|
|
3620
|
-
/**
|
|
3621
|
-
* Redeem From
|
|
3622
|
-
* @description Coupon valid from datetime (YYYY-MM-DD HH:MM:SS)
|
|
3623
|
-
*/
|
|
3624
|
-
redeem_from?: string | null;
|
|
3625
|
-
/**
|
|
3626
|
-
* Redeem By
|
|
3627
|
-
* @description Coupon expiry datetime (YYYY-MM-DD HH:MM:SS)
|
|
3628
|
-
*/
|
|
3629
|
-
redeem_by?: string | null;
|
|
3630
|
-
/** Max Redemptions */
|
|
3631
|
-
max_redemptions?: number | null;
|
|
3632
|
-
/** Site Wide */
|
|
3633
|
-
site_wide?: boolean | null;
|
|
3634
|
-
/** Applies To */
|
|
3635
|
-
applies_to?: {
|
|
3636
|
-
[key: string]: unknown;
|
|
3637
|
-
} | null;
|
|
3638
|
-
/** Coupon Data */
|
|
3639
|
-
coupon_data?: {
|
|
3640
|
-
[key: string]: unknown;
|
|
3641
|
-
} | null;
|
|
3642
|
-
/** Applicable Gateways */
|
|
3643
|
-
applicable_gateways?: string[] | null;
|
|
3644
|
-
/** Min Order Amount */
|
|
3645
|
-
min_order_amount?: number | null;
|
|
3646
|
-
};
|
|
3647
|
-
/**
|
|
3648
|
-
* PriceType
|
|
3649
|
-
* @enum {string}
|
|
3650
|
-
*/
|
|
3651
|
-
PriceType: "free" | "subscription" | "onetime" | "emi";
|
|
3652
|
-
/** AttachGuestDetailsRequest */
|
|
3653
|
-
AttachGuestDetailsRequest: {
|
|
3654
|
-
guest_details: components["schemas"]["GuestDetails"];
|
|
3655
|
-
};
|
|
3656
|
-
/** CartItem */
|
|
3657
|
-
CartItem: {
|
|
3658
|
-
/** Product Id */
|
|
3659
|
-
product_id: number;
|
|
3660
|
-
/** Product Pricing Id */
|
|
3661
|
-
product_pricing_id?: number | null;
|
|
3662
|
-
/**
|
|
3663
|
-
* Sub Product Id
|
|
3664
|
-
* @default 0
|
|
3665
|
-
*/
|
|
3666
|
-
sub_product_id: number | null;
|
|
3667
|
-
/**
|
|
3668
|
-
* Quantity
|
|
3669
|
-
* @default 1
|
|
3670
|
-
*/
|
|
3671
|
-
quantity: number | null;
|
|
3672
|
-
};
|
|
3673
|
-
/** SavePaymentMethodRequest */
|
|
3674
|
-
SavePaymentMethodRequest: {
|
|
3675
|
-
/**
|
|
3676
|
-
* Gateway
|
|
3677
|
-
* @description Payment gateway (stripe, razorpay, etc)
|
|
3678
|
-
*/
|
|
3679
|
-
gateway: string;
|
|
3680
|
-
/**
|
|
3681
|
-
* Gateway Payment Method Id
|
|
3682
|
-
* @description Gateway payment method token/ID
|
|
3683
|
-
*/
|
|
3684
|
-
gateway_payment_method_id: string;
|
|
3685
|
-
/**
|
|
3686
|
-
* Card Last4
|
|
3687
|
-
* @description Last 4 digits of card
|
|
3688
|
-
*/
|
|
3689
|
-
card_last4?: string | null;
|
|
3546
|
+
card_last4?: string | null;
|
|
3690
3547
|
/**
|
|
3691
3548
|
* Card Brand
|
|
3692
3549
|
* @description Card brand (Visa, Mastercard, etc)
|
|
@@ -3719,38 +3576,55 @@ export interface components {
|
|
|
3719
3576
|
*/
|
|
3720
3577
|
is_default: boolean;
|
|
3721
3578
|
};
|
|
3722
|
-
/**
|
|
3723
|
-
|
|
3724
|
-
* @description Request model for initiating wallet top-up
|
|
3725
|
-
*
|
|
3726
|
-
* Example:
|
|
3727
|
-
* {
|
|
3728
|
-
* "amount": 1000.00,
|
|
3729
|
-
* "company_id": 5
|
|
3730
|
-
* }
|
|
3731
|
-
*/
|
|
3732
|
-
InitiateTopupRequest: {
|
|
3579
|
+
/** InitPaymentRequest */
|
|
3580
|
+
InitPaymentRequest: {
|
|
3733
3581
|
/**
|
|
3734
|
-
*
|
|
3735
|
-
* @description
|
|
3582
|
+
* Order Id
|
|
3583
|
+
* @description Order ID (external order_id like ord_xxx)
|
|
3736
3584
|
*/
|
|
3737
|
-
|
|
3585
|
+
order_id: string;
|
|
3738
3586
|
/**
|
|
3739
3587
|
* Company Id
|
|
3740
3588
|
* @description Company ID
|
|
3741
3589
|
*/
|
|
3742
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;
|
|
3607
|
+
/**
|
|
3608
|
+
* Coupon Code
|
|
3609
|
+
* @description Coupon code to apply (optional)
|
|
3610
|
+
*/
|
|
3611
|
+
coupon_code?: string | null;
|
|
3612
|
+
/**
|
|
3613
|
+
* Return Url
|
|
3614
|
+
* @description URL to redirect after payment
|
|
3615
|
+
*/
|
|
3616
|
+
return_url?: string | null;
|
|
3743
3617
|
};
|
|
3744
|
-
/**
|
|
3745
|
-
|
|
3746
|
-
/**
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3618
|
+
/** WalletCreditDebitRequest */
|
|
3619
|
+
WalletCreditDebitRequest: {
|
|
3620
|
+
/**
|
|
3621
|
+
* User Id
|
|
3622
|
+
* @description User ID to credit/debit
|
|
3623
|
+
*/
|
|
3624
|
+
user_id: number;
|
|
3751
3625
|
/**
|
|
3752
3626
|
* Amount
|
|
3753
|
-
* @description
|
|
3627
|
+
* @description Amount to credit/debit
|
|
3754
3628
|
*/
|
|
3755
3629
|
amount: number;
|
|
3756
3630
|
/**
|
|
@@ -3759,17 +3633,29 @@ export interface components {
|
|
|
3759
3633
|
*/
|
|
3760
3634
|
currency: string;
|
|
3761
3635
|
/**
|
|
3762
|
-
*
|
|
3763
|
-
* @description
|
|
3636
|
+
* Reason
|
|
3637
|
+
* @description Reason for credit/debit
|
|
3764
3638
|
*/
|
|
3765
|
-
|
|
3639
|
+
reason: string;
|
|
3766
3640
|
};
|
|
3767
|
-
/**
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
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: {
|
|
3773
3659
|
/** Coupon Name */
|
|
3774
3660
|
coupon_name: string;
|
|
3775
3661
|
/** Coupon Code */
|
|
@@ -3821,95 +3707,23 @@ export interface components {
|
|
|
3821
3707
|
applicable_gateways: string[];
|
|
3822
3708
|
/** Min Order Amount */
|
|
3823
3709
|
min_order_amount?: number | null;
|
|
3824
|
-
/**
|
|
3825
|
-
* Owner
|
|
3826
|
-
* @description User ID who will own the coupon (defaults to creator if not specified)
|
|
3827
|
-
*/
|
|
3828
|
-
owner?: number | null;
|
|
3829
3710
|
};
|
|
3830
|
-
|
|
3711
|
+
StandardResponse_CartResponseData_: {
|
|
3831
3712
|
[key: string]: unknown;
|
|
3832
3713
|
};
|
|
3833
|
-
/**
|
|
3834
|
-
|
|
3835
|
-
/**
|
|
3836
|
-
* User Remark
|
|
3837
|
-
* @description User remark for cancellation
|
|
3838
|
-
*/
|
|
3839
|
-
user_remark?: string | null;
|
|
3840
|
-
/**
|
|
3841
|
-
* Admin Remark
|
|
3842
|
-
* @description Admin remark for cancellation
|
|
3843
|
-
*/
|
|
3844
|
-
admin_remark?: string | null;
|
|
3845
|
-
};
|
|
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"];
|
|
3872
|
-
};
|
|
3873
|
-
/**
|
|
3874
|
-
* Currency
|
|
3875
|
-
* @enum {string}
|
|
3876
|
-
*/
|
|
3877
|
-
Currency: "USD" | "INR" | "EUR" | "GBP";
|
|
3878
|
-
/** VerifyPaymentRequest */
|
|
3879
|
-
VerifyPaymentRequest: {
|
|
3880
|
-
/**
|
|
3881
|
-
* Payment Id
|
|
3882
|
-
* @description Blezgo payment ID
|
|
3883
|
-
*/
|
|
3884
|
-
payment_id: string;
|
|
3885
|
-
/**
|
|
3886
|
-
* Gateway Payment Id
|
|
3887
|
-
* @description Gateway payment/transaction ID
|
|
3888
|
-
*/
|
|
3889
|
-
gateway_payment_id?: string | null;
|
|
3890
|
-
};
|
|
3891
|
-
/** WalletCreditDebitRequest */
|
|
3892
|
-
WalletCreditDebitRequest: {
|
|
3893
|
-
/**
|
|
3894
|
-
* User Id
|
|
3895
|
-
* @description User ID to credit/debit
|
|
3896
|
-
*/
|
|
3897
|
-
user_id: number;
|
|
3898
|
-
/**
|
|
3899
|
-
* Amount
|
|
3900
|
-
* @description Amount to credit/debit
|
|
3901
|
-
*/
|
|
3902
|
-
amount: number;
|
|
3714
|
+
/** CancelSubscriptionRequest */
|
|
3715
|
+
CancelSubscriptionRequest: {
|
|
3903
3716
|
/**
|
|
3904
|
-
*
|
|
3905
|
-
* @description
|
|
3717
|
+
* Cancel At Period End
|
|
3718
|
+
* @description Cancel at end of billing period
|
|
3719
|
+
* @default true
|
|
3906
3720
|
*/
|
|
3907
|
-
|
|
3721
|
+
cancel_at_period_end: boolean;
|
|
3908
3722
|
/**
|
|
3909
3723
|
* Reason
|
|
3910
|
-
* @description
|
|
3724
|
+
* @description Cancellation reason
|
|
3911
3725
|
*/
|
|
3912
|
-
reason
|
|
3726
|
+
reason?: string | null;
|
|
3913
3727
|
};
|
|
3914
3728
|
/** AddPaymentMethodRequest */
|
|
3915
3729
|
AddPaymentMethodRequest: {
|
|
@@ -3924,28 +3738,31 @@ export interface components {
|
|
|
3924
3738
|
*/
|
|
3925
3739
|
gateway: string;
|
|
3926
3740
|
};
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
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
|
+
/**
|
|
3753
|
+
* Quantity
|
|
3754
|
+
* @default 1
|
|
3755
|
+
*/
|
|
3756
|
+
quantity: number | null;
|
|
3935
3757
|
};
|
|
3936
|
-
/**
|
|
3937
|
-
|
|
3758
|
+
/** CouponUpdateRequest */
|
|
3759
|
+
CouponUpdateRequest: {
|
|
3938
3760
|
/** Coupon Name */
|
|
3939
|
-
coupon_name
|
|
3940
|
-
/** Coupon Code */
|
|
3941
|
-
coupon_code: string;
|
|
3761
|
+
coupon_name?: string | null;
|
|
3942
3762
|
/** Duration */
|
|
3943
3763
|
duration?: string | null;
|
|
3944
|
-
/**
|
|
3945
|
-
|
|
3946
|
-
* @default 0
|
|
3947
|
-
*/
|
|
3948
|
-
duration_in_months: number;
|
|
3764
|
+
/** Duration In Months */
|
|
3765
|
+
duration_in_months?: number | null;
|
|
3949
3766
|
/** Amount Off */
|
|
3950
3767
|
amount_off?: number | null;
|
|
3951
3768
|
/** Currency */
|
|
@@ -3962,16 +3779,10 @@ export interface components {
|
|
|
3962
3779
|
* @description Coupon expiry datetime (YYYY-MM-DD HH:MM:SS)
|
|
3963
3780
|
*/
|
|
3964
3781
|
redeem_by?: string | null;
|
|
3965
|
-
/**
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
max_redemptions: number;
|
|
3970
|
-
/**
|
|
3971
|
-
* Site Wide
|
|
3972
|
-
* @default true
|
|
3973
|
-
*/
|
|
3974
|
-
site_wide: boolean;
|
|
3782
|
+
/** Max Redemptions */
|
|
3783
|
+
max_redemptions?: number | null;
|
|
3784
|
+
/** Site Wide */
|
|
3785
|
+
site_wide?: boolean | null;
|
|
3975
3786
|
/** Applies To */
|
|
3976
3787
|
applies_to?: {
|
|
3977
3788
|
[key: string]: unknown;
|
|
@@ -3980,118 +3791,135 @@ export interface components {
|
|
|
3980
3791
|
coupon_data?: {
|
|
3981
3792
|
[key: string]: unknown;
|
|
3982
3793
|
} | null;
|
|
3983
|
-
/** Company Id */
|
|
3984
|
-
company_id: number;
|
|
3985
3794
|
/** Applicable Gateways */
|
|
3986
|
-
applicable_gateways
|
|
3795
|
+
applicable_gateways?: string[] | null;
|
|
3987
3796
|
/** Min Order Amount */
|
|
3988
3797
|
min_order_amount?: number | null;
|
|
3989
3798
|
};
|
|
3990
|
-
|
|
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_: {
|
|
3991
3827
|
[key: string]: unknown;
|
|
3992
3828
|
};
|
|
3993
|
-
/**
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
* Amount
|
|
3997
|
-
* @description Payment amount
|
|
3998
|
-
*/
|
|
3999
|
-
amount: number;
|
|
4000
|
-
/**
|
|
4001
|
-
* Currency
|
|
4002
|
-
* @description Currency code (e.g., USD)
|
|
4003
|
-
*/
|
|
4004
|
-
currency: string;
|
|
4005
|
-
/**
|
|
4006
|
-
* Company Id
|
|
4007
|
-
* @description Company ID
|
|
4008
|
-
*/
|
|
4009
|
-
company_id: number;
|
|
4010
|
-
/**
|
|
4011
|
-
* Order Id
|
|
4012
|
-
* @description Order ID
|
|
4013
|
-
*/
|
|
4014
|
-
order_id: string;
|
|
3829
|
+
/** AttachGuestDetailsRequest */
|
|
3830
|
+
AttachGuestDetailsRequest: {
|
|
3831
|
+
guest_details: components["schemas"]["GuestDetails"];
|
|
4015
3832
|
};
|
|
4016
|
-
/**
|
|
4017
|
-
|
|
4018
|
-
/**
|
|
4019
|
-
* Order Id
|
|
4020
|
-
* @description Order ID (external ord_xxx format)
|
|
4021
|
-
*/
|
|
4022
|
-
order_id: string;
|
|
4023
|
-
/**
|
|
4024
|
-
* Company Id
|
|
4025
|
-
* @description Company ID
|
|
4026
|
-
*/
|
|
4027
|
-
company_id: number;
|
|
3833
|
+
/** VerifyPaymentRequest */
|
|
3834
|
+
VerifyPaymentRequest: {
|
|
4028
3835
|
/**
|
|
4029
|
-
*
|
|
4030
|
-
* @description
|
|
3836
|
+
* Payment Id
|
|
3837
|
+
* @description Blezgo payment ID
|
|
4031
3838
|
*/
|
|
4032
|
-
|
|
3839
|
+
payment_id: string;
|
|
4033
3840
|
/**
|
|
4034
|
-
* Payment
|
|
4035
|
-
* @description
|
|
3841
|
+
* Gateway Payment Id
|
|
3842
|
+
* @description Gateway payment/transaction ID
|
|
4036
3843
|
*/
|
|
4037
|
-
|
|
3844
|
+
gateway_payment_id?: string | null;
|
|
3845
|
+
};
|
|
3846
|
+
/** AdminStatusVerifyRequest */
|
|
3847
|
+
AdminStatusVerifyRequest: {
|
|
4038
3848
|
/**
|
|
4039
|
-
*
|
|
4040
|
-
* @description
|
|
4041
|
-
* @default false
|
|
3849
|
+
* Status
|
|
3850
|
+
* @description Status: completed or failed
|
|
4042
3851
|
*/
|
|
4043
|
-
|
|
3852
|
+
status: string;
|
|
4044
3853
|
/**
|
|
4045
|
-
*
|
|
4046
|
-
* @description
|
|
3854
|
+
* Admin Remark
|
|
3855
|
+
* @description Admin remark
|
|
4047
3856
|
*/
|
|
4048
|
-
|
|
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: {
|
|
4049
3873
|
/**
|
|
4050
|
-
*
|
|
4051
|
-
* @description
|
|
3874
|
+
* Recipient Email
|
|
3875
|
+
* @description Email address to send invoice
|
|
4052
3876
|
*/
|
|
4053
|
-
|
|
3877
|
+
recipient_email: string;
|
|
4054
3878
|
};
|
|
4055
|
-
/**
|
|
4056
|
-
|
|
3879
|
+
/** WalletPaymentRequest */
|
|
3880
|
+
WalletPaymentRequest: {
|
|
4057
3881
|
/**
|
|
4058
|
-
*
|
|
4059
|
-
* @description
|
|
3882
|
+
* Amount
|
|
3883
|
+
* @description Payment amount
|
|
4060
3884
|
*/
|
|
4061
|
-
|
|
3885
|
+
amount: number;
|
|
4062
3886
|
/**
|
|
4063
|
-
*
|
|
4064
|
-
* @description
|
|
3887
|
+
* Currency
|
|
3888
|
+
* @description Currency code (e.g., USD)
|
|
4065
3889
|
*/
|
|
4066
|
-
|
|
3890
|
+
currency: string;
|
|
4067
3891
|
/**
|
|
4068
|
-
*
|
|
4069
|
-
* @description
|
|
3892
|
+
* Order Id
|
|
3893
|
+
* @description Order ID from order_tbl
|
|
4070
3894
|
*/
|
|
4071
|
-
|
|
3895
|
+
order_id: string;
|
|
4072
3896
|
};
|
|
4073
|
-
/**
|
|
4074
|
-
|
|
3897
|
+
/**
|
|
3898
|
+
* SyncCustomerRequest
|
|
3899
|
+
* @description Request to sync customer to payment gateway
|
|
3900
|
+
*/
|
|
3901
|
+
SyncCustomerRequest: {
|
|
4075
3902
|
/**
|
|
4076
|
-
*
|
|
4077
|
-
* @description
|
|
3903
|
+
* Gateway
|
|
3904
|
+
* @description Gateway (stripe, razorpay, paypal, athmovil)
|
|
4078
3905
|
*/
|
|
4079
|
-
|
|
3906
|
+
gateway: string;
|
|
4080
3907
|
/**
|
|
4081
3908
|
* Company Id
|
|
4082
|
-
* @description Company ID
|
|
3909
|
+
* @description Company ID (required for gateway config lookup)
|
|
4083
3910
|
*/
|
|
4084
3911
|
company_id: number;
|
|
4085
3912
|
/**
|
|
4086
|
-
*
|
|
4087
|
-
* @description
|
|
3913
|
+
* Email
|
|
3914
|
+
* @description Email to sync (defaults to current user)
|
|
4088
3915
|
*/
|
|
4089
|
-
|
|
3916
|
+
email?: string | null;
|
|
4090
3917
|
/**
|
|
4091
|
-
*
|
|
4092
|
-
* @description
|
|
3918
|
+
* Force Create
|
|
3919
|
+
* @description Force create new customer even if exists
|
|
3920
|
+
* @default false
|
|
4093
3921
|
*/
|
|
4094
|
-
|
|
3922
|
+
force_create: boolean;
|
|
4095
3923
|
};
|
|
4096
3924
|
/**
|
|
4097
3925
|
* GuestDetails
|
|
@@ -4154,11 +3982,183 @@ export interface components {
|
|
|
4154
3982
|
*/
|
|
4155
3983
|
country?: string | null;
|
|
4156
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
|
+
};
|
|
4010
|
+
/**
|
|
4011
|
+
* Interval
|
|
4012
|
+
* @enum {string}
|
|
4013
|
+
*/
|
|
4014
|
+
Interval: "day" | "week" | "month" | "year";
|
|
4157
4015
|
/** CartItemRequest */
|
|
4158
4016
|
CartItemRequest: {
|
|
4159
4017
|
/** Items */
|
|
4160
4018
|
items: components["schemas"]["CartItem"][];
|
|
4161
4019
|
};
|
|
4020
|
+
/** PriceRequest */
|
|
4021
|
+
PriceRequest: {
|
|
4022
|
+
/**
|
|
4023
|
+
* Company Id
|
|
4024
|
+
* @description Company ID for gateway configuration
|
|
4025
|
+
* @example 1
|
|
4026
|
+
*/
|
|
4027
|
+
company_id: number;
|
|
4028
|
+
/**
|
|
4029
|
+
* Product Id
|
|
4030
|
+
* @example 132
|
|
4031
|
+
*/
|
|
4032
|
+
product_id: number;
|
|
4033
|
+
/** @example subscription */
|
|
4034
|
+
price_type: components["schemas"]["PriceType"];
|
|
4035
|
+
/**
|
|
4036
|
+
* Amount
|
|
4037
|
+
* @example 52
|
|
4038
|
+
*/
|
|
4039
|
+
amount: number;
|
|
4040
|
+
/** @example USD */
|
|
4041
|
+
currency: components["schemas"]["Currency"];
|
|
4042
|
+
/**
|
|
4043
|
+
* Gateway
|
|
4044
|
+
* @example stripe
|
|
4045
|
+
*/
|
|
4046
|
+
gateway?: string | null;
|
|
4047
|
+
/**
|
|
4048
|
+
* Is Live
|
|
4049
|
+
* @default false
|
|
4050
|
+
* @example false
|
|
4051
|
+
*/
|
|
4052
|
+
is_live: boolean;
|
|
4053
|
+
/** @example month */
|
|
4054
|
+
interval?: components["schemas"]["Interval"] | null;
|
|
4055
|
+
/**
|
|
4056
|
+
* Interval Count
|
|
4057
|
+
* @example 1
|
|
4058
|
+
*/
|
|
4059
|
+
interval_count?: number | null;
|
|
4060
|
+
/**
|
|
4061
|
+
* Trial Period Days
|
|
4062
|
+
* @default 0
|
|
4063
|
+
* @example 0
|
|
4064
|
+
*/
|
|
4065
|
+
trial_period_days: number | null;
|
|
4066
|
+
/**
|
|
4067
|
+
* Initial Amount
|
|
4068
|
+
* @example 0
|
|
4069
|
+
*/
|
|
4070
|
+
initial_amount?: number | null;
|
|
4071
|
+
/**
|
|
4072
|
+
* Compare Price
|
|
4073
|
+
* @example 0
|
|
4074
|
+
*/
|
|
4075
|
+
compare_price?: number | null;
|
|
4076
|
+
/**
|
|
4077
|
+
* Object Id
|
|
4078
|
+
* @example 0
|
|
4079
|
+
*/
|
|
4080
|
+
object_id?: number | null;
|
|
4081
|
+
/**
|
|
4082
|
+
* Module Id
|
|
4083
|
+
* @example 0
|
|
4084
|
+
*/
|
|
4085
|
+
module_id?: number | null;
|
|
4086
|
+
/**
|
|
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
|
|
4091
|
+
*/
|
|
4092
|
+
requires_payment_method_upfront: boolean;
|
|
4093
|
+
};
|
|
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: {
|
|
4105
|
+
/** Coupon Name */
|
|
4106
|
+
coupon_name: string;
|
|
4107
|
+
/** Coupon Code */
|
|
4108
|
+
coupon_code: string;
|
|
4109
|
+
/** Duration */
|
|
4110
|
+
duration?: string | null;
|
|
4111
|
+
/**
|
|
4112
|
+
* Duration In Months
|
|
4113
|
+
* @default 0
|
|
4114
|
+
*/
|
|
4115
|
+
duration_in_months: number;
|
|
4116
|
+
/** Amount Off */
|
|
4117
|
+
amount_off?: number | null;
|
|
4118
|
+
/** Currency */
|
|
4119
|
+
currency?: string | null;
|
|
4120
|
+
/** Percent Off */
|
|
4121
|
+
percent_off?: number | null;
|
|
4122
|
+
/**
|
|
4123
|
+
* Redeem From
|
|
4124
|
+
* @description Coupon valid from datetime (YYYY-MM-DD HH:MM:SS)
|
|
4125
|
+
*/
|
|
4126
|
+
redeem_from?: string | null;
|
|
4127
|
+
/**
|
|
4128
|
+
* Redeem By
|
|
4129
|
+
* @description Coupon expiry datetime (YYYY-MM-DD HH:MM:SS)
|
|
4130
|
+
*/
|
|
4131
|
+
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;
|
|
4142
|
+
/** Applies To */
|
|
4143
|
+
applies_to?: {
|
|
4144
|
+
[key: string]: unknown;
|
|
4145
|
+
} | null;
|
|
4146
|
+
/** Coupon Data */
|
|
4147
|
+
coupon_data?: {
|
|
4148
|
+
[key: string]: unknown;
|
|
4149
|
+
} | null;
|
|
4150
|
+
/** Company Id */
|
|
4151
|
+
company_id: number;
|
|
4152
|
+
/** Applicable Gateways */
|
|
4153
|
+
applicable_gateways: string[];
|
|
4154
|
+
/** Min Order Amount */
|
|
4155
|
+
min_order_amount?: number | null;
|
|
4156
|
+
/**
|
|
4157
|
+
* Owner
|
|
4158
|
+
* @description User ID who will own the coupon (defaults to creator if not specified)
|
|
4159
|
+
*/
|
|
4160
|
+
owner?: number | null;
|
|
4161
|
+
};
|
|
4162
4162
|
};
|
|
4163
4163
|
responses: never;
|
|
4164
4164
|
parameters: never;
|
|
@@ -16316,7 +16316,7 @@ export interface operations {
|
|
|
16316
16316
|
authorization?: string | null;
|
|
16317
16317
|
};
|
|
16318
16318
|
path: {
|
|
16319
|
-
user_id:
|
|
16319
|
+
user_id: string;
|
|
16320
16320
|
};
|
|
16321
16321
|
cookie?: never;
|
|
16322
16322
|
};
|