@telos-dev-team/dealernode-permissions 1.1.8 → 1.1.9
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 +7 -0
- package/dist/permissions.js +7 -0
- package/package.json +1 -1
- package/src/permissions.ts +7 -0
package/dist/permissions.d.ts
CHANGED
|
@@ -204,6 +204,7 @@ export declare const PERMISSIONS: {
|
|
|
204
204
|
readonly TO_UNWIND: "deal.financed.operations.to_unwind";
|
|
205
205
|
readonly REVERT_TO_UNWIND: "deal.financed.operations.revert_to_unwind";
|
|
206
206
|
readonly REFRESH: "deal.financed.operations.refresh";
|
|
207
|
+
readonly MANAGE: "deal.financed.operations.manage";
|
|
207
208
|
};
|
|
208
209
|
};
|
|
209
210
|
readonly SPOT: {
|
|
@@ -224,6 +225,7 @@ export declare const PERMISSIONS: {
|
|
|
224
225
|
readonly TO_DEAD_DEAL: "deal.spot.operations.to_dead_deal";
|
|
225
226
|
readonly REVERT_TO_DEAD_DEAL: "deal.spot.operations.revert_to_dead_deal";
|
|
226
227
|
readonly REFRESH: "deal.spot.operations.refresh";
|
|
228
|
+
readonly MANAGE: "deal.spot.operations.manage";
|
|
227
229
|
};
|
|
228
230
|
};
|
|
229
231
|
readonly CASH: {
|
|
@@ -240,6 +242,7 @@ export declare const PERMISSIONS: {
|
|
|
240
242
|
readonly TO_DEAD_DEAL: "deal.cash.operations.to_dead_deal";
|
|
241
243
|
readonly REVERT_TO_DEAD_DEAL: "deal.cash.operations.revert_to_dead_deal";
|
|
242
244
|
readonly REFRESH: "deal.cash.operations.refresh";
|
|
245
|
+
readonly MANAGE: "deal.cash.operations.manage";
|
|
243
246
|
};
|
|
244
247
|
};
|
|
245
248
|
readonly BHPH: {
|
|
@@ -256,6 +259,7 @@ export declare const PERMISSIONS: {
|
|
|
256
259
|
readonly TO_DEAD_DEAL: "deal.bhph.operations.to_dead_deal";
|
|
257
260
|
readonly REVERT_TO_DEAD_DEAL: "deal.bhph.operations.revert_to_dead_deal";
|
|
258
261
|
readonly REFRESH: "deal.bhph.operations.refresh";
|
|
262
|
+
readonly MANAGE: "deal.bhph.operations.manage";
|
|
259
263
|
};
|
|
260
264
|
readonly PAYMENTS: {
|
|
261
265
|
readonly VIEW: "deal.bhph.payments.view";
|
|
@@ -316,6 +320,7 @@ export declare const PERMISSIONS: {
|
|
|
316
320
|
readonly REVERT_ARRIVE: "fail_deal.unwind.operations.revert_arrive";
|
|
317
321
|
readonly TO_REPO: "fail_deal.unwind.operations.to_repo";
|
|
318
322
|
readonly REFRESH: "fail_deal.unwind.operations.refresh";
|
|
323
|
+
readonly MANAGE: "fail_deal.unwind.operations.manage";
|
|
319
324
|
};
|
|
320
325
|
readonly FILES: {
|
|
321
326
|
readonly UPLOAD: "fail_deal.unwind.files.upload";
|
|
@@ -349,6 +354,7 @@ export declare const PERMISSIONS: {
|
|
|
349
354
|
readonly REVERT_ARRIVE: "fail_deal.dead_deal.operations.revert_arrive";
|
|
350
355
|
readonly TO_REPO: "fail_deal.dead_deal.operations.to_repo";
|
|
351
356
|
readonly REFRESH: "fail_deal.dead_deal.operations.refresh";
|
|
357
|
+
readonly MANAGE: "fail_deal.dead_deal.operations.manage";
|
|
352
358
|
};
|
|
353
359
|
};
|
|
354
360
|
readonly BUY_BACK: {
|
|
@@ -363,6 +369,7 @@ export declare const PERMISSIONS: {
|
|
|
363
369
|
readonly REVERT_ARRIVE: "fail_deal.buy_back.operations.revert_arrive";
|
|
364
370
|
readonly TO_REPO: "fail_deal.buy_back.operations.to_repo";
|
|
365
371
|
readonly REFRESH: "fail_deal.buy_back.operations.refresh";
|
|
372
|
+
readonly MANAGE: "fail_deal.buy_back.operations.manage";
|
|
366
373
|
};
|
|
367
374
|
readonly RESOURCES: {
|
|
368
375
|
readonly EXTRA: {
|
package/dist/permissions.js
CHANGED
|
@@ -237,6 +237,7 @@ exports.PERMISSIONS = {
|
|
|
237
237
|
TO_UNWIND: "deal.financed.operations.to_unwind",
|
|
238
238
|
REVERT_TO_UNWIND: "deal.financed.operations.revert_to_unwind",
|
|
239
239
|
REFRESH: "deal.financed.operations.refresh",
|
|
240
|
+
MANAGE: "deal.financed.operations.manage",
|
|
240
241
|
},
|
|
241
242
|
},
|
|
242
243
|
SPOT: {
|
|
@@ -257,6 +258,7 @@ exports.PERMISSIONS = {
|
|
|
257
258
|
TO_DEAD_DEAL: "deal.spot.operations.to_dead_deal",
|
|
258
259
|
REVERT_TO_DEAD_DEAL: "deal.spot.operations.revert_to_dead_deal",
|
|
259
260
|
REFRESH: "deal.spot.operations.refresh",
|
|
261
|
+
MANAGE: "deal.spot.operations.manage",
|
|
260
262
|
},
|
|
261
263
|
},
|
|
262
264
|
CASH: {
|
|
@@ -273,6 +275,7 @@ exports.PERMISSIONS = {
|
|
|
273
275
|
TO_DEAD_DEAL: "deal.cash.operations.to_dead_deal",
|
|
274
276
|
REVERT_TO_DEAD_DEAL: "deal.cash.operations.revert_to_dead_deal",
|
|
275
277
|
REFRESH: "deal.cash.operations.refresh",
|
|
278
|
+
MANAGE: "deal.cash.operations.manage",
|
|
276
279
|
},
|
|
277
280
|
},
|
|
278
281
|
BHPH: {
|
|
@@ -289,6 +292,7 @@ exports.PERMISSIONS = {
|
|
|
289
292
|
TO_DEAD_DEAL: "deal.bhph.operations.to_dead_deal",
|
|
290
293
|
REVERT_TO_DEAD_DEAL: "deal.bhph.operations.revert_to_dead_deal",
|
|
291
294
|
REFRESH: "deal.bhph.operations.refresh",
|
|
295
|
+
MANAGE: "deal.bhph.operations.manage",
|
|
292
296
|
},
|
|
293
297
|
PAYMENTS: {
|
|
294
298
|
VIEW: "deal.bhph.payments.view",
|
|
@@ -352,6 +356,7 @@ exports.PERMISSIONS = {
|
|
|
352
356
|
REVERT_ARRIVE: "fail_deal.unwind.operations.revert_arrive",
|
|
353
357
|
TO_REPO: "fail_deal.unwind.operations.to_repo",
|
|
354
358
|
REFRESH: "fail_deal.unwind.operations.refresh",
|
|
359
|
+
MANAGE: "fail_deal.unwind.operations.manage",
|
|
355
360
|
},
|
|
356
361
|
FILES: {
|
|
357
362
|
UPLOAD: "fail_deal.unwind.files.upload",
|
|
@@ -385,6 +390,7 @@ exports.PERMISSIONS = {
|
|
|
385
390
|
REVERT_ARRIVE: "fail_deal.dead_deal.operations.revert_arrive",
|
|
386
391
|
TO_REPO: "fail_deal.dead_deal.operations.to_repo",
|
|
387
392
|
REFRESH: "fail_deal.dead_deal.operations.refresh",
|
|
393
|
+
MANAGE: "fail_deal.dead_deal.operations.manage",
|
|
388
394
|
},
|
|
389
395
|
},
|
|
390
396
|
BUY_BACK: {
|
|
@@ -399,6 +405,7 @@ exports.PERMISSIONS = {
|
|
|
399
405
|
REVERT_ARRIVE: "fail_deal.buy_back.operations.revert_arrive",
|
|
400
406
|
TO_REPO: "fail_deal.buy_back.operations.to_repo",
|
|
401
407
|
REFRESH: "fail_deal.buy_back.operations.refresh",
|
|
408
|
+
MANAGE: "fail_deal.buy_back.operations.manage",
|
|
402
409
|
},
|
|
403
410
|
RESOURCES: {
|
|
404
411
|
EXTRA: {
|
package/package.json
CHANGED
package/src/permissions.ts
CHANGED
|
@@ -243,6 +243,7 @@ export const PERMISSIONS = {
|
|
|
243
243
|
TO_UNWIND: "deal.financed.operations.to_unwind",
|
|
244
244
|
REVERT_TO_UNWIND: "deal.financed.operations.revert_to_unwind",
|
|
245
245
|
REFRESH: "deal.financed.operations.refresh",
|
|
246
|
+
MANAGE: "deal.financed.operations.manage",
|
|
246
247
|
},
|
|
247
248
|
},
|
|
248
249
|
SPOT: {
|
|
@@ -263,6 +264,7 @@ export const PERMISSIONS = {
|
|
|
263
264
|
TO_DEAD_DEAL: "deal.spot.operations.to_dead_deal",
|
|
264
265
|
REVERT_TO_DEAD_DEAL: "deal.spot.operations.revert_to_dead_deal",
|
|
265
266
|
REFRESH: "deal.spot.operations.refresh",
|
|
267
|
+
MANAGE: "deal.spot.operations.manage",
|
|
266
268
|
},
|
|
267
269
|
},
|
|
268
270
|
CASH: {
|
|
@@ -279,6 +281,7 @@ export const PERMISSIONS = {
|
|
|
279
281
|
TO_DEAD_DEAL: "deal.cash.operations.to_dead_deal",
|
|
280
282
|
REVERT_TO_DEAD_DEAL: "deal.cash.operations.revert_to_dead_deal",
|
|
281
283
|
REFRESH: "deal.cash.operations.refresh",
|
|
284
|
+
MANAGE: "deal.cash.operations.manage",
|
|
282
285
|
},
|
|
283
286
|
},
|
|
284
287
|
BHPH: {
|
|
@@ -295,6 +298,7 @@ export const PERMISSIONS = {
|
|
|
295
298
|
TO_DEAD_DEAL: "deal.bhph.operations.to_dead_deal",
|
|
296
299
|
REVERT_TO_DEAD_DEAL: "deal.bhph.operations.revert_to_dead_deal",
|
|
297
300
|
REFRESH: "deal.bhph.operations.refresh",
|
|
301
|
+
MANAGE: "deal.bhph.operations.manage",
|
|
298
302
|
},
|
|
299
303
|
PAYMENTS: {
|
|
300
304
|
VIEW: "deal.bhph.payments.view",
|
|
@@ -359,6 +363,7 @@ export const PERMISSIONS = {
|
|
|
359
363
|
REVERT_ARRIVE: "fail_deal.unwind.operations.revert_arrive",
|
|
360
364
|
TO_REPO: "fail_deal.unwind.operations.to_repo",
|
|
361
365
|
REFRESH: "fail_deal.unwind.operations.refresh",
|
|
366
|
+
MANAGE: "fail_deal.unwind.operations.manage",
|
|
362
367
|
},
|
|
363
368
|
FILES: {
|
|
364
369
|
UPLOAD: "fail_deal.unwind.files.upload",
|
|
@@ -392,6 +397,7 @@ export const PERMISSIONS = {
|
|
|
392
397
|
REVERT_ARRIVE: "fail_deal.dead_deal.operations.revert_arrive",
|
|
393
398
|
TO_REPO: "fail_deal.dead_deal.operations.to_repo",
|
|
394
399
|
REFRESH: "fail_deal.dead_deal.operations.refresh",
|
|
400
|
+
MANAGE: "fail_deal.dead_deal.operations.manage",
|
|
395
401
|
},
|
|
396
402
|
},
|
|
397
403
|
BUY_BACK: {
|
|
@@ -406,6 +412,7 @@ export const PERMISSIONS = {
|
|
|
406
412
|
REVERT_ARRIVE: "fail_deal.buy_back.operations.revert_arrive",
|
|
407
413
|
TO_REPO: "fail_deal.buy_back.operations.to_repo",
|
|
408
414
|
REFRESH: "fail_deal.buy_back.operations.refresh",
|
|
415
|
+
MANAGE: "fail_deal.buy_back.operations.manage",
|
|
409
416
|
},
|
|
410
417
|
RESOURCES: {
|
|
411
418
|
EXTRA: {
|