@connect-plus-online/ogabai-integrations 0.0.65 → 0.0.67
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 +20 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.mts +31 -5
- package/dist/index.d.ts +31 -5
- package/dist/index.esm.js +20 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -437,13 +437,25 @@ type GraphQLResponse<T = any> = {
|
|
|
437
437
|
errors?: GraphQLError[];
|
|
438
438
|
};
|
|
439
439
|
|
|
440
|
-
|
|
440
|
+
type SubscriptionPlanFeaturePolicy = "limit" | "access" | "tier" | "unlimited";
|
|
441
|
+
type SubscriptionPlanFeatureStatus = "active" | "inactive";
|
|
442
|
+
type SubscriptionPlanFeatureTier = "basic" | "standard" | "pro";
|
|
443
|
+
type SubscriptionPlanFeatureKey = "product" | "stock" | "sale" | "store" | "expense" | "scanAdd" | "report" | "order" | "export" | "offline" | "tax" | "loyalty" | "staff" | "scanSell" | "stockAlert";
|
|
444
|
+
declare const SubscriptionPlanFeatureKeyLabels: Partial<Record<SubscriptionPlanFeatureKey, string>>;
|
|
445
|
+
type SubscriptionPlanFeatureAccess = "true" | "false";
|
|
446
|
+
type SubscriptionPlanFeature = {
|
|
441
447
|
id: string;
|
|
442
448
|
title: string;
|
|
443
449
|
description: string;
|
|
444
|
-
|
|
450
|
+
subscriptionPlanFeatureKey: SubscriptionPlanFeatureKey;
|
|
451
|
+
planId: string;
|
|
452
|
+
meta?: Record<string, string>;
|
|
453
|
+
featureStatus: SubscriptionPlanFeatureStatus;
|
|
445
454
|
createdAt: string;
|
|
446
|
-
|
|
455
|
+
limitValue: number;
|
|
456
|
+
accessValue: SubscriptionPlanFeatureAccess;
|
|
457
|
+
tierValue: SubscriptionPlanFeatureTier;
|
|
458
|
+
};
|
|
447
459
|
interface SubscriptionPlan {
|
|
448
460
|
id: string;
|
|
449
461
|
code: string;
|
|
@@ -455,12 +467,23 @@ interface SubscriptionPlan {
|
|
|
455
467
|
subscriptionPlanStatus: "none" | "active" | "inactive";
|
|
456
468
|
createdAt: string;
|
|
457
469
|
updatedAt: string;
|
|
458
|
-
subscriptionPlanFeatureIds: string[];
|
|
459
470
|
features: SubscriptionPlanFeature[];
|
|
460
471
|
paystackPlanId?: string;
|
|
461
472
|
monthlyPlanPrice: number;
|
|
462
473
|
annuallyPlanPrice: number;
|
|
463
474
|
}
|
|
475
|
+
interface SubscriptionPlanFeatureTierValue {
|
|
476
|
+
featureKey: SubscriptionPlanFeatureKey;
|
|
477
|
+
featureTierValue: SubscriptionPlanFeatureTier;
|
|
478
|
+
}
|
|
479
|
+
interface SubscriptionPlanFeatureLimitValue {
|
|
480
|
+
featureKey: SubscriptionPlanFeatureKey;
|
|
481
|
+
limitValue: number;
|
|
482
|
+
}
|
|
483
|
+
interface SubscriptionPlanFeatureAccessValue {
|
|
484
|
+
featureKey: SubscriptionPlanFeatureKey;
|
|
485
|
+
featureAccessValue: SubscriptionPlanFeatureAccess;
|
|
486
|
+
}
|
|
464
487
|
interface Subscription {
|
|
465
488
|
id: string;
|
|
466
489
|
userId: string;
|
|
@@ -477,6 +500,9 @@ interface Subscription {
|
|
|
477
500
|
version: number;
|
|
478
501
|
createdAt: string;
|
|
479
502
|
updatedAt: string;
|
|
503
|
+
subscriptionTiers: SubscriptionPlanFeatureTierValue[];
|
|
504
|
+
subscriptionLimits: SubscriptionPlanFeatureLimitValue[];
|
|
505
|
+
subscriptionAccesses: SubscriptionPlanFeatureAccessValue[];
|
|
480
506
|
}
|
|
481
507
|
|
|
482
508
|
type AuthTokenProvider = () => Promise<string | null> | string | null;
|
|
@@ -2051,4 +2077,4 @@ declare const createSubscriptionService: (client: GraphQLClient) => {
|
|
|
2051
2077
|
}, option?: RequestOption): Promise<GetSubscriptionsResponse | null>;
|
|
2052
2078
|
};
|
|
2053
2079
|
|
|
2054
|
-
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 };
|
|
2080
|
+
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 SubscriptionPlanFeatureAccess, type SubscriptionPlanFeatureAccessValue, type SubscriptionPlanFeatureKey, SubscriptionPlanFeatureKeyLabels, type SubscriptionPlanFeatureLimitValue, type SubscriptionPlanFeaturePolicy, type SubscriptionPlanFeatureStatus, type SubscriptionPlanFeatureTier, type SubscriptionPlanFeatureTierValue, 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
|
@@ -437,13 +437,25 @@ type GraphQLResponse<T = any> = {
|
|
|
437
437
|
errors?: GraphQLError[];
|
|
438
438
|
};
|
|
439
439
|
|
|
440
|
-
|
|
440
|
+
type SubscriptionPlanFeaturePolicy = "limit" | "access" | "tier" | "unlimited";
|
|
441
|
+
type SubscriptionPlanFeatureStatus = "active" | "inactive";
|
|
442
|
+
type SubscriptionPlanFeatureTier = "basic" | "standard" | "pro";
|
|
443
|
+
type SubscriptionPlanFeatureKey = "product" | "stock" | "sale" | "store" | "expense" | "scanAdd" | "report" | "order" | "export" | "offline" | "tax" | "loyalty" | "staff" | "scanSell" | "stockAlert";
|
|
444
|
+
declare const SubscriptionPlanFeatureKeyLabels: Partial<Record<SubscriptionPlanFeatureKey, string>>;
|
|
445
|
+
type SubscriptionPlanFeatureAccess = "true" | "false";
|
|
446
|
+
type SubscriptionPlanFeature = {
|
|
441
447
|
id: string;
|
|
442
448
|
title: string;
|
|
443
449
|
description: string;
|
|
444
|
-
|
|
450
|
+
subscriptionPlanFeatureKey: SubscriptionPlanFeatureKey;
|
|
451
|
+
planId: string;
|
|
452
|
+
meta?: Record<string, string>;
|
|
453
|
+
featureStatus: SubscriptionPlanFeatureStatus;
|
|
445
454
|
createdAt: string;
|
|
446
|
-
|
|
455
|
+
limitValue: number;
|
|
456
|
+
accessValue: SubscriptionPlanFeatureAccess;
|
|
457
|
+
tierValue: SubscriptionPlanFeatureTier;
|
|
458
|
+
};
|
|
447
459
|
interface SubscriptionPlan {
|
|
448
460
|
id: string;
|
|
449
461
|
code: string;
|
|
@@ -455,12 +467,23 @@ interface SubscriptionPlan {
|
|
|
455
467
|
subscriptionPlanStatus: "none" | "active" | "inactive";
|
|
456
468
|
createdAt: string;
|
|
457
469
|
updatedAt: string;
|
|
458
|
-
subscriptionPlanFeatureIds: string[];
|
|
459
470
|
features: SubscriptionPlanFeature[];
|
|
460
471
|
paystackPlanId?: string;
|
|
461
472
|
monthlyPlanPrice: number;
|
|
462
473
|
annuallyPlanPrice: number;
|
|
463
474
|
}
|
|
475
|
+
interface SubscriptionPlanFeatureTierValue {
|
|
476
|
+
featureKey: SubscriptionPlanFeatureKey;
|
|
477
|
+
featureTierValue: SubscriptionPlanFeatureTier;
|
|
478
|
+
}
|
|
479
|
+
interface SubscriptionPlanFeatureLimitValue {
|
|
480
|
+
featureKey: SubscriptionPlanFeatureKey;
|
|
481
|
+
limitValue: number;
|
|
482
|
+
}
|
|
483
|
+
interface SubscriptionPlanFeatureAccessValue {
|
|
484
|
+
featureKey: SubscriptionPlanFeatureKey;
|
|
485
|
+
featureAccessValue: SubscriptionPlanFeatureAccess;
|
|
486
|
+
}
|
|
464
487
|
interface Subscription {
|
|
465
488
|
id: string;
|
|
466
489
|
userId: string;
|
|
@@ -477,6 +500,9 @@ interface Subscription {
|
|
|
477
500
|
version: number;
|
|
478
501
|
createdAt: string;
|
|
479
502
|
updatedAt: string;
|
|
503
|
+
subscriptionTiers: SubscriptionPlanFeatureTierValue[];
|
|
504
|
+
subscriptionLimits: SubscriptionPlanFeatureLimitValue[];
|
|
505
|
+
subscriptionAccesses: SubscriptionPlanFeatureAccessValue[];
|
|
480
506
|
}
|
|
481
507
|
|
|
482
508
|
type AuthTokenProvider = () => Promise<string | null> | string | null;
|
|
@@ -2051,4 +2077,4 @@ declare const createSubscriptionService: (client: GraphQLClient) => {
|
|
|
2051
2077
|
}, option?: RequestOption): Promise<GetSubscriptionsResponse | null>;
|
|
2052
2078
|
};
|
|
2053
2079
|
|
|
2054
|
-
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 };
|
|
2080
|
+
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 SubscriptionPlanFeatureAccess, type SubscriptionPlanFeatureAccessValue, type SubscriptionPlanFeatureKey, SubscriptionPlanFeatureKeyLabels, type SubscriptionPlanFeatureLimitValue, type SubscriptionPlanFeaturePolicy, type SubscriptionPlanFeatureStatus, type SubscriptionPlanFeatureTier, type SubscriptionPlanFeatureTierValue, 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
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
// src/types/subscription.ts
|
|
2
|
+
var SubscriptionPlanFeatureKeyLabels = {
|
|
3
|
+
product: "Product",
|
|
4
|
+
stock: "Stock",
|
|
5
|
+
sale: "Sale",
|
|
6
|
+
store: "Store",
|
|
7
|
+
scanAdd: "Scan & Add"
|
|
8
|
+
// expense: "Expense",
|
|
9
|
+
// report: "Report",
|
|
10
|
+
// order: "Order",
|
|
11
|
+
// export: "Export",
|
|
12
|
+
// offline: "Offline Mode",
|
|
13
|
+
// tax: "Tax Management",
|
|
14
|
+
// loyalty: "Loyalty Program",
|
|
15
|
+
// staff: "Staff Management",
|
|
16
|
+
// scanSell: "Scan & Sell",
|
|
17
|
+
// stockAlert: "Stock Alert"
|
|
18
|
+
};
|
|
19
|
+
|
|
1
20
|
// src/auth.ts
|
|
2
21
|
var toAsyncTokenProvider = (p) => {
|
|
3
22
|
if (!p) return async () => null;
|
|
@@ -2788,7 +2807,6 @@ var subscriptionPlanQuery = [
|
|
|
2788
2807
|
"subscriptionPlanStatus",
|
|
2789
2808
|
"createdAt",
|
|
2790
2809
|
"updatedAt",
|
|
2791
|
-
"subscriptionPlanFeatureIds",
|
|
2792
2810
|
"features",
|
|
2793
2811
|
"monthlyPlanPrice",
|
|
2794
2812
|
"annuallyPlanPrice"
|
|
@@ -3207,6 +3225,6 @@ var createSubscriptionService = (client) => ({
|
|
|
3207
3225
|
}
|
|
3208
3226
|
});
|
|
3209
3227
|
|
|
3210
|
-
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 };
|
|
3228
|
+
export { AuthenticationError, GraphQLClient, NetworkError, SdkError, SubscriptionPlanFeatureKeyLabels, 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 };
|
|
3211
3229
|
//# sourceMappingURL=index.esm.js.map
|
|
3212
3230
|
//# sourceMappingURL=index.esm.js.map
|