@openbox/shared-types 0.5.39 → 0.5.41

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 (32) hide show
  1. package/.eslintrc.js +37 -0
  2. package/.github/copilot-instructions.md +263 -0
  3. package/.github/workflows/npm-publish.yml +0 -15
  4. package/README.md +0 -2
  5. package/lib/system/Modules/ModuleActions/CreateSingle/Request.d.ts +2 -0
  6. package/lib/system/Modules/ModuleActions/CreateSingle/Request.js +3 -0
  7. package/lib/system/Modules/ModuleActions/CreateSingle/Request.js.map +1 -0
  8. package/lib/system/Modules/ModuleActions/CreateSingle/Response.d.ts +2 -0
  9. package/lib/system/Modules/ModuleActions/CreateSingle/Response.js +3 -0
  10. package/lib/system/Modules/ModuleActions/CreateSingle/Response.js.map +1 -0
  11. package/lib/system/Modules/ModuleActions/index.d.ts +3 -0
  12. package/lib/system/Modules/ModuleActions/index.js +20 -0
  13. package/lib/system/Modules/ModuleActions/index.js.map +1 -0
  14. package/lib/system/Modules/ModuleActions/system.module-actions.types.d.ts +13 -0
  15. package/lib/system/Modules/ModuleActions/system.module-actions.types.js +3 -0
  16. package/lib/system/Modules/ModuleActions/system.module-actions.types.js.map +1 -0
  17. package/lib/system/Modules/Modules/index.d.ts +1 -0
  18. package/lib/system/Modules/Modules/index.js +18 -0
  19. package/lib/system/Modules/Modules/index.js.map +1 -0
  20. package/lib/system/Modules/Modules/system.modules.types.d.ts +8 -0
  21. package/lib/system/Modules/Modules/system.modules.types.js +3 -0
  22. package/lib/system/Modules/Modules/system.modules.types.js.map +1 -0
  23. package/lib/system/Modules/index.d.ts +2 -0
  24. package/lib/system/Modules/index.js +19 -0
  25. package/lib/system/Modules/index.js.map +1 -0
  26. package/lib/system/index.d.ts +1 -0
  27. package/lib/system/index.js +1 -0
  28. package/lib/system/index.js.map +1 -1
  29. package/lib/system/system.enums.d.ts +1 -1
  30. package/lib/system/system.enums.js +2 -2
  31. package/lib/system/system.enums.js.map +1 -1
  32. package/package.json +1 -1
