feeef 0.9.7 → 0.11.0

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.
@@ -0,0 +1,53 @@
1
+ /**
2
+ * Multi-provider model catalog (options key `models`).
3
+ * Re-uses OpenRouter **Models API** types (`Model`, `ModelsListResponse`) for parity with
4
+ * `curl https://openrouter.ai/api/v1/models` and `@openrouter/sdk`.
5
+ *
6
+ * @see https://openrouter.ai/docs/guides/overview/models
7
+ * @see https://openrouter.ai/docs/api-reference/models/get-models
8
+ */
9
+ export type { DefaultParameters, InputModality, Model, ModelArchitecture, ModelLinks, ModelsListResponse, OutputModality, Parameter, PerRequestLimits, PublicPricing, TopProviderInfo, } from '@openrouter/sdk/models';
10
+ /** Feeef routing — not part of OpenRouter's schema. */
11
+ export type AiProviderKind = 'google' | 'openai' | 'azure' | 'openrouter';
12
+ export interface ProviderRegistryRow {
13
+ slug: string;
14
+ kind: AiProviderKind;
15
+ baseUrl: string;
16
+ displayName?: string;
17
+ name?: string;
18
+ }
19
+ /**
20
+ * Feeef catalog extensions (not from OpenRouter Models API).
21
+ * Optional `capabilities.image_generation` drives aspect/output tiers and pricing add-ons.
22
+ */
23
+ export interface ImageGenerationCapabilitiesWire {
24
+ allowed_aspect_ratios?: string[];
25
+ output_size_tiers?: string[];
26
+ input_resolution_tiers?: string[];
27
+ params?: {
28
+ background?: string[];
29
+ quality?: string[];
30
+ output_format?: string[];
31
+ };
32
+ toggles?: {
33
+ google_search?: boolean;
34
+ image_search?: boolean;
35
+ };
36
+ pricing_addons_dzd?: {
37
+ transparent_background?: number;
38
+ };
39
+ }
40
+ export interface FeeefModelCapabilities {
41
+ image_generation?: ImageGenerationCapabilitiesWire;
42
+ }
43
+ /** `GET /v1/models` row + `provider_slug` for Feeef's registry lookup. */
44
+ export type ModelCatalogRow = import('@openrouter/sdk/models').Model & {
45
+ provider_slug: string;
46
+ capabilities?: FeeefModelCapabilities;
47
+ /** Azure OpenAI deployment name when it differs from catalog `id`. */
48
+ azure_deployment?: string;
49
+ };
50
+ export interface ModelsCatalogConfig {
51
+ providers: ProviderRegistryRow[];
52
+ data: ModelCatalogRow[];
53
+ }
@@ -16,6 +16,8 @@ import { CurrencyRepository } from './repositories/currencies.js';
16
16
  import { ShippingPriceRepository } from './repositories/shipping_prices.js';
17
17
  import { ShippingMethodRepository } from './repositories/shipping_methods.js';
18
18
  import { FeedbackRepository } from './repositories/feedbacks.js';
19
+ import { InventoryRepository } from './repositories/inventory.js';
20
+ import { FinanceRepository } from './repositories/finance.js';
19
21
  import { ProductLandingPageTemplatesRepository } from './repositories/product_landing_page_templates.js';
20
22
  import { ProductLandingPagesRepository } from './repositories/product_landing_pages.js';
21
23
  import { ImagePromptTemplatesRepository } from './repositories/image_prompt_templates.js';
