@authenty/authapi-types 1.0.4 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/general.d.ts CHANGED
@@ -36,7 +36,7 @@ export type ProductLevel = {
36
36
  levelID: number;
37
37
  quantity: number;
38
38
  Bundle?: Bundle;
39
- }[];
39
+ }[] | undefined;
40
40
  };
41
41
  export type Course = {
42
42
  id: number;
@@ -185,6 +185,7 @@ export type LocalUser = {
185
185
  end_street?: string;
186
186
  end_zip?: string;
187
187
  email_verif: boolean;
188
+ fiscal_verif: boolean;
188
189
  terms: boolean;
189
190
  cpf?: string;
190
191
  newslatter?: boolean;
@@ -202,6 +203,12 @@ export type AdminUserConfig = {
202
203
  deletedAt: Date | null;
203
204
  userID: number;
204
205
  };
206
+ export type availableSoftware_auxType = {
207
+ Level: ProductLevel;
208
+ quantity: number;
209
+ purchaseId: number | null;
210
+ type: 'free' | 'own' | 'shared';
211
+ };
205
212
  export type LogEntry = {
206
213
  appId: string;
207
214
  logCode: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authenty/authapi-types",
3
- "version": "1.0.4",
3
+ "version": "1.0.7",
4
4
  "description": "Shared types for Authenty API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/general.ts CHANGED
@@ -39,7 +39,7 @@ export type ProductLevel = {
39
39
  levelID: number,
40
40
  quantity: number,
41
41
  Bundle?: Bundle
42
- }[];
42
+ }[] | undefined;
43
43
  }
44
44
 
45
45
  export type Course = {
@@ -197,6 +197,7 @@ export type LocalUser = {
197
197
  end_zip?: string,
198
198
 
199
199
  email_verif: boolean,
200
+ fiscal_verif: boolean,
200
201
  terms: boolean,
201
202
 
202
203
  cpf?: string,
@@ -218,6 +219,13 @@ export type AdminUserConfig = {
218
219
  userID: number
219
220
  }
220
221
 
222
+ export type availableSoftware_auxType = {
223
+ Level: ProductLevel,
224
+ quantity: number,//acessos simultâneos permitidos por esta COMPRA
225
+ purchaseId:number|null, //null when free
226
+ type: 'free'|'own'|'shared'
227
+ }
228
+
221
229
  // Tipos para logs do sistema
222
230
  export type LogEntry = {
223
231
  appId: string;