@coast/service-common 2.0.85 → 2.0.86

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.
@@ -0,0 +1,4 @@
1
+ import { TokenActorType } from './TokenActorType';
2
+ export interface AgentTokenActor {
3
+ type: TokenActorType.AGENT;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AgentTokenActor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AgentTokenActor.js","sourceRoot":"","sources":["../../lib/auth/AgentTokenActor.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import { TokenActorType } from './TokenActorType';
2
+ export interface SupportTokenActor {
3
+ type: TokenActorType.SUPPORT;
4
+ email: string;
5
+ ticketReferenceId: string;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=SupportTokenActor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupportTokenActor.js","sourceRoot":"","sources":["../../lib/auth/SupportTokenActor.ts"],"names":[],"mappings":""}
@@ -1,4 +1,3 @@
1
- import { TokenActorType } from './TokenActorType';
2
- export interface TokenActor {
3
- type: TokenActorType;
4
- }
1
+ import { AgentTokenActor } from './AgentTokenActor';
2
+ import { SupportTokenActor } from './SupportTokenActor';
3
+ export type TokenActor = AgentTokenActor | SupportTokenActor;
@@ -1,3 +1,4 @@
1
1
  export declare enum TokenActorType {
2
- AGENT = "agent"
2
+ AGENT = "AGENT",
3
+ SUPPORT = "SUPPORT"
3
4
  }
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TokenActorType = void 0;
4
4
  var TokenActorType;
5
5
  (function (TokenActorType) {
6
- TokenActorType["AGENT"] = "agent";
6
+ TokenActorType["AGENT"] = "AGENT";
7
+ TokenActorType["SUPPORT"] = "SUPPORT";
7
8
  })(TokenActorType || (exports.TokenActorType = TokenActorType = {}));
8
9
  //# sourceMappingURL=TokenActorType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TokenActorType.js","sourceRoot":"","sources":["../../lib/auth/TokenActorType.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAEX;AAFD,WAAY,cAAc;IACtB,iCAAe,CAAA;AACnB,CAAC,EAFW,cAAc,8BAAd,cAAc,QAEzB"}
1
+ {"version":3,"file":"TokenActorType.js","sourceRoot":"","sources":["../../lib/auth/TokenActorType.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAGX;AAHD,WAAY,cAAc;IACtB,iCAAe,CAAA;IACf,qCAAmB,CAAA;AACvB,CAAC,EAHW,cAAc,8BAAd,cAAc,QAGzB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coast/service-common",
3
- "version": "2.0.85",
3
+ "version": "2.0.86",
4
4
  "description": "Common service package",
5
5
  "engines": {
6
6
  "node": ">=24.0.0"