@abyss-project/main 28.2.0 → 30.0.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.
Files changed (106) hide show
  1. package/dist/api/application-environment.admin.api.d.ts +3 -0
  2. package/dist/api/application-environment.admin.api.js +13 -0
  3. package/dist/api/application-environment.admin.api.js.map +1 -0
  4. package/dist/api/application-environment.api.d.ts +5 -0
  5. package/dist/api/application-environment.api.js +21 -0
  6. package/dist/api/application-environment.api.js.map +1 -0
  7. package/dist/api/index.d.ts +2 -0
  8. package/dist/api/index.js +2 -0
  9. package/dist/api/index.js.map +1 -1
  10. package/dist/constants/demo-scenarios.constants.js +1 -0
  11. package/dist/constants/demo-scenarios.constants.js.map +1 -1
  12. package/dist/constants/enforcement-registry.constants.js +1 -1
  13. package/dist/constants/enforcement-registry.constants.js.map +1 -1
  14. package/dist/constants/tests/billing-catalog.constants.spec.js +3 -3
  15. package/dist/constants/tests/billing-catalog.constants.spec.js.map +1 -1
  16. package/dist/index.d.ts +12 -0
  17. package/dist/index.js +12 -0
  18. package/dist/index.js.map +1 -1
  19. package/dist/translate/en.translate.d.ts +10 -10
  20. package/dist/translate/en.translate.js +10 -10
  21. package/dist/translate/en.translate.js.map +1 -1
  22. package/dist/translate/fr.translate.d.ts +10 -10
  23. package/dist/translate/fr.translate.js +10 -10
  24. package/dist/translate/fr.translate.js.map +1 -1
  25. package/dist/translate/tests/{internal-ticket-notifications.spec.js → desk-ticket-notifications.spec.js} +12 -12
  26. package/dist/translate/tests/desk-ticket-notifications.spec.js.map +1 -0
  27. package/dist/types/desk-reporter-token.d.ts +6 -0
  28. package/dist/types/desk-reporter-token.js +5 -0
  29. package/dist/types/desk-reporter-token.js.map +1 -0
  30. package/dist/types/enum/abyss-application-event.enum.d.ts +27 -27
  31. package/dist/types/enum/abyss-application-event.enum.js +27 -27
  32. package/dist/types/enum/abyss-application-event.enum.js.map +1 -1
  33. package/dist/types/enum/api-error.enum.d.ts +3 -1
  34. package/dist/types/enum/api-error.enum.js +2 -0
  35. package/dist/types/enum/api-error.enum.js.map +1 -1
  36. package/dist/types/enum/content-scope.enum.d.ts +4 -1
  37. package/dist/types/enum/content-scope.enum.js +3 -0
  38. package/dist/types/enum/content-scope.enum.js.map +1 -1
  39. package/dist/types/enum/email-type.enum.d.ts +13 -13
  40. package/dist/types/enum/email-type.enum.js +13 -13
  41. package/dist/types/enum/email-type.enum.js.map +1 -1
  42. package/dist/types/enum/environment-kind.enum.d.ts +4 -0
  43. package/dist/types/enum/environment-kind.enum.js +9 -0
  44. package/dist/types/enum/environment-kind.enum.js.map +1 -0
  45. package/dist/types/enum/index.d.ts +1 -0
  46. package/dist/types/enum/index.js +1 -0
  47. package/dist/types/enum/index.js.map +1 -1
  48. package/dist/types/enum/tests/email-type.desk-reporter.spec.js +27 -0
  49. package/dist/types/enum/tests/email-type.desk-reporter.spec.js.map +1 -0
  50. package/dist/types/enum/tests/user-notification-content-type.enum.spec.js +10 -10
  51. package/dist/types/enum/tests/user-notification-content-type.enum.spec.js.map +1 -1
  52. package/dist/types/enum/user-notification-category.enum.js +16 -16
  53. package/dist/types/enum/user-notification-category.enum.js.map +1 -1
  54. package/dist/types/enum/user-notification-content-type.enum.d.ts +20 -20
  55. package/dist/types/enum/user-notification-content-type.enum.js +11 -11
  56. package/dist/types/enum/user-notification-content-type.enum.js.map +1 -1
  57. package/dist/types/index.d.ts +1 -1
  58. package/dist/types/index.js +1 -1
  59. package/dist/types/index.js.map +1 -1
  60. package/dist/types/interface/api/index.d.ts +4 -0
  61. package/dist/types/interface/api/index.js +4 -0
  62. package/dist/types/interface/api/index.js.map +1 -1
  63. package/dist/types/interface/api/requests/application-environment.admin.request.d.ts +6 -0
  64. package/dist/types/interface/api/requests/application-environment.admin.request.js +3 -0
  65. package/dist/types/interface/api/requests/application-environment.admin.request.js.map +1 -0
  66. package/dist/types/interface/api/requests/application-environment.request.d.ts +24 -0
  67. package/dist/types/interface/api/requests/application-environment.request.js +3 -0
  68. package/dist/types/interface/api/requests/application-environment.request.js.map +1 -0
  69. package/dist/types/interface/api/requests/index.d.ts +2 -0
  70. package/dist/types/interface/api/requests/index.js +2 -0
  71. package/dist/types/interface/api/requests/index.js.map +1 -1
  72. package/dist/types/interface/api/requests/organization-external-identity.admin.request.d.ts +5 -5
  73. package/dist/types/interface/api/requests/project-access.admin.request.d.ts +3 -1
  74. package/dist/types/interface/api/requests/project-api-key.request.d.ts +1 -0
  75. package/dist/types/interface/api/responses/application-environment.admin.response.d.ts +10 -0
  76. package/dist/types/interface/api/responses/application-environment.admin.response.js +3 -0
  77. package/dist/types/interface/api/responses/application-environment.admin.response.js.map +1 -0
  78. package/dist/types/interface/api/responses/application-environment.response.d.ts +15 -0
  79. package/dist/types/interface/api/responses/application-environment.response.js +3 -0
  80. package/dist/types/interface/api/responses/application-environment.response.js.map +1 -0
  81. package/dist/types/interface/api/responses/index.d.ts +2 -0
  82. package/dist/types/interface/api/responses/index.js +2 -0
  83. package/dist/types/interface/api/responses/index.js.map +1 -1
  84. package/dist/types/interface/api/responses/project-access.admin.response.d.ts +1 -0
  85. package/dist/types/interface/index.d.ts +1 -0
  86. package/dist/types/interface/index.js +1 -0
  87. package/dist/types/interface/index.js.map +1 -1
  88. package/dist/types/interface/models/application-environment.model.d.ts +15 -0
  89. package/dist/types/interface/models/application-environment.model.js +7 -0
  90. package/dist/types/interface/models/application-environment.model.js.map +1 -0
  91. package/dist/types/interface/models/content-ownership.model.d.ts +7 -0
  92. package/dist/types/interface/models/index.d.ts +1 -0
  93. package/dist/types/interface/models/index.js +1 -0
  94. package/dist/types/interface/models/index.js.map +1 -1
  95. package/dist/types/interface/models/project-api-key-application-access.model.d.ts +3 -0
  96. package/dist/types/tests/desk-reporter-token.spec.js +9 -0
  97. package/dist/types/tests/desk-reporter-token.spec.js.map +1 -0
  98. package/package.json +1 -1
  99. package/dist/translate/tests/internal-ticket-notifications.spec.js.map +0 -1
  100. package/dist/types/enum/tests/email-type.internal-ticket-reporter.spec.js +0 -27
  101. package/dist/types/enum/tests/email-type.internal-ticket-reporter.spec.js.map +0 -1
  102. package/dist/types/tests/internal-ticket-reporter-token.spec.js +0 -9
  103. package/dist/types/tests/internal-ticket-reporter-token.spec.js.map +0 -1
  104. /package/dist/translate/tests/{internal-ticket-notifications.spec.d.ts → desk-ticket-notifications.spec.d.ts} +0 -0
  105. /package/dist/types/enum/tests/{email-type.internal-ticket-reporter.spec.d.ts → email-type.desk-reporter.spec.d.ts} +0 -0
  106. /package/dist/types/tests/{internal-ticket-reporter-token.spec.d.ts → desk-reporter-token.spec.d.ts} +0 -0
