@cargolift-cdi/types 0.1.147 → 0.1.149

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.
@@ -5,6 +5,7 @@ export declare class IntegrationSystem {
5
5
  system: string;
6
6
  /** Se o sistema está ativo */
7
7
  active: boolean;
8
+ apiClientId?: string;
8
9
  createdAt: Date;
9
10
  updatedAt: Date;
10
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"integration-system.entity.d.ts","sourceRoot":"","sources":["../../src/entities/integration-system.entity.ts"],"names":[],"mappings":"AAaA,qBAEa,iBAAiB;IAC5B,mDAAmD;IAEnD,EAAE,EAAG,MAAM,CAAC;IAEZ,yDAAyD;IAEzD,MAAM,EAAG,MAAM,CAAC;IAEhB,8BAA8B;IAE9B,MAAM,EAAG,OAAO,CAAC;IAGjB,SAAS,EAAG,IAAI,CAAC;IAGjB,SAAS,EAAG,IAAI,CAAC;CAElB"}
1
+ {"version":3,"file":"integration-system.entity.d.ts","sourceRoot":"","sources":["../../src/entities/integration-system.entity.ts"],"names":[],"mappings":"AAaA,qBAEa,iBAAiB;IAC5B,mDAAmD;IAEnD,EAAE,EAAG,MAAM,CAAC;IAEZ,yDAAyD;IAEzD,MAAM,EAAG,MAAM,CAAC;IAEhB,8BAA8B;IAE9B,MAAM,EAAG,OAAO,CAAC;IAIjB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,SAAS,EAAG,IAAI,CAAC;IAGjB,SAAS,EAAG,IAAI,CAAC;CAElB"}
@@ -23,6 +23,8 @@ let IntegrationSystem = class IntegrationSystem {
23
23
  system;
24
24
  /** Se o sistema está ativo */
25
25
  active;
26
+ // Nome do usuário (clientId) no KeyCloak para consumir API do middleware
27
+ apiClientId;
26
28
  createdAt;
27
29
  updatedAt;
28
30
  };
@@ -35,6 +37,9 @@ __decorate([
35
37
  __decorate([
36
38
  Column({ type: 'boolean', default: true })
37
39
  ], IntegrationSystem.prototype, "active", void 0);
40
+ __decorate([
41
+ Column({ type: 'varchar', length: 80, nullable: true })
42
+ ], IntegrationSystem.prototype, "apiClientId", void 0);
38
43
  __decorate([
39
44
  CreateDateColumn({ name: "created_at", type: "timestamptz" })
40
45
  ], IntegrationSystem.prototype, "createdAt", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cargolift-cdi/types",
3
- "version": "0.1.147",
3
+ "version": "0.1.149",
4
4
  "description": "TypeScript types e interfaces comuns para projetos Cargolift CDI",
5
5
  "keywords": [
6
6
  "typescript",