@stamhoofd/structures 2.119.0 → 2.120.1
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/AccessRight.d.ts.map +1 -0
- package/dist/AccessRight.js.map +1 -0
- package/dist/AppType.d.ts +13 -0
- package/dist/AppType.d.ts.map +1 -0
- package/dist/AppType.js.map +1 -0
- package/dist/AppliedRegistrationDiscount.d.ts.map +1 -0
- package/dist/AppliedRegistrationDiscount.js +24 -0
- package/dist/AppliedRegistrationDiscount.js.map +1 -0
- package/dist/AuditLog.d.ts.map +1 -0
- package/dist/AuditLog.js +733 -0
- package/dist/AuditLog.js.map +1 -0
- package/dist/AuditLogRenderer.d.ts.map +1 -0
- package/dist/AuditLogRenderer.js +143 -0
- package/dist/AuditLogRenderer.js.map +1 -0
- package/dist/AuditLogReplacement.d.ts.map +1 -0
- package/dist/AuditLogReplacement.js +236 -0
- package/dist/AuditLogReplacement.js.map +1 -0
- package/dist/BalanceItem.d.ts +275 -0
- package/dist/BalanceItem.d.ts.map +1 -0
- package/dist/BalanceItem.js +924 -0
- package/dist/BalanceItem.js.map +1 -0
- package/dist/BalanceItemDetailed.d.ts.map +1 -0
- package/dist/BalanceItemDetailed.js +65 -0
- package/dist/BalanceItemDetailed.js.map +1 -0
- package/dist/BundleDiscount.d.ts +79 -0
- package/dist/BundleDiscount.d.ts.map +1 -0
- package/dist/BundleDiscount.js +341 -0
- package/dist/BundleDiscount.js.map +1 -0
- package/dist/BundleDiscountGroupPriceSettings.d.ts.map +1 -0
- package/dist/BundleDiscountGroupPriceSettings.js +22 -0
- package/dist/BundleDiscountGroupPriceSettings.js.map +1 -0
- package/dist/Company.d.ts.map +1 -0
- package/dist/Company.js +60 -0
- package/dist/Company.js.map +1 -0
- package/dist/DNSRecord.d.ts.map +1 -0
- package/dist/DNSRecord.js +54 -0
- package/dist/DNSRecord.js.map +1 -0
- package/dist/DefaultAgeGroup.d.ts.map +1 -0
- package/dist/DefaultAgeGroup.js +64 -0
- package/dist/DefaultAgeGroup.js.map +1 -0
- package/dist/Document.d.ts +120 -0
- package/dist/Document.d.ts.map +1 -0
- package/dist/Document.js +379 -0
- package/dist/Document.js.map +1 -0
- package/dist/Event.d.ts.map +1 -0
- package/dist/Event.js +174 -0
- package/dist/Event.js.map +1 -0
- package/dist/EventNotification.d.ts +37 -0
- package/dist/EventNotification.d.ts.map +1 -0
- package/dist/EventNotification.js +103 -0
- package/dist/EventNotification.js.map +1 -0
- package/dist/EventNotificationStatus.d.ts.map +1 -0
- package/dist/EventNotificationStatus.js.map +1 -0
- package/dist/EventNotificationType.d.ts.map +1 -0
- package/dist/EventNotificationType.js +106 -0
- package/dist/EventNotificationType.js.map +1 -0
- package/dist/GenericBalance.d.ts.map +1 -0
- package/dist/GenericBalance.js +34 -0
- package/dist/GenericBalance.js.map +1 -0
- package/dist/Graph.d.ts.map +1 -0
- package/dist/Graph.js +23 -0
- package/dist/Graph.js.map +1 -0
- package/dist/Group.d.ts +81 -0
- package/dist/Group.d.ts.map +1 -0
- package/dist/Group.js +413 -0
- package/dist/Group.js.map +1 -0
- package/dist/GroupCategory.d.ts +84 -0
- package/dist/GroupCategory.d.ts.map +1 -0
- package/dist/GroupCategory.js +275 -0
- package/dist/GroupCategory.js.map +1 -0
- package/dist/GroupGenderType.d.ts.map +1 -0
- package/dist/GroupGenderType.js.map +1 -0
- package/dist/GroupPriceDiscount.d.ts +15 -0
- package/dist/GroupPriceDiscount.d.ts.map +1 -0
- package/dist/GroupPriceDiscount.js +58 -0
- package/dist/GroupPriceDiscount.js.map +1 -0
- package/dist/GroupPrivateSettings.d.ts.map +1 -0
- package/dist/GroupPrivateSettings.js +23 -0
- package/dist/GroupPrivateSettings.js.map +1 -0
- package/dist/GroupSettings.d.ts +306 -0
- package/dist/GroupSettings.d.ts.map +1 -0
- package/dist/GroupSettings.js +884 -0
- package/dist/GroupSettings.js.map +1 -0
- package/dist/GroupType.d.ts.map +1 -0
- package/dist/GroupType.js.map +1 -0
- package/dist/I18nInterface.d.ts.map +1 -0
- package/dist/I18nInterface.js.map +1 -0
- package/dist/Language.d.ts +9 -0
- package/dist/Language.d.ts.map +1 -0
- package/dist/Language.js +31 -0
- package/dist/Language.js.map +1 -0
- package/dist/LoadedPermissions.d.ts +46 -0
- package/dist/LoadedPermissions.d.ts.map +1 -0
- package/dist/LoadedPermissions.js +318 -0
- package/dist/LoadedPermissions.js.map +1 -0
- package/dist/LoginMethod.d.ts.map +1 -0
- package/dist/LoginMethod.js +72 -0
- package/dist/LoginMethod.js.map +1 -0
- package/dist/MemberAdmin.d.ts +12 -0
- package/dist/MemberAdmin.d.ts.map +1 -0
- package/dist/MemberAdmin.js +40 -0
- package/dist/MemberAdmin.js.map +1 -0
- package/dist/MemberResponsibility.d.ts +38 -0
- package/dist/MemberResponsibility.d.ts.map +1 -0
- package/dist/MemberResponsibility.js +100 -0
- package/dist/MemberResponsibility.js.map +1 -0
- package/dist/OldGroupPrices.d.ts.map +1 -0
- package/dist/OldGroupPrices.js +115 -0
- package/dist/OldGroupPrices.js.map +1 -0
- package/dist/OpenID.d.ts.map +1 -0
- package/dist/OpenID.js +70 -0
- package/dist/OpenID.js.map +1 -0
- package/dist/Organization.d.ts +148 -0
- package/dist/Organization.d.ts.map +1 -0
- package/dist/Organization.js +308 -0
- package/dist/Organization.js.map +1 -0
- package/dist/OrganizationEmail.d.ts.map +1 -0
- package/dist/OrganizationEmail.js +41 -0
- package/dist/OrganizationEmail.js.map +1 -0
- package/dist/OrganizationGenderType.d.ts.map +1 -0
- package/dist/OrganizationGenderType.js.map +1 -0
- package/dist/OrganizationLevelRecordsConfiguration.d.ts +8 -0
- package/dist/OrganizationLevelRecordsConfiguration.d.ts.map +1 -0
- package/dist/OrganizationLevelRecordsConfiguration.js +13 -0
- package/dist/OrganizationLevelRecordsConfiguration.js.map +1 -0
- package/dist/OrganizationMetaData.d.ts +192 -0
- package/dist/OrganizationMetaData.d.ts.map +1 -0
- package/dist/OrganizationMetaData.js +505 -0
- package/dist/OrganizationMetaData.js.map +1 -0
- package/dist/OrganizationPrivateMetaData.d.ts +160 -0
- package/dist/OrganizationPrivateMetaData.d.ts.map +1 -0
- package/dist/OrganizationPrivateMetaData.js +377 -0
- package/dist/OrganizationPrivateMetaData.js.map +1 -0
- package/dist/OrganizationSimple.d.ts.map +1 -0
- package/dist/OrganizationSimple.js +25 -0
- package/dist/OrganizationSimple.js.map +1 -0
- package/dist/OrganizationType.d.ts +60 -0
- package/dist/OrganizationType.d.ts.map +1 -0
- package/dist/OrganizationType.js +428 -0
- package/dist/OrganizationType.js.map +1 -0
- package/dist/PaymentConfiguration.d.ts +71 -0
- package/dist/PaymentConfiguration.d.ts.map +1 -0
- package/dist/PaymentConfiguration.js +174 -0
- package/dist/PaymentConfiguration.js.map +1 -0
- package/dist/PaymentCustomer.d.ts.map +1 -0
- package/dist/PaymentCustomer.js +73 -0
- package/dist/PaymentCustomer.js.map +1 -0
- package/dist/PaymentMandate.d.ts +13 -0
- package/dist/PaymentMandate.d.ts.map +1 -0
- package/dist/PaymentMandate.js +12 -0
- package/dist/PaymentMandate.js.map +1 -0
- package/dist/PaymentMethod.d.ts.map +1 -0
- package/dist/PaymentMethod.js.map +1 -0
- package/dist/PaymentProvider.d.ts.map +1 -0
- package/dist/PaymentProvider.js.map +1 -0
- package/dist/PaymentStatus.d.ts.map +1 -0
- package/dist/PaymentStatus.js.map +1 -0
- package/dist/PaymentType.d.ts.map +1 -0
- package/dist/PaymentType.js.map +1 -0
- package/dist/PermissionLevel.d.ts.map +1 -0
- package/dist/PermissionLevel.js.map +1 -0
- package/dist/PermissionRole.d.ts.map +1 -0
- package/dist/PermissionRole.js +236 -0
- package/dist/PermissionRole.js.map +1 -0
- package/dist/Permissions.d.ts.map +1 -0
- package/dist/Permissions.js +77 -0
- package/dist/Permissions.js.map +1 -0
- package/dist/PermissionsByRole.d.ts.map +1 -0
- package/dist/PermissionsByRole.js +48 -0
- package/dist/PermissionsByRole.js.map +1 -0
- package/dist/PermissionsResourceType.d.ts.map +1 -0
- package/dist/PermissionsResourceType.js.map +1 -0
- package/dist/Platform.d.ts +209 -0
- package/dist/Platform.d.ts.map +1 -0
- package/dist/Platform.js +598 -0
- package/dist/Platform.js.map +1 -0
- package/dist/PlatformServerConfig.d.ts.map +1 -0
- package/dist/PlatformServerConfig.js +14 -0
- package/dist/PlatformServerConfig.js.map +1 -0
- package/dist/Policy.d.ts.map +1 -0
- package/dist/Policy.js +32 -0
- package/dist/Policy.js.map +1 -0
- package/dist/PriceBreakdown.d.ts.map +1 -0
- package/dist/PriceBreakdown.js.map +1 -0
- package/dist/ReceivableBalance.d.ts.map +1 -0
- package/dist/ReceivableBalance.js +141 -0
- package/dist/ReceivableBalance.js.map +1 -0
- package/dist/ReduceablePrice.d.ts +9 -0
- package/dist/ReduceablePrice.d.ts.map +1 -0
- package/dist/ReduceablePrice.js +25 -0
- package/dist/ReduceablePrice.js.map +1 -0
- package/dist/RegisterCodeStatus.d.ts.map +1 -0
- package/dist/RegisterCodeStatus.js +66 -0
- package/dist/RegisterCodeStatus.js.map +1 -0
- package/dist/RegistrationPeriod.d.ts +66 -0
- package/dist/RegistrationPeriod.d.ts.map +1 -0
- package/dist/RegistrationPeriod.js +208 -0
- package/dist/RegistrationPeriod.js.map +1 -0
- package/dist/RegistrationPeriodBase.d.ts.map +1 -0
- package/dist/RegistrationPeriodBase.js +50 -0
- package/dist/RegistrationPeriodBase.js.map +1 -0
- package/dist/ResourcePermissions.d.ts +41 -0
- package/dist/ResourcePermissions.d.ts.map +1 -0
- package/dist/ResourcePermissions.js +136 -0
- package/dist/ResourcePermissions.js.map +1 -0
- package/dist/RichText.d.ts.map +1 -0
- package/dist/RichText.js +19 -0
- package/dist/RichText.js.map +1 -0
- package/dist/SeatingPlan.d.ts +148 -0
- package/dist/SeatingPlan.d.ts.map +1 -0
- package/dist/SeatingPlan.js +629 -0
- package/dist/SeatingPlan.js.map +1 -0
- package/dist/SetupStepReview.d.ts.map +1 -0
- package/dist/SetupStepReview.js +20 -0
- package/dist/SetupStepReview.js.map +1 -0
- package/dist/SetupStepType.d.ts.map +1 -0
- package/dist/SetupStepType.js.map +1 -0
- package/dist/SetupSteps.d.ts.map +1 -0
- package/dist/SetupSteps.js +178 -0
- package/dist/SetupSteps.js.map +1 -0
- package/dist/SponsorConfig.d.ts.map +1 -0
- package/dist/SponsorConfig.js +37 -0
- package/dist/SponsorConfig.js.map +1 -0
- package/dist/StockReservation.d.ts.map +1 -0
- package/dist/StockReservation.js +88 -0
- package/dist/StockReservation.js.map +1 -0
- package/dist/StripeAccount.d.ts.map +1 -0
- package/dist/StripeAccount.js +281 -0
- package/dist/StripeAccount.js.map +1 -0
- package/dist/Token.d.ts +19 -0
- package/dist/Token.d.ts.map +1 -0
- package/dist/Token.js +36 -0
- package/dist/Token.js.map +1 -0
- package/dist/TranslatedString.d.ts +85 -0
- package/dist/TranslatedString.d.ts.map +1 -0
- package/dist/TranslatedString.js +306 -0
- package/dist/TranslatedString.js.map +1 -0
- package/dist/UitpasClientCredentialsStatus.d.ts +13 -0
- package/dist/UitpasClientCredentialsStatus.d.ts.map +1 -0
- package/dist/UitpasClientCredentialsStatus.js.map +1 -0
- package/dist/UmbrellaOrganization.d.ts.map +1 -0
- package/dist/UmbrellaOrganization.js.map +1 -0
- package/dist/User.d.ts.map +1 -0
- package/dist/User.js +179 -0
- package/dist/User.js.map +1 -0
- package/dist/UserPermissions.d.ts +34 -0
- package/dist/UserPermissions.d.ts.map +1 -0
- package/dist/UserPermissions.js +208 -0
- package/dist/UserPermissions.js.map +1 -0
- package/dist/UserWithMembers.d.ts.map +1 -0
- package/dist/UserWithMembers.js +11 -0
- package/dist/UserWithMembers.js.map +1 -0
- package/dist/Version.d.ts +8 -0
- package/dist/Version.d.ts.map +1 -0
- package/dist/Version.js +20 -0
- package/dist/Version.js.map +1 -0
- package/dist/addresses/Address.d.ts +42 -0
- package/dist/addresses/Address.d.ts.map +1 -0
- package/dist/addresses/Address.js +259 -0
- package/dist/addresses/Address.js.map +1 -0
- package/dist/addresses/City.d.ts +11 -0
- package/dist/addresses/City.d.ts.map +1 -0
- package/dist/addresses/City.js +27 -0
- package/dist/addresses/City.js.map +1 -0
- package/dist/addresses/CountryDecoder.d.ts +17 -0
- package/dist/addresses/CountryDecoder.d.ts.map +1 -0
- package/dist/addresses/CountryDecoder.js +40 -0
- package/dist/addresses/CountryDecoder.js.map +1 -0
- package/dist/addresses/Premise.d.ts +12 -0
- package/dist/addresses/Premise.d.ts.map +1 -0
- package/dist/addresses/Premise.js +30 -0
- package/dist/addresses/Premise.js.map +1 -0
- package/dist/addresses/Province.d.ts +8 -0
- package/dist/addresses/Province.d.ts.map +1 -0
- package/dist/addresses/Province.js +18 -0
- package/dist/addresses/Province.js.map +1 -0
- package/dist/addresses/SearchRegions.d.ts +10 -0
- package/dist/addresses/SearchRegions.d.ts.map +1 -0
- package/dist/addresses/SearchRegions.js +20 -0
- package/dist/addresses/SearchRegions.js.map +1 -0
- package/dist/admin/MemberSummary.d.ts.map +1 -0
- package/dist/admin/MemberSummary.js +122 -0
- package/dist/admin/MemberSummary.js.map +1 -0
- package/dist/admin/StripePayoutExport.d.ts.map +1 -0
- package/dist/admin/StripePayoutExport.js +151 -0
- package/dist/admin/StripePayoutExport.js.map +1 -0
- package/dist/billing/Invoice.d.ts +141 -0
- package/dist/billing/Invoice.d.ts.map +1 -0
- package/dist/billing/Invoice.js +435 -0
- package/dist/billing/Invoice.js.map +1 -0
- package/dist/billing/InvoicedBalanceItem.d.ts +74 -0
- package/dist/billing/InvoicedBalanceItem.d.ts.map +1 -0
- package/dist/billing/InvoicedBalanceItem.js +175 -0
- package/dist/billing/InvoicedBalanceItem.js.map +1 -0
- package/dist/billing/OrganizationPackagesStatus.d.ts.map +1 -0
- package/dist/billing/OrganizationPackagesStatus.js +10 -0
- package/dist/billing/OrganizationPackagesStatus.js.map +1 -0
- package/dist/billing/OrganizationPaymentMandate.d.ts.map +1 -0
- package/dist/billing/OrganizationPaymentMandate.js +65 -0
- package/dist/billing/OrganizationPaymentMandate.js.map +1 -0
- package/dist/billing/STBillingStatus.d.ts.map +1 -0
- package/dist/billing/STBillingStatus.js +30 -0
- package/dist/billing/STBillingStatus.js.map +1 -0
- package/dist/billing/STCredit.d.ts.map +1 -0
- package/dist/billing/STCredit.js +47 -0
- package/dist/billing/STCredit.js.map +1 -0
- package/dist/billing/STInvoice.d.ts.map +1 -0
- package/dist/billing/STInvoice.js +50 -0
- package/dist/billing/STInvoice.js.map +1 -0
- package/dist/billing/STInvoiceItem.d.ts.map +1 -0
- package/dist/billing/STInvoiceItem.js +171 -0
- package/dist/billing/STInvoiceItem.js.map +1 -0
- package/dist/billing/STInvoiceMeta.d.ts.map +1 -0
- package/dist/billing/STInvoiceMeta.js +161 -0
- package/dist/billing/STInvoiceMeta.js.map +1 -0
- package/dist/billing/STInvoicePrivate.d.ts.map +1 -0
- package/dist/billing/STInvoicePrivate.js +44 -0
- package/dist/billing/STInvoicePrivate.js.map +1 -0
- package/dist/billing/STInvoiceStatus.d.ts.map +1 -0
- package/dist/billing/STInvoiceStatus.js.map +1 -0
- package/dist/billing/STPackage.d.ts +132 -0
- package/dist/billing/STPackage.d.ts.map +1 -0
- package/dist/billing/STPackage.js +456 -0
- package/dist/billing/STPackage.js.map +1 -0
- package/dist/billing/STPackageBundle.d.ts.map +1 -0
- package/dist/billing/STPackageBundle.js +244 -0
- package/dist/billing/STPackageBundle.js.map +1 -0
- package/dist/billing/STPendingInvoice.d.ts.map +1 -0
- package/dist/billing/STPendingInvoice.js +34 -0
- package/dist/billing/STPendingInvoice.js.map +1 -0
- package/dist/billing/index.d.ts.map +1 -0
- package/dist/billing/index.js.map +1 -0
- package/dist/checkout/CheckoutResponse.d.ts.map +1 -0
- package/dist/checkout/CheckoutResponse.js +41 -0
- package/dist/checkout/CheckoutResponse.js.map +1 -0
- package/dist/checkout/Checkoutable.d.ts.map +1 -0
- package/dist/checkout/Checkoutable.js +90 -0
- package/dist/checkout/Checkoutable.js.map +1 -0
- package/dist/checkout/PackageCheckout.d.ts.map +1 -0
- package/dist/checkout/PackageCheckout.js +27 -0
- package/dist/checkout/PackageCheckout.js.map +1 -0
- package/dist/checkout/index.d.ts.map +1 -0
- package/dist/checkout/index.js.map +1 -0
- package/dist/circular-dependencies/AuditLogReplacementDependencies.d.ts.map +1 -0
- package/dist/circular-dependencies/AuditLogReplacementDependencies.js.map +1 -0
- package/dist/circular-dependencies/ExampleReplacementsDependencies.d.ts.map +1 -0
- package/dist/circular-dependencies/ExampleReplacementsDependencies.js +192 -0
- package/dist/circular-dependencies/ExampleReplacementsDependencies.js.map +1 -0
- package/dist/data/audit-log-words.d.ts.map +1 -0
- package/dist/data/audit-log-words.js.map +1 -0
- package/dist/email/EditorSmartButton.d.ts +13 -0
- package/dist/email/EditorSmartButton.d.ts.map +1 -0
- package/dist/email/EditorSmartButton.js +88 -0
- package/dist/email/EditorSmartButton.js.map +1 -0
- package/dist/email/EditorSmartVariable.d.ts +22 -0
- package/dist/email/EditorSmartVariable.d.ts.map +1 -0
- package/dist/email/EditorSmartVariable.js +304 -0
- package/dist/email/EditorSmartVariable.js.map +1 -0
- package/dist/email/Email.d.ts +145 -0
- package/dist/email/Email.d.ts.map +1 -0
- package/dist/email/Email.js +481 -0
- package/dist/email/Email.js.map +1 -0
- package/dist/email/EmailAddressSettings.d.ts.map +1 -0
- package/dist/email/EmailAddressSettings.js +30 -0
- package/dist/email/EmailAddressSettings.js.map +1 -0
- package/dist/email/EmailTemplate.d.ts +136 -0
- package/dist/email/EmailTemplate.d.ts.map +1 -0
- package/dist/email/EmailTemplate.js +655 -0
- package/dist/email/EmailTemplate.js.map +1 -0
- package/dist/email/exampleReplacements.d.ts.map +1 -0
- package/dist/email/exampleReplacements.js +294 -0
- package/dist/email/exampleReplacements.js.map +1 -0
- package/dist/endpoints/ChargeMembershipsSummary.d.ts.map +1 -0
- package/dist/endpoints/ChargeMembershipsSummary.js +54 -0
- package/dist/endpoints/ChargeMembershipsSummary.js.map +1 -0
- package/dist/endpoints/ChargeRequest.d.ts +11 -0
- package/dist/endpoints/ChargeRequest.d.ts.map +1 -0
- package/dist/endpoints/ChargeRequest.js +30 -0
- package/dist/endpoints/ChargeRequest.js.map +1 -0
- package/dist/endpoints/CheckMollieResponse.d.ts.map +1 -0
- package/dist/endpoints/CheckMollieResponse.js +15 -0
- package/dist/endpoints/CheckMollieResponse.js.map +1 -0
- package/dist/endpoints/CreateOrganization.d.ts.map +1 -0
- package/dist/endpoints/CreateOrganization.js +22 -0
- package/dist/endpoints/CreateOrganization.js.map +1 -0
- package/dist/endpoints/EmailRequest.d.ts +70 -0
- package/dist/endpoints/EmailRequest.d.ts.map +1 -0
- package/dist/endpoints/EmailRequest.js +233 -0
- package/dist/endpoints/EmailRequest.js.map +1 -0
- package/dist/endpoints/ForgotPasswordRequest.d.ts.map +1 -0
- package/dist/endpoints/ForgotPasswordRequest.js +9 -0
- package/dist/endpoints/ForgotPasswordRequest.js.map +1 -0
- package/dist/endpoints/OrganizationAdmins.d.ts.map +1 -0
- package/dist/endpoints/OrganizationAdmins.js +10 -0
- package/dist/endpoints/OrganizationAdmins.js.map +1 -0
- package/dist/endpoints/OrganizationDomains.d.ts.map +1 -0
- package/dist/endpoints/OrganizationDomains.js +23 -0
- package/dist/endpoints/OrganizationDomains.js.map +1 -0
- package/dist/endpoints/PayableBalanceCollection.d.ts.map +1 -0
- package/dist/endpoints/PayableBalanceCollection.js +64 -0
- package/dist/endpoints/PayableBalanceCollection.js.map +1 -0
- package/dist/endpoints/RegisterMember.d.ts.map +1 -0
- package/dist/endpoints/RegisterMember.js +41 -0
- package/dist/endpoints/RegisterMember.js.map +1 -0
- package/dist/endpoints/RegisterResponse.d.ts.map +1 -0
- package/dist/endpoints/RegisterResponse.js +31 -0
- package/dist/endpoints/RegisterResponse.js.map +1 -0
- package/dist/endpoints/SignupResponse.d.ts.map +1 -0
- package/dist/endpoints/SignupResponse.js +12 -0
- package/dist/endpoints/SignupResponse.js.map +1 -0
- package/dist/endpoints/UitpasClientIdAndSecret.d.ts.map +1 -0
- package/dist/endpoints/UitpasClientIdAndSecret.js +16 -0
- package/dist/endpoints/UitpasClientIdAndSecret.js.map +1 -0
- package/dist/endpoints/UitpasEventsResponse.d.ts.map +1 -0
- package/dist/endpoints/UitpasEventsResponse.js +39 -0
- package/dist/endpoints/UitpasEventsResponse.js.map +1 -0
- package/dist/endpoints/UitpasNumbersGetDetailsRequest.d.ts +10 -0
- package/dist/endpoints/UitpasNumbersGetDetailsRequest.d.ts.map +1 -0
- package/dist/endpoints/UitpasNumbersGetDetailsRequest.js +35 -0
- package/dist/endpoints/UitpasNumbersGetDetailsRequest.js.map +1 -0
- package/dist/endpoints/UitpasOrganizersResponse.d.ts.map +1 -0
- package/dist/endpoints/UitpasOrganizersResponse.js +23 -0
- package/dist/endpoints/UitpasOrganizersResponse.js.map +1 -0
- package/dist/endpoints/UitpasPriceCheckRequest.d.ts.map +1 -0
- package/dist/endpoints/UitpasPriceCheckRequest.js +34 -0
- package/dist/endpoints/UitpasPriceCheckRequest.js.map +1 -0
- package/dist/endpoints/UitpasSetClientCredentialsResponse.d.ts.map +1 -0
- package/dist/endpoints/UitpasSetClientCredentialsResponse.js +20 -0
- package/dist/endpoints/UitpasSetClientCredentialsResponse.js.map +1 -0
- package/dist/endpoints/VerifyEmailRequest.d.ts.map +1 -0
- package/dist/endpoints/VerifyEmailRequest.js +34 -0
- package/dist/endpoints/VerifyEmailRequest.js.map +1 -0
- package/dist/endpoints/WebshopOrdersQuery.d.ts.map +1 -0
- package/dist/endpoints/WebshopOrdersQuery.js +34 -0
- package/dist/endpoints/WebshopOrdersQuery.js.map +1 -0
- package/dist/endpoints/WebshopTicketsQuery.d.ts.map +1 -0
- package/dist/endpoints/WebshopTicketsQuery.js +20 -0
- package/dist/endpoints/WebshopTicketsQuery.js.map +1 -0
- package/dist/endpoints/WebshopUriAvailabilityResponse.d.ts.map +1 -0
- package/dist/endpoints/WebshopUriAvailabilityResponse.js +9 -0
- package/dist/endpoints/WebshopUriAvailabilityResponse.js.map +1 -0
- package/dist/endpoints/tokens/ChallengeGrantStruct.d.ts +9 -0
- package/dist/endpoints/tokens/ChallengeGrantStruct.d.ts.map +1 -0
- package/dist/endpoints/tokens/ChallengeGrantStruct.js +16 -0
- package/dist/endpoints/tokens/ChallengeGrantStruct.js.map +1 -0
- package/dist/endpoints/tokens/CreateTokenStruct.d.ts +10 -0
- package/dist/endpoints/tokens/CreateTokenStruct.d.ts.map +1 -0
- package/dist/endpoints/tokens/CreateTokenStruct.js.map +1 -0
- package/dist/endpoints/tokens/PasswordGrantStruct.d.ts +8 -0
- package/dist/endpoints/tokens/PasswordGrantStruct.d.ts.map +1 -0
- package/dist/endpoints/tokens/PasswordGrantStruct.js +13 -0
- package/dist/endpoints/tokens/PasswordGrantStruct.js.map +1 -0
- package/dist/endpoints/tokens/PasswordTokenGrantStruct.d.ts +7 -0
- package/dist/endpoints/tokens/PasswordTokenGrantStruct.d.ts.map +1 -0
- package/dist/endpoints/tokens/PasswordTokenGrantStruct.js +11 -0
- package/dist/endpoints/tokens/PasswordTokenGrantStruct.js.map +1 -0
- package/dist/endpoints/tokens/RefreshTokenGrantStruct.d.ts +7 -0
- package/dist/endpoints/tokens/RefreshTokenGrantStruct.d.ts.map +1 -0
- package/dist/endpoints/tokens/RefreshTokenGrantStruct.js +14 -0
- package/dist/endpoints/tokens/RefreshTokenGrantStruct.js.map +1 -0
- package/dist/endpoints/tokens/RequestChallengeGrantStruct.d.ts +7 -0
- package/dist/endpoints/tokens/RequestChallengeGrantStruct.d.ts.map +1 -0
- package/dist/endpoints/tokens/RequestChallengeGrantStruct.js +12 -0
- package/dist/endpoints/tokens/RequestChallengeGrantStruct.js.map +1 -0
- package/dist/files/File.d.ts +61 -0
- package/dist/files/File.d.ts.map +1 -0
- package/dist/files/File.js +207 -0
- package/dist/files/File.js.map +1 -0
- package/dist/files/Image.d.ts.map +1 -0
- package/dist/files/Image.js +72 -0
- package/dist/files/Image.js.map +1 -0
- package/dist/files/Resolution.d.ts +29 -0
- package/dist/files/Resolution.d.ts.map +1 -0
- package/dist/files/Resolution.js +27 -0
- package/dist/files/Resolution.js.map +1 -0
- package/dist/files/ResolutionRequest.d.ts.map +1 -0
- package/dist/files/ResolutionRequest.js +25 -0
- package/dist/files/ResolutionRequest.js.map +1 -0
- package/dist/filters/ExcelExportRequest.d.ts +41 -0
- package/dist/filters/ExcelExportRequest.d.ts.map +1 -0
- package/dist/filters/ExcelExportRequest.js +74 -0
- package/dist/filters/ExcelExportRequest.js.map +1 -0
- package/dist/filters/FilterCompilers.d.ts +18 -0
- package/dist/filters/FilterCompilers.d.ts.map +1 -0
- package/dist/filters/FilterCompilers.js.map +1 -0
- package/dist/filters/FilteredRequest.d.ts +48 -0
- package/dist/filters/FilteredRequest.d.ts.map +1 -0
- package/dist/filters/FilteredRequest.js +153 -0
- package/dist/filters/FilteredRequest.js.map +1 -0
- package/dist/filters/InMemoryFilter.d.ts +13 -0
- package/dist/filters/InMemoryFilter.d.ts.map +1 -0
- package/dist/filters/InMemoryFilter.js.map +1 -0
- package/dist/filters/InMemorySorter.d.ts +12 -0
- package/dist/filters/InMemorySorter.d.ts.map +1 -0
- package/dist/filters/InMemorySorter.js +69 -0
- package/dist/filters/InMemorySorter.js.map +1 -0
- package/dist/filters/PropertyFilter.d.ts +28 -0
- package/dist/filters/PropertyFilter.d.ts.map +1 -0
- package/dist/filters/PropertyFilter.js +179 -0
- package/dist/filters/PropertyFilter.js.map +1 -0
- package/dist/filters/SearchFilterFactory.d.ts +12 -0
- package/dist/filters/SearchFilterFactory.d.ts.map +1 -0
- package/dist/filters/SearchFilterFactory.js +41 -0
- package/dist/filters/SearchFilterFactory.js.map +1 -0
- package/dist/filters/SelectablePdfDocumentFilter.d.ts.map +1 -0
- package/dist/filters/SelectablePdfDocumentFilter.js +25 -0
- package/dist/filters/SelectablePdfDocumentFilter.js.map +1 -0
- package/dist/filters/SortList.d.ts +20 -0
- package/dist/filters/SortList.d.ts.map +1 -0
- package/dist/filters/SortList.js.map +1 -0
- package/dist/filters/Sorters.d.ts +8 -0
- package/dist/filters/Sorters.d.ts.map +1 -0
- package/dist/filters/Sorters.js.map +1 -0
- package/dist/filters/StamhoofdFilter.d.ts +58 -0
- package/dist/filters/StamhoofdFilter.d.ts.map +1 -0
- package/dist/filters/StamhoofdFilter.js +242 -0
- package/dist/filters/StamhoofdFilter.js.map +1 -0
- package/dist/filters/convertOldPropertyFilter.d.ts.map +1 -0
- package/dist/filters/convertOldPropertyFilter.js +875 -0
- package/dist/filters/convertOldPropertyFilter.js.map +1 -0
- package/dist/filters/inMemoryFilterDefinitions.d.ts +17 -0
- package/dist/filters/inMemoryFilterDefinitions.d.ts.map +1 -0
- package/dist/filters/inMemoryFilterDefinitions.js +150 -0
- package/dist/filters/inMemoryFilterDefinitions.js.map +1 -0
- package/dist/filters/searchFilterFactories.d.ts +4 -0
- package/dist/filters/searchFilterFactories.d.ts.map +1 -0
- package/dist/filters/searchFilterFactories.js.map +1 -0
- package/dist/getActivePeriods.d.ts +4 -0
- package/dist/getActivePeriods.d.ts.map +1 -0
- package/dist/getActivePeriods.js.map +1 -0
- package/dist/grouping/PaginatedResponse.d.ts +32 -0
- package/dist/grouping/PaginatedResponse.d.ts.map +1 -0
- package/dist/grouping/PaginatedResponse.js +42 -0
- package/dist/grouping/PaginatedResponse.js.map +1 -0
- package/dist/helpers/EventPermissionChecker.d.ts +43 -0
- package/dist/helpers/EventPermissionChecker.d.ts.map +1 -0
- package/dist/helpers/EventPermissionChecker.js.map +1 -0
- package/dist/helpers/MemberPlatformMembershipHelper.d.ts +12 -0
- package/dist/helpers/MemberPlatformMembershipHelper.d.ts.map +1 -0
- package/dist/helpers/MemberPlatformMembershipHelper.js.map +1 -0
- package/dist/helpers/TagHelper.d.ts +22 -0
- package/dist/helpers/TagHelper.d.ts.map +1 -0
- package/dist/helpers/TagHelper.js.map +1 -0
- package/dist/helpers/calculateHungarianAlgorithm.d.ts.map +1 -0
- package/dist/helpers/calculateHungarianAlgorithm.js.map +1 -0
- package/dist/helpers/index.d.ts.map +1 -0
- package/dist/helpers/index.js.map +1 -0
- package/dist/helpers/uuidToName.d.ts.map +1 -0
- package/dist/helpers/uuidToName.js +23 -0
- package/dist/helpers/uuidToName.js.map +1 -0
- package/dist/index.d.ts +196 -194
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +196 -199
- package/dist/index.js.map +1 -1
- package/dist/members/EmergencyContact.d.ts.map +1 -0
- package/dist/members/EmergencyContact.js +64 -0
- package/dist/members/EmergencyContact.js.map +1 -0
- package/dist/members/Gender.d.ts.map +1 -0
- package/dist/members/Gender.js.map +1 -0
- package/dist/members/Member.d.ts.map +1 -0
- package/dist/members/Member.js +102 -0
- package/dist/members/Member.js.map +1 -0
- package/dist/members/MemberDetails.d.ts +131 -0
- package/dist/members/MemberDetails.d.ts.map +1 -0
- package/dist/members/MemberDetails.js +844 -0
- package/dist/members/MemberDetails.js.map +1 -0
- package/dist/members/MemberPlatformMembership.d.ts.map +1 -0
- package/dist/members/MemberPlatformMembership.js +84 -0
- package/dist/members/MemberPlatformMembership.js.map +1 -0
- package/dist/members/MemberResponsibilityRecord.d.ts +20 -0
- package/dist/members/MemberResponsibilityRecord.d.ts.map +1 -0
- package/dist/members/MemberResponsibilityRecord.js +63 -0
- package/dist/members/MemberResponsibilityRecord.js.map +1 -0
- package/dist/members/MemberWithRegistrationsBlob.d.ts +36 -0
- package/dist/members/MemberWithRegistrationsBlob.d.ts.map +1 -0
- package/dist/members/MemberWithRegistrationsBlob.js +151 -0
- package/dist/members/MemberWithRegistrationsBlob.js.map +1 -0
- package/dist/members/MembershipStatus.d.ts.map +1 -0
- package/dist/members/MembershipStatus.js.map +1 -0
- package/dist/members/NationalRegisterNumberOptOut.d.ts.map +1 -0
- package/dist/members/NationalRegisterNumberOptOut.js.map +1 -0
- package/dist/members/ObjectWithRecords.d.ts +11 -0
- package/dist/members/ObjectWithRecords.d.ts.map +1 -0
- package/dist/members/ObjectWithRecords.js.map +1 -0
- package/dist/members/OrganizationRecordsConfiguration.d.ts +126 -0
- package/dist/members/OrganizationRecordsConfiguration.d.ts.map +1 -0
- package/dist/members/OrganizationRecordsConfiguration.js +402 -0
- package/dist/members/OrganizationRecordsConfiguration.js.map +1 -0
- package/dist/members/Parent.d.ts.map +1 -0
- package/dist/members/Parent.js +171 -0
- package/dist/members/Parent.js.map +1 -0
- package/dist/members/ParentType.d.ts.map +1 -0
- package/dist/members/ParentType.js.map +1 -0
- package/dist/members/Payment.d.ts.map +1 -0
- package/dist/members/Payment.js +244 -0
- package/dist/members/Payment.js.map +1 -0
- package/dist/members/PaymentGeneral.d.ts.map +1 -0
- package/dist/members/PaymentGeneral.js +173 -0
- package/dist/members/PaymentGeneral.js.map +1 -0
- package/dist/members/PlatformMember.d.ts +271 -0
- package/dist/members/PlatformMember.d.ts.map +1 -0
- package/dist/members/PlatformMember.js +1130 -0
- package/dist/members/PlatformMember.js.map +1 -0
- package/dist/members/PlatformMembership.d.ts +19 -0
- package/dist/members/PlatformMembership.d.ts.map +1 -0
- package/dist/members/PlatformMembership.js +52 -0
- package/dist/members/PlatformMembership.js.map +1 -0
- package/dist/members/Registration.d.ts +97 -0
- package/dist/members/Registration.d.ts.map +1 -0
- package/dist/members/Registration.js +218 -0
- package/dist/members/Registration.js.map +1 -0
- package/dist/members/RegistrationWithEncryptedMember.d.ts.map +1 -0
- package/dist/members/RegistrationWithEncryptedMember.js +47 -0
- package/dist/members/RegistrationWithEncryptedMember.js.map +1 -0
- package/dist/members/RegistrationWithMember.d.ts.map +1 -0
- package/dist/members/RegistrationWithMember.js +44 -0
- package/dist/members/RegistrationWithMember.js.map +1 -0
- package/dist/members/RegistrationWithMemberBlob.d.ts.map +1 -0
- package/dist/members/RegistrationWithMemberBlob.js +11 -0
- package/dist/members/RegistrationWithMemberBlob.js.map +1 -0
- package/dist/members/RegistrationWithTinyMember.d.ts.map +1 -0
- package/dist/members/RegistrationWithTinyMember.js +17 -0
- package/dist/members/RegistrationWithTinyMember.js.map +1 -0
- package/dist/members/RegistrationsBlob.d.ts.map +1 -0
- package/dist/members/RegistrationsBlob.js +15 -0
- package/dist/members/RegistrationsBlob.js.map +1 -0
- package/dist/members/ReviewTime.d.ts +26 -0
- package/dist/members/ReviewTime.d.ts.map +1 -0
- package/dist/members/ReviewTime.js +90 -0
- package/dist/members/ReviewTime.js.map +1 -0
- package/dist/members/UitpasNumberDetails.d.ts +40 -0
- package/dist/members/UitpasNumberDetails.d.ts.map +1 -0
- package/dist/members/UitpasNumberDetails.js +86 -0
- package/dist/members/UitpasNumberDetails.js.map +1 -0
- package/dist/members/checkout/BalanceItemCartItem.d.ts.map +1 -0
- package/dist/members/checkout/BalanceItemCartItem.js +63 -0
- package/dist/members/checkout/BalanceItemCartItem.js.map +1 -0
- package/dist/members/checkout/RegisterCart.d.ts +61 -0
- package/dist/members/checkout/RegisterCart.d.ts.map +1 -0
- package/dist/members/checkout/RegisterCart.js +349 -0
- package/dist/members/checkout/RegisterCart.js.map +1 -0
- package/dist/members/checkout/RegisterCheckout.d.ts +117 -0
- package/dist/members/checkout/RegisterCheckout.d.ts.map +1 -0
- package/dist/members/checkout/RegisterCheckout.js +374 -0
- package/dist/members/checkout/RegisterCheckout.js.map +1 -0
- package/dist/members/checkout/RegisterItem.d.ts +172 -0
- package/dist/members/checkout/RegisterItem.d.ts.map +1 -0
- package/dist/members/checkout/RegisterItem.js +1306 -0
- package/dist/members/checkout/RegisterItem.js.map +1 -0
- package/dist/members/checkout/RegistrationWithPlatformMember.d.ts +13 -0
- package/dist/members/checkout/RegistrationWithPlatformMember.d.ts.map +1 -0
- package/dist/members/checkout/RegistrationWithPlatformMember.js +19 -0
- package/dist/members/checkout/RegistrationWithPlatformMember.js.map +1 -0
- package/dist/members/records/LegacyRecord.d.ts.map +1 -0
- package/dist/members/records/LegacyRecord.js +74 -0
- package/dist/members/records/LegacyRecord.js.map +1 -0
- package/dist/members/records/LegacyRecordType.d.ts.map +1 -0
- package/dist/members/records/LegacyRecordType.js.map +1 -0
- package/dist/members/records/RecordAnswer.d.ts +157 -0
- package/dist/members/records/RecordAnswer.d.ts.map +1 -0
- package/dist/members/records/RecordAnswer.js +545 -0
- package/dist/members/records/RecordAnswer.js.map +1 -0
- package/dist/members/records/RecordCategory.d.ts +60 -0
- package/dist/members/records/RecordCategory.d.ts.map +1 -0
- package/dist/members/records/RecordCategory.js +316 -0
- package/dist/members/records/RecordCategory.js.map +1 -0
- package/dist/members/records/RecordConfigurationFactory.d.ts +17 -0
- package/dist/members/records/RecordConfigurationFactory.d.ts.map +1 -0
- package/dist/members/records/RecordConfigurationFactory.js +130 -0
- package/dist/members/records/RecordConfigurationFactory.js.map +1 -0
- package/dist/members/records/RecordFactory.d.ts.map +1 -0
- package/dist/members/records/RecordFactory.js +525 -0
- package/dist/members/records/RecordFactory.js.map +1 -0
- package/dist/members/records/RecordSettings.d.ts +145 -0
- package/dist/members/records/RecordSettings.d.ts.map +1 -0
- package/dist/members/records/RecordSettings.js +395 -0
- package/dist/members/records/RecordSettings.js.map +1 -0
- package/dist/upgradePriceFrom2To4DecimalPlaces.d.ts +10 -0
- package/dist/upgradePriceFrom2To4DecimalPlaces.d.ts.map +1 -0
- package/dist/upgradePriceFrom2To4DecimalPlaces.js.map +1 -0
- package/dist/webshops/Cart.d.ts +26 -0
- package/dist/webshops/Cart.d.ts.map +1 -0
- package/dist/webshops/Cart.js +177 -0
- package/dist/webshops/Cart.js.map +1 -0
- package/dist/webshops/CartItem.d.ts +153 -0
- package/dist/webshops/CartItem.d.ts.map +1 -0
- package/dist/webshops/CartItem.js +814 -0
- package/dist/webshops/CartItem.js.map +1 -0
- package/dist/webshops/CartStockHelper.d.ts +53 -0
- package/dist/webshops/CartStockHelper.d.ts.map +1 -0
- package/dist/webshops/CartStockHelper.js +431 -0
- package/dist/webshops/CartStockHelper.js.map +1 -0
- package/dist/webshops/Category.d.ts.map +1 -0
- package/dist/webshops/Category.js +26 -0
- package/dist/webshops/Category.js.map +1 -0
- package/dist/webshops/Checkout.d.ts +83 -0
- package/dist/webshops/Checkout.d.ts.map +1 -0
- package/dist/webshops/Checkout.js +554 -0
- package/dist/webshops/Checkout.js.map +1 -0
- package/dist/webshops/Customer.d.ts.map +1 -0
- package/dist/webshops/Customer.js +39 -0
- package/dist/webshops/Customer.js.map +1 -0
- package/dist/webshops/Discount.d.ts +147 -0
- package/dist/webshops/Discount.d.ts.map +1 -0
- package/dist/webshops/Discount.js +586 -0
- package/dist/webshops/Discount.js.map +1 -0
- package/dist/webshops/DiscountCode.d.ts.map +1 -0
- package/dist/webshops/DiscountCode.js +47 -0
- package/dist/webshops/DiscountCode.js.map +1 -0
- package/dist/webshops/Order.d.ts +109 -0
- package/dist/webshops/Order.d.ts.map +1 -0
- package/dist/webshops/Order.js +522 -0
- package/dist/webshops/Order.js.map +1 -0
- package/dist/webshops/Product.d.ts +163 -0
- package/dist/webshops/Product.d.ts.map +1 -0
- package/dist/webshops/Product.js +522 -0
- package/dist/webshops/Product.js.map +1 -0
- package/dist/webshops/Ticket.d.ts +75 -0
- package/dist/webshops/Ticket.d.ts.map +1 -0
- package/dist/webshops/Ticket.js +235 -0
- package/dist/webshops/Ticket.js.map +1 -0
- package/dist/webshops/TransferSettings.d.ts +27 -0
- package/dist/webshops/TransferSettings.d.ts.map +1 -0
- package/dist/webshops/TransferSettings.js +138 -0
- package/dist/webshops/TransferSettings.js.map +1 -0
- package/dist/webshops/UitpasNumberAndPrice.d.ts.map +1 -0
- package/dist/webshops/UitpasNumberAndPrice.js +19 -0
- package/dist/webshops/UitpasNumberAndPrice.js.map +1 -0
- package/dist/webshops/Webshop.d.ts +109 -0
- package/dist/webshops/Webshop.d.ts.map +1 -0
- package/dist/webshops/Webshop.js +324 -0
- package/dist/webshops/Webshop.js.map +1 -0
- package/dist/webshops/WebshopField.d.ts.map +1 -0
- package/dist/webshops/WebshopField.js +47 -0
- package/dist/webshops/WebshopField.js.map +1 -0
- package/dist/webshops/WebshopMetaData.d.ts +276 -0
- package/dist/webshops/WebshopMetaData.d.ts.map +1 -0
- package/dist/webshops/WebshopMetaData.js +733 -0
- package/dist/webshops/WebshopMetaData.js.map +1 -0
- package/dist/webshops/WebshopWithOrganization.d.ts +22 -0
- package/dist/webshops/WebshopWithOrganization.d.ts.map +1 -0
- package/dist/webshops/WebshopWithOrganization.js +35 -0
- package/dist/webshops/WebshopWithOrganization.js.map +1 -0
- package/package.json +16 -20
- package/dist/src/AccessRight.d.ts.map +0 -1
- package/dist/src/AccessRight.js +0 -145
- package/dist/src/AccessRight.js.map +0 -1
- package/dist/src/AppType.d.ts +0 -13
- package/dist/src/AppType.d.ts.map +0 -1
- package/dist/src/AppType.js +0 -108
- package/dist/src/AppType.js.map +0 -1
- package/dist/src/AppliedRegistrationDiscount.d.ts.map +0 -1
- package/dist/src/AppliedRegistrationDiscount.js +0 -26
- package/dist/src/AppliedRegistrationDiscount.js.map +0 -1
- package/dist/src/AuditLog.d.ts.map +0 -1
- package/dist/src/AuditLog.js +0 -735
- package/dist/src/AuditLog.js.map +0 -1
- package/dist/src/AuditLogRenderer.d.ts.map +0 -1
- package/dist/src/AuditLogRenderer.js +0 -147
- package/dist/src/AuditLogRenderer.js.map +0 -1
- package/dist/src/AuditLogReplacement.d.ts.map +0 -1
- package/dist/src/AuditLogReplacement.js +0 -232
- package/dist/src/AuditLogReplacement.js.map +0 -1
- package/dist/src/BalanceItem.d.ts +0 -275
- package/dist/src/BalanceItem.d.ts.map +0 -1
- package/dist/src/BalanceItem.js +0 -958
- package/dist/src/BalanceItem.js.map +0 -1
- package/dist/src/BalanceItemDetailed.d.ts.map +0 -1
- package/dist/src/BalanceItemDetailed.js +0 -72
- package/dist/src/BalanceItemDetailed.js.map +0 -1
- package/dist/src/BundleDiscount.d.ts +0 -79
- package/dist/src/BundleDiscount.d.ts.map +0 -1
- package/dist/src/BundleDiscount.js +0 -336
- package/dist/src/BundleDiscount.js.map +0 -1
- package/dist/src/BundleDiscountGroupPriceSettings.d.ts.map +0 -1
- package/dist/src/BundleDiscountGroupPriceSettings.js +0 -29
- package/dist/src/BundleDiscountGroupPriceSettings.js.map +0 -1
- package/dist/src/Company.d.ts.map +0 -1
- package/dist/src/Company.js +0 -66
- package/dist/src/Company.js.map +0 -1
- package/dist/src/DNSRecord.d.ts.map +0 -1
- package/dist/src/DNSRecord.js +0 -56
- package/dist/src/DNSRecord.js.map +0 -1
- package/dist/src/DefaultAgeGroup.d.ts.map +0 -1
- package/dist/src/DefaultAgeGroup.js +0 -69
- package/dist/src/DefaultAgeGroup.js.map +0 -1
- package/dist/src/Document.d.ts +0 -120
- package/dist/src/Document.d.ts.map +0 -1
- package/dist/src/Document.js +0 -406
- package/dist/src/Document.js.map +0 -1
- package/dist/src/Event.d.ts.map +0 -1
- package/dist/src/Event.js +0 -192
- package/dist/src/Event.js.map +0 -1
- package/dist/src/EventNotification.d.ts +0 -37
- package/dist/src/EventNotification.d.ts.map +0 -1
- package/dist/src/EventNotification.js +0 -107
- package/dist/src/EventNotification.js.map +0 -1
- package/dist/src/EventNotificationStatus.d.ts.map +0 -1
- package/dist/src/EventNotificationStatus.js +0 -29
- package/dist/src/EventNotificationStatus.js.map +0 -1
- package/dist/src/EventNotificationType.d.ts.map +0 -1
- package/dist/src/EventNotificationType.js +0 -115
- package/dist/src/EventNotificationType.js.map +0 -1
- package/dist/src/GenericBalance.d.ts.map +0 -1
- package/dist/src/GenericBalance.js +0 -36
- package/dist/src/GenericBalance.js.map +0 -1
- package/dist/src/Graph.d.ts.map +0 -1
- package/dist/src/Graph.js +0 -34
- package/dist/src/Graph.js.map +0 -1
- package/dist/src/Group.d.ts +0 -81
- package/dist/src/Group.d.ts.map +0 -1
- package/dist/src/Group.js +0 -421
- package/dist/src/Group.js.map +0 -1
- package/dist/src/GroupCategory.d.ts +0 -84
- package/dist/src/GroupCategory.d.ts.map +0 -1
- package/dist/src/GroupCategory.js +0 -294
- package/dist/src/GroupCategory.js.map +0 -1
- package/dist/src/GroupGenderType.d.ts.map +0 -1
- package/dist/src/GroupGenderType.js +0 -10
- package/dist/src/GroupGenderType.js.map +0 -1
- package/dist/src/GroupPriceDiscount.d.ts +0 -15
- package/dist/src/GroupPriceDiscount.d.ts.map +0 -1
- package/dist/src/GroupPriceDiscount.js +0 -65
- package/dist/src/GroupPriceDiscount.js.map +0 -1
- package/dist/src/GroupPrivateSettings.d.ts.map +0 -1
- package/dist/src/GroupPrivateSettings.js +0 -30
- package/dist/src/GroupPrivateSettings.js.map +0 -1
- package/dist/src/GroupSettings.d.ts +0 -306
- package/dist/src/GroupSettings.d.ts.map +0 -1
- package/dist/src/GroupSettings.js +0 -909
- package/dist/src/GroupSettings.js.map +0 -1
- package/dist/src/GroupSettings.test.d.ts +0 -2
- package/dist/src/GroupSettings.test.d.ts.map +0 -1
- package/dist/src/GroupSettings.test.js +0 -36
- package/dist/src/GroupSettings.test.js.map +0 -1
- package/dist/src/GroupType.d.ts.map +0 -1
- package/dist/src/GroupType.js +0 -32
- package/dist/src/GroupType.js.map +0 -1
- package/dist/src/I18nInterface.d.ts.map +0 -1
- package/dist/src/I18nInterface.js +0 -3
- package/dist/src/I18nInterface.js.map +0 -1
- package/dist/src/Language.d.ts +0 -13
- package/dist/src/Language.d.ts.map +0 -1
- package/dist/src/Language.js +0 -40
- package/dist/src/Language.js.map +0 -1
- package/dist/src/LoadedPermissions.d.ts +0 -46
- package/dist/src/LoadedPermissions.d.ts.map +0 -1
- package/dist/src/LoadedPermissions.js +0 -324
- package/dist/src/LoadedPermissions.js.map +0 -1
- package/dist/src/LoadedPermissions.test.d.ts +0 -2
- package/dist/src/LoadedPermissions.test.d.ts.map +0 -1
- package/dist/src/LoadedPermissions.test.js +0 -99
- package/dist/src/LoadedPermissions.test.js.map +0 -1
- package/dist/src/LoginMethod.d.ts.map +0 -1
- package/dist/src/LoginMethod.js +0 -79
- package/dist/src/LoginMethod.js.map +0 -1
- package/dist/src/MemberAdmin.d.ts +0 -12
- package/dist/src/MemberAdmin.d.ts.map +0 -1
- package/dist/src/MemberAdmin.js +0 -47
- package/dist/src/MemberAdmin.js.map +0 -1
- package/dist/src/MemberResponsibility.d.ts +0 -38
- package/dist/src/MemberResponsibility.d.ts.map +0 -1
- package/dist/src/MemberResponsibility.js +0 -110
- package/dist/src/MemberResponsibility.js.map +0 -1
- package/dist/src/OldGroupPrices.d.ts.map +0 -1
- package/dist/src/OldGroupPrices.js +0 -126
- package/dist/src/OldGroupPrices.js.map +0 -1
- package/dist/src/OpenID.d.ts.map +0 -1
- package/dist/src/OpenID.js +0 -77
- package/dist/src/OpenID.js.map +0 -1
- package/dist/src/Organization.d.ts +0 -147
- package/dist/src/Organization.d.ts.map +0 -1
- package/dist/src/Organization.js +0 -318
- package/dist/src/Organization.js.map +0 -1
- package/dist/src/OrganizationEmail.d.ts.map +0 -1
- package/dist/src/OrganizationEmail.js +0 -46
- package/dist/src/OrganizationEmail.js.map +0 -1
- package/dist/src/OrganizationGenderType.d.ts.map +0 -1
- package/dist/src/OrganizationGenderType.js +0 -11
- package/dist/src/OrganizationGenderType.js.map +0 -1
- package/dist/src/OrganizationLevelRecordsConfiguration.d.ts +0 -8
- package/dist/src/OrganizationLevelRecordsConfiguration.d.ts.map +0 -1
- package/dist/src/OrganizationLevelRecordsConfiguration.js +0 -20
- package/dist/src/OrganizationLevelRecordsConfiguration.js.map +0 -1
- package/dist/src/OrganizationMetaData.d.ts +0 -192
- package/dist/src/OrganizationMetaData.d.ts.map +0 -1
- package/dist/src/OrganizationMetaData.js +0 -522
- package/dist/src/OrganizationMetaData.js.map +0 -1
- package/dist/src/OrganizationPrivateMetaData.d.ts +0 -159
- package/dist/src/OrganizationPrivateMetaData.d.ts.map +0 -1
- package/dist/src/OrganizationPrivateMetaData.js +0 -393
- package/dist/src/OrganizationPrivateMetaData.js.map +0 -1
- package/dist/src/OrganizationSimple.d.ts.map +0 -1
- package/dist/src/OrganizationSimple.js +0 -26
- package/dist/src/OrganizationSimple.js.map +0 -1
- package/dist/src/OrganizationType.d.ts +0 -52
- package/dist/src/OrganizationType.d.ts.map +0 -1
- package/dist/src/OrganizationType.js +0 -384
- package/dist/src/OrganizationType.js.map +0 -1
- package/dist/src/PaymentConfiguration.d.ts +0 -67
- package/dist/src/PaymentConfiguration.d.ts.map +0 -1
- package/dist/src/PaymentConfiguration.js +0 -186
- package/dist/src/PaymentConfiguration.js.map +0 -1
- package/dist/src/PaymentCustomer.d.ts.map +0 -1
- package/dist/src/PaymentCustomer.js +0 -81
- package/dist/src/PaymentCustomer.js.map +0 -1
- package/dist/src/PaymentMandate.d.ts +0 -13
- package/dist/src/PaymentMandate.d.ts.map +0 -1
- package/dist/src/PaymentMandate.js +0 -8
- package/dist/src/PaymentMandate.js.map +0 -1
- package/dist/src/PaymentMethod.d.ts.map +0 -1
- package/dist/src/PaymentMethod.js +0 -111
- package/dist/src/PaymentMethod.js.map +0 -1
- package/dist/src/PaymentProvider.d.ts.map +0 -1
- package/dist/src/PaymentProvider.js +0 -11
- package/dist/src/PaymentProvider.js.map +0 -1
- package/dist/src/PaymentStatus.d.ts.map +0 -1
- package/dist/src/PaymentStatus.js +0 -26
- package/dist/src/PaymentStatus.js.map +0 -1
- package/dist/src/PaymentType.d.ts.map +0 -1
- package/dist/src/PaymentType.js +0 -63
- package/dist/src/PaymentType.js.map +0 -1
- package/dist/src/PermissionLevel.d.ts.map +0 -1
- package/dist/src/PermissionLevel.js +0 -71
- package/dist/src/PermissionLevel.js.map +0 -1
- package/dist/src/PermissionRole.d.ts.map +0 -1
- package/dist/src/PermissionRole.js +0 -252
- package/dist/src/PermissionRole.js.map +0 -1
- package/dist/src/Permissions.d.ts.map +0 -1
- package/dist/src/Permissions.js +0 -85
- package/dist/src/Permissions.js.map +0 -1
- package/dist/src/PermissionsByRole.d.ts.map +0 -1
- package/dist/src/PermissionsByRole.js +0 -55
- package/dist/src/PermissionsByRole.js.map +0 -1
- package/dist/src/PermissionsResourceType.d.ts.map +0 -1
- package/dist/src/PermissionsResourceType.js +0 -64
- package/dist/src/PermissionsResourceType.js.map +0 -1
- package/dist/src/Platform.d.ts +0 -209
- package/dist/src/Platform.d.ts.map +0 -1
- package/dist/src/Platform.js +0 -635
- package/dist/src/Platform.js.map +0 -1
- package/dist/src/PlatformServerConfig.d.ts.map +0 -1
- package/dist/src/PlatformServerConfig.js +0 -21
- package/dist/src/PlatformServerConfig.js.map +0 -1
- package/dist/src/Policy.d.ts.map +0 -1
- package/dist/src/Policy.js +0 -39
- package/dist/src/Policy.js.map +0 -1
- package/dist/src/PriceBreakdown.d.ts.map +0 -1
- package/dist/src/PriceBreakdown.js +0 -3
- package/dist/src/PriceBreakdown.js.map +0 -1
- package/dist/src/ReceivableBalance.d.ts.map +0 -1
- package/dist/src/ReceivableBalance.js +0 -153
- package/dist/src/ReceivableBalance.js.map +0 -1
- package/dist/src/ReduceablePrice.d.ts +0 -9
- package/dist/src/ReduceablePrice.d.ts.map +0 -1
- package/dist/src/ReduceablePrice.js +0 -32
- package/dist/src/ReduceablePrice.js.map +0 -1
- package/dist/src/RegisterCodeStatus.d.ts.map +0 -1
- package/dist/src/RegisterCodeStatus.js +0 -74
- package/dist/src/RegisterCodeStatus.js.map +0 -1
- package/dist/src/RegistrationPeriod.d.ts +0 -66
- package/dist/src/RegistrationPeriod.d.ts.map +0 -1
- package/dist/src/RegistrationPeriod.js +0 -229
- package/dist/src/RegistrationPeriod.js.map +0 -1
- package/dist/src/RegistrationPeriodBase.d.ts.map +0 -1
- package/dist/src/RegistrationPeriodBase.js +0 -56
- package/dist/src/RegistrationPeriodBase.js.map +0 -1
- package/dist/src/ResourcePermissions.d.ts +0 -40
- package/dist/src/ResourcePermissions.d.ts.map +0 -1
- package/dist/src/ResourcePermissions.js +0 -144
- package/dist/src/ResourcePermissions.js.map +0 -1
- package/dist/src/RichText.d.ts.map +0 -1
- package/dist/src/RichText.js +0 -26
- package/dist/src/RichText.js.map +0 -1
- package/dist/src/SeatingPlan.d.ts +0 -148
- package/dist/src/SeatingPlan.d.ts.map +0 -1
- package/dist/src/SeatingPlan.js +0 -652
- package/dist/src/SeatingPlan.js.map +0 -1
- package/dist/src/SeatingPlan.test.d.ts +0 -2
- package/dist/src/SeatingPlan.test.d.ts.map +0 -1
- package/dist/src/SeatingPlan.test.js +0 -127
- package/dist/src/SeatingPlan.test.js.map +0 -1
- package/dist/src/SetupStepReview.d.ts.map +0 -1
- package/dist/src/SetupStepReview.js +0 -21
- package/dist/src/SetupStepReview.js.map +0 -1
- package/dist/src/SetupStepType.d.ts.map +0 -1
- package/dist/src/SetupStepType.js +0 -33
- package/dist/src/SetupStepType.js.map +0 -1
- package/dist/src/SetupSteps.d.ts.map +0 -1
- package/dist/src/SetupSteps.js +0 -189
- package/dist/src/SetupSteps.js.map +0 -1
- package/dist/src/SponsorConfig.d.ts.map +0 -1
- package/dist/src/SponsorConfig.js +0 -47
- package/dist/src/SponsorConfig.js.map +0 -1
- package/dist/src/StockReservation.d.ts.map +0 -1
- package/dist/src/StockReservation.js +0 -88
- package/dist/src/StockReservation.js.map +0 -1
- package/dist/src/StripeAccount.d.ts.map +0 -1
- package/dist/src/StripeAccount.js +0 -310
- package/dist/src/StripeAccount.js.map +0 -1
- package/dist/src/Token.d.ts +0 -19
- package/dist/src/Token.d.ts.map +0 -1
- package/dist/src/Token.js +0 -38
- package/dist/src/Token.js.map +0 -1
- package/dist/src/TranslatedString.d.ts +0 -80
- package/dist/src/TranslatedString.d.ts.map +0 -1
- package/dist/src/TranslatedString.js +0 -309
- package/dist/src/TranslatedString.js.map +0 -1
- package/dist/src/UitpasClientCredentialsStatus.d.ts +0 -13
- package/dist/src/UitpasClientCredentialsStatus.d.ts.map +0 -1
- package/dist/src/UitpasClientCredentialsStatus.js +0 -42
- package/dist/src/UitpasClientCredentialsStatus.js.map +0 -1
- package/dist/src/UmbrellaOrganization.d.ts.map +0 -1
- package/dist/src/UmbrellaOrganization.js +0 -41
- package/dist/src/UmbrellaOrganization.js.map +0 -1
- package/dist/src/User.d.ts.map +0 -1
- package/dist/src/User.js +0 -195
- package/dist/src/User.js.map +0 -1
- package/dist/src/UserPermissions.d.ts +0 -33
- package/dist/src/UserPermissions.d.ts.map +0 -1
- package/dist/src/UserPermissions.js +0 -217
- package/dist/src/UserPermissions.js.map +0 -1
- package/dist/src/UserWithMembers.d.ts.map +0 -1
- package/dist/src/UserWithMembers.js +0 -18
- package/dist/src/UserWithMembers.js.map +0 -1
- package/dist/src/Version.d.ts +0 -8
- package/dist/src/Version.d.ts.map +0 -1
- package/dist/src/Version.js +0 -24
- package/dist/src/Version.js.map +0 -1
- package/dist/src/addresses/Address.d.ts +0 -41
- package/dist/src/addresses/Address.d.ts.map +0 -1
- package/dist/src/addresses/Address.js +0 -246
- package/dist/src/addresses/Address.js.map +0 -1
- package/dist/src/addresses/City.d.ts +0 -11
- package/dist/src/addresses/City.d.ts.map +0 -1
- package/dist/src/addresses/City.js +0 -30
- package/dist/src/addresses/City.js.map +0 -1
- package/dist/src/addresses/CountryDecoder.d.ts +0 -32
- package/dist/src/addresses/CountryDecoder.d.ts.map +0 -1
- package/dist/src/addresses/CountryDecoder.js +0 -62
- package/dist/src/addresses/CountryDecoder.js.map +0 -1
- package/dist/src/addresses/Premise.d.ts +0 -12
- package/dist/src/addresses/Premise.d.ts.map +0 -1
- package/dist/src/addresses/Premise.js +0 -36
- package/dist/src/addresses/Premise.js.map +0 -1
- package/dist/src/addresses/Province.d.ts +0 -8
- package/dist/src/addresses/Province.d.ts.map +0 -1
- package/dist/src/addresses/Province.js +0 -19
- package/dist/src/addresses/Province.js.map +0 -1
- package/dist/src/addresses/SearchRegions.d.ts +0 -10
- package/dist/src/addresses/SearchRegions.d.ts.map +0 -1
- package/dist/src/addresses/SearchRegions.js +0 -27
- package/dist/src/addresses/SearchRegions.js.map +0 -1
- package/dist/src/admin/MemberSummary.d.ts.map +0 -1
- package/dist/src/admin/MemberSummary.js +0 -124
- package/dist/src/admin/MemberSummary.js.map +0 -1
- package/dist/src/admin/StripePayoutExport.d.ts.map +0 -1
- package/dist/src/admin/StripePayoutExport.js +0 -165
- package/dist/src/admin/StripePayoutExport.js.map +0 -1
- package/dist/src/billing/Invoice.d.ts +0 -141
- package/dist/src/billing/Invoice.d.ts.map +0 -1
- package/dist/src/billing/Invoice.js +0 -433
- package/dist/src/billing/Invoice.js.map +0 -1
- package/dist/src/billing/Invoice.test.d.ts +0 -2
- package/dist/src/billing/Invoice.test.d.ts.map +0 -1
- package/dist/src/billing/Invoice.test.js +0 -188
- package/dist/src/billing/Invoice.test.js.map +0 -1
- package/dist/src/billing/InvoicedBalanceItem.d.ts +0 -73
- package/dist/src/billing/InvoicedBalanceItem.d.ts.map +0 -1
- package/dist/src/billing/InvoicedBalanceItem.js +0 -182
- package/dist/src/billing/InvoicedBalanceItem.js.map +0 -1
- package/dist/src/billing/InvoicedBalanceItem.test.d.ts +0 -2
- package/dist/src/billing/InvoicedBalanceItem.test.d.ts.map +0 -1
- package/dist/src/billing/InvoicedBalanceItem.test.js +0 -214
- package/dist/src/billing/InvoicedBalanceItem.test.js.map +0 -1
- package/dist/src/billing/OrganizationPackagesStatus.d.ts.map +0 -1
- package/dist/src/billing/OrganizationPackagesStatus.js +0 -13
- package/dist/src/billing/OrganizationPackagesStatus.js.map +0 -1
- package/dist/src/billing/OrganizationPaymentMandate.d.ts.map +0 -1
- package/dist/src/billing/OrganizationPaymentMandate.js +0 -65
- package/dist/src/billing/OrganizationPaymentMandate.js.map +0 -1
- package/dist/src/billing/STBillingStatus.d.ts.map +0 -1
- package/dist/src/billing/STBillingStatus.js +0 -33
- package/dist/src/billing/STBillingStatus.js.map +0 -1
- package/dist/src/billing/STCredit.d.ts.map +0 -1
- package/dist/src/billing/STCredit.js +0 -54
- package/dist/src/billing/STCredit.js.map +0 -1
- package/dist/src/billing/STInvoice.d.ts.map +0 -1
- package/dist/src/billing/STInvoice.js +0 -52
- package/dist/src/billing/STInvoice.js.map +0 -1
- package/dist/src/billing/STInvoiceItem.d.ts.map +0 -1
- package/dist/src/billing/STInvoiceItem.js +0 -169
- package/dist/src/billing/STInvoiceItem.js.map +0 -1
- package/dist/src/billing/STInvoiceMeta.d.ts.map +0 -1
- package/dist/src/billing/STInvoiceMeta.js +0 -152
- package/dist/src/billing/STInvoiceMeta.js.map +0 -1
- package/dist/src/billing/STInvoicePrivate.d.ts.map +0 -1
- package/dist/src/billing/STInvoicePrivate.js +0 -51
- package/dist/src/billing/STInvoicePrivate.js.map +0 -1
- package/dist/src/billing/STInvoiceStatus.d.ts.map +0 -1
- package/dist/src/billing/STInvoiceStatus.js +0 -11
- package/dist/src/billing/STInvoiceStatus.js.map +0 -1
- package/dist/src/billing/STPackage.d.ts +0 -132
- package/dist/src/billing/STPackage.d.ts.map +0 -1
- package/dist/src/billing/STPackage.js +0 -465
- package/dist/src/billing/STPackage.js.map +0 -1
- package/dist/src/billing/STPackageBundle.d.ts.map +0 -1
- package/dist/src/billing/STPackageBundle.js +0 -248
- package/dist/src/billing/STPackageBundle.js.map +0 -1
- package/dist/src/billing/STPendingInvoice.d.ts.map +0 -1
- package/dist/src/billing/STPendingInvoice.js +0 -40
- package/dist/src/billing/STPendingInvoice.js.map +0 -1
- package/dist/src/billing/index.d.ts.map +0 -1
- package/dist/src/billing/index.js +0 -24
- package/dist/src/billing/index.js.map +0 -1
- package/dist/src/checkout/CheckoutResponse.d.ts.map +0 -1
- package/dist/src/checkout/CheckoutResponse.js +0 -48
- package/dist/src/checkout/CheckoutResponse.js.map +0 -1
- package/dist/src/checkout/Checkoutable.d.ts.map +0 -1
- package/dist/src/checkout/Checkoutable.js +0 -97
- package/dist/src/checkout/Checkoutable.js.map +0 -1
- package/dist/src/checkout/PackageCheckout.d.ts.map +0 -1
- package/dist/src/checkout/PackageCheckout.js +0 -34
- package/dist/src/checkout/PackageCheckout.js.map +0 -1
- package/dist/src/checkout/index.d.ts.map +0 -1
- package/dist/src/checkout/index.js +0 -7
- package/dist/src/checkout/index.js.map +0 -1
- package/dist/src/circular-dependencies/AuditLogReplacementDependencies.d.ts.map +0 -1
- package/dist/src/circular-dependencies/AuditLogReplacementDependencies.js +0 -32
- package/dist/src/circular-dependencies/AuditLogReplacementDependencies.js.map +0 -1
- package/dist/src/circular-dependencies/ExampleReplacementsDependencies.d.ts.map +0 -1
- package/dist/src/circular-dependencies/ExampleReplacementsDependencies.js +0 -194
- package/dist/src/circular-dependencies/ExampleReplacementsDependencies.js.map +0 -1
- package/dist/src/data/audit-log-words.d.ts.map +0 -1
- package/dist/src/data/audit-log-words.js +0 -181
- package/dist/src/data/audit-log-words.js.map +0 -1
- package/dist/src/email/EditorSmartButton.d.ts +0 -13
- package/dist/src/email/EditorSmartButton.d.ts.map +0 -1
- package/dist/src/email/EditorSmartButton.js +0 -90
- package/dist/src/email/EditorSmartButton.js.map +0 -1
- package/dist/src/email/EditorSmartVariable.d.ts +0 -22
- package/dist/src/email/EditorSmartVariable.d.ts.map +0 -1
- package/dist/src/email/EditorSmartVariable.js +0 -306
- package/dist/src/email/EditorSmartVariable.js.map +0 -1
- package/dist/src/email/Email.d.ts +0 -145
- package/dist/src/email/Email.d.ts.map +0 -1
- package/dist/src/email/Email.js +0 -512
- package/dist/src/email/Email.js.map +0 -1
- package/dist/src/email/EmailAddressSettings.d.ts.map +0 -1
- package/dist/src/email/EmailAddressSettings.js +0 -34
- package/dist/src/email/EmailAddressSettings.js.map +0 -1
- package/dist/src/email/EmailTemplate.d.ts +0 -136
- package/dist/src/email/EmailTemplate.d.ts.map +0 -1
- package/dist/src/email/EmailTemplate.js +0 -661
- package/dist/src/email/EmailTemplate.js.map +0 -1
- package/dist/src/email/exampleReplacements.d.ts.map +0 -1
- package/dist/src/email/exampleReplacements.js +0 -292
- package/dist/src/email/exampleReplacements.js.map +0 -1
- package/dist/src/endpoints/ChargeMembershipsSummary.d.ts.map +0 -1
- package/dist/src/endpoints/ChargeMembershipsSummary.js +0 -65
- package/dist/src/endpoints/ChargeMembershipsSummary.js.map +0 -1
- package/dist/src/endpoints/ChargeRequest.d.ts +0 -11
- package/dist/src/endpoints/ChargeRequest.d.ts.map +0 -1
- package/dist/src/endpoints/ChargeRequest.js +0 -34
- package/dist/src/endpoints/ChargeRequest.js.map +0 -1
- package/dist/src/endpoints/CheckMollieResponse.d.ts.map +0 -1
- package/dist/src/endpoints/CheckMollieResponse.js +0 -21
- package/dist/src/endpoints/CheckMollieResponse.js.map +0 -1
- package/dist/src/endpoints/CreateOrganization.d.ts.map +0 -1
- package/dist/src/endpoints/CreateOrganization.js +0 -24
- package/dist/src/endpoints/CreateOrganization.js.map +0 -1
- package/dist/src/endpoints/EmailRequest.d.ts +0 -70
- package/dist/src/endpoints/EmailRequest.d.ts.map +0 -1
- package/dist/src/endpoints/EmailRequest.js +0 -245
- package/dist/src/endpoints/EmailRequest.js.map +0 -1
- package/dist/src/endpoints/ForgotPasswordRequest.d.ts.map +0 -1
- package/dist/src/endpoints/ForgotPasswordRequest.js +0 -12
- package/dist/src/endpoints/ForgotPasswordRequest.js.map +0 -1
- package/dist/src/endpoints/OrganizationAdmins.d.ts.map +0 -1
- package/dist/src/endpoints/OrganizationAdmins.js +0 -17
- package/dist/src/endpoints/OrganizationAdmins.js.map +0 -1
- package/dist/src/endpoints/OrganizationDomains.d.ts.map +0 -1
- package/dist/src/endpoints/OrganizationDomains.js +0 -30
- package/dist/src/endpoints/OrganizationDomains.js.map +0 -1
- package/dist/src/endpoints/PayableBalanceCollection.d.ts.map +0 -1
- package/dist/src/endpoints/PayableBalanceCollection.js +0 -81
- package/dist/src/endpoints/PayableBalanceCollection.js.map +0 -1
- package/dist/src/endpoints/RegisterMember.d.ts.map +0 -1
- package/dist/src/endpoints/RegisterMember.js +0 -44
- package/dist/src/endpoints/RegisterMember.js.map +0 -1
- package/dist/src/endpoints/RegisterResponse.d.ts.map +0 -1
- package/dist/src/endpoints/RegisterResponse.js +0 -37
- package/dist/src/endpoints/RegisterResponse.js.map +0 -1
- package/dist/src/endpoints/SignupResponse.d.ts.map +0 -1
- package/dist/src/endpoints/SignupResponse.js +0 -12
- package/dist/src/endpoints/SignupResponse.js.map +0 -1
- package/dist/src/endpoints/UitpasClientIdAndSecret.d.ts.map +0 -1
- package/dist/src/endpoints/UitpasClientIdAndSecret.js +0 -18
- package/dist/src/endpoints/UitpasClientIdAndSecret.js.map +0 -1
- package/dist/src/endpoints/UitpasEventsResponse.d.ts.map +0 -1
- package/dist/src/endpoints/UitpasEventsResponse.js +0 -41
- package/dist/src/endpoints/UitpasEventsResponse.js.map +0 -1
- package/dist/src/endpoints/UitpasNumbersGetDetailsRequest.d.ts +0 -10
- package/dist/src/endpoints/UitpasNumbersGetDetailsRequest.d.ts.map +0 -1
- package/dist/src/endpoints/UitpasNumbersGetDetailsRequest.js +0 -38
- package/dist/src/endpoints/UitpasNumbersGetDetailsRequest.js.map +0 -1
- package/dist/src/endpoints/UitpasOrganizersResponse.d.ts.map +0 -1
- package/dist/src/endpoints/UitpasOrganizersResponse.js +0 -24
- package/dist/src/endpoints/UitpasOrganizersResponse.js.map +0 -1
- package/dist/src/endpoints/UitpasPriceCheckRequest.d.ts.map +0 -1
- package/dist/src/endpoints/UitpasPriceCheckRequest.js +0 -30
- package/dist/src/endpoints/UitpasPriceCheckRequest.js.map +0 -1
- package/dist/src/endpoints/UitpasSetClientCredentialsResponse.d.ts.map +0 -1
- package/dist/src/endpoints/UitpasSetClientCredentialsResponse.js +0 -22
- package/dist/src/endpoints/UitpasSetClientCredentialsResponse.js.map +0 -1
- package/dist/src/endpoints/VerifyEmailRequest.d.ts.map +0 -1
- package/dist/src/endpoints/VerifyEmailRequest.js +0 -27
- package/dist/src/endpoints/VerifyEmailRequest.js.map +0 -1
- package/dist/src/endpoints/WebshopOrdersQuery.d.ts.map +0 -1
- package/dist/src/endpoints/WebshopOrdersQuery.js +0 -24
- package/dist/src/endpoints/WebshopOrdersQuery.js.map +0 -1
- package/dist/src/endpoints/WebshopTicketsQuery.d.ts.map +0 -1
- package/dist/src/endpoints/WebshopTicketsQuery.js +0 -15
- package/dist/src/endpoints/WebshopTicketsQuery.js.map +0 -1
- package/dist/src/endpoints/WebshopUriAvailabilityResponse.d.ts.map +0 -1
- package/dist/src/endpoints/WebshopUriAvailabilityResponse.js +0 -12
- package/dist/src/endpoints/WebshopUriAvailabilityResponse.js.map +0 -1
- package/dist/src/endpoints/tokens/ChallengeGrantStruct.d.ts +0 -9
- package/dist/src/endpoints/tokens/ChallengeGrantStruct.d.ts.map +0 -1
- package/dist/src/endpoints/tokens/ChallengeGrantStruct.js +0 -16
- package/dist/src/endpoints/tokens/ChallengeGrantStruct.js.map +0 -1
- package/dist/src/endpoints/tokens/CreateTokenStruct.d.ts +0 -10
- package/dist/src/endpoints/tokens/CreateTokenStruct.d.ts.map +0 -1
- package/dist/src/endpoints/tokens/CreateTokenStruct.js +0 -37
- package/dist/src/endpoints/tokens/CreateTokenStruct.js.map +0 -1
- package/dist/src/endpoints/tokens/PasswordGrantStruct.d.ts +0 -8
- package/dist/src/endpoints/tokens/PasswordGrantStruct.d.ts.map +0 -1
- package/dist/src/endpoints/tokens/PasswordGrantStruct.js +0 -14
- package/dist/src/endpoints/tokens/PasswordGrantStruct.js.map +0 -1
- package/dist/src/endpoints/tokens/PasswordTokenGrantStruct.d.ts +0 -7
- package/dist/src/endpoints/tokens/PasswordTokenGrantStruct.d.ts.map +0 -1
- package/dist/src/endpoints/tokens/PasswordTokenGrantStruct.js +0 -13
- package/dist/src/endpoints/tokens/PasswordTokenGrantStruct.js.map +0 -1
- package/dist/src/endpoints/tokens/RefreshTokenGrantStruct.d.ts +0 -7
- package/dist/src/endpoints/tokens/RefreshTokenGrantStruct.d.ts.map +0 -1
- package/dist/src/endpoints/tokens/RefreshTokenGrantStruct.js +0 -14
- package/dist/src/endpoints/tokens/RefreshTokenGrantStruct.js.map +0 -1
- package/dist/src/endpoints/tokens/RequestChallengeGrantStruct.d.ts +0 -7
- package/dist/src/endpoints/tokens/RequestChallengeGrantStruct.d.ts.map +0 -1
- package/dist/src/endpoints/tokens/RequestChallengeGrantStruct.js +0 -14
- package/dist/src/endpoints/tokens/RequestChallengeGrantStruct.js.map +0 -1
- package/dist/src/files/File.d.ts +0 -61
- package/dist/src/files/File.d.ts.map +0 -1
- package/dist/src/files/File.js +0 -203
- package/dist/src/files/File.js.map +0 -1
- package/dist/src/files/Image.d.ts.map +0 -1
- package/dist/src/files/Image.js +0 -79
- package/dist/src/files/Image.js.map +0 -1
- package/dist/src/files/Resolution.d.ts +0 -29
- package/dist/src/files/Resolution.d.ts.map +0 -1
- package/dist/src/files/Resolution.js +0 -27
- package/dist/src/files/Resolution.js.map +0 -1
- package/dist/src/files/ResolutionRequest.d.ts.map +0 -1
- package/dist/src/files/ResolutionRequest.js +0 -32
- package/dist/src/files/ResolutionRequest.js.map +0 -1
- package/dist/src/filters/ExcelExportRequest.d.ts +0 -40
- package/dist/src/filters/ExcelExportRequest.d.ts.map +0 -1
- package/dist/src/filters/ExcelExportRequest.js +0 -88
- package/dist/src/filters/ExcelExportRequest.js.map +0 -1
- package/dist/src/filters/FilterCompilers.d.ts +0 -18
- package/dist/src/filters/FilterCompilers.d.ts.map +0 -1
- package/dist/src/filters/FilterCompilers.js +0 -124
- package/dist/src/filters/FilterCompilers.js.map +0 -1
- package/dist/src/filters/FilteredRequest.d.ts +0 -47
- package/dist/src/filters/FilteredRequest.d.ts.map +0 -1
- package/dist/src/filters/FilteredRequest.js +0 -153
- package/dist/src/filters/FilteredRequest.js.map +0 -1
- package/dist/src/filters/InMemoryFilter.d.ts +0 -13
- package/dist/src/filters/InMemoryFilter.d.ts.map +0 -1
- package/dist/src/filters/InMemoryFilter.js +0 -269
- package/dist/src/filters/InMemoryFilter.js.map +0 -1
- package/dist/src/filters/InMemoryFilter.test.d.ts +0 -2
- package/dist/src/filters/InMemoryFilter.test.d.ts.map +0 -1
- package/dist/src/filters/InMemoryFilter.test.js +0 -293
- package/dist/src/filters/InMemoryFilter.test.js.map +0 -1
- package/dist/src/filters/InMemorySorter.d.ts +0 -12
- package/dist/src/filters/InMemorySorter.d.ts.map +0 -1
- package/dist/src/filters/InMemorySorter.js +0 -76
- package/dist/src/filters/InMemorySorter.js.map +0 -1
- package/dist/src/filters/PropertyFilter.d.ts +0 -28
- package/dist/src/filters/PropertyFilter.d.ts.map +0 -1
- package/dist/src/filters/PropertyFilter.js +0 -183
- package/dist/src/filters/PropertyFilter.js.map +0 -1
- package/dist/src/filters/PropertyFilter.test.d.ts +0 -2
- package/dist/src/filters/PropertyFilter.test.d.ts.map +0 -1
- package/dist/src/filters/PropertyFilter.test.js +0 -211
- package/dist/src/filters/PropertyFilter.test.js.map +0 -1
- package/dist/src/filters/SearchFilterFactory.d.ts +0 -12
- package/dist/src/filters/SearchFilterFactory.d.ts.map +0 -1
- package/dist/src/filters/SearchFilterFactory.js +0 -45
- package/dist/src/filters/SearchFilterFactory.js.map +0 -1
- package/dist/src/filters/SelectablePdfDocumentFilter.d.ts.map +0 -1
- package/dist/src/filters/SelectablePdfDocumentFilter.js +0 -35
- package/dist/src/filters/SelectablePdfDocumentFilter.js.map +0 -1
- package/dist/src/filters/SortList.d.ts +0 -20
- package/dist/src/filters/SortList.d.ts.map +0 -1
- package/dist/src/filters/SortList.js +0 -48
- package/dist/src/filters/SortList.js.map +0 -1
- package/dist/src/filters/Sorters.d.ts +0 -8
- package/dist/src/filters/Sorters.d.ts.map +0 -1
- package/dist/src/filters/Sorters.js +0 -54
- package/dist/src/filters/Sorters.js.map +0 -1
- package/dist/src/filters/StamhoofdFilter.d.ts +0 -58
- package/dist/src/filters/StamhoofdFilter.d.ts.map +0 -1
- package/dist/src/filters/StamhoofdFilter.js +0 -253
- package/dist/src/filters/StamhoofdFilter.js.map +0 -1
- package/dist/src/filters/convertOldPropertyFilter.d.ts.map +0 -1
- package/dist/src/filters/convertOldPropertyFilter.js +0 -874
- package/dist/src/filters/convertOldPropertyFilter.js.map +0 -1
- package/dist/src/filters/inMemoryFilterDefinitions.d.ts +0 -17
- package/dist/src/filters/inMemoryFilterDefinitions.d.ts.map +0 -1
- package/dist/src/filters/inMemoryFilterDefinitions.js +0 -148
- package/dist/src/filters/inMemoryFilterDefinitions.js.map +0 -1
- package/dist/src/filters/searchFilterFactories.d.ts +0 -4
- package/dist/src/filters/searchFilterFactories.d.ts.map +0 -1
- package/dist/src/filters/searchFilterFactories.js +0 -33
- package/dist/src/filters/searchFilterFactories.js.map +0 -1
- package/dist/src/getActivePeriods.d.ts +0 -4
- package/dist/src/getActivePeriods.d.ts.map +0 -1
- package/dist/src/getActivePeriods.js +0 -39
- package/dist/src/getActivePeriods.js.map +0 -1
- package/dist/src/grouping/PaginatedResponse.d.ts +0 -32
- package/dist/src/grouping/PaginatedResponse.d.ts.map +0 -1
- package/dist/src/grouping/PaginatedResponse.js +0 -43
- package/dist/src/grouping/PaginatedResponse.js.map +0 -1
- package/dist/src/helpers/EventPermissionChecker.d.ts +0 -43
- package/dist/src/helpers/EventPermissionChecker.d.ts.map +0 -1
- package/dist/src/helpers/EventPermissionChecker.js +0 -147
- package/dist/src/helpers/EventPermissionChecker.js.map +0 -1
- package/dist/src/helpers/MemberPlatformMembershipHelper.d.ts +0 -12
- package/dist/src/helpers/MemberPlatformMembershipHelper.d.ts.map +0 -1
- package/dist/src/helpers/MemberPlatformMembershipHelper.js +0 -74
- package/dist/src/helpers/MemberPlatformMembershipHelper.js.map +0 -1
- package/dist/src/helpers/TagHelper.d.ts +0 -22
- package/dist/src/helpers/TagHelper.d.ts.map +0 -1
- package/dist/src/helpers/TagHelper.js +0 -60
- package/dist/src/helpers/TagHelper.js.map +0 -1
- package/dist/src/helpers/calculateHungarianAlgorithm.d.ts.map +0 -1
- package/dist/src/helpers/calculateHungarianAlgorithm.js +0 -85
- package/dist/src/helpers/calculateHungarianAlgorithm.js.map +0 -1
- package/dist/src/helpers/calculateHungarianAlgorithm.test.d.ts +0 -2
- package/dist/src/helpers/calculateHungarianAlgorithm.test.d.ts.map +0 -1
- package/dist/src/helpers/calculateHungarianAlgorithm.test.js +0 -291
- package/dist/src/helpers/calculateHungarianAlgorithm.test.js.map +0 -1
- package/dist/src/helpers/index.d.ts.map +0 -1
- package/dist/src/helpers/index.js +0 -6
- package/dist/src/helpers/index.js.map +0 -1
- package/dist/src/helpers/uuidToName.d.ts.map +0 -1
- package/dist/src/helpers/uuidToName.js +0 -27
- package/dist/src/helpers/uuidToName.js.map +0 -1
- package/dist/src/members/EmergencyContact.d.ts.map +0 -1
- package/dist/src/members/EmergencyContact.js +0 -70
- package/dist/src/members/EmergencyContact.js.map +0 -1
- package/dist/src/members/Gender.d.ts.map +0 -1
- package/dist/src/members/Gender.js +0 -21
- package/dist/src/members/Gender.js.map +0 -1
- package/dist/src/members/Member.d.ts.map +0 -1
- package/dist/src/members/Member.js +0 -110
- package/dist/src/members/Member.js.map +0 -1
- package/dist/src/members/MemberDetails.d.ts +0 -128
- package/dist/src/members/MemberDetails.d.ts.map +0 -1
- package/dist/src/members/MemberDetails.js +0 -866
- package/dist/src/members/MemberDetails.js.map +0 -1
- package/dist/src/members/MemberDetails.test.d.ts +0 -2
- package/dist/src/members/MemberDetails.test.d.ts.map +0 -1
- package/dist/src/members/MemberDetails.test.js +0 -420
- package/dist/src/members/MemberDetails.test.js.map +0 -1
- package/dist/src/members/MemberPlatformMembership.d.ts.map +0 -1
- package/dist/src/members/MemberPlatformMembership.js +0 -86
- package/dist/src/members/MemberPlatformMembership.js.map +0 -1
- package/dist/src/members/MemberResponsibilityRecord.d.ts +0 -20
- package/dist/src/members/MemberResponsibilityRecord.d.ts.map +0 -1
- package/dist/src/members/MemberResponsibilityRecord.js +0 -71
- package/dist/src/members/MemberResponsibilityRecord.js.map +0 -1
- package/dist/src/members/MemberWithRegistrationsBlob.d.ts +0 -36
- package/dist/src/members/MemberWithRegistrationsBlob.d.ts.map +0 -1
- package/dist/src/members/MemberWithRegistrationsBlob.js +0 -163
- package/dist/src/members/MemberWithRegistrationsBlob.js.map +0 -1
- package/dist/src/members/MembershipStatus.d.ts.map +0 -1
- package/dist/src/members/MembershipStatus.js +0 -18
- package/dist/src/members/MembershipStatus.js.map +0 -1
- package/dist/src/members/NationalRegisterNumberOptOut.d.ts.map +0 -1
- package/dist/src/members/NationalRegisterNumberOptOut.js +0 -5
- package/dist/src/members/NationalRegisterNumberOptOut.js.map +0 -1
- package/dist/src/members/ObjectWithRecords.d.ts +0 -11
- package/dist/src/members/ObjectWithRecords.d.ts.map +0 -1
- package/dist/src/members/ObjectWithRecords.js +0 -3
- package/dist/src/members/ObjectWithRecords.js.map +0 -1
- package/dist/src/members/OrganizationRecordsConfiguration.d.ts +0 -126
- package/dist/src/members/OrganizationRecordsConfiguration.d.ts.map +0 -1
- package/dist/src/members/OrganizationRecordsConfiguration.js +0 -422
- package/dist/src/members/OrganizationRecordsConfiguration.js.map +0 -1
- package/dist/src/members/Parent.d.ts.map +0 -1
- package/dist/src/members/Parent.js +0 -179
- package/dist/src/members/Parent.js.map +0 -1
- package/dist/src/members/ParentType.d.ts.map +0 -1
- package/dist/src/members/ParentType.js +0 -41
- package/dist/src/members/ParentType.js.map +0 -1
- package/dist/src/members/Payment.d.ts.map +0 -1
- package/dist/src/members/Payment.js +0 -253
- package/dist/src/members/Payment.js.map +0 -1
- package/dist/src/members/PaymentGeneral.d.ts.map +0 -1
- package/dist/src/members/PaymentGeneral.js +0 -187
- package/dist/src/members/PaymentGeneral.js.map +0 -1
- package/dist/src/members/PlatformMember.d.ts +0 -269
- package/dist/src/members/PlatformMember.d.ts.map +0 -1
- package/dist/src/members/PlatformMember.js +0 -1137
- package/dist/src/members/PlatformMember.js.map +0 -1
- package/dist/src/members/PlatformMember.test.d.ts +0 -2
- package/dist/src/members/PlatformMember.test.d.ts.map +0 -1
- package/dist/src/members/PlatformMember.test.js +0 -228
- package/dist/src/members/PlatformMember.test.js.map +0 -1
- package/dist/src/members/Registration.d.ts +0 -97
- package/dist/src/members/Registration.d.ts.map +0 -1
- package/dist/src/members/Registration.js +0 -216
- package/dist/src/members/Registration.js.map +0 -1
- package/dist/src/members/RegistrationWithEncryptedMember.d.ts.map +0 -1
- package/dist/src/members/RegistrationWithEncryptedMember.js +0 -47
- package/dist/src/members/RegistrationWithEncryptedMember.js.map +0 -1
- package/dist/src/members/RegistrationWithMember.d.ts.map +0 -1
- package/dist/src/members/RegistrationWithMember.js +0 -50
- package/dist/src/members/RegistrationWithMember.js.map +0 -1
- package/dist/src/members/RegistrationWithMemberBlob.d.ts.map +0 -1
- package/dist/src/members/RegistrationWithMemberBlob.js +0 -14
- package/dist/src/members/RegistrationWithMemberBlob.js.map +0 -1
- package/dist/src/members/RegistrationWithTinyMember.d.ts.map +0 -1
- package/dist/src/members/RegistrationWithTinyMember.js +0 -20
- package/dist/src/members/RegistrationWithTinyMember.js.map +0 -1
- package/dist/src/members/RegistrationsBlob.d.ts.map +0 -1
- package/dist/src/members/RegistrationsBlob.js +0 -22
- package/dist/src/members/RegistrationsBlob.js.map +0 -1
- package/dist/src/members/ReviewTime.d.ts +0 -25
- package/dist/src/members/ReviewTime.d.ts.map +0 -1
- package/dist/src/members/ReviewTime.js +0 -93
- package/dist/src/members/ReviewTime.js.map +0 -1
- package/dist/src/members/UitpasNumberDetails.d.ts +0 -40
- package/dist/src/members/UitpasNumberDetails.d.ts.map +0 -1
- package/dist/src/members/UitpasNumberDetails.js +0 -95
- package/dist/src/members/UitpasNumberDetails.js.map +0 -1
- package/dist/src/members/checkout/BalanceItemCartItem.d.ts.map +0 -1
- package/dist/src/members/checkout/BalanceItemCartItem.js +0 -69
- package/dist/src/members/checkout/BalanceItemCartItem.js.map +0 -1
- package/dist/src/members/checkout/RegisterCart.d.ts +0 -60
- package/dist/src/members/checkout/RegisterCart.d.ts.map +0 -1
- package/dist/src/members/checkout/RegisterCart.js +0 -362
- package/dist/src/members/checkout/RegisterCart.js.map +0 -1
- package/dist/src/members/checkout/RegisterCart.test.d.ts +0 -2
- package/dist/src/members/checkout/RegisterCart.test.d.ts.map +0 -1
- package/dist/src/members/checkout/RegisterCart.test.js +0 -1430
- package/dist/src/members/checkout/RegisterCart.test.js.map +0 -1
- package/dist/src/members/checkout/RegisterCheckout.d.ts +0 -117
- package/dist/src/members/checkout/RegisterCheckout.d.ts.map +0 -1
- package/dist/src/members/checkout/RegisterCheckout.js +0 -390
- package/dist/src/members/checkout/RegisterCheckout.js.map +0 -1
- package/dist/src/members/checkout/RegisterItem.d.ts +0 -172
- package/dist/src/members/checkout/RegisterItem.d.ts.map +0 -1
- package/dist/src/members/checkout/RegisterItem.js +0 -1310
- package/dist/src/members/checkout/RegisterItem.js.map +0 -1
- package/dist/src/members/checkout/RegisterItem.test.d.ts +0 -2
- package/dist/src/members/checkout/RegisterItem.test.d.ts.map +0 -1
- package/dist/src/members/checkout/RegisterItem.test.js +0 -357
- package/dist/src/members/checkout/RegisterItem.test.js.map +0 -1
- package/dist/src/members/checkout/RegistrationWithPlatformMember.d.ts +0 -13
- package/dist/src/members/checkout/RegistrationWithPlatformMember.d.ts.map +0 -1
- package/dist/src/members/checkout/RegistrationWithPlatformMember.js +0 -21
- package/dist/src/members/checkout/RegistrationWithPlatformMember.js.map +0 -1
- package/dist/src/members/records/LegacyRecord.d.ts.map +0 -1
- package/dist/src/members/records/LegacyRecord.js +0 -76
- package/dist/src/members/records/LegacyRecord.js.map +0 -1
- package/dist/src/members/records/LegacyRecordType.d.ts.map +0 -1
- package/dist/src/members/records/LegacyRecordType.js +0 -96
- package/dist/src/members/records/LegacyRecordType.js.map +0 -1
- package/dist/src/members/records/RecordAnswer.d.ts +0 -156
- package/dist/src/members/records/RecordAnswer.d.ts.map +0 -1
- package/dist/src/members/records/RecordAnswer.js +0 -598
- package/dist/src/members/records/RecordAnswer.js.map +0 -1
- package/dist/src/members/records/RecordCategory.d.ts +0 -59
- package/dist/src/members/records/RecordCategory.d.ts.map +0 -1
- package/dist/src/members/records/RecordCategory.js +0 -322
- package/dist/src/members/records/RecordCategory.js.map +0 -1
- package/dist/src/members/records/RecordConfigurationFactory.d.ts +0 -17
- package/dist/src/members/records/RecordConfigurationFactory.d.ts.map +0 -1
- package/dist/src/members/records/RecordConfigurationFactory.js +0 -134
- package/dist/src/members/records/RecordConfigurationFactory.js.map +0 -1
- package/dist/src/members/records/RecordFactory.d.ts.map +0 -1
- package/dist/src/members/records/RecordFactory.js +0 -529
- package/dist/src/members/records/RecordFactory.js.map +0 -1
- package/dist/src/members/records/RecordSettings.d.ts +0 -145
- package/dist/src/members/records/RecordSettings.d.ts.map +0 -1
- package/dist/src/members/records/RecordSettings.js +0 -406
- package/dist/src/members/records/RecordSettings.js.map +0 -1
- package/dist/src/upgradePriceFrom2To4DecimalPlaces.d.ts +0 -9
- package/dist/src/upgradePriceFrom2To4DecimalPlaces.d.ts.map +0 -1
- package/dist/src/upgradePriceFrom2To4DecimalPlaces.js +0 -29
- package/dist/src/upgradePriceFrom2To4DecimalPlaces.js.map +0 -1
- package/dist/src/webshops/Cart.d.ts +0 -26
- package/dist/src/webshops/Cart.d.ts.map +0 -1
- package/dist/src/webshops/Cart.js +0 -185
- package/dist/src/webshops/Cart.js.map +0 -1
- package/dist/src/webshops/CartItem.d.ts +0 -152
- package/dist/src/webshops/CartItem.d.ts.map +0 -1
- package/dist/src/webshops/CartItem.js +0 -822
- package/dist/src/webshops/CartItem.js.map +0 -1
- package/dist/src/webshops/CartItem.test.d.ts +0 -2
- package/dist/src/webshops/CartItem.test.d.ts.map +0 -1
- package/dist/src/webshops/CartItem.test.js +0 -59
- package/dist/src/webshops/CartItem.test.js.map +0 -1
- package/dist/src/webshops/CartStockHelper.d.ts +0 -53
- package/dist/src/webshops/CartStockHelper.d.ts.map +0 -1
- package/dist/src/webshops/CartStockHelper.js +0 -439
- package/dist/src/webshops/CartStockHelper.js.map +0 -1
- package/dist/src/webshops/Category.d.ts.map +0 -1
- package/dist/src/webshops/Category.js +0 -32
- package/dist/src/webshops/Category.js.map +0 -1
- package/dist/src/webshops/Checkout.d.ts +0 -82
- package/dist/src/webshops/Checkout.d.ts.map +0 -1
- package/dist/src/webshops/Checkout.js +0 -562
- package/dist/src/webshops/Checkout.js.map +0 -1
- package/dist/src/webshops/Customer.d.ts.map +0 -1
- package/dist/src/webshops/Customer.js +0 -46
- package/dist/src/webshops/Customer.js.map +0 -1
- package/dist/src/webshops/Discount.d.ts +0 -146
- package/dist/src/webshops/Discount.d.ts.map +0 -1
- package/dist/src/webshops/Discount.js +0 -609
- package/dist/src/webshops/Discount.js.map +0 -1
- package/dist/src/webshops/DiscountCode.d.ts.map +0 -1
- package/dist/src/webshops/DiscountCode.js +0 -52
- package/dist/src/webshops/DiscountCode.js.map +0 -1
- package/dist/src/webshops/Order.d.ts +0 -108
- package/dist/src/webshops/Order.d.ts.map +0 -1
- package/dist/src/webshops/Order.js +0 -550
- package/dist/src/webshops/Order.js.map +0 -1
- package/dist/src/webshops/Product.d.ts +0 -163
- package/dist/src/webshops/Product.d.ts.map +0 -1
- package/dist/src/webshops/Product.js +0 -540
- package/dist/src/webshops/Product.js.map +0 -1
- package/dist/src/webshops/Ticket.d.ts +0 -75
- package/dist/src/webshops/Ticket.d.ts.map +0 -1
- package/dist/src/webshops/Ticket.js +0 -248
- package/dist/src/webshops/Ticket.js.map +0 -1
- package/dist/src/webshops/TransferSettings.d.ts +0 -27
- package/dist/src/webshops/TransferSettings.d.ts.map +0 -1
- package/dist/src/webshops/TransferSettings.js +0 -146
- package/dist/src/webshops/TransferSettings.js.map +0 -1
- package/dist/src/webshops/UitpasNumberAndPrice.d.ts.map +0 -1
- package/dist/src/webshops/UitpasNumberAndPrice.js +0 -24
- package/dist/src/webshops/UitpasNumberAndPrice.js.map +0 -1
- package/dist/src/webshops/Webshop.d.ts +0 -89
- package/dist/src/webshops/Webshop.d.ts.map +0 -1
- package/dist/src/webshops/Webshop.js +0 -327
- package/dist/src/webshops/Webshop.js.map +0 -1
- package/dist/src/webshops/WebshopField.d.ts.map +0 -1
- package/dist/src/webshops/WebshopField.js +0 -56
- package/dist/src/webshops/WebshopField.js.map +0 -1
- package/dist/src/webshops/WebshopMetaData.d.ts +0 -267
- package/dist/src/webshops/WebshopMetaData.d.ts.map +0 -1
- package/dist/src/webshops/WebshopMetaData.js +0 -770
- package/dist/src/webshops/WebshopMetaData.js.map +0 -1
- package/dist/tests/jest.global.setup.d.ts +0 -3
- package/dist/tests/jest.global.setup.d.ts.map +0 -1
- package/dist/tests/jest.global.setup.js +0 -7
- package/dist/tests/jest.global.setup.js.map +0 -1
- package/dist/tests/jest.setup.d.ts +0 -2
- package/dist/tests/jest.setup.d.ts.map +0 -1
- package/dist/tests/jest.setup.js +0 -9
- package/dist/tests/jest.setup.js.map +0 -1
- package/esm/dist/index.d.ts +0 -195
- package/esm/dist/index.d.ts.map +0 -1
- package/esm/dist/index.js +0 -227
- package/esm/dist/index.js.map +0 -1
- package/esm/dist/src/AccessRight.d.ts +0 -51
- package/esm/dist/src/AccessRight.d.ts.map +0 -1
- package/esm/dist/src/AccessRight.js.map +0 -1
- package/esm/dist/src/AppType.d.ts +0 -13
- package/esm/dist/src/AppType.d.ts.map +0 -1
- package/esm/dist/src/AppType.js.map +0 -1
- package/esm/dist/src/AppliedRegistrationDiscount.d.ts +0 -15
- package/esm/dist/src/AppliedRegistrationDiscount.d.ts.map +0 -1
- package/esm/dist/src/AppliedRegistrationDiscount.js +0 -22
- package/esm/dist/src/AppliedRegistrationDiscount.js.map +0 -1
- package/esm/dist/src/AuditLog.d.ts +0 -124
- package/esm/dist/src/AuditLog.d.ts.map +0 -1
- package/esm/dist/src/AuditLog.js +0 -727
- package/esm/dist/src/AuditLog.js.map +0 -1
- package/esm/dist/src/AuditLogRenderer.d.ts +0 -12
- package/esm/dist/src/AuditLogRenderer.d.ts.map +0 -1
- package/esm/dist/src/AuditLogRenderer.js +0 -144
- package/esm/dist/src/AuditLogRenderer.js.map +0 -1
- package/esm/dist/src/AuditLogReplacement.d.ts +0 -68
- package/esm/dist/src/AuditLogReplacement.d.ts.map +0 -1
- package/esm/dist/src/AuditLogReplacement.js +0 -227
- package/esm/dist/src/AuditLogReplacement.js.map +0 -1
- package/esm/dist/src/BalanceItem.d.ts +0 -275
- package/esm/dist/src/BalanceItem.d.ts.map +0 -1
- package/esm/dist/src/BalanceItem.js +0 -938
- package/esm/dist/src/BalanceItem.js.map +0 -1
- package/esm/dist/src/BalanceItemDetailed.d.ts +0 -36
- package/esm/dist/src/BalanceItemDetailed.d.ts.map +0 -1
- package/esm/dist/src/BalanceItemDetailed.js +0 -67
- package/esm/dist/src/BalanceItemDetailed.js.map +0 -1
- package/esm/dist/src/BundleDiscount.d.ts +0 -79
- package/esm/dist/src/BundleDiscount.d.ts.map +0 -1
- package/esm/dist/src/BundleDiscount.js +0 -331
- package/esm/dist/src/BundleDiscount.js.map +0 -1
- package/esm/dist/src/BundleDiscountGroupPriceSettings.d.ts +0 -15
- package/esm/dist/src/BundleDiscountGroupPriceSettings.d.ts.map +0 -1
- package/esm/dist/src/BundleDiscountGroupPriceSettings.js +0 -25
- package/esm/dist/src/BundleDiscountGroupPriceSettings.js.map +0 -1
- package/esm/dist/src/Company.d.ts +0 -16
- package/esm/dist/src/Company.d.ts.map +0 -1
- package/esm/dist/src/Company.js +0 -62
- package/esm/dist/src/Company.js.map +0 -1
- package/esm/dist/src/DNSRecord.d.ts +0 -23
- package/esm/dist/src/DNSRecord.d.ts.map +0 -1
- package/esm/dist/src/DNSRecord.js +0 -52
- package/esm/dist/src/DNSRecord.js.map +0 -1
- package/esm/dist/src/DefaultAgeGroup.d.ts +0 -22
- package/esm/dist/src/DefaultAgeGroup.d.ts.map +0 -1
- package/esm/dist/src/DefaultAgeGroup.js +0 -65
- package/esm/dist/src/DefaultAgeGroup.js.map +0 -1
- package/esm/dist/src/Document.d.ts +0 -120
- package/esm/dist/src/Document.d.ts.map +0 -1
- package/esm/dist/src/Document.js +0 -395
- package/esm/dist/src/Document.js.map +0 -1
- package/esm/dist/src/Event.d.ts +0 -69
- package/esm/dist/src/Event.d.ts.map +0 -1
- package/esm/dist/src/Event.js +0 -185
- package/esm/dist/src/Event.js.map +0 -1
- package/esm/dist/src/EventNotification.d.ts +0 -37
- package/esm/dist/src/EventNotification.d.ts.map +0 -1
- package/esm/dist/src/EventNotification.js +0 -103
- package/esm/dist/src/EventNotification.js.map +0 -1
- package/esm/dist/src/EventNotificationStatus.d.ts +0 -11
- package/esm/dist/src/EventNotificationStatus.d.ts.map +0 -1
- package/esm/dist/src/EventNotificationStatus.js.map +0 -1
- package/esm/dist/src/EventNotificationType.d.ts +0 -56
- package/esm/dist/src/EventNotificationType.d.ts.map +0 -1
- package/esm/dist/src/EventNotificationType.js +0 -110
- package/esm/dist/src/EventNotificationType.js.map +0 -1
- package/esm/dist/src/GenericBalance.d.ts +0 -12
- package/esm/dist/src/GenericBalance.d.ts.map +0 -1
- package/esm/dist/src/GenericBalance.js +0 -32
- package/esm/dist/src/GenericBalance.js.map +0 -1
- package/esm/dist/src/Graph.d.ts +0 -10
- package/esm/dist/src/Graph.d.ts.map +0 -1
- package/esm/dist/src/Graph.js +0 -29
- package/esm/dist/src/Graph.js.map +0 -1
- package/esm/dist/src/Group.d.ts +0 -81
- package/esm/dist/src/Group.d.ts.map +0 -1
- package/esm/dist/src/Group.js +0 -416
- package/esm/dist/src/Group.js.map +0 -1
- package/esm/dist/src/GroupCategory.d.ts +0 -84
- package/esm/dist/src/GroupCategory.d.ts.map +0 -1
- package/esm/dist/src/GroupCategory.js +0 -287
- package/esm/dist/src/GroupCategory.js.map +0 -1
- package/esm/dist/src/GroupGenderType.d.ts +0 -6
- package/esm/dist/src/GroupGenderType.d.ts.map +0 -1
- package/esm/dist/src/GroupGenderType.js.map +0 -1
- package/esm/dist/src/GroupPriceDiscount.d.ts +0 -15
- package/esm/dist/src/GroupPriceDiscount.d.ts.map +0 -1
- package/esm/dist/src/GroupPriceDiscount.js +0 -61
- package/esm/dist/src/GroupPriceDiscount.js.map +0 -1
- package/esm/dist/src/GroupPrivateSettings.d.ts +0 -13
- package/esm/dist/src/GroupPrivateSettings.d.ts.map +0 -1
- package/esm/dist/src/GroupPrivateSettings.js +0 -26
- package/esm/dist/src/GroupPrivateSettings.js.map +0 -1
- package/esm/dist/src/GroupSettings.d.ts +0 -306
- package/esm/dist/src/GroupSettings.d.ts.map +0 -1
- package/esm/dist/src/GroupSettings.js +0 -900
- package/esm/dist/src/GroupSettings.js.map +0 -1
- package/esm/dist/src/GroupType.d.ts +0 -16
- package/esm/dist/src/GroupType.d.ts.map +0 -1
- package/esm/dist/src/GroupType.js.map +0 -1
- package/esm/dist/src/I18nInterface.d.ts +0 -10
- package/esm/dist/src/I18nInterface.d.ts.map +0 -1
- package/esm/dist/src/I18nInterface.js.map +0 -1
- package/esm/dist/src/Language.d.ts +0 -13
- package/esm/dist/src/Language.d.ts.map +0 -1
- package/esm/dist/src/Language.js +0 -36
- package/esm/dist/src/Language.js.map +0 -1
- package/esm/dist/src/LoadedPermissions.d.ts +0 -46
- package/esm/dist/src/LoadedPermissions.d.ts.map +0 -1
- package/esm/dist/src/LoadedPermissions.js +0 -320
- package/esm/dist/src/LoadedPermissions.js.map +0 -1
- package/esm/dist/src/LoginMethod.d.ts +0 -34
- package/esm/dist/src/LoginMethod.d.ts.map +0 -1
- package/esm/dist/src/LoginMethod.js +0 -75
- package/esm/dist/src/LoginMethod.js.map +0 -1
- package/esm/dist/src/MemberAdmin.d.ts +0 -12
- package/esm/dist/src/MemberAdmin.d.ts.map +0 -1
- package/esm/dist/src/MemberAdmin.js +0 -43
- package/esm/dist/src/MemberAdmin.js.map +0 -1
- package/esm/dist/src/MemberResponsibility.d.ts +0 -38
- package/esm/dist/src/MemberResponsibility.d.ts.map +0 -1
- package/esm/dist/src/MemberResponsibility.js +0 -105
- package/esm/dist/src/MemberResponsibility.js.map +0 -1
- package/esm/dist/src/OldGroupPrices.d.ts +0 -44
- package/esm/dist/src/OldGroupPrices.d.ts.map +0 -1
- package/esm/dist/src/OldGroupPrices.js +0 -121
- package/esm/dist/src/OldGroupPrices.js.map +0 -1
- package/esm/dist/src/OpenID.d.ts +0 -34
- package/esm/dist/src/OpenID.d.ts.map +0 -1
- package/esm/dist/src/OpenID.js +0 -71
- package/esm/dist/src/OpenID.js.map +0 -1
- package/esm/dist/src/Organization.d.ts +0 -147
- package/esm/dist/src/Organization.d.ts.map +0 -1
- package/esm/dist/src/Organization.js +0 -311
- package/esm/dist/src/Organization.js.map +0 -1
- package/esm/dist/src/OrganizationEmail.d.ts +0 -19
- package/esm/dist/src/OrganizationEmail.d.ts.map +0 -1
- package/esm/dist/src/OrganizationEmail.js +0 -42
- package/esm/dist/src/OrganizationEmail.js.map +0 -1
- package/esm/dist/src/OrganizationGenderType.d.ts +0 -7
- package/esm/dist/src/OrganizationGenderType.d.ts.map +0 -1
- package/esm/dist/src/OrganizationGenderType.js.map +0 -1
- package/esm/dist/src/OrganizationLevelRecordsConfiguration.d.ts +0 -8
- package/esm/dist/src/OrganizationLevelRecordsConfiguration.d.ts.map +0 -1
- package/esm/dist/src/OrganizationLevelRecordsConfiguration.js +0 -16
- package/esm/dist/src/OrganizationLevelRecordsConfiguration.js.map +0 -1
- package/esm/dist/src/OrganizationMetaData.d.ts +0 -192
- package/esm/dist/src/OrganizationMetaData.d.ts.map +0 -1
- package/esm/dist/src/OrganizationMetaData.js +0 -516
- package/esm/dist/src/OrganizationMetaData.js.map +0 -1
- package/esm/dist/src/OrganizationPrivateMetaData.d.ts +0 -159
- package/esm/dist/src/OrganizationPrivateMetaData.d.ts.map +0 -1
- package/esm/dist/src/OrganizationPrivateMetaData.js +0 -384
- package/esm/dist/src/OrganizationPrivateMetaData.js.map +0 -1
- package/esm/dist/src/OrganizationSimple.d.ts +0 -12
- package/esm/dist/src/OrganizationSimple.d.ts.map +0 -1
- package/esm/dist/src/OrganizationSimple.js +0 -22
- package/esm/dist/src/OrganizationSimple.js.map +0 -1
- package/esm/dist/src/OrganizationType.d.ts +0 -52
- package/esm/dist/src/OrganizationType.d.ts.map +0 -1
- package/esm/dist/src/OrganizationType.js +0 -380
- package/esm/dist/src/OrganizationType.js.map +0 -1
- package/esm/dist/src/PaymentConfiguration.d.ts +0 -67
- package/esm/dist/src/PaymentConfiguration.d.ts.map +0 -1
- package/esm/dist/src/PaymentConfiguration.js +0 -178
- package/esm/dist/src/PaymentConfiguration.js.map +0 -1
- package/esm/dist/src/PaymentCustomer.d.ts +0 -20
- package/esm/dist/src/PaymentCustomer.d.ts.map +0 -1
- package/esm/dist/src/PaymentCustomer.js +0 -77
- package/esm/dist/src/PaymentCustomer.js.map +0 -1
- package/esm/dist/src/PaymentMandate.d.ts +0 -13
- package/esm/dist/src/PaymentMandate.d.ts.map +0 -1
- package/esm/dist/src/PaymentMandate.js +0 -4
- package/esm/dist/src/PaymentMandate.js.map +0 -1
- package/esm/dist/src/PaymentMethod.d.ts +0 -30
- package/esm/dist/src/PaymentMethod.d.ts.map +0 -1
- package/esm/dist/src/PaymentMethod.js.map +0 -1
- package/esm/dist/src/PaymentProvider.d.ts +0 -7
- package/esm/dist/src/PaymentProvider.d.ts.map +0 -1
- package/esm/dist/src/PaymentProvider.js.map +0 -1
- package/esm/dist/src/PaymentStatus.d.ts +0 -11
- package/esm/dist/src/PaymentStatus.d.ts.map +0 -1
- package/esm/dist/src/PaymentStatus.js.map +0 -1
- package/esm/dist/src/PaymentType.d.ts +0 -37
- package/esm/dist/src/PaymentType.d.ts.map +0 -1
- package/esm/dist/src/PaymentType.js.map +0 -1
- package/esm/dist/src/PermissionLevel.d.ts +0 -19
- package/esm/dist/src/PermissionLevel.d.ts.map +0 -1
- package/esm/dist/src/PermissionLevel.js.map +0 -1
- package/esm/dist/src/PermissionRole.d.ts +0 -50
- package/esm/dist/src/PermissionRole.d.ts.map +0 -1
- package/esm/dist/src/PermissionRole.js +0 -246
- package/esm/dist/src/PermissionRole.js.map +0 -1
- package/esm/dist/src/Permissions.d.ts +0 -33
- package/esm/dist/src/Permissions.d.ts.map +0 -1
- package/esm/dist/src/Permissions.js +0 -80
- package/esm/dist/src/Permissions.js.map +0 -1
- package/esm/dist/src/PermissionsByRole.d.ts +0 -19
- package/esm/dist/src/PermissionsByRole.d.ts.map +0 -1
- package/esm/dist/src/PermissionsByRole.js +0 -51
- package/esm/dist/src/PermissionsByRole.js.map +0 -1
- package/esm/dist/src/PermissionsResourceType.d.ts +0 -22
- package/esm/dist/src/PermissionsResourceType.d.ts.map +0 -1
- package/esm/dist/src/PermissionsResourceType.js.map +0 -1
- package/esm/dist/src/Platform.d.ts +0 -209
- package/esm/dist/src/Platform.d.ts.map +0 -1
- package/esm/dist/src/Platform.js +0 -619
- package/esm/dist/src/Platform.js.map +0 -1
- package/esm/dist/src/PlatformServerConfig.d.ts +0 -7
- package/esm/dist/src/PlatformServerConfig.d.ts.map +0 -1
- package/esm/dist/src/PlatformServerConfig.js +0 -17
- package/esm/dist/src/PlatformServerConfig.js.map +0 -1
- package/esm/dist/src/Policy.d.ts +0 -13
- package/esm/dist/src/Policy.d.ts.map +0 -1
- package/esm/dist/src/Policy.js +0 -35
- package/esm/dist/src/Policy.js.map +0 -1
- package/esm/dist/src/PriceBreakdown.d.ts +0 -11
- package/esm/dist/src/PriceBreakdown.d.ts.map +0 -1
- package/esm/dist/src/PriceBreakdown.js.map +0 -1
- package/esm/dist/src/ReceivableBalance.d.ts +0 -58
- package/esm/dist/src/ReceivableBalance.d.ts.map +0 -1
- package/esm/dist/src/ReceivableBalance.js +0 -145
- package/esm/dist/src/ReceivableBalance.js.map +0 -1
- package/esm/dist/src/ReduceablePrice.d.ts +0 -9
- package/esm/dist/src/ReduceablePrice.d.ts.map +0 -1
- package/esm/dist/src/ReduceablePrice.js +0 -28
- package/esm/dist/src/ReduceablePrice.js.map +0 -1
- package/esm/dist/src/RegisterCodeStatus.d.ts +0 -21
- package/esm/dist/src/RegisterCodeStatus.d.ts.map +0 -1
- package/esm/dist/src/RegisterCodeStatus.js +0 -68
- package/esm/dist/src/RegisterCodeStatus.js.map +0 -1
- package/esm/dist/src/RegistrationPeriod.d.ts +0 -66
- package/esm/dist/src/RegistrationPeriod.d.ts.map +0 -1
- package/esm/dist/src/RegistrationPeriod.js +0 -221
- package/esm/dist/src/RegistrationPeriod.js.map +0 -1
- package/esm/dist/src/RegistrationPeriodBase.d.ts +0 -14
- package/esm/dist/src/RegistrationPeriodBase.d.ts.map +0 -1
- package/esm/dist/src/RegistrationPeriodBase.js +0 -52
- package/esm/dist/src/RegistrationPeriodBase.js.map +0 -1
- package/esm/dist/src/ResourcePermissions.d.ts +0 -40
- package/esm/dist/src/ResourcePermissions.d.ts.map +0 -1
- package/esm/dist/src/ResourcePermissions.js +0 -140
- package/esm/dist/src/ResourcePermissions.js.map +0 -1
- package/esm/dist/src/RichText.d.ts +0 -8
- package/esm/dist/src/RichText.d.ts.map +0 -1
- package/esm/dist/src/RichText.js +0 -22
- package/esm/dist/src/RichText.js.map +0 -1
- package/esm/dist/src/SeatingPlan.d.ts +0 -148
- package/esm/dist/src/SeatingPlan.d.ts.map +0 -1
- package/esm/dist/src/SeatingPlan.js +0 -641
- package/esm/dist/src/SeatingPlan.js.map +0 -1
- package/esm/dist/src/SetupStepReview.d.ts +0 -8
- package/esm/dist/src/SetupStepReview.d.ts.map +0 -1
- package/esm/dist/src/SetupStepReview.js +0 -17
- package/esm/dist/src/SetupStepReview.js.map +0 -1
- package/esm/dist/src/SetupStepType.d.ts +0 -11
- package/esm/dist/src/SetupStepType.d.ts.map +0 -1
- package/esm/dist/src/SetupStepType.js.map +0 -1
- package/esm/dist/src/SetupSteps.d.ts +0 -62
- package/esm/dist/src/SetupSteps.d.ts.map +0 -1
- package/esm/dist/src/SetupSteps.js +0 -184
- package/esm/dist/src/SetupSteps.js.map +0 -1
- package/esm/dist/src/SponsorConfig.d.ts +0 -14
- package/esm/dist/src/SponsorConfig.d.ts.map +0 -1
- package/esm/dist/src/SponsorConfig.js +0 -42
- package/esm/dist/src/SponsorConfig.js.map +0 -1
- package/esm/dist/src/StockReservation.d.ts +0 -20
- package/esm/dist/src/StockReservation.d.ts.map +0 -1
- package/esm/dist/src/StockReservation.js +0 -84
- package/esm/dist/src/StockReservation.js.map +0 -1
- package/esm/dist/src/StripeAccount.d.ts +0 -57
- package/esm/dist/src/StripeAccount.d.ts.map +0 -1
- package/esm/dist/src/StripeAccount.js +0 -299
- package/esm/dist/src/StripeAccount.js.map +0 -1
- package/esm/dist/src/Token.d.ts +0 -19
- package/esm/dist/src/Token.d.ts.map +0 -1
- package/esm/dist/src/Token.js +0 -34
- package/esm/dist/src/Token.js.map +0 -1
- package/esm/dist/src/TranslatedString.d.ts +0 -80
- package/esm/dist/src/TranslatedString.d.ts.map +0 -1
- package/esm/dist/src/TranslatedString.js +0 -302
- package/esm/dist/src/TranslatedString.js.map +0 -1
- package/esm/dist/src/UitpasClientCredentialsStatus.d.ts +0 -13
- package/esm/dist/src/UitpasClientCredentialsStatus.d.ts.map +0 -1
- package/esm/dist/src/UitpasClientCredentialsStatus.js.map +0 -1
- package/esm/dist/src/UmbrellaOrganization.d.ts +0 -18
- package/esm/dist/src/UmbrellaOrganization.d.ts.map +0 -1
- package/esm/dist/src/UmbrellaOrganization.js.map +0 -1
- package/esm/dist/src/User.d.ts +0 -67
- package/esm/dist/src/User.d.ts.map +0 -1
- package/esm/dist/src/User.js +0 -187
- package/esm/dist/src/User.js.map +0 -1
- package/esm/dist/src/UserPermissions.d.ts +0 -33
- package/esm/dist/src/UserPermissions.d.ts.map +0 -1
- package/esm/dist/src/UserPermissions.js +0 -213
- package/esm/dist/src/UserPermissions.js.map +0 -1
- package/esm/dist/src/UserWithMembers.d.ts +0 -6
- package/esm/dist/src/UserWithMembers.d.ts.map +0 -1
- package/esm/dist/src/UserWithMembers.js +0 -14
- package/esm/dist/src/UserWithMembers.js.map +0 -1
- package/esm/dist/src/Version.d.ts +0 -8
- package/esm/dist/src/Version.d.ts.map +0 -1
- package/esm/dist/src/Version.js +0 -21
- package/esm/dist/src/Version.js.map +0 -1
- package/esm/dist/src/addresses/Address.d.ts +0 -41
- package/esm/dist/src/addresses/Address.d.ts.map +0 -1
- package/esm/dist/src/addresses/Address.js +0 -241
- package/esm/dist/src/addresses/Address.js.map +0 -1
- package/esm/dist/src/addresses/City.d.ts +0 -11
- package/esm/dist/src/addresses/City.d.ts.map +0 -1
- package/esm/dist/src/addresses/City.js +0 -26
- package/esm/dist/src/addresses/City.js.map +0 -1
- package/esm/dist/src/addresses/CountryDecoder.d.ts +0 -32
- package/esm/dist/src/addresses/CountryDecoder.d.ts.map +0 -1
- package/esm/dist/src/addresses/CountryDecoder.js +0 -57
- package/esm/dist/src/addresses/CountryDecoder.js.map +0 -1
- package/esm/dist/src/addresses/Premise.d.ts +0 -12
- package/esm/dist/src/addresses/Premise.d.ts.map +0 -1
- package/esm/dist/src/addresses/Premise.js +0 -32
- package/esm/dist/src/addresses/Premise.js.map +0 -1
- package/esm/dist/src/addresses/Province.d.ts +0 -8
- package/esm/dist/src/addresses/Province.d.ts.map +0 -1
- package/esm/dist/src/addresses/Province.js +0 -15
- package/esm/dist/src/addresses/Province.js.map +0 -1
- package/esm/dist/src/addresses/SearchRegions.d.ts +0 -10
- package/esm/dist/src/addresses/SearchRegions.d.ts.map +0 -1
- package/esm/dist/src/addresses/SearchRegions.js +0 -23
- package/esm/dist/src/addresses/SearchRegions.js.map +0 -1
- package/esm/dist/src/admin/MemberSummary.d.ts +0 -24
- package/esm/dist/src/admin/MemberSummary.d.ts.map +0 -1
- package/esm/dist/src/admin/MemberSummary.js +0 -120
- package/esm/dist/src/admin/MemberSummary.js.map +0 -1
- package/esm/dist/src/admin/StripePayoutExport.d.ts +0 -50
- package/esm/dist/src/admin/StripePayoutExport.d.ts.map +0 -1
- package/esm/dist/src/admin/StripePayoutExport.js +0 -158
- package/esm/dist/src/admin/StripePayoutExport.js.map +0 -1
- package/esm/dist/src/billing/Invoice.d.ts +0 -141
- package/esm/dist/src/billing/Invoice.d.ts.map +0 -1
- package/esm/dist/src/billing/Invoice.js +0 -427
- package/esm/dist/src/billing/Invoice.js.map +0 -1
- package/esm/dist/src/billing/InvoicedBalanceItem.d.ts +0 -73
- package/esm/dist/src/billing/InvoicedBalanceItem.d.ts.map +0 -1
- package/esm/dist/src/billing/InvoicedBalanceItem.js +0 -178
- package/esm/dist/src/billing/InvoicedBalanceItem.js.map +0 -1
- package/esm/dist/src/billing/OrganizationPackagesStatus.d.ts +0 -6
- package/esm/dist/src/billing/OrganizationPackagesStatus.d.ts.map +0 -1
- package/esm/dist/src/billing/OrganizationPackagesStatus.js +0 -9
- package/esm/dist/src/billing/OrganizationPackagesStatus.js.map +0 -1
- package/esm/dist/src/billing/OrganizationPaymentMandate.d.ts +0 -25
- package/esm/dist/src/billing/OrganizationPaymentMandate.d.ts.map +0 -1
- package/esm/dist/src/billing/OrganizationPaymentMandate.js +0 -60
- package/esm/dist/src/billing/OrganizationPaymentMandate.js.map +0 -1
- package/esm/dist/src/billing/STBillingStatus.d.ts +0 -14
- package/esm/dist/src/billing/STBillingStatus.d.ts.map +0 -1
- package/esm/dist/src/billing/STBillingStatus.js +0 -29
- package/esm/dist/src/billing/STBillingStatus.js.map +0 -1
- package/esm/dist/src/billing/STCredit.d.ts +0 -14
- package/esm/dist/src/billing/STCredit.d.ts.map +0 -1
- package/esm/dist/src/billing/STCredit.js +0 -50
- package/esm/dist/src/billing/STCredit.js.map +0 -1
- package/esm/dist/src/billing/STInvoice.d.ts +0 -21
- package/esm/dist/src/billing/STInvoice.d.ts.map +0 -1
- package/esm/dist/src/billing/STInvoice.js +0 -48
- package/esm/dist/src/billing/STInvoice.js.map +0 -1
- package/esm/dist/src/billing/STInvoiceItem.d.ts +0 -32
- package/esm/dist/src/billing/STInvoiceItem.d.ts.map +0 -1
- package/esm/dist/src/billing/STInvoiceItem.js +0 -165
- package/esm/dist/src/billing/STInvoiceItem.js.map +0 -1
- package/esm/dist/src/billing/STInvoiceMeta.d.ts +0 -63
- package/esm/dist/src/billing/STInvoiceMeta.d.ts.map +0 -1
- package/esm/dist/src/billing/STInvoiceMeta.js +0 -148
- package/esm/dist/src/billing/STInvoiceMeta.js.map +0 -1
- package/esm/dist/src/billing/STInvoicePrivate.d.ts +0 -10
- package/esm/dist/src/billing/STInvoicePrivate.d.ts.map +0 -1
- package/esm/dist/src/billing/STInvoicePrivate.js +0 -47
- package/esm/dist/src/billing/STInvoicePrivate.js.map +0 -1
- package/esm/dist/src/billing/STInvoiceStatus.d.ts +0 -7
- package/esm/dist/src/billing/STInvoiceStatus.d.ts.map +0 -1
- package/esm/dist/src/billing/STInvoiceStatus.js.map +0 -1
- package/esm/dist/src/billing/STPackage.d.ts +0 -132
- package/esm/dist/src/billing/STPackage.d.ts.map +0 -1
- package/esm/dist/src/billing/STPackage.js +0 -456
- package/esm/dist/src/billing/STPackage.js.map +0 -1
- package/esm/dist/src/billing/STPackageBundle.d.ts +0 -29
- package/esm/dist/src/billing/STPackageBundle.d.ts.map +0 -1
- package/esm/dist/src/billing/STPackageBundle.js +0 -244
- package/esm/dist/src/billing/STPackageBundle.js.map +0 -1
- package/esm/dist/src/billing/STPendingInvoice.d.ts +0 -15
- package/esm/dist/src/billing/STPendingInvoice.d.ts.map +0 -1
- package/esm/dist/src/billing/STPendingInvoice.js +0 -35
- package/esm/dist/src/billing/STPendingInvoice.js.map +0 -1
- package/esm/dist/src/billing/index.d.ts +0 -17
- package/esm/dist/src/billing/index.d.ts.map +0 -1
- package/esm/dist/src/billing/index.js.map +0 -1
- package/esm/dist/src/checkout/CheckoutResponse.d.ts +0 -28
- package/esm/dist/src/checkout/CheckoutResponse.d.ts.map +0 -1
- package/esm/dist/src/checkout/CheckoutResponse.js +0 -44
- package/esm/dist/src/checkout/CheckoutResponse.js.map +0 -1
- package/esm/dist/src/checkout/Checkoutable.d.ts +0 -66
- package/esm/dist/src/checkout/Checkoutable.d.ts.map +0 -1
- package/esm/dist/src/checkout/Checkoutable.js +0 -93
- package/esm/dist/src/checkout/Checkoutable.js.map +0 -1
- package/esm/dist/src/checkout/PackageCheckout.d.ts +0 -17
- package/esm/dist/src/checkout/PackageCheckout.d.ts.map +0 -1
- package/esm/dist/src/checkout/PackageCheckout.js +0 -29
- package/esm/dist/src/checkout/PackageCheckout.js.map +0 -1
- package/esm/dist/src/checkout/index.d.ts +0 -4
- package/esm/dist/src/checkout/index.d.ts.map +0 -1
- package/esm/dist/src/checkout/index.js.map +0 -1
- package/esm/dist/src/circular-dependencies/AuditLogReplacementDependencies.d.ts +0 -2
- package/esm/dist/src/circular-dependencies/AuditLogReplacementDependencies.d.ts.map +0 -1
- package/esm/dist/src/circular-dependencies/AuditLogReplacementDependencies.js.map +0 -1
- package/esm/dist/src/circular-dependencies/ExampleReplacementsDependencies.d.ts +0 -2
- package/esm/dist/src/circular-dependencies/ExampleReplacementsDependencies.d.ts.map +0 -1
- package/esm/dist/src/circular-dependencies/ExampleReplacementsDependencies.js +0 -192
- package/esm/dist/src/circular-dependencies/ExampleReplacementsDependencies.js.map +0 -1
- package/esm/dist/src/data/audit-log-words.d.ts +0 -180
- package/esm/dist/src/data/audit-log-words.d.ts.map +0 -1
- package/esm/dist/src/data/audit-log-words.js.map +0 -1
- package/esm/dist/src/email/EditorSmartButton.d.ts +0 -13
- package/esm/dist/src/email/EditorSmartButton.d.ts.map +0 -1
- package/esm/dist/src/email/EditorSmartButton.js +0 -86
- package/esm/dist/src/email/EditorSmartButton.js.map +0 -1
- package/esm/dist/src/email/EditorSmartVariable.d.ts +0 -22
- package/esm/dist/src/email/EditorSmartVariable.d.ts.map +0 -1
- package/esm/dist/src/email/EditorSmartVariable.js +0 -302
- package/esm/dist/src/email/EditorSmartVariable.js.map +0 -1
- package/esm/dist/src/email/Email.d.ts +0 -145
- package/esm/dist/src/email/Email.d.ts.map +0 -1
- package/esm/dist/src/email/Email.js +0 -500
- package/esm/dist/src/email/Email.js.map +0 -1
- package/esm/dist/src/email/EmailAddressSettings.d.ts +0 -11
- package/esm/dist/src/email/EmailAddressSettings.d.ts.map +0 -1
- package/esm/dist/src/email/EmailAddressSettings.js +0 -30
- package/esm/dist/src/email/EmailAddressSettings.js.map +0 -1
- package/esm/dist/src/email/EmailTemplate.d.ts +0 -136
- package/esm/dist/src/email/EmailTemplate.d.ts.map +0 -1
- package/esm/dist/src/email/EmailTemplate.js +0 -657
- package/esm/dist/src/email/EmailTemplate.js.map +0 -1
- package/esm/dist/src/email/exampleReplacements.d.ts +0 -65
- package/esm/dist/src/email/exampleReplacements.d.ts.map +0 -1
- package/esm/dist/src/email/exampleReplacements.js +0 -288
- package/esm/dist/src/email/exampleReplacements.js.map +0 -1
- package/esm/dist/src/endpoints/ChargeMembershipsSummary.d.ts +0 -17
- package/esm/dist/src/endpoints/ChargeMembershipsSummary.d.ts.map +0 -1
- package/esm/dist/src/endpoints/ChargeMembershipsSummary.js +0 -60
- package/esm/dist/src/endpoints/ChargeMembershipsSummary.js.map +0 -1
- package/esm/dist/src/endpoints/ChargeRequest.d.ts +0 -11
- package/esm/dist/src/endpoints/ChargeRequest.d.ts.map +0 -1
- package/esm/dist/src/endpoints/ChargeRequest.js +0 -30
- package/esm/dist/src/endpoints/ChargeRequest.js.map +0 -1
- package/esm/dist/src/endpoints/CheckMollieResponse.d.ts +0 -8
- package/esm/dist/src/endpoints/CheckMollieResponse.d.ts.map +0 -1
- package/esm/dist/src/endpoints/CheckMollieResponse.js +0 -17
- package/esm/dist/src/endpoints/CheckMollieResponse.js.map +0 -1
- package/esm/dist/src/endpoints/CreateOrganization.d.ts +0 -12
- package/esm/dist/src/endpoints/CreateOrganization.d.ts.map +0 -1
- package/esm/dist/src/endpoints/CreateOrganization.js +0 -20
- package/esm/dist/src/endpoints/CreateOrganization.js.map +0 -1
- package/esm/dist/src/endpoints/EmailRequest.d.ts +0 -70
- package/esm/dist/src/endpoints/EmailRequest.d.ts.map +0 -1
- package/esm/dist/src/endpoints/EmailRequest.js +0 -235
- package/esm/dist/src/endpoints/EmailRequest.js.map +0 -1
- package/esm/dist/src/endpoints/ForgotPasswordRequest.d.ts +0 -5
- package/esm/dist/src/endpoints/ForgotPasswordRequest.d.ts.map +0 -1
- package/esm/dist/src/endpoints/ForgotPasswordRequest.js +0 -8
- package/esm/dist/src/endpoints/ForgotPasswordRequest.js.map +0 -1
- package/esm/dist/src/endpoints/OrganizationAdmins.d.ts +0 -6
- package/esm/dist/src/endpoints/OrganizationAdmins.d.ts.map +0 -1
- package/esm/dist/src/endpoints/OrganizationAdmins.js +0 -13
- package/esm/dist/src/endpoints/OrganizationAdmins.js.map +0 -1
- package/esm/dist/src/endpoints/OrganizationDomains.d.ts +0 -13
- package/esm/dist/src/endpoints/OrganizationDomains.d.ts.map +0 -1
- package/esm/dist/src/endpoints/OrganizationDomains.js +0 -26
- package/esm/dist/src/endpoints/OrganizationDomains.js.map +0 -1
- package/esm/dist/src/endpoints/PayableBalanceCollection.d.ts +0 -29
- package/esm/dist/src/endpoints/PayableBalanceCollection.d.ts.map +0 -1
- package/esm/dist/src/endpoints/PayableBalanceCollection.js +0 -74
- package/esm/dist/src/endpoints/PayableBalanceCollection.js.map +0 -1
- package/esm/dist/src/endpoints/RegisterMember.d.ts +0 -22
- package/esm/dist/src/endpoints/RegisterMember.d.ts.map +0 -1
- package/esm/dist/src/endpoints/RegisterMember.js +0 -39
- package/esm/dist/src/endpoints/RegisterMember.js.map +0 -1
- package/esm/dist/src/endpoints/RegisterResponse.d.ts +0 -15
- package/esm/dist/src/endpoints/RegisterResponse.d.ts.map +0 -1
- package/esm/dist/src/endpoints/RegisterResponse.js +0 -33
- package/esm/dist/src/endpoints/RegisterResponse.js.map +0 -1
- package/esm/dist/src/endpoints/SignupResponse.d.ts +0 -8
- package/esm/dist/src/endpoints/SignupResponse.d.ts.map +0 -1
- package/esm/dist/src/endpoints/SignupResponse.js +0 -8
- package/esm/dist/src/endpoints/SignupResponse.js.map +0 -1
- package/esm/dist/src/endpoints/UitpasClientIdAndSecret.d.ts +0 -7
- package/esm/dist/src/endpoints/UitpasClientIdAndSecret.d.ts.map +0 -1
- package/esm/dist/src/endpoints/UitpasClientIdAndSecret.js +0 -14
- package/esm/dist/src/endpoints/UitpasClientIdAndSecret.js.map +0 -1
- package/esm/dist/src/endpoints/UitpasEventsResponse.d.ts +0 -14
- package/esm/dist/src/endpoints/UitpasEventsResponse.d.ts.map +0 -1
- package/esm/dist/src/endpoints/UitpasEventsResponse.js +0 -36
- package/esm/dist/src/endpoints/UitpasEventsResponse.js.map +0 -1
- package/esm/dist/src/endpoints/UitpasNumbersGetDetailsRequest.d.ts +0 -10
- package/esm/dist/src/endpoints/UitpasNumbersGetDetailsRequest.d.ts.map +0 -1
- package/esm/dist/src/endpoints/UitpasNumbersGetDetailsRequest.js +0 -34
- package/esm/dist/src/endpoints/UitpasNumbersGetDetailsRequest.js.map +0 -1
- package/esm/dist/src/endpoints/UitpasOrganizersResponse.d.ts +0 -10
- package/esm/dist/src/endpoints/UitpasOrganizersResponse.d.ts.map +0 -1
- package/esm/dist/src/endpoints/UitpasOrganizersResponse.js +0 -19
- package/esm/dist/src/endpoints/UitpasOrganizersResponse.js.map +0 -1
- package/esm/dist/src/endpoints/UitpasPriceCheckRequest.d.ts +0 -15
- package/esm/dist/src/endpoints/UitpasPriceCheckRequest.d.ts.map +0 -1
- package/esm/dist/src/endpoints/UitpasPriceCheckRequest.js +0 -25
- package/esm/dist/src/endpoints/UitpasPriceCheckRequest.js.map +0 -1
- package/esm/dist/src/endpoints/UitpasSetClientCredentialsResponse.d.ts +0 -10
- package/esm/dist/src/endpoints/UitpasSetClientCredentialsResponse.d.ts.map +0 -1
- package/esm/dist/src/endpoints/UitpasSetClientCredentialsResponse.js +0 -17
- package/esm/dist/src/endpoints/UitpasSetClientCredentialsResponse.js.map +0 -1
- package/esm/dist/src/endpoints/VerifyEmailRequest.d.ts +0 -21
- package/esm/dist/src/endpoints/VerifyEmailRequest.d.ts.map +0 -1
- package/esm/dist/src/endpoints/VerifyEmailRequest.js +0 -21
- package/esm/dist/src/endpoints/VerifyEmailRequest.js.map +0 -1
- package/esm/dist/src/endpoints/WebshopOrdersQuery.d.ts +0 -22
- package/esm/dist/src/endpoints/WebshopOrdersQuery.d.ts.map +0 -1
- package/esm/dist/src/endpoints/WebshopOrdersQuery.js +0 -20
- package/esm/dist/src/endpoints/WebshopOrdersQuery.js.map +0 -1
- package/esm/dist/src/endpoints/WebshopTicketsQuery.d.ts +0 -13
- package/esm/dist/src/endpoints/WebshopTicketsQuery.d.ts.map +0 -1
- package/esm/dist/src/endpoints/WebshopTicketsQuery.js +0 -11
- package/esm/dist/src/endpoints/WebshopTicketsQuery.js.map +0 -1
- package/esm/dist/src/endpoints/WebshopUriAvailabilityResponse.d.ts +0 -5
- package/esm/dist/src/endpoints/WebshopUriAvailabilityResponse.d.ts.map +0 -1
- package/esm/dist/src/endpoints/WebshopUriAvailabilityResponse.js +0 -8
- package/esm/dist/src/endpoints/WebshopUriAvailabilityResponse.js.map +0 -1
- package/esm/dist/src/endpoints/tokens/ChallengeGrantStruct.d.ts +0 -9
- package/esm/dist/src/endpoints/tokens/ChallengeGrantStruct.d.ts.map +0 -1
- package/esm/dist/src/endpoints/tokens/ChallengeGrantStruct.js +0 -12
- package/esm/dist/src/endpoints/tokens/ChallengeGrantStruct.js.map +0 -1
- package/esm/dist/src/endpoints/tokens/CreateTokenStruct.d.ts +0 -10
- package/esm/dist/src/endpoints/tokens/CreateTokenStruct.d.ts.map +0 -1
- package/esm/dist/src/endpoints/tokens/CreateTokenStruct.js.map +0 -1
- package/esm/dist/src/endpoints/tokens/PasswordGrantStruct.d.ts +0 -8
- package/esm/dist/src/endpoints/tokens/PasswordGrantStruct.d.ts.map +0 -1
- package/esm/dist/src/endpoints/tokens/PasswordGrantStruct.js +0 -10
- package/esm/dist/src/endpoints/tokens/PasswordGrantStruct.js.map +0 -1
- package/esm/dist/src/endpoints/tokens/PasswordTokenGrantStruct.d.ts +0 -7
- package/esm/dist/src/endpoints/tokens/PasswordTokenGrantStruct.d.ts.map +0 -1
- package/esm/dist/src/endpoints/tokens/PasswordTokenGrantStruct.js +0 -9
- package/esm/dist/src/endpoints/tokens/PasswordTokenGrantStruct.js.map +0 -1
- package/esm/dist/src/endpoints/tokens/RefreshTokenGrantStruct.d.ts +0 -7
- package/esm/dist/src/endpoints/tokens/RefreshTokenGrantStruct.d.ts.map +0 -1
- package/esm/dist/src/endpoints/tokens/RefreshTokenGrantStruct.js +0 -10
- package/esm/dist/src/endpoints/tokens/RefreshTokenGrantStruct.js.map +0 -1
- package/esm/dist/src/endpoints/tokens/RequestChallengeGrantStruct.d.ts +0 -7
- package/esm/dist/src/endpoints/tokens/RequestChallengeGrantStruct.d.ts.map +0 -1
- package/esm/dist/src/endpoints/tokens/RequestChallengeGrantStruct.js +0 -10
- package/esm/dist/src/endpoints/tokens/RequestChallengeGrantStruct.js.map +0 -1
- package/esm/dist/src/files/File.d.ts +0 -61
- package/esm/dist/src/files/File.d.ts.map +0 -1
- package/esm/dist/src/files/File.js +0 -199
- package/esm/dist/src/files/File.js.map +0 -1
- package/esm/dist/src/files/Image.d.ts +0 -14
- package/esm/dist/src/files/Image.d.ts.map +0 -1
- package/esm/dist/src/files/Image.js +0 -75
- package/esm/dist/src/files/Image.js.map +0 -1
- package/esm/dist/src/files/Resolution.d.ts +0 -29
- package/esm/dist/src/files/Resolution.d.ts.map +0 -1
- package/esm/dist/src/files/Resolution.js +0 -23
- package/esm/dist/src/files/Resolution.js.map +0 -1
- package/esm/dist/src/files/ResolutionRequest.d.ts +0 -14
- package/esm/dist/src/files/ResolutionRequest.d.ts.map +0 -1
- package/esm/dist/src/files/ResolutionRequest.js +0 -28
- package/esm/dist/src/files/ResolutionRequest.js.map +0 -1
- package/esm/dist/src/filters/ExcelExportRequest.d.ts +0 -40
- package/esm/dist/src/filters/ExcelExportRequest.d.ts.map +0 -1
- package/esm/dist/src/filters/ExcelExportRequest.js +0 -80
- package/esm/dist/src/filters/ExcelExportRequest.js.map +0 -1
- package/esm/dist/src/filters/FilterCompilers.d.ts +0 -18
- package/esm/dist/src/filters/FilterCompilers.d.ts.map +0 -1
- package/esm/dist/src/filters/FilterCompilers.js.map +0 -1
- package/esm/dist/src/filters/FilteredRequest.d.ts +0 -47
- package/esm/dist/src/filters/FilteredRequest.d.ts.map +0 -1
- package/esm/dist/src/filters/FilteredRequest.js +0 -145
- package/esm/dist/src/filters/FilteredRequest.js.map +0 -1
- package/esm/dist/src/filters/InMemoryFilter.d.ts +0 -13
- package/esm/dist/src/filters/InMemoryFilter.d.ts.map +0 -1
- package/esm/dist/src/filters/InMemoryFilter.js.map +0 -1
- package/esm/dist/src/filters/InMemorySorter.d.ts +0 -12
- package/esm/dist/src/filters/InMemorySorter.d.ts.map +0 -1
- package/esm/dist/src/filters/InMemorySorter.js +0 -72
- package/esm/dist/src/filters/InMemorySorter.js.map +0 -1
- package/esm/dist/src/filters/PropertyFilter.d.ts +0 -28
- package/esm/dist/src/filters/PropertyFilter.d.ts.map +0 -1
- package/esm/dist/src/filters/PropertyFilter.js +0 -179
- package/esm/dist/src/filters/PropertyFilter.js.map +0 -1
- package/esm/dist/src/filters/SearchFilterFactory.d.ts +0 -12
- package/esm/dist/src/filters/SearchFilterFactory.d.ts.map +0 -1
- package/esm/dist/src/filters/SearchFilterFactory.js +0 -41
- package/esm/dist/src/filters/SearchFilterFactory.js.map +0 -1
- package/esm/dist/src/filters/SelectablePdfDocumentFilter.d.ts +0 -12
- package/esm/dist/src/filters/SelectablePdfDocumentFilter.d.ts.map +0 -1
- package/esm/dist/src/filters/SelectablePdfDocumentFilter.js +0 -29
- package/esm/dist/src/filters/SelectablePdfDocumentFilter.js.map +0 -1
- package/esm/dist/src/filters/SortList.d.ts +0 -20
- package/esm/dist/src/filters/SortList.d.ts.map +0 -1
- package/esm/dist/src/filters/SortList.js.map +0 -1
- package/esm/dist/src/filters/Sorters.d.ts +0 -8
- package/esm/dist/src/filters/Sorters.d.ts.map +0 -1
- package/esm/dist/src/filters/Sorters.js.map +0 -1
- package/esm/dist/src/filters/StamhoofdFilter.d.ts +0 -58
- package/esm/dist/src/filters/StamhoofdFilter.d.ts.map +0 -1
- package/esm/dist/src/filters/StamhoofdFilter.js +0 -243
- package/esm/dist/src/filters/StamhoofdFilter.js.map +0 -1
- package/esm/dist/src/filters/convertOldPropertyFilter.d.ts +0 -110
- package/esm/dist/src/filters/convertOldPropertyFilter.d.ts.map +0 -1
- package/esm/dist/src/filters/convertOldPropertyFilter.js +0 -871
- package/esm/dist/src/filters/convertOldPropertyFilter.js.map +0 -1
- package/esm/dist/src/filters/inMemoryFilterDefinitions.d.ts +0 -17
- package/esm/dist/src/filters/inMemoryFilterDefinitions.d.ts.map +0 -1
- package/esm/dist/src/filters/inMemoryFilterDefinitions.js +0 -145
- package/esm/dist/src/filters/inMemoryFilterDefinitions.js.map +0 -1
- package/esm/dist/src/filters/searchFilterFactories.d.ts +0 -4
- package/esm/dist/src/filters/searchFilterFactories.d.ts.map +0 -1
- package/esm/dist/src/filters/searchFilterFactories.js.map +0 -1
- package/esm/dist/src/getActivePeriods.d.ts +0 -4
- package/esm/dist/src/getActivePeriods.d.ts.map +0 -1
- package/esm/dist/src/getActivePeriods.js.map +0 -1
- package/esm/dist/src/grouping/PaginatedResponse.d.ts +0 -32
- package/esm/dist/src/grouping/PaginatedResponse.d.ts.map +0 -1
- package/esm/dist/src/grouping/PaginatedResponse.js +0 -36
- package/esm/dist/src/grouping/PaginatedResponse.js.map +0 -1
- package/esm/dist/src/helpers/EventPermissionChecker.d.ts +0 -43
- package/esm/dist/src/helpers/EventPermissionChecker.d.ts.map +0 -1
- package/esm/dist/src/helpers/EventPermissionChecker.js.map +0 -1
- package/esm/dist/src/helpers/MemberPlatformMembershipHelper.d.ts +0 -12
- package/esm/dist/src/helpers/MemberPlatformMembershipHelper.d.ts.map +0 -1
- package/esm/dist/src/helpers/MemberPlatformMembershipHelper.js.map +0 -1
- package/esm/dist/src/helpers/TagHelper.d.ts +0 -22
- package/esm/dist/src/helpers/TagHelper.d.ts.map +0 -1
- package/esm/dist/src/helpers/TagHelper.js.map +0 -1
- package/esm/dist/src/helpers/calculateHungarianAlgorithm.d.ts +0 -7
- package/esm/dist/src/helpers/calculateHungarianAlgorithm.d.ts.map +0 -1
- package/esm/dist/src/helpers/calculateHungarianAlgorithm.js.map +0 -1
- package/esm/dist/src/helpers/index.d.ts +0 -3
- package/esm/dist/src/helpers/index.d.ts.map +0 -1
- package/esm/dist/src/helpers/index.js.map +0 -1
- package/esm/dist/src/helpers/uuidToName.d.ts +0 -2
- package/esm/dist/src/helpers/uuidToName.d.ts.map +0 -1
- package/esm/dist/src/helpers/uuidToName.js +0 -24
- package/esm/dist/src/helpers/uuidToName.js.map +0 -1
- package/esm/dist/src/members/EmergencyContact.d.ts +0 -19
- package/esm/dist/src/members/EmergencyContact.d.ts.map +0 -1
- package/esm/dist/src/members/EmergencyContact.js +0 -66
- package/esm/dist/src/members/EmergencyContact.js.map +0 -1
- package/esm/dist/src/members/Gender.d.ts +0 -7
- package/esm/dist/src/members/Gender.d.ts.map +0 -1
- package/esm/dist/src/members/Gender.js.map +0 -1
- package/esm/dist/src/members/Member.d.ts +0 -25
- package/esm/dist/src/members/Member.d.ts.map +0 -1
- package/esm/dist/src/members/Member.js +0 -105
- package/esm/dist/src/members/Member.js.map +0 -1
- package/esm/dist/src/members/MemberDetails.d.ts +0 -128
- package/esm/dist/src/members/MemberDetails.d.ts.map +0 -1
- package/esm/dist/src/members/MemberDetails.js +0 -861
- package/esm/dist/src/members/MemberDetails.js.map +0 -1
- package/esm/dist/src/members/MemberPlatformMembership.d.ts +0 -23
- package/esm/dist/src/members/MemberPlatformMembership.d.ts.map +0 -1
- package/esm/dist/src/members/MemberPlatformMembership.js +0 -82
- package/esm/dist/src/members/MemberPlatformMembership.js.map +0 -1
- package/esm/dist/src/members/MemberResponsibilityRecord.d.ts +0 -20
- package/esm/dist/src/members/MemberResponsibilityRecord.d.ts.map +0 -1
- package/esm/dist/src/members/MemberResponsibilityRecord.js +0 -66
- package/esm/dist/src/members/MemberResponsibilityRecord.js.map +0 -1
- package/esm/dist/src/members/MemberWithRegistrationsBlob.d.ts +0 -36
- package/esm/dist/src/members/MemberWithRegistrationsBlob.d.ts.map +0 -1
- package/esm/dist/src/members/MemberWithRegistrationsBlob.js +0 -158
- package/esm/dist/src/members/MemberWithRegistrationsBlob.js.map +0 -1
- package/esm/dist/src/members/MembershipStatus.d.ts +0 -13
- package/esm/dist/src/members/MembershipStatus.d.ts.map +0 -1
- package/esm/dist/src/members/MembershipStatus.js.map +0 -1
- package/esm/dist/src/members/NationalRegisterNumberOptOut.d.ts +0 -2
- package/esm/dist/src/members/NationalRegisterNumberOptOut.d.ts.map +0 -1
- package/esm/dist/src/members/NationalRegisterNumberOptOut.js.map +0 -1
- package/esm/dist/src/members/ObjectWithRecords.d.ts +0 -11
- package/esm/dist/src/members/ObjectWithRecords.d.ts.map +0 -1
- package/esm/dist/src/members/ObjectWithRecords.js.map +0 -1
- package/esm/dist/src/members/OrganizationRecordsConfiguration.d.ts +0 -126
- package/esm/dist/src/members/OrganizationRecordsConfiguration.d.ts.map +0 -1
- package/esm/dist/src/members/OrganizationRecordsConfiguration.js +0 -415
- package/esm/dist/src/members/OrganizationRecordsConfiguration.js.map +0 -1
- package/esm/dist/src/members/Parent.d.ts +0 -34
- package/esm/dist/src/members/Parent.d.ts.map +0 -1
- package/esm/dist/src/members/Parent.js +0 -175
- package/esm/dist/src/members/Parent.js.map +0 -1
- package/esm/dist/src/members/ParentType.d.ts +0 -15
- package/esm/dist/src/members/ParentType.d.ts.map +0 -1
- package/esm/dist/src/members/ParentType.js.map +0 -1
- package/esm/dist/src/members/Payment.d.ts +0 -55
- package/esm/dist/src/members/Payment.d.ts.map +0 -1
- package/esm/dist/src/members/Payment.js +0 -247
- package/esm/dist/src/members/Payment.js.map +0 -1
- package/esm/dist/src/members/PaymentGeneral.d.ts +0 -49
- package/esm/dist/src/members/PaymentGeneral.d.ts.map +0 -1
- package/esm/dist/src/members/PaymentGeneral.js +0 -182
- package/esm/dist/src/members/PaymentGeneral.js.map +0 -1
- package/esm/dist/src/members/PlatformMember.d.ts +0 -269
- package/esm/dist/src/members/PlatformMember.d.ts.map +0 -1
- package/esm/dist/src/members/PlatformMember.js +0 -1131
- package/esm/dist/src/members/PlatformMember.js.map +0 -1
- package/esm/dist/src/members/Registration.d.ts +0 -97
- package/esm/dist/src/members/Registration.d.ts.map +0 -1
- package/esm/dist/src/members/Registration.js +0 -212
- package/esm/dist/src/members/Registration.js.map +0 -1
- package/esm/dist/src/members/RegistrationWithEncryptedMember.d.ts +0 -15
- package/esm/dist/src/members/RegistrationWithEncryptedMember.d.ts.map +0 -1
- package/esm/dist/src/members/RegistrationWithEncryptedMember.js +0 -43
- package/esm/dist/src/members/RegistrationWithEncryptedMember.js.map +0 -1
- package/esm/dist/src/members/RegistrationWithMemberBlob.d.ts +0 -6
- package/esm/dist/src/members/RegistrationWithMemberBlob.d.ts.map +0 -1
- package/esm/dist/src/members/RegistrationWithMemberBlob.js +0 -10
- package/esm/dist/src/members/RegistrationWithMemberBlob.js.map +0 -1
- package/esm/dist/src/members/RegistrationWithTinyMember.d.ts +0 -7
- package/esm/dist/src/members/RegistrationWithTinyMember.d.ts.map +0 -1
- package/esm/dist/src/members/RegistrationWithTinyMember.js +0 -16
- package/esm/dist/src/members/RegistrationWithTinyMember.js.map +0 -1
- package/esm/dist/src/members/RegistrationsBlob.d.ts +0 -8
- package/esm/dist/src/members/RegistrationsBlob.d.ts.map +0 -1
- package/esm/dist/src/members/RegistrationsBlob.js +0 -18
- package/esm/dist/src/members/RegistrationsBlob.js.map +0 -1
- package/esm/dist/src/members/ReviewTime.d.ts +0 -25
- package/esm/dist/src/members/ReviewTime.d.ts.map +0 -1
- package/esm/dist/src/members/ReviewTime.js +0 -88
- package/esm/dist/src/members/ReviewTime.js.map +0 -1
- package/esm/dist/src/members/UitpasNumberDetails.d.ts +0 -40
- package/esm/dist/src/members/UitpasNumberDetails.d.ts.map +0 -1
- package/esm/dist/src/members/UitpasNumberDetails.js +0 -90
- package/esm/dist/src/members/UitpasNumberDetails.js.map +0 -1
- package/esm/dist/src/members/checkout/BalanceItemCartItem.d.ts +0 -17
- package/esm/dist/src/members/checkout/BalanceItemCartItem.d.ts.map +0 -1
- package/esm/dist/src/members/checkout/BalanceItemCartItem.js +0 -65
- package/esm/dist/src/members/checkout/BalanceItemCartItem.js.map +0 -1
- package/esm/dist/src/members/checkout/RegisterCart.d.ts +0 -60
- package/esm/dist/src/members/checkout/RegisterCart.d.ts.map +0 -1
- package/esm/dist/src/members/checkout/RegisterCart.js +0 -357
- package/esm/dist/src/members/checkout/RegisterCart.js.map +0 -1
- package/esm/dist/src/members/checkout/RegisterCheckout.d.ts +0 -117
- package/esm/dist/src/members/checkout/RegisterCheckout.d.ts.map +0 -1
- package/esm/dist/src/members/checkout/RegisterCheckout.js +0 -385
- package/esm/dist/src/members/checkout/RegisterCheckout.js.map +0 -1
- package/esm/dist/src/members/checkout/RegisterItem.d.ts +0 -172
- package/esm/dist/src/members/checkout/RegisterItem.d.ts.map +0 -1
- package/esm/dist/src/members/checkout/RegisterItem.js +0 -1304
- package/esm/dist/src/members/checkout/RegisterItem.js.map +0 -1
- package/esm/dist/src/members/checkout/RegistrationWithPlatformMember.d.ts +0 -13
- package/esm/dist/src/members/checkout/RegistrationWithPlatformMember.d.ts.map +0 -1
- package/esm/dist/src/members/checkout/RegistrationWithPlatformMember.js +0 -17
- package/esm/dist/src/members/checkout/RegistrationWithPlatformMember.js.map +0 -1
- package/esm/dist/src/members/records/LegacyRecord.d.ts +0 -20
- package/esm/dist/src/members/records/LegacyRecord.d.ts.map +0 -1
- package/esm/dist/src/members/records/LegacyRecord.js +0 -71
- package/esm/dist/src/members/records/LegacyRecord.js.map +0 -1
- package/esm/dist/src/members/records/LegacyRecordType.d.ts +0 -74
- package/esm/dist/src/members/records/LegacyRecordType.d.ts.map +0 -1
- package/esm/dist/src/members/records/LegacyRecordType.js.map +0 -1
- package/esm/dist/src/members/records/RecordAnswer.d.ts +0 -156
- package/esm/dist/src/members/records/RecordAnswer.d.ts.map +0 -1
- package/esm/dist/src/members/records/RecordAnswer.js +0 -583
- package/esm/dist/src/members/records/RecordAnswer.js.map +0 -1
- package/esm/dist/src/members/records/RecordCategory.d.ts +0 -59
- package/esm/dist/src/members/records/RecordCategory.d.ts.map +0 -1
- package/esm/dist/src/members/records/RecordCategory.js +0 -318
- package/esm/dist/src/members/records/RecordCategory.js.map +0 -1
- package/esm/dist/src/members/records/RecordConfigurationFactory.d.ts +0 -17
- package/esm/dist/src/members/records/RecordConfigurationFactory.d.ts.map +0 -1
- package/esm/dist/src/members/records/RecordConfigurationFactory.js +0 -130
- package/esm/dist/src/members/records/RecordConfigurationFactory.js.map +0 -1
- package/esm/dist/src/members/records/RecordFactory.d.ts +0 -12
- package/esm/dist/src/members/records/RecordFactory.d.ts.map +0 -1
- package/esm/dist/src/members/records/RecordFactory.js +0 -525
- package/esm/dist/src/members/records/RecordFactory.js.map +0 -1
- package/esm/dist/src/members/records/RecordSettings.d.ts +0 -145
- package/esm/dist/src/members/records/RecordSettings.d.ts.map +0 -1
- package/esm/dist/src/members/records/RecordSettings.js +0 -398
- package/esm/dist/src/members/records/RecordSettings.js.map +0 -1
- package/esm/dist/src/upgradePriceFrom2To4DecimalPlaces.d.ts +0 -9
- package/esm/dist/src/upgradePriceFrom2To4DecimalPlaces.d.ts.map +0 -1
- package/esm/dist/src/upgradePriceFrom2To4DecimalPlaces.js.map +0 -1
- package/esm/dist/src/webshops/Cart.d.ts +0 -26
- package/esm/dist/src/webshops/Cart.d.ts.map +0 -1
- package/esm/dist/src/webshops/Cart.js +0 -181
- package/esm/dist/src/webshops/Cart.js.map +0 -1
- package/esm/dist/src/webshops/CartItem.d.ts +0 -152
- package/esm/dist/src/webshops/CartItem.d.ts.map +0 -1
- package/esm/dist/src/webshops/CartItem.js +0 -816
- package/esm/dist/src/webshops/CartItem.js.map +0 -1
- package/esm/dist/src/webshops/CartStockHelper.d.ts +0 -53
- package/esm/dist/src/webshops/CartStockHelper.d.ts.map +0 -1
- package/esm/dist/src/webshops/CartStockHelper.js +0 -435
- package/esm/dist/src/webshops/CartStockHelper.js.map +0 -1
- package/esm/dist/src/webshops/Category.d.ts +0 -9
- package/esm/dist/src/webshops/Category.d.ts.map +0 -1
- package/esm/dist/src/webshops/Category.js +0 -28
- package/esm/dist/src/webshops/Category.js.map +0 -1
- package/esm/dist/src/webshops/Checkout.d.ts +0 -82
- package/esm/dist/src/webshops/Checkout.d.ts.map +0 -1
- package/esm/dist/src/webshops/Checkout.js +0 -558
- package/esm/dist/src/webshops/Checkout.js.map +0 -1
- package/esm/dist/src/webshops/Customer.d.ts +0 -11
- package/esm/dist/src/webshops/Customer.d.ts.map +0 -1
- package/esm/dist/src/webshops/Customer.js +0 -42
- package/esm/dist/src/webshops/Customer.js.map +0 -1
- package/esm/dist/src/webshops/Discount.d.ts +0 -146
- package/esm/dist/src/webshops/Discount.d.ts.map +0 -1
- package/esm/dist/src/webshops/Discount.js +0 -597
- package/esm/dist/src/webshops/Discount.js.map +0 -1
- package/esm/dist/src/webshops/DiscountCode.d.ts +0 -18
- package/esm/dist/src/webshops/DiscountCode.d.ts.map +0 -1
- package/esm/dist/src/webshops/DiscountCode.js +0 -48
- package/esm/dist/src/webshops/DiscountCode.js.map +0 -1
- package/esm/dist/src/webshops/Order.d.ts +0 -108
- package/esm/dist/src/webshops/Order.d.ts.map +0 -1
- package/esm/dist/src/webshops/Order.js +0 -541
- package/esm/dist/src/webshops/Order.js.map +0 -1
- package/esm/dist/src/webshops/Product.d.ts +0 -163
- package/esm/dist/src/webshops/Product.d.ts.map +0 -1
- package/esm/dist/src/webshops/Product.js +0 -531
- package/esm/dist/src/webshops/Product.js.map +0 -1
- package/esm/dist/src/webshops/Ticket.d.ts +0 -75
- package/esm/dist/src/webshops/Ticket.d.ts.map +0 -1
- package/esm/dist/src/webshops/Ticket.js +0 -240
- package/esm/dist/src/webshops/Ticket.js.map +0 -1
- package/esm/dist/src/webshops/TransferSettings.d.ts +0 -27
- package/esm/dist/src/webshops/TransferSettings.d.ts.map +0 -1
- package/esm/dist/src/webshops/TransferSettings.js +0 -142
- package/esm/dist/src/webshops/TransferSettings.js.map +0 -1
- package/esm/dist/src/webshops/UitpasNumberAndPrice.d.ts +0 -7
- package/esm/dist/src/webshops/UitpasNumberAndPrice.d.ts.map +0 -1
- package/esm/dist/src/webshops/UitpasNumberAndPrice.js +0 -20
- package/esm/dist/src/webshops/UitpasNumberAndPrice.js.map +0 -1
- package/esm/dist/src/webshops/Webshop.d.ts +0 -89
- package/esm/dist/src/webshops/Webshop.d.ts.map +0 -1
- package/esm/dist/src/webshops/Webshop.js +0 -321
- package/esm/dist/src/webshops/Webshop.js.map +0 -1
- package/esm/dist/src/webshops/WebshopField.d.ts +0 -14
- package/esm/dist/src/webshops/WebshopField.d.ts.map +0 -1
- package/esm/dist/src/webshops/WebshopField.js +0 -51
- package/esm/dist/src/webshops/WebshopField.js.map +0 -1
- package/esm/dist/src/webshops/WebshopMetaData.d.ts +0 -267
- package/esm/dist/src/webshops/WebshopMetaData.d.ts.map +0 -1
- package/esm/dist/src/webshops/WebshopMetaData.js +0 -754
- package/esm/dist/src/webshops/WebshopMetaData.js.map +0 -1
- package/esm/dist/tests/jest.global.setup.d.ts +0 -3
- package/esm/dist/tests/jest.global.setup.d.ts.map +0 -1
- package/esm/dist/tests/jest.global.setup.js +0 -5
- package/esm/dist/tests/jest.global.setup.js.map +0 -1
- package/esm/dist/tests/jest.setup.d.ts +0 -2
- package/esm/dist/tests/jest.setup.d.ts.map +0 -1
- package/esm/dist/tests/jest.setup.js +0 -5
- package/esm/dist/tests/jest.setup.js.map +0 -1
- /package/dist/{src/AccessRight.d.ts → AccessRight.d.ts} +0 -0
- /package/{esm/dist/src → dist}/AccessRight.js +0 -0
- /package/{esm/dist/src → dist}/AppType.js +0 -0
- /package/dist/{src/AppliedRegistrationDiscount.d.ts → AppliedRegistrationDiscount.d.ts} +0 -0
- /package/dist/{src/AuditLog.d.ts → AuditLog.d.ts} +0 -0
- /package/dist/{src/AuditLogRenderer.d.ts → AuditLogRenderer.d.ts} +0 -0
- /package/dist/{src/AuditLogReplacement.d.ts → AuditLogReplacement.d.ts} +0 -0
- /package/dist/{src/BalanceItemDetailed.d.ts → BalanceItemDetailed.d.ts} +0 -0
- /package/dist/{src/BundleDiscountGroupPriceSettings.d.ts → BundleDiscountGroupPriceSettings.d.ts} +0 -0
- /package/dist/{src/Company.d.ts → Company.d.ts} +0 -0
- /package/dist/{src/DNSRecord.d.ts → DNSRecord.d.ts} +0 -0
- /package/dist/{src/DefaultAgeGroup.d.ts → DefaultAgeGroup.d.ts} +0 -0
- /package/dist/{src/Event.d.ts → Event.d.ts} +0 -0
- /package/dist/{src/EventNotificationStatus.d.ts → EventNotificationStatus.d.ts} +0 -0
- /package/{esm/dist/src → dist}/EventNotificationStatus.js +0 -0
- /package/dist/{src/EventNotificationType.d.ts → EventNotificationType.d.ts} +0 -0
- /package/dist/{src/GenericBalance.d.ts → GenericBalance.d.ts} +0 -0
- /package/dist/{src/Graph.d.ts → Graph.d.ts} +0 -0
- /package/dist/{src/GroupGenderType.d.ts → GroupGenderType.d.ts} +0 -0
- /package/{esm/dist/src → dist}/GroupGenderType.js +0 -0
- /package/dist/{src/GroupPrivateSettings.d.ts → GroupPrivateSettings.d.ts} +0 -0
- /package/dist/{src/GroupType.d.ts → GroupType.d.ts} +0 -0
- /package/{esm/dist/src → dist}/GroupType.js +0 -0
- /package/dist/{src/I18nInterface.d.ts → I18nInterface.d.ts} +0 -0
- /package/{esm/dist/src → dist}/I18nInterface.js +0 -0
- /package/dist/{src/LoginMethod.d.ts → LoginMethod.d.ts} +0 -0
- /package/dist/{src/OldGroupPrices.d.ts → OldGroupPrices.d.ts} +0 -0
- /package/dist/{src/OpenID.d.ts → OpenID.d.ts} +0 -0
- /package/dist/{src/OrganizationEmail.d.ts → OrganizationEmail.d.ts} +0 -0
- /package/dist/{src/OrganizationGenderType.d.ts → OrganizationGenderType.d.ts} +0 -0
- /package/{esm/dist/src → dist}/OrganizationGenderType.js +0 -0
- /package/dist/{src/OrganizationSimple.d.ts → OrganizationSimple.d.ts} +0 -0
- /package/dist/{src/PaymentCustomer.d.ts → PaymentCustomer.d.ts} +0 -0
- /package/dist/{src/PaymentMethod.d.ts → PaymentMethod.d.ts} +0 -0
- /package/{esm/dist/src → dist}/PaymentMethod.js +0 -0
- /package/dist/{src/PaymentProvider.d.ts → PaymentProvider.d.ts} +0 -0
- /package/{esm/dist/src → dist}/PaymentProvider.js +0 -0
- /package/dist/{src/PaymentStatus.d.ts → PaymentStatus.d.ts} +0 -0
- /package/{esm/dist/src → dist}/PaymentStatus.js +0 -0
- /package/dist/{src/PaymentType.d.ts → PaymentType.d.ts} +0 -0
- /package/{esm/dist/src → dist}/PaymentType.js +0 -0
- /package/dist/{src/PermissionLevel.d.ts → PermissionLevel.d.ts} +0 -0
- /package/{esm/dist/src → dist}/PermissionLevel.js +0 -0
- /package/dist/{src/PermissionRole.d.ts → PermissionRole.d.ts} +0 -0
- /package/dist/{src/Permissions.d.ts → Permissions.d.ts} +0 -0
- /package/dist/{src/PermissionsByRole.d.ts → PermissionsByRole.d.ts} +0 -0
- /package/dist/{src/PermissionsResourceType.d.ts → PermissionsResourceType.d.ts} +0 -0
- /package/{esm/dist/src → dist}/PermissionsResourceType.js +0 -0
- /package/dist/{src/PlatformServerConfig.d.ts → PlatformServerConfig.d.ts} +0 -0
- /package/dist/{src/Policy.d.ts → Policy.d.ts} +0 -0
- /package/dist/{src/PriceBreakdown.d.ts → PriceBreakdown.d.ts} +0 -0
- /package/{esm/dist/src → dist}/PriceBreakdown.js +0 -0
- /package/dist/{src/ReceivableBalance.d.ts → ReceivableBalance.d.ts} +0 -0
- /package/dist/{src/RegisterCodeStatus.d.ts → RegisterCodeStatus.d.ts} +0 -0
- /package/dist/{src/RegistrationPeriodBase.d.ts → RegistrationPeriodBase.d.ts} +0 -0
- /package/dist/{src/RichText.d.ts → RichText.d.ts} +0 -0
- /package/dist/{src/SetupStepReview.d.ts → SetupStepReview.d.ts} +0 -0
- /package/dist/{src/SetupStepType.d.ts → SetupStepType.d.ts} +0 -0
- /package/{esm/dist/src → dist}/SetupStepType.js +0 -0
- /package/dist/{src/SetupSteps.d.ts → SetupSteps.d.ts} +0 -0
- /package/dist/{src/SponsorConfig.d.ts → SponsorConfig.d.ts} +0 -0
- /package/dist/{src/StockReservation.d.ts → StockReservation.d.ts} +0 -0
- /package/dist/{src/StripeAccount.d.ts → StripeAccount.d.ts} +0 -0
- /package/{esm/dist/src → dist}/UitpasClientCredentialsStatus.js +0 -0
- /package/dist/{src/UmbrellaOrganization.d.ts → UmbrellaOrganization.d.ts} +0 -0
- /package/{esm/dist/src → dist}/UmbrellaOrganization.js +0 -0
- /package/dist/{src/User.d.ts → User.d.ts} +0 -0
- /package/dist/{src/UserWithMembers.d.ts → UserWithMembers.d.ts} +0 -0
- /package/dist/{src/admin → admin}/MemberSummary.d.ts +0 -0
- /package/dist/{src/admin → admin}/StripePayoutExport.d.ts +0 -0
- /package/dist/{src/billing → billing}/OrganizationPackagesStatus.d.ts +0 -0
- /package/dist/{src/billing → billing}/OrganizationPaymentMandate.d.ts +0 -0
- /package/dist/{src/billing → billing}/STBillingStatus.d.ts +0 -0
- /package/dist/{src/billing → billing}/STCredit.d.ts +0 -0
- /package/dist/{src/billing → billing}/STInvoice.d.ts +0 -0
- /package/dist/{src/billing → billing}/STInvoiceItem.d.ts +0 -0
- /package/dist/{src/billing → billing}/STInvoiceMeta.d.ts +0 -0
- /package/dist/{src/billing → billing}/STInvoicePrivate.d.ts +0 -0
- /package/dist/{src/billing → billing}/STInvoiceStatus.d.ts +0 -0
- /package/{esm/dist/src → dist}/billing/STInvoiceStatus.js +0 -0
- /package/dist/{src/billing → billing}/STPackageBundle.d.ts +0 -0
- /package/dist/{src/billing → billing}/STPendingInvoice.d.ts +0 -0
- /package/dist/{src/billing → billing}/index.d.ts +0 -0
- /package/{esm/dist/src → dist}/billing/index.js +0 -0
- /package/dist/{src/checkout → checkout}/CheckoutResponse.d.ts +0 -0
- /package/dist/{src/checkout → checkout}/Checkoutable.d.ts +0 -0
- /package/dist/{src/checkout → checkout}/PackageCheckout.d.ts +0 -0
- /package/dist/{src/checkout → checkout}/index.d.ts +0 -0
- /package/{esm/dist/src → dist}/checkout/index.js +0 -0
- /package/dist/{src/circular-dependencies → circular-dependencies}/AuditLogReplacementDependencies.d.ts +0 -0
- /package/{esm/dist/src → dist}/circular-dependencies/AuditLogReplacementDependencies.js +0 -0
- /package/dist/{src/circular-dependencies → circular-dependencies}/ExampleReplacementsDependencies.d.ts +0 -0
- /package/dist/{src/data → data}/audit-log-words.d.ts +0 -0
- /package/{esm/dist/src → dist}/data/audit-log-words.js +0 -0
- /package/dist/{src/email → email}/EmailAddressSettings.d.ts +0 -0
- /package/dist/{src/email → email}/exampleReplacements.d.ts +0 -0
- /package/dist/{src/endpoints → endpoints}/ChargeMembershipsSummary.d.ts +0 -0
- /package/dist/{src/endpoints → endpoints}/CheckMollieResponse.d.ts +0 -0
- /package/dist/{src/endpoints → endpoints}/CreateOrganization.d.ts +0 -0
- /package/dist/{src/endpoints → endpoints}/ForgotPasswordRequest.d.ts +0 -0
- /package/dist/{src/endpoints → endpoints}/OrganizationAdmins.d.ts +0 -0
- /package/dist/{src/endpoints → endpoints}/OrganizationDomains.d.ts +0 -0
- /package/dist/{src/endpoints → endpoints}/PayableBalanceCollection.d.ts +0 -0
- /package/dist/{src/endpoints → endpoints}/RegisterMember.d.ts +0 -0
- /package/dist/{src/endpoints → endpoints}/RegisterResponse.d.ts +0 -0
- /package/dist/{src/endpoints → endpoints}/SignupResponse.d.ts +0 -0
- /package/dist/{src/endpoints → endpoints}/UitpasClientIdAndSecret.d.ts +0 -0
- /package/dist/{src/endpoints → endpoints}/UitpasEventsResponse.d.ts +0 -0
- /package/dist/{src/endpoints → endpoints}/UitpasOrganizersResponse.d.ts +0 -0
- /package/dist/{src/endpoints → endpoints}/UitpasPriceCheckRequest.d.ts +0 -0
- /package/dist/{src/endpoints → endpoints}/UitpasSetClientCredentialsResponse.d.ts +0 -0
- /package/dist/{src/endpoints → endpoints}/VerifyEmailRequest.d.ts +0 -0
- /package/dist/{src/endpoints → endpoints}/WebshopOrdersQuery.d.ts +0 -0
- /package/dist/{src/endpoints → endpoints}/WebshopTicketsQuery.d.ts +0 -0
- /package/dist/{src/endpoints → endpoints}/WebshopUriAvailabilityResponse.d.ts +0 -0
- /package/{esm/dist/src → dist}/endpoints/tokens/CreateTokenStruct.js +0 -0
- /package/dist/{src/files → files}/Image.d.ts +0 -0
- /package/dist/{src/files → files}/ResolutionRequest.d.ts +0 -0
- /package/{esm/dist/src → dist}/filters/FilterCompilers.js +0 -0
- /package/{esm/dist/src → dist}/filters/InMemoryFilter.js +0 -0
- /package/dist/{src/filters → filters}/SelectablePdfDocumentFilter.d.ts +0 -0
- /package/{esm/dist/src → dist}/filters/SortList.js +0 -0
- /package/{esm/dist/src → dist}/filters/Sorters.js +0 -0
- /package/dist/{src/filters → filters}/convertOldPropertyFilter.d.ts +0 -0
- /package/{esm/dist/src → dist}/filters/searchFilterFactories.js +0 -0
- /package/{esm/dist/src → dist}/getActivePeriods.js +0 -0
- /package/{esm/dist/src → dist}/helpers/EventPermissionChecker.js +0 -0
- /package/{esm/dist/src → dist}/helpers/MemberPlatformMembershipHelper.js +0 -0
- /package/{esm/dist/src → dist}/helpers/TagHelper.js +0 -0
- /package/dist/{src/helpers → helpers}/calculateHungarianAlgorithm.d.ts +0 -0
- /package/{esm/dist/src → dist}/helpers/calculateHungarianAlgorithm.js +0 -0
- /package/dist/{src/helpers → helpers}/index.d.ts +0 -0
- /package/{esm/dist/src → dist}/helpers/index.js +0 -0
- /package/dist/{src/helpers → helpers}/uuidToName.d.ts +0 -0
- /package/dist/{src/members → members}/EmergencyContact.d.ts +0 -0
- /package/dist/{src/members → members}/Gender.d.ts +0 -0
- /package/{esm/dist/src → dist}/members/Gender.js +0 -0
- /package/dist/{src/members → members}/Member.d.ts +0 -0
- /package/dist/{src/members → members}/MemberPlatformMembership.d.ts +0 -0
- /package/dist/{src/members → members}/MembershipStatus.d.ts +0 -0
- /package/{esm/dist/src → dist}/members/MembershipStatus.js +0 -0
- /package/dist/{src/members → members}/NationalRegisterNumberOptOut.d.ts +0 -0
- /package/{esm/dist/src → dist}/members/NationalRegisterNumberOptOut.js +0 -0
- /package/{esm/dist/src → dist}/members/ObjectWithRecords.js +0 -0
- /package/dist/{src/members → members}/Parent.d.ts +0 -0
- /package/dist/{src/members → members}/ParentType.d.ts +0 -0
- /package/{esm/dist/src → dist}/members/ParentType.js +0 -0
- /package/dist/{src/members → members}/Payment.d.ts +0 -0
- /package/dist/{src/members → members}/PaymentGeneral.d.ts +0 -0
- /package/dist/{src/members → members}/RegistrationWithEncryptedMember.d.ts +0 -0
- /package/dist/{src/members → members}/RegistrationWithMember.d.ts +0 -0
- /package/dist/{src/members → members}/RegistrationWithMemberBlob.d.ts +0 -0
- /package/dist/{src/members → members}/RegistrationWithTinyMember.d.ts +0 -0
- /package/dist/{src/members → members}/RegistrationsBlob.d.ts +0 -0
- /package/dist/{src/members → members}/checkout/BalanceItemCartItem.d.ts +0 -0
- /package/dist/{src/members → members}/records/LegacyRecord.d.ts +0 -0
- /package/dist/{src/members → members}/records/LegacyRecordType.d.ts +0 -0
- /package/{esm/dist/src → dist}/members/records/LegacyRecordType.js +0 -0
- /package/dist/{src/members → members}/records/RecordFactory.d.ts +0 -0
- /package/{esm/dist/src → dist}/upgradePriceFrom2To4DecimalPlaces.js +0 -0
- /package/dist/{src/webshops → webshops}/Category.d.ts +0 -0
- /package/dist/{src/webshops → webshops}/Customer.d.ts +0 -0
- /package/dist/{src/webshops → webshops}/DiscountCode.d.ts +0 -0
- /package/dist/{src/webshops → webshops}/UitpasNumberAndPrice.d.ts +0 -0
- /package/dist/{src/webshops → webshops}/WebshopField.d.ts +0 -0
|
@@ -1,1430 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const BundleDiscountGroupPriceSettings_js_1 = require("../../BundleDiscountGroupPriceSettings.js");
|
|
4
|
-
const Group_js_1 = require("../../Group.js");
|
|
5
|
-
const GroupPriceDiscount_js_1 = require("../../GroupPriceDiscount.js");
|
|
6
|
-
const GroupSettings_js_1 = require("../../GroupSettings.js");
|
|
7
|
-
const Organization_js_1 = require("../../Organization.js");
|
|
8
|
-
const Platform_js_1 = require("../../Platform.js");
|
|
9
|
-
const ReduceablePrice_js_1 = require("../../ReduceablePrice.js");
|
|
10
|
-
const RegistrationPeriod_js_1 = require("../../RegistrationPeriod.js");
|
|
11
|
-
const TranslatedString_js_1 = require("../../TranslatedString.js");
|
|
12
|
-
const MemberDetails_js_1 = require("../MemberDetails.js");
|
|
13
|
-
const PlatformMember_js_1 = require("../PlatformMember.js");
|
|
14
|
-
const RegisterItem_js_1 = require("./RegisterItem.js");
|
|
15
|
-
const MemberWithRegistrationsBlob_js_1 = require("../MemberWithRegistrationsBlob.js");
|
|
16
|
-
// Should be last because of circular dependencies
|
|
17
|
-
const BundleDiscount_js_1 = require("../../BundleDiscount.js");
|
|
18
|
-
const Registration_js_1 = require("../Registration.js");
|
|
19
|
-
const AppliedRegistrationDiscount_js_1 = require("../../AppliedRegistrationDiscount.js");
|
|
20
|
-
const RegistrationWithPlatformMember_js_1 = require("./RegistrationWithPlatformMember.js");
|
|
21
|
-
const GenericBalance_js_1 = require("../../GenericBalance.js");
|
|
22
|
-
// Helper functions to reduce code duplication
|
|
23
|
-
function createTestPeriod() {
|
|
24
|
-
const period = RegistrationPeriod_js_1.RegistrationPeriod.create({});
|
|
25
|
-
const organizationRegistrationPeriod = RegistrationPeriod_js_1.OrganizationRegistrationPeriod.create({
|
|
26
|
-
period,
|
|
27
|
-
});
|
|
28
|
-
const organization = Organization_js_1.Organization.create({
|
|
29
|
-
period: organizationRegistrationPeriod,
|
|
30
|
-
});
|
|
31
|
-
return { period, organizationRegistrationPeriod, organization };
|
|
32
|
-
}
|
|
33
|
-
function createTestGroups(organization, period, prices = [500000, 400000], names) {
|
|
34
|
-
return prices.map((price, index) => {
|
|
35
|
-
return Group_js_1.Group.create({
|
|
36
|
-
organizationId: organization.id,
|
|
37
|
-
periodId: period.id,
|
|
38
|
-
settings: GroupSettings_js_1.GroupSettings.create({
|
|
39
|
-
name: names ? new TranslatedString_js_1.TranslatedString(names[index]) : undefined,
|
|
40
|
-
prices: [
|
|
41
|
-
GroupSettings_js_1.GroupPrice.create({
|
|
42
|
-
price: ReduceablePrice_js_1.ReduceablePrice.create({
|
|
43
|
-
price,
|
|
44
|
-
}),
|
|
45
|
-
}),
|
|
46
|
-
],
|
|
47
|
-
}),
|
|
48
|
-
});
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
function createBundleDiscount({ name = 'Bundle discount', countWholeFamily = true, countPerGroup = false, discounts = [
|
|
52
|
-
{ value: 100000, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Fixed },
|
|
53
|
-
{ value: 150000, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Fixed },
|
|
54
|
-
], } = {}) {
|
|
55
|
-
return BundleDiscount_js_1.BundleDiscount.create({
|
|
56
|
-
name: new TranslatedString_js_1.TranslatedString(name),
|
|
57
|
-
countWholeFamily,
|
|
58
|
-
countPerGroup,
|
|
59
|
-
discounts: discounts.map(d => {
|
|
60
|
-
var _a;
|
|
61
|
-
return GroupPriceDiscount_js_1.GroupPriceDiscount.create({
|
|
62
|
-
value: ReduceablePrice_js_1.ReduceablePrice.create({
|
|
63
|
-
price: d.value,
|
|
64
|
-
reducedPrice: (_a = d.reducedValue) !== null && _a !== void 0 ? _a : null,
|
|
65
|
-
}),
|
|
66
|
-
type: d.type,
|
|
67
|
-
});
|
|
68
|
-
}),
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
function createTestFamily(memberCount = 3) {
|
|
72
|
-
const members = Array(memberCount).fill(null).map((_, i) => {
|
|
73
|
-
const names = ['John', 'Jane', 'Jack'];
|
|
74
|
-
return MemberWithRegistrationsBlob_js_1.MemberWithRegistrationsBlob.create({
|
|
75
|
-
details: MemberDetails_js_1.MemberDetails.create({
|
|
76
|
-
firstName: names[i] || `Member${i + 1}`,
|
|
77
|
-
lastName: 'Doe',
|
|
78
|
-
}),
|
|
79
|
-
});
|
|
80
|
-
});
|
|
81
|
-
const blob = MemberWithRegistrationsBlob_js_1.MembersBlob.create({
|
|
82
|
-
members,
|
|
83
|
-
});
|
|
84
|
-
return PlatformMember_js_1.PlatformFamily.create(blob, { platform: Platform_js_1.Platform.create({}) });
|
|
85
|
-
}
|
|
86
|
-
function setupDiscountTest({ memberCount = 3, groupPrices = [500000, 400000], groupNames, bundleDiscount, } = {}) {
|
|
87
|
-
const { period, organizationRegistrationPeriod, organization } = createTestPeriod();
|
|
88
|
-
const groups = createTestGroups(organization, period, groupPrices, groupNames);
|
|
89
|
-
organizationRegistrationPeriod.groups = groups;
|
|
90
|
-
const discount = bundleDiscount || createBundleDiscount();
|
|
91
|
-
organizationRegistrationPeriod.settings.bundleDiscounts.push(discount);
|
|
92
|
-
// Setup bundle discounts on all groups
|
|
93
|
-
groups.forEach((group) => {
|
|
94
|
-
group.settings.prices[0].bundleDiscounts.set(discount.id, BundleDiscountGroupPriceSettings_js_1.BundleDiscountGroupPriceSettings.create({
|
|
95
|
-
name: discount.name,
|
|
96
|
-
}));
|
|
97
|
-
});
|
|
98
|
-
const family = createTestFamily(memberCount);
|
|
99
|
-
return {
|
|
100
|
-
period,
|
|
101
|
-
organizationRegistrationPeriod,
|
|
102
|
-
organization,
|
|
103
|
-
groups,
|
|
104
|
-
discount,
|
|
105
|
-
family,
|
|
106
|
-
};
|
|
107
|
-
}
|
|
108
|
-
function addHistoricRegistration(member, group, organization, appliedDiscounts = new Map()) {
|
|
109
|
-
const registration = Registration_js_1.Registration.create({
|
|
110
|
-
group: group,
|
|
111
|
-
groupPrice: group.settings.prices[0],
|
|
112
|
-
memberId: member.id,
|
|
113
|
-
organizationId: group.organizationId,
|
|
114
|
-
registeredAt: new Date('2023-01-01'),
|
|
115
|
-
startDate: new Date('2023-01-01'),
|
|
116
|
-
price: group.settings.prices[0].price.price,
|
|
117
|
-
balances: [
|
|
118
|
-
GenericBalance_js_1.GenericBalance.create({
|
|
119
|
-
organizationId: organization.id,
|
|
120
|
-
amountPaid: 0,
|
|
121
|
-
amountOpen: group.settings.prices[0].price.price - [...appliedDiscounts.values()].reduce((acc, d) => acc + d.amount, 0),
|
|
122
|
-
amountPending: 0,
|
|
123
|
-
}),
|
|
124
|
-
],
|
|
125
|
-
discounts: appliedDiscounts,
|
|
126
|
-
});
|
|
127
|
-
member.member.registrations.push(registration);
|
|
128
|
-
member.family.insertOrganization(organization);
|
|
129
|
-
return registration;
|
|
130
|
-
}
|
|
131
|
-
describe('Unit.RegisterCart', () => {
|
|
132
|
-
describe('Bundle Discounts', () => {
|
|
133
|
-
it('A fixed discount is granted for the second and third registration in a bundle', () => {
|
|
134
|
-
const { organization, groups, family } = setupDiscountTest({
|
|
135
|
-
bundleDiscount: createBundleDiscount({
|
|
136
|
-
name: 'Bundle discount',
|
|
137
|
-
discounts: [
|
|
138
|
-
{ value: 100000, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Fixed },
|
|
139
|
-
{ value: 150000, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Fixed },
|
|
140
|
-
],
|
|
141
|
-
}),
|
|
142
|
-
});
|
|
143
|
-
const [groupA, groupB] = groups;
|
|
144
|
-
const [memberA, memberB, memberC] = family.members;
|
|
145
|
-
const itemA = RegisterItem_js_1.RegisterItem.defaultFor(memberA, groupA, organization);
|
|
146
|
-
const itemB = RegisterItem_js_1.RegisterItem.defaultFor(memberB, groupB, organization);
|
|
147
|
-
const itemC = RegisterItem_js_1.RegisterItem.defaultFor(memberC, groupB, organization);
|
|
148
|
-
// Add to a single cart
|
|
149
|
-
const checkout = family.checkout;
|
|
150
|
-
const cart = checkout.cart;
|
|
151
|
-
cart.add(itemA);
|
|
152
|
-
cart.add(itemB);
|
|
153
|
-
cart.add(itemC);
|
|
154
|
-
cart.calculatePrices();
|
|
155
|
-
// Check price for item A is 50.00
|
|
156
|
-
expect(itemA.calculatedPrice).toEqual(500000);
|
|
157
|
-
expect(itemA.calculatedRefund).toEqual(0);
|
|
158
|
-
expect(itemA.calculatedPriceDueLater).toEqual(0);
|
|
159
|
-
// Check price for items B and C
|
|
160
|
-
expect(itemB.calculatedPrice).toEqual(400000);
|
|
161
|
-
expect(itemB.calculatedRefund).toEqual(0);
|
|
162
|
-
expect(itemB.calculatedPriceDueLater).toEqual(0);
|
|
163
|
-
expect(itemC.calculatedPrice).toEqual(400000);
|
|
164
|
-
expect(itemC.calculatedRefund).toEqual(0);
|
|
165
|
-
expect(itemC.calculatedPriceDueLater).toEqual(0);
|
|
166
|
-
// Check calculated discount is 10_0000 + 15_0000 = 25_0000
|
|
167
|
-
expect(cart.bundleDiscounts).toHaveLength(1);
|
|
168
|
-
expect(cart.bundleDiscounts[0].total).toEqual(250000);
|
|
169
|
-
expect(cart.bundleDiscounts[0].totalAlreadyApplied).toEqual(0);
|
|
170
|
-
expect(cart.bundleDiscounts[0].netTotal).toEqual(250000);
|
|
171
|
-
expect(cart.price).toEqual(500000 + 400000 + 400000);
|
|
172
|
-
expect(checkout.totalPrice).toEqual(500000 + 400000 + 400000 - 250000);
|
|
173
|
-
expect(checkout.priceBreakown).toEqual([
|
|
174
|
-
expect.objectContaining({
|
|
175
|
-
price: 1300000,
|
|
176
|
-
}),
|
|
177
|
-
{
|
|
178
|
-
name: 'Bundle discount',
|
|
179
|
-
price: -250000,
|
|
180
|
-
},
|
|
181
|
-
expect.objectContaining({
|
|
182
|
-
price: 1300000 - 250000,
|
|
183
|
-
}),
|
|
184
|
-
]);
|
|
185
|
-
});
|
|
186
|
-
test('A percentage discount is granted for the second and third registration in a bundle', () => {
|
|
187
|
-
const { organization, groups, family } = setupDiscountTest({
|
|
188
|
-
bundleDiscount: createBundleDiscount({
|
|
189
|
-
name: 'Bundle discount',
|
|
190
|
-
discounts: [
|
|
191
|
-
{ value: 1000, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Percentage },
|
|
192
|
-
{ value: 1500, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Percentage },
|
|
193
|
-
],
|
|
194
|
-
}),
|
|
195
|
-
});
|
|
196
|
-
const [groupA, groupB] = groups;
|
|
197
|
-
const [memberA, memberB, memberC] = family.members;
|
|
198
|
-
const itemA = RegisterItem_js_1.RegisterItem.defaultFor(memberA, groupA, organization);
|
|
199
|
-
const itemB = RegisterItem_js_1.RegisterItem.defaultFor(memberB, groupB, organization);
|
|
200
|
-
const itemC = RegisterItem_js_1.RegisterItem.defaultFor(memberC, groupB, organization);
|
|
201
|
-
// Add to a single cart
|
|
202
|
-
const checkout = family.checkout;
|
|
203
|
-
const cart = checkout.cart;
|
|
204
|
-
cart.add(itemA);
|
|
205
|
-
cart.add(itemB);
|
|
206
|
-
cart.add(itemC);
|
|
207
|
-
cart.calculatePrices();
|
|
208
|
-
// Check price for items
|
|
209
|
-
expect(itemA.calculatedPrice).toEqual(500000);
|
|
210
|
-
expect(itemB.calculatedPrice).toEqual(400000);
|
|
211
|
-
expect(itemC.calculatedPrice).toEqual(400000);
|
|
212
|
-
// 15% will be applied to 50 euro (max), and 10% to one of the 40 euros
|
|
213
|
-
// Check calculated discount is 50_0000 * 0.15 + 40_0000 * 0.10 = 7_5000 + 4_0000 = 11_5000
|
|
214
|
-
expect(cart.bundleDiscounts).toHaveLength(1);
|
|
215
|
-
expect(cart.bundleDiscounts[0].total).toEqual(115000);
|
|
216
|
-
expect(cart.bundleDiscounts[0].netTotal).toEqual(115000);
|
|
217
|
-
expect(cart.price).toEqual(500000 + 400000 + 400000);
|
|
218
|
-
expect(checkout.totalPrice).toEqual(500000 + 400000 + 400000 - 115000);
|
|
219
|
-
expect(checkout.priceBreakown).toEqual([
|
|
220
|
-
expect.objectContaining({
|
|
221
|
-
price: 1300000,
|
|
222
|
-
}),
|
|
223
|
-
{
|
|
224
|
-
name: 'Bundle discount',
|
|
225
|
-
price: -115000,
|
|
226
|
-
},
|
|
227
|
-
expect.objectContaining({
|
|
228
|
-
price: 1300000 - 115000,
|
|
229
|
-
}),
|
|
230
|
-
]);
|
|
231
|
-
});
|
|
232
|
-
test('Percentage discounts are rounded to 1 cent', () => {
|
|
233
|
-
const { organization, groups, family } = setupDiscountTest({
|
|
234
|
-
bundleDiscount: createBundleDiscount({
|
|
235
|
-
name: 'Bundle discount',
|
|
236
|
-
discounts: [
|
|
237
|
-
{ value: 111, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Percentage },
|
|
238
|
-
{ value: 152, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Percentage },
|
|
239
|
-
],
|
|
240
|
-
}),
|
|
241
|
-
});
|
|
242
|
-
const [groupA, groupB] = groups;
|
|
243
|
-
const [memberA, memberB, memberC] = family.members;
|
|
244
|
-
const itemA = RegisterItem_js_1.RegisterItem.defaultFor(memberA, groupA, organization);
|
|
245
|
-
const itemB = RegisterItem_js_1.RegisterItem.defaultFor(memberB, groupB, organization);
|
|
246
|
-
const itemC = RegisterItem_js_1.RegisterItem.defaultFor(memberC, groupB, organization);
|
|
247
|
-
// Add to a single cart
|
|
248
|
-
const checkout = family.checkout;
|
|
249
|
-
const cart = checkout.cart;
|
|
250
|
-
cart.add(itemA);
|
|
251
|
-
cart.add(itemB);
|
|
252
|
-
cart.add(itemC);
|
|
253
|
-
cart.calculatePrices();
|
|
254
|
-
// Check price for items
|
|
255
|
-
expect(itemA.calculatedPrice).toEqual(500000);
|
|
256
|
-
expect(itemB.calculatedPrice).toEqual(400000);
|
|
257
|
-
expect(itemC.calculatedPrice).toEqual(400000);
|
|
258
|
-
// 1,5% will be applied to 50 euro (max), and 1% to one of the 40 euros
|
|
259
|
-
// Check calculated discount is 50_0000 * 0.0152 + 40_0000 * 0.0111 = 7500 + 4000 = 1_2040 normally, but not allowed, rounded to 1_2000
|
|
260
|
-
expect(cart.bundleDiscounts).toHaveLength(1);
|
|
261
|
-
expect(cart.bundleDiscounts[0].total).toEqual(12000);
|
|
262
|
-
expect(cart.bundleDiscounts[0].netTotal).toEqual(12000);
|
|
263
|
-
expect(cart.price).toEqual(500000 + 400000 + 400000);
|
|
264
|
-
expect(checkout.totalPrice).toEqual(500000 + 400000 + 400000 - 12000);
|
|
265
|
-
expect(checkout.priceBreakown).toEqual([
|
|
266
|
-
expect.objectContaining({
|
|
267
|
-
price: 1300000,
|
|
268
|
-
}),
|
|
269
|
-
{
|
|
270
|
-
name: 'Bundle discount',
|
|
271
|
-
price: -12000,
|
|
272
|
-
},
|
|
273
|
-
expect.objectContaining({
|
|
274
|
-
price: 1300000 - 12000,
|
|
275
|
-
}),
|
|
276
|
-
]);
|
|
277
|
-
});
|
|
278
|
-
test('Historic registrations are included in the calculation', () => {
|
|
279
|
-
const { organization, groups, family } = setupDiscountTest({
|
|
280
|
-
bundleDiscount: createBundleDiscount({
|
|
281
|
-
name: 'Bundle discount',
|
|
282
|
-
discounts: [
|
|
283
|
-
{ value: 1000, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Percentage },
|
|
284
|
-
{ value: 1500, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Percentage },
|
|
285
|
-
],
|
|
286
|
-
}),
|
|
287
|
-
});
|
|
288
|
-
const [groupA, groupB] = groups;
|
|
289
|
-
const [memberA, memberB, memberC] = family.members;
|
|
290
|
-
// Member A is already registered for group A in the past
|
|
291
|
-
addHistoricRegistration(memberA, groupA, organization);
|
|
292
|
-
const itemB = RegisterItem_js_1.RegisterItem.defaultFor(memberB, groupB, organization);
|
|
293
|
-
const itemC = RegisterItem_js_1.RegisterItem.defaultFor(memberC, groupB, organization);
|
|
294
|
-
// Add to a single cart
|
|
295
|
-
const checkout = family.checkout;
|
|
296
|
-
const cart = checkout.cart;
|
|
297
|
-
cart.add(itemB);
|
|
298
|
-
cart.add(itemC);
|
|
299
|
-
cart.calculatePrices();
|
|
300
|
-
// Check price for items
|
|
301
|
-
expect(itemB.calculatedPrice).toEqual(400000);
|
|
302
|
-
expect(itemC.calculatedPrice).toEqual(400000);
|
|
303
|
-
// 15% will be applied to 50 euro (max), and 10% to one of the 40 euros
|
|
304
|
-
// Check calculated discount is 50_0000 * 0.15 + 40_0000 * 0.10 = 7_5000 + 4_0000 = 11_5000
|
|
305
|
-
expect(cart.bundleDiscounts).toHaveLength(1);
|
|
306
|
-
expect(cart.bundleDiscounts[0].total).toEqual(115000);
|
|
307
|
-
expect(cart.bundleDiscounts[0].netTotal).toEqual(115000);
|
|
308
|
-
expect(cart.price).toEqual(400000 + 400000);
|
|
309
|
-
expect(checkout.totalPrice).toEqual(400000 + 400000 - 115000);
|
|
310
|
-
expect(checkout.priceBreakown).toEqual([
|
|
311
|
-
expect.objectContaining({
|
|
312
|
-
price: 800000,
|
|
313
|
-
}),
|
|
314
|
-
{
|
|
315
|
-
name: 'Bundle discount',
|
|
316
|
-
price: -115000,
|
|
317
|
-
},
|
|
318
|
-
expect.objectContaining({
|
|
319
|
-
price: 800000 - 115000,
|
|
320
|
-
}),
|
|
321
|
-
]);
|
|
322
|
-
});
|
|
323
|
-
test('Deleting a registration also removes the attached discount', () => {
|
|
324
|
-
// We have two family members with existing registrations.
|
|
325
|
-
// One of those registrations received a discount earlier.
|
|
326
|
-
// But since we are adding a new registration in our cart, a more optimal discount
|
|
327
|
-
// would be if that registration would get the newly higher discount instead
|
|
328
|
-
// (because it is percentage based)
|
|
329
|
-
const { organization, groups, family, discount } = setupDiscountTest({
|
|
330
|
-
memberCount: 2,
|
|
331
|
-
bundleDiscount: createBundleDiscount({
|
|
332
|
-
name: 'Multiple family members discount',
|
|
333
|
-
countWholeFamily: true,
|
|
334
|
-
countPerGroup: false,
|
|
335
|
-
discounts: [
|
|
336
|
-
{ value: 1000, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Percentage },
|
|
337
|
-
{ value: 1500, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Percentage },
|
|
338
|
-
],
|
|
339
|
-
}),
|
|
340
|
-
groupPrices: [1000000, 400000],
|
|
341
|
-
});
|
|
342
|
-
const [groupA, groupB] = groups;
|
|
343
|
-
const [memberA, memberB] = family.members;
|
|
344
|
-
const registrationA = addHistoricRegistration(memberA, groupA, organization);
|
|
345
|
-
const registrationB = addHistoricRegistration(memberB, groupB, organization, new Map([
|
|
346
|
-
[
|
|
347
|
-
discount.id,
|
|
348
|
-
AppliedRegistrationDiscount_js_1.AppliedRegistrationDiscount.create({
|
|
349
|
-
name: discount.name,
|
|
350
|
-
amount: 100000, // 10% discount on 100_0000 = 10_0000
|
|
351
|
-
}),
|
|
352
|
-
],
|
|
353
|
-
]));
|
|
354
|
-
// If we delete registration B, the discount won't be visible in the cart because it is included in the registration
|
|
355
|
-
const checkout = family.checkout;
|
|
356
|
-
const cart = checkout.cart;
|
|
357
|
-
cart.removeRegistration(new RegistrationWithPlatformMember_js_1.RegistrationWithPlatformMember({
|
|
358
|
-
registration: registrationB,
|
|
359
|
-
member: memberB,
|
|
360
|
-
}));
|
|
361
|
-
cart.calculatePrices();
|
|
362
|
-
expect(cart.bundleDiscounts).toHaveLength(0);
|
|
363
|
-
expect(checkout.totalPrice).toEqual(-300000);
|
|
364
|
-
expect(checkout.priceBreakown).toEqual([
|
|
365
|
-
expect.objectContaining({
|
|
366
|
-
price: -400000 + 100000,
|
|
367
|
-
}),
|
|
368
|
-
expect.objectContaining({
|
|
369
|
-
price: -400000 + 100000,
|
|
370
|
-
}),
|
|
371
|
-
]);
|
|
372
|
-
// Now readd the registration
|
|
373
|
-
cart.unremoveRegistration(new RegistrationWithPlatformMember_js_1.RegistrationWithPlatformMember({
|
|
374
|
-
registration: registrationB,
|
|
375
|
-
member: memberB,
|
|
376
|
-
}));
|
|
377
|
-
// Remove registration A, this should show the discount because it is a side effect of deleting the registration
|
|
378
|
-
cart.removeRegistration(new RegistrationWithPlatformMember_js_1.RegistrationWithPlatformMember({
|
|
379
|
-
registration: registrationA,
|
|
380
|
-
member: memberA,
|
|
381
|
-
}));
|
|
382
|
-
cart.calculatePrices();
|
|
383
|
-
expect(cart.bundleDiscounts).toHaveLength(1);
|
|
384
|
-
expect(cart.bundleDiscounts[0].total).toEqual(0);
|
|
385
|
-
expect(cart.bundleDiscounts[0].totalAlreadyApplied).toEqual(100000); // The previous discount
|
|
386
|
-
expect(cart.bundleDiscounts[0].netTotal).toEqual(-100000);
|
|
387
|
-
expect(checkout.totalPrice).toEqual(-900000);
|
|
388
|
-
expect(checkout.priceBreakown).toEqual([
|
|
389
|
-
{
|
|
390
|
-
name: '%175 (Multiple family members discount)',
|
|
391
|
-
price: 100000,
|
|
392
|
-
},
|
|
393
|
-
expect.objectContaining({
|
|
394
|
-
price: -1000000, // Reeds aangerekend
|
|
395
|
-
}),
|
|
396
|
-
expect.objectContaining({
|
|
397
|
-
price: -900000,
|
|
398
|
-
}),
|
|
399
|
-
]);
|
|
400
|
-
});
|
|
401
|
-
test('Deleting a registration with cancellation fees', () => {
|
|
402
|
-
// We have two family members with existing registrations.
|
|
403
|
-
// One of those registrations received a discount earlier.
|
|
404
|
-
// But since we are adding a new registration in our cart, a more optimal discount
|
|
405
|
-
// would be if that registration would get the newly higher discount instead
|
|
406
|
-
// (because it is percentage based)
|
|
407
|
-
const { organization, groups, family, discount } = setupDiscountTest({
|
|
408
|
-
memberCount: 2,
|
|
409
|
-
bundleDiscount: createBundleDiscount({
|
|
410
|
-
name: 'Multiple family members discount',
|
|
411
|
-
countWholeFamily: true,
|
|
412
|
-
countPerGroup: false,
|
|
413
|
-
discounts: [
|
|
414
|
-
{ value: 1000, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Percentage },
|
|
415
|
-
{ value: 1500, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Percentage },
|
|
416
|
-
],
|
|
417
|
-
}),
|
|
418
|
-
groupPrices: [1000000, 400000],
|
|
419
|
-
});
|
|
420
|
-
const [groupA, groupB] = groups;
|
|
421
|
-
const [memberA, memberB] = family.members;
|
|
422
|
-
const registrationA = addHistoricRegistration(memberA, groupA, organization);
|
|
423
|
-
const registrationB = addHistoricRegistration(memberB, groupB, organization, new Map([
|
|
424
|
-
[
|
|
425
|
-
discount.id,
|
|
426
|
-
AppliedRegistrationDiscount_js_1.AppliedRegistrationDiscount.create({
|
|
427
|
-
name: discount.name,
|
|
428
|
-
amount: 100000, // 10% discount on 1_0000 = 10_00
|
|
429
|
-
}),
|
|
430
|
-
],
|
|
431
|
-
]));
|
|
432
|
-
// If we delete registration B, the discount won't be visible in the cart because it is included in the registration
|
|
433
|
-
const checkout = family.checkout;
|
|
434
|
-
checkout.cancellationFeePercentage = 5000;
|
|
435
|
-
const cart = checkout.cart;
|
|
436
|
-
cart.removeRegistration(new RegistrationWithPlatformMember_js_1.RegistrationWithPlatformMember({
|
|
437
|
-
registration: registrationB,
|
|
438
|
-
member: memberB,
|
|
439
|
-
}));
|
|
440
|
-
cart.calculatePrices();
|
|
441
|
-
expect(cart.bundleDiscounts).toHaveLength(0);
|
|
442
|
-
expect(checkout.totalPrice).toEqual(-150000);
|
|
443
|
-
expect(checkout.priceBreakown).toEqual([
|
|
444
|
-
expect.objectContaining({
|
|
445
|
-
price: -400000 + 100000, // Already charged amount
|
|
446
|
-
}),
|
|
447
|
-
// Cancellation fee = 50% of the balance total, 30_0000 = 15_0000
|
|
448
|
-
expect.objectContaining({
|
|
449
|
-
price: 150000,
|
|
450
|
-
}),
|
|
451
|
-
expect.objectContaining({
|
|
452
|
-
price: -150000,
|
|
453
|
-
}),
|
|
454
|
-
]);
|
|
455
|
-
// Now readd the registration
|
|
456
|
-
cart.unremoveRegistration(new RegistrationWithPlatformMember_js_1.RegistrationWithPlatformMember({
|
|
457
|
-
registration: registrationB,
|
|
458
|
-
member: memberB,
|
|
459
|
-
}));
|
|
460
|
-
// Remove registration A, this should show the discount because it is a side effect of deleting the registration
|
|
461
|
-
cart.removeRegistration(new RegistrationWithPlatformMember_js_1.RegistrationWithPlatformMember({
|
|
462
|
-
registration: registrationA,
|
|
463
|
-
member: memberA,
|
|
464
|
-
}));
|
|
465
|
-
cart.calculatePrices();
|
|
466
|
-
expect(cart.bundleDiscounts).toHaveLength(1);
|
|
467
|
-
expect(cart.bundleDiscounts[0].total).toEqual(0);
|
|
468
|
-
expect(cart.bundleDiscounts[0].totalAlreadyApplied).toEqual(100000); // The previous discount
|
|
469
|
-
expect(cart.bundleDiscounts[0].netTotal).toEqual(-100000);
|
|
470
|
-
expect(checkout.totalPrice).toEqual(-400000);
|
|
471
|
-
expect(checkout.priceBreakown).toEqual([
|
|
472
|
-
{
|
|
473
|
-
// Side effect in registration B
|
|
474
|
-
name: '%175 (Multiple family members discount)',
|
|
475
|
-
price: 100000,
|
|
476
|
-
},
|
|
477
|
-
expect.objectContaining({
|
|
478
|
-
price: -1000000, // Already charged for registration A that is being deleted
|
|
479
|
-
}),
|
|
480
|
-
// Cancellation fee = 50% of the balance total, 100_0000 = 50_0000
|
|
481
|
-
expect.objectContaining({
|
|
482
|
-
price: 500000,
|
|
483
|
-
}),
|
|
484
|
-
expect.objectContaining({
|
|
485
|
-
price: -400000,
|
|
486
|
-
}),
|
|
487
|
-
]);
|
|
488
|
-
});
|
|
489
|
-
test('Replacing a registration without discount also removes the attached discount in another registration if the new registration in not elegible', () => {
|
|
490
|
-
// Create a family with two members, each with a registration
|
|
491
|
-
// Add a discount to one of the registrations (like it should have been calculated at the time)
|
|
492
|
-
// Next, move one of the registrations to a different group that does not have the discount
|
|
493
|
-
// The previously given discount should be added as an extra price on the cart as an adjustment for the discount that should have been given
|
|
494
|
-
const { organization, groups, family, discount } = setupDiscountTest({
|
|
495
|
-
memberCount: 2,
|
|
496
|
-
bundleDiscount: createBundleDiscount({
|
|
497
|
-
name: 'Multiple family members discount',
|
|
498
|
-
countWholeFamily: true,
|
|
499
|
-
countPerGroup: false,
|
|
500
|
-
discounts: [
|
|
501
|
-
{ value: 1000, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Percentage },
|
|
502
|
-
{ value: 1500, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Percentage },
|
|
503
|
-
],
|
|
504
|
-
}),
|
|
505
|
-
groupPrices: [1000000, 400000],
|
|
506
|
-
});
|
|
507
|
-
const [groupA, groupB] = groups;
|
|
508
|
-
const [memberA, memberB] = family.members;
|
|
509
|
-
const registrationA = addHistoricRegistration(memberA, groupA, organization);
|
|
510
|
-
addHistoricRegistration(memberB, groupB, organization, new Map([
|
|
511
|
-
[
|
|
512
|
-
discount.id,
|
|
513
|
-
AppliedRegistrationDiscount_js_1.AppliedRegistrationDiscount.create({
|
|
514
|
-
name: discount.name,
|
|
515
|
-
amount: 100000, // 10% discount on 100_0000 = 10_0000
|
|
516
|
-
}),
|
|
517
|
-
],
|
|
518
|
-
]));
|
|
519
|
-
const groupCPrice = GroupSettings_js_1.GroupPrice.create({
|
|
520
|
-
price: ReduceablePrice_js_1.ReduceablePrice.create({
|
|
521
|
-
price: 500000,
|
|
522
|
-
}),
|
|
523
|
-
});
|
|
524
|
-
const groupC = Group_js_1.Group.create({
|
|
525
|
-
organizationId: organization.id,
|
|
526
|
-
periodId: organization.period.id,
|
|
527
|
-
settings: GroupSettings_js_1.GroupSettings.create({
|
|
528
|
-
name: new TranslatedString_js_1.TranslatedString('Group C'),
|
|
529
|
-
prices: [
|
|
530
|
-
groupCPrice,
|
|
531
|
-
],
|
|
532
|
-
}),
|
|
533
|
-
});
|
|
534
|
-
const checkout = family.checkout;
|
|
535
|
-
const cart = checkout.cart;
|
|
536
|
-
const itemA = RegisterItem_js_1.RegisterItem.defaultFor(memberA, groupC, organization);
|
|
537
|
-
itemA.replaceRegistrations = [
|
|
538
|
-
new RegistrationWithPlatformMember_js_1.RegistrationWithPlatformMember({
|
|
539
|
-
registration: registrationA,
|
|
540
|
-
member: memberA,
|
|
541
|
-
}),
|
|
542
|
-
];
|
|
543
|
-
cart.add(itemA);
|
|
544
|
-
cart.calculatePrices();
|
|
545
|
-
// Check price for items
|
|
546
|
-
expect(itemA.calculatedPrice).toEqual(500000);
|
|
547
|
-
expect(itemA.calculatedRefund).toEqual(1000000);
|
|
548
|
-
expect(itemA.calculatedPriceDueLater).toEqual(0);
|
|
549
|
-
// Check discount should be given back
|
|
550
|
-
expect(cart.bundleDiscounts).toHaveLength(1);
|
|
551
|
-
expect(cart.bundleDiscounts[0].total).toEqual(0);
|
|
552
|
-
expect(cart.bundleDiscounts[0].totalAlreadyApplied).toEqual(100000); // The previous discount
|
|
553
|
-
expect(cart.bundleDiscounts[0].netTotal).toEqual(-100000);
|
|
554
|
-
expect(checkout.totalPrice).toEqual(500000 - 1000000 + 100000);
|
|
555
|
-
expect(checkout.priceBreakown).toEqual([
|
|
556
|
-
expect.objectContaining({
|
|
557
|
-
// Subtotal (normal price)
|
|
558
|
-
price: 500000,
|
|
559
|
-
}),
|
|
560
|
-
{
|
|
561
|
-
name: '%175 (Multiple family members discount)',
|
|
562
|
-
price: 100000,
|
|
563
|
-
},
|
|
564
|
-
expect.objectContaining({
|
|
565
|
-
// Refund for the previous registration
|
|
566
|
-
price: -1000000,
|
|
567
|
-
}),
|
|
568
|
-
expect.objectContaining({
|
|
569
|
-
price: -500000 + 100000,
|
|
570
|
-
}),
|
|
571
|
-
]);
|
|
572
|
-
// Now, what if groupC does have a higher discount instead of no discount?
|
|
573
|
-
groupCPrice.bundleDiscounts.set(discount.id, BundleDiscountGroupPriceSettings_js_1.BundleDiscountGroupPriceSettings.create({
|
|
574
|
-
name: discount.name,
|
|
575
|
-
customDiscounts: [
|
|
576
|
-
// Custom discount for this price
|
|
577
|
-
GroupPriceDiscount_js_1.GroupPriceDiscount.create({
|
|
578
|
-
value: ReduceablePrice_js_1.ReduceablePrice.create({
|
|
579
|
-
price: 250000,
|
|
580
|
-
}),
|
|
581
|
-
type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Fixed,
|
|
582
|
-
}),
|
|
583
|
-
],
|
|
584
|
-
}));
|
|
585
|
-
// Recalculate
|
|
586
|
-
cart.calculatePrices();
|
|
587
|
-
// Check discount should be given back
|
|
588
|
-
expect(cart.bundleDiscounts).toHaveLength(1);
|
|
589
|
-
expect(cart.bundleDiscounts[0].total).toEqual(250000);
|
|
590
|
-
expect(cart.bundleDiscounts[0].totalAlreadyApplied).toEqual(100000); // The previous discount
|
|
591
|
-
expect(cart.bundleDiscounts[0].netTotal).toEqual(150000);
|
|
592
|
-
expect(checkout.totalPrice).toEqual(500000 - 1000000 - 150000);
|
|
593
|
-
expect(checkout.priceBreakown).toEqual([
|
|
594
|
-
expect.objectContaining({
|
|
595
|
-
// Subtotal (normal price)
|
|
596
|
-
price: 500000,
|
|
597
|
-
}),
|
|
598
|
-
{
|
|
599
|
-
name: 'Multiple family members discount',
|
|
600
|
-
price: -150000,
|
|
601
|
-
},
|
|
602
|
-
expect.objectContaining({
|
|
603
|
-
// Refund for the previous registration
|
|
604
|
-
price: -1000000,
|
|
605
|
-
}),
|
|
606
|
-
expect.objectContaining({
|
|
607
|
-
price: -500000 - 150000,
|
|
608
|
-
}),
|
|
609
|
-
]);
|
|
610
|
-
});
|
|
611
|
-
test('Replacing a registration with discount also removes the attached discount registration if the new registration in not elegible', () => {
|
|
612
|
-
const { organization, groups, family, discount } = setupDiscountTest({
|
|
613
|
-
memberCount: 2,
|
|
614
|
-
bundleDiscount: createBundleDiscount({
|
|
615
|
-
name: 'Multiple family members discount',
|
|
616
|
-
countWholeFamily: true,
|
|
617
|
-
countPerGroup: false,
|
|
618
|
-
discounts: [
|
|
619
|
-
{ value: 1000, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Percentage },
|
|
620
|
-
{ value: 1500, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Percentage },
|
|
621
|
-
],
|
|
622
|
-
}),
|
|
623
|
-
groupPrices: [1000000, 400000],
|
|
624
|
-
});
|
|
625
|
-
const [groupA, groupB] = groups;
|
|
626
|
-
const [memberA, memberB] = family.members;
|
|
627
|
-
const registrationA = addHistoricRegistration(memberA, groupA, organization, new Map([
|
|
628
|
-
[
|
|
629
|
-
discount.id,
|
|
630
|
-
AppliedRegistrationDiscount_js_1.AppliedRegistrationDiscount.create({
|
|
631
|
-
name: discount.name,
|
|
632
|
-
amount: 100000, // 10% discount on 100_0000 = 10_0000
|
|
633
|
-
}),
|
|
634
|
-
],
|
|
635
|
-
]));
|
|
636
|
-
addHistoricRegistration(memberB, groupB, organization);
|
|
637
|
-
const groupCPrice = GroupSettings_js_1.GroupPrice.create({
|
|
638
|
-
price: ReduceablePrice_js_1.ReduceablePrice.create({
|
|
639
|
-
price: 500000,
|
|
640
|
-
}),
|
|
641
|
-
});
|
|
642
|
-
const groupC = Group_js_1.Group.create({
|
|
643
|
-
organizationId: organization.id,
|
|
644
|
-
periodId: organization.period.id,
|
|
645
|
-
settings: GroupSettings_js_1.GroupSettings.create({
|
|
646
|
-
name: new TranslatedString_js_1.TranslatedString('Group C'),
|
|
647
|
-
prices: [
|
|
648
|
-
groupCPrice,
|
|
649
|
-
],
|
|
650
|
-
}),
|
|
651
|
-
});
|
|
652
|
-
const checkout = family.checkout;
|
|
653
|
-
const cart = checkout.cart;
|
|
654
|
-
const itemA = RegisterItem_js_1.RegisterItem.defaultFor(memberA, groupC, organization);
|
|
655
|
-
itemA.replaceRegistrations = [
|
|
656
|
-
new RegistrationWithPlatformMember_js_1.RegistrationWithPlatformMember({
|
|
657
|
-
registration: registrationA,
|
|
658
|
-
member: memberA,
|
|
659
|
-
}),
|
|
660
|
-
];
|
|
661
|
-
cart.add(itemA);
|
|
662
|
-
cart.calculatePrices();
|
|
663
|
-
// Check price for items
|
|
664
|
-
expect(itemA.calculatedPrice).toEqual(500000);
|
|
665
|
-
expect(itemA.calculatedRefund).toEqual(900000);
|
|
666
|
-
expect(itemA.calculatedPriceDueLater).toEqual(0);
|
|
667
|
-
// No discounts anymore
|
|
668
|
-
expect(cart.bundleDiscounts).toHaveLength(0);
|
|
669
|
-
expect(checkout.totalPrice).toEqual(500000 - 900000);
|
|
670
|
-
expect(checkout.priceBreakown).toEqual([
|
|
671
|
-
expect.objectContaining({
|
|
672
|
-
// Subtotal (normal price)
|
|
673
|
-
price: 500000,
|
|
674
|
-
}),
|
|
675
|
-
expect.objectContaining({
|
|
676
|
-
// Refund for the previous registration, without the discount that was granted
|
|
677
|
-
price: -900000,
|
|
678
|
-
}),
|
|
679
|
-
expect.objectContaining({
|
|
680
|
-
price: 500000 - 900000,
|
|
681
|
-
}),
|
|
682
|
-
]);
|
|
683
|
-
// Now, what if groupC does have a higher discount instead of no discount?
|
|
684
|
-
groupCPrice.bundleDiscounts.set(discount.id, BundleDiscountGroupPriceSettings_js_1.BundleDiscountGroupPriceSettings.create({
|
|
685
|
-
name: discount.name,
|
|
686
|
-
customDiscounts: [
|
|
687
|
-
// Custom discount for this price
|
|
688
|
-
GroupPriceDiscount_js_1.GroupPriceDiscount.create({
|
|
689
|
-
value: ReduceablePrice_js_1.ReduceablePrice.create({
|
|
690
|
-
price: 250000,
|
|
691
|
-
}),
|
|
692
|
-
type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Fixed,
|
|
693
|
-
}),
|
|
694
|
-
],
|
|
695
|
-
}));
|
|
696
|
-
// Recalculate
|
|
697
|
-
cart.calculatePrices();
|
|
698
|
-
// Check discount should be given back
|
|
699
|
-
expect(cart.bundleDiscounts).toHaveLength(1);
|
|
700
|
-
expect(cart.bundleDiscounts[0].total).toEqual(250000);
|
|
701
|
-
expect(cart.bundleDiscounts[0].totalAlreadyApplied).toEqual(0); // Not included here, because the registration will be removed including the applied discount
|
|
702
|
-
expect(cart.bundleDiscounts[0].netTotal).toEqual(250000);
|
|
703
|
-
expect(checkout.totalPrice).toEqual(500000 - 900000 - 250000);
|
|
704
|
-
expect(checkout.priceBreakown).toEqual([
|
|
705
|
-
expect.objectContaining({
|
|
706
|
-
// Subtotal (normal price)
|
|
707
|
-
price: 500000,
|
|
708
|
-
}),
|
|
709
|
-
{
|
|
710
|
-
name: 'Multiple family members discount',
|
|
711
|
-
price: -250000,
|
|
712
|
-
},
|
|
713
|
-
expect.objectContaining({
|
|
714
|
-
// Refund for the previous registration
|
|
715
|
-
price: -900000,
|
|
716
|
-
}),
|
|
717
|
-
expect.objectContaining({
|
|
718
|
-
price: 500000 - 900000 - 250000,
|
|
719
|
-
}),
|
|
720
|
-
]);
|
|
721
|
-
});
|
|
722
|
-
test('The last discount is repeated', () => {
|
|
723
|
-
// Create a family with 3 members. Add 3 items to the cart.
|
|
724
|
-
// The bundle discount only defined one discount, but that should be repated for the second and third item
|
|
725
|
-
const { organization, groups, family, discount } = setupDiscountTest({
|
|
726
|
-
memberCount: 3,
|
|
727
|
-
groupPrices: [500000, 400000],
|
|
728
|
-
groupNames: ['Group A', 'Group B'],
|
|
729
|
-
bundleDiscount: createBundleDiscount({
|
|
730
|
-
name: 'Bundle discount',
|
|
731
|
-
discounts: [
|
|
732
|
-
{ value: 1000, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Percentage },
|
|
733
|
-
],
|
|
734
|
-
}),
|
|
735
|
-
});
|
|
736
|
-
const [groupA, groupB] = groups;
|
|
737
|
-
const [memberA, memberB, memberC] = family.members;
|
|
738
|
-
const itemA = RegisterItem_js_1.RegisterItem.defaultFor(memberA, groupA, organization);
|
|
739
|
-
const itemB = RegisterItem_js_1.RegisterItem.defaultFor(memberB, groupB, organization);
|
|
740
|
-
const itemC = RegisterItem_js_1.RegisterItem.defaultFor(memberC, groupB, organization);
|
|
741
|
-
// Add to a single cart
|
|
742
|
-
const checkout = family.checkout;
|
|
743
|
-
const cart = checkout.cart;
|
|
744
|
-
cart.add(itemA);
|
|
745
|
-
cart.add(itemB);
|
|
746
|
-
cart.add(itemC);
|
|
747
|
-
cart.calculatePrices();
|
|
748
|
-
// Check price for items
|
|
749
|
-
expect(itemA.calculatedPrice).toEqual(500000);
|
|
750
|
-
expect(itemA.calculatedRefund).toEqual(0);
|
|
751
|
-
expect(itemA.calculatedPriceDueLater).toEqual(0);
|
|
752
|
-
expect(itemB.calculatedPrice).toEqual(400000);
|
|
753
|
-
expect(itemB.calculatedRefund).toEqual(0);
|
|
754
|
-
expect(itemB.calculatedPriceDueLater).toEqual(0);
|
|
755
|
-
expect(itemC.calculatedPrice).toEqual(400000);
|
|
756
|
-
expect(itemC.calculatedRefund).toEqual(0);
|
|
757
|
-
expect(itemC.calculatedPriceDueLater).toEqual(0);
|
|
758
|
-
// Check calculated discount is 50_0000 * 0.10 + 40_0000 * 0.10 = 5_0000 + 4_0000 = 9_0000
|
|
759
|
-
expect(cart.bundleDiscounts).toHaveLength(1);
|
|
760
|
-
expect(cart.bundleDiscounts[0].total).toEqual(90000);
|
|
761
|
-
expect(cart.bundleDiscounts[0].totalAlreadyApplied).toEqual(0);
|
|
762
|
-
expect(cart.bundleDiscounts[0].netTotal).toEqual(90000);
|
|
763
|
-
expect(cart.price).toEqual(500000 + 400000 + 400000);
|
|
764
|
-
expect(checkout.totalPrice).toEqual(500000 + 400000 + 400000 - 90000);
|
|
765
|
-
expect(checkout.priceBreakown).toEqual([
|
|
766
|
-
expect.objectContaining({
|
|
767
|
-
price: 1300000,
|
|
768
|
-
}),
|
|
769
|
-
{
|
|
770
|
-
name: 'Bundle discount',
|
|
771
|
-
price: -90000,
|
|
772
|
-
},
|
|
773
|
-
expect.objectContaining({
|
|
774
|
-
price: 1300000 - 90000,
|
|
775
|
-
}),
|
|
776
|
-
]);
|
|
777
|
-
});
|
|
778
|
-
test('The highest possible discount is granted', () => {
|
|
779
|
-
const { organization, groups, family, discount } = setupDiscountTest({
|
|
780
|
-
memberCount: 3,
|
|
781
|
-
groupPrices: [500000, 400000],
|
|
782
|
-
groupNames: ['Group A', 'Group B'],
|
|
783
|
-
bundleDiscount: createBundleDiscount({
|
|
784
|
-
name: 'Bundle discount',
|
|
785
|
-
discounts: [
|
|
786
|
-
{ value: 1000, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Percentage },
|
|
787
|
-
],
|
|
788
|
-
}),
|
|
789
|
-
});
|
|
790
|
-
const [groupA, groupB] = groups;
|
|
791
|
-
const [memberA, memberB, memberC] = family.members;
|
|
792
|
-
const itemA = RegisterItem_js_1.RegisterItem.defaultFor(memberA, groupA, organization);
|
|
793
|
-
const itemB = RegisterItem_js_1.RegisterItem.defaultFor(memberB, groupB, organization);
|
|
794
|
-
const itemC = RegisterItem_js_1.RegisterItem.defaultFor(memberC, groupB, organization);
|
|
795
|
-
// Change group B to give 20 euro for the second item, and 0 for the third item
|
|
796
|
-
groupB.settings.prices[0].bundleDiscounts.set(discount.id, BundleDiscountGroupPriceSettings_js_1.BundleDiscountGroupPriceSettings.create({
|
|
797
|
-
name: discount.name,
|
|
798
|
-
customDiscounts: [
|
|
799
|
-
GroupPriceDiscount_js_1.GroupPriceDiscount.create({
|
|
800
|
-
value: ReduceablePrice_js_1.ReduceablePrice.create({
|
|
801
|
-
price: 200000,
|
|
802
|
-
}),
|
|
803
|
-
type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Fixed,
|
|
804
|
-
}),
|
|
805
|
-
GroupPriceDiscount_js_1.GroupPriceDiscount.create({
|
|
806
|
-
value: ReduceablePrice_js_1.ReduceablePrice.create({
|
|
807
|
-
price: 0,
|
|
808
|
-
}),
|
|
809
|
-
type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Fixed,
|
|
810
|
-
}),
|
|
811
|
-
],
|
|
812
|
-
}));
|
|
813
|
-
// Add to a single cart
|
|
814
|
-
const checkout = family.checkout;
|
|
815
|
-
const cart = checkout.cart;
|
|
816
|
-
cart.add(itemA);
|
|
817
|
-
cart.add(itemB);
|
|
818
|
-
cart.add(itemC);
|
|
819
|
-
cart.calculatePrices();
|
|
820
|
-
// Check price for items
|
|
821
|
-
expect(itemA.calculatedPrice).toEqual(500000);
|
|
822
|
-
expect(itemA.calculatedRefund).toEqual(0);
|
|
823
|
-
expect(itemA.calculatedPriceDueLater).toEqual(0);
|
|
824
|
-
expect(itemB.calculatedPrice).toEqual(400000);
|
|
825
|
-
expect(itemB.calculatedRefund).toEqual(0);
|
|
826
|
-
expect(itemB.calculatedPriceDueLater).toEqual(0);
|
|
827
|
-
expect(itemC.calculatedPrice).toEqual(400000);
|
|
828
|
-
expect(itemC.calculatedRefund).toEqual(0);
|
|
829
|
-
expect(itemC.calculatedPriceDueLater).toEqual(0);
|
|
830
|
-
// Check calculated discount is 50_0000 * 0.10 + 20_0000 fixed + 0 = 5_0000 + 20_0000 + 0 = 25_0000
|
|
831
|
-
expect(cart.bundleDiscounts).toHaveLength(1);
|
|
832
|
-
expect(cart.bundleDiscounts[0].total).toEqual(250000);
|
|
833
|
-
expect(cart.bundleDiscounts[0].totalAlreadyApplied).toEqual(0);
|
|
834
|
-
expect(cart.bundleDiscounts[0].netTotal).toEqual(250000);
|
|
835
|
-
expect(cart.price).toEqual(500000 + 400000 + 400000);
|
|
836
|
-
expect(checkout.totalPrice).toEqual(500000 + 400000 + 400000 - 250000);
|
|
837
|
-
expect(checkout.priceBreakown).toEqual([
|
|
838
|
-
expect.objectContaining({
|
|
839
|
-
price: 1300000,
|
|
840
|
-
}),
|
|
841
|
-
{
|
|
842
|
-
name: 'Bundle discount',
|
|
843
|
-
price: -250000,
|
|
844
|
-
},
|
|
845
|
-
expect.objectContaining({
|
|
846
|
-
price: 1300000 - 250000,
|
|
847
|
-
}),
|
|
848
|
-
]);
|
|
849
|
-
});
|
|
850
|
-
test('Multiple bundles can be combined', () => {
|
|
851
|
-
// Situation: Camp A costs 100 euro
|
|
852
|
-
// Camp B costs 150 euro
|
|
853
|
-
// Camp A and/or campB gives a discount of 10, 20, 30... (all camp discount)
|
|
854
|
-
// On top of that there is an extra discount if you combine multiple expensive camps (camp B) of 5 euro, 10 ...
|
|
855
|
-
const { organization, groups, family, organizationRegistrationPeriod } = setupDiscountTest({
|
|
856
|
-
memberCount: 5,
|
|
857
|
-
groupPrices: [1000000, 1500000],
|
|
858
|
-
groupNames: ['Camp A', 'Camp B'],
|
|
859
|
-
bundleDiscount: createBundleDiscount({
|
|
860
|
-
name: 'All camp discount',
|
|
861
|
-
discounts: [
|
|
862
|
-
{ value: 100000, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Fixed },
|
|
863
|
-
],
|
|
864
|
-
}),
|
|
865
|
-
});
|
|
866
|
-
const [campA, campB] = groups;
|
|
867
|
-
const [memberA, memberB, memberC, memberD, memberE] = family.members;
|
|
868
|
-
const expensiveCampDiscount = createBundleDiscount({
|
|
869
|
-
name: 'Expensive camp discount',
|
|
870
|
-
discounts: [
|
|
871
|
-
{ value: 50000, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Fixed },
|
|
872
|
-
],
|
|
873
|
-
});
|
|
874
|
-
// Add discount to organizationRegistrationPeriod
|
|
875
|
-
organizationRegistrationPeriod.settings.bundleDiscounts.push(expensiveCampDiscount);
|
|
876
|
-
// Add camp B to the expensive camp discount
|
|
877
|
-
campB.settings.prices[0].bundleDiscounts.set(expensiveCampDiscount.id, BundleDiscountGroupPriceSettings_js_1.BundleDiscountGroupPriceSettings.create({
|
|
878
|
-
name: expensiveCampDiscount.name,
|
|
879
|
-
}));
|
|
880
|
-
// Add to a single cart
|
|
881
|
-
const checkout = family.checkout;
|
|
882
|
-
const cart = checkout.cart;
|
|
883
|
-
const itemA = RegisterItem_js_1.RegisterItem.defaultFor(memberA, campA, organization);
|
|
884
|
-
const itemB = RegisterItem_js_1.RegisterItem.defaultFor(memberB, campB, organization); // +10_0000 discount
|
|
885
|
-
const itemC = RegisterItem_js_1.RegisterItem.defaultFor(memberC, campB, organization); // +10_0000 discount and +5_0000 discount
|
|
886
|
-
const itemD = RegisterItem_js_1.RegisterItem.defaultFor(memberD, campA, organization); // +10_0000 discount
|
|
887
|
-
const itemE = RegisterItem_js_1.RegisterItem.defaultFor(memberE, campB, organization); // +10_0000 discount and +5_0000 discount
|
|
888
|
-
cart.add(itemA);
|
|
889
|
-
cart.add(itemB);
|
|
890
|
-
cart.add(itemC);
|
|
891
|
-
cart.add(itemD);
|
|
892
|
-
cart.add(itemE);
|
|
893
|
-
cart.calculatePrices();
|
|
894
|
-
expect(cart.bundleDiscounts).toHaveLength(2);
|
|
895
|
-
expect(cart.bundleDiscounts.map((d) => {
|
|
896
|
-
return {
|
|
897
|
-
name: d.name,
|
|
898
|
-
total: d.total,
|
|
899
|
-
netTotal: d.netTotal,
|
|
900
|
-
};
|
|
901
|
-
})).toEqual([
|
|
902
|
-
{
|
|
903
|
-
name: 'All camp discount',
|
|
904
|
-
total: 100000 * 4,
|
|
905
|
-
netTotal: 100000 * 4,
|
|
906
|
-
},
|
|
907
|
-
{
|
|
908
|
-
name: 'Expensive camp discount',
|
|
909
|
-
total: 50000 * 2,
|
|
910
|
-
netTotal: 50000 * 2,
|
|
911
|
-
},
|
|
912
|
-
]);
|
|
913
|
-
expect(checkout.priceBreakown).toEqual([
|
|
914
|
-
expect.objectContaining({
|
|
915
|
-
price: 1000000 * 2 + 1500000 * 3,
|
|
916
|
-
}),
|
|
917
|
-
{
|
|
918
|
-
name: 'All camp discount',
|
|
919
|
-
price: -100000 * 4,
|
|
920
|
-
},
|
|
921
|
-
{
|
|
922
|
-
name: 'Expensive camp discount',
|
|
923
|
-
price: -50000 * 2,
|
|
924
|
-
},
|
|
925
|
-
expect.objectContaining({
|
|
926
|
-
price: 1000000 * 2 + 1500000 * 3 - 100000 * 4 - 50000 * 2,
|
|
927
|
-
}),
|
|
928
|
-
]);
|
|
929
|
-
});
|
|
930
|
-
test('Previous discounts can be altered if a better optimum is found later', () => {
|
|
931
|
-
// We have two family members with existing registrations.
|
|
932
|
-
// One of those registrations received a discount earlier.
|
|
933
|
-
// But since we are adding a new registration in our cart, a more optimal discount
|
|
934
|
-
// would be if that registration would get the newly higher discount instead
|
|
935
|
-
// (because it is percentage based)
|
|
936
|
-
const { organization, groups, family, discount } = setupDiscountTest({
|
|
937
|
-
memberCount: 2,
|
|
938
|
-
bundleDiscount: createBundleDiscount({
|
|
939
|
-
name: 'Multiple family members discount',
|
|
940
|
-
countWholeFamily: true,
|
|
941
|
-
countPerGroup: false,
|
|
942
|
-
discounts: [
|
|
943
|
-
{ value: 1000, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Percentage },
|
|
944
|
-
{ value: 1500, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Percentage },
|
|
945
|
-
],
|
|
946
|
-
}),
|
|
947
|
-
groupPrices: [1000000, 400000],
|
|
948
|
-
});
|
|
949
|
-
const [groupA, groupB] = groups;
|
|
950
|
-
const [memberA, memberB] = family.members;
|
|
951
|
-
const registrationA = addHistoricRegistration(memberA, groupA, organization);
|
|
952
|
-
const registrationB = addHistoricRegistration(memberB, groupB, organization);
|
|
953
|
-
registrationA.discounts.set(discount.id, AppliedRegistrationDiscount_js_1.AppliedRegistrationDiscount.create({
|
|
954
|
-
name: discount.name,
|
|
955
|
-
amount: 100000, // 10% discount on 100_0000 = 10_0000
|
|
956
|
-
}));
|
|
957
|
-
// Now create itemC
|
|
958
|
-
const itemC = RegisterItem_js_1.RegisterItem.defaultFor(memberA, groupB, organization);
|
|
959
|
-
// Add to a single cart
|
|
960
|
-
const checkout = family.checkout;
|
|
961
|
-
const cart = checkout.cart;
|
|
962
|
-
cart.add(itemC);
|
|
963
|
-
cart.calculatePrices();
|
|
964
|
-
// Check price for items
|
|
965
|
-
expect(itemC.calculatedPrice).toEqual(400000);
|
|
966
|
-
expect(itemC.calculatedRefund).toEqual(0);
|
|
967
|
-
expect(itemC.calculatedPriceDueLater).toEqual(0);
|
|
968
|
-
// Check calculated discount is 100_0000 * 0.15 + 40_0000 * 0.10 = 15_0000 + 4_0000 = 19_0000
|
|
969
|
-
expect(cart.bundleDiscounts).toHaveLength(1);
|
|
970
|
-
expect(cart.bundleDiscounts[0].total).toEqual(190000);
|
|
971
|
-
expect(cart.bundleDiscounts[0].totalAlreadyApplied).toEqual(100000); // The previous discount
|
|
972
|
-
expect(cart.bundleDiscounts[0].netTotal).toEqual(90000);
|
|
973
|
-
expect(cart.price).toEqual(400000);
|
|
974
|
-
expect(checkout.totalPrice).toEqual(400000 - 90000);
|
|
975
|
-
expect(checkout.priceBreakown).toEqual([
|
|
976
|
-
expect.objectContaining({
|
|
977
|
-
price: 400000,
|
|
978
|
-
}),
|
|
979
|
-
{
|
|
980
|
-
name: 'Multiple family members discount',
|
|
981
|
-
price: -90000,
|
|
982
|
-
},
|
|
983
|
-
expect.objectContaining({
|
|
984
|
-
price: 400000 - 90000,
|
|
985
|
-
}),
|
|
986
|
-
]);
|
|
987
|
-
});
|
|
988
|
-
test('The repeating behaviour can be stopped by setting the last discount to zero', () => {
|
|
989
|
-
// Create a family with 3 members. Add 3 items to the cart.
|
|
990
|
-
// The bundle discount only defined one discount, but that should be repated for the second and third item
|
|
991
|
-
const { organization, groups, family, discount } = setupDiscountTest({
|
|
992
|
-
memberCount: 3,
|
|
993
|
-
groupPrices: [500000, 400000],
|
|
994
|
-
groupNames: ['Group A', 'Group B'],
|
|
995
|
-
bundleDiscount: createBundleDiscount({
|
|
996
|
-
name: 'Bundle discount',
|
|
997
|
-
discounts: [
|
|
998
|
-
{ value: 1000, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Percentage },
|
|
999
|
-
{ value: 0, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Percentage }, // This should stop the repeating behaviour
|
|
1000
|
-
],
|
|
1001
|
-
}),
|
|
1002
|
-
});
|
|
1003
|
-
const [groupA, groupB] = groups;
|
|
1004
|
-
const [memberA, memberB, memberC] = family.members;
|
|
1005
|
-
const itemA = RegisterItem_js_1.RegisterItem.defaultFor(memberA, groupA, organization);
|
|
1006
|
-
const itemB = RegisterItem_js_1.RegisterItem.defaultFor(memberB, groupB, organization);
|
|
1007
|
-
const itemC = RegisterItem_js_1.RegisterItem.defaultFor(memberC, groupB, organization);
|
|
1008
|
-
// Add to a single cart
|
|
1009
|
-
const checkout = family.checkout;
|
|
1010
|
-
const cart = checkout.cart;
|
|
1011
|
-
cart.add(itemA);
|
|
1012
|
-
cart.add(itemB);
|
|
1013
|
-
cart.add(itemC);
|
|
1014
|
-
cart.calculatePrices();
|
|
1015
|
-
// Check price for items
|
|
1016
|
-
expect(itemA.calculatedPrice).toEqual(500000);
|
|
1017
|
-
expect(itemA.calculatedRefund).toEqual(0);
|
|
1018
|
-
expect(itemA.calculatedPriceDueLater).toEqual(0);
|
|
1019
|
-
expect(itemB.calculatedPrice).toEqual(400000);
|
|
1020
|
-
expect(itemB.calculatedRefund).toEqual(0);
|
|
1021
|
-
expect(itemB.calculatedPriceDueLater).toEqual(0);
|
|
1022
|
-
expect(itemC.calculatedPrice).toEqual(400000);
|
|
1023
|
-
expect(itemC.calculatedRefund).toEqual(0);
|
|
1024
|
-
expect(itemC.calculatedPriceDueLater).toEqual(0);
|
|
1025
|
-
// Check calculated discount is 50_0000 * 0.10 = 5_0000
|
|
1026
|
-
expect(cart.bundleDiscounts).toHaveLength(1);
|
|
1027
|
-
expect(cart.bundleDiscounts[0].total).toEqual(50000);
|
|
1028
|
-
expect(cart.bundleDiscounts[0].totalAlreadyApplied).toEqual(0);
|
|
1029
|
-
expect(cart.bundleDiscounts[0].netTotal).toEqual(50000);
|
|
1030
|
-
expect(cart.price).toEqual(500000 + 400000 + 400000);
|
|
1031
|
-
expect(checkout.totalPrice).toEqual(500000 + 400000 + 400000 - 50000);
|
|
1032
|
-
expect(checkout.priceBreakown).toEqual([
|
|
1033
|
-
expect.objectContaining({
|
|
1034
|
-
price: 1300000,
|
|
1035
|
-
}),
|
|
1036
|
-
{
|
|
1037
|
-
name: 'Bundle discount',
|
|
1038
|
-
price: -50000,
|
|
1039
|
-
},
|
|
1040
|
-
expect.objectContaining({
|
|
1041
|
-
price: 1300000 - 50000,
|
|
1042
|
-
}),
|
|
1043
|
-
]);
|
|
1044
|
-
});
|
|
1045
|
-
test('Gives different discount for members with reduced price', () => {
|
|
1046
|
-
// Create familuy with 3 members.
|
|
1047
|
-
// One member has a reduced price.
|
|
1048
|
-
// The other two members have a normal price.
|
|
1049
|
-
// Create a 50%, 100% discount for the reduced price in a bundle discount (so it should be free in a family with 3 members)
|
|
1050
|
-
const { organization, groups, family } = setupDiscountTest({
|
|
1051
|
-
memberCount: 3,
|
|
1052
|
-
groupPrices: [500000, 400000],
|
|
1053
|
-
groupNames: ['Group A', 'Group B'],
|
|
1054
|
-
bundleDiscount: createBundleDiscount({
|
|
1055
|
-
name: 'Bundle discount',
|
|
1056
|
-
discounts: [
|
|
1057
|
-
{ value: 500, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Percentage, reducedValue: 5000 },
|
|
1058
|
-
{ value: 1000, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Percentage, reducedValue: 10000 },
|
|
1059
|
-
],
|
|
1060
|
-
}),
|
|
1061
|
-
});
|
|
1062
|
-
const [groupA, groupB] = groups;
|
|
1063
|
-
const [memberA, memberB, memberC] = family.members;
|
|
1064
|
-
// Make sure the last member has a reduced price
|
|
1065
|
-
memberC.member.details.requiresFinancialSupport = MemberDetails_js_1.BooleanStatus.create({ value: true });
|
|
1066
|
-
const itemA = RegisterItem_js_1.RegisterItem.defaultFor(memberA, groupA, organization);
|
|
1067
|
-
const itemB = RegisterItem_js_1.RegisterItem.defaultFor(memberB, groupB, organization);
|
|
1068
|
-
const itemC = RegisterItem_js_1.RegisterItem.defaultFor(memberC, groupB, organization);
|
|
1069
|
-
// Add to a single cart
|
|
1070
|
-
const checkout = family.checkout;
|
|
1071
|
-
const cart = checkout.cart;
|
|
1072
|
-
cart.add(itemA);
|
|
1073
|
-
cart.add(itemB);
|
|
1074
|
-
cart.add(itemC);
|
|
1075
|
-
cart.calculatePrices();
|
|
1076
|
-
// Check price for items
|
|
1077
|
-
expect(itemA.calculatedPrice).toEqual(500000);
|
|
1078
|
-
expect(itemB.calculatedPrice).toEqual(400000);
|
|
1079
|
-
expect(itemC.calculatedPrice).toEqual(400000);
|
|
1080
|
-
// Check calculated discount is 40_0000 * 1 + 50_0000 * 5% = 40_0000 + 2_5000 = 42_5000
|
|
1081
|
-
expect(cart.bundleDiscounts).toHaveLength(1);
|
|
1082
|
-
expect(cart.bundleDiscounts[0].total).toEqual(425000);
|
|
1083
|
-
expect(cart.bundleDiscounts[0].totalAlreadyApplied).toEqual(0);
|
|
1084
|
-
expect(cart.bundleDiscounts[0].netTotal).toEqual(425000);
|
|
1085
|
-
expect(cart.price).toEqual(500000 + 400000 + 400000);
|
|
1086
|
-
expect(checkout.totalPrice).toEqual(500000 + 400000 + 400000 - 425000);
|
|
1087
|
-
expect(checkout.priceBreakown).toEqual([
|
|
1088
|
-
expect.objectContaining({
|
|
1089
|
-
price: 1300000,
|
|
1090
|
-
}),
|
|
1091
|
-
{
|
|
1092
|
-
name: 'Bundle discount',
|
|
1093
|
-
price: -425000,
|
|
1094
|
-
},
|
|
1095
|
-
expect.objectContaining({
|
|
1096
|
-
price: 1300000 - 425000,
|
|
1097
|
-
}),
|
|
1098
|
-
]);
|
|
1099
|
-
// Remove requires financial support, then recalculate
|
|
1100
|
-
memberC.member.details.requiresFinancialSupport = MemberDetails_js_1.BooleanStatus.create({ value: false });
|
|
1101
|
-
cart.calculatePrices();
|
|
1102
|
-
// 10% on 50_0000 + 5% on 40_0000 = 5_0000 + 2_0000 = 7_0000
|
|
1103
|
-
expect(checkout.priceBreakown).toEqual([
|
|
1104
|
-
expect.objectContaining({
|
|
1105
|
-
price: 1300000,
|
|
1106
|
-
}),
|
|
1107
|
-
{
|
|
1108
|
-
name: 'Bundle discount',
|
|
1109
|
-
price: -70000,
|
|
1110
|
-
},
|
|
1111
|
-
expect.objectContaining({
|
|
1112
|
-
price: 1300000 - 70000,
|
|
1113
|
-
}),
|
|
1114
|
-
]);
|
|
1115
|
-
});
|
|
1116
|
-
test('Bundles without countWholeFamily only count per unique member', () => {
|
|
1117
|
-
// Register member A for both group A and group B
|
|
1118
|
-
// while member B is only registered for group A
|
|
1119
|
-
// Only member A should get the discount for either A or B (if the order matters)
|
|
1120
|
-
const { organization, groups, family } = setupDiscountTest({
|
|
1121
|
-
memberCount: 2,
|
|
1122
|
-
bundleDiscount: createBundleDiscount({
|
|
1123
|
-
name: 'Multiple lessons discount',
|
|
1124
|
-
countWholeFamily: false,
|
|
1125
|
-
countPerGroup: false,
|
|
1126
|
-
discounts: [
|
|
1127
|
-
{ value: 1000, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Percentage },
|
|
1128
|
-
],
|
|
1129
|
-
}),
|
|
1130
|
-
});
|
|
1131
|
-
const [groupA, groupB] = groups;
|
|
1132
|
-
const [memberA, memberB] = family.members;
|
|
1133
|
-
const itemA = RegisterItem_js_1.RegisterItem.defaultFor(memberA, groupA, organization);
|
|
1134
|
-
const itemB = RegisterItem_js_1.RegisterItem.defaultFor(memberA, groupB, organization);
|
|
1135
|
-
const itemC = RegisterItem_js_1.RegisterItem.defaultFor(memberB, groupA, organization);
|
|
1136
|
-
// Add to a single cart
|
|
1137
|
-
const checkout = family.checkout;
|
|
1138
|
-
const cart = checkout.cart;
|
|
1139
|
-
cart.add(itemA);
|
|
1140
|
-
cart.add(itemB);
|
|
1141
|
-
cart.add(itemC);
|
|
1142
|
-
cart.calculatePrices();
|
|
1143
|
-
// Check price for items
|
|
1144
|
-
expect(itemA.calculatedPrice).toEqual(500000);
|
|
1145
|
-
expect(itemB.calculatedPrice).toEqual(400000);
|
|
1146
|
-
expect(itemC.calculatedPrice).toEqual(500000);
|
|
1147
|
-
// Check calculated discount is 50_0000 * 0.10 = 5_0000
|
|
1148
|
-
expect(cart.bundleDiscounts.map(c => c.netTotal)).toHaveLength(1);
|
|
1149
|
-
expect(cart.bundleDiscounts[0].total).toEqual(50000);
|
|
1150
|
-
expect(cart.bundleDiscounts[0].netTotal).toEqual(50000);
|
|
1151
|
-
expect(cart.price).toEqual(500000 + 400000 + 500000);
|
|
1152
|
-
expect(checkout.totalPrice).toEqual(500000 + 400000 + 500000 - 50000);
|
|
1153
|
-
expect(checkout.priceBreakown).toEqual([
|
|
1154
|
-
expect.objectContaining({
|
|
1155
|
-
price: 500000 + 400000 + 500000,
|
|
1156
|
-
}),
|
|
1157
|
-
{
|
|
1158
|
-
name: 'Multiple lessons discount (John)',
|
|
1159
|
-
price: -50000,
|
|
1160
|
-
},
|
|
1161
|
-
expect.objectContaining({
|
|
1162
|
-
price: 500000 + 400000 + 500000 - 50000,
|
|
1163
|
-
}),
|
|
1164
|
-
]);
|
|
1165
|
-
// Add a historic registration for member B, so it also gets a discount
|
|
1166
|
-
addHistoricRegistration(memberB, groupB, organization);
|
|
1167
|
-
cart.calculatePrices();
|
|
1168
|
-
expect(checkout.priceBreakown).toEqual([
|
|
1169
|
-
expect.objectContaining({
|
|
1170
|
-
price: 500000 + 400000 + 500000, // no change
|
|
1171
|
-
}),
|
|
1172
|
-
{
|
|
1173
|
-
name: 'Multiple lessons discount (John)',
|
|
1174
|
-
price: -50000,
|
|
1175
|
-
},
|
|
1176
|
-
{
|
|
1177
|
-
name: 'Multiple lessons discount (Jane)',
|
|
1178
|
-
price: -50000,
|
|
1179
|
-
},
|
|
1180
|
-
expect.objectContaining({
|
|
1181
|
-
price: 500000 + 400000 + 500000 - 50000 - 50000,
|
|
1182
|
-
}),
|
|
1183
|
-
]);
|
|
1184
|
-
});
|
|
1185
|
-
test('Bundles with countPerGroup only count per unique group', () => {
|
|
1186
|
-
const { organization, groups, family, discount } = setupDiscountTest({
|
|
1187
|
-
memberCount: 2,
|
|
1188
|
-
groupNames: ['Group A', 'Group B'],
|
|
1189
|
-
bundleDiscount: createBundleDiscount({
|
|
1190
|
-
name: 'Multiple family members discount',
|
|
1191
|
-
countWholeFamily: true,
|
|
1192
|
-
countPerGroup: true,
|
|
1193
|
-
discounts: [
|
|
1194
|
-
{ value: 1000, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Percentage },
|
|
1195
|
-
],
|
|
1196
|
-
}),
|
|
1197
|
-
});
|
|
1198
|
-
const [groupA, groupB] = groups;
|
|
1199
|
-
const [memberA, memberB] = family.members;
|
|
1200
|
-
// Both members register for the different groups, does not give the discount
|
|
1201
|
-
const itemA = RegisterItem_js_1.RegisterItem.defaultFor(memberA, groupA, organization);
|
|
1202
|
-
const itemB = RegisterItem_js_1.RegisterItem.defaultFor(memberB, groupB, organization);
|
|
1203
|
-
// Add to a single cart
|
|
1204
|
-
const checkout = family.checkout;
|
|
1205
|
-
const cart = checkout.cart;
|
|
1206
|
-
cart.add(itemA);
|
|
1207
|
-
cart.add(itemB);
|
|
1208
|
-
cart.calculatePrices();
|
|
1209
|
-
// No discount should be applied yet (need at least 2 different groups)
|
|
1210
|
-
expect(cart.bundleDiscounts).toHaveLength(0);
|
|
1211
|
-
expect(checkout.totalPrice).toEqual(500000 + 400000);
|
|
1212
|
-
// Now register one member for group B as well
|
|
1213
|
-
const itemC = RegisterItem_js_1.RegisterItem.defaultFor(memberA, groupB, organization);
|
|
1214
|
-
cart.add(itemC);
|
|
1215
|
-
cart.calculatePrices();
|
|
1216
|
-
// Now we should get a discount
|
|
1217
|
-
expect(cart.bundleDiscounts).toHaveLength(1);
|
|
1218
|
-
expect(cart.bundleDiscounts[0].total).toEqual(40000); // 10% of 40_0000 (not 50_0000)
|
|
1219
|
-
expect(cart.bundleDiscounts[0].netTotal).toEqual(40000);
|
|
1220
|
-
expect(cart.price).toEqual(500000 + 400000 + 400000);
|
|
1221
|
-
expect(checkout.totalPrice).toEqual(500000 + 400000 + 400000 - 40000);
|
|
1222
|
-
expect(checkout.priceBreakown).toEqual([
|
|
1223
|
-
expect.objectContaining({
|
|
1224
|
-
price: 500000 + 400000 + 400000,
|
|
1225
|
-
}),
|
|
1226
|
-
{
|
|
1227
|
-
name: 'Multiple family members discount (Group B)',
|
|
1228
|
-
price: -40000,
|
|
1229
|
-
},
|
|
1230
|
-
expect.objectContaining({
|
|
1231
|
-
price: 500000 + 400000 + 400000 - 40000,
|
|
1232
|
-
}),
|
|
1233
|
-
]);
|
|
1234
|
-
// Change calculation to count across groups
|
|
1235
|
-
discount.countPerGroup = false;
|
|
1236
|
-
cart.calculatePrices();
|
|
1237
|
-
// Now we should get a discount for both groups
|
|
1238
|
-
expect(checkout.priceBreakown).toEqual([
|
|
1239
|
-
expect.objectContaining({
|
|
1240
|
-
price: 500000 + 400000 + 400000,
|
|
1241
|
-
}),
|
|
1242
|
-
{
|
|
1243
|
-
name: 'Multiple family members discount',
|
|
1244
|
-
price: -90000,
|
|
1245
|
-
},
|
|
1246
|
-
expect.objectContaining({
|
|
1247
|
-
price: 500000 + 400000 + 400000 - 90000,
|
|
1248
|
-
}),
|
|
1249
|
-
]);
|
|
1250
|
-
});
|
|
1251
|
-
test('countPerGroup = true is ignored if countWholeFamily is false', () => {
|
|
1252
|
-
const { organization, groups, family, discount } = setupDiscountTest({
|
|
1253
|
-
memberCount: 2,
|
|
1254
|
-
groupNames: ['Group A', 'Group B'],
|
|
1255
|
-
bundleDiscount: createBundleDiscount({
|
|
1256
|
-
name: 'Multiple lessons discount',
|
|
1257
|
-
countWholeFamily: false, // This means only count per unique member
|
|
1258
|
-
countPerGroup: true, // This should be ignored since countWholeFamily is false
|
|
1259
|
-
discounts: [
|
|
1260
|
-
{ value: 1000, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Percentage },
|
|
1261
|
-
],
|
|
1262
|
-
}),
|
|
1263
|
-
});
|
|
1264
|
-
const [groupA, groupB] = groups;
|
|
1265
|
-
const [memberA, memberB] = family.members;
|
|
1266
|
-
// Register member A for both group A and B
|
|
1267
|
-
// Register member B for group A
|
|
1268
|
-
const itemA = RegisterItem_js_1.RegisterItem.defaultFor(memberA, groupA, organization);
|
|
1269
|
-
const itemB = RegisterItem_js_1.RegisterItem.defaultFor(memberA, groupB, organization);
|
|
1270
|
-
const itemC = RegisterItem_js_1.RegisterItem.defaultFor(memberB, groupA, organization);
|
|
1271
|
-
// Add to a single cart
|
|
1272
|
-
const checkout = family.checkout;
|
|
1273
|
-
const cart = checkout.cart;
|
|
1274
|
-
cart.add(itemA);
|
|
1275
|
-
cart.add(itemB);
|
|
1276
|
-
cart.add(itemC);
|
|
1277
|
-
cart.calculatePrices();
|
|
1278
|
-
// Check price for items
|
|
1279
|
-
expect(itemA.calculatedPrice).toEqual(500000);
|
|
1280
|
-
expect(itemB.calculatedPrice).toEqual(400000);
|
|
1281
|
-
expect(itemC.calculatedPrice).toEqual(500000);
|
|
1282
|
-
// Check calculated discount - should only apply to member A (who has multiple registrations)
|
|
1283
|
-
expect(cart.bundleDiscounts).toHaveLength(1);
|
|
1284
|
-
expect(cart.bundleDiscounts[0].total).toEqual(50000); // 10% of 50_0000 (we always apply discounts to highest price first)
|
|
1285
|
-
expect(cart.bundleDiscounts[0].netTotal).toEqual(50000);
|
|
1286
|
-
expect(cart.price).toEqual(500000 + 400000 + 500000);
|
|
1287
|
-
expect(checkout.totalPrice).toEqual(500000 + 400000 + 500000 - 50000);
|
|
1288
|
-
expect(checkout.priceBreakown).toEqual([
|
|
1289
|
-
expect.objectContaining({
|
|
1290
|
-
price: 500000 + 400000 + 500000,
|
|
1291
|
-
}),
|
|
1292
|
-
{
|
|
1293
|
-
name: 'Multiple lessons discount (John)',
|
|
1294
|
-
price: -50000,
|
|
1295
|
-
},
|
|
1296
|
-
expect.objectContaining({
|
|
1297
|
-
price: 500000 + 400000 + 500000 - 50000,
|
|
1298
|
-
}),
|
|
1299
|
-
]);
|
|
1300
|
-
// Now explicitly turn on countPerGroup and set countWholeFamily to true
|
|
1301
|
-
// to verify it behaves differently (proving that countPerGroup was indeed ignored before)
|
|
1302
|
-
discount.countWholeFamily = true;
|
|
1303
|
-
discount.countPerGroup = true;
|
|
1304
|
-
cart.calculatePrices();
|
|
1305
|
-
// Now we should get a discount for group A (since two members are registered for it)
|
|
1306
|
-
expect(checkout.priceBreakown).toEqual([
|
|
1307
|
-
expect.objectContaining({
|
|
1308
|
-
price: 500000 + 400000 + 500000,
|
|
1309
|
-
}),
|
|
1310
|
-
{
|
|
1311
|
-
name: 'Multiple lessons discount (Group A)',
|
|
1312
|
-
price: -50000, // 10% of the second 50_0000
|
|
1313
|
-
},
|
|
1314
|
-
expect.objectContaining({
|
|
1315
|
-
price: 500000 + 400000 + 500000 - 50000,
|
|
1316
|
-
}),
|
|
1317
|
-
]);
|
|
1318
|
-
});
|
|
1319
|
-
test('Past discounts are only altered if a related registration is added or removed', () => {
|
|
1320
|
-
// Create two historic registrations that didn't get an existing discount (= error)
|
|
1321
|
-
// now, add a new registration to the cart that is not applicable to the discount - the old discount should not be altered
|
|
1322
|
-
const { organization, groups, family, period, discount } = setupDiscountTest({
|
|
1323
|
-
memberCount: 2,
|
|
1324
|
-
groupPrices: [500000, 400000],
|
|
1325
|
-
groupNames: ['Group A', 'Group B'],
|
|
1326
|
-
bundleDiscount: createBundleDiscount({
|
|
1327
|
-
name: 'Multiple family members discount',
|
|
1328
|
-
countWholeFamily: true,
|
|
1329
|
-
countPerGroup: false,
|
|
1330
|
-
discounts: [
|
|
1331
|
-
{ value: 1000, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Percentage },
|
|
1332
|
-
],
|
|
1333
|
-
}),
|
|
1334
|
-
});
|
|
1335
|
-
const [groupA, groupB] = groups;
|
|
1336
|
-
const [memberA, memberB] = family.members;
|
|
1337
|
-
const registrationA = addHistoricRegistration(memberA, groupA, organization);
|
|
1338
|
-
const registrationB = addHistoricRegistration(memberB, groupB, organization);
|
|
1339
|
-
// Create a new group that is not applicable to the discount
|
|
1340
|
-
const [groupC] = createTestGroups(organization, period, [300000], ['Group C']);
|
|
1341
|
-
const itemC = RegisterItem_js_1.RegisterItem.defaultFor(memberA, groupC, organization);
|
|
1342
|
-
// Add to a single cart
|
|
1343
|
-
const checkout = family.checkout;
|
|
1344
|
-
const cart = checkout.cart;
|
|
1345
|
-
cart.add(itemC);
|
|
1346
|
-
cart.calculatePrices();
|
|
1347
|
-
expect(itemC.calculatedPrice).toEqual(300000);
|
|
1348
|
-
expect(cart.bundleDiscounts).toHaveLength(0);
|
|
1349
|
-
expect(checkout.totalPrice).toEqual(300000);
|
|
1350
|
-
expect(checkout.priceBreakown).toEqual([
|
|
1351
|
-
expect.objectContaining({
|
|
1352
|
-
price: 300000,
|
|
1353
|
-
}),
|
|
1354
|
-
]);
|
|
1355
|
-
// Now also register memberB for group A and add it to the cart
|
|
1356
|
-
const itemD = RegisterItem_js_1.RegisterItem.defaultFor(memberB, groupA, organization);
|
|
1357
|
-
cart.add(itemD);
|
|
1358
|
-
cart.calculatePrices();
|
|
1359
|
-
// Check price for items
|
|
1360
|
-
expect(itemD.calculatedPrice).toEqual(500000);
|
|
1361
|
-
expect(itemC.calculatedPrice).toEqual(300000);
|
|
1362
|
-
// Check calculated discount: should also take old registrations into account
|
|
1363
|
-
// 50_0000 * 10% + 50_0000 * 10% = 5_0000 + 5_0000 = 10_0000
|
|
1364
|
-
expect(cart.bundleDiscounts).toHaveLength(1);
|
|
1365
|
-
expect(cart.bundleDiscounts[0].total).toEqual(100000);
|
|
1366
|
-
expect(cart.bundleDiscounts[0].totalAlreadyApplied).toEqual(0);
|
|
1367
|
-
expect(cart.bundleDiscounts[0].netTotal).toEqual(100000);
|
|
1368
|
-
expect(cart.price).toEqual(500000 + 300000);
|
|
1369
|
-
expect(checkout.totalPrice).toEqual(500000 + 300000 - 100000);
|
|
1370
|
-
expect(checkout.priceBreakown).toEqual([
|
|
1371
|
-
expect.objectContaining({
|
|
1372
|
-
price: 500000 + 300000,
|
|
1373
|
-
}),
|
|
1374
|
-
{
|
|
1375
|
-
name: 'Multiple family members discount',
|
|
1376
|
-
price: -100000,
|
|
1377
|
-
},
|
|
1378
|
-
expect.objectContaining({
|
|
1379
|
-
price: 500000 + 300000 - 100000,
|
|
1380
|
-
}),
|
|
1381
|
-
]);
|
|
1382
|
-
});
|
|
1383
|
-
test('Fixed discounts are limited to the group price', () => {
|
|
1384
|
-
const { organization, groups, family, discount } = setupDiscountTest({
|
|
1385
|
-
memberCount: 2,
|
|
1386
|
-
groupNames: ['Group A', 'Group B'],
|
|
1387
|
-
bundleDiscount: createBundleDiscount({
|
|
1388
|
-
name: 'Multiple family members discount',
|
|
1389
|
-
countWholeFamily: true,
|
|
1390
|
-
countPerGroup: false,
|
|
1391
|
-
discounts: [
|
|
1392
|
-
{ value: 10000000, type: GroupPriceDiscount_js_1.GroupPriceDiscountType.Fixed },
|
|
1393
|
-
],
|
|
1394
|
-
}),
|
|
1395
|
-
});
|
|
1396
|
-
const [groupA, groupB] = groups;
|
|
1397
|
-
const [memberA, memberB] = family.members;
|
|
1398
|
-
const itemA = RegisterItem_js_1.RegisterItem.defaultFor(memberA, groupA, organization);
|
|
1399
|
-
const itemB = RegisterItem_js_1.RegisterItem.defaultFor(memberB, groupB, organization);
|
|
1400
|
-
// Add to a single cart
|
|
1401
|
-
const checkout = family.checkout;
|
|
1402
|
-
const cart = checkout.cart;
|
|
1403
|
-
cart.add(itemA);
|
|
1404
|
-
cart.add(itemB);
|
|
1405
|
-
cart.calculatePrices();
|
|
1406
|
-
expect(cart.bundleDiscounts).toHaveLength(1);
|
|
1407
|
-
expect(cart.bundleDiscounts[0].total).toEqual(500000);
|
|
1408
|
-
expect(cart.bundleDiscounts[0].totalAlreadyApplied).toEqual(0);
|
|
1409
|
-
expect(cart.bundleDiscounts[0].netTotal).toEqual(500000);
|
|
1410
|
-
expect(cart.price).toEqual(500000 + 400000);
|
|
1411
|
-
expect(checkout.totalPrice).toEqual(400000);
|
|
1412
|
-
expect(checkout.priceBreakown).toEqual([
|
|
1413
|
-
expect.objectContaining({
|
|
1414
|
-
price: 500000 + 400000,
|
|
1415
|
-
}),
|
|
1416
|
-
{
|
|
1417
|
-
name: 'Multiple family members discount',
|
|
1418
|
-
price: -500000,
|
|
1419
|
-
},
|
|
1420
|
-
expect.objectContaining({
|
|
1421
|
-
price: 400000,
|
|
1422
|
-
}),
|
|
1423
|
-
]);
|
|
1424
|
-
});
|
|
1425
|
-
test.todo('Can handle bundle discounts for a future period');
|
|
1426
|
-
test.todo('Families should be calculated correctly for admins');
|
|
1427
|
-
test.todo('The price per item can never be negative');
|
|
1428
|
-
});
|
|
1429
|
-
});
|
|
1430
|
-
//# sourceMappingURL=RegisterCart.test.js.map
|