diff --git a/src/main/java/alfio/controller/api/admin/ResourceController.java b/src/main/java/alfio/controller/api/admin/ResourceController.java index 20857da69..f328f3100 100644 --- a/src/main/java/alfio/controller/api/admin/ResourceController.java +++ b/src/main/java/alfio/controller/api/admin/ResourceController.java @@ -85,7 +85,7 @@ public String handleSyntaxError(Exception ex) { return cause.orElse("Something went wrong. Please check the syntax and retry"); } - @GetMapping("/overridable-template/") + @GetMapping("/overridable-template") public List getOverridableTemplates() { return Stream.of(TemplateResource.values()).filter(TemplateResource::overridable).collect(Collectors.toList()); } @@ -221,7 +221,7 @@ private Event getEvent(Integer organizationId, Integer eventId, Principal princi //------------------ - @GetMapping("/resource/") + @GetMapping("/resource") public List findAll(Principal principal) { checkAccess(principal); return uploadedResourceManager.findAll(); @@ -274,19 +274,19 @@ public ResponseEntity getMetadata(@PathVariable int organizati //------------------ - @PostMapping("/resource/") + @PostMapping("/resource") public void uploadFile(@RequestBody UploadBase64FileModification upload, Principal principal) { checkAccess(principal); uploadedResourceManager.saveResource(upload).orElseThrow(IllegalArgumentException::new); } - @PostMapping("/resource-organization/{organizationId}/") + @PostMapping("/resource-organization/{organizationId}") public void uploadFile(@PathVariable int organizationId, @RequestBody UploadBase64FileModification upload, Principal principal) { checkAccess(organizationId, principal); uploadedResourceManager.saveResource(organizationId, upload).orElseThrow(IllegalArgumentException::new); } - @PostMapping("/resource-event/{organizationId}/{eventId}/") + @PostMapping("/resource-event/{organizationId}/{eventId}") public void uploadFile(@PathVariable int organizationId, @PathVariable int eventId, @RequestBody UploadBase64FileModification upload, Principal principal) { checkAccess(organizationId, eventId, principal); uploadedResourceManager.saveResource(organizationId, eventId, upload).orElseThrow(IllegalArgumentException::new); diff --git a/src/main/java/alfio/util/TemplateResource.java b/src/main/java/alfio/util/TemplateResource.java index b8970bfe0..6657cdccb 100644 --- a/src/main/java/alfio/util/TemplateResource.java +++ b/src/main/java/alfio/util/TemplateResource.java @@ -54,9 +54,6 @@ public enum TemplateResource { - @Deprecated - GOOGLE_ANALYTICS("", "", TemplateManager.TemplateOutput.TEXT), - CONFIRMATION_EMAIL_FOR_ORGANIZER("/alfio/templates/confirmation-email-for-organizer", TemplateResource.MULTIPART_ALTERNATIVE_MIMETYPE, TemplateManager.TemplateOutput.HTML) { @Override public Map prepareSampleModel(Organization organization, PurchaseContext event, Optional imageData) { @@ -478,6 +475,7 @@ public static Map prepareModelForConfirmationEmail(Organization model.put("vatNr", vat.orElse("")); model.put("tickets", tickets); model.put("orderSummary", orderSummary); + model.put("publicId", reservationShortID); model.put(BASE_URL, baseUrl); model.put(RESERVATION_URL, reservationUrl); model.put("locale", reservation.getUserLanguage()); diff --git a/src/test/resources/api/descriptor.json b/src/test/resources/api/descriptor.json index 6fa76750e..fe4a6b7fe 100644 --- a/src/test/resources/api/descriptor.json +++ b/src/test/resources/api/descriptor.json @@ -6861,7 +6861,7 @@ } } }, - "/admin/api/resource/" : { + "/admin/api/resource" : { "get" : { "tags" : [ "resource-controller" ], "operationId" : "findAll", @@ -6981,7 +6981,75 @@ } } }, - "/admin/api/resource-organization/{organizationId}/" : { + "/admin/api/resource-organization/{organizationId}" : { + "get" : { + "tags" : [ "resource-controller" ], + "operationId" : "findAllForOrganization", + "parameters" : [ { + "name" : "organizationId", + "in" : "path", + "required" : true, + "schema" : { + "type" : "integer", + "format" : "int32" + } + } ], + "responses" : { + "400" : { + "description" : "Bad Request", + "content" : { + "*/*" : { + "schema" : { + "type" : "string" + } + } + } + }, + "500" : { + "description" : "Internal Server Error", + "content" : { + "*/*" : { + "schema" : { + "type" : "string" + } + } + } + }, + "401" : { + "description" : "Unauthorized", + "content" : { + "*/*" : { + "schema" : { + "type" : "string" + } + } + } + }, + "403" : { + "description" : "Forbidden", + "content" : { + "*/*" : { + "schema" : { + "type" : "string" + } + } + } + }, + "200" : { + "description" : "OK", + "content" : { + "*/*" : { + "schema" : { + "type" : "array", + "items" : { + "$ref" : "#/components/schemas/UploadedResource" + } + } + } + } + } + } + }, "post" : { "tags" : [ "resource-controller" ], "operationId" : "uploadFile_1", @@ -7051,7 +7119,83 @@ } } }, - "/admin/api/resource-event/{organizationId}/{eventId}/" : { + "/admin/api/resource-event/{organizationId}/{eventId}" : { + "get" : { + "tags" : [ "resource-controller" ], + "operationId" : "findAllForEvent", + "parameters" : [ { + "name" : "organizationId", + "in" : "path", + "required" : true, + "schema" : { + "type" : "integer", + "format" : "int32" + } + }, { + "name" : "eventId", + "in" : "path", + "required" : true, + "schema" : { + "type" : "integer", + "format" : "int32" + } + } ], + "responses" : { + "400" : { + "description" : "Bad Request", + "content" : { + "*/*" : { + "schema" : { + "type" : "string" + } + } + } + }, + "500" : { + "description" : "Internal Server Error", + "content" : { + "*/*" : { + "schema" : { + "type" : "string" + } + } + } + }, + "401" : { + "description" : "Unauthorized", + "content" : { + "*/*" : { + "schema" : { + "type" : "string" + } + } + } + }, + "403" : { + "description" : "Forbidden", + "content" : { + "*/*" : { + "schema" : { + "type" : "string" + } + } + } + }, + "200" : { + "description" : "OK", + "content" : { + "*/*" : { + "schema" : { + "type" : "array", + "items" : { + "$ref" : "#/components/schemas/UploadedResource" + } + } + } + } + } + } + }, "post" : { "tags" : [ "resource-controller" ], "operationId" : "uploadFile_2", @@ -8016,7 +8160,7 @@ "required" : true, "schema" : { "type" : "string", - "enum" : [ "GOOGLE_ANALYTICS", "CONFIRMATION_EMAIL_FOR_ORGANIZER", "SEND_RESERVED_CODE", "CONFIRMATION_EMAIL", "CONFIRMATION_EMAIL_SUBSCRIPTION", "OFFLINE_RESERVATION_EXPIRED_EMAIL", "CHARGE_ATTEMPT_FAILED_EMAIL", "CHARGE_ATTEMPT_FAILED_EMAIL_FOR_ORGANIZER", "CREDIT_NOTE_ISSUED_EMAIL", "OFFLINE_RESERVATION_EXPIRING_EMAIL_FOR_ORGANIZER", "OFFLINE_PAYMENT_MATCHES_FOUND", "REMINDER_EMAIL", "REMINDER_TICKET_ADDITIONAL_INFO", "REMINDER_TICKETS_ASSIGNMENT_EMAIL", "TICKET_EMAIL", "TICKET_EMAIL_FOR_ONLINE_EVENT", "TICKET_HAS_CHANGED_OWNER", "TICKET_HAS_BEEN_CANCELLED", "TICKET_HAS_BEEN_CANCELLED_ADMIN", "TICKET_PDF", "RECEIPT_PDF", "INVOICE_PDF", "CREDIT_NOTE_PDF", "SUBSCRIPTION_PDF", "WAITING_QUEUE_JOINED", "WAITING_QUEUE_RESERVATION_EMAIL", "CUSTOM_MESSAGE" ] + "enum" : [ "CONFIRMATION_EMAIL_FOR_ORGANIZER", "SEND_RESERVED_CODE", "CONFIRMATION_EMAIL", "CONFIRMATION_EMAIL_SUBSCRIPTION", "OFFLINE_RESERVATION_EXPIRED_EMAIL", "CHARGE_ATTEMPT_FAILED_EMAIL", "CHARGE_ATTEMPT_FAILED_EMAIL_FOR_ORGANIZER", "CREDIT_NOTE_ISSUED_EMAIL", "OFFLINE_RESERVATION_EXPIRING_EMAIL_FOR_ORGANIZER", "OFFLINE_PAYMENT_MATCHES_FOUND", "REMINDER_EMAIL", "REMINDER_TICKET_ADDITIONAL_INFO", "REMINDER_TICKETS_ASSIGNMENT_EMAIL", "TICKET_EMAIL", "TICKET_EMAIL_FOR_ONLINE_EVENT", "TICKET_HAS_CHANGED_OWNER", "TICKET_HAS_BEEN_CANCELLED", "TICKET_HAS_BEEN_CANCELLED_ADMIN", "TICKET_PDF", "RECEIPT_PDF", "INVOICE_PDF", "CREDIT_NOTE_PDF", "SUBSCRIPTION_PDF", "WAITING_QUEUE_JOINED", "WAITING_QUEUE_RESERVATION_EMAIL", "CUSTOM_MESSAGE" ] } }, { "name" : "locale", @@ -16949,76 +17093,6 @@ } } }, - "/admin/api/resource-organization/{organizationId}" : { - "get" : { - "tags" : [ "resource-controller" ], - "operationId" : "findAllForOrganization", - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "integer", - "format" : "int32" - } - } ], - "responses" : { - "400" : { - "description" : "Bad Request", - "content" : { - "*/*" : { - "schema" : { - "type" : "string" - } - } - } - }, - "500" : { - "description" : "Internal Server Error", - "content" : { - "*/*" : { - "schema" : { - "type" : "string" - } - } - } - }, - "401" : { - "description" : "Unauthorized", - "content" : { - "*/*" : { - "schema" : { - "type" : "string" - } - } - } - }, - "403" : { - "description" : "Forbidden", - "content" : { - "*/*" : { - "schema" : { - "type" : "string" - } - } - } - }, - "200" : { - "description" : "OK", - "content" : { - "*/*" : { - "schema" : { - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/UploadedResource" - } - } - } - } - } - } - } - }, "/admin/api/resource-organization/{organizationId}/{name}/metadata" : { "get" : { "tags" : [ "resource-controller" ], @@ -17225,10 +17299,10 @@ } } }, - "/admin/api/resource-event/{organizationId}/{eventId}" : { + "/admin/api/resource-event/{organizationId}/{eventId}/{name}/metadata" : { "get" : { "tags" : [ "resource-controller" ], - "operationId" : "findAllForEvent", + "operationId" : "getMetadata_2", "parameters" : [ { "name" : "organizationId", "in" : "path", @@ -17245,6 +17319,13 @@ "type" : "integer", "format" : "int32" } + }, { + "name" : "name", + "in" : "path", + "required" : true, + "schema" : { + "type" : "string" + } } ], "responses" : { "400" : { @@ -17292,10 +17373,7 @@ "content" : { "*/*" : { "schema" : { - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/UploadedResource" - } + "$ref" : "#/components/schemas/UploadedResource" } } } @@ -17303,10 +17381,10 @@ } } }, - "/admin/api/resource-event/{organizationId}/{eventId}/{name}/metadata" : { + "/admin/api/resource-event/{organizationId}/{eventId}/{name}" : { "get" : { "tags" : [ "resource-controller" ], - "operationId" : "getMetadata_2", + "operationId" : "outputContent_2", "parameters" : [ { "name" : "organizationId", "in" : "path", @@ -17373,95 +17451,13 @@ } }, "200" : { - "description" : "OK", - "content" : { - "*/*" : { - "schema" : { - "$ref" : "#/components/schemas/UploadedResource" - } - } - } + "description" : "OK" } } - } - }, - "/admin/api/resource-event/{organizationId}/{eventId}/{name}" : { - "get" : { + }, + "delete" : { "tags" : [ "resource-controller" ], - "operationId" : "outputContent_2", - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "integer", - "format" : "int32" - } - }, { - "name" : "eventId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "integer", - "format" : "int32" - } - }, { - "name" : "name", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "400" : { - "description" : "Bad Request", - "content" : { - "*/*" : { - "schema" : { - "type" : "string" - } - } - } - }, - "500" : { - "description" : "Internal Server Error", - "content" : { - "*/*" : { - "schema" : { - "type" : "string" - } - } - } - }, - "401" : { - "description" : "Unauthorized", - "content" : { - "*/*" : { - "schema" : { - "type" : "string" - } - } - } - }, - "403" : { - "description" : "Forbidden", - "content" : { - "*/*" : { - "schema" : { - "type" : "string" - } - } - } - }, - "200" : { - "description" : "OK" - } - } - }, - "delete" : { - "tags" : [ "resource-controller" ], - "operationId" : "delete_4", + "operationId" : "delete_4", "parameters" : [ { "name" : "organizationId", "in" : "path", @@ -18844,26 +18840,10 @@ } } }, - "/admin/api/overridable-template/{name}/{locale}" : { + "/admin/api/overridable-template" : { "get" : { "tags" : [ "resource-controller" ], - "operationId" : "getTemplate", - "parameters" : [ { - "name" : "name", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string", - "enum" : [ "GOOGLE_ANALYTICS", "CONFIRMATION_EMAIL_FOR_ORGANIZER", "SEND_RESERVED_CODE", "CONFIRMATION_EMAIL", "CONFIRMATION_EMAIL_SUBSCRIPTION", "OFFLINE_RESERVATION_EXPIRED_EMAIL", "CHARGE_ATTEMPT_FAILED_EMAIL", "CHARGE_ATTEMPT_FAILED_EMAIL_FOR_ORGANIZER", "CREDIT_NOTE_ISSUED_EMAIL", "OFFLINE_RESERVATION_EXPIRING_EMAIL_FOR_ORGANIZER", "OFFLINE_PAYMENT_MATCHES_FOUND", "REMINDER_EMAIL", "REMINDER_TICKET_ADDITIONAL_INFO", "REMINDER_TICKETS_ASSIGNMENT_EMAIL", "TICKET_EMAIL", "TICKET_EMAIL_FOR_ONLINE_EVENT", "TICKET_HAS_CHANGED_OWNER", "TICKET_HAS_BEEN_CANCELLED", "TICKET_HAS_BEEN_CANCELLED_ADMIN", "TICKET_PDF", "RECEIPT_PDF", "INVOICE_PDF", "CREDIT_NOTE_PDF", "SUBSCRIPTION_PDF", "WAITING_QUEUE_JOINED", "WAITING_QUEUE_RESERVATION_EMAIL", "CUSTOM_MESSAGE" ] - } - }, { - "name" : "locale", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], + "operationId" : "getOverridableTemplates", "responses" : { "400" : { "description" : "Bad Request", @@ -18906,15 +18886,42 @@ } }, "200" : { - "description" : "OK" + "description" : "OK", + "content" : { + "*/*" : { + "schema" : { + "type" : "array", + "items" : { + "type" : "string", + "enum" : [ "CONFIRMATION_EMAIL_FOR_ORGANIZER", "SEND_RESERVED_CODE", "CONFIRMATION_EMAIL", "CONFIRMATION_EMAIL_SUBSCRIPTION", "OFFLINE_RESERVATION_EXPIRED_EMAIL", "CHARGE_ATTEMPT_FAILED_EMAIL", "CHARGE_ATTEMPT_FAILED_EMAIL_FOR_ORGANIZER", "CREDIT_NOTE_ISSUED_EMAIL", "OFFLINE_RESERVATION_EXPIRING_EMAIL_FOR_ORGANIZER", "OFFLINE_PAYMENT_MATCHES_FOUND", "REMINDER_EMAIL", "REMINDER_TICKET_ADDITIONAL_INFO", "REMINDER_TICKETS_ASSIGNMENT_EMAIL", "TICKET_EMAIL", "TICKET_EMAIL_FOR_ONLINE_EVENT", "TICKET_HAS_CHANGED_OWNER", "TICKET_HAS_BEEN_CANCELLED", "TICKET_HAS_BEEN_CANCELLED_ADMIN", "TICKET_PDF", "RECEIPT_PDF", "INVOICE_PDF", "CREDIT_NOTE_PDF", "SUBSCRIPTION_PDF", "WAITING_QUEUE_JOINED", "WAITING_QUEUE_RESERVATION_EMAIL", "CUSTOM_MESSAGE" ] + } + } + } + } } } } }, - "/admin/api/overridable-template/" : { + "/admin/api/overridable-template/{name}/{locale}" : { "get" : { "tags" : [ "resource-controller" ], - "operationId" : "getOverridableTemplates", + "operationId" : "getTemplate", + "parameters" : [ { + "name" : "name", + "in" : "path", + "required" : true, + "schema" : { + "type" : "string", + "enum" : [ "CONFIRMATION_EMAIL_FOR_ORGANIZER", "SEND_RESERVED_CODE", "CONFIRMATION_EMAIL", "CONFIRMATION_EMAIL_SUBSCRIPTION", "OFFLINE_RESERVATION_EXPIRED_EMAIL", "CHARGE_ATTEMPT_FAILED_EMAIL", "CHARGE_ATTEMPT_FAILED_EMAIL_FOR_ORGANIZER", "CREDIT_NOTE_ISSUED_EMAIL", "OFFLINE_RESERVATION_EXPIRING_EMAIL_FOR_ORGANIZER", "OFFLINE_PAYMENT_MATCHES_FOUND", "REMINDER_EMAIL", "REMINDER_TICKET_ADDITIONAL_INFO", "REMINDER_TICKETS_ASSIGNMENT_EMAIL", "TICKET_EMAIL", "TICKET_EMAIL_FOR_ONLINE_EVENT", "TICKET_HAS_CHANGED_OWNER", "TICKET_HAS_BEEN_CANCELLED", "TICKET_HAS_BEEN_CANCELLED_ADMIN", "TICKET_PDF", "RECEIPT_PDF", "INVOICE_PDF", "CREDIT_NOTE_PDF", "SUBSCRIPTION_PDF", "WAITING_QUEUE_JOINED", "WAITING_QUEUE_RESERVATION_EMAIL", "CUSTOM_MESSAGE" ] + } + }, { + "name" : "locale", + "in" : "path", + "required" : true, + "schema" : { + "type" : "string" + } + } ], "responses" : { "400" : { "description" : "Bad Request", @@ -18957,18 +18964,7 @@ } }, "200" : { - "description" : "OK", - "content" : { - "*/*" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "string", - "enum" : [ "GOOGLE_ANALYTICS", "CONFIRMATION_EMAIL_FOR_ORGANIZER", "SEND_RESERVED_CODE", "CONFIRMATION_EMAIL", "CONFIRMATION_EMAIL_SUBSCRIPTION", "OFFLINE_RESERVATION_EXPIRED_EMAIL", "CHARGE_ATTEMPT_FAILED_EMAIL", "CHARGE_ATTEMPT_FAILED_EMAIL_FOR_ORGANIZER", "CREDIT_NOTE_ISSUED_EMAIL", "OFFLINE_RESERVATION_EXPIRING_EMAIL_FOR_ORGANIZER", "OFFLINE_PAYMENT_MATCHES_FOUND", "REMINDER_EMAIL", "REMINDER_TICKET_ADDITIONAL_INFO", "REMINDER_TICKETS_ASSIGNMENT_EMAIL", "TICKET_EMAIL", "TICKET_EMAIL_FOR_ONLINE_EVENT", "TICKET_HAS_CHANGED_OWNER", "TICKET_HAS_BEEN_CANCELLED", "TICKET_HAS_BEEN_CANCELLED_ADMIN", "TICKET_PDF", "RECEIPT_PDF", "INVOICE_PDF", "CREDIT_NOTE_PDF", "SUBSCRIPTION_PDF", "WAITING_QUEUE_JOINED", "WAITING_QUEUE_RESERVATION_EMAIL", "CUSTOM_MESSAGE" ] - } - } - } - } + "description" : "OK" } } } @@ -25792,15 +25788,15 @@ "success" : { "type" : "boolean" }, + "errorCount" : { + "type" : "integer", + "format" : "int32" + }, "validationErrors" : { "type" : "array", "items" : { "$ref" : "#/components/schemas/ErrorDescriptor" } - }, - "errorCount" : { - "type" : "integer", - "format" : "int32" } } }, @@ -26081,10 +26077,10 @@ "enabled" : { "type" : "boolean" }, - "username" : { + "description" : { "type" : "string" }, - "description" : { + "username" : { "type" : "string" }, "firstName" : { @@ -26112,7 +26108,7 @@ "location" : { "type" : "string" }, - "code" : { + "description" : { "type" : "string" }, "arguments" : { @@ -26121,7 +26117,7 @@ "type" : "object" } }, - "description" : { + "code" : { "type" : "string" } } @@ -26528,15 +26524,15 @@ "priceBeforeTaxes" : { "type" : "string" }, - "priceInCents" : { - "type" : "integer", - "format" : "int32" - }, "notYetPaid" : { "type" : "boolean" }, "vatExempt" : { "type" : "boolean" + }, + "priceInCents" : { + "type" : "integer", + "format" : "int32" } } }, @@ -26795,14 +26791,14 @@ "type" : "string", "enum" : [ "NONE", "INCLUDED", "NOT_INCLUDED", "INCLUDED_EXEMPT", "NOT_INCLUDED_EXEMPT", "CUSTOM_INCLUDED_EXEMPT", "CUSTOM_NOT_INCLUDED_EXEMPT", "INCLUDED_NOT_CHARGED", "NOT_INCLUDED_NOT_CHARGED" ] }, + "discount" : { + "type" : "boolean" + }, "taxDetail" : { "type" : "boolean" }, "descriptionForPayment" : { "type" : "string" - }, - "discount" : { - "type" : "boolean" } } }, @@ -26893,17 +26889,17 @@ "type" : "string", "enum" : [ "NONE", "INCLUDED", "NOT_INCLUDED", "INCLUDED_EXEMPT", "NOT_INCLUDED_EXEMPT", "CUSTOM_INCLUDED_EXEMPT", "CUSTOM_NOT_INCLUDED_EXEMPT", "INCLUDED_NOT_CHARGED", "NOT_INCLUDED_NOT_CHARGED" ] }, - "assigned" : { - "type" : "boolean" - }, "formattedNetPrice" : { "type" : "string" }, - "formattedFinalPrice" : { - "type" : "string" + "assigned" : { + "type" : "boolean" }, "checkedIn" : { "type" : "boolean" + }, + "formattedFinalPrice" : { + "type" : "string" } } }, @@ -26981,11 +26977,11 @@ "type" : "string", "enum" : [ "INHERIT", "IN_PERSON", "ONLINE" ] }, - "free" : { - "type" : "boolean" - }, "price" : { "type" : "number" + }, + "free" : { + "type" : "boolean" } } }, @@ -27101,44 +27097,44 @@ "cancelled" : { "type" : "boolean" }, - "hasInvoiceOrReceiptDocument" : { + "stuck" : { "type" : "boolean" }, - "lineSplittedBillingAddress" : { - "type" : "array", - "items" : { - "type" : "string" - } - }, "hasBillingAddress" : { "type" : "boolean" }, "hasVatNumber" : { "type" : "boolean" }, - "hasBeenPaid" : { + "hasInvoiceNumber" : { "type" : "boolean" }, "pendingOfflinePayment" : { "type" : "boolean" }, - "hasInvoiceNumber" : { - "type" : "boolean" - }, "paidAmount" : { "type" : "string" }, - "stuck" : { + "lineSplittedBillingAddress" : { + "type" : "array", + "items" : { + "type" : "string" + } + }, + "hasInvoiceOrReceiptDocument" : { "type" : "boolean" }, - "taxablePrice" : { - "type" : "number" + "hasBeenPaid" : { + "type" : "boolean" }, "finalPrice" : { "type" : "number" }, "netPrice" : { "type" : "number" + }, + "taxablePrice" : { + "type" : "number" } } }, @@ -27230,16 +27226,7 @@ "currencyCode" : { "type" : "string" }, - "hasInvoiceOrReceiptDocument" : { - "type" : "boolean" - }, - "lineSplittedBillingAddress" : { - "type" : "array", - "items" : { - "type" : "string" - } - }, - "directAssignmentRequested" : { + "stuck" : { "type" : "boolean" }, "reminderSent" : { @@ -27269,34 +27256,22 @@ "type" : "string", "enum" : [ "PENDING", "IN_PAYMENT", "EXTERNAL_PROCESSING_PAYMENT", "WAITING_EXTERNAL_CONFIRMATION", "OFFLINE_PAYMENT", "DEFERRED_OFFLINE_PAYMENT", "FINALIZING", "OFFLINE_FINALIZING", "COMPLETE", "STUCK", "CANCELLED", "CREDIT_NOTE_ISSUED" ] }, - "email" : { - "type" : "string" - }, - "vat" : { - "type" : "number" - }, - "vatCts" : { - "type" : "integer", - "format" : "int32" - }, - "vatNr" : { + "customerReference" : { "type" : "string" }, - "vatIncluded" : { - "type" : "boolean" + "confirmationTimestamp" : { + "type" : "string", + "format" : "date-time" }, - "hasBeenPaid" : { + "hasInvoiceNumber" : { "type" : "boolean" }, - "optionalVatPercentage" : { - "type" : "number" - }, - "taxablePrice" : { - "type" : "number" + "invoiceNumber" : { + "type" : "string" }, - "registrationTimestamp" : { + "paymentMethod" : { "type" : "string", - "format" : "date-time" + "enum" : [ "STRIPE", "ON_SITE", "OFFLINE", "NONE", "ADMIN", "PAYPAL", "MOLLIE", "SAFERPAY" ] }, "firstName" : { "type" : "string" @@ -27307,26 +27282,23 @@ "userLanguage" : { "type" : "string" }, - "billingAddress" : { - "type" : "string" + "vatStatus" : { + "type" : "string", + "enum" : [ "NONE", "INCLUDED", "NOT_INCLUDED", "INCLUDED_EXEMPT", "NOT_INCLUDED_EXEMPT", "CUSTOM_INCLUDED_EXEMPT", "CUSTOM_NOT_INCLUDED_EXEMPT", "INCLUDED_NOT_CHARGED", "NOT_INCLUDED_NOT_CHARGED" ] }, - "customerReference" : { - "type" : "string" - }, - "srcPriceCts" : { - "type" : "integer", - "format" : "int32" - }, - "pendingOfflinePayment" : { - "type" : "boolean" - }, - "vatStatus" : { - "type" : "string", - "enum" : [ "NONE", "INCLUDED", "NOT_INCLUDED", "INCLUDED_EXEMPT", "NOT_INCLUDED_EXEMPT", "CUSTOM_INCLUDED_EXEMPT", "CUSTOM_NOT_INCLUDED_EXEMPT", "INCLUDED_NOT_CHARGED", "NOT_INCLUDED_NOT_CHARGED" ] + "vat" : { + "type" : "number" }, "discount" : { "$ref" : "#/components/schemas/PromoCodeDiscount" }, + "email" : { + "type" : "string" + }, + "srcPriceCts" : { + "type" : "integer", + "format" : "int32" + }, "finalPrice" : { "type" : "number" }, @@ -27337,10 +27309,17 @@ "type" : "integer", "format" : "int32" }, + "vatCts" : { + "type" : "integer", + "format" : "int32" + }, "discountCts" : { "type" : "integer", "format" : "int32" }, + "vatNr" : { + "type" : "string" + }, "vatCountryCode" : { "type" : "string" }, @@ -27357,29 +27336,46 @@ "netPrice" : { "type" : "number" }, + "pendingOfflinePayment" : { + "type" : "boolean" + }, "validity" : { "type" : "string", "format" : "date-time" }, - "hasInvoiceNumber" : { - "type" : "boolean" + "billingAddress" : { + "type" : "string" }, - "invoiceNumber" : { + "paidAmount" : { "type" : "string" }, - "confirmationTimestamp" : { + "registrationTimestamp" : { "type" : "string", "format" : "date-time" }, - "paidAmount" : { - "type" : "string" + "lineSplittedBillingAddress" : { + "type" : "array", + "items" : { + "type" : "string" + } }, - "paymentMethod" : { - "type" : "string", - "enum" : [ "STRIPE", "ON_SITE", "OFFLINE", "NONE", "ADMIN", "PAYPAL", "MOLLIE", "SAFERPAY" ] + "directAssignmentRequested" : { + "type" : "boolean" }, - "stuck" : { + "vatIncluded" : { "type" : "boolean" + }, + "hasInvoiceOrReceiptDocument" : { + "type" : "boolean" + }, + "hasBeenPaid" : { + "type" : "boolean" + }, + "optionalVatPercentage" : { + "type" : "number" + }, + "taxablePrice" : { + "type" : "number" } } }, @@ -27583,17 +27579,17 @@ "format" : "int32" } }, - "restrictedValuesAsString" : { + "linkedCategoriesIds" : { "type" : "array", "items" : { - "type" : "string" + "type" : "integer", + "format" : "int32" } }, - "linkedCategoriesIds" : { + "restrictedValuesAsString" : { "type" : "array", "items" : { - "type" : "integer", - "format" : "int32" + "type" : "string" } }, "disabledValuesAsString" : { @@ -27929,15 +27925,15 @@ "success" : { "type" : "boolean" }, + "errorCount" : { + "type" : "integer", + "format" : "int32" + }, "validationErrors" : { "type" : "array", "items" : { "$ref" : "#/components/schemas/ErrorDescriptor" } - }, - "errorCount" : { - "type" : "integer", - "format" : "int32" } } }, @@ -27970,15 +27966,15 @@ "success" : { "type" : "boolean" }, + "errorCount" : { + "type" : "integer", + "format" : "int32" + }, "validationErrors" : { "type" : "array", "items" : { "$ref" : "#/components/schemas/ErrorDescriptor" } - }, - "errorCount" : { - "type" : "integer", - "format" : "int32" } } }, @@ -28048,15 +28044,15 @@ "success" : { "type" : "boolean" }, + "errorCount" : { + "type" : "integer", + "format" : "int32" + }, "validationErrors" : { "type" : "array", "items" : { "$ref" : "#/components/schemas/ErrorDescriptor" } - }, - "errorCount" : { - "type" : "integer", - "format" : "int32" } } }, @@ -28189,22 +28185,22 @@ "errorMessage" : { "type" : "string" }, - "reservationStatusChanged" : { - "type" : "boolean" - }, "clientSecret" : { "type" : "string" }, - "token" : { - "type" : "string" + "reservationStatusChanged" : { + "type" : "boolean" + }, + "paymentMethod" : { + "type" : "string", + "enum" : [ "CREDIT_CARD", "PAYPAL", "IDEAL", "BANK_TRANSFER", "ON_SITE", "NONE", "APPLE_PAY", "BANCONTACT", "ING_HOME_PAY", "BELFIUS", "KBC", "PRZELEWY_24", "ALIPAY", "POSTFINANCE", "TWINT" ] }, "paymentProvider" : { "type" : "string", "enum" : [ "STRIPE", "ON_SITE", "OFFLINE", "NONE", "ADMIN", "PAYPAL", "MOLLIE", "SAFERPAY" ] }, - "paymentMethod" : { - "type" : "string", - "enum" : [ "CREDIT_CARD", "PAYPAL", "IDEAL", "BANK_TRANSFER", "ON_SITE", "NONE", "APPLE_PAY", "BANCONTACT", "ING_HOME_PAY", "BELFIUS", "KBC", "PRZELEWY_24", "ALIPAY", "POSTFINANCE", "TWINT" ] + "token" : { + "type" : "string" } } }, @@ -28386,16 +28382,16 @@ "captcha" : { "type" : "string" }, - "tickets" : { + "additionalServices" : { "type" : "array", "items" : { - "$ref" : "#/components/schemas/TicketReservationModification" + "$ref" : "#/components/schemas/AdditionalServiceReservationModification" } }, - "additionalServices" : { + "tickets" : { "type" : "array", "items" : { - "$ref" : "#/components/schemas/AdditionalServiceReservationModification" + "$ref" : "#/components/schemas/TicketReservationModification" } } } @@ -28710,14 +28706,6 @@ "type" : "integer", "format" : "int32" }, - "numEntries" : { - "type" : "integer", - "format" : "int32" - }, - "timeUnit" : { - "type" : "string", - "enum" : [ "DAYS", "MONTHS", "YEARS" ] - }, "validityFrom" : { "type" : "string", "format" : "date-time" @@ -28725,6 +28713,14 @@ "validityTo" : { "type" : "string", "format" : "date-time" + }, + "timeUnit" : { + "type" : "string", + "enum" : [ "DAYS", "MONTHS", "YEARS" ] + }, + "numEntries" : { + "type" : "integer", + "format" : "int32" } } }, @@ -29273,25 +29269,13 @@ "fullName" : { "type" : "string" }, - "categoryName" : { - "type" : "string" + "assigned" : { + "type" : "boolean" }, "eventId" : { "type" : "integer", "format" : "int32" }, - "email" : { - "type" : "string" - }, - "uuid" : { - "type" : "string" - }, - "assigned" : { - "type" : "boolean" - }, - "checkedIn" : { - "type" : "boolean" - }, "firstName" : { "type" : "string" }, @@ -29307,6 +29291,18 @@ }, "ticketsReservationId" : { "type" : "string" + }, + "email" : { + "type" : "string" + }, + "uuid" : { + "type" : "string" + }, + "checkedIn" : { + "type" : "boolean" + }, + "categoryName" : { + "type" : "string" } } }, @@ -29788,9 +29784,6 @@ } } }, - "overlap" : { - "type" : "boolean" - }, "duration" : { "type" : "object", "properties" : { @@ -29841,6 +29834,9 @@ "instant" : { "type" : "string", "format" : "date-time" + }, + "overlap" : { + "type" : "boolean" } } } @@ -29918,6 +29914,9 @@ "supportsTicketsGeneration" : { "type" : "boolean" }, + "onSaleToModel" : { + "$ref" : "#/components/schemas/DateTimeModification" + }, "validityFromModel" : { "$ref" : "#/components/schemas/DateTimeModification" }, @@ -29927,15 +29926,12 @@ "onSaleFromModel" : { "$ref" : "#/components/schemas/DateTimeModification" }, - "onSaleToModel" : { - "$ref" : "#/components/schemas/DateTimeModification" + "publicIdentifier" : { + "type" : "string" }, "priceCts" : { "type" : "integer", "format" : "int32" - }, - "publicIdentifier" : { - "type" : "string" } } }, @@ -30236,14 +30232,14 @@ "locationDescriptor" : { "$ref" : "#/components/schemas/LocationDescriptor" }, - "priceInCents" : { - "type" : "integer", - "format" : "int32" - }, "vatStatus" : { "type" : "string", "enum" : [ "NONE", "INCLUDED", "NOT_INCLUDED", "INCLUDED_EXEMPT", "NOT_INCLUDED_EXEMPT", "CUSTOM_INCLUDED_EXEMPT", "CUSTOM_NOT_INCLUDED_EXEMPT", "INCLUDED_NOT_CHARGED", "NOT_INCLUDED_NOT_CHARGED" ] }, + "priceInCents" : { + "type" : "integer", + "format" : "int32" + }, "online" : { "type" : "boolean" } @@ -30528,70 +30524,46 @@ "currencyCode" : { "type" : "string" }, + "formattedNetPrice" : { + "type" : "string" + }, "extReference" : { "type" : "string" }, + "status" : { + "type" : "string", + "enum" : [ "FREE", "PENDING", "TO_BE_PAID", "ACQUIRED", "CANCELLED", "CHECKED_IN", "EXPIRED", "INVALIDATED", "RELEASED", "PRE_RESERVED" ] + }, "tags" : { "type" : "array", "items" : { "type" : "string" } }, - "status" : { - "type" : "string", - "enum" : [ "FREE", "PENDING", "TO_BE_PAID", "ACQUIRED", "CANCELLED", "CHECKED_IN", "EXPIRED", "INVALIDATED", "RELEASED", "PRE_RESERVED" ] + "assigned" : { + "type" : "boolean" }, "eventId" : { "type" : "integer", "format" : "int32" }, - "email" : { - "type" : "string" - }, - "vatCts" : { - "type" : "integer", - "format" : "int32" - }, - "uuid" : { - "type" : "string" - }, - "assigned" : { - "type" : "boolean" - }, - "formattedNetPrice" : { - "type" : "string" - }, - "creation" : { - "type" : "string", - "format" : "date-time" - }, - "formattedFinalPrice" : { - "type" : "string" - }, - "checkedIn" : { - "type" : "boolean" - }, "firstName" : { "type" : "string" }, "lastName" : { "type" : "string" }, - "subscriptionId" : { - "type" : "string", - "format" : "uuid" - }, "userLanguage" : { "type" : "string" }, - "srcPriceCts" : { - "type" : "integer", - "format" : "int32" - }, "categoryId" : { "type" : "integer", "format" : "int32" }, + "subscriptionId" : { + "type" : "string", + "format" : "uuid" + }, "ticketsReservationId" : { "type" : "string" }, @@ -30599,26 +30571,50 @@ "type" : "string", "enum" : [ "NONE", "INCLUDED", "NOT_INCLUDED", "INCLUDED_EXEMPT", "NOT_INCLUDED_EXEMPT", "CUSTOM_INCLUDED_EXEMPT", "CUSTOM_NOT_INCLUDED_EXEMPT", "INCLUDED_NOT_CHARGED", "NOT_INCLUDED_NOT_CHARGED" ] }, + "email" : { + "type" : "string" + }, + "srcPriceCts" : { + "type" : "integer", + "format" : "int32" + }, "finalPriceCts" : { "type" : "integer", "format" : "int32" }, + "vatCts" : { + "type" : "integer", + "format" : "int32" + }, "discountCts" : { "type" : "integer", "format" : "int32" }, + "uuid" : { + "type" : "string" + }, "lockedAssignment" : { "type" : "boolean" }, "publicUuid" : { "type" : "string", "format" : "uuid" - } - } - }, - "TicketCode" : { - "type" : "object", - "properties" : { + }, + "checkedIn" : { + "type" : "boolean" + }, + "creation" : { + "type" : "string", + "format" : "date-time" + }, + "formattedFinalPrice" : { + "type" : "string" + } + } + }, + "TicketCode" : { + "type" : "object", + "properties" : { "code" : { "type" : "string" } @@ -30881,9 +30877,6 @@ } } }, - "overlap" : { - "type" : "boolean" - }, "duration" : { "type" : "object", "properties" : { @@ -30934,6 +30927,9 @@ "instant" : { "type" : "string", "format" : "date-time" + }, + "overlap" : { + "type" : "boolean" } } } @@ -31399,15 +31395,31 @@ "type" : "string" } }, + "formattedPrice" : { + "type" : "string" + }, "descriptionAsText" : { "type" : "object", "additionalProperties" : { "type" : "string" } }, - "formattedPrice" : { + "publicIdentifier" : { "type" : "string" }, + "allowedPaymentProxies" : { + "type" : "array", + "items" : { + "type" : "string", + "enum" : [ "STRIPE", "ON_SITE", "OFFLINE", "NONE", "ADMIN", "PAYPAL", "MOLLIE", "SAFERPAY" ] + } + }, + "contentLanguages" : { + "type" : "array", + "items" : { + "$ref" : "#/components/schemas/ContentLanguage" + } + }, "begin" : { "type" : "string", "format" : "date-time" @@ -31418,22 +31430,6 @@ "privacyPolicyLinkOrNull" : { "type" : "string" }, - "contentLanguages" : { - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/ContentLanguage" - } - }, - "publicIdentifier" : { - "type" : "string" - }, - "allowedPaymentProxies" : { - "type" : "array", - "items" : { - "type" : "string", - "enum" : [ "STRIPE", "ON_SITE", "OFFLINE", "NONE", "ADMIN", "PAYPAL", "MOLLIE", "SAFERPAY" ] - } - }, "fileBlobIdIsPresent" : { "type" : "boolean" }, @@ -31512,14 +31508,11 @@ "currency" : { "type" : "string" }, - "offlinePaymentConfiguration" : { - "$ref" : "#/components/schemas/OfflinePaymentConfiguration" - }, - "assignmentConfiguration" : { - "$ref" : "#/components/schemas/AssignmentConfiguration" - }, - "canApplySubscriptions" : { - "type" : "boolean" + "description" : { + "type" : "object", + "additionalProperties" : { + "type" : "string" + } }, "formattedPrice" : { "type" : "string" @@ -31530,21 +31523,15 @@ "type" : "string" } }, - "free" : { - "type" : "boolean" - }, "vat" : { "type" : "string" }, - "description" : { - "type" : "object", - "additionalProperties" : { - "type" : "string" - } + "maxEntries" : { + "type" : "integer", + "format" : "int32" }, - "validityType" : { - "type" : "string", - "enum" : [ "STANDARD", "CUSTOM", "NOT_SET" ] + "vatIncluded" : { + "type" : "boolean" }, "termsAndConditionsUrl" : { "type" : "string" @@ -31560,28 +31547,37 @@ "type" : "string", "enum" : [ "DAYS", "MONTHS", "YEARS" ] }, - "maxEntries" : { - "type" : "integer", - "format" : "int32" - }, - "vatIncluded" : { - "type" : "boolean" - }, "usageType" : { "type" : "string", "enum" : [ "ONCE_PER_EVENT", "UNLIMITED" ] }, + "free" : { + "type" : "boolean" + }, "fileBlobId" : { "type" : "string" }, - "currencyDescriptor" : { - "$ref" : "#/components/schemas/CurrencyDescriptor" + "validityType" : { + "type" : "string", + "enum" : [ "STANDARD", "CUSTOM", "NOT_SET" ] + }, + "assignmentConfiguration" : { + "$ref" : "#/components/schemas/AssignmentConfiguration" + }, + "offlinePaymentConfiguration" : { + "$ref" : "#/components/schemas/OfflinePaymentConfiguration" + }, + "canApplySubscriptions" : { + "type" : "boolean" }, "contentLanguages" : { "type" : "array", "items" : { "$ref" : "#/components/schemas/Language" } + }, + "currencyDescriptor" : { + "$ref" : "#/components/schemas/CurrencyDescriptor" } } }, @@ -31965,13 +31961,13 @@ "$ref" : "#/components/schemas/AdditionalField" } }, - "fieldConfigurationBeforeStandard" : { + "fieldConfigurationAfterStandard" : { "type" : "array", "items" : { "$ref" : "#/components/schemas/AdditionalField" } }, - "fieldConfigurationAfterStandard" : { + "fieldConfigurationBeforeStandard" : { "type" : "array", "items" : { "$ref" : "#/components/schemas/AdditionalField" @@ -32017,20 +32013,20 @@ "redirectUrl" : { "type" : "string" }, - "failed" : { - "type" : "boolean" - }, "initialized" : { "type" : "boolean" }, - "gatewayIdOrNull" : { - "type" : "string" - }, "successful" : { "type" : "boolean" }, + "failed" : { + "type" : "boolean" + }, "redirect" : { "type" : "boolean" + }, + "gatewayIdOrNull" : { + "type" : "string" } } }, @@ -32221,24 +32217,39 @@ "type" : "string" } }, + "publicIdentifier" : { + "type" : "string" + }, + "contentLanguages" : { + "type" : "array", + "items" : { + "$ref" : "#/components/schemas/ContentLanguage" + } + }, "free" : { "type" : "boolean" }, - "sameDay" : { - "type" : "boolean" + "regularPrice" : { + "type" : "number" }, "freeOfCharge" : { "type" : "boolean" }, - "regularPrice" : { - "type" : "number" + "sameDay" : { + "type" : "boolean" }, - "imageIsPresent" : { + "online" : { "type" : "boolean" }, + "privacyPolicyLinkOrNull" : { + "type" : "string" + }, "fileBlobIdIsPresent" : { "type" : "boolean" }, + "imageIsPresent" : { + "type" : "boolean" + }, "multiplePaymentMethods" : { "type" : "boolean" }, @@ -32249,9 +32260,6 @@ "useFirstAndLastName" : { "type" : "boolean" }, - "privacyPolicyLinkOrNull" : { - "type" : "string" - }, "beginTimeZoneOffset" : { "type" : "integer", "format" : "int32" @@ -32263,18 +32271,6 @@ "isOnline" : { "type" : "boolean" }, - "contentLanguages" : { - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/ContentLanguage" - } - }, - "publicIdentifier" : { - "type" : "string" - }, - "online" : { - "type" : "boolean" - }, "firstContentLanguage" : { "$ref" : "#/components/schemas/ContentLanguage" } @@ -32387,32 +32383,20 @@ "currency" : { "type" : "string" }, - "organizationName" : { - "type" : "string" - }, - "organizationEmail" : { + "shortName" : { "type" : "string" }, - "datesWithOffset" : { - "$ref" : "#/components/schemas/DatesWithTimeZoneOffset" - }, "title" : { "type" : "object", "additionalProperties" : { "type" : "string" } }, - "free" : { - "type" : "boolean" - }, "vat" : { "type" : "string" }, - "shortName" : { - "type" : "string" - }, - "websiteUrl" : { - "type" : "string" + "vatIncluded" : { + "type" : "boolean" }, "termsAndConditionsUrl" : { "type" : "string" @@ -32420,23 +32404,35 @@ "privacyPolicyUrl" : { "type" : "string" }, - "vatIncluded" : { + "free" : { "type" : "boolean" }, "fileBlobId" : { "type" : "string" }, + "websiteUrl" : { + "type" : "string" + }, + "organizationName" : { + "type" : "string" + }, + "organizationEmail" : { + "type" : "string" + }, "sameDay" : { "type" : "boolean" }, - "currencyDescriptor" : { - "$ref" : "#/components/schemas/CurrencyDescriptor" + "datesWithOffset" : { + "$ref" : "#/components/schemas/DatesWithTimeZoneOffset" }, "contentLanguages" : { "type" : "array", "items" : { "$ref" : "#/components/schemas/Language" } + }, + "currencyDescriptor" : { + "$ref" : "#/components/schemas/CurrencyDescriptor" } } }, @@ -32499,15 +32495,15 @@ "success" : { "type" : "boolean" }, + "errorCount" : { + "type" : "integer", + "format" : "int32" + }, "validationErrors" : { "type" : "array", "items" : { "$ref" : "#/components/schemas/ErrorDescriptor" } - }, - "errorCount" : { - "type" : "integer", - "format" : "int32" } } }, @@ -32725,15 +32721,15 @@ "success" : { "type" : "boolean" }, + "errorCount" : { + "type" : "integer", + "format" : "int32" + }, "validationErrors" : { "type" : "array", "items" : { "$ref" : "#/components/schemas/ErrorDescriptor" } - }, - "errorCount" : { - "type" : "integer", - "format" : "int32" } } }, @@ -32794,15 +32790,15 @@ "success" : { "type" : "boolean" }, + "errorCount" : { + "type" : "integer", + "format" : "int32" + }, "validationErrors" : { "type" : "array", "items" : { "$ref" : "#/components/schemas/ErrorDescriptor" } - }, - "errorCount" : { - "type" : "integer", - "format" : "int32" } } }, @@ -32898,12 +32894,12 @@ "descriptor" : { "$ref" : "#/components/schemas/SubscriptionDescriptor" }, - "unitPrice" : { - "type" : "number" - }, "availableCount" : { "type" : "integer", "format" : "int32" + }, + "unitPrice" : { + "type" : "number" } } }, @@ -33004,73 +33000,51 @@ "currencyCode" : { "type" : "string" }, + "formattedNetPrice" : { + "type" : "string" + }, "extReference" : { "type" : "string" }, + "stuck" : { + "type" : "boolean" + }, + "status" : { + "type" : "string", + "enum" : [ "FREE", "PENDING", "TO_BE_PAID", "ACQUIRED", "CANCELLED", "CHECKED_IN", "EXPIRED", "INVALIDATED", "RELEASED", "PRE_RESERVED" ] + }, "tags" : { "type" : "array", "items" : { "type" : "string" } }, - "status" : { - "type" : "string", - "enum" : [ "FREE", "PENDING", "TO_BE_PAID", "ACQUIRED", "CANCELLED", "CHECKED_IN", "EXPIRED", "INVALIDATED", "RELEASED", "PRE_RESERVED" ] + "assigned" : { + "type" : "boolean" + }, + "transaction" : { + "$ref" : "#/components/schemas/Transaction" }, "eventId" : { "type" : "integer", "format" : "int32" }, - "email" : { - "type" : "string" - }, - "vatCts" : { - "type" : "integer", - "format" : "int32" - }, - "uuid" : { - "type" : "string" - }, - "assigned" : { - "type" : "boolean" - }, - "formattedNetPrice" : { - "type" : "string" - }, - "creation" : { - "type" : "string", - "format" : "date-time" - }, - "formattedFinalPrice" : { - "type" : "string" - }, - "checkedIn" : { - "type" : "boolean" - }, - "firstName" : { + "firstName" : { "type" : "string" }, "lastName" : { "type" : "string" }, - "subscriptionId" : { - "type" : "string", - "format" : "uuid" - }, "userLanguage" : { "type" : "string" }, - "srcPriceCts" : { + "categoryId" : { "type" : "integer", "format" : "int32" }, - "transactionTimestamp" : { + "subscriptionId" : { "type" : "string", - "format" : "date-time" - }, - "categoryId" : { - "type" : "integer", - "format" : "int32" + "format" : "uuid" }, "ticketsReservationId" : { "type" : "string" @@ -33079,6 +33053,13 @@ "type" : "string", "enum" : [ "NONE", "INCLUDED", "NOT_INCLUDED", "INCLUDED_EXEMPT", "NOT_INCLUDED_EXEMPT", "CUSTOM_INCLUDED_EXEMPT", "CUSTOM_NOT_INCLUDED_EXEMPT", "INCLUDED_NOT_CHARGED", "NOT_INCLUDED_NOT_CHARGED" ] }, + "email" : { + "type" : "string" + }, + "srcPriceCts" : { + "type" : "integer", + "format" : "int32" + }, "finalPrice" : { "type" : "number" }, @@ -33086,10 +33067,21 @@ "type" : "integer", "format" : "int32" }, + "vatCts" : { + "type" : "integer", + "format" : "int32" + }, "discountCts" : { "type" : "integer", "format" : "int32" }, + "transactionTimestamp" : { + "type" : "string", + "format" : "date-time" + }, + "uuid" : { + "type" : "string" + }, "lockedAssignment" : { "type" : "boolean" }, @@ -33097,22 +33089,26 @@ "type" : "string", "format" : "uuid" }, - "transaction" : { - "$ref" : "#/components/schemas/Transaction" - }, - "stuck" : { + "checkedIn" : { "type" : "boolean" }, + "creation" : { + "type" : "string", + "format" : "date-time" + }, + "formattedFinalPrice" : { + "type" : "string" + }, "paid" : { "type" : "boolean" }, "pending" : { "type" : "boolean" }, - "taxablePrice" : { + "netPrice" : { "type" : "number" }, - "netPrice" : { + "taxablePrice" : { "type" : "number" } } @@ -33172,12 +33168,12 @@ "complete" : { "type" : "boolean" }, - "notes" : { - "type" : "string" - }, "potentialMatch" : { "type" : "boolean" }, + "notes" : { + "type" : "string" + }, "timestampEditable" : { "type" : "boolean" }, @@ -33260,16 +33256,16 @@ "fullName" : { "type" : "string" }, - "email" : { + "firstName" : { "type" : "string" }, - "uuid" : { + "lastName" : { "type" : "string" }, - "firstName" : { + "userLanguage" : { "type" : "string" }, - "lastName" : { + "email" : { "type" : "string" }, "additionalFields" : { @@ -33278,7 +33274,7 @@ "type" : "string" } }, - "userLanguage" : { + "uuid" : { "type" : "string" } } @@ -33412,9 +33408,6 @@ } } }, - "overlap" : { - "type" : "boolean" - }, "duration" : { "type" : "object", "properties" : { @@ -33465,6 +33458,9 @@ "instant" : { "type" : "string", "format" : "date-time" + }, + "overlap" : { + "type" : "boolean" } } } @@ -33551,36 +33547,15 @@ "type" : "integer", "format" : "int32" }, - "subscriptionDescriptorId" : { - "type" : "string", - "format" : "uuid" - }, "status" : { "type" : "string", "enum" : [ "WAITING", "RETRY", "IN_PROCESS", "SENT", "ERROR" ] }, - "eventId" : { + "organizationId" : { "type" : "integer", "format" : "int32" }, - "cc" : { - "type" : "array", - "items" : { - "type" : "string" - } - }, - "subject" : { - "type" : "string" - }, - "requestTimestamp" : { - "type" : "string", - "format" : "date-time" - }, - "sentTimestamp" : { - "type" : "string", - "format" : "date-time" - }, - "organizationId" : { + "eventId" : { "type" : "integer", "format" : "int32" }, @@ -33588,10 +33563,16 @@ "type" : "integer", "format" : "int32" }, - "checksum" : { + "recipient" : { "type" : "string" }, - "recipient" : { + "cc" : { + "type" : "array", + "items" : { + "type" : "string" + } + }, + "subject" : { "type" : "string" }, "htmlMessage" : { @@ -33600,9 +33581,24 @@ "attachments" : { "type" : "string" }, + "checksum" : { + "type" : "string" + }, "purchaseContextType" : { "type" : "string", "enum" : [ "subscription", "event" ] + }, + "subscriptionDescriptorId" : { + "type" : "string", + "format" : "uuid" + }, + "requestTimestamp" : { + "type" : "string", + "format" : "date-time" + }, + "sentTimestamp" : { + "type" : "string", + "format" : "date-time" } } }, @@ -33654,10 +33650,6 @@ "type" : "integer", "format" : "int32" }, - "subscriptionDescriptorId" : { - "type" : "string", - "format" : "uuid" - }, "inputField" : { "type" : "boolean" }, @@ -33670,6 +33662,9 @@ "checkboxField" : { "type" : "boolean" }, + "euVat" : { + "type" : "boolean" + }, "maxLengthDefined" : { "type" : "boolean" }, @@ -33683,30 +33678,42 @@ "type" : "integer", "format" : "int32" }, - "eventId" : { + "minLength" : { "type" : "integer", "format" : "int32" }, - "required" : { - "type" : "boolean" + "maxLength" : { + "type" : "integer", + "format" : "int32" }, "inputType" : { "type" : "string" }, - "minLength" : { + "required" : { + "type" : "boolean" + }, + "eventId" : { "type" : "integer", "format" : "int32" }, - "maxLength" : { + "additionalServiceId" : { "type" : "integer", "format" : "int32" }, - "disabledValues" : { + "categoryIds" : { "type" : "array", "items" : { - "type" : "string" + "type" : "integer", + "format" : "int32" } }, + "dateOfBirth" : { + "type" : "boolean" + }, + "subscriptionDescriptorId" : { + "type" : "string", + "format" : "uuid" + }, "countryField" : { "type" : "boolean" }, @@ -33716,25 +33723,14 @@ "type" : "string" } }, - "additionalServiceId" : { - "type" : "integer", - "format" : "int32" + "editable" : { + "type" : "boolean" }, - "categoryIds" : { + "disabledValues" : { "type" : "array", "items" : { - "type" : "integer", - "format" : "int32" + "type" : "string" } - }, - "dateOfBirth" : { - "type" : "boolean" - }, - "editable" : { - "type" : "boolean" - }, - "euVat" : { - "type" : "boolean" } } }, @@ -33823,6 +33819,9 @@ "checkboxField" : { "type" : "boolean" }, + "euVat" : { + "type" : "boolean" + }, "maxLengthDefined" : { "type" : "boolean" }, @@ -33835,13 +33834,10 @@ "inputType" : { "type" : "string" }, - "countryField" : { - "type" : "boolean" - }, "dateOfBirth" : { "type" : "boolean" }, - "euVat" : { + "countryField" : { "type" : "boolean" } } @@ -34024,10 +34020,10 @@ "enabled" : { "type" : "boolean" }, - "username" : { + "description" : { "type" : "string" }, - "description" : { + "username" : { "type" : "string" }, "firstName" : { @@ -34600,9 +34596,6 @@ "PromoCodeDiscountWithFormattedTimeAndAmount" : { "type" : "object", "properties" : { - "dynamic" : { - "type" : "boolean" - }, "id" : { "type" : "integer", "format" : "int32" @@ -34610,6 +34603,12 @@ "currencyCode" : { "type" : "string" }, + "dynamic" : { + "type" : "boolean" + }, + "description" : { + "type" : "string" + }, "formattedStart" : { "type" : "string" }, @@ -34619,24 +34618,11 @@ "formattedDiscountAmount" : { "type" : "string" }, - "eventId" : { + "organizationId" : { "type" : "integer", "format" : "int32" }, - "utcEnd" : { - "type" : "string", - "format" : "date-time" - }, - "description" : { - "type" : "string" - }, - "fixedAmount" : { - "type" : "boolean" - }, - "currentlyValid" : { - "type" : "boolean" - }, - "organizationId" : { + "eventId" : { "type" : "integer", "format" : "int32" }, @@ -34647,6 +34633,10 @@ "type" : "string", "format" : "date-time" }, + "utcEnd" : { + "type" : "string", + "format" : "date-time" + }, "discountAmount" : { "type" : "integer", "format" : "int32" @@ -34667,9 +34657,6 @@ "type" : "integer", "format" : "int32" }, - "emailReference" : { - "type" : "string" - }, "categories" : { "uniqueItems" : true, "type" : "array", @@ -34678,8 +34665,17 @@ "format" : "int32" } }, + "currentlyValid" : { + "type" : "boolean" + }, + "emailReference" : { + "type" : "string" + }, "expired" : { "type" : "boolean" + }, + "fixedAmount" : { + "type" : "boolean" } } }, @@ -34962,21 +34958,6 @@ "displayName" : { "type" : "string" }, - "warningNeeded" : { - "type" : "boolean" - }, - "formattedBegin" : { - "type" : "string" - }, - "visibleForCurrentUser" : { - "type" : "boolean" - }, - "displayStatistics" : { - "type" : "boolean" - }, - "formattedEnd" : { - "type" : "string" - }, "notSoldTickets" : { "type" : "integer", "format" : "int32" @@ -35004,13 +34985,8 @@ "shortName" : { "type" : "string" }, - "availableSeats" : { - "type" : "integer", - "format" : "int32" - }, - "checkedInTickets" : { - "type" : "integer", - "format" : "int32" + "formattedEnd" : { + "type" : "string" }, "organizationId" : { "type" : "integer", @@ -35023,15 +34999,35 @@ "enum" : [ "STRIPE", "ON_SITE", "OFFLINE", "NONE", "ADMIN", "PAYPAL", "MOLLIE", "SAFERPAY" ] } }, + "fileBlobId" : { + "type" : "string" + }, "notAllocatedTickets" : { "type" : "integer", "format" : "int32" }, - "fileBlobId" : { - "type" : "string" + "availableSeats" : { + "type" : "integer", + "format" : "int32" + }, + "checkedInTickets" : { + "type" : "integer", + "format" : "int32" }, "expired" : { "type" : "boolean" + }, + "warningNeeded" : { + "type" : "boolean" + }, + "formattedBegin" : { + "type" : "string" + }, + "displayStatistics" : { + "type" : "boolean" + }, + "visibleForCurrentUser" : { + "type" : "boolean" } } }, @@ -35050,12 +35046,6 @@ "timeZone" : { "type" : "string" }, - "descriptions" : { - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/PublicEventDescription" - } - }, "url" : { "type" : "string" }, @@ -35078,6 +35068,12 @@ "type" : "integer", "format" : "int32" }, + "descriptions" : { + "type" : "array", + "items" : { + "$ref" : "#/components/schemas/PublicEventDescription" + } + }, "oneDay" : { "type" : "boolean" }