@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
package/README.md CHANGED
@@ -45,12 +45,8 @@ Instantiate and use the client with the following:
45
45
  import { FiveOneEatClient } from "@51eat/sdk";
46
46
 
47
47
  const client = new FiveOneEatClient({ token: "YOUR_TOKEN" });
48
- await client.customerEvents.holdTickets({
49
- eventId: "eventId",
50
- tickets: [{
51
- ticket_type_id: "ticket_type_id",
52
- quantity: 1
53
- }]
48
+ await client.recordClick.adsRecordClick({
49
+ advertisement: "advertisement"
54
50
  });
55
51
  ```
56
52
 
@@ -74,7 +70,7 @@ following namespace:
74
70
  ```typescript
75
71
  import { FiveOneEat } from "@51eat/sdk";
76
72
 
77
- const request: FiveOneEat.StoreTicketHoldRequest = {
73
+ const request: FiveOneEat.GetMyTicketRequest = {
78
74
  ...
79
75
  };
80
76
  ```
@@ -88,7 +84,7 @@ will be thrown.
88
84
  import { FiveOneEatError } from "@51eat/sdk";
89
85
 
90
86
  try {
91
- await client.customerEvents.holdTickets(...);
87
+ await client.recordClick.adsRecordClick(...);
92
88
  } catch (err) {
93
89
  if (err instanceof FiveOneEatError) {
94
90
  console.log(err.statusCode);
@@ -151,9 +147,9 @@ For example, `fs.ReadStream` has a `path` property which the SDK uses to retriev
151
147
  This SDK supports direct imports of subpackage clients, which allows JavaScript bundlers to tree-shake and include only the imported subpackage code. This results in much smaller bundle sizes.
152
148
 
153
149
  ```typescript
154
- import { CustomerEventsClient } from '@51eat/sdk/customerEvents';
150
+ import { CustomerMyAccountClient } from '@51eat/sdk/customerMyAccount';
155
151
 
156
- const client = new CustomerEventsClient({...});
152
+ const client = new CustomerMyAccountClient({...});
157
153
  ```
158
154
 
159
155
  ### Additional Headers
@@ -170,7 +166,7 @@ const client = new FiveOneEatClient({
170
166
  }
171
167
  });
172
168
 
173
- const response = await client.customerEvents.holdTickets(..., {
169
+ const response = await client.recordClick.adsRecordClick(..., {
174
170
  headers: {
175
171
  'X-Custom-Header': 'custom value'
176
172
  }
@@ -182,7 +178,7 @@ const response = await client.customerEvents.holdTickets(..., {
182
178
  If you would like to send additional query string parameters as part of the request, use the `queryParams` request option.
183
179
 
184
180
  ```typescript
185
- const response = await client.customerEvents.holdTickets(..., {
181
+ const response = await client.recordClick.adsRecordClick(..., {
186
182
  queryParams: {
187
183
  'customQueryParamKey': 'custom query param value'
188
184
  }
@@ -204,7 +200,7 @@ A request is deemed retryable when any of the following HTTP status codes is ret
204
200
  Use the `maxRetries` request option to configure this behavior.
205
201
 
206
202
  ```typescript
207
- const response = await client.customerEvents.holdTickets(..., {
203
+ const response = await client.recordClick.adsRecordClick(..., {
208
204
  maxRetries: 0 // override maxRetries at the request level
209
205
  });
210
206
  ```
@@ -214,7 +210,7 @@ const response = await client.customerEvents.holdTickets(..., {
214
210
  The SDK defaults to a 60 second timeout. Use the `timeoutInSeconds` option to configure this behavior.
215
211
 
216
212
  ```typescript
217
- const response = await client.customerEvents.holdTickets(..., {
213
+ const response = await client.recordClick.adsRecordClick(..., {
218
214
  timeoutInSeconds: 30 // override timeout to 30s
219
215
  });
220
216
  ```
@@ -225,7 +221,7 @@ The SDK allows users to abort requests at any point by passing in an abort signa
225
221
 
226
222
  ```typescript
227
223
  const controller = new AbortController();
228
- const response = await client.customerEvents.holdTickets(..., {
224
+ const response = await client.recordClick.adsRecordClick(..., {
229
225
  abortSignal: controller.signal
230
226
  });
231
227
  controller.abort(); // aborts the request
@@ -237,7 +233,7 @@ The SDK provides access to raw response data, including headers, through the `.w
237
233
  The `.withRawResponse()` method returns a promise that results to an object with a `data` and a `rawResponse` property.
238
234
 
239
235
  ```typescript
240
- const { data, rawResponse } = await client.customerEvents.holdTickets(...).withRawResponse();
236
+ const { data, rawResponse } = await client.recordClick.adsRecordClick(...).withRawResponse();
241
237
 
242
238
  console.log(data);
243
239
  console.log(rawResponse.headers['X-My-Header']);
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_js_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "@51eat/sdk",
46
- "X-Fern-SDK-Version": "0.0.33",
47
- "User-Agent": "@51eat/sdk/0.0.33",
46
+ "X-Fern-SDK-Version": "0.0.35",
47
+ "User-Agent": "@51eat/sdk/0.0.35",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -1,6 +1,5 @@
1
1
  import { BusinessClient } from "./api/resources/business/client/Client.js";
2
2
  import { CustomerClient } from "./api/resources/customer/client/Client.js";
3
- import { CustomerEventsClient } from "./api/resources/customerEvents/client/Client.js";
4
3
  import { CustomerMyAccountClient } from "./api/resources/customerMyAccount/client/Client.js";
5
4
  import { RecordClickClient } from "./api/resources/recordClick/client/Client.js";
6
5
  import { ServeAdClient } from "./api/resources/serveAd/client/Client.js";
@@ -14,14 +13,12 @@ export declare namespace FiveOneEatClient {
14
13
  }
15
14
  export declare class FiveOneEatClient {
16
15
  protected readonly _options: NormalizedClientOptionsWithAuth<FiveOneEatClient.Options>;
17
- protected _customerEvents: CustomerEventsClient | undefined;
18
16
  protected _customerMyAccount: CustomerMyAccountClient | undefined;
19
17
  protected _customer: CustomerClient | undefined;
20
18
  protected _recordClick: RecordClickClient | undefined;
21
19
  protected _serveAd: ServeAdClient | undefined;
22
20
  protected _business: BusinessClient | undefined;
23
21
  constructor(options?: FiveOneEatClient.Options);
24
- get customerEvents(): CustomerEventsClient;
25
22
  get customerMyAccount(): CustomerMyAccountClient;
26
23
  get customer(): CustomerClient;
27
24
  get recordClick(): RecordClickClient;
@@ -46,23 +46,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
46
46
  exports.FiveOneEatClient = void 0;
47
47
  const Client_js_1 = require("./api/resources/business/client/Client.js");
48
48
  const Client_js_2 = require("./api/resources/customer/client/Client.js");
49
- const Client_js_3 = require("./api/resources/customerEvents/client/Client.js");
50
- const Client_js_4 = require("./api/resources/customerMyAccount/client/Client.js");
51
- const Client_js_5 = require("./api/resources/recordClick/client/Client.js");
52
- const Client_js_6 = require("./api/resources/serveAd/client/Client.js");
49
+ const Client_js_3 = require("./api/resources/customerMyAccount/client/Client.js");
50
+ const Client_js_4 = require("./api/resources/recordClick/client/Client.js");
51
+ const Client_js_5 = require("./api/resources/serveAd/client/Client.js");
53
52
  const BaseClient_js_1 = require("./BaseClient.js");
54
53
  const core = __importStar(require("./core/index.js"));
55
54
  class FiveOneEatClient {
56
55
  constructor(options = {}) {
57
56
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
58
57
  }
59
- get customerEvents() {
60
- var _a;
61
- return ((_a = this._customerEvents) !== null && _a !== void 0 ? _a : (this._customerEvents = new Client_js_3.CustomerEventsClient(this._options)));
62
- }
63
58
  get customerMyAccount() {
64
59
  var _a;
65
- return ((_a = this._customerMyAccount) !== null && _a !== void 0 ? _a : (this._customerMyAccount = new Client_js_4.CustomerMyAccountClient(this._options)));
60
+ return ((_a = this._customerMyAccount) !== null && _a !== void 0 ? _a : (this._customerMyAccount = new Client_js_3.CustomerMyAccountClient(this._options)));
66
61
  }
67
62
  get customer() {
68
63
  var _a;
@@ -70,11 +65,11 @@ class FiveOneEatClient {
70
65
  }
71
66
  get recordClick() {
72
67
  var _a;
73
- return ((_a = this._recordClick) !== null && _a !== void 0 ? _a : (this._recordClick = new Client_js_5.RecordClickClient(this._options)));
68
+ return ((_a = this._recordClick) !== null && _a !== void 0 ? _a : (this._recordClick = new Client_js_4.RecordClickClient(this._options)));
74
69
  }
75
70
  get serveAd() {
76
71
  var _a;
77
- return ((_a = this._serveAd) !== null && _a !== void 0 ? _a : (this._serveAd = new Client_js_6.ServeAdClient(this._options)));
72
+ return ((_a = this._serveAd) !== null && _a !== void 0 ? _a : (this._serveAd = new Client_js_5.ServeAdClient(this._options)));
78
73
  }
79
74
  get business() {
80
75
  var _a;
@@ -2,6 +2,7 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../Ba
2
2
  import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.js";
3
3
  import * as core from "../../../../../../core/index.js";
4
4
  import * as FiveOneEat from "../../../../../index.js";
5
+ import { CheckInClient } from "../resources/checkIn/client/Client.js";
5
6
  import { OrdersClient } from "../resources/orders/client/Client.js";
6
7
  import { TicketTypesClient } from "../resources/ticketTypes/client/Client.js";
7
8
  export declare namespace EventsClient {
@@ -13,9 +14,11 @@ export declare class EventsClient {
13
14
  protected readonly _options: NormalizedClientOptionsWithAuth<EventsClient.Options>;
14
15
  protected _ticketTypes: TicketTypesClient | undefined;
15
16
  protected _orders: OrdersClient | undefined;
17
+ protected _checkIn: CheckInClient | undefined;
16
18
  constructor(options?: EventsClient.Options);
17
19
  get ticketTypes(): TicketTypesClient;
18
20
  get orders(): OrdersClient;
21
+ get checkIn(): CheckInClient;
19
22
  /**
20
23
  * Accepts an optional `filter` query param: `upcoming`, `past`, or `all` (default `all`).
21
24
  *
@@ -62,19 +62,24 @@ const environments = __importStar(require("../../../../../../environments.js"));
62
62
  const handleNonStatusCodeError_js_1 = require("../../../../../../errors/handleNonStatusCodeError.js");
63
63
  const errors = __importStar(require("../../../../../../errors/index.js"));
64
64
  const FiveOneEat = __importStar(require("../../../../../index.js"));
65
- const Client_js_1 = require("../resources/orders/client/Client.js");
66
- const Client_js_2 = require("../resources/ticketTypes/client/Client.js");
65
+ const Client_js_1 = require("../resources/checkIn/client/Client.js");
66
+ const Client_js_2 = require("../resources/orders/client/Client.js");
67
+ const Client_js_3 = require("../resources/ticketTypes/client/Client.js");
67
68
  class EventsClient {
68
69
  constructor(options = {}) {
69
70
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
70
71
  }
71
72
  get ticketTypes() {
72
73
  var _a;
73
- return ((_a = this._ticketTypes) !== null && _a !== void 0 ? _a : (this._ticketTypes = new Client_js_2.TicketTypesClient(this._options)));
74
+ return ((_a = this._ticketTypes) !== null && _a !== void 0 ? _a : (this._ticketTypes = new Client_js_3.TicketTypesClient(this._options)));
74
75
  }
75
76
  get orders() {
76
77
  var _a;
77
- return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new Client_js_1.OrdersClient(this._options)));
78
+ return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new Client_js_2.OrdersClient(this._options)));
79
+ }
80
+ get checkIn() {
81
+ var _a;
82
+ return ((_a = this._checkIn) !== null && _a !== void 0 ? _a : (this._checkIn = new Client_js_1.CheckInClient(this._options)));
78
83
  }
79
84
  /**
80
85
  * Accepts an optional `filter` query param: `upcoming`, `past`, or `all` (default `all`).
@@ -0,0 +1,57 @@
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 type * as FiveOneEat from "../../../../../../../index.js";
5
+ export declare namespace CheckInClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ export declare class CheckInClient {
11
+ protected readonly _options: NormalizedClientOptionsWithAuth<CheckInClient.Options>;
12
+ constructor(options?: CheckInClient.Options);
13
+ /**
14
+ * @param {FiveOneEat.business.events.LookupCheckInRequest} request
15
+ * @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
16
+ *
17
+ * @example
18
+ * await client.business.events.checkIn.lookup({
19
+ * event: "event"
20
+ * })
21
+ */
22
+ lookup(request: FiveOneEat.business.events.LookupCheckInRequest, requestOptions?: CheckInClient.RequestOptions): core.HttpResponsePromise<void>;
23
+ private __lookup;
24
+ /**
25
+ * @param {FiveOneEat.business.events.ScanCheckInRequest} request
26
+ * @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
27
+ *
28
+ * @example
29
+ * await client.business.events.checkIn.scan({
30
+ * event: "event"
31
+ * })
32
+ */
33
+ scan(request: FiveOneEat.business.events.ScanCheckInRequest, requestOptions?: CheckInClient.RequestOptions): core.HttpResponsePromise<void>;
34
+ private __scan;
35
+ /**
36
+ * @param {FiveOneEat.business.events.StatsCheckInRequest} request
37
+ * @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
38
+ *
39
+ * @example
40
+ * await client.business.events.checkIn.stats({
41
+ * event: "event"
42
+ * })
43
+ */
44
+ stats(request: FiveOneEat.business.events.StatsCheckInRequest, requestOptions?: CheckInClient.RequestOptions): core.HttpResponsePromise<void>;
45
+ private __stats;
46
+ /**
47
+ * @param {FiveOneEat.business.events.RecentCheckInRequest} request
48
+ * @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
49
+ *
50
+ * @example
51
+ * await client.business.events.checkIn.recent({
52
+ * event: "event"
53
+ * })
54
+ */
55
+ recent(request: FiveOneEat.business.events.RecentCheckInRequest, requestOptions?: CheckInClient.RequestOptions): core.HttpResponsePromise<void>;
56
+ private __recent;
57
+ }
@@ -0,0 +1,226 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
46
+ exports.CheckInClient = void 0;
47
+ const BaseClient_js_1 = require("../../../../../../../../BaseClient.js");
48
+ const headers_js_1 = require("../../../../../../../../core/headers.js");
49
+ const core = __importStar(require("../../../../../../../../core/index.js"));
50
+ const environments = __importStar(require("../../../../../../../../environments.js"));
51
+ const handleNonStatusCodeError_js_1 = require("../../../../../../../../errors/handleNonStatusCodeError.js");
52
+ const errors = __importStar(require("../../../../../../../../errors/index.js"));
53
+ class CheckInClient {
54
+ constructor(options = {}) {
55
+ this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
56
+ }
57
+ /**
58
+ * @param {FiveOneEat.business.events.LookupCheckInRequest} request
59
+ * @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
60
+ *
61
+ * @example
62
+ * await client.business.events.checkIn.lookup({
63
+ * event: "event"
64
+ * })
65
+ */
66
+ lookup(request, requestOptions) {
67
+ return core.HttpResponsePromise.fromPromise(this.__lookup(request, requestOptions));
68
+ }
69
+ __lookup(request, requestOptions) {
70
+ return __awaiter(this, void 0, void 0, function* () {
71
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
72
+ const { event } = request;
73
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
74
+ 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);
75
+ const _response = yield core.fetcher({
76
+ 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, `business/events/${core.url.encodePathParam(event)}/check-in/lookup`),
77
+ method: "POST",
78
+ headers: _headers,
79
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
80
+ 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,
81
+ 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,
82
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
83
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
84
+ logging: this._options.logging,
85
+ });
86
+ if (_response.ok) {
87
+ return { data: undefined, rawResponse: _response.rawResponse };
88
+ }
89
+ if (_response.error.reason === "status-code") {
90
+ throw new errors.FiveOneEatError({
91
+ statusCode: _response.error.statusCode,
92
+ body: _response.error.body,
93
+ rawResponse: _response.rawResponse,
94
+ });
95
+ }
96
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/business/events/{event}/check-in/lookup");
97
+ });
98
+ }
99
+ /**
100
+ * @param {FiveOneEat.business.events.ScanCheckInRequest} request
101
+ * @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
102
+ *
103
+ * @example
104
+ * await client.business.events.checkIn.scan({
105
+ * event: "event"
106
+ * })
107
+ */
108
+ scan(request, requestOptions) {
109
+ return core.HttpResponsePromise.fromPromise(this.__scan(request, requestOptions));
110
+ }
111
+ __scan(request, requestOptions) {
112
+ return __awaiter(this, void 0, void 0, function* () {
113
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
114
+ const { event } = request;
115
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
116
+ 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);
117
+ const _response = yield core.fetcher({
118
+ 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, `business/events/${core.url.encodePathParam(event)}/check-in/scan`),
119
+ method: "POST",
120
+ headers: _headers,
121
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
122
+ 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,
123
+ 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,
124
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
125
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
126
+ logging: this._options.logging,
127
+ });
128
+ if (_response.ok) {
129
+ return { data: undefined, rawResponse: _response.rawResponse };
130
+ }
131
+ if (_response.error.reason === "status-code") {
132
+ throw new errors.FiveOneEatError({
133
+ statusCode: _response.error.statusCode,
134
+ body: _response.error.body,
135
+ rawResponse: _response.rawResponse,
136
+ });
137
+ }
138
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/business/events/{event}/check-in/scan");
139
+ });
140
+ }
141
+ /**
142
+ * @param {FiveOneEat.business.events.StatsCheckInRequest} request
143
+ * @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
144
+ *
145
+ * @example
146
+ * await client.business.events.checkIn.stats({
147
+ * event: "event"
148
+ * })
149
+ */
150
+ stats(request, requestOptions) {
151
+ return core.HttpResponsePromise.fromPromise(this.__stats(request, requestOptions));
152
+ }
153
+ __stats(request, requestOptions) {
154
+ return __awaiter(this, void 0, void 0, function* () {
155
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
156
+ const { event } = request;
157
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
158
+ 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);
159
+ const _response = yield core.fetcher({
160
+ 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, `business/events/${core.url.encodePathParam(event)}/check-in/stats`),
161
+ method: "GET",
162
+ headers: _headers,
163
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
164
+ 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,
165
+ 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,
166
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
167
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
168
+ logging: this._options.logging,
169
+ });
170
+ if (_response.ok) {
171
+ return { data: undefined, rawResponse: _response.rawResponse };
172
+ }
173
+ if (_response.error.reason === "status-code") {
174
+ throw new errors.FiveOneEatError({
175
+ statusCode: _response.error.statusCode,
176
+ body: _response.error.body,
177
+ rawResponse: _response.rawResponse,
178
+ });
179
+ }
180
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/business/events/{event}/check-in/stats");
181
+ });
182
+ }
183
+ /**
184
+ * @param {FiveOneEat.business.events.RecentCheckInRequest} request
185
+ * @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
186
+ *
187
+ * @example
188
+ * await client.business.events.checkIn.recent({
189
+ * event: "event"
190
+ * })
191
+ */
192
+ recent(request, requestOptions) {
193
+ return core.HttpResponsePromise.fromPromise(this.__recent(request, requestOptions));
194
+ }
195
+ __recent(request, requestOptions) {
196
+ return __awaiter(this, void 0, void 0, function* () {
197
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
198
+ const { event } = request;
199
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
200
+ 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);
201
+ const _response = yield core.fetcher({
202
+ 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, `business/events/${core.url.encodePathParam(event)}/check-in/recent`),
203
+ method: "GET",
204
+ headers: _headers,
205
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
206
+ 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,
207
+ 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,
208
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
209
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
210
+ logging: this._options.logging,
211
+ });
212
+ if (_response.ok) {
213
+ return { data: undefined, rawResponse: _response.rawResponse };
214
+ }
215
+ if (_response.error.reason === "status-code") {
216
+ throw new errors.FiveOneEatError({
217
+ statusCode: _response.error.statusCode,
218
+ body: _response.error.body,
219
+ rawResponse: _response.rawResponse,
220
+ });
221
+ }
222
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/business/events/{event}/check-in/recent");
223
+ });
224
+ }
225
+ }
226
+ exports.CheckInClient = CheckInClient;
@@ -4,6 +4,6 @@
4
4
  * event: "event"
5
5
  * }
6
6
  */
7
- export interface HoldTicketsTicketingRequest {
7
+ export interface LookupCheckInRequest {
8
8
  event: string;
9
9
  }
@@ -4,6 +4,6 @@
4
4
  * event: "event"
5
5
  * }
6
6
  */
7
- export interface HoldTicketsTicketingRequest {
7
+ export interface RecentCheckInRequest {
8
8
  event: string;
9
9
  }
@@ -4,6 +4,6 @@
4
4
  * event: "event"
5
5
  * }
6
6
  */
7
- export interface ConfirmOrderTicketingRequest {
7
+ export interface ScanCheckInRequest {
8
8
  event: string;
9
9
  }
@@ -4,6 +4,6 @@
4
4
  * event: "event"
5
5
  * }
6
6
  */
7
- export interface ConfirmOrderTicketingRequest {
7
+ export interface StatsCheckInRequest {
8
8
  event: string;
9
9
  }
@@ -0,0 +1,4 @@
1
+ export type { LookupCheckInRequest } from "./LookupCheckInRequest.js";
2
+ export type { RecentCheckInRequest } from "./RecentCheckInRequest.js";
3
+ export type { ScanCheckInRequest } from "./ScanCheckInRequest.js";
4
+ export type { StatsCheckInRequest } from "./StatsCheckInRequest.js";
@@ -0,0 +1,2 @@
1
+ export { CheckInClient } from "./client/Client.js";
2
+ export * from "./client/index.js";
@@ -15,7 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
16
  };
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.CustomerEventsClient = void 0;
18
+ exports.CheckInClient = void 0;
19
19
  var Client_js_1 = require("./client/Client.js");
20
- Object.defineProperty(exports, "CustomerEventsClient", { enumerable: true, get: function () { return Client_js_1.CustomerEventsClient; } });
20
+ Object.defineProperty(exports, "CheckInClient", { enumerable: true, get: function () { return Client_js_1.CheckInClient; } });
21
21
  __exportStar(require("./client/index.js"), exports);
@@ -1,2 +1 @@
1
1
  export * from "./client/index.js";
2
- export * from "./types/index.js";
@@ -15,4 +15,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./client/index.js"), exports);
18
- __exportStar(require("./types/index.js"), exports);
@@ -1,3 +1,5 @@
1
+ export * from "./checkIn/client/requests/index.js";
2
+ export * as checkIn from "./checkIn/index.js";
1
3
  export * from "./orders/client/requests/index.js";
2
4
  export * as orders from "./orders/index.js";
3
5
  export * from "./orders/types/index.js";
@@ -36,7 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ticketTypes = exports.orders = void 0;
39
+ exports.ticketTypes = exports.orders = exports.checkIn = void 0;
40
+ __exportStar(require("./checkIn/client/requests/index.js"), exports);
41
+ exports.checkIn = __importStar(require("./checkIn/index.js"));
40
42
  __exportStar(require("./orders/client/requests/index.js"), exports);
41
43
  exports.orders = __importStar(require("./orders/index.js"));
42
44
  __exportStar(require("./orders/types/index.js"), exports);
@@ -1,2 +1,3 @@
1
1
  export * from "./ticketing/client/requests/index.js";
2
2
  export * as ticketing from "./ticketing/index.js";
3
+ export * from "./ticketing/types/index.js";
@@ -39,3 +39,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.ticketing = void 0;
40
40
  __exportStar(require("./ticketing/client/requests/index.js"), exports);
41
41
  exports.ticketing = __importStar(require("./ticketing/index.js"));
42
+ __exportStar(require("./ticketing/types/index.js"), exports);