@@ -160,6 +162,14 @@ export declare class FeeeF {
160
162
  * The repository for managing feedbacks.
161
163
  */
162
164
  feedbacks: FeedbackRepository;
165
+ /**
166
+ * The repository for managing inventory.
167
+ */
168
+ inventory: InventoryRepository;
169
+ /**
170
+ * The repository for managing finance (procurement: suppliers, POs, receipts).
171
+ */
172
+ finance: FinanceRepository;
163
173
  /**
164
174
  * The cart service for managing the cart.
165
175
  */
@@ -0,0 +1,156 @@
1
+ import { AxiosInstance } from 'axios';
2
+ import { type BatchDeleteRequest, type BatchResult } from '../../core/batch.js';
3
+ import { Supplier, CreateSupplierInput, UpdateSupplierInput, PurchaseOrder, CreatePurchaseOrderInput, UpdatePurchaseOrderInput, PurchaseOrderStatus, PurchaseReceipt, CreatePurchaseReceiptInput, FinancialAccount, CreateFinancialAccountInput, UpdateFinancialAccountInput, SupplierBill, CreateSupplierBillInput, PaySupplierBillInput, SupplierPayment, CustomerPayment, CollectCustomerPaymentInput, Receivable, Expense, CreateExpenseInput, UpdateExpenseInput, ExpenseCategory, CreateExpenseCategoryInput, UpdateExpenseCategoryInput, FinanceOverview, AgingResult, CashPosition, PnlReport } from '../../core/entities/finance.js';
4
+ import { ModelRepository, ListResponse } from './repository.js';
5
+ /** Suppliers (`/finance/suppliers`). */
6
+ export declare class SupplierRepository extends ModelRepository<Supplier, CreateSupplierInput, UpdateSupplierInput> {
7
+ constructor(client: AxiosInstance);
8
+ deleteMany(request: BatchDeleteRequest): Promise<BatchResult<Supplier>>;
9
+ }
10
+ /** Purchase orders (`/finance/purchase-orders`). */
11
+ export declare class PurchaseOrderRepository extends ModelRepository<PurchaseOrder, CreatePurchaseOrderInput, UpdatePurchaseOrderInput> {
12
+ constructor(client: AxiosInstance);
13
+ /** Transition the PO to `sent`. */
14
+ send(options: {
15
+ projectId: string;
16
+ id: string;
17
+ }): Promise<PurchaseOrder>;
18
+ /** Transition the PO to `cancelled`. */
19
+ cancel(options: {
20
+ projectId: string;
21
+ id: string;
22
+ }): Promise<PurchaseOrder>;
23
+ /** Set an explicit status (state machine enforced server-side). */
24
+ setStatus(options: {
25
+ projectId: string;
26
+ id: string;
27
+ status: PurchaseOrderStatus;
28
+ }): Promise<PurchaseOrder>;
29
+ }
30
+ /** Purchase receipts (`/finance/purchase-receipts`). */
31
+ export declare class PurchaseReceiptRepository extends ModelRepository<PurchaseReceipt, CreatePurchaseReceiptInput, never> {
32
+ constructor(client: AxiosInstance);
33
+ update(): Promise<PurchaseReceipt>;
34
+ /** Post the receipt: stock goods into inventory at batch cost (idempotent). */
35
+ post(options: {
36
+ projectId: string;
37
+ id: string;
38
+ }): Promise<PurchaseReceipt>;
39
+ /** Void a posted receipt: reverse its stock-in. */
40
+ void(options: {
41
+ projectId: string;
42
+ id: string;
43
+ }): Promise<PurchaseReceipt>;
44
+ }
45
+ /** Financial accounts — cash / bank / e-wallet (`/finance/financial-accounts`). */
46
+ export declare class FinancialAccountRepository extends ModelRepository<FinancialAccount, CreateFinancialAccountInput, UpdateFinancialAccountInput> {
47
+ constructor(client: AxiosInstance);
48
+ deleteMany(request: BatchDeleteRequest): Promise<BatchResult<FinancialAccount>>;
49
+ }
50
+ /** Supplier bills — Accounts Payable (`/finance/supplier-bills`). */
51
+ export declare class SupplierBillRepository extends ModelRepository<SupplierBill, CreateSupplierBillInput, never> {
52
+ constructor(client: AxiosInstance);
53
+ update(): Promise<SupplierBill>;
54
+ /** Record a (partial) payment against a bill. */
55
+ pay(options: {
56
+ id: string;
57
+ } & PaySupplierBillInput): Promise<{
58
+ bill: SupplierBill;
59
+ payment: SupplierPayment;
60
+ }>;
61
+ }
62
+ /** Supplier payments (`/finance/supplier-payments`). */
63
+ export declare class SupplierPaymentRepository extends ModelRepository<SupplierPayment, never, never> {
64
+ constructor(client: AxiosInstance);
65
+ /** Void a payment and recompute the parent bill. */
66
+ void(options: {
67
+ projectId: string;
68
+ id: string;
69
+ }): Promise<SupplierBill>;
70
+ }
71
+ /** Customer payments — Accounts Receivable collection (`/finance/customer-payments`). */
72
+ export declare class CustomerPaymentRepository extends ModelRepository<CustomerPayment, never, never> {
73
+ constructor(client: AxiosInstance);
74
+ /** Void a customer payment. */
75
+ void(options: {
76
+ projectId: string;
77
+ id: string;
78
+ }): Promise<{
79
+ success: boolean;
80
+ }>;
81
+ }
82
+ /** Expenses (`/finance/expenses`). */
83
+ export declare class ExpenseRepository extends ModelRepository<Expense, CreateExpenseInput, UpdateExpenseInput> {
84
+ constructor(client: AxiosInstance);
85
+ deleteMany(request: BatchDeleteRequest): Promise<BatchResult<Expense>>;
86
+ }
87
+ /** Expense categories (`/finance/expense-categories`). */
88
+ export declare class ExpenseCategoryRepository extends ModelRepository<ExpenseCategory, CreateExpenseCategoryInput, UpdateExpenseCategoryInput> {
89
+ constructor(client: AxiosInstance);
90
+ }
91
+ /**
92
+ * Finance API facade. Use sub-repositories for CRUD and document ops; top-level
93
+ * helpers cover AR collection and reports.
94
+ */
95
+ export declare class FinanceRepository {
96
+ readonly suppliers: SupplierRepository;
97
+ readonly purchaseOrders: PurchaseOrderRepository;
98
+ readonly purchaseReceipts: PurchaseReceiptRepository;
99
+ readonly financialAccounts: FinancialAccountRepository;
100
+ readonly supplierBills: SupplierBillRepository;
101
+ readonly supplierPayments: SupplierPaymentRepository;
102
+ readonly customerPayments: CustomerPaymentRepository;
103
+ readonly expenses: ExpenseRepository;
104
+ readonly expenseCategories: ExpenseCategoryRepository;
105
+ readonly client: AxiosInstance;
106
+ constructor(client: AxiosInstance);
107
+ listSuppliers(options?: {
108
+ projectId: string;
109
+ page?: number;
110
+ limit?: number;
111
+ params?: Record<string, unknown>;
112
+ }): Promise<ListResponse<Supplier>>;
113
+ /** Open order receivables (derived, read-only). */
114
+ listReceivables(options: {
115
+ projectId: string;
116
+ }): Promise<Receivable[]>;
117
+ /** Record a customer / COD payment against an order. */
118
+ collectPayment(options: {
119
+ orderId: string;
120
+ } & CollectCustomerPaymentInput): Promise<CustomerPayment>;
121
+ overview(options: {
122
+ projectId: string;
123
+ }): Promise<FinanceOverview>;
124
+ cashPosition(options: {
125
+ projectId: string;
126
+ }): Promise<CashPosition>;
127
+ apAging(options: {
128
+ projectId: string;
129
+ }): Promise<AgingResult>;
130
+ arAging(options: {
131
+ projectId: string;
132
+ }): Promise<AgingResult>;
133
+ pnl(options: {
134
+ projectId: string;
135
+ from?: string;
136
+ to?: string;
137
+ }): Promise<PnlReport>;
138
+ listGlAccounts(options: {
139
+ projectId: string;
140
+ type?: string;
141
+ }): Promise<any>;
142
+ listJournalEntries(options: {
143
+ projectId: string;
144
+ status?: string;
145
+ from?: string;
146
+ to?: string;
147
+ }): Promise<any>;
148
+ trialBalance(options: {
149
+ projectId: string;
150
+ asOf?: string;
151
+ }): Promise<any>;
152
+ balanceSheet(options: {
153
+ projectId: string;
154
+ asOf?: string;
155
+ }): Promise<any>;
156
+ }
@@ -0,0 +1,159 @@
1
+ import { AxiosInstance } from 'axios';
2
+ import { type BatchDeleteRequest, type BatchReleaseRequest, type BatchResult, type BatchUpdateManyRequest } from '../../core/batch.js';
3
+ import { InventoryObject, Project, InventoryMovement, InventoryAlias, InventoryWarehouse, InventoryReservation, InventoryReceiveInput, InventoryApplyDeltasInput } from '../../core/entities/inventory.js';
4
+ import { ModelRepository, ListResponse } from './repository.js';
5
+ /** Typed batch update for inventory objects (`objects.updateMany`). */
6
+ export declare class InventoryBatchUpdateObjectsRequest implements BatchUpdateManyRequest {
7
+ projectId: string;
8
+ names: string[];
9
+ updateMask: string[];
10
+ returnPartialSuccess?: boolean;
11
+ requestId?: string;
12
+ readonly fields: Record<string, unknown>;
13
+ constructor(options: {
14
+ projectId: string;
15
+ names: string[];
16
+ updateMask: string[];
17
+ storageClass?: string;
18
+ warehouseId?: string;
19
+ namespace?: string;
20
+ batch?: string;
21
+ priority?: number;
22
+ expiresAt?: string;
23
+ returnPartialSuccess?: boolean;
24
+ requestId?: string;
25
+ });
26
+ }
27
+ /** Inventory stock objects (`/inventory/objects`). */
28
+ export declare class InventoryObjectRepository extends ModelRepository<InventoryObject, InventoryReceiveInput, Record<string, unknown>> {
29
+ constructor(client: AxiosInstance);
30
+ find(options: {
31
+ id: string;
32
+ params?: Record<string, unknown>;
33
+ }): Promise<InventoryObject>;
34
+ list(options?: {
35
+ page?: number;
36
+ offset?: number;
37
+ limit?: number;
38
+ params?: Record<string, unknown>;
39
+ }): Promise<ListResponse<InventoryObject>>;
40
+ create(data: InventoryReceiveInput): Promise<InventoryObject>;
41
+ update(options: {
42
+ id: string;
43
+ data: Record<string, unknown>;
44
+ params?: Record<string, unknown>;
45
+ }): Promise<InventoryObject>;
46
+ delete(options: {
47
+ id: string;
48
+ params?: Record<string, unknown>;
49
+ }): Promise<void>;
50
+ deleteMany(request: BatchDeleteRequest): Promise<BatchResult<InventoryObject>>;
51
+ updateMany(request: BatchUpdateManyRequest | InventoryBatchUpdateObjectsRequest): Promise<BatchResult<InventoryObject>>;
52
+ applyDeltas(data: InventoryApplyDeltasInput): Promise<void>;
53
+ }
54
+ export declare class InventoryWarehouseRepository extends ModelRepository<InventoryWarehouse, {
55
+ projectId: string;
56
+ name: string;
57
+ code: string;
58
+ namespacePrefix?: string;
59
+ }, Record<string, unknown>> {
60
+ constructor(client: AxiosInstance);
61
+ list(options?: {
62
+ params?: Record<string, unknown>;
63
+ }): Promise<ListResponse<InventoryWarehouse>>;
64
+ create(data: {
65
+ projectId: string;
66
+ name: string;
67
+ code: string;
68
+ namespacePrefix?: string;
69
+ }): Promise<InventoryWarehouse>;
70
+ delete(options: {
71
+ id: string;
72
+ params?: Record<string, unknown>;
73
+ }): Promise<void>;
74
+ deleteMany(request: BatchDeleteRequest): Promise<BatchResult<InventoryWarehouse>>;
75
+ }
76
+ export declare class InventoryAliasRepository extends ModelRepository<InventoryAlias, {
77
+ projectId: string;
78
+ alias: string;
79
+ targetSku: string;
80
+ }, {
81
+ targetSku: string;
82
+ }> {
83
+ constructor(client: AxiosInstance);
84
+ list(options?: {
85
+ params?: Record<string, unknown>;
86
+ }): Promise<ListResponse<InventoryAlias>>;
87
+ create(data: {
88
+ projectId: string;
89
+ alias: string;
90
+ targetSku: string;
91
+ }): Promise<InventoryAlias>;
92
+ update(options: {
93
+ id: string;
94
+ data: {
95
+ targetSku: string;
96
+ };
97
+ params?: Record<string, unknown>;
98
+ }): Promise<InventoryAlias>;
99
+ delete(options: {
100
+ id: string;
101
+ params?: Record<string, unknown>;
102
+ }): Promise<void>;
103
+ deleteMany(request: BatchDeleteRequest): Promise<BatchResult<InventoryAlias>>;
104
+ }
105
+ export declare class InventoryReservationRepository extends ModelRepository<InventoryReservation, never, never> {
106
+ constructor(client: AxiosInstance);
107
+ find(options: {
108
+ id: string;
109
+ params?: Record<string, unknown>;
110
+ }): Promise<InventoryReservation>;
111
+ list(options?: {
112
+ params?: Record<string, unknown>;
113
+ }): Promise<ListResponse<InventoryReservation>>;
114
+ create(): Promise<InventoryReservation>;
115
+ update(): Promise<InventoryReservation>;
116
+ delete(): Promise<void>;
117
+ release(options: {
118
+ projectId: string;
119
+ id: string;
120
+ }): Promise<void>;
121
+ releaseMany(request: BatchReleaseRequest): Promise<BatchResult<void>>;
122
+ }
123
+ export declare class InventoryMovementRepository extends ModelRepository<InventoryMovement, never, never> {
124
+ constructor(client: AxiosInstance);
125
+ list(options?: {
126
+ params?: Record<string, unknown>;
127
+ }): Promise<ListResponse<InventoryMovement>>;
128
+ create(): Promise<InventoryMovement>;
129
+ update(): Promise<InventoryMovement>;
130
+ delete(): Promise<void>;
131
+ }
132
+ /**
133
+ * Inventory API facade. Use sub-repositories for CRUD and batch ops.
134
+ */
135
+ export declare class InventoryRepository {
136
+ readonly objects: InventoryObjectRepository;
137
+ readonly warehouses: InventoryWarehouseRepository;
138
+ readonly aliases: InventoryAliasRepository;
139
+ readonly reservations: InventoryReservationRepository;
140
+ readonly movements: InventoryMovementRepository;
141
+ readonly client: AxiosInstance;
142
+ constructor(client: AxiosInstance);
143
+ availability(params: {
144
+ projectId: string;
145
+ skus: string[];
146
+ }): Promise<Record<string, number>>;
147
+ reservationsByHolder(params: {
148
+ projectId: string;
149
+ holderRef: string;
150
+ }): Promise<ListResponse<InventoryReservation>>;
151
+ listProjects(): Promise<ListResponse<Project>>;
152
+ createProject(data: {
153
+ name: string;
154
+ }): Promise<Project>;
155
+ publicAvailability(data: {
156
+ storeId: string;
157
+ skus: string[];
158
+ }): Promise<Record<string, number>>;
159
+ }
@@ -155,4 +155,20 @@ export declare class OrderRepository extends ModelRepository<OrderEntity, OrderC
155
155
  assignMany(data: AssignManyOrdersSchema): Promise<{
156
156
  message: string;
157
157
  }>;
158
+ /**
159
+ * Returns items from an order to inventory.
160
+ * @param data - The return data including orderId, reason, and deltas.
161
+ */
162
+ returnOrder(data: {
163
+ orderId: string;
164
+ reason: string;
165
+ correlationRef?: string;
166
+ deltas: {
167
+ objectId: string;
168
+ quantityDelta: number;
169
+ storageClass?: string;
170
+ }[];
171
+ }): Promise<{
172
+ message: string;
173
+ }>;
158
174
  }
