@telos-dev-team/dealernode-permissions 1.1.23 → 1.1.25
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/permissions.d.ts +17 -4
- package/dist/permissions.js +17 -4
- package/package.json +1 -1
- package/src/permissions.ts +17 -4
package/dist/permissions.d.ts
CHANGED
|
@@ -181,7 +181,9 @@ export declare const PERMISSIONS: {
|
|
|
181
181
|
readonly OPERATIONS: {
|
|
182
182
|
readonly VIEW: "deal.financed.operations.view";
|
|
183
183
|
readonly VIEW_MY_DEALS: "deal.financed.operations.view_my_deals";
|
|
184
|
-
readonly
|
|
184
|
+
readonly CREATE: "deal.financed.operations.create";
|
|
185
|
+
readonly UPDATE: "deal.financed.operations.update";
|
|
186
|
+
readonly UPDATE_LIMITED: "deal.financed.operations.update_limited";
|
|
185
187
|
readonly FUND: "deal.financed.operations.fund";
|
|
186
188
|
readonly MANAGE: "deal.financed.operations.manage";
|
|
187
189
|
};
|
|
@@ -190,7 +192,9 @@ export declare const PERMISSIONS: {
|
|
|
190
192
|
readonly OPERATIONS: {
|
|
191
193
|
readonly VIEW: "deal.spot.operations.view";
|
|
192
194
|
readonly VIEW_MY_DEALS: "deal.spot.operations.view_my_deals";
|
|
193
|
-
readonly
|
|
195
|
+
readonly CREATE: "deal.spot.operations.create";
|
|
196
|
+
readonly UPDATE: "deal.spot.operations.update";
|
|
197
|
+
readonly UPDATE_LIMITED: "deal.spot.operations.update_limited";
|
|
194
198
|
readonly TRANSFORM: "deal.spot.operations.transform";
|
|
195
199
|
readonly MANAGE: "deal.spot.operations.manage";
|
|
196
200
|
};
|
|
@@ -199,7 +203,9 @@ export declare const PERMISSIONS: {
|
|
|
199
203
|
readonly OPERATIONS: {
|
|
200
204
|
readonly VIEW: "deal.cash.operations.view";
|
|
201
205
|
readonly VIEW_MY_DEALS: "deal.cash.operations.view_my_deals";
|
|
202
|
-
readonly
|
|
206
|
+
readonly CREATE: "deal.cash.operations.create";
|
|
207
|
+
readonly UPDATE: "deal.cash.operations.update";
|
|
208
|
+
readonly UPDATE_LIMITED: "deal.cash.operations.update_limited";
|
|
203
209
|
readonly MANAGE: "deal.cash.operations.manage";
|
|
204
210
|
};
|
|
205
211
|
};
|
|
@@ -207,7 +213,9 @@ export declare const PERMISSIONS: {
|
|
|
207
213
|
readonly OPERATIONS: {
|
|
208
214
|
readonly VIEW: "deal.bhph.operations.view";
|
|
209
215
|
readonly VIEW_MY_DEALS: "deal.bhph.operations.view_my_deals";
|
|
210
|
-
readonly
|
|
216
|
+
readonly CREATE: "deal.bhph.operations.create";
|
|
217
|
+
readonly UPDATE: "deal.bhph.operations.update";
|
|
218
|
+
readonly UPDATE_LIMITED: "deal.bhph.operations.update_limited";
|
|
211
219
|
readonly MANAGE: "deal.bhph.operations.manage";
|
|
212
220
|
};
|
|
213
221
|
readonly PAYMENTS: {
|
|
@@ -508,6 +516,11 @@ export declare const PERMISSIONS: {
|
|
|
508
516
|
readonly UPDATE: "car.comment.update";
|
|
509
517
|
readonly DELETE: "car.comment.delete";
|
|
510
518
|
};
|
|
519
|
+
readonly REPOSSESSION: {
|
|
520
|
+
readonly OPERATIONS: {
|
|
521
|
+
readonly VIEW: "car.repossession.operations.view";
|
|
522
|
+
};
|
|
523
|
+
};
|
|
511
524
|
};
|
|
512
525
|
readonly INVITATION: {
|
|
513
526
|
readonly OPERATIONS: {
|
package/dist/permissions.js
CHANGED
|
@@ -214,7 +214,9 @@ exports.PERMISSIONS = {
|
|
|
214
214
|
OPERATIONS: {
|
|
215
215
|
VIEW: "deal.financed.operations.view",
|
|
216
216
|
VIEW_MY_DEALS: "deal.financed.operations.view_my_deals",
|
|
217
|
-
|
|
217
|
+
CREATE: "deal.financed.operations.create",
|
|
218
|
+
UPDATE: "deal.financed.operations.update",
|
|
219
|
+
UPDATE_LIMITED: "deal.financed.operations.update_limited",
|
|
218
220
|
FUND: "deal.financed.operations.fund",
|
|
219
221
|
MANAGE: "deal.financed.operations.manage",
|
|
220
222
|
},
|
|
@@ -223,7 +225,9 @@ exports.PERMISSIONS = {
|
|
|
223
225
|
OPERATIONS: {
|
|
224
226
|
VIEW: "deal.spot.operations.view",
|
|
225
227
|
VIEW_MY_DEALS: "deal.spot.operations.view_my_deals",
|
|
226
|
-
|
|
228
|
+
CREATE: "deal.spot.operations.create",
|
|
229
|
+
UPDATE: "deal.spot.operations.update",
|
|
230
|
+
UPDATE_LIMITED: "deal.spot.operations.update_limited",
|
|
227
231
|
TRANSFORM: "deal.spot.operations.transform",
|
|
228
232
|
MANAGE: "deal.spot.operations.manage",
|
|
229
233
|
},
|
|
@@ -232,7 +236,9 @@ exports.PERMISSIONS = {
|
|
|
232
236
|
OPERATIONS: {
|
|
233
237
|
VIEW: "deal.cash.operations.view",
|
|
234
238
|
VIEW_MY_DEALS: "deal.cash.operations.view_my_deals",
|
|
235
|
-
|
|
239
|
+
CREATE: "deal.cash.operations.create",
|
|
240
|
+
UPDATE: "deal.cash.operations.update",
|
|
241
|
+
UPDATE_LIMITED: "deal.cash.operations.update_limited",
|
|
236
242
|
MANAGE: "deal.cash.operations.manage",
|
|
237
243
|
},
|
|
238
244
|
},
|
|
@@ -240,7 +246,9 @@ exports.PERMISSIONS = {
|
|
|
240
246
|
OPERATIONS: {
|
|
241
247
|
VIEW: "deal.bhph.operations.view",
|
|
242
248
|
VIEW_MY_DEALS: "deal.bhph.operations.view_my_deals",
|
|
243
|
-
|
|
249
|
+
CREATE: "deal.bhph.operations.create",
|
|
250
|
+
UPDATE: "deal.bhph.operations.update",
|
|
251
|
+
UPDATE_LIMITED: "deal.bhph.operations.update_limited",
|
|
244
252
|
MANAGE: "deal.bhph.operations.manage",
|
|
245
253
|
},
|
|
246
254
|
PAYMENTS: {
|
|
@@ -550,6 +558,11 @@ exports.PERMISSIONS = {
|
|
|
550
558
|
UPDATE: "car.comment.update",
|
|
551
559
|
DELETE: "car.comment.delete",
|
|
552
560
|
},
|
|
561
|
+
REPOSSESSION: {
|
|
562
|
+
OPERATIONS: {
|
|
563
|
+
VIEW: "car.repossession.operations.view",
|
|
564
|
+
},
|
|
565
|
+
},
|
|
553
566
|
},
|
|
554
567
|
// ============================================
|
|
555
568
|
// INVITATION
|
package/package.json
CHANGED
package/src/permissions.ts
CHANGED
|
@@ -220,7 +220,9 @@ export const PERMISSIONS = {
|
|
|
220
220
|
OPERATIONS: {
|
|
221
221
|
VIEW: "deal.financed.operations.view",
|
|
222
222
|
VIEW_MY_DEALS: "deal.financed.operations.view_my_deals",
|
|
223
|
-
|
|
223
|
+
CREATE: "deal.financed.operations.create",
|
|
224
|
+
UPDATE: "deal.financed.operations.update",
|
|
225
|
+
UPDATE_LIMITED: "deal.financed.operations.update_limited",
|
|
224
226
|
FUND: "deal.financed.operations.fund",
|
|
225
227
|
MANAGE: "deal.financed.operations.manage",
|
|
226
228
|
},
|
|
@@ -229,7 +231,9 @@ export const PERMISSIONS = {
|
|
|
229
231
|
OPERATIONS: {
|
|
230
232
|
VIEW: "deal.spot.operations.view",
|
|
231
233
|
VIEW_MY_DEALS: "deal.spot.operations.view_my_deals",
|
|
232
|
-
|
|
234
|
+
CREATE: "deal.spot.operations.create",
|
|
235
|
+
UPDATE: "deal.spot.operations.update",
|
|
236
|
+
UPDATE_LIMITED: "deal.spot.operations.update_limited",
|
|
233
237
|
TRANSFORM: "deal.spot.operations.transform",
|
|
234
238
|
MANAGE: "deal.spot.operations.manage",
|
|
235
239
|
},
|
|
@@ -238,7 +242,9 @@ export const PERMISSIONS = {
|
|
|
238
242
|
OPERATIONS: {
|
|
239
243
|
VIEW: "deal.cash.operations.view",
|
|
240
244
|
VIEW_MY_DEALS: "deal.cash.operations.view_my_deals",
|
|
241
|
-
|
|
245
|
+
CREATE: "deal.cash.operations.create",
|
|
246
|
+
UPDATE: "deal.cash.operations.update",
|
|
247
|
+
UPDATE_LIMITED: "deal.cash.operations.update_limited",
|
|
242
248
|
MANAGE: "deal.cash.operations.manage",
|
|
243
249
|
},
|
|
244
250
|
},
|
|
@@ -246,7 +252,9 @@ export const PERMISSIONS = {
|
|
|
246
252
|
OPERATIONS: {
|
|
247
253
|
VIEW: "deal.bhph.operations.view",
|
|
248
254
|
VIEW_MY_DEALS: "deal.bhph.operations.view_my_deals",
|
|
249
|
-
|
|
255
|
+
CREATE: "deal.bhph.operations.create",
|
|
256
|
+
UPDATE: "deal.bhph.operations.update",
|
|
257
|
+
UPDATE_LIMITED: "deal.bhph.operations.update_limited",
|
|
250
258
|
MANAGE: "deal.bhph.operations.manage",
|
|
251
259
|
},
|
|
252
260
|
PAYMENTS: {
|
|
@@ -559,6 +567,11 @@ export const PERMISSIONS = {
|
|
|
559
567
|
UPDATE: "car.comment.update",
|
|
560
568
|
DELETE: "car.comment.delete",
|
|
561
569
|
},
|
|
570
|
+
REPOSSESSION: {
|
|
571
|
+
OPERATIONS: {
|
|
572
|
+
VIEW: "car.repossession.operations.view",
|
|
573
|
+
},
|
|
574
|
+
},
|
|
562
575
|
},
|
|
563
576
|
|
|
564
577
|
// ============================================
|