@connect-plus-online/ogabai-integrations 0.0.60 → 0.0.62
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.cjs.js +104 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.mts +36 -1
- package/dist/index.d.ts +36 -1
- package/dist/index.esm.js +104 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -138,6 +138,14 @@ interface UserProductCounts {
|
|
|
138
138
|
totalProductToday: number;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
+
interface ApplicationFeature {
|
|
142
|
+
id: string;
|
|
143
|
+
shortname: string;
|
|
144
|
+
name: string;
|
|
145
|
+
description: string;
|
|
146
|
+
createdAt: string;
|
|
147
|
+
applicationFeatureStatus: "active" | "inactive";
|
|
148
|
+
}
|
|
141
149
|
type PrivilegeAction = "none" | "read" | "write" | "update" | "delete";
|
|
142
150
|
interface Privilege {
|
|
143
151
|
feature: string;
|
|
@@ -554,6 +562,7 @@ type UserTypeCountsFields = (keyof UserTypeCounts)[];
|
|
|
554
562
|
type UserRoleFields = (keyof UserRole)[];
|
|
555
563
|
type UserAccountFields = (keyof UserAccount)[];
|
|
556
564
|
type PrivilegeFields = (keyof Privilege)[];
|
|
565
|
+
type ApplicationFeatureFields = (keyof ApplicationFeature)[];
|
|
557
566
|
|
|
558
567
|
type CustomersProductCountFields = (keyof CustomersProductCount)[];
|
|
559
568
|
type StoreCategoryProductFields = (keyof StoreCategoryProduct)[];
|
|
@@ -949,6 +958,32 @@ declare const createUserRoleService: (client: GraphQLClient) => {
|
|
|
949
958
|
};
|
|
950
959
|
type UserRoleService = ReturnType<typeof createUserRoleService>;
|
|
951
960
|
|
|
961
|
+
declare const createApplicationFeatureService: (client: GraphQLClient) => {
|
|
962
|
+
createApplicationFeature: (input: CreateEntityRequest<ApplicationFeature, "applicationFeature">, fetchFields?: {
|
|
963
|
+
root?: ("applicationFeature" | "pin")[] | undefined;
|
|
964
|
+
nestedFields?: Record<"applicationFeature", ApplicationFeatureFields> | undefined;
|
|
965
|
+
} | undefined, option?: RequestOption) => Promise<(EntityResponse<ApplicationFeature, "applicationFeature"> & {
|
|
966
|
+
pin?: string;
|
|
967
|
+
}) | undefined>;
|
|
968
|
+
updateApplicationFeature: (input: UpdateEntityRequest<ApplicationFeature, "applicationFeature">, fetchFields?: {
|
|
969
|
+
root?: "applicationFeature"[] | undefined;
|
|
970
|
+
nestedFields?: Record<"applicationFeature", ApplicationFeatureFields> | undefined;
|
|
971
|
+
} | undefined, option?: RequestOption) => Promise<EntityResponse<ApplicationFeature, "applicationFeature"> | undefined>;
|
|
972
|
+
getApplicationFeature: (input: GetEntityRequest<ApplicationFeature, "applicationFeature">, fetchFields?: {
|
|
973
|
+
root?: "applicationFeature"[] | undefined;
|
|
974
|
+
nestedFields?: Record<"applicationFeature", ApplicationFeatureFields> | undefined;
|
|
975
|
+
} | undefined, option?: RequestOption) => Promise<EntityResponse<ApplicationFeature, "applicationFeature"> | undefined>;
|
|
976
|
+
removeApplicationFeature: (input: DeleteEntityRequest<"applicationFeature">, fetchFields?: {
|
|
977
|
+
root?: "applicationFeatureId"[] | undefined;
|
|
978
|
+
nestedFields?: {} | undefined;
|
|
979
|
+
} | undefined, option?: RequestOption) => Promise<DeleteEntityResponse<"applicationFeature"> | undefined>;
|
|
980
|
+
getApplicationFeatures: (input: ListEntityRequest<ApplicationFeature, "applicationFeature">, fetchFields?: {
|
|
981
|
+
root?: ("total" | "applicationFeatures")[] | undefined;
|
|
982
|
+
nestedFields?: Record<"applicationFeatures", ApplicationFeatureFields> | undefined;
|
|
983
|
+
} | undefined, option?: RequestOption) => Promise<ListEntityResponse<ApplicationFeature, "applicationFeature"> | undefined>;
|
|
984
|
+
};
|
|
985
|
+
type ApplicationFeatureService = ReturnType<typeof createApplicationFeatureService>;
|
|
986
|
+
|
|
952
987
|
interface GetCustomerProductCountsByIdsRequest {
|
|
953
988
|
userIds: string[];
|
|
954
989
|
}
|
|
@@ -2006,4 +2041,4 @@ declare const createSubscriptionService: (client: GraphQLClient) => {
|
|
|
2006
2041
|
}, option?: RequestOption): Promise<GetSubscriptionsResponse | null>;
|
|
2007
2042
|
};
|
|
2008
2043
|
|
|
2009
|
-
export { 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 AddStockRequest, type AddStockResponse, type AddStockResponseNestedFields, type AddStoreRequest, type AddStoreResponse, type AddStoreResponseNestedFields, type AddSubscriptionPlanFeatureRequest, type AddSubscriptionPlanFeatureResponse, type AddSubscriptionPlanFeatureResponseNestedFields, type AddSubscriptionPlanRequest, type AddSubscriptionPlanResponse, type AddSubscriptionPlanResponseNestedFields, type AddSubscriptionRequest, type AddSubscriptionResponse, type AddSubscriptionResponseNestedFields, type AddTransactionRequest, type AddTransactionResponse, type AddTransactionResponseNestedFields, type Address, type Admin, 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 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 GetSubscriptionPlanFeatureRequest, type GetSubscriptionPlanFeatureResponse, type GetSubscriptionPlanFeatureResponseNestedFields, type GetSubscriptionPlanFeaturesRequest, type GetSubscriptionPlanFeaturesResponse, type GetSubscriptionPlanFeaturesResponseNestedFields, type GetSubscriptionPlanRequest, type GetSubscriptionPlanResponse, type GetSubscriptionPlanResponseNestedFields, type GetSubscriptionPlansRequest, type GetSubscriptionPlansResponse, type GetSubscriptionPlansResponseNestedFields, 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 RemoveSubscriptionPlanFeatureRequest, type RemoveSubscriptionPlanFeatureResponse, type RemoveSubscriptionPlanRequest, type RemoveSubscriptionPlanResponse, 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 SubscriptionPlanFeature, type SubscriptionPlanService, type Transaction, type TransactionCounts, type TransactionFields, type TransactionPin, type TransactionService, 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 UpdateSubscriptionPlanFeatureRequest, type UpdateSubscriptionPlanFeatureResponse, type UpdateSubscriptionPlanFeatureResponseNestedFields, type UpdateSubscriptionPlanRequest, type UpdateSubscriptionPlanResponse, type UpdateSubscriptionPlanResponseNestedFields, 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, _getSubscriptionPlanFeatureResponseNestedFields, _getSubscriptionPlanResponseNestedFields, _getSubscriptionResponseNestedFields, _getTransactionResponseNestedFields, _getTransactionsResponseNestedFields, addPackageResponseFields, addPackageResponseNestedFields, addPackagesResponseFields, addPackagesResponseNestedFields, addPriceResponseFields, addPriceResponseNestedFields, addProductResponseFields, addProductResponseNestedFields, addStockResponse, addStockResponseNestedFields, addStoreResponse, addStoreResponseNestedFields, addSubscriptionPlanFeatureResponse, addSubscriptionPlanFeatureResponseNestedFields, addSubscriptionPlanResponse, addSubscriptionPlanResponseNestedFields, addSubscriptionResponse, addSubscriptionResponseNestedFields, addTransactionResponse, addTransactionResponseNestedFields, compose, createAuthService, createOrderService, createPackageService, createPaystackService, createPriceService, createProductService, createSaleService, createStockService, createStoreCategoryProductResponseFields, createStoreCategoryProductResponseNestedFields, createStoreCategoryProductService, createStoreCategoryResponseFields, createStoreCategoryResponseNestedFields, createStoreCategoryService, createStoreService, createSubscriptionPlanFeatureService, createSubscriptionPlanService, createSubscriptionService, 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, getSubscriptionPlanFeatureResponse, getSubscriptionPlanFeatureResponseNestedFields, getSubscriptionPlanFeaturesResponse, getSubscriptionPlanFeaturesResponseNestedFields, getSubscriptionPlanResponse, getSubscriptionPlanResponseNestedFields, getSubscriptionPlansResponse, getSubscriptionPlansResponseNestedFields, getSubscriptionResponse, getSubscriptionResponseNestedFields, getSubscriptionsResponse, getSubscriptionsResponseNestedFields, getTransactionResponse, getTransactionResponseNestedFields, getTransactionsResponse, getTransactionsResponseNestedFields, orderQuery, paystackInitializePaymentResponse, paystackInitializeSubscriptionResponse, removePackageResponseFields, removePriceResponseFields, removeProductResponseFields, removeStockResponse, removeStoreCategoryProductResponseFields, removeStoreCategoryResponseFields, removeStoreResponse, removeSubscriptionPlanFeatureResponse, removeSubscriptionPlanResponse, removeSubscriptionResponse, saleQuery, searchCategoriesAndTemplateResponse, searchCategoriesAndTemplateResponseNestedFields, searchProductNamesResponse, searchProductNamesResponseNestedFields, toAsyncHeadersFactory, toAsyncTokenProvider, transactionQuery, updatePackageResponseFields, updatePackageResponseNestedFields, updatePriceResponseFields, updatePriceResponseNestedFields, updateProductResponseFields, updateProductResponseNestedFields, updateSaleResponseNestedFields, updateStockResponse, updateStockResponseNestedFields, updateStoreCategoryProductResponseFields, updateStoreCategoryProductResponseNestedFields, updateStoreCategoryResponseFields, updateStoreCategoryResponseNestedFields, updateStoreResponse, updateStoreResponseNestedFields, updateSubscriptionPlanFeatureResponse, updateSubscriptionPlanFeatureResponseNestedFields, updateSubscriptionPlanResponse, updateSubscriptionPlanResponseNestedFields, updateSubscriptionResponse, updateSubscriptionResponseNestedFields, updateTransactionResponse, updateTransactionResponseNestedFields };
|
|
2044
|
+
export { 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 AddStockRequest, type AddStockResponse, type AddStockResponseNestedFields, type AddStoreRequest, type AddStoreResponse, type AddStoreResponseNestedFields, type AddSubscriptionPlanFeatureRequest, type AddSubscriptionPlanFeatureResponse, type AddSubscriptionPlanFeatureResponseNestedFields, type AddSubscriptionPlanRequest, type AddSubscriptionPlanResponse, type AddSubscriptionPlanResponseNestedFields, type AddSubscriptionRequest, type AddSubscriptionResponse, type AddSubscriptionResponseNestedFields, type AddTransactionRequest, type AddTransactionResponse, type AddTransactionResponseNestedFields, type Address, type Admin, type ApplicationFeature, type ApplicationFeatureService, 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 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 GetSubscriptionPlanFeatureRequest, type GetSubscriptionPlanFeatureResponse, type GetSubscriptionPlanFeatureResponseNestedFields, type GetSubscriptionPlanFeaturesRequest, type GetSubscriptionPlanFeaturesResponse, type GetSubscriptionPlanFeaturesResponseNestedFields, type GetSubscriptionPlanRequest, type GetSubscriptionPlanResponse, type GetSubscriptionPlanResponseNestedFields, type GetSubscriptionPlansRequest, type GetSubscriptionPlansResponse, type GetSubscriptionPlansResponseNestedFields, 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 RemoveSubscriptionPlanFeatureRequest, type RemoveSubscriptionPlanFeatureResponse, type RemoveSubscriptionPlanRequest, type RemoveSubscriptionPlanResponse, 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 SubscriptionPlanFeature, type SubscriptionPlanService, type Transaction, type TransactionCounts, type TransactionFields, type TransactionPin, type TransactionService, 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 UpdateSubscriptionPlanFeatureRequest, type UpdateSubscriptionPlanFeatureResponse, type UpdateSubscriptionPlanFeatureResponseNestedFields, type UpdateSubscriptionPlanRequest, type UpdateSubscriptionPlanResponse, type UpdateSubscriptionPlanResponseNestedFields, 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, _getSubscriptionPlanFeatureResponseNestedFields, _getSubscriptionPlanResponseNestedFields, _getSubscriptionResponseNestedFields, _getTransactionResponseNestedFields, _getTransactionsResponseNestedFields, addPackageResponseFields, addPackageResponseNestedFields, addPackagesResponseFields, addPackagesResponseNestedFields, addPriceResponseFields, addPriceResponseNestedFields, addProductResponseFields, addProductResponseNestedFields, addStockResponse, addStockResponseNestedFields, addStoreResponse, addStoreResponseNestedFields, addSubscriptionPlanFeatureResponse, addSubscriptionPlanFeatureResponseNestedFields, addSubscriptionPlanResponse, addSubscriptionPlanResponseNestedFields, addSubscriptionResponse, addSubscriptionResponseNestedFields, addTransactionResponse, addTransactionResponseNestedFields, compose, createApplicationFeatureService, createAuthService, createOrderService, createPackageService, createPaystackService, createPriceService, createProductService, createSaleService, createStockService, createStoreCategoryProductResponseFields, createStoreCategoryProductResponseNestedFields, createStoreCategoryProductService, createStoreCategoryResponseFields, createStoreCategoryResponseNestedFields, createStoreCategoryService, createStoreService, createSubscriptionPlanFeatureService, createSubscriptionPlanService, createSubscriptionService, 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, getSubscriptionPlanFeatureResponse, getSubscriptionPlanFeatureResponseNestedFields, getSubscriptionPlanFeaturesResponse, getSubscriptionPlanFeaturesResponseNestedFields, getSubscriptionPlanResponse, getSubscriptionPlanResponseNestedFields, getSubscriptionPlansResponse, getSubscriptionPlansResponseNestedFields, getSubscriptionResponse, getSubscriptionResponseNestedFields, getSubscriptionsResponse, getSubscriptionsResponseNestedFields, getTransactionResponse, getTransactionResponseNestedFields, getTransactionsResponse, getTransactionsResponseNestedFields, orderQuery, paystackInitializePaymentResponse, paystackInitializeSubscriptionResponse, removePackageResponseFields, removePriceResponseFields, removeProductResponseFields, removeStockResponse, removeStoreCategoryProductResponseFields, removeStoreCategoryResponseFields, removeStoreResponse, removeSubscriptionPlanFeatureResponse, removeSubscriptionPlanResponse, removeSubscriptionResponse, saleQuery, searchCategoriesAndTemplateResponse, searchCategoriesAndTemplateResponseNestedFields, searchProductNamesResponse, searchProductNamesResponseNestedFields, toAsyncHeadersFactory, toAsyncTokenProvider, transactionQuery, updatePackageResponseFields, updatePackageResponseNestedFields, updatePriceResponseFields, updatePriceResponseNestedFields, updateProductResponseFields, updateProductResponseNestedFields, updateSaleResponseNestedFields, updateStockResponse, updateStockResponseNestedFields, updateStoreCategoryProductResponseFields, updateStoreCategoryProductResponseNestedFields, updateStoreCategoryResponseFields, updateStoreCategoryResponseNestedFields, updateStoreResponse, updateStoreResponseNestedFields, updateSubscriptionPlanFeatureResponse, updateSubscriptionPlanFeatureResponseNestedFields, updateSubscriptionPlanResponse, updateSubscriptionPlanResponseNestedFields, updateSubscriptionResponse, updateSubscriptionResponseNestedFields, updateTransactionResponse, updateTransactionResponseNestedFields };
|
package/dist/index.d.ts
CHANGED
|
@@ -138,6 +138,14 @@ interface UserProductCounts {
|
|
|
138
138
|
totalProductToday: number;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
+
interface ApplicationFeature {
|
|
142
|
+
id: string;
|
|
143
|
+
shortname: string;
|
|
144
|
+
name: string;
|
|
145
|
+
description: string;
|
|
146
|
+
createdAt: string;
|
|
147
|
+
applicationFeatureStatus: "active" | "inactive";
|
|
148
|
+
}
|
|
141
149
|
type PrivilegeAction = "none" | "read" | "write" | "update" | "delete";
|
|
142
150
|
interface Privilege {
|
|
143
151
|
feature: string;
|
|
@@ -554,6 +562,7 @@ type UserTypeCountsFields = (keyof UserTypeCounts)[];
|
|
|
554
562
|
type UserRoleFields = (keyof UserRole)[];
|
|
555
563
|
type UserAccountFields = (keyof UserAccount)[];
|
|
556
564
|
type PrivilegeFields = (keyof Privilege)[];
|
|
565
|
+
type ApplicationFeatureFields = (keyof ApplicationFeature)[];
|
|
557
566
|
|
|
558
567
|
type CustomersProductCountFields = (keyof CustomersProductCount)[];
|
|
559
568
|
type StoreCategoryProductFields = (keyof StoreCategoryProduct)[];
|
|
@@ -949,6 +958,32 @@ declare const createUserRoleService: (client: GraphQLClient) => {
|
|
|
949
958
|
};
|
|
950
959
|
type UserRoleService = ReturnType<typeof createUserRoleService>;
|
|
951
960
|
|
|
961
|
+
declare const createApplicationFeatureService: (client: GraphQLClient) => {
|
|
962
|
+
createApplicationFeature: (input: CreateEntityRequest<ApplicationFeature, "applicationFeature">, fetchFields?: {
|
|
963
|
+
root?: ("applicationFeature" | "pin")[] | undefined;
|
|
964
|
+
nestedFields?: Record<"applicationFeature", ApplicationFeatureFields> | undefined;
|
|
965
|
+
} | undefined, option?: RequestOption) => Promise<(EntityResponse<ApplicationFeature, "applicationFeature"> & {
|
|
966
|
+
pin?: string;
|
|
967
|
+
}) | undefined>;
|
|
968
|
+
updateApplicationFeature: (input: UpdateEntityRequest<ApplicationFeature, "applicationFeature">, fetchFields?: {
|
|
969
|
+
root?: "applicationFeature"[] | undefined;
|
|
970
|
+
nestedFields?: Record<"applicationFeature", ApplicationFeatureFields> | undefined;
|
|
971
|
+
} | undefined, option?: RequestOption) => Promise<EntityResponse<ApplicationFeature, "applicationFeature"> | undefined>;
|
|
972
|
+
getApplicationFeature: (input: GetEntityRequest<ApplicationFeature, "applicationFeature">, fetchFields?: {
|
|
973
|
+
root?: "applicationFeature"[] | undefined;
|
|
974
|
+
nestedFields?: Record<"applicationFeature", ApplicationFeatureFields> | undefined;
|
|
975
|
+
} | undefined, option?: RequestOption) => Promise<EntityResponse<ApplicationFeature, "applicationFeature"> | undefined>;
|
|
976
|
+
removeApplicationFeature: (input: DeleteEntityRequest<"applicationFeature">, fetchFields?: {
|
|
977
|
+
root?: "applicationFeatureId"[] | undefined;
|
|
978
|
+
nestedFields?: {} | undefined;
|
|
979
|
+
} | undefined, option?: RequestOption) => Promise<DeleteEntityResponse<"applicationFeature"> | undefined>;
|
|
980
|
+
getApplicationFeatures: (input: ListEntityRequest<ApplicationFeature, "applicationFeature">, fetchFields?: {
|
|
981
|
+
root?: ("total" | "applicationFeatures")[] | undefined;
|
|
982
|
+
nestedFields?: Record<"applicationFeatures", ApplicationFeatureFields> | undefined;
|
|
983
|
+
} | undefined, option?: RequestOption) => Promise<ListEntityResponse<ApplicationFeature, "applicationFeature"> | undefined>;
|
|
984
|
+
};
|
|
985
|
+
type ApplicationFeatureService = ReturnType<typeof createApplicationFeatureService>;
|
|
986
|
+
|
|
952
987
|
interface GetCustomerProductCountsByIdsRequest {
|
|
953
988
|
userIds: string[];
|
|
954
989
|
}
|
|
@@ -2006,4 +2041,4 @@ declare const createSubscriptionService: (client: GraphQLClient) => {
|
|
|
2006
2041
|
}, option?: RequestOption): Promise<GetSubscriptionsResponse | null>;
|
|
2007
2042
|
};
|
|
2008
2043
|
|
|
2009
|
-
export { 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 AddStockRequest, type AddStockResponse, type AddStockResponseNestedFields, type AddStoreRequest, type AddStoreResponse, type AddStoreResponseNestedFields, type AddSubscriptionPlanFeatureRequest, type AddSubscriptionPlanFeatureResponse, type AddSubscriptionPlanFeatureResponseNestedFields, type AddSubscriptionPlanRequest, type AddSubscriptionPlanResponse, type AddSubscriptionPlanResponseNestedFields, type AddSubscriptionRequest, type AddSubscriptionResponse, type AddSubscriptionResponseNestedFields, type AddTransactionRequest, type AddTransactionResponse, type AddTransactionResponseNestedFields, type Address, type Admin, 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 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 GetSubscriptionPlanFeatureRequest, type GetSubscriptionPlanFeatureResponse, type GetSubscriptionPlanFeatureResponseNestedFields, type GetSubscriptionPlanFeaturesRequest, type GetSubscriptionPlanFeaturesResponse, type GetSubscriptionPlanFeaturesResponseNestedFields, type GetSubscriptionPlanRequest, type GetSubscriptionPlanResponse, type GetSubscriptionPlanResponseNestedFields, type GetSubscriptionPlansRequest, type GetSubscriptionPlansResponse, type GetSubscriptionPlansResponseNestedFields, 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 RemoveSubscriptionPlanFeatureRequest, type RemoveSubscriptionPlanFeatureResponse, type RemoveSubscriptionPlanRequest, type RemoveSubscriptionPlanResponse, 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 SubscriptionPlanFeature, type SubscriptionPlanService, type Transaction, type TransactionCounts, type TransactionFields, type TransactionPin, type TransactionService, 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 UpdateSubscriptionPlanFeatureRequest, type UpdateSubscriptionPlanFeatureResponse, type UpdateSubscriptionPlanFeatureResponseNestedFields, type UpdateSubscriptionPlanRequest, type UpdateSubscriptionPlanResponse, type UpdateSubscriptionPlanResponseNestedFields, 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, _getSubscriptionPlanFeatureResponseNestedFields, _getSubscriptionPlanResponseNestedFields, _getSubscriptionResponseNestedFields, _getTransactionResponseNestedFields, _getTransactionsResponseNestedFields, addPackageResponseFields, addPackageResponseNestedFields, addPackagesResponseFields, addPackagesResponseNestedFields, addPriceResponseFields, addPriceResponseNestedFields, addProductResponseFields, addProductResponseNestedFields, addStockResponse, addStockResponseNestedFields, addStoreResponse, addStoreResponseNestedFields, addSubscriptionPlanFeatureResponse, addSubscriptionPlanFeatureResponseNestedFields, addSubscriptionPlanResponse, addSubscriptionPlanResponseNestedFields, addSubscriptionResponse, addSubscriptionResponseNestedFields, addTransactionResponse, addTransactionResponseNestedFields, compose, createAuthService, createOrderService, createPackageService, createPaystackService, createPriceService, createProductService, createSaleService, createStockService, createStoreCategoryProductResponseFields, createStoreCategoryProductResponseNestedFields, createStoreCategoryProductService, createStoreCategoryResponseFields, createStoreCategoryResponseNestedFields, createStoreCategoryService, createStoreService, createSubscriptionPlanFeatureService, createSubscriptionPlanService, createSubscriptionService, 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, getSubscriptionPlanFeatureResponse, getSubscriptionPlanFeatureResponseNestedFields, getSubscriptionPlanFeaturesResponse, getSubscriptionPlanFeaturesResponseNestedFields, getSubscriptionPlanResponse, getSubscriptionPlanResponseNestedFields, getSubscriptionPlansResponse, getSubscriptionPlansResponseNestedFields, getSubscriptionResponse, getSubscriptionResponseNestedFields, getSubscriptionsResponse, getSubscriptionsResponseNestedFields, getTransactionResponse, getTransactionResponseNestedFields, getTransactionsResponse, getTransactionsResponseNestedFields, orderQuery, paystackInitializePaymentResponse, paystackInitializeSubscriptionResponse, removePackageResponseFields, removePriceResponseFields, removeProductResponseFields, removeStockResponse, removeStoreCategoryProductResponseFields, removeStoreCategoryResponseFields, removeStoreResponse, removeSubscriptionPlanFeatureResponse, removeSubscriptionPlanResponse, removeSubscriptionResponse, saleQuery, searchCategoriesAndTemplateResponse, searchCategoriesAndTemplateResponseNestedFields, searchProductNamesResponse, searchProductNamesResponseNestedFields, toAsyncHeadersFactory, toAsyncTokenProvider, transactionQuery, updatePackageResponseFields, updatePackageResponseNestedFields, updatePriceResponseFields, updatePriceResponseNestedFields, updateProductResponseFields, updateProductResponseNestedFields, updateSaleResponseNestedFields, updateStockResponse, updateStockResponseNestedFields, updateStoreCategoryProductResponseFields, updateStoreCategoryProductResponseNestedFields, updateStoreCategoryResponseFields, updateStoreCategoryResponseNestedFields, updateStoreResponse, updateStoreResponseNestedFields, updateSubscriptionPlanFeatureResponse, updateSubscriptionPlanFeatureResponseNestedFields, updateSubscriptionPlanResponse, updateSubscriptionPlanResponseNestedFields, updateSubscriptionResponse, updateSubscriptionResponseNestedFields, updateTransactionResponse, updateTransactionResponseNestedFields };
|
|
2044
|
+
export { 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 AddStockRequest, type AddStockResponse, type AddStockResponseNestedFields, type AddStoreRequest, type AddStoreResponse, type AddStoreResponseNestedFields, type AddSubscriptionPlanFeatureRequest, type AddSubscriptionPlanFeatureResponse, type AddSubscriptionPlanFeatureResponseNestedFields, type AddSubscriptionPlanRequest, type AddSubscriptionPlanResponse, type AddSubscriptionPlanResponseNestedFields, type AddSubscriptionRequest, type AddSubscriptionResponse, type AddSubscriptionResponseNestedFields, type AddTransactionRequest, type AddTransactionResponse, type AddTransactionResponseNestedFields, type Address, type Admin, type ApplicationFeature, type ApplicationFeatureService, 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 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 GetSubscriptionPlanFeatureRequest, type GetSubscriptionPlanFeatureResponse, type GetSubscriptionPlanFeatureResponseNestedFields, type GetSubscriptionPlanFeaturesRequest, type GetSubscriptionPlanFeaturesResponse, type GetSubscriptionPlanFeaturesResponseNestedFields, type GetSubscriptionPlanRequest, type GetSubscriptionPlanResponse, type GetSubscriptionPlanResponseNestedFields, type GetSubscriptionPlansRequest, type GetSubscriptionPlansResponse, type GetSubscriptionPlansResponseNestedFields, 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 RemoveSubscriptionPlanFeatureRequest, type RemoveSubscriptionPlanFeatureResponse, type RemoveSubscriptionPlanRequest, type RemoveSubscriptionPlanResponse, 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 SubscriptionPlanFeature, type SubscriptionPlanService, type Transaction, type TransactionCounts, type TransactionFields, type TransactionPin, type TransactionService, 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 UpdateSubscriptionPlanFeatureRequest, type UpdateSubscriptionPlanFeatureResponse, type UpdateSubscriptionPlanFeatureResponseNestedFields, type UpdateSubscriptionPlanRequest, type UpdateSubscriptionPlanResponse, type UpdateSubscriptionPlanResponseNestedFields, 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, _getSubscriptionPlanFeatureResponseNestedFields, _getSubscriptionPlanResponseNestedFields, _getSubscriptionResponseNestedFields, _getTransactionResponseNestedFields, _getTransactionsResponseNestedFields, addPackageResponseFields, addPackageResponseNestedFields, addPackagesResponseFields, addPackagesResponseNestedFields, addPriceResponseFields, addPriceResponseNestedFields, addProductResponseFields, addProductResponseNestedFields, addStockResponse, addStockResponseNestedFields, addStoreResponse, addStoreResponseNestedFields, addSubscriptionPlanFeatureResponse, addSubscriptionPlanFeatureResponseNestedFields, addSubscriptionPlanResponse, addSubscriptionPlanResponseNestedFields, addSubscriptionResponse, addSubscriptionResponseNestedFields, addTransactionResponse, addTransactionResponseNestedFields, compose, createApplicationFeatureService, createAuthService, createOrderService, createPackageService, createPaystackService, createPriceService, createProductService, createSaleService, createStockService, createStoreCategoryProductResponseFields, createStoreCategoryProductResponseNestedFields, createStoreCategoryProductService, createStoreCategoryResponseFields, createStoreCategoryResponseNestedFields, createStoreCategoryService, createStoreService, createSubscriptionPlanFeatureService, createSubscriptionPlanService, createSubscriptionService, 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, getSubscriptionPlanFeatureResponse, getSubscriptionPlanFeatureResponseNestedFields, getSubscriptionPlanFeaturesResponse, getSubscriptionPlanFeaturesResponseNestedFields, getSubscriptionPlanResponse, getSubscriptionPlanResponseNestedFields, getSubscriptionPlansResponse, getSubscriptionPlansResponseNestedFields, getSubscriptionResponse, getSubscriptionResponseNestedFields, getSubscriptionsResponse, getSubscriptionsResponseNestedFields, getTransactionResponse, getTransactionResponseNestedFields, getTransactionsResponse, getTransactionsResponseNestedFields, orderQuery, paystackInitializePaymentResponse, paystackInitializeSubscriptionResponse, removePackageResponseFields, removePriceResponseFields, removeProductResponseFields, removeStockResponse, removeStoreCategoryProductResponseFields, removeStoreCategoryResponseFields, removeStoreResponse, removeSubscriptionPlanFeatureResponse, removeSubscriptionPlanResponse, removeSubscriptionResponse, saleQuery, searchCategoriesAndTemplateResponse, searchCategoriesAndTemplateResponseNestedFields, searchProductNamesResponse, searchProductNamesResponseNestedFields, toAsyncHeadersFactory, toAsyncTokenProvider, transactionQuery, updatePackageResponseFields, updatePackageResponseNestedFields, updatePriceResponseFields, updatePriceResponseNestedFields, updateProductResponseFields, updateProductResponseNestedFields, updateSaleResponseNestedFields, updateStockResponse, updateStockResponseNestedFields, updateStoreCategoryProductResponseFields, updateStoreCategoryProductResponseNestedFields, updateStoreCategoryResponseFields, updateStoreCategoryResponseNestedFields, updateStoreResponse, updateStoreResponseNestedFields, updateSubscriptionPlanFeatureResponse, updateSubscriptionPlanFeatureResponseNestedFields, updateSubscriptionPlanResponse, updateSubscriptionPlanResponseNestedFields, updateSubscriptionResponse, updateSubscriptionResponseNestedFields, updateTransactionResponse, updateTransactionResponseNestedFields };
|
package/dist/index.esm.js
CHANGED
|
@@ -228,6 +228,14 @@ var userSchema = {
|
|
|
228
228
|
var user_schema_default = userSchema;
|
|
229
229
|
|
|
230
230
|
// src/services/user/user.entity.ts
|
|
231
|
+
var applicationFeatureQuery = [
|
|
232
|
+
"createdAt",
|
|
233
|
+
"description",
|
|
234
|
+
"id",
|
|
235
|
+
"name",
|
|
236
|
+
"shortname",
|
|
237
|
+
"applicationFeatureStatus"
|
|
238
|
+
];
|
|
231
239
|
var privilegeQuery = [
|
|
232
240
|
"actions",
|
|
233
241
|
"feature"
|
|
@@ -1156,6 +1164,101 @@ var createUserRoleService = (client) => ({
|
|
|
1156
1164
|
)
|
|
1157
1165
|
});
|
|
1158
1166
|
|
|
1167
|
+
// src/services/user/types/application-feature.type.ts
|
|
1168
|
+
var ENTITY3 = "applicationFeature";
|
|
1169
|
+
var applicationFeatureIntegration = createStandardEntityIntegration({
|
|
1170
|
+
key: ENTITY3,
|
|
1171
|
+
fields: applicationFeatureQuery
|
|
1172
|
+
});
|
|
1173
|
+
var applicationFeatureListIntegration = createListIntegration({
|
|
1174
|
+
key: "applicationFeatures",
|
|
1175
|
+
fields: applicationFeatureQuery
|
|
1176
|
+
});
|
|
1177
|
+
var applicationFeatureDeleteIntegration = createDeleteIntegration(ENTITY3);
|
|
1178
|
+
|
|
1179
|
+
// src/services/user/schemas/application-feature.schema.ts
|
|
1180
|
+
var applicationFeatureSchema = {
|
|
1181
|
+
get: {
|
|
1182
|
+
operation: "query",
|
|
1183
|
+
name: "getApplicationFeature",
|
|
1184
|
+
variables: "($applicationFeature: ApplicationFeatureInput!)",
|
|
1185
|
+
field: "(applicationFeature: $applicationFeature)"
|
|
1186
|
+
},
|
|
1187
|
+
list: {
|
|
1188
|
+
operation: "query",
|
|
1189
|
+
name: "getApplicationFeatures",
|
|
1190
|
+
variables: "($limit: Int!, $skip: Int!, $search: String, $applicationFeature: ApplicationFeatureInput, $applicationFeatureIds: [String])",
|
|
1191
|
+
field: "(limit: $limit, skip: $skip, search: $search, applicationFeature: $applicationFeature, applicationFeatureIds: $applicationFeatureIds)"
|
|
1192
|
+
},
|
|
1193
|
+
create: {
|
|
1194
|
+
operation: "mutation",
|
|
1195
|
+
name: "createApplicationFeature",
|
|
1196
|
+
variables: "($applicationFeature: ApplicationFeatureInput!)",
|
|
1197
|
+
field: "(applicationFeature: $applicationFeature)"
|
|
1198
|
+
},
|
|
1199
|
+
update: {
|
|
1200
|
+
operation: "mutation",
|
|
1201
|
+
name: "updateApplicationFeature",
|
|
1202
|
+
variables: "($applicationFeatureId: String!, $applicationFeature: ApplicationFeatureInput!)",
|
|
1203
|
+
field: "(applicationFeatureId: $applicationFeatureId, applicationFeature: $applicationFeature)"
|
|
1204
|
+
},
|
|
1205
|
+
delete: {
|
|
1206
|
+
operation: "mutation",
|
|
1207
|
+
name: "removeApplicationFeature",
|
|
1208
|
+
variables: "($applicationFeatureId: String!)",
|
|
1209
|
+
field: "(applicationFeatureId: $applicationFeatureId)"
|
|
1210
|
+
}
|
|
1211
|
+
};
|
|
1212
|
+
|
|
1213
|
+
// src/services/user/application-feature.service.ts
|
|
1214
|
+
var createApplicationFeatureService = (client) => ({
|
|
1215
|
+
createApplicationFeature: createOperationExecutor(
|
|
1216
|
+
client,
|
|
1217
|
+
"createApplicationFeature",
|
|
1218
|
+
{
|
|
1219
|
+
schema: buildSchema(applicationFeatureSchema.create),
|
|
1220
|
+
defaultRootFields: [...applicationFeatureIntegration.create.responseFields, "pin"],
|
|
1221
|
+
defaultNestedFields: applicationFeatureIntegration.create.nestedFields
|
|
1222
|
+
}
|
|
1223
|
+
),
|
|
1224
|
+
updateApplicationFeature: createOperationExecutor(
|
|
1225
|
+
client,
|
|
1226
|
+
"updateApplicationFeature",
|
|
1227
|
+
{
|
|
1228
|
+
schema: buildSchema(applicationFeatureSchema.update),
|
|
1229
|
+
defaultRootFields: applicationFeatureIntegration.update.responseFields,
|
|
1230
|
+
defaultNestedFields: applicationFeatureIntegration.update.nestedFields
|
|
1231
|
+
}
|
|
1232
|
+
),
|
|
1233
|
+
getApplicationFeature: createOperationExecutor(
|
|
1234
|
+
client,
|
|
1235
|
+
"getApplicationFeature",
|
|
1236
|
+
{
|
|
1237
|
+
schema: buildSchema(applicationFeatureSchema.get),
|
|
1238
|
+
defaultRootFields: applicationFeatureIntegration.get.responseFields,
|
|
1239
|
+
defaultNestedFields: applicationFeatureIntegration.get.nestedFields
|
|
1240
|
+
}
|
|
1241
|
+
),
|
|
1242
|
+
removeApplicationFeature: createOperationExecutor(
|
|
1243
|
+
client,
|
|
1244
|
+
"removeApplicationFeature",
|
|
1245
|
+
{
|
|
1246
|
+
schema: buildSchema(applicationFeatureSchema.delete),
|
|
1247
|
+
defaultRootFields: applicationFeatureDeleteIntegration.responseFields,
|
|
1248
|
+
defaultNestedFields: {}
|
|
1249
|
+
}
|
|
1250
|
+
),
|
|
1251
|
+
getApplicationFeatures: createOperationExecutor(
|
|
1252
|
+
client,
|
|
1253
|
+
"getApplicationFeatures",
|
|
1254
|
+
{
|
|
1255
|
+
schema: buildSchema(applicationFeatureSchema.list),
|
|
1256
|
+
defaultRootFields: [...applicationFeatureListIntegration.responseFields],
|
|
1257
|
+
defaultNestedFields: applicationFeatureListIntegration.nestedFields
|
|
1258
|
+
}
|
|
1259
|
+
)
|
|
1260
|
+
});
|
|
1261
|
+
|
|
1159
1262
|
// src/services/inventory/types/product.type.ts
|
|
1160
1263
|
var getCustomerProductCountsByIdsResponse = [
|
|
1161
1264
|
"customersProductCounts"
|
|
@@ -3098,6 +3201,6 @@ var createSubscriptionService = (client) => ({
|
|
|
3098
3201
|
}
|
|
3099
3202
|
});
|
|
3100
3203
|
|
|
3101
|
-
export { AuthenticationError, GraphQLClient, NetworkError, SdkError, UpdateSaleResponse, _getPackageResponseNestedFields, _getProductResponseNestedFields, _getSaleResponseNestedFields, _getStoreResponseNestedFields, _getSubscriptionPlanFeatureResponseNestedFields, _getSubscriptionPlanResponseNestedFields, _getSubscriptionResponseNestedFields, _getTransactionResponseNestedFields, _getTransactionsResponseNestedFields, addPackageResponseFields, addPackageResponseNestedFields, addPackagesResponseFields, addPackagesResponseNestedFields, addPriceResponseFields, addPriceResponseNestedFields, addProductResponseFields, addProductResponseNestedFields, addStockResponse, addStockResponseNestedFields, addStoreResponse, addStoreResponseNestedFields, addSubscriptionPlanFeatureResponse, addSubscriptionPlanFeatureResponseNestedFields, addSubscriptionPlanResponse, addSubscriptionPlanResponseNestedFields, addSubscriptionResponse, addSubscriptionResponseNestedFields, addTransactionResponse, addTransactionResponseNestedFields, compose, createAuthService, createOrderService, createPackageService, createPaystackService, createPriceService, createProductService, createSaleService, createStockService, createStoreCategoryProductResponseFields, createStoreCategoryProductResponseNestedFields, createStoreCategoryProductService, createStoreCategoryResponseFields, createStoreCategoryResponseNestedFields, createStoreCategoryService, createStoreService, createSubscriptionPlanFeatureService, createSubscriptionPlanService, createSubscriptionService, 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, getSubscriptionPlanFeatureResponse, getSubscriptionPlanFeatureResponseNestedFields, getSubscriptionPlanFeaturesResponse, getSubscriptionPlanFeaturesResponseNestedFields, getSubscriptionPlanResponse, getSubscriptionPlanResponseNestedFields, getSubscriptionPlansResponse, getSubscriptionPlansResponseNestedFields, getSubscriptionResponse, getSubscriptionResponseNestedFields, getSubscriptionsResponse, getSubscriptionsResponseNestedFields, getTransactionResponse, getTransactionResponseNestedFields, getTransactionsResponse, getTransactionsResponseNestedFields, orderQuery, paystackInitializePaymentResponse, paystackInitializeSubscriptionResponse, removePackageResponseFields, removePriceResponseFields, removeProductResponseFields, removeStockResponse, removeStoreCategoryProductResponseFields, removeStoreCategoryResponseFields, removeStoreResponse, removeSubscriptionPlanFeatureResponse, removeSubscriptionPlanResponse, removeSubscriptionResponse, saleQuery, searchCategoriesAndTemplateResponse, searchCategoriesAndTemplateResponseNestedFields, searchProductNamesResponse, searchProductNamesResponseNestedFields, toAsyncHeadersFactory, toAsyncTokenProvider, transactionQuery, updatePackageResponseFields, updatePackageResponseNestedFields, updatePriceResponseFields, updatePriceResponseNestedFields, updateProductResponseFields, updateProductResponseNestedFields, updateSaleResponseNestedFields, updateStockResponse, updateStockResponseNestedFields, updateStoreCategoryProductResponseFields, updateStoreCategoryProductResponseNestedFields, updateStoreCategoryResponseFields, updateStoreCategoryResponseNestedFields, updateStoreResponse, updateStoreResponseNestedFields, updateSubscriptionPlanFeatureResponse, updateSubscriptionPlanFeatureResponseNestedFields, updateSubscriptionPlanResponse, updateSubscriptionPlanResponseNestedFields, updateSubscriptionResponse, updateSubscriptionResponseNestedFields, updateTransactionResponse, updateTransactionResponseNestedFields };
|
|
3204
|
+
export { AuthenticationError, GraphQLClient, NetworkError, SdkError, UpdateSaleResponse, _getPackageResponseNestedFields, _getProductResponseNestedFields, _getSaleResponseNestedFields, _getStoreResponseNestedFields, _getSubscriptionPlanFeatureResponseNestedFields, _getSubscriptionPlanResponseNestedFields, _getSubscriptionResponseNestedFields, _getTransactionResponseNestedFields, _getTransactionsResponseNestedFields, addPackageResponseFields, addPackageResponseNestedFields, addPackagesResponseFields, addPackagesResponseNestedFields, addPriceResponseFields, addPriceResponseNestedFields, addProductResponseFields, addProductResponseNestedFields, addStockResponse, addStockResponseNestedFields, addStoreResponse, addStoreResponseNestedFields, addSubscriptionPlanFeatureResponse, addSubscriptionPlanFeatureResponseNestedFields, addSubscriptionPlanResponse, addSubscriptionPlanResponseNestedFields, addSubscriptionResponse, addSubscriptionResponseNestedFields, addTransactionResponse, addTransactionResponseNestedFields, compose, createApplicationFeatureService, createAuthService, createOrderService, createPackageService, createPaystackService, createPriceService, createProductService, createSaleService, createStockService, createStoreCategoryProductResponseFields, createStoreCategoryProductResponseNestedFields, createStoreCategoryProductService, createStoreCategoryResponseFields, createStoreCategoryResponseNestedFields, createStoreCategoryService, createStoreService, createSubscriptionPlanFeatureService, createSubscriptionPlanService, createSubscriptionService, 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, getSubscriptionPlanFeatureResponse, getSubscriptionPlanFeatureResponseNestedFields, getSubscriptionPlanFeaturesResponse, getSubscriptionPlanFeaturesResponseNestedFields, getSubscriptionPlanResponse, getSubscriptionPlanResponseNestedFields, getSubscriptionPlansResponse, getSubscriptionPlansResponseNestedFields, getSubscriptionResponse, getSubscriptionResponseNestedFields, getSubscriptionsResponse, getSubscriptionsResponseNestedFields, getTransactionResponse, getTransactionResponseNestedFields, getTransactionsResponse, getTransactionsResponseNestedFields, orderQuery, paystackInitializePaymentResponse, paystackInitializeSubscriptionResponse, removePackageResponseFields, removePriceResponseFields, removeProductResponseFields, removeStockResponse, removeStoreCategoryProductResponseFields, removeStoreCategoryResponseFields, removeStoreResponse, removeSubscriptionPlanFeatureResponse, removeSubscriptionPlanResponse, removeSubscriptionResponse, saleQuery, searchCategoriesAndTemplateResponse, searchCategoriesAndTemplateResponseNestedFields, searchProductNamesResponse, searchProductNamesResponseNestedFields, toAsyncHeadersFactory, toAsyncTokenProvider, transactionQuery, updatePackageResponseFields, updatePackageResponseNestedFields, updatePriceResponseFields, updatePriceResponseNestedFields, updateProductResponseFields, updateProductResponseNestedFields, updateSaleResponseNestedFields, updateStockResponse, updateStockResponseNestedFields, updateStoreCategoryProductResponseFields, updateStoreCategoryProductResponseNestedFields, updateStoreCategoryResponseFields, updateStoreCategoryResponseNestedFields, updateStoreResponse, updateStoreResponseNestedFields, updateSubscriptionPlanFeatureResponse, updateSubscriptionPlanFeatureResponseNestedFields, updateSubscriptionPlanResponse, updateSubscriptionPlanResponseNestedFields, updateSubscriptionResponse, updateSubscriptionResponseNestedFields, updateTransactionResponse, updateTransactionResponseNestedFields };
|
|
3102
3205
|
//# sourceMappingURL=index.esm.js.map
|
|
3103
3206
|
//# sourceMappingURL=index.esm.js.map
|