@bondsports/types 2.2.71 → 2.2.73

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/dist/types/dto/events.dto.d.ts +1 -1
  3. package/dist/types/entity/Customer.d.ts +1 -1
  4. package/dist/types/entity/Events.d.ts +1 -1
  5. package/dist/types/entity/Invoice.d.ts +3 -3
  6. package/dist/types/entity/ProductsUsers.d.ts +2 -2
  7. package/dist/types/entity/index.d.ts +0 -2
  8. package/dist/types/entity/index.js +0 -2
  9. package/dist/types/entity/index.js.map +1 -1
  10. package/dist/types/invoice/dto/index.d.ts +2 -1
  11. package/dist/types/invoice/dto/index.js +2 -1
  12. package/dist/types/invoice/dto/index.js.map +1 -1
  13. package/dist/types/invoice/dto/invoice.dto.d.ts +27 -0
  14. package/dist/types/invoice/dto/invoice.dto.js +13 -1
  15. package/dist/types/invoice/dto/invoice.dto.js.map +1 -1
  16. package/dist/types/{reservations → invoice}/dto/lineItem.dto.d.ts +1 -1
  17. package/dist/types/invoice/dto/lineItem.dto.js.map +1 -0
  18. package/dist/types/invoice/dto/{publishInvoice.dto.js → publish-invoice.dto.js} +1 -1
  19. package/dist/types/invoice/dto/publish-invoice.dto.js.map +1 -0
  20. package/dist/types/invoice/types/interfaces/invoice.interfaces.d.ts +27 -0
  21. package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +2 -1
  22. package/dist/types/payment/types/interfaces/payment.interfaces.js.map +1 -1
  23. package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +3 -2
  24. package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
  25. package/dist/types/reservations/dto/addon.dto.d.ts +3 -5
  26. package/dist/types/reservations/dto/addon.dto.js.map +1 -1
  27. package/dist/types/reservations/dto/index.d.ts +0 -2
  28. package/dist/types/reservations/dto/index.js +0 -2
  29. package/dist/types/reservations/dto/index.js.map +1 -1
  30. package/dist/types/reservations/dto/maintenance.dto.d.ts +1 -2
  31. package/dist/types/reservations/dto/maintenance.dto.js.map +1 -1
  32. package/dist/types/reservations/dto/reservation.dto.d.ts +29 -7
  33. package/dist/types/reservations/dto/reservation.dto.js +17 -1
  34. package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
  35. package/dist/types/reservations/dto/segment.dto.d.ts +9 -2
  36. package/dist/types/reservations/dto/segment.dto.js.map +1 -1
  37. package/dist/types/reservations/dto/series.dto.d.ts +5 -2
  38. package/dist/types/reservations/dto/series.dto.js.map +1 -1
  39. package/dist/types/reservations/dto/slot.dto.d.ts +32 -19
  40. package/dist/types/reservations/dto/slot.dto.js +7 -4
  41. package/dist/types/reservations/dto/slot.dto.js.map +1 -1
  42. package/dist/types/reservations/entities/{Addon.d.ts → addon.entity.d.ts} +6 -1
  43. package/dist/types/reservations/entities/{Addon.js → addon.entity.js} +1 -1
  44. package/dist/types/reservations/entities/addon.entity.js.map +1 -0
  45. package/dist/types/reservations/entities/index.d.ts +6 -6
  46. package/dist/types/reservations/entities/index.js +6 -6
  47. package/dist/types/reservations/entities/index.js.map +1 -1
  48. package/dist/types/reservations/entities/{Reservations.d.ts → reservation.entity.d.ts} +14 -13
  49. package/dist/types/reservations/entities/{Reservations.js → reservation.entity.js} +1 -1
  50. package/dist/types/reservations/entities/reservation.entity.js.map +1 -0
  51. package/dist/types/reservations/entities/{Segments.d.ts → segment.entity.d.ts} +4 -4
  52. package/dist/types/reservations/entities/{Segments.js → segment.entity.js} +1 -1
  53. package/dist/types/reservations/entities/segment.entity.js.map +1 -0
  54. package/dist/types/reservations/entities/{Series.d.ts → series.entity.d.ts} +6 -5
  55. package/dist/types/reservations/entities/{Series.js → series.entity.js} +1 -1
  56. package/dist/types/reservations/entities/series.entity.js.map +1 -0
  57. package/dist/types/reservations/entities/slot-history.entity.d.ts +6 -0
  58. package/dist/types/reservations/entities/slot-history.entity.js +8 -0
  59. package/dist/types/reservations/entities/slot-history.entity.js.map +1 -0
  60. package/dist/types/reservations/entities/{Slots.d.ts → slot.entity.d.ts} +22 -23
  61. package/dist/types/reservations/entities/{Slots.js → slot.entity.js} +1 -1
  62. package/dist/types/reservations/entities/slot.entity.js.map +1 -0
  63. package/dist/types/reservations/types/consts/reservation.consts.js +7 -6
  64. package/dist/types/reservations/types/consts/reservation.consts.js.map +1 -1
  65. package/dist/types/reservations/types/enums/reservation.enums.d.ts +59 -0
  66. package/dist/types/reservations/types/enums/reservation.enums.js +72 -1
  67. package/dist/types/reservations/types/enums/reservation.enums.js.map +1 -1
  68. package/dist/types/reservations/types/interfaces/addon.interfaces.d.ts +13 -0
  69. package/dist/types/reservations/types/interfaces/{invoice.interfaces.js → addon.interfaces.js} +1 -1
  70. package/dist/types/reservations/types/interfaces/addon.interfaces.js.map +1 -0
  71. package/dist/types/reservations/types/interfaces/index.d.ts +2 -1
  72. package/dist/types/reservations/types/interfaces/index.js +2 -1
  73. package/dist/types/reservations/types/interfaces/index.js.map +1 -1
  74. package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +9 -8
  75. package/dist/types/reservations/types/interfaces/reservation.interfaces.js.map +1 -1
  76. package/dist/types/reservations/types/interfaces/slot.interfaces.d.ts +56 -0
  77. package/dist/types/reservations/types/interfaces/slot.interfaces.js +3 -0
  78. package/dist/types/reservations/types/interfaces/slot.interfaces.js.map +1 -0
  79. package/dist/types/resources/dto/resource.dto.d.ts +2 -2
  80. package/dist/types/resources/entities/Resource.d.ts +2 -2
  81. package/dist/types/services/enums.service.d.ts +0 -58
  82. package/dist/types/services/enums.service.js +2 -70
  83. package/dist/types/services/enums.service.js.map +1 -1
  84. package/dist/types/services/interfaces.service.d.ts +4 -53
  85. package/dist/types/services/interfaces.service.js.map +1 -1
  86. package/package.json +1 -1
  87. package/dist/types/entity/Reservations.d.ts +0 -35
  88. package/dist/types/entity/Reservations.js +0 -8
  89. package/dist/types/entity/Reservations.js.map +0 -1
  90. package/dist/types/entity/SlotHistory.d.ts +0 -53
  91. package/dist/types/entity/SlotHistory.js +0 -8
  92. package/dist/types/entity/SlotHistory.js.map +0 -1
  93. package/dist/types/invoice/dto/publishInvoice.dto.js.map +0 -1
  94. package/dist/types/reservations/dto/invoice.dto.d.ts +0 -50
  95. package/dist/types/reservations/dto/invoice.dto.js +0 -31
  96. package/dist/types/reservations/dto/invoice.dto.js.map +0 -1
  97. package/dist/types/reservations/dto/lineItem.dto.js.map +0 -1
  98. package/dist/types/reservations/entities/Addon.js.map +0 -1
  99. package/dist/types/reservations/entities/InvoicedSlots.d.ts +0 -7
  100. package/dist/types/reservations/entities/InvoicedSlots.js +0 -8
  101. package/dist/types/reservations/entities/InvoicedSlots.js.map +0 -1
  102. package/dist/types/reservations/entities/Reservations.js.map +0 -1
  103. package/dist/types/reservations/entities/Segments.js.map +0 -1
  104. package/dist/types/reservations/entities/Series.js.map +0 -1
  105. package/dist/types/reservations/entities/Slots.js.map +0 -1
  106. package/dist/types/reservations/types/interfaces/invoice.interfaces.d.ts +0 -28
  107. package/dist/types/reservations/types/interfaces/invoice.interfaces.js.map +0 -1
  108. /package/dist/types/{reservations → invoice}/dto/lineItem.dto.js +0 -0
  109. /package/dist/types/invoice/dto/{publishInvoice.dto.d.ts → publish-invoice.dto.d.ts} +0 -0