@@ -1,4 +1,5 @@
1
1
  import { AxiosInstance } from 'axios';
2
+ import { type BatchCreateManyRequest, type BatchDeleteRequest, type BatchResult, type BatchUpdateManyRequest } from '../../core/batch.js';
2
3
  /**
3
4
  * Represents a generic model repository.
4
5
  * @template T - The type of the model.
@@ -48,6 +49,39 @@ export declare abstract class ModelRepository<T, C, U> {
48
49
  * @returns A promise that resolves when the model is deleted.
49
50
  */
50
51
  delete(options: ModelFindOptions): Promise<void>;
52
+ /**
53
+ * Batch delete by resource name/id (`POST /{resource}:batchDelete`).
54
+ * Override on repositories that support batch delete.
55
+ */
56
+ deleteMany(_request: BatchDeleteRequest): Promise<BatchResult<T>>;
57
+ /**
58
+ * Batch update with field mask (`POST /{resource}:batchUpdate`).
59
+ */
60
+ updateMany(_request: BatchUpdateManyRequest): Promise<BatchResult<T>>;
61
+ /**
62
+ * Batch create (`POST /{resource}:batchCreate`).
63
+ */
64
+ createMany(_request: BatchCreateManyRequest): Promise<BatchResult<T>>;
65
+ /**
66
+ * POST `/{resource}:batchDelete` — used by inventory resource repositories.
67
+ */
68
+ protected postBatchDelete(request: BatchDeleteRequest): Promise<BatchResult<T>>;
69
+ /**
70
+ * POST `/{resource}:batchUpdate`.
71
+ */
72
+ protected postBatchUpdate(request: BatchUpdateManyRequest): Promise<BatchResult<T>>;
73
+ /**
74
+ * POST `/{resource}:batchCreate`.
75
+ */
76
+ protected postBatchCreate(request: BatchCreateManyRequest): Promise<BatchResult<T>>;
77
+ /** `POST /{resource}:{action}` for custom batch endpoints (e.g. `:batchRelease`). */
78
+ protected postBatchAction(action: string, body: Record<string, unknown>): Promise<BatchResult<T>>;
79
+ /**
80
+ * Parses batch envelope from 200 or 400 ABORTED responses.
81
+ *
82
+ * Use `postBatch<void>(...)` when the API returns no `resources` array.
83
+ */
84
+ protected postBatch<R = T>(path: string, body: Record<string, unknown>, resourceFromJson?: (json: Record<string, unknown>) => R): Promise<BatchResult<R>>;
51
85
  }
