@smartbills/react-hooks-sdk 0.0.2-alpha.46 → 1.0.1-alpha.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 +148 -73
- package/dist/cjs/index.cjs +1 -223
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.mjs +1 -38
- package/dist/esm/index.mjs.map +1 -1
- package/dist/types/index.d.ts +594 -0
- package/package.json +58 -99
- package/dist/@types/index.d.ts +0 -1447
- package/dist/@types/index.d.ts.map +0 -1
- package/dist/cjs/apis/SBApiKeys.cjs +0 -56
- package/dist/cjs/apis/SBApiKeys.cjs.map +0 -1
- package/dist/cjs/apis/api-logs/LogsAPI.cjs +0 -42
- package/dist/cjs/apis/api-logs/LogsAPI.cjs.map +0 -1
- package/dist/cjs/apis/attachments/AttachmentsAPI.cjs +0 -147
- package/dist/cjs/apis/attachments/AttachmentsAPI.cjs.map +0 -1
- package/dist/cjs/apis/banks/accounts/BankAccountAPI.cjs +0 -88
- package/dist/cjs/apis/banks/accounts/BankAccountAPI.cjs.map +0 -1
- package/dist/cjs/apis/banks/bank-institutions/BankInstitutionsAPI.cjs +0 -58
- package/dist/cjs/apis/banks/bank-institutions/BankInstitutionsAPI.cjs.map +0 -1
- package/dist/cjs/apis/banks/bank-transactions/BankTransactionAPI.cjs +0 -57
- package/dist/cjs/apis/banks/bank-transactions/BankTransactionAPI.cjs.map +0 -1
- package/dist/cjs/apis/business/BusinessAPI.cjs +0 -172
- package/dist/cjs/apis/business/BusinessAPI.cjs.map +0 -1
- package/dist/cjs/apis/business/customers/CustomerAPI.cjs +0 -161
- package/dist/cjs/apis/business/customers/CustomerAPI.cjs.map +0 -1
- package/dist/cjs/apis/business/customers/CustomerBalanceTransactionsAPI.cjs +0 -71
- package/dist/cjs/apis/business/customers/CustomerBalanceTransactionsAPI.cjs.map +0 -1
- package/dist/cjs/apis/business/customers/CustomerPaymentMethodsAPI.cjs +0 -176
- package/dist/cjs/apis/business/customers/CustomerPaymentMethodsAPI.cjs.map +0 -1
- package/dist/cjs/apis/business/departments/DepartmentApi.cjs +0 -168
- package/dist/cjs/apis/business/departments/DepartmentApi.cjs.map +0 -1
- package/dist/cjs/apis/business/departments/employees/DepartmentEmployeesAPI.cjs +0 -137
- package/dist/cjs/apis/business/departments/employees/DepartmentEmployeesAPI.cjs.map +0 -1
- package/dist/cjs/apis/business/fees/FeesAPI.cjs +0 -167
- package/dist/cjs/apis/business/fees/FeesAPI.cjs.map +0 -1
- package/dist/cjs/apis/business/locations/LocationsAPI.cjs +0 -133
- package/dist/cjs/apis/business/locations/LocationsAPI.cjs.map +0 -1
- package/dist/cjs/apis/business/products/ProductsAPI.cjs +0 -184
- package/dist/cjs/apis/business/products/ProductsAPI.cjs.map +0 -1
- package/dist/cjs/apis/business/products/images/ProductImagesAPI.cjs +0 -195
- package/dist/cjs/apis/business/products/images/ProductImagesAPI.cjs.map +0 -1
- package/dist/cjs/apis/business/products/modifiers/ModifiersAPI.cjs +0 -169
- package/dist/cjs/apis/business/products/modifiers/ModifiersAPI.cjs.map +0 -1
- package/dist/cjs/apis/business/products/options/ProductOptionsAPI.cjs +0 -183
- package/dist/cjs/apis/business/products/options/ProductOptionsAPI.cjs.map +0 -1
- package/dist/cjs/apis/business/products/variants/ProductVariantsAPI.cjs +0 -185
- package/dist/cjs/apis/business/products/variants/ProductVariantsAPI.cjs.map +0 -1
- package/dist/cjs/apis/business/promo-codes/PromoCodesAPI.cjs +0 -139
- package/dist/cjs/apis/business/promo-codes/PromoCodesAPI.cjs.map +0 -1
- package/dist/cjs/apis/business/reviews/ReviewsAPI.cjs +0 -143
- package/dist/cjs/apis/business/reviews/ReviewsAPI.cjs.map +0 -1
- package/dist/cjs/apis/business/tables/TablesAPI.cjs +0 -75
- package/dist/cjs/apis/business/tables/TablesAPI.cjs.map +0 -1
- package/dist/cjs/apis/business/taxes/TaxesAPI.cjs +0 -140
- package/dist/cjs/apis/business/taxes/TaxesAPI.cjs.map +0 -1
- package/dist/cjs/apis/business/team/TeamMemberInvitationsAPI.cjs +0 -161
- package/dist/cjs/apis/business/team/TeamMemberInvitationsAPI.cjs.map +0 -1
- package/dist/cjs/apis/business/team/TeamMembersAPI.cjs +0 -93
- package/dist/cjs/apis/business/team/TeamMembersAPI.cjs.map +0 -1
- package/dist/cjs/apis/business/vendors/VendorsAPI.cjs +0 -237
- package/dist/cjs/apis/business/vendors/VendorsAPI.cjs.map +0 -1
- package/dist/cjs/apis/documents/DocumentsAPI.cjs +0 -87
- package/dist/cjs/apis/documents/DocumentsAPI.cjs.map +0 -1
- package/dist/cjs/apis/expenses/ExpensesAPI.cjs +0 -62
- package/dist/cjs/apis/expenses/ExpensesAPI.cjs.map +0 -1
- package/dist/cjs/apis/friends/FriendsAPI.cjs +0 -150
- package/dist/cjs/apis/friends/FriendsAPI.cjs.map +0 -1
- package/dist/cjs/apis/integrations/IntegrationsAPI.cjs +0 -55
- package/dist/cjs/apis/integrations/IntegrationsAPI.cjs.map +0 -1
- package/dist/cjs/apis/invoices/InvoicesAPI.cjs +0 -168
- package/dist/cjs/apis/invoices/InvoicesAPI.cjs.map +0 -1
- package/dist/cjs/apis/loyalty/LoyaltyProgramAPI.cjs +0 -484
- package/dist/cjs/apis/loyalty/LoyaltyProgramAPI.cjs.map +0 -1
- package/dist/cjs/apis/notifications/NotificationAPI.cjs +0 -103
- package/dist/cjs/apis/notifications/NotificationAPI.cjs.map +0 -1
- package/dist/cjs/apis/payment-methods/PaymentMethodsAPI.cjs +0 -125
- package/dist/cjs/apis/payment-methods/PaymentMethodsAPI.cjs.map +0 -1
- package/dist/cjs/apis/receipts/ReceiptAPI.cjs +0 -135
- package/dist/cjs/apis/receipts/ReceiptAPI.cjs.map +0 -1
- package/dist/cjs/apis/user/UserAPI.cjs +0 -130
- package/dist/cjs/apis/user/UserAPI.cjs.map +0 -1
- package/dist/cjs/apis/vendors/VendorsAPI.cjs +0 -215
- package/dist/cjs/apis/vendors/VendorsAPI.cjs.map +0 -1
- package/dist/cjs/context/ApiContext.cjs +0 -94
- package/dist/cjs/context/ApiContext.cjs.map +0 -1
- package/dist/esm/apis/SBApiKeys.mjs +0 -56
- package/dist/esm/apis/SBApiKeys.mjs.map +0 -1
- package/dist/esm/apis/api-logs/LogsAPI.mjs +0 -39
- package/dist/esm/apis/api-logs/LogsAPI.mjs.map +0 -1
- package/dist/esm/apis/attachments/AttachmentsAPI.mjs +0 -142
- package/dist/esm/apis/attachments/AttachmentsAPI.mjs.map +0 -1
- package/dist/esm/apis/banks/accounts/BankAccountAPI.mjs +0 -84
- package/dist/esm/apis/banks/accounts/BankAccountAPI.mjs.map +0 -1
- package/dist/esm/apis/banks/bank-institutions/BankInstitutionsAPI.mjs +0 -55
- package/dist/esm/apis/banks/bank-institutions/BankInstitutionsAPI.mjs.map +0 -1
- package/dist/esm/apis/banks/bank-transactions/BankTransactionAPI.mjs +0 -54
- package/dist/esm/apis/banks/bank-transactions/BankTransactionAPI.mjs.map +0 -1
- package/dist/esm/apis/business/BusinessAPI.mjs +0 -165
- package/dist/esm/apis/business/BusinessAPI.mjs.map +0 -1
- package/dist/esm/apis/business/customers/CustomerAPI.mjs +0 -155
- package/dist/esm/apis/business/customers/CustomerAPI.mjs.map +0 -1
- package/dist/esm/apis/business/customers/CustomerBalanceTransactionsAPI.mjs +0 -68
- package/dist/esm/apis/business/customers/CustomerBalanceTransactionsAPI.mjs.map +0 -1
- package/dist/esm/apis/business/customers/CustomerPaymentMethodsAPI.mjs +0 -170
- package/dist/esm/apis/business/customers/CustomerPaymentMethodsAPI.mjs.map +0 -1
- package/dist/esm/apis/business/departments/DepartmentApi.mjs +0 -161
- package/dist/esm/apis/business/departments/DepartmentApi.mjs.map +0 -1
- package/dist/esm/apis/business/departments/employees/DepartmentEmployeesAPI.mjs +0 -132
- package/dist/esm/apis/business/departments/employees/DepartmentEmployeesAPI.mjs.map +0 -1
- package/dist/esm/apis/business/fees/FeesAPI.mjs +0 -161
- package/dist/esm/apis/business/fees/FeesAPI.mjs.map +0 -1
- package/dist/esm/apis/business/locations/LocationsAPI.mjs +0 -127
- package/dist/esm/apis/business/locations/LocationsAPI.mjs.map +0 -1
- package/dist/esm/apis/business/products/ProductsAPI.mjs +0 -177
- package/dist/esm/apis/business/products/ProductsAPI.mjs.map +0 -1
- package/dist/esm/apis/business/products/images/ProductImagesAPI.mjs +0 -188
- package/dist/esm/apis/business/products/images/ProductImagesAPI.mjs.map +0 -1
- package/dist/esm/apis/business/products/modifiers/ModifiersAPI.mjs +0 -163
- package/dist/esm/apis/business/products/modifiers/ModifiersAPI.mjs.map +0 -1
- package/dist/esm/apis/business/products/options/ProductOptionsAPI.mjs +0 -177
- package/dist/esm/apis/business/products/options/ProductOptionsAPI.mjs.map +0 -1
- package/dist/esm/apis/business/products/variants/ProductVariantsAPI.mjs +0 -179
- package/dist/esm/apis/business/products/variants/ProductVariantsAPI.mjs.map +0 -1
- package/dist/esm/apis/business/promo-codes/PromoCodesAPI.mjs +0 -133
- package/dist/esm/apis/business/promo-codes/PromoCodesAPI.mjs.map +0 -1
- package/dist/esm/apis/business/reviews/ReviewsAPI.mjs +0 -137
- package/dist/esm/apis/business/reviews/ReviewsAPI.mjs.map +0 -1
- package/dist/esm/apis/business/tables/TablesAPI.mjs +0 -70
- package/dist/esm/apis/business/tables/TablesAPI.mjs.map +0 -1
- package/dist/esm/apis/business/taxes/TaxesAPI.mjs +0 -134
- package/dist/esm/apis/business/taxes/TaxesAPI.mjs.map +0 -1
- package/dist/esm/apis/business/team/TeamMemberInvitationsAPI.mjs +0 -153
- package/dist/esm/apis/business/team/TeamMemberInvitationsAPI.mjs.map +0 -1
- package/dist/esm/apis/business/team/TeamMembersAPI.mjs +0 -88
- package/dist/esm/apis/business/team/TeamMembersAPI.mjs.map +0 -1
- package/dist/esm/apis/business/vendors/VendorsAPI.mjs +0 -228
- package/dist/esm/apis/business/vendors/VendorsAPI.mjs.map +0 -1
- package/dist/esm/apis/documents/DocumentsAPI.mjs +0 -82
- package/dist/esm/apis/documents/DocumentsAPI.mjs.map +0 -1
- package/dist/esm/apis/expenses/ExpensesAPI.mjs +0 -58
- package/dist/esm/apis/expenses/ExpensesAPI.mjs.map +0 -1
- package/dist/esm/apis/friends/FriendsAPI.mjs +0 -144
- package/dist/esm/apis/friends/FriendsAPI.mjs.map +0 -1
- package/dist/esm/apis/integrations/IntegrationsAPI.mjs +0 -52
- package/dist/esm/apis/integrations/IntegrationsAPI.mjs.map +0 -1
- package/dist/esm/apis/invoices/InvoicesAPI.mjs +0 -161
- package/dist/esm/apis/invoices/InvoicesAPI.mjs.map +0 -1
- package/dist/esm/apis/loyalty/LoyaltyProgramAPI.mjs +0 -482
- package/dist/esm/apis/loyalty/LoyaltyProgramAPI.mjs.map +0 -1
- package/dist/esm/apis/notifications/NotificationAPI.mjs +0 -98
- package/dist/esm/apis/notifications/NotificationAPI.mjs.map +0 -1
- package/dist/esm/apis/payment-methods/PaymentMethodsAPI.mjs +0 -117
- package/dist/esm/apis/payment-methods/PaymentMethodsAPI.mjs.map +0 -1
- package/dist/esm/apis/receipts/ReceiptAPI.mjs +0 -129
- package/dist/esm/apis/receipts/ReceiptAPI.mjs.map +0 -1
- package/dist/esm/apis/user/UserAPI.mjs +0 -123
- package/dist/esm/apis/user/UserAPI.mjs.map +0 -1
- package/dist/esm/apis/vendors/VendorsAPI.mjs +0 -204
- package/dist/esm/apis/vendors/VendorsAPI.mjs.map +0 -1
- package/dist/esm/context/ApiContext.mjs +0 -86
- package/dist/esm/context/ApiContext.mjs.map +0 -1
- package/dist/umd/index.js +0 -5099
- package/dist/umd/index.js.map +0 -1
package/dist/@types/index.d.ts
DELETED
|
@@ -1,1447 +0,0 @@
|
|
|
1
|
-
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
|
-
import { InfiniteData, UseMutationOptions } from '@tanstack/react-query';
|
|
3
|
-
import * as _smartbills_sdk from '@smartbills/sdk';
|
|
4
|
-
import { SBRequestOptions, SBApiLog, SBApiException, LogListRequest, SBList, SBAttachment, AttachmentCreateRequest, AttachmentListRequest, SBBankAccount, BankAccountListRequest, BankTransactionListRequest, SBBankTransaction, BankInstitutionListRequest, SBBankInstitution, DocumentListRequest, SBDocument, DocumentUploadRequest, FriendListRequest, SBFriend, ListRequest, SBFriendRequest, CustomerListRequest, SBCustomer, CustomerCreateRequest, CustomerUpdateRequest, CustomerPaymentMethodListRequest, SBPaymentMethod, CustomerPaymentMethodCreateRequest, CustomerPaymentMethodUpdateRequest, CustomerBalanceTransactionListRequest, SBCustomerBalanceTransaction, TaxListRequest, SBTax, TaxCreateRequest, TaxUpdateRequest, ProductListRequest, SBProduct, ProductCreateRequest, ProductUpdateRequest, SBBatch, BatchUpsertRequest, ProductUpsertRequest, SBProductVariant, ProductVariantCreateRequest, ProductVariantUpdateRequest, SBProductModifier, ProductModifierCreateRequest, ProductModifierUpdateRequest, SBProductOption, SBProductImage, ProductImageCreateRequest, ProductImageUpdateRequest, SBBusinessReview, BusinessReviewCreateRequest, BusinessReviewUpdateRequest, LocationsListRequest, SBLocation, LocationCreateRequest, LocationUpdateRequest, PromoCodeListRequest, SBPromoCode, PromoCodeCreateRequest, PromoCodeUpdateRequest, FeeListRequest, SBFee, FeeCreateRequest, FeeUpdateRequest, SBVendor, VendorCreateRequest, VendorUpdateRequest, VendorConnectRequest, SBTeamMemberInvitation, TeamMemberInvitationListRequest, TeamMemberInvitationRequest, TeamMemberInvitationResponseRequest, SBTeamMember, TeamMemberListRequest, BusinessListRequest, SBBusiness, BusinessCreateRequest, BusinessUpdateRequest, BusinessInvitationRequest, SBEntity, ITimestamp, SBDepartmentTeamMember, SBTable, TableCreateRequest, TableUpdateRequest, SBInvoice, InvoiceCreateRequest, InvoiceUpdateRequest, SBNotification, PaymentMethodCreateRequest, PaymentMethodListRequest, SBPaymentMethodSetup, SBReceipt, ReceiptListRequest, ReceiptCreateRequest, ReceiptUpdateRequest, SBUserAccount, SearchUsersRequest, UserUpdateRequest, SBIntegration, ExpenseUploadRequest, SBClient, SBCredentialProvider } from '@smartbills/sdk';
|
|
5
|
-
import { AxiosRequestConfig } from 'axios';
|
|
6
|
-
import { DepartmentEmployeeCreateRequest } from '@smartbills/sdk/dist/@types/services/businesses/departments/Employees/DepartmentEmployeeCreateRequest';
|
|
7
|
-
import React, { ReactNode } from 'react';
|
|
8
|
-
|
|
9
|
-
declare const useGetLogByIdQuery: (id: number, options?: SBRequestOptions, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<SBApiLog, SBApiException>;
|
|
10
|
-
declare function useListLogsInfiniteQuery(request?: LogListRequest, options?: SBRequestOptions, config?: AxiosRequestConfig<LogListRequest>): _tanstack_react_query.UseInfiniteQueryResult<InfiniteData<SBList<SBApiLog>, unknown>, SBApiException>;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Hook for retrieving an attachment by ID
|
|
14
|
-
* @param id - The ID of the attachment to retrieve
|
|
15
|
-
* @param options - Optional request options
|
|
16
|
-
* @param config - Optional Axios request configuration
|
|
17
|
-
* @returns Query result containing the attachment data
|
|
18
|
-
*/
|
|
19
|
-
declare function useGetAttachmentByIdQuery(id: number, options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseQueryResult<SBAttachment, SBApiException>;
|
|
20
|
-
/**
|
|
21
|
-
* Hook for creating an attachment
|
|
22
|
-
* @returns Mutation function for creating attachments
|
|
23
|
-
*/
|
|
24
|
-
declare function useCreateAttachmentMutation(): _tanstack_react_query.UseMutationResult<SBAttachment, SBApiException, {
|
|
25
|
-
data: AttachmentCreateRequest;
|
|
26
|
-
options?: SBRequestOptions;
|
|
27
|
-
config?: AxiosRequestConfig;
|
|
28
|
-
}, unknown>;
|
|
29
|
-
/**
|
|
30
|
-
* Hook for deleting an attachment
|
|
31
|
-
* @returns Mutation function for deleting attachments
|
|
32
|
-
*/
|
|
33
|
-
declare function useDeleteAttachmentMutation(): _tanstack_react_query.UseMutationResult<SBAttachment, SBApiException, {
|
|
34
|
-
id: number;
|
|
35
|
-
options?: SBRequestOptions;
|
|
36
|
-
config?: AxiosRequestConfig;
|
|
37
|
-
}, unknown>;
|
|
38
|
-
/**
|
|
39
|
-
* Hook for listing attachments with infinite pagination
|
|
40
|
-
* @param request - Request parameters for listing attachments
|
|
41
|
-
* @param options - Optional request options
|
|
42
|
-
* @param config - Optional Axios request configuration
|
|
43
|
-
* @param businessId - Optional business ID when calling on behalf of a business
|
|
44
|
-
* @param businessId - Optional business ID when calling on behalf of an business
|
|
45
|
-
* @param userId - Optional user ID when calling on behalf of a user
|
|
46
|
-
* @returns Infinite query result for implementing infinite scrolling with attachment data
|
|
47
|
-
*/
|
|
48
|
-
declare function useListAttachmentsInfiniteQuery(request?: AttachmentListRequest, options?: SBRequestOptions, config?: AxiosRequestConfig<AttachmentListRequest>, businessId?: number, userId?: number): _tanstack_react_query.UseInfiniteQueryResult<InfiniteData<SBList<SBAttachment>, unknown>, SBApiException>;
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Hook for retrieving a bank account by ID
|
|
52
|
-
* @param id - The ID of the bank account to retrieve
|
|
53
|
-
* @param options - Optional request options
|
|
54
|
-
* @param config - Optional Axios request configuration
|
|
55
|
-
* @returns Query result containing the bank account data
|
|
56
|
-
*/
|
|
57
|
-
declare const useGetBankAccountByIdQuery: (id: number, options?: SBRequestOptions, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<SBBankAccount, SBApiException>;
|
|
58
|
-
/**
|
|
59
|
-
* Hook for listing bank accounts
|
|
60
|
-
* @param request - Request parameters for listing bank accounts
|
|
61
|
-
* @param options - Optional request options
|
|
62
|
-
* @param config - Optional Axios request configuration
|
|
63
|
-
* @returns Query result containing paginated bank account data
|
|
64
|
-
*/
|
|
65
|
-
declare const useListBankAccountsQuery: (request?: BankAccountListRequest, options?: SBRequestOptions, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<SBBankAccount[], SBApiException>;
|
|
66
|
-
/**
|
|
67
|
-
* Hook for listing bank account transactions with infinite pagination
|
|
68
|
-
* @param id - The ID of the bank account
|
|
69
|
-
* @param request - Request parameters for listing transactions
|
|
70
|
-
* @param options - Optional request options
|
|
71
|
-
* @param config - Optional Axios request configuration
|
|
72
|
-
* @returns Infinite query result for implementing infinite scrolling with bank account transaction data
|
|
73
|
-
*/
|
|
74
|
-
declare const useListBankAccountTransactionsInfiniteQuery: (id: number, request?: BankTransactionListRequest, options?: SBRequestOptions, config?: AxiosRequestConfig) => _tanstack_react_query.UseInfiniteQueryResult<SBList<SBBankTransaction>, SBApiException>;
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Hook for listing bank institutions with infinite pagination
|
|
78
|
-
* @param request - Request parameters for listing bank institutions
|
|
79
|
-
* @param options - Optional request options
|
|
80
|
-
* @param config - Optional Axios request configuration
|
|
81
|
-
* @returns Infinite query result for implementing infinite scrolling with bank institutions data
|
|
82
|
-
*/
|
|
83
|
-
declare function useListBankInstitutionsInfiniteQuery(request?: BankInstitutionListRequest, options?: SBRequestOptions, config?: AxiosRequestConfig<BankInstitutionListRequest>): _tanstack_react_query.UseInfiniteQueryResult<InfiniteData<SBList<SBBankInstitution>, unknown>, SBApiException>;
|
|
84
|
-
/**
|
|
85
|
-
* Hook for retrieving a bank institution by ID
|
|
86
|
-
* @param id - The ID of the bank institution to retrieve
|
|
87
|
-
* @param options - Optional request options
|
|
88
|
-
* @param config - Optional Axios request configuration
|
|
89
|
-
* @returns Query result containing the bank institution data
|
|
90
|
-
*/
|
|
91
|
-
declare const useGetBankInstitutionByIdQuery: (id: number, options?: SBRequestOptions, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<SBBankInstitution, SBApiException>;
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* Hook for listing bank transactions with infinite pagination
|
|
95
|
-
* @param request - Request parameters for listing bank transactions
|
|
96
|
-
* @param options - Optional request options
|
|
97
|
-
* @param config - Optional axios request config
|
|
98
|
-
* @returns Infinite query result for implementing infinite scrolling with bank transaction data
|
|
99
|
-
*/
|
|
100
|
-
declare const useListBankTransactionsInfiniteQuery: (request?: BankTransactionListRequest, options?: SBRequestOptions, config?: AxiosRequestConfig) => _tanstack_react_query.UseInfiniteQueryResult<SBList<SBBankTransaction>, SBApiException>;
|
|
101
|
-
/**
|
|
102
|
-
* Hook for retrieving a bank transaction by ID
|
|
103
|
-
* @param id - The ID of the bank transaction to retrieve
|
|
104
|
-
* @param options - Optional request options
|
|
105
|
-
* @param config - Optional Axios request configuration
|
|
106
|
-
* @returns Query result containing the bank transaction data
|
|
107
|
-
*/
|
|
108
|
-
declare const useGetBankTransactionByIdQuery: (id: number, options?: SBRequestOptions, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<SBBankTransaction, SBApiException>;
|
|
109
|
-
|
|
110
|
-
declare function useListDocumentsInfiniteQuery(request?: DocumentListRequest, options?: SBRequestOptions, config?: AxiosRequestConfig<DocumentListRequest>): _tanstack_react_query.UseInfiniteQueryResult<InfiniteData<SBList<SBDocument>, unknown>, SBApiException>;
|
|
111
|
-
declare const useGetDocumentByIdQuery: (id: number, options?: SBRequestOptions, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<SBDocument, SBApiException>;
|
|
112
|
-
declare const useUploadDocumentMutation: () => _tanstack_react_query.UseMutationResult<SBDocument, SBApiException, {
|
|
113
|
-
request: DocumentUploadRequest;
|
|
114
|
-
options?: SBRequestOptions;
|
|
115
|
-
config?: AxiosRequestConfig<DocumentUploadRequest>;
|
|
116
|
-
}, unknown>;
|
|
117
|
-
declare const useDeleteDocumentMutation: () => _tanstack_react_query.UseMutationResult<void, SBApiException, {
|
|
118
|
-
id: number;
|
|
119
|
-
options?: SBRequestOptions;
|
|
120
|
-
config?: AxiosRequestConfig;
|
|
121
|
-
}, unknown>;
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* Hook for listing friends with infinite pagination
|
|
125
|
-
* @param request - Request parameters for listing friends
|
|
126
|
-
* @param options - Optional request options
|
|
127
|
-
* @param config - Optional Axios request configuration
|
|
128
|
-
* @returns Infinite query result for implementing infinite scrolling with friends data
|
|
129
|
-
*/
|
|
130
|
-
declare const useListFriendsInfiniteQuery: (request?: FriendListRequest, options?: SBRequestOptions, config?: AxiosRequestConfig<FriendListRequest>) => _tanstack_react_query.UseInfiniteQueryResult<InfiniteData<SBList<SBFriend>, unknown>, SBApiException>;
|
|
131
|
-
/**
|
|
132
|
-
* Hook for listing recommended friends with infinite pagination
|
|
133
|
-
* @param request - Request parameters for listing recommended friends
|
|
134
|
-
* @param options - Optional request options
|
|
135
|
-
* @param config - Optional Axios request configuration
|
|
136
|
-
* @returns Infinite query result for implementing infinite scrolling with recommended friends data
|
|
137
|
-
*/
|
|
138
|
-
declare const useListRecommendedFriendsInfiniteQuery: (request?: FriendListRequest, options?: SBRequestOptions, config?: AxiosRequestConfig<FriendListRequest>) => _tanstack_react_query.UseInfiniteQueryResult<SBList<SBFriend>, SBApiException>;
|
|
139
|
-
/**
|
|
140
|
-
* Hook for retrieving a friend by ID
|
|
141
|
-
* @param id - The ID of the friend to retrieve
|
|
142
|
-
* @param options - Optional request options
|
|
143
|
-
* @param config - Optional Axios request configuration
|
|
144
|
-
* @returns Query result containing the friend data
|
|
145
|
-
*/
|
|
146
|
-
declare const useGetFriendByIdQuery: (id: number, options?: SBRequestOptions, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<SBFriend, SBApiException>;
|
|
147
|
-
/**
|
|
148
|
-
* Hook for deleting a friend
|
|
149
|
-
* @returns Mutation function for deleting friends
|
|
150
|
-
*/
|
|
151
|
-
declare const useDeleteFriendMutation: () => _tanstack_react_query.UseMutationResult<SBFriend, SBApiException, {
|
|
152
|
-
id: number;
|
|
153
|
-
options?: SBRequestOptions;
|
|
154
|
-
config?: AxiosRequestConfig;
|
|
155
|
-
}, unknown>;
|
|
156
|
-
declare function useListFriendRequestsInfiniteQuery(request?: ListRequest, options?: SBRequestOptions, config?: AxiosRequestConfig<ListRequest>): _tanstack_react_query.UseInfiniteQueryResult<InfiniteData<SBList<SBFriendRequest>, unknown>, SBApiException>;
|
|
157
|
-
|
|
158
|
-
declare const loyalty = "";
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* Hook to list customers with infinite scrolling
|
|
162
|
-
* @param request - The list request parameters
|
|
163
|
-
* @param options - Optional request options
|
|
164
|
-
* @param config - Optional axios request config
|
|
165
|
-
* @returns Infinite query result containing the paginated customers
|
|
166
|
-
*/
|
|
167
|
-
declare function useListCustomersInfiniteQuery(request?: CustomerListRequest, options?: SBRequestOptions, config?: AxiosRequestConfig<CustomerListRequest>): _tanstack_react_query.UseInfiniteQueryResult<InfiniteData<SBList<SBCustomer>, unknown>, SBApiException>;
|
|
168
|
-
/**
|
|
169
|
-
* Hook to get a customer by ID
|
|
170
|
-
* @param id - The customer ID
|
|
171
|
-
* @param options - Optional request options
|
|
172
|
-
* @param config - Optional axios request config
|
|
173
|
-
* @returns Query result containing the customer data
|
|
174
|
-
*/
|
|
175
|
-
declare const useGetCustomerByIdQuery: (id: number, options?: SBRequestOptions, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<SBCustomer, SBApiException>;
|
|
176
|
-
/**
|
|
177
|
-
* Hook to create a new customer
|
|
178
|
-
* @returns Mutation function to create a customer
|
|
179
|
-
*/
|
|
180
|
-
declare const useCreateCustomerMutation: () => _tanstack_react_query.UseMutationResult<SBCustomer, SBApiException, {
|
|
181
|
-
request: CustomerCreateRequest;
|
|
182
|
-
options?: SBRequestOptions;
|
|
183
|
-
config?: AxiosRequestConfig<CustomerCreateRequest>;
|
|
184
|
-
}, unknown>;
|
|
185
|
-
/**
|
|
186
|
-
* Hook to update a customer
|
|
187
|
-
* @returns Mutation function for updating customers
|
|
188
|
-
*/
|
|
189
|
-
declare const useUpdateCustomerMutation: () => _tanstack_react_query.UseMutationResult<SBCustomer, SBApiException, {
|
|
190
|
-
id: number;
|
|
191
|
-
request: CustomerUpdateRequest;
|
|
192
|
-
options?: SBRequestOptions;
|
|
193
|
-
config?: AxiosRequestConfig<CustomerUpdateRequest>;
|
|
194
|
-
}, unknown>;
|
|
195
|
-
/**
|
|
196
|
-
* Hook to delete a customer
|
|
197
|
-
* @returns Mutation function for deleting customers
|
|
198
|
-
*/
|
|
199
|
-
declare const useDeleteCustomerMutation: () => _tanstack_react_query.UseMutationResult<void, SBApiException, {
|
|
200
|
-
id: number;
|
|
201
|
-
options?: SBRequestOptions;
|
|
202
|
-
config?: AxiosRequestConfig;
|
|
203
|
-
}, unknown>;
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* Hook to list a customer's payment methods with infinite query
|
|
207
|
-
* @param customerId - The customer ID
|
|
208
|
-
* @param request - Request parameters for listing payment methods
|
|
209
|
-
* @param options - Optional request options
|
|
210
|
-
* @param config - Optional axios request config
|
|
211
|
-
* @returns Infinite query result containing the customer's payment methods
|
|
212
|
-
*/
|
|
213
|
-
declare const useListCustomerPaymentMethodsInfiniteQuery: (customerId: number, request?: CustomerPaymentMethodListRequest, options?: SBRequestOptions, config?: AxiosRequestConfig) => _tanstack_react_query.UseInfiniteQueryResult<SBList<SBPaymentMethod>, SBApiException>;
|
|
214
|
-
/**
|
|
215
|
-
* Hook to get a specific payment method for a customer
|
|
216
|
-
* @param customerId - The customer ID
|
|
217
|
-
* @param id - The payment method ID
|
|
218
|
-
* @param options - Optional request options
|
|
219
|
-
* @param config - Optional axios request config
|
|
220
|
-
* @returns Query result containing the payment method
|
|
221
|
-
*/
|
|
222
|
-
declare const useGetCustomerPaymentMethodByIdQuery: (customerId: number, id: number, options?: SBRequestOptions, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<SBPaymentMethod, SBApiException>;
|
|
223
|
-
/**
|
|
224
|
-
* Hook to create a customer payment method
|
|
225
|
-
* @returns Mutation function and state for creating payment methods
|
|
226
|
-
*/
|
|
227
|
-
declare const useCreateCustomerPaymentMethodMutation: () => _tanstack_react_query.UseMutationResult<SBPaymentMethod, SBApiException, {
|
|
228
|
-
customerId: number;
|
|
229
|
-
data: CustomerPaymentMethodCreateRequest;
|
|
230
|
-
options?: SBRequestOptions;
|
|
231
|
-
config?: AxiosRequestConfig;
|
|
232
|
-
}, unknown>;
|
|
233
|
-
/**
|
|
234
|
-
* Hook to update a customer payment method
|
|
235
|
-
* @returns Mutation function and state for updating payment methods
|
|
236
|
-
*/
|
|
237
|
-
declare const useUpdateCustomerPaymentMethodMutation: () => _tanstack_react_query.UseMutationResult<SBPaymentMethod, SBApiException, {
|
|
238
|
-
customerId: number;
|
|
239
|
-
id: number;
|
|
240
|
-
data: CustomerPaymentMethodUpdateRequest;
|
|
241
|
-
options?: SBRequestOptions;
|
|
242
|
-
config?: AxiosRequestConfig;
|
|
243
|
-
}, unknown>;
|
|
244
|
-
/**
|
|
245
|
-
* Hook to delete a customer payment method
|
|
246
|
-
* @returns Mutation function and state for deleting payment methods
|
|
247
|
-
*/
|
|
248
|
-
declare const useDeleteCustomerPaymentMethodMutation: () => _tanstack_react_query.UseMutationResult<SBPaymentMethod, SBApiException, {
|
|
249
|
-
customerId: number;
|
|
250
|
-
id: number;
|
|
251
|
-
options?: SBRequestOptions;
|
|
252
|
-
config?: AxiosRequestConfig;
|
|
253
|
-
}, unknown>;
|
|
254
|
-
|
|
255
|
-
/**
|
|
256
|
-
* Hook to list balance transactions for a customer with infinite scrolling
|
|
257
|
-
* @param customerId - The customer ID
|
|
258
|
-
* @param request - The list request parameters
|
|
259
|
-
* @param options - Optional request options
|
|
260
|
-
* @param config - Optional axios request config
|
|
261
|
-
* @returns Query result containing the customer balance transactions
|
|
262
|
-
*/
|
|
263
|
-
declare const useListCustomerBalanceTransactionsInfiniteQuery: (customerId: number, request?: CustomerBalanceTransactionListRequest, options?: SBRequestOptions, config?: AxiosRequestConfig<CustomerBalanceTransactionListRequest>) => _tanstack_react_query.UseInfiniteQueryResult<SBList<SBCustomerBalanceTransaction>, SBApiException>;
|
|
264
|
-
/**
|
|
265
|
-
* Hook to get a specific balance transaction for a customer
|
|
266
|
-
* @param customerId - The customer ID
|
|
267
|
-
* @param transactionId - The balance transaction ID
|
|
268
|
-
* @param options - Optional request options
|
|
269
|
-
* @param config - Optional axios request config
|
|
270
|
-
* @returns Query result containing the customer balance transaction
|
|
271
|
-
*/
|
|
272
|
-
declare const useGetCustomerBalanceTransactionByIdQuery: (customerId: number, transactionId: number, options?: SBRequestOptions, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<SBCustomerBalanceTransaction, SBApiException>;
|
|
273
|
-
|
|
274
|
-
declare const useListTaxesInfiniteQuery: (request?: TaxListRequest, options?: SBRequestOptions, config?: AxiosRequestConfig<TaxListRequest>) => _tanstack_react_query.UseInfiniteQueryResult<SBList<SBTax>, SBApiException>;
|
|
275
|
-
declare const useGetTaxByIdQuery: (id: number, options?: SBRequestOptions, config?: AxiosRequestConfig<TaxListRequest>) => _tanstack_react_query.UseQueryResult<SBTax, SBApiException>;
|
|
276
|
-
declare const useCreateTaxMutation: () => _tanstack_react_query.UseMutationResult<SBTax, SBApiException, {
|
|
277
|
-
request: TaxCreateRequest;
|
|
278
|
-
options?: SBRequestOptions;
|
|
279
|
-
config?: AxiosRequestConfig<TaxCreateRequest>;
|
|
280
|
-
}, unknown>;
|
|
281
|
-
declare const useUpdateTaxMutation: () => _tanstack_react_query.UseMutationResult<SBTax, SBApiException, {
|
|
282
|
-
id: number;
|
|
283
|
-
request: TaxUpdateRequest;
|
|
284
|
-
options?: SBRequestOptions;
|
|
285
|
-
config?: AxiosRequestConfig<TaxUpdateRequest>;
|
|
286
|
-
}, unknown>;
|
|
287
|
-
declare const useDeleteTaxMutation: () => _tanstack_react_query.UseMutationResult<void, SBApiException, {
|
|
288
|
-
id: number;
|
|
289
|
-
options?: SBRequestOptions;
|
|
290
|
-
config?: AxiosRequestConfig;
|
|
291
|
-
}, unknown>;
|
|
292
|
-
|
|
293
|
-
/**
|
|
294
|
-
* Hook to list products with infinite scrolling
|
|
295
|
-
* @param request - The list request parameters
|
|
296
|
-
* @param options - Optional request options
|
|
297
|
-
* @param config - Optional axios request config
|
|
298
|
-
* @returns Infinite query result containing the paginated products
|
|
299
|
-
*/
|
|
300
|
-
declare function useListProductsInfiniteQuery(request?: ProductListRequest, options?: SBRequestOptions, config?: AxiosRequestConfig<ProductListRequest>): _tanstack_react_query.UseInfiniteQueryResult<InfiniteData<SBList<SBProduct>, unknown>, SBApiException>;
|
|
301
|
-
/**
|
|
302
|
-
* Hook to get a product by ID
|
|
303
|
-
* @param id - The product ID
|
|
304
|
-
* @param options - Optional request options
|
|
305
|
-
* @param config - Optional axios request config
|
|
306
|
-
* @returns Query result containing the product data
|
|
307
|
-
*/
|
|
308
|
-
declare function useGetProductByIdQuery(id: number, options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseQueryResult<SBProduct, Error>;
|
|
309
|
-
/**
|
|
310
|
-
* Hook to create a new product
|
|
311
|
-
* @returns Mutation function to create a product
|
|
312
|
-
*/
|
|
313
|
-
declare function useCreateProductMutation(): _tanstack_react_query.UseMutationResult<SBProduct, SBApiException, ProductCreateRequest, unknown>;
|
|
314
|
-
/**
|
|
315
|
-
* Hook to delete a product
|
|
316
|
-
* @returns Mutation function for deleting products
|
|
317
|
-
*/
|
|
318
|
-
declare function useDeleteProductMutation(): _tanstack_react_query.UseMutationResult<SBProduct, Error, {
|
|
319
|
-
id: number;
|
|
320
|
-
options?: SBRequestOptions;
|
|
321
|
-
config?: AxiosRequestConfig;
|
|
322
|
-
}, unknown>;
|
|
323
|
-
/**
|
|
324
|
-
* Hook to update a product
|
|
325
|
-
* @returns Mutation function for updating products
|
|
326
|
-
*/
|
|
327
|
-
declare function useUpdateProductMutation(): _tanstack_react_query.UseMutationResult<SBProduct, Error, {
|
|
328
|
-
id: number;
|
|
329
|
-
request: ProductUpdateRequest;
|
|
330
|
-
options?: SBRequestOptions;
|
|
331
|
-
config?: AxiosRequestConfig<ProductUpdateRequest>;
|
|
332
|
-
}, unknown>;
|
|
333
|
-
/**
|
|
334
|
-
* Hook to batch upsert products
|
|
335
|
-
* @returns Mutation function for batch upsert operations
|
|
336
|
-
*/
|
|
337
|
-
declare function useBatchUpsertProductsMutation(): _tanstack_react_query.UseMutationResult<SBBatch<SBProduct>, Error, {
|
|
338
|
-
requests: BatchUpsertRequest<ProductUpsertRequest>;
|
|
339
|
-
options?: SBRequestOptions;
|
|
340
|
-
config?: AxiosRequestConfig<BatchUpsertRequest<ProductUpsertRequest>>;
|
|
341
|
-
}, unknown>;
|
|
342
|
-
|
|
343
|
-
/**
|
|
344
|
-
* Hook to fetch a list of product variants for a specific product using infinite query
|
|
345
|
-
* @param productId - The ID of the product
|
|
346
|
-
* @param request - The pagination request parameters
|
|
347
|
-
* @param options - Optional request options
|
|
348
|
-
* @param config - Optional Axios request configuration
|
|
349
|
-
* @returns An infinite query result containing paginated product variants data
|
|
350
|
-
*/
|
|
351
|
-
declare function useListProductVariantsInfiniteQuery(productId: number, request?: {
|
|
352
|
-
page?: number;
|
|
353
|
-
pageSize?: number;
|
|
354
|
-
}, options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseInfiniteQueryResult<SBList<SBProductVariant>, SBApiException>;
|
|
355
|
-
/**
|
|
356
|
-
* Hook to fetch a specific product variant by ID
|
|
357
|
-
* @param productId - The ID of the product
|
|
358
|
-
* @param variantId - The ID of the product variant to retrieve
|
|
359
|
-
* @param options - Optional request options
|
|
360
|
-
* @param config - Optional Axios request configuration
|
|
361
|
-
* @returns A query result containing the product variant data
|
|
362
|
-
*/
|
|
363
|
-
declare function useGetProductVariantByIdQuery(productId: number, variantId: number, options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseQueryResult<SBProductVariant, SBApiException>;
|
|
364
|
-
/**
|
|
365
|
-
* Hook to create a new product variant
|
|
366
|
-
* @returns A mutation function to create a product variant
|
|
367
|
-
*/
|
|
368
|
-
declare function useCreateProductVariantMutation(): _tanstack_react_query.UseMutationResult<SBProductVariant, SBApiException, {
|
|
369
|
-
productId: number;
|
|
370
|
-
data: ProductVariantCreateRequest;
|
|
371
|
-
options?: SBRequestOptions;
|
|
372
|
-
config?: AxiosRequestConfig;
|
|
373
|
-
}, unknown>;
|
|
374
|
-
/**
|
|
375
|
-
* Hook to update an existing product variant
|
|
376
|
-
* @returns A mutation function to update a product variant
|
|
377
|
-
*/
|
|
378
|
-
declare function useUpdateProductVariantMutation(): _tanstack_react_query.UseMutationResult<SBProductVariant, SBApiException, {
|
|
379
|
-
productId: number;
|
|
380
|
-
variantId: number;
|
|
381
|
-
data: ProductVariantUpdateRequest;
|
|
382
|
-
options?: SBRequestOptions;
|
|
383
|
-
config?: AxiosRequestConfig;
|
|
384
|
-
}, unknown>;
|
|
385
|
-
/**
|
|
386
|
-
* Hook to delete a product variant
|
|
387
|
-
* @returns A mutation function to delete a product variant
|
|
388
|
-
*/
|
|
389
|
-
declare function useDeleteProductVariantMutation(): _tanstack_react_query.UseMutationResult<SBProductVariant, SBApiException, {
|
|
390
|
-
productId: number;
|
|
391
|
-
variantId: number;
|
|
392
|
-
options?: SBRequestOptions;
|
|
393
|
-
config?: AxiosRequestConfig;
|
|
394
|
-
}, unknown>;
|
|
395
|
-
|
|
396
|
-
/**
|
|
397
|
-
* Hook to fetch a list of modifiers for a specific business and product with infinite scrolling
|
|
398
|
-
* @param productId - The ID of the product
|
|
399
|
-
* @param request - The pagination request parameters
|
|
400
|
-
* @param options - Optional request options
|
|
401
|
-
* @param config - Optional Axios request configuration
|
|
402
|
-
* @returns An infinite query result containing paginated modifiers data
|
|
403
|
-
*/
|
|
404
|
-
declare function useListProductModifiersInfiniteQuery(productId: number, request?: {
|
|
405
|
-
page?: number;
|
|
406
|
-
pageSize?: number;
|
|
407
|
-
}, options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseInfiniteQueryResult<SBList<SBProductModifier>, SBApiException>;
|
|
408
|
-
/**
|
|
409
|
-
* Hook to fetch a specific modifier by ID for a business and product
|
|
410
|
-
* @param productId - The ID of the product
|
|
411
|
-
* @param modifierId - The ID of the modifier to retrieve
|
|
412
|
-
* @param options - Optional request options
|
|
413
|
-
* @param config - Optional Axios request configuration
|
|
414
|
-
* @returns A query result containing the modifier data
|
|
415
|
-
*/
|
|
416
|
-
declare function useGetProductModifierByIdQuery(productId: number, modifierId: number, options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseQueryResult<SBProductModifier, SBApiException>;
|
|
417
|
-
/**
|
|
418
|
-
* Hook to create a new modifier for a product
|
|
419
|
-
* @returns A mutation function to create a modifier
|
|
420
|
-
*/
|
|
421
|
-
declare function useCreateProductModifierMutation(productId: number): _tanstack_react_query.UseMutationResult<SBProductModifier, SBApiException, {
|
|
422
|
-
data: ProductModifierCreateRequest;
|
|
423
|
-
options?: SBRequestOptions;
|
|
424
|
-
config?: AxiosRequestConfig<ProductModifierCreateRequest>;
|
|
425
|
-
}, unknown>;
|
|
426
|
-
/**
|
|
427
|
-
* Hook to update an existing modifier for a product
|
|
428
|
-
* @returns A mutation function to update a modifier
|
|
429
|
-
*/
|
|
430
|
-
declare function useUpdateProductModifierMutation(productId: number): _tanstack_react_query.UseMutationResult<SBProductModifier, SBApiException, {
|
|
431
|
-
modifierId: number;
|
|
432
|
-
data: ProductModifierUpdateRequest;
|
|
433
|
-
options?: SBRequestOptions;
|
|
434
|
-
config?: AxiosRequestConfig<ProductModifierUpdateRequest>;
|
|
435
|
-
}, unknown>;
|
|
436
|
-
/**
|
|
437
|
-
* Hook to delete a modifier for a product
|
|
438
|
-
* @returns A mutation function to delete a modifier
|
|
439
|
-
*/
|
|
440
|
-
declare function useDeleteProductModifierMutation(productId: number): _tanstack_react_query.UseMutationResult<SBProductModifier, SBApiException, {
|
|
441
|
-
modifierId: number;
|
|
442
|
-
options?: SBRequestOptions;
|
|
443
|
-
config?: AxiosRequestConfig;
|
|
444
|
-
}, unknown>;
|
|
445
|
-
|
|
446
|
-
/**
|
|
447
|
-
* Hook to fetch a list of product options for a specific product using infinite query
|
|
448
|
-
* @param productId - The ID of the product
|
|
449
|
-
* @param request - The pagination request parameters
|
|
450
|
-
* @param options - Optional request options
|
|
451
|
-
* @param config - Optional Axios request configuration
|
|
452
|
-
* @returns An infinite query result containing paginated product options data
|
|
453
|
-
*/
|
|
454
|
-
declare function useListProductOptionsInfiniteQuery(productId: number, request?: {
|
|
455
|
-
page?: number;
|
|
456
|
-
pageSize?: number;
|
|
457
|
-
}, options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseInfiniteQueryResult<SBList<SBProductOption>, SBApiException>;
|
|
458
|
-
/**
|
|
459
|
-
* Hook to fetch a specific product option by ID
|
|
460
|
-
* @param productId - The ID of the product
|
|
461
|
-
* @param optionId - The ID of the product option to retrieve
|
|
462
|
-
* @param options - Optional request options
|
|
463
|
-
* @param config - Optional Axios request configuration
|
|
464
|
-
* @returns A query result containing the product option data
|
|
465
|
-
*/
|
|
466
|
-
declare function useGetProductOptionByIdQuery(productId: number, optionId: number, options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseQueryResult<SBProductOption, SBApiException>;
|
|
467
|
-
/**
|
|
468
|
-
* Hook to create a new product option
|
|
469
|
-
* @returns A mutation function to create a product option
|
|
470
|
-
*/
|
|
471
|
-
declare function useCreateProductOptionMutation(): _tanstack_react_query.UseMutationResult<SBProductOption, SBApiException, {
|
|
472
|
-
productId: number;
|
|
473
|
-
request: Omit<SBProductOption, "id" | "createdAt" | "updatedAt">;
|
|
474
|
-
options?: SBRequestOptions;
|
|
475
|
-
config?: AxiosRequestConfig;
|
|
476
|
-
}, unknown>;
|
|
477
|
-
/**
|
|
478
|
-
* Hook to update an existing product option
|
|
479
|
-
* @returns A mutation function to update a product option
|
|
480
|
-
*/
|
|
481
|
-
declare function useUpdateProductOptionMutation(): _tanstack_react_query.UseMutationResult<SBProductOption, SBApiException, {
|
|
482
|
-
productId: number;
|
|
483
|
-
optionId: number;
|
|
484
|
-
request: Partial<SBProductOption>;
|
|
485
|
-
options?: SBRequestOptions;
|
|
486
|
-
config?: AxiosRequestConfig;
|
|
487
|
-
}, unknown>;
|
|
488
|
-
/**
|
|
489
|
-
* Hook to delete a product option
|
|
490
|
-
* @returns A mutation function to delete a product option
|
|
491
|
-
*/
|
|
492
|
-
declare function useDeleteProductOptionMutation(): _tanstack_react_query.UseMutationResult<SBProductOption, SBApiException, {
|
|
493
|
-
productId: number;
|
|
494
|
-
optionId: number;
|
|
495
|
-
options?: SBRequestOptions;
|
|
496
|
-
config?: AxiosRequestConfig;
|
|
497
|
-
}, unknown>;
|
|
498
|
-
|
|
499
|
-
/**
|
|
500
|
-
* Hook to fetch a list of product images for a specific product using infinite query
|
|
501
|
-
* @param productId - The ID of the product
|
|
502
|
-
* @param request - The pagination request parameters
|
|
503
|
-
* @param options - Optional request options
|
|
504
|
-
* @param config - Optional Axios request configuration
|
|
505
|
-
* @returns An infinite query result containing paginated product images data
|
|
506
|
-
*/
|
|
507
|
-
declare function useListProductImagesInfiniteQuery(productId: number, request?: {
|
|
508
|
-
page?: number;
|
|
509
|
-
pageSize?: number;
|
|
510
|
-
}, options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseInfiniteQueryResult<SBList<SBProductImage>, SBApiException>;
|
|
511
|
-
/**
|
|
512
|
-
* Hook to fetch a list of product images for a specific product
|
|
513
|
-
* @param productId - The ID of the product
|
|
514
|
-
* @param request - The pagination request parameters
|
|
515
|
-
* @param options - Optional request options
|
|
516
|
-
* @param config - Optional Axios request configuration
|
|
517
|
-
* @returns A query result containing paginated product images data
|
|
518
|
-
*/
|
|
519
|
-
declare function useListProductImagesQuery(productId: number, request?: {
|
|
520
|
-
page?: number;
|
|
521
|
-
pageSize?: number;
|
|
522
|
-
}, options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseQueryResult<SBList<SBProductImage>, Error>;
|
|
523
|
-
/**
|
|
524
|
-
* Hook to fetch a specific product image by ID
|
|
525
|
-
* @param productId - The ID of the product
|
|
526
|
-
* @param imageId - The ID of the product image to retrieve
|
|
527
|
-
* @param options - Optional request options
|
|
528
|
-
* @param config - Optional Axios request configuration
|
|
529
|
-
* @returns A query result containing the product image data
|
|
530
|
-
*/
|
|
531
|
-
declare function useGetProductImageByIdQuery(productId: number, imageId: number, options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseQueryResult<SBProductImage, SBApiException>;
|
|
532
|
-
/**
|
|
533
|
-
* Hook to create a new product image
|
|
534
|
-
* @returns A mutation function to create a product image
|
|
535
|
-
*/
|
|
536
|
-
declare function useCreateProductImageMutation(): _tanstack_react_query.UseMutationResult<SBProductImage, SBApiException, {
|
|
537
|
-
productId: number;
|
|
538
|
-
request: ProductImageCreateRequest;
|
|
539
|
-
options?: SBRequestOptions;
|
|
540
|
-
config?: AxiosRequestConfig;
|
|
541
|
-
}, unknown>;
|
|
542
|
-
/**
|
|
543
|
-
* Hook to update an existing product image
|
|
544
|
-
* @returns A mutation function to update a product image
|
|
545
|
-
*/
|
|
546
|
-
declare function useUpdateProductImageMutation(): _tanstack_react_query.UseMutationResult<SBProductImage, SBApiException, {
|
|
547
|
-
productId: number;
|
|
548
|
-
imageId: number;
|
|
549
|
-
request: ProductImageUpdateRequest;
|
|
550
|
-
options?: SBRequestOptions;
|
|
551
|
-
config?: AxiosRequestConfig;
|
|
552
|
-
}, unknown>;
|
|
553
|
-
/**
|
|
554
|
-
* Hook to delete a product image
|
|
555
|
-
* @returns A mutation function to delete a product image
|
|
556
|
-
*/
|
|
557
|
-
declare function useDeleteProductImageMutation(): _tanstack_react_query.UseMutationResult<SBProductImage, SBApiException, {
|
|
558
|
-
productId: number;
|
|
559
|
-
imageId: number;
|
|
560
|
-
options?: SBRequestOptions;
|
|
561
|
-
config?: AxiosRequestConfig;
|
|
562
|
-
}, unknown>;
|
|
563
|
-
|
|
564
|
-
/**
|
|
565
|
-
* Hook for listing reviews with infinite pagination
|
|
566
|
-
* @param request - Request parameters for listing reviews
|
|
567
|
-
* @param options - Optional request options
|
|
568
|
-
* @param config - Optional Axios request configuration
|
|
569
|
-
* @returns Infinite query result for implementing infinite scrolling with reviews data
|
|
570
|
-
*/
|
|
571
|
-
declare const useListReviewsInfiniteQuery: (request?: {
|
|
572
|
-
page?: number;
|
|
573
|
-
pageSize?: number;
|
|
574
|
-
}, options?: SBRequestOptions, config?: AxiosRequestConfig) => _tanstack_react_query.UseInfiniteQueryResult<InfiniteData<SBList<SBBusinessReview>, unknown>, SBApiException>;
|
|
575
|
-
/**
|
|
576
|
-
* Hook for retrieving a review by ID
|
|
577
|
-
* @param id - The ID of the review to retrieve
|
|
578
|
-
* @param options - Optional request options
|
|
579
|
-
* @param config - Optional Axios request configuration
|
|
580
|
-
* @returns Query result containing the review data
|
|
581
|
-
*/
|
|
582
|
-
declare const useGetReviewByIdQuery: (id: number, options?: SBRequestOptions, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<SBBusinessReview, SBApiException>;
|
|
583
|
-
/**
|
|
584
|
-
* Hook for creating a new review
|
|
585
|
-
* @returns Mutation function for creating reviews
|
|
586
|
-
*/
|
|
587
|
-
declare const useCreateReviewMutation: () => _tanstack_react_query.UseMutationResult<SBBusinessReview, SBApiException, {
|
|
588
|
-
data: BusinessReviewCreateRequest;
|
|
589
|
-
options?: SBRequestOptions;
|
|
590
|
-
config?: AxiosRequestConfig<BusinessReviewCreateRequest>;
|
|
591
|
-
}, unknown>;
|
|
592
|
-
/**
|
|
593
|
-
* Hook for updating an existing review
|
|
594
|
-
* @returns Mutation function for updating reviews
|
|
595
|
-
*/
|
|
596
|
-
declare const useUpdateReviewMutation: () => _tanstack_react_query.UseMutationResult<SBBusinessReview, SBApiException, {
|
|
597
|
-
id: number;
|
|
598
|
-
data: BusinessReviewUpdateRequest;
|
|
599
|
-
options?: SBRequestOptions;
|
|
600
|
-
config?: AxiosRequestConfig<BusinessReviewUpdateRequest>;
|
|
601
|
-
}, unknown>;
|
|
602
|
-
/**
|
|
603
|
-
* Hook for deleting a review
|
|
604
|
-
* @returns Mutation function for deleting reviews
|
|
605
|
-
*/
|
|
606
|
-
declare const useDeleteReviewMutation: () => _tanstack_react_query.UseMutationResult<void, SBApiException, {
|
|
607
|
-
id: number;
|
|
608
|
-
options?: SBRequestOptions;
|
|
609
|
-
config?: AxiosRequestConfig;
|
|
610
|
-
}, unknown>;
|
|
611
|
-
|
|
612
|
-
declare function useListLocationsInfiniteQuery(request?: LocationsListRequest, options?: SBRequestOptions, config?: AxiosRequestConfig<LocationsListRequest>): _tanstack_react_query.UseInfiniteQueryResult<InfiniteData<SBList<SBLocation>, unknown>, SBApiException>;
|
|
613
|
-
declare const useGetLocationByIdQuery: (id: number, options?: SBRequestOptions, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<SBLocation, SBApiException>;
|
|
614
|
-
declare const useCreateLocationMutation: () => _tanstack_react_query.UseMutationResult<SBLocation, SBApiException, {
|
|
615
|
-
request: LocationCreateRequest;
|
|
616
|
-
options?: SBRequestOptions;
|
|
617
|
-
config?: AxiosRequestConfig<LocationCreateRequest>;
|
|
618
|
-
}, unknown>;
|
|
619
|
-
declare const useUpdateLocationMutation: () => _tanstack_react_query.UseMutationResult<SBLocation, SBApiException, {
|
|
620
|
-
id: number;
|
|
621
|
-
request: LocationUpdateRequest;
|
|
622
|
-
options?: SBRequestOptions;
|
|
623
|
-
config?: AxiosRequestConfig<LocationUpdateRequest>;
|
|
624
|
-
}, unknown>;
|
|
625
|
-
declare const useDeleteLocationMutation: () => _tanstack_react_query.UseMutationResult<void, SBApiException, {
|
|
626
|
-
id: number;
|
|
627
|
-
options?: SBRequestOptions;
|
|
628
|
-
config?: AxiosRequestConfig;
|
|
629
|
-
}, unknown>;
|
|
630
|
-
|
|
631
|
-
declare const useListPromoCodes: (request?: PromoCodeListRequest, options?: SBRequestOptions, config?: AxiosRequestConfig<PromoCodeListRequest>) => _tanstack_react_query.UseInfiniteQueryResult<SBList<SBPromoCode>, SBApiException>;
|
|
632
|
-
declare const useGetPromoCodeById: (id: number, options?: SBRequestOptions, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<SBPromoCode, SBApiException>;
|
|
633
|
-
declare const useCreatePromoCodeMutation: () => _tanstack_react_query.UseMutationResult<SBPromoCode, SBApiException, {
|
|
634
|
-
request: PromoCodeCreateRequest;
|
|
635
|
-
options?: SBRequestOptions;
|
|
636
|
-
config?: AxiosRequestConfig<PromoCodeCreateRequest>;
|
|
637
|
-
}, unknown>;
|
|
638
|
-
declare const useUpdatePromoCodeMutation: () => _tanstack_react_query.UseMutationResult<SBPromoCode, SBApiException, {
|
|
639
|
-
id: number;
|
|
640
|
-
request: PromoCodeUpdateRequest;
|
|
641
|
-
options?: SBRequestOptions;
|
|
642
|
-
config?: AxiosRequestConfig<PromoCodeUpdateRequest>;
|
|
643
|
-
}, unknown>;
|
|
644
|
-
declare const useDeletePromoCodeMutation: () => _tanstack_react_query.UseMutationResult<void, SBApiException, {
|
|
645
|
-
id: number;
|
|
646
|
-
options?: SBRequestOptions;
|
|
647
|
-
config?: AxiosRequestConfig;
|
|
648
|
-
}, unknown>;
|
|
649
|
-
|
|
650
|
-
/**
|
|
651
|
-
* Hook to list fees with infinite scrolling
|
|
652
|
-
* @param request - The list request parameters
|
|
653
|
-
* @param options - Optional request options
|
|
654
|
-
* @param config - Optional axios request config
|
|
655
|
-
* @returns Infinite query result containing paginated fee data
|
|
656
|
-
*/
|
|
657
|
-
declare function useListFeesInfiniteQuery(request?: FeeListRequest, options?: SBRequestOptions, config?: AxiosRequestConfig<FeeListRequest>): _tanstack_react_query.UseInfiniteQueryResult<SBList<SBFee>, SBApiException>;
|
|
658
|
-
/**
|
|
659
|
-
* Hook to get a fee by ID
|
|
660
|
-
* @param feeId - The ID of the fee to retrieve
|
|
661
|
-
* @param options - Optional request options
|
|
662
|
-
* @param config - Optional axios request config
|
|
663
|
-
* @returns Query result containing the fee data
|
|
664
|
-
*/
|
|
665
|
-
declare function useGetFeeByIdQuery(feeId: number, options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseQueryResult<SBFee, SBApiException>;
|
|
666
|
-
/**
|
|
667
|
-
* Hook to create a new fee
|
|
668
|
-
* @returns Mutation function for creating fees
|
|
669
|
-
*/
|
|
670
|
-
declare function useCreateFeeMutation(): _tanstack_react_query.UseMutationResult<SBFee, SBApiException, {
|
|
671
|
-
data: FeeCreateRequest;
|
|
672
|
-
options?: SBRequestOptions;
|
|
673
|
-
config?: AxiosRequestConfig<FeeCreateRequest>;
|
|
674
|
-
}, unknown>;
|
|
675
|
-
/**
|
|
676
|
-
* Hook to update an existing fee
|
|
677
|
-
* @returns Mutation function for updating fees
|
|
678
|
-
*/
|
|
679
|
-
declare function useUpdateFeeMutation(): _tanstack_react_query.UseMutationResult<SBFee, SBApiException, {
|
|
680
|
-
feeId: number;
|
|
681
|
-
data: FeeUpdateRequest;
|
|
682
|
-
options?: SBRequestOptions;
|
|
683
|
-
config?: AxiosRequestConfig<FeeUpdateRequest>;
|
|
684
|
-
}, unknown>;
|
|
685
|
-
/**
|
|
686
|
-
* Hook to delete a fee
|
|
687
|
-
* @returns Mutation function for deleting fees
|
|
688
|
-
*/
|
|
689
|
-
declare function useDeleteFeeMutation(): _tanstack_react_query.UseMutationResult<SBFee, SBApiException, {
|
|
690
|
-
feeId: number;
|
|
691
|
-
options?: SBRequestOptions;
|
|
692
|
-
config?: AxiosRequestConfig;
|
|
693
|
-
}, unknown>;
|
|
694
|
-
|
|
695
|
-
/**
|
|
696
|
-
* Hook for listing vendors with infinite pagination
|
|
697
|
-
* @param request - Request parameters for listing vendors
|
|
698
|
-
* @param options - Optional request options including businessId and userId
|
|
699
|
-
* @param config - Optional Axios request configuration
|
|
700
|
-
* @returns Infinite query result for implementing infinite scrolling with vendor data
|
|
701
|
-
*/
|
|
702
|
-
declare function useListBusinessVendorsInfiniteQuery(request?: ListRequest, options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseInfiniteQueryResult<InfiniteData<SBList<SBVendor>, unknown>, SBApiException>;
|
|
703
|
-
/**
|
|
704
|
-
* Hook for retrieving a vendor by ID
|
|
705
|
-
* @param id - The ID of the vendor to retrieve
|
|
706
|
-
* @param options - Optional request options including businessId and userId
|
|
707
|
-
* @param config - Optional Axios request configuration
|
|
708
|
-
* @returns Query result containing the vendor data, loading state, and error information
|
|
709
|
-
*/
|
|
710
|
-
declare function useGetBusinessVendorByIdQuery(id: number, options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseQueryResult<SBVendor, Error>;
|
|
711
|
-
/**
|
|
712
|
-
* Hook for deleting a vendor
|
|
713
|
-
* @param mutationOptions - Optional React Query mutation options
|
|
714
|
-
* @returns Mutation function and state for deleting vendors
|
|
715
|
-
*/
|
|
716
|
-
declare function useDeleteBusinessVendorMutation(mutationOptions?: Omit<UseMutationOptions<SBVendor, SBApiException, {
|
|
717
|
-
vendorId: number;
|
|
718
|
-
options?: SBRequestOptions;
|
|
719
|
-
config?: AxiosRequestConfig;
|
|
720
|
-
}>, "mutationFn">): _tanstack_react_query.UseMutationResult<SBVendor, SBApiException, {
|
|
721
|
-
vendorId: number;
|
|
722
|
-
options?: SBRequestOptions;
|
|
723
|
-
config?: AxiosRequestConfig;
|
|
724
|
-
}, unknown>;
|
|
725
|
-
/**
|
|
726
|
-
* Hook for creating a new vendor
|
|
727
|
-
* @param mutationOptions - Optional React Query mutation options
|
|
728
|
-
* @returns Mutation function and state for creating vendors
|
|
729
|
-
*/
|
|
730
|
-
declare function useCreateBusinessVendorMutation(mutationOptions?: Omit<UseMutationOptions<SBVendor, SBApiException, {
|
|
731
|
-
request: VendorCreateRequest;
|
|
732
|
-
options?: SBRequestOptions;
|
|
733
|
-
config?: AxiosRequestConfig;
|
|
734
|
-
}>, "mutationFn">): _tanstack_react_query.UseMutationResult<SBVendor, SBApiException, {
|
|
735
|
-
request: VendorCreateRequest;
|
|
736
|
-
options?: SBRequestOptions;
|
|
737
|
-
config?: AxiosRequestConfig;
|
|
738
|
-
}, unknown>;
|
|
739
|
-
/**
|
|
740
|
-
* Hook for updating a vendor
|
|
741
|
-
* @param mutationOptions - Optional React Query mutation options
|
|
742
|
-
* @returns Mutation function and state for updating vendors
|
|
743
|
-
*/
|
|
744
|
-
declare function useUpdateBusinessVendorMutation(mutationOptions?: Omit<UseMutationOptions<SBVendor, SBApiException, {
|
|
745
|
-
vendorId: number;
|
|
746
|
-
request: VendorUpdateRequest;
|
|
747
|
-
options?: SBRequestOptions;
|
|
748
|
-
config?: AxiosRequestConfig;
|
|
749
|
-
}>, "mutationFn">): _tanstack_react_query.UseMutationResult<SBVendor, SBApiException, {
|
|
750
|
-
vendorId: number;
|
|
751
|
-
request: VendorUpdateRequest;
|
|
752
|
-
options?: SBRequestOptions;
|
|
753
|
-
config?: AxiosRequestConfig;
|
|
754
|
-
}, unknown>;
|
|
755
|
-
/**
|
|
756
|
-
* Hook for getting a vendor link token for Deck connection
|
|
757
|
-
* @param mutationOptions - Optional React Query mutation options
|
|
758
|
-
* @returns Mutation function and state for getting a vendor link token
|
|
759
|
-
*/
|
|
760
|
-
declare function useGetBusinessVendorLinkTokenMutation(mutationOptions?: UseMutationOptions<any, // Replace with the actual return type
|
|
761
|
-
SBApiException, {
|
|
762
|
-
options?: SBRequestOptions;
|
|
763
|
-
config?: AxiosRequestConfig;
|
|
764
|
-
}>): _tanstack_react_query.UseMutationResult<any, SBApiException, {
|
|
765
|
-
options?: SBRequestOptions;
|
|
766
|
-
config?: AxiosRequestConfig;
|
|
767
|
-
}, unknown>;
|
|
768
|
-
/**
|
|
769
|
-
* Hook for connecting a vendor to Deck
|
|
770
|
-
* @param mutationOptions - Optional React Query mutation options
|
|
771
|
-
* @returns Mutation function and state for connecting vendors
|
|
772
|
-
*/
|
|
773
|
-
declare function useConnectBusinessVendorMutation(mutationOptions?: Omit<UseMutationOptions<SBVendor, SBApiException, {
|
|
774
|
-
request: VendorConnectRequest;
|
|
775
|
-
options?: SBRequestOptions;
|
|
776
|
-
config?: AxiosRequestConfig;
|
|
777
|
-
}>, "mutationFn">): _tanstack_react_query.UseMutationResult<SBVendor, SBApiException, {
|
|
778
|
-
request: VendorConnectRequest;
|
|
779
|
-
options?: SBRequestOptions;
|
|
780
|
-
config?: AxiosRequestConfig;
|
|
781
|
-
}, unknown>;
|
|
782
|
-
/**
|
|
783
|
-
* Hook for manually refreshing a vendor's data from Deck
|
|
784
|
-
* @param mutationOptions - Optional React Query mutation options
|
|
785
|
-
* @returns Mutation function and state for refreshing vendors
|
|
786
|
-
*/
|
|
787
|
-
declare function useRefreshBusinessVendorMutation(mutationOptions?: Omit<UseMutationOptions<void, SBApiException, {
|
|
788
|
-
vendorId: number;
|
|
789
|
-
options?: SBRequestOptions;
|
|
790
|
-
config?: AxiosRequestConfig;
|
|
791
|
-
}>, "mutationFn">): _tanstack_react_query.UseMutationResult<void, SBApiException, {
|
|
792
|
-
vendorId: number;
|
|
793
|
-
options?: SBRequestOptions;
|
|
794
|
-
config?: AxiosRequestConfig;
|
|
795
|
-
}, unknown>;
|
|
796
|
-
|
|
797
|
-
interface TeamMemberInvitationRequestMutation {
|
|
798
|
-
request: TeamMemberInvitationRequest;
|
|
799
|
-
}
|
|
800
|
-
declare const useInviteMemberToBusinessMutation: () => _tanstack_react_query.UseMutationResult<SBTeamMemberInvitation, SBApiException, TeamMemberInvitationRequestMutation, unknown>;
|
|
801
|
-
interface TeamMemberInvitationCancelMutation {
|
|
802
|
-
invitationId: number;
|
|
803
|
-
}
|
|
804
|
-
declare const useCancelTeamMemberInvitation: () => _tanstack_react_query.UseMutationResult<SBTeamMemberInvitation, SBApiException, TeamMemberInvitationCancelMutation, unknown>;
|
|
805
|
-
interface TeamMemberInvitationAcceptMutation {
|
|
806
|
-
invitationId: number;
|
|
807
|
-
request: TeamMemberInvitationResponseRequest;
|
|
808
|
-
options?: SBRequestOptions;
|
|
809
|
-
config?: AxiosRequestConfig<TeamMemberInvitationResponseRequest>;
|
|
810
|
-
}
|
|
811
|
-
interface TeamMemberInvitationRefuseMutation {
|
|
812
|
-
invitationId: number;
|
|
813
|
-
request: TeamMemberInvitationResponseRequest;
|
|
814
|
-
}
|
|
815
|
-
interface GetTeamMemberInvitationQuery {
|
|
816
|
-
invitationId: number;
|
|
817
|
-
}
|
|
818
|
-
declare const useGetTeamMemberInvitationById: ({ invitationId, }: GetTeamMemberInvitationQuery) => _tanstack_react_query.UseQueryResult<SBTeamMemberInvitation, SBApiException>;
|
|
819
|
-
interface TeamMemberInvitationCreateMutation {
|
|
820
|
-
request: TeamMemberInvitationRequest;
|
|
821
|
-
options?: SBRequestOptions;
|
|
822
|
-
config?: AxiosRequestConfig<TeamMemberInvitationRequest>;
|
|
823
|
-
}
|
|
824
|
-
/**
|
|
825
|
-
* Hook for creating an business invitation
|
|
826
|
-
* @returns Mutation function for creating business invitations
|
|
827
|
-
*/
|
|
828
|
-
declare const useCreateTeamMemberInvitationMutation: () => _tanstack_react_query.UseMutationResult<SBTeamMemberInvitation, SBApiException, TeamMemberInvitationCreateMutation, unknown>;
|
|
829
|
-
/**
|
|
830
|
-
* Hook for accepting an business invitation
|
|
831
|
-
* @returns Mutation function for accepting business invitations
|
|
832
|
-
*/
|
|
833
|
-
declare const useAcceptTeamMemberInvitationMutation: () => _tanstack_react_query.UseMutationResult<SBTeamMemberInvitation, SBApiException, TeamMemberInvitationAcceptMutation, unknown>;
|
|
834
|
-
/**
|
|
835
|
-
* Hook for refusing an business invitation
|
|
836
|
-
* @returns Mutation function for refusing business invitations
|
|
837
|
-
*/
|
|
838
|
-
declare const useRefuseTeamMemberInvitationMutation: () => _tanstack_react_query.UseMutationResult<SBTeamMemberInvitation, SBApiException, TeamMemberInvitationRefuseMutation, unknown>;
|
|
839
|
-
/**
|
|
840
|
-
* Hook for listing business invitations with infinite pagination
|
|
841
|
-
* @param businessId - The ID of the business
|
|
842
|
-
* @param request - Request parameters for listing invitations
|
|
843
|
-
* @param options - Optional request options
|
|
844
|
-
* @param config - Optional Axios request configuration
|
|
845
|
-
* @returns Infinite query result for implementing infinite scrolling with business invitations data
|
|
846
|
-
*/
|
|
847
|
-
declare function useListTeamMemberInvitationsInfiniteQuery(businessId: number, request?: TeamMemberInvitationListRequest, options?: SBRequestOptions, config?: AxiosRequestConfig<TeamMemberInvitationListRequest>): _tanstack_react_query.UseInfiniteQueryResult<InfiniteData<SBList<SBTeamMemberInvitation>, unknown>, SBApiException>;
|
|
848
|
-
|
|
849
|
-
declare const useChangeTeamMemberRoleMutation: () => _tanstack_react_query.UseMutationResult<SBTeamMember, SBApiException, {
|
|
850
|
-
id: number;
|
|
851
|
-
}, unknown>;
|
|
852
|
-
declare const useDeleteTeamMemberMutation: () => _tanstack_react_query.UseMutationResult<SBTeamMember, SBApiException, {
|
|
853
|
-
id: number;
|
|
854
|
-
}, unknown>;
|
|
855
|
-
declare function useListTeamMembersInfiniteQuery(request?: TeamMemberListRequest, options?: SBRequestOptions, config?: AxiosRequestConfig<TeamMemberListRequest>): _tanstack_react_query.UseInfiniteQueryResult<InfiniteData<SBList<SBTeamMember>, unknown>, SBApiException>;
|
|
856
|
-
declare const useGetTeamMemberByIdQuery: (id: number) => _tanstack_react_query.UseQueryResult<SBTeamMember, SBApiException>;
|
|
857
|
-
|
|
858
|
-
/**
|
|
859
|
-
* Hook for listing business with infinite pagination
|
|
860
|
-
* @param request - Request parameters for listing business
|
|
861
|
-
* @param options - Optional request options
|
|
862
|
-
* @param config - Optional Axios request configuration
|
|
863
|
-
* @returns Infinite query result for implementing infinite scrolling with business data
|
|
864
|
-
*/
|
|
865
|
-
declare function useListBusinessInfiniteQuery(request?: BusinessListRequest, options?: SBRequestOptions, config?: AxiosRequestConfig<BusinessListRequest>): _tanstack_react_query.UseInfiniteQueryResult<InfiniteData<SBList<SBBusiness>, unknown>, SBApiException>;
|
|
866
|
-
/**
|
|
867
|
-
* Hook for retrieving a business by ID
|
|
868
|
-
* @param id - The ID of the business to retrieve
|
|
869
|
-
* @param options - Optional request options
|
|
870
|
-
* @param config - Optional Axios request configuration
|
|
871
|
-
* @returns Query result containing the business data
|
|
872
|
-
*/
|
|
873
|
-
declare const useGetBusinessByIdQuery: (id: number, options?: SBRequestOptions, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<SBBusiness, SBApiException>;
|
|
874
|
-
/**
|
|
875
|
-
* Hook for creating a new business
|
|
876
|
-
* @returns Mutation function for creating business
|
|
877
|
-
*/
|
|
878
|
-
declare const useCreateBusinessMutation: () => _tanstack_react_query.UseMutationResult<SBBusiness, SBApiException, {
|
|
879
|
-
request: BusinessCreateRequest;
|
|
880
|
-
options?: SBRequestOptions;
|
|
881
|
-
config?: AxiosRequestConfig<BusinessCreateRequest>;
|
|
882
|
-
}, unknown>;
|
|
883
|
-
/**
|
|
884
|
-
* Hook for updating an existing business
|
|
885
|
-
* @returns Mutation function for updating business
|
|
886
|
-
*/
|
|
887
|
-
declare const useUpdateBusinessMutation: () => _tanstack_react_query.UseMutationResult<SBBusiness, SBApiException, {
|
|
888
|
-
businessId: number;
|
|
889
|
-
request: BusinessUpdateRequest;
|
|
890
|
-
options?: SBRequestOptions;
|
|
891
|
-
config?: AxiosRequestConfig<BusinessUpdateRequest>;
|
|
892
|
-
}, unknown>;
|
|
893
|
-
/**
|
|
894
|
-
* Hook for deleting a business
|
|
895
|
-
* @returns Mutation function for deleting business
|
|
896
|
-
*/
|
|
897
|
-
declare const useDeleteBusinessMutation: () => _tanstack_react_query.UseMutationResult<SBBusiness, SBApiException, {
|
|
898
|
-
businessId: number;
|
|
899
|
-
options?: SBRequestOptions;
|
|
900
|
-
config?: AxiosRequestConfig;
|
|
901
|
-
}, unknown>;
|
|
902
|
-
/**
|
|
903
|
-
* Hook for batch inviting members to a business
|
|
904
|
-
*/
|
|
905
|
-
declare const useBatchInviteMemberMutation: () => _tanstack_react_query.UseMutationResult<any, SBApiException, {
|
|
906
|
-
businessId: number;
|
|
907
|
-
invitations: BusinessInvitationRequest[];
|
|
908
|
-
options?: SBRequestOptions;
|
|
909
|
-
config?: AxiosRequestConfig;
|
|
910
|
-
}, unknown>;
|
|
911
|
-
|
|
912
|
-
/**
|
|
913
|
-
* NOTE: This API implementation assumes that the SDK has a departments service
|
|
914
|
-
* which may still need to be implemented in the SDK. The implementation follows
|
|
915
|
-
* the same pattern as the EmployeesAPI but requires the BusinessService to have
|
|
916
|
-
* a departments property.
|
|
917
|
-
*/
|
|
918
|
-
interface SBDepartment extends SBEntity, ITimestamp {
|
|
919
|
-
name: string;
|
|
920
|
-
description?: string;
|
|
921
|
-
businessId: number;
|
|
922
|
-
}
|
|
923
|
-
interface DepartmentCreateRequest {
|
|
924
|
-
name: string;
|
|
925
|
-
description?: string;
|
|
926
|
-
}
|
|
927
|
-
interface DepartmentUpdateRequest {
|
|
928
|
-
name?: string;
|
|
929
|
-
description?: string;
|
|
930
|
-
}
|
|
931
|
-
/**
|
|
932
|
-
* Hook to fetch a list of departments using infinite query
|
|
933
|
-
* @param request - The pagination request parameters
|
|
934
|
-
* @param options - Optional request options
|
|
935
|
-
* @param config - Optional Axios request configuration
|
|
936
|
-
* @returns An infinite query result containing paginated departments data
|
|
937
|
-
*/
|
|
938
|
-
declare function useListDepartmentsInfiniteQuery(request?: {
|
|
939
|
-
page?: number;
|
|
940
|
-
pageSize?: number;
|
|
941
|
-
}, options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseInfiniteQueryResult<SBList<SBDepartment>, SBApiException>;
|
|
942
|
-
/**
|
|
943
|
-
* Hook to fetch a list of departments
|
|
944
|
-
* @param request - The pagination request parameters
|
|
945
|
-
* @param options - Optional request options
|
|
946
|
-
* @param config - Optional Axios request configuration
|
|
947
|
-
* @returns A query result containing paginated departments data
|
|
948
|
-
*/
|
|
949
|
-
declare function useListDepartmentsQuery(request?: {
|
|
950
|
-
page?: number;
|
|
951
|
-
pageSize?: number;
|
|
952
|
-
}, options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseQueryResult<SBList<_smartbills_sdk.SBDepartment>, Error>;
|
|
953
|
-
/**
|
|
954
|
-
* Hook to fetch a specific department by ID
|
|
955
|
-
* @param departmentId - The ID of the department to retrieve
|
|
956
|
-
* @param options - Optional request options
|
|
957
|
-
* @param config - Optional Axios request configuration
|
|
958
|
-
* @returns A query result containing the department data
|
|
959
|
-
*/
|
|
960
|
-
declare function useGetDepartmentByIdQuery(departmentId: number, options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseQueryResult<SBDepartment, SBApiException>;
|
|
961
|
-
/**
|
|
962
|
-
* Hook to create a new department
|
|
963
|
-
* @returns A mutation function to create a department
|
|
964
|
-
*/
|
|
965
|
-
declare function useCreateDepartmentMutation(): _tanstack_react_query.UseMutationResult<SBDepartment, SBApiException, {
|
|
966
|
-
request: DepartmentCreateRequest;
|
|
967
|
-
options?: SBRequestOptions;
|
|
968
|
-
config?: AxiosRequestConfig;
|
|
969
|
-
}, unknown>;
|
|
970
|
-
/**
|
|
971
|
-
* Hook to update an existing department
|
|
972
|
-
* @returns A mutation function to update a department
|
|
973
|
-
*/
|
|
974
|
-
declare function useUpdateDepartmentMutation(): _tanstack_react_query.UseMutationResult<SBDepartment, SBApiException, {
|
|
975
|
-
departmentId: number;
|
|
976
|
-
request: DepartmentUpdateRequest;
|
|
977
|
-
options?: SBRequestOptions;
|
|
978
|
-
config?: AxiosRequestConfig;
|
|
979
|
-
}, unknown>;
|
|
980
|
-
/**
|
|
981
|
-
* Hook to delete a department
|
|
982
|
-
* @returns A mutation function to delete a department
|
|
983
|
-
*/
|
|
984
|
-
declare function useDeleteDepartmentMutation(): _tanstack_react_query.UseMutationResult<SBDepartment, SBApiException, {
|
|
985
|
-
departmentId: number;
|
|
986
|
-
options?: SBRequestOptions;
|
|
987
|
-
config?: AxiosRequestConfig;
|
|
988
|
-
}, unknown>;
|
|
989
|
-
|
|
990
|
-
/**
|
|
991
|
-
* NOTE: This API implementation assumes that the SDK has a departments service
|
|
992
|
-
* which may still need to be implemented in the SDK. The implementation follows
|
|
993
|
-
* the same pattern as the EmployeesAPI but requires the BusinessService to have
|
|
994
|
-
* a departments property with an employees subproperty.
|
|
995
|
-
*/
|
|
996
|
-
/**
|
|
997
|
-
* Hook to fetch a list of employees in a department using infinite query
|
|
998
|
-
* @param departmentId - The ID of the department
|
|
999
|
-
* @param request - The pagination request parameters
|
|
1000
|
-
* @param options - Optional request options
|
|
1001
|
-
* @param config - Optional Axios request configuration
|
|
1002
|
-
* @returns An infinite query result containing paginated department employees data
|
|
1003
|
-
*/
|
|
1004
|
-
declare function useListDepartmentEmployeesInfiniteQuery(departmentId: number, request?: {
|
|
1005
|
-
page?: number;
|
|
1006
|
-
pageSize?: number;
|
|
1007
|
-
}, options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseInfiniteQueryResult<SBList<SBDepartmentTeamMember>, SBApiException>;
|
|
1008
|
-
/**
|
|
1009
|
-
* Hook to fetch a list of employees in a department
|
|
1010
|
-
* @param departmentId - The ID of the department
|
|
1011
|
-
* @param request - The pagination request parameters
|
|
1012
|
-
* @param options - Optional request options
|
|
1013
|
-
* @param config - Optional Axios request configuration
|
|
1014
|
-
* @returns A query result containing paginated department employees data
|
|
1015
|
-
*/
|
|
1016
|
-
declare function useListDepartmentEmployeesQuery(departmentId: number, request?: {
|
|
1017
|
-
page?: number;
|
|
1018
|
-
pageSize?: number;
|
|
1019
|
-
}, options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseQueryResult<SBList<SBDepartmentTeamMember>, Error>;
|
|
1020
|
-
/**
|
|
1021
|
-
* Hook to add an employee to a department
|
|
1022
|
-
* @returns A mutation function to add an employee to a department
|
|
1023
|
-
*/
|
|
1024
|
-
declare function useAddEmployeeToDepartmentMutation(): _tanstack_react_query.UseMutationResult<SBDepartmentTeamMember, SBApiException, {
|
|
1025
|
-
departmentId: number;
|
|
1026
|
-
request: DepartmentEmployeeCreateRequest;
|
|
1027
|
-
options?: SBRequestOptions;
|
|
1028
|
-
config?: AxiosRequestConfig;
|
|
1029
|
-
}, unknown>;
|
|
1030
|
-
/**
|
|
1031
|
-
* Hook to remove an employee from a department
|
|
1032
|
-
* @returns A mutation function to remove an employee from a department
|
|
1033
|
-
*/
|
|
1034
|
-
declare function useRemoveEmployeeFromDepartmentMutation(): _tanstack_react_query.UseMutationResult<SBDepartmentTeamMember, SBApiException, {
|
|
1035
|
-
departmentId: number;
|
|
1036
|
-
employeeId: number;
|
|
1037
|
-
options?: SBRequestOptions;
|
|
1038
|
-
config?: AxiosRequestConfig;
|
|
1039
|
-
}, unknown>;
|
|
1040
|
-
|
|
1041
|
-
declare function useTablesQuery(): _tanstack_react_query.UseQueryResult<SBTable[], SBApiException>;
|
|
1042
|
-
declare function useTableByIdQuery(tableId: number): _tanstack_react_query.UseQueryResult<SBTable, SBApiException>;
|
|
1043
|
-
declare function useCreateTableMutation(): _tanstack_react_query.UseMutationResult<SBTable, SBApiException, {
|
|
1044
|
-
data: TableCreateRequest;
|
|
1045
|
-
options?: SBRequestOptions;
|
|
1046
|
-
config?: AxiosRequestConfig;
|
|
1047
|
-
}, unknown>;
|
|
1048
|
-
declare function useUpdateTableMutation(tableId: number): _tanstack_react_query.UseMutationResult<SBTable, SBApiException, {
|
|
1049
|
-
data: TableUpdateRequest;
|
|
1050
|
-
options?: SBRequestOptions;
|
|
1051
|
-
config?: AxiosRequestConfig;
|
|
1052
|
-
}, unknown>;
|
|
1053
|
-
|
|
1054
|
-
/**
|
|
1055
|
-
* Type for invoice list request
|
|
1056
|
-
*/
|
|
1057
|
-
interface InvoiceListRequest {
|
|
1058
|
-
/** Page number (0-indexed) */
|
|
1059
|
-
page?: number;
|
|
1060
|
-
/** Number of items per page */
|
|
1061
|
-
pageSize?: number;
|
|
1062
|
-
/** Search term for filtering invoices */
|
|
1063
|
-
search?: string;
|
|
1064
|
-
}
|
|
1065
|
-
/**
|
|
1066
|
-
* Hook to fetch a list of invoices using infinite query
|
|
1067
|
-
* @param request - The pagination request parameters
|
|
1068
|
-
* @param options - Optional request options
|
|
1069
|
-
* @param config - Optional Axios request configuration
|
|
1070
|
-
* @returns An infinite query result containing paginated invoices data
|
|
1071
|
-
*/
|
|
1072
|
-
declare function useListInvoicesInfiniteQuery(request?: InvoiceListRequest, options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseInfiniteQueryResult<InfiniteData<SBList<SBInvoice>, unknown>, SBApiException>;
|
|
1073
|
-
/**
|
|
1074
|
-
* Hook to fetch a list of invoices
|
|
1075
|
-
* @param request - The pagination request parameters
|
|
1076
|
-
* @param options - Optional request options
|
|
1077
|
-
* @param config - Optional Axios request configuration
|
|
1078
|
-
* @returns A query result containing paginated invoices data
|
|
1079
|
-
*/
|
|
1080
|
-
declare function useListInvoicesQuery(request?: InvoiceListRequest, options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseQueryResult<SBList<SBInvoice>, SBApiException>;
|
|
1081
|
-
/**
|
|
1082
|
-
* Hook to fetch a specific invoice by ID
|
|
1083
|
-
* @param invoiceId - The ID of the invoice to retrieve
|
|
1084
|
-
* @param options - Optional request options
|
|
1085
|
-
* @param config - Optional Axios request configuration
|
|
1086
|
-
* @returns A query result containing the invoice data
|
|
1087
|
-
*/
|
|
1088
|
-
declare function useGetInvoiceByIdQuery(invoiceId: number, options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseQueryResult<SBInvoice, SBApiException>;
|
|
1089
|
-
/**
|
|
1090
|
-
* Hook to create a new invoice
|
|
1091
|
-
* @param mutationOptions - Optional mutation configuration
|
|
1092
|
-
* @returns A mutation result for creating an invoice
|
|
1093
|
-
*/
|
|
1094
|
-
declare function useCreateInvoiceMutation(mutationOptions?: Omit<UseMutationOptions<SBInvoice, SBApiException, {
|
|
1095
|
-
data: InvoiceCreateRequest;
|
|
1096
|
-
options?: SBRequestOptions;
|
|
1097
|
-
config?: AxiosRequestConfig;
|
|
1098
|
-
}>, "mutationFn">): _tanstack_react_query.UseMutationResult<SBInvoice, SBApiException, {
|
|
1099
|
-
data: InvoiceCreateRequest;
|
|
1100
|
-
options?: SBRequestOptions;
|
|
1101
|
-
config?: AxiosRequestConfig;
|
|
1102
|
-
}, unknown>;
|
|
1103
|
-
/**
|
|
1104
|
-
* Hook to update an existing invoice
|
|
1105
|
-
* @param mutationOptions - Optional mutation configuration
|
|
1106
|
-
* @returns A mutation result for updating an invoice
|
|
1107
|
-
*/
|
|
1108
|
-
declare function useUpdateInvoiceMutation(mutationOptions?: Omit<UseMutationOptions<SBInvoice, SBApiException, {
|
|
1109
|
-
invoiceId: number;
|
|
1110
|
-
data: InvoiceUpdateRequest;
|
|
1111
|
-
options?: SBRequestOptions;
|
|
1112
|
-
config?: AxiosRequestConfig;
|
|
1113
|
-
}>, "mutationFn">): _tanstack_react_query.UseMutationResult<SBInvoice, SBApiException, {
|
|
1114
|
-
invoiceId: number;
|
|
1115
|
-
data: InvoiceUpdateRequest;
|
|
1116
|
-
options?: SBRequestOptions;
|
|
1117
|
-
config?: AxiosRequestConfig;
|
|
1118
|
-
}, unknown>;
|
|
1119
|
-
/**
|
|
1120
|
-
* Hook to delete an invoice
|
|
1121
|
-
* @param mutationOptions - Optional mutation configuration
|
|
1122
|
-
* @returns A mutation result for deleting an invoice
|
|
1123
|
-
*/
|
|
1124
|
-
declare function useDeleteInvoiceMutation(mutationOptions?: Omit<UseMutationOptions<SBInvoice, SBApiException, {
|
|
1125
|
-
invoiceId: number;
|
|
1126
|
-
options?: SBRequestOptions;
|
|
1127
|
-
config?: AxiosRequestConfig;
|
|
1128
|
-
}>, "mutationFn">): _tanstack_react_query.UseMutationResult<SBInvoice, SBApiException, {
|
|
1129
|
-
invoiceId: number;
|
|
1130
|
-
options?: SBRequestOptions;
|
|
1131
|
-
config?: AxiosRequestConfig;
|
|
1132
|
-
}, unknown>;
|
|
1133
|
-
|
|
1134
|
-
/**
|
|
1135
|
-
* Hook for retrieving a notification by ID
|
|
1136
|
-
* @param id - The ID of the notification to retrieve
|
|
1137
|
-
* @param options - Optional request options including businessId, businessId, and userId
|
|
1138
|
-
* @param config - Optional Axios request configuration
|
|
1139
|
-
* @returns Query result containing the notification data, loading state, and error information
|
|
1140
|
-
*/
|
|
1141
|
-
declare function useGetNotificationByIdQuery(id: number, options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseQueryResult<SBNotification, SBApiException>;
|
|
1142
|
-
/**
|
|
1143
|
-
* Hook for listing notifications with infinite pagination
|
|
1144
|
-
* @param options - Optional request options including businessId, businessId, and userId
|
|
1145
|
-
* @param limit - Number of items per page
|
|
1146
|
-
* @returns Infinite query result for implementing infinite scrolling with notification data
|
|
1147
|
-
*/
|
|
1148
|
-
declare function useListNotificationsInfiniteQuery(request?: ListRequest, options?: SBRequestOptions, config?: AxiosRequestConfig<ListRequest>): _tanstack_react_query.UseInfiniteQueryResult<InfiniteData<SBList<SBNotification>, unknown>, SBApiException>;
|
|
1149
|
-
/**
|
|
1150
|
-
* Hook for marking notifications as read
|
|
1151
|
-
* @returns Mutation function and state for marking notifications as read
|
|
1152
|
-
*/
|
|
1153
|
-
declare function useMarkNotificationsReadMutation(): _tanstack_react_query.UseMutationResult<void, SBApiException, {
|
|
1154
|
-
id: number;
|
|
1155
|
-
options?: SBRequestOptions;
|
|
1156
|
-
config?: AxiosRequestConfig;
|
|
1157
|
-
}, unknown>;
|
|
1158
|
-
/**
|
|
1159
|
-
* Hook for marking all notifications as read
|
|
1160
|
-
* @returns Mutation function and state for marking all notifications as read
|
|
1161
|
-
*/
|
|
1162
|
-
declare function useMarkAllNotificationsReadMutation(): _tanstack_react_query.UseMutationResult<void, SBApiException, {
|
|
1163
|
-
options?: SBRequestOptions;
|
|
1164
|
-
config?: AxiosRequestConfig;
|
|
1165
|
-
}, unknown>;
|
|
1166
|
-
|
|
1167
|
-
declare const useCreatePaymentMethodMutation: () => _tanstack_react_query.UseMutationResult<SBPaymentMethod, SBApiException, {
|
|
1168
|
-
data: PaymentMethodCreateRequest;
|
|
1169
|
-
options?: SBRequestOptions;
|
|
1170
|
-
config?: AxiosRequestConfig<PaymentMethodCreateRequest>;
|
|
1171
|
-
}, unknown>;
|
|
1172
|
-
declare const useGetPaymentMethods: (request: PaymentMethodListRequest, options?: SBRequestOptions, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<SBPaymentMethod[], SBApiException>;
|
|
1173
|
-
declare const useGetPaymentMethodById: (id: number, options?: SBRequestOptions, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<SBPaymentMethod, SBApiException>;
|
|
1174
|
-
declare const useDeletePaymentMethodMutation: () => _tanstack_react_query.UseMutationResult<SBPaymentMethod, SBApiException, {
|
|
1175
|
-
id: number;
|
|
1176
|
-
options?: SBRequestOptions;
|
|
1177
|
-
config?: AxiosRequestConfig;
|
|
1178
|
-
}, unknown>;
|
|
1179
|
-
declare const useSetupPaymentMethod: () => _tanstack_react_query.UseQueryResult<SBPaymentMethodSetup, SBApiException>;
|
|
1180
|
-
declare const useCreatePaymentMethodFromSetupIntentMutation: () => _tanstack_react_query.UseMutationResult<SBPaymentMethod, SBApiException, {
|
|
1181
|
-
setupIntentId: string;
|
|
1182
|
-
options?: SBRequestOptions;
|
|
1183
|
-
config?: AxiosRequestConfig;
|
|
1184
|
-
}, unknown>;
|
|
1185
|
-
declare const useListPaymentMethodsInfiniteQuery: (page?: number, pageSize?: number) => _tanstack_react_query.UseInfiniteQueryResult<_tanstack_react_query.InfiniteData<SBPaymentMethod[], unknown>, Error>;
|
|
1186
|
-
|
|
1187
|
-
/**
|
|
1188
|
-
* Hook for retrieving a receipt by ID
|
|
1189
|
-
* @param id - The ID of the receipt to retrieve
|
|
1190
|
-
* @param options - Optional request options
|
|
1191
|
-
* @param config - Optional Axios request configuration
|
|
1192
|
-
* @returns Query result containing the receipt data
|
|
1193
|
-
*/
|
|
1194
|
-
declare const useGetReceiptByIdQuery: (id: number, options?: SBRequestOptions, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<SBReceipt, SBApiException>;
|
|
1195
|
-
/**
|
|
1196
|
-
* Hook for listing receipts with infinite pagination
|
|
1197
|
-
* @param request - Request parameters for listing receipts
|
|
1198
|
-
* @param options - Optional request options
|
|
1199
|
-
* @param config - Optional Axios request configuration
|
|
1200
|
-
* @returns Infinite query result for implementing infinite scrolling with receipt data
|
|
1201
|
-
*/
|
|
1202
|
-
declare const useListReceiptsInfiniteQuery: (request?: ReceiptListRequest, options?: SBRequestOptions, config?: AxiosRequestConfig<ReceiptListRequest>) => _tanstack_react_query.UseInfiniteQueryResult<InfiniteData<SBList<SBReceipt>, unknown>, SBApiException>;
|
|
1203
|
-
declare const useCreateReceiptMutation: () => _tanstack_react_query.UseMutationResult<SBReceipt, SBApiException, {
|
|
1204
|
-
request: ReceiptCreateRequest;
|
|
1205
|
-
options?: SBRequestOptions;
|
|
1206
|
-
config?: AxiosRequestConfig;
|
|
1207
|
-
}, unknown>;
|
|
1208
|
-
declare const useCreateUpdateMutation: () => _tanstack_react_query.UseMutationResult<SBReceipt, SBApiException, {
|
|
1209
|
-
id: number;
|
|
1210
|
-
request: ReceiptUpdateRequest;
|
|
1211
|
-
options?: SBRequestOptions;
|
|
1212
|
-
config?: AxiosRequestConfig;
|
|
1213
|
-
}, unknown>;
|
|
1214
|
-
declare const useDeleteReceiptMutation: () => _tanstack_react_query.UseMutationResult<void, SBApiException, {
|
|
1215
|
-
id: number;
|
|
1216
|
-
options?: SBRequestOptions;
|
|
1217
|
-
config?: AxiosRequestConfig;
|
|
1218
|
-
}, unknown>;
|
|
1219
|
-
|
|
1220
|
-
declare function useListVendorsInfiniteQuery(request?: ListRequest, options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseInfiniteQueryResult<InfiniteData<SBList<SBVendor>, unknown>, SBApiException>;
|
|
1221
|
-
declare function useGetVendorByIdQuery(id: number, options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseQueryResult<SBVendor, Error>;
|
|
1222
|
-
declare function useDeleteVendorMutation(mutationOptions?: Omit<UseMutationOptions<SBVendor, SBApiException, {
|
|
1223
|
-
vendorId: number;
|
|
1224
|
-
options?: SBRequestOptions;
|
|
1225
|
-
config?: AxiosRequestConfig;
|
|
1226
|
-
}>, "mutationFn">): _tanstack_react_query.UseMutationResult<SBVendor, SBApiException, {
|
|
1227
|
-
vendorId: number;
|
|
1228
|
-
options?: SBRequestOptions;
|
|
1229
|
-
config?: AxiosRequestConfig;
|
|
1230
|
-
}, unknown>;
|
|
1231
|
-
declare function useCreateVendorMutation(mutationOptions?: Omit<UseMutationOptions<SBVendor, SBApiException, {
|
|
1232
|
-
request: VendorCreateRequest;
|
|
1233
|
-
options?: SBRequestOptions;
|
|
1234
|
-
config?: AxiosRequestConfig;
|
|
1235
|
-
}>, "mutationFn">): _tanstack_react_query.UseMutationResult<SBVendor, SBApiException, {
|
|
1236
|
-
request: VendorCreateRequest;
|
|
1237
|
-
options?: SBRequestOptions;
|
|
1238
|
-
config?: AxiosRequestConfig;
|
|
1239
|
-
}, unknown>;
|
|
1240
|
-
declare function useUpdateVendorMutation(mutationOptions?: Omit<UseMutationOptions<SBVendor, SBApiException, {
|
|
1241
|
-
vendorId: number;
|
|
1242
|
-
request: VendorUpdateRequest;
|
|
1243
|
-
options?: SBRequestOptions;
|
|
1244
|
-
config?: AxiosRequestConfig;
|
|
1245
|
-
}>, "mutationFn">): _tanstack_react_query.UseMutationResult<SBVendor, SBApiException, {
|
|
1246
|
-
vendorId: number;
|
|
1247
|
-
request: VendorUpdateRequest;
|
|
1248
|
-
options?: SBRequestOptions;
|
|
1249
|
-
config?: AxiosRequestConfig;
|
|
1250
|
-
}, unknown>;
|
|
1251
|
-
declare function useGetVendorLinkTokenMutation(mutationOptions?: UseMutationOptions<any, SBApiException, {
|
|
1252
|
-
options?: SBRequestOptions;
|
|
1253
|
-
config?: AxiosRequestConfig;
|
|
1254
|
-
}>): _tanstack_react_query.UseMutationResult<any, SBApiException, {
|
|
1255
|
-
options?: SBRequestOptions;
|
|
1256
|
-
config?: AxiosRequestConfig;
|
|
1257
|
-
}, unknown>;
|
|
1258
|
-
declare function useConnectVendorMutation(mutationOptions?: Omit<UseMutationOptions<SBVendor, SBApiException, {
|
|
1259
|
-
request: VendorConnectRequest;
|
|
1260
|
-
options?: SBRequestOptions;
|
|
1261
|
-
config?: AxiosRequestConfig;
|
|
1262
|
-
}>, "mutationFn">): _tanstack_react_query.UseMutationResult<SBVendor, SBApiException, {
|
|
1263
|
-
request: VendorConnectRequest;
|
|
1264
|
-
options?: SBRequestOptions;
|
|
1265
|
-
config?: AxiosRequestConfig;
|
|
1266
|
-
}, unknown>;
|
|
1267
|
-
/**
|
|
1268
|
-
* Hook for retrieving a Deck connection by ID
|
|
1269
|
-
* @param id - The ID of the connection to retrieve
|
|
1270
|
-
* @param options - Optional request options including businessId and userId
|
|
1271
|
-
* @param config - Optional Axios request configuration
|
|
1272
|
-
* @returns Query result containing the connection data, loading state, and error information
|
|
1273
|
-
*/
|
|
1274
|
-
declare function useGetDeckConnectionByIdQuery(id: number, options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseQueryResult<SBVendor, Error>;
|
|
1275
|
-
/**
|
|
1276
|
-
* Hook for disconnecting from a vendor
|
|
1277
|
-
* @param mutationOptions - Optional React Query mutation options
|
|
1278
|
-
* @returns Mutation function and state for disconnecting from a vendor
|
|
1279
|
-
*/
|
|
1280
|
-
declare function useDisconnectFromVendorMutation(mutationOptions?: Omit<UseMutationOptions<SBVendor, SBApiException, {
|
|
1281
|
-
vendorId: number;
|
|
1282
|
-
options?: SBRequestOptions;
|
|
1283
|
-
config?: AxiosRequestConfig;
|
|
1284
|
-
}>, "mutationFn">): _tanstack_react_query.UseMutationResult<SBVendor, SBApiException, {
|
|
1285
|
-
vendorId: number;
|
|
1286
|
-
options?: SBRequestOptions;
|
|
1287
|
-
config?: AxiosRequestConfig;
|
|
1288
|
-
}, unknown>;
|
|
1289
|
-
declare function useRefreshVendorMutation(mutationOptions?: Omit<UseMutationOptions<void, SBApiException, {
|
|
1290
|
-
vendorId: number;
|
|
1291
|
-
options?: SBRequestOptions;
|
|
1292
|
-
config?: AxiosRequestConfig;
|
|
1293
|
-
}>, "mutationFn">): _tanstack_react_query.UseMutationResult<void, SBApiException, {
|
|
1294
|
-
vendorId: number;
|
|
1295
|
-
options?: SBRequestOptions;
|
|
1296
|
-
config?: AxiosRequestConfig;
|
|
1297
|
-
}, unknown>;
|
|
1298
|
-
|
|
1299
|
-
/**
|
|
1300
|
-
* Hook for retrieving the current user's profile
|
|
1301
|
-
* @param options - Optional request options including UserId, businessId, and userId
|
|
1302
|
-
* @param config - Optional Axios request configuration
|
|
1303
|
-
* @returns Query result containing the user data, loading state, and error information
|
|
1304
|
-
*/
|
|
1305
|
-
declare function useGetCurrentUser(options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseQueryResult<SBUserAccount, SBApiException>;
|
|
1306
|
-
/**
|
|
1307
|
-
* Hook for Searching Users with infinite pagination
|
|
1308
|
-
* @param request - Request parameters for Searching Users
|
|
1309
|
-
* @param options - Optional request options
|
|
1310
|
-
* @param config - Optional Axios request configuration
|
|
1311
|
-
* @returns Infinite query result for implementing infinite scrolling with User data
|
|
1312
|
-
*/
|
|
1313
|
-
declare const useSearchUsersInfiniteQuery: (request?: SearchUsersRequest, options?: SBRequestOptions, config?: AxiosRequestConfig<SearchUsersRequest>) => _tanstack_react_query.UseInfiniteQueryResult<SBList<SBUserAccount>, SBApiException>;
|
|
1314
|
-
/**
|
|
1315
|
-
* Hook for getting user profile
|
|
1316
|
-
*/
|
|
1317
|
-
declare function useGetUserProfile(options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseQueryResult<any, SBApiException>;
|
|
1318
|
-
/**
|
|
1319
|
-
* Hook for updating user profile
|
|
1320
|
-
*/
|
|
1321
|
-
declare function useUpdateUserProfileMutation(): _tanstack_react_query.UseMutationResult<any, SBApiException, {
|
|
1322
|
-
data: UserUpdateRequest;
|
|
1323
|
-
options?: SBRequestOptions;
|
|
1324
|
-
config?: AxiosRequestConfig;
|
|
1325
|
-
}, unknown>;
|
|
1326
|
-
/**
|
|
1327
|
-
* Hook for uploading user avatar
|
|
1328
|
-
*/
|
|
1329
|
-
declare function useUploadUserAvatarMutation(): _tanstack_react_query.UseMutationResult<any, SBApiException, {
|
|
1330
|
-
file: File;
|
|
1331
|
-
options?: SBRequestOptions;
|
|
1332
|
-
config?: AxiosRequestConfig;
|
|
1333
|
-
}, unknown>;
|
|
1334
|
-
/**
|
|
1335
|
-
* Hook for searching items
|
|
1336
|
-
*/
|
|
1337
|
-
declare function useSearchQuery(query: string, options?: SBRequestOptions, config?: AxiosRequestConfig): _tanstack_react_query.UseQueryResult<any, SBApiException>;
|
|
1338
|
-
|
|
1339
|
-
declare const useListIntegrationsInfiniteQuery: (businessId: string | number, page?: number, pageSize?: number) => _tanstack_react_query.UseInfiniteQueryResult<_tanstack_react_query.InfiniteData<SBIntegration[], unknown>, Error>;
|
|
1340
|
-
declare const useInstallIntegrationMutation: () => _tanstack_react_query.UseMutationResult<any, SBApiException, {
|
|
1341
|
-
businessId: string | number;
|
|
1342
|
-
slug: string;
|
|
1343
|
-
options?: SBRequestOptions;
|
|
1344
|
-
config?: AxiosRequestConfig;
|
|
1345
|
-
}, unknown>;
|
|
1346
|
-
|
|
1347
|
-
declare function useUploadMutation(): _tanstack_react_query.UseMutationResult<any, SBApiException, {
|
|
1348
|
-
data: ExpenseUploadRequest;
|
|
1349
|
-
options?: SBRequestOptions;
|
|
1350
|
-
config?: AxiosRequestConfig;
|
|
1351
|
-
}, unknown>;
|
|
1352
|
-
declare function useValidateExpenseFilesMutation(): _tanstack_react_query.UseMutationResult<any, SBApiException, {
|
|
1353
|
-
data: ExpenseUploadRequest;
|
|
1354
|
-
options?: SBRequestOptions;
|
|
1355
|
-
config?: AxiosRequestConfig;
|
|
1356
|
-
}, unknown>;
|
|
1357
|
-
declare function useListJobInfiniteQuery(page?: number, pageSize?: number): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_react_query.InfiniteData<any, unknown>, Error>;
|
|
1358
|
-
|
|
1359
|
-
/**
|
|
1360
|
-
* Enum of API key strings for consistent query key usage across the application.
|
|
1361
|
-
* String values use dot notation to represent nesting.
|
|
1362
|
-
*/
|
|
1363
|
-
declare enum SBApiKeys {
|
|
1364
|
-
Attachments = "attachments",
|
|
1365
|
-
Banks = "banks",
|
|
1366
|
-
BankAccounts = "bankAccounts",
|
|
1367
|
-
BankInstitutions = "bankInstitutions",
|
|
1368
|
-
BankTransactions = "bankTransactions",
|
|
1369
|
-
Brands = "brands",
|
|
1370
|
-
Categories = "categories",
|
|
1371
|
-
Customers = "customers",
|
|
1372
|
-
CardSetupIntents = "cardSetupIntents",
|
|
1373
|
-
Cards = "cards",
|
|
1374
|
-
CustomerBalanceTransactions = "customerBalanceTransactions",
|
|
1375
|
-
CustomerPaymentMethods = "customerPaymentMethods",
|
|
1376
|
-
Departments = "departments",
|
|
1377
|
-
Documents = "documents",
|
|
1378
|
-
Employees = "employees",
|
|
1379
|
-
Fees = "fees",
|
|
1380
|
-
Friends = "friends",
|
|
1381
|
-
Locations = "locations",
|
|
1382
|
-
Invoices = "invoices",
|
|
1383
|
-
LoyaltyPrograms = "loyaltyPrograms",
|
|
1384
|
-
LoyaltyProgramAccounts = "loyaltyProgramAccounts",
|
|
1385
|
-
LoyaltyProgramRewards = "loyaltyProgramRewards",
|
|
1386
|
-
Logs = "logs",
|
|
1387
|
-
Businesses = "businesses",
|
|
1388
|
-
TeamMembers = "teamMembers",
|
|
1389
|
-
BusinessReviews = "businessReviews",
|
|
1390
|
-
TeamMemberInvitations = "teamMemberInvitations",
|
|
1391
|
-
Modifiers = "modifiers",
|
|
1392
|
-
Notifications = "notifications",
|
|
1393
|
-
Products = "products",
|
|
1394
|
-
ProductOptions = "productOptions",
|
|
1395
|
-
ProductModifiers = "ProductModifiers",
|
|
1396
|
-
ProductImages = "productImages",
|
|
1397
|
-
PaymentMethods = "paymentMethods.",
|
|
1398
|
-
PromoCodes = "promoCodes",
|
|
1399
|
-
Receipts = "receipts",
|
|
1400
|
-
Subscriptions = "subscriptions",
|
|
1401
|
-
Taxes = "taxes",
|
|
1402
|
-
User = "user",
|
|
1403
|
-
Users = "users",
|
|
1404
|
-
Vendors = "vendors",
|
|
1405
|
-
ProductVariants = "productVariants",
|
|
1406
|
-
Integrations = "integrations",
|
|
1407
|
-
Tables = "tables",
|
|
1408
|
-
Expenses = "expenses",
|
|
1409
|
-
Search = "search"
|
|
1410
|
-
}
|
|
1411
|
-
|
|
1412
|
-
interface SmartbillsSDKContext {
|
|
1413
|
-
client: SBClient;
|
|
1414
|
-
businessId: number | null;
|
|
1415
|
-
setBusinessId: (id: number | null) => void;
|
|
1416
|
-
setCredentials: (credentials: SBCredentialProvider) => void;
|
|
1417
|
-
}
|
|
1418
|
-
interface SmartbillsSDKProviderProps {
|
|
1419
|
-
children: ReactNode;
|
|
1420
|
-
client: SBClient;
|
|
1421
|
-
}
|
|
1422
|
-
/**
|
|
1423
|
-
* Provider component for API context
|
|
1424
|
-
* @param children - Child components
|
|
1425
|
-
*/
|
|
1426
|
-
declare function SmartbillsSDKProvider({ client, children, }: SmartbillsSDKProviderProps): React.JSX.Element;
|
|
1427
|
-
/**
|
|
1428
|
-
* Hook to access the current business ID from context
|
|
1429
|
-
* @returns The current business ID or null if not set
|
|
1430
|
-
*/
|
|
1431
|
-
declare function useBusinessId(): number | null;
|
|
1432
|
-
/**
|
|
1433
|
-
* Hook to update the current business ID
|
|
1434
|
-
* @returns Function to set the current business ID
|
|
1435
|
-
*/
|
|
1436
|
-
declare function useSetBusinessId(): (id: number | null) => void;
|
|
1437
|
-
/**
|
|
1438
|
-
* Hook to access the full API context
|
|
1439
|
-
* @returns The complete API context object
|
|
1440
|
-
*/
|
|
1441
|
-
declare function useApiContext(): SmartbillsSDKContext;
|
|
1442
|
-
declare function useApiClient(): SBClient;
|
|
1443
|
-
declare function useSetCredentials(): (credentials: SBCredentialProvider) => void;
|
|
1444
|
-
declare function useSmartbillsSDKContext(): SmartbillsSDKContext | null;
|
|
1445
|
-
|
|
1446
|
-
export { type InvoiceListRequest, SBApiKeys, SmartbillsSDKProvider, loyalty, useAcceptTeamMemberInvitationMutation, useAddEmployeeToDepartmentMutation, useApiClient, useApiContext, useBatchInviteMemberMutation, useBatchUpsertProductsMutation, useBusinessId, useCancelTeamMemberInvitation, useChangeTeamMemberRoleMutation, useConnectBusinessVendorMutation, useConnectVendorMutation, useCreateAttachmentMutation, useCreateBusinessMutation, useCreateBusinessVendorMutation, useCreateCustomerMutation, useCreateCustomerPaymentMethodMutation, useCreateDepartmentMutation, useCreateFeeMutation, useCreateInvoiceMutation, useCreateLocationMutation, useCreatePaymentMethodFromSetupIntentMutation, useCreatePaymentMethodMutation, useCreateProductImageMutation, useCreateProductModifierMutation, useCreateProductMutation, useCreateProductOptionMutation, useCreateProductVariantMutation, useCreatePromoCodeMutation, useCreateReceiptMutation, useCreateReviewMutation, useCreateTableMutation, useCreateTaxMutation, useCreateTeamMemberInvitationMutation, useCreateUpdateMutation, useCreateVendorMutation, useDeleteAttachmentMutation, useDeleteBusinessMutation, useDeleteBusinessVendorMutation, useDeleteCustomerMutation, useDeleteCustomerPaymentMethodMutation, useDeleteDepartmentMutation, useDeleteDocumentMutation, useDeleteFeeMutation, useDeleteFriendMutation, useDeleteInvoiceMutation, useDeleteLocationMutation, useDeletePaymentMethodMutation, useDeleteProductImageMutation, useDeleteProductModifierMutation, useDeleteProductMutation, useDeleteProductOptionMutation, useDeleteProductVariantMutation, useDeletePromoCodeMutation, useDeleteReceiptMutation, useDeleteReviewMutation, useDeleteTaxMutation, useDeleteTeamMemberMutation, useDeleteVendorMutation, useDisconnectFromVendorMutation, useGetAttachmentByIdQuery, useGetBankAccountByIdQuery, useGetBankInstitutionByIdQuery, useGetBankTransactionByIdQuery, useGetBusinessByIdQuery, useGetBusinessVendorByIdQuery, useGetBusinessVendorLinkTokenMutation, useGetCurrentUser, useGetCustomerBalanceTransactionByIdQuery, useGetCustomerByIdQuery, useGetCustomerPaymentMethodByIdQuery, useGetDeckConnectionByIdQuery, useGetDepartmentByIdQuery, useGetDocumentByIdQuery, useGetFeeByIdQuery, useGetFriendByIdQuery, useGetInvoiceByIdQuery, useGetLocationByIdQuery, useGetLogByIdQuery, useGetNotificationByIdQuery, useGetPaymentMethodById, useGetPaymentMethods, useGetProductByIdQuery, useGetProductImageByIdQuery, useGetProductModifierByIdQuery, useGetProductOptionByIdQuery, useGetProductVariantByIdQuery, useGetPromoCodeById, useGetReceiptByIdQuery, useGetReviewByIdQuery, useGetTaxByIdQuery, useGetTeamMemberByIdQuery, useGetTeamMemberInvitationById, useGetUserProfile, useGetVendorByIdQuery, useGetVendorLinkTokenMutation, useInstallIntegrationMutation, useInviteMemberToBusinessMutation, useListAttachmentsInfiniteQuery, useListBankAccountTransactionsInfiniteQuery, useListBankAccountsQuery, useListBankInstitutionsInfiniteQuery, useListBankTransactionsInfiniteQuery, useListBusinessInfiniteQuery, useListBusinessVendorsInfiniteQuery, useListCustomerBalanceTransactionsInfiniteQuery, useListCustomerPaymentMethodsInfiniteQuery, useListCustomersInfiniteQuery, useListDepartmentEmployeesInfiniteQuery, useListDepartmentEmployeesQuery, useListDepartmentsInfiniteQuery, useListDepartmentsQuery, useListDocumentsInfiniteQuery, useListFeesInfiniteQuery, useListFriendRequestsInfiniteQuery, useListFriendsInfiniteQuery, useListIntegrationsInfiniteQuery, useListInvoicesInfiniteQuery, useListInvoicesQuery, useListJobInfiniteQuery, useListLocationsInfiniteQuery, useListLogsInfiniteQuery, useListNotificationsInfiniteQuery, useListPaymentMethodsInfiniteQuery, useListProductImagesInfiniteQuery, useListProductImagesQuery, useListProductModifiersInfiniteQuery, useListProductOptionsInfiniteQuery, useListProductVariantsInfiniteQuery, useListProductsInfiniteQuery, useListPromoCodes, useListReceiptsInfiniteQuery, useListRecommendedFriendsInfiniteQuery, useListReviewsInfiniteQuery, useListTaxesInfiniteQuery, useListTeamMemberInvitationsInfiniteQuery, useListTeamMembersInfiniteQuery, useListVendorsInfiniteQuery, useMarkAllNotificationsReadMutation, useMarkNotificationsReadMutation, useRefreshBusinessVendorMutation, useRefreshVendorMutation, useRefuseTeamMemberInvitationMutation, useRemoveEmployeeFromDepartmentMutation, useSearchQuery, useSearchUsersInfiniteQuery, useSetBusinessId, useSetCredentials, useSetupPaymentMethod, useSmartbillsSDKContext, useTableByIdQuery, useTablesQuery, useUpdateBusinessMutation, useUpdateBusinessVendorMutation, useUpdateCustomerMutation, useUpdateCustomerPaymentMethodMutation, useUpdateDepartmentMutation, useUpdateFeeMutation, useUpdateInvoiceMutation, useUpdateLocationMutation, useUpdateProductImageMutation, useUpdateProductModifierMutation, useUpdateProductMutation, useUpdateProductOptionMutation, useUpdateProductVariantMutation, useUpdatePromoCodeMutation, useUpdateReviewMutation, useUpdateTableMutation, useUpdateTaxMutation, useUpdateUserProfileMutation, useUpdateVendorMutation, useUploadDocumentMutation, useUploadMutation, useUploadUserAvatarMutation, useValidateExpenseFilesMutation };
|
|
1447
|
-
//# sourceMappingURL=index.d.ts.map
|