@@ -28,6 +28,8 @@ __exportStar(require("./requests/gift-code.request"), exports);
28
28
  __exportStar(require("./requests/gift-code.admin.request"), exports);
29
29
  __exportStar(require("./requests/application.request"), exports);
30
30
  __exportStar(require("./requests/application.admin.request"), exports);
31
+ __exportStar(require("./requests/application-environment.request"), exports);
32
+ __exportStar(require("./requests/application-environment.admin.request"), exports);
31
33
  __exportStar(require("./requests/project.admin.request"), exports);
32
34
  __exportStar(require("./requests/project.request"), exports);
33
35
  __exportStar(require("./requests/project-access.admin.request"), exports);
@@ -54,6 +56,8 @@ __exportStar(require("./responses/metrics.admin.response"), exports);
54
56
  __exportStar(require("./responses/monitor.response"), exports);
55
57
  __exportStar(require("./responses/application.response"), exports);
56
58
  __exportStar(require("./responses/application.admin.response"), exports);
59
+ __exportStar(require("./responses/application-environment.response"), exports);
60
+ __exportStar(require("./responses/application-environment.admin.response"), exports);
57
61
  __exportStar(require("./responses/project.admin.response"), exports);
58
62
  __exportStar(require("./responses/project.response"), exports);
59
63
  __exportStar(require("./responses/project-access.admin.response"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/interface/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,0DAAwC;AACxC,4DAA0C;AAC1C,+DAA6C;AAE7C,0DAAwC;AACxC,0DAAwC;AAC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zD,gFAA8D;AAC9D,kFAAgE;AAChE,mEAAiD;AACjD,qEAAmD;AACnD,0DAAwC;AACxC,4DAA0C;AAC1C,qEAAmD;AACnD,uEAAqD;AAGrD,sEAAoD;AACpD,wEAAsD;AAEtD,kEAAgD;AAChD,oEAAkD;AAClD,4EAA0D;AAC1D,8EAA4D;AAE5D,mEAAiD;AACjD,qEAAmD;AAEnD,yEAAuD;AACvD,2EAAyD;AAEzD,oEAAkD;AAClD,wEAAsD;AACtD,0EAAwD;AACxD,sEAAoD;AAEpD,gEAA8C;AAC9C,kEAAgD;AAEhD,sEAAoD;AACpD,wEAAsD;AAEtD,yEAAuD;AACvD,2EAAyD;AAGzD,2EAAyD;AACzD,6EAA2D;AAG3D,6DAA2C;AAC3C,+DAA6C;AAG7C,oEAAkD;AAClD,sEAAoD;AAGpD,qEAAmD;AACnD,uEAAqD;AAGrD,6DAA2C;AAC3C,+DAA6C;AAG7C,yDAAuC;AACvC,2DAAyC;AAGzC,8DAA4C;AAC5C,gEAA8C;AAG9C,2EAAyD;AACzD,6EAA2D;AAG3D,oEAAkD;AAClD,iFAA+D;AAC/D,sEAAoD;AACpD,mFAAiE;AAGjE,oEAAkD;AAClD,sEAAoD;AACpD,4EAA0D;AAC1D,8EAA4D;AAC5D,iFAA+D;AAC/D,mFAAiE;AAGjE,mEAAiD;AACjD,yEAAuD;AACvD,qEAAmD;AACnD,2EAAyD;AAGzD,6DAA2C;AAC3C,mEAAiD;AACjD,+DAA6C;AAC7C,qEAAmD;AAGnD,wEAAsD;AACtD,yFAAuE;AACvE,2EAAyD;AACzD,0EAAwD;AACxD,2FAAyE;AACzE,6EAA2D;AAC3D,gEAA8C;AAC9C,qEAAmD;AACnD,kEAAgD;AAChD,4DAA0C;AAG1C,sEAAoD;AACpD,wEAAsD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/interface/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,0DAAwC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D"}
@@ -0,0 +1,6 @@
1
+ export interface IListByApplicationApplicationEnvironmentAdminParams {
2
+ applicationId: string;
3
+ }
4
+ export interface IGetApplicationEnvironmentAdminParams {
5
+ applicationEnvironmentId: string;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=application-environment.admin.request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"application-environment.admin.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/application-environment.admin.request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,24 @@
1
+ import { EnvironmentKind } from '../../../enum';
2
+ export interface IListApplicationEnvironmentParams {
3
+ applicationId: string;
4
+ }
5
+ export interface ICreateApplicationEnvironmentParams {
6
+ applicationId: string;
7
+ }
8
+ export interface ICreateApplicationEnvironmentBody {
9
+ name: string;
10
+ kind: EnvironmentKind;
11
+ expiresAt?: Date | null;
12
+ }
13
+ export interface IUpdateApplicationEnvironmentParams {
14
+ applicationId: string;
15
+ applicationEnvironmentId: string;
16
+ }
17
+ export interface IUpdateApplicationEnvironmentBody {
18
+ kind?: EnvironmentKind;
19
+ expiresAt?: Date | null;
20
+ }
21
+ export interface IDeleteApplicationEnvironmentParams {
22
+ applicationId: string;
23
+ applicationEnvironmentId: string;
24
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=application-environment.request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"application-environment.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/application-environment.request.ts"],"names":[],"mappings":""}
@@ -1,6 +1,8 @@
1
1
  export * from './admin-audit-log.admin.request';
2
2
  export * from './application.admin.request';
3
3
  export * from './application.request';
4
+ export * from './application-environment.request';
5
+ export * from './application-environment.admin.request';
4
6
  export * from './asset.request';
5
7
  export * from './auth.request';
6
8
  export * from './auth-email-code.request';
@@ -17,6 +17,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./admin-audit-log.admin.request"), exports);
18
18
  __exportStar(require("./application.admin.request"), exports);
19
19
  __exportStar(require("./application.request"), exports);
20
+ __exportStar(require("./application-environment.request"), exports);
21
+ __exportStar(require("./application-environment.admin.request"), exports);
20
22
  __exportStar(require("./asset.request"), exports);
21
23
  __exportStar(require("./auth.request"), exports);
22
24
  __exportStar(require("./auth-email-code.request"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAChD,8DAA4C;AAC5C,wDAAsC;AACtC,kDAAgC;AAChC,iDAA+B;AAC/B,4DAA0C;AAC1C,kEAAgD;AAChD,yDAAuC;AACvC,uEAAqD;AACrD,gEAA8C;AAC9C,0DAAwC;AACxC,oDAAkC;AAClC,0DAAwC;AACxC,gEAA8C;AAC9C,4DAA0C;AAC1C,sDAAoC;AACpC,uDAAqC;AACrC,0DAAwC;AACxC,gDAA8B;AAC9B,6DAA2C;AAC3C,oDAAkC;AAClC,iEAA+C;AAC/C,6EAA2D;AAC3D,iFAA+D;AAC/D,gEAA8C;AAC9C,+DAA6C;AAC7C,yDAAuC;AACvC,kEAAgD;AAChD,qDAAmC;AACnC,iEAA+C;AAC/C,2DAAyC;AACzC,4DAA0C;AAC1C,6DAA2C;AAC3C,0DAAwC;AACxC,oDAAkC;AAClC,iEAA+C;AAC/C,+DAA6C;AAC7C,2DAAyC;AACzC,iDAA+B;AAC/B,gEAA8C;AAC9C,yDAAuC;AACvC,oEAAkD;AAClD,8DAA4C;AAC5C,uDAAqC;AACrC,iDAA+B;AAC/B,6DAA2C;AAC3C,gEAA8C;AAC9C,oDAAkC;AAClC,2DAAyC;AACzC,2DAAyC;AACzC,wEAAsD;AACtD,2DAAyC;AACzC,mEAAiD;AACjD,wEAAsD;AACtD,0DAAwC;AACxC,gEAA8C;AAC9C,oDAAkC;AAClC,0DAAwC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAChD,8DAA4C;AAC5C,wDAAsC;AACtC,oEAAkD;AAClD,0EAAwD;AACxD,kDAAgC;AAChC,iDAA+B;AAC/B,4DAA0C;AAC1C,kEAAgD;AAChD,yDAAuC;AACvC,uEAAqD;AACrD,gEAA8C;AAC9C,0DAAwC;AACxC,oDAAkC;AAClC,0DAAwC;AACxC,gEAA8C;AAC9C,4DAA0C;AAC1C,sDAAoC;AACpC,uDAAqC;AACrC,0DAAwC;AACxC,gDAA8B;AAC9B,6DAA2C;AAC3C,oDAAkC;AAClC,iEAA+C;AAC/C,6EAA2D;AAC3D,iFAA+D;AAC/D,gEAA8C;AAC9C,+DAA6C;AAC7C,yDAAuC;AACvC,kEAAgD;AAChD,qDAAmC;AACnC,iEAA+C;AAC/C,2DAAyC;AACzC,4DAA0C;AAC1C,6DAA2C;AAC3C,0DAAwC;AACxC,oDAAkC;AAClC,iEAA+C;AAC/C,+DAA6C;AAC7C,2DAAyC;AACzC,iDAA+B;AAC/B,gEAA8C;AAC9C,yDAAuC;AACvC,oEAAkD;AAClD,8DAA4C;AAC5C,uDAAqC;AACrC,iDAA+B;AAC/B,6DAA2C;AAC3C,gEAA8C;AAC9C,oDAAkC;AAClC,2DAAyC;AACzC,2DAAyC;AACzC,wEAAsD;AACtD,2DAAyC;AACzC,mEAAiD;AACjD,wEAAsD;AACtD,0DAAwC;AACxC,gEAA8C;AAC9C,oDAAkC;AAClC,0DAAwC"}
@@ -13,18 +13,18 @@ export interface ISendEmailOrganizationExternalIdentityAdminParams {
13
13
  }
14
14
  interface ISendEmailReporterBase {
15
15
  idempotencyKey: string;
16
- internalTicketId: string;
16
+ deskTicketId: string;
17
17
  ticketTitle: string;
18
18
  }
19
19
  export type ISendEmailOrganizationExternalIdentityAdminBody = (ISendEmailReporterBase & {
20
- type: EmailType.INTERNAL_TICKET_REPORTER_TRACKING_LINK;
20
+ type: EmailType.DESK_TICKET_REPORTER_TRACKING_LINK;
21
21
  trackingToken: string;
22
22
  }) | (ISendEmailReporterBase & {
23
- type: EmailType.INTERNAL_TICKET_REPORTER_REPLY;
23
+ type: EmailType.DESK_TICKET_REPORTER_REPLY;
24
24
  messageContent: string;
25
25
  }) | (ISendEmailReporterBase & {
26
- type: EmailType.INTERNAL_TICKET_REPORTER_RESOLVED;
26
+ type: EmailType.DESK_TICKET_REPORTER_RESOLVED;
27
27
  }) | (ISendEmailReporterBase & {
28
- type: EmailType.INTERNAL_TICKET_REPORTER_CLOSED;
28
+ type: EmailType.DESK_TICKET_REPORTER_CLOSED;
29
29
  });
30
30
  export {};
@@ -46,12 +46,14 @@ export type IPaginateProjectAccessAdminQuery = {
46
46
  export interface IComputeApplicationProjectAccessAdminParams {
47
47
  applicationId: string;
48
48
  }
49
- export type IComputeApplicationProjectAccessAdminBody = {
49
+ export type IComputeApplicationProjectAccessAdminBody = ({
50
50
  userId: string;
51
51
  apiKey?: never;
52
52
  } | {
53
53
  apiKey: string;
54
54
  userId?: never;
55
+ }) & {
56
+ applicationEnvironmentId?: string;
55
57
  };
56
58
  export type IComputeNotificationAccessProjectAccessAdminBody = {
57
59
  applicationId?: string;
@@ -5,6 +5,7 @@ export interface ICreateProjectApiKeyParams {
5
5
  }
6
6
  export interface ICreateProjectApiKeyApplicationAccess {
7
7
  applicationId: string;
8
+ applicationEnvironmentId: string;
8
9
  permission: ProjectApplicationAccessPermission[];
9
10
  }
10
11
  export interface ICreateProjectApiKeyBody {
@@ -0,0 +1,10 @@
1
+ import { IApplicationEnvironment } from '../../models/application-environment.model';
2
+ import { IResponse } from '../type-message/response';
3
+ export interface IListByApplicationApplicationEnvironmentAdminData {
4
+ environments: IApplicationEnvironment[];
5
+ }
6
+ export type IListByApplicationApplicationEnvironmentAdminResponse = IResponse<IListByApplicationApplicationEnvironmentAdminData>;
7
+ export interface IGetApplicationEnvironmentAdminData {
8
+ environment: IApplicationEnvironment;
9
+ }
10
+ export type IGetApplicationEnvironmentAdminResponse = IResponse<IGetApplicationEnvironmentAdminData>;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=application-environment.admin.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"application-environment.admin.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/application-environment.admin.response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ import { IApplicationEnvironment } from '../../models/application-environment.model';
2
+ import { IResponse } from '../type-message/response';
3
+ export interface IListApplicationEnvironmentData {
4
+ environments: IApplicationEnvironment[];
5
+ }
6
+ export type IListApplicationEnvironmentResponse = IResponse<IListApplicationEnvironmentData>;
7
+ export interface ICreateApplicationEnvironmentData {
8
+ environment: IApplicationEnvironment;
9
+ }
10
+ export type ICreateApplicationEnvironmentResponse = IResponse<ICreateApplicationEnvironmentData>;
11
+ export interface IUpdateApplicationEnvironmentData {
12
+ environment: IApplicationEnvironment;
13
+ }
14
+ export type IUpdateApplicationEnvironmentResponse = IResponse<IUpdateApplicationEnvironmentData>;
15
+ export type IDeleteApplicationEnvironmentResponse = void;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=application-environment.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"application-environment.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/application-environment.response.ts"],"names":[],"mappings":""}
@@ -1,6 +1,8 @@
1
1
  export * from './admin-audit-log.admin.response';
2
2
  export * from './application.admin.response';
3
3
  export * from './application.response';
4
+ export * from './application-environment.response';
5
+ export * from './application-environment.admin.response';
4
6
  export * from './asset.response';
5
7
  export * from './auth.response';
6
8
  export * from './auth-email-code.response';
@@ -17,6 +17,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./admin-audit-log.admin.response"), exports);
18
18
  __exportStar(require("./application.admin.response"), exports);
19
19
  __exportStar(require("./application.response"), exports);
20
+ __exportStar(require("./application-environment.response"), exports);
21
+ __exportStar(require("./application-environment.admin.response"), exports);
20
22
  __exportStar(require("./asset.response"), exports);
21
23
  __exportStar(require("./auth.response"), exports);
22
24
  __exportStar(require("./auth-email-code.response"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AACjD,+DAA6C;AAC7C,yDAAuC;AACvC,mDAAiC;AACjC,kDAAgC;AAChC,6DAA2C;AAC3C,mEAAiD;AACjD,6DAA2C;AAC3C,0DAAwC;AACxC,wEAAsD;AACtD,iEAA+C;AAC/C,2DAAyC;AACzC,qDAAmC;AACnC,2DAAyC;AACzC,iEAA+C;AAC/C,6DAA2C;AAC3C,uDAAqC;AACrC,wDAAsC;AACtC,2DAAyC;AACzC,2DAAyC;AACzC,iDAA+B;AAC/B,qDAAmC;AACnC,8DAA4C;AAC5C,qDAAmC;AACnC,kEAAgD;AAChD,kFAAgE;AAChE,4EAA0D;AAC1D,iEAA+C;AAC/C,gEAA8C;AAC9C,0DAAwC;AACxC,kEAAgD;AAChD,mEAAiD;AACjD,sDAAoC;AACpC,kEAAgD;AAChD,4DAA0C;AAC1C,6DAA2C;AAC3C,8DAA4C;AAC5C,2DAAyC;AACzC,qDAAmC;AACnC,4DAA0C;AAC1C,kDAAgC;AAChC,iEAA+C;AAC/C,0DAAwC;AACxC,iEAA+C;AAC/C,qEAAmD;AACnD,+DAA6C;AAC7C,wDAAsC;AACtC,kDAAgC;AAChC,8DAA4C;AAC5C,qDAAmC;AACnC,4DAA0C;AAC1C,4DAA0C;AAC1C,yEAAuD;AACvD,4DAA0C;AAC1C,oEAAkD;AAClD,yEAAuD;AACvD,2DAAyC;AACzC,iEAA+C;AAC/C,qDAAmC;AACnC,2DAAyC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AACjD,+DAA6C;AAC7C,yDAAuC;AACvC,qEAAmD;AACnD,2EAAyD;AACzD,mDAAiC;AACjC,kDAAgC;AAChC,6DAA2C;AAC3C,mEAAiD;AACjD,6DAA2C;AAC3C,0DAAwC;AACxC,wEAAsD;AACtD,iEAA+C;AAC/C,2DAAyC;AACzC,qDAAmC;AACnC,2DAAyC;AACzC,iEAA+C;AAC/C,6DAA2C;AAC3C,uDAAqC;AACrC,wDAAsC;AACtC,2DAAyC;AACzC,2DAAyC;AACzC,iDAA+B;AAC/B,qDAAmC;AACnC,8DAA4C;AAC5C,qDAAmC;AACnC,kEAAgD;AAChD,kFAAgE;AAChE,4EAA0D;AAC1D,iEAA+C;AAC/C,gEAA8C;AAC9C,0DAAwC;AACxC,kEAAgD;AAChD,mEAAiD;AACjD,sDAAoC;AACpC,kEAAgD;AAChD,4DAA0C;AAC1C,6DAA2C;AAC3C,8DAA4C;AAC5C,2DAAyC;AACzC,qDAAmC;AACnC,4DAA0C;AAC1C,kDAAgC;AAChC,iEAA+C;AAC/C,0DAAwC;AACxC,iEAA+C;AAC/C,qEAAmD;AACnD,+DAA6C;AAC7C,wDAAsC;AACtC,kDAAgC;AAChC,8DAA4C;AAC5C,qDAAmC;AACnC,4DAA0C;AAC1C,4DAA0C;AAC1C,yEAAuD;AACvD,4DAA0C;AAC1C,oEAAkD;AAClD,yEAAuD;AACvD,2DAAyC;AACzC,iEAA+C;AAC/C,qDAAmC;AACnC,2DAAyC"}
@@ -30,6 +30,7 @@ export type IPaginateProjectAccessAdminResponse = IResponse<BasePaginate<IProjec
30
30
  export interface IComputeApplicationProjectAccessAdminData {
31
31
  projectAccess: IProjectAccess | null;
32
32
  permission: ProjectApplicationAccessPermission[];
33
+ applicationEnvironmentId: string | null;
33
34
  isDemo: boolean;
34
35
  }
35
36
  export type IComputeApplicationProjectAccessAdminResponse = IResponse<IComputeApplicationProjectAccessAdminData>;
@@ -5,6 +5,7 @@ export * from './models/project.model';
5
5
  export * from './models/project-access.model';
6
6
  export * from './models/project-application-access.model';
7
7
  export * from './models/application.model';
8
+ export * from './models/application-environment.model';
8
9
  export * from './models/user-notification.model';
9
10
  export * from './models/notification-preference.model';
10
11
  export * from './models/oauth-account.model';
@@ -21,6 +21,7 @@ __exportStar(require("./models/project.model"), exports);
21
21
  __exportStar(require("./models/project-access.model"), exports);
22
22
  __exportStar(require("./models/project-application-access.model"), exports);
23
23
  __exportStar(require("./models/application.model"), exports);
24
+ __exportStar(require("./models/application-environment.model"), exports);
24
25
  __exportStar(require("./models/user-notification.model"), exports);
25
26
  __exportStar(require("./models/notification-preference.model"), exports);
26
27
  __exportStar(require("./models/oauth-account.model"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/interface/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,4DAA0C;AAC1C,8DAA4C;AAC5C,yDAAuC;AACvC,gEAA8C;AAC9C,4EAA0D;AAC1D,6DAA2C;AAC3C,mEAAiD;AACjD,yEAAuD;AACvD,+DAA6C;AAC7C,+DAA6C;AAC7C,8DAA4C;AAC5C,mEAAiD;AACjD,oEAAkD;AAGlD,2DAAyC;AACzC,sEAAoD;AAGpD,wCAAsB;AAGtB,uDAAqC;AAGrC,wDAAsC;AACtC,gEAA8C;AAC9C,8DAA4C;AAC5C,oEAAkD;AAClD,oEAAkD;AAClD,8EAA4D;AAC5D,kFAAgE;AAGhE,8DAA4C;AAC5C,0EAAwD;AACxD,qEAAmD;AACnD,gFAA8D;AAC9D,mEAAiD;AAGjD,+DAA6C;AAC7C,iEAA+C;AAC/C,uEAAqD;AACrD,4EAA0D;AAC1D,4EAA0D;AAC1D,8DAA4C;AAC5C,yDAAuC;A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,8EAA4D;AAC5D,kFAAgE;AAGhE,8DAA4C;AAC5C,0EAAwD;AACxD,qEAAmD;AACnD,gFAA8D;AAC9D,mEAAiD;AAGjD,+DAA6C;AAC7C,iEAA+C;AAC/C,uEAAqD;AACrD,4EAA0D;AAC1D,4EAA0D;AAC1D,8DAA4C;AAC5C,yDAAuC;AACvC,8DAA4C;AAC5C,oEAAkD;AAClD,6DAA2C;AAC3C,oEAAkD;AAClD,iEAA+C;AAC/C,0EAAwD;AACxD,6DAA2C;AAC3C,sEAAoD;AACpD,mEAAiD;AACjD,mEAAiD;AACjD,kEAAgD;AAChD,qEAAmD;AACnD,wEAAsD;AACtD,+DAA6C;AAC7C,8DAA4C;AAC5C,qEAAmD;AACnD,sDAAoC;AACpC,6DAA2C;AAC3C,qEAAmD;AACnD,iFAA+D;AAC/D,iEAA+C;AAC/C,oFAAkE;AAGlE,kEAAgD;AAGhD,mEAAiD;AAGjD,+DAA6C;AAO7C,gEAA8C;AAG9C,gEAA8C;AAC9C,wEAAsD;AACtD,2EAAyD;AACzD,oEAAkD;AAClD,yEAAuD;AAGvD,4DAA0C;AAG1C,4DAA0C;AAG1C,qEAAmD;AAKnD,kEAAgD;AAGhD,iEAA+C;AAC/C,4DAA0C;AAG1C,yDAAuC;AACvC,gEAA8C;AAC9C,yDAAuC;AAGvC,gEAA8C;AAC9C,qEAAmD;AACnD,wCAAsB;AAGtB,0DAAwC;AAGxC,+DAA6C;AAG7C,0EAAwD;AACxD,2EAAyD;AAGzD,yDAAuC;AAGvC,4EAA0D;AAC1D,8DAA4C;AAG5C,4DAA0C"}
@@ -0,0 +1,15 @@
1
+ import { EnvironmentKind } from '../../enum';
2
+ import { IApplication } from './application.model';
3
+ export declare const DEFAULT_ENVIRONMENT_NAME = "production";
4
+ export declare const ENVIRONMENT_NAME_PATTERN: RegExp;
5
+ export declare const ENVIRONMENT_EXPIRY_MAX_DAYS = 365;
6
+ export interface IApplicationEnvironment {
7
+ id: string;
8
+ applicationId: string;
9
+ name: string;
10
+ kind: EnvironmentKind;
11
+ expiresAt: Date | null;
12
+ createdAt?: Date;
13
+ updatedAt?: Date;
14
+ application?: IApplication;
15
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ENVIRONMENT_EXPIRY_MAX_DAYS = exports.ENVIRONMENT_NAME_PATTERN = exports.DEFAULT_ENVIRONMENT_NAME = void 0;
4
+ exports.DEFAULT_ENVIRONMENT_NAME = 'production';
5
+ exports.ENVIRONMENT_NAME_PATTERN = /^[a-z0-9][a-z0-9-]{0,31}$/;
6
+ exports.ENVIRONMENT_EXPIRY_MAX_DAYS = 365;
7
+ //# sourceMappingURL=application-environment.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"application-environment.model.js","sourceRoot":"","sources":["../../../../src/types/interface/models/application-environment.model.ts"],"names":[],"mappings":";;;AAOa,QAAA,wBAAwB,GAAG,YAAY,CAAC;AAGxC,QAAA,wBAAwB,GAAG,2BAA2B,CAAC;AAMvD,QAAA,2BAA2B,GAAG,GAAG,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { EntityCleanupEvent } from '../../enum/content-scope.enum';
2
+ import { EnvironmentKind } from '../../enum/environment-kind.enum';
2
3
  export interface IContentOwnership {
3
4
  userId: string | null;
4
5
  organizationId: string | null;
@@ -10,3 +11,9 @@ export interface IEntityCleanupMessage {
10
11
  timestamp: string;
11
12
  sourceId: string;
12
13
  }
14
+ export interface IApplicationEnvironmentEventPayload extends Record<string, string> {
15
+ applicationId: string;
16
+ applicationEnvironmentId: string;
17
+ name: string;
18
+ kind: EnvironmentKind;
19
+ }
@@ -3,6 +3,7 @@ export * from './project.model';
3
3
  export * from './project-access.model';
4
4
  export * from './project-application-access.model';
5
5
  export * from './application.model';
6
+ export * from './application-environment.model';
6
7
  export * from './user-notification.model';
7
8
  export * from './oauth-account.model';
8
9
  export * from './token-history.model';
@@ -19,6 +19,7 @@ __exportStar(require("./project.model"), exports);
19
19
  __exportStar(require("./project-access.model"), exports);
20
20
  __exportStar(require("./project-application-access.model"), exports);
21
21
  __exportStar(require("./application.model"), exports);
22
+ __exportStar(require("./application-environment.model"), exports);
22
23
  __exportStar(require("./user-notification.model"), exports);
23
24
  __exportStar(require("./oauth-account.model"), exports);
24
25
  __exportStar(require("./token-history.model"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/interface/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,kDAAgC;AAChC,yDAAuC;AACvC,qEAAmD;AACnD,sDAAoC;AACpC,4DAA0C;AAC1C,wDAAsC;AACtC,wDAAsC;AACtC,uDAAqC;AACrC,4DAA0C;AAC1C,6DAA2C;AAG3C,oDAAkC;AAClC,+DAA6C;AAG7C,gDAA8B;AAG9B,iDAA+B;AAG/B,uDAAqC;AACrC,mEAAiD;AACjD,8DAA4C;AAG5C,wDAAsC;AACtC,0DAAwC;AACxC,gEAA8C;AAC9C,qEAAmD;AACnD,qEAAmD;AACnD,uDAAqC;AACrC,kDAAgC;AAChC,uDAAqC;AACrC,6DAA2C;AAC3C,sDAAoC;AACpC,6DAA2C;AAC3C,0DAAwC;AACxC,mEAAiD;AACjD,sDAAoC;AACpC,+DAA6C;AAC7C,4DAA0C;AAC1C,4DAA0C;AAC1C,2DAAyC;AACzC,8DAA4C;AAC5C,qEAAmD;AACnD,uDAAqC;AACrC,iEAA+C;AAC/C,wDAAsC;AACtC,uDAAqC;AACrC,8DAA4C;AAC5C,+CAA6B;AAC7B,sDAAoC;AACpC,8DAA4C;AAC5C,0EAAwD;AACxD,0DAAwC;AACxC,6EAA2D;AAG3D,2DAAyC;AAGzC,4DAA0C;AAG1C,wDAAsC;AAGtC,yDAAuC;AACvC,iEAA+C;AAC/C,oEAAkD;AAClD,yDAAuC;AACvC,6DAA2C;AAC3C,kEAAgD;AAGhD,qDAAmC;AAGnC,qDAAmC;AAGnC,8DAA4C;AAK5C,2DAAyC;AAGzC,0DAAwC;AAGxC,kDAAgC;AAChC,kDAAgC;AAChC,yDAAuC;AAGvC,yDAAuC;AACvC,8DAA4C;AAG5C,mDAAiC;AAGjC,wDAAsC;AAGtC,kDAAgC;AAEhC,6DAA2C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/interface/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,kDAAgC;AAChC,yDAAuC;AACvC,qEAAmD;AACnD,sDAAoC;AACpC,kEAAgD;AAChD,4DAA0C;AAC1C,wDAAsC;AACtC,wDAAsC;AACtC,uDAAqC;AACrC,4DAA0C;AAC1C,6DAA2C;AAG3C,oDAAkC;AAClC,+DAA6C;AAG7C,gDAA8B;AAG9B,iDAA+B;AAG/B,uDAAqC;AACrC,mEAAiD;AACjD,8DAA4C;AAG5C,wDAAsC;AACtC,0DAAwC;AACxC,gEAA8C;AAC9C,qEAAmD;AACnD,qEAAmD;AACnD,uDAAqC;AACrC,kDAAgC;AAChC,uDAAqC;AACrC,6DAA2C;AAC3C,sDAAoC;AACpC,6DAA2C;AAC3C,0DAAwC;AACxC,mEAAiD;AACjD,sDAAoC;AACpC,+DAA6C;AAC7C,4DAA0C;AAC1C,4DAA0C;AAC1C,2DAAyC;AACzC,8DAA4C;AAC5C,qEAAmD;AACnD,uDAAqC;AACrC,iEAA+C;AAC/C,wDAAsC;AACtC,uDAAqC;AACrC,8DAA4C;AAC5C,+CAA6B;AAC7B,sDAAoC;AACpC,8DAA4C;AAC5C,0EAAwD;AACxD,0DAAwC;AACxC,6EAA2D;AAG3D,2DAAyC;AAGzC,4DAA0C;AAG1C,wDAAsC;AAGtC,yDAAuC;AACvC,iEAA+C;AAC/C,oEAAkD;AAClD,yDAAuC;AACvC,6DAA2C;AAC3C,kEAAgD;AAGhD,qDAAmC;AAGnC,qDAAmC;AAGnC,8DAA4C;AAK5C,2DAAyC;AAGzC,0DAAwC;AAGxC,kDAAgC;AAChC,kDAAgC;AAChC,yDAAuC;AAGvC,yDAAuC;AACvC,8DAA4C;AAG5C,mDAAiC;AAGjC,wDAAsC;AAGtC,kDAAgC;AAEhC,6DAA2C"}
@@ -1,13 +1,16 @@
1
1
  import { ProjectApplicationAccessPermission } from '../../enum';
2
2
  import { IProjectApiKey } from './project-api-key.model';
3
3
  import { IApplication } from './application.model';
4
+ import { IApplicationEnvironment } from './application-environment.model';
4
5
  export interface IProjectApiKeyApplicationAccess {
5
6
  id?: string;
6
7
  permission: ProjectApplicationAccessPermission[];
7
8
  projectApiKeyId: string;
8
9
  applicationId: string;
10
+ applicationEnvironmentId: string;
9
11
  updatedAt?: Date;
10
12
  createdAt?: Date;
11
13
  projectApiKey?: IProjectApiKey;
12
14
  application?: IApplication;
15
+ applicationEnvironment?: IApplicationEnvironment;
13
16
  }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const desk_reporter_token_1 = require("../desk-reporter-token");
4
+ describe('DESK_REPORTER_UNFOLLOW_TOKEN_AUDIENCE', () => {
5
+ it('is the dedicated audience string (D6)', () => {
6
+ expect(desk_reporter_token_1.DESK_REPORTER_UNFOLLOW_TOKEN_AUDIENCE).toBe('desk-reporter-unfollow');
7
+ });
8
+ });
9
+ //# sourceMappingURL=desk-reporter-token.spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"desk-reporter-token.spec.js","sourceRoot":"","sources":["../../../src/types/tests/desk-reporter-token.spec.ts"],"names":[],"mappings":";;AAAA,gEAA+E;AAQ/E,QAAQ,CAAC,uCAAuC,EAAE,GAAG,EAAE;IACrD,EAAE,CAAC,uCAAuC,EAAE,GAAG,EAAE;QAC/C,MAAM,CAAC,2DAAqC,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC;IAC/E,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abyss-project/main",
3
- "version": "28.2.0",
3
+ "version": "30.0.0",
4
4
  "description": "Core package to interact with Abyss-Project",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1 +0,0 @@
1
- {"version":3,"file":"internal-ticket-notifications.spec.js","sourceRoot":"","sources":["../../../src/translate/tests/internal-ticket-notifications.spec.ts"],"names":[],"mappings":";;AAAA,kDAAgD;AAChD,kDAAgD;AAChD,uCAAwE;AAOxE,MAAM,qBAAqB,GAAG;IAC5B,mCAA2B,CAAC,uBAAuB;IACnD,mCAA2B,CAAC,sCAAsC;IAClE,mCAA2B,CAAC,8BAA8B;IAC1D,mCAA2B,CAAC,2BAA2B;IACvD,mCAA2B,CAAC,uBAAuB;IACnD,mCAA2B,CAAC,wBAAwB;IACpD,mCAA2B,CAAC,8BAA8B;IAC1D,mCAA2B,CAAC,kCAAkC;IAC9D,mCAA2B,CAAC,iCAAiC;IAC7D,mCAA2B,CAAC,gCAAgC;IAC5D,mCAA2B,CAAC,iCAAiC;CACrD,CAAC;AAEX,QAAQ,CAAC,sCAAsC,EAAE,GAAG,EAAE;IACpD,MAAM,UAAU,GAAG,EAAE,EAAE,EAAE,4BAAa,EAAE,EAAE,EAAE,4BAAa,EAAE,CAAC;IAE5D,KAAK,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC;QACjE,MAAM,KAAK,GACT,WAAW,CAAC,aAAa,CAAC,oBAAY,CAAC,cAAc,CAAC,CAAC;QACzD,MAAM,QAAQ,GACZ,WAAW,CAAC,aAAa,CAAC,oBAAY,CAAC,cAAc,CAAC,CAAC;QAEzD,EAAE,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,qCAAqC,QAAQ,GAAG,EAAE,CAAC,IAAI,EAAE,EAAE;YACxF,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;YACvD,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;YACzD,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,aAAa,EAAE,CAAC;QACzC,CAAC,CAAC,CAAC;IACL,CAAC;IAED,EAAE,CAAC,wEAAwE,EAAE,GAAG,EAAE;QAChF,MAAM,IAAI,GAAG,mCAA2B,CAAC,gCAAgC,CAAC;QAE1E,KAAK,MAAM,WAAW,IAAI,CAAC,4BAAa,EAAE,4BAAa,CAAC,EAAE,CAAC;YACzD,MAAM,KAAK,GAAG,WAAW,CAAC,aAAa,CAAC,oBAAY,CAAC,cAAc,CAAC,CAAC,IAAI,CAAC,CAAC;YAC3E,MAAM,CAAC,GAAG,KAAK,CAAC,KAAK,IAAI,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC;YAChF,MAAM,CAAC,GAAG,KAAK,CAAC,KAAK,IAAI,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC;QACvE,CAAC;IACH,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const email_type_enum_1 = require("../email-type.enum");
4
- describe('EmailType — internal ticket reporter events', () => {
5
- it('TRACKING_LINK carries the tracking-link wire value', () => {
6
- expect(email_type_enum_1.EmailType.INTERNAL_TICKET_REPORTER_TRACKING_LINK).toBe('internal-ticket-reporter-tracking-link');
7
- });
8
- it('REPLY carries the reply wire value', () => {
9
- expect(email_type_enum_1.EmailType.INTERNAL_TICKET_REPORTER_REPLY).toBe('internal-ticket-reporter-reply');
10
- });
11
- it('RESOLVED carries the resolved wire value', () => {
12
- expect(email_type_enum_1.EmailType.INTERNAL_TICKET_REPORTER_RESOLVED).toBe('internal-ticket-reporter-resolved');
13
- });
14
- it('CLOSED carries the closed wire value', () => {
15
- expect(email_type_enum_1.EmailType.INTERNAL_TICKET_REPORTER_CLOSED).toBe('internal-ticket-reporter-closed');
16
- });
17
- it('the four values are distinct', () => {
18
- const values = [
19
- email_type_enum_1.EmailType.INTERNAL_TICKET_REPORTER_TRACKING_LINK,
20
- email_type_enum_1.EmailType.INTERNAL_TICKET_REPORTER_REPLY,
21
- email_type_enum_1.EmailType.INTERNAL_TICKET_REPORTER_RESOLVED,
22
- email_type_enum_1.EmailType.INTERNAL_TICKET_REPORTER_CLOSED,
23
- ];
24
- expect(new Set(values).size).toBe(values.length);
25
- });
26
- });
27
- //# sourceMappingURL=email-type.internal-ticket-reporter.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"email-type.internal-ticket-reporter.spec.js","sourceRoot":"","sources":["../../../../src/types/enum/tests/email-type.internal-ticket-reporter.spec.ts"],"names":[],"mappings":";;AAAA,wDAA+C;AAQ/C,QAAQ,CAAC,6CAA6C,EAAE,GAAG,EAAE;IAC3D,EAAE,CAAC,oDAAoD,EAAE,GAAG,EAAE;QAC5D,MAAM,CAAC,2BAAS,CAAC,sCAAsC,CAAC,CAAC,IAAI,CAC3D,wCAAwC,CACzC,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,oCAAoC,EAAE,GAAG,EAAE;QAC5C,MAAM,CAAC,2BAAS,CAAC,8BAA8B,CAAC,CAAC,IAAI,CAAC,gCAAgC,CAAC,CAAC;IAC1F,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,0CAA0C,EAAE,GAAG,EAAE;QAClD,MAAM,CAAC,2BAAS,CAAC,iCAAiC,CAAC,CAAC,IAAI,CAAC,mCAAmC,CAAC,CAAC;IAChG,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,sCAAsC,EAAE,GAAG,EAAE;QAC9C,MAAM,CAAC,2BAAS,CAAC,+BAA+B,CAAC,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC;IAC5F,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,8BAA8B,EAAE,GAAG,EAAE;QACtC,MAAM,MAAM,GAAG;YACb,2BAAS,CAAC,sCAAsC;YAChD,2BAAS,CAAC,8BAA8B;YACxC,2BAAS,CAAC,iCAAiC;YAC3C,2BAAS,CAAC,+BAA+B;SAC1C,CAAC;QACF,MAAM,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACnD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const internal_ticket_reporter_token_1 = require("../internal-ticket-reporter-token");
4
- describe('INTERNAL_TICKET_REPORTER_UNFOLLOW_TOKEN_AUDIENCE', () => {
5
- it('is the dedicated audience string (D6)', () => {
6
- expect(internal_ticket_reporter_token_1.INTERNAL_TICKET_REPORTER_UNFOLLOW_TOKEN_AUDIENCE).toBe('internal-ticket-reporter-unfollow');
7
- });
8
- });
9
- //# sourceMappingURL=internal-ticket-reporter-token.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"internal-ticket-reporter-token.spec.js","sourceRoot":"","sources":["../../../src/types/tests/internal-ticket-reporter-token.spec.ts"],"names":[],"mappings":";;AAAA,sFAAqG;AAQrG,QAAQ,CAAC,kDAAkD,EAAE,GAAG,EAAE;IAChE,EAAE,CAAC,uCAAuC,EAAE,GAAG,EAAE;QAC/C,MAAM,CAAC,iFAAgD,CAAC,CAAC,IAAI,CAC3D,mCAAmC,CACpC,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}