@bondsports/types 2.4.29 → 2.4.31
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/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/dto/aws.cognito.dto.d.ts +1 -0
- package/dist/types/dto/aws.cognito.dto.js.map +1 -1
- package/dist/types/dto/userPaymentMethod.dto.d.ts +9 -0
- package/dist/types/dto/userPaymentMethod.dto.js +4 -1
- package/dist/types/dto/userPaymentMethod.dto.js.map +1 -1
- package/dist/types/entity/user-payment-method.d.ts +4 -1
- package/dist/types/entity/user-payment-method.js.map +1 -1
- package/dist/types/membership/types/membership.interfaces.d.ts +1 -0
- package/dist/types/membership/types/membership.members.interfaces.d.ts +0 -2
- package/dist/types/notifications/dto/notification.create.dto.d.ts +16 -8
- package/dist/types/notifications/dto/notification.create.dto.js +11 -4
- package/dist/types/notifications/dto/notification.create.dto.js.map +1 -1
- package/dist/types/notifications/types/interfaces/notification.interfaces.d.ts +3 -2
- package/dist/types/payment/dto/payment-plan.dto.d.ts +1 -0
- package/dist/types/payment/dto/payment-plan.dto.js.map +1 -1
- package/dist/types/payment/dto/payment.dto.d.ts +12 -1
- package/dist/types/payment/dto/payment.dto.js +7 -1
- package/dist/types/payment/dto/payment.dto.js.map +1 -1
- package/dist/types/payment/types/enums/payment.enums.d.ts +4 -0
- package/dist/types/payment/types/enums/payment.enums.js +6 -1
- package/dist/types/payment/types/enums/payment.enums.js.map +1 -1
- package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +0 -4
- package/dist/types/payment/types/interfaces/payment.interfaces.js.map +1 -1
- package/dist/types/payment/types/interfaces/user-payment-method.interfaces.d.ts +9 -0
- package/dist/types/programs-seasons/types/interfaces/program-session.interfaces.d.ts +2 -4
- package/dist/types/purchase/dto/purchase.dto.d.ts +2 -1
- package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aws.cognito.dto.js","sourceRoot":"","sources":["../../../src/types/dto/aws.cognito.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,oBAAoB;CAgBhC;AAhBD,oDAgBC;AAED,MAAa,oBAAoB;
|
|
1
|
+
{"version":3,"file":"aws.cognito.dto.js","sourceRoot":"","sources":["../../../src/types/dto/aws.cognito.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,oBAAoB;CAgBhC;AAhBD,oDAgBC;AAED,MAAa,oBAAoB;CAYhC;AAZD,oDAYC;AAED,MAAa,yBAAyB;CAQrC;AARD,8DAQC;AAED,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AAED,MAAa,cAAc;CAc1B;AAdD,wCAcC"}
|
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
import { OrganizationConnectionBaseEntity } from '../entity/OrganizationConnectionBaseEntity';
|
|
2
2
|
import { SubPaymentMethodTypeEnum } from '../payment/types/enums/payment.enums';
|
|
3
|
+
import type { ISaveCardTerminalInput } from '../payment/types/interfaces/user-payment-method.interfaces';
|
|
3
4
|
export declare class BasePaymentMethodFieldsDto extends OrganizationConnectionBaseEntity {
|
|
4
5
|
ccLast4?: string;
|
|
5
6
|
ccBrand?: string;
|
|
6
7
|
subPaymentMethodType?: SubPaymentMethodTypeEnum;
|
|
7
8
|
}
|
|
9
|
+
export declare class SaveCardTerminalInputDto implements ISaveCardTerminalInput {
|
|
10
|
+
customerResponse: boolean;
|
|
11
|
+
description?: string;
|
|
12
|
+
readerId?: string;
|
|
13
|
+
readerLocation?: string;
|
|
14
|
+
timestamp?: number;
|
|
15
|
+
title?: string;
|
|
16
|
+
}
|
|
8
17
|
export declare class UserPaymentMethodIdDto {
|
|
9
18
|
userId: number;
|
|
10
19
|
paymentMethodId: number;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UserPaymentMethodIdDto = exports.BasePaymentMethodFieldsDto = void 0;
|
|
3
|
+
exports.UserPaymentMethodIdDto = exports.SaveCardTerminalInputDto = exports.BasePaymentMethodFieldsDto = void 0;
|
|
4
4
|
const OrganizationConnectionBaseEntity_1 = require("../entity/OrganizationConnectionBaseEntity");
|
|
5
5
|
class BasePaymentMethodFieldsDto extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
|
6
6
|
}
|
|
7
7
|
exports.BasePaymentMethodFieldsDto = BasePaymentMethodFieldsDto;
|
|
8
|
+
class SaveCardTerminalInputDto {
|
|
9
|
+
}
|
|
10
|
+
exports.SaveCardTerminalInputDto = SaveCardTerminalInputDto;
|
|
8
11
|
class UserPaymentMethodIdDto {
|
|
9
12
|
}
|
|
10
13
|
exports.UserPaymentMethodIdDto = UserPaymentMethodIdDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userPaymentMethod.dto.js","sourceRoot":"","sources":["../../../src/types/dto/userPaymentMethod.dto.ts"],"names":[],"mappings":";;;AACA,iGAA8F;
|
|
1
|
+
{"version":3,"file":"userPaymentMethod.dto.js","sourceRoot":"","sources":["../../../src/types/dto/userPaymentMethod.dto.ts"],"names":[],"mappings":";;;AACA,iGAA8F;AAI9F,MAAa,0BAA2B,SAAQ,mEAAgC;CAM/E;AAND,gEAMC;AAED,MAAa,wBAAwB;CAYpC;AAZD,4DAYC;AAED,MAAa,sBAAsB;CAIlC;AAJD,wDAIC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CustomerMerge } from '../customers-merge/entities/CustomerMerge';
|
|
2
|
-
import { PaymentMethodTypeEnum, SubPaymentMethodTypeEnum } from '../payment/types/enums/payment.enums';
|
|
2
|
+
import { AllowRedisplayEnum, PaymentMethodTypeEnum, SubPaymentMethodTypeEnum } from '../payment/types/enums/payment.enums';
|
|
3
|
+
import type { ISaveCardTerminalInput } from '../payment/types/interfaces/user-payment-method.interfaces';
|
|
3
4
|
import { BondBaseEntity } from './BondBaseEntity';
|
|
4
5
|
export declare class UserPaymentMethod extends BondBaseEntity {
|
|
5
6
|
userId: number;
|
|
@@ -16,5 +17,7 @@ export declare class UserPaymentMethod extends BondBaseEntity {
|
|
|
16
17
|
expMonth?: number;
|
|
17
18
|
deletedAt?: Date;
|
|
18
19
|
mergeId?: number;
|
|
20
|
+
cardSaveTerminalData?: ISaveCardTerminalInput;
|
|
21
|
+
allowRedisplay?: AllowRedisplayEnum;
|
|
19
22
|
merge?: CustomerMerge;
|
|
20
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-payment-method.js","sourceRoot":"","sources":["../../../src/types/entity/user-payment-method.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"user-payment-method.js","sourceRoot":"","sources":["../../../src/types/entity/user-payment-method.ts"],"names":[],"mappings":";;;AAUA,qDAAkD;AAElD,MAAa,iBAAkB,SAAQ,+BAAc;CAkCpD;AAlCD,8CAkCC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { TimeUnit } from '@bondsports/date-time';
|
|
2
2
|
import { PaginationQuery } from '../../dto/general.dto';
|
|
3
|
-
import { NotificationSubscriptions } from '../../entity/NotificationSubscriptions';
|
|
4
3
|
import { IReason } from '../../organization/interfaces/reason.interfaces';
|
|
5
4
|
import { EmailTemplatesEnum, MembershipStatusEnum, MembershipTypeEnum } from '../../services/enums.service';
|
|
6
5
|
import { MembershipMemberRenewal } from '../entities/membership-member-renewal.entity';
|
|
@@ -28,7 +27,6 @@ export interface ISendPauseMail {
|
|
|
28
27
|
initialEmail?: string;
|
|
29
28
|
mailData: PauseMailRelevantInfo;
|
|
30
29
|
organizationName?: string;
|
|
31
|
-
subscribres: NotificationSubscriptions[];
|
|
32
30
|
templateKey: EmailTemplatesEnum.PAUSE_USER | EmailTemplatesEnum.PAUSE_RESUME_USER;
|
|
33
31
|
}
|
|
34
32
|
export interface IPauseEndDates {
|
|
@@ -9,19 +9,27 @@
|
|
|
9
9
|
* ************************
|
|
10
10
|
* ************************
|
|
11
11
|
*/
|
|
12
|
-
import { ContentDto as IContentDto, NotificationClassification, NotificationCreateDto as INotificationCreateDto, NotificationDeliveryChannel, RecipientsDto as IRecipientsDto, SenderDto as ISenderDto } from '@bondsports/notifications-sdk';
|
|
13
|
-
|
|
12
|
+
import { ContentDto as IContentDto, NotificationClassification, NotificationCreateDto as INotificationCreateDto, NotificationDeliveryChannel, RecipientDto as IRecipientDto, RecipientsDto as IRecipientsDto, SenderDto as ISenderDto } from '@bondsports/notifications-sdk';
|
|
13
|
+
import { OptionalOrganizationIdDto } from '../../organization/dto/organization.dto';
|
|
14
|
+
/**
|
|
15
|
+
* Represents a recipient with both email address and optional user ID.
|
|
16
|
+
* This allows tracking notifications by user even when their email changes.
|
|
17
|
+
*/
|
|
18
|
+
export declare class RecipientDto implements IRecipientDto {
|
|
19
|
+
email: string;
|
|
20
|
+
userId: number;
|
|
21
|
+
}
|
|
22
|
+
export declare class SenderDto extends OptionalOrganizationIdDto implements ISenderDto {
|
|
14
23
|
userId: number;
|
|
15
|
-
organizationId?: number;
|
|
16
24
|
facilityId?: number;
|
|
17
25
|
replyTo?: string;
|
|
18
26
|
fromDisplayName?: string;
|
|
19
27
|
}
|
|
20
28
|
export declare class RecipientsDto implements IRecipientsDto {
|
|
21
|
-
to:
|
|
22
|
-
cc?:
|
|
23
|
-
bcc?:
|
|
24
|
-
interpolationData?:
|
|
29
|
+
to: RecipientDto[];
|
|
30
|
+
cc?: RecipientDto[];
|
|
31
|
+
bcc?: RecipientDto[];
|
|
32
|
+
interpolationData?: object;
|
|
25
33
|
}
|
|
26
34
|
export declare class ContentDto implements IContentDto {
|
|
27
35
|
bodyText?: string;
|
|
@@ -35,5 +43,5 @@ export declare class NotificationCreateDto implements INotificationCreateDto {
|
|
|
35
43
|
sender: SenderDto;
|
|
36
44
|
recipients: RecipientsDto[];
|
|
37
45
|
content: ContentDto;
|
|
38
|
-
deliveryPayload?:
|
|
46
|
+
deliveryPayload?: Record<string, unknown>;
|
|
39
47
|
}
|
|
@@ -11,12 +11,19 @@
|
|
|
11
11
|
* ************************
|
|
12
12
|
*/
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.NotificationCreateDto = exports.ContentDto = exports.RecipientsDto = exports.SenderDto = void 0;
|
|
14
|
+
exports.NotificationCreateDto = exports.ContentDto = exports.RecipientsDto = exports.SenderDto = exports.RecipientDto = void 0;
|
|
15
15
|
const notifications_sdk_1 = require("@bondsports/notifications-sdk");
|
|
16
|
+
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
|
16
17
|
// This file contains DTOs for sending notifications with the SendService.
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
const TEMP_USER_ID = -5;
|
|
19
|
+
/**
|
|
20
|
+
* Represents a recipient with both email address and optional user ID.
|
|
21
|
+
* This allows tracking notifications by user even when their email changes.
|
|
22
|
+
*/
|
|
23
|
+
class RecipientDto {
|
|
24
|
+
}
|
|
25
|
+
exports.RecipientDto = RecipientDto;
|
|
26
|
+
class SenderDto extends organization_dto_1.OptionalOrganizationIdDto {
|
|
20
27
|
}
|
|
21
28
|
exports.SenderDto = SenderDto;
|
|
22
29
|
class RecipientsDto {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.create.dto.js","sourceRoot":"","sources":["../../../../src/types/notifications/dto/notification.create.dto.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,
|
|
1
|
+
{"version":3,"file":"notification.create.dto.js","sourceRoot":"","sources":["../../../../src/types/notifications/dto/notification.create.dto.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,qEAQuC;AAEvC,8EAAoF;AAGpF,0EAA0E;AAC1E,MAAM,YAAY,GAAG,CAAC,CAAC,CAAC;AAExB;;;GAGG;AACH,MAAa,YAAY;CAQxB;AARD,oCAQC;AAED,MAAa,SAAU,SAAQ,4CAAyB;CAavD;AAbD,8BAaC;AAED,MAAa,aAAa;CAczB;AAdD,sCAcC;AAED,MAAa,UAAU;CAWtB;AAXD,gCAWC;AAED,MAAa,qBAAqB;IAAlC;QAGC,mBAAc,GAAgC,8CAA0B,CAAC,OAAO,CAAC;QAgBjF;WACG;QAEH;;;;WAIG;IACJ,CAAC;CAAA;AA3BD,sDA2BC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { RecipientsDto as IRecipientsDto } from '@bondsports/notifications-sdk';
|
|
1
2
|
import { Organization } from '../../../organization/entities/Organization';
|
|
2
3
|
import { NotificationClassification } from '../enums/notification.enums';
|
|
3
4
|
import { TNotificationContent } from '../types/notification.types';
|
|
4
|
-
export interface
|
|
5
|
+
export interface IAdditionalRecipients {
|
|
5
6
|
bcc?: string | string[];
|
|
6
7
|
cc?: string | string[];
|
|
7
8
|
interpolationData?: Record<string, unknown>;
|
|
@@ -44,7 +45,7 @@ export interface INotificationTemplateContent {
|
|
|
44
45
|
export interface ISendNotification {
|
|
45
46
|
content: TNotificationContent;
|
|
46
47
|
options?: ISendNotificationOptions;
|
|
47
|
-
recipients:
|
|
48
|
+
recipients: IRecipientsDto[];
|
|
48
49
|
sender?: INotificationSender;
|
|
49
50
|
}
|
|
50
51
|
export interface ISendNotificationOptions {
|
|
@@ -36,6 +36,7 @@ export declare class CreateScheduledPaymentsDto extends BasicInstallmentDataDto
|
|
|
36
36
|
payments: ScheduledPaymentDto[];
|
|
37
37
|
paymentMethodType: PaymentMethodTypeEnum;
|
|
38
38
|
paymentMethodId: string;
|
|
39
|
+
setupIntentId?: string;
|
|
39
40
|
}
|
|
40
41
|
export declare class ScheduledPaymentDto {
|
|
41
42
|
price: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment-plan.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment-plan.dto.ts"],"names":[],"mappings":";;;AAGA,8EAA8E;AAK9E,MAAa,sBAAsB;CAQlC;AARD,wDAQC;AAED,MAAa,cAAc;CAgB1B;AAhBD,wCAgBC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,kBAAmB,SAAQ,cAAc;CAMrD;AAND,gDAMC;AAED,MAAa,uBAAwB,SAAQ,sCAAmB;CAM/D;AAND,0DAMC;AAED,MAAa,0BAA2B,SAAQ,uBAAuB;
|
|
1
|
+
{"version":3,"file":"payment-plan.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment-plan.dto.ts"],"names":[],"mappings":";;;AAGA,8EAA8E;AAK9E,MAAa,sBAAsB;CAQlC;AARD,wDAQC;AAED,MAAa,cAAc;CAgB1B;AAhBD,wCAgBC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,kBAAmB,SAAQ,cAAc;CAMrD;AAND,gDAMC;AAED,MAAa,uBAAwB,SAAQ,sCAAmB;CAM/D;AAND,0DAMC;AAED,MAAa,0BAA2B,SAAQ,uBAAuB;CAQtE;AARD,gEAQC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,2BAA4B,SAAQ,wBAAwB;CAIxE;AAJD,kEAIC;AAED,MAAa,0BAA0B;CAYtC;AAZD,gEAYC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CustomerDto } from '../../dto/customer.dto';
|
|
2
2
|
import { PaginationQuery } from '../../dto/general.dto';
|
|
3
|
-
import { BasePaymentMethodFieldsDto } from '../../dto/userPaymentMethod.dto';
|
|
3
|
+
import { BasePaymentMethodFieldsDto, SaveCardTerminalInputDto } from '../../dto/userPaymentMethod.dto';
|
|
4
4
|
import { Invoice } from '../../entity/Invoice';
|
|
5
5
|
import { InvoiceToPayment } from '../../entity/InvoiceToPayment';
|
|
6
6
|
import { LineItemHistory } from '../../entity/LineItemHistory';
|
|
@@ -94,6 +94,12 @@ export declare class PaymentIntentDto {
|
|
|
94
94
|
organizationId?: number;
|
|
95
95
|
creatorId?: number;
|
|
96
96
|
payment_method?: string;
|
|
97
|
+
setup_future_usage?: 'off_session';
|
|
98
|
+
cardSaveTerminalData?: SaveCardTerminalInputDto;
|
|
99
|
+
}
|
|
100
|
+
export declare class SetupIntentDto {
|
|
101
|
+
customer: string;
|
|
102
|
+
cardSaveTerminalData: SaveCardTerminalInputDto;
|
|
97
103
|
}
|
|
98
104
|
export declare class PaymentDataDto {
|
|
99
105
|
paymentMethodType: PaymentMethodTypeEnum;
|
|
@@ -137,10 +143,15 @@ export declare class SendPaymentRequestDto extends InvoiceIdDto {
|
|
|
137
143
|
sendToEmail: string;
|
|
138
144
|
memo?: string;
|
|
139
145
|
}
|
|
146
|
+
export declare class GetPaymentMethodsOfUserDto extends ByOrganizationIdDto {
|
|
147
|
+
includeLimited?: boolean;
|
|
148
|
+
platform: PlatformsEnum;
|
|
149
|
+
}
|
|
140
150
|
export declare class GetPaymentMethodsDto {
|
|
141
151
|
platform: PlatformsEnum;
|
|
142
152
|
paymentMethodTypes?: PaymentMethodTypeEnum[];
|
|
143
153
|
subPaymentMethodTypes?: SubPaymentMethodTypeEnum[];
|
|
154
|
+
includeLimited?: boolean;
|
|
144
155
|
}
|
|
145
156
|
export declare class PaymentDto extends BasePaymentMethodFieldsDto {
|
|
146
157
|
customer?: CustomerDto;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdatePaymentStatusDto = exports.StripeAccountStatusDto = exports.PaymentSettingsDto = exports.PaymentDto = exports.GetPaymentMethodsDto = exports.SendPaymentRequestDto = exports.RevertMetaDto = exports.RemoveResourceDto = exports.NotePrivacyDto = exports.UpdateNoteContentDto = exports.CreateNoteDto = exports.AddToInvoiceDto = exports.SendReceiptDataDto = exports.SendPassPurchaseReceiptDto = exports.PaymentDataDto = exports.PaymentIntentDto = exports.StationsDto = exports.FindPayments = exports.ByPaymentFilter = exports.PaymentViaInvoiceHashDto = exports.GetPaymentsQueryDto = exports.GetInvoicesQueryDto = exports.InvoiceIdAndUserIdDto = exports.ByInvoiceAndCustomerDto = exports.ByInvoiceDto = exports.InvoiceIdDto = exports.GetPaymentByCustomerDeprecatedDto = exports.GetPaymentByUserDto = exports.ByPaymentDto = exports.GetPaymentDto = exports.ByPaymentAndCustomerDto = exports.PaymentIdDto = exports.CustomerIdDto = void 0;
|
|
3
|
+
exports.UpdatePaymentStatusDto = exports.StripeAccountStatusDto = exports.PaymentSettingsDto = exports.PaymentDto = exports.GetPaymentMethodsDto = exports.GetPaymentMethodsOfUserDto = exports.SendPaymentRequestDto = exports.RevertMetaDto = exports.RemoveResourceDto = exports.NotePrivacyDto = exports.UpdateNoteContentDto = exports.CreateNoteDto = exports.AddToInvoiceDto = exports.SendReceiptDataDto = exports.SendPassPurchaseReceiptDto = exports.PaymentDataDto = exports.SetupIntentDto = exports.PaymentIntentDto = exports.StationsDto = exports.FindPayments = exports.ByPaymentFilter = exports.PaymentViaInvoiceHashDto = exports.GetPaymentsQueryDto = exports.GetInvoicesQueryDto = exports.InvoiceIdAndUserIdDto = exports.ByInvoiceAndCustomerDto = exports.ByInvoiceDto = exports.InvoiceIdDto = exports.GetPaymentByCustomerDeprecatedDto = exports.GetPaymentByUserDto = exports.ByPaymentDto = exports.GetPaymentDto = exports.ByPaymentAndCustomerDto = exports.PaymentIdDto = exports.CustomerIdDto = void 0;
|
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
|
5
5
|
const userPaymentMethod_dto_1 = require("../../dto/userPaymentMethod.dto");
|
|
6
6
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
|
@@ -58,6 +58,9 @@ exports.StationsDto = StationsDto;
|
|
|
58
58
|
class PaymentIntentDto {
|
|
59
59
|
}
|
|
60
60
|
exports.PaymentIntentDto = PaymentIntentDto;
|
|
61
|
+
class SetupIntentDto {
|
|
62
|
+
}
|
|
63
|
+
exports.SetupIntentDto = SetupIntentDto;
|
|
61
64
|
class PaymentDataDto {
|
|
62
65
|
}
|
|
63
66
|
exports.PaymentDataDto = PaymentDataDto;
|
|
@@ -88,6 +91,9 @@ exports.RevertMetaDto = RevertMetaDto;
|
|
|
88
91
|
class SendPaymentRequestDto extends InvoiceIdDto {
|
|
89
92
|
}
|
|
90
93
|
exports.SendPaymentRequestDto = SendPaymentRequestDto;
|
|
94
|
+
class GetPaymentMethodsOfUserDto extends organization_dto_1.ByOrganizationIdDto {
|
|
95
|
+
}
|
|
96
|
+
exports.GetPaymentMethodsOfUserDto = GetPaymentMethodsOfUserDto;
|
|
91
97
|
class GetPaymentMethodsDto {
|
|
92
98
|
}
|
|
93
99
|
exports.GetPaymentMethodsDto = GetPaymentMethodsDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AACxD,
|
|
1
|
+
{"version":3,"file":"payment.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AACxD,2EAAuG;AAOvG,8EAA8E;AAyB9E,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,uBAAwB,SAAQ,YAAY;CAExD;AAFD,0DAEC;AAED,MAAa,aAAc,SAAQ,YAAY;CAE9C;AAFD,sCAEC;AAED,MAAa,YAAa,SAAQ,sCAAmB;CAEpD;AAFD,oCAEC;AAED,MAAa,mBAAoB,SAAQ,YAAY;CAEpD;AAFD,kDAEC;AAED,MAAa,iCAAkC,SAAQ,YAAY;CAElE;AAFD,8EAEC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,YAAa,SAAQ,sCAAmB;CAEpD;AAFD,oCAEC;AAED,MAAa,uBAAwB,SA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ueDateTypeEnum = exports.PaymentBrandEnum = exports.FlattenViaPropEnum = exports.unpaidInstallmentStatuses = exports.failedInstallmentStatuses = exports.chargeableInstallmentStatuses = exports.scheduledChargeStatusWithTreansactionFee = exports.FuturePaymentStatusEnum = exports.SubPaymentMethodTypeEnum = exports.PaymentProcessorEnum = exports.PaymentMethodTypeEnum = exports.PaymentMethodsEnum = exports.PaymentStatusV1Enum = exports.ReasonTypeEnum = exports.PaymentFilterByEnum = exports.PaymentStatusEnum = void 0;
|
|
3
|
+
exports.AllowRedisplayEnum = exports.DueDateTypeEnum = exports.PaymentBrandEnum = exports.FlattenViaPropEnum = exports.unpaidInstallmentStatuses = exports.failedInstallmentStatuses = exports.chargeableInstallmentStatuses = exports.scheduledChargeStatusWithTreansactionFee = exports.FuturePaymentStatusEnum = exports.SubPaymentMethodTypeEnum = exports.PaymentProcessorEnum = exports.PaymentMethodTypeEnum = exports.PaymentMethodsEnum = exports.PaymentStatusV1Enum = exports.ReasonTypeEnum = exports.PaymentFilterByEnum = exports.PaymentStatusEnum = void 0;
|
|
4
4
|
var PaymentStatusEnum;
|
|
5
5
|
(function (PaymentStatusEnum) {
|
|
6
6
|
PaymentStatusEnum["NOT_PAID"] = "not_paid";
|
|
@@ -131,4 +131,9 @@ var DueDateTypeEnum;
|
|
|
131
131
|
DueDateTypeEnum["PAYMENT_PLAN"] = "payment_plan";
|
|
132
132
|
DueDateTypeEnum["MANUAL"] = "manual";
|
|
133
133
|
})(DueDateTypeEnum = exports.DueDateTypeEnum || (exports.DueDateTypeEnum = {}));
|
|
134
|
+
var AllowRedisplayEnum;
|
|
135
|
+
(function (AllowRedisplayEnum) {
|
|
136
|
+
AllowRedisplayEnum["ALWAYS"] = "always";
|
|
137
|
+
AllowRedisplayEnum["LIMITED"] = "limited";
|
|
138
|
+
})(AllowRedisplayEnum = exports.AllowRedisplayEnum || (exports.AllowRedisplayEnum = {}));
|
|
134
139
|
//# sourceMappingURL=payment.enums.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment.enums.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/payment.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAWX;AAXD,WAAY,iBAAiB;IAC5B,0CAAqB,CAAA;IACrB,gDAA2B,CAAA;IAC3B,wCAAmB,CAAA;IACnB,0CAAqB,CAAA;IACrB,kCAAa,CAAA;IACb,0CAAqB,CAAA;IACrB,wDAAmC,CAAA;IACnC,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;IACnB,4DAAuC,CAAA;AACxC,CAAC,EAXW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAW5B;AAED,IAAY,mBAQX;AARD,WAAY,mBAAmB;IAC9B,uDAAgC,CAAA;IAChC,wCAAiB,CAAA;IACjB,gCAAS,CAAA;IACT,+CAAwB,CAAA;IACxB,+CAAwB,CAAA;IACxB,sCAAe,CAAA;IACf,2CAAoB,CAAA;AACrB,CAAC,EARW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAQ9B;AAED,IAAY,cAKX;AALD,WAAY,cAAc;IACzB,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,2CAAyB,CAAA;IACzB,uDAAqC,CAAA;AACtC,CAAC,EALW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAKzB;AAED,IAAY,mBASX;AATD,WAAY,mBAAmB;IAC9B,iFAAkB,CAAA;IAClB,qFAAoB,CAAA;IACpB,qEAAY,CAAA;IACZ,qEAAY,CAAA;IACZ,uEAAa,CAAA;IACb,+DAAS,CAAA;IACT,6EAAgB,CAAA;IAChB,mEAAW,CAAA;AACZ,CAAC,EATW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAS9B;AAED,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC7B,+DAAU,CAAA;IACV,2DAAQ,CAAA;AACT,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B;AAED,IA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yBAAyB,GAAG,CAAC,uBAAuB,CAAC,MAAM,EAAE,uBAAuB,CAAC,iBAAiB,CAAC,CAAC;AAErH;;GAEG;AACH;;;GAGG;AACU,QAAA,yBAAyB,GAAG;IACxC,uBAAuB,CAAC,MAAM;IAC9B,uBAAuB,CAAC,iBAAiB;IACzC,uBAAuB,CAAC,QAAQ;CAChC,CAAC;AAEF,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC7B,2CAAqB,CAAA;IACrB,8CAAwB,CAAA;AACzB,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B;AAED,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC3B,iCAAa,CAAA;IACb,6CAAyB,CAAA;IACzB,uCAAmB,CAAA;AACpB,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B;AAED,IAAY,eAGX;AAHD,WAAY,eAAe;IAC1B,gDAA6B,CAAA;IAC7B,oCAAiB,CAAA;AAClB,CAAC,EAHW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAG1B"}
|
|
1
|
+
{"version":3,"file":"payment.enums.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/payment.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAWX;AAXD,WAAY,iBAAiB;IAC5B,0CAAqB,CAAA;IACrB,gDAA2B,CAAA;IAC3B,wCAAmB,CAAA;IACnB,0CAAqB,CAAA;IACrB,kCAAa,CAAA;IACb,0CAAqB,CAAA;IACrB,wDAAmC,CAAA;IACnC,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;IACnB,4DAAuC,CAAA;AACxC,CAAC,EAXW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAW5B;AAED,IAAY,mBAQX;AARD,WAAY,mBAAmB;IAC9B,uDAAgC,CAAA;IAChC,wCAAiB,CAAA;IACjB,gCAAS,CAAA;IACT,+CAAwB,CAAA;IACxB,+CAAwB,CAAA;IACxB,sC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HD,WAAY,eAAe;IAC1B,gDAA6B,CAAA;IAC7B,oCAAiB,CAAA;AAClB,CAAC,EAHW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAG1B;AAED,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC7B,uCAAiB,CAAA;IACjB,yCAAmB,CAAA;AACpB,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B"}
|
|
@@ -29,10 +29,6 @@ export interface ExtendedLineItems {
|
|
|
29
29
|
programs: LineItems[];
|
|
30
30
|
rentals: LineItems[];
|
|
31
31
|
}
|
|
32
|
-
export interface GetPaymentMethodsOfUserFilters {
|
|
33
|
-
organizationId: number;
|
|
34
|
-
platform: PlatformsEnum;
|
|
35
|
-
}
|
|
36
32
|
export interface GetPaymentMethodsMapsFilters {
|
|
37
33
|
organizationId?: number;
|
|
38
34
|
types?: PaymentMethodTypeEnum[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/payment.interfaces.ts"],"names":[],"mappings":";;;AAeA,MAAa,aAAa;CAczB;AAdD,sCAcC;AAED,MAAa,eAAe;CAI3B;AAJD,0CAIC;
|
|
1
|
+
{"version":3,"file":"payment.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/payment.interfaces.ts"],"names":[],"mappings":";;;AAeA,MAAa,aAAa;CAczB;AAdD,sCAcC;AAED,MAAa,eAAe;CAI3B;AAJD,0CAIC;AAiBD,MAAa,mBAAmB;CAQ/B;AARD,kDAQC"}
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
import { UserPaymentMethod } from '../../../entity/user-payment-method';
|
|
2
2
|
import { PaymentMethodTypeEnum } from '../enums/payment.enums';
|
|
3
|
+
export interface ISaveCardTerminalInput {
|
|
4
|
+
readerId?: string;
|
|
5
|
+
customerResponse: boolean;
|
|
6
|
+
description?: string;
|
|
7
|
+
readerLocation?: string;
|
|
8
|
+
timestamp?: number;
|
|
9
|
+
title?: string;
|
|
10
|
+
}
|
|
3
11
|
export interface IFindUserPaymentMethodsOptions {
|
|
4
12
|
ignoreError?: boolean;
|
|
5
13
|
skipValidations?: boolean;
|
|
6
14
|
withDeleted?: boolean;
|
|
15
|
+
includeLimited?: boolean;
|
|
7
16
|
}
|
|
8
17
|
export type PaymentMethodByTypeMap = Map<PaymentMethodTypeEnum, UserPaymentMethod[]>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { BondBaseEntity } from '../../../entity/BondBaseEntity';
|
|
2
2
|
import { Customer } from '../../../entity/Customer';
|
|
3
3
|
import { Event } from '../../../entity/Events';
|
|
4
|
-
import { NotificationSubscriptions } from '../../../entity/NotificationSubscriptions';
|
|
5
4
|
import { SeasonAttendee } from '../../../entity/SeasonAttendees';
|
|
6
5
|
import { GlCode } from '../../../gl-codes/entities/gl-code';
|
|
7
6
|
import { Organization } from '../../../organization/entities/Organization';
|
|
@@ -78,10 +77,10 @@ export interface IGetSessionOptions {
|
|
|
78
77
|
includeResources?: boolean;
|
|
79
78
|
}
|
|
80
79
|
export interface IValidateFolderedRegistrationForSessionResourceParams {
|
|
81
|
-
|
|
80
|
+
options?: IValidateResourcesOptions;
|
|
82
81
|
product: Product;
|
|
83
82
|
registeringUser: User;
|
|
84
|
-
|
|
83
|
+
session: ProgramSeason;
|
|
85
84
|
}
|
|
86
85
|
export interface IAttendeesAvailability {
|
|
87
86
|
availabilityValues: boolean[];
|
|
@@ -92,7 +91,6 @@ export interface ISeasonEmailRelatedData {
|
|
|
92
91
|
globalDigitalIdentifier: UserIdentifier;
|
|
93
92
|
organization: Organization;
|
|
94
93
|
seasonConsumerSEOLink: string;
|
|
95
|
-
subscribers: NotificationSubscriptions[];
|
|
96
94
|
user: User;
|
|
97
95
|
}
|
|
98
96
|
export interface IInvoiceUrls {
|
|
@@ -8,7 +8,7 @@ import { InvoiceCartDto } from '../../invoice/dto/invoice.dto';
|
|
|
8
8
|
import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
|
9
9
|
import { ScheduledPaymentDto } from '../../payment/dto/payment-plan.dto';
|
|
10
10
|
import { Payment } from '../../payment/entities/Payment';
|
|
11
|
-
import { FuturePaymentStatusEnum, PaymentMethodTypeEnum, PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
|
11
|
+
import { AllowRedisplayEnum, FuturePaymentStatusEnum, PaymentMethodTypeEnum, PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
|
12
12
|
import { IProductResource } from '../../product-pricing/types/interfaces/product-resource.interfaces';
|
|
13
13
|
import { PlatformsEnum, ResourceNameTypeEnum } from '../../services/enums.service';
|
|
14
14
|
import { IPurchaseCart, IPurchasePayment } from '../types/interfaces/purchase.interfaces';
|
|
@@ -17,6 +17,7 @@ export declare class PurchasePaymentDto implements IPurchasePayment {
|
|
|
17
17
|
token?: string;
|
|
18
18
|
paymentMethodId?: number;
|
|
19
19
|
applyForFuture?: boolean;
|
|
20
|
+
allowRedisplay?: AllowRedisplayEnum;
|
|
20
21
|
}
|
|
21
22
|
export declare class ChargeRentalsReuqestDto {
|
|
22
23
|
organizationId: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAOA,+DAA+D;AAC/D,8EAA8E;
|
|
1
|
+
{"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAOA,+DAA+D;AAC/D,8EAA8E;AAe9E,MAAa,kBAAkB;CAU9B;AAVD,gDAUC;AAED,MAAa,uBAAuB;CAkBnC;AAlBD,0DAkBC;AAED,MAAa,kBAAkB;CAiC9B;AAjCD,gDAiCC;AAED,MAAa,mBAAmB;CAkB/B;AAlBD,kDAkBC;AAED,MAAa,kBAAkB;CAkC9B;AAlCD,gDAkCC;AAED,MAAa,kCAAkC;CAM9C;AAND,gFAMC;AAED,MAAa,0BAA2B,SAAQ,sCAAmB;CAIlE;AAJD,gEAIC;AAED,MAAa,8BAA8B;CAU1C;AAVD,wEAUC;AAED,MAAa,wBAAwB;CAgBpC;AAhBD,4DAgBC;AAED,MAAa,yBAAyB;CAQrC;AARD,8DAQC;AAED,MAAa,WAAW;IAAxB;QAGC,qBAAgB,GAAG,KAAK,CAAC;QAEzB,aAAQ,GAAG,KAAK,CAAC;IAClB,CAAC;CAAA;AAND,kCAMC;AAED,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,eAAgB,SAAQ,4BAAc;CAgBlD;AAhBD,0CAgBC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bondsports/types",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.31",
|
|
4
4
|
"description": "backend types module for Bond-Sports",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"homepage": "https://github.com/Bond-Sports/bondUtils/tree/main/packages/types#readme",
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@bondsports/date-time": "^2.4.48",
|
|
37
|
-
"@bondsports/notifications-sdk": "
|
|
37
|
+
"@bondsports/notifications-sdk": "^0.0.8",
|
|
38
38
|
"moment": "^2.29.1",
|
|
39
39
|
"rimraf": "^3.0.2",
|
|
40
40
|
"stripe": "9.1.0",
|