@msm-platform/customer-sdk 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/dist/generated/api.d.ts +1141 -1613
- package/package.json +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -101,6 +101,58 @@ export interface paths {
|
|
|
101
101
|
patch?: never;
|
|
102
102
|
trace?: never;
|
|
103
103
|
};
|
|
104
|
+
"/web/businesses/{businessId}/payment-methods": {
|
|
105
|
+
parameters: {
|
|
106
|
+
query?: never;
|
|
107
|
+
header?: never;
|
|
108
|
+
path?: never;
|
|
109
|
+
cookie?: never;
|
|
110
|
+
};
|
|
111
|
+
/** List the payment methods a public business takes online payments through, in its order, for the customer to choose one at checkout; none means it takes no online payments */
|
|
112
|
+
get: operations["listOnlinePaymentMethods"];
|
|
113
|
+
put?: never;
|
|
114
|
+
post?: never;
|
|
115
|
+
delete?: never;
|
|
116
|
+
options?: never;
|
|
117
|
+
head?: never;
|
|
118
|
+
patch?: never;
|
|
119
|
+
trace?: never;
|
|
120
|
+
};
|
|
121
|
+
"/web/businesses/{businessId}/products": {
|
|
122
|
+
parameters: {
|
|
123
|
+
query?: never;
|
|
124
|
+
header?: never;
|
|
125
|
+
path?: never;
|
|
126
|
+
cookie?: never;
|
|
127
|
+
};
|
|
128
|
+
/** List a public business's active products, oldest first, each with its price including VAT and its terms */
|
|
129
|
+
get: operations["listPublicProducts"];
|
|
130
|
+
put?: never;
|
|
131
|
+
post?: never;
|
|
132
|
+
delete?: never;
|
|
133
|
+
options?: never;
|
|
134
|
+
head?: never;
|
|
135
|
+
patch?: never;
|
|
136
|
+
trace?: never;
|
|
137
|
+
};
|
|
138
|
+
"/web/businesses/{businessId}/products/{productId}/checkout": {
|
|
139
|
+
parameters: {
|
|
140
|
+
query?: never;
|
|
141
|
+
header?: never;
|
|
142
|
+
path?: never;
|
|
143
|
+
cookie?: never;
|
|
144
|
+
};
|
|
145
|
+
/** Read your newest checkout of a product: pending while unpaid (with the provider's page while it takes payment), paid with `paidAt` once the payment is recorded, abandoned when you started again after its payment ended unpaid */
|
|
146
|
+
get: operations["getProductCheckout"];
|
|
147
|
+
put?: never;
|
|
148
|
+
/** Buy one of a business's active products: the first call sells it to you at its price of now and returns `payment.redirectUrl`, the page of your chosen `paymentMethodId` (one listOnlinePaymentMethods lists, else 422 PaymentProviderNotOffered) to pay the full price at; a repeat returns the same sale and payment, unless that payment ended unpaid, when it sells again. The sale is `paid` once the provider's payment is recorded; read it with getProductCheckout after the provider sends you back. The provider's receipt is your proof of purchase. A product priced 0 is paid at once. You must already be the business's customer (422 CustomerOutsideBusiness). 422 ProductInactive, 404 ProductNotFound, 503 PaymentProviderUnavailable when the provider did not answer (the same request retries the same payment) */
|
|
149
|
+
post: operations["startProductCheckout"];
|
|
150
|
+
delete?: never;
|
|
151
|
+
options?: never;
|
|
152
|
+
head?: never;
|
|
153
|
+
patch?: never;
|
|
154
|
+
trace?: never;
|
|
155
|
+
};
|
|
104
156
|
"/web/businesses/{businessId}/reservations": {
|
|
105
157
|
parameters: {
|
|
106
158
|
query?: never;
|
|
@@ -118,6 +170,24 @@ export interface paths {
|
|
|
118
170
|
patch?: never;
|
|
119
171
|
trace?: never;
|
|
120
172
|
};
|
|
173
|
+
"/web/businesses/{businessId}/reservations/{reservationId}/checkout": {
|
|
174
|
+
parameters: {
|
|
175
|
+
query?: never;
|
|
176
|
+
header?: never;
|
|
177
|
+
path?: never;
|
|
178
|
+
cookie?: never;
|
|
179
|
+
};
|
|
180
|
+
/** Read the checkout of your own reservation: pending while the advance is unpaid (with the provider's page while it takes payment), confirmed with `bookingId` once booked, released when the payment ended unpaid or the hold ended, and unconfirmed_paid when you paid but the seat was gone, for the business to settle with you */
|
|
181
|
+
get: operations["getCheckout"];
|
|
182
|
+
put?: never;
|
|
183
|
+
/** Pay for your own held reservation of an event type with a price: the first call records what you buy, holds the seat while you pay (up to the platform's checkout hold, and no longer than the provider's payment page) and returns `payment.redirectUrl`, the page of the customer's chosen `paymentMethodId` (one listOnlinePaymentMethods lists, else 422 PaymentProviderNotOffered) to pay the advance at; a repeat returns the same payment. The booking is confirmed once the advance is paid; read it with getCheckout after the provider sends you back. With no advance it is confirmed at once. 422 CheckoutNotRequired for an event type with no price, 409 ReservationExpired after the hold, 403 NotAuthorized without access, 403 BookingBanned with `bannedUntil`, 503 PaymentProviderUnavailable when the provider did not answer (the same request retries the same payment) */
|
|
184
|
+
post: operations["startCheckout"];
|
|
185
|
+
delete?: never;
|
|
186
|
+
options?: never;
|
|
187
|
+
head?: never;
|
|
188
|
+
patch?: never;
|
|
189
|
+
trace?: never;
|
|
190
|
+
};
|
|
121
191
|
"/web/businesses/{businessId}/reservations/{reservationId}/confirm": {
|
|
122
192
|
parameters: {
|
|
123
193
|
query?: never;
|
|
@@ -127,7 +197,7 @@ export interface paths {
|
|
|
127
197
|
};
|
|
128
198
|
get?: never;
|
|
129
199
|
put?: never;
|
|
130
|
-
/** Confirm your own reservation into exactly one booking, spending one pass credit when a pass covers the event type; a retry returns the same booking, 409 ReservationExpired after its deadline, 403 NotAuthorized without access at the event's start or when the passes for an event type that requires access have run out of credits, 403 BookingBanned with `bannedUntil` when the business's no-show ban policy bans you */
|
|
200
|
+
/** Confirm your own reservation into exactly one booking, spending one pass credit when a pass covers the event type; a retry returns the same booking, 409 ReservationExpired after its deadline, 403 NotAuthorized without access at the event's start or when the passes for an event type that requires access have run out of credits, 403 BookingBanned with `bannedUntil` when the business's no-show ban policy bans you; an event type with a price is 422 CheckoutRequired, booked through startCheckout instead */
|
|
131
201
|
post: operations["confirmReservation"];
|
|
132
202
|
delete?: never;
|
|
133
203
|
options?: never;
|
|
@@ -312,7 +382,546 @@ export interface components {
|
|
|
312
382
|
message: string;
|
|
313
383
|
};
|
|
314
384
|
};
|
|
315
|
-
responses:
|
|
385
|
+
responses: {
|
|
386
|
+
/** @description - `BodyTooLarge`: The body is larger than the engine accepts */
|
|
387
|
+
BodyTooLarge: {
|
|
388
|
+
headers: {
|
|
389
|
+
[name: string]: unknown;
|
|
390
|
+
};
|
|
391
|
+
content: {
|
|
392
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
393
|
+
/** @enum {string} */
|
|
394
|
+
code: "BodyTooLarge";
|
|
395
|
+
};
|
|
396
|
+
};
|
|
397
|
+
};
|
|
398
|
+
/**
|
|
399
|
+
* @description - `BookingBanned`: The customer's no-shows at the business ban them from booking online until `bannedUntil`; staff can still book them
|
|
400
|
+
* - `NotAuthorized`: The actor is not permitted to perform this operation
|
|
401
|
+
* - `OutsideClientScope`: The application client serves only its own partner's businesses
|
|
402
|
+
*/
|
|
403
|
+
"BookingBanned-NotAuthorized-OutsideClientScope": {
|
|
404
|
+
headers: {
|
|
405
|
+
[name: string]: unknown;
|
|
406
|
+
};
|
|
407
|
+
content: {
|
|
408
|
+
"application/json": components["schemas"]["BookingBannedErrorResponse"] & {
|
|
409
|
+
/** @enum {string} */
|
|
410
|
+
code: "BookingBanned" | "NotAuthorized" | "OutsideClientScope";
|
|
411
|
+
};
|
|
412
|
+
};
|
|
413
|
+
};
|
|
414
|
+
/** @description - `BookingNotFound`: The booking does not exist, or is not the caller's */
|
|
415
|
+
BookingNotFound: {
|
|
416
|
+
headers: {
|
|
417
|
+
[name: string]: unknown;
|
|
418
|
+
};
|
|
419
|
+
content: {
|
|
420
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
421
|
+
/** @enum {string} */
|
|
422
|
+
code: "BookingNotFound";
|
|
423
|
+
};
|
|
424
|
+
};
|
|
425
|
+
};
|
|
426
|
+
/**
|
|
427
|
+
* @description - `BookingNotFound`: The booking does not exist, or is not the caller's
|
|
428
|
+
* - `BusinessNotFound`: The business does not exist or is not public
|
|
429
|
+
*/
|
|
430
|
+
"BookingNotFound-BusinessNotFound": {
|
|
431
|
+
headers: {
|
|
432
|
+
[name: string]: unknown;
|
|
433
|
+
};
|
|
434
|
+
content: {
|
|
435
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
436
|
+
/** @enum {string} */
|
|
437
|
+
code: "BookingNotFound" | "BusinessNotFound";
|
|
438
|
+
};
|
|
439
|
+
};
|
|
440
|
+
};
|
|
441
|
+
/**
|
|
442
|
+
* @description - `BotCheckFailed`: The visitor's bot-check token did not pass the calling application's Turnstile widget
|
|
443
|
+
* - `NotAuthorized`: The actor is not permitted to perform this operation
|
|
444
|
+
*/
|
|
445
|
+
"BotCheckFailed-NotAuthorized": {
|
|
446
|
+
headers: {
|
|
447
|
+
[name: string]: unknown;
|
|
448
|
+
};
|
|
449
|
+
content: {
|
|
450
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
451
|
+
/** @enum {string} */
|
|
452
|
+
code: "BotCheckFailed" | "NotAuthorized";
|
|
453
|
+
};
|
|
454
|
+
};
|
|
455
|
+
};
|
|
456
|
+
/**
|
|
457
|
+
* @description - `BotCheckUnavailable`: The bot check could not be made: Turnstile did not answer in time, or the calling application has no widget secret; retry after `Retry-After` seconds
|
|
458
|
+
* - `LimiterUnavailable`: The per-address sign-in limit could not be counted; retry after `Retry-After` seconds
|
|
459
|
+
* - `SmsBudgetExhausted`: The client's hourly SMS budget is used up; retry after `Retry-After` seconds
|
|
460
|
+
* - `SmsDeliveryUnavailable`: The SMS could not be confirmed as sent; retry after `Retry-After` seconds
|
|
461
|
+
*/
|
|
462
|
+
"BotCheckUnavailable-LimiterUnavailable-SmsBudgetExhausted-SmsDeliveryUnavailable": {
|
|
463
|
+
headers: {
|
|
464
|
+
/** @description Seconds to wait before sending the request again */
|
|
465
|
+
"Retry-After"?: number;
|
|
466
|
+
[name: string]: unknown;
|
|
467
|
+
};
|
|
468
|
+
content: {
|
|
469
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
470
|
+
/** @enum {string} */
|
|
471
|
+
code: "BotCheckUnavailable" | "LimiterUnavailable" | "SmsBudgetExhausted" | "SmsDeliveryUnavailable";
|
|
472
|
+
};
|
|
473
|
+
};
|
|
474
|
+
};
|
|
475
|
+
/** @description - `BusinessNotFound`: The business does not exist or is not public */
|
|
476
|
+
BusinessNotFound: {
|
|
477
|
+
headers: {
|
|
478
|
+
[name: string]: unknown;
|
|
479
|
+
};
|
|
480
|
+
content: {
|
|
481
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
482
|
+
/** @enum {string} */
|
|
483
|
+
code: "BusinessNotFound";
|
|
484
|
+
};
|
|
485
|
+
};
|
|
486
|
+
};
|
|
487
|
+
/**
|
|
488
|
+
* @description - `BusinessNotFound`: The business does not exist or is not public
|
|
489
|
+
* - `EventNotFound`: The event does not exist in this business
|
|
490
|
+
* - `EventTypeNotFound`: The event type does not exist in this business
|
|
491
|
+
*/
|
|
492
|
+
"BusinessNotFound-EventNotFound-EventTypeNotFound": {
|
|
493
|
+
headers: {
|
|
494
|
+
[name: string]: unknown;
|
|
495
|
+
};
|
|
496
|
+
content: {
|
|
497
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
498
|
+
/** @enum {string} */
|
|
499
|
+
code: "BusinessNotFound" | "EventNotFound" | "EventTypeNotFound";
|
|
500
|
+
};
|
|
501
|
+
};
|
|
502
|
+
};
|
|
503
|
+
/**
|
|
504
|
+
* @description - `BusinessNotFound`: The business does not exist or is not public
|
|
505
|
+
* - `ProductNotFound`: The product does not exist in this business
|
|
506
|
+
*/
|
|
507
|
+
"BusinessNotFound-ProductNotFound": {
|
|
508
|
+
headers: {
|
|
509
|
+
[name: string]: unknown;
|
|
510
|
+
};
|
|
511
|
+
content: {
|
|
512
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
513
|
+
/** @enum {string} */
|
|
514
|
+
code: "BusinessNotFound" | "ProductNotFound";
|
|
515
|
+
};
|
|
516
|
+
};
|
|
517
|
+
};
|
|
518
|
+
/**
|
|
519
|
+
* @description - `BusinessNotFound`: The business does not exist or is not public
|
|
520
|
+
* - `ReservationNotFound`: The reservation does not exist, or is not the caller's
|
|
521
|
+
*/
|
|
522
|
+
"BusinessNotFound-ReservationNotFound": {
|
|
523
|
+
headers: {
|
|
524
|
+
[name: string]: unknown;
|
|
525
|
+
};
|
|
526
|
+
content: {
|
|
527
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
528
|
+
/** @enum {string} */
|
|
529
|
+
code: "BusinessNotFound" | "ReservationNotFound";
|
|
530
|
+
};
|
|
531
|
+
};
|
|
532
|
+
};
|
|
533
|
+
/**
|
|
534
|
+
* @description - `CheckoutNotFound`: The reservation has no checkout
|
|
535
|
+
* - `ReservationNotFound`: The reservation does not exist, or is not the caller's
|
|
536
|
+
*/
|
|
537
|
+
"CheckoutNotFound-ReservationNotFound": {
|
|
538
|
+
headers: {
|
|
539
|
+
[name: string]: unknown;
|
|
540
|
+
};
|
|
541
|
+
content: {
|
|
542
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
543
|
+
/** @enum {string} */
|
|
544
|
+
code: "CheckoutNotFound" | "ReservationNotFound";
|
|
545
|
+
};
|
|
546
|
+
};
|
|
547
|
+
};
|
|
548
|
+
/**
|
|
549
|
+
* @description - `CheckoutNotRequired`: The event type has no price, so the reservation is confirmed directly, with no checkout
|
|
550
|
+
* - `CustomerOutsideBusiness`: The participant is not a live customer of this business
|
|
551
|
+
* - `EventNotBookable`: Only a scheduled event with a live event type can be reserved or booked
|
|
552
|
+
* - `EventStarted`: The event has started
|
|
553
|
+
* - `PaymentProviderNotConnected`: The business has saved no credentials for this payment provider
|
|
554
|
+
* - `PaymentProviderNotOffered`: The business shows no such payment method online, or it must be reconnected first; list the payment methods again
|
|
555
|
+
* - `PaymentProviderRejected`: The payment provider refused to open the payment, so the attempt failed; check the business's credentials
|
|
556
|
+
*/
|
|
557
|
+
"CheckoutNotRequired-CustomerOutsideBusiness-EventNotBookable-EventStarted-PaymentProviderNotConnected-PaymentProviderNotOffered-PaymentProviderRejected": {
|
|
558
|
+
headers: {
|
|
559
|
+
[name: string]: unknown;
|
|
560
|
+
};
|
|
561
|
+
content: {
|
|
562
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
563
|
+
/** @enum {string} */
|
|
564
|
+
code: "CheckoutNotRequired" | "CustomerOutsideBusiness" | "EventNotBookable" | "EventStarted" | "PaymentProviderNotConnected" | "PaymentProviderNotOffered" | "PaymentProviderRejected";
|
|
565
|
+
};
|
|
566
|
+
};
|
|
567
|
+
};
|
|
568
|
+
/**
|
|
569
|
+
* @description - `CheckoutRequired`: The event type has a price, so the reservation is booked through its checkout, not confirmed directly
|
|
570
|
+
* - `CustomerOutsideBusiness`: The participant is not a live customer of this business
|
|
571
|
+
* - `EventNotBookable`: Only a scheduled event with a live event type can be reserved or booked
|
|
572
|
+
* - `EventStarted`: The event has started
|
|
573
|
+
*/
|
|
574
|
+
"CheckoutRequired-CustomerOutsideBusiness-EventNotBookable-EventStarted": {
|
|
575
|
+
headers: {
|
|
576
|
+
[name: string]: unknown;
|
|
577
|
+
};
|
|
578
|
+
content: {
|
|
579
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
580
|
+
/** @enum {string} */
|
|
581
|
+
code: "CheckoutRequired" | "CustomerOutsideBusiness" | "EventNotBookable" | "EventStarted";
|
|
582
|
+
};
|
|
583
|
+
};
|
|
584
|
+
};
|
|
585
|
+
/**
|
|
586
|
+
* @description - `CustomerOutsideBusiness`: The participant is not a live customer of this business
|
|
587
|
+
* - `PaymentProviderNotConnected`: The business has saved no credentials for this payment provider
|
|
588
|
+
* - `PaymentProviderNotOffered`: The business shows no such payment method online, or it must be reconnected first; list the payment methods again
|
|
589
|
+
* - `PaymentProviderRejected`: The payment provider refused to open the payment, so the attempt failed; check the business's credentials
|
|
590
|
+
* - `ProductInactive`: The product is inactive and is not sold
|
|
591
|
+
*/
|
|
592
|
+
"CustomerOutsideBusiness-PaymentProviderNotConnected-PaymentProviderNotOffered-PaymentProviderRejected-ProductInactive": {
|
|
593
|
+
headers: {
|
|
594
|
+
[name: string]: unknown;
|
|
595
|
+
};
|
|
596
|
+
content: {
|
|
597
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
598
|
+
/** @enum {string} */
|
|
599
|
+
code: "CustomerOutsideBusiness" | "PaymentProviderNotConnected" | "PaymentProviderNotOffered" | "PaymentProviderRejected" | "ProductInactive";
|
|
600
|
+
};
|
|
601
|
+
};
|
|
602
|
+
};
|
|
603
|
+
/**
|
|
604
|
+
* @description - `CustomerSessionRequired`: The operation needs a customer's session
|
|
605
|
+
* - `NotAuthenticated`: The credentials are missing, invalid or expired, or do not fit this surface
|
|
606
|
+
* - `SessionExpired`: The session has expired or its client's session policy ended it; sign in again
|
|
607
|
+
*/
|
|
608
|
+
"CustomerSessionRequired-NotAuthenticated-SessionExpired": {
|
|
609
|
+
headers: {
|
|
610
|
+
[name: string]: unknown;
|
|
611
|
+
};
|
|
612
|
+
content: {
|
|
613
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
614
|
+
/** @enum {string} */
|
|
615
|
+
code: "CustomerSessionRequired" | "NotAuthenticated" | "SessionExpired";
|
|
616
|
+
};
|
|
617
|
+
};
|
|
618
|
+
};
|
|
619
|
+
/**
|
|
620
|
+
* @description - `DeliveryLimitReached`: The customer already has as many of this product's memberships as one customer may get
|
|
621
|
+
* - `PaymentAlreadySucceeded`: This part of the agreement was already paid, with another amount, collector or provider
|
|
622
|
+
* - `PaymentInProgress`: This part of the agreement has an open payment attempt for another amount, collector or provider; wait until it ends
|
|
623
|
+
*/
|
|
624
|
+
"DeliveryLimitReached-PaymentAlreadySucceeded-PaymentInProgress": {
|
|
625
|
+
headers: {
|
|
626
|
+
[name: string]: unknown;
|
|
627
|
+
};
|
|
628
|
+
content: {
|
|
629
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
630
|
+
/** @enum {string} */
|
|
631
|
+
code: "DeliveryLimitReached" | "PaymentAlreadySucceeded" | "PaymentInProgress";
|
|
632
|
+
};
|
|
633
|
+
};
|
|
634
|
+
};
|
|
635
|
+
/**
|
|
636
|
+
* @description - `EventFull`: The event has no free seat
|
|
637
|
+
* - `ReservationLimitReached`: The customer already holds the most active reservations allowed on Web (5, across the businesses this client reaches); reserve again once a hold lapses or is confirmed
|
|
638
|
+
* - `SlotTaken`: The time slot is taken on every resource that could provide it
|
|
639
|
+
*/
|
|
640
|
+
"EventFull-ReservationLimitReached-SlotTaken": {
|
|
641
|
+
headers: {
|
|
642
|
+
[name: string]: unknown;
|
|
643
|
+
};
|
|
644
|
+
content: {
|
|
645
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
646
|
+
/** @enum {string} */
|
|
647
|
+
code: "EventFull" | "ReservationLimitReached" | "SlotTaken";
|
|
648
|
+
};
|
|
649
|
+
};
|
|
650
|
+
};
|
|
651
|
+
/**
|
|
652
|
+
* @description - `EventNotBookable`: Only a scheduled event with a live event type can be reserved or booked
|
|
653
|
+
* - `EventStarted`: The event has started
|
|
654
|
+
* - `NotATimeSlot`: The start is not an open time slot of the event type on a resource that provides it
|
|
655
|
+
*/
|
|
656
|
+
"EventNotBookable-EventStarted-NotATimeSlot": {
|
|
657
|
+
headers: {
|
|
658
|
+
[name: string]: unknown;
|
|
659
|
+
};
|
|
660
|
+
content: {
|
|
661
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
662
|
+
/** @enum {string} */
|
|
663
|
+
code: "EventNotBookable" | "EventStarted" | "NotATimeSlot";
|
|
664
|
+
};
|
|
665
|
+
};
|
|
666
|
+
};
|
|
667
|
+
/** @description - `EventStarted`: The event has started */
|
|
668
|
+
EventStarted: {
|
|
669
|
+
headers: {
|
|
670
|
+
[name: string]: unknown;
|
|
671
|
+
};
|
|
672
|
+
content: {
|
|
673
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
674
|
+
/** @enum {string} */
|
|
675
|
+
code: "EventStarted";
|
|
676
|
+
};
|
|
677
|
+
};
|
|
678
|
+
};
|
|
679
|
+
/** @description - `InternalError`: The engine failed unexpectedly */
|
|
680
|
+
InternalError: {
|
|
681
|
+
headers: {
|
|
682
|
+
[name: string]: unknown;
|
|
683
|
+
};
|
|
684
|
+
content: {
|
|
685
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
686
|
+
/** @enum {string} */
|
|
687
|
+
code: "InternalError";
|
|
688
|
+
};
|
|
689
|
+
};
|
|
690
|
+
};
|
|
691
|
+
/**
|
|
692
|
+
* @description - `InvalidInterval`: An interval ends before it starts
|
|
693
|
+
* - `RangeTooLong`: The range covers more days than one request may
|
|
694
|
+
*/
|
|
695
|
+
"InvalidInterval-RangeTooLong": {
|
|
696
|
+
headers: {
|
|
697
|
+
[name: string]: unknown;
|
|
698
|
+
};
|
|
699
|
+
content: {
|
|
700
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
701
|
+
/** @enum {string} */
|
|
702
|
+
code: "InvalidInterval" | "RangeTooLong";
|
|
703
|
+
};
|
|
704
|
+
};
|
|
705
|
+
};
|
|
706
|
+
/** @description - `MalformedBody`: The JSON body cannot be parsed */
|
|
707
|
+
MalformedBody: {
|
|
708
|
+
headers: {
|
|
709
|
+
[name: string]: unknown;
|
|
710
|
+
};
|
|
711
|
+
content: {
|
|
712
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
713
|
+
/** @enum {string} */
|
|
714
|
+
code: "MalformedBody";
|
|
715
|
+
};
|
|
716
|
+
};
|
|
717
|
+
};
|
|
718
|
+
/**
|
|
719
|
+
* @description - `MalformedBody`: The JSON body cannot be parsed
|
|
720
|
+
* - `ValidationFailed`: The path, query or body does not match the operation's schema; `issues` lists each problem with its path
|
|
721
|
+
*/
|
|
722
|
+
"MalformedBody-ValidationFailed": {
|
|
723
|
+
headers: {
|
|
724
|
+
[name: string]: unknown;
|
|
725
|
+
};
|
|
726
|
+
content: {
|
|
727
|
+
"application/json": components["schemas"]["ValidationErrorResponse"] & {
|
|
728
|
+
/** @enum {string} */
|
|
729
|
+
code: "MalformedBody" | "ValidationFailed";
|
|
730
|
+
};
|
|
731
|
+
};
|
|
732
|
+
};
|
|
733
|
+
/** @description - `NameRequired`: A new customer's registration needs their name; the ticket can be sent again with it */
|
|
734
|
+
NameRequired: {
|
|
735
|
+
headers: {
|
|
736
|
+
[name: string]: unknown;
|
|
737
|
+
};
|
|
738
|
+
content: {
|
|
739
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
740
|
+
/** @enum {string} */
|
|
741
|
+
code: "NameRequired";
|
|
742
|
+
};
|
|
743
|
+
};
|
|
744
|
+
};
|
|
745
|
+
/**
|
|
746
|
+
* @description - `NotAuthenticated`: The credentials are missing, invalid or expired, or do not fit this surface
|
|
747
|
+
* - `SessionExpired`: The session has expired or its client's session policy ended it; sign in again
|
|
748
|
+
*/
|
|
749
|
+
"NotAuthenticated-SessionExpired": {
|
|
750
|
+
headers: {
|
|
751
|
+
[name: string]: unknown;
|
|
752
|
+
};
|
|
753
|
+
content: {
|
|
754
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
755
|
+
/** @enum {string} */
|
|
756
|
+
code: "NotAuthenticated" | "SessionExpired";
|
|
757
|
+
};
|
|
758
|
+
};
|
|
759
|
+
};
|
|
760
|
+
/** @description - `NotAuthorized`: The actor is not permitted to perform this operation */
|
|
761
|
+
NotAuthorized: {
|
|
762
|
+
headers: {
|
|
763
|
+
[name: string]: unknown;
|
|
764
|
+
};
|
|
765
|
+
content: {
|
|
766
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
767
|
+
/** @enum {string} */
|
|
768
|
+
code: "NotAuthorized";
|
|
769
|
+
};
|
|
770
|
+
};
|
|
771
|
+
};
|
|
772
|
+
/**
|
|
773
|
+
* @description - `NotAuthorized`: The actor is not permitted to perform this operation
|
|
774
|
+
* - `OutsideClientScope`: The application client serves only its own partner's businesses
|
|
775
|
+
*/
|
|
776
|
+
"NotAuthorized-OutsideClientScope": {
|
|
777
|
+
headers: {
|
|
778
|
+
[name: string]: unknown;
|
|
779
|
+
};
|
|
780
|
+
content: {
|
|
781
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
782
|
+
/** @enum {string} */
|
|
783
|
+
code: "NotAuthorized" | "OutsideClientScope";
|
|
784
|
+
};
|
|
785
|
+
};
|
|
786
|
+
};
|
|
787
|
+
/** @description - `OutsideClientScope`: The application client serves only its own partner's businesses */
|
|
788
|
+
OutsideClientScope: {
|
|
789
|
+
headers: {
|
|
790
|
+
[name: string]: unknown;
|
|
791
|
+
};
|
|
792
|
+
content: {
|
|
793
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
794
|
+
/** @enum {string} */
|
|
795
|
+
code: "OutsideClientScope";
|
|
796
|
+
};
|
|
797
|
+
};
|
|
798
|
+
};
|
|
799
|
+
/**
|
|
800
|
+
* @description - `PaymentAlreadySucceeded`: This part of the agreement was already paid, with another amount, collector or provider
|
|
801
|
+
* - `PaymentInProgress`: This part of the agreement has an open payment attempt for another amount, collector or provider; wait until it ends
|
|
802
|
+
* - `ReservationExpired`: The reservation expired and no longer holds its seat or slot
|
|
803
|
+
*/
|
|
804
|
+
"PaymentAlreadySucceeded-PaymentInProgress-ReservationExpired": {
|
|
805
|
+
headers: {
|
|
806
|
+
[name: string]: unknown;
|
|
807
|
+
};
|
|
808
|
+
content: {
|
|
809
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
810
|
+
/** @enum {string} */
|
|
811
|
+
code: "PaymentAlreadySucceeded" | "PaymentInProgress" | "ReservationExpired";
|
|
812
|
+
};
|
|
813
|
+
};
|
|
814
|
+
};
|
|
815
|
+
/**
|
|
816
|
+
* @description - `PaymentCredentialsUnavailable`: The engine cannot store or read payment provider credentials now; retry after `Retry-After` seconds
|
|
817
|
+
* - `PaymentProviderUnavailable`: The payment provider did not answer, or it is not configured here; the same request retries the same attempt after `Retry-After` seconds
|
|
818
|
+
*/
|
|
819
|
+
"PaymentCredentialsUnavailable-PaymentProviderUnavailable": {
|
|
820
|
+
headers: {
|
|
821
|
+
/** @description Seconds to wait before sending the request again */
|
|
822
|
+
"Retry-After"?: number;
|
|
823
|
+
[name: string]: unknown;
|
|
824
|
+
};
|
|
825
|
+
content: {
|
|
826
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
827
|
+
/** @enum {string} */
|
|
828
|
+
code: "PaymentCredentialsUnavailable" | "PaymentProviderUnavailable";
|
|
829
|
+
};
|
|
830
|
+
};
|
|
831
|
+
};
|
|
832
|
+
/** @description - `PhoneDestinationNotAllowed`: SMS is not sent to this phone number's country */
|
|
833
|
+
PhoneDestinationNotAllowed: {
|
|
834
|
+
headers: {
|
|
835
|
+
[name: string]: unknown;
|
|
836
|
+
};
|
|
837
|
+
content: {
|
|
838
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
839
|
+
/** @enum {string} */
|
|
840
|
+
code: "PhoneDestinationNotAllowed";
|
|
841
|
+
};
|
|
842
|
+
};
|
|
843
|
+
};
|
|
844
|
+
/** @description - `ProductCheckoutNotFound`: You have not started a checkout of this product */
|
|
845
|
+
ProductCheckoutNotFound: {
|
|
846
|
+
headers: {
|
|
847
|
+
[name: string]: unknown;
|
|
848
|
+
};
|
|
849
|
+
content: {
|
|
850
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
851
|
+
/** @enum {string} */
|
|
852
|
+
code: "ProductCheckoutNotFound";
|
|
853
|
+
};
|
|
854
|
+
};
|
|
855
|
+
};
|
|
856
|
+
/** @description - `RateLimited`: A rate limit refused the request: the load balancer's per IP, or the engine's per application client; retry after `Retry-After` seconds */
|
|
857
|
+
RateLimited: {
|
|
858
|
+
headers: {
|
|
859
|
+
/** @description Seconds to wait before sending the request again */
|
|
860
|
+
"Retry-After"?: number;
|
|
861
|
+
[name: string]: unknown;
|
|
862
|
+
};
|
|
863
|
+
content: {
|
|
864
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
865
|
+
/** @enum {string} */
|
|
866
|
+
code: "RateLimited";
|
|
867
|
+
};
|
|
868
|
+
};
|
|
869
|
+
};
|
|
870
|
+
/**
|
|
871
|
+
* @description - `RateLimited`: A rate limit refused the request: the load balancer's per IP, or the engine's per application client; retry after `Retry-After` seconds
|
|
872
|
+
* - `TooManyAttempts`: Too many sign-in codes were requested from this address; retry after `Retry-After` seconds
|
|
873
|
+
* - `TooManyChallenges`: Too many sign-in codes were sent to this number; retry after `Retry-After` seconds
|
|
874
|
+
*/
|
|
875
|
+
"RateLimited-TooManyAttempts-TooManyChallenges": {
|
|
876
|
+
headers: {
|
|
877
|
+
/** @description Seconds to wait before sending the request again */
|
|
878
|
+
"Retry-After"?: number;
|
|
879
|
+
[name: string]: unknown;
|
|
880
|
+
};
|
|
881
|
+
content: {
|
|
882
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
883
|
+
/** @enum {string} */
|
|
884
|
+
code: "RateLimited" | "TooManyAttempts" | "TooManyChallenges";
|
|
885
|
+
};
|
|
886
|
+
};
|
|
887
|
+
};
|
|
888
|
+
/** @description - `ReservationExpired`: The reservation expired and no longer holds its seat or slot */
|
|
889
|
+
ReservationExpired: {
|
|
890
|
+
headers: {
|
|
891
|
+
[name: string]: unknown;
|
|
892
|
+
};
|
|
893
|
+
content: {
|
|
894
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
895
|
+
/** @enum {string} */
|
|
896
|
+
code: "ReservationExpired";
|
|
897
|
+
};
|
|
898
|
+
};
|
|
899
|
+
};
|
|
900
|
+
/** @description - `UnsupportedMediaType`: The body's content type is not one the operation accepts: `application/json`, or the image types an image upload lists */
|
|
901
|
+
UnsupportedMediaType: {
|
|
902
|
+
headers: {
|
|
903
|
+
[name: string]: unknown;
|
|
904
|
+
};
|
|
905
|
+
content: {
|
|
906
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
907
|
+
/** @enum {string} */
|
|
908
|
+
code: "UnsupportedMediaType";
|
|
909
|
+
};
|
|
910
|
+
};
|
|
911
|
+
};
|
|
912
|
+
/** @description - `ValidationFailed`: The path, query or body does not match the operation's schema; `issues` lists each problem with its path */
|
|
913
|
+
ValidationFailed: {
|
|
914
|
+
headers: {
|
|
915
|
+
[name: string]: unknown;
|
|
916
|
+
};
|
|
917
|
+
content: {
|
|
918
|
+
"application/json": components["schemas"]["ValidationErrorResponse"] & {
|
|
919
|
+
/** @enum {string} */
|
|
920
|
+
code: "ValidationFailed";
|
|
921
|
+
};
|
|
922
|
+
};
|
|
923
|
+
};
|
|
924
|
+
};
|
|
316
925
|
parameters: never;
|
|
317
926
|
requestBodies: never;
|
|
318
927
|
headers: never;
|
|
@@ -362,6 +971,8 @@ export interface operations {
|
|
|
362
971
|
email: string | null;
|
|
363
972
|
/** Format: uuid */
|
|
364
973
|
id: string;
|
|
974
|
+
/** @enum {string} */
|
|
975
|
+
kind: "organization" | "contractor";
|
|
365
976
|
latitude: number | null;
|
|
366
977
|
logo: {
|
|
367
978
|
height: number;
|
|
@@ -383,74 +994,25 @@ export interface operations {
|
|
|
383
994
|
};
|
|
384
995
|
};
|
|
385
996
|
};
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
};
|
|
406
|
-
content: {
|
|
407
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
408
|
-
/** @enum {string} */
|
|
409
|
-
code: "NotAuthenticated" | "SessionExpired";
|
|
410
|
-
};
|
|
411
|
-
};
|
|
412
|
-
};
|
|
413
|
-
/** @description - `RateLimited`: A rate limit refused the request: the load balancer's per IP, or the engine's per application client; retry after `Retry-After` seconds */
|
|
414
|
-
429: {
|
|
415
|
-
headers: {
|
|
416
|
-
/** @description Seconds to wait before sending the request again */
|
|
417
|
-
"Retry-After"?: number;
|
|
418
|
-
[name: string]: unknown;
|
|
419
|
-
};
|
|
420
|
-
content: {
|
|
421
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
422
|
-
/** @enum {string} */
|
|
423
|
-
code: "RateLimited";
|
|
424
|
-
};
|
|
425
|
-
};
|
|
426
|
-
};
|
|
427
|
-
/** @description - `InternalError`: The engine failed unexpectedly */
|
|
428
|
-
500: {
|
|
429
|
-
headers: {
|
|
430
|
-
[name: string]: unknown;
|
|
431
|
-
};
|
|
432
|
-
content: {
|
|
433
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
434
|
-
/** @enum {string} */
|
|
435
|
-
code: "InternalError";
|
|
436
|
-
};
|
|
437
|
-
};
|
|
438
|
-
};
|
|
439
|
-
};
|
|
440
|
-
};
|
|
441
|
-
getPublicBusiness: {
|
|
442
|
-
parameters: {
|
|
443
|
-
query?: never;
|
|
444
|
-
header?: never;
|
|
445
|
-
path: {
|
|
446
|
-
businessId: string;
|
|
447
|
-
};
|
|
448
|
-
cookie?: never;
|
|
449
|
-
};
|
|
450
|
-
requestBody?: never;
|
|
451
|
-
responses: {
|
|
452
|
-
/** @description OK */
|
|
453
|
-
200: {
|
|
997
|
+
400: components["responses"]["ValidationFailed"];
|
|
998
|
+
401: components["responses"]["NotAuthenticated-SessionExpired"];
|
|
999
|
+
429: components["responses"]["RateLimited"];
|
|
1000
|
+
500: components["responses"]["InternalError"];
|
|
1001
|
+
};
|
|
1002
|
+
};
|
|
1003
|
+
getPublicBusiness: {
|
|
1004
|
+
parameters: {
|
|
1005
|
+
query?: never;
|
|
1006
|
+
header?: never;
|
|
1007
|
+
path: {
|
|
1008
|
+
businessId: string;
|
|
1009
|
+
};
|
|
1010
|
+
cookie?: never;
|
|
1011
|
+
};
|
|
1012
|
+
requestBody?: never;
|
|
1013
|
+
responses: {
|
|
1014
|
+
/** @description OK */
|
|
1015
|
+
200: {
|
|
454
1016
|
headers: {
|
|
455
1017
|
[name: string]: unknown;
|
|
456
1018
|
};
|
|
@@ -476,6 +1038,8 @@ export interface operations {
|
|
|
476
1038
|
email: string | null;
|
|
477
1039
|
/** Format: uuid */
|
|
478
1040
|
id: string;
|
|
1041
|
+
/** @enum {string} */
|
|
1042
|
+
kind: "organization" | "contractor";
|
|
479
1043
|
latitude: number | null;
|
|
480
1044
|
logo: {
|
|
481
1045
|
height: number;
|
|
@@ -495,83 +1059,12 @@ export interface operations {
|
|
|
495
1059
|
};
|
|
496
1060
|
};
|
|
497
1061
|
};
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
"application/json": components["schemas"]["ValidationErrorResponse"] & {
|
|
505
|
-
/** @enum {string} */
|
|
506
|
-
code: "ValidationFailed";
|
|
507
|
-
};
|
|
508
|
-
};
|
|
509
|
-
};
|
|
510
|
-
/**
|
|
511
|
-
* @description - `NotAuthenticated`: The credentials are missing, invalid or expired, or do not fit this surface
|
|
512
|
-
* - `SessionExpired`: The session has expired or its client's session policy ended it; sign in again
|
|
513
|
-
*/
|
|
514
|
-
401: {
|
|
515
|
-
headers: {
|
|
516
|
-
[name: string]: unknown;
|
|
517
|
-
};
|
|
518
|
-
content: {
|
|
519
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
520
|
-
/** @enum {string} */
|
|
521
|
-
code: "NotAuthenticated" | "SessionExpired";
|
|
522
|
-
};
|
|
523
|
-
};
|
|
524
|
-
};
|
|
525
|
-
/** @description - `OutsideClientScope`: The application client serves only its own partner's businesses */
|
|
526
|
-
403: {
|
|
527
|
-
headers: {
|
|
528
|
-
[name: string]: unknown;
|
|
529
|
-
};
|
|
530
|
-
content: {
|
|
531
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
532
|
-
/** @enum {string} */
|
|
533
|
-
code: "OutsideClientScope";
|
|
534
|
-
};
|
|
535
|
-
};
|
|
536
|
-
};
|
|
537
|
-
/** @description - `BusinessNotFound`: The business does not exist or is not public */
|
|
538
|
-
404: {
|
|
539
|
-
headers: {
|
|
540
|
-
[name: string]: unknown;
|
|
541
|
-
};
|
|
542
|
-
content: {
|
|
543
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
544
|
-
/** @enum {string} */
|
|
545
|
-
code: "BusinessNotFound";
|
|
546
|
-
};
|
|
547
|
-
};
|
|
548
|
-
};
|
|
549
|
-
/** @description - `RateLimited`: A rate limit refused the request: the load balancer's per IP, or the engine's per application client; retry after `Retry-After` seconds */
|
|
550
|
-
429: {
|
|
551
|
-
headers: {
|
|
552
|
-
/** @description Seconds to wait before sending the request again */
|
|
553
|
-
"Retry-After"?: number;
|
|
554
|
-
[name: string]: unknown;
|
|
555
|
-
};
|
|
556
|
-
content: {
|
|
557
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
558
|
-
/** @enum {string} */
|
|
559
|
-
code: "RateLimited";
|
|
560
|
-
};
|
|
561
|
-
};
|
|
562
|
-
};
|
|
563
|
-
/** @description - `InternalError`: The engine failed unexpectedly */
|
|
564
|
-
500: {
|
|
565
|
-
headers: {
|
|
566
|
-
[name: string]: unknown;
|
|
567
|
-
};
|
|
568
|
-
content: {
|
|
569
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
570
|
-
/** @enum {string} */
|
|
571
|
-
code: "InternalError";
|
|
572
|
-
};
|
|
573
|
-
};
|
|
574
|
-
};
|
|
1062
|
+
400: components["responses"]["ValidationFailed"];
|
|
1063
|
+
401: components["responses"]["NotAuthenticated-SessionExpired"];
|
|
1064
|
+
403: components["responses"]["OutsideClientScope"];
|
|
1065
|
+
404: components["responses"]["BusinessNotFound"];
|
|
1066
|
+
429: components["responses"]["RateLimited"];
|
|
1067
|
+
500: components["responses"]["InternalError"];
|
|
575
1068
|
};
|
|
576
1069
|
};
|
|
577
1070
|
listPublicAvailability: {
|
|
@@ -634,98 +1127,13 @@ export interface operations {
|
|
|
634
1127
|
};
|
|
635
1128
|
};
|
|
636
1129
|
};
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
/** @enum {string} */
|
|
645
|
-
code: "ValidationFailed";
|
|
646
|
-
};
|
|
647
|
-
};
|
|
648
|
-
};
|
|
649
|
-
/**
|
|
650
|
-
* @description - `NotAuthenticated`: The credentials are missing, invalid or expired, or do not fit this surface
|
|
651
|
-
* - `SessionExpired`: The session has expired or its client's session policy ended it; sign in again
|
|
652
|
-
*/
|
|
653
|
-
401: {
|
|
654
|
-
headers: {
|
|
655
|
-
[name: string]: unknown;
|
|
656
|
-
};
|
|
657
|
-
content: {
|
|
658
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
659
|
-
/** @enum {string} */
|
|
660
|
-
code: "NotAuthenticated" | "SessionExpired";
|
|
661
|
-
};
|
|
662
|
-
};
|
|
663
|
-
};
|
|
664
|
-
/** @description - `OutsideClientScope`: The application client serves only its own partner's businesses */
|
|
665
|
-
403: {
|
|
666
|
-
headers: {
|
|
667
|
-
[name: string]: unknown;
|
|
668
|
-
};
|
|
669
|
-
content: {
|
|
670
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
671
|
-
/** @enum {string} */
|
|
672
|
-
code: "OutsideClientScope";
|
|
673
|
-
};
|
|
674
|
-
};
|
|
675
|
-
};
|
|
676
|
-
/** @description - `BusinessNotFound`: The business does not exist or is not public */
|
|
677
|
-
404: {
|
|
678
|
-
headers: {
|
|
679
|
-
[name: string]: unknown;
|
|
680
|
-
};
|
|
681
|
-
content: {
|
|
682
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
683
|
-
/** @enum {string} */
|
|
684
|
-
code: "BusinessNotFound";
|
|
685
|
-
};
|
|
686
|
-
};
|
|
687
|
-
};
|
|
688
|
-
/**
|
|
689
|
-
* @description - `InvalidInterval`: An interval ends before it starts
|
|
690
|
-
* - `RangeTooLong`: The range covers more days than one request may
|
|
691
|
-
*/
|
|
692
|
-
422: {
|
|
693
|
-
headers: {
|
|
694
|
-
[name: string]: unknown;
|
|
695
|
-
};
|
|
696
|
-
content: {
|
|
697
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
698
|
-
/** @enum {string} */
|
|
699
|
-
code: "InvalidInterval" | "RangeTooLong";
|
|
700
|
-
};
|
|
701
|
-
};
|
|
702
|
-
};
|
|
703
|
-
/** @description - `RateLimited`: A rate limit refused the request: the load balancer's per IP, or the engine's per application client; retry after `Retry-After` seconds */
|
|
704
|
-
429: {
|
|
705
|
-
headers: {
|
|
706
|
-
/** @description Seconds to wait before sending the request again */
|
|
707
|
-
"Retry-After"?: number;
|
|
708
|
-
[name: string]: unknown;
|
|
709
|
-
};
|
|
710
|
-
content: {
|
|
711
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
712
|
-
/** @enum {string} */
|
|
713
|
-
code: "RateLimited";
|
|
714
|
-
};
|
|
715
|
-
};
|
|
716
|
-
};
|
|
717
|
-
/** @description - `InternalError`: The engine failed unexpectedly */
|
|
718
|
-
500: {
|
|
719
|
-
headers: {
|
|
720
|
-
[name: string]: unknown;
|
|
721
|
-
};
|
|
722
|
-
content: {
|
|
723
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
724
|
-
/** @enum {string} */
|
|
725
|
-
code: "InternalError";
|
|
726
|
-
};
|
|
727
|
-
};
|
|
728
|
-
};
|
|
1130
|
+
400: components["responses"]["ValidationFailed"];
|
|
1131
|
+
401: components["responses"]["NotAuthenticated-SessionExpired"];
|
|
1132
|
+
403: components["responses"]["OutsideClientScope"];
|
|
1133
|
+
404: components["responses"]["BusinessNotFound"];
|
|
1134
|
+
422: components["responses"]["InvalidInterval-RangeTooLong"];
|
|
1135
|
+
429: components["responses"]["RateLimited"];
|
|
1136
|
+
500: components["responses"]["InternalError"];
|
|
729
1137
|
};
|
|
730
1138
|
};
|
|
731
1139
|
getOwnBooking: {
|
|
@@ -795,87 +1203,12 @@ export interface operations {
|
|
|
795
1203
|
};
|
|
796
1204
|
};
|
|
797
1205
|
};
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
"application/json": components["schemas"]["ValidationErrorResponse"] & {
|
|
805
|
-
/** @enum {string} */
|
|
806
|
-
code: "ValidationFailed";
|
|
807
|
-
};
|
|
808
|
-
};
|
|
809
|
-
};
|
|
810
|
-
/**
|
|
811
|
-
* @description - `CustomerSessionRequired`: The operation needs a customer's session
|
|
812
|
-
* - `NotAuthenticated`: The credentials are missing, invalid or expired, or do not fit this surface
|
|
813
|
-
* - `SessionExpired`: The session has expired or its client's session policy ended it; sign in again
|
|
814
|
-
*/
|
|
815
|
-
401: {
|
|
816
|
-
headers: {
|
|
817
|
-
[name: string]: unknown;
|
|
818
|
-
};
|
|
819
|
-
content: {
|
|
820
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
821
|
-
/** @enum {string} */
|
|
822
|
-
code: "CustomerSessionRequired" | "NotAuthenticated" | "SessionExpired";
|
|
823
|
-
};
|
|
824
|
-
};
|
|
825
|
-
};
|
|
826
|
-
/**
|
|
827
|
-
* @description - `NotAuthorized`: The actor is not permitted to perform this operation
|
|
828
|
-
* - `OutsideClientScope`: The application client serves only its own partner's businesses
|
|
829
|
-
*/
|
|
830
|
-
403: {
|
|
831
|
-
headers: {
|
|
832
|
-
[name: string]: unknown;
|
|
833
|
-
};
|
|
834
|
-
content: {
|
|
835
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
836
|
-
/** @enum {string} */
|
|
837
|
-
code: "NotAuthorized" | "OutsideClientScope";
|
|
838
|
-
};
|
|
839
|
-
};
|
|
840
|
-
};
|
|
841
|
-
/** @description - `BookingNotFound`: The booking does not exist, or is not the caller's */
|
|
842
|
-
404: {
|
|
843
|
-
headers: {
|
|
844
|
-
[name: string]: unknown;
|
|
845
|
-
};
|
|
846
|
-
content: {
|
|
847
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
848
|
-
/** @enum {string} */
|
|
849
|
-
code: "BookingNotFound";
|
|
850
|
-
};
|
|
851
|
-
};
|
|
852
|
-
};
|
|
853
|
-
/** @description - `RateLimited`: A rate limit refused the request: the load balancer's per IP, or the engine's per application client; retry after `Retry-After` seconds */
|
|
854
|
-
429: {
|
|
855
|
-
headers: {
|
|
856
|
-
/** @description Seconds to wait before sending the request again */
|
|
857
|
-
"Retry-After"?: number;
|
|
858
|
-
[name: string]: unknown;
|
|
859
|
-
};
|
|
860
|
-
content: {
|
|
861
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
862
|
-
/** @enum {string} */
|
|
863
|
-
code: "RateLimited";
|
|
864
|
-
};
|
|
865
|
-
};
|
|
866
|
-
};
|
|
867
|
-
/** @description - `InternalError`: The engine failed unexpectedly */
|
|
868
|
-
500: {
|
|
869
|
-
headers: {
|
|
870
|
-
[name: string]: unknown;
|
|
871
|
-
};
|
|
872
|
-
content: {
|
|
873
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
874
|
-
/** @enum {string} */
|
|
875
|
-
code: "InternalError";
|
|
876
|
-
};
|
|
877
|
-
};
|
|
878
|
-
};
|
|
1206
|
+
400: components["responses"]["ValidationFailed"];
|
|
1207
|
+
401: components["responses"]["CustomerSessionRequired-NotAuthenticated-SessionExpired"];
|
|
1208
|
+
403: components["responses"]["NotAuthorized-OutsideClientScope"];
|
|
1209
|
+
404: components["responses"]["BookingNotFound"];
|
|
1210
|
+
429: components["responses"]["RateLimited"];
|
|
1211
|
+
500: components["responses"]["InternalError"];
|
|
879
1212
|
};
|
|
880
1213
|
};
|
|
881
1214
|
cancelOwnBooking: {
|
|
@@ -924,147 +1257,33 @@ export interface operations {
|
|
|
924
1257
|
};
|
|
925
1258
|
};
|
|
926
1259
|
};
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
* @description - `CustomerSessionRequired`: The operation needs a customer's session
|
|
944
|
-
* - `NotAuthenticated`: The credentials are missing, invalid or expired, or do not fit this surface
|
|
945
|
-
* - `SessionExpired`: The session has expired or its client's session policy ended it; sign in again
|
|
946
|
-
*/
|
|
947
|
-
401: {
|
|
948
|
-
headers: {
|
|
949
|
-
[name: string]: unknown;
|
|
950
|
-
};
|
|
951
|
-
content: {
|
|
952
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
953
|
-
/** @enum {string} */
|
|
954
|
-
code: "CustomerSessionRequired" | "NotAuthenticated" | "SessionExpired";
|
|
955
|
-
};
|
|
956
|
-
};
|
|
957
|
-
};
|
|
958
|
-
/**
|
|
959
|
-
* @description - `NotAuthorized`: The actor is not permitted to perform this operation
|
|
960
|
-
* - `OutsideClientScope`: The application client serves only its own partner's businesses
|
|
961
|
-
*/
|
|
962
|
-
403: {
|
|
963
|
-
headers: {
|
|
964
|
-
[name: string]: unknown;
|
|
965
|
-
};
|
|
966
|
-
content: {
|
|
967
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
968
|
-
/** @enum {string} */
|
|
969
|
-
code: "NotAuthorized" | "OutsideClientScope";
|
|
970
|
-
};
|
|
971
|
-
};
|
|
972
|
-
};
|
|
973
|
-
/**
|
|
974
|
-
* @description - `BookingNotFound`: The booking does not exist, or is not the caller's
|
|
975
|
-
* - `BusinessNotFound`: The business does not exist or is not public
|
|
976
|
-
*/
|
|
977
|
-
404: {
|
|
978
|
-
headers: {
|
|
979
|
-
[name: string]: unknown;
|
|
980
|
-
};
|
|
981
|
-
content: {
|
|
982
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
983
|
-
/** @enum {string} */
|
|
984
|
-
code: "BookingNotFound" | "BusinessNotFound";
|
|
985
|
-
};
|
|
986
|
-
};
|
|
1260
|
+
400: components["responses"]["MalformedBody-ValidationFailed"];
|
|
1261
|
+
401: components["responses"]["CustomerSessionRequired-NotAuthenticated-SessionExpired"];
|
|
1262
|
+
403: components["responses"]["NotAuthorized-OutsideClientScope"];
|
|
1263
|
+
404: components["responses"]["BookingNotFound-BusinessNotFound"];
|
|
1264
|
+
413: components["responses"]["BodyTooLarge"];
|
|
1265
|
+
415: components["responses"]["UnsupportedMediaType"];
|
|
1266
|
+
422: components["responses"]["EventStarted"];
|
|
1267
|
+
429: components["responses"]["RateLimited"];
|
|
1268
|
+
500: components["responses"]["InternalError"];
|
|
1269
|
+
};
|
|
1270
|
+
};
|
|
1271
|
+
listPublicEventTypes: {
|
|
1272
|
+
parameters: {
|
|
1273
|
+
query?: {
|
|
1274
|
+
/** @description Tag slugs, repeated as tag=yoga&tag=pilates: only event types that carry any of the partner's tags with these slugs. A slug the partner does not have matches nothing */
|
|
1275
|
+
tag?: string[];
|
|
987
1276
|
};
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
[name: string]: unknown;
|
|
992
|
-
};
|
|
993
|
-
content: {
|
|
994
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
995
|
-
/** @enum {string} */
|
|
996
|
-
code: "BodyTooLarge";
|
|
997
|
-
};
|
|
998
|
-
};
|
|
1277
|
+
header?: never;
|
|
1278
|
+
path: {
|
|
1279
|
+
businessId: string;
|
|
999
1280
|
};
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1007
|
-
/** @enum {string} */
|
|
1008
|
-
code: "UnsupportedMediaType";
|
|
1009
|
-
};
|
|
1010
|
-
};
|
|
1011
|
-
};
|
|
1012
|
-
/** @description - `EventStarted`: The event has started */
|
|
1013
|
-
422: {
|
|
1014
|
-
headers: {
|
|
1015
|
-
[name: string]: unknown;
|
|
1016
|
-
};
|
|
1017
|
-
content: {
|
|
1018
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1019
|
-
/** @enum {string} */
|
|
1020
|
-
code: "EventStarted";
|
|
1021
|
-
};
|
|
1022
|
-
};
|
|
1023
|
-
};
|
|
1024
|
-
/** @description - `RateLimited`: A rate limit refused the request: the load balancer's per IP, or the engine's per application client; retry after `Retry-After` seconds */
|
|
1025
|
-
429: {
|
|
1026
|
-
headers: {
|
|
1027
|
-
/** @description Seconds to wait before sending the request again */
|
|
1028
|
-
"Retry-After"?: number;
|
|
1029
|
-
[name: string]: unknown;
|
|
1030
|
-
};
|
|
1031
|
-
content: {
|
|
1032
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1033
|
-
/** @enum {string} */
|
|
1034
|
-
code: "RateLimited";
|
|
1035
|
-
};
|
|
1036
|
-
};
|
|
1037
|
-
};
|
|
1038
|
-
/** @description - `InternalError`: The engine failed unexpectedly */
|
|
1039
|
-
500: {
|
|
1040
|
-
headers: {
|
|
1041
|
-
[name: string]: unknown;
|
|
1042
|
-
};
|
|
1043
|
-
content: {
|
|
1044
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1045
|
-
/** @enum {string} */
|
|
1046
|
-
code: "InternalError";
|
|
1047
|
-
};
|
|
1048
|
-
};
|
|
1049
|
-
};
|
|
1050
|
-
};
|
|
1051
|
-
};
|
|
1052
|
-
listPublicEventTypes: {
|
|
1053
|
-
parameters: {
|
|
1054
|
-
query?: {
|
|
1055
|
-
/** @description Tag slugs, repeated as tag=yoga&tag=pilates: only event types that carry any of the partner's tags with these slugs. A slug the partner does not have matches nothing */
|
|
1056
|
-
tag?: string[];
|
|
1057
|
-
};
|
|
1058
|
-
header?: never;
|
|
1059
|
-
path: {
|
|
1060
|
-
businessId: string;
|
|
1061
|
-
};
|
|
1062
|
-
cookie?: never;
|
|
1063
|
-
};
|
|
1064
|
-
requestBody?: never;
|
|
1065
|
-
responses: {
|
|
1066
|
-
/** @description OK */
|
|
1067
|
-
200: {
|
|
1281
|
+
cookie?: never;
|
|
1282
|
+
};
|
|
1283
|
+
requestBody?: never;
|
|
1284
|
+
responses: {
|
|
1285
|
+
/** @description OK */
|
|
1286
|
+
200: {
|
|
1068
1287
|
headers: {
|
|
1069
1288
|
[name: string]: unknown;
|
|
1070
1289
|
};
|
|
@@ -1089,6 +1308,24 @@ export interface operations {
|
|
|
1089
1308
|
url: string;
|
|
1090
1309
|
width: number;
|
|
1091
1310
|
} | null;
|
|
1311
|
+
noShowFee: {
|
|
1312
|
+
/** @description In the currency's ISO 4217 minor unit; ISK has none, so 12.400 kr. is 12400 */
|
|
1313
|
+
amount: number;
|
|
1314
|
+
/** @description The ISO 4217 currency code, such as ISK */
|
|
1315
|
+
currency: string;
|
|
1316
|
+
/** @description The VAT rate in basis points: 24 % is 2400 */
|
|
1317
|
+
vatRateBp: number;
|
|
1318
|
+
} | null;
|
|
1319
|
+
price: {
|
|
1320
|
+
/** @description In the currency's ISO 4217 minor unit; ISK has none, so 12.400 kr. is 12400 */
|
|
1321
|
+
advanceAmount: number;
|
|
1322
|
+
/** @description In the currency's ISO 4217 minor unit; ISK has none, so 12.400 kr. is 12400 */
|
|
1323
|
+
amount: number;
|
|
1324
|
+
/** @description The ISO 4217 currency code, such as ISK */
|
|
1325
|
+
currency: string;
|
|
1326
|
+
/** @description The VAT rate in basis points: 24 % is 2400 */
|
|
1327
|
+
vatRateBp: number;
|
|
1328
|
+
} | null;
|
|
1092
1329
|
requiresAccess: boolean;
|
|
1093
1330
|
resources: {
|
|
1094
1331
|
/** @description The resource's own description, null without one */
|
|
@@ -1127,83 +1364,245 @@ export interface operations {
|
|
|
1127
1364
|
};
|
|
1128
1365
|
};
|
|
1129
1366
|
};
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1367
|
+
400: components["responses"]["ValidationFailed"];
|
|
1368
|
+
401: components["responses"]["NotAuthenticated-SessionExpired"];
|
|
1369
|
+
403: components["responses"]["OutsideClientScope"];
|
|
1370
|
+
404: components["responses"]["BusinessNotFound"];
|
|
1371
|
+
429: components["responses"]["RateLimited"];
|
|
1372
|
+
500: components["responses"]["InternalError"];
|
|
1373
|
+
};
|
|
1374
|
+
};
|
|
1375
|
+
listOnlinePaymentMethods: {
|
|
1376
|
+
parameters: {
|
|
1377
|
+
query?: never;
|
|
1378
|
+
header?: never;
|
|
1379
|
+
path: {
|
|
1380
|
+
businessId: string;
|
|
1141
1381
|
};
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1382
|
+
cookie?: never;
|
|
1383
|
+
};
|
|
1384
|
+
requestBody?: never;
|
|
1385
|
+
responses: {
|
|
1386
|
+
/** @description OK */
|
|
1387
|
+
200: {
|
|
1147
1388
|
headers: {
|
|
1148
1389
|
[name: string]: unknown;
|
|
1149
1390
|
};
|
|
1150
1391
|
content: {
|
|
1151
|
-
"application/json":
|
|
1152
|
-
|
|
1153
|
-
|
|
1392
|
+
"application/json": {
|
|
1393
|
+
items: {
|
|
1394
|
+
/** Format: uuid */
|
|
1395
|
+
id: string;
|
|
1396
|
+
/** @enum {string} */
|
|
1397
|
+
kind: "CARD_ONLINE" | "PAY_BY_PHONE";
|
|
1398
|
+
label: string;
|
|
1399
|
+
}[];
|
|
1154
1400
|
};
|
|
1155
1401
|
};
|
|
1156
1402
|
};
|
|
1157
|
-
|
|
1158
|
-
|
|
1403
|
+
400: components["responses"]["ValidationFailed"];
|
|
1404
|
+
401: components["responses"]["NotAuthenticated-SessionExpired"];
|
|
1405
|
+
403: components["responses"]["OutsideClientScope"];
|
|
1406
|
+
404: components["responses"]["BusinessNotFound"];
|
|
1407
|
+
429: components["responses"]["RateLimited"];
|
|
1408
|
+
500: components["responses"]["InternalError"];
|
|
1409
|
+
};
|
|
1410
|
+
};
|
|
1411
|
+
listPublicProducts: {
|
|
1412
|
+
parameters: {
|
|
1413
|
+
query?: never;
|
|
1414
|
+
header?: never;
|
|
1415
|
+
path: {
|
|
1416
|
+
businessId: string;
|
|
1417
|
+
};
|
|
1418
|
+
cookie?: never;
|
|
1419
|
+
};
|
|
1420
|
+
requestBody?: never;
|
|
1421
|
+
responses: {
|
|
1422
|
+
/** @description OK */
|
|
1423
|
+
200: {
|
|
1159
1424
|
headers: {
|
|
1160
1425
|
[name: string]: unknown;
|
|
1161
1426
|
};
|
|
1162
1427
|
content: {
|
|
1163
|
-
"application/json":
|
|
1164
|
-
|
|
1165
|
-
|
|
1428
|
+
"application/json": {
|
|
1429
|
+
items: {
|
|
1430
|
+
/** @description The ISO 4217 currency code, such as ISK */
|
|
1431
|
+
currency: string;
|
|
1432
|
+
description: string | null;
|
|
1433
|
+
/** Format: uuid */
|
|
1434
|
+
id: string;
|
|
1435
|
+
image: {
|
|
1436
|
+
height: number;
|
|
1437
|
+
small: {
|
|
1438
|
+
height: number;
|
|
1439
|
+
/** Format: uri */
|
|
1440
|
+
url: string;
|
|
1441
|
+
width: number;
|
|
1442
|
+
};
|
|
1443
|
+
/** Format: uri */
|
|
1444
|
+
url: string;
|
|
1445
|
+
width: number;
|
|
1446
|
+
} | null;
|
|
1447
|
+
/** @description The price with VAT, in the currency's ISO 4217 minor unit; ISK has none, so 12.400 kr. is 12400 */
|
|
1448
|
+
price: number;
|
|
1449
|
+
terms: string | null;
|
|
1450
|
+
title: string;
|
|
1451
|
+
/** @description The VAT rate in basis points: 24 % is 2400 */
|
|
1452
|
+
vatRateBp: number;
|
|
1453
|
+
}[];
|
|
1166
1454
|
};
|
|
1167
1455
|
};
|
|
1168
1456
|
};
|
|
1169
|
-
|
|
1170
|
-
|
|
1457
|
+
400: components["responses"]["ValidationFailed"];
|
|
1458
|
+
401: components["responses"]["NotAuthenticated-SessionExpired"];
|
|
1459
|
+
403: components["responses"]["OutsideClientScope"];
|
|
1460
|
+
404: components["responses"]["BusinessNotFound"];
|
|
1461
|
+
429: components["responses"]["RateLimited"];
|
|
1462
|
+
500: components["responses"]["InternalError"];
|
|
1463
|
+
};
|
|
1464
|
+
};
|
|
1465
|
+
getProductCheckout: {
|
|
1466
|
+
parameters: {
|
|
1467
|
+
query?: never;
|
|
1468
|
+
header?: never;
|
|
1469
|
+
path: {
|
|
1470
|
+
businessId: string;
|
|
1471
|
+
productId: string;
|
|
1472
|
+
};
|
|
1473
|
+
cookie?: never;
|
|
1474
|
+
};
|
|
1475
|
+
requestBody?: never;
|
|
1476
|
+
responses: {
|
|
1477
|
+
/** @description OK */
|
|
1478
|
+
200: {
|
|
1171
1479
|
headers: {
|
|
1172
1480
|
[name: string]: unknown;
|
|
1173
1481
|
};
|
|
1174
1482
|
content: {
|
|
1175
|
-
"application/json":
|
|
1176
|
-
/**
|
|
1177
|
-
|
|
1483
|
+
"application/json": {
|
|
1484
|
+
/** Format: uuid */
|
|
1485
|
+
businessId: string;
|
|
1486
|
+
/** Format: date-time */
|
|
1487
|
+
createdAt: string;
|
|
1488
|
+
/** @description The ISO 4217 currency code, such as ISK */
|
|
1489
|
+
currency: string;
|
|
1490
|
+
/** Format: date-time */
|
|
1491
|
+
paidAt: string | null;
|
|
1492
|
+
/** @description The provider's payment of the sale, until it is paid */
|
|
1493
|
+
payment: {
|
|
1494
|
+
redirectUrl: string | null;
|
|
1495
|
+
/** Format: date-time */
|
|
1496
|
+
sessionEndsAt: string | null;
|
|
1497
|
+
/** @enum {string} */
|
|
1498
|
+
status: "CREATED" | "PENDING" | "SUCCEEDED" | "FAILED" | "EXPIRED";
|
|
1499
|
+
} | null;
|
|
1500
|
+
/** Format: uuid */
|
|
1501
|
+
productId: string;
|
|
1502
|
+
/** Format: uuid */
|
|
1503
|
+
saleId: string;
|
|
1504
|
+
/**
|
|
1505
|
+
* @description pending until the sale is paid; paid once its payment is recorded in full; abandoned when you started the product's checkout again after its payment ended unpaid
|
|
1506
|
+
* @enum {string}
|
|
1507
|
+
*/
|
|
1508
|
+
status: "pending" | "paid" | "abandoned";
|
|
1509
|
+
/** @description The product's title when sold */
|
|
1510
|
+
title: string;
|
|
1511
|
+
/** @description The lines' gross, with VAT */
|
|
1512
|
+
total: number;
|
|
1178
1513
|
};
|
|
1179
1514
|
};
|
|
1180
1515
|
};
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1516
|
+
400: components["responses"]["ValidationFailed"];
|
|
1517
|
+
401: components["responses"]["CustomerSessionRequired-NotAuthenticated-SessionExpired"];
|
|
1518
|
+
403: components["responses"]["NotAuthorized-OutsideClientScope"];
|
|
1519
|
+
404: components["responses"]["ProductCheckoutNotFound"];
|
|
1520
|
+
429: components["responses"]["RateLimited"];
|
|
1521
|
+
500: components["responses"]["InternalError"];
|
|
1522
|
+
};
|
|
1523
|
+
};
|
|
1524
|
+
startProductCheckout: {
|
|
1525
|
+
parameters: {
|
|
1526
|
+
query?: never;
|
|
1527
|
+
header?: never;
|
|
1528
|
+
path: {
|
|
1529
|
+
businessId: string;
|
|
1530
|
+
productId: string;
|
|
1531
|
+
};
|
|
1532
|
+
cookie?: never;
|
|
1533
|
+
};
|
|
1534
|
+
requestBody: {
|
|
1535
|
+
content: {
|
|
1536
|
+
"application/json": {
|
|
1537
|
+
/**
|
|
1538
|
+
* Format: uri
|
|
1539
|
+
* @description Where the payment provider sends the customer back to
|
|
1540
|
+
*/
|
|
1541
|
+
cancelUrl: string;
|
|
1542
|
+
/**
|
|
1543
|
+
* Format: uuid
|
|
1544
|
+
* @description The payment method the customer chose; needed unless the product is free
|
|
1545
|
+
*/
|
|
1546
|
+
paymentMethodId?: string;
|
|
1547
|
+
/**
|
|
1548
|
+
* Format: uri
|
|
1549
|
+
* @description Where the payment provider sends the customer back to
|
|
1550
|
+
*/
|
|
1551
|
+
successUrl: string;
|
|
1193
1552
|
};
|
|
1194
1553
|
};
|
|
1195
|
-
|
|
1196
|
-
|
|
1554
|
+
};
|
|
1555
|
+
responses: {
|
|
1556
|
+
/** @description OK */
|
|
1557
|
+
200: {
|
|
1197
1558
|
headers: {
|
|
1198
1559
|
[name: string]: unknown;
|
|
1199
1560
|
};
|
|
1200
1561
|
content: {
|
|
1201
|
-
"application/json":
|
|
1202
|
-
/**
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1562
|
+
"application/json": {
|
|
1563
|
+
/** Format: uuid */
|
|
1564
|
+
businessId: string;
|
|
1565
|
+
/** Format: date-time */
|
|
1566
|
+
createdAt: string;
|
|
1567
|
+
/** @description The ISO 4217 currency code, such as ISK */
|
|
1568
|
+
currency: string;
|
|
1569
|
+
/** Format: date-time */
|
|
1570
|
+
paidAt: string | null;
|
|
1571
|
+
/** @description The provider's payment of the sale, until it is paid */
|
|
1572
|
+
payment: {
|
|
1573
|
+
redirectUrl: string | null;
|
|
1574
|
+
/** Format: date-time */
|
|
1575
|
+
sessionEndsAt: string | null;
|
|
1576
|
+
/** @enum {string} */
|
|
1577
|
+
status: "CREATED" | "PENDING" | "SUCCEEDED" | "FAILED" | "EXPIRED";
|
|
1578
|
+
} | null;
|
|
1579
|
+
/** Format: uuid */
|
|
1580
|
+
productId: string;
|
|
1581
|
+
/** Format: uuid */
|
|
1582
|
+
saleId: string;
|
|
1583
|
+
/**
|
|
1584
|
+
* @description pending until the sale is paid; paid once its payment is recorded in full; abandoned when you started the product's checkout again after its payment ended unpaid
|
|
1585
|
+
* @enum {string}
|
|
1586
|
+
*/
|
|
1587
|
+
status: "pending" | "paid" | "abandoned";
|
|
1588
|
+
/** @description The product's title when sold */
|
|
1589
|
+
title: string;
|
|
1590
|
+
/** @description The lines' gross, with VAT */
|
|
1591
|
+
total: number;
|
|
1592
|
+
};
|
|
1593
|
+
};
|
|
1594
|
+
};
|
|
1595
|
+
400: components["responses"]["MalformedBody-ValidationFailed"];
|
|
1596
|
+
401: components["responses"]["CustomerSessionRequired-NotAuthenticated-SessionExpired"];
|
|
1597
|
+
403: components["responses"]["NotAuthorized-OutsideClientScope"];
|
|
1598
|
+
404: components["responses"]["BusinessNotFound-ProductNotFound"];
|
|
1599
|
+
409: components["responses"]["DeliveryLimitReached-PaymentAlreadySucceeded-PaymentInProgress"];
|
|
1600
|
+
413: components["responses"]["BodyTooLarge"];
|
|
1601
|
+
415: components["responses"]["UnsupportedMediaType"];
|
|
1602
|
+
422: components["responses"]["CustomerOutsideBusiness-PaymentProviderNotConnected-PaymentProviderNotOffered-PaymentProviderRejected-ProductInactive"];
|
|
1603
|
+
429: components["responses"]["RateLimited"];
|
|
1604
|
+
500: components["responses"]["InternalError"];
|
|
1605
|
+
503: components["responses"]["PaymentCredentialsUnavailable-PaymentProviderUnavailable"];
|
|
1207
1606
|
};
|
|
1208
1607
|
};
|
|
1209
1608
|
reserveCandidate: {
|
|
@@ -1253,151 +1652,177 @@ export interface operations {
|
|
|
1253
1652
|
};
|
|
1254
1653
|
};
|
|
1255
1654
|
};
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1655
|
+
400: components["responses"]["MalformedBody-ValidationFailed"];
|
|
1656
|
+
401: components["responses"]["CustomerSessionRequired-NotAuthenticated-SessionExpired"];
|
|
1657
|
+
403: components["responses"]["BookingBanned-NotAuthorized-OutsideClientScope"];
|
|
1658
|
+
404: components["responses"]["BusinessNotFound-EventNotFound-EventTypeNotFound"];
|
|
1659
|
+
409: components["responses"]["EventFull-ReservationLimitReached-SlotTaken"];
|
|
1660
|
+
413: components["responses"]["BodyTooLarge"];
|
|
1661
|
+
415: components["responses"]["UnsupportedMediaType"];
|
|
1662
|
+
422: components["responses"]["EventNotBookable-EventStarted-NotATimeSlot"];
|
|
1663
|
+
429: components["responses"]["RateLimited"];
|
|
1664
|
+
500: components["responses"]["InternalError"];
|
|
1665
|
+
};
|
|
1666
|
+
};
|
|
1667
|
+
getCheckout: {
|
|
1668
|
+
parameters: {
|
|
1669
|
+
query?: never;
|
|
1670
|
+
header?: never;
|
|
1671
|
+
path: {
|
|
1672
|
+
businessId: string;
|
|
1673
|
+
reservationId: string;
|
|
1674
|
+
};
|
|
1675
|
+
cookie?: never;
|
|
1676
|
+
};
|
|
1677
|
+
requestBody?: never;
|
|
1678
|
+
responses: {
|
|
1679
|
+
/** @description OK */
|
|
1680
|
+
200: {
|
|
1261
1681
|
headers: {
|
|
1262
1682
|
[name: string]: unknown;
|
|
1263
1683
|
};
|
|
1264
1684
|
content: {
|
|
1265
|
-
"application/json":
|
|
1266
|
-
/**
|
|
1267
|
-
|
|
1685
|
+
"application/json": {
|
|
1686
|
+
/** Format: uuid */
|
|
1687
|
+
bookingId: string | null;
|
|
1688
|
+
/** Format: uuid */
|
|
1689
|
+
businessId: string;
|
|
1690
|
+
/** Format: date-time */
|
|
1691
|
+
createdAt: string;
|
|
1692
|
+
/** Format: uuid */
|
|
1693
|
+
eventId: string;
|
|
1694
|
+
/** Format: date-time */
|
|
1695
|
+
holdUntil: string;
|
|
1696
|
+
payment: {
|
|
1697
|
+
/** @description Where the customer pays, while the payment is PENDING */
|
|
1698
|
+
redirectUrl: string | null;
|
|
1699
|
+
/**
|
|
1700
|
+
* Format: date-time
|
|
1701
|
+
* @description When the provider stops taking this payment
|
|
1702
|
+
*/
|
|
1703
|
+
sessionEndsAt: string | null;
|
|
1704
|
+
/** @enum {string} */
|
|
1705
|
+
status: "CREATED" | "PENDING" | "SUCCEEDED" | "FAILED" | "EXPIRED";
|
|
1706
|
+
} | null;
|
|
1707
|
+
price: {
|
|
1708
|
+
/** @description In the currency's ISO 4217 minor unit; ISK has none, so 12.400 kr. is 12400 */
|
|
1709
|
+
advanceAmount: number;
|
|
1710
|
+
/** @description In the currency's ISO 4217 minor unit; ISK has none, so 12.400 kr. is 12400 */
|
|
1711
|
+
amount: number;
|
|
1712
|
+
/** @description The ISO 4217 currency code, such as ISK */
|
|
1713
|
+
currency: string;
|
|
1714
|
+
/** @description The VAT rate in basis points: 24 % is 2400 */
|
|
1715
|
+
vatRateBp: number;
|
|
1716
|
+
};
|
|
1717
|
+
/** Format: uuid */
|
|
1718
|
+
reservationId: string;
|
|
1719
|
+
/**
|
|
1720
|
+
* @description pending while the advance is unpaid and the seat held; confirmed once booked; released when the payment ended unpaid or the hold ended; unconfirmed_paid when the advance was paid but no booking could be made, for staff to settle
|
|
1721
|
+
* @enum {string}
|
|
1722
|
+
*/
|
|
1723
|
+
status: "pending" | "confirmed" | "released" | "unconfirmed_paid";
|
|
1268
1724
|
};
|
|
1269
1725
|
};
|
|
1270
1726
|
};
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1727
|
+
400: components["responses"]["ValidationFailed"];
|
|
1728
|
+
401: components["responses"]["CustomerSessionRequired-NotAuthenticated-SessionExpired"];
|
|
1729
|
+
403: components["responses"]["NotAuthorized-OutsideClientScope"];
|
|
1730
|
+
404: components["responses"]["CheckoutNotFound-ReservationNotFound"];
|
|
1731
|
+
429: components["responses"]["RateLimited"];
|
|
1732
|
+
500: components["responses"]["InternalError"];
|
|
1733
|
+
};
|
|
1734
|
+
};
|
|
1735
|
+
startCheckout: {
|
|
1736
|
+
parameters: {
|
|
1737
|
+
query?: never;
|
|
1738
|
+
header?: never;
|
|
1739
|
+
path: {
|
|
1740
|
+
businessId: string;
|
|
1741
|
+
reservationId: string;
|
|
1742
|
+
};
|
|
1743
|
+
cookie?: never;
|
|
1744
|
+
};
|
|
1745
|
+
requestBody: {
|
|
1746
|
+
content: {
|
|
1747
|
+
"application/json": {
|
|
1748
|
+
/**
|
|
1749
|
+
* Format: uri
|
|
1750
|
+
* @description Where the payment provider sends the customer back to
|
|
1751
|
+
*/
|
|
1752
|
+
cancelUrl: string;
|
|
1753
|
+
/**
|
|
1754
|
+
* Format: uuid
|
|
1755
|
+
* @description The payment method the customer chose; needed only when an advance is due
|
|
1756
|
+
*/
|
|
1757
|
+
paymentMethodId?: string;
|
|
1758
|
+
/**
|
|
1759
|
+
* Format: uri
|
|
1760
|
+
* @description Where the payment provider sends the customer back to
|
|
1761
|
+
*/
|
|
1762
|
+
successUrl: string;
|
|
1285
1763
|
};
|
|
1286
1764
|
};
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
*/
|
|
1292
|
-
403: {
|
|
1765
|
+
};
|
|
1766
|
+
responses: {
|
|
1767
|
+
/** @description OK */
|
|
1768
|
+
200: {
|
|
1293
1769
|
headers: {
|
|
1294
1770
|
[name: string]: unknown;
|
|
1295
1771
|
};
|
|
1296
1772
|
content: {
|
|
1297
|
-
"application/json":
|
|
1298
|
-
/**
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
413: {
|
|
1337
|
-
headers: {
|
|
1338
|
-
[name: string]: unknown;
|
|
1339
|
-
};
|
|
1340
|
-
content: {
|
|
1341
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1342
|
-
/** @enum {string} */
|
|
1343
|
-
code: "BodyTooLarge";
|
|
1344
|
-
};
|
|
1345
|
-
};
|
|
1346
|
-
};
|
|
1347
|
-
/** @description - `UnsupportedMediaType`: The body's content type is not one the operation accepts: `application/json`, or the image types an image upload lists */
|
|
1348
|
-
415: {
|
|
1349
|
-
headers: {
|
|
1350
|
-
[name: string]: unknown;
|
|
1351
|
-
};
|
|
1352
|
-
content: {
|
|
1353
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1354
|
-
/** @enum {string} */
|
|
1355
|
-
code: "UnsupportedMediaType";
|
|
1356
|
-
};
|
|
1357
|
-
};
|
|
1358
|
-
};
|
|
1359
|
-
/**
|
|
1360
|
-
* @description - `EventNotBookable`: Only a scheduled event with a live event type can be reserved or booked
|
|
1361
|
-
* - `EventStarted`: The event has started
|
|
1362
|
-
* - `NotATimeSlot`: The start is not an open time slot of the event type on a resource that provides it
|
|
1363
|
-
*/
|
|
1364
|
-
422: {
|
|
1365
|
-
headers: {
|
|
1366
|
-
[name: string]: unknown;
|
|
1367
|
-
};
|
|
1368
|
-
content: {
|
|
1369
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1370
|
-
/** @enum {string} */
|
|
1371
|
-
code: "EventNotBookable" | "EventStarted" | "NotATimeSlot";
|
|
1372
|
-
};
|
|
1373
|
-
};
|
|
1374
|
-
};
|
|
1375
|
-
/** @description - `RateLimited`: A rate limit refused the request: the load balancer's per IP, or the engine's per application client; retry after `Retry-After` seconds */
|
|
1376
|
-
429: {
|
|
1377
|
-
headers: {
|
|
1378
|
-
/** @description Seconds to wait before sending the request again */
|
|
1379
|
-
"Retry-After"?: number;
|
|
1380
|
-
[name: string]: unknown;
|
|
1381
|
-
};
|
|
1382
|
-
content: {
|
|
1383
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1384
|
-
/** @enum {string} */
|
|
1385
|
-
code: "RateLimited";
|
|
1386
|
-
};
|
|
1387
|
-
};
|
|
1388
|
-
};
|
|
1389
|
-
/** @description - `InternalError`: The engine failed unexpectedly */
|
|
1390
|
-
500: {
|
|
1391
|
-
headers: {
|
|
1392
|
-
[name: string]: unknown;
|
|
1393
|
-
};
|
|
1394
|
-
content: {
|
|
1395
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1396
|
-
/** @enum {string} */
|
|
1397
|
-
code: "InternalError";
|
|
1773
|
+
"application/json": {
|
|
1774
|
+
/** Format: uuid */
|
|
1775
|
+
bookingId: string | null;
|
|
1776
|
+
/** Format: uuid */
|
|
1777
|
+
businessId: string;
|
|
1778
|
+
/** Format: date-time */
|
|
1779
|
+
createdAt: string;
|
|
1780
|
+
/** Format: uuid */
|
|
1781
|
+
eventId: string;
|
|
1782
|
+
/** Format: date-time */
|
|
1783
|
+
holdUntil: string;
|
|
1784
|
+
payment: {
|
|
1785
|
+
/** @description Where the customer pays, while the payment is PENDING */
|
|
1786
|
+
redirectUrl: string | null;
|
|
1787
|
+
/**
|
|
1788
|
+
* Format: date-time
|
|
1789
|
+
* @description When the provider stops taking this payment
|
|
1790
|
+
*/
|
|
1791
|
+
sessionEndsAt: string | null;
|
|
1792
|
+
/** @enum {string} */
|
|
1793
|
+
status: "CREATED" | "PENDING" | "SUCCEEDED" | "FAILED" | "EXPIRED";
|
|
1794
|
+
} | null;
|
|
1795
|
+
price: {
|
|
1796
|
+
/** @description In the currency's ISO 4217 minor unit; ISK has none, so 12.400 kr. is 12400 */
|
|
1797
|
+
advanceAmount: number;
|
|
1798
|
+
/** @description In the currency's ISO 4217 minor unit; ISK has none, so 12.400 kr. is 12400 */
|
|
1799
|
+
amount: number;
|
|
1800
|
+
/** @description The ISO 4217 currency code, such as ISK */
|
|
1801
|
+
currency: string;
|
|
1802
|
+
/** @description The VAT rate in basis points: 24 % is 2400 */
|
|
1803
|
+
vatRateBp: number;
|
|
1804
|
+
};
|
|
1805
|
+
/** Format: uuid */
|
|
1806
|
+
reservationId: string;
|
|
1807
|
+
/**
|
|
1808
|
+
* @description pending while the advance is unpaid and the seat held; confirmed once booked; released when the payment ended unpaid or the hold ended; unconfirmed_paid when the advance was paid but no booking could be made, for staff to settle
|
|
1809
|
+
* @enum {string}
|
|
1810
|
+
*/
|
|
1811
|
+
status: "pending" | "confirmed" | "released" | "unconfirmed_paid";
|
|
1398
1812
|
};
|
|
1399
1813
|
};
|
|
1400
1814
|
};
|
|
1815
|
+
400: components["responses"]["MalformedBody-ValidationFailed"];
|
|
1816
|
+
401: components["responses"]["CustomerSessionRequired-NotAuthenticated-SessionExpired"];
|
|
1817
|
+
403: components["responses"]["BookingBanned-NotAuthorized-OutsideClientScope"];
|
|
1818
|
+
404: components["responses"]["BusinessNotFound-ReservationNotFound"];
|
|
1819
|
+
409: components["responses"]["PaymentAlreadySucceeded-PaymentInProgress-ReservationExpired"];
|
|
1820
|
+
413: components["responses"]["BodyTooLarge"];
|
|
1821
|
+
415: components["responses"]["UnsupportedMediaType"];
|
|
1822
|
+
422: components["responses"]["CheckoutNotRequired-CustomerOutsideBusiness-EventNotBookable-EventStarted-PaymentProviderNotConnected-PaymentProviderNotOffered-PaymentProviderRejected"];
|
|
1823
|
+
429: components["responses"]["RateLimited"];
|
|
1824
|
+
500: components["responses"]["InternalError"];
|
|
1825
|
+
503: components["responses"]["PaymentCredentialsUnavailable-PaymentProviderUnavailable"];
|
|
1401
1826
|
};
|
|
1402
1827
|
};
|
|
1403
1828
|
confirmReservation: {
|
|
@@ -1446,146 +1871,16 @@ export interface operations {
|
|
|
1446
1871
|
};
|
|
1447
1872
|
};
|
|
1448
1873
|
};
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
/** @enum {string} */
|
|
1460
|
-
code: "MalformedBody" | "ValidationFailed";
|
|
1461
|
-
};
|
|
1462
|
-
};
|
|
1463
|
-
};
|
|
1464
|
-
/**
|
|
1465
|
-
* @description - `CustomerSessionRequired`: The operation needs a customer's session
|
|
1466
|
-
* - `NotAuthenticated`: The credentials are missing, invalid or expired, or do not fit this surface
|
|
1467
|
-
* - `SessionExpired`: The session has expired or its client's session policy ended it; sign in again
|
|
1468
|
-
*/
|
|
1469
|
-
401: {
|
|
1470
|
-
headers: {
|
|
1471
|
-
[name: string]: unknown;
|
|
1472
|
-
};
|
|
1473
|
-
content: {
|
|
1474
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1475
|
-
/** @enum {string} */
|
|
1476
|
-
code: "CustomerSessionRequired" | "NotAuthenticated" | "SessionExpired";
|
|
1477
|
-
};
|
|
1478
|
-
};
|
|
1479
|
-
};
|
|
1480
|
-
/**
|
|
1481
|
-
* @description - `BookingBanned`: The customer's no-shows at the business ban them from booking online until `bannedUntil`; staff can still book them
|
|
1482
|
-
* - `NotAuthorized`: The actor is not permitted to perform this operation
|
|
1483
|
-
* - `OutsideClientScope`: The application client serves only its own partner's businesses
|
|
1484
|
-
*/
|
|
1485
|
-
403: {
|
|
1486
|
-
headers: {
|
|
1487
|
-
[name: string]: unknown;
|
|
1488
|
-
};
|
|
1489
|
-
content: {
|
|
1490
|
-
"application/json": components["schemas"]["BookingBannedErrorResponse"] & {
|
|
1491
|
-
/** @enum {string} */
|
|
1492
|
-
code: "BookingBanned" | "NotAuthorized" | "OutsideClientScope";
|
|
1493
|
-
};
|
|
1494
|
-
};
|
|
1495
|
-
};
|
|
1496
|
-
/**
|
|
1497
|
-
* @description - `BusinessNotFound`: The business does not exist or is not public
|
|
1498
|
-
* - `ReservationNotFound`: The reservation does not exist, or is not the caller's
|
|
1499
|
-
*/
|
|
1500
|
-
404: {
|
|
1501
|
-
headers: {
|
|
1502
|
-
[name: string]: unknown;
|
|
1503
|
-
};
|
|
1504
|
-
content: {
|
|
1505
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1506
|
-
/** @enum {string} */
|
|
1507
|
-
code: "BusinessNotFound" | "ReservationNotFound";
|
|
1508
|
-
};
|
|
1509
|
-
};
|
|
1510
|
-
};
|
|
1511
|
-
/** @description - `ReservationExpired`: The reservation expired and no longer holds its seat or slot */
|
|
1512
|
-
409: {
|
|
1513
|
-
headers: {
|
|
1514
|
-
[name: string]: unknown;
|
|
1515
|
-
};
|
|
1516
|
-
content: {
|
|
1517
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1518
|
-
/** @enum {string} */
|
|
1519
|
-
code: "ReservationExpired";
|
|
1520
|
-
};
|
|
1521
|
-
};
|
|
1522
|
-
};
|
|
1523
|
-
/** @description - `BodyTooLarge`: The body is larger than the engine accepts */
|
|
1524
|
-
413: {
|
|
1525
|
-
headers: {
|
|
1526
|
-
[name: string]: unknown;
|
|
1527
|
-
};
|
|
1528
|
-
content: {
|
|
1529
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1530
|
-
/** @enum {string} */
|
|
1531
|
-
code: "BodyTooLarge";
|
|
1532
|
-
};
|
|
1533
|
-
};
|
|
1534
|
-
};
|
|
1535
|
-
/** @description - `UnsupportedMediaType`: The body's content type is not one the operation accepts: `application/json`, or the image types an image upload lists */
|
|
1536
|
-
415: {
|
|
1537
|
-
headers: {
|
|
1538
|
-
[name: string]: unknown;
|
|
1539
|
-
};
|
|
1540
|
-
content: {
|
|
1541
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1542
|
-
/** @enum {string} */
|
|
1543
|
-
code: "UnsupportedMediaType";
|
|
1544
|
-
};
|
|
1545
|
-
};
|
|
1546
|
-
};
|
|
1547
|
-
/**
|
|
1548
|
-
* @description - `CustomerOutsideBusiness`: The participant is not a live customer of this business
|
|
1549
|
-
* - `EventNotBookable`: Only a scheduled event with a live event type can be reserved or booked
|
|
1550
|
-
* - `EventStarted`: The event has started
|
|
1551
|
-
*/
|
|
1552
|
-
422: {
|
|
1553
|
-
headers: {
|
|
1554
|
-
[name: string]: unknown;
|
|
1555
|
-
};
|
|
1556
|
-
content: {
|
|
1557
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1558
|
-
/** @enum {string} */
|
|
1559
|
-
code: "CustomerOutsideBusiness" | "EventNotBookable" | "EventStarted";
|
|
1560
|
-
};
|
|
1561
|
-
};
|
|
1562
|
-
};
|
|
1563
|
-
/** @description - `RateLimited`: A rate limit refused the request: the load balancer's per IP, or the engine's per application client; retry after `Retry-After` seconds */
|
|
1564
|
-
429: {
|
|
1565
|
-
headers: {
|
|
1566
|
-
/** @description Seconds to wait before sending the request again */
|
|
1567
|
-
"Retry-After"?: number;
|
|
1568
|
-
[name: string]: unknown;
|
|
1569
|
-
};
|
|
1570
|
-
content: {
|
|
1571
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1572
|
-
/** @enum {string} */
|
|
1573
|
-
code: "RateLimited";
|
|
1574
|
-
};
|
|
1575
|
-
};
|
|
1576
|
-
};
|
|
1577
|
-
/** @description - `InternalError`: The engine failed unexpectedly */
|
|
1578
|
-
500: {
|
|
1579
|
-
headers: {
|
|
1580
|
-
[name: string]: unknown;
|
|
1581
|
-
};
|
|
1582
|
-
content: {
|
|
1583
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1584
|
-
/** @enum {string} */
|
|
1585
|
-
code: "InternalError";
|
|
1586
|
-
};
|
|
1587
|
-
};
|
|
1588
|
-
};
|
|
1874
|
+
400: components["responses"]["MalformedBody-ValidationFailed"];
|
|
1875
|
+
401: components["responses"]["CustomerSessionRequired-NotAuthenticated-SessionExpired"];
|
|
1876
|
+
403: components["responses"]["BookingBanned-NotAuthorized-OutsideClientScope"];
|
|
1877
|
+
404: components["responses"]["BusinessNotFound-ReservationNotFound"];
|
|
1878
|
+
409: components["responses"]["ReservationExpired"];
|
|
1879
|
+
413: components["responses"]["BodyTooLarge"];
|
|
1880
|
+
415: components["responses"]["UnsupportedMediaType"];
|
|
1881
|
+
422: components["responses"]["CheckoutRequired-CustomerOutsideBusiness-EventNotBookable-EventStarted"];
|
|
1882
|
+
429: components["responses"]["RateLimited"];
|
|
1883
|
+
500: components["responses"]["InternalError"];
|
|
1589
1884
|
};
|
|
1590
1885
|
};
|
|
1591
1886
|
identityCompleteRegistration: {
|
|
@@ -1619,110 +1914,14 @@ export interface operations {
|
|
|
1619
1914
|
};
|
|
1620
1915
|
};
|
|
1621
1916
|
};
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
content: {
|
|
1631
|
-
"application/json": components["schemas"]["ValidationErrorResponse"] & {
|
|
1632
|
-
/** @enum {string} */
|
|
1633
|
-
code: "MalformedBody" | "ValidationFailed";
|
|
1634
|
-
};
|
|
1635
|
-
};
|
|
1636
|
-
};
|
|
1637
|
-
/**
|
|
1638
|
-
* @description - `NotAuthenticated`: The credentials are missing, invalid or expired, or do not fit this surface
|
|
1639
|
-
* - `SessionExpired`: The session has expired or its client's session policy ended it; sign in again
|
|
1640
|
-
*/
|
|
1641
|
-
401: {
|
|
1642
|
-
headers: {
|
|
1643
|
-
[name: string]: unknown;
|
|
1644
|
-
};
|
|
1645
|
-
content: {
|
|
1646
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1647
|
-
/** @enum {string} */
|
|
1648
|
-
code: "NotAuthenticated" | "SessionExpired";
|
|
1649
|
-
};
|
|
1650
|
-
};
|
|
1651
|
-
};
|
|
1652
|
-
/** @description - `NotAuthorized`: The actor is not permitted to perform this operation */
|
|
1653
|
-
403: {
|
|
1654
|
-
headers: {
|
|
1655
|
-
[name: string]: unknown;
|
|
1656
|
-
};
|
|
1657
|
-
content: {
|
|
1658
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1659
|
-
/** @enum {string} */
|
|
1660
|
-
code: "NotAuthorized";
|
|
1661
|
-
};
|
|
1662
|
-
};
|
|
1663
|
-
};
|
|
1664
|
-
/** @description - `BodyTooLarge`: The body is larger than the engine accepts */
|
|
1665
|
-
413: {
|
|
1666
|
-
headers: {
|
|
1667
|
-
[name: string]: unknown;
|
|
1668
|
-
};
|
|
1669
|
-
content: {
|
|
1670
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1671
|
-
/** @enum {string} */
|
|
1672
|
-
code: "BodyTooLarge";
|
|
1673
|
-
};
|
|
1674
|
-
};
|
|
1675
|
-
};
|
|
1676
|
-
/** @description - `UnsupportedMediaType`: The body's content type is not one the operation accepts: `application/json`, or the image types an image upload lists */
|
|
1677
|
-
415: {
|
|
1678
|
-
headers: {
|
|
1679
|
-
[name: string]: unknown;
|
|
1680
|
-
};
|
|
1681
|
-
content: {
|
|
1682
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1683
|
-
/** @enum {string} */
|
|
1684
|
-
code: "UnsupportedMediaType";
|
|
1685
|
-
};
|
|
1686
|
-
};
|
|
1687
|
-
};
|
|
1688
|
-
/** @description - `NameRequired`: A new customer's registration needs their name; the ticket can be sent again with it */
|
|
1689
|
-
422: {
|
|
1690
|
-
headers: {
|
|
1691
|
-
[name: string]: unknown;
|
|
1692
|
-
};
|
|
1693
|
-
content: {
|
|
1694
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1695
|
-
/** @enum {string} */
|
|
1696
|
-
code: "NameRequired";
|
|
1697
|
-
};
|
|
1698
|
-
};
|
|
1699
|
-
};
|
|
1700
|
-
/** @description - `RateLimited`: A rate limit refused the request: the load balancer's per IP, or the engine's per application client; retry after `Retry-After` seconds */
|
|
1701
|
-
429: {
|
|
1702
|
-
headers: {
|
|
1703
|
-
/** @description Seconds to wait before sending the request again */
|
|
1704
|
-
"Retry-After"?: number;
|
|
1705
|
-
[name: string]: unknown;
|
|
1706
|
-
};
|
|
1707
|
-
content: {
|
|
1708
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1709
|
-
/** @enum {string} */
|
|
1710
|
-
code: "RateLimited";
|
|
1711
|
-
};
|
|
1712
|
-
};
|
|
1713
|
-
};
|
|
1714
|
-
/** @description - `InternalError`: The engine failed unexpectedly */
|
|
1715
|
-
500: {
|
|
1716
|
-
headers: {
|
|
1717
|
-
[name: string]: unknown;
|
|
1718
|
-
};
|
|
1719
|
-
content: {
|
|
1720
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1721
|
-
/** @enum {string} */
|
|
1722
|
-
code: "InternalError";
|
|
1723
|
-
};
|
|
1724
|
-
};
|
|
1725
|
-
};
|
|
1917
|
+
400: components["responses"]["MalformedBody-ValidationFailed"];
|
|
1918
|
+
401: components["responses"]["NotAuthenticated-SessionExpired"];
|
|
1919
|
+
403: components["responses"]["NotAuthorized"];
|
|
1920
|
+
413: components["responses"]["BodyTooLarge"];
|
|
1921
|
+
415: components["responses"]["UnsupportedMediaType"];
|
|
1922
|
+
422: components["responses"]["NameRequired"];
|
|
1923
|
+
429: components["responses"]["RateLimited"];
|
|
1924
|
+
500: components["responses"]["InternalError"];
|
|
1726
1925
|
};
|
|
1727
1926
|
};
|
|
1728
1927
|
identityCustomerLogin: {
|
|
@@ -1768,98 +1967,13 @@ export interface operations {
|
|
|
1768
1967
|
};
|
|
1769
1968
|
};
|
|
1770
1969
|
};
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
};
|
|
1779
|
-
content: {
|
|
1780
|
-
"application/json": components["schemas"]["ValidationErrorResponse"] & {
|
|
1781
|
-
/** @enum {string} */
|
|
1782
|
-
code: "MalformedBody" | "ValidationFailed";
|
|
1783
|
-
};
|
|
1784
|
-
};
|
|
1785
|
-
};
|
|
1786
|
-
/**
|
|
1787
|
-
* @description - `NotAuthenticated`: The credentials are missing, invalid or expired, or do not fit this surface
|
|
1788
|
-
* - `SessionExpired`: The session has expired or its client's session policy ended it; sign in again
|
|
1789
|
-
*/
|
|
1790
|
-
401: {
|
|
1791
|
-
headers: {
|
|
1792
|
-
[name: string]: unknown;
|
|
1793
|
-
};
|
|
1794
|
-
content: {
|
|
1795
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1796
|
-
/** @enum {string} */
|
|
1797
|
-
code: "NotAuthenticated" | "SessionExpired";
|
|
1798
|
-
};
|
|
1799
|
-
};
|
|
1800
|
-
};
|
|
1801
|
-
/** @description - `NotAuthorized`: The actor is not permitted to perform this operation */
|
|
1802
|
-
403: {
|
|
1803
|
-
headers: {
|
|
1804
|
-
[name: string]: unknown;
|
|
1805
|
-
};
|
|
1806
|
-
content: {
|
|
1807
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1808
|
-
/** @enum {string} */
|
|
1809
|
-
code: "NotAuthorized";
|
|
1810
|
-
};
|
|
1811
|
-
};
|
|
1812
|
-
};
|
|
1813
|
-
/** @description - `BodyTooLarge`: The body is larger than the engine accepts */
|
|
1814
|
-
413: {
|
|
1815
|
-
headers: {
|
|
1816
|
-
[name: string]: unknown;
|
|
1817
|
-
};
|
|
1818
|
-
content: {
|
|
1819
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1820
|
-
/** @enum {string} */
|
|
1821
|
-
code: "BodyTooLarge";
|
|
1822
|
-
};
|
|
1823
|
-
};
|
|
1824
|
-
};
|
|
1825
|
-
/** @description - `UnsupportedMediaType`: The body's content type is not one the operation accepts: `application/json`, or the image types an image upload lists */
|
|
1826
|
-
415: {
|
|
1827
|
-
headers: {
|
|
1828
|
-
[name: string]: unknown;
|
|
1829
|
-
};
|
|
1830
|
-
content: {
|
|
1831
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1832
|
-
/** @enum {string} */
|
|
1833
|
-
code: "UnsupportedMediaType";
|
|
1834
|
-
};
|
|
1835
|
-
};
|
|
1836
|
-
};
|
|
1837
|
-
/** @description - `RateLimited`: A rate limit refused the request: the load balancer's per IP, or the engine's per application client; retry after `Retry-After` seconds */
|
|
1838
|
-
429: {
|
|
1839
|
-
headers: {
|
|
1840
|
-
/** @description Seconds to wait before sending the request again */
|
|
1841
|
-
"Retry-After"?: number;
|
|
1842
|
-
[name: string]: unknown;
|
|
1843
|
-
};
|
|
1844
|
-
content: {
|
|
1845
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1846
|
-
/** @enum {string} */
|
|
1847
|
-
code: "RateLimited";
|
|
1848
|
-
};
|
|
1849
|
-
};
|
|
1850
|
-
};
|
|
1851
|
-
/** @description - `InternalError`: The engine failed unexpectedly */
|
|
1852
|
-
500: {
|
|
1853
|
-
headers: {
|
|
1854
|
-
[name: string]: unknown;
|
|
1855
|
-
};
|
|
1856
|
-
content: {
|
|
1857
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1858
|
-
/** @enum {string} */
|
|
1859
|
-
code: "InternalError";
|
|
1860
|
-
};
|
|
1861
|
-
};
|
|
1862
|
-
};
|
|
1970
|
+
400: components["responses"]["MalformedBody-ValidationFailed"];
|
|
1971
|
+
401: components["responses"]["NotAuthenticated-SessionExpired"];
|
|
1972
|
+
403: components["responses"]["NotAuthorized"];
|
|
1973
|
+
413: components["responses"]["BodyTooLarge"];
|
|
1974
|
+
415: components["responses"]["UnsupportedMediaType"];
|
|
1975
|
+
429: components["responses"]["RateLimited"];
|
|
1976
|
+
500: components["responses"]["InternalError"];
|
|
1863
1977
|
};
|
|
1864
1978
|
};
|
|
1865
1979
|
identityInitiateLogin: {
|
|
@@ -1895,136 +2009,15 @@ export interface operations {
|
|
|
1895
2009
|
};
|
|
1896
2010
|
};
|
|
1897
2011
|
};
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
"application/json": components["schemas"]["ValidationErrorResponse"] & {
|
|
1908
|
-
/** @enum {string} */
|
|
1909
|
-
code: "MalformedBody" | "ValidationFailed";
|
|
1910
|
-
};
|
|
1911
|
-
};
|
|
1912
|
-
};
|
|
1913
|
-
/**
|
|
1914
|
-
* @description - `NotAuthenticated`: The credentials are missing, invalid or expired, or do not fit this surface
|
|
1915
|
-
* - `SessionExpired`: The session has expired or its client's session policy ended it; sign in again
|
|
1916
|
-
*/
|
|
1917
|
-
401: {
|
|
1918
|
-
headers: {
|
|
1919
|
-
[name: string]: unknown;
|
|
1920
|
-
};
|
|
1921
|
-
content: {
|
|
1922
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1923
|
-
/** @enum {string} */
|
|
1924
|
-
code: "NotAuthenticated" | "SessionExpired";
|
|
1925
|
-
};
|
|
1926
|
-
};
|
|
1927
|
-
};
|
|
1928
|
-
/**
|
|
1929
|
-
* @description - `BotCheckFailed`: The visitor's bot-check token did not pass the calling application's Turnstile widget
|
|
1930
|
-
* - `NotAuthorized`: The actor is not permitted to perform this operation
|
|
1931
|
-
*/
|
|
1932
|
-
403: {
|
|
1933
|
-
headers: {
|
|
1934
|
-
[name: string]: unknown;
|
|
1935
|
-
};
|
|
1936
|
-
content: {
|
|
1937
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1938
|
-
/** @enum {string} */
|
|
1939
|
-
code: "BotCheckFailed" | "NotAuthorized";
|
|
1940
|
-
};
|
|
1941
|
-
};
|
|
1942
|
-
};
|
|
1943
|
-
/** @description - `BodyTooLarge`: The body is larger than the engine accepts */
|
|
1944
|
-
413: {
|
|
1945
|
-
headers: {
|
|
1946
|
-
[name: string]: unknown;
|
|
1947
|
-
};
|
|
1948
|
-
content: {
|
|
1949
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1950
|
-
/** @enum {string} */
|
|
1951
|
-
code: "BodyTooLarge";
|
|
1952
|
-
};
|
|
1953
|
-
};
|
|
1954
|
-
};
|
|
1955
|
-
/** @description - `UnsupportedMediaType`: The body's content type is not one the operation accepts: `application/json`, or the image types an image upload lists */
|
|
1956
|
-
415: {
|
|
1957
|
-
headers: {
|
|
1958
|
-
[name: string]: unknown;
|
|
1959
|
-
};
|
|
1960
|
-
content: {
|
|
1961
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1962
|
-
/** @enum {string} */
|
|
1963
|
-
code: "UnsupportedMediaType";
|
|
1964
|
-
};
|
|
1965
|
-
};
|
|
1966
|
-
};
|
|
1967
|
-
/** @description - `PhoneDestinationNotAllowed`: SMS is not sent to this phone number's country */
|
|
1968
|
-
422: {
|
|
1969
|
-
headers: {
|
|
1970
|
-
[name: string]: unknown;
|
|
1971
|
-
};
|
|
1972
|
-
content: {
|
|
1973
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1974
|
-
/** @enum {string} */
|
|
1975
|
-
code: "PhoneDestinationNotAllowed";
|
|
1976
|
-
};
|
|
1977
|
-
};
|
|
1978
|
-
};
|
|
1979
|
-
/**
|
|
1980
|
-
* @description - `RateLimited`: A rate limit refused the request: the load balancer's per IP, or the engine's per application client; retry after `Retry-After` seconds
|
|
1981
|
-
* - `TooManyAttempts`: Too many sign-in codes were requested from this address; retry after `Retry-After` seconds
|
|
1982
|
-
* - `TooManyChallenges`: Too many sign-in codes were sent to this number; retry after `Retry-After` seconds
|
|
1983
|
-
*/
|
|
1984
|
-
429: {
|
|
1985
|
-
headers: {
|
|
1986
|
-
/** @description Seconds to wait before sending the request again */
|
|
1987
|
-
"Retry-After"?: number;
|
|
1988
|
-
[name: string]: unknown;
|
|
1989
|
-
};
|
|
1990
|
-
content: {
|
|
1991
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
1992
|
-
/** @enum {string} */
|
|
1993
|
-
code: "RateLimited" | "TooManyAttempts" | "TooManyChallenges";
|
|
1994
|
-
};
|
|
1995
|
-
};
|
|
1996
|
-
};
|
|
1997
|
-
/** @description - `InternalError`: The engine failed unexpectedly */
|
|
1998
|
-
500: {
|
|
1999
|
-
headers: {
|
|
2000
|
-
[name: string]: unknown;
|
|
2001
|
-
};
|
|
2002
|
-
content: {
|
|
2003
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2004
|
-
/** @enum {string} */
|
|
2005
|
-
code: "InternalError";
|
|
2006
|
-
};
|
|
2007
|
-
};
|
|
2008
|
-
};
|
|
2009
|
-
/**
|
|
2010
|
-
* @description - `BotCheckUnavailable`: The bot check could not be made: Turnstile did not answer in time, or the calling application has no widget secret; retry after `Retry-After` seconds
|
|
2011
|
-
* - `LimiterUnavailable`: The per-address sign-in limit could not be counted; retry after `Retry-After` seconds
|
|
2012
|
-
* - `SmsBudgetExhausted`: The client's hourly SMS budget is used up; retry after `Retry-After` seconds
|
|
2013
|
-
* - `SmsDeliveryUnavailable`: The SMS could not be confirmed as sent; retry after `Retry-After` seconds
|
|
2014
|
-
*/
|
|
2015
|
-
503: {
|
|
2016
|
-
headers: {
|
|
2017
|
-
/** @description Seconds to wait before sending the request again */
|
|
2018
|
-
"Retry-After"?: number;
|
|
2019
|
-
[name: string]: unknown;
|
|
2020
|
-
};
|
|
2021
|
-
content: {
|
|
2022
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2023
|
-
/** @enum {string} */
|
|
2024
|
-
code: "BotCheckUnavailable" | "LimiterUnavailable" | "SmsBudgetExhausted" | "SmsDeliveryUnavailable";
|
|
2025
|
-
};
|
|
2026
|
-
};
|
|
2027
|
-
};
|
|
2012
|
+
400: components["responses"]["MalformedBody-ValidationFailed"];
|
|
2013
|
+
401: components["responses"]["NotAuthenticated-SessionExpired"];
|
|
2014
|
+
403: components["responses"]["BotCheckFailed-NotAuthorized"];
|
|
2015
|
+
413: components["responses"]["BodyTooLarge"];
|
|
2016
|
+
415: components["responses"]["UnsupportedMediaType"];
|
|
2017
|
+
422: components["responses"]["PhoneDestinationNotAllowed"];
|
|
2018
|
+
429: components["responses"]["RateLimited-TooManyAttempts-TooManyChallenges"];
|
|
2019
|
+
500: components["responses"]["InternalError"];
|
|
2020
|
+
503: components["responses"]["BotCheckUnavailable-LimiterUnavailable-SmsBudgetExhausted-SmsDeliveryUnavailable"];
|
|
2028
2021
|
};
|
|
2029
2022
|
};
|
|
2030
2023
|
identityLogout: {
|
|
@@ -2040,112 +2033,27 @@ export interface operations {
|
|
|
2040
2033
|
sessionToken: string;
|
|
2041
2034
|
};
|
|
2042
2035
|
};
|
|
2043
|
-
};
|
|
2044
|
-
responses: {
|
|
2045
|
-
/** @description OK */
|
|
2046
|
-
200: {
|
|
2047
|
-
headers: {
|
|
2048
|
-
[name: string]: unknown;
|
|
2049
|
-
};
|
|
2050
|
-
content: {
|
|
2051
|
-
"application/json": {
|
|
2052
|
-
/** @enum {boolean} */
|
|
2053
|
-
revoked: true;
|
|
2054
|
-
};
|
|
2055
|
-
};
|
|
2056
|
-
};
|
|
2057
|
-
/**
|
|
2058
|
-
* @description - `MalformedBody`: The JSON body cannot be parsed
|
|
2059
|
-
* - `ValidationFailed`: The path, query or body does not match the operation's schema; `issues` lists each problem with its path
|
|
2060
|
-
*/
|
|
2061
|
-
400: {
|
|
2062
|
-
headers: {
|
|
2063
|
-
[name: string]: unknown;
|
|
2064
|
-
};
|
|
2065
|
-
content: {
|
|
2066
|
-
"application/json": components["schemas"]["ValidationErrorResponse"] & {
|
|
2067
|
-
/** @enum {string} */
|
|
2068
|
-
code: "MalformedBody" | "ValidationFailed";
|
|
2069
|
-
};
|
|
2070
|
-
};
|
|
2071
|
-
};
|
|
2072
|
-
/**
|
|
2073
|
-
* @description - `NotAuthenticated`: The credentials are missing, invalid or expired, or do not fit this surface
|
|
2074
|
-
* - `SessionExpired`: The session has expired or its client's session policy ended it; sign in again
|
|
2075
|
-
*/
|
|
2076
|
-
401: {
|
|
2077
|
-
headers: {
|
|
2078
|
-
[name: string]: unknown;
|
|
2079
|
-
};
|
|
2080
|
-
content: {
|
|
2081
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2082
|
-
/** @enum {string} */
|
|
2083
|
-
code: "NotAuthenticated" | "SessionExpired";
|
|
2084
|
-
};
|
|
2085
|
-
};
|
|
2086
|
-
};
|
|
2087
|
-
/** @description - `NotAuthorized`: The actor is not permitted to perform this operation */
|
|
2088
|
-
403: {
|
|
2089
|
-
headers: {
|
|
2090
|
-
[name: string]: unknown;
|
|
2091
|
-
};
|
|
2092
|
-
content: {
|
|
2093
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2094
|
-
/** @enum {string} */
|
|
2095
|
-
code: "NotAuthorized";
|
|
2096
|
-
};
|
|
2097
|
-
};
|
|
2098
|
-
};
|
|
2099
|
-
/** @description - `BodyTooLarge`: The body is larger than the engine accepts */
|
|
2100
|
-
413: {
|
|
2101
|
-
headers: {
|
|
2102
|
-
[name: string]: unknown;
|
|
2103
|
-
};
|
|
2104
|
-
content: {
|
|
2105
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2106
|
-
/** @enum {string} */
|
|
2107
|
-
code: "BodyTooLarge";
|
|
2108
|
-
};
|
|
2109
|
-
};
|
|
2110
|
-
};
|
|
2111
|
-
/** @description - `UnsupportedMediaType`: The body's content type is not one the operation accepts: `application/json`, or the image types an image upload lists */
|
|
2112
|
-
415: {
|
|
2113
|
-
headers: {
|
|
2114
|
-
[name: string]: unknown;
|
|
2115
|
-
};
|
|
2116
|
-
content: {
|
|
2117
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2118
|
-
/** @enum {string} */
|
|
2119
|
-
code: "UnsupportedMediaType";
|
|
2120
|
-
};
|
|
2121
|
-
};
|
|
2122
|
-
};
|
|
2123
|
-
/** @description - `RateLimited`: A rate limit refused the request: the load balancer's per IP, or the engine's per application client; retry after `Retry-After` seconds */
|
|
2124
|
-
429: {
|
|
2125
|
-
headers: {
|
|
2126
|
-
/** @description Seconds to wait before sending the request again */
|
|
2127
|
-
"Retry-After"?: number;
|
|
2128
|
-
[name: string]: unknown;
|
|
2129
|
-
};
|
|
2130
|
-
content: {
|
|
2131
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2132
|
-
/** @enum {string} */
|
|
2133
|
-
code: "RateLimited";
|
|
2134
|
-
};
|
|
2135
|
-
};
|
|
2136
|
-
};
|
|
2137
|
-
/** @description - `InternalError`: The engine failed unexpectedly */
|
|
2138
|
-
500: {
|
|
2036
|
+
};
|
|
2037
|
+
responses: {
|
|
2038
|
+
/** @description OK */
|
|
2039
|
+
200: {
|
|
2139
2040
|
headers: {
|
|
2140
2041
|
[name: string]: unknown;
|
|
2141
2042
|
};
|
|
2142
2043
|
content: {
|
|
2143
|
-
"application/json":
|
|
2144
|
-
/** @enum {
|
|
2145
|
-
|
|
2044
|
+
"application/json": {
|
|
2045
|
+
/** @enum {boolean} */
|
|
2046
|
+
revoked: true;
|
|
2146
2047
|
};
|
|
2147
2048
|
};
|
|
2148
2049
|
};
|
|
2050
|
+
400: components["responses"]["MalformedBody-ValidationFailed"];
|
|
2051
|
+
401: components["responses"]["NotAuthenticated-SessionExpired"];
|
|
2052
|
+
403: components["responses"]["NotAuthorized"];
|
|
2053
|
+
413: components["responses"]["BodyTooLarge"];
|
|
2054
|
+
415: components["responses"]["UnsupportedMediaType"];
|
|
2055
|
+
429: components["responses"]["RateLimited"];
|
|
2056
|
+
500: components["responses"]["InternalError"];
|
|
2149
2057
|
};
|
|
2150
2058
|
};
|
|
2151
2059
|
getMyDetails: {
|
|
@@ -2172,60 +2080,10 @@ export interface operations {
|
|
|
2172
2080
|
};
|
|
2173
2081
|
};
|
|
2174
2082
|
};
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
*/
|
|
2180
|
-
401: {
|
|
2181
|
-
headers: {
|
|
2182
|
-
[name: string]: unknown;
|
|
2183
|
-
};
|
|
2184
|
-
content: {
|
|
2185
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2186
|
-
/** @enum {string} */
|
|
2187
|
-
code: "CustomerSessionRequired" | "NotAuthenticated" | "SessionExpired";
|
|
2188
|
-
};
|
|
2189
|
-
};
|
|
2190
|
-
};
|
|
2191
|
-
/** @description - `NotAuthorized`: The actor is not permitted to perform this operation */
|
|
2192
|
-
403: {
|
|
2193
|
-
headers: {
|
|
2194
|
-
[name: string]: unknown;
|
|
2195
|
-
};
|
|
2196
|
-
content: {
|
|
2197
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2198
|
-
/** @enum {string} */
|
|
2199
|
-
code: "NotAuthorized";
|
|
2200
|
-
};
|
|
2201
|
-
};
|
|
2202
|
-
};
|
|
2203
|
-
/** @description - `RateLimited`: A rate limit refused the request: the load balancer's per IP, or the engine's per application client; retry after `Retry-After` seconds */
|
|
2204
|
-
429: {
|
|
2205
|
-
headers: {
|
|
2206
|
-
/** @description Seconds to wait before sending the request again */
|
|
2207
|
-
"Retry-After"?: number;
|
|
2208
|
-
[name: string]: unknown;
|
|
2209
|
-
};
|
|
2210
|
-
content: {
|
|
2211
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2212
|
-
/** @enum {string} */
|
|
2213
|
-
code: "RateLimited";
|
|
2214
|
-
};
|
|
2215
|
-
};
|
|
2216
|
-
};
|
|
2217
|
-
/** @description - `InternalError`: The engine failed unexpectedly */
|
|
2218
|
-
500: {
|
|
2219
|
-
headers: {
|
|
2220
|
-
[name: string]: unknown;
|
|
2221
|
-
};
|
|
2222
|
-
content: {
|
|
2223
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2224
|
-
/** @enum {string} */
|
|
2225
|
-
code: "InternalError";
|
|
2226
|
-
};
|
|
2227
|
-
};
|
|
2228
|
-
};
|
|
2083
|
+
401: components["responses"]["CustomerSessionRequired-NotAuthenticated-SessionExpired"];
|
|
2084
|
+
403: components["responses"]["NotAuthorized"];
|
|
2085
|
+
429: components["responses"]["RateLimited"];
|
|
2086
|
+
500: components["responses"]["InternalError"];
|
|
2229
2087
|
};
|
|
2230
2088
|
};
|
|
2231
2089
|
updateMyName: {
|
|
@@ -2258,99 +2116,13 @@ export interface operations {
|
|
|
2258
2116
|
};
|
|
2259
2117
|
};
|
|
2260
2118
|
};
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
};
|
|
2269
|
-
content: {
|
|
2270
|
-
"application/json": components["schemas"]["ValidationErrorResponse"] & {
|
|
2271
|
-
/** @enum {string} */
|
|
2272
|
-
code: "MalformedBody" | "ValidationFailed";
|
|
2273
|
-
};
|
|
2274
|
-
};
|
|
2275
|
-
};
|
|
2276
|
-
/**
|
|
2277
|
-
* @description - `CustomerSessionRequired`: The operation needs a customer's session
|
|
2278
|
-
* - `NotAuthenticated`: The credentials are missing, invalid or expired, or do not fit this surface
|
|
2279
|
-
* - `SessionExpired`: The session has expired or its client's session policy ended it; sign in again
|
|
2280
|
-
*/
|
|
2281
|
-
401: {
|
|
2282
|
-
headers: {
|
|
2283
|
-
[name: string]: unknown;
|
|
2284
|
-
};
|
|
2285
|
-
content: {
|
|
2286
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2287
|
-
/** @enum {string} */
|
|
2288
|
-
code: "CustomerSessionRequired" | "NotAuthenticated" | "SessionExpired";
|
|
2289
|
-
};
|
|
2290
|
-
};
|
|
2291
|
-
};
|
|
2292
|
-
/** @description - `NotAuthorized`: The actor is not permitted to perform this operation */
|
|
2293
|
-
403: {
|
|
2294
|
-
headers: {
|
|
2295
|
-
[name: string]: unknown;
|
|
2296
|
-
};
|
|
2297
|
-
content: {
|
|
2298
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2299
|
-
/** @enum {string} */
|
|
2300
|
-
code: "NotAuthorized";
|
|
2301
|
-
};
|
|
2302
|
-
};
|
|
2303
|
-
};
|
|
2304
|
-
/** @description - `BodyTooLarge`: The body is larger than the engine accepts */
|
|
2305
|
-
413: {
|
|
2306
|
-
headers: {
|
|
2307
|
-
[name: string]: unknown;
|
|
2308
|
-
};
|
|
2309
|
-
content: {
|
|
2310
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2311
|
-
/** @enum {string} */
|
|
2312
|
-
code: "BodyTooLarge";
|
|
2313
|
-
};
|
|
2314
|
-
};
|
|
2315
|
-
};
|
|
2316
|
-
/** @description - `UnsupportedMediaType`: The body's content type is not one the operation accepts: `application/json`, or the image types an image upload lists */
|
|
2317
|
-
415: {
|
|
2318
|
-
headers: {
|
|
2319
|
-
[name: string]: unknown;
|
|
2320
|
-
};
|
|
2321
|
-
content: {
|
|
2322
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2323
|
-
/** @enum {string} */
|
|
2324
|
-
code: "UnsupportedMediaType";
|
|
2325
|
-
};
|
|
2326
|
-
};
|
|
2327
|
-
};
|
|
2328
|
-
/** @description - `RateLimited`: A rate limit refused the request: the load balancer's per IP, or the engine's per application client; retry after `Retry-After` seconds */
|
|
2329
|
-
429: {
|
|
2330
|
-
headers: {
|
|
2331
|
-
/** @description Seconds to wait before sending the request again */
|
|
2332
|
-
"Retry-After"?: number;
|
|
2333
|
-
[name: string]: unknown;
|
|
2334
|
-
};
|
|
2335
|
-
content: {
|
|
2336
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2337
|
-
/** @enum {string} */
|
|
2338
|
-
code: "RateLimited";
|
|
2339
|
-
};
|
|
2340
|
-
};
|
|
2341
|
-
};
|
|
2342
|
-
/** @description - `InternalError`: The engine failed unexpectedly */
|
|
2343
|
-
500: {
|
|
2344
|
-
headers: {
|
|
2345
|
-
[name: string]: unknown;
|
|
2346
|
-
};
|
|
2347
|
-
content: {
|
|
2348
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2349
|
-
/** @enum {string} */
|
|
2350
|
-
code: "InternalError";
|
|
2351
|
-
};
|
|
2352
|
-
};
|
|
2353
|
-
};
|
|
2119
|
+
400: components["responses"]["MalformedBody-ValidationFailed"];
|
|
2120
|
+
401: components["responses"]["CustomerSessionRequired-NotAuthenticated-SessionExpired"];
|
|
2121
|
+
403: components["responses"]["NotAuthorized"];
|
|
2122
|
+
413: components["responses"]["BodyTooLarge"];
|
|
2123
|
+
415: components["responses"]["UnsupportedMediaType"];
|
|
2124
|
+
429: components["responses"]["RateLimited"];
|
|
2125
|
+
500: components["responses"]["InternalError"];
|
|
2354
2126
|
};
|
|
2355
2127
|
};
|
|
2356
2128
|
getMyBackofficeAccess: {
|
|
@@ -2373,60 +2145,10 @@ export interface operations {
|
|
|
2373
2145
|
};
|
|
2374
2146
|
};
|
|
2375
2147
|
};
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
*/
|
|
2381
|
-
401: {
|
|
2382
|
-
headers: {
|
|
2383
|
-
[name: string]: unknown;
|
|
2384
|
-
};
|
|
2385
|
-
content: {
|
|
2386
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2387
|
-
/** @enum {string} */
|
|
2388
|
-
code: "CustomerSessionRequired" | "NotAuthenticated" | "SessionExpired";
|
|
2389
|
-
};
|
|
2390
|
-
};
|
|
2391
|
-
};
|
|
2392
|
-
/** @description - `NotAuthorized`: The actor is not permitted to perform this operation */
|
|
2393
|
-
403: {
|
|
2394
|
-
headers: {
|
|
2395
|
-
[name: string]: unknown;
|
|
2396
|
-
};
|
|
2397
|
-
content: {
|
|
2398
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2399
|
-
/** @enum {string} */
|
|
2400
|
-
code: "NotAuthorized";
|
|
2401
|
-
};
|
|
2402
|
-
};
|
|
2403
|
-
};
|
|
2404
|
-
/** @description - `RateLimited`: A rate limit refused the request: the load balancer's per IP, or the engine's per application client; retry after `Retry-After` seconds */
|
|
2405
|
-
429: {
|
|
2406
|
-
headers: {
|
|
2407
|
-
/** @description Seconds to wait before sending the request again */
|
|
2408
|
-
"Retry-After"?: number;
|
|
2409
|
-
[name: string]: unknown;
|
|
2410
|
-
};
|
|
2411
|
-
content: {
|
|
2412
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2413
|
-
/** @enum {string} */
|
|
2414
|
-
code: "RateLimited";
|
|
2415
|
-
};
|
|
2416
|
-
};
|
|
2417
|
-
};
|
|
2418
|
-
/** @description - `InternalError`: The engine failed unexpectedly */
|
|
2419
|
-
500: {
|
|
2420
|
-
headers: {
|
|
2421
|
-
[name: string]: unknown;
|
|
2422
|
-
};
|
|
2423
|
-
content: {
|
|
2424
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2425
|
-
/** @enum {string} */
|
|
2426
|
-
code: "InternalError";
|
|
2427
|
-
};
|
|
2428
|
-
};
|
|
2429
|
-
};
|
|
2148
|
+
401: components["responses"]["CustomerSessionRequired-NotAuthenticated-SessionExpired"];
|
|
2149
|
+
403: components["responses"]["NotAuthorized"];
|
|
2150
|
+
429: components["responses"]["RateLimited"];
|
|
2151
|
+
500: components["responses"]["InternalError"];
|
|
2430
2152
|
};
|
|
2431
2153
|
};
|
|
2432
2154
|
listOwnBookings: {
|
|
@@ -2500,72 +2222,11 @@ export interface operations {
|
|
|
2500
2222
|
};
|
|
2501
2223
|
};
|
|
2502
2224
|
};
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
content: {
|
|
2509
|
-
"application/json": components["schemas"]["ValidationErrorResponse"] & {
|
|
2510
|
-
/** @enum {string} */
|
|
2511
|
-
code: "ValidationFailed";
|
|
2512
|
-
};
|
|
2513
|
-
};
|
|
2514
|
-
};
|
|
2515
|
-
/**
|
|
2516
|
-
* @description - `CustomerSessionRequired`: The operation needs a customer's session
|
|
2517
|
-
* - `NotAuthenticated`: The credentials are missing, invalid or expired, or do not fit this surface
|
|
2518
|
-
* - `SessionExpired`: The session has expired or its client's session policy ended it; sign in again
|
|
2519
|
-
*/
|
|
2520
|
-
401: {
|
|
2521
|
-
headers: {
|
|
2522
|
-
[name: string]: unknown;
|
|
2523
|
-
};
|
|
2524
|
-
content: {
|
|
2525
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2526
|
-
/** @enum {string} */
|
|
2527
|
-
code: "CustomerSessionRequired" | "NotAuthenticated" | "SessionExpired";
|
|
2528
|
-
};
|
|
2529
|
-
};
|
|
2530
|
-
};
|
|
2531
|
-
/** @description - `NotAuthorized`: The actor is not permitted to perform this operation */
|
|
2532
|
-
403: {
|
|
2533
|
-
headers: {
|
|
2534
|
-
[name: string]: unknown;
|
|
2535
|
-
};
|
|
2536
|
-
content: {
|
|
2537
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2538
|
-
/** @enum {string} */
|
|
2539
|
-
code: "NotAuthorized";
|
|
2540
|
-
};
|
|
2541
|
-
};
|
|
2542
|
-
};
|
|
2543
|
-
/** @description - `RateLimited`: A rate limit refused the request: the load balancer's per IP, or the engine's per application client; retry after `Retry-After` seconds */
|
|
2544
|
-
429: {
|
|
2545
|
-
headers: {
|
|
2546
|
-
/** @description Seconds to wait before sending the request again */
|
|
2547
|
-
"Retry-After"?: number;
|
|
2548
|
-
[name: string]: unknown;
|
|
2549
|
-
};
|
|
2550
|
-
content: {
|
|
2551
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2552
|
-
/** @enum {string} */
|
|
2553
|
-
code: "RateLimited";
|
|
2554
|
-
};
|
|
2555
|
-
};
|
|
2556
|
-
};
|
|
2557
|
-
/** @description - `InternalError`: The engine failed unexpectedly */
|
|
2558
|
-
500: {
|
|
2559
|
-
headers: {
|
|
2560
|
-
[name: string]: unknown;
|
|
2561
|
-
};
|
|
2562
|
-
content: {
|
|
2563
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2564
|
-
/** @enum {string} */
|
|
2565
|
-
code: "InternalError";
|
|
2566
|
-
};
|
|
2567
|
-
};
|
|
2568
|
-
};
|
|
2225
|
+
400: components["responses"]["ValidationFailed"];
|
|
2226
|
+
401: components["responses"]["CustomerSessionRequired-NotAuthenticated-SessionExpired"];
|
|
2227
|
+
403: components["responses"]["NotAuthorized"];
|
|
2228
|
+
429: components["responses"]["RateLimited"];
|
|
2229
|
+
500: components["responses"]["InternalError"];
|
|
2569
2230
|
};
|
|
2570
2231
|
};
|
|
2571
2232
|
listMyMemberships: {
|
|
@@ -2599,60 +2260,10 @@ export interface operations {
|
|
|
2599
2260
|
}[];
|
|
2600
2261
|
};
|
|
2601
2262
|
};
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
*/
|
|
2607
|
-
401: {
|
|
2608
|
-
headers: {
|
|
2609
|
-
[name: string]: unknown;
|
|
2610
|
-
};
|
|
2611
|
-
content: {
|
|
2612
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2613
|
-
/** @enum {string} */
|
|
2614
|
-
code: "CustomerSessionRequired" | "NotAuthenticated" | "SessionExpired";
|
|
2615
|
-
};
|
|
2616
|
-
};
|
|
2617
|
-
};
|
|
2618
|
-
/** @description - `NotAuthorized`: The actor is not permitted to perform this operation */
|
|
2619
|
-
403: {
|
|
2620
|
-
headers: {
|
|
2621
|
-
[name: string]: unknown;
|
|
2622
|
-
};
|
|
2623
|
-
content: {
|
|
2624
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2625
|
-
/** @enum {string} */
|
|
2626
|
-
code: "NotAuthorized";
|
|
2627
|
-
};
|
|
2628
|
-
};
|
|
2629
|
-
};
|
|
2630
|
-
/** @description - `RateLimited`: A rate limit refused the request: the load balancer's per IP, or the engine's per application client; retry after `Retry-After` seconds */
|
|
2631
|
-
429: {
|
|
2632
|
-
headers: {
|
|
2633
|
-
/** @description Seconds to wait before sending the request again */
|
|
2634
|
-
"Retry-After"?: number;
|
|
2635
|
-
[name: string]: unknown;
|
|
2636
|
-
};
|
|
2637
|
-
content: {
|
|
2638
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2639
|
-
/** @enum {string} */
|
|
2640
|
-
code: "RateLimited";
|
|
2641
|
-
};
|
|
2642
|
-
};
|
|
2643
|
-
};
|
|
2644
|
-
/** @description - `InternalError`: The engine failed unexpectedly */
|
|
2645
|
-
500: {
|
|
2646
|
-
headers: {
|
|
2647
|
-
[name: string]: unknown;
|
|
2648
|
-
};
|
|
2649
|
-
content: {
|
|
2650
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2651
|
-
/** @enum {string} */
|
|
2652
|
-
code: "InternalError";
|
|
2653
|
-
};
|
|
2654
|
-
};
|
|
2655
|
-
};
|
|
2263
|
+
401: components["responses"]["CustomerSessionRequired-NotAuthenticated-SessionExpired"];
|
|
2264
|
+
403: components["responses"]["NotAuthorized"];
|
|
2265
|
+
429: components["responses"]["RateLimited"];
|
|
2266
|
+
500: components["responses"]["InternalError"];
|
|
2656
2267
|
};
|
|
2657
2268
|
};
|
|
2658
2269
|
signOutEverywhere: {
|
|
@@ -2675,96 +2286,13 @@ export interface operations {
|
|
|
2675
2286
|
};
|
|
2676
2287
|
};
|
|
2677
2288
|
};
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
/** @enum {string} */
|
|
2686
|
-
code: "MalformedBody";
|
|
2687
|
-
};
|
|
2688
|
-
};
|
|
2689
|
-
};
|
|
2690
|
-
/**
|
|
2691
|
-
* @description - `CustomerSessionRequired`: The operation needs a customer's session
|
|
2692
|
-
* - `NotAuthenticated`: The credentials are missing, invalid or expired, or do not fit this surface
|
|
2693
|
-
* - `SessionExpired`: The session has expired or its client's session policy ended it; sign in again
|
|
2694
|
-
*/
|
|
2695
|
-
401: {
|
|
2696
|
-
headers: {
|
|
2697
|
-
[name: string]: unknown;
|
|
2698
|
-
};
|
|
2699
|
-
content: {
|
|
2700
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2701
|
-
/** @enum {string} */
|
|
2702
|
-
code: "CustomerSessionRequired" | "NotAuthenticated" | "SessionExpired";
|
|
2703
|
-
};
|
|
2704
|
-
};
|
|
2705
|
-
};
|
|
2706
|
-
/** @description - `NotAuthorized`: The actor is not permitted to perform this operation */
|
|
2707
|
-
403: {
|
|
2708
|
-
headers: {
|
|
2709
|
-
[name: string]: unknown;
|
|
2710
|
-
};
|
|
2711
|
-
content: {
|
|
2712
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2713
|
-
/** @enum {string} */
|
|
2714
|
-
code: "NotAuthorized";
|
|
2715
|
-
};
|
|
2716
|
-
};
|
|
2717
|
-
};
|
|
2718
|
-
/** @description - `BodyTooLarge`: The body is larger than the engine accepts */
|
|
2719
|
-
413: {
|
|
2720
|
-
headers: {
|
|
2721
|
-
[name: string]: unknown;
|
|
2722
|
-
};
|
|
2723
|
-
content: {
|
|
2724
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2725
|
-
/** @enum {string} */
|
|
2726
|
-
code: "BodyTooLarge";
|
|
2727
|
-
};
|
|
2728
|
-
};
|
|
2729
|
-
};
|
|
2730
|
-
/** @description - `UnsupportedMediaType`: The body's content type is not one the operation accepts: `application/json`, or the image types an image upload lists */
|
|
2731
|
-
415: {
|
|
2732
|
-
headers: {
|
|
2733
|
-
[name: string]: unknown;
|
|
2734
|
-
};
|
|
2735
|
-
content: {
|
|
2736
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2737
|
-
/** @enum {string} */
|
|
2738
|
-
code: "UnsupportedMediaType";
|
|
2739
|
-
};
|
|
2740
|
-
};
|
|
2741
|
-
};
|
|
2742
|
-
/** @description - `RateLimited`: A rate limit refused the request: the load balancer's per IP, or the engine's per application client; retry after `Retry-After` seconds */
|
|
2743
|
-
429: {
|
|
2744
|
-
headers: {
|
|
2745
|
-
/** @description Seconds to wait before sending the request again */
|
|
2746
|
-
"Retry-After"?: number;
|
|
2747
|
-
[name: string]: unknown;
|
|
2748
|
-
};
|
|
2749
|
-
content: {
|
|
2750
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2751
|
-
/** @enum {string} */
|
|
2752
|
-
code: "RateLimited";
|
|
2753
|
-
};
|
|
2754
|
-
};
|
|
2755
|
-
};
|
|
2756
|
-
/** @description - `InternalError`: The engine failed unexpectedly */
|
|
2757
|
-
500: {
|
|
2758
|
-
headers: {
|
|
2759
|
-
[name: string]: unknown;
|
|
2760
|
-
};
|
|
2761
|
-
content: {
|
|
2762
|
-
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
2763
|
-
/** @enum {string} */
|
|
2764
|
-
code: "InternalError";
|
|
2765
|
-
};
|
|
2766
|
-
};
|
|
2767
|
-
};
|
|
2289
|
+
400: components["responses"]["MalformedBody"];
|
|
2290
|
+
401: components["responses"]["CustomerSessionRequired-NotAuthenticated-SessionExpired"];
|
|
2291
|
+
403: components["responses"]["NotAuthorized"];
|
|
2292
|
+
413: components["responses"]["BodyTooLarge"];
|
|
2293
|
+
415: components["responses"]["UnsupportedMediaType"];
|
|
2294
|
+
429: components["responses"]["RateLimited"];
|
|
2295
|
+
500: components["responses"]["InternalError"];
|
|
2768
2296
|
};
|
|
2769
2297
|
};
|
|
2770
2298
|
}
|