@@ -1,31 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AddSegmentsDto = exports.AddSlotsDto = exports.InvoiceReservationItemsDto = exports.UpdateInvoiceDto = exports.UpdateInvoiceOptionsDto = exports.SaveSlotToSegmenResultDto = exports.AddSlotToSegmenResultDto = exports.BaseInvoiceDto = exports.InvoiceDto = void 0;
4
- class InvoiceDto {
5
- }
6
- exports.InvoiceDto = InvoiceDto;
7
- class BaseInvoiceDto {
8
- }
9
- exports.BaseInvoiceDto = BaseInvoiceDto;
10
- class AddSlotToSegmenResultDto {
11
- }
12
- exports.AddSlotToSegmenResultDto = AddSlotToSegmenResultDto;
13
- class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
14
- }
15
- exports.SaveSlotToSegmenResultDto = SaveSlotToSegmenResultDto;
16
- class UpdateInvoiceOptionsDto {
17
- }
18
- exports.UpdateInvoiceOptionsDto = UpdateInvoiceOptionsDto;
19
- class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
20
- }
21
- exports.UpdateInvoiceDto = UpdateInvoiceDto;
22
- class InvoiceReservationItemsDto extends UpdateInvoiceOptionsDto {
23
- }
24
- exports.InvoiceReservationItemsDto = InvoiceReservationItemsDto;
25
- class AddSlotsDto extends UpdateInvoiceDto {
26
- }
27
- exports.AddSlotsDto = AddSlotsDto;
28
- class AddSegmentsDto extends UpdateInvoiceDto {
29
- }
30
- exports.AddSegmentsDto = AddSegmentsDto;
31
- //# sourceMappingURL=invoice.dto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"invoice.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/invoice.dto.ts"],"names":[],"mappings":";;;AAOA,MAAa,UAAU;CAuBtB;AAvBD,gCAuBC;AAED,MAAa,cAAc;CAI1B;AAJD,wCAIC;AAED,MAAa,wBAAwB;CAQpC;AARD,4DAQC;AACD,MAAa,yBAA0B,SAAQ,wBAAwB;CAEtE;AAFD,8DAEC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,gBAAiB,SAAQ,uBAAuB;CAE5D;AAFD,4CAEC;AAED,MAAa,0BAA2B,SAAQ,uBAAuB;CAMtE;AAND,gEAMC;AAED,MAAa,WAAY,SAAQ,gBAAgB;CAEhD;AAFD,kCAEC;AAED,MAAa,cAAe,SAAQ,gBAAgB;CAEnD;AAFD,wCAEC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"lineItem.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/lineItem.dto.ts"],"names":[],"mappings":";;;AAKA,MAAa,WAAW;CAmDvB;AAnDD,kCAmDC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Addon.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/Addon.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAYjG,MAAa,KAAM,SAAQ,mEAAgC;CAuC1D;AAvCD,sBAuCC"}
@@ -1,7 +0,0 @@
1
- import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
2
- export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
3
- deletedAt?: Date;
4
- reservationId: number;
5
- invoiceId: number;
6
- slotId: number;
7
- }
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InvoicedSlots = void 0;
4
- const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationConnectionBaseEntity");
5
- class InvoicedSlots extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
6
- }
7
- exports.InvoicedSlots = InvoicedSlots;
8
- //# sourceMappingURL=InvoicedSlots.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoicedSlots.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/InvoicedSlots.ts"],"names":[],"mappings":";;;AAAA,oGAAiG;AAGjG,MAAa,aAAc,SAAQ,mEAAgC;CAMlE;AAND,sCAMC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Reservations.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/Reservations.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAajG,MAAa,WAAY,SAAQ,mEAAgC;CA+DhE;AA/DD,kCA+DC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Segments.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/Segments.ts"],"names":[],"mappings":";;;AACA,oGAAiG;AAKjG,MAAa,OAAQ,SAAQ,mEAAgC;CAwB5D;AAxBD,0BAwBC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Series.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/Series.ts"],"names":[],"mappings":";;;AAAA,oGAAiG;AAMjG,MAAa,MAAO,SAAQ,mEAAgC;CAmC3D;AAnCD,wBAmCC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Slots.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/Slots.ts"],"names":[],"mappings":";;;AAIA,oGAAiG;AAYjG,MAAa,IAAK,SAAQ,mEAAgC;CA0HzD;AA1HD,oBA0HC"}
@@ -1,28 +0,0 @@
1
- import { Invoice } from '../../../entity/Invoice';
2
- import { InvoiceDto } from '../../dto/invoice.dto';
3
- import { LineItemDto } from '../../dto/lineItem.dto';
4
- import { ProductPricesDto } from '../../dto/reservation.dto';
5
- export interface IGeneratedLineItems {
6
- lineItems: LineItemDto[];
7
- childItemToParent: Map<LineItemDto, LineItemDto>;
8
- }
9
- export interface IOverridePricingResult {
10
- overrideProductsPricing: IOverrideProductsPricing;
11
- totalPrice?: number;
12
- }
13
- export interface IOverrideLineItemPrice {
14
- invoice: InvoiceDto;
15
- lineItem: LineItemDto;
16
- ratio: number;
17
- overrideProductsPricing: IOverrideProductsPricing;
18
- isLastLineItem?: boolean;
19
- priceLeft?: number;
20
- }
21
- export interface IOverrideProductsPricing {
22
- [productInfo: string]: ProductPricesDto;
23
- }
24
- export interface IInvoiceReservationOptions {
25
- invoice?: Invoice;
26
- skipUpdateReservationPrice?: boolean;
27
- skipUpdatePaymentStatuses?: boolean;
28
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"invoice.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/interfaces/invoice.interfaces.ts"],"names":[],"mappings":""}