@connect-plus-online/ogabai-integrations 0.0.82 → 0.0.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -332,6 +332,21 @@ interface ServiceUpdate {
332
332
  saleAlert: boolean;
333
333
  }
334
334
 
335
+ interface ExpenseCategory {
336
+ id: string;
337
+ title: string;
338
+ description: string;
339
+ storeId: string;
340
+ createdAt: string;
341
+ }
342
+ interface Expense {
343
+ id: string;
344
+ title: string;
345
+ description: string;
346
+ expenseCategoryId: string;
347
+ repeatedEvery: "day" | "week" | "month" | "year";
348
+ createdAt: string;
349
+ }
335
350
  type DateFilter = {
336
351
  startDate: string;
337
352
  endDate: string;
@@ -350,7 +365,7 @@ type SaleStatus = "paid" | "credit";
350
365
  type PaymentType = "cash" | "card" | "transfer" | "wallet";
351
366
  type Platform = "pos" | "commerce" | "wallet";
352
367
  type TxStatus = "pending" | "processing" | "completed" | "failed";
353
- type TransactionType = "sale" | "refund" | "deposit" | "withdrawal";
368
+ type TransactionType = "sale" | "refund" | "deposit" | "withdrawal" | "customerRefund" | "customerDeposit" | "expense";
354
369
  type Transaction = {
355
370
  _id: string;
356
371
  from: string;
@@ -369,6 +384,7 @@ type Transaction = {
369
384
  createdAt: string;
370
385
  sales: Sale[];
371
386
  storeId: string;
387
+ customerId: string;
372
388
  transactionType: TransactionType;
373
389
  };
374
390
  type OrderStatus = "pending" | "processing" | "routing" | "delivered";
@@ -1074,12 +1090,6 @@ declare const createCustomerService: (client: GraphQLClient) => {
1074
1090
  root?: "customerId"[] | undefined;
1075
1091
  nestedFields?: {} | undefined;
1076
1092
  } | undefined, option?: RequestOption) => Promise<DeleteEntityResponse<"customer"> | undefined>;
1077
- getCustomers: (input: ListEntityRequest<Customer, "customer">, fetchFields?: {
1078
- root?: ("total" | "customers")[] | undefined;
1079
- nestedFields?: (Record<"customers", CustomerFields> & {
1080
- customerStoreBalance: CustomerStoreBalanceFields;
1081
- }) | undefined;
1082
- } | undefined, option?: RequestOption) => Promise<ListEntityResponse<Customer, "customer"> | undefined>;
1083
1093
  getCustomersByStoreId: (input: {
1084
1094
  customer?: Partial<Customer> | undefined;
1085
1095
  } & {
@@ -1758,6 +1768,10 @@ declare const createStoreCategoryProductService: (client: GraphQLClient) => {
1758
1768
  };
1759
1769
  type StoreCategoryProductService = ReturnType<typeof createStoreCategoryProductService>;
1760
1770
 
1771
+ type ExpenseFields = (keyof Expense)[];
1772
+ declare const expenseQuery: ExpenseFields;
1773
+ type ExpenseCategoryFields = (keyof ExpenseCategory)[];
1774
+ declare const expenseCategoryQuery: ExpenseCategoryFields;
1761
1775
  type TransactionFields = (keyof Transaction)[];
1762
1776
  declare const transactionQuery: TransactionFields;
1763
1777
  type OrderFields = (keyof Order)[];
@@ -1913,6 +1927,14 @@ declare const createTransactionService: (client: GraphQLClient) => {
1913
1927
  root?: (keyof AddTransactionResponse)[];
1914
1928
  nestedFields?: AddTransactionResponseNestedFields;
1915
1929
  }, option?: RequestOption): Promise<AddTransactionResponse | null>;
1930
+ addCustomerDeposit(input: Pick<Transaction, "customerId" | "amountPaid">, fetchFields?: {
1931
+ root?: (keyof AddTransactionResponse)[];
1932
+ nestedFields?: AddTransactionResponseNestedFields;
1933
+ }, option?: RequestOption): Promise<AddTransactionResponse | null>;
1934
+ addCustomerRefund(input: Pick<Transaction, "customerId" | "amountPaid">, fetchFields?: {
1935
+ root?: (keyof AddTransactionResponse)[];
1936
+ nestedFields?: AddTransactionResponseNestedFields;
1937
+ }, option?: RequestOption): Promise<AddTransactionResponse | null>;
1916
1938
  getTransaction(input: GetTransactionRequest, fetchFields?: {
1917
1939
  root?: (keyof GetTransactionResponse)[];
1918
1940
  nestedFields?: GetTransactionResponseNestedFields;
@@ -1924,6 +1946,134 @@ declare const createTransactionService: (client: GraphQLClient) => {
1924
1946
  };
1925
1947
  type TransactionService = ReturnType<typeof createTransactionService>;
1926
1948
 
1949
+ declare const ENTITY$5: "expenseCategory";
1950
+ type ExpenseCategoryCRUD = EntityCRUD<ExpenseCategory, typeof ENTITY$5>;
1951
+ declare const expenseCategoryIntegration: {
1952
+ get: {
1953
+ responseFields: ["expenseCategory"];
1954
+ nestedFields: Record<"expenseCategory", ExpenseCategoryFields> & {
1955
+ features: ExpenseCategoryFields;
1956
+ };
1957
+ };
1958
+ create: {
1959
+ responseFields: ["expenseCategory"];
1960
+ nestedFields: Record<"expenseCategory", ExpenseCategoryFields> & {
1961
+ features: ExpenseCategoryFields;
1962
+ };
1963
+ };
1964
+ update: {
1965
+ responseFields: ["expenseCategory"];
1966
+ nestedFields: Record<"expenseCategory", ExpenseCategoryFields> & {
1967
+ features: ExpenseCategoryFields;
1968
+ };
1969
+ };
1970
+ };
1971
+ declare const expenseCategoryListIntegration: {
1972
+ responseFields: readonly ["expenseCategorys", "total"];
1973
+ nestedFields: Record<"expenseCategorys", ExpenseCategoryFields> & {
1974
+ features: ExpenseCategoryFields;
1975
+ };
1976
+ };
1977
+ declare const expenseCategoryDeleteIntegration: {
1978
+ responseFields: ["expenseCategoryId"];
1979
+ };
1980
+
1981
+ declare const ENTITY$4: "expense";
1982
+ type ExpenseCRUD = EntityCRUD<Expense, typeof ENTITY$4>;
1983
+ declare const expenseIntegration: {
1984
+ get: {
1985
+ responseFields: ["expense"];
1986
+ nestedFields: Record<"expense", ExpenseFields> & {
1987
+ features: ExpenseFields;
1988
+ };
1989
+ };
1990
+ create: {
1991
+ responseFields: ["expense"];
1992
+ nestedFields: Record<"expense", ExpenseFields> & {
1993
+ features: ExpenseFields;
1994
+ };
1995
+ };
1996
+ update: {
1997
+ responseFields: ["expense"];
1998
+ nestedFields: Record<"expense", ExpenseFields> & {
1999
+ features: ExpenseFields;
2000
+ };
2001
+ };
2002
+ };
2003
+ declare const expenseListIntegration: {
2004
+ responseFields: readonly ["expenses", "total"];
2005
+ nestedFields: Record<"expenses", ExpenseFields> & {
2006
+ features: ExpenseFields;
2007
+ };
2008
+ };
2009
+ declare const expenseDeleteIntegration: {
2010
+ responseFields: ["expenseId"];
2011
+ };
2012
+
2013
+ declare const createExpenseCategoryService: (client: GraphQLClient) => {
2014
+ createExpenseCategory: (input: CreateEntityRequest<ExpenseCategory, "expenseCategory">, fetchFields?: {
2015
+ root?: "expenseCategory"[] | undefined;
2016
+ nestedFields?: (Record<"expenseCategory", ExpenseCategoryFields> & {
2017
+ features: ExpenseCategoryFields;
2018
+ }) | undefined;
2019
+ } | undefined, option?: RequestOption) => Promise<EntityResponse<ExpenseCategory, "expenseCategory"> | undefined>;
2020
+ updateExpenseCategory: (input: UpdateEntityRequest<ExpenseCategory, "expenseCategory">, fetchFields?: {
2021
+ root?: "expenseCategory"[] | undefined;
2022
+ nestedFields?: (Record<"expenseCategory", ExpenseCategoryFields> & {
2023
+ features: ExpenseCategoryFields;
2024
+ }) | undefined;
2025
+ } | undefined, option?: RequestOption) => Promise<EntityResponse<ExpenseCategory, "expenseCategory"> | undefined>;
2026
+ getExpenseCategory: (input: GetEntityRequest<ExpenseCategory, "expenseCategory">, fetchFields?: {
2027
+ root?: "expenseCategory"[] | undefined;
2028
+ nestedFields?: (Record<"expenseCategory", ExpenseCategoryFields> & {
2029
+ features: ExpenseCategoryFields;
2030
+ }) | undefined;
2031
+ } | undefined, option?: RequestOption) => Promise<EntityResponse<ExpenseCategory, "expenseCategory"> | undefined>;
2032
+ deleteExpenseCategory: (input: DeleteEntityRequest<"expenseCategory">, fetchFields?: {
2033
+ root?: "expenseCategoryId"[] | undefined;
2034
+ nestedFields?: {} | undefined;
2035
+ } | undefined, option?: RequestOption) => Promise<DeleteEntityResponse<"expenseCategory"> | undefined>;
2036
+ getExpenseCategorys: (input: ListEntityRequest<ExpenseCategory, "expenseCategory">, fetchFields?: {
2037
+ root?: ("total" | "expenseCategorys")[] | undefined;
2038
+ nestedFields?: (Record<"expenseCategorys", ExpenseCategoryFields> & {
2039
+ features: ExpenseCategoryFields;
2040
+ }) | undefined;
2041
+ } | undefined, option?: RequestOption) => Promise<ListEntityResponse<ExpenseCategory, "expenseCategory"> | undefined>;
2042
+ };
2043
+ type ExpenseCategoryService = ReturnType<typeof createExpenseCategoryService>;
2044
+
2045
+ declare const createExpenseService: (client: GraphQLClient) => {
2046
+ createExpense: (input: CreateEntityRequest<Expense, "expense">, fetchFields?: {
2047
+ root?: "expense"[] | undefined;
2048
+ nestedFields?: (Record<"expense", ExpenseFields> & {
2049
+ features: ExpenseFields;
2050
+ }) | undefined;
2051
+ } | undefined, option?: RequestOption) => Promise<EntityResponse<Expense, "expense"> | undefined>;
2052
+ updateExpense: (input: UpdateEntityRequest<Expense, "expense">, fetchFields?: {
2053
+ root?: "expense"[] | undefined;
2054
+ nestedFields?: (Record<"expense", ExpenseFields> & {
2055
+ features: ExpenseFields;
2056
+ }) | undefined;
2057
+ } | undefined, option?: RequestOption) => Promise<EntityResponse<Expense, "expense"> | undefined>;
2058
+ getExpense: (input: GetEntityRequest<Expense, "expense">, fetchFields?: {
2059
+ root?: "expense"[] | undefined;
2060
+ nestedFields?: (Record<"expense", ExpenseFields> & {
2061
+ features: ExpenseFields;
2062
+ }) | undefined;
2063
+ } | undefined, option?: RequestOption) => Promise<EntityResponse<Expense, "expense"> | undefined>;
2064
+ deleteExpense: (input: DeleteEntityRequest<"expense">, fetchFields?: {
2065
+ root?: "expenseId"[] | undefined;
2066
+ nestedFields?: {} | undefined;
2067
+ } | undefined, option?: RequestOption) => Promise<DeleteEntityResponse<"expense"> | undefined>;
2068
+ getExpenses: (input: ListEntityRequest<Expense, "expense">, fetchFields?: {
2069
+ root?: ("total" | "expenses")[] | undefined;
2070
+ nestedFields?: (Record<"expenses", ExpenseFields> & {
2071
+ features: ExpenseFields;
2072
+ }) | undefined;
2073
+ } | undefined, option?: RequestOption) => Promise<ListEntityResponse<Expense, "expense"> | undefined>;
2074
+ };
2075
+ type ExpenseService = ReturnType<typeof createExpenseService>;
2076
+
1927
2077
  interface PaystackInitializePaymentRequest {
1928
2078
  userId: string;
1929
2079
  }
@@ -2242,4 +2392,4 @@ declare const createSubscriptionTrialService: (client: GraphQLClient) => {
2242
2392
  };
2243
2393
  type SubscriptionTrialService = ReturnType<typeof createSubscriptionTrialService>;
2244
2394
 
2245
- export { APPLICATION_FEATURES, type Account, type AccountStatus, type AddPackageRequest, type AddPackageResponse, type AddPackageResponseFields, type AddPackagesRequest, type AddPackagesResponse, type AddPackagesResponseFields, type AddPriceRequest, type AddPriceResponse, type AddPriceResponseFields, type AddProductRequest, type AddProductResponse, type AddProductResponseNestedFields, type AddProductsRequest, type AddProductsResponse, type AddProductsResponseNestedFields, type AddStockRequest, type AddStockResponse, type AddStockResponseNestedFields, type AddStoreRequest, type AddStoreResponse, type AddStoreResponseNestedFields, type AddSubscriptionRequest, type AddSubscriptionResponse, type AddSubscriptionResponseNestedFields, type AddTransactionRequest, type AddTransactionResponse, type AddTransactionResponseNestedFields, type Address, type Admin, type ApplicationFeature, type Auth, type AuthService, type AuthTokenProvider, AuthenticationError, type Bank, type CategoryStatus, type ClientOptions, type CreateStockService, type CreateStoreCategoryProductRequest, type CreateStoreCategoryProductResponse, type CreateStoreCategoryProductResponseNestedFields, type CreateStoreCategoryRequest, type CreateStoreCategoryResponse, type CreateStoreCategoryResponseNestedFields, type Customer, type CustomerService, type CustomerStoreBalance, type CustomersProductCount, type DateFilter, type Distributor, type GetCustomerProductCountsByIdsRequest, type GetCustomerProductCountsByIdsResponse, type GetCustomerProductCountsByIdsResponseNestedFields, type GetOrderRequest, type GetOrderResponse, type GetOrderResponseNestedFields, type GetOrdersRequest, type GetOrdersResponse, type GetOrdersResponseNestedFields, type GetPackageRequest, type GetPackageResponse, type GetPackageResponseFields, type GetPackagesRequest, type GetPackagesResponse, type GetPackagesResponseFields, type GetPriceRequest, type GetPriceResponse, type GetPriceResponseFields, type GetPricesRequest, type GetPricesResponse, type GetPricesResponseFields, type GetProductByBarcodeRequest, type GetProductByBarcodeResponse, type GetProductByBarcodeResponseNestedFields, type GetProductRequest, type GetProductResponse, type GetProductResponseNestedFields, type GetProductsRequest, type GetProductsResponse, type GetProductsResponseNestedFields, type GetSaleResponseNestedFields, type GetSalesRequest, type GetSalesResponse, type GetSalesResponseNestedFields, type GetStockRequest, type GetStockResponse, type GetStockResponseNestedFields, type GetStocksRequest, type GetStocksResponse, type GetStocksResponseNestedFields, type GetStoreCategoriesRequest, type GetStoreCategoriesResponse, type GetStoreCategoriesResponseNestedFields, type GetStoreCategoryProductRequest, type GetStoreCategoryProductResponse, type GetStoreCategoryProductResponseNestedFields, type GetStoreCategoryProductsRequest, type GetStoreCategoryProductsResponse, type GetStoreCategoryProductsResponseNestedFields, type GetStoreCategoryRequest, type GetStoreCategoryResponse, type GetStoreCategoryResponseNestedFields, type GetStoreCountRequest, type GetStoreCountResponse, type GetStoreRequest, type GetStoreResponse, type GetStoreResponseNestedFields, type GetStoresRequest, type GetStoresResponse, type GetStoresResponseNestedFields, type GetSubscriptionRequest, type GetSubscriptionResponse, type GetSubscriptionResponseNestedFields, type GetSubscriptionsRequest, type GetSubscriptionsResponse, type GetSubscriptionsResponseNestedFields, type GetTransactionRequest, type GetTransactionResponse, type GetTransactionResponseNestedFields, type GetTransactionsRequest, type GetTransactionsResponse, type GetTransactionsResponseNestedFields, GraphQLClient, type GraphQLError, type GraphQLRequest, type GraphQLResponse, type GraphQLVariables, type HeadersFactory, type Manufacturer, type Middleware, type MonthlyUserStat, NetworkError, type Next, type Notification, type NotificationChannels, type OTP, type Order, type OrderFields, type OrderStatus, type PackageService, type PaymentType, type PaystackInitializePaymentRequest, type PaystackInitializePaymentResponse, type PaystackInitializeSubscriptionRequest, type PaystackInitializeSubscriptionResponse, type PaystackService, type Platform, type Price, type Privilege, type PrivilegeAction, type Product, type ProductAttribute, type ProductCategory, type ProductCounts, type ProductLight, type ProductName, type ProductPackage, type ProductPackageService, type ProductService, type RemovePackageRequest, type RemovePackageResponse, type RemovePriceRequest, type RemovePriceResponse, type RemoveProductRequest, type RemoveProductResponse, type RemoveStockRequest, type RemoveStockResponse, type RemoveStoreCategoryProductRequest, type RemoveStoreCategoryProductResponse, type RemoveStoreCategoryRequest, type RemoveStoreCategoryResponse, type RemoveStoreRequest, type RemoveStoreResponse, type RemoveSubscriptionRequest, type RemoveSubscriptionResponse, type RequestContext, type RequestOption, type ResponseContext, type RestockCounts, type Sale, type SaleCounts, type SaleFields, type SaleService, type SaleStatus, SdkError, type SearchCategoriesAndTemplateRequest, type SearchCategoriesAndTemplateResponse, type SearchCategoriesAndTemplateResponseNestedFields, type SearchProductNamesRequest, type SearchProductNamesResponse, type SearchProductNamesResponseNestedFields, type ServiceUpdate, type Stock, type Store, type StoreCategory, type StoreCategoryProduct, type StoreCategoryProductService, type StoreCategoryService, type StoreService, type StoreSetting, type Subscription, type SubscriptionPlan, type SubscriptionPlanCRUD, type SubscriptionPlanFeature, type SubscriptionPlanFeatureAccess, type SubscriptionPlanFeatureAccessValue, type SubscriptionPlanFeatureBehaviour, type SubscriptionPlanFeatureBehaviourCRUD, type SubscriptionPlanFeatureBehaviourService, type SubscriptionPlanFeatureBehaviourValue, type SubscriptionPlanFeatureDefinition, type SubscriptionPlanFeatureDefinitionCRUD, type SubscriptionPlanFeatureDefinitionService, type SubscriptionPlanFeatureKey, SubscriptionPlanFeatureKeyLabels, type SubscriptionPlanFeatureLimitValue, type SubscriptionPlanFeatureStatus, type SubscriptionPlanService, type SubscriptionService, type SubscriptionTrial, type SubscriptionTrialCRUD, type SubscriptionTrialService, type Transaction, type TransactionCounts, type TransactionFields, type TransactionPin, type TransactionService, type TransactionType, type TransportOptions, type TxStatus, type UpdatePackageRequest, type UpdatePackageResponse, type UpdatePackageResponseFields, type UpdatePackagesRequest, type UpdatePackagesResponse, type UpdatePriceRequest, type UpdatePriceResponse, type UpdatePriceResponseFields, type UpdateProductRequest, type UpdateProductResponse, type UpdateProductResponseNestedFields, type UpdateSaleRequest, UpdateSaleResponse, type UpdateSaleResponseNestedFields, type UpdateStockRequest, type UpdateStockResponse, type UpdateStockResponseNestedFields, type UpdateStoreCategoryProductRequest, type UpdateStoreCategoryProductResponse, type UpdateStoreCategoryProductResponseNestedFields, type UpdateStoreCategoryRequest, type UpdateStoreCategoryResponse, type UpdateStoreCategoryResponseNestedFields, type UpdateStoreRequest, type UpdateStoreResponse, type UpdateStoreResponseNestedFields, type UpdateSubscriptionRequest, type UpdateSubscriptionResponse, type UpdateSubscriptionResponseNestedFields, type UpdateTransactionRequest, type UpdateTransactionResponse, type UpdateTransactionResponseNestedFields, type UploadImageResponse, type User, type UserAccount, type UserAccountService, type UserDevice, type UserNotification, type UserNotificationService, type UserNotificationSettings, type UserProductCounts, type UserRole, type UserRoleService, type UserSaleCounts, type UserService, type UserSetting, type UserStatus, type UserTxAmounts, type UserType, type UserTypeCounts, type VirtualAccount, type Wallet, type WalletCurrency, type WalletStatus, _getPackageResponseNestedFields, _getProductResponseNestedFields, _getSaleResponseNestedFields, _getStoreResponseNestedFields, _getSubscriptionResponseNestedFields, _getTransactionResponseNestedFields, _getTransactionsResponseNestedFields, addPackageResponseFields, addPackageResponseNestedFields, addPackagesResponseFields, addPackagesResponseNestedFields, addPriceResponseFields, addPriceResponseNestedFields, addProductResponseFields, addProductResponseNestedFields, addProductsResponseFields, addProductsResponseNestedFields, addStockResponse, addStockResponseNestedFields, addStoreResponse, addStoreResponseNestedFields, addSubscriptionResponse, addSubscriptionResponseNestedFields, addTransactionResponse, addTransactionResponseNestedFields, compose, createAuthService, createCustomerService, createOrderService, createPackageService, createPaystackService, createPriceService, createProductService, createSaleService, createStockService, createStoreCategoryProductResponseFields, createStoreCategoryProductResponseNestedFields, createStoreCategoryProductService, createStoreCategoryResponseFields, createStoreCategoryResponseNestedFields, createStoreCategoryService, createStoreService, createSubscriptionPlanFeatureBehaviourService, createSubscriptionPlanFeatureDefinitionService, createSubscriptionPlanService, createSubscriptionService, createSubscriptionTrialService, createTransactionService, createTransport, createUserAccountService, createUserNotificationService, createUserRoleService, createUserService, getCustomerProductCountsByIdsResponse, getCustomerProductCountsByIdsResponseNestedFields, getOrderResponse, getOrderResponseNestedFields, getOrdersResponse, getOrdersResponseNestedFields, getPackageResponseFields, getPackageResponseNestedFields, getPackagesResponseFields, getPackagesResponseNestedFields, getPriceResponseFields, getPriceResponseNestedFields, getPricesResponseFields, getPricesResponseNestedFields, getProductByBarcodeResponse, getProductByBarcodeResponseNestedFields, getProductResponseFields, getProductResponseNestedFields, getProductsResponseFields, getProductsResponseNestedFields, getSaleResponse, getSaleResponseNestedFields, getSalesResponse, getSalesResponseNestedFields, getStockResponse, getStockResponseNestedFields, getStocksResponse, getStocksResponseNestedFields, getStoreCategoriesResponseFields, getStoreCategoriesResponseNestedFields, getStoreCategoryProductResponseFields, getStoreCategoryProductResponseNestedFields, getStoreCategoryProductsResponseFields, getStoreCategoryProductsResponseNestedFields, getStoreCategoryResponseFields, getStoreCategoryResponseNestedFields, getStoreCountResponse, getStoreResponse, getStoreResponseNestedFields, getStoresResponse, getStoresResponseNestedFields, getSubscriptionResponse, getSubscriptionResponseNestedFields, getSubscriptionsResponse, getSubscriptionsResponseNestedFields, getTransactionResponse, getTransactionResponseNestedFields, getTransactionsResponse, getTransactionsResponseNestedFields, orderQuery, paystackInitializePaymentResponse, paystackInitializeSubscriptionResponse, removePackageResponseFields, removePriceResponseFields, removeProductResponseFields, removeStockResponse, removeStoreCategoryProductResponseFields, removeStoreCategoryResponseFields, removeStoreResponse, removeSubscriptionResponse, saleQuery, searchCategoriesAndTemplateResponse, searchCategoriesAndTemplateResponseNestedFields, searchProductNamesResponse, searchProductNamesResponseNestedFields, subscriptionPlanDeleteIntegration, subscriptionPlanFeatureBehaviourDeleteIntegration, subscriptionPlanFeatureBehaviourIntegration, subscriptionPlanFeatureBehaviourListIntegration, subscriptionPlanFeatureDefinitionDeleteIntegration, subscriptionPlanFeatureDefinitionIntegration, subscriptionPlanFeatureDefinitionListIntegration, subscriptionPlanIntegration, subscriptionPlanListIntegration, subscriptionTrialDeleteIntegration, subscriptionTrialIntegration, subscriptionTrialListIntegration, toAsyncHeadersFactory, toAsyncTokenProvider, transactionQuery, updatePackageResponseFields, updatePackageResponseNestedFields, updatePriceResponseFields, updatePriceResponseNestedFields, updateProductResponseFields, updateProductResponseNestedFields, updateSaleResponseNestedFields, updateStockResponse, updateStockResponseNestedFields, updateStoreCategoryProductResponseFields, updateStoreCategoryProductResponseNestedFields, updateStoreCategoryResponseFields, updateStoreCategoryResponseNestedFields, updateStoreResponse, updateStoreResponseNestedFields, updateSubscriptionResponse, updateSubscriptionResponseNestedFields, updateTransactionResponse, updateTransactionResponseNestedFields, userRoleExample };
2395
+ export { APPLICATION_FEATURES, type Account, type AccountStatus, type AddPackageRequest, type AddPackageResponse, type AddPackageResponseFields, type AddPackagesRequest, type AddPackagesResponse, type AddPackagesResponseFields, type AddPriceRequest, type AddPriceResponse, type AddPriceResponseFields, type AddProductRequest, type AddProductResponse, type AddProductResponseNestedFields, type AddProductsRequest, type AddProductsResponse, type AddProductsResponseNestedFields, type AddStockRequest, type AddStockResponse, type AddStockResponseNestedFields, type AddStoreRequest, type AddStoreResponse, type AddStoreResponseNestedFields, type AddSubscriptionRequest, type AddSubscriptionResponse, type AddSubscriptionResponseNestedFields, type AddTransactionRequest, type AddTransactionResponse, type AddTransactionResponseNestedFields, type Address, type Admin, type ApplicationFeature, type Auth, type AuthService, type AuthTokenProvider, AuthenticationError, type Bank, type CategoryStatus, type ClientOptions, type CreateStockService, type CreateStoreCategoryProductRequest, type CreateStoreCategoryProductResponse, type CreateStoreCategoryProductResponseNestedFields, type CreateStoreCategoryRequest, type CreateStoreCategoryResponse, type CreateStoreCategoryResponseNestedFields, type Customer, type CustomerService, type CustomerStoreBalance, type CustomersProductCount, type DateFilter, type Distributor, type Expense, type ExpenseCRUD, type ExpenseCategory, type ExpenseCategoryCRUD, type ExpenseCategoryFields, type ExpenseCategoryService, type ExpenseFields, type ExpenseService, type GetCustomerProductCountsByIdsRequest, type GetCustomerProductCountsByIdsResponse, type GetCustomerProductCountsByIdsResponseNestedFields, type GetOrderRequest, type GetOrderResponse, type GetOrderResponseNestedFields, type GetOrdersRequest, type GetOrdersResponse, type GetOrdersResponseNestedFields, type GetPackageRequest, type GetPackageResponse, type GetPackageResponseFields, type GetPackagesRequest, type GetPackagesResponse, type GetPackagesResponseFields, type GetPriceRequest, type GetPriceResponse, type GetPriceResponseFields, type GetPricesRequest, type GetPricesResponse, type GetPricesResponseFields, type GetProductByBarcodeRequest, type GetProductByBarcodeResponse, type GetProductByBarcodeResponseNestedFields, type GetProductRequest, type GetProductResponse, type GetProductResponseNestedFields, type GetProductsRequest, type GetProductsResponse, type GetProductsResponseNestedFields, type GetSaleResponseNestedFields, type GetSalesRequest, type GetSalesResponse, type GetSalesResponseNestedFields, type GetStockRequest, type GetStockResponse, type GetStockResponseNestedFields, type GetStocksRequest, type GetStocksResponse, type GetStocksResponseNestedFields, type GetStoreCategoriesRequest, type GetStoreCategoriesResponse, type GetStoreCategoriesResponseNestedFields, type GetStoreCategoryProductRequest, type GetStoreCategoryProductResponse, type GetStoreCategoryProductResponseNestedFields, type GetStoreCategoryProductsRequest, type GetStoreCategoryProductsResponse, type GetStoreCategoryProductsResponseNestedFields, type GetStoreCategoryRequest, type GetStoreCategoryResponse, type GetStoreCategoryResponseNestedFields, type GetStoreCountRequest, type GetStoreCountResponse, type GetStoreRequest, type GetStoreResponse, type GetStoreResponseNestedFields, type GetStoresRequest, type GetStoresResponse, type GetStoresResponseNestedFields, type GetSubscriptionRequest, type GetSubscriptionResponse, type GetSubscriptionResponseNestedFields, type GetSubscriptionsRequest, type GetSubscriptionsResponse, type GetSubscriptionsResponseNestedFields, type GetTransactionRequest, type GetTransactionResponse, type GetTransactionResponseNestedFields, type GetTransactionsRequest, type GetTransactionsResponse, type GetTransactionsResponseNestedFields, GraphQLClient, type GraphQLError, type GraphQLRequest, type GraphQLResponse, type GraphQLVariables, type HeadersFactory, type Manufacturer, type Middleware, type MonthlyUserStat, NetworkError, type Next, type Notification, type NotificationChannels, type OTP, type Order, type OrderFields, type OrderStatus, type PackageService, type PaymentType, type PaystackInitializePaymentRequest, type PaystackInitializePaymentResponse, type PaystackInitializeSubscriptionRequest, type PaystackInitializeSubscriptionResponse, type PaystackService, type Platform, type Price, type Privilege, type PrivilegeAction, type Product, type ProductAttribute, type ProductCategory, type ProductCounts, type ProductLight, type ProductName, type ProductPackage, type ProductPackageService, type ProductService, type RemovePackageRequest, type RemovePackageResponse, type RemovePriceRequest, type RemovePriceResponse, type RemoveProductRequest, type RemoveProductResponse, type RemoveStockRequest, type RemoveStockResponse, type RemoveStoreCategoryProductRequest, type RemoveStoreCategoryProductResponse, type RemoveStoreCategoryRequest, type RemoveStoreCategoryResponse, type RemoveStoreRequest, type RemoveStoreResponse, type RemoveSubscriptionRequest, type RemoveSubscriptionResponse, type RequestContext, type RequestOption, type ResponseContext, type RestockCounts, type Sale, type SaleCounts, type SaleFields, type SaleService, type SaleStatus, SdkError, type SearchCategoriesAndTemplateRequest, type SearchCategoriesAndTemplateResponse, type SearchCategoriesAndTemplateResponseNestedFields, type SearchProductNamesRequest, type SearchProductNamesResponse, type SearchProductNamesResponseNestedFields, type ServiceUpdate, type Stock, type Store, type StoreCategory, type StoreCategoryProduct, type StoreCategoryProductService, type StoreCategoryService, type StoreService, type StoreSetting, type Subscription, type SubscriptionPlan, type SubscriptionPlanCRUD, type SubscriptionPlanFeature, type SubscriptionPlanFeatureAccess, type SubscriptionPlanFeatureAccessValue, type SubscriptionPlanFeatureBehaviour, type SubscriptionPlanFeatureBehaviourCRUD, type SubscriptionPlanFeatureBehaviourService, type SubscriptionPlanFeatureBehaviourValue, type SubscriptionPlanFeatureDefinition, type SubscriptionPlanFeatureDefinitionCRUD, type SubscriptionPlanFeatureDefinitionService, type SubscriptionPlanFeatureKey, SubscriptionPlanFeatureKeyLabels, type SubscriptionPlanFeatureLimitValue, type SubscriptionPlanFeatureStatus, type SubscriptionPlanService, type SubscriptionService, type SubscriptionTrial, type SubscriptionTrialCRUD, type SubscriptionTrialService, type Transaction, type TransactionCounts, type TransactionFields, type TransactionPin, type TransactionService, type TransactionType, type TransportOptions, type TxStatus, type UpdatePackageRequest, type UpdatePackageResponse, type UpdatePackageResponseFields, type UpdatePackagesRequest, type UpdatePackagesResponse, type UpdatePriceRequest, type UpdatePriceResponse, type UpdatePriceResponseFields, type UpdateProductRequest, type UpdateProductResponse, type UpdateProductResponseNestedFields, type UpdateSaleRequest, UpdateSaleResponse, type UpdateSaleResponseNestedFields, type UpdateStockRequest, type UpdateStockResponse, type UpdateStockResponseNestedFields, type UpdateStoreCategoryProductRequest, type UpdateStoreCategoryProductResponse, type UpdateStoreCategoryProductResponseNestedFields, type UpdateStoreCategoryRequest, type UpdateStoreCategoryResponse, type UpdateStoreCategoryResponseNestedFields, type UpdateStoreRequest, type UpdateStoreResponse, type UpdateStoreResponseNestedFields, type UpdateSubscriptionRequest, type UpdateSubscriptionResponse, type UpdateSubscriptionResponseNestedFields, type UpdateTransactionRequest, type UpdateTransactionResponse, type UpdateTransactionResponseNestedFields, type UploadImageResponse, type User, type UserAccount, type UserAccountService, type UserDevice, type UserNotification, type UserNotificationService, type UserNotificationSettings, type UserProductCounts, type UserRole, type UserRoleService, type UserSaleCounts, type UserService, type UserSetting, type UserStatus, type UserTxAmounts, type UserType, type UserTypeCounts, type VirtualAccount, type Wallet, type WalletCurrency, type WalletStatus, _getPackageResponseNestedFields, _getProductResponseNestedFields, _getSaleResponseNestedFields, _getStoreResponseNestedFields, _getSubscriptionResponseNestedFields, _getTransactionResponseNestedFields, _getTransactionsResponseNestedFields, addPackageResponseFields, addPackageResponseNestedFields, addPackagesResponseFields, addPackagesResponseNestedFields, addPriceResponseFields, addPriceResponseNestedFields, addProductResponseFields, addProductResponseNestedFields, addProductsResponseFields, addProductsResponseNestedFields, addStockResponse, addStockResponseNestedFields, addStoreResponse, addStoreResponseNestedFields, addSubscriptionResponse, addSubscriptionResponseNestedFields, addTransactionResponse, addTransactionResponseNestedFields, compose, createAuthService, createCustomerService, createExpenseCategoryService, createExpenseService, createOrderService, createPackageService, createPaystackService, createPriceService, createProductService, createSaleService, createStockService, createStoreCategoryProductResponseFields, createStoreCategoryProductResponseNestedFields, createStoreCategoryProductService, createStoreCategoryResponseFields, createStoreCategoryResponseNestedFields, createStoreCategoryService, createStoreService, createSubscriptionPlanFeatureBehaviourService, createSubscriptionPlanFeatureDefinitionService, createSubscriptionPlanService, createSubscriptionService, createSubscriptionTrialService, createTransactionService, createTransport, createUserAccountService, createUserNotificationService, createUserRoleService, createUserService, expenseCategoryDeleteIntegration, expenseCategoryIntegration, expenseCategoryListIntegration, expenseCategoryQuery, expenseDeleteIntegration, expenseIntegration, expenseListIntegration, expenseQuery, getCustomerProductCountsByIdsResponse, getCustomerProductCountsByIdsResponseNestedFields, getOrderResponse, getOrderResponseNestedFields, getOrdersResponse, getOrdersResponseNestedFields, getPackageResponseFields, getPackageResponseNestedFields, getPackagesResponseFields, getPackagesResponseNestedFields, getPriceResponseFields, getPriceResponseNestedFields, getPricesResponseFields, getPricesResponseNestedFields, getProductByBarcodeResponse, getProductByBarcodeResponseNestedFields, getProductResponseFields, getProductResponseNestedFields, getProductsResponseFields, getProductsResponseNestedFields, getSaleResponse, getSaleResponseNestedFields, getSalesResponse, getSalesResponseNestedFields, getStockResponse, getStockResponseNestedFields, getStocksResponse, getStocksResponseNestedFields, getStoreCategoriesResponseFields, getStoreCategoriesResponseNestedFields, getStoreCategoryProductResponseFields, getStoreCategoryProductResponseNestedFields, getStoreCategoryProductsResponseFields, getStoreCategoryProductsResponseNestedFields, getStoreCategoryResponseFields, getStoreCategoryResponseNestedFields, getStoreCountResponse, getStoreResponse, getStoreResponseNestedFields, getStoresResponse, getStoresResponseNestedFields, getSubscriptionResponse, getSubscriptionResponseNestedFields, getSubscriptionsResponse, getSubscriptionsResponseNestedFields, getTransactionResponse, getTransactionResponseNestedFields, getTransactionsResponse, getTransactionsResponseNestedFields, orderQuery, paystackInitializePaymentResponse, paystackInitializeSubscriptionResponse, removePackageResponseFields, removePriceResponseFields, removeProductResponseFields, removeStockResponse, removeStoreCategoryProductResponseFields, removeStoreCategoryResponseFields, removeStoreResponse, removeSubscriptionResponse, saleQuery, searchCategoriesAndTemplateResponse, searchCategoriesAndTemplateResponseNestedFields, searchProductNamesResponse, searchProductNamesResponseNestedFields, subscriptionPlanDeleteIntegration, subscriptionPlanFeatureBehaviourDeleteIntegration, subscriptionPlanFeatureBehaviourIntegration, subscriptionPlanFeatureBehaviourListIntegration, subscriptionPlanFeatureDefinitionDeleteIntegration, subscriptionPlanFeatureDefinitionIntegration, subscriptionPlanFeatureDefinitionListIntegration, subscriptionPlanIntegration, subscriptionPlanListIntegration, subscriptionTrialDeleteIntegration, subscriptionTrialIntegration, subscriptionTrialListIntegration, toAsyncHeadersFactory, toAsyncTokenProvider, transactionQuery, updatePackageResponseFields, updatePackageResponseNestedFields, updatePriceResponseFields, updatePriceResponseNestedFields, updateProductResponseFields, updateProductResponseNestedFields, updateSaleResponseNestedFields, updateStockResponse, updateStockResponseNestedFields, updateStoreCategoryProductResponseFields, updateStoreCategoryProductResponseNestedFields, updateStoreCategoryResponseFields, updateStoreCategoryResponseNestedFields, updateStoreResponse, updateStoreResponseNestedFields, updateSubscriptionResponse, updateSubscriptionResponseNestedFields, updateTransactionResponse, updateTransactionResponseNestedFields, userRoleExample };
package/dist/index.d.ts CHANGED
@@ -332,6 +332,21 @@ interface ServiceUpdate {
332
332
  saleAlert: boolean;
333
333
  }
334
334
 
335
+ interface ExpenseCategory {
336
+ id: string;
337
+ title: string;
338
+ description: string;
339
+ storeId: string;
340
+ createdAt: string;
341
+ }
342
+ interface Expense {
343
+ id: string;
344
+ title: string;
345
+ description: string;
346
+ expenseCategoryId: string;
347
+ repeatedEvery: "day" | "week" | "month" | "year";
348
+ createdAt: string;
349
+ }
335
350
  type DateFilter = {
336
351
  startDate: string;
337
352
  endDate: string;
@@ -350,7 +365,7 @@ type SaleStatus = "paid" | "credit";
350
365
  type PaymentType = "cash" | "card" | "transfer" | "wallet";
351
366
  type Platform = "pos" | "commerce" | "wallet";
352
367
  type TxStatus = "pending" | "processing" | "completed" | "failed";
353
- type TransactionType = "sale" | "refund" | "deposit" | "withdrawal";
368
+ type TransactionType = "sale" | "refund" | "deposit" | "withdrawal" | "customerRefund" | "customerDeposit" | "expense";
354
369
  type Transaction = {
355
370
  _id: string;
356
371
  from: string;
@@ -369,6 +384,7 @@ type Transaction = {
369
384
  createdAt: string;
370
385
  sales: Sale[];
371
386
  storeId: string;
387
+ customerId: string;
372
388
  transactionType: TransactionType;
373
389
  };
374
390
  type OrderStatus = "pending" | "processing" | "routing" | "delivered";
@@ -1074,12 +1090,6 @@ declare const createCustomerService: (client: GraphQLClient) => {
1074
1090
  root?: "customerId"[] | undefined;
1075
1091
  nestedFields?: {} | undefined;
1076
1092
  } | undefined, option?: RequestOption) => Promise<DeleteEntityResponse<"customer"> | undefined>;
1077
- getCustomers: (input: ListEntityRequest<Customer, "customer">, fetchFields?: {
1078
- root?: ("total" | "customers")[] | undefined;
1079
- nestedFields?: (Record<"customers", CustomerFields> & {
1080
- customerStoreBalance: CustomerStoreBalanceFields;
1081
- }) | undefined;
1082
- } | undefined, option?: RequestOption) => Promise<ListEntityResponse<Customer, "customer"> | undefined>;
1083
1093
  getCustomersByStoreId: (input: {
1084
1094
  customer?: Partial<Customer> | undefined;
1085
1095
  } & {
@@ -1758,6 +1768,10 @@ declare const createStoreCategoryProductService: (client: GraphQLClient) => {
1758
1768
  };
1759
1769
  type StoreCategoryProductService = ReturnType<typeof createStoreCategoryProductService>;
1760
1770
 
1771
+ type ExpenseFields = (keyof Expense)[];
1772
+ declare const expenseQuery: ExpenseFields;
1773
+ type ExpenseCategoryFields = (keyof ExpenseCategory)[];
1774
+ declare const expenseCategoryQuery: ExpenseCategoryFields;
1761
1775
  type TransactionFields = (keyof Transaction)[];
1762
1776
  declare const transactionQuery: TransactionFields;
1763
1777
  type OrderFields = (keyof Order)[];
@@ -1913,6 +1927,14 @@ declare const createTransactionService: (client: GraphQLClient) => {
1913
1927
  root?: (keyof AddTransactionResponse)[];
1914
1928
  nestedFields?: AddTransactionResponseNestedFields;
1915
1929
  }, option?: RequestOption): Promise<AddTransactionResponse | null>;
1930
+ addCustomerDeposit(input: Pick<Transaction, "customerId" | "amountPaid">, fetchFields?: {
1931
+ root?: (keyof AddTransactionResponse)[];
1932
+ nestedFields?: AddTransactionResponseNestedFields;
1933
+ }, option?: RequestOption): Promise<AddTransactionResponse | null>;
1934
+ addCustomerRefund(input: Pick<Transaction, "customerId" | "amountPaid">, fetchFields?: {
1935
+ root?: (keyof AddTransactionResponse)[];
1936
+ nestedFields?: AddTransactionResponseNestedFields;
1937
+ }, option?: RequestOption): Promise<AddTransactionResponse | null>;
1916
1938
  getTransaction(input: GetTransactionRequest, fetchFields?: {
1917
1939
  root?: (keyof GetTransactionResponse)[];
1918
1940
  nestedFields?: GetTransactionResponseNestedFields;
@@ -1924,6 +1946,134 @@ declare const createTransactionService: (client: GraphQLClient) => {
1924
1946
  };
1925
1947
  type TransactionService = ReturnType<typeof createTransactionService>;
1926
1948
 
1949
+ declare const ENTITY$5: "expenseCategory";
1950
+ type ExpenseCategoryCRUD = EntityCRUD<ExpenseCategory, typeof ENTITY$5>;
1951
+ declare const expenseCategoryIntegration: {
1952
+ get: {
1953
+ responseFields: ["expenseCategory"];
1954
+ nestedFields: Record<"expenseCategory", ExpenseCategoryFields> & {
1955
+ features: ExpenseCategoryFields;
1956
+ };
1957
+ };
1958
+ create: {
1959
+ responseFields: ["expenseCategory"];
1960
+ nestedFields: Record<"expenseCategory", ExpenseCategoryFields> & {
1961
+ features: ExpenseCategoryFields;
1962
+ };
1963
+ };
1964
+ update: {
1965
+ responseFields: ["expenseCategory"];
1966
+ nestedFields: Record<"expenseCategory", ExpenseCategoryFields> & {
1967
+ features: ExpenseCategoryFields;
1968
+ };
1969
+ };
1970
+ };
1971
+ declare const expenseCategoryListIntegration: {
1972
+ responseFields: readonly ["expenseCategorys", "total"];
1973
+ nestedFields: Record<"expenseCategorys", ExpenseCategoryFields> & {
1974
+ features: ExpenseCategoryFields;
1975
+ };
1976
+ };
1977
+ declare const expenseCategoryDeleteIntegration: {
1978
+ responseFields: ["expenseCategoryId"];
1979
+ };
1980
+
1981
+ declare const ENTITY$4: "expense";
1982
+ type ExpenseCRUD = EntityCRUD<Expense, typeof ENTITY$4>;
1983
+ declare const expenseIntegration: {
1984
+ get: {
1985
+ responseFields: ["expense"];
1986
+ nestedFields: Record<"expense", ExpenseFields> & {
1987
+ features: ExpenseFields;
1988
+ };
1989
+ };
1990
+ create: {
1991
+ responseFields: ["expense"];
1992
+ nestedFields: Record<"expense", ExpenseFields> & {
1993
+ features: ExpenseFields;
1994
+ };
1995
+ };
1996
+ update: {
1997
+ responseFields: ["expense"];
1998
+ nestedFields: Record<"expense", ExpenseFields> & {
1999
+ features: ExpenseFields;
2000
+ };
2001
+ };
2002
+ };
2003
+ declare const expenseListIntegration: {
2004
+ responseFields: readonly ["expenses", "total"];
2005
+ nestedFields: Record<"expenses", ExpenseFields> & {
2006
+ features: ExpenseFields;
2007
+ };
2008
+ };
2009
+ declare const expenseDeleteIntegration: {
2010
+ responseFields: ["expenseId"];
2011
+ };
2012
+
2013
+ declare const createExpenseCategoryService: (client: GraphQLClient) => {
2014
+ createExpenseCategory: (input: CreateEntityRequest<ExpenseCategory, "expenseCategory">, fetchFields?: {
2015
+ root?: "expenseCategory"[] | undefined;
2016
+ nestedFields?: (Record<"expenseCategory", ExpenseCategoryFields> & {
2017
+ features: ExpenseCategoryFields;
2018
+ }) | undefined;
2019
+ } | undefined, option?: RequestOption) => Promise<EntityResponse<ExpenseCategory, "expenseCategory"> | undefined>;
2020
+ updateExpenseCategory: (input: UpdateEntityRequest<ExpenseCategory, "expenseCategory">, fetchFields?: {
2021
+ root?: "expenseCategory"[] | undefined;
2022
+ nestedFields?: (Record<"expenseCategory", ExpenseCategoryFields> & {
2023
+ features: ExpenseCategoryFields;
2024
+ }) | undefined;
2025
+ } | undefined, option?: RequestOption) => Promise<EntityResponse<ExpenseCategory, "expenseCategory"> | undefined>;
2026
+ getExpenseCategory: (input: GetEntityRequest<ExpenseCategory, "expenseCategory">, fetchFields?: {
2027
+ root?: "expenseCategory"[] | undefined;
2028
+ nestedFields?: (Record<"expenseCategory", ExpenseCategoryFields> & {
2029
+ features: ExpenseCategoryFields;
2030
+ }) | undefined;
2031
+ } | undefined, option?: RequestOption) => Promise<EntityResponse<ExpenseCategory, "expenseCategory"> | undefined>;
2032
+ deleteExpenseCategory: (input: DeleteEntityRequest<"expenseCategory">, fetchFields?: {
2033
+ root?: "expenseCategoryId"[] | undefined;
2034
+ nestedFields?: {} | undefined;
2035
+ } | undefined, option?: RequestOption) => Promise<DeleteEntityResponse<"expenseCategory"> | undefined>;
2036
+ getExpenseCategorys: (input: ListEntityRequest<ExpenseCategory, "expenseCategory">, fetchFields?: {
2037
+ root?: ("total" | "expenseCategorys")[] | undefined;
2038
+ nestedFields?: (Record<"expenseCategorys", ExpenseCategoryFields> & {
2039
+ features: ExpenseCategoryFields;
2040
+ }) | undefined;
2041
+ } | undefined, option?: RequestOption) => Promise<ListEntityResponse<ExpenseCategory, "expenseCategory"> | undefined>;
2042
+ };
2043
+ type ExpenseCategoryService = ReturnType<typeof createExpenseCategoryService>;
2044
+
2045
+ declare const createExpenseService: (client: GraphQLClient) => {
2046
+ createExpense: (input: CreateEntityRequest<Expense, "expense">, fetchFields?: {
2047
+ root?: "expense"[] | undefined;
2048
+ nestedFields?: (Record<"expense", ExpenseFields> & {
2049
+ features: ExpenseFields;
2050
+ }) | undefined;
2051
+ } | undefined, option?: RequestOption) => Promise<EntityResponse<Expense, "expense"> | undefined>;
2052
+ updateExpense: (input: UpdateEntityRequest<Expense, "expense">, fetchFields?: {
2053
+ root?: "expense"[] | undefined;
2054
+ nestedFields?: (Record<"expense", ExpenseFields> & {
2055
+ features: ExpenseFields;
2056
+ }) | undefined;
2057
+ } | undefined, option?: RequestOption) => Promise<EntityResponse<Expense, "expense"> | undefined>;
2058
+ getExpense: (input: GetEntityRequest<Expense, "expense">, fetchFields?: {
2059
+ root?: "expense"[] | undefined;
2060
+ nestedFields?: (Record<"expense", ExpenseFields> & {
2061
+ features: ExpenseFields;
2062
+ }) | undefined;
2063
+ } | undefined, option?: RequestOption) => Promise<EntityResponse<Expense, "expense"> | undefined>;
2064
+ deleteExpense: (input: DeleteEntityRequest<"expense">, fetchFields?: {
2065
+ root?: "expenseId"[] | undefined;
2066
+ nestedFields?: {} | undefined;
2067
+ } | undefined, option?: RequestOption) => Promise<DeleteEntityResponse<"expense"> | undefined>;
2068
+ getExpenses: (input: ListEntityRequest<Expense, "expense">, fetchFields?: {
2069
+ root?: ("total" | "expenses")[] | undefined;
2070
+ nestedFields?: (Record<"expenses", ExpenseFields> & {
2071
+ features: ExpenseFields;
2072
+ }) | undefined;
2073
+ } | undefined, option?: RequestOption) => Promise<ListEntityResponse<Expense, "expense"> | undefined>;
2074
+ };
2075
+ type ExpenseService = ReturnType<typeof createExpenseService>;
2076
+
1927
2077
  interface PaystackInitializePaymentRequest {
1928
2078
  userId: string;
1929
2079
  }
@@ -2242,4 +2392,4 @@ declare const createSubscriptionTrialService: (client: GraphQLClient) => {
2242
2392
  };
2243
2393
  type SubscriptionTrialService = ReturnType<typeof createSubscriptionTrialService>;
2244
2394
 
2245
- export { APPLICATION_FEATURES, type Account, type AccountStatus, type AddPackageRequest, type AddPackageResponse, type AddPackageResponseFields, type AddPackagesRequest, type AddPackagesResponse, type AddPackagesResponseFields, type AddPriceRequest, type AddPriceResponse, type AddPriceResponseFields, type AddProductRequest, type AddProductResponse, type AddProductResponseNestedFields, type AddProductsRequest, type AddProductsResponse, type AddProductsResponseNestedFields, type AddStockRequest, type AddStockResponse, type AddStockResponseNestedFields, type AddStoreRequest, type AddStoreResponse, type AddStoreResponseNestedFields, type AddSubscriptionRequest, type AddSubscriptionResponse, type AddSubscriptionResponseNestedFields, type AddTransactionRequest, type AddTransactionResponse, type AddTransactionResponseNestedFields, type Address, type Admin, type ApplicationFeature, type Auth, type AuthService, type AuthTokenProvider, AuthenticationError, type Bank, type CategoryStatus, type ClientOptions, type CreateStockService, type CreateStoreCategoryProductRequest, type CreateStoreCategoryProductResponse, type CreateStoreCategoryProductResponseNestedFields, type CreateStoreCategoryRequest, type CreateStoreCategoryResponse, type CreateStoreCategoryResponseNestedFields, type Customer, type CustomerService, type CustomerStoreBalance, type CustomersProductCount, type DateFilter, type Distributor, type GetCustomerProductCountsByIdsRequest, type GetCustomerProductCountsByIdsResponse, type GetCustomerProductCountsByIdsResponseNestedFields, type GetOrderRequest, type GetOrderResponse, type GetOrderResponseNestedFields, type GetOrdersRequest, type GetOrdersResponse, type GetOrdersResponseNestedFields, type GetPackageRequest, type GetPackageResponse, type GetPackageResponseFields, type GetPackagesRequest, type GetPackagesResponse, type GetPackagesResponseFields, type GetPriceRequest, type GetPriceResponse, type GetPriceResponseFields, type GetPricesRequest, type GetPricesResponse, type GetPricesResponseFields, type GetProductByBarcodeRequest, type GetProductByBarcodeResponse, type GetProductByBarcodeResponseNestedFields, type GetProductRequest, type GetProductResponse, type GetProductResponseNestedFields, type GetProductsRequest, type GetProductsResponse, type GetProductsResponseNestedFields, type GetSaleResponseNestedFields, type GetSalesRequest, type GetSalesResponse, type GetSalesResponseNestedFields, type GetStockRequest, type GetStockResponse, type GetStockResponseNestedFields, type GetStocksRequest, type GetStocksResponse, type GetStocksResponseNestedFields, type GetStoreCategoriesRequest, type GetStoreCategoriesResponse, type GetStoreCategoriesResponseNestedFields, type GetStoreCategoryProductRequest, type GetStoreCategoryProductResponse, type GetStoreCategoryProductResponseNestedFields, type GetStoreCategoryProductsRequest, type GetStoreCategoryProductsResponse, type GetStoreCategoryProductsResponseNestedFields, type GetStoreCategoryRequest, type GetStoreCategoryResponse, type GetStoreCategoryResponseNestedFields, type GetStoreCountRequest, type GetStoreCountResponse, type GetStoreRequest, type GetStoreResponse, type GetStoreResponseNestedFields, type GetStoresRequest, type GetStoresResponse, type GetStoresResponseNestedFields, type GetSubscriptionRequest, type GetSubscriptionResponse, type GetSubscriptionResponseNestedFields, type GetSubscriptionsRequest, type GetSubscriptionsResponse, type GetSubscriptionsResponseNestedFields, type GetTransactionRequest, type GetTransactionResponse, type GetTransactionResponseNestedFields, type GetTransactionsRequest, type GetTransactionsResponse, type GetTransactionsResponseNestedFields, GraphQLClient, type GraphQLError, type GraphQLRequest, type GraphQLResponse, type GraphQLVariables, type HeadersFactory, type Manufacturer, type Middleware, type MonthlyUserStat, NetworkError, type Next, type Notification, type NotificationChannels, type OTP, type Order, type OrderFields, type OrderStatus, type PackageService, type PaymentType, type PaystackInitializePaymentRequest, type PaystackInitializePaymentResponse, type PaystackInitializeSubscriptionRequest, type PaystackInitializeSubscriptionResponse, type PaystackService, type Platform, type Price, type Privilege, type PrivilegeAction, type Product, type ProductAttribute, type ProductCategory, type ProductCounts, type ProductLight, type ProductName, type ProductPackage, type ProductPackageService, type ProductService, type RemovePackageRequest, type RemovePackageResponse, type RemovePriceRequest, type RemovePriceResponse, type RemoveProductRequest, type RemoveProductResponse, type RemoveStockRequest, type RemoveStockResponse, type RemoveStoreCategoryProductRequest, type RemoveStoreCategoryProductResponse, type RemoveStoreCategoryRequest, type RemoveStoreCategoryResponse, type RemoveStoreRequest, type RemoveStoreResponse, type RemoveSubscriptionRequest, type RemoveSubscriptionResponse, type RequestContext, type RequestOption, type ResponseContext, type RestockCounts, type Sale, type SaleCounts, type SaleFields, type SaleService, type SaleStatus, SdkError, type SearchCategoriesAndTemplateRequest, type SearchCategoriesAndTemplateResponse, type SearchCategoriesAndTemplateResponseNestedFields, type SearchProductNamesRequest, type SearchProductNamesResponse, type SearchProductNamesResponseNestedFields, type ServiceUpdate, type Stock, type Store, type StoreCategory, type StoreCategoryProduct, type StoreCategoryProductService, type StoreCategoryService, type StoreService, type StoreSetting, type Subscription, type SubscriptionPlan, type SubscriptionPlanCRUD, type SubscriptionPlanFeature, type SubscriptionPlanFeatureAccess, type SubscriptionPlanFeatureAccessValue, type SubscriptionPlanFeatureBehaviour, type SubscriptionPlanFeatureBehaviourCRUD, type SubscriptionPlanFeatureBehaviourService, type SubscriptionPlanFeatureBehaviourValue, type SubscriptionPlanFeatureDefinition, type SubscriptionPlanFeatureDefinitionCRUD, type SubscriptionPlanFeatureDefinitionService, type SubscriptionPlanFeatureKey, SubscriptionPlanFeatureKeyLabels, type SubscriptionPlanFeatureLimitValue, type SubscriptionPlanFeatureStatus, type SubscriptionPlanService, type SubscriptionService, type SubscriptionTrial, type SubscriptionTrialCRUD, type SubscriptionTrialService, type Transaction, type TransactionCounts, type TransactionFields, type TransactionPin, type TransactionService, type TransactionType, type TransportOptions, type TxStatus, type UpdatePackageRequest, type UpdatePackageResponse, type UpdatePackageResponseFields, type UpdatePackagesRequest, type UpdatePackagesResponse, type UpdatePriceRequest, type UpdatePriceResponse, type UpdatePriceResponseFields, type UpdateProductRequest, type UpdateProductResponse, type UpdateProductResponseNestedFields, type UpdateSaleRequest, UpdateSaleResponse, type UpdateSaleResponseNestedFields, type UpdateStockRequest, type UpdateStockResponse, type UpdateStockResponseNestedFields, type UpdateStoreCategoryProductRequest, type UpdateStoreCategoryProductResponse, type UpdateStoreCategoryProductResponseNestedFields, type UpdateStoreCategoryRequest, type UpdateStoreCategoryResponse, type UpdateStoreCategoryResponseNestedFields, type UpdateStoreRequest, type UpdateStoreResponse, type UpdateStoreResponseNestedFields, type UpdateSubscriptionRequest, type UpdateSubscriptionResponse, type UpdateSubscriptionResponseNestedFields, type UpdateTransactionRequest, type UpdateTransactionResponse, type UpdateTransactionResponseNestedFields, type UploadImageResponse, type User, type UserAccount, type UserAccountService, type UserDevice, type UserNotification, type UserNotificationService, type UserNotificationSettings, type UserProductCounts, type UserRole, type UserRoleService, type UserSaleCounts, type UserService, type UserSetting, type UserStatus, type UserTxAmounts, type UserType, type UserTypeCounts, type VirtualAccount, type Wallet, type WalletCurrency, type WalletStatus, _getPackageResponseNestedFields, _getProductResponseNestedFields, _getSaleResponseNestedFields, _getStoreResponseNestedFields, _getSubscriptionResponseNestedFields, _getTransactionResponseNestedFields, _getTransactionsResponseNestedFields, addPackageResponseFields, addPackageResponseNestedFields, addPackagesResponseFields, addPackagesResponseNestedFields, addPriceResponseFields, addPriceResponseNestedFields, addProductResponseFields, addProductResponseNestedFields, addProductsResponseFields, addProductsResponseNestedFields, addStockResponse, addStockResponseNestedFields, addStoreResponse, addStoreResponseNestedFields, addSubscriptionResponse, addSubscriptionResponseNestedFields, addTransactionResponse, addTransactionResponseNestedFields, compose, createAuthService, createCustomerService, createOrderService, createPackageService, createPaystackService, createPriceService, createProductService, createSaleService, createStockService, createStoreCategoryProductResponseFields, createStoreCategoryProductResponseNestedFields, createStoreCategoryProductService, createStoreCategoryResponseFields, createStoreCategoryResponseNestedFields, createStoreCategoryService, createStoreService, createSubscriptionPlanFeatureBehaviourService, createSubscriptionPlanFeatureDefinitionService, createSubscriptionPlanService, createSubscriptionService, createSubscriptionTrialService, createTransactionService, createTransport, createUserAccountService, createUserNotificationService, createUserRoleService, createUserService, getCustomerProductCountsByIdsResponse, getCustomerProductCountsByIdsResponseNestedFields, getOrderResponse, getOrderResponseNestedFields, getOrdersResponse, getOrdersResponseNestedFields, getPackageResponseFields, getPackageResponseNestedFields, getPackagesResponseFields, getPackagesResponseNestedFields, getPriceResponseFields, getPriceResponseNestedFields, getPricesResponseFields, getPricesResponseNestedFields, getProductByBarcodeResponse, getProductByBarcodeResponseNestedFields, getProductResponseFields, getProductResponseNestedFields, getProductsResponseFields, getProductsResponseNestedFields, getSaleResponse, getSaleResponseNestedFields, getSalesResponse, getSalesResponseNestedFields, getStockResponse, getStockResponseNestedFields, getStocksResponse, getStocksResponseNestedFields, getStoreCategoriesResponseFields, getStoreCategoriesResponseNestedFields, getStoreCategoryProductResponseFields, getStoreCategoryProductResponseNestedFields, getStoreCategoryProductsResponseFields, getStoreCategoryProductsResponseNestedFields, getStoreCategoryResponseFields, getStoreCategoryResponseNestedFields, getStoreCountResponse, getStoreResponse, getStoreResponseNestedFields, getStoresResponse, getStoresResponseNestedFields, getSubscriptionResponse, getSubscriptionResponseNestedFields, getSubscriptionsResponse, getSubscriptionsResponseNestedFields, getTransactionResponse, getTransactionResponseNestedFields, getTransactionsResponse, getTransactionsResponseNestedFields, orderQuery, paystackInitializePaymentResponse, paystackInitializeSubscriptionResponse, removePackageResponseFields, removePriceResponseFields, removeProductResponseFields, removeStockResponse, removeStoreCategoryProductResponseFields, removeStoreCategoryResponseFields, removeStoreResponse, removeSubscriptionResponse, saleQuery, searchCategoriesAndTemplateResponse, searchCategoriesAndTemplateResponseNestedFields, searchProductNamesResponse, searchProductNamesResponseNestedFields, subscriptionPlanDeleteIntegration, subscriptionPlanFeatureBehaviourDeleteIntegration, subscriptionPlanFeatureBehaviourIntegration, subscriptionPlanFeatureBehaviourListIntegration, subscriptionPlanFeatureDefinitionDeleteIntegration, subscriptionPlanFeatureDefinitionIntegration, subscriptionPlanFeatureDefinitionListIntegration, subscriptionPlanIntegration, subscriptionPlanListIntegration, subscriptionTrialDeleteIntegration, subscriptionTrialIntegration, subscriptionTrialListIntegration, toAsyncHeadersFactory, toAsyncTokenProvider, transactionQuery, updatePackageResponseFields, updatePackageResponseNestedFields, updatePriceResponseFields, updatePriceResponseNestedFields, updateProductResponseFields, updateProductResponseNestedFields, updateSaleResponseNestedFields, updateStockResponse, updateStockResponseNestedFields, updateStoreCategoryProductResponseFields, updateStoreCategoryProductResponseNestedFields, updateStoreCategoryResponseFields, updateStoreCategoryResponseNestedFields, updateStoreResponse, updateStoreResponseNestedFields, updateSubscriptionResponse, updateSubscriptionResponseNestedFields, updateTransactionResponse, updateTransactionResponseNestedFields, userRoleExample };
2395
+ export { APPLICATION_FEATURES, type Account, type AccountStatus, type AddPackageRequest, type AddPackageResponse, type AddPackageResponseFields, type AddPackagesRequest, type AddPackagesResponse, type AddPackagesResponseFields, type AddPriceRequest, type AddPriceResponse, type AddPriceResponseFields, type AddProductRequest, type AddProductResponse, type AddProductResponseNestedFields, type AddProductsRequest, type AddProductsResponse, type AddProductsResponseNestedFields, type AddStockRequest, type AddStockResponse, type AddStockResponseNestedFields, type AddStoreRequest, type AddStoreResponse, type AddStoreResponseNestedFields, type AddSubscriptionRequest, type AddSubscriptionResponse, type AddSubscriptionResponseNestedFields, type AddTransactionRequest, type AddTransactionResponse, type AddTransactionResponseNestedFields, type Address, type Admin, type ApplicationFeature, type Auth, type AuthService, type AuthTokenProvider, AuthenticationError, type Bank, type CategoryStatus, type ClientOptions, type CreateStockService, type CreateStoreCategoryProductRequest, type CreateStoreCategoryProductResponse, type CreateStoreCategoryProductResponseNestedFields, type CreateStoreCategoryRequest, type CreateStoreCategoryResponse, type CreateStoreCategoryResponseNestedFields, type Customer, type CustomerService, type CustomerStoreBalance, type CustomersProductCount, type DateFilter, type Distributor, type Expense, type ExpenseCRUD, type ExpenseCategory, type ExpenseCategoryCRUD, type ExpenseCategoryFields, type ExpenseCategoryService, type ExpenseFields, type ExpenseService, type GetCustomerProductCountsByIdsRequest, type GetCustomerProductCountsByIdsResponse, type GetCustomerProductCountsByIdsResponseNestedFields, type GetOrderRequest, type GetOrderResponse, type GetOrderResponseNestedFields, type GetOrdersRequest, type GetOrdersResponse, type GetOrdersResponseNestedFields, type GetPackageRequest, type GetPackageResponse, type GetPackageResponseFields, type GetPackagesRequest, type GetPackagesResponse, type GetPackagesResponseFields, type GetPriceRequest, type GetPriceResponse, type GetPriceResponseFields, type GetPricesRequest, type GetPricesResponse, type GetPricesResponseFields, type GetProductByBarcodeRequest, type GetProductByBarcodeResponse, type GetProductByBarcodeResponseNestedFields, type GetProductRequest, type GetProductResponse, type GetProductResponseNestedFields, type GetProductsRequest, type GetProductsResponse, type GetProductsResponseNestedFields, type GetSaleResponseNestedFields, type GetSalesRequest, type GetSalesResponse, type GetSalesResponseNestedFields, type GetStockRequest, type GetStockResponse, type GetStockResponseNestedFields, type GetStocksRequest, type GetStocksResponse, type GetStocksResponseNestedFields, type GetStoreCategoriesRequest, type GetStoreCategoriesResponse, type GetStoreCategoriesResponseNestedFields, type GetStoreCategoryProductRequest, type GetStoreCategoryProductResponse, type GetStoreCategoryProductResponseNestedFields, type GetStoreCategoryProductsRequest, type GetStoreCategoryProductsResponse, type GetStoreCategoryProductsResponseNestedFields, type GetStoreCategoryRequest, type GetStoreCategoryResponse, type GetStoreCategoryResponseNestedFields, type GetStoreCountRequest, type GetStoreCountResponse, type GetStoreRequest, type GetStoreResponse, type GetStoreResponseNestedFields, type GetStoresRequest, type GetStoresResponse, type GetStoresResponseNestedFields, type GetSubscriptionRequest, type GetSubscriptionResponse, type GetSubscriptionResponseNestedFields, type GetSubscriptionsRequest, type GetSubscriptionsResponse, type GetSubscriptionsResponseNestedFields, type GetTransactionRequest, type GetTransactionResponse, type GetTransactionResponseNestedFields, type GetTransactionsRequest, type GetTransactionsResponse, type GetTransactionsResponseNestedFields, GraphQLClient, type GraphQLError, type GraphQLRequest, type GraphQLResponse, type GraphQLVariables, type HeadersFactory, type Manufacturer, type Middleware, type MonthlyUserStat, NetworkError, type Next, type Notification, type NotificationChannels, type OTP, type Order, type OrderFields, type OrderStatus, type PackageService, type PaymentType, type PaystackInitializePaymentRequest, type PaystackInitializePaymentResponse, type PaystackInitializeSubscriptionRequest, type PaystackInitializeSubscriptionResponse, type PaystackService, type Platform, type Price, type Privilege, type PrivilegeAction, type Product, type ProductAttribute, type ProductCategory, type ProductCounts, type ProductLight, type ProductName, type ProductPackage, type ProductPackageService, type ProductService, type RemovePackageRequest, type RemovePackageResponse, type RemovePriceRequest, type RemovePriceResponse, type RemoveProductRequest, type RemoveProductResponse, type RemoveStockRequest, type RemoveStockResponse, type RemoveStoreCategoryProductRequest, type RemoveStoreCategoryProductResponse, type RemoveStoreCategoryRequest, type RemoveStoreCategoryResponse, type RemoveStoreRequest, type RemoveStoreResponse, type RemoveSubscriptionRequest, type RemoveSubscriptionResponse, type RequestContext, type RequestOption, type ResponseContext, type RestockCounts, type Sale, type SaleCounts, type SaleFields, type SaleService, type SaleStatus, SdkError, type SearchCategoriesAndTemplateRequest, type SearchCategoriesAndTemplateResponse, type SearchCategoriesAndTemplateResponseNestedFields, type SearchProductNamesRequest, type SearchProductNamesResponse, type SearchProductNamesResponseNestedFields, type ServiceUpdate, type Stock, type Store, type StoreCategory, type StoreCategoryProduct, type StoreCategoryProductService, type StoreCategoryService, type StoreService, type StoreSetting, type Subscription, type SubscriptionPlan, type SubscriptionPlanCRUD, type SubscriptionPlanFeature, type SubscriptionPlanFeatureAccess, type SubscriptionPlanFeatureAccessValue, type SubscriptionPlanFeatureBehaviour, type SubscriptionPlanFeatureBehaviourCRUD, type SubscriptionPlanFeatureBehaviourService, type SubscriptionPlanFeatureBehaviourValue, type SubscriptionPlanFeatureDefinition, type SubscriptionPlanFeatureDefinitionCRUD, type SubscriptionPlanFeatureDefinitionService, type SubscriptionPlanFeatureKey, SubscriptionPlanFeatureKeyLabels, type SubscriptionPlanFeatureLimitValue, type SubscriptionPlanFeatureStatus, type SubscriptionPlanService, type SubscriptionService, type SubscriptionTrial, type SubscriptionTrialCRUD, type SubscriptionTrialService, type Transaction, type TransactionCounts, type TransactionFields, type TransactionPin, type TransactionService, type TransactionType, type TransportOptions, type TxStatus, type UpdatePackageRequest, type UpdatePackageResponse, type UpdatePackageResponseFields, type UpdatePackagesRequest, type UpdatePackagesResponse, type UpdatePriceRequest, type UpdatePriceResponse, type UpdatePriceResponseFields, type UpdateProductRequest, type UpdateProductResponse, type UpdateProductResponseNestedFields, type UpdateSaleRequest, UpdateSaleResponse, type UpdateSaleResponseNestedFields, type UpdateStockRequest, type UpdateStockResponse, type UpdateStockResponseNestedFields, type UpdateStoreCategoryProductRequest, type UpdateStoreCategoryProductResponse, type UpdateStoreCategoryProductResponseNestedFields, type UpdateStoreCategoryRequest, type UpdateStoreCategoryResponse, type UpdateStoreCategoryResponseNestedFields, type UpdateStoreRequest, type UpdateStoreResponse, type UpdateStoreResponseNestedFields, type UpdateSubscriptionRequest, type UpdateSubscriptionResponse, type UpdateSubscriptionResponseNestedFields, type UpdateTransactionRequest, type UpdateTransactionResponse, type UpdateTransactionResponseNestedFields, type UploadImageResponse, type User, type UserAccount, type UserAccountService, type UserDevice, type UserNotification, type UserNotificationService, type UserNotificationSettings, type UserProductCounts, type UserRole, type UserRoleService, type UserSaleCounts, type UserService, type UserSetting, type UserStatus, type UserTxAmounts, type UserType, type UserTypeCounts, type VirtualAccount, type Wallet, type WalletCurrency, type WalletStatus, _getPackageResponseNestedFields, _getProductResponseNestedFields, _getSaleResponseNestedFields, _getStoreResponseNestedFields, _getSubscriptionResponseNestedFields, _getTransactionResponseNestedFields, _getTransactionsResponseNestedFields, addPackageResponseFields, addPackageResponseNestedFields, addPackagesResponseFields, addPackagesResponseNestedFields, addPriceResponseFields, addPriceResponseNestedFields, addProductResponseFields, addProductResponseNestedFields, addProductsResponseFields, addProductsResponseNestedFields, addStockResponse, addStockResponseNestedFields, addStoreResponse, addStoreResponseNestedFields, addSubscriptionResponse, addSubscriptionResponseNestedFields, addTransactionResponse, addTransactionResponseNestedFields, compose, createAuthService, createCustomerService, createExpenseCategoryService, createExpenseService, createOrderService, createPackageService, createPaystackService, createPriceService, createProductService, createSaleService, createStockService, createStoreCategoryProductResponseFields, createStoreCategoryProductResponseNestedFields, createStoreCategoryProductService, createStoreCategoryResponseFields, createStoreCategoryResponseNestedFields, createStoreCategoryService, createStoreService, createSubscriptionPlanFeatureBehaviourService, createSubscriptionPlanFeatureDefinitionService, createSubscriptionPlanService, createSubscriptionService, createSubscriptionTrialService, createTransactionService, createTransport, createUserAccountService, createUserNotificationService, createUserRoleService, createUserService, expenseCategoryDeleteIntegration, expenseCategoryIntegration, expenseCategoryListIntegration, expenseCategoryQuery, expenseDeleteIntegration, expenseIntegration, expenseListIntegration, expenseQuery, getCustomerProductCountsByIdsResponse, getCustomerProductCountsByIdsResponseNestedFields, getOrderResponse, getOrderResponseNestedFields, getOrdersResponse, getOrdersResponseNestedFields, getPackageResponseFields, getPackageResponseNestedFields, getPackagesResponseFields, getPackagesResponseNestedFields, getPriceResponseFields, getPriceResponseNestedFields, getPricesResponseFields, getPricesResponseNestedFields, getProductByBarcodeResponse, getProductByBarcodeResponseNestedFields, getProductResponseFields, getProductResponseNestedFields, getProductsResponseFields, getProductsResponseNestedFields, getSaleResponse, getSaleResponseNestedFields, getSalesResponse, getSalesResponseNestedFields, getStockResponse, getStockResponseNestedFields, getStocksResponse, getStocksResponseNestedFields, getStoreCategoriesResponseFields, getStoreCategoriesResponseNestedFields, getStoreCategoryProductResponseFields, getStoreCategoryProductResponseNestedFields, getStoreCategoryProductsResponseFields, getStoreCategoryProductsResponseNestedFields, getStoreCategoryResponseFields, getStoreCategoryResponseNestedFields, getStoreCountResponse, getStoreResponse, getStoreResponseNestedFields, getStoresResponse, getStoresResponseNestedFields, getSubscriptionResponse, getSubscriptionResponseNestedFields, getSubscriptionsResponse, getSubscriptionsResponseNestedFields, getTransactionResponse, getTransactionResponseNestedFields, getTransactionsResponse, getTransactionsResponseNestedFields, orderQuery, paystackInitializePaymentResponse, paystackInitializeSubscriptionResponse, removePackageResponseFields, removePriceResponseFields, removeProductResponseFields, removeStockResponse, removeStoreCategoryProductResponseFields, removeStoreCategoryResponseFields, removeStoreResponse, removeSubscriptionResponse, saleQuery, searchCategoriesAndTemplateResponse, searchCategoriesAndTemplateResponseNestedFields, searchProductNamesResponse, searchProductNamesResponseNestedFields, subscriptionPlanDeleteIntegration, subscriptionPlanFeatureBehaviourDeleteIntegration, subscriptionPlanFeatureBehaviourIntegration, subscriptionPlanFeatureBehaviourListIntegration, subscriptionPlanFeatureDefinitionDeleteIntegration, subscriptionPlanFeatureDefinitionIntegration, subscriptionPlanFeatureDefinitionListIntegration, subscriptionPlanIntegration, subscriptionPlanListIntegration, subscriptionTrialDeleteIntegration, subscriptionTrialIntegration, subscriptionTrialListIntegration, toAsyncHeadersFactory, toAsyncTokenProvider, transactionQuery, updatePackageResponseFields, updatePackageResponseNestedFields, updatePriceResponseFields, updatePriceResponseNestedFields, updateProductResponseFields, updateProductResponseNestedFields, updateSaleResponseNestedFields, updateStockResponse, updateStockResponseNestedFields, updateStoreCategoryProductResponseFields, updateStoreCategoryProductResponseNestedFields, updateStoreCategoryResponseFields, updateStoreCategoryResponseNestedFields, updateStoreResponse, updateStoreResponseNestedFields, updateSubscriptionResponse, updateSubscriptionResponseNestedFields, updateTransactionResponse, updateTransactionResponseNestedFields, userRoleExample };