package/.eslintrc.js ADDED
@@ -0,0 +1,37 @@
1
+ module.exports = {
2
+ parser: '@typescript-eslint/parser',
3
+ parserOptions: {
4
+ project: './tsconfig.json',
5
+ },
6
+ plugins: ['@typescript-eslint/eslint-plugin', 'import'],
7
+ extends: [
8
+ 'plugin:@typescript-eslint/recommended',
9
+ 'eslint-config-prettier',
10
+ 'plugin:prettier/recommended',
11
+ ],
12
+ root: true,
13
+ rules: {
14
+ '@typescript-eslint/explicit-function-return-type': 'off',
15
+ '@typescript-eslint/no-explicit-any': 'warn',
16
+ '@typescript-eslint/no-use-before-define': 'error',
17
+ semi: 'off',
18
+ 'import/order': [
19
+ 'error',
20
+ {
21
+ groups: [['builtin', 'external'], 'internal', 'parent', 'sibling', 'index'],
22
+ alphabetize: { order: 'asc' },
23
+ },
24
+ ],
25
+ 'import/newline-after-import': ['error', { count: 1 }],
26
+ 'linebreak-style': ['error', 'unix'],
27
+ '@typescript-eslint/no-unused-vars': [
28
+ 'error',
29
+ {
30
+ argsIgnorePattern: '^_',
31
+ varsIgnorePattern: '^_',
32
+ destructuredArrayIgnorePattern: '^_',
33
+ },
34
+ ],
35
+ '@typescript-eslint/no-empty-interface': 'warn',
36
+ },
37
+ }
@@ -0,0 +1,263 @@
1
+ # GitHub Copilot Instructions
2
+
3
+ ## Project Architecture
4
+
5
+ This is a TypeScript shared types library for Openbox Cloud SaaS platform following Domain-Driven Design principles.
6
+
7
+ ### Module Structure
8
+
9
+ Each module in `src/` represents a business domain:
10
+ - **`accounting/`** - Financial operations and accounting entries
11
+ - **`auth/`** - Authentication and user management
12
+ - **`customers/`** - Customer and branch management
13
+ - **`inventories/`** - Products, categories, and inventory tracking
14
+ - **`invoices/`** - Invoicing, documents, and payment conditions
15
+ - **`legal/`** - Legal documents and compliance
16
+ - **`management/`** - Administrative operations
17
+ - **`partners/`** - External partner integrations (versioned APIs)
18
+ - **`services/`** - Service catalog and configurations
19
+ - **`system/`** - System-wide utilities and configurations
20
+
21
+ ### Table-Based Organization
22
+
23
+ Each module contains folders representing database tables:
24
+ - Use `PascalCase` for table folder names
25
+ - Each table folder represents an entity in the Openbox Cloud database
26
+ - Tables may have relationships (e.g., `Entries` → `EntriesDetails`)
27
+
28
+ ### Operation Pattern
29
+
30
+ Each table follows consistent CRUD+ operations:
31
+
32
+ ```
33
+ TableName/
34
+ ├── CreateSingle/Request.ts # Single record creation
35
+ ├── CreateSingle/Response.ts # Creation response
36
+ ├── CreateMany/Request.ts # Batch creation
37
+ ├── CreateMany/Response.ts # Batch response
38
+ ├── GetSingle/Response.ts # Single record retrieval
39
+ ├── GetMany/Request.ts # List/search parameters
40
+ ├── GetMany/Response.ts # Paginated list response
41
+ ├── UpdateSingle/Request.ts # Single record update
42
+ ├── UpdateSingle/Response.ts # Update response
43
+ ├── UpdateMany/Request.ts # Batch updates
44
+ ├── DeleteSingle/Response.ts # Deletion response
45
+ ├── {CustomOperations}/ # Business-specific operations
46
+ └── {module}.{table}.types.ts # Core type definitions
47
+ ```
48
+
49
+ ### Type Definition Patterns
50
+
51
+ **ALWAYS** define three core types for each table:
52
+
53
+ 1. **Base Entity Type** - Complete table structure:
54
+ ```typescript
55
+ export type TableName = {
56
+ id: string
57
+ // All table properties with exact database types
58
+ createdAt: Date
59
+ updatedAt: Date
60
+ // Related entities as full objects
61
+ relatedEntity: RelatedEntityType
62
+ }
63
+ ```
64
+
65
+ 2. **Request Type** - Optimized for creation:
66
+ ```typescript
67
+ export type TableNameRequest = Omit<TableName, 'id' | 'createdAt' | 'updatedAt' | 'computedFields'> & {
68
+ // Transform complex objects to IDs for API requests
69
+ relatedEntity: string // ID instead of full object
70
+ }
71
+ ```
72
+
73
+ 3. **Response Type** - API response format:
74
+ ```typescript
75
+ export type TableNameResponse = TableName
76
+ // Or with transformations if needed
77
+ ```
78
+
79
+ ### Operation Type Patterns
80
+
81
+ - **CreateSingle**: Use base Request type
82
+ - **CreateMany**: Array of Request type
83
+ - **UpdateSingle**: Partial<Request> with required ID
84
+ - **UpdateMany**: Array of Partial<Request> & {id: string}
85
+ - **GetMany**: Extend `GetManyRequest` with filters
86
+ - **Responses**: Use base Response type or `ManyResponse` for lists
87
+
88
+ ### Naming Conventions
89
+
90
+ - **Types**: `PascalCase` (e.g., `AccountingEntries`)
91
+ - **Files**: `camelCase.types.ts` (e.g., `accounting.entries.types.ts`)
92
+ - **Folders**: `PascalCase` (e.g., `CreateSingle`, `UpdateMany`)
93
+ - **Properties**: `camelCase` (e.g., `customerId`, `createdAt`)
94
+
95
+ ### Index File Pattern
96
+
97
+ Each table and module MUST have an `index.ts` file exporting all types:
98
+
99
+ ```typescript
100
+ // Table level index
101
+ export * from './CreateSingle/Request'
102
+ export * from './CreateSingle/Response'
103
+ export * from './GetMany/Request'
104
+ export * from './GetMany/Response'
105
+ export * from './table.types'
106
+
107
+ // Module level index
108
+ export * from './TableName'
109
+ export * from './AnotherTable'
110
+ ```
111
+
112
+ ### Relationship Handling
113
+
114
+ - **In Base Types**: Include full related objects
115
+ - **In Request Types**: Use string IDs for related entities
116
+ - **In Response Types**: Include full related objects
117
+ - **Use Pick<>**: For partial relationships (e.g., `Pick<User, 'id' | 'name'>`)
118
+
119
+ ### Business Logic Types
120
+
121
+ For complex operations, create specific types:
122
+ - Reports: `{Module}Reports{Name}Request/Response`
123
+ - Settings: `{Module}Settings{Type}Request/Response`
124
+ - Custom Operations: `{Module}{Table}{Operation}Request/Response`
125
+
126
+ ### Partner API Versioning
127
+
128
+ For partner integrations, use version folders:
129
+ ```
130
+ partners/
131
+ ├── V1/
132
+ │ ├── auth/
133
+ │ └── invoices/
134
+ └── V2/
135
+ └── ...
136
+ ```
137
+
138
+ ## Code Quality Standards
139
+
140
+ - **Import Organization**: Group imports by: external libs, internal modules, relative imports
141
+ - **Type Safety**: Use strict TypeScript, avoid `any`
142
+ - **Documentation**: Add JSDoc for complex types
143
+ - **Consistency**: Follow existing patterns in similar modules
144
+ - **Validation**: Ensure all types align with database schema
145
+
146
+ ## Commit Message Format
147
+
148
+ Always generate commit messages using Conventional Commits format with these specific types that align with our commitlint configuration:
149
+
150
+ - **feat**: New features or functionality
151
+ - **fix**: Bug fixes and issue resolutions
152
+ - **chore**: Maintenance tasks, dependency updates, build changes
153
+ - **refactor**: Code restructuring without changing functionality
154
+ - **test**: Adding, updating, or fixing tests
155
+ - **wip**: Work in progress commits
156
+
157
+ ## Format Structure
158
+
159
+ ```
160
+ <type>[optional scope]: <description>
161
+
162
+ <body>
163
+
164
+ [optional footer]
165
+ ```
166
+
167
+ ## Body Requirements
168
+
169
+ The body is **required** and should provide a list of changes made in the commit. The list doesn't need to be exhaustive but should give reviewers a clear understanding of what was done:
170
+
171
+ - Use bullet points to list the main changes
172
+ - Focus on the most important modifications
173
+ - Be concise but informative
174
+ - Use present tense verbs
175
+
176
+ ## Commitlint Configuration Alignment
177
+
178
+ Our repository uses commitlint with the following rules that MUST be followed:
179
+
180
+ - **Type restriction**: Only use the 6 approved types above (enforced by `type-enum` rule)
181
+ - **Scope format**: Scopes can be either upper-case or lower-case (both allowed)
182
+ - **Subject format**: Subject can use sentence-case, start-case, lower-case, or upper-case
183
+ - **Body requirements**: Body has leading blank line and max line length of 500 characters
184
+ - **Header length**: Maximum header length is 200 characters
185
+
186
+ ## Examples
187
+
188
+ ```
189
+ feat: Add customer branch management types
190
+
191
+ - Create CustomersBranches base type with address fields
192
+ - Add CustomersBranchesRequest for creation operations
193
+ - Implement CreateSingle and UpdateSingle request types
194
+ - Add directory relationship handling
195
+ ```
196
+
197
+ ```
198
+ fix: Resolve invoice details type inconsistencies
199
+
200
+ - Update InvoicesDetails to match database schema
201
+ - Fix sellingType relationship in request types
202
+ - Correct price calculation fields naming
203
+ - Add missing NCDTotal boolean field
204
+ ```
205
+
206
+ ```
207
+ fix: Resolve createSingle test assertions (#123)
208
+
209
+ - Update test expectations for new validation rules
210
+ - Fix mock data to match schema requirements
211
+ - Add missing async/await handling
212
+ ```
213
+
214
+ ```
215
+ chore: Update TypeScript dependencies
216
+
217
+ - Upgrade TypeScript to v5.2.0
218
+ - Update @types/node to latest version
219
+ - Fix type compatibility issues
220
+ ```
221
+
222
+ ```
223
+ test: Add unit tests for auth service
224
+
225
+ - Create tests for login functionality
226
+ - Add validation test cases
227
+ - Mock external authentication providers
228
+ ```
229
+
230
+ ```
231
+ refactor: Standardize accounting entries structure
232
+
233
+ - Consolidate AccountingEntries and AccountingEntriesDetails
234
+ - Implement consistent Request/Response pattern
235
+ - Update all operation types to use new structure
236
+ - Maintain backward compatibility
237
+ ```
238
+
239
+ ## Requirements
240
+
241
+ - Use lowercase for type and description
242
+ - Use Sentence case for description
243
+ - Keep description under 50 characters when possible
244
+ - Reference GitHub issues using (#issue-number) format
245
+ - Use present tense ("Add" not "Added")
246
+ - Always capitalize first letter of description
247
+ - Don't end description with period
248
+
249
+ ## Critical Validation Rules
250
+
251
+ - **NEVER** use commit types other than: `feat`, `fix`, `chore`, `refactor`, `test`, `wip`
252
+ - **ALWAYS** include a body with bullet points describing changes
253
+ - **ALWAYS** ensure header stays under 200 characters
254
+ - **ALWAYS** include leading blank line before body
255
+ - **ALWAYS** keep body lines under 500 characters
256
+
257
+ ## Code Quality
258
+
259
+ - Follow existing code patterns and conventions
260
+ - Add appropriate TypeScript types
261
+ - Include JSDoc comments for public methods
262
+ - Write comprehensive tests for new functionality
263
+ - Follow the existing project structure
@@ -98,21 +98,6 @@ jobs:
98
98
  env:
99
99
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
100
100
 
101
- - name: Create GitHub Release
102
- if: steps.version-check.outputs.should_publish == 'true'
103
- uses: actions/create-release@v1
104
- env:
105
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
106
- with:
107
- tag_name: v${{ steps.version-check.outputs.package_version }}
108
- release_name: Release v${{ steps.version-check.outputs.package_version }}
109
- body: |
110
- Automatic release for version ${{ steps.version-check.outputs.package_version }}
111
-
112
- Published to NPM: https://www.npmjs.com/package/${{ steps.version-check.outputs.package_name }}/v/${{ steps.version-check.outputs.package_version }}
113
- draft: false
114
- prerelease: false
115
-
116
101
  - name: Version already exists
117
102
  if: steps.version-check.outputs.should_publish == 'false'
118
103
  run: |
package/README.md CHANGED
@@ -31,7 +31,6 @@ This repository includes a GitHub Action workflow that automatically publishes t
31
31
  - **Build Process**: Install dependencies, run linting, formatting checks, and build the package
32
32
  - **Publishing**: Automatically publishes to NPM registry if the version doesn't already exist
33
33
  - **Version Management**: Checks if the current package.json version exists on NPM before publishing
34
- - **Release Creation**: Creates a GitHub release with tag when successfully published
35
34
 
36
35
  #### Setup Requirements
37
36
 
@@ -54,7 +53,6 @@ This repository includes a GitHub Action workflow that automatically publishes t
54
53
  - Download build artifacts
55
54
  - Check if version exists on NPM
56
55
  - Publish to NPM (if version is new)
57
- - Create GitHub release (if published successfully)
58
56
  - Skip publishing if version already exists
59
57
 
60
58
  #### Manual Publishing
@@ -0,0 +1,2 @@
1
+ import { SystemModuleActionsRequest } from '../system.module-actions.types';
2
+ export type SystemModuleActionsCreateSingleRequest = SystemModuleActionsRequest;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../../src/system/Modules/ModuleActions/CreateSingle/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { SingleResponse } from '../../../../interfaces';
2
+ export type SystemModuleActionsCreateSingleResponse = SingleResponse;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../../src/system/Modules/ModuleActions/CreateSingle/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export * from './CreateSingle/Request';
2
+ export * from './CreateSingle/Response';
3
+ export * from './system.module-actions.types';
@@ -0,0 +1,20 @@
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
+ __exportStar(require("./CreateSingle/Request"), exports);
18
+ __exportStar(require("./CreateSingle/Response"), exports);
19
+ __exportStar(require("./system.module-actions.types"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/system/Modules/ModuleActions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,0DAAuC;AACvC,gEAA6C"}
@@ -0,0 +1,13 @@
1
+ import { SystemModules } from '../Modules';
2
+ export type SystemModuleActions = {
3
+ id: string;
4
+ module: SystemModules;
5
+ actionKey: string;
6
+ actionName: string;
7
+ description: string;
8
+ isActive: boolean;
9
+ };
10
+ export type SystemModuleActionsRequest = Omit<SystemModuleActions, 'id' | 'module' | 'isActive'> & {
11
+ module: string;
12
+ };
13
+ export type SystemModuleActionsResponse = SystemModuleActions;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=system.module-actions.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system.module-actions.types.js","sourceRoot":"","sources":["../../../../src/system/Modules/ModuleActions/system.module-actions.types.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export * from './system.modules.types';
@@ -0,0 +1,18 @@
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
+ __exportStar(require("./system.modules.types"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/system/Modules/Modules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC"}
@@ -0,0 +1,8 @@
1
+ export type SystemModules = {
2
+ id: string;
3
+ name: string;
4
+ description: string;
5
+ shortName: string;
6
+ order: number;
7
+ companyWide: boolean;
8
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=system.modules.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system.modules.types.js","sourceRoot":"","sources":["../../../../src/system/Modules/Modules/system.modules.types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from './ModuleActions';
2
+ export * from './Modules';
@@ -0,0 +1,19 @@
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
+ __exportStar(require("./ModuleActions"), exports);
18
+ __exportStar(require("./Modules"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/Modules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAA+B;AAC/B,4CAAyB"}
@@ -2,6 +2,7 @@ export * from './Cities/';
2
2
  export * from './Countries/';
3
3
  export * from './Directory/';
4
4
  export * from './Logs/';
5
+ export * from './Modules/';
5
6
  export * from './PersonTypeNaturals';
6
7
  export * from './PersonTypes/';
7
8
  export * from './SellingTypes/';
@@ -18,6 +18,7 @@ __exportStar(require("./Cities/"), exports);
18
18
  __exportStar(require("./Countries/"), exports);
19
19
  __exportStar(require("./Directory/"), exports);
20
20
  __exportStar(require("./Logs/"), exports);
21
+ __exportStar(require("./Modules/"), exports);
21
22
  __exportStar(require("./PersonTypeNaturals"), exports);
22
23
  __exportStar(require("./PersonTypes/"), exports);
23
24
  __exportStar(require("./SellingTypes/"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/system/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,+CAA4B;AAC5B,+CAA4B;AAC5B,0CAAuB;AACvB,uDAAoC;AACpC,iDAA8B;AAC9B,kDAA+B;AAC/B,4CAAyB;AACzB,wCAAqB;AACrB,iDAA8B;AAC9B,gDAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/system/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,+CAA4B;AAC5B,+CAA4B;AAC5B,0CAAuB;AACvB,6CAA0B;AAC1B,uDAAoC;AACpC,iDAA8B;AAC9B,kDAA+B;AAC/B,4CAAyB;AACzB,wCAAqB;AACrB,iDAA8B;AAC9B,gDAA6B"}
@@ -1,4 +1,4 @@
1
- export declare const SystemModules: {
1
+ export declare const SystemModulesData: {
2
2
  Customers: {
3
3
  id: string;
4
4
  name: string;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SystemSettingTypes = exports.SystemSettingKeys = exports.SystemSellingTypesEnum = exports.SystemNaturalTypesEnum = exports.SystemPersonTypesEnum = exports.SystemTaxerTypesEnum = exports.SystemModules = void 0;
4
- exports.SystemModules = {
3
+ exports.SystemSettingTypes = exports.SystemSettingKeys = exports.SystemSellingTypesEnum = exports.SystemNaturalTypesEnum = exports.SystemPersonTypesEnum = exports.SystemTaxerTypesEnum = exports.SystemModulesData = void 0;
4
+ exports.SystemModulesData = {
5
5
  Customers: {
6
6
  id: '9ff0b6f4-9c58-475b-b2dd-5eea6d7b66aa',
7
7
  name: 'Customers',
@@ -1 +1 @@
1
- {"version":3,"file":"system.enums.js","sourceRoot":"","sources":["../../src/system/system.enums.ts"],"names":[],"mappings":";;;AAAa,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE;QACT,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,WAAW;KAClB;IACD,SAAS,EAAE;QACT,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,WAAW;KAClB;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,UAAU;KACjB;IACD,KAAK,EAAE;QACL,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,OAAO;KACd;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,UAAU;KACjB;IACD,SAAS,EAAE;QACT,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,WAAW;KAClB;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,UAAU;KACjB;IACD,UAAU,EAAE;QACV,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,YAAY;KACnB;IACD,UAAU,EAAE;QACV,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,YAAY;KACnB;IACD,KAAK,EAAE;QACL,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,OAAO;KACd;IACD,WAAW,EAAE;QACX,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,aAAa;KACpB;CACF,CAAA;AAED,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC9B,iEAAS,CAAA;IACT,mEAAU,CAAA;IACV,iEAAS,CAAA;AACX,CAAC,EAJW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAI/B;AAED,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,yEAAY,CAAA;IACZ,uEAAW,CAAA;IACX,6EAAc,CAAA;AAChB,CAAC,EAJW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAIhC;AAED,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,mFAAgB,CAAA;IAChB,+EAAc,CAAA;AAChB,CAAC,EAHW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAGjC;AAED,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IAChC,2EAAY,CAAA;IACZ,uEAAU,CAAA;IACV,yEAAW,CAAA;AACb,CAAC,EAJW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAIjC;AAED,IAAY,iBAEX;AAFD,WAAY,iBAAiB;IAC3B,sDAAiC,CAAA;AACnC,CAAC,EAFW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAE5B;AAMD,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,uCAAiB,CAAA;IACjB,uCAAiB,CAAA;IACjB,yCAAmB,CAAA;AACrB,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B"}
1
+ {"version":3,"file":"system.enums.js","sourceRoot":"","sources":["../../src/system/system.enums.ts"],"names":[],"mappings":";;;AAAa,QAAA,iBAAiB,GAAG;IAC/B,SAAS,EAAE;QACT,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,WAAW;KAClB;IACD,SAAS,EAAE;QACT,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,WAAW;KAClB;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,UAAU;KACjB;IACD,KAAK,EAAE;QACL,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,OAAO;KACd;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,UAAU;KACjB;IACD,SAAS,EAAE;QACT,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,WAAW;KAClB;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,UAAU;KACjB;IACD,UAAU,EAAE;QACV,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,YAAY;KACnB;IACD,UAAU,EAAE;QACV,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,YAAY;KACnB;IACD,KAAK,EAAE;QACL,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,OAAO;KACd;IACD,WAAW,EAAE;QACX,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,aAAa;KACpB;CACF,CAAA;AAED,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC9B,iEAAS,CAAA;IACT,mEAAU,CAAA;IACV,iEAAS,CAAA;AACX,CAAC,EAJW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAI/B;AAED,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,yEAAY,CAAA;IACZ,uEAAW,CAAA;IACX,6EAAc,CAAA;AAChB,CAAC,EAJW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAIhC;AAED,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,mFAAgB,CAAA;IAChB,+EAAc,CAAA;AAChB,CAAC,EAHW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAGjC;AAED,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IAChC,2EAAY,CAAA;IACZ,uEAAU,CAAA;IACV,yEAAW,CAAA;AACb,CAAC,EAJW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAIjC;AAED,IAAY,iBAEX;AAFD,WAAY,iBAAiB;IAC3B,sDAAiC,CAAA;AACnC,CAAC,EAFW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAE5B;AAMD,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,uCAAiB,CAAA;IACjB,uCAAiB,CAAA;IACjB,yCAAmB,CAAA;AACrB,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.5.39",
3
+ "version": "0.5.41",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",