@spottoai/types-package 1.0.2-beta.87 → 1.0.2-beta.89

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/LICENSE CHANGED
@@ -1,43 +1,21 @@
1
- PROPRIETARY LICENSE AGREEMENT
1
+ MIT License
2
2
 
3
3
  Copyright (c) 2024 Spotto AI (www.spotto.ai)
4
4
 
5
- This software and associated documentation files (the "Software") are the proprietary
6
- and confidential information of Spotto AI. The Software is made available publicly
7
- solely for internal use by Spotto AI and its authorized projects.
8
-
9
- RESTRICTIONS:
10
-
11
- 1. NO PERMISSION TO USE: Except as expressly stated below, no person or entity is
12
- granted any right, title, or interest in or to the Software.
13
-
14
- 2. INTERNAL USE ONLY: The Software may only be used internally by Spotto AI and its
15
- authorized projects for development, testing, and deployment purposes.
16
-
17
- 3. NO REDISTRIBUTION: The Software may not be redistributed, sold, leased, or
18
- otherwise made available to third parties.
19
-
20
- 4. NO DERIVATIVE WORKS: No derivative works based on the Software may be created
21
- without explicit written permission from Spotto AI.
22
-
23
- 5. NO REVERSE ENGINEERING: Reverse engineering, disassembly, or decompilation of
24
- the Software is strictly prohibited.
25
-
26
- 6. NO COMMERCIAL USE: Commercial use of the Software by any entity other than
27
- Spotto AI is strictly prohibited.
28
-
29
- DISCLAIMER:
30
-
31
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
32
- INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
33
- PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
34
- HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
35
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
36
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
37
-
38
- VIOLATION:
39
-
40
- Any unauthorized use, distribution, or modification of this Software constitutes
41
- a violation of this license agreement and may result in legal action.
42
-
43
- For licensing inquiries, contact: contact@spotto.ai
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,23 +1,17 @@
1
1
  # Types Package
2
2
 
3
- A shared TypeScript interfaces package for private repositories. This package contains common interfaces that can be reused across your API, frontend, and backend projects.
4
- **⚠️ RESTRICTED USE - INTERNAL SPOTTO AI ONLY ⚠️**
5
-
6
- This is a proprietary TypeScript interfaces package for internal use by Spotto AI (www.spotto.ai) only. This package contains common interfaces that can be reused across Spotto AI's API, frontend, and backend projects.
7
-
8
- **IMPORTANT**: This repository is made public solely for internal sharing between Spotto AI projects. External use, distribution, or modification is strictly prohibited. See LICENSE file for full terms.
3
+ A shared TypeScript interfaces package. This package contains common interfaces that can be reused across your API, frontend, and backend projects.
9
4
 
10
5
  ## Features
11
6
 
12
7
  - **Shared Interfaces**: Common TypeScript interfaces for API requests/responses, database models, frontend components, and backend services
13
- - **Git Dependencies**: Designed to work with Git dependencies for private repositories
8
+ - **Git Dependencies**: Designed to work with Git dependencies
14
9
  - **TypeScript Declaration Files**: Built with declaration files for better IDE support
15
10
  - **Modular Structure**: Organized by domain (API, Database, Frontend, Backend)
16
11
 
17
12
  ## Installation
18
13
 
19
- Since this is a private repository, you'll need to use Git dependencies instead of npm. Add this to your consuming project's `package.json`:
20
- Since this is an internal Spotto AI package, you'll need to use Git dependencies. Add this to your consuming project's `package.json`:
14
+ Add this to your consuming project's `package.json`:
21
15
 
22
16
  ```json
23
17
  {
@@ -114,7 +108,4 @@ This package follows semantic versioning. When making changes:
114
108
 
115
109
  ## License
116
110
 
117
- MIT License - see LICENSE file for details
118
- **PROPRIETARY LICENSE** - This software is proprietary to Spotto AI and is made available publicly solely for internal use. External use, distribution, or modification is strictly prohibited. See LICENSE file for full terms and restrictions.
119
-
120
- For licensing inquiries, contact: legal@spotto.ai
111
+ MIT License - see LICENSE file for details
@@ -30,6 +30,7 @@ export interface UserCompany {
30
30
  email: string;
31
31
  companyId: string;
32
32
  companyName: string;
33
+ userId: string;
33
34
  role: number;
34
35
  }
35
36
  export interface CompanyIntegrations {
@@ -1 +1 @@
1
- {"version":3,"file":"company.d.ts","sourceRoot":"","sources":["../../src/company/company.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE1D,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,SAAS,EAAE,MA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.87",
3
+ "version": "1.0.2-beta.89",
4
4
  "description": "Shared TypeScript interfaces for SpottoAI",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",