52
86
  /**
53
87
  * Represents a list response containing an array of data of type T.
@@ -3,7 +3,7 @@ import { ModelRepository, ListResponse } from './repository.js';
3
3
  /**
4
4
  * Transfer type enum
5
5
  */
6
- export type TransferType = 'deposit' | 'subscription' | 'points' | 'store_due' | 'user_transfer' | 'ai_generation' | 'refund' | 'adjustment';
6
+ export type TransferType = 'deposit' | 'subscription' | 'points' | 'store_due' | 'user_transfer' | 'ai_generation' | 'integration_subscription' | 'refund' | 'adjustment';
7
7
  /**
8
8
  * Represents a transfer entity for double-entry accounting transactions
9
9
  */
@@ -74,6 +74,14 @@ export interface EcotrackSyncResult {
74
74
  totalFetched?: number;
75
75
  totalUpdated?: number;
76
76
  totalSkipped?: number;
77
+ /** COD payout batches processed from Ecotrack cash-in history. */
78
+ totalCashinTransactions?: number;
79
+ /** Orders marked payment_status received from cash-in sync. */
80
+ totalPaymentReceived?: number;
81
+ /** Customer payments created in Finance from cash-in sync. */
82
+ totalFinancePaymentsCreated?: number;
83
+ /** Total amount collected into Finance from cash-in sync. */
84
+ totalFinanceAmountCollected?: number;
77
85
  syncedAt?: string;
78
86
  errors?: string[];
79
87
  }
@@ -83,6 +91,8 @@ export interface EcotrackSyncResult {
83
91
  export interface EcotrackSyncStatus {
84
92
  canSync: boolean;
85
93
  lastSyncAt?: string;
94
+ /** Latest Ecotrack cash-in transaction archived-at processed (integration metadata). */
95
+ lastCashinSyncAt?: string;
86
96
  nextSyncAvailableAt?: string;
87
97
  minutesUntilNextSync?: number;
88
98
  }
@@ -121,6 +131,12 @@ export declare class EcotrackDeliveryIntegrationApi {
121
131
  startDate?: Date | string;
122
132
  endDate?: Date | string;
123
133
  }): Promise<EcotrackSyncResult>;
134
+ /**
135
+ * Sync only COD payouts received by the merchant (Ecotrack cash-in history).
136
+ */
137
+ triggerCashinSync(options?: {
138
+ forceAll?: boolean;
139
+ }): Promise<EcotrackSyncResult>;
124
140
  }
125
141
  /**
126
142
  * Yalidine agent type
@@ -1,4 +1,5 @@
1
1
  export * from './feeef/feeef.js';
2
+ export * from './core/models_catalog.js';
2
3
  export * from './delivery/parcel.js';
3
4
  export * from './delivery/delivery_carrier_client.js';
4
5
  export * from './core/entities/order.js';
@@ -20,6 +21,9 @@ export * from './core/entities/state.js';
20
21
  export * from './core/entities/city.js';
21
22
  export * from './core/entities/currency.js';
22
23
  export * from './core/entities/feedback.js';
24
+ export * from './core/entities/inventory.js';
25
+ export * from './core/entities/finance.js';
26
+ export * from './core/batch.js';
23
27
  export * from './feeef/repositories/repository.js';
24
28
  export * from './feeef/repositories/apps.js';
25
29
  export * from './feeef/repositories/oauth.js';
@@ -43,6 +47,8 @@ export * from './feeef/repositories/countries.js';
43
47
  export * from './feeef/repositories/states.js';
44
48
  export * from './feeef/repositories/cities.js';
45
49
  export * from './feeef/repositories/currencies.js';
50
+ export * from './feeef/repositories/inventory.js';
51
+ export * from './feeef/repositories/finance.js';
46
52
  export type { AppEntity, AppCreateInput, AppUpdateInput } from './feeef/repositories/apps.js';
47
53
  export type { TransferEntity, TransferCreateInput, TransferUpdateInput, TransferType, TransferListOptions, } from './feeef/repositories/transfers.js';
48
54
  export type { DepositEntity, DepositCreateInput, DepositUpdateInput, DepositStatus, DepositListOptions, PayPalOrderResponse, PayPalCaptureResponse, } from './feeef/repositories/deposits.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "feeef",
3
3
  "description": "feeef sdk for javascript",
4
- "version": "0.9.7",
4
+ "version": "0.11.0",
5
5
  "main": "build/index.js",
6
6
  "type": "module",
7
7
  "files": [
@@ -38,6 +38,7 @@
38
38
  "@japa/snapshot": "^2.0.5",
39
39
  "@swc/core": "^1.5.3",
40
40
  "@types/dlv": "^1.1.4",
41
+ "@types/luxon": "^3.4.2",
41
42
  "@types/node": "^20.12.10",
42
43
  "ajv": "^8.13.0",
43
44
  "benchmark": "^2.1.4",
@@ -51,11 +52,11 @@
51
52
  "release-it": "^17.2.1",
52
53
  "ts-node": "^10.9.2",
53
54
  "tsup": "^8.0.2",
54
- "typescript": "^5.4.5",
55
- "@types/luxon": "^3.4.2"
55
+ "typescript": "^5.4.5"
56
56
  },
57
57
  "dependencies": {
58
58
  "@adonisjs/transmit-client": "^1.0.0",
59
+ "@openrouter/sdk": "^0.12.26",
59
60
  "axios": "^1.6.8",
60
61
  "axios-cache-interceptor": "^1.5.1",
61
62
  "luxon": "^3.5.0"