itlab-internal-services 2.16.26 → 2.16.28

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 (32) hide show
  1. package/dist/modules/services/providers/files/crop-image-options.dto.v1.type.d.ts +1 -0
  2. package/dist/modules/services/providers/mail/dtos/{auth-login-token-mail.dto.v1.d.ts → account-login-token-mail.dto.v1.d.ts} +2 -6
  3. package/dist/modules/services/providers/mail/dtos/{auth-password-reset-mail.dto.v1.d.ts → account-password-reset-mail.dto.v1.d.ts} +2 -6
  4. package/dist/modules/services/providers/mail/dtos/event-user-cancellation-mail.dto.v1.d.ts +2 -7
  5. package/dist/modules/services/providers/mail/dtos/event-user-registration-mail.dto.v1.d.ts +2 -7
  6. package/dist/modules/services/providers/mail/dtos/idea-status-updated-mail.dto.v1.d.ts +2 -3
  7. package/dist/modules/services/providers/mail/dtos/idea-submitted-mail.dto.v1.d.ts +2 -3
  8. package/dist/modules/services/providers/mail/dtos/index.d.ts +2 -2
  9. package/dist/modules/services/providers/mail/dtos/index.js +2 -2
  10. package/dist/modules/services/providers/mail/dtos/lunch-roulette-cancellation-mail.dto.v1.d.ts +2 -4
  11. package/dist/modules/services/providers/mail/dtos/lunch-roulette-matched-mail.dto.v1.d.ts +2 -6
  12. package/dist/modules/services/providers/mail/dtos/lunch-roulette-registration-mail.dto.v1.d.ts +2 -3
  13. package/dist/modules/services/providers/mail/dtos/lunch-roulette-unmatched-mail.dto.v1.d.ts +2 -4
  14. package/dist/modules/services/providers/mail/dtos/newsletter-issue-mail.dto.v1.d.ts +2 -3
  15. package/dist/modules/services/providers/mail/dtos/newsletter-subscribed-mail.dto.v1.d.ts +2 -4
  16. package/dist/modules/services/providers/mail/dtos/newsletter-unsubscribed-mail.dto.v1.d.ts +2 -4
  17. package/dist/modules/services/providers/mail/dtos/notification-mail.dto.v1.d.ts +2 -3
  18. package/dist/modules/services/providers/mail/mail-types.d.ts +10 -0
  19. package/dist/modules/services/providers/notifications/dtos/schedule-notification.dto.v1.d.ts +8 -0
  20. package/dist/modules/services/providers/pass/dtos/create-events-host-pass.dto.v1.d.ts +32 -0
  21. package/dist/modules/services/providers/pass/dtos/{create-tech-scout-pass.dto.v1.d.ts → create-tech-radar-tech-scout-pass.dto.v1.d.ts} +2 -2
  22. package/dist/modules/services/providers/pass/dtos/create-tech-radar-tech-scout-pass.dto.v1.js +2 -0
  23. package/dist/modules/services/providers/pass/dtos/index.d.ts +2 -1
  24. package/dist/modules/services/providers/pass/dtos/index.js +2 -1
  25. package/dist/modules/services/providers/pass/pass-types.d.ts +5 -4
  26. package/dist/modules/services/providers/pass/pass-types.js +4 -3
  27. package/dist/modules/services/providers/pass/pass.service.d.ts +21 -11
  28. package/dist/modules/services/providers/pass/pass.service.js +33 -16
  29. package/package.json +1 -1
  30. /package/dist/modules/services/providers/mail/dtos/{auth-login-token-mail.dto.v1.js → account-login-token-mail.dto.v1.js} +0 -0
  31. /package/dist/modules/services/providers/mail/dtos/{auth-password-reset-mail.dto.v1.js → account-password-reset-mail.dto.v1.js} +0 -0
  32. /package/dist/modules/services/providers/pass/dtos/{create-tech-scout-pass.dto.v1.js → create-events-host-pass.dto.v1.js} +0 -0
@@ -7,6 +7,7 @@ export type CropImageOptionsDtoV1 = {
7
7
  format?: 'webp' | 'png' | 'jpg' | 'jpeg';
8
8
  width?: number;
9
9
  height?: number;
10
+ crop?: 'cover' | 'contain' | 'fill';
10
11
  radius?: number;
11
12
  squircle?: number;
12
13
  quality?: number;
@@ -1,12 +1,8 @@
1
- import { MailRecipient } from '../models';
1
+ import { SingleRecipientMail } from '../mail-types';
2
2
  /**
3
3
  * Payload for sending a login token email to a user.
4
4
  */
5
- export type AccountLoginTokenMailDtoV1 = {
6
- /**
7
- * Recipient information for the email.
8
- */
9
- recipient: MailRecipient;
5
+ export type AccountLoginTokenMailDtoV1 = SingleRecipientMail & {
10
6
  /**
11
7
  * Unique one-time login token sent to the user.
12
8
  * @example "001704"
@@ -1,12 +1,8 @@
1
- import { MailRecipient } from '../models';
1
+ import { SingleRecipientMail } from '../mail-types';
2
2
  /**
3
3
  * Payload for sending a password reset email to a user.
4
4
  */
5
- export type AccountPasswordResetMailDtoV1 = {
6
- /**
7
- * Recipient information for the email.
8
- */
9
- recipient: MailRecipient;
5
+ export type AccountPasswordResetMailDtoV1 = SingleRecipientMail & {
10
6
  /**
11
7
  * Secure password reset URL the user can click to reset their password.
12
8
  * @example "http://cms.example.com"
@@ -1,13 +1,8 @@
1
- import { MailAttachment, MailRecipient } from '../models';
1
+ import { SingleRecipientMail } from '../mail-types';
2
2
  /**
3
3
  * Payload for sending a cancellation notification for an event.
4
4
  */
5
- export type EventUserCancellationMailDtoV1 = {
6
- recipient: MailRecipient;
7
- /**
8
- * Optional attachments
9
- */
10
- attachments?: MailAttachment[];
5
+ export type EventUserCancellationMailDtoV1 = SingleRecipientMail & {
11
6
  /**
12
7
  * Mode of participation (e.g., vor Ort, Online).
13
8
  */
@@ -1,13 +1,8 @@
1
- import { MailAttachment, MailRecipient } from '../models';
1
+ import { SingleRecipientMail } from '../mail-types';
2
2
  /**
3
3
  * Payload for sending an registration to an event.
4
4
  */
5
- export type EventUserRegistrationMailDtoV1 = {
6
- recipient: MailRecipient;
7
- /**
8
- * Optional attachments
9
- */
10
- attachments?: MailAttachment[];
5
+ export type EventUserRegistrationMailDtoV1 = SingleRecipientMail & {
11
6
  /**
12
7
  * Mode of participation (e.g., vor Ort, Online).
13
8
  */
@@ -1,9 +1,8 @@
1
- import { MailRecipient } from '../models';
1
+ import { SingleRecipientMail } from '../mail-types';
2
2
  /**
3
3
  * Payload for notifying users of an idea status update.
4
4
  */
5
- export type IdeaStatusUpdateMailDtoV1 = {
6
- recipient: MailRecipient;
5
+ export type IdeaStatusUpdateMailDtoV1 = SingleRecipientMail & {
7
6
  /**
8
7
  * Previous status of the idea.
9
8
  * @example "In Bearbeitung"
@@ -1,9 +1,8 @@
1
- import { MailRecipient } from '../models';
1
+ import { SingleRecipientMail } from '../mail-types';
2
2
  /**
3
3
  * Payload for notifying a user that an idea was submitted.
4
4
  */
5
- export type IdeaSubmittedMailDtoV1 = {
6
- recipient: MailRecipient;
5
+ export type IdeaSubmittedMailDtoV1 = SingleRecipientMail & {
7
6
  /**
8
7
  * CMS URL linking to the submitted idea for internal management.
9
8
  */
@@ -10,5 +10,5 @@ export * from './event-user-registration-mail.dto.v1';
10
10
  export * from './notification-mail.dto.v1';
11
11
  export * from './idea-status-updated-mail.dto.v1';
12
12
  export * from './idea-submitted-mail.dto.v1';
13
- export * from './auth-login-token-mail.dto.v1';
14
- export * from './auth-password-reset-mail.dto.v1';
13
+ export * from './account-login-token-mail.dto.v1';
14
+ export * from './account-password-reset-mail.dto.v1';
@@ -26,5 +26,5 @@ __exportStar(require("./event-user-registration-mail.dto.v1"), exports);
26
26
  __exportStar(require("./notification-mail.dto.v1"), exports);
27
27
  __exportStar(require("./idea-status-updated-mail.dto.v1"), exports);
28
28
  __exportStar(require("./idea-submitted-mail.dto.v1"), exports);
29
- __exportStar(require("./auth-login-token-mail.dto.v1"), exports);
30
- __exportStar(require("./auth-password-reset-mail.dto.v1"), exports);
29
+ __exportStar(require("./account-login-token-mail.dto.v1"), exports);
30
+ __exportStar(require("./account-password-reset-mail.dto.v1"), exports);
@@ -1,7 +1,5 @@
1
- import { MailRecipient } from '../models';
1
+ import { SingleRecipientMail } from '../mail-types';
2
2
  /**
3
3
  * Payload for cancelling a user's lunch roulette participation.
4
4
  */
5
- export type LunchRouletteCancellationMailDtoV1 = {
6
- recipient: MailRecipient;
7
- };
5
+ export type LunchRouletteCancellationMailDtoV1 = SingleRecipientMail & {};
@@ -1,12 +1,8 @@
1
- import { MailRecipient } from '../models';
1
+ import { MultiRecipientsMail } from '../mail-types';
2
2
  /**
3
3
  * Payload for notifying users that they have been matched in lunch roulette.
4
4
  */
5
- export type LunchRouletteMatchedMailDtoV1 = {
6
- /**
7
- * Array of matched participants who will receive the message.
8
- */
9
- recipients: MailRecipient[];
5
+ export type LunchRouletteMatchedMailDtoV1 = MultiRecipientsMail & {
10
6
  /**
11
7
  * Personalized message sent to the matched pair.
12
8
  * @example "Have a great coffee chat!"
@@ -1,9 +1,8 @@
1
- import { MailRecipient } from '../models';
1
+ import { SingleRecipientMail } from '../mail-types';
2
2
  /**
3
3
  * Payload confirming a user's lunch roulette registration.
4
4
  */
5
- export type LunchRouletteRegistrationMailDtoV1 = {
6
- recipient: MailRecipient;
5
+ export type LunchRouletteRegistrationMailDtoV1 = SingleRecipientMail & {
7
6
  /**
8
7
  * Location selected for participation.
9
8
  * @example "Mannheim"
@@ -1,7 +1,5 @@
1
- import { MailRecipient } from '../models';
1
+ import { SingleRecipientMail } from '../mail-types';
2
2
  /**
3
3
  * Payload for notifying a user they were not matched in lunch roulette.
4
4
  */
5
- export type LunchRouletteUnmatchedMailDtoV1 = {
6
- recipient: MailRecipient;
7
- };
5
+ export type LunchRouletteUnmatchedMailDtoV1 = SingleRecipientMail & {};
@@ -1,10 +1,9 @@
1
1
  import { LabHtmlPopulatedContent } from 'itlab-functions';
2
- import { MailRecipient } from '../models';
2
+ import { MultiRecipientsMail } from '../mail-types';
3
3
  /**
4
4
  * Payload for sending a newsletter issue to recipients.
5
5
  */
6
- export type NewsletterIssueMailDtoV1 = {
7
- recipients: MailRecipient[];
6
+ export type NewsletterIssueMailDtoV1 = MultiRecipientsMail & {
8
7
  /**
9
8
  * Title of the newsletter issue.
10
9
  * @example "Newsletter #174"
@@ -1,7 +1,5 @@
1
- import { MailRecipient } from '../models';
1
+ import { SingleRecipientMail } from '../mail-types';
2
2
  /**
3
3
  * Payload confirming newsletter subscription.
4
4
  */
5
- export type NewsletterSubscribedMailDtoV1 = {
6
- recipient: MailRecipient;
7
- };
5
+ export type NewsletterSubscribedMailDtoV1 = SingleRecipientMail & {};
@@ -1,7 +1,5 @@
1
- import { MailRecipient } from '../models';
1
+ import { SingleRecipientMail } from '../mail-types';
2
2
  /**
3
3
  * Payload confirming newsletter unsubscription.
4
4
  */
5
- export type NewsletterUnsubscribedMailDtoV1 = {
6
- recipient: MailRecipient;
7
- };
5
+ export type NewsletterUnsubscribedMailDtoV1 = SingleRecipientMail & {};
@@ -1,9 +1,8 @@
1
- import { MailRecipient } from '../models';
1
+ import { MultiRecipientsMail } from '../mail-types';
2
2
  /**
3
3
  * Payload for sending a general notification email.
4
4
  */
5
- export type NotificationMailDtoV1 = {
6
- recipients: MailRecipient[];
5
+ export type NotificationMailDtoV1 = MultiRecipientsMail & {
7
6
  /**
8
7
  * Subject line of the notification email.
9
8
  * @example "Neuer Blogpost"
@@ -1,8 +1,18 @@
1
1
  import { AccountLoginTokenMailDtoV1, AccountPasswordResetMailDtoV1, EventUserCancellationMailDtoV1, EventUserRegistrationMailDtoV1, IdeaStatusUpdateMailDtoV1, IdeaSubmittedMailDtoV1, LunchRouletteCancellationMailDtoV1, LunchRouletteMatchedMailDtoV1, LunchRouletteRegistrationMailDtoV1, LunchRouletteUnmatchedMailDtoV1, NewsletterIssueMailDtoV1, NewsletterSubscribedMailDtoV1, NewsletterUnsubscribedMailDtoV1, NotificationMailDtoV1 } from './dtos';
2
+ import { MailAttachment, MailRecipient } from './models';
2
3
  /**
3
4
  * Constant list of supported mail types.
4
5
  */
5
6
  declare const supportedMailTypes: readonly ["v1.account.login-token", "v1.account.password-reset", "v1.event.user-registration", "v1.event.user-cancellation", "v1.idea.submitted", "v1.idea.status-update", "v1.lunch-roulette.registration", "v1.lunch-roulette.cancellation", "v1.lunch-roulette.matched", "v1.lunch-roulette.unmatched", "v1.newsletter.subscribed", "v1.newsletter.unsubscribed", "v1.newsletter.issue", "v1.notification.notification"];
7
+ type BaseMail = {
8
+ attachments?: MailAttachment[];
9
+ };
10
+ export type SingleRecipientMail = BaseMail & {
11
+ recipient: MailRecipient;
12
+ };
13
+ export type MultiRecipientsMail = BaseMail & {
14
+ recipients: MailRecipient[];
15
+ };
6
16
  /**
7
17
  * Union type representing valid mail kinds.
8
18
  */
@@ -66,4 +66,12 @@ export type ScheduleNotificationDtoV1 = {
66
66
  */
67
67
  silenced?: boolean;
68
68
  recipientIds?: string[];
69
+ /**
70
+ * Optional: Callback Url to be called if the notification is sent
71
+ *
72
+ * @type {string}
73
+ * @default undefined
74
+ * @example https://services.svi-itlab.com/
75
+ */
76
+ callbackUrl?: string;
69
77
  };
@@ -0,0 +1,32 @@
1
+ /**
2
+ * CreateEventsHostPassDtoV1
3
+ *
4
+ * Data structure used to generate a digital Apple Wallet pass for a Event Host.
5
+ * Captures personal identity and membership history.
6
+ */
7
+ export type CreateEventsHostPassDtoV1 = {
8
+ /**
9
+ * MongoDB ObjectId uniquely identifying the host.
10
+ *
11
+ * @example '507f1f77bcf86cd799439011'
12
+ */
13
+ hostId: string;
14
+ /**
15
+ * Optional: Blobname of the host's avatar.
16
+ *
17
+ * @example 'avatar/507f1f77bcf86cd799439022'
18
+ */
19
+ avatarBlob?: `${'avatar' | 'file'}/${string}`;
20
+ /**
21
+ * Full name of the member as it should appear on the digital pass.
22
+ *
23
+ * @example 'Jane Doe'
24
+ */
25
+ name: string;
26
+ /**
27
+ * Email address used to identify and contact the host.
28
+ *
29
+ * @example 'jane.doe@example.com'
30
+ */
31
+ email: string;
32
+ };
@@ -1,10 +1,10 @@
1
1
  /**
2
- * CreateTechScoutPassDtoV1
2
+ * CreateTechRadarTechScoutPassDtoV1
3
3
  *
4
4
  * Data structure used to generate a digital Apple Wallet pass for a Tech Scout.
5
5
  * Captures personal identity and membership history.
6
6
  */
7
- export type CreateTechScoutPassDtoV1 = {
7
+ export type CreateTechRadarTechScoutPassDtoV1 = {
8
8
  /**
9
9
  * MongoDB ObjectId uniquely identifying the tech scout.
10
10
  *
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +1,3 @@
1
+ export * from './create-events-host-pass.dto.v1';
1
2
  export * from './create-team-member-pass.dto.v1';
2
- export * from './create-tech-scout-pass.dto.v1';
3
+ export * from './create-tech-radar-tech-scout-pass.dto.v1';
@@ -14,5 +14,6 @@ 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
+ __exportStar(require("./create-events-host-pass.dto.v1"), exports);
17
18
  __exportStar(require("./create-team-member-pass.dto.v1"), exports);
18
- __exportStar(require("./create-tech-scout-pass.dto.v1"), exports);
19
+ __exportStar(require("./create-tech-radar-tech-scout-pass.dto.v1"), exports);
@@ -1,8 +1,8 @@
1
- import { CreateTeamMemberPassDtoV1, CreateTechScoutPassDtoV1 } from './dtos';
1
+ import { CreateEventsHostPassDtoV1, CreateTeamMemberPassDtoV1, CreateTechRadarTechScoutPassDtoV1 } from './dtos';
2
2
  /**
3
3
  * Constant list of supported digital pass types.
4
4
  */
5
- declare const supportedPassTypes: readonly ["v1.team-member", "v1.tech-scout"];
5
+ declare const supportedPassTypes: readonly ["v1.events.host", "v1.tech-radar.tech-scout", "v1.team.member"];
6
6
  /**
7
7
  * Union type representing valid pass types.
8
8
  */
@@ -12,8 +12,9 @@ export type PassType = (typeof supportedPassTypes)[number];
12
12
  * This enables type-safe payload handling when creating passes.
13
13
  */
14
14
  export type PassTypeDtoMap = {
15
- 'v1.team-member': CreateTeamMemberPassDtoV1;
16
- 'v1.tech-scout': CreateTechScoutPassDtoV1;
15
+ 'v1.events.host': CreateEventsHostPassDtoV1;
16
+ 'v1.tech-radar.tech-scout': CreateTechRadarTechScoutPassDtoV1;
17
+ 'v1.team.member': CreateTeamMemberPassDtoV1;
17
18
  };
18
19
  export declare const PassTypeEndpointMap: Record<PassType, string>;
19
20
  export {};
@@ -5,8 +5,9 @@ exports.PassTypeEndpointMap = void 0;
5
5
  * Constant list of supported digital pass types.
6
6
  */
7
7
  // eslint-disable-next-line
8
- const supportedPassTypes = ['v1.team-member', 'v1.tech-scout'];
8
+ const supportedPassTypes = ['v1.events.host', 'v1.tech-radar.tech-scout', 'v1.team.member'];
9
9
  exports.PassTypeEndpointMap = {
10
- 'v1.team-member': 'v1/internal/team-member',
11
- 'v1.tech-scout': 'v1/internal/tech-scout',
10
+ 'v1.events.host': 'v1/internal/events/host',
11
+ 'v1.tech-radar.tech-scout': 'v1/internal/tech-radar/tech-scout',
12
+ 'v1.team.member': 'v1/internal/team/member',
12
13
  };
@@ -1,7 +1,7 @@
1
1
  import { ConfigService } from '@nestjs/config';
2
2
  import { AuthenticationModuleOptions } from '../../../authentication';
3
3
  import { BaseHttpService } from '../../base-http.service';
4
- import { CreateTeamMemberPassDtoV1, CreateTechScoutPassDtoV1 } from './dtos';
4
+ import { CreateEventsHostPassDtoV1, CreateTeamMemberPassDtoV1, CreateTechRadarTechScoutPassDtoV1 } from './dtos';
5
5
  /**
6
6
  * PassService
7
7
  *
@@ -32,23 +32,33 @@ export declare class PassService extends BaseHttpService {
32
32
  */
33
33
  private deletePass;
34
34
  /**
35
- * Creates a team-member pass
36
- * @param {CreateTeamMemberPassDtoV1} payload - DTO containing relevant data
35
+ * Creates a events host pass
36
+ * @param {CreateEventsHostPassDtoV1} payload - DTO containing relevant data
37
37
  */
38
- createTeamMemberPassV1(payload: CreateTeamMemberPassDtoV1): void;
38
+ createEventsHostPassV1(payload: CreateEventsHostPassDtoV1): void;
39
39
  /**
40
- * Deletes a team-member pass
40
+ * Deletes a events host pass
41
41
  * @param {string} passId - The ID of the pass to delete
42
42
  */
43
- deleteTeamMemberPassV1(passId: string): void;
43
+ deleteEventsHostPassV1(passId: string): void;
44
44
  /**
45
- * Creates a tech-scout pass
46
- * @param {CreateTechScoutPassDtoV1} payload - DTO containing relevant data
45
+ * Creates a tech-radar tech-scout pass
46
+ * @param {CreateTechRadarTechScoutPassDtoV1} payload - DTO containing relevant data
47
47
  */
48
- createTechScoutPassV1(payload: CreateTechScoutPassDtoV1): void;
48
+ createTechRadarTechScoutPassV1(payload: CreateTechRadarTechScoutPassDtoV1): void;
49
49
  /**
50
- * Deletes a tech-scout pass
50
+ * Deletes a tech-radar tech-scout pass
51
51
  * @param {string} passId - The ID of the pass to delete
52
52
  */
53
- deleteTechScoutPassV1(passId: string): void;
53
+ deleteTechRadarTechScoutPassV1(passId: string): void;
54
+ /**
55
+ * Creates a team member pass
56
+ * @param {CreateTeamMemberPassDtoV1} payload - DTO containing relevant data
57
+ */
58
+ createTeamMemberPassV1(payload: CreateTeamMemberPassDtoV1): void;
59
+ /**
60
+ * Deletes a team member pass
61
+ * @param {string} passId - The ID of the pass to delete
62
+ */
63
+ deleteTeamMemberPassV1(passId: string): void;
54
64
  }
@@ -73,38 +73,55 @@ let PassService = class PassService extends base_http_service_1.BaseHttpService
73
73
  });
74
74
  }
75
75
  // ─────────────────────────────────────────────
76
- // Team Member Pass
76
+ // Events
77
77
  // ─────────────────────────────────────────────
78
78
  /**
79
- * Creates a team-member pass
80
- * @param {CreateTeamMemberPassDtoV1} payload - DTO containing relevant data
79
+ * Creates a events host pass
80
+ * @param {CreateEventsHostPassDtoV1} payload - DTO containing relevant data
81
81
  */
82
- createTeamMemberPassV1(payload) {
83
- this.createPass('v1.team-member', payload);
82
+ createEventsHostPassV1(payload) {
83
+ this.createPass('v1.events.host', payload);
84
84
  }
85
85
  /**
86
- * Deletes a team-member pass
86
+ * Deletes a events host pass
87
87
  * @param {string} passId - The ID of the pass to delete
88
88
  */
89
- deleteTeamMemberPassV1(passId) {
90
- this.deletePass('v1.team-member', passId);
89
+ deleteEventsHostPassV1(passId) {
90
+ this.deletePass('v1.events.host', passId);
91
91
  }
92
92
  // ─────────────────────────────────────────────
93
- // Tech Scout Pass
93
+ // Tech Radar
94
94
  // ─────────────────────────────────────────────
95
95
  /**
96
- * Creates a tech-scout pass
97
- * @param {CreateTechScoutPassDtoV1} payload - DTO containing relevant data
96
+ * Creates a tech-radar tech-scout pass
97
+ * @param {CreateTechRadarTechScoutPassDtoV1} payload - DTO containing relevant data
98
98
  */
99
- createTechScoutPassV1(payload) {
100
- this.createPass('v1.tech-scout', payload);
99
+ createTechRadarTechScoutPassV1(payload) {
100
+ this.createPass('v1.tech-radar.tech-scout', payload);
101
101
  }
102
102
  /**
103
- * Deletes a tech-scout pass
103
+ * Deletes a tech-radar tech-scout pass
104
104
  * @param {string} passId - The ID of the pass to delete
105
105
  */
106
- deleteTechScoutPassV1(passId) {
107
- this.deletePass('v1.tech-scout', passId);
106
+ deleteTechRadarTechScoutPassV1(passId) {
107
+ this.deletePass('v1.tech-radar.tech-scout', passId);
108
+ }
109
+ // ─────────────────────────────────────────────
110
+ // Team
111
+ // ─────────────────────────────────────────────
112
+ /**
113
+ * Creates a team member pass
114
+ * @param {CreateTeamMemberPassDtoV1} payload - DTO containing relevant data
115
+ */
116
+ createTeamMemberPassV1(payload) {
117
+ this.createPass('v1.team.member', payload);
118
+ }
119
+ /**
120
+ * Deletes a team member pass
121
+ * @param {string} passId - The ID of the pass to delete
122
+ */
123
+ deleteTeamMemberPassV1(passId) {
124
+ this.deletePass('v1.team.member', passId);
108
125
  }
109
126
  };
110
127
  exports.PassService = PassService;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "Timo Scheuermann",
5
5
  "email": "timo.scheuermann@sv-informatik.de"
6
6
  },
7
- "version": "2.16.26",
7
+ "version": "2.16.28",
8
8
  "type": "commonjs",
9
9
  "files": [
10
10
  "dist"