@fiado/type-kit 3.85.0 → 3.86.0

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.
@@ -1,6 +1,6 @@
1
1
  // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
2
 
3
- exports[`PERMISSION_BIT_ORDER PERMS_VERSION es número estable 1`] = `2301550724`;
3
+ exports[`PERMISSION_BIT_ORDER PERMS_VERSION es número estable 1`] = `3492726697`;
4
4
 
5
5
  exports[`PERMISSION_BIT_ORDER append-only: snapshot del ORDEN COMPLETO (rompe ante cualquier reorden/inserción) 1`] = `
6
6
  [
@@ -119,5 +119,6 @@ exports[`PERMISSION_BIT_ORDER append-only: snapshot del ORDEN COMPLETO (rompe an
119
119
  "agents.catalog.view",
120
120
  "agents.group.manage",
121
121
  "agents.group.user.manage",
122
+ "agents.person.create",
122
123
  ]
123
124
  `;
@@ -130,6 +130,7 @@ export declare enum Permission {
130
130
  AGENTS_PERSON_SEARCH = "agents.person.search",
131
131
  AGENTS_PERSON_VIEW = "agents.person.view",
132
132
  AGENTS_PERSON_UPDATE = "agents.person.update",
133
+ AGENTS_PERSON_CREATE = "agents.person.create",
133
134
  AGENTS_DOCUMENT_VIEW = "agents.document.view",
134
135
  AGENTS_DOCUMENT_UPLOAD = "agents.document.upload",
135
136
  AGENTS_ADDRESS_VIEW = "agents.address.view",
@@ -171,6 +171,7 @@ var Permission;
171
171
  Permission["AGENTS_PERSON_SEARCH"] = "agents.person.search";
172
172
  Permission["AGENTS_PERSON_VIEW"] = "agents.person.view";
173
173
  Permission["AGENTS_PERSON_UPDATE"] = "agents.person.update";
174
+ Permission["AGENTS_PERSON_CREATE"] = "agents.person.create";
174
175
  Permission["AGENTS_DOCUMENT_VIEW"] = "agents.document.view";
175
176
  Permission["AGENTS_DOCUMENT_UPLOAD"] = "agents.document.upload";
176
177
  Permission["AGENTS_ADDRESS_VIEW"] = "agents.address.view";
@@ -317,6 +318,9 @@ exports.PERMISSION_BIT_ORDER = [
317
318
  Permission.AGENTS_CATALOG_VIEW,
318
319
  Permission.AGENTS_GROUP_MANAGE,
319
320
  Permission.AGENTS_GROUP_USER_MANAGE,
321
+ // Append-only: nuevo permiso agregado 2026-06-18 (DEC-A2-02). Va al FINAL para no correr los bits
322
+ // existentes (PERMS_VERSION cambia, pero los índices previos se conservan).
323
+ Permission.AGENTS_PERSON_CREATE,
320
324
  ];
321
325
  function djb2(input) {
322
326
  let h = 5381;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "3.85.0",
3
+ "version": "3.86.0",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -172,6 +172,7 @@ export enum Permission {
172
172
  AGENTS_PERSON_SEARCH = 'agents.person.search',
173
173
  AGENTS_PERSON_VIEW = 'agents.person.view',
174
174
  AGENTS_PERSON_UPDATE = 'agents.person.update',
175
+ AGENTS_PERSON_CREATE = 'agents.person.create',
175
176
  AGENTS_DOCUMENT_VIEW = 'agents.document.view',
176
177
  AGENTS_DOCUMENT_UPLOAD = 'agents.document.upload',
177
178
  AGENTS_ADDRESS_VIEW = 'agents.address.view',
@@ -319,6 +320,9 @@ export const PERMISSION_BIT_ORDER: readonly Permission[] = [
319
320
  Permission.AGENTS_CATALOG_VIEW,
320
321
  Permission.AGENTS_GROUP_MANAGE,
321
322
  Permission.AGENTS_GROUP_USER_MANAGE,
323
+ // Append-only: nuevo permiso agregado 2026-06-18 (DEC-A2-02). Va al FINAL para no correr los bits
324
+ // existentes (PERMS_VERSION cambia, pero los índices previos se conservan).
325
+ Permission.AGENTS_PERSON_CREATE,
322
326
  ] as const;
323
327
 
324
328
  function djb2(input: string): number {