@bondsports/types 1.31.0 → 1.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/dto/customer.dto.d.ts +26 -1
- package/dist/types/dto/customer.dto.js +4 -1
- package/dist/types/dto/customer.dto.js.map +1 -1
- package/dist/types/dto/events.dto.d.ts +15 -4
- package/dist/types/dto/events.dto.js +4 -1
- package/dist/types/dto/events.dto.js.map +1 -1
- package/dist/types/dto/facilities.dto.d.ts +3 -1
- package/dist/types/dto/facilities.dto.js +4 -1
- package/dist/types/dto/facilities.dto.js.map +1 -1
- package/dist/types/dto/general.dto.d.ts +18 -2
- package/dist/types/dto/general.dto.js +15 -3
- package/dist/types/dto/general.dto.js.map +1 -1
- package/dist/types/dto/glcodes.dto.d.ts +0 -7
- package/dist/types/dto/glcodes.dto.js +1 -4
- package/dist/types/dto/glcodes.dto.js.map +1 -1
- package/dist/types/dto/groupsDivisions.dto.d.ts +7 -0
- package/dist/types/dto/groupsDivisions.dto.js +7 -1
- package/dist/types/dto/groupsDivisions.dto.js.map +1 -1
- package/dist/types/dto/index.d.ts +3 -8
- package/dist/types/dto/index.js +3 -8
- package/dist/types/dto/index.js.map +1 -1
- package/dist/types/dto/package.dto.d.ts +31 -0
- package/dist/types/dto/package.dto.js +22 -0
- package/dist/types/dto/package.dto.js.map +1 -0
- package/dist/types/dto/product-variants.dto.d.ts +36 -0
- package/dist/types/dto/product-variants.dto.js +26 -0
- package/dist/types/dto/product-variants.dto.js.map +1 -0
- package/dist/types/dto/product.dto.d.ts +110 -0
- package/dist/types/dto/product.dto.js +41 -0
- package/dist/types/dto/product.dto.js.map +1 -0
- package/dist/types/entity/ActivityTimes.d.ts +1 -1
- package/dist/types/entity/Address.js.map +1 -1
- package/dist/types/entity/Customer.d.ts +32 -31
- package/dist/types/entity/Customer.js.map +1 -1
- package/dist/types/entity/EventAttendees.d.ts +3 -1
- package/dist/types/entity/EventAttendees.js.map +1 -1
- package/dist/types/entity/Events.d.ts +2 -2
- package/dist/types/entity/Facility.d.ts +2 -2
- package/dist/types/entity/Group.d.ts +1 -1
- package/dist/types/entity/Invoice.d.ts +2 -2
- package/dist/types/entity/InvoiceNote.d.ts +1 -1
- package/dist/types/entity/LinkedAccounts.d.ts +1 -1
- package/dist/types/entity/Media.d.ts +2 -2
- package/dist/types/entity/Media.js.map +1 -1
- package/dist/types/entity/Product.d.ts +4 -2
- package/dist/types/entity/Product.js.map +1 -1
- package/dist/types/entity/ProductResource.d.ts +1 -1
- package/dist/types/entity/ProductsUsers.d.ts +13 -7
- package/dist/types/entity/ProductsUsers.js.map +1 -1
- package/dist/types/entity/PurchasedResources.d.ts +3 -3
- package/dist/types/entity/SeasonAttendees.d.ts +2 -2
- package/dist/types/entity/TeamMember.d.ts +1 -1
- package/dist/types/entity/UserAuthorizations.d.ts +1 -1
- package/dist/types/entity/UserInFamilyAccount.d.ts +1 -1
- package/dist/types/entity/index.d.ts +0 -13
- package/dist/types/entity/index.js +0 -13
- package/dist/types/entity/index.js.map +1 -1
- package/dist/types/familyAccount/dto/addFamilyMember.dto.d.ts +1 -1
- package/dist/types/familyAccount/dto/getFamilies.dto.d.ts +1 -1
- package/dist/types/gl-codes/dto/resource-to-gl.dto.d.ts +11 -2
- package/dist/types/gl-codes/dto/resource-to-gl.dto.js +6 -3
- package/dist/types/gl-codes/dto/resource-to-gl.dto.js.map +1 -1
- package/dist/types/gl-codes/index.d.ts +1 -0
- package/dist/types/gl-codes/index.js +1 -0
- package/dist/types/gl-codes/index.js.map +1 -1
- package/dist/types/gl-codes/types/index.d.ts +1 -0
- package/dist/types/{payment/stripe → gl-codes/types}/index.js +1 -1
- package/dist/types/gl-codes/types/index.js.map +1 -0
- package/dist/types/gl-codes/types/interfaces/gl-code.interfaces.d.ts +5 -0
- package/dist/types/gl-codes/types/interfaces/gl-code.interfaces.js +3 -0
- package/dist/types/gl-codes/types/interfaces/gl-code.interfaces.js.map +1 -0
- package/dist/types/gl-codes/types/interfaces/index.d.ts +1 -0
- package/dist/types/gl-codes/types/interfaces/index.js +18 -0
- package/dist/types/gl-codes/types/interfaces/index.js.map +1 -0
- package/dist/types/import/dto/product.dto.d.ts +1 -1
- package/dist/types/index.d.ts +6 -0
- package/dist/types/index.js +6 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/membership/interfaces/membership.interfaces.d.ts +1 -1
- package/dist/types/payment/dto/index.d.ts +2 -1
- package/dist/types/payment/dto/index.js +2 -1
- package/dist/types/payment/dto/index.js.map +1 -1
- package/dist/types/payment/dto/{paymentMethod.dto.js → payment-method.dto.js} +1 -1
- package/dist/types/payment/dto/payment-method.dto.js.map +1 -0
- package/dist/types/payment/dto/payment-plan.dto.d.ts +44 -0
- package/dist/types/payment/dto/payment-plan.dto.js +32 -0
- package/dist/types/payment/dto/payment-plan.dto.js.map +1 -0
- package/dist/types/payment/dto/payment.dto.d.ts +2 -37
- package/dist/types/payment/dto/payment.dto.js +2 -27
- package/dist/types/payment/dto/payment.dto.js.map +1 -1
- package/dist/types/{entity → payment/entities}/FutureInstallment.d.ts +5 -5
- package/dist/types/{entity → payment/entities}/FutureInstallment.js +1 -1
- package/dist/types/payment/entities/FutureInstallment.js.map +1 -0
- package/dist/types/payment/entities/Payment.d.ts +2 -2
- package/dist/types/payment/entities/PaymentNote.d.ts +1 -1
- package/dist/types/payment/entities/PaymentPlanSchedule.d.ts +1 -1
- package/dist/types/{entity/Payments_Deprecated.d.ts → payment/entities/Payments.deprecated.d.ts} +1 -1
- package/dist/types/{entity/Payments_Deprecated.js → payment/entities/Payments.deprecated.js} +2 -2
- package/dist/types/payment/entities/Payments.deprecated.js.map +1 -0
- package/dist/types/payment/entities/ProductPaymentPlan.d.ts +17 -0
- package/dist/types/{entity → payment/entities}/ProductPaymentPlan.js +1 -1
- package/dist/types/payment/entities/ProductPaymentPlan.js.map +1 -0
- package/dist/types/{entity → payment/entities}/RefundReason.d.ts +1 -1
- package/dist/types/{entity → payment/entities}/RefundReason.js +1 -1
- package/dist/types/payment/entities/RefundReason.js.map +1 -0
- package/dist/types/payment/entities/index.d.ts +4 -0
- package/dist/types/payment/entities/index.js +4 -0
- package/dist/types/payment/entities/index.js.map +1 -1
- package/dist/types/payment/index.d.ts +0 -1
- package/dist/types/payment/index.js +0 -1
- package/dist/types/payment/index.js.map +1 -1
- package/dist/types/payment/types/consts/payment.consts.d.ts +1 -1
- package/dist/types/payment/types/enums/index.d.ts +1 -0
- package/dist/types/payment/types/enums/index.js +1 -0
- package/dist/types/payment/types/enums/index.js.map +1 -1
- package/dist/types/payment/types/enums/payment-plan.enums.d.ts +18 -0
- package/dist/types/payment/types/enums/payment-plan.enums.js +25 -0
- package/dist/types/payment/types/enums/payment-plan.enums.js.map +1 -0
- package/dist/types/payment/types/interfaces/index.d.ts +2 -0
- package/dist/types/payment/types/interfaces/index.js +2 -0
- package/dist/types/payment/types/interfaces/index.js.map +1 -1
- package/dist/types/payment/types/interfaces/scheduled-payments.interfaces.d.ts +3 -0
- package/dist/types/payment/types/interfaces/scheduled-payments.interfaces.js +3 -0
- package/dist/types/payment/types/interfaces/scheduled-payments.interfaces.js.map +1 -0
- package/dist/types/payment/{stripe/stripe.types.js → types/interfaces/stripe.interfaces.js} +1 -1
- package/dist/types/payment/types/interfaces/stripe.interfaces.js.map +1 -0
- package/dist/types/pricing/dto/index.d.ts +1 -0
- package/dist/types/pricing/dto/index.js +18 -0
- package/dist/types/pricing/dto/index.js.map +1 -0
- package/dist/types/{dto → pricing/dto}/pricing.dto.d.ts +13 -3
- package/dist/types/{dto → pricing/dto}/pricing.dto.js +4 -1
- package/dist/types/pricing/dto/pricing.dto.js.map +1 -0
- package/dist/types/{entity → pricing/entities}/Price.d.ts +3 -3
- package/dist/types/{entity → pricing/entities}/Price.js +1 -1
- package/dist/types/pricing/entities/Price.js.map +1 -0
- package/dist/types/pricing/entities/index.d.ts +1 -0
- package/dist/types/pricing/entities/index.js +18 -0
- package/dist/types/pricing/entities/index.js.map +1 -0
- package/dist/types/pricing/index.d.ts +2 -0
- package/dist/types/pricing/index.js +19 -0
- package/dist/types/pricing/index.js.map +1 -0
- package/dist/types/product-pricing/dto/index.d.ts +1 -0
- package/dist/types/product-pricing/dto/index.js +18 -0
- package/dist/types/product-pricing/dto/index.js.map +1 -0
- package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +56 -0
- package/dist/types/product-pricing/dto/product-pricing.dto.js +45 -0
- package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -0
- package/dist/types/product-pricing/index.d.ts +1 -0
- package/dist/types/product-pricing/index.js +18 -0
- package/dist/types/product-pricing/index.js.map +1 -0
- package/dist/types/programs/dto/index.d.ts +1 -0
- package/dist/types/programs/dto/index.js +18 -0
- package/dist/types/programs/dto/index.js.map +1 -0
- package/dist/types/{dto → programs/dto}/program.dto.d.ts +5 -2
- package/dist/types/{dto → programs/dto}/program.dto.js +5 -1
- package/dist/types/programs/dto/program.dto.js.map +1 -0
- package/dist/types/{entity → programs/entities}/Program.d.ts +6 -6
- package/dist/types/{entity → programs/entities}/Program.js +1 -1
- package/dist/types/programs/entities/Program.js.map +1 -0
- package/dist/types/{entity → programs/entities}/ProgramHighlights.d.ts +2 -2
- package/dist/types/{entity → programs/entities}/ProgramHighlights.js +1 -1
- package/dist/types/programs/entities/ProgramHighlights.js.map +1 -0
- package/dist/types/programs/entities/index.d.ts +2 -0
- package/dist/types/programs/entities/index.js +19 -0
- package/dist/types/programs/entities/index.js.map +1 -0
- package/dist/types/programs/index.d.ts +2 -0
- package/dist/types/programs/index.js +19 -0
- package/dist/types/programs/index.js.map +1 -0
- package/dist/types/programs-seasons/dto/index.d.ts +1 -0
- package/dist/types/programs-seasons/dto/index.js +18 -0
- package/dist/types/programs-seasons/dto/index.js.map +1 -0
- package/dist/types/{dto → programs-seasons/dto}/program-seasons.dto.d.ts +11 -8
- package/dist/types/{dto → programs-seasons/dto}/program-seasons.dto.js +7 -4
- package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -0
- package/dist/types/{entity → programs-seasons/entities}/ProgramSeason.d.ts +16 -16
- package/dist/types/{entity → programs-seasons/entities}/ProgramSeason.js +1 -1
- package/dist/types/programs-seasons/entities/ProgramSeason.js.map +1 -0
- package/dist/types/programs-seasons/entities/index.d.ts +1 -0
- package/dist/types/programs-seasons/entities/index.js +18 -0
- package/dist/types/programs-seasons/entities/index.js.map +1 -0
- package/dist/types/programs-seasons/index.d.ts +2 -0
- package/dist/types/programs-seasons/index.js +19 -0
- package/dist/types/programs-seasons/index.js.map +1 -0
- package/dist/types/purchase/dto/purchase.dto.d.ts +2 -2
- package/dist/types/purchase/dto/purchase.dto.js +1 -1
- package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
- package/dist/types/reservations/entities/Addon.d.ts +1 -1
- package/dist/types/reservations/entities/Series.d.ts +1 -1
- package/dist/types/reservations/entities/Slots.d.ts +1 -1
- package/dist/types/roles/entities/UserRole.d.ts +1 -1
- package/dist/types/services/interfaces.service.d.ts +3 -18
- package/dist/types/services/interfaces.service.js +1 -1
- package/dist/types/services/interfaces.service.js.map +1 -1
- package/dist/types/shifts/entities/shift.entity.d.ts +1 -1
- package/dist/types/spaces/dto/index.d.ts +2 -0
- package/dist/types/spaces/dto/index.js +19 -0
- package/dist/types/spaces/dto/index.js.map +1 -0
- package/dist/types/spaces/dto/resource.dto.d.ts +8 -0
- package/dist/types/spaces/dto/resource.dto.js +11 -0
- package/dist/types/spaces/dto/resource.dto.js.map +1 -0
- package/dist/types/{dto → spaces/dto}/space.dto.d.ts +3 -3
- package/dist/types/{dto → spaces/dto}/space.dto.js +1 -1
- package/dist/types/spaces/dto/space.dto.js.map +1 -0
- package/dist/types/{entity → spaces/entities}/Resource.d.ts +8 -8
- package/dist/types/{entity → spaces/entities}/Resource.js +1 -1
- package/dist/types/spaces/entities/Resource.js.map +1 -0
- package/dist/types/{entity → spaces/entities}/SpacesDependency.d.ts +1 -1
- package/dist/types/{entity → spaces/entities}/SpacesDependency.js +1 -1
- package/dist/types/spaces/entities/SpacesDependency.js.map +1 -0
- package/dist/types/spaces/entities/index.d.ts +2 -0
- package/dist/types/spaces/entities/index.js +19 -0
- package/dist/types/spaces/entities/index.js.map +1 -0
- package/dist/types/spaces/index.d.ts +3 -0
- package/dist/types/spaces/index.js +20 -0
- package/dist/types/spaces/index.js.map +1 -0
- package/dist/types/spaces/types/index.d.ts +1 -0
- package/dist/types/spaces/types/index.js +18 -0
- package/dist/types/spaces/types/index.js.map +1 -0
- package/dist/types/spaces/types/interfaces/index.d.ts +1 -0
- package/dist/types/spaces/types/interfaces/index.js +18 -0
- package/dist/types/spaces/types/interfaces/index.js.map +1 -0
- package/dist/types/spaces/types/interfaces/resource.interfaces.d.ts +6 -0
- package/dist/types/spaces/types/interfaces/resource.interfaces.js +3 -0
- package/dist/types/spaces/types/interfaces/resource.interfaces.js.map +1 -0
- package/dist/types/user/dto/index.d.ts +2 -0
- package/dist/types/user/dto/index.js +19 -0
- package/dist/types/user/dto/index.js.map +1 -0
- package/dist/types/user/dto/user-settings.dto.d.ts +26 -0
- package/dist/types/user/dto/user-settings.dto.js +7 -0
- package/dist/types/user/dto/user-settings.dto.js.map +1 -0
- package/dist/types/user/dto/user.dto.d.ts +39 -0
- package/dist/types/user/dto/user.dto.js +26 -0
- package/dist/types/user/dto/user.dto.js.map +1 -0
- package/dist/types/{entity → user/entities}/Athlete.d.ts +1 -1
- package/dist/types/{entity → user/entities}/Athlete.js +1 -1
- package/dist/types/user/entities/Athlete.js.map +1 -0
- package/dist/types/{entity → user/entities}/AthleteSports.d.ts +2 -2
- package/dist/types/{entity → user/entities}/AthleteSports.js +1 -1
- package/dist/types/user/entities/AthleteSports.js.map +1 -0
- package/dist/types/{entity → user/entities}/User.d.ts +14 -11
- package/dist/types/{entity → user/entities}/User.js +1 -1
- package/dist/types/user/entities/User.js.map +1 -0
- package/dist/types/user/entities/index.d.ts +3 -0
- package/dist/types/user/entities/index.js +20 -0
- package/dist/types/user/entities/index.js.map +1 -0
- package/dist/types/user/index.d.ts +2 -0
- package/dist/types/user/index.js +19 -0
- package/dist/types/user/index.js.map +1 -0
- package/package.json +1 -1
- package/dist/types/dto/pricing.dto.js.map +0 -1
- package/dist/types/dto/productPricing.dto.d.ts +0 -229
- package/dist/types/dto/productPricing.dto.js +0 -120
- package/dist/types/dto/productPricing.dto.js.map +0 -1
- package/dist/types/dto/productVariants.dto.d.ts +0 -19
- package/dist/types/dto/productVariants.dto.js +0 -13
- package/dist/types/dto/productVariants.dto.js.map +0 -1
- package/dist/types/dto/program-seasons.dto.js.map +0 -1
- package/dist/types/dto/program.dto.js.map +0 -1
- package/dist/types/dto/resource.dto.d.ts +0 -5
- package/dist/types/dto/resource.dto.js +0 -7
- package/dist/types/dto/resource.dto.js.map +0 -1
- package/dist/types/dto/space.dto.js.map +0 -1
- package/dist/types/dto/user.dto.d.ts +0 -9
- package/dist/types/dto/user.dto.js +0 -13
- package/dist/types/dto/user.dto.js.map +0 -1
- package/dist/types/entity/Athlete.js.map +0 -1
- package/dist/types/entity/AthleteSports.js.map +0 -1
- package/dist/types/entity/FutureInstallment.js.map +0 -1
- package/dist/types/entity/Payments_Deprecated.js.map +0 -1
- package/dist/types/entity/Price.js.map +0 -1
- package/dist/types/entity/ProductPaymentPlan.d.ts +0 -12
- package/dist/types/entity/ProductPaymentPlan.js.map +0 -1
- package/dist/types/entity/Program.js.map +0 -1
- package/dist/types/entity/ProgramHighlights.js.map +0 -1
- package/dist/types/entity/ProgramSeason.js.map +0 -1
- package/dist/types/entity/RefundReason.js.map +0 -1
- package/dist/types/entity/Resource.js.map +0 -1
- package/dist/types/entity/SpacesDependency.js.map +0 -1
- package/dist/types/entity/User.js.map +0 -1
- package/dist/types/payment/dto/paymentMethod.dto.js.map +0 -1
- package/dist/types/payment/stripe/index.d.ts +0 -1
- package/dist/types/payment/stripe/index.js.map +0 -1
- package/dist/types/payment/stripe/stripe.types.js.map +0 -1
- /package/dist/types/payment/dto/{paymentMethod.dto.d.ts → payment-method.dto.d.ts} +0 -0
- /package/dist/types/payment/{stripe/stripe.types.d.ts → types/interfaces/stripe.interfaces.d.ts} +0 -0
package/dist/types/index.d.ts
CHANGED
|
@@ -16,10 +16,16 @@ export * from './monitor-config';
|
|
|
16
16
|
export * from './notifyTracker';
|
|
17
17
|
export * from './organization';
|
|
18
18
|
export * from './payment';
|
|
19
|
+
export * from './pricing';
|
|
20
|
+
export * from './product-pricing';
|
|
21
|
+
export * from './programs';
|
|
22
|
+
export * from './programs-seasons';
|
|
19
23
|
export * from './purchase';
|
|
20
24
|
export * from './reservations';
|
|
21
25
|
export * from './roles';
|
|
22
26
|
export * from './services';
|
|
23
27
|
export * from './shifts';
|
|
28
|
+
export * from './spaces';
|
|
29
|
+
export * from './user';
|
|
24
30
|
export * from './webflow';
|
|
25
31
|
export * from './webhooks';
|
package/dist/types/index.js
CHANGED
|
@@ -32,11 +32,17 @@ __exportStar(require("./monitor-config"), exports);
|
|
|
32
32
|
__exportStar(require("./notifyTracker"), exports);
|
|
33
33
|
__exportStar(require("./organization"), exports);
|
|
34
34
|
__exportStar(require("./payment"), exports);
|
|
35
|
+
__exportStar(require("./pricing"), exports);
|
|
36
|
+
__exportStar(require("./product-pricing"), exports);
|
|
37
|
+
__exportStar(require("./programs"), exports);
|
|
38
|
+
__exportStar(require("./programs-seasons"), exports);
|
|
35
39
|
__exportStar(require("./purchase"), exports);
|
|
36
40
|
__exportStar(require("./reservations"), exports);
|
|
37
41
|
__exportStar(require("./roles"), exports);
|
|
38
42
|
__exportStar(require("./services"), exports);
|
|
39
43
|
__exportStar(require("./shifts"), exports);
|
|
44
|
+
__exportStar(require("./spaces"), exports);
|
|
45
|
+
__exportStar(require("./user"), exports);
|
|
40
46
|
__exportStar(require("./webflow"), exports);
|
|
41
47
|
__exportStar(require("./webhooks"), exports);
|
|
42
48
|
//# sourceMappingURL=index.js.map
|
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,8CAA4B;AAC5B,wCAAsB;AACtB,2CAAyB;AACzB,kDAAgC;AAChC,wCAAsB;AACtB,6CAA2B;AAC3B,2CAAyB;AACzB,gDAA8B;AAC9B,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B;AAC7B,2CAAyB;AACzB,mDAAiC;AACjC,kDAAgC;AAChC,iDAA+B;AAC/B,4CAA0B;AAC1B,6CAA2B;AAC3B,iDAA+B;AAC/B,0CAAwB;AACxB,6CAA2B;AAC3B,2CAAyB;AACzB,4CAA0B;AAC1B,6CAA2B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,8CAA4B;AAC5B,wCAAsB;AACtB,2CAAyB;AACzB,kDAAgC;AAChC,wCAAsB;AACtB,6CAA2B;AAC3B,2CAAyB;AACzB,gDAA8B;AAC9B,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B;AAC7B,2CAAyB;AACzB,mDAAiC;AACjC,kDAAgC;AAChC,iDAA+B;AAC/B,4CAA0B;AAC1B,4CAA0B;AAC1B,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,6CAA2B;AAC3B,iDAA+B;AAC/B,0CAAwB;AACxB,6CAA2B;AAC3B,2CAAyB;AACzB,2CAAyB;AACzB,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MembershipMember } from '../../entity/MembershipMember';
|
|
2
2
|
import { Membership } from '../../entity/Membership';
|
|
3
|
-
import { User } from '../../
|
|
3
|
+
import { User } from '../../user/entities/User';
|
|
4
4
|
import { Invoice } from '../../entity/Invoice';
|
|
5
5
|
import { InvoiceToPayment } from '../../entity/InvoiceToPayment';
|
|
6
6
|
import { CancellationStatusEnum, CurrencyEnum, CustomerInMembershipTypeEnum, GenderEnum, MembershipTypeEnum, PaymentMethodTypeEnum, PaymentStatusEnum, SportsEnum } from '../../services/enums.service';
|
|
@@ -14,8 +14,9 @@ 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("./payment-method.dto"), exports);
|
|
18
|
+
__exportStar(require("./payment-plan.dto"), exports);
|
|
17
19
|
__exportStar(require("./payment.dto"), exports);
|
|
18
|
-
__exportStar(require("./paymentMethod.dto"), exports);
|
|
19
20
|
__exportStar(require("./refund.dto"), exports);
|
|
20
21
|
__exportStar(require("./void.dto"), exports);
|
|
21
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,qDAAmC;AACnC,gDAA8B;AAC9B,+CAA6B;AAC7B,6CAA2B"}
|
|
@@ -4,4 +4,4 @@ exports.UpdateConnectedResourcePaymentMethodDto = void 0;
|
|
|
4
4
|
class UpdateConnectedResourcePaymentMethodDto {
|
|
5
5
|
}
|
|
6
6
|
exports.UpdateConnectedResourcePaymentMethodDto = UpdateConnectedResourcePaymentMethodDto;
|
|
7
|
-
//# sourceMappingURL=
|
|
7
|
+
//# sourceMappingURL=payment-method.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payment-method.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment-method.dto.ts"],"names":[],"mappings":";;;AAUA,MAAa,uCAAuC;CAUnD;AAVD,0FAUC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { PaymentMethodTypeEnum } from '../../services/enums.service';
|
|
2
|
+
import { PaymentPlanRepetitionEnum, PaymentPlanStatusEnum, PaymentPlanTypeEnum } from '../types/enums/payment-plan.enums';
|
|
3
|
+
import { ByInvoiceDto } from './payment.dto';
|
|
4
|
+
export declare class PaymentPlanSchduleDto {
|
|
5
|
+
date: Date;
|
|
6
|
+
percent?: number;
|
|
7
|
+
}
|
|
8
|
+
export declare class PaymentPlanDto {
|
|
9
|
+
months?: number;
|
|
10
|
+
dayOfMonth?: number;
|
|
11
|
+
schedule?: PaymentPlanSchduleDto[];
|
|
12
|
+
status?: PaymentPlanStatusEnum;
|
|
13
|
+
paymentPlanType?: PaymentPlanTypeEnum;
|
|
14
|
+
startsInMonths?: number;
|
|
15
|
+
installmentRepeat?: PaymentPlanRepetitionEnum;
|
|
16
|
+
}
|
|
17
|
+
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
18
|
+
name: string;
|
|
19
|
+
}
|
|
20
|
+
export declare class CalcPaymentPlanDto extends PaymentPlanDto {
|
|
21
|
+
amountToSplit: number;
|
|
22
|
+
}
|
|
23
|
+
export declare class BasicInstallmentDataDto extends ByInvoiceDto {
|
|
24
|
+
userId: number;
|
|
25
|
+
}
|
|
26
|
+
export declare class CreateScheduledPaymentsDto extends BasicInstallmentDataDto {
|
|
27
|
+
payments: ScheduledPaymentDto[];
|
|
28
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
29
|
+
payemntMethodId: string;
|
|
30
|
+
}
|
|
31
|
+
export declare class ScheduledPaymentDto {
|
|
32
|
+
plannedDate: Date;
|
|
33
|
+
originalPlannedDate?: Date;
|
|
34
|
+
price: number;
|
|
35
|
+
}
|
|
36
|
+
export declare class FutureInstallmentsIdsDto {
|
|
37
|
+
paymentsIds: number[];
|
|
38
|
+
}
|
|
39
|
+
export declare class UpdateScheduledPaymentsDto {
|
|
40
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
41
|
+
payemntMethodId: string;
|
|
42
|
+
invoiceId?: number;
|
|
43
|
+
installmentIds?: number[];
|
|
44
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateScheduledPaymentsDto = exports.FutureInstallmentsIdsDto = exports.ScheduledPaymentDto = exports.CreateScheduledPaymentsDto = exports.BasicInstallmentDataDto = exports.CalcPaymentPlanDto = exports.CreatePaymentPlanDto = exports.PaymentPlanDto = exports.PaymentPlanSchduleDto = void 0;
|
|
4
|
+
const payment_dto_1 = require("./payment.dto");
|
|
5
|
+
class PaymentPlanSchduleDto {
|
|
6
|
+
}
|
|
7
|
+
exports.PaymentPlanSchduleDto = PaymentPlanSchduleDto;
|
|
8
|
+
class PaymentPlanDto {
|
|
9
|
+
}
|
|
10
|
+
exports.PaymentPlanDto = PaymentPlanDto;
|
|
11
|
+
class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
12
|
+
}
|
|
13
|
+
exports.CreatePaymentPlanDto = CreatePaymentPlanDto;
|
|
14
|
+
class CalcPaymentPlanDto extends PaymentPlanDto {
|
|
15
|
+
}
|
|
16
|
+
exports.CalcPaymentPlanDto = CalcPaymentPlanDto;
|
|
17
|
+
class BasicInstallmentDataDto extends payment_dto_1.ByInvoiceDto {
|
|
18
|
+
}
|
|
19
|
+
exports.BasicInstallmentDataDto = BasicInstallmentDataDto;
|
|
20
|
+
class CreateScheduledPaymentsDto extends BasicInstallmentDataDto {
|
|
21
|
+
}
|
|
22
|
+
exports.CreateScheduledPaymentsDto = CreateScheduledPaymentsDto;
|
|
23
|
+
class ScheduledPaymentDto {
|
|
24
|
+
}
|
|
25
|
+
exports.ScheduledPaymentDto = ScheduledPaymentDto;
|
|
26
|
+
class FutureInstallmentsIdsDto {
|
|
27
|
+
}
|
|
28
|
+
exports.FutureInstallmentsIdsDto = FutureInstallmentsIdsDto;
|
|
29
|
+
class UpdateScheduledPaymentsDto {
|
|
30
|
+
}
|
|
31
|
+
exports.UpdateScheduledPaymentsDto = UpdateScheduledPaymentsDto;
|
|
32
|
+
//# sourceMappingURL=payment-plan.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payment-plan.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment-plan.dto.ts"],"names":[],"mappings":";;;AAMA,+CAA6C;AAE7C,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AACD,MAAa,cAAc;CAc1B;AAdD,wCAcC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,kBAAmB,SAAQ,cAAc;CAErD;AAFD,gDAEC;AAED,MAAa,uBAAwB,SAAQ,0BAAY;CAExD;AAFD,0DAEC;AAED,MAAa,0BAA2B,SAAQ,uBAAuB;CAMtE;AAND,gEAMC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,0BAA0B;CAQtC;AARD,gEAQC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PaginationQuery } from '../../dto/general.dto';
|
|
2
|
-
import { UserIdDto } from '../../dto/user.dto';
|
|
3
2
|
import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
|
4
3
|
import { PurchaseProductDto } from '../../purchase/dto/purchase.dto';
|
|
5
4
|
import { FuturePaymentStatusEnum, OrderByEnum, PaymentMethodTypeEnum, PaymentStatusEnum, PlatformsEnum, ResourceNameTypeEnum, SubPaymentMethodTypeEnum } from '../../services/enums.service';
|
|
@@ -22,8 +21,8 @@ export declare class ByInvoiceDto extends ByOrganizationIdDto {
|
|
|
22
21
|
export declare class ByInvoiceAndCustomerDto extends ByInvoiceDto {
|
|
23
22
|
customerId: number;
|
|
24
23
|
}
|
|
25
|
-
export declare class InvoiceIdAndUserIdDto extends
|
|
26
|
-
|
|
24
|
+
export declare class InvoiceIdAndUserIdDto extends InvoiceIdDto {
|
|
25
|
+
userId: number;
|
|
27
26
|
}
|
|
28
27
|
export declare class GetInvoicesQueryDto {
|
|
29
28
|
extended?: boolean;
|
|
@@ -58,28 +57,6 @@ export declare class FindPayments extends ByPaymentFilter {
|
|
|
58
57
|
orderByProperty?: PaymentFilterByEnum[];
|
|
59
58
|
order?: OrderByEnum[];
|
|
60
59
|
}
|
|
61
|
-
export declare class BasicInstallmentDataDto extends ByInvoiceDto {
|
|
62
|
-
userId: number;
|
|
63
|
-
}
|
|
64
|
-
export declare class CreateScheduledPaymentsDto extends BasicInstallmentDataDto {
|
|
65
|
-
payments: ScheduledPaymentDto[];
|
|
66
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
67
|
-
payemntMethodId: string;
|
|
68
|
-
}
|
|
69
|
-
export declare class ScheduledPaymentDto {
|
|
70
|
-
plannedDate: Date;
|
|
71
|
-
originalPlannedDate?: Date;
|
|
72
|
-
price: number;
|
|
73
|
-
}
|
|
74
|
-
export declare class FutureInstallmentsIdsDto {
|
|
75
|
-
paymentsIds: number[];
|
|
76
|
-
}
|
|
77
|
-
export declare class UpdateScheduledPaymentsDto {
|
|
78
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
79
|
-
payemntMethodId: string;
|
|
80
|
-
invoiceId?: number;
|
|
81
|
-
installmentIds?: number[];
|
|
82
|
-
}
|
|
83
60
|
export declare class StationsDto {
|
|
84
61
|
organizationId: number;
|
|
85
62
|
facilityId: number;
|
|
@@ -105,18 +82,6 @@ export declare class SendReceiptDataDto {
|
|
|
105
82
|
deliveryMethod: 'email' | 'sms';
|
|
106
83
|
sendToAddress?: string;
|
|
107
84
|
}
|
|
108
|
-
export declare class PaymentPlanSchduleDto {
|
|
109
|
-
date: Date;
|
|
110
|
-
percent?: number;
|
|
111
|
-
}
|
|
112
|
-
export declare class PaymentPlanDto {
|
|
113
|
-
months?: number;
|
|
114
|
-
dayOfMonth?: number;
|
|
115
|
-
schedule?: PaymentPlanSchduleDto[];
|
|
116
|
-
}
|
|
117
|
-
export declare class CalcPaymentPlanDto extends PaymentPlanDto {
|
|
118
|
-
amountToSplit: number;
|
|
119
|
-
}
|
|
120
85
|
export declare class AddToInvoiceDto extends InvoiceIdDto {
|
|
121
86
|
userId: number;
|
|
122
87
|
productsToAdd: PurchaseProductDto[];
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetPaymentMethodsDto = exports.SendPaymentRequestDto = exports.RevertMetaDto = exports.RemoveResourceDto = exports.NotePrivacyDto = exports.UpdateNoteContentDto = exports.CreateNoteDto = exports.AddToInvoiceDto = exports.
|
|
3
|
+
exports.GetPaymentMethodsDto = exports.SendPaymentRequestDto = exports.RevertMetaDto = exports.RemoveResourceDto = exports.NotePrivacyDto = exports.UpdateNoteContentDto = exports.CreateNoteDto = exports.AddToInvoiceDto = exports.SendReceiptDataDto = exports.PaymentDataDto = exports.PaymentIntentDto = exports.StationsDto = exports.FindPayments = exports.ByPaymentFilter = exports.LineItemIdDto = exports.DiscountDto = exports.PaymentViaInvoiceHashDto = exports.GetPaymentsQueryDto = exports.GetInvoicesQueryDto = exports.InvoiceIdAndUserIdDto = exports.ByInvoiceAndCustomerDto = exports.ByInvoiceDto = exports.InvoiceIdDto = exports.ByPaymentDto = exports.PaymentIdDto = exports.CustomerIdDto = void 0;
|
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
|
5
|
-
const user_dto_1 = require("../../dto/user.dto");
|
|
6
5
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
|
7
6
|
class CustomerIdDto {
|
|
8
7
|
}
|
|
@@ -22,7 +21,7 @@ exports.ByInvoiceDto = ByInvoiceDto;
|
|
|
22
21
|
class ByInvoiceAndCustomerDto extends ByInvoiceDto {
|
|
23
22
|
}
|
|
24
23
|
exports.ByInvoiceAndCustomerDto = ByInvoiceAndCustomerDto;
|
|
25
|
-
class InvoiceIdAndUserIdDto extends
|
|
24
|
+
class InvoiceIdAndUserIdDto extends InvoiceIdDto {
|
|
26
25
|
}
|
|
27
26
|
exports.InvoiceIdAndUserIdDto = InvoiceIdAndUserIdDto;
|
|
28
27
|
class GetInvoicesQueryDto {
|
|
@@ -46,21 +45,6 @@ exports.ByPaymentFilter = ByPaymentFilter;
|
|
|
46
45
|
class FindPayments extends ByPaymentFilter {
|
|
47
46
|
}
|
|
48
47
|
exports.FindPayments = FindPayments;
|
|
49
|
-
class BasicInstallmentDataDto extends ByInvoiceDto {
|
|
50
|
-
}
|
|
51
|
-
exports.BasicInstallmentDataDto = BasicInstallmentDataDto;
|
|
52
|
-
class CreateScheduledPaymentsDto extends BasicInstallmentDataDto {
|
|
53
|
-
}
|
|
54
|
-
exports.CreateScheduledPaymentsDto = CreateScheduledPaymentsDto;
|
|
55
|
-
class ScheduledPaymentDto {
|
|
56
|
-
}
|
|
57
|
-
exports.ScheduledPaymentDto = ScheduledPaymentDto;
|
|
58
|
-
class FutureInstallmentsIdsDto {
|
|
59
|
-
}
|
|
60
|
-
exports.FutureInstallmentsIdsDto = FutureInstallmentsIdsDto;
|
|
61
|
-
class UpdateScheduledPaymentsDto {
|
|
62
|
-
}
|
|
63
|
-
exports.UpdateScheduledPaymentsDto = UpdateScheduledPaymentsDto;
|
|
64
48
|
class StationsDto {
|
|
65
49
|
}
|
|
66
50
|
exports.StationsDto = StationsDto;
|
|
@@ -73,15 +57,6 @@ exports.PaymentDataDto = PaymentDataDto;
|
|
|
73
57
|
class SendReceiptDataDto {
|
|
74
58
|
}
|
|
75
59
|
exports.SendReceiptDataDto = SendReceiptDataDto;
|
|
76
|
-
class PaymentPlanSchduleDto {
|
|
77
|
-
}
|
|
78
|
-
exports.PaymentPlanSchduleDto = PaymentPlanSchduleDto;
|
|
79
|
-
class PaymentPlanDto {
|
|
80
|
-
}
|
|
81
|
-
exports.PaymentPlanDto = PaymentPlanDto;
|
|
82
|
-
class CalcPaymentPlanDto extends PaymentPlanDto {
|
|
83
|
-
}
|
|
84
|
-
exports.CalcPaymentPlanDto = CalcPaymentPlanDto;
|
|
85
60
|
class AddToInvoiceDto extends InvoiceIdDto {
|
|
86
61
|
}
|
|
87
62
|
exports.AddToInvoiceDto = AddToInvoiceDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAwD;AACxD,
|
|
1
|
+
{"version":3,"file":"payment.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAwD;AACxD,8EAA8E;AAa9E,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,YAAa,SAAQ,sCAAmB;CAEpD;AAFD,oCAEC;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;CAI/B;AAJD,kDAIC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,WAAW;CAQvB;AARD,kCAQC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,eAAgB,SAAQ,6BAAe;CAQnD;AARD,0CAQC;AAED,MAAa,YAAa,SAAQ,eAAe;CAQhD;AARD,oCAQC;AAGD,MAAa,WAAW;CAIvB;AAJD,kCAIC;AAED,MAAa,gBAAgB;CAkB5B;AAlBD,4CAkBC;AAED,MAAa,cAAc;CAI1B;AAJD,wCAIC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,eAAgB,SAAQ,YAAY;CAMhD;AAND,0CAMC;AAED,MAAa,aAAa;CAIzB;AAJD,sCAIC;AAED,MAAa,oBAAqB,SAAQ,aAAa;CAEtD;AAFD,oDAEC;AAED,MAAa,cAAc;CAE1B;AAFD,wCAEC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,qBAAsB,SAAQ,YAAY;CAMtD;AAND,sDAMC;AAED,MAAa,oBAAoB;CAMhC;AAND,oDAMC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Payment } from '
|
|
2
|
-
import { PaymentMethodTypeEnum } from '
|
|
3
|
-
import { FuturePaymentStatusEnum } from '
|
|
4
|
-
import { OrganizationConnectionBaseEntity } from '
|
|
5
|
-
import { Invoice } from '
|
|
1
|
+
import { Payment } from './Payment';
|
|
2
|
+
import { PaymentMethodTypeEnum } from '../../services/enums.service';
|
|
3
|
+
import { FuturePaymentStatusEnum } from '../../services/enums.service';
|
|
4
|
+
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
5
|
+
import { Invoice } from '../../entity/Invoice';
|
|
6
6
|
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
7
7
|
userId: number;
|
|
8
8
|
invoiceId: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FutureInstallment = void 0;
|
|
4
|
-
const OrganizationConnectionBaseEntity_1 = require("
|
|
4
|
+
const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationConnectionBaseEntity");
|
|
5
5
|
class FutureInstallment extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
|
6
6
|
}
|
|
7
7
|
exports.FutureInstallment = FutureInstallment;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FutureInstallment.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/FutureInstallment.ts"],"names":[],"mappings":";;;AAIA,oGAAiG;AAIjG,MAAa,iBAAkB,SAAQ,mEAAgC;CAsBtE;AAtBD,8CAsBC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { InvoiceToPayment } from '../../entity/InvoiceToPayment';
|
|
2
2
|
import { LineItemHistory } from '../../entity/LineItemHistory';
|
|
3
3
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
4
|
-
import { User } from '../../
|
|
4
|
+
import { User } from '../../user/entities/User';
|
|
5
5
|
import { PaymentFeeDto } from '../../fee/dto/payment-fee.dto';
|
|
6
6
|
import { PaymentFee } from '../../fee/entities/PaymentFee';
|
|
7
7
|
import { CurrencyEnum, FuturePaymentStatusEnum, PaymentMethodTypeEnum, PaymentStatusEnum, PlatformsEnum } from '../../services/enums.service';
|
|
8
8
|
import { PaymentNote } from './PaymentNote';
|
|
9
|
-
import { FutureInstallment } from '
|
|
9
|
+
import { FutureInstallment } from './FutureInstallment';
|
|
10
10
|
import { Invoice } from '../../entity/Invoice';
|
|
11
11
|
export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
12
12
|
price: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
2
|
-
import { User } from '../../
|
|
2
|
+
import { User } from '../../user/entities/User';
|
|
3
3
|
import { Payment } from './Payment';
|
|
4
4
|
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
5
5
|
content: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
2
|
-
import { ProductPaymentPlan } from '
|
|
2
|
+
import { ProductPaymentPlan } from './ProductPaymentPlan';
|
|
3
3
|
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
4
4
|
paymentPlanId: number;
|
|
5
5
|
paymentDate: Date;
|
package/dist/types/{entity/Payments_Deprecated.js → payment/entities/Payments.deprecated.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PaymentV1 = void 0;
|
|
4
|
-
const BondBaseEntity_1 = require("
|
|
4
|
+
const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
|
|
5
5
|
class PaymentV1 extends BondBaseEntity_1.BondBaseEntity {
|
|
6
6
|
}
|
|
7
7
|
exports.PaymentV1 = PaymentV1;
|
|
8
|
-
//# sourceMappingURL=
|
|
8
|
+
//# sourceMappingURL=Payments.deprecated.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Payments.deprecated.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/Payments.deprecated.ts"],"names":[],"mappings":";;;AACA,gEAA6D;AAE7D,MAAa,SAAU,SAAQ,+BAAc;CAgC5C;AAhCD,8BAgCC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PaymentPlanSchedule } from './PaymentPlanSchedule';
|
|
2
|
+
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
3
|
+
import { Product } from '../../entity/Product';
|
|
4
|
+
import { PaymentPlanRepetitionEnum, PaymentPlanStatusEnum, PaymentPlanTypeEnum } from '../types/enums/payment-plan.enums';
|
|
5
|
+
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
6
|
+
productId: number;
|
|
7
|
+
maxInstallments?: number;
|
|
8
|
+
dayOfMonth?: number;
|
|
9
|
+
name: string;
|
|
10
|
+
installmentRepeat?: PaymentPlanRepetitionEnum;
|
|
11
|
+
startsInMonths?: number;
|
|
12
|
+
status: PaymentPlanStatusEnum;
|
|
13
|
+
paymentPlanType: PaymentPlanTypeEnum;
|
|
14
|
+
deletedAt?: Date;
|
|
15
|
+
schedule: PaymentPlanSchedule[];
|
|
16
|
+
product?: Product;
|
|
17
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ProductPaymentPlan = void 0;
|
|
4
|
-
const OrganizationConnectionBaseEntity_1 = require("
|
|
4
|
+
const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationConnectionBaseEntity");
|
|
5
5
|
class ProductPaymentPlan extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
|
6
6
|
}
|
|
7
7
|
exports.ProductPaymentPlan = ProductPaymentPlan;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductPaymentPlan.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/ProductPaymentPlan.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AASjG,MAAa,kBAAmB,SAAQ,mEAAgC;CAsBvE;AAtBD,gDAsBC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OrganizationConnectionBaseEntity } from '
|
|
1
|
+
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
2
2
|
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
3
3
|
reason: string;
|
|
4
4
|
ordinal: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RefundReason = void 0;
|
|
4
|
-
const OrganizationConnectionBaseEntity_1 = require("
|
|
4
|
+
const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationConnectionBaseEntity");
|
|
5
5
|
class RefundReason extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
|
6
6
|
}
|
|
7
7
|
exports.RefundReason = RefundReason;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RefundReason.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/RefundReason.ts"],"names":[],"mappings":";;;AACA,oGAAiG;AAEjG,MAAa,YAAa,SAAQ,mEAAgC;CAMjE;AAND,oCAMC"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
export * from './FutureInstallment';
|
|
1
2
|
export * from './Payment';
|
|
2
3
|
export * from './PaymentFailConfig';
|
|
3
4
|
export * from './PaymentFailures';
|
|
4
5
|
export * from './PaymentNote';
|
|
5
6
|
export * from './PaymentPlanSchedule';
|
|
7
|
+
export * from './Payments.deprecated';
|
|
8
|
+
export * from './ProductPaymentPlan';
|
|
9
|
+
export * from './RefundReason';
|
|
@@ -14,9 +14,13 @@ 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("./FutureInstallment"), exports);
|
|
17
18
|
__exportStar(require("./Payment"), exports);
|
|
18
19
|
__exportStar(require("./PaymentFailConfig"), exports);
|
|
19
20
|
__exportStar(require("./PaymentFailures"), exports);
|
|
20
21
|
__exportStar(require("./PaymentNote"), exports);
|
|
21
22
|
__exportStar(require("./PaymentPlanSchedule"), exports);
|
|
23
|
+
__exportStar(require("./Payments.deprecated"), exports);
|
|
24
|
+
__exportStar(require("./ProductPaymentPlan"), exports);
|
|
25
|
+
__exportStar(require("./RefundReason"), exports);
|
|
22
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,sDAAoC;AACpC,oDAAkC;AAClC,gDAA8B;AAC9B,wDAAsC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,4CAA0B;AAC1B,sDAAoC;AACpC,oDAAkC;AAClC,gDAA8B;AAC9B,wDAAsC;AACtC,wDAAsC;AACtC,uDAAqC;AACrC,iDAA+B"}
|
|
@@ -16,6 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./dto"), exports);
|
|
18
18
|
__exportStar(require("./entities"), exports);
|
|
19
|
-
__exportStar(require("./stripe"), exports);
|
|
20
19
|
__exportStar(require("./types"), exports);
|
|
21
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/payment/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B;AAC3B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/payment/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B;AAC3B,0CAAwB"}
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./payment-plan.enums"), exports);
|
|
17
18
|
__exportStar(require("./payment.enums"), exports);
|
|
18
19
|
__exportStar(require("./refund.enums"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,iDAA+B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,kDAAgC;AAChC,iDAA+B"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare enum PaymentPlanRepetitionEnum {
|
|
2
|
+
DAY = "day",
|
|
3
|
+
WEEK = "week",
|
|
4
|
+
MONTH = "month",
|
|
5
|
+
QUARTER = "quarter",
|
|
6
|
+
YEAR = "year"
|
|
7
|
+
}
|
|
8
|
+
export declare enum PaymentPlanStatusEnum {
|
|
9
|
+
ACTIVE = "active",
|
|
10
|
+
INACTIVE = "inactive"
|
|
11
|
+
}
|
|
12
|
+
export declare enum PaymentPlanTypeEnum {
|
|
13
|
+
NO_PLAN = "no_plan",
|
|
14
|
+
PAYMENT_DATE = "payment_date",
|
|
15
|
+
SCHEDULE = "schedule",
|
|
16
|
+
ROLLING = "rolling",
|
|
17
|
+
CUSTOM = "custom"
|
|
18
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PaymentPlanTypeEnum = exports.PaymentPlanStatusEnum = exports.PaymentPlanRepetitionEnum = void 0;
|
|
4
|
+
var PaymentPlanRepetitionEnum;
|
|
5
|
+
(function (PaymentPlanRepetitionEnum) {
|
|
6
|
+
PaymentPlanRepetitionEnum["DAY"] = "day";
|
|
7
|
+
PaymentPlanRepetitionEnum["WEEK"] = "week";
|
|
8
|
+
PaymentPlanRepetitionEnum["MONTH"] = "month";
|
|
9
|
+
PaymentPlanRepetitionEnum["QUARTER"] = "quarter";
|
|
10
|
+
PaymentPlanRepetitionEnum["YEAR"] = "year";
|
|
11
|
+
})(PaymentPlanRepetitionEnum = exports.PaymentPlanRepetitionEnum || (exports.PaymentPlanRepetitionEnum = {}));
|
|
12
|
+
var PaymentPlanStatusEnum;
|
|
13
|
+
(function (PaymentPlanStatusEnum) {
|
|
14
|
+
PaymentPlanStatusEnum["ACTIVE"] = "active";
|
|
15
|
+
PaymentPlanStatusEnum["INACTIVE"] = "inactive";
|
|
16
|
+
})(PaymentPlanStatusEnum = exports.PaymentPlanStatusEnum || (exports.PaymentPlanStatusEnum = {}));
|
|
17
|
+
var PaymentPlanTypeEnum;
|
|
18
|
+
(function (PaymentPlanTypeEnum) {
|
|
19
|
+
PaymentPlanTypeEnum["NO_PLAN"] = "no_plan";
|
|
20
|
+
PaymentPlanTypeEnum["PAYMENT_DATE"] = "payment_date";
|
|
21
|
+
PaymentPlanTypeEnum["SCHEDULE"] = "schedule";
|
|
22
|
+
PaymentPlanTypeEnum["ROLLING"] = "rolling";
|
|
23
|
+
PaymentPlanTypeEnum["CUSTOM"] = "custom";
|
|
24
|
+
})(PaymentPlanTypeEnum = exports.PaymentPlanTypeEnum || (exports.PaymentPlanTypeEnum = {}));
|
|
25
|
+
//# sourceMappingURL=payment-plan.enums.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payment-plan.enums.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/payment-plan.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,yBAMX;AAND,WAAY,yBAAyB;IACpC,wCAAW,CAAA;IACX,0CAAa,CAAA;IACb,4CAAe,CAAA;IACf,gDAAmB,CAAA;IACnB,0CAAa,CAAA;AACd,CAAC,EANW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAMpC;AAED,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAChC,0CAAiB,CAAA;IACjB,8CAAqB,CAAA;AACtB,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC;AAED,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC9B,0CAAmB,CAAA;IACnB,oDAA6B,CAAA;IAC7B,4CAAqB,CAAA;IACrB,0CAAmB,CAAA;IACnB,wCAAiB,CAAA;AAClB,CAAC,EANW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAM9B"}
|
|
@@ -16,5 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./payment.interfaces"), exports);
|
|
18
18
|
__exportStar(require("./refund.interfaces"), exports);
|
|
19
|
+
__exportStar(require("./scheduled-payments.interfaces"), exports);
|
|
20
|
+
__exportStar(require("./stripe.interfaces"), exports);
|
|
19
21
|
__exportStar(require("./void.interfaces"), exports);
|
|
20
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,sDAAoC;AACpC,oDAAkC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,sDAAoC;AACpC,kEAAgD;AAChD,sDAAoC;AACpC,oDAAkC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { PaymentPlanSchduleDto } from '../../dto/payment-plan.dto';
|
|
2
|
+
export type CalculateScheduledPaymentAmountOptions = Record<string, any>;
|
|
3
|
+
export type CalculateScheduledPaymentAmountFunc = (amount: number, part: PaymentPlanSchduleDto, options?: CalculateScheduledPaymentAmountOptions) => number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scheduled-payments.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/scheduled-payments.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stripe.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/stripe.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './pricing.dto';
|