spotcharge-types 1.0.321 → 1.0.323

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.
@@ -20,5 +20,14 @@ export interface PermissionGroupDetailApiModel extends PermissionGroupListItemAp
20
20
  export interface UpdatePermissionGroupRequest {
21
21
  name?: string;
22
22
  order?: number;
23
+ /** Replaces permissions assigned to this group (keys must exist in catalog). */
24
+ permissionKeys?: string[];
25
+ }
26
+ /** POST /api/users/permission-groups */
27
+ export interface CreatePermissionGroupRequest {
28
+ name: string;
29
+ order?: number;
30
+ /** Permission keys to assign to the new group (must not belong to another group). */
31
+ permissionKeys?: string[];
23
32
  }
24
33
  //# sourceMappingURL=permission-group.api.model.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"permission-group.api.model.d.ts","sourceRoot":"","sources":["../../../../src/models/api/users/permission-group.api.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,uBAAuB,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAE5F,uCAAuC;AACvC,MAAM,WAAW,+BAA+B;IAC9C,mCAAmC;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,2CAA2C;AAC3C,MAAM,WAAW,6BACf,SAAQ,+BAA+B,EACrC,uBAAuB;IACzB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,6BAA6B,CAAC,CAAC;IAC3D,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,UAAU,GAAG,IAAI,CAAC;IAC7B,SAAS,EAAE,UAAU,GAAG,IAAI,CAAC;IAC7B,SAAS,EAAE,UAAU,GAAG,IAAI,CAAC;CAC9B;AAED,6CAA6C;AAC7C,MAAM,WAAW,4BAA4B;IAC3C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"permission-group.api.model.d.ts","sourceRoot":"","sources":["../../../../src/models/api/users/permission-group.api.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,uBAAuB,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAE5F,uCAAuC;AACvC,MAAM,WAAW,+BAA+B;IAC9C,mCAAmC;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,2CAA2C;AAC3C,MAAM,WAAW,6BACf,SAAQ,+BAA+B,EACrC,uBAAuB;IACzB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,6BAA6B,CAAC,CAAC;IAC3D,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,UAAU,GAAG,IAAI,CAAC;IAC7B,SAAS,EAAE,UAAU,GAAG,IAAI,CAAC;IAC7B,SAAS,EAAE,UAAU,GAAG,IAAI,CAAC;CAC9B;AAED,6CAA6C;AAC7C,MAAM,WAAW,4BAA4B;IAC3C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gFAAgF;IAChF,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B;AAED,wCAAwC;AACxC,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qFAAqF;IACrF,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spotcharge-types",
3
- "version": "1.0.321",
3
+ "version": "1.0.323",
4
4
  "description": "Spotcharge types",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -25,4 +25,14 @@ export interface PermissionGroupDetailApiModel
25
25
  export interface UpdatePermissionGroupRequest {
26
26
  name?: string;
27
27
  order?: number;
28
+ /** Replaces permissions assigned to this group (keys must exist in catalog). */
29
+ permissionKeys?: string[];
30
+ }
31
+
32
+ /** POST /api/users/permission-groups */
33
+ export interface CreatePermissionGroupRequest {
34
+ name: string;
35
+ order?: number;
36
+ /** Permission keys to assign to the new group (must not belong to another group). */
37
+ permissionKeys?: string[];
28
38
  }