@seekora-ai/admin-api 1.2.3 → 1.2.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/README.md +19 -4
- package/api.ts +922 -28
- package/dist/api.d.ts +544 -12
- package/dist/api.js +665 -34
- package/dist/esm/api.d.ts +544 -12
- package/dist/esm/api.js +659 -28
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.2.5.tgz +0 -0
- package/seekora-ai-admin-api-1.2.3.tgz +0 -0
package/dist/esm/api.d.ts
CHANGED
|
@@ -14969,6 +14969,7 @@ export declare const DataTypesCreatePaymentOrderRequestPaymentTypeEnum: {
|
|
|
14969
14969
|
readonly Generic: "generic";
|
|
14970
14970
|
readonly Subscription: "subscription";
|
|
14971
14971
|
readonly CreditTopup: "credit_topup";
|
|
14972
|
+
readonly PlanChange: "plan_change";
|
|
14972
14973
|
};
|
|
14973
14974
|
export type DataTypesCreatePaymentOrderRequestPaymentTypeEnum = typeof DataTypesCreatePaymentOrderRequestPaymentTypeEnum[keyof typeof DataTypesCreatePaymentOrderRequestPaymentTypeEnum];
|
|
14974
14975
|
/**
|
|
@@ -16099,6 +16100,12 @@ export interface DataTypesCurrentPlanInfo {
|
|
|
16099
16100
|
* @memberof DataTypesCurrentPlanInfo
|
|
16100
16101
|
*/
|
|
16101
16102
|
'billing_cycle'?: string;
|
|
16103
|
+
/**
|
|
16104
|
+
* Currency of the subscription (INR, USD)
|
|
16105
|
+
* @type {string}
|
|
16106
|
+
* @memberof DataTypesCurrentPlanInfo
|
|
16107
|
+
*/
|
|
16108
|
+
'currency_code'?: string;
|
|
16102
16109
|
/**
|
|
16103
16110
|
*
|
|
16104
16111
|
* @type {string}
|
|
@@ -22377,6 +22384,18 @@ export interface DataTypesInvoice {
|
|
|
22377
22384
|
* @memberof DataTypesInvoice
|
|
22378
22385
|
*/
|
|
22379
22386
|
'created_at'?: string;
|
|
22387
|
+
/**
|
|
22388
|
+
*
|
|
22389
|
+
* @type {string}
|
|
22390
|
+
* @memberof DataTypesInvoice
|
|
22391
|
+
*/
|
|
22392
|
+
'credit_note_reason'?: string;
|
|
22393
|
+
/**
|
|
22394
|
+
*
|
|
22395
|
+
* @type {string}
|
|
22396
|
+
* @memberof DataTypesInvoice
|
|
22397
|
+
*/
|
|
22398
|
+
'credit_note_status'?: string;
|
|
22380
22399
|
/**
|
|
22381
22400
|
*
|
|
22382
22401
|
* @type {string}
|
|
@@ -22413,6 +22432,12 @@ export interface DataTypesInvoice {
|
|
|
22413
22432
|
* @memberof DataTypesInvoice
|
|
22414
22433
|
*/
|
|
22415
22434
|
'invoice_pdf_url'?: string;
|
|
22435
|
+
/**
|
|
22436
|
+
* Credit note fields (only populated when invoice_type = \'credit_note\')
|
|
22437
|
+
* @type {string}
|
|
22438
|
+
* @memberof DataTypesInvoice
|
|
22439
|
+
*/
|
|
22440
|
+
'invoice_type'?: string;
|
|
22416
22441
|
/**
|
|
22417
22442
|
*
|
|
22418
22443
|
* @type {string}
|
|
@@ -22453,6 +22478,18 @@ export interface DataTypesInvoice {
|
|
|
22453
22478
|
* @memberof DataTypesInvoice
|
|
22454
22479
|
*/
|
|
22455
22480
|
'org_name'?: string;
|
|
22481
|
+
/**
|
|
22482
|
+
*
|
|
22483
|
+
* @type {string}
|
|
22484
|
+
* @memberof DataTypesInvoice
|
|
22485
|
+
*/
|
|
22486
|
+
'original_invoice_id'?: string;
|
|
22487
|
+
/**
|
|
22488
|
+
*
|
|
22489
|
+
* @type {string}
|
|
22490
|
+
* @memberof DataTypesInvoice
|
|
22491
|
+
*/
|
|
22492
|
+
'original_invoice_number'?: string;
|
|
22456
22493
|
/**
|
|
22457
22494
|
*
|
|
22458
22495
|
* @type {string}
|
|
@@ -22495,6 +22532,12 @@ export interface DataTypesInvoice {
|
|
|
22495
22532
|
* @memberof DataTypesInvoice
|
|
22496
22533
|
*/
|
|
22497
22534
|
'receipt_pdf_url'?: string;
|
|
22535
|
+
/**
|
|
22536
|
+
*
|
|
22537
|
+
* @type {number}
|
|
22538
|
+
* @memberof DataTypesInvoice
|
|
22539
|
+
*/
|
|
22540
|
+
'refund_request_id'?: number;
|
|
22498
22541
|
/**
|
|
22499
22542
|
* \"draft\", \"sent\", \"paid\", \"overdue\", \"cancelled\"
|
|
22500
22543
|
* @type {string}
|
|
@@ -22531,6 +22574,12 @@ export interface DataTypesInvoice {
|
|
|
22531
22574
|
* @memberof DataTypesInvoice
|
|
22532
22575
|
*/
|
|
22533
22576
|
'updated_at'?: string;
|
|
22577
|
+
/**
|
|
22578
|
+
*
|
|
22579
|
+
* @type {string}
|
|
22580
|
+
* @memberof DataTypesInvoice
|
|
22581
|
+
*/
|
|
22582
|
+
'voided_at'?: string;
|
|
22534
22583
|
}
|
|
22535
22584
|
/**
|
|
22536
22585
|
*
|
|
@@ -30063,6 +30112,93 @@ export interface DataTypesSendNotificationResponse {
|
|
|
30063
30112
|
*/
|
|
30064
30113
|
'status'?: number;
|
|
30065
30114
|
}
|
|
30115
|
+
/**
|
|
30116
|
+
*
|
|
30117
|
+
* @export
|
|
30118
|
+
* @interface DataTypesSendOrgNotificationData
|
|
30119
|
+
*/
|
|
30120
|
+
export interface DataTypesSendOrgNotificationData {
|
|
30121
|
+
/**
|
|
30122
|
+
*
|
|
30123
|
+
* @type {string}
|
|
30124
|
+
* @memberof DataTypesSendOrgNotificationData
|
|
30125
|
+
*/
|
|
30126
|
+
'scope'?: string;
|
|
30127
|
+
/**
|
|
30128
|
+
*
|
|
30129
|
+
* @type {number}
|
|
30130
|
+
* @memberof DataTypesSendOrgNotificationData
|
|
30131
|
+
*/
|
|
30132
|
+
'sent_count'?: number;
|
|
30133
|
+
}
|
|
30134
|
+
/**
|
|
30135
|
+
*
|
|
30136
|
+
* @export
|
|
30137
|
+
* @interface DataTypesSendOrgNotificationRequest
|
|
30138
|
+
*/
|
|
30139
|
+
export interface DataTypesSendOrgNotificationRequest {
|
|
30140
|
+
/**
|
|
30141
|
+
*
|
|
30142
|
+
* @type {Array<DataTypesNotificationChannel>}
|
|
30143
|
+
* @memberof DataTypesSendOrgNotificationRequest
|
|
30144
|
+
*/
|
|
30145
|
+
'channels'?: Array<DataTypesNotificationChannel>;
|
|
30146
|
+
/**
|
|
30147
|
+
*
|
|
30148
|
+
* @type {string}
|
|
30149
|
+
* @memberof DataTypesSendOrgNotificationRequest
|
|
30150
|
+
*/
|
|
30151
|
+
'message'?: string;
|
|
30152
|
+
/**
|
|
30153
|
+
*
|
|
30154
|
+
* @type {DataTypesNotificationPriority}
|
|
30155
|
+
* @memberof DataTypesSendOrgNotificationRequest
|
|
30156
|
+
*/
|
|
30157
|
+
'priority'?: DataTypesNotificationPriority;
|
|
30158
|
+
/**
|
|
30159
|
+
* \"all\" | \"owners_admins\"
|
|
30160
|
+
* @type {string}
|
|
30161
|
+
* @memberof DataTypesSendOrgNotificationRequest
|
|
30162
|
+
*/
|
|
30163
|
+
'scope'?: string;
|
|
30164
|
+
/**
|
|
30165
|
+
*
|
|
30166
|
+
* @type {string}
|
|
30167
|
+
* @memberof DataTypesSendOrgNotificationRequest
|
|
30168
|
+
*/
|
|
30169
|
+
'title'?: string;
|
|
30170
|
+
/**
|
|
30171
|
+
*
|
|
30172
|
+
* @type {DataTypesNotificationType}
|
|
30173
|
+
* @memberof DataTypesSendOrgNotificationRequest
|
|
30174
|
+
*/
|
|
30175
|
+
'type'?: DataTypesNotificationType;
|
|
30176
|
+
}
|
|
30177
|
+
/**
|
|
30178
|
+
*
|
|
30179
|
+
* @export
|
|
30180
|
+
* @interface DataTypesSendOrgNotificationResponse
|
|
30181
|
+
*/
|
|
30182
|
+
export interface DataTypesSendOrgNotificationResponse {
|
|
30183
|
+
/**
|
|
30184
|
+
*
|
|
30185
|
+
* @type {DataTypesSendOrgNotificationData}
|
|
30186
|
+
* @memberof DataTypesSendOrgNotificationResponse
|
|
30187
|
+
*/
|
|
30188
|
+
'data'?: DataTypesSendOrgNotificationData;
|
|
30189
|
+
/**
|
|
30190
|
+
*
|
|
30191
|
+
* @type {string}
|
|
30192
|
+
* @memberof DataTypesSendOrgNotificationResponse
|
|
30193
|
+
*/
|
|
30194
|
+
'message'?: string;
|
|
30195
|
+
/**
|
|
30196
|
+
*
|
|
30197
|
+
* @type {number}
|
|
30198
|
+
* @memberof DataTypesSendOrgNotificationResponse
|
|
30199
|
+
*/
|
|
30200
|
+
'status'?: number;
|
|
30201
|
+
}
|
|
30066
30202
|
/**
|
|
30067
30203
|
*
|
|
30068
30204
|
* @export
|
|
@@ -40506,6 +40642,87 @@ export interface SubscriptionRouteCancelProcessRequest {
|
|
|
40506
40642
|
*/
|
|
40507
40643
|
'subscription_id'?: string;
|
|
40508
40644
|
}
|
|
40645
|
+
/**
|
|
40646
|
+
*
|
|
40647
|
+
* @export
|
|
40648
|
+
* @interface SubscriptionRouteImmediatePlanChangeOrderHTTPRequest
|
|
40649
|
+
*/
|
|
40650
|
+
export interface SubscriptionRouteImmediatePlanChangeOrderHTTPRequest {
|
|
40651
|
+
/**
|
|
40652
|
+
*
|
|
40653
|
+
* @type {string}
|
|
40654
|
+
* @memberof SubscriptionRouteImmediatePlanChangeOrderHTTPRequest
|
|
40655
|
+
*/
|
|
40656
|
+
'billing_cycle'?: string;
|
|
40657
|
+
/**
|
|
40658
|
+
*
|
|
40659
|
+
* @type {string}
|
|
40660
|
+
* @memberof SubscriptionRouteImmediatePlanChangeOrderHTTPRequest
|
|
40661
|
+
*/
|
|
40662
|
+
'currency'?: string;
|
|
40663
|
+
/**
|
|
40664
|
+
*
|
|
40665
|
+
* @type {string}
|
|
40666
|
+
* @memberof SubscriptionRouteImmediatePlanChangeOrderHTTPRequest
|
|
40667
|
+
*/
|
|
40668
|
+
'new_plan_identifier'?: string;
|
|
40669
|
+
}
|
|
40670
|
+
/**
|
|
40671
|
+
*
|
|
40672
|
+
* @export
|
|
40673
|
+
* @interface SubscriptionRoutePlanChangePreviewHTTPRequest
|
|
40674
|
+
*/
|
|
40675
|
+
export interface SubscriptionRoutePlanChangePreviewHTTPRequest {
|
|
40676
|
+
/**
|
|
40677
|
+
*
|
|
40678
|
+
* @type {string}
|
|
40679
|
+
* @memberof SubscriptionRoutePlanChangePreviewHTTPRequest
|
|
40680
|
+
*/
|
|
40681
|
+
'billing_cycle'?: string;
|
|
40682
|
+
/**
|
|
40683
|
+
*
|
|
40684
|
+
* @type {string}
|
|
40685
|
+
* @memberof SubscriptionRoutePlanChangePreviewHTTPRequest
|
|
40686
|
+
*/
|
|
40687
|
+
'currency'?: string;
|
|
40688
|
+
/**
|
|
40689
|
+
*
|
|
40690
|
+
* @type {number}
|
|
40691
|
+
* @memberof SubscriptionRoutePlanChangePreviewHTTPRequest
|
|
40692
|
+
*/
|
|
40693
|
+
'new_plan_id'?: number;
|
|
40694
|
+
/**
|
|
40695
|
+
*
|
|
40696
|
+
* @type {string}
|
|
40697
|
+
* @memberof SubscriptionRoutePlanChangePreviewHTTPRequest
|
|
40698
|
+
*/
|
|
40699
|
+
'new_plan_identifier'?: string;
|
|
40700
|
+
}
|
|
40701
|
+
/**
|
|
40702
|
+
*
|
|
40703
|
+
* @export
|
|
40704
|
+
* @interface SubscriptionRouteSchedulePlanChangeHTTPRequest
|
|
40705
|
+
*/
|
|
40706
|
+
export interface SubscriptionRouteSchedulePlanChangeHTTPRequest {
|
|
40707
|
+
/**
|
|
40708
|
+
*
|
|
40709
|
+
* @type {string}
|
|
40710
|
+
* @memberof SubscriptionRouteSchedulePlanChangeHTTPRequest
|
|
40711
|
+
*/
|
|
40712
|
+
'billing_cycle'?: string;
|
|
40713
|
+
/**
|
|
40714
|
+
*
|
|
40715
|
+
* @type {string}
|
|
40716
|
+
* @memberof SubscriptionRouteSchedulePlanChangeHTTPRequest
|
|
40717
|
+
*/
|
|
40718
|
+
'currency'?: string;
|
|
40719
|
+
/**
|
|
40720
|
+
*
|
|
40721
|
+
* @type {string}
|
|
40722
|
+
* @memberof SubscriptionRouteSchedulePlanChangeHTTPRequest
|
|
40723
|
+
*/
|
|
40724
|
+
'new_plan_identifier'?: string;
|
|
40725
|
+
}
|
|
40509
40726
|
/**
|
|
40510
40727
|
*
|
|
40511
40728
|
* @export
|
|
@@ -41532,6 +41749,14 @@ export declare const AdminNotificationsApiAxiosParamCreator: (configuration?: Co
|
|
|
41532
41749
|
* @throws {RequiredError}
|
|
41533
41750
|
*/
|
|
41534
41751
|
v1AdminNotificationsSendBulkPost: (dataTypesNotificationBatch: DataTypesNotificationBatch, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
41752
|
+
/**
|
|
41753
|
+
* Sends a notification to all active members of the caller\'s organization. The caller must be an org owner or admin. Scope \"all\" includes every member; \"owners_admins\" targets owners and admins only.
|
|
41754
|
+
* @summary Send org-wide notification (Admin)
|
|
41755
|
+
* @param {DataTypesSendOrgNotificationRequest} dataTypesSendOrgNotificationRequest Org notification details
|
|
41756
|
+
* @param {*} [options] Override http request option.
|
|
41757
|
+
* @throws {RequiredError}
|
|
41758
|
+
*/
|
|
41759
|
+
v1AdminNotificationsSendOrgPost: (dataTypesSendOrgNotificationRequest: DataTypesSendOrgNotificationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
41535
41760
|
/**
|
|
41536
41761
|
* Sends a notification to specified users (requires admin privileges)
|
|
41537
41762
|
* @summary Send notification (Admin)
|
|
@@ -41627,6 +41852,14 @@ export declare const AdminNotificationsApiFp: (configuration?: Configuration) =>
|
|
|
41627
41852
|
* @throws {RequiredError}
|
|
41628
41853
|
*/
|
|
41629
41854
|
v1AdminNotificationsSendBulkPost(dataTypesNotificationBatch: DataTypesNotificationBatch, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesSendBulkNotificationResponse>>;
|
|
41855
|
+
/**
|
|
41856
|
+
* Sends a notification to all active members of the caller\'s organization. The caller must be an org owner or admin. Scope \"all\" includes every member; \"owners_admins\" targets owners and admins only.
|
|
41857
|
+
* @summary Send org-wide notification (Admin)
|
|
41858
|
+
* @param {DataTypesSendOrgNotificationRequest} dataTypesSendOrgNotificationRequest Org notification details
|
|
41859
|
+
* @param {*} [options] Override http request option.
|
|
41860
|
+
* @throws {RequiredError}
|
|
41861
|
+
*/
|
|
41862
|
+
v1AdminNotificationsSendOrgPost(dataTypesSendOrgNotificationRequest: DataTypesSendOrgNotificationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesSendOrgNotificationResponse>>;
|
|
41630
41863
|
/**
|
|
41631
41864
|
* Sends a notification to specified users (requires admin privileges)
|
|
41632
41865
|
* @summary Send notification (Admin)
|
|
@@ -41722,6 +41955,14 @@ export declare const AdminNotificationsApiFactory: (configuration?: Configuratio
|
|
|
41722
41955
|
* @throws {RequiredError}
|
|
41723
41956
|
*/
|
|
41724
41957
|
v1AdminNotificationsSendBulkPost(dataTypesNotificationBatch: DataTypesNotificationBatch, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesSendBulkNotificationResponse>;
|
|
41958
|
+
/**
|
|
41959
|
+
* Sends a notification to all active members of the caller\'s organization. The caller must be an org owner or admin. Scope \"all\" includes every member; \"owners_admins\" targets owners and admins only.
|
|
41960
|
+
* @summary Send org-wide notification (Admin)
|
|
41961
|
+
* @param {DataTypesSendOrgNotificationRequest} dataTypesSendOrgNotificationRequest Org notification details
|
|
41962
|
+
* @param {*} [options] Override http request option.
|
|
41963
|
+
* @throws {RequiredError}
|
|
41964
|
+
*/
|
|
41965
|
+
v1AdminNotificationsSendOrgPost(dataTypesSendOrgNotificationRequest: DataTypesSendOrgNotificationRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesSendOrgNotificationResponse>;
|
|
41725
41966
|
/**
|
|
41726
41967
|
* Sends a notification to specified users (requires admin privileges)
|
|
41727
41968
|
* @summary Send notification (Admin)
|
|
@@ -41826,6 +42067,15 @@ export declare class AdminNotificationsApi extends BaseAPI {
|
|
|
41826
42067
|
* @memberof AdminNotificationsApi
|
|
41827
42068
|
*/
|
|
41828
42069
|
v1AdminNotificationsSendBulkPost(dataTypesNotificationBatch: DataTypesNotificationBatch, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesSendBulkNotificationResponse, any, {}>>;
|
|
42070
|
+
/**
|
|
42071
|
+
* Sends a notification to all active members of the caller\'s organization. The caller must be an org owner or admin. Scope \"all\" includes every member; \"owners_admins\" targets owners and admins only.
|
|
42072
|
+
* @summary Send org-wide notification (Admin)
|
|
42073
|
+
* @param {DataTypesSendOrgNotificationRequest} dataTypesSendOrgNotificationRequest Org notification details
|
|
42074
|
+
* @param {*} [options] Override http request option.
|
|
42075
|
+
* @throws {RequiredError}
|
|
42076
|
+
* @memberof AdminNotificationsApi
|
|
42077
|
+
*/
|
|
42078
|
+
v1AdminNotificationsSendOrgPost(dataTypesSendOrgNotificationRequest: DataTypesSendOrgNotificationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesSendOrgNotificationResponse, any, {}>>;
|
|
41829
42079
|
/**
|
|
41830
42080
|
* Sends a notification to specified users (requires admin privileges)
|
|
41831
42081
|
* @summary Send notification (Admin)
|
|
@@ -48283,6 +48533,16 @@ export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Conf
|
|
|
48283
48533
|
* @throws {RequiredError}
|
|
48284
48534
|
*/
|
|
48285
48535
|
adminBillingCreditLedgerGet: (orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: AdminBillingCreditLedgerGetSortByEnum, sortOrder?: AdminBillingCreditLedgerGetSortOrderEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48536
|
+
/**
|
|
48537
|
+
* Exports credit notes as a CSV file formatted for GSTR-1 filing. Includes credit note number, original invoice reference, GST breakdown, and SAC code.
|
|
48538
|
+
* @summary Export credit notes for GSTR-1
|
|
48539
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
48540
|
+
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
48541
|
+
* @param {string} [fiscalYear] Fiscal year (e.g., 2526)
|
|
48542
|
+
* @param {*} [options] Override http request option.
|
|
48543
|
+
* @throws {RequiredError}
|
|
48544
|
+
*/
|
|
48545
|
+
adminBillingCreditNotesExportGet: (startDate?: string, endDate?: string, fiscalYear?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48286
48546
|
/**
|
|
48287
48547
|
* Retrieves paginated list of credit purchases with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
48288
48548
|
* @summary Get credit purchases
|
|
@@ -48351,10 +48611,11 @@ export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Conf
|
|
|
48351
48611
|
* @param {number} [limit] Number of results per page (default: 20, max: 100) - alternative to page_size
|
|
48352
48612
|
* @param {AdminBillingInvoicesGetSortByEnum} [sortBy] Field to sort by
|
|
48353
48613
|
* @param {AdminBillingInvoicesGetSortOrderEnum} [sortOrder] Sort direction
|
|
48614
|
+
* @param {AdminBillingInvoicesGetInvoiceTypeEnum} [invoiceType] Filter by invoice type
|
|
48354
48615
|
* @param {*} [options] Override http request option.
|
|
48355
48616
|
* @throws {RequiredError}
|
|
48356
48617
|
*/
|
|
48357
|
-
adminBillingInvoicesGet: (orgId?: number, status?: string, startDate?: string, endDate?: string, search?: string, page?: number, pageSize?: number, limit?: number, sortBy?: AdminBillingInvoicesGetSortByEnum, sortOrder?: AdminBillingInvoicesGetSortOrderEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48618
|
+
adminBillingInvoicesGet: (orgId?: number, status?: string, startDate?: string, endDate?: string, search?: string, page?: number, pageSize?: number, limit?: number, sortBy?: AdminBillingInvoicesGetSortByEnum, sortOrder?: AdminBillingInvoicesGetSortOrderEnum, invoiceType?: AdminBillingInvoicesGetInvoiceTypeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48358
48619
|
/**
|
|
48359
48620
|
* Deletes an invoice (soft delete by setting status to cancelled)
|
|
48360
48621
|
* @summary Delete invoice
|
|
@@ -48396,6 +48657,14 @@ export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Conf
|
|
|
48396
48657
|
* @throws {RequiredError}
|
|
48397
48658
|
*/
|
|
48398
48659
|
adminBillingInvoicesIdPut: (id: string, dataTypesUpdateInvoiceRequest: DataTypesUpdateInvoiceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48660
|
+
/**
|
|
48661
|
+
* Voids an issued credit note by setting credit_note_status to \'voided\'. Only credit notes with status \'issued\' can be voided.
|
|
48662
|
+
* @summary Void a credit note
|
|
48663
|
+
* @param {string} id Invoice ID (UUID)
|
|
48664
|
+
* @param {*} [options] Override http request option.
|
|
48665
|
+
* @throws {RequiredError}
|
|
48666
|
+
*/
|
|
48667
|
+
adminBillingInvoicesIdVoidPost: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48399
48668
|
/**
|
|
48400
48669
|
* Initiates payment for a pending invoice (for subscription orders with failed auto-payments)
|
|
48401
48670
|
* @summary Pay a pending invoice
|
|
@@ -48677,6 +48946,16 @@ export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
|
|
|
48677
48946
|
* @throws {RequiredError}
|
|
48678
48947
|
*/
|
|
48679
48948
|
adminBillingCreditLedgerGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: AdminBillingCreditLedgerGetSortByEnum, sortOrder?: AdminBillingCreditLedgerGetSortOrderEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
48949
|
+
/**
|
|
48950
|
+
* Exports credit notes as a CSV file formatted for GSTR-1 filing. Includes credit note number, original invoice reference, GST breakdown, and SAC code.
|
|
48951
|
+
* @summary Export credit notes for GSTR-1
|
|
48952
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
48953
|
+
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
48954
|
+
* @param {string} [fiscalYear] Fiscal year (e.g., 2526)
|
|
48955
|
+
* @param {*} [options] Override http request option.
|
|
48956
|
+
* @throws {RequiredError}
|
|
48957
|
+
*/
|
|
48958
|
+
adminBillingCreditNotesExportGet(startDate?: string, endDate?: string, fiscalYear?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
48680
48959
|
/**
|
|
48681
48960
|
* Retrieves paginated list of credit purchases with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
48682
48961
|
* @summary Get credit purchases
|
|
@@ -48745,10 +49024,11 @@ export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
|
|
|
48745
49024
|
* @param {number} [limit] Number of results per page (default: 20, max: 100) - alternative to page_size
|
|
48746
49025
|
* @param {AdminBillingInvoicesGetSortByEnum} [sortBy] Field to sort by
|
|
48747
49026
|
* @param {AdminBillingInvoicesGetSortOrderEnum} [sortOrder] Sort direction
|
|
49027
|
+
* @param {AdminBillingInvoicesGetInvoiceTypeEnum} [invoiceType] Filter by invoice type
|
|
48748
49028
|
* @param {*} [options] Override http request option.
|
|
48749
49029
|
* @throws {RequiredError}
|
|
48750
49030
|
*/
|
|
48751
|
-
adminBillingInvoicesGet(orgId?: number, status?: string, startDate?: string, endDate?: string, search?: string, page?: number, pageSize?: number, limit?: number, sortBy?: AdminBillingInvoicesGetSortByEnum, sortOrder?: AdminBillingInvoicesGetSortOrderEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
49031
|
+
adminBillingInvoicesGet(orgId?: number, status?: string, startDate?: string, endDate?: string, search?: string, page?: number, pageSize?: number, limit?: number, sortBy?: AdminBillingInvoicesGetSortByEnum, sortOrder?: AdminBillingInvoicesGetSortOrderEnum, invoiceType?: AdminBillingInvoicesGetInvoiceTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
48752
49032
|
/**
|
|
48753
49033
|
* Deletes an invoice (soft delete by setting status to cancelled)
|
|
48754
49034
|
* @summary Delete invoice
|
|
@@ -48790,6 +49070,14 @@ export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
|
|
|
48790
49070
|
* @throws {RequiredError}
|
|
48791
49071
|
*/
|
|
48792
49072
|
adminBillingInvoicesIdPut(id: string, dataTypesUpdateInvoiceRequest: DataTypesUpdateInvoiceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
49073
|
+
/**
|
|
49074
|
+
* Voids an issued credit note by setting credit_note_status to \'voided\'. Only credit notes with status \'issued\' can be voided.
|
|
49075
|
+
* @summary Void a credit note
|
|
49076
|
+
* @param {string} id Invoice ID (UUID)
|
|
49077
|
+
* @param {*} [options] Override http request option.
|
|
49078
|
+
* @throws {RequiredError}
|
|
49079
|
+
*/
|
|
49080
|
+
adminBillingInvoicesIdVoidPost(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
48793
49081
|
/**
|
|
48794
49082
|
* Initiates payment for a pending invoice (for subscription orders with failed auto-payments)
|
|
48795
49083
|
* @summary Pay a pending invoice
|
|
@@ -49071,6 +49359,16 @@ export declare const BillingDashboardApiFactory: (configuration?: Configuration,
|
|
|
49071
49359
|
* @throws {RequiredError}
|
|
49072
49360
|
*/
|
|
49073
49361
|
adminBillingCreditLedgerGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: AdminBillingCreditLedgerGetSortByEnum, sortOrder?: AdminBillingCreditLedgerGetSortOrderEnum, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
49362
|
+
/**
|
|
49363
|
+
* Exports credit notes as a CSV file formatted for GSTR-1 filing. Includes credit note number, original invoice reference, GST breakdown, and SAC code.
|
|
49364
|
+
* @summary Export credit notes for GSTR-1
|
|
49365
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
49366
|
+
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
49367
|
+
* @param {string} [fiscalYear] Fiscal year (e.g., 2526)
|
|
49368
|
+
* @param {*} [options] Override http request option.
|
|
49369
|
+
* @throws {RequiredError}
|
|
49370
|
+
*/
|
|
49371
|
+
adminBillingCreditNotesExportGet(startDate?: string, endDate?: string, fiscalYear?: string, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
49074
49372
|
/**
|
|
49075
49373
|
* Retrieves paginated list of credit purchases with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
49076
49374
|
* @summary Get credit purchases
|
|
@@ -49139,10 +49437,11 @@ export declare const BillingDashboardApiFactory: (configuration?: Configuration,
|
|
|
49139
49437
|
* @param {number} [limit] Number of results per page (default: 20, max: 100) - alternative to page_size
|
|
49140
49438
|
* @param {AdminBillingInvoicesGetSortByEnum} [sortBy] Field to sort by
|
|
49141
49439
|
* @param {AdminBillingInvoicesGetSortOrderEnum} [sortOrder] Sort direction
|
|
49440
|
+
* @param {AdminBillingInvoicesGetInvoiceTypeEnum} [invoiceType] Filter by invoice type
|
|
49142
49441
|
* @param {*} [options] Override http request option.
|
|
49143
49442
|
* @throws {RequiredError}
|
|
49144
49443
|
*/
|
|
49145
|
-
adminBillingInvoicesGet(orgId?: number, status?: string, startDate?: string, endDate?: string, search?: string, page?: number, pageSize?: number, limit?: number, sortBy?: AdminBillingInvoicesGetSortByEnum, sortOrder?: AdminBillingInvoicesGetSortOrderEnum, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
49444
|
+
adminBillingInvoicesGet(orgId?: number, status?: string, startDate?: string, endDate?: string, search?: string, page?: number, pageSize?: number, limit?: number, sortBy?: AdminBillingInvoicesGetSortByEnum, sortOrder?: AdminBillingInvoicesGetSortOrderEnum, invoiceType?: AdminBillingInvoicesGetInvoiceTypeEnum, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
49146
49445
|
/**
|
|
49147
49446
|
* Deletes an invoice (soft delete by setting status to cancelled)
|
|
49148
49447
|
* @summary Delete invoice
|
|
@@ -49184,6 +49483,14 @@ export declare const BillingDashboardApiFactory: (configuration?: Configuration,
|
|
|
49184
49483
|
* @throws {RequiredError}
|
|
49185
49484
|
*/
|
|
49186
49485
|
adminBillingInvoicesIdPut(id: string, dataTypesUpdateInvoiceRequest: DataTypesUpdateInvoiceRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
49486
|
+
/**
|
|
49487
|
+
* Voids an issued credit note by setting credit_note_status to \'voided\'. Only credit notes with status \'issued\' can be voided.
|
|
49488
|
+
* @summary Void a credit note
|
|
49489
|
+
* @param {string} id Invoice ID (UUID)
|
|
49490
|
+
* @param {*} [options] Override http request option.
|
|
49491
|
+
* @throws {RequiredError}
|
|
49492
|
+
*/
|
|
49493
|
+
adminBillingInvoicesIdVoidPost(id: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
49187
49494
|
/**
|
|
49188
49495
|
* Initiates payment for a pending invoice (for subscription orders with failed auto-payments)
|
|
49189
49496
|
* @summary Pay a pending invoice
|
|
@@ -49475,6 +49782,17 @@ export declare class BillingDashboardApi extends BaseAPI {
|
|
|
49475
49782
|
* @memberof BillingDashboardApi
|
|
49476
49783
|
*/
|
|
49477
49784
|
adminBillingCreditLedgerGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: AdminBillingCreditLedgerGetSortByEnum, sortOrder?: AdminBillingCreditLedgerGetSortOrderEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
49785
|
+
/**
|
|
49786
|
+
* Exports credit notes as a CSV file formatted for GSTR-1 filing. Includes credit note number, original invoice reference, GST breakdown, and SAC code.
|
|
49787
|
+
* @summary Export credit notes for GSTR-1
|
|
49788
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
49789
|
+
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
49790
|
+
* @param {string} [fiscalYear] Fiscal year (e.g., 2526)
|
|
49791
|
+
* @param {*} [options] Override http request option.
|
|
49792
|
+
* @throws {RequiredError}
|
|
49793
|
+
* @memberof BillingDashboardApi
|
|
49794
|
+
*/
|
|
49795
|
+
adminBillingCreditNotesExportGet(startDate?: string, endDate?: string, fiscalYear?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
49478
49796
|
/**
|
|
49479
49797
|
* Retrieves paginated list of credit purchases with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
49480
49798
|
* @summary Get credit purchases
|
|
@@ -49548,11 +49866,12 @@ export declare class BillingDashboardApi extends BaseAPI {
|
|
|
49548
49866
|
* @param {number} [limit] Number of results per page (default: 20, max: 100) - alternative to page_size
|
|
49549
49867
|
* @param {AdminBillingInvoicesGetSortByEnum} [sortBy] Field to sort by
|
|
49550
49868
|
* @param {AdminBillingInvoicesGetSortOrderEnum} [sortOrder] Sort direction
|
|
49869
|
+
* @param {AdminBillingInvoicesGetInvoiceTypeEnum} [invoiceType] Filter by invoice type
|
|
49551
49870
|
* @param {*} [options] Override http request option.
|
|
49552
49871
|
* @throws {RequiredError}
|
|
49553
49872
|
* @memberof BillingDashboardApi
|
|
49554
49873
|
*/
|
|
49555
|
-
adminBillingInvoicesGet(orgId?: number, status?: string, startDate?: string, endDate?: string, search?: string, page?: number, pageSize?: number, limit?: number, sortBy?: AdminBillingInvoicesGetSortByEnum, sortOrder?: AdminBillingInvoicesGetSortOrderEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
49874
|
+
adminBillingInvoicesGet(orgId?: number, status?: string, startDate?: string, endDate?: string, search?: string, page?: number, pageSize?: number, limit?: number, sortBy?: AdminBillingInvoicesGetSortByEnum, sortOrder?: AdminBillingInvoicesGetSortOrderEnum, invoiceType?: AdminBillingInvoicesGetInvoiceTypeEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
49556
49875
|
/**
|
|
49557
49876
|
* Deletes an invoice (soft delete by setting status to cancelled)
|
|
49558
49877
|
* @summary Delete invoice
|
|
@@ -49599,6 +49918,15 @@ export declare class BillingDashboardApi extends BaseAPI {
|
|
|
49599
49918
|
* @memberof BillingDashboardApi
|
|
49600
49919
|
*/
|
|
49601
49920
|
adminBillingInvoicesIdPut(id: string, dataTypesUpdateInvoiceRequest: DataTypesUpdateInvoiceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
49921
|
+
/**
|
|
49922
|
+
* Voids an issued credit note by setting credit_note_status to \'voided\'. Only credit notes with status \'issued\' can be voided.
|
|
49923
|
+
* @summary Void a credit note
|
|
49924
|
+
* @param {string} id Invoice ID (UUID)
|
|
49925
|
+
* @param {*} [options] Override http request option.
|
|
49926
|
+
* @throws {RequiredError}
|
|
49927
|
+
* @memberof BillingDashboardApi
|
|
49928
|
+
*/
|
|
49929
|
+
adminBillingInvoicesIdVoidPost(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
49602
49930
|
/**
|
|
49603
49931
|
* Initiates payment for a pending invoice (for subscription orders with failed auto-payments)
|
|
49604
49932
|
* @summary Pay a pending invoice
|
|
@@ -49899,6 +50227,14 @@ export declare const AdminBillingInvoicesGetSortOrderEnum: {
|
|
|
49899
50227
|
readonly Desc2: "DESC";
|
|
49900
50228
|
};
|
|
49901
50229
|
export type AdminBillingInvoicesGetSortOrderEnum = typeof AdminBillingInvoicesGetSortOrderEnum[keyof typeof AdminBillingInvoicesGetSortOrderEnum];
|
|
50230
|
+
/**
|
|
50231
|
+
* @export
|
|
50232
|
+
*/
|
|
50233
|
+
export declare const AdminBillingInvoicesGetInvoiceTypeEnum: {
|
|
50234
|
+
readonly TaxInvoice: "tax_invoice";
|
|
50235
|
+
readonly CreditNote: "credit_note";
|
|
50236
|
+
};
|
|
50237
|
+
export type AdminBillingInvoicesGetInvoiceTypeEnum = typeof AdminBillingInvoicesGetInvoiceTypeEnum[keyof typeof AdminBillingInvoicesGetInvoiceTypeEnum];
|
|
49902
50238
|
/**
|
|
49903
50239
|
* @export
|
|
49904
50240
|
*/
|
|
@@ -50235,7 +50571,7 @@ export declare const BillingUserPaymentsApiAxiosParamCreator: (configuration?: C
|
|
|
50235
50571
|
* @param {*} [options] Override http request option.
|
|
50236
50572
|
* @throws {RequiredError}
|
|
50237
50573
|
*/
|
|
50238
|
-
|
|
50574
|
+
adminBillingPaymentsRetryPost: (billingServiceRetryPaymentRequest: BillingServiceRetryPaymentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
50239
50575
|
/**
|
|
50240
50576
|
* Gets the current payment status, dunning state, and retry options for a subscription
|
|
50241
50577
|
* @summary Get payment status for a subscription
|
|
@@ -50243,7 +50579,7 @@ export declare const BillingUserPaymentsApiAxiosParamCreator: (configuration?: C
|
|
|
50243
50579
|
* @param {*} [options] Override http request option.
|
|
50244
50580
|
* @throws {RequiredError}
|
|
50245
50581
|
*/
|
|
50246
|
-
|
|
50582
|
+
adminBillingSubscriptionsIdPaymentStatusGet: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
50247
50583
|
};
|
|
50248
50584
|
/**
|
|
50249
50585
|
* BillingUserPaymentsApi - functional programming interface
|
|
@@ -50257,7 +50593,7 @@ export declare const BillingUserPaymentsApiFp: (configuration?: Configuration) =
|
|
|
50257
50593
|
* @param {*} [options] Override http request option.
|
|
50258
50594
|
* @throws {RequiredError}
|
|
50259
50595
|
*/
|
|
50260
|
-
|
|
50596
|
+
adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest: BillingServiceRetryPaymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingServiceRetryPaymentResponse>>;
|
|
50261
50597
|
/**
|
|
50262
50598
|
* Gets the current payment status, dunning state, and retry options for a subscription
|
|
50263
50599
|
* @summary Get payment status for a subscription
|
|
@@ -50265,7 +50601,7 @@ export declare const BillingUserPaymentsApiFp: (configuration?: Configuration) =
|
|
|
50265
50601
|
* @param {*} [options] Override http request option.
|
|
50266
50602
|
* @throws {RequiredError}
|
|
50267
50603
|
*/
|
|
50268
|
-
|
|
50604
|
+
adminBillingSubscriptionsIdPaymentStatusGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingServicePaymentStatusResponse>>;
|
|
50269
50605
|
};
|
|
50270
50606
|
/**
|
|
50271
50607
|
* BillingUserPaymentsApi - factory interface
|
|
@@ -50279,7 +50615,7 @@ export declare const BillingUserPaymentsApiFactory: (configuration?: Configurati
|
|
|
50279
50615
|
* @param {*} [options] Override http request option.
|
|
50280
50616
|
* @throws {RequiredError}
|
|
50281
50617
|
*/
|
|
50282
|
-
|
|
50618
|
+
adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest: BillingServiceRetryPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<BillingServiceRetryPaymentResponse>;
|
|
50283
50619
|
/**
|
|
50284
50620
|
* Gets the current payment status, dunning state, and retry options for a subscription
|
|
50285
50621
|
* @summary Get payment status for a subscription
|
|
@@ -50287,7 +50623,7 @@ export declare const BillingUserPaymentsApiFactory: (configuration?: Configurati
|
|
|
50287
50623
|
* @param {*} [options] Override http request option.
|
|
50288
50624
|
* @throws {RequiredError}
|
|
50289
50625
|
*/
|
|
50290
|
-
|
|
50626
|
+
adminBillingSubscriptionsIdPaymentStatusGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BillingServicePaymentStatusResponse>;
|
|
50291
50627
|
};
|
|
50292
50628
|
/**
|
|
50293
50629
|
* BillingUserPaymentsApi - object-oriented interface
|
|
@@ -50304,7 +50640,7 @@ export declare class BillingUserPaymentsApi extends BaseAPI {
|
|
|
50304
50640
|
* @throws {RequiredError}
|
|
50305
50641
|
* @memberof BillingUserPaymentsApi
|
|
50306
50642
|
*/
|
|
50307
|
-
|
|
50643
|
+
adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest: BillingServiceRetryPaymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingServiceRetryPaymentResponse, any, {}>>;
|
|
50308
50644
|
/**
|
|
50309
50645
|
* Gets the current payment status, dunning state, and retry options for a subscription
|
|
50310
50646
|
* @summary Get payment status for a subscription
|
|
@@ -50313,7 +50649,7 @@ export declare class BillingUserPaymentsApi extends BaseAPI {
|
|
|
50313
50649
|
* @throws {RequiredError}
|
|
50314
50650
|
* @memberof BillingUserPaymentsApi
|
|
50315
50651
|
*/
|
|
50316
|
-
|
|
50652
|
+
adminBillingSubscriptionsIdPaymentStatusGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingServicePaymentStatusResponse, any, {}>>;
|
|
50317
50653
|
}
|
|
50318
50654
|
/**
|
|
50319
50655
|
* CommonApi - axios parameter creator
|
|
@@ -59461,6 +59797,14 @@ export declare const PaymentGatewayApiAxiosParamCreator: (configuration?: Config
|
|
|
59461
59797
|
* @throws {RequiredError}
|
|
59462
59798
|
*/
|
|
59463
59799
|
adminPaymentGatewayOrdersIdGet: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
59800
|
+
/**
|
|
59801
|
+
* Returns the existing gateway order details needed to open the payment gateway UI for retry, without creating a new order.
|
|
59802
|
+
* @summary Get order retry payment info
|
|
59803
|
+
* @param {string} id Order UUID
|
|
59804
|
+
* @param {*} [options] Override http request option.
|
|
59805
|
+
* @throws {RequiredError}
|
|
59806
|
+
*/
|
|
59807
|
+
adminPaymentGatewayOrdersIdRetryInfoGet: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
59464
59808
|
/**
|
|
59465
59809
|
* Returns payment status in a frontend-friendly format (\"success\", \"pending\", or \"error\") for polling. This endpoint is designed to be polled by the frontend to check payment status. It returns retry intervals and fulfillment information.
|
|
59466
59810
|
* @summary Get payment status for polling (frontend)
|
|
@@ -59582,6 +59926,16 @@ export declare const PaymentGatewayApiFp: (configuration?: Configuration) => {
|
|
|
59582
59926
|
* @throws {RequiredError}
|
|
59583
59927
|
*/
|
|
59584
59928
|
adminPaymentGatewayOrdersIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesOrderDetailsResponse>>;
|
|
59929
|
+
/**
|
|
59930
|
+
* Returns the existing gateway order details needed to open the payment gateway UI for retry, without creating a new order.
|
|
59931
|
+
* @summary Get order retry payment info
|
|
59932
|
+
* @param {string} id Order UUID
|
|
59933
|
+
* @param {*} [options] Override http request option.
|
|
59934
|
+
* @throws {RequiredError}
|
|
59935
|
+
*/
|
|
59936
|
+
adminPaymentGatewayOrdersIdRetryInfoGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
|
|
59937
|
+
[key: string]: any;
|
|
59938
|
+
}>>;
|
|
59585
59939
|
/**
|
|
59586
59940
|
* Returns payment status in a frontend-friendly format (\"success\", \"pending\", or \"error\") for polling. This endpoint is designed to be polled by the frontend to check payment status. It returns retry intervals and fulfillment information.
|
|
59587
59941
|
* @summary Get payment status for polling (frontend)
|
|
@@ -59707,6 +60061,16 @@ export declare const PaymentGatewayApiFactory: (configuration?: Configuration, b
|
|
|
59707
60061
|
* @throws {RequiredError}
|
|
59708
60062
|
*/
|
|
59709
60063
|
adminPaymentGatewayOrdersIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOrderDetailsResponse>;
|
|
60064
|
+
/**
|
|
60065
|
+
* Returns the existing gateway order details needed to open the payment gateway UI for retry, without creating a new order.
|
|
60066
|
+
* @summary Get order retry payment info
|
|
60067
|
+
* @param {string} id Order UUID
|
|
60068
|
+
* @param {*} [options] Override http request option.
|
|
60069
|
+
* @throws {RequiredError}
|
|
60070
|
+
*/
|
|
60071
|
+
adminPaymentGatewayOrdersIdRetryInfoGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<{
|
|
60072
|
+
[key: string]: any;
|
|
60073
|
+
}>;
|
|
59710
60074
|
/**
|
|
59711
60075
|
* Returns payment status in a frontend-friendly format (\"success\", \"pending\", or \"error\") for polling. This endpoint is designed to be polled by the frontend to check payment status. It returns retry intervals and fulfillment information.
|
|
59712
60076
|
* @summary Get payment status for polling (frontend)
|
|
@@ -59839,6 +60203,17 @@ export declare class PaymentGatewayApi extends BaseAPI {
|
|
|
59839
60203
|
* @memberof PaymentGatewayApi
|
|
59840
60204
|
*/
|
|
59841
60205
|
adminPaymentGatewayOrdersIdGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesOrderDetailsResponse, any, {}>>;
|
|
60206
|
+
/**
|
|
60207
|
+
* Returns the existing gateway order details needed to open the payment gateway UI for retry, without creating a new order.
|
|
60208
|
+
* @summary Get order retry payment info
|
|
60209
|
+
* @param {string} id Order UUID
|
|
60210
|
+
* @param {*} [options] Override http request option.
|
|
60211
|
+
* @throws {RequiredError}
|
|
60212
|
+
* @memberof PaymentGatewayApi
|
|
60213
|
+
*/
|
|
60214
|
+
adminPaymentGatewayOrdersIdRetryInfoGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
60215
|
+
[key: string]: any;
|
|
60216
|
+
}, any, {}>>;
|
|
59842
60217
|
/**
|
|
59843
60218
|
* Returns payment status in a frontend-friendly format (\"success\", \"pending\", or \"error\") for polling. This endpoint is designed to be polled by the frontend to check payment status. It returns retry intervals and fulfillment information.
|
|
59844
60219
|
* @summary Get payment status for polling (frontend)
|
|
@@ -66844,6 +67219,44 @@ export declare const SubscriptionsApiAxiosParamCreator: (configuration?: Configu
|
|
|
66844
67219
|
* @throws {RequiredError}
|
|
66845
67220
|
*/
|
|
66846
67221
|
adminSubscriptionsCancelProcessPost: (subscriptionRouteCancelProcessRequest: SubscriptionRouteCancelProcessRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
67222
|
+
/**
|
|
67223
|
+
* Creates a one-time Razorpay order for the net charge amount (new_plan_price - prorated_refund). Frontend opens Razorpay checkout. On payment.captured, the existing subscription is patched to the new plan.
|
|
67224
|
+
* @summary Create an immediate plan change order
|
|
67225
|
+
* @param {SubscriptionRouteImmediatePlanChangeOrderHTTPRequest} subscriptionRouteImmediatePlanChangeOrderHTTPRequest Immediate plan change order request
|
|
67226
|
+
* @param {*} [options] Override http request option.
|
|
67227
|
+
* @throws {RequiredError}
|
|
67228
|
+
*/
|
|
67229
|
+
adminSubscriptionsPlanChangeImmediateOrderPost: (subscriptionRouteImmediatePlanChangeOrderHTTPRequest: SubscriptionRouteImmediatePlanChangeOrderHTTPRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
67230
|
+
/**
|
|
67231
|
+
* Shows a read-only preview of what happens when changing plans: refund for current plan, credits removed/added, new plan cost. Org ID is automatically extracted from JWT session.
|
|
67232
|
+
* @summary Preview plan change details
|
|
67233
|
+
* @param {SubscriptionRoutePlanChangePreviewHTTPRequest} subscriptionRoutePlanChangePreviewHTTPRequest Plan change preview request
|
|
67234
|
+
* @param {*} [options] Override http request option.
|
|
67235
|
+
* @throws {RequiredError}
|
|
67236
|
+
*/
|
|
67237
|
+
adminSubscriptionsPlanChangePreviewPost: (subscriptionRoutePlanChangePreviewHTTPRequest: SubscriptionRoutePlanChangePreviewHTTPRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
67238
|
+
/**
|
|
67239
|
+
* Cancels a pending scheduled plan change, reverting the Razorpay subscription to the original plan.
|
|
67240
|
+
* @summary Cancel a scheduled plan change
|
|
67241
|
+
* @param {*} [options] Override http request option.
|
|
67242
|
+
* @throws {RequiredError}
|
|
67243
|
+
*/
|
|
67244
|
+
adminSubscriptionsPlanChangeScheduleDelete: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
67245
|
+
/**
|
|
67246
|
+
* Returns the pending scheduled plan change for the organization, or null if none.
|
|
67247
|
+
* @summary Get pending scheduled plan change
|
|
67248
|
+
* @param {*} [options] Override http request option.
|
|
67249
|
+
* @throws {RequiredError}
|
|
67250
|
+
*/
|
|
67251
|
+
adminSubscriptionsPlanChangeScheduleGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
67252
|
+
/**
|
|
67253
|
+
* Creates a one-time Razorpay order for the net charge amount. Payment is collected now; plan activation is deferred to cycle end. Returns 409 if a pending scheduled change already exists. For free switches (proration covers full cost), schedules directly without payment.
|
|
67254
|
+
* @summary Schedule a plan change at end of billing cycle
|
|
67255
|
+
* @param {SubscriptionRouteSchedulePlanChangeHTTPRequest} subscriptionRouteSchedulePlanChangeHTTPRequest Schedule plan change request
|
|
67256
|
+
* @param {*} [options] Override http request option.
|
|
67257
|
+
* @throws {RequiredError}
|
|
67258
|
+
*/
|
|
67259
|
+
adminSubscriptionsPlanChangeSchedulePost: (subscriptionRouteSchedulePlanChangeHTTPRequest: SubscriptionRouteSchedulePlanChangeHTTPRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
66847
67260
|
/**
|
|
66848
67261
|
* Updates Subscription information by ID.
|
|
66849
67262
|
* @summary Update an existing Subscription
|
|
@@ -66907,6 +67320,44 @@ export declare const SubscriptionsApiFp: (configuration?: Configuration) => {
|
|
|
66907
67320
|
* @throws {RequiredError}
|
|
66908
67321
|
*/
|
|
66909
67322
|
adminSubscriptionsCancelProcessPost(subscriptionRouteCancelProcessRequest: SubscriptionRouteCancelProcessRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
67323
|
+
/**
|
|
67324
|
+
* Creates a one-time Razorpay order for the net charge amount (new_plan_price - prorated_refund). Frontend opens Razorpay checkout. On payment.captured, the existing subscription is patched to the new plan.
|
|
67325
|
+
* @summary Create an immediate plan change order
|
|
67326
|
+
* @param {SubscriptionRouteImmediatePlanChangeOrderHTTPRequest} subscriptionRouteImmediatePlanChangeOrderHTTPRequest Immediate plan change order request
|
|
67327
|
+
* @param {*} [options] Override http request option.
|
|
67328
|
+
* @throws {RequiredError}
|
|
67329
|
+
*/
|
|
67330
|
+
adminSubscriptionsPlanChangeImmediateOrderPost(subscriptionRouteImmediatePlanChangeOrderHTTPRequest: SubscriptionRouteImmediatePlanChangeOrderHTTPRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
67331
|
+
/**
|
|
67332
|
+
* Shows a read-only preview of what happens when changing plans: refund for current plan, credits removed/added, new plan cost. Org ID is automatically extracted from JWT session.
|
|
67333
|
+
* @summary Preview plan change details
|
|
67334
|
+
* @param {SubscriptionRoutePlanChangePreviewHTTPRequest} subscriptionRoutePlanChangePreviewHTTPRequest Plan change preview request
|
|
67335
|
+
* @param {*} [options] Override http request option.
|
|
67336
|
+
* @throws {RequiredError}
|
|
67337
|
+
*/
|
|
67338
|
+
adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest: SubscriptionRoutePlanChangePreviewHTTPRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
67339
|
+
/**
|
|
67340
|
+
* Cancels a pending scheduled plan change, reverting the Razorpay subscription to the original plan.
|
|
67341
|
+
* @summary Cancel a scheduled plan change
|
|
67342
|
+
* @param {*} [options] Override http request option.
|
|
67343
|
+
* @throws {RequiredError}
|
|
67344
|
+
*/
|
|
67345
|
+
adminSubscriptionsPlanChangeScheduleDelete(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
67346
|
+
/**
|
|
67347
|
+
* Returns the pending scheduled plan change for the organization, or null if none.
|
|
67348
|
+
* @summary Get pending scheduled plan change
|
|
67349
|
+
* @param {*} [options] Override http request option.
|
|
67350
|
+
* @throws {RequiredError}
|
|
67351
|
+
*/
|
|
67352
|
+
adminSubscriptionsPlanChangeScheduleGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
67353
|
+
/**
|
|
67354
|
+
* Creates a one-time Razorpay order for the net charge amount. Payment is collected now; plan activation is deferred to cycle end. Returns 409 if a pending scheduled change already exists. For free switches (proration covers full cost), schedules directly without payment.
|
|
67355
|
+
* @summary Schedule a plan change at end of billing cycle
|
|
67356
|
+
* @param {SubscriptionRouteSchedulePlanChangeHTTPRequest} subscriptionRouteSchedulePlanChangeHTTPRequest Schedule plan change request
|
|
67357
|
+
* @param {*} [options] Override http request option.
|
|
67358
|
+
* @throws {RequiredError}
|
|
67359
|
+
*/
|
|
67360
|
+
adminSubscriptionsPlanChangeSchedulePost(subscriptionRouteSchedulePlanChangeHTTPRequest: SubscriptionRouteSchedulePlanChangeHTTPRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
66910
67361
|
/**
|
|
66911
67362
|
* Updates Subscription information by ID.
|
|
66912
67363
|
* @summary Update an existing Subscription
|
|
@@ -66970,6 +67421,44 @@ export declare const SubscriptionsApiFactory: (configuration?: Configuration, ba
|
|
|
66970
67421
|
* @throws {RequiredError}
|
|
66971
67422
|
*/
|
|
66972
67423
|
adminSubscriptionsCancelProcessPost(subscriptionRouteCancelProcessRequest: SubscriptionRouteCancelProcessRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
67424
|
+
/**
|
|
67425
|
+
* Creates a one-time Razorpay order for the net charge amount (new_plan_price - prorated_refund). Frontend opens Razorpay checkout. On payment.captured, the existing subscription is patched to the new plan.
|
|
67426
|
+
* @summary Create an immediate plan change order
|
|
67427
|
+
* @param {SubscriptionRouteImmediatePlanChangeOrderHTTPRequest} subscriptionRouteImmediatePlanChangeOrderHTTPRequest Immediate plan change order request
|
|
67428
|
+
* @param {*} [options] Override http request option.
|
|
67429
|
+
* @throws {RequiredError}
|
|
67430
|
+
*/
|
|
67431
|
+
adminSubscriptionsPlanChangeImmediateOrderPost(subscriptionRouteImmediatePlanChangeOrderHTTPRequest: SubscriptionRouteImmediatePlanChangeOrderHTTPRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
67432
|
+
/**
|
|
67433
|
+
* Shows a read-only preview of what happens when changing plans: refund for current plan, credits removed/added, new plan cost. Org ID is automatically extracted from JWT session.
|
|
67434
|
+
* @summary Preview plan change details
|
|
67435
|
+
* @param {SubscriptionRoutePlanChangePreviewHTTPRequest} subscriptionRoutePlanChangePreviewHTTPRequest Plan change preview request
|
|
67436
|
+
* @param {*} [options] Override http request option.
|
|
67437
|
+
* @throws {RequiredError}
|
|
67438
|
+
*/
|
|
67439
|
+
adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest: SubscriptionRoutePlanChangePreviewHTTPRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
67440
|
+
/**
|
|
67441
|
+
* Cancels a pending scheduled plan change, reverting the Razorpay subscription to the original plan.
|
|
67442
|
+
* @summary Cancel a scheduled plan change
|
|
67443
|
+
* @param {*} [options] Override http request option.
|
|
67444
|
+
* @throws {RequiredError}
|
|
67445
|
+
*/
|
|
67446
|
+
adminSubscriptionsPlanChangeScheduleDelete(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
67447
|
+
/**
|
|
67448
|
+
* Returns the pending scheduled plan change for the organization, or null if none.
|
|
67449
|
+
* @summary Get pending scheduled plan change
|
|
67450
|
+
* @param {*} [options] Override http request option.
|
|
67451
|
+
* @throws {RequiredError}
|
|
67452
|
+
*/
|
|
67453
|
+
adminSubscriptionsPlanChangeScheduleGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
67454
|
+
/**
|
|
67455
|
+
* Creates a one-time Razorpay order for the net charge amount. Payment is collected now; plan activation is deferred to cycle end. Returns 409 if a pending scheduled change already exists. For free switches (proration covers full cost), schedules directly without payment.
|
|
67456
|
+
* @summary Schedule a plan change at end of billing cycle
|
|
67457
|
+
* @param {SubscriptionRouteSchedulePlanChangeHTTPRequest} subscriptionRouteSchedulePlanChangeHTTPRequest Schedule plan change request
|
|
67458
|
+
* @param {*} [options] Override http request option.
|
|
67459
|
+
* @throws {RequiredError}
|
|
67460
|
+
*/
|
|
67461
|
+
adminSubscriptionsPlanChangeSchedulePost(subscriptionRouteSchedulePlanChangeHTTPRequest: SubscriptionRouteSchedulePlanChangeHTTPRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
66973
67462
|
/**
|
|
66974
67463
|
* Updates Subscription information by ID.
|
|
66975
67464
|
* @summary Update an existing Subscription
|
|
@@ -67037,6 +67526,49 @@ export declare class SubscriptionsApi extends BaseAPI {
|
|
|
67037
67526
|
* @memberof SubscriptionsApi
|
|
67038
67527
|
*/
|
|
67039
67528
|
adminSubscriptionsCancelProcessPost(subscriptionRouteCancelProcessRequest: SubscriptionRouteCancelProcessRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
67529
|
+
/**
|
|
67530
|
+
* Creates a one-time Razorpay order for the net charge amount (new_plan_price - prorated_refund). Frontend opens Razorpay checkout. On payment.captured, the existing subscription is patched to the new plan.
|
|
67531
|
+
* @summary Create an immediate plan change order
|
|
67532
|
+
* @param {SubscriptionRouteImmediatePlanChangeOrderHTTPRequest} subscriptionRouteImmediatePlanChangeOrderHTTPRequest Immediate plan change order request
|
|
67533
|
+
* @param {*} [options] Override http request option.
|
|
67534
|
+
* @throws {RequiredError}
|
|
67535
|
+
* @memberof SubscriptionsApi
|
|
67536
|
+
*/
|
|
67537
|
+
adminSubscriptionsPlanChangeImmediateOrderPost(subscriptionRouteImmediatePlanChangeOrderHTTPRequest: SubscriptionRouteImmediatePlanChangeOrderHTTPRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
67538
|
+
/**
|
|
67539
|
+
* Shows a read-only preview of what happens when changing plans: refund for current plan, credits removed/added, new plan cost. Org ID is automatically extracted from JWT session.
|
|
67540
|
+
* @summary Preview plan change details
|
|
67541
|
+
* @param {SubscriptionRoutePlanChangePreviewHTTPRequest} subscriptionRoutePlanChangePreviewHTTPRequest Plan change preview request
|
|
67542
|
+
* @param {*} [options] Override http request option.
|
|
67543
|
+
* @throws {RequiredError}
|
|
67544
|
+
* @memberof SubscriptionsApi
|
|
67545
|
+
*/
|
|
67546
|
+
adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest: SubscriptionRoutePlanChangePreviewHTTPRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
67547
|
+
/**
|
|
67548
|
+
* Cancels a pending scheduled plan change, reverting the Razorpay subscription to the original plan.
|
|
67549
|
+
* @summary Cancel a scheduled plan change
|
|
67550
|
+
* @param {*} [options] Override http request option.
|
|
67551
|
+
* @throws {RequiredError}
|
|
67552
|
+
* @memberof SubscriptionsApi
|
|
67553
|
+
*/
|
|
67554
|
+
adminSubscriptionsPlanChangeScheduleDelete(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
67555
|
+
/**
|
|
67556
|
+
* Returns the pending scheduled plan change for the organization, or null if none.
|
|
67557
|
+
* @summary Get pending scheduled plan change
|
|
67558
|
+
* @param {*} [options] Override http request option.
|
|
67559
|
+
* @throws {RequiredError}
|
|
67560
|
+
* @memberof SubscriptionsApi
|
|
67561
|
+
*/
|
|
67562
|
+
adminSubscriptionsPlanChangeScheduleGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
67563
|
+
/**
|
|
67564
|
+
* Creates a one-time Razorpay order for the net charge amount. Payment is collected now; plan activation is deferred to cycle end. Returns 409 if a pending scheduled change already exists. For free switches (proration covers full cost), schedules directly without payment.
|
|
67565
|
+
* @summary Schedule a plan change at end of billing cycle
|
|
67566
|
+
* @param {SubscriptionRouteSchedulePlanChangeHTTPRequest} subscriptionRouteSchedulePlanChangeHTTPRequest Schedule plan change request
|
|
67567
|
+
* @param {*} [options] Override http request option.
|
|
67568
|
+
* @throws {RequiredError}
|
|
67569
|
+
* @memberof SubscriptionsApi
|
|
67570
|
+
*/
|
|
67571
|
+
adminSubscriptionsPlanChangeSchedulePost(subscriptionRouteSchedulePlanChangeHTTPRequest: SubscriptionRouteSchedulePlanChangeHTTPRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
67040
67572
|
/**
|
|
67041
67573
|
* Updates Subscription information by ID.
|
|
67042
67574
|
* @summary Update an existing Subscription
|