@studyportals/campaign-management-api-interface 11.4.4-1 → 11.5.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studyportals/campaign-management-api-interface",
3
- "version": "11.4.4-1",
3
+ "version": "11.5.0",
4
4
  "scripts": {
5
5
  "compile": "rm -fR bin && npx tsc",
6
6
  "test-u": "jest -c jest.config.unit.json --maxWorkers=1",
@@ -1,6 +1,6 @@
1
1
  import { EntityGeotargetingDto } from "./entity-geotargeting.dto";
2
- import { EntityType } from "./enums";
2
+ import { GeotarginatorEntityType } from "./enums";
3
3
  export type EnrichedOrganisationGeotargetingDto = EntityGeotargetingDto & {
4
4
  name: string;
5
- entityType: EntityType.ORGANISATION;
5
+ entityType: GeotarginatorEntityType.ORGANISATION;
6
6
  };
@@ -1,9 +1,9 @@
1
1
  import { EntityGeotargetingDto } from "./entity-geotargeting.dto";
2
- import { BachelorDegrees, EntityType, MasterDegrees, PHDDegrees, PreparationDegrees, ShortDegrees, StudyTypes } from "./enums";
2
+ import { BachelorDegrees, GeotarginatorEntityType, MasterDegrees, PHDDegrees, PreparationDegrees, ShortDegrees, StudyTypes } from "./enums";
3
3
  export type StudyDegrees = BachelorDegrees | MasterDegrees | PHDDegrees | PreparationDegrees | ShortDegrees;
4
4
  export type EnrichedStudyGeotargetingDto = EntityGeotargetingDto & {
5
5
  name: string;
6
- degree: StudyDegrees;
6
+ degree: StudyDegrees | null;
7
7
  level: StudyTypes;
8
- entityType: EntityType.STUDY;
8
+ entityType: GeotarginatorEntityType.STUDY;
9
9
  };
@@ -1,4 +1,4 @@
1
- export declare enum EntityType {
1
+ export declare enum GeotarginatorEntityType {
2
2
  ORGANISATION = "organisation",
3
3
  STUDY = "study"
4
4
  }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GeotarginatorEntityType = void 0;
4
+ var GeotarginatorEntityType;
5
+ (function (GeotarginatorEntityType) {
6
+ GeotarginatorEntityType["ORGANISATION"] = "organisation";
7
+ GeotarginatorEntityType["STUDY"] = "study";
8
+ })(GeotarginatorEntityType || (exports.GeotarginatorEntityType = GeotarginatorEntityType = {}));
9
+ //# sourceMappingURL=geotarginator-entity-type.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geotarginator-entity-type.enum.js","sourceRoot":"","sources":["../../../../../src/domain/campaign/enums/geotarginator-entity-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IAClC,wDAA6B,CAAA;IAC7B,0CAAe,CAAA;AAChB,CAAC,EAHW,uBAAuB,uCAAvB,uBAAuB,QAGlC"}
@@ -7,6 +7,6 @@ import { DeliveryMode } from "./delivery-mode";
7
7
  import { PremiumLevels } from "./premium-levels.enum";
8
8
  import { Region } from "./region.enum";
9
9
  import { StudyTypes } from "./study-types.enum";
10
- import { EntityType } from "./entity-type.enum";
10
+ import { GeotarginatorEntityType } from "./geotarginator-entity-type.enum";
11
11
  export * from "./degrees";
12
- export { CampaignChangeEnum, CampaignType, Currency, CustomProductTypes, DeliveryMode, PartnershipTypeString, PartnershipType, PremiumLevels, Region, StudyTypes, EntityType };
12
+ export { CampaignChangeEnum, CampaignType, Currency, CustomProductTypes, DeliveryMode, PartnershipTypeString, PartnershipType, PremiumLevels, Region, StudyTypes, GeotarginatorEntityType };
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.EntityType = exports.StudyTypes = exports.Region = exports.PremiumLevels = exports.PartnershipType = exports.PartnershipTypeString = exports.CustomProductTypes = exports.Currency = exports.CampaignType = exports.CampaignChangeEnum = void 0;
17
+ exports.GeotarginatorEntityType = exports.StudyTypes = exports.Region = exports.PremiumLevels = exports.PartnershipType = exports.PartnershipTypeString = exports.CustomProductTypes = exports.Currency = exports.CampaignType = exports.CampaignChangeEnum = void 0;
18
18
  const partnership_type_enum_1 = require("./partnership-type.enum");
19
19
  Object.defineProperty(exports, "PartnershipTypeString", { enumerable: true, get: function () { return partnership_type_enum_1.PartnershipTypeString; } });
20
20
  Object.defineProperty(exports, "PartnershipType", { enumerable: true, get: function () { return partnership_type_enum_1.PartnershipType; } });
@@ -32,7 +32,7 @@ const region_enum_1 = require("./region.enum");
32
32
  Object.defineProperty(exports, "Region", { enumerable: true, get: function () { return region_enum_1.Region; } });
33
33
  const study_types_enum_1 = require("./study-types.enum");
34
34
  Object.defineProperty(exports, "StudyTypes", { enumerable: true, get: function () { return study_types_enum_1.StudyTypes; } });
35
- const entity_type_enum_1 = require("./entity-type.enum");
36
- Object.defineProperty(exports, "EntityType", { enumerable: true, get: function () { return entity_type_enum_1.EntityType; } });
35
+ const geotarginator_entity_type_enum_1 = require("./geotarginator-entity-type.enum");
36
+ Object.defineProperty(exports, "GeotarginatorEntityType", { enumerable: true, get: function () { return geotarginator_entity_type_enum_1.GeotarginatorEntityType; } });
37
37
  __exportStar(require("./degrees"), exports);
38
38
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/campaign/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,mEAAiF;AAmBhF,sGAnBQ,6CAAqB,OAmBR;AACrB,gGApB+B,uCAAe,OAoB/B;AAnBhB,iEAA4D;AAa3D,mGAbQ,yCAAkB,OAaR;AAZnB,6DAAoD;AAanD,6FAbQ,iCAAY,OAaR;AAZb,mDAA2C;AAa1C,yFAbQ,wBAAQ,OAaR;AAZT,2EAAiE;AAahE,mGAbQ,8CAAkB,OAaR;AAXnB,+DAAsD;AAerD,8FAfQ,mCAAa,OAeR;AAdd,+CAAuC;AAetC,uFAfQ,oBAAM,OAeR;AAdP,yDAAgD;AAe/C,2FAfQ,6BAAU,OAeR;AAdX,yDAAgD;AAe/C,2FAfQ,6BAAU,OAeR;AAbX,4CAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/campaign/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,mEAAiF;AAmBhF,sGAnBQ,6CAAqB,OAmBR;AACrB,gGApB+B,uCAAe,OAoB/B;AAnBhB,iEAA4D;AAa3D,mGAbQ,yCAAkB,OAaR;AAZnB,6DAAoD;AAanD,6FAbQ,iCAAY,OAaR;AAZb,mDAA2C;AAa1C,yFAbQ,wBAAQ,OAaR;AAZT,2EAAiE;AAahE,mGAbQ,8CAAkB,OAaR;AAXnB,+DAAsD;AAerD,8FAfQ,mCAAa,OAeR;AAdd,+CAAuC;AAetC,uFAfQ,oBAAM,OAeR;AAdP,yDAAgD;AAe/C,2FAfQ,6BAAU,OAeR;AAdX,qFAA2E;AAe1E,wGAfQ,wDAAuB,OAeR;AAbxB,4CAA0B"}
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EntityType = void 0;
4
- var EntityType;
5
- (function (EntityType) {
6
- EntityType["ORGANISATION"] = "organisation";
7
- EntityType["STUDY"] = "study";
8
- })(EntityType || (exports.EntityType = EntityType = {}));
9
- //# sourceMappingURL=entity-type.enum.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"entity-type.enum.js","sourceRoot":"","sources":["../../../../../src/domain/campaign/enums/entity-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAGX;AAHD,WAAY,UAAU;IACrB,2CAA6B,CAAA;IAC7B,6BAAe,CAAA;AAChB,CAAC,EAHW,UAAU,0BAAV,UAAU,QAGrB"}