@bondsports/types 2.4.99-a-3 → 2.4.99-a-4

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 (48) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +8 -0
  3. package/dist/types/payment/dto/payment.dto.d.ts +2 -0
  4. package/dist/types/payment/dto/payment.dto.js.map +1 -1
  5. package/dist/types/payment/dto/refund.dto.d.ts +12 -4
  6. package/dist/types/payment/dto/refund.dto.js +8 -1
  7. package/dist/types/payment/dto/refund.dto.js.map +1 -1
  8. package/dist/types/payment/dto/void.dto.d.ts +2 -1
  9. package/dist/types/payment/dto/void.dto.js.map +1 -1
  10. package/dist/types/payment/entities/Payment.d.ts +1 -0
  11. package/dist/types/payment/entities/Payment.js.map +1 -1
  12. package/dist/types/payment/types/enums/refund.enums.d.ts +0 -1
  13. package/dist/types/payment/types/enums/refund.enums.js +0 -1
  14. package/dist/types/payment/types/enums/refund.enums.js.map +1 -1
  15. package/dist/types/payment/types/interfaces/index.d.ts +0 -1
  16. package/dist/types/payment/types/interfaces/index.js +0 -1
  17. package/dist/types/payment/types/interfaces/index.js.map +1 -1
  18. package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +2 -3
  19. package/dist/types/payment/types/interfaces/refund.interfaces.d.ts +21 -8
  20. package/dist/types/payment/types/interfaces/refund.interfaces.js.map +1 -1
  21. package/dist/types/payment/types/interfaces/void.interfaces.d.ts +2 -2
  22. package/dist/types/payout-accounts/types/index.d.ts +0 -2
  23. package/dist/types/payout-accounts/types/index.js +0 -2
  24. package/dist/types/payout-accounts/types/index.js.map +1 -1
  25. package/dist/types/payout-accounts/types/interfaces/payout-account.interfaces.d.ts +1 -60
  26. package/dist/types/purchase/dto/purchase.dto.d.ts +8 -0
  27. package/dist/types/purchase/dto/purchase.dto.js +4 -1
  28. package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
  29. package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +1 -0
  30. package/dist/types/reservations/entities/addon.entity.d.ts +2 -0
  31. package/dist/types/reservations/entities/addon.entity.js.map +1 -1
  32. package/dist/types/services/interfaces.service.d.ts +1 -0
  33. package/package.json +1 -1
  34. package/dist/types/payment/types/interfaces/linked-account.interfaces.d.ts +0 -8
  35. package/dist/types/payment/types/interfaces/linked-account.interfaces.js +0 -3
  36. package/dist/types/payment/types/interfaces/linked-account.interfaces.js.map +0 -1
  37. package/dist/types/payout-accounts/types/dto/index.d.ts +0 -1
  38. package/dist/types/payout-accounts/types/dto/index.js +0 -18
  39. package/dist/types/payout-accounts/types/dto/index.js.map +0 -1
  40. package/dist/types/payout-accounts/types/dto/payout-account.dto.d.ts +0 -22
  41. package/dist/types/payout-accounts/types/dto/payout-account.dto.js +0 -14
  42. package/dist/types/payout-accounts/types/dto/payout-account.dto.js.map +0 -1
  43. package/dist/types/payout-accounts/types/enums/index.d.ts +0 -1
  44. package/dist/types/payout-accounts/types/enums/index.js +0 -18
  45. package/dist/types/payout-accounts/types/enums/index.js.map +0 -1
  46. package/dist/types/payout-accounts/types/enums/payout-account.enums.d.ts +0 -5
  47. package/dist/types/payout-accounts/types/enums/payout-account.enums.js +0 -13
  48. package/dist/types/payout-accounts/types/enums/payout-account.enums.js.map +0 -1
@@ -104,6 +104,14 @@ export interface IMergeCartItemsResult extends IMergedCartItemsResult {
104
104
  export interface ICreateCartResult extends IMergedCartItemsResult {
105
105
  cart: Cart;
106
106
  }
107
+ export interface IUpdateCartPricesResult {
108
+ cart: Cart;
109
+ /**
110
+ * Exact-unit-price split siblings keyed by the original cart item key (`unique` / getUniqueKey).
111
+ * Only entries that were cloned into two rows; in-place single-row corrections are omitted.
112
+ */
113
+ splitAddonCartItemsMap: Map<string, CartItem[]>;
114
+ }
107
115
  export interface IUpdateProductPrice {
108
116
  priceId: number;
109
117
  productId: number;
@@ -72,6 +72,7 @@ export declare class ByPaymentFilter extends PaginationQuery {
72
72
  isScheduled?: boolean;
73
73
  hasDueDate?: boolean;
74
74
  isOverdue?: boolean;
75
+ facilitiesIds?: number[];
75
76
  }
76
77
  export declare class FindPayments extends ByPaymentFilter {
77
78
  id?: number;
@@ -194,6 +195,7 @@ export declare class PaymentDto extends BasePaymentMethodFieldsDto {
194
195
  installments?: FutureInstallment[];
195
196
  totalFeesAmount?: number;
196
197
  tipAmount?: number;
198
+ facilityIds?: number[];
197
199
  lineItems: LineItems[];
198
200
  invoiceToPayments: InvoiceToPayment[];
199
201
  stripePaymentMethodId?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"payment.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment.dto.ts"],"names":[],"mappings":";;;AAEA,uDAA+D;AAC/D,2EAAuG;AAOvG,8EAAyG;AA0BzG,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;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,SAAQ,YAAY;CAExD;AAFD,0DAEC;AAED,MAAa,qBAAsB,SAAQ,YAAY;CAEtD;AAFD,sDAEC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,eAAgB,SAAQ,6BAAe;CAoBnD;AApBD,0CAoBC;AAED,MAAa,YAAa,SAAQ,eAAe;CAQhD;AARD,oCAQC;AAED,MAAa,WAAW;CAMvB;AAND,k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B1C;AAhBD,4CAgBC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,4BAA4B;CAMxC;AAND,oEAMC;AAED,MAAa,sBAAsB;CAYlC;AAZD,wDAYC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC"}
@@ -1,6 +1,8 @@
1
1
  import { PaymentMethodTypeEnum } from '../types/enums/payment.enums';
2
2
  import { RefundTypeEnum } from '../types/enums/refund.enums';
3
+ import type { IRefund } from '../types/interfaces/refund.interfaces';
3
4
  import { RevertMetaDto } from './payment.dto';
5
+ import { VoidLineItemDto } from './void.dto';
4
6
  export declare class RevertPaymentsDto {
5
7
  invoiceId: number;
6
8
  paymentsIds: number[];
@@ -22,7 +24,6 @@ export declare class PaymentMethodDto {
22
24
  }
23
25
  export declare class RefundBaseDto {
24
26
  invoiceId: number;
25
- lineItems?: RefundAmountDto[];
26
27
  fees?: RefundAmountDto[];
27
28
  refundLineItemAmountDict?: {
28
29
  [id: number]: number;
@@ -31,12 +32,19 @@ export declare class RefundBaseDto {
31
32
  reasonId: number;
32
33
  note?: string;
33
34
  shiftId?: number;
34
- meta?: RevertMetaDto;
35
35
  }
36
- export declare class RefundDto extends RefundBaseDto {
37
- refundType: RefundTypeEnum;
36
+ export declare class RefundDto extends RefundBaseDto implements IRefund {
37
+ lineItems?: RefundAmountDto[];
38
38
  }
39
39
  /**
40
40
  */
41
+ export declare class RefundAndVoidLineItemDto extends VoidLineItemDto {
42
+ refundAmount?: number;
43
+ }
44
+ /**
45
+ * Each line item may refund less than it voids; entries with no `refundAmount` are voided only.
46
+ */
41
47
  export declare class RefundAndVoidDto extends RefundBaseDto {
48
+ lineItems: RefundAndVoidLineItemDto[];
49
+ meta?: RevertMetaDto;
42
50
  }
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RefundAndVoidDto = exports.RefundDto = exports.RefundBaseDto = exports.PaymentMethodDto = exports.RefundAmountDto = exports.RevertPaymentsDto = void 0;
3
+ exports.RefundAndVoidDto = exports.RefundAndVoidLineItemDto = exports.RefundDto = exports.RefundBaseDto = exports.PaymentMethodDto = exports.RefundAmountDto = exports.RevertPaymentsDto = void 0;
4
+ const void_dto_1 = require("./void.dto");
4
5
  class RevertPaymentsDto {
5
6
  }
6
7
  exports.RevertPaymentsDto = RevertPaymentsDto;
@@ -18,6 +19,12 @@ class RefundDto extends RefundBaseDto {
18
19
  exports.RefundDto = RefundDto;
19
20
  /**
20
21
  */
22
+ class RefundAndVoidLineItemDto extends void_dto_1.VoidLineItemDto {
23
+ }
24
+ exports.RefundAndVoidLineItemDto = RefundAndVoidLineItemDto;
25
+ /**
26
+ * Each line item may refund less than it voids; entries with no `refundAmount` are voided only.
27
+ */
21
28
  class RefundAndVoidDto extends RefundBaseDto {
22
29
  }
23
30
  exports.RefundAndVoidDto = RefundAndVoidDto;
@@ -1 +1 @@
1
- {"version":3,"file":"refund.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/refund.dto.ts"],"names":[],"mappings":";;;AAMA,MAAa,iBAAiB;CAY7B;AAZD,8CAYC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,gBAAgB;CAQ5B;AARD,4CAQC;AAED,MAAa,aAAa;CAkBzB;AAlBD,sCAkBC;AAED,MAAa,SAAU,SAAQ,aAAa;CAE3C;AAFD,8BAEC;AAED;GACG;AACH,MAAa,gBAAiB,SAAQ,aAAa;CAAG;AAAtD,4CAAsD"}
1
+ {"version":3,"file":"refund.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/refund.dto.ts"],"names":[],"mappings":";;;AAMA,yCAA6C;AAE7C,MAAa,iBAAiB;CAY7B;AAZD,8CAYC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,gBAAgB;CAQ5B;AARD,4CAQC;AAED,MAAa,aAAa;CAczB;AAdD,sCAcC;AAED,MAAa,SAAU,SAAQ,aAAa;CAE3C;AAFD,8BAEC;AAED;GACG;AACH,MAAa,wBAAyB,SAAQ,0BAAe;CAE5D;AAFD,4DAEC;AAED;;GAEG;AACH,MAAa,gBAAiB,SAAQ,aAAa;CAIlD;AAJD,4CAIC"}
@@ -1,7 +1,8 @@
1
1
  import { IVoid, IVoidLineItem } from '../types/interfaces/void.interfaces';
2
2
  import { CreateNoteDto, RevertMetaDto } from './payment.dto';
3
3
  export declare class VoidLineItemDto implements IVoidLineItem {
4
- id: number;
4
+ id?: number;
5
+ groupId?: string;
5
6
  quantity?: number;
6
7
  amount?: number;
7
8
  isEdit?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"void.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/void.dto.ts"],"names":[],"mappings":";;;AAKA,MAAa,eAAe;CAQ3B;AARD,0CAQC;AAED,MAAa,OAAO;CAUnB;AAVD,0BAUC"}
1
+ {"version":3,"file":"void.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/void.dto.ts"],"names":[],"mappings":";;;AAKA,MAAa,eAAe;CAU3B;AAVD,0CAUC;AAED,MAAa,OAAO;CAUnB;AAVD,0BAUC"}
@@ -58,6 +58,7 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
58
58
  installments?: FutureInstallment[];
59
59
  totalFeesAmount?: number;
60
60
  tipAmount?: number;
61
+ facilityIds?: number[];
61
62
  lineItems: LineItems[];
62
63
  mergeId?: number;
63
64
  merge?: CustomerMerge;
@@ -1 +1 @@
1
- {"version":3,"file":"Payment.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/Payment.ts"],"names":[],"mappings":";;;AAOA,oGAAiG;AAajG,MAAa,OAAQ,SAAQ,mEAAgC;CA6F5D;AA7FD,0BA6FC"}
1
+ {"version":3,"file":"Payment.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/Payment.ts"],"names":[],"mappings":";;;AAOA,oGAAiG;AAajG,MAAa,OAAQ,SAAQ,mEAAgC;CA+F5D;AA/FD,0BA+FC"}
@@ -1,6 +1,5 @@
1
1
  export declare enum RefundTypeEnum {
2
2
  LEAVE_BALANCE = "leave_balance",
3
- REDUCE_BALANCE = "reduce_balance",
4
3
  FAILED_PAYMENT = "failed_payment",
5
4
  CHARGEBACK = "chargeback"
6
5
  }
@@ -4,7 +4,6 @@ exports.RefundItemTypeEnum = exports.RefundBuilderErrorCodesEnum = exports.Refun
4
4
  var RefundTypeEnum;
5
5
  (function (RefundTypeEnum) {
6
6
  RefundTypeEnum["LEAVE_BALANCE"] = "leave_balance";
7
- RefundTypeEnum["REDUCE_BALANCE"] = "reduce_balance";
8
7
  RefundTypeEnum["FAILED_PAYMENT"] = "failed_payment";
9
8
  RefundTypeEnum["CHARGEBACK"] = "chargeback";
10
9
  })(RefundTypeEnum = exports.RefundTypeEnum || (exports.RefundTypeEnum = {}));
@@ -1 +1 @@
1
- {"version":3,"file":"refund.enums.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/refund.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAKX;AALD,WAAY,cAAc;IACzB,iDAA+B,CAAA;IAC/B,mDAAiC,CAAA;IACjC,mDAAiC,CAAA;IACjC,2CAAyB,CAAA;AAC1B,CAAC,EALW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAKzB;AAED,IAAY,2BAUX;AAVD,WAAY,2BAA2B;IACtC,6FAA8D,CAAA;IAC9D,+FAAgE,CAAA;IAChE,2GAA4E,CAAA;IAC5E,yFAA0D,CAAA;IAC1D,qHAAsF,CAAA;IACtF,+GAAgF,CAAA;IAChF,mHAAoF,CAAA;IACpF,2HAA4F,CAAA;IAC5F,mGAAoE,CAAA;AACrE,CAAC,EAVW,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAUtC;AAED,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC7B,4CAAsB,CAAA;IACtB,iCAAW,CAAA;AACZ,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B"}
1
+ {"version":3,"file":"refund.enums.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/refund.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAIX;AAJD,WAAY,cAAc;IACzB,iDAA+B,CAAA;IAC/B,mDAAiC,CAAA;IACjC,2CAAyB,CAAA;AAC1B,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB;AAED,IAAY,2BAUX;AAVD,WAAY,2BAA2B;IACtC,6FAA8D,CAAA;IAC9D,+FAAgE,CAAA;IAChE,2GAA4E,CAAA;IAC5E,yFAA0D,CAAA;IAC1D,qHAAsF,CAAA;IACtF,+GAAgF,CAAA;IAChF,mHAAoF,CAAA;IACpF,2HAA4F,CAAA;IAC5F,mGAAoE,CAAA;AACrE,CAAC,EAVW,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAUtC;AAED,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC7B,4CAAsB,CAAA;IACtB,iCAAW,CAAA;AACZ,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B"}
@@ -1,6 +1,5 @@
1
1
  export * from './connected-resources.interfaces';
2
2
  export * from './discount.interfaces';
3
- export * from './linked-account.interfaces';
4
3
  export * from './payment.interfaces';
5
4
  export * from './pending-terminal-reconciler.interfaces';
6
5
  export * from './promo-code.interfaces';
@@ -16,7 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./connected-resources.interfaces"), exports);
18
18
  __exportStar(require("./discount.interfaces"), exports);
19
- __exportStar(require("./linked-account.interfaces"), exports);
20
19
  __exportStar(require("./payment.interfaces"), exports);
21
20
  __exportStar(require("./pending-terminal-reconciler.interfaces"), exports);
22
21
  __exportStar(require("./promo-code.interfaces"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AACjD,wDAAsC;AACtC,8DAA4C;AAC5C,uDAAqC;AACrC,2EAAyD;AACzD,0DAAwC;AACxC,sDAAoC;AACpC,kEAAgD;AAChD,8DAA4C;AAC5C,sDAAoC;AACpC,mEAAiD;AACjD,oDAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AACjD,wDAAsC;AACtC,uDAAqC;AACrC,2EAAyD;AACzD,0DAAwC;AACxC,sDAAoC;AACpC,kEAAgD;AAChD,8DAA4C;AAC5C,sDAAoC;AACpC,mEAAiD;AACjD,oDAAkC"}
@@ -6,10 +6,10 @@ import { ReservationPaymentStatusEnum, ReservationStatusEnum } from '../../../re
6
6
  import { PlatformsEnum } from '../../../services/enums.service';
7
7
  import { LockModeEnum } from '../../../util/models/types/orm.types';
8
8
  import { CreateNoteDto } from '../../dto/payment.dto';
9
- import { RefundDto } from '../../dto/refund.dto';
10
9
  import { Payment } from '../../entities/Payment';
11
10
  import { PaymentMethodTypeEnum, SubPaymentMethodTypeEnum } from '../enums/payment.enums';
12
11
  import { RefundBuilderErrorCodesEnum, RefundTypeEnum } from '../enums/refund.enums';
12
+ import type { IRefundOperation } from './refund.interfaces';
13
13
  import { ISaveCardTerminalInput } from './user-payment-method.interfaces';
14
14
  export declare class PaymentResult {
15
15
  paymentMethodId: string;
@@ -168,12 +168,11 @@ export interface IBuildRefundDtoByPaymentAllocationInput {
168
168
  refundType: RefundTypeEnum;
169
169
  }
170
170
  /**
171
- * Returns a plain RefundDto on success or an error-code object on validation failure.
172
171
  * Error codes are used instead of exceptions because these are expected business
173
172
  * validation outcomes (not exceptional conditions), and the caller maps them to
174
173
  * domain-specific responses.
175
174
  */
176
- export type TBuildRefundDtoByPaymentAllocationResult = RefundDto | {
175
+ export type TBuildRefundDtoByPaymentAllocationResult = IRefundOperation | {
177
176
  errorCode: RefundBuilderErrorCodesEnum;
178
177
  };
179
178
  export interface IHandleDisputeClosedLostParams {
@@ -1,9 +1,26 @@
1
1
  import { Invoice } from '../../../entity/Invoice';
2
- import { LineItems } from '../../../entity/LineItems';
3
- import { PaymentFee } from '../../../fee/entities/PaymentFee';
4
- import { RefundAmountDto } from '../../dto/refund.dto';
5
- import { RefundBuilderErrorCodesEnum, RefundItemTypeEnum } from '../enums/refund.enums';
2
+ import { PaymentMethodDto, RefundAmountDto } from '../../dto/refund.dto';
3
+ import { RefundBuilderErrorCodesEnum, RefundItemTypeEnum, RefundTypeEnum } from '../enums/refund.enums';
6
4
  import { PaymentsResults } from './payment.interfaces';
5
+ /**
6
+ */
7
+ export interface IRefund {
8
+ invoiceId: number;
9
+ reasonId: number;
10
+ shiftId?: number;
11
+ fees?: RefundAmountDto[];
12
+ lineItems?: RefundAmountDto[];
13
+ note?: string;
14
+ refunds: PaymentMethodDto[];
15
+ }
16
+ /**
17
+ */
18
+ export interface IRefundOperation extends IRefund {
19
+ refundLineItemAmountDict?: {
20
+ [id: number]: number;
21
+ };
22
+ refundType?: RefundTypeEnum;
23
+ }
7
24
  export declare class RefundResult extends PaymentsResults {
8
25
  successfulLineItems: RefundAmountDto[];
9
26
  failedLineItems: RefundAmountDto[];
@@ -18,10 +35,6 @@ export declare class RefundsResult extends PaymentsResults {
18
35
  failedFees: Map<number, RefundAmountDto>;
19
36
  totalAmountProcessed: number;
20
37
  }
21
- export interface RefundItems {
22
- negativePaymentFees: PaymentFee[];
23
- refundLineItems: LineItems[];
24
- }
25
38
  export interface RefundItemId {
26
39
  id: number;
27
40
  refundItemType: RefundItemTypeEnum;
@@ -1 +1 @@
1
- {"version":3,"file":"refund.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/refund.interfaces.ts"],"names":[],"mappings":";;;AAOA,6DAAuD;AAEvD,MAAa,YAAa,SAAQ,oCAAe;CAUhD;AAVD,oCAUC;AAED,MAAa,aAAc,SAAQ,oCAAe;CAMjD;AAND,sCAMC"}
1
+ {"version":3,"file":"refund.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/refund.interfaces.ts"],"names":[],"mappings":";;;AAKA,6DAAuD;AAqBvD,MAAa,YAAa,SAAQ,oCAAe;CAUhD;AAVD,oCAUC;AAED,MAAa,aAAc,SAAQ,oCAAe;CAMjD;AAND,sCAMC"}
@@ -12,13 +12,13 @@ export interface IVoidValidationsResult {
12
12
  voidDataDict: IVoidLineItemsDict;
13
13
  }
14
14
  export interface IVoidLineItem {
15
- id: number;
15
+ id?: number;
16
+ groupId?: string;
16
17
  amount?: number;
17
18
  isEdit?: boolean;
18
19
  markAsRefunded?: boolean;
19
20
  percentage?: number;
20
21
  quantity?: number;
21
- refundedAmount?: number;
22
22
  }
23
23
  export interface IVoid {
24
24
  reasonId?: number;
@@ -1,3 +1 @@
1
- export * from './dto';
2
- export * from './enums';
3
1
  export * from './interfaces';
@@ -14,7 +14,5 @@ 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("./dto"), exports);
18
- __exportStar(require("./enums"), exports);
19
17
  __exportStar(require("./interfaces"), exports);
20
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/payout-accounts/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,0CAAwB;AACxB,+CAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/payout-accounts/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
@@ -1,7 +1,4 @@
1
1
  import { LinkedAccountStatus } from '../../../payment/types/enums/linked-account.enums';
2
- import { IFindLinkedAccountsFilters } from '../../../payment/types/interfaces/linked-account.interfaces';
3
- import { IPaginatedSearchQuery } from '../../../util/models/interfaces/general.interfaces';
4
- import { PayoutAccountOrderByEnum } from '../enums/payout-account.enums';
5
2
  /**
6
3
  * Minimal payout-account resolution result for charge-path and cart-lock callers.
7
4
  */
@@ -10,62 +7,6 @@ export interface IResolvedPayoutAccount {
10
7
  providerId: string | null;
11
8
  status: LinkedAccountStatus | null;
12
9
  }
13
- export interface INullableFacilityId {
10
+ export interface IResolvedPayoutAccountRow extends IResolvedPayoutAccount {
14
11
  facilityId: number | null;
15
12
  }
16
- export interface IResolvedPayoutAccountRow extends IResolvedPayoutAccount, INullableFacilityId {
17
- }
18
- /**
19
- * PayoutAccount-level filters for the centralized payout-accounts query. Omitted `facilityIds` is
20
- * unrestricted. An empty array matches the All Facilities sentinel only. A non-empty array matches
21
- * those facilities plus the sentinel (`facilityId IS NULL`).
22
- */
23
- export interface IFindPayoutAccountsFilters {
24
- facilityIds?: number[];
25
- linkedAccountIds?: number[];
26
- }
27
- /**
28
- * Filters for the paginated payout-accounts grid.
29
- */
30
- export interface IListPayoutAccountFilters extends IPaginatedSearchQuery<PayoutAccountOrderByEnum>, IFindLinkedAccountsFilters {
31
- facilityIds?: number[];
32
- hydrateMissingBank?: boolean;
33
- }
34
- /**
35
- * Raw page row of the payout-accounts grid: one distinct Connect account before facility ids are
36
- * aggregated onto it.
37
- */
38
- export interface IPayoutAccountGridRow {
39
- linkedAccountId: number;
40
- providerId: string | null;
41
- status: LinkedAccountStatus | null;
42
- }
43
- /**
44
- * One PayoutAccount anchor: a Connect account paired with the facility it covers, or with null for
45
- * the All Facilities sentinel.
46
- */
47
- export interface IPayoutAccountFacilityLink {
48
- facilityId: number | null;
49
- linkedAccountId: number;
50
- }
51
- /**
52
- * One grid row per Connect account, with facility ids aggregated across PayoutAccount rows.
53
- * All Facilities rows expose `facilityIds: []` so FE `canAccessAll` treats them as global-only for editing.
54
- */
55
- export interface IPayoutAccountGrid {
56
- linkedAccountId: number;
57
- providerId: string | null;
58
- facilityIds: number[];
59
- hasAllFacilities: boolean;
60
- missingBank?: boolean;
61
- status: LinkedAccountStatus | null;
62
- }
63
- /**
64
- * Facilities-dialog payload: explicit payout assignments visible in the caller's scope.
65
- * Modal options come from FE facility access; grey/disable with `assignedFacilityIds.includes(id)`.
66
- * Uncovered-facilities banner is FE-only (accessible facilities minus grid coverage).
67
- */
68
- export interface IPayoutAccountFacilityAssignments {
69
- assignedFacilityIds: number[];
70
- hasAllFacilities: boolean;
71
- }
@@ -1,4 +1,5 @@
1
1
  import { UpdateCartPricesDto } from '../../cart/dto/cart.dto';
2
+ import { AddCartItemDto } from '../../cart/dto/cart-item.dto';
2
3
  import { UserAnswersDto } from '../../dto/application.dto';
3
4
  import { SaveCardTerminalInputDto } from '../../dto/userPaymentMethod.dto';
4
5
  import { Customer } from '../../entity/Customer';
@@ -121,6 +122,13 @@ export declare class AddItemsDto {
121
122
  allocateResource: boolean;
122
123
  skipMail: boolean;
123
124
  }
125
+ export declare class AddCartItemsToInvoiceDto {
126
+ cartItems: AddCartItemDto[];
127
+ shiftId?: number;
128
+ paymentInfo?: PurchasePaymentDto;
129
+ amountToPay?: number;
130
+ tipAmount?: number;
131
+ }
124
132
  export declare class PartialPaymentAsUserDto {
125
133
  invoiceId: number;
126
134
  organizationId: number;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PurchaseCartDto = exports.BasicPurchaseDto = exports.PurchaseResultDto = exports.ValidateParticipantDto = exports.PartialPaymentAsUserDto = exports.AddItemsDto = exports.RedeemPunchCardRequestDto = exports.PartialPaymentRequestDto = exports.ScheduledPaymentRequestBodyDto = exports.ScheduledPaymentRequestDto = exports.ScheduledPaymentConsumerRequestDto = exports.PurchaseProductDto = exports.PurchaseResourceDto = exports.PurchaseRequestDto = exports.ChargeRentalsReuqestDto = exports.PurchasePaymentDto = void 0;
3
+ exports.PurchaseCartDto = exports.BasicPurchaseDto = exports.PurchaseResultDto = exports.ValidateParticipantDto = exports.PartialPaymentAsUserDto = exports.AddCartItemsToInvoiceDto = exports.AddItemsDto = exports.RedeemPunchCardRequestDto = exports.PartialPaymentRequestDto = exports.ScheduledPaymentRequestBodyDto = exports.ScheduledPaymentRequestDto = exports.ScheduledPaymentConsumerRequestDto = exports.PurchaseProductDto = exports.PurchaseResourceDto = exports.PurchaseRequestDto = exports.ChargeRentalsReuqestDto = exports.PurchasePaymentDto = void 0;
4
4
  const invoice_dto_1 = require("../../invoice/dto/invoice.dto");
5
5
  const organization_dto_1 = require("../../organization/dto/organization.dto");
6
6
  class PurchasePaymentDto {
@@ -40,6 +40,9 @@ class AddItemsDto {
40
40
  }
41
41
  }
42
42
  exports.AddItemsDto = AddItemsDto;
43
+ class AddCartItemsToInvoiceDto {
44
+ }
45
+ exports.AddCartItemsToInvoiceDto = AddCartItemsToInvoiceDto;
43
46
  class PartialPaymentAsUserDto {
44
47
  }
45
48
  exports.PartialPaymentAsUserDto = PartialPaymentAsUserDto;
@@ -1 +1 @@
1
- {"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAQA,+DAA+D;AAC/D,8EAA8E;AAe9E,MAAa,kBAAkB;CAY9B;AAZD,gDAYC;AAED,MAAa,uBAAuB;CAkBnC;AAlBD,0DAkBC;AAED,MAAa,kBAAkB;CAiC9B;AAjCD,gDAiCC;AAED,MAAa,mBAAmB;CAsB/B;AAtBD,kDAsBC;AAED,MAAa,kBAAkB;CAqC9B;AArCD,gDAqCC;AAED,MAAa,kCAAkC;CAM9C;AAND,gFAMC;AAED,MAAa,0BAA2B,SAAQ,sCAAmB;CAIlE;AAJD,gEAIC;AAED,MAAa,8BAA8B;CAU1C;AAVD,wEAUC;AAED,MAAa,wBAAwB;CAkBpC;AAlBD,4DAkBC;AAED,MAAa,yBAAyB;CAQrC;AARD,8DAQC;AAED,MAAa,WAAW;IAAxB;QAGC,qB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103,6 +103,7 @@ export interface IPurchaseCart extends IInvoiceCart {
103
103
  installments?: ScheduledPaymentDto[];
104
104
  parentPurchasedType?: ResourceNameTypeEnum;
105
105
  paymentInfo?: PurchasePaymentDto;
106
+ tipAmount?: number;
106
107
  updatePrices?: IUpdateCartPrices;
107
108
  }
108
109
  export interface IRegisteredResourcesResult {
@@ -1,4 +1,5 @@
1
1
  import { Invoice } from '../../entity/Invoice';
2
+ import { LineItems } from '../../entity/LineItems';
2
3
  import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
3
4
  import { ProductsUsers } from '../../entity/ProductsUsers';
4
5
  import { Product } from '../../product-pricing/entities/product.entity';
@@ -30,4 +31,5 @@ export declare class Addon extends OrganizationConnectionBaseEntity {
30
31
  reservation?: Reservation;
31
32
  slot?: Slot;
32
33
  cartItemId?: string;
34
+ lineItem?: LineItems;
33
35
  }
@@ -1 +1 @@
1
- {"version":3,"file":"addon.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/addon.entity.ts"],"names":[],"mappings":";;;AAGA,oGAAiG;AAWjG,MAAa,KAAM,SAAQ,mEAAgC;CA6C1D;AA7CD,sBA6CC"}
1
+ {"version":3,"file":"addon.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/addon.entity.ts"],"names":[],"mappings":";;;AAIA,oGAAiG;AAWjG,MAAa,KAAM,SAAQ,mEAAgC;CA+C1D;AA/CD,sBA+CC"}
@@ -105,6 +105,7 @@ export interface IPayment {
105
105
  paymentMethod: PaymentMethodTypeEnum;
106
106
  status: PaymentStatusEnum;
107
107
  total: number;
108
+ facilityIds: number[];
108
109
  }
109
110
  export interface IPaginationData<T> {
110
111
  data: T[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.4.99-a-3",
3
+ "version": "2.4.99-a-4",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {
@@ -1,8 +0,0 @@
1
- import { LinkedAccountStatus } from '../enums/linked-account.enums';
2
- /**
3
- * LinkedAccounts-side filters: partial provider-id match and account status.
4
- */
5
- export interface IFindLinkedAccountsFilters {
6
- search?: string;
7
- statuses?: LinkedAccountStatus[];
8
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=linked-account.interfaces.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"linked-account.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/linked-account.interfaces.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- export * from './payout-account.dto';
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./payout-account.dto"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/payout-accounts/types/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC"}
@@ -1,22 +0,0 @@
1
- import { PaginationSearchQuery } from '../../../dto/general.dto';
2
- import { LinkedAccountStatus } from '../../../payment/types/enums/linked-account.enums';
3
- import { PayoutAccountOrderByEnum } from '../enums/payout-account.enums';
4
- import { IListPayoutAccountFilters, IPayoutAccountFacilityAssignments, IPayoutAccountGrid } from '../interfaces/payout-account.interfaces';
5
- export declare class ListPayoutAccountFiltersDto extends PaginationSearchQuery<PayoutAccountOrderByEnum> implements IListPayoutAccountFilters {
6
- facilityIds?: number[];
7
- search?: string;
8
- orderBy?: PayoutAccountOrderByEnum;
9
- statuses?: LinkedAccountStatus[];
10
- }
11
- export declare class PayoutAccountGridDto implements IPayoutAccountGrid {
12
- facilityIds: number[];
13
- hasAllFacilities: boolean;
14
- linkedAccountId: number;
15
- missingBank?: boolean;
16
- providerId: string | null;
17
- status: LinkedAccountStatus | null;
18
- }
19
- export declare class PayoutAccountFacilityAssignmentsDto implements IPayoutAccountFacilityAssignments {
20
- assignedFacilityIds: number[];
21
- hasAllFacilities: boolean;
22
- }
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PayoutAccountFacilityAssignmentsDto = exports.PayoutAccountGridDto = exports.ListPayoutAccountFiltersDto = void 0;
4
- const general_dto_1 = require("../../../dto/general.dto");
5
- class ListPayoutAccountFiltersDto extends general_dto_1.PaginationSearchQuery {
6
- }
7
- exports.ListPayoutAccountFiltersDto = ListPayoutAccountFiltersDto;
8
- class PayoutAccountGridDto {
9
- }
10
- exports.PayoutAccountGridDto = PayoutAccountGridDto;
11
- class PayoutAccountFacilityAssignmentsDto {
12
- }
13
- exports.PayoutAccountFacilityAssignmentsDto = PayoutAccountFacilityAssignmentsDto;
14
- //# sourceMappingURL=payout-account.dto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"payout-account.dto.js","sourceRoot":"","sources":["../../../../../src/types/payout-accounts/types/dto/payout-account.dto.ts"],"names":[],"mappings":";;;AACA,0DAAiE;AASjE,MAAa,2BACZ,SAAQ,mCAA+C;CAUvD;AAXD,kEAWC;AAED,MAAa,oBAAoB;CAYhC;AAZD,oDAYC;AAED,MAAa,mCAAmC;CAI/C;AAJD,kFAIC"}
@@ -1 +0,0 @@
1
- export * from './payout-account.enums';
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./payout-account.enums"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/payout-accounts/types/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC"}
@@ -1,5 +0,0 @@
1
- export declare enum PayoutAccountOrderByEnum {
2
- PROVIDER_ID = "providerId",
3
- STATUS = "status"
4
- }
5
- export declare const PAYOUT_ACCOUNT_ORDER_BY_COLUMN: Record<PayoutAccountOrderByEnum, string>;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PAYOUT_ACCOUNT_ORDER_BY_COLUMN = exports.PayoutAccountOrderByEnum = void 0;
4
- var PayoutAccountOrderByEnum;
5
- (function (PayoutAccountOrderByEnum) {
6
- PayoutAccountOrderByEnum["PROVIDER_ID"] = "providerId";
7
- PayoutAccountOrderByEnum["STATUS"] = "status";
8
- })(PayoutAccountOrderByEnum = exports.PayoutAccountOrderByEnum || (exports.PayoutAccountOrderByEnum = {}));
9
- exports.PAYOUT_ACCOUNT_ORDER_BY_COLUMN = {
10
- [PayoutAccountOrderByEnum.PROVIDER_ID]: 'linked_account.providerId',
11
- [PayoutAccountOrderByEnum.STATUS]: 'linked_account.status',
12
- };
13
- //# sourceMappingURL=payout-account.enums.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"payout-account.enums.js","sourceRoot":"","sources":["../../../../../src/types/payout-accounts/types/enums/payout-account.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IACnC,sDAA0B,CAAA;IAC1B,6CAAiB,CAAA;AAClB,CAAC,EAHW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAGnC;AAEY,QAAA,8BAA8B,GAA6C;IACvF,CAAC,wBAAwB,CAAC,WAAW,CAAC,EAAE,2BAA2B;IACnE,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAAE,uBAAuB;CAC1D,CAAC"}