@51eat/sdk 0.0.33 → 0.0.35

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.
Files changed (136) hide show
  1. package/README.md +12 -16
  2. package/dist/cjs/BaseClient.js +2 -2
  3. package/dist/cjs/Client.d.ts +0 -3
  4. package/dist/cjs/Client.js +6 -11
  5. package/dist/cjs/api/resources/business/resources/events/client/Client.d.ts +3 -0
  6. package/dist/cjs/api/resources/business/resources/events/client/Client.js +9 -4
  7. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/Client.d.ts +57 -0
  8. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/Client.js +226 -0
  9. package/dist/{esm/api/resources/customer/resources/events/resources/ticketing/client/requests/HoldTicketsTicketingRequest.d.mts → cjs/api/resources/business/resources/events/resources/checkIn/client/requests/LookupCheckInRequest.d.ts} +1 -1
  10. package/dist/cjs/api/resources/{customer/resources/events/resources/ticketing/client/requests/HoldTicketsTicketingRequest.d.ts → business/resources/events/resources/checkIn/client/requests/RecentCheckInRequest.d.ts} +1 -1
  11. package/dist/{esm/api/resources/customer/resources/events/resources/ticketing/client/requests/ConfirmOrderTicketingRequest.d.mts → cjs/api/resources/business/resources/events/resources/checkIn/client/requests/ScanCheckInRequest.d.ts} +1 -1
  12. package/dist/cjs/api/resources/{customer/resources/events/resources/ticketing/client/requests/ConfirmOrderTicketingRequest.d.ts → business/resources/events/resources/checkIn/client/requests/StatsCheckInRequest.d.ts} +1 -1
  13. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/index.d.ts +4 -0
  14. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/exports.d.ts +2 -0
  15. package/dist/cjs/api/resources/{customerEvents → business/resources/events/resources/checkIn}/exports.js +2 -2
  16. package/dist/cjs/api/resources/{customerEvents → business/resources/events/resources/checkIn}/index.d.ts +0 -1
  17. package/dist/cjs/api/resources/{customerEvents → business/resources/events/resources/checkIn}/index.js +0 -1
  18. package/dist/cjs/api/resources/business/resources/events/resources/index.d.ts +2 -0
  19. package/dist/cjs/api/resources/business/resources/events/resources/index.js +3 -1
  20. package/dist/cjs/api/resources/customer/resources/events/resources/index.d.ts +1 -0
  21. package/dist/cjs/api/resources/customer/resources/events/resources/index.js +1 -0
  22. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/Client.d.ts +55 -14
  23. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/Client.js +171 -53
  24. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/requests/ReleaseHoldTicketingRequest.d.ts +2 -2
  25. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/requests/index.d.ts +4 -4
  26. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/index.d.ts +1 -0
  27. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/index.js +1 -0
  28. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/types/CalculatePriceTicketingResponse.d.ts +11 -0
  29. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/types/ConfirmOrderTicketingResponse.d.ts +4 -0
  30. package/dist/cjs/api/resources/{customerEvents/types/CreatePaymentIntentResponse.d.ts → customer/resources/events/resources/ticketing/types/CreatePaymentIntentTicketingResponse.d.ts} +3 -3
  31. package/dist/{esm/api/resources/customerEvents/types/HoldTicketsResponse.d.mts → cjs/api/resources/customer/resources/events/resources/ticketing/types/HoldTicketsTicketingResponse.d.ts} +3 -3
  32. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/types/index.d.ts +4 -0
  33. package/dist/cjs/api/resources/{customerEvents → customer/resources/events/resources/ticketing}/types/index.js +4 -4
  34. package/dist/cjs/api/resources/index.d.ts +0 -3
  35. package/dist/cjs/api/resources/index.js +1 -4
  36. package/dist/cjs/version.d.ts +1 -1
  37. package/dist/cjs/version.js +1 -1
  38. package/dist/esm/BaseClient.mjs +2 -2
  39. package/dist/esm/Client.d.mts +0 -3
  40. package/dist/esm/Client.mjs +0 -5
  41. package/dist/esm/api/resources/business/resources/events/client/Client.d.mts +3 -0
  42. package/dist/esm/api/resources/business/resources/events/client/Client.mjs +5 -0
  43. package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/Client.d.mts +57 -0
  44. package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/Client.mjs +189 -0
  45. package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/LookupCheckInRequest.d.mts +9 -0
  46. package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/RecentCheckInRequest.d.mts +9 -0
  47. package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/ScanCheckInRequest.d.mts +9 -0
  48. package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/StatsCheckInRequest.d.mts +9 -0
  49. package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/index.d.mts +4 -0
  50. package/dist/esm/api/resources/business/resources/events/resources/checkIn/exports.d.mts +2 -0
  51. package/dist/esm/api/resources/{customerEvents → business/resources/events/resources/checkIn}/exports.mjs +1 -1
  52. package/dist/esm/api/resources/{customerEvents → business/resources/events/resources/checkIn}/index.d.mts +0 -1
  53. package/dist/esm/api/resources/{customerEvents → business/resources/events/resources/checkIn}/index.mjs +0 -1
  54. package/dist/esm/api/resources/business/resources/events/resources/index.d.mts +2 -0
  55. package/dist/esm/api/resources/business/resources/events/resources/index.mjs +2 -0
  56. package/dist/esm/api/resources/customer/resources/events/resources/index.d.mts +1 -0
  57. package/dist/esm/api/resources/customer/resources/events/resources/index.mjs +1 -0
  58. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/Client.d.mts +55 -14
  59. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/Client.mjs +171 -53
  60. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/requests/ReleaseHoldTicketingRequest.d.mts +2 -2
  61. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/requests/index.d.mts +4 -4
  62. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/index.d.mts +1 -0
  63. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/index.mjs +1 -0
  64. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/types/CalculatePriceTicketingResponse.d.mts +11 -0
  65. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/types/ConfirmOrderTicketingResponse.d.mts +4 -0
  66. package/dist/esm/api/resources/{customerEvents/types/CreatePaymentIntentResponse.d.mts → customer/resources/events/resources/ticketing/types/CreatePaymentIntentTicketingResponse.d.mts} +3 -3
  67. package/dist/{cjs/api/resources/customerEvents/types/HoldTicketsResponse.d.ts → esm/api/resources/customer/resources/events/resources/ticketing/types/HoldTicketsTicketingResponse.d.mts} +3 -3
  68. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/types/index.d.mts +4 -0
  69. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/types/index.mjs +4 -0
  70. package/dist/esm/api/resources/index.d.mts +0 -3
  71. package/dist/esm/api/resources/index.mjs +0 -3
  72. package/dist/esm/version.d.mts +1 -1
  73. package/dist/esm/version.mjs +1 -1
  74. package/package.json +12 -12
  75. package/reference.md +401 -453
  76. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/requests/CalculatePriceTicketingRequest.d.ts +0 -9
  77. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/requests/CreatePaymentIntentTicketingRequest.d.ts +0 -9
  78. package/dist/cjs/api/resources/customerEvents/client/Client.d.ts +0 -110
  79. package/dist/cjs/api/resources/customerEvents/client/Client.js +0 -384
  80. package/dist/cjs/api/resources/customerEvents/client/requests/ReleaseTicketHoldRequest.d.ts +0 -11
  81. package/dist/cjs/api/resources/customerEvents/client/requests/index.d.ts +0 -5
  82. package/dist/cjs/api/resources/customerEvents/exports.d.ts +0 -2
  83. package/dist/cjs/api/resources/customerEvents/types/CalculateTicketPriceResponse.d.ts +0 -11
  84. package/dist/cjs/api/resources/customerEvents/types/ConfirmTicketOrderResponse.d.ts +0 -4
  85. package/dist/cjs/api/resources/customerEvents/types/HoldTicketsResponse.js +0 -3
  86. package/dist/cjs/api/resources/customerEvents/types/index.d.ts +0 -4
  87. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/requests/CalculatePriceTicketingRequest.d.mts +0 -9
  88. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/requests/CreatePaymentIntentTicketingRequest.d.mts +0 -9
  89. package/dist/esm/api/resources/customerEvents/client/Client.d.mts +0 -110
  90. package/dist/esm/api/resources/customerEvents/client/Client.mjs +0 -347
  91. package/dist/esm/api/resources/customerEvents/client/requests/ReleaseTicketHoldRequest.d.mts +0 -11
  92. package/dist/esm/api/resources/customerEvents/client/requests/index.d.mts +0 -5
  93. package/dist/esm/api/resources/customerEvents/exports.d.mts +0 -2
  94. package/dist/esm/api/resources/customerEvents/types/CalculateTicketPriceResponse.d.mts +0 -11
  95. package/dist/esm/api/resources/customerEvents/types/ConfirmTicketOrderResponse.d.mts +0 -4
  96. package/dist/esm/api/resources/customerEvents/types/HoldTicketsResponse.mjs +0 -2
  97. package/dist/esm/api/resources/customerEvents/types/index.d.mts +0 -4
  98. package/dist/esm/api/resources/customerEvents/types/index.mjs +0 -4
  99. /package/dist/cjs/api/resources/{customerEvents → business/resources/events/resources/checkIn}/client/index.d.ts +0 -0
  100. /package/dist/cjs/api/resources/{customerEvents → business/resources/events/resources/checkIn}/client/index.js +0 -0
  101. /package/dist/cjs/api/resources/{customer/resources/events/resources/ticketing/client/requests/CalculatePriceTicketingRequest.js → business/resources/events/resources/checkIn/client/requests/LookupCheckInRequest.js} +0 -0
  102. /package/dist/cjs/api/resources/{customer/resources/events/resources/ticketing/client/requests/ConfirmOrderTicketingRequest.js → business/resources/events/resources/checkIn/client/requests/RecentCheckInRequest.js} +0 -0
  103. /package/dist/cjs/api/resources/{customer/resources/events/resources/ticketing/client/requests/CreatePaymentIntentTicketingRequest.js → business/resources/events/resources/checkIn/client/requests/ScanCheckInRequest.js} +0 -0
  104. /package/dist/cjs/api/resources/{customer/resources/events/resources/ticketing/client/requests/HoldTicketsTicketingRequest.js → business/resources/events/resources/checkIn/client/requests/StatsCheckInRequest.js} +0 -0
  105. /package/dist/cjs/api/resources/{customerEvents → business/resources/events/resources/checkIn}/client/requests/index.js +0 -0
  106. /package/dist/cjs/api/resources/{customerEvents → customer/resources/events/resources/ticketing}/client/requests/CalculatePriceRequest.d.ts +0 -0
  107. /package/dist/cjs/api/resources/{customerEvents → customer/resources/events/resources/ticketing}/client/requests/CalculatePriceRequest.js +0 -0
  108. /package/dist/cjs/api/resources/{customerEvents → customer/resources/events/resources/ticketing}/client/requests/CreatePaymentIntentRequest.d.ts +0 -0
  109. /package/dist/cjs/api/resources/{customerEvents → customer/resources/events/resources/ticketing}/client/requests/CreatePaymentIntentRequest.js +0 -0
  110. /package/dist/cjs/api/resources/{customerEvents → customer/resources/events/resources/ticketing}/client/requests/StoreTicketHoldRequest.d.ts +0 -0
  111. /package/dist/cjs/api/resources/{customerEvents → customer/resources/events/resources/ticketing}/client/requests/StoreTicketHoldRequest.js +0 -0
  112. /package/dist/cjs/api/resources/{customerEvents → customer/resources/events/resources/ticketing}/client/requests/StoreTicketOrderRequest.d.ts +0 -0
  113. /package/dist/cjs/api/resources/{customerEvents → customer/resources/events/resources/ticketing}/client/requests/StoreTicketOrderRequest.js +0 -0
  114. /package/dist/cjs/api/resources/{customerEvents/client/requests/ReleaseTicketHoldRequest.js → customer/resources/events/resources/ticketing/types/CalculatePriceTicketingResponse.js} +0 -0
  115. /package/dist/cjs/api/resources/{customerEvents/types/CalculateTicketPriceResponse.js → customer/resources/events/resources/ticketing/types/ConfirmOrderTicketingResponse.js} +0 -0
  116. /package/dist/cjs/api/resources/{customerEvents/types/ConfirmTicketOrderResponse.js → customer/resources/events/resources/ticketing/types/CreatePaymentIntentTicketingResponse.js} +0 -0
  117. /package/dist/cjs/api/resources/{customerEvents/types/CreatePaymentIntentResponse.js → customer/resources/events/resources/ticketing/types/HoldTicketsTicketingResponse.js} +0 -0
  118. /package/dist/esm/api/resources/{customerEvents → business/resources/events/resources/checkIn}/client/index.d.mts +0 -0
  119. /package/dist/esm/api/resources/{customerEvents → business/resources/events/resources/checkIn}/client/index.mjs +0 -0
  120. /package/dist/esm/api/resources/{customer/resources/events/resources/ticketing/client/requests/CalculatePriceTicketingRequest.mjs → business/resources/events/resources/checkIn/client/requests/LookupCheckInRequest.mjs} +0 -0
  121. /package/dist/esm/api/resources/{customer/resources/events/resources/ticketing/client/requests/ConfirmOrderTicketingRequest.mjs → business/resources/events/resources/checkIn/client/requests/RecentCheckInRequest.mjs} +0 -0
  122. /package/dist/esm/api/resources/{customer/resources/events/resources/ticketing/client/requests/CreatePaymentIntentTicketingRequest.mjs → business/resources/events/resources/checkIn/client/requests/ScanCheckInRequest.mjs} +0 -0
  123. /package/dist/esm/api/resources/{customer/resources/events/resources/ticketing/client/requests/HoldTicketsTicketingRequest.mjs → business/resources/events/resources/checkIn/client/requests/StatsCheckInRequest.mjs} +0 -0
  124. /package/dist/esm/api/resources/{customerEvents → business/resources/events/resources/checkIn}/client/requests/index.mjs +0 -0
  125. /package/dist/esm/api/resources/{customerEvents → customer/resources/events/resources/ticketing}/client/requests/CalculatePriceRequest.d.mts +0 -0
  126. /package/dist/esm/api/resources/{customerEvents → customer/resources/events/resources/ticketing}/client/requests/CalculatePriceRequest.mjs +0 -0
  127. /package/dist/esm/api/resources/{customerEvents → customer/resources/events/resources/ticketing}/client/requests/CreatePaymentIntentRequest.d.mts +0 -0
  128. /package/dist/esm/api/resources/{customerEvents → customer/resources/events/resources/ticketing}/client/requests/CreatePaymentIntentRequest.mjs +0 -0
  129. /package/dist/esm/api/resources/{customerEvents → customer/resources/events/resources/ticketing}/client/requests/StoreTicketHoldRequest.d.mts +0 -0
  130. /package/dist/esm/api/resources/{customerEvents → customer/resources/events/resources/ticketing}/client/requests/StoreTicketHoldRequest.mjs +0 -0
  131. /package/dist/esm/api/resources/{customerEvents → customer/resources/events/resources/ticketing}/client/requests/StoreTicketOrderRequest.d.mts +0 -0
  132. /package/dist/esm/api/resources/{customerEvents → customer/resources/events/resources/ticketing}/client/requests/StoreTicketOrderRequest.mjs +0 -0
  133. /package/dist/esm/api/resources/{customerEvents/client/requests/ReleaseTicketHoldRequest.mjs → customer/resources/events/resources/ticketing/types/CalculatePriceTicketingResponse.mjs} +0 -0
  134. /package/dist/esm/api/resources/{customerEvents/types/CalculateTicketPriceResponse.mjs → customer/resources/events/resources/ticketing/types/ConfirmOrderTicketingResponse.mjs} +0 -0
  135. /package/dist/esm/api/resources/{customerEvents/types/ConfirmTicketOrderResponse.mjs → customer/resources/events/resources/ticketing/types/CreatePaymentIntentTicketingResponse.mjs} +0 -0
  136. /package/dist/esm/api/resources/{customerEvents/types/CreatePaymentIntentResponse.mjs → customer/resources/events/resources/ticketing/types/HoldTicketsTicketingResponse.mjs} +0 -0
@@ -1,9 +0,0 @@
1
- /**
2
- * @example
3
- * {
4
- * event: "event"
5
- * }
6
- */
7
- export interface CalculatePriceTicketingRequest {
8
- event: string;
9
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * @example
3
- * {
4
- * event: "event"
5
- * }
6
- */
7
- export interface CreatePaymentIntentTicketingRequest {
8
- event: string;
9
- }
@@ -1,110 +0,0 @@
1
- import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
2
- import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
3
- import * as core from "../../../../core/index.js";
4
- import * as FiveOneEat from "../../../index.js";
5
- export declare namespace CustomerEventsClient {
6
- type Options = BaseClientOptions;
7
- interface RequestOptions extends BaseRequestOptions {
8
- }
9
- }
10
- export declare class CustomerEventsClient {
11
- protected readonly _options: NormalizedClientOptionsWithAuth<CustomerEventsClient.Options>;
12
- constructor(options?: CustomerEventsClient.Options);
13
- /**
14
- * Place a temporary hold on tickets for the specified event. Holds expire after 10 minutes.
15
- *
16
- * @param {FiveOneEat.StoreTicketHoldRequest} request
17
- * @param {CustomerEventsClient.RequestOptions} requestOptions - Request-specific configuration.
18
- *
19
- * @throws {@link FiveOneEat.UnauthorizedError}
20
- * @throws {@link FiveOneEat.NotFoundError}
21
- * @throws {@link FiveOneEat.UnprocessableEntityError}
22
- *
23
- * @example
24
- * await client.customerEvents.holdTickets({
25
- * eventId: "eventId",
26
- * tickets: [{
27
- * ticket_type_id: "ticket_type_id",
28
- * quantity: 1
29
- * }]
30
- * })
31
- */
32
- holdTickets(request: FiveOneEat.StoreTicketHoldRequest, requestOptions?: CustomerEventsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.HoldTicketsResponse>;
33
- private __holdTickets;
34
- /**
35
- * Release all active holds for the given session, freeing the tickets for others.
36
- *
37
- * @param {FiveOneEat.ReleaseTicketHoldRequest} request
38
- * @param {CustomerEventsClient.RequestOptions} requestOptions - Request-specific configuration.
39
- *
40
- * @throws {@link FiveOneEat.UnauthorizedError}
41
- * @throws {@link FiveOneEat.NotFoundError}
42
- *
43
- * @example
44
- * await client.customerEvents.releaseTicketHold({
45
- * eventId: "eventId",
46
- * sessionId: "sessionId"
47
- * })
48
- */
49
- releaseTicketHold(request: FiveOneEat.ReleaseTicketHoldRequest, requestOptions?: CustomerEventsClient.RequestOptions): core.HttpResponsePromise<void>;
50
- private __releaseTicketHold;
51
- /**
52
- * Preview the subtotal, platform fee, and total for a given ticket selection.
53
- *
54
- * @param {FiveOneEat.CalculatePriceRequest} request
55
- * @param {CustomerEventsClient.RequestOptions} requestOptions - Request-specific configuration.
56
- *
57
- * @throws {@link FiveOneEat.UnauthorizedError}
58
- * @throws {@link FiveOneEat.NotFoundError}
59
- * @throws {@link FiveOneEat.UnprocessableEntityError}
60
- *
61
- * @example
62
- * await client.customerEvents.calculateTicketPrice({
63
- * eventId: "eventId",
64
- * tickets: [{
65
- * ticket_type_id: "ticket_type_id",
66
- * quantity: 1
67
- * }]
68
- * })
69
- */
70
- calculateTicketPrice(request: FiveOneEat.CalculatePriceRequest, requestOptions?: CustomerEventsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.CalculateTicketPriceResponse>;
71
- private __calculateTicketPrice;
72
- /**
73
- * Create a Stripe payment intent for the tickets held in the given session.
74
- * Returns a client_secret for the mobile app to confirm payment with Stripe.
75
- *
76
- * @param {FiveOneEat.CreatePaymentIntentRequest} request
77
- * @param {CustomerEventsClient.RequestOptions} requestOptions - Request-specific configuration.
78
- *
79
- * @throws {@link FiveOneEat.UnauthorizedError}
80
- * @throws {@link FiveOneEat.NotFoundError}
81
- * @throws {@link FiveOneEat.UnprocessableEntityError}
82
- *
83
- * @example
84
- * await client.customerEvents.createPaymentIntent({
85
- * eventId: "eventId",
86
- * session_id: "session_id"
87
- * })
88
- */
89
- createPaymentIntent(request: FiveOneEat.CreatePaymentIntentRequest, requestOptions?: CustomerEventsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.CreatePaymentIntentResponse>;
90
- private __createPaymentIntent;
91
- /**
92
- * Confirm a completed Stripe payment and create the ticket order.
93
- * The payment must have succeeded before calling this endpoint.
94
- *
95
- * @param {FiveOneEat.StoreTicketOrderRequest} request
96
- * @param {CustomerEventsClient.RequestOptions} requestOptions - Request-specific configuration.
97
- *
98
- * @throws {@link FiveOneEat.UnauthorizedError}
99
- * @throws {@link FiveOneEat.UnprocessableEntityError}
100
- *
101
- * @example
102
- * await client.customerEvents.confirmTicketOrder({
103
- * eventId: "eventId",
104
- * payment_intent_id: "payment_intent_id",
105
- * session_id: "session_id"
106
- * })
107
- */
108
- confirmTicketOrder(request: FiveOneEat.StoreTicketOrderRequest, requestOptions?: CustomerEventsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.ConfirmTicketOrderResponse>;
109
- private __confirmTicketOrder;
110
- }
@@ -1,384 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
- if (k2 === undefined) k2 = k;
5
- var desc = Object.getOwnPropertyDescriptor(m, k);
6
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
- desc = { enumerable: true, get: function() { return m[k]; } };
8
- }
9
- Object.defineProperty(o, k2, desc);
10
- }) : (function(o, m, k, k2) {
11
- if (k2 === undefined) k2 = k;
12
- o[k2] = m[k];
13
- }));
14
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
- Object.defineProperty(o, "default", { enumerable: true, value: v });
16
- }) : function(o, v) {
17
- o["default"] = v;
18
- });
19
- var __importStar = (this && this.__importStar) || (function () {
20
- var ownKeys = function(o) {
21
- ownKeys = Object.getOwnPropertyNames || function (o) {
22
- var ar = [];
23
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
- return ar;
25
- };
26
- return ownKeys(o);
27
- };
28
- return function (mod) {
29
- if (mod && mod.__esModule) return mod;
30
- var result = {};
31
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
- __setModuleDefault(result, mod);
33
- return result;
34
- };
35
- })();
36
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
37
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
38
- return new (P || (P = Promise))(function (resolve, reject) {
39
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
40
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
42
- step((generator = generator.apply(thisArg, _arguments || [])).next());
43
- });
44
- };
45
- var __rest = (this && this.__rest) || function (s, e) {
46
- var t = {};
47
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
48
- t[p] = s[p];
49
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
50
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
51
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
52
- t[p[i]] = s[p[i]];
53
- }
54
- return t;
55
- };
56
- Object.defineProperty(exports, "__esModule", { value: true });
57
- exports.CustomerEventsClient = void 0;
58
- const BaseClient_js_1 = require("../../../../BaseClient.js");
59
- const headers_js_1 = require("../../../../core/headers.js");
60
- const core = __importStar(require("../../../../core/index.js"));
61
- const environments = __importStar(require("../../../../environments.js"));
62
- const handleNonStatusCodeError_js_1 = require("../../../../errors/handleNonStatusCodeError.js");
63
- const errors = __importStar(require("../../../../errors/index.js"));
64
- const FiveOneEat = __importStar(require("../../../index.js"));
65
- class CustomerEventsClient {
66
- constructor(options = {}) {
67
- this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
68
- }
69
- /**
70
- * Place a temporary hold on tickets for the specified event. Holds expire after 10 minutes.
71
- *
72
- * @param {FiveOneEat.StoreTicketHoldRequest} request
73
- * @param {CustomerEventsClient.RequestOptions} requestOptions - Request-specific configuration.
74
- *
75
- * @throws {@link FiveOneEat.UnauthorizedError}
76
- * @throws {@link FiveOneEat.NotFoundError}
77
- * @throws {@link FiveOneEat.UnprocessableEntityError}
78
- *
79
- * @example
80
- * await client.customerEvents.holdTickets({
81
- * eventId: "eventId",
82
- * tickets: [{
83
- * ticket_type_id: "ticket_type_id",
84
- * quantity: 1
85
- * }]
86
- * })
87
- */
88
- holdTickets(request, requestOptions) {
89
- return core.HttpResponsePromise.fromPromise(this.__holdTickets(request, requestOptions));
90
- }
91
- __holdTickets(request, requestOptions) {
92
- return __awaiter(this, void 0, void 0, function* () {
93
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
94
- const { eventId } = request, _body = __rest(request, ["eventId"]);
95
- const _authRequest = yield this._options.authProvider.getAuthRequest();
96
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
97
- const _response = yield core.fetcher({
98
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/events/${core.url.encodePathParam(eventId)}/ticket-holds`),
99
- method: "POST",
100
- headers: _headers,
101
- contentType: "application/json",
102
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
103
- requestType: "json",
104
- body: _body,
105
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
106
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
107
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
108
- fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
109
- logging: this._options.logging,
110
- });
111
- if (_response.ok) {
112
- return { data: _response.body, rawResponse: _response.rawResponse };
113
- }
114
- if (_response.error.reason === "status-code") {
115
- switch (_response.error.statusCode) {
116
- case 401:
117
- throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
118
- case 404:
119
- throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
120
- case 422:
121
- throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
122
- default:
123
- throw new errors.FiveOneEatError({
124
- statusCode: _response.error.statusCode,
125
- body: _response.error.body,
126
- rawResponse: _response.rawResponse,
127
- });
128
- }
129
- }
130
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/customer/events/{eventId}/ticket-holds");
131
- });
132
- }
133
- /**
134
- * Release all active holds for the given session, freeing the tickets for others.
135
- *
136
- * @param {FiveOneEat.ReleaseTicketHoldRequest} request
137
- * @param {CustomerEventsClient.RequestOptions} requestOptions - Request-specific configuration.
138
- *
139
- * @throws {@link FiveOneEat.UnauthorizedError}
140
- * @throws {@link FiveOneEat.NotFoundError}
141
- *
142
- * @example
143
- * await client.customerEvents.releaseTicketHold({
144
- * eventId: "eventId",
145
- * sessionId: "sessionId"
146
- * })
147
- */
148
- releaseTicketHold(request, requestOptions) {
149
- return core.HttpResponsePromise.fromPromise(this.__releaseTicketHold(request, requestOptions));
150
- }
151
- __releaseTicketHold(request, requestOptions) {
152
- return __awaiter(this, void 0, void 0, function* () {
153
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
154
- const { eventId, sessionId } = request;
155
- const _authRequest = yield this._options.authProvider.getAuthRequest();
156
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
157
- const _response = yield core.fetcher({
158
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/events/${core.url.encodePathParam(eventId)}/ticket-holds/${core.url.encodePathParam(sessionId)}`),
159
- method: "DELETE",
160
- headers: _headers,
161
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
162
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
163
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
164
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
165
- fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
166
- logging: this._options.logging,
167
- });
168
- if (_response.ok) {
169
- return { data: undefined, rawResponse: _response.rawResponse };
170
- }
171
- if (_response.error.reason === "status-code") {
172
- switch (_response.error.statusCode) {
173
- case 401:
174
- throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
175
- case 404:
176
- throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
177
- default:
178
- throw new errors.FiveOneEatError({
179
- statusCode: _response.error.statusCode,
180
- body: _response.error.body,
181
- rawResponse: _response.rawResponse,
182
- });
183
- }
184
- }
185
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/customer/events/{eventId}/ticket-holds/{sessionId}");
186
- });
187
- }
188
- /**
189
- * Preview the subtotal, platform fee, and total for a given ticket selection.
190
- *
191
- * @param {FiveOneEat.CalculatePriceRequest} request
192
- * @param {CustomerEventsClient.RequestOptions} requestOptions - Request-specific configuration.
193
- *
194
- * @throws {@link FiveOneEat.UnauthorizedError}
195
- * @throws {@link FiveOneEat.NotFoundError}
196
- * @throws {@link FiveOneEat.UnprocessableEntityError}
197
- *
198
- * @example
199
- * await client.customerEvents.calculateTicketPrice({
200
- * eventId: "eventId",
201
- * tickets: [{
202
- * ticket_type_id: "ticket_type_id",
203
- * quantity: 1
204
- * }]
205
- * })
206
- */
207
- calculateTicketPrice(request, requestOptions) {
208
- return core.HttpResponsePromise.fromPromise(this.__calculateTicketPrice(request, requestOptions));
209
- }
210
- __calculateTicketPrice(request, requestOptions) {
211
- return __awaiter(this, void 0, void 0, function* () {
212
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
213
- const { eventId } = request, _body = __rest(request, ["eventId"]);
214
- const _authRequest = yield this._options.authProvider.getAuthRequest();
215
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
216
- const _response = yield core.fetcher({
217
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/events/${core.url.encodePathParam(eventId)}/calculate-price`),
218
- method: "POST",
219
- headers: _headers,
220
- contentType: "application/json",
221
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
222
- requestType: "json",
223
- body: _body,
224
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
225
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
226
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
227
- fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
228
- logging: this._options.logging,
229
- });
230
- if (_response.ok) {
231
- return {
232
- data: _response.body,
233
- rawResponse: _response.rawResponse,
234
- };
235
- }
236
- if (_response.error.reason === "status-code") {
237
- switch (_response.error.statusCode) {
238
- case 401:
239
- throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
240
- case 404:
241
- throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
242
- case 422:
243
- throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
244
- default:
245
- throw new errors.FiveOneEatError({
246
- statusCode: _response.error.statusCode,
247
- body: _response.error.body,
248
- rawResponse: _response.rawResponse,
249
- });
250
- }
251
- }
252
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/customer/events/{eventId}/calculate-price");
253
- });
254
- }
255
- /**
256
- * Create a Stripe payment intent for the tickets held in the given session.
257
- * Returns a client_secret for the mobile app to confirm payment with Stripe.
258
- *
259
- * @param {FiveOneEat.CreatePaymentIntentRequest} request
260
- * @param {CustomerEventsClient.RequestOptions} requestOptions - Request-specific configuration.
261
- *
262
- * @throws {@link FiveOneEat.UnauthorizedError}
263
- * @throws {@link FiveOneEat.NotFoundError}
264
- * @throws {@link FiveOneEat.UnprocessableEntityError}
265
- *
266
- * @example
267
- * await client.customerEvents.createPaymentIntent({
268
- * eventId: "eventId",
269
- * session_id: "session_id"
270
- * })
271
- */
272
- createPaymentIntent(request, requestOptions) {
273
- return core.HttpResponsePromise.fromPromise(this.__createPaymentIntent(request, requestOptions));
274
- }
275
- __createPaymentIntent(request, requestOptions) {
276
- return __awaiter(this, void 0, void 0, function* () {
277
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
278
- const { eventId } = request, _body = __rest(request, ["eventId"]);
279
- const _authRequest = yield this._options.authProvider.getAuthRequest();
280
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
281
- const _response = yield core.fetcher({
282
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/events/${core.url.encodePathParam(eventId)}/payment-intent`),
283
- method: "POST",
284
- headers: _headers,
285
- contentType: "application/json",
286
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
287
- requestType: "json",
288
- body: _body,
289
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
290
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
291
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
292
- fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
293
- logging: this._options.logging,
294
- });
295
- if (_response.ok) {
296
- return {
297
- data: _response.body,
298
- rawResponse: _response.rawResponse,
299
- };
300
- }
301
- if (_response.error.reason === "status-code") {
302
- switch (_response.error.statusCode) {
303
- case 401:
304
- throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
305
- case 404:
306
- throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
307
- case 422:
308
- throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
309
- default:
310
- throw new errors.FiveOneEatError({
311
- statusCode: _response.error.statusCode,
312
- body: _response.error.body,
313
- rawResponse: _response.rawResponse,
314
- });
315
- }
316
- }
317
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/customer/events/{eventId}/payment-intent");
318
- });
319
- }
320
- /**
321
- * Confirm a completed Stripe payment and create the ticket order.
322
- * The payment must have succeeded before calling this endpoint.
323
- *
324
- * @param {FiveOneEat.StoreTicketOrderRequest} request
325
- * @param {CustomerEventsClient.RequestOptions} requestOptions - Request-specific configuration.
326
- *
327
- * @throws {@link FiveOneEat.UnauthorizedError}
328
- * @throws {@link FiveOneEat.UnprocessableEntityError}
329
- *
330
- * @example
331
- * await client.customerEvents.confirmTicketOrder({
332
- * eventId: "eventId",
333
- * payment_intent_id: "payment_intent_id",
334
- * session_id: "session_id"
335
- * })
336
- */
337
- confirmTicketOrder(request, requestOptions) {
338
- return core.HttpResponsePromise.fromPromise(this.__confirmTicketOrder(request, requestOptions));
339
- }
340
- __confirmTicketOrder(request, requestOptions) {
341
- return __awaiter(this, void 0, void 0, function* () {
342
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
343
- const { eventId } = request, _body = __rest(request, ["eventId"]);
344
- const _authRequest = yield this._options.authProvider.getAuthRequest();
345
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
346
- const _response = yield core.fetcher({
347
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/events/${core.url.encodePathParam(eventId)}/ticket-orders`),
348
- method: "POST",
349
- headers: _headers,
350
- contentType: "application/json",
351
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
352
- requestType: "json",
353
- body: _body,
354
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
355
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
356
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
357
- fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
358
- logging: this._options.logging,
359
- });
360
- if (_response.ok) {
361
- return {
362
- data: _response.body,
363
- rawResponse: _response.rawResponse,
364
- };
365
- }
366
- if (_response.error.reason === "status-code") {
367
- switch (_response.error.statusCode) {
368
- case 401:
369
- throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
370
- case 422:
371
- throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
372
- default:
373
- throw new errors.FiveOneEatError({
374
- statusCode: _response.error.statusCode,
375
- body: _response.error.body,
376
- rawResponse: _response.rawResponse,
377
- });
378
- }
379
- }
380
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/customer/events/{eventId}/ticket-orders");
381
- });
382
- }
383
- }
384
- exports.CustomerEventsClient = CustomerEventsClient;
@@ -1,11 +0,0 @@
1
- /**
2
- * @example
3
- * {
4
- * eventId: "eventId",
5
- * sessionId: "sessionId"
6
- * }
7
- */
8
- export interface ReleaseTicketHoldRequest {
9
- eventId: string;
10
- sessionId: string;
11
- }
@@ -1,5 +0,0 @@
1
- export type { CalculatePriceRequest } from "./CalculatePriceRequest.js";
2
- export type { CreatePaymentIntentRequest } from "./CreatePaymentIntentRequest.js";
3
- export type { ReleaseTicketHoldRequest } from "./ReleaseTicketHoldRequest.js";
4
- export type { StoreTicketHoldRequest } from "./StoreTicketHoldRequest.js";
5
- export type { StoreTicketOrderRequest } from "./StoreTicketOrderRequest.js";
@@ -1,2 +0,0 @@
1
- export { CustomerEventsClient } from "./client/Client.js";
2
- export * from "./client/index.js";
@@ -1,11 +0,0 @@
1
- export interface CalculateTicketPriceResponse {
2
- data: CalculateTicketPriceResponse.Data;
3
- }
4
- export declare namespace CalculateTicketPriceResponse {
5
- interface Data {
6
- subtotal: string;
7
- platform_fee: string;
8
- total: string;
9
- line_items: string;
10
- }
11
- }
@@ -1,4 +0,0 @@
1
- import type * as FiveOneEat from "../../../index.js";
2
- export type ConfirmTicketOrderResponse = {
3
- data: FiveOneEat.JsonResource;
4
- } | Record<string, unknown>;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- export * from "./CalculateTicketPriceResponse.js";
2
- export * from "./ConfirmTicketOrderResponse.js";
3
- export * from "./CreatePaymentIntentResponse.js";
4
- export * from "./HoldTicketsResponse.js";
@@ -1,9 +0,0 @@
1
- /**
2
- * @example
3
- * {
4
- * event: "event"
5
- * }
6
- */
7
- export interface CalculatePriceTicketingRequest {
8
- event: string;
9
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * @example
3
- * {
4
- * event: "event"
5
- * }
6
- */
7
- export interface CreatePaymentIntentTicketingRequest {
8
- event: string;
9
- }