@authenty/authapi-types 1.0.3 → 1.0.4
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 +17 -11
- package/package.json +1 -1
- package/src/general.ts +17 -11
package/dist/general.d.ts
CHANGED
|
@@ -100,27 +100,27 @@ export type Bundle = {
|
|
|
100
100
|
showInSite: boolean;
|
|
101
101
|
defaultMetaArray: string;
|
|
102
102
|
deletedAt?: string | null;
|
|
103
|
-
Levels?:
|
|
103
|
+
Levels?: {
|
|
104
104
|
id: number;
|
|
105
105
|
bundleID: number;
|
|
106
106
|
levelID: number;
|
|
107
107
|
quantity: number;
|
|
108
108
|
Level: ProductLevel;
|
|
109
|
-
}
|
|
110
|
-
Courses?:
|
|
109
|
+
}[];
|
|
110
|
+
Courses?: {
|
|
111
111
|
id: number;
|
|
112
112
|
bundleID: number;
|
|
113
113
|
courseID: number;
|
|
114
114
|
quantity: number;
|
|
115
115
|
Course: Course;
|
|
116
|
-
}
|
|
117
|
-
Consultancies?:
|
|
116
|
+
}[];
|
|
117
|
+
Consultancies?: {
|
|
118
118
|
id: number;
|
|
119
119
|
bundleID: number;
|
|
120
120
|
consultancyID: number;
|
|
121
121
|
quantity: number;
|
|
122
122
|
Consultancy: Consultancy;
|
|
123
|
-
}
|
|
123
|
+
}[];
|
|
124
124
|
store_bundles_paymethod: PaymentMethod[];
|
|
125
125
|
};
|
|
126
126
|
export type PaymentMethod = {
|
|
@@ -152,6 +152,11 @@ export type Purchase = {
|
|
|
152
152
|
nfUrl?: string;
|
|
153
153
|
isAdmin?: boolean;
|
|
154
154
|
meta_data?: Record<string, any>;
|
|
155
|
+
PurchaseShares?: PurchaseShare[];
|
|
156
|
+
Levels?: {
|
|
157
|
+
Level: ProductLevel;
|
|
158
|
+
quant: number;
|
|
159
|
+
}[];
|
|
155
160
|
};
|
|
156
161
|
export type Wallet = {
|
|
157
162
|
id: number;
|
|
@@ -189,13 +194,14 @@ export type LocalUser = {
|
|
|
189
194
|
date_r?: Date | string | null;
|
|
190
195
|
Wallets?: Wallet[];
|
|
191
196
|
PurchasesShares?: PurchaseShare[];
|
|
192
|
-
Sys_admUser_config?:
|
|
193
|
-
campaigns_blacklist: string;
|
|
194
|
-
deletedAt: Date | null;
|
|
195
|
-
userID: number;
|
|
196
|
-
};
|
|
197
|
+
Sys_admUser_config?: AdminUserConfig;
|
|
197
198
|
Sys_adminUser?: PrivilegeTable;
|
|
198
199
|
};
|
|
200
|
+
export type AdminUserConfig = {
|
|
201
|
+
campaigns_blacklist: string;
|
|
202
|
+
deletedAt: Date | null;
|
|
203
|
+
userID: number;
|
|
204
|
+
};
|
|
199
205
|
export type LogEntry = {
|
|
200
206
|
appId: string;
|
|
201
207
|
logCode: number;
|
package/package.json
CHANGED
package/src/general.ts
CHANGED
|
@@ -106,27 +106,27 @@ export type Bundle = {
|
|
|
106
106
|
showInSite: boolean;
|
|
107
107
|
defaultMetaArray: string;
|
|
108
108
|
deletedAt?: string | null;
|
|
109
|
-
Levels?:
|
|
109
|
+
Levels?: {
|
|
110
110
|
id: number;
|
|
111
111
|
bundleID: number;
|
|
112
112
|
levelID: number;
|
|
113
113
|
quantity: number;
|
|
114
114
|
Level: ProductLevel;
|
|
115
|
-
}
|
|
116
|
-
Courses?:
|
|
115
|
+
}[];
|
|
116
|
+
Courses?: {
|
|
117
117
|
id: number;
|
|
118
118
|
bundleID: number;
|
|
119
119
|
courseID: number;
|
|
120
120
|
quantity: number;
|
|
121
121
|
Course: Course;
|
|
122
|
-
}
|
|
123
|
-
Consultancies?:
|
|
122
|
+
}[];
|
|
123
|
+
Consultancies?: {
|
|
124
124
|
id: number;
|
|
125
125
|
bundleID: number;
|
|
126
126
|
consultancyID: number;
|
|
127
127
|
quantity: number;
|
|
128
128
|
Consultancy: Consultancy;
|
|
129
|
-
}
|
|
129
|
+
}[];
|
|
130
130
|
store_bundles_paymethod: PaymentMethod[];
|
|
131
131
|
}
|
|
132
132
|
|
|
@@ -160,6 +160,11 @@ export type Purchase = {
|
|
|
160
160
|
nfUrl?: string;
|
|
161
161
|
isAdmin?: boolean;
|
|
162
162
|
meta_data?: Record<string, any>;
|
|
163
|
+
PurchaseShares?: PurchaseShare[];
|
|
164
|
+
Levels?: {
|
|
165
|
+
Level: ProductLevel
|
|
166
|
+
quant: number
|
|
167
|
+
}[]
|
|
163
168
|
}
|
|
164
169
|
|
|
165
170
|
export type Wallet = {
|
|
@@ -204,13 +209,14 @@ export type LocalUser = {
|
|
|
204
209
|
Wallets?: Wallet[];
|
|
205
210
|
PurchasesShares?: PurchaseShare[];
|
|
206
211
|
|
|
207
|
-
Sys_admUser_config?:
|
|
208
|
-
campaigns_blacklist:string,
|
|
209
|
-
deletedAt: Date | null,
|
|
210
|
-
userID: number
|
|
211
|
-
},
|
|
212
|
+
Sys_admUser_config?: AdminUserConfig,
|
|
212
213
|
Sys_adminUser?: PrivilegeTable
|
|
213
214
|
}
|
|
215
|
+
export type AdminUserConfig = {
|
|
216
|
+
campaigns_blacklist:string,
|
|
217
|
+
deletedAt: Date | null,
|
|
218
|
+
userID: number
|
|
219
|
+
}
|
|
214
220
|
|
|
215
221
|
// Tipos para logs do sistema
|
|
216
222
|
export type LogEntry = {
|