@blinkbooks/types 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/README.md +73 -0
  2. package/dist/account.interface.d.ts +16 -0
  3. package/dist/account.interface.d.ts.map +1 -0
  4. package/dist/account.interface.js +3 -0
  5. package/dist/account.interface.js.map +1 -0
  6. package/dist/activityLog.interface.d.ts +31 -0
  7. package/dist/activityLog.interface.d.ts.map +1 -0
  8. package/dist/activityLog.interface.js +16 -0
  9. package/dist/activityLog.interface.js.map +1 -0
  10. package/dist/agent.interface.d.ts +40 -0
  11. package/dist/agent.interface.d.ts.map +1 -0
  12. package/dist/agent.interface.js +3 -0
  13. package/dist/agent.interface.js.map +1 -0
  14. package/dist/banking.interface.d.ts +20 -0
  15. package/dist/banking.interface.d.ts.map +1 -0
  16. package/dist/banking.interface.js +3 -0
  17. package/dist/banking.interface.js.map +1 -0
  18. package/dist/bill.interface.d.ts +15 -0
  19. package/dist/bill.interface.d.ts.map +1 -0
  20. package/dist/bill.interface.js +3 -0
  21. package/dist/bill.interface.js.map +1 -0
  22. package/dist/cashflow.interface.d.ts +30 -0
  23. package/dist/cashflow.interface.d.ts.map +1 -0
  24. package/dist/cashflow.interface.js +3 -0
  25. package/dist/cashflow.interface.js.map +1 -0
  26. package/dist/creditMemo.interface.d.ts +11 -0
  27. package/dist/creditMemo.interface.d.ts.map +1 -0
  28. package/dist/creditMemo.interface.js +3 -0
  29. package/dist/creditMemo.interface.js.map +1 -0
  30. package/dist/customer.interface.d.ts +12 -0
  31. package/dist/customer.interface.d.ts.map +1 -0
  32. package/dist/customer.interface.js +3 -0
  33. package/dist/customer.interface.js.map +1 -0
  34. package/dist/customerPayment.interface.d.ts +13 -0
  35. package/dist/customerPayment.interface.d.ts.map +1 -0
  36. package/dist/customerPayment.interface.js +3 -0
  37. package/dist/customerPayment.interface.js.map +1 -0
  38. package/dist/expense.interface.d.ts +16 -0
  39. package/dist/expense.interface.d.ts.map +1 -0
  40. package/dist/expense.interface.js +3 -0
  41. package/dist/expense.interface.js.map +1 -0
  42. package/dist/expensePayable.interface.d.ts +16 -0
  43. package/dist/expensePayable.interface.d.ts.map +1 -0
  44. package/dist/expensePayable.interface.js +3 -0
  45. package/dist/expensePayable.interface.js.map +1 -0
  46. package/dist/index.d.ts +16 -0
  47. package/dist/index.d.ts.map +1 -0
  48. package/dist/index.js +33 -0
  49. package/dist/index.js.map +1 -0
  50. package/dist/invoice.interface.d.ts +14 -0
  51. package/dist/invoice.interface.d.ts.map +1 -0
  52. package/dist/invoice.interface.js +3 -0
  53. package/dist/invoice.interface.js.map +1 -0
  54. package/dist/kpi.interface.d.ts +37 -0
  55. package/dist/kpi.interface.d.ts.map +1 -0
  56. package/dist/kpi.interface.js +3 -0
  57. package/dist/kpi.interface.js.map +1 -0
  58. package/dist/salesReceipt.interface.d.ts +11 -0
  59. package/dist/salesReceipt.interface.d.ts.map +1 -0
  60. package/dist/salesReceipt.interface.js +3 -0
  61. package/dist/salesReceipt.interface.js.map +1 -0
  62. package/dist/shared.interface.d.ts +9 -0
  63. package/dist/shared.interface.d.ts.map +1 -0
  64. package/dist/shared.interface.js +3 -0
  65. package/dist/shared.interface.js.map +1 -0
  66. package/dist/vendor.interface.d.ts +16 -0
  67. package/dist/vendor.interface.d.ts.map +1 -0
  68. package/dist/vendor.interface.js +3 -0
  69. package/dist/vendor.interface.js.map +1 -0
  70. package/dist/vendorPayment.interface.d.ts +14 -0
  71. package/dist/vendorPayment.interface.d.ts.map +1 -0
  72. package/dist/vendorPayment.interface.js +3 -0
  73. package/dist/vendorPayment.interface.js.map +1 -0
  74. package/package.json +237 -0
package/README.md ADDED
@@ -0,0 +1,73 @@
1
+ # blinkbooks Types
2
+
3
+ Shared TypeScript interfaces for blinkbooks API and App.
4
+
5
+ ## Installation
6
+
7
+ Install from npm:
8
+
9
+ ```bash
10
+ npm install @blinkbooks/types
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```typescript
16
+ import { Account, Invoice, Customer } from '@blinkbooks/types';
17
+ ```
18
+
19
+ ## Development
20
+
21
+ ```bash
22
+ # Build the package
23
+ npm run build
24
+
25
+ # Watch mode for development
26
+ npm run watch
27
+
28
+ # Clean build artifacts
29
+ npm run clean
30
+ ```
31
+
32
+ ## Releasing
33
+
34
+ This package uses [release-it](https://github.com/release-it/release-it) with conventional changelog for version management.
35
+
36
+ ```bash
37
+ # Create a new release (interactive - will prompt for version)
38
+ npm run release
39
+
40
+ # Create a patch release (1.0.0 -> 1.0.1)
41
+ npm run release:patch
42
+
43
+ # Create a minor release (1.0.0 -> 1.1.0)
44
+ npm run release:minor
45
+
46
+ # Create a major release (1.0.0 -> 2.0.0)
47
+ npm run release:major
48
+
49
+ # Dry run (see what would happen without actually releasing)
50
+ npm run release:dry
51
+ ```
52
+
53
+ After releasing, the consuming projects (blinkbooks-api and blinkbooks-app) will be automatically updated via the `update-consumers.sh` script. You can also manually update them:
54
+
55
+ ```bash
56
+ # From blinkbooks-api or blinkbooks-app
57
+ npm run update-types
58
+
59
+ # Or update all consumers at once from blinkbooks-types
60
+ ./update-consumers.sh
61
+ ```
62
+
63
+ ### Commit Message Convention
64
+
65
+ This package follows [Conventional Commits](https://www.conventionalcommits.org/):
66
+
67
+ - `feat:` - New features
68
+ - `fix:` - Bug fixes
69
+ - `chore:` - Maintenance tasks
70
+ - `docs:` - Documentation changes
71
+ - `refactor:` - Code refactoring
72
+
73
+ The changelog will be automatically generated based on these commit messages.
@@ -0,0 +1,16 @@
1
+ export interface QuickBooksAccount {
2
+ Id: string;
3
+ Name: string;
4
+ AcctNum?: string;
5
+ AccountType: string;
6
+ AccountSubType: string;
7
+ CurrentBalance?: number;
8
+ }
9
+ export interface Account {
10
+ id: string;
11
+ name: string;
12
+ type: string;
13
+ balance: number;
14
+ subAccounts?: Account[];
15
+ }
16
+ //# sourceMappingURL=account.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"account.interface.d.ts","sourceRoot":"","sources":["../src/account.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAID,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC;CACzB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=account.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"account.interface.js","sourceRoot":"","sources":["../src/account.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
1
+ export declare enum ActivityType {
2
+ CUSTOMER_PAYMENT = "Customer Payment",
3
+ SALES_RECEIPT = "Sales Receipt",
4
+ CREDIT_MEMO = "Credit Memo",
5
+ CUSTOMER_MASTER = "Customer Master",
6
+ INVOICE = "Invoice",
7
+ BILL = "Bill",
8
+ EXPENSE = "Expense",
9
+ BILL_PAYMENT = "Bill Payment",
10
+ EXPENSE_PAYMENT = "Expense Payment"
11
+ }
12
+ export interface ActivityLog {
13
+ timestamp: string;
14
+ activity_type: string;
15
+ detail: string;
16
+ }
17
+ export interface ActivityLogResponse {
18
+ success: boolean;
19
+ data: ActivityLog[];
20
+ total?: number;
21
+ page?: number;
22
+ perPage?: number;
23
+ }
24
+ export interface ActivityLogFilters {
25
+ page?: number;
26
+ perPage?: number;
27
+ activityType?: ActivityType | string;
28
+ fromDate?: string;
29
+ toDate?: string;
30
+ }
31
+ //# sourceMappingURL=activityLog.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"activityLog.interface.d.ts","sourceRoot":"","sources":["../src/activityLog.interface.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,gBAAgB,qBAAqB;IACrC,aAAa,kBAAkB;IAC/B,WAAW,gBAAgB;IAC3B,eAAe,oBAAoB;IACnC,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,YAAY,iBAAiB;IAC7B,eAAe,oBAAoB;CACpC;AAED,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,WAAW,EAAE,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,YAAY,GAAG,MAAM,CAAC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ActivityType = void 0;
4
+ var ActivityType;
5
+ (function (ActivityType) {
6
+ ActivityType["CUSTOMER_PAYMENT"] = "Customer Payment";
7
+ ActivityType["SALES_RECEIPT"] = "Sales Receipt";
8
+ ActivityType["CREDIT_MEMO"] = "Credit Memo";
9
+ ActivityType["CUSTOMER_MASTER"] = "Customer Master";
10
+ ActivityType["INVOICE"] = "Invoice";
11
+ ActivityType["BILL"] = "Bill";
12
+ ActivityType["EXPENSE"] = "Expense";
13
+ ActivityType["BILL_PAYMENT"] = "Bill Payment";
14
+ ActivityType["EXPENSE_PAYMENT"] = "Expense Payment";
15
+ })(ActivityType || (exports.ActivityType = ActivityType = {}));
16
+ //# sourceMappingURL=activityLog.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"activityLog.interface.js","sourceRoot":"","sources":["../src/activityLog.interface.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAUX;AAVD,WAAY,YAAY;IACtB,qDAAqC,CAAA;IACrC,+CAA+B,CAAA;IAC/B,2CAA2B,CAAA;IAC3B,mDAAmC,CAAA;IACnC,mCAAmB,CAAA;IACnB,6BAAa,CAAA;IACb,mCAAmB,CAAA;IACnB,6CAA6B,CAAA;IAC7B,mDAAmC,CAAA;AACrC,CAAC,EAVW,YAAY,4BAAZ,YAAY,QAUvB"}
@@ -0,0 +1,40 @@
1
+ export interface AgentChatRequest {
2
+ message: string;
3
+ userId: string;
4
+ sessionId: string;
5
+ threadId: string;
6
+ }
7
+ export interface AgentChatResponse {
8
+ response: string;
9
+ usage?: any;
10
+ finishReason?: string | undefined;
11
+ steps: number;
12
+ }
13
+ export interface MessageResponse {
14
+ message: string;
15
+ }
16
+ export interface ConversationInfo {
17
+ id: string;
18
+ title: string;
19
+ resourceId: string;
20
+ lastMessageTime: Date;
21
+ }
22
+ export interface ConversationsResponse {
23
+ conversations: ConversationInfo[];
24
+ totalCount: number;
25
+ currentPage: number;
26
+ }
27
+ export interface ChatMessage {
28
+ id: string;
29
+ threadId: string;
30
+ content: string;
31
+ role: string;
32
+ type: string;
33
+ createdAt: Date;
34
+ resourceId?: string;
35
+ }
36
+ export interface ChatHistoryResponse {
37
+ threadId: string;
38
+ messages: ChatMessage[];
39
+ }
40
+ //# sourceMappingURL=agent.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent.interface.d.ts","sourceRoot":"","sources":["../src/agent.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,IAAI,CAAC;CACvB;AAED,MAAM,WAAW,qBAAqB;IACpC,aAAa,EAAE,gBAAgB,EAAE,CAAC;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,IAAI,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,WAAW,EAAE,CAAC;CACzB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=agent.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent.interface.js","sourceRoot":"","sources":["../src/agent.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,20 @@
1
+ export interface Transaction {
2
+ id: string;
3
+ date: string;
4
+ description: string;
5
+ payee: string;
6
+ category: string;
7
+ amount: number;
8
+ notes: string;
9
+ }
10
+ export interface TransactionQuery {
11
+ bankId: string;
12
+ startDate?: string;
13
+ endDate?: string;
14
+ }
15
+ export interface Category {
16
+ id: string;
17
+ name: string;
18
+ type: string;
19
+ }
20
+ //# sourceMappingURL=banking.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"banking.interface.d.ts","sourceRoot":"","sources":["../src/banking.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=banking.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"banking.interface.js","sourceRoot":"","sources":["../src/banking.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ export interface Bill {
2
+ id: number;
3
+ vendorId: number;
4
+ accountId: number;
5
+ amount: number;
6
+ currency: string;
7
+ dueDate: string;
8
+ memo?: string;
9
+ note?: string;
10
+ paymentStatus: string;
11
+ category?: string;
12
+ createdAt: string;
13
+ updatedAt: string;
14
+ }
15
+ //# sourceMappingURL=bill.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bill.interface.d.ts","sourceRoot":"","sources":["../src/bill.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=bill.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bill.interface.js","sourceRoot":"","sources":["../src/bill.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,30 @@
1
+ export interface CashflowData {
2
+ month: string;
3
+ inflows_usd: number;
4
+ outflows_usd: number;
5
+ net_flow_usd: number;
6
+ cumulative_balance_usd: number;
7
+ }
8
+ export interface CashflowResponse {
9
+ actual: CashflowData[];
10
+ forecast: CashflowData[];
11
+ }
12
+ export interface CashflowFilters {
13
+ startMonth?: string;
14
+ endMonth?: string;
15
+ }
16
+ export interface CategoryBreakdownItem {
17
+ category_name: string;
18
+ total_amount: number;
19
+ currency: string;
20
+ transaction_count: number;
21
+ percentage_of_total: number;
22
+ }
23
+ export interface CategoryBreakdownResponse {
24
+ month: string;
25
+ year: string;
26
+ total_outflow: number;
27
+ currency: string;
28
+ categories: CategoryBreakdownItem[];
29
+ }
30
+ //# sourceMappingURL=cashflow.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cashflow.interface.d.ts","sourceRoot":"","sources":["../src/cashflow.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,sBAAsB,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,YAAY,EAAE,CAAC;IACvB,QAAQ,EAAE,YAAY,EAAE,CAAC;CAC1B;AAED,MAAM,WAAW,eAAe;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,qBAAqB;IACpC,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,qBAAqB,EAAE,CAAC;CACrC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=cashflow.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cashflow.interface.js","sourceRoot":"","sources":["../src/cashflow.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ export interface CreditMemo {
2
+ id: string;
3
+ customerName: string;
4
+ date: string;
5
+ totalAmount: number;
6
+ remainingCredit: number;
7
+ appliedTo?: string[];
8
+ createdAt?: string;
9
+ updatedAt?: string;
10
+ }
11
+ //# sourceMappingURL=creditMemo.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"creditMemo.interface.d.ts","sourceRoot":"","sources":["../src/creditMemo.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=creditMemo.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"creditMemo.interface.js","sourceRoot":"","sources":["../src/creditMemo.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ export interface Customer {
2
+ id: string;
3
+ displayName: string;
4
+ email?: string;
5
+ phone?: string;
6
+ contactEmail?: string;
7
+ contactPhone?: string;
8
+ balance?: number;
9
+ createdAt?: string;
10
+ updatedAt?: string;
11
+ }
12
+ //# sourceMappingURL=customer.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customer.interface.d.ts","sourceRoot":"","sources":["../src/customer.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=customer.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customer.interface.js","sourceRoot":"","sources":["../src/customer.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ export interface CustomerPayment {
2
+ id: string;
3
+ customerName: string;
4
+ totalAmount: number;
5
+ currency: string;
6
+ date: string;
7
+ method: string;
8
+ referenceNumber?: string;
9
+ createdAt?: string;
10
+ updatedAt?: string;
11
+ }
12
+ export type Payment = CustomerPayment;
13
+ //# sourceMappingURL=customerPayment.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customerPayment.interface.d.ts","sourceRoot":"","sources":["../src/customerPayment.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAGD,MAAM,MAAM,OAAO,GAAG,eAAe,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=customerPayment.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customerPayment.interface.js","sourceRoot":"","sources":["../src/customerPayment.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
1
+ export interface Expense {
2
+ id: number;
3
+ vendorId: number;
4
+ accountId: number;
5
+ amount: number;
6
+ currency: string;
7
+ paymentMethod: string;
8
+ dateIncurred: string;
9
+ memo?: string;
10
+ note?: string;
11
+ paymentStatus: string;
12
+ category?: string;
13
+ createdAt: string;
14
+ updatedAt: string;
15
+ }
16
+ //# sourceMappingURL=expense.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expense.interface.d.ts","sourceRoot":"","sources":["../src/expense.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=expense.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expense.interface.js","sourceRoot":"","sources":["../src/expense.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
1
+ export interface ExpensePayableItem {
2
+ id: number;
3
+ source_type: 'bill' | 'expense' | 'payment';
4
+ vendor_name: string;
5
+ category_name: string;
6
+ amount: number;
7
+ currency: string;
8
+ status: 'paid' | 'unpaid' | 'partially_paid' | 'pending' | 'void';
9
+ payment_date?: string | null;
10
+ payment_method?: string | null;
11
+ due_date?: string | null;
12
+ txn_date: string;
13
+ created_at: string;
14
+ updated_at: string;
15
+ }
16
+ //# sourceMappingURL=expensePayable.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expensePayable.interface.d.ts","sourceRoot":"","sources":["../src/expensePayable.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,GAAG,QAAQ,GAAG,gBAAgB,GAAG,SAAS,GAAG,MAAM,CAAC;IAClE,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=expensePayable.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expensePayable.interface.js","sourceRoot":"","sources":["../src/expensePayable.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
1
+ export * from './activityLog.interface';
2
+ export * from './agent.interface';
3
+ export * from './banking.interface';
4
+ export * from './bill.interface';
5
+ export * from './cashflow.interface';
6
+ export * from './creditMemo.interface';
7
+ export * from './customer.interface';
8
+ export * from './customerPayment.interface';
9
+ export * from './expense.interface';
10
+ export * from './expensePayable.interface';
11
+ export * from './invoice.interface';
12
+ export * from './kpi.interface';
13
+ export * from './salesReceipt.interface';
14
+ export * from './vendor.interface';
15
+ export * from './vendorPayment.interface';
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ // Re-export all interfaces
18
+ __exportStar(require("./activityLog.interface"), exports);
19
+ __exportStar(require("./agent.interface"), exports);
20
+ __exportStar(require("./banking.interface"), exports);
21
+ __exportStar(require("./bill.interface"), exports);
22
+ __exportStar(require("./cashflow.interface"), exports);
23
+ __exportStar(require("./creditMemo.interface"), exports);
24
+ __exportStar(require("./customer.interface"), exports);
25
+ __exportStar(require("./customerPayment.interface"), exports);
26
+ __exportStar(require("./expense.interface"), exports);
27
+ __exportStar(require("./expensePayable.interface"), exports);
28
+ __exportStar(require("./invoice.interface"), exports);
29
+ __exportStar(require("./kpi.interface"), exports);
30
+ __exportStar(require("./salesReceipt.interface"), exports);
31
+ __exportStar(require("./vendor.interface"), exports);
32
+ __exportStar(require("./vendorPayment.interface"), exports);
33
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2BAA2B;AAC3B,0DAAwC;AACxC,oDAAkC;AAClC,sDAAoC;AACpC,mDAAiC;AACjC,uDAAqC;AACrC,yDAAuC;AACvC,uDAAqC;AACrC,8DAA4C;AAC5C,sDAAoC;AACpC,6DAA2C;AAC3C,sDAAoC;AACpC,kDAAgC;AAChC,2DAAyC;AACzC,qDAAmC;AACnC,4DAA0C"}
@@ -0,0 +1,14 @@
1
+ export interface Invoice {
2
+ id: string;
3
+ invoiceNumber?: string;
4
+ customerName: string;
5
+ issueDate: string;
6
+ dueDate: string;
7
+ status: string;
8
+ currency: string;
9
+ totalAmount: number;
10
+ balance: number;
11
+ createdAt?: string;
12
+ updatedAt?: string;
13
+ }
14
+ //# sourceMappingURL=invoice.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invoice.interface.d.ts","sourceRoot":"","sources":["../src/invoice.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=invoice.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invoice.interface.js","sourceRoot":"","sources":["../src/invoice.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,37 @@
1
+ export interface KPI {
2
+ name: string;
3
+ formula: string;
4
+ value: number;
5
+ currency?: string;
6
+ unit?: string;
7
+ }
8
+ export interface CashflowKPIs {
9
+ cashOnHand: KPI;
10
+ netCashFlowMonth: KPI;
11
+ netCashFlowQuarter: KPI;
12
+ runway: KPI;
13
+ operatingCashFlow: KPI;
14
+ burnRate: KPI;
15
+ }
16
+ export interface CashflowKPIResponse {
17
+ success: boolean;
18
+ data: CashflowKPIs;
19
+ }
20
+ export interface BusinessOverviewKPIs {
21
+ revenueYTD: KPI;
22
+ revenueMTD: KPI;
23
+ netProfit: KPI;
24
+ ebitda: KPI;
25
+ grossMargin: KPI;
26
+ expensesTotal: KPI;
27
+ mrr: KPI;
28
+ arr: KPI;
29
+ activeCustomers: KPI;
30
+ churnRate: KPI;
31
+ avgDaysToPay: KPI;
32
+ }
33
+ export interface BusinessOverviewKPIResponse {
34
+ success: boolean;
35
+ data: BusinessOverviewKPIs;
36
+ }
37
+ //# sourceMappingURL=kpi.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kpi.interface.d.ts","sourceRoot":"","sources":["../src/kpi.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,GAAG;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAGD,MAAM,WAAW,YAAY;IAC3B,UAAU,EAAE,GAAG,CAAC;IAChB,gBAAgB,EAAE,GAAG,CAAC;IACtB,kBAAkB,EAAE,GAAG,CAAC;IACxB,MAAM,EAAE,GAAG,CAAC;IACZ,iBAAiB,EAAE,GAAG,CAAC;IACvB,QAAQ,EAAE,GAAG,CAAC;CACf;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,YAAY,CAAC;CACpB;AAGD,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,GAAG,CAAC;IAChB,UAAU,EAAE,GAAG,CAAC;IAChB,SAAS,EAAE,GAAG,CAAC;IACf,MAAM,EAAE,GAAG,CAAC;IACZ,WAAW,EAAE,GAAG,CAAC;IACjB,aAAa,EAAE,GAAG,CAAC;IACnB,GAAG,EAAE,GAAG,CAAC;IACT,GAAG,EAAE,GAAG,CAAC;IACT,eAAe,EAAE,GAAG,CAAC;IACrB,SAAS,EAAE,GAAG,CAAC;IACf,YAAY,EAAE,GAAG,CAAC;CACnB;AAED,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,oBAAoB,CAAC;CAC5B"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=kpi.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kpi.interface.js","sourceRoot":"","sources":["../src/kpi.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ export interface SalesReceipt {
2
+ id: string;
3
+ receiptNumber?: string;
4
+ customerName: string;
5
+ date: string;
6
+ currency: string;
7
+ totalAmount: number;
8
+ createdAt?: string;
9
+ updatedAt?: string;
10
+ }
11
+ //# sourceMappingURL=salesReceipt.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"salesReceipt.interface.d.ts","sourceRoot":"","sources":["../src/salesReceipt.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=salesReceipt.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"salesReceipt.interface.js","sourceRoot":"","sources":["../src/salesReceipt.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ export type Money = {
2
+ amount: number;
3
+ currency: string;
4
+ };
5
+ export type EntityRef = {
6
+ id: string;
7
+ name?: string;
8
+ };
9
+ //# sourceMappingURL=shared.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shared.interface.d.ts","sourceRoot":"","sources":["../src/shared.interface.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,GAAG;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=shared.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shared.interface.js","sourceRoot":"","sources":["../src/shared.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
1
+ export interface Vendor {
2
+ id: number;
3
+ name: string;
4
+ email: string;
5
+ phone: string;
6
+ address: {
7
+ street: string;
8
+ city: string;
9
+ state: string;
10
+ zip: string;
11
+ country: string;
12
+ };
13
+ createdAt: string;
14
+ updatedAt: string;
15
+ }
16
+ //# sourceMappingURL=vendor.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vendor.interface.d.ts","sourceRoot":"","sources":["../src/vendor.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE;QACP,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,GAAG,EAAE,MAAM,CAAC;QACZ,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=vendor.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vendor.interface.js","sourceRoot":"","sources":["../src/vendor.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ export interface VendorPayment {
2
+ id: number;
3
+ vendorId: number;
4
+ billId?: number;
5
+ expenseId?: number;
6
+ amount: number;
7
+ currency: string;
8
+ paymentMethod: string;
9
+ datePaid: string;
10
+ createdAt: string;
11
+ updatedAt: string;
12
+ }
13
+ export type BillPayment = VendorPayment;
14
+ //# sourceMappingURL=vendorPayment.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vendorPayment.interface.d.ts","sourceRoot":"","sources":["../src/vendorPayment.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAGD,MAAM,MAAM,WAAW,GAAG,aAAa,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=vendorPayment.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vendorPayment.interface.js","sourceRoot":"","sources":["../src/vendorPayment.interface.ts"],"names":[],"mappings":""}
package/package.json ADDED
@@ -0,0 +1,237 @@
1
+ {
2
+ "name": "@blinkbooks/types",
3
+ "version": "1.0.5",
4
+ "description": "Shared TypeScript interfaces for blinkbooks API and App",
5
+ "keywords": [
6
+ "blinkbooks",
7
+ "types",
8
+ "typescript",
9
+ "interfaces"
10
+ ],
11
+ "homepage": "https://github.com/blinkbooks/blinkbooks-types#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/blinkbooks/blinkbooks-types/issues"
14
+ },
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/blinkbooks/blinkbooks-types.git"
18
+ },
19
+ "publishConfig": {
20
+ "access": "public"
21
+ },
22
+ "license": "ISC",
23
+ "author": "Itay Eylon",
24
+ "type": "commonjs",
25
+ "main": "dist/index.js",
26
+ "types": "dist/index.d.ts",
27
+ "files": [
28
+ "dist"
29
+ ],
30
+ "scripts": {
31
+ "build": "tsc",
32
+ "watch": "tsc --watch",
33
+ "clean": "rm -rf dist",
34
+ "release": "release-it",
35
+ "release:patch": "release-it patch",
36
+ "release:minor": "release-it minor",
37
+ "release:major": "release-it major",
38
+ "release:dry": "release-it --dry-run"
39
+ },
40
+ "dependencies": {
41
+ "add-stream": "^1.0.0",
42
+ "agent-base": "^7.1.4",
43
+ "ansi-regex": "^6.2.2",
44
+ "ansi-styles": "^4.3.0",
45
+ "array-ify": "^1.0.0",
46
+ "ast-types": "^0.13.4",
47
+ "async-retry": "^1.3.3",
48
+ "basic-ftp": "^5.0.5",
49
+ "before-after-hook": "^4.0.0",
50
+ "buffer-from": "^1.1.2",
51
+ "bundle-name": "^4.1.0",
52
+ "c12": "^3.3.0",
53
+ "chalk": "^5.6.2",
54
+ "chardet": "^2.1.0",
55
+ "chokidar": "^4.0.3",
56
+ "ci-info": "^4.3.1",
57
+ "citty": "^0.1.6",
58
+ "cli-cursor": "^5.0.0",
59
+ "cli-spinners": "^3.3.0",
60
+ "cli-width": "^4.1.0",
61
+ "color-convert": "^2.0.1",
62
+ "color-name": "^1.1.4",
63
+ "compare-func": "^2.0.0",
64
+ "concat-stream": "^2.0.0",
65
+ "confbox": "^0.2.2",
66
+ "consola": "^3.4.2",
67
+ "conventional-changelog": "^6.0.0",
68
+ "conventional-changelog-angular": "^8.1.0",
69
+ "conventional-changelog-atom": "^5.0.0",
70
+ "conventional-changelog-codemirror": "^5.0.0",
71
+ "conventional-changelog-conventionalcommits": "^8.0.0",
72
+ "conventional-changelog-core": "^8.0.0",
73
+ "conventional-changelog-ember": "^5.0.0",
74
+ "conventional-changelog-eslint": "^6.0.0",
75
+ "conventional-changelog-express": "^5.0.0",
76
+ "conventional-changelog-jquery": "^6.0.0",
77
+ "conventional-changelog-jshint": "^5.0.0",
78
+ "conventional-changelog-preset-loader": "^5.0.0",
79
+ "conventional-changelog-writer": "^8.2.0",
80
+ "conventional-commits-filter": "^5.0.0",
81
+ "conventional-commits-parser": "^6.2.1",
82
+ "conventional-recommended-bump": "^10.0.0",
83
+ "cross-spawn": "^7.0.6",
84
+ "data-uri-to-buffer": "^6.0.2",
85
+ "debug": "^4.4.3",
86
+ "default-browser": "^5.2.1",
87
+ "default-browser-id": "^5.0.0",
88
+ "define-lazy-prop": "^3.0.0",
89
+ "defu": "^6.1.4",
90
+ "degenerator": "^5.0.1",
91
+ "destr": "^2.0.5",
92
+ "dot-prop": "^5.3.0",
93
+ "dotenv": "^17.2.3",
94
+ "emoji-regex": "^8.0.0",
95
+ "escodegen": "^2.1.0",
96
+ "esprima": "^4.0.1",
97
+ "estraverse": "^5.3.0",
98
+ "esutils": "^2.0.3",
99
+ "eta": "^4.0.1",
100
+ "execa": "^8.0.1",
101
+ "exsolve": "^1.0.7",
102
+ "fast-content-type-parse": "^3.0.0",
103
+ "fdir": "^6.5.0",
104
+ "find-up-simple": "^1.0.1",
105
+ "get-east-asian-width": "^1.4.0",
106
+ "get-stream": "^8.0.1",
107
+ "get-uri": "^6.0.5",
108
+ "giget": "^2.0.0",
109
+ "git-raw-commits": "^5.0.0",
110
+ "git-semver-tags": "^8.0.0",
111
+ "git-up": "^8.1.1",
112
+ "git-url-parse": "^16.1.0",
113
+ "handlebars": "^4.7.8",
114
+ "hosted-git-info": "^7.0.2",
115
+ "http-proxy-agent": "^7.0.2",
116
+ "https-proxy-agent": "^7.0.6",
117
+ "human-signals": "^5.0.0",
118
+ "iconv-lite": "^0.7.0",
119
+ "index-to-position": "^1.2.0",
120
+ "inherits": "^2.0.4",
121
+ "inquirer": "^12.9.6",
122
+ "ip-address": "^10.0.1",
123
+ "is-docker": "^3.0.0",
124
+ "is-fullwidth-code-point": "^3.0.0",
125
+ "is-inside-container": "^1.0.0",
126
+ "is-interactive": "^2.0.0",
127
+ "is-obj": "^2.0.0",
128
+ "is-ssh": "^1.4.1",
129
+ "is-stream": "^3.0.0",
130
+ "is-unicode-supported": "^2.1.0",
131
+ "is-wsl": "^3.1.0",
132
+ "isexe": "^2.0.0",
133
+ "issue-parser": "^7.0.1",
134
+ "jiti": "^2.6.1",
135
+ "js-tokens": "^4.0.0",
136
+ "lodash": "^4.17.21",
137
+ "lodash.capitalize": "^4.2.1",
138
+ "lodash.escaperegexp": "^4.1.2",
139
+ "lodash.isplainobject": "^4.0.6",
140
+ "lodash.isstring": "^4.0.1",
141
+ "lodash.merge": "^4.6.2",
142
+ "lodash.uniqby": "^4.7.0",
143
+ "log-symbols": "^7.0.1",
144
+ "lru-cache": "^10.4.3",
145
+ "macos-release": "^3.4.0",
146
+ "meow": "^13.2.0",
147
+ "merge-stream": "^2.0.0",
148
+ "mime-db": "^1.54.0",
149
+ "mime-types": "^3.0.1",
150
+ "mimic-fn": "^4.0.0",
151
+ "mimic-function": "^5.0.1",
152
+ "minimist": "^1.2.8",
153
+ "ms": "^2.1.3",
154
+ "mute-stream": "^2.0.0",
155
+ "neo-async": "^2.6.2",
156
+ "netmask": "^2.0.2",
157
+ "new-github-release-url": "^2.0.0",
158
+ "node-fetch-native": "^1.6.7",
159
+ "normalize-package-data": "^6.0.2",
160
+ "npm-run-path": "^5.3.0",
161
+ "nypm": "^0.6.2",
162
+ "ohash": "^2.0.11",
163
+ "onetime": "^7.0.0",
164
+ "open": "^10.2.0",
165
+ "ora": "^9.0.0",
166
+ "os-name": "^6.1.0",
167
+ "pac-proxy-agent": "^7.2.0",
168
+ "pac-resolver": "^7.0.1",
169
+ "parse-json": "^8.3.0",
170
+ "parse-path": "^7.1.0",
171
+ "parse-url": "^9.2.0",
172
+ "path-key": "^3.1.1",
173
+ "pathe": "^2.0.3",
174
+ "perfect-debounce": "^2.0.0",
175
+ "picocolors": "^1.1.1",
176
+ "picomatch": "^4.0.3",
177
+ "pkg-types": "^2.3.0",
178
+ "protocols": "^2.0.2",
179
+ "proxy-agent": "^6.5.0",
180
+ "proxy-from-env": "^1.1.0",
181
+ "rc9": "^2.1.2",
182
+ "read-package-up": "^11.0.0",
183
+ "read-pkg": "^9.0.1",
184
+ "readable-stream": "^3.6.2",
185
+ "readdirp": "^4.1.2",
186
+ "restore-cursor": "^5.1.0",
187
+ "retry": "^0.13.1",
188
+ "run-applescript": "^7.1.0",
189
+ "run-async": "^4.0.6",
190
+ "rxjs": "^7.8.2",
191
+ "safe-buffer": "^5.2.1",
192
+ "safer-buffer": "^2.1.2",
193
+ "semver": "^7.7.3",
194
+ "shebang-command": "^2.0.0",
195
+ "shebang-regex": "^3.0.0",
196
+ "signal-exit": "^4.1.0",
197
+ "smart-buffer": "^4.2.0",
198
+ "socks": "^2.8.7",
199
+ "socks-proxy-agent": "^8.0.5",
200
+ "source-map": "^0.6.1",
201
+ "spdx-correct": "^3.2.0",
202
+ "spdx-exceptions": "^2.5.0",
203
+ "spdx-expression-parse": "^3.0.1",
204
+ "spdx-license-ids": "^3.0.22",
205
+ "stdin-discarder": "^0.2.2",
206
+ "string-width": "^8.1.0",
207
+ "string_decoder": "^1.3.0",
208
+ "strip-ansi": "^7.1.2",
209
+ "strip-final-newline": "^3.0.0",
210
+ "tinyexec": "^1.0.1",
211
+ "tinyglobby": "^0.2.15",
212
+ "tslib": "^2.8.1",
213
+ "type-fest": "^4.41.0",
214
+ "typedarray": "^0.0.6",
215
+ "uglify-js": "^3.19.3",
216
+ "undici": "^6.21.3",
217
+ "unicorn-magic": "^0.1.0",
218
+ "universal-user-agent": "^7.0.3",
219
+ "url-join": "^5.0.0",
220
+ "util-deprecate": "^1.0.2",
221
+ "validate-npm-package-license": "^3.0.4",
222
+ "which": "^2.0.2",
223
+ "wildcard-match": "^5.1.4",
224
+ "windows-release": "^6.1.0",
225
+ "wordwrap": "^1.0.0",
226
+ "wrap-ansi": "^6.2.0",
227
+ "wsl-utils": "^0.1.0",
228
+ "yargs-parser": "^21.1.1",
229
+ "yoctocolors": "^2.1.2",
230
+ "yoctocolors-cjs": "^2.1.3"
231
+ },
232
+ "devDependencies": {
233
+ "@release-it/conventional-changelog": "^10.0.1",
234
+ "release-it": "^19.0.5",
235
+ "typescript": "^5.3.2"
236
+ }
237
+ }