@51eat/sdk 0.0.55 → 0.0.56

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 (163) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/Client.d.ts +3 -3
  3. package/dist/cjs/Client.js +11 -11
  4. package/dist/cjs/api/resources/business/resources/discounts/client/requests/StoreDiscountRequest.d.ts +2 -2
  5. package/dist/cjs/api/resources/business/resources/discounts/client/requests/UpdateDiscountRequest.d.ts +2 -2
  6. package/dist/cjs/api/resources/business/resources/productCategories/client/requests/StoreProductCategoryRequest.d.ts +1 -1
  7. package/dist/cjs/api/resources/business/resources/productCategories/client/requests/UpdateProductCategoryRequest.d.ts +1 -1
  8. package/dist/cjs/api/resources/business/resources/productOrders/client/Client.d.ts +1 -1
  9. package/dist/cjs/api/resources/business/resources/productOrders/client/Client.js +4 -1
  10. package/dist/cjs/api/resources/business/resources/productOrders/types/GetLabelRatesProductOrdersResponseItem.d.ts +10 -0
  11. package/dist/cjs/api/resources/business/resources/productOrders/types/index.d.ts +1 -0
  12. package/dist/cjs/api/resources/business/resources/productOrders/types/index.js +1 -0
  13. package/dist/cjs/api/resources/business/resources/products/client/requests/StoreProductRequest.d.ts +1 -1
  14. package/dist/cjs/api/resources/business/resources/products/client/requests/UpdateProductRequest.d.ts +1 -1
  15. package/dist/cjs/api/resources/business/resources/pushNotifications/types/RegisterPushNotificationsResponse.d.ts +3 -3
  16. package/dist/cjs/api/resources/business/resources/stripeConnect/types/CreateAccountSessionStripeConnectResponse.d.ts +1 -1
  17. package/dist/cjs/api/resources/businessProducts/client/requests/AdjustInventoryRequest.d.ts +2 -10
  18. package/dist/cjs/api/resources/businessProducts/client/requests/AdjustInventoryRequest.js +0 -8
  19. package/dist/cjs/api/resources/customer/resources/businesses/client/Client.d.ts +2 -1
  20. package/dist/cjs/api/resources/customer/resources/businesses/client/Client.js +4 -1
  21. package/dist/cjs/api/resources/customer/resources/cart/client/Client.d.ts +2 -2
  22. package/dist/cjs/api/resources/customer/resources/cart/client/Client.js +5 -2
  23. package/dist/cjs/api/resources/customer/resources/cart/client/requests/AddToCartRequest.d.ts +3 -3
  24. package/dist/cjs/api/resources/customer/resources/cart/types/GetShippingOptionsCartResponseItem.d.ts +19 -0
  25. package/dist/cjs/api/resources/customer/resources/cart/types/SelectShippingOptionCartResponse.d.ts +2 -7
  26. package/dist/cjs/api/resources/customer/resources/cart/types/index.d.ts +1 -0
  27. package/dist/cjs/api/resources/customer/resources/cart/types/index.js +1 -0
  28. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/types/CalculatePriceTicketingResponse.d.ts +13 -1
  29. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/types/ConfirmOrderTicketingResponse.d.ts +3 -3
  30. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/types/HoldTicketsTicketingResponse.d.ts +13 -2
  31. package/dist/cjs/api/resources/customer/resources/pushNotifications/types/RegisterPushNotificationsResponse.d.ts +3 -3
  32. package/dist/cjs/api/resources/customerBusinesses/client/Client.d.ts +30 -0
  33. package/dist/cjs/api/resources/{getPickupTimeslots → customerBusinesses}/client/Client.js +12 -10
  34. package/dist/cjs/api/resources/customerBusinesses/client/requests/GetBusinessPickupTimeslotsRequest.d.ts +12 -0
  35. package/dist/cjs/api/resources/customerBusinesses/client/requests/index.d.ts +1 -0
  36. package/dist/cjs/api/resources/customerBusinesses/exports.d.ts +2 -0
  37. package/dist/cjs/api/resources/{getPickupTimeslots → customerBusinesses}/exports.js +2 -2
  38. package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessPickupTimeslotsResponse.d.ts +7 -0
  39. package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessPickupTimeslotsResponse.js +3 -0
  40. package/dist/cjs/api/resources/customerBusinesses/types/index.d.ts +1 -0
  41. package/dist/cjs/api/resources/{getPickupTimeslots → customerBusinesses}/types/index.js +1 -1
  42. package/dist/cjs/api/resources/customerMyAccount/client/Client.d.ts +16 -0
  43. package/dist/cjs/api/resources/customerMyAccount/client/Client.js +54 -0
  44. package/dist/cjs/api/resources/customerMyAccount/client/requests/DownloadAppleWalletPassRequest.d.ts +9 -0
  45. package/dist/cjs/api/resources/customerMyAccount/client/requests/DownloadAppleWalletPassRequest.js +3 -0
  46. package/dist/cjs/api/resources/customerMyAccount/client/requests/index.d.ts +1 -0
  47. package/dist/cjs/api/resources/index.d.ts +3 -3
  48. package/dist/cjs/api/resources/index.js +4 -4
  49. package/dist/cjs/api/resources/serveAd/client/Client.d.ts +1 -1
  50. package/dist/cjs/api/resources/serveAd/client/Client.js +4 -1
  51. package/dist/cjs/api/resources/serveAd/types/AdsServeAdResponse.d.ts +2 -2
  52. package/dist/cjs/api/types/Ad.d.ts +1 -4
  53. package/dist/cjs/api/types/BusinessConversation.d.ts +1 -1
  54. package/dist/cjs/api/types/BusinessEventCheckInStats.d.ts +1 -1
  55. package/dist/cjs/api/types/BusinessEventSalesSummary.d.ts +1 -1
  56. package/dist/cjs/api/types/BusinessMenuItem.d.ts +22 -2
  57. package/dist/cjs/api/types/Conversation.d.ts +1 -1
  58. package/dist/cjs/api/types/CustomerProductOrderItem.d.ts +10 -1
  59. package/dist/cjs/api/types/InventoryChangeType.d.ts +9 -0
  60. package/dist/cjs/api/types/InventoryChangeType.js +12 -0
  61. package/dist/cjs/api/types/Ticket.d.ts +1 -0
  62. package/dist/cjs/api/types/index.d.ts +1 -1
  63. package/dist/cjs/api/types/index.js +1 -1
  64. package/dist/cjs/version.d.ts +1 -1
  65. package/dist/cjs/version.js +1 -1
  66. package/dist/esm/BaseClient.mjs +2 -2
  67. package/dist/esm/Client.d.mts +3 -3
  68. package/dist/esm/Client.mjs +5 -5
  69. package/dist/esm/api/resources/business/resources/discounts/client/requests/StoreDiscountRequest.d.mts +2 -2
  70. package/dist/esm/api/resources/business/resources/discounts/client/requests/UpdateDiscountRequest.d.mts +2 -2
  71. package/dist/esm/api/resources/business/resources/productCategories/client/requests/StoreProductCategoryRequest.d.mts +1 -1
  72. package/dist/esm/api/resources/business/resources/productCategories/client/requests/UpdateProductCategoryRequest.d.mts +1 -1
  73. package/dist/esm/api/resources/business/resources/productOrders/client/Client.d.mts +1 -1
  74. package/dist/esm/api/resources/business/resources/productOrders/client/Client.mjs +4 -1
  75. package/dist/esm/api/resources/business/resources/productOrders/types/GetLabelRatesProductOrdersResponseItem.d.mts +10 -0
  76. package/dist/esm/api/resources/business/resources/productOrders/types/index.d.mts +1 -0
  77. package/dist/esm/api/resources/business/resources/productOrders/types/index.mjs +1 -0
  78. package/dist/esm/api/resources/business/resources/products/client/requests/StoreProductRequest.d.mts +1 -1
  79. package/dist/esm/api/resources/business/resources/products/client/requests/UpdateProductRequest.d.mts +1 -1
  80. package/dist/esm/api/resources/business/resources/pushNotifications/types/RegisterPushNotificationsResponse.d.mts +3 -3
  81. package/dist/esm/api/resources/business/resources/stripeConnect/types/CreateAccountSessionStripeConnectResponse.d.mts +1 -1
  82. package/dist/esm/api/resources/businessProducts/client/requests/AdjustInventoryRequest.d.mts +2 -10
  83. package/dist/esm/api/resources/businessProducts/client/requests/AdjustInventoryRequest.mjs +0 -8
  84. package/dist/esm/api/resources/customer/resources/businesses/client/Client.d.mts +2 -1
  85. package/dist/esm/api/resources/customer/resources/businesses/client/Client.mjs +4 -1
  86. package/dist/esm/api/resources/customer/resources/cart/client/Client.d.mts +2 -2
  87. package/dist/esm/api/resources/customer/resources/cart/client/Client.mjs +5 -2
  88. package/dist/esm/api/resources/customer/resources/cart/client/requests/AddToCartRequest.d.mts +3 -3
  89. package/dist/esm/api/resources/customer/resources/cart/types/GetShippingOptionsCartResponseItem.d.mts +19 -0
  90. package/dist/esm/api/resources/customer/resources/cart/types/SelectShippingOptionCartResponse.d.mts +2 -7
  91. package/dist/esm/api/resources/customer/resources/cart/types/index.d.mts +1 -0
  92. package/dist/esm/api/resources/customer/resources/cart/types/index.mjs +1 -0
  93. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/types/CalculatePriceTicketingResponse.d.mts +13 -1
  94. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/types/ConfirmOrderTicketingResponse.d.mts +3 -3
  95. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/types/HoldTicketsTicketingResponse.d.mts +13 -2
  96. package/dist/esm/api/resources/customer/resources/pushNotifications/types/RegisterPushNotificationsResponse.d.mts +3 -3
  97. package/dist/esm/api/resources/customerBusinesses/client/Client.d.mts +30 -0
  98. package/dist/esm/api/resources/{getPickupTimeslots → customerBusinesses}/client/Client.mjs +10 -8
  99. package/dist/esm/api/resources/customerBusinesses/client/requests/GetBusinessPickupTimeslotsRequest.d.mts +12 -0
  100. package/dist/esm/api/resources/customerBusinesses/client/requests/index.d.mts +1 -0
  101. package/dist/esm/api/resources/customerBusinesses/exports.d.mts +2 -0
  102. package/dist/esm/api/resources/{getPickupTimeslots → customerBusinesses}/exports.mjs +1 -1
  103. package/dist/esm/api/resources/customerBusinesses/types/GetBusinessPickupTimeslotsResponse.d.mts +7 -0
  104. package/dist/esm/api/resources/customerBusinesses/types/GetBusinessPickupTimeslotsResponse.mjs +2 -0
  105. package/dist/esm/api/resources/customerBusinesses/types/index.d.mts +1 -0
  106. package/dist/esm/api/resources/customerBusinesses/types/index.mjs +1 -0
  107. package/dist/esm/api/resources/customerMyAccount/client/Client.d.mts +16 -0
  108. package/dist/esm/api/resources/customerMyAccount/client/Client.mjs +54 -0
  109. package/dist/esm/api/resources/customerMyAccount/client/requests/DownloadAppleWalletPassRequest.d.mts +9 -0
  110. package/dist/esm/api/resources/customerMyAccount/client/requests/DownloadAppleWalletPassRequest.mjs +2 -0
  111. package/dist/esm/api/resources/customerMyAccount/client/requests/index.d.mts +1 -0
  112. package/dist/esm/api/resources/index.d.mts +3 -3
  113. package/dist/esm/api/resources/index.mjs +3 -3
  114. package/dist/esm/api/resources/serveAd/client/Client.d.mts +1 -1
  115. package/dist/esm/api/resources/serveAd/client/Client.mjs +4 -1
  116. package/dist/esm/api/resources/serveAd/types/AdsServeAdResponse.d.mts +2 -2
  117. package/dist/esm/api/types/Ad.d.mts +1 -4
  118. package/dist/esm/api/types/BusinessConversation.d.mts +1 -1
  119. package/dist/esm/api/types/BusinessEventCheckInStats.d.mts +1 -1
  120. package/dist/esm/api/types/BusinessEventSalesSummary.d.mts +1 -1
  121. package/dist/esm/api/types/BusinessMenuItem.d.mts +22 -2
  122. package/dist/esm/api/types/Conversation.d.mts +1 -1
  123. package/dist/esm/api/types/CustomerProductOrderItem.d.mts +10 -1
  124. package/dist/esm/api/types/InventoryChangeType.d.mts +9 -0
  125. package/dist/esm/api/types/InventoryChangeType.mjs +9 -0
  126. package/dist/esm/api/types/Ticket.d.mts +1 -0
  127. package/dist/esm/api/types/index.d.mts +1 -1
  128. package/dist/esm/api/types/index.mjs +1 -1
  129. package/dist/esm/version.d.mts +1 -1
  130. package/dist/esm/version.mjs +1 -1
  131. package/package.json +12 -12
  132. package/reference.md +108 -29
  133. package/dist/cjs/api/resources/getPickupTimeslots/client/Client.d.ts +0 -28
  134. package/dist/cjs/api/resources/getPickupTimeslots/client/requests/BusinessesGetPickupTimeslotsRequest.d.ts +0 -11
  135. package/dist/cjs/api/resources/getPickupTimeslots/client/requests/index.d.ts +0 -1
  136. package/dist/cjs/api/resources/getPickupTimeslots/exports.d.ts +0 -2
  137. package/dist/cjs/api/resources/getPickupTimeslots/types/BusinessesGetPickupTimeslotsResponse.d.ts +0 -7
  138. package/dist/cjs/api/resources/getPickupTimeslots/types/index.d.ts +0 -1
  139. package/dist/cjs/api/types/JsonResource.d.ts +0 -1
  140. package/dist/esm/api/resources/getPickupTimeslots/client/Client.d.mts +0 -28
  141. package/dist/esm/api/resources/getPickupTimeslots/client/requests/BusinessesGetPickupTimeslotsRequest.d.mts +0 -11
  142. package/dist/esm/api/resources/getPickupTimeslots/client/requests/index.d.mts +0 -1
  143. package/dist/esm/api/resources/getPickupTimeslots/exports.d.mts +0 -2
  144. package/dist/esm/api/resources/getPickupTimeslots/types/BusinessesGetPickupTimeslotsResponse.d.mts +0 -7
  145. package/dist/esm/api/resources/getPickupTimeslots/types/index.d.mts +0 -1
  146. package/dist/esm/api/resources/getPickupTimeslots/types/index.mjs +0 -1
  147. package/dist/esm/api/types/JsonResource.d.mts +0 -1
  148. /package/dist/cjs/api/resources/{getPickupTimeslots/client/requests/BusinessesGetPickupTimeslotsRequest.js → business/resources/productOrders/types/GetLabelRatesProductOrdersResponseItem.js} +0 -0
  149. /package/dist/cjs/api/resources/{getPickupTimeslots/types/BusinessesGetPickupTimeslotsResponse.js → customer/resources/cart/types/GetShippingOptionsCartResponseItem.js} +0 -0
  150. /package/dist/cjs/api/resources/{getPickupTimeslots → customerBusinesses}/client/index.d.ts +0 -0
  151. /package/dist/cjs/api/resources/{getPickupTimeslots → customerBusinesses}/client/index.js +0 -0
  152. /package/dist/cjs/api/{types/JsonResource.js → resources/customerBusinesses/client/requests/GetBusinessPickupTimeslotsRequest.js} +0 -0
  153. /package/dist/cjs/api/resources/{getPickupTimeslots → customerBusinesses}/client/requests/index.js +0 -0
  154. /package/dist/cjs/api/resources/{getPickupTimeslots → customerBusinesses}/index.d.ts +0 -0
  155. /package/dist/cjs/api/resources/{getPickupTimeslots → customerBusinesses}/index.js +0 -0
  156. /package/dist/esm/api/resources/{getPickupTimeslots/client/requests/BusinessesGetPickupTimeslotsRequest.mjs → business/resources/productOrders/types/GetLabelRatesProductOrdersResponseItem.mjs} +0 -0
  157. /package/dist/esm/api/resources/{getPickupTimeslots/types/BusinessesGetPickupTimeslotsResponse.mjs → customer/resources/cart/types/GetShippingOptionsCartResponseItem.mjs} +0 -0
  158. /package/dist/esm/api/resources/{getPickupTimeslots → customerBusinesses}/client/index.d.mts +0 -0
  159. /package/dist/esm/api/resources/{getPickupTimeslots → customerBusinesses}/client/index.mjs +0 -0
  160. /package/dist/esm/api/{types/JsonResource.mjs → resources/customerBusinesses/client/requests/GetBusinessPickupTimeslotsRequest.mjs} +0 -0
  161. /package/dist/esm/api/resources/{getPickupTimeslots → customerBusinesses}/client/requests/index.mjs +0 -0
  162. /package/dist/esm/api/resources/{getPickupTimeslots → customerBusinesses}/index.d.mts +0 -0
  163. /package/dist/esm/api/resources/{getPickupTimeslots → customerBusinesses}/index.mjs +0 -0
@@ -5,6 +5,7 @@ export interface Ticket {
5
5
  qr_code: string | null;
6
6
  ticket_type?: Ticket.TicketType | undefined;
7
7
  used_at: string;
8
+ wallet_url: Record<string, string>;
8
9
  }
9
10
  export declare namespace Ticket {
10
11
  interface TicketType {
@@ -119,7 +119,7 @@ export * from "./FavoriteResponse.mjs";
119
119
  export * from "./ForbiddenErrorBody.mjs";
120
120
  export * from "./Image.mjs";
121
121
  export * from "./InternalServerErrorBody.mjs";
122
- export * from "./JsonResource.mjs";
122
+ export * from "./InventoryChangeType.mjs";
123
123
  export * from "./MenuItemSearchResult.mjs";
124
124
  export * from "./Message.mjs";
125
125
  export * from "./NotFoundErrorBody.mjs";
@@ -119,7 +119,7 @@ export * from "./FavoriteResponse.mjs";
119
119
  export * from "./ForbiddenErrorBody.mjs";
120
120
  export * from "./Image.mjs";
121
121
  export * from "./InternalServerErrorBody.mjs";
122
- export * from "./JsonResource.mjs";
122
+ export * from "./InventoryChangeType.mjs";
123
123
  export * from "./MenuItemSearchResult.mjs";
124
124
  export * from "./Message.mjs";
125
125
  export * from "./NotFoundErrorBody.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.55";
1
+ export declare const SDK_VERSION = "0.0.56";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.0.55";
1
+ export const SDK_VERSION = "0.0.56";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@51eat/sdk",
3
- "version": "0.0.55",
3
+ "version": "0.0.56",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -55,6 +55,17 @@
55
55
  },
56
56
  "default": "./dist/cjs/api/resources/businessShipping/exports.js"
57
57
  },
58
+ "./customerBusinesses": {
59
+ "import": {
60
+ "types": "./dist/esm/api/resources/customerBusinesses/exports.d.mts",
61
+ "default": "./dist/esm/api/resources/customerBusinesses/exports.mjs"
62
+ },
63
+ "require": {
64
+ "types": "./dist/cjs/api/resources/customerBusinesses/exports.d.ts",
65
+ "default": "./dist/cjs/api/resources/customerBusinesses/exports.js"
66
+ },
67
+ "default": "./dist/cjs/api/resources/customerBusinesses/exports.js"
68
+ },
58
69
  "./customerEvents": {
59
70
  "import": {
60
71
  "types": "./dist/esm/api/resources/customerEvents/exports.d.mts",
@@ -99,17 +110,6 @@
99
110
  },
100
111
  "default": "./dist/cjs/api/resources/customer/exports.js"
101
112
  },
102
- "./getPickupTimeslots": {
103
- "import": {
104
- "types": "./dist/esm/api/resources/getPickupTimeslots/exports.d.mts",
105
- "default": "./dist/esm/api/resources/getPickupTimeslots/exports.mjs"
106
- },
107
- "require": {
108
- "types": "./dist/cjs/api/resources/getPickupTimeslots/exports.d.ts",
109
- "default": "./dist/cjs/api/resources/getPickupTimeslots/exports.js"
110
- },
111
- "default": "./dist/cjs/api/resources/getPickupTimeslots/exports.js"
112
- },
113
113
  "./recordClick": {
114
114
  "import": {
115
115
  "types": "./dist/esm/api/resources/recordClick/exports.d.mts",
package/reference.md CHANGED
@@ -656,6 +656,73 @@ await client.businessShipping.deleteBusinessShippingRate({
656
656
  </dl>
657
657
 
658
658
 
659
+ </dd>
660
+ </dl>
661
+ </details>
662
+
663
+ ## Customer: Businesses
664
+ <details><summary><code>client.customerBusinesses.<a href="/src/api/resources/customerBusinesses/client/Client.ts">getBusinessPickupTimeslots</a>({ ...params }) -> FiveOneEat.GetBusinessPickupTimeslotsResponse</code></summary>
665
+ <dl>
666
+ <dd>
667
+
668
+ #### 📝 Description
669
+
670
+ <dl>
671
+ <dd>
672
+
673
+ <dl>
674
+ <dd>
675
+
676
+ Returns available pickup timeslots for a business on a given date.
677
+ </dd>
678
+ </dl>
679
+ </dd>
680
+ </dl>
681
+
682
+ #### 🔌 Usage
683
+
684
+ <dl>
685
+ <dd>
686
+
687
+ <dl>
688
+ <dd>
689
+
690
+ ```typescript
691
+ await client.customerBusinesses.getBusinessPickupTimeslots({
692
+ handle: "katzs-deli",
693
+ date: "2023-01-15"
694
+ });
695
+
696
+ ```
697
+ </dd>
698
+ </dl>
699
+ </dd>
700
+ </dl>
701
+
702
+ #### ⚙️ Parameters
703
+
704
+ <dl>
705
+ <dd>
706
+
707
+ <dl>
708
+ <dd>
709
+
710
+ **request:** `FiveOneEat.GetBusinessPickupTimeslotsRequest`
711
+
712
+ </dd>
713
+ </dl>
714
+
715
+ <dl>
716
+ <dd>
717
+
718
+ **requestOptions:** `CustomerBusinessesClient.RequestOptions`
719
+
720
+ </dd>
721
+ </dl>
722
+ </dd>
723
+ </dl>
724
+
725
+
659
726
  </dd>
660
727
  </dl>
661
728
  </details>
@@ -845,7 +912,7 @@ await client.customerMyAccount.getMyTicket({
845
912
  </dl>
846
913
  </details>
847
914
 
848
- <details><summary><code>client.customerMyAccount.<a href="/src/api/resources/customerMyAccount/client/Client.ts">getMyTicketOrder</a>({ ...params }) -> FiveOneEat.GetMyTicketOrderResponse</code></summary>
915
+ <details><summary><code>client.customerMyAccount.<a href="/src/api/resources/customerMyAccount/client/Client.ts">downloadAppleWalletPass</a>({ ...params }) -> Record&lt;string, unknown&gt;</code></summary>
849
916
  <dl>
850
917
  <dd>
851
918
 
@@ -857,7 +924,7 @@ await client.customerMyAccount.getMyTicket({
857
924
  <dl>
858
925
  <dd>
859
926
 
860
- Retrieve a single ticket order belonging to the authenticated user.
927
+ Returns a signed .pkpass file for import into Apple Wallet.
861
928
  </dd>
862
929
  </dl>
863
930
  </dd>
@@ -872,8 +939,8 @@ Retrieve a single ticket order belonging to the authenticated user.
872
939
  <dd>
873
940
 
874
941
  ```typescript
875
- await client.customerMyAccount.getMyTicketOrder({
876
- orderId: "orderId"
942
+ await client.customerMyAccount.downloadAppleWalletPass({
943
+ ticketId: "ticketId"
877
944
  });
878
945
 
879
946
  ```
@@ -890,7 +957,7 @@ await client.customerMyAccount.getMyTicketOrder({
890
957
  <dl>
891
958
  <dd>
892
959
 
893
- **request:** `FiveOneEat.GetMyTicketOrderRequest`
960
+ **request:** `FiveOneEat.DownloadAppleWalletPassRequest`
894
961
 
895
962
  </dd>
896
963
  </dl>
@@ -910,8 +977,7 @@ await client.customerMyAccount.getMyTicketOrder({
910
977
  </dl>
911
978
  </details>
912
979
 
913
- ## Customer
914
- <details><summary><code>client.customer.<a href="/src/api/resources/customer/client/Client.ts">search</a>({ ...params }) -> FiveOneEat.SearchCustomerResponse</code></summary>
980
+ <details><summary><code>client.customerMyAccount.<a href="/src/api/resources/customerMyAccount/client/Client.ts">getMyTicketOrder</a>({ ...params }) -> FiveOneEat.GetMyTicketOrderResponse</code></summary>
915
981
  <dl>
916
982
  <dd>
917
983
 
@@ -923,8 +989,7 @@ await client.customerMyAccount.getMyTicketOrder({
923
989
  <dl>
924
990
  <dd>
925
991
 
926
- Returns grouped results for each type. Use per_type to control how many results
927
- appear per section. Optionally filter by category, city, or geo radius.
992
+ Retrieve a single ticket order belonging to the authenticated user.
928
993
  </dd>
929
994
  </dl>
930
995
  </dd>
@@ -939,12 +1004,8 @@ appear per section. Optionally filter by category, city, or geo radius.
939
1004
  <dd>
940
1005
 
941
1006
  ```typescript
942
- await client.customer.search({
943
- q: "wings",
944
- categories: "restaurant,bakery",
945
- city: "Buffalo",
946
- cuisines: "italian,mexican",
947
- certifications: "kosher,halal"
1007
+ await client.customerMyAccount.getMyTicketOrder({
1008
+ orderId: "orderId"
948
1009
  });
949
1010
 
950
1011
  ```
@@ -961,7 +1022,7 @@ await client.customer.search({
961
1022
  <dl>
962
1023
  <dd>
963
1024
 
964
- **request:** `FiveOneEat.SearchCustomerRequest`
1025
+ **request:** `FiveOneEat.GetMyTicketOrderRequest`
965
1026
 
966
1027
  </dd>
967
1028
  </dl>
@@ -969,7 +1030,7 @@ await client.customer.search({
969
1030
  <dl>
970
1031
  <dd>
971
1032
 
972
- **requestOptions:** `CustomerClient.RequestOptions`
1033
+ **requestOptions:** `CustomerMyAccountClient.RequestOptions`
973
1034
 
974
1035
  </dd>
975
1036
  </dl>
@@ -981,11 +1042,26 @@ await client.customer.search({
981
1042
  </dl>
982
1043
  </details>
983
1044
 
984
- ## GetPickupTimeslots
985
- <details><summary><code>client.getPickupTimeslots.<a href="/src/api/resources/getPickupTimeslots/client/Client.ts">businessesGetPickupTimeslots</a>({ ...params }) -> FiveOneEat.BusinessesGetPickupTimeslotsResponse</code></summary>
1045
+ ## Customer
1046
+ <details><summary><code>client.customer.<a href="/src/api/resources/customer/client/Client.ts">search</a>({ ...params }) -> FiveOneEat.SearchCustomerResponse</code></summary>
1047
+ <dl>
1048
+ <dd>
1049
+
1050
+ #### 📝 Description
1051
+
986
1052
  <dl>
987
1053
  <dd>
988
1054
 
1055
+ <dl>
1056
+ <dd>
1057
+
1058
+ Returns grouped results for each type. Use per_type to control how many results
1059
+ appear per section. Optionally filter by category, city, or geo radius.
1060
+ </dd>
1061
+ </dl>
1062
+ </dd>
1063
+ </dl>
1064
+
989
1065
  #### 🔌 Usage
990
1066
 
991
1067
  <dl>
@@ -995,9 +1071,12 @@ await client.customer.search({
995
1071
  <dd>
996
1072
 
997
1073
  ```typescript
998
- await client.getPickupTimeslots.businessesGetPickupTimeslots({
999
- handle: "handle",
1000
- date: "2023-01-15"
1074
+ await client.customer.search({
1075
+ q: "wings",
1076
+ categories: "restaurant,bakery",
1077
+ city: "Buffalo",
1078
+ cuisines: "italian,mexican",
1079
+ certifications: "kosher,halal"
1001
1080
  });
1002
1081
 
1003
1082
  ```
@@ -1014,7 +1093,7 @@ await client.getPickupTimeslots.businessesGetPickupTimeslots({
1014
1093
  <dl>
1015
1094
  <dd>
1016
1095
 
1017
- **request:** `FiveOneEat.BusinessesGetPickupTimeslotsRequest`
1096
+ **request:** `FiveOneEat.SearchCustomerRequest`
1018
1097
 
1019
1098
  </dd>
1020
1099
  </dl>
@@ -1022,7 +1101,7 @@ await client.getPickupTimeslots.businessesGetPickupTimeslots({
1022
1101
  <dl>
1023
1102
  <dd>
1024
1103
 
1025
- **requestOptions:** `GetPickupTimeslotsClient.RequestOptions`
1104
+ **requestOptions:** `CustomerClient.RequestOptions`
1026
1105
 
1027
1106
  </dd>
1028
1107
  </dl>
@@ -1087,7 +1166,7 @@ await client.recordClick.adsRecordClick({
1087
1166
  </details>
1088
1167
 
1089
1168
  ## ServeAd
1090
- <details><summary><code>client.serveAd.<a href="/src/api/resources/serveAd/client/Client.ts">adsServeAd</a>({ ...params }) -> FiveOneEat.AdsServeAdResponse</code></summary>
1169
+ <details><summary><code>client.serveAd.<a href="/src/api/resources/serveAd/client/Client.ts">adsServeAd</a>({ ...params }) -> FiveOneEat.AdsServeAdResponse | undefined</code></summary>
1091
1170
  <dl>
1092
1171
  <dd>
1093
1172
 
@@ -4129,7 +4208,7 @@ await client.business.productOrders.refund({
4129
4208
  </dl>
4130
4209
  </details>
4131
4210
 
4132
- <details><summary><code>client.business.productOrders.<a href="/src/api/resources/business/resources/productOrders/client/Client.ts">getLabelRates</a>({ ...params }) -> string</code></summary>
4211
+ <details><summary><code>client.business.productOrders.<a href="/src/api/resources/business/resources/productOrders/client/Client.ts">getLabelRates</a>({ ...params }) -> FiveOneEat.GetLabelRatesProductOrdersResponseItem[]</code></summary>
4133
4212
  <dl>
4134
4213
  <dd>
4135
4214
 
@@ -9674,7 +9753,7 @@ await client.customer.businesses.favorite({
9674
9753
  </dl>
9675
9754
  </details>
9676
9755
 
9677
- <details><summary><code>client.customer.businesses.<a href="/src/api/resources/customer/resources/businesses/client/Client.ts">unfavorite</a>({ ...params }) -> Record&lt;string, unknown&gt;</code></summary>
9756
+ <details><summary><code>client.customer.businesses.<a href="/src/api/resources/customer/resources/businesses/client/Client.ts">unfavorite</a>({ ...params }) -> void</code></summary>
9678
9757
  <dl>
9679
9758
  <dd>
9680
9759
 
@@ -9922,7 +10001,7 @@ await client.customer.cart.get({
9922
10001
  ```typescript
9923
10002
  await client.customer.cart.addItem({
9924
10003
  business: "katzs-deli",
9925
- product_id: 1,
10004
+ product_id: "product_id",
9926
10005
  quantity: 1
9927
10006
  });
9928
10007
 
@@ -10260,7 +10339,7 @@ await client.customer.cart.removeItem({
10260
10339
  </dl>
10261
10340
  </details>
10262
10341
 
10263
- <details><summary><code>client.customer.cart.<a href="/src/api/resources/customer/resources/cart/client/Client.ts">getShippingOptions</a>({ ...params }) -> unknown[]</code></summary>
10342
+ <details><summary><code>client.customer.cart.<a href="/src/api/resources/customer/resources/cart/client/Client.ts">getShippingOptions</a>({ ...params }) -> FiveOneEat.GetShippingOptionsCartResponseItem[]</code></summary>
10264
10343
  <dl>
10265
10344
  <dd>
10266
10345
 
@@ -1,28 +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 GetPickupTimeslotsClient {
6
- type Options = BaseClientOptions;
7
- interface RequestOptions extends BaseRequestOptions {
8
- }
9
- }
10
- export declare class GetPickupTimeslotsClient {
11
- protected readonly _options: NormalizedClientOptionsWithAuth<GetPickupTimeslotsClient.Options>;
12
- constructor(options?: GetPickupTimeslotsClient.Options);
13
- /**
14
- * @param {FiveOneEat.BusinessesGetPickupTimeslotsRequest} request
15
- * @param {GetPickupTimeslotsClient.RequestOptions} requestOptions - Request-specific configuration.
16
- *
17
- * @throws {@link FiveOneEat.UnauthorizedError}
18
- * @throws {@link FiveOneEat.UnprocessableEntityError}
19
- *
20
- * @example
21
- * await client.getPickupTimeslots.businessesGetPickupTimeslots({
22
- * handle: "handle",
23
- * date: "2023-01-15"
24
- * })
25
- */
26
- businessesGetPickupTimeslots(request: FiveOneEat.BusinessesGetPickupTimeslotsRequest, requestOptions?: GetPickupTimeslotsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.BusinessesGetPickupTimeslotsResponse>;
27
- private __businessesGetPickupTimeslots;
28
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * @example
3
- * {
4
- * handle: "handle",
5
- * date: "2023-01-15"
6
- * }
7
- */
8
- export interface BusinessesGetPickupTimeslotsRequest {
9
- handle: string;
10
- date: string;
11
- }
@@ -1 +0,0 @@
1
- export type { BusinessesGetPickupTimeslotsRequest } from "./BusinessesGetPickupTimeslotsRequest.js";
@@ -1,2 +0,0 @@
1
- export { GetPickupTimeslotsClient } from "./client/Client.js";
2
- export * from "./client/index.js";
@@ -1,7 +0,0 @@
1
- export type BusinessesGetPickupTimeslotsResponse = {
2
- date: string;
3
- timeslots: unknown[];
4
- } | {
5
- date: string;
6
- timeslots: string[];
7
- };
@@ -1 +0,0 @@
1
- export * from "./BusinessesGetPickupTimeslotsResponse.js";
@@ -1 +0,0 @@
1
- export type JsonResource = string;
@@ -1,28 +0,0 @@
1
- import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.mjs";
2
- import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs";
3
- import * as core from "../../../../core/index.mjs";
4
- import * as FiveOneEat from "../../../index.mjs";
5
- export declare namespace GetPickupTimeslotsClient {
6
- type Options = BaseClientOptions;
7
- interface RequestOptions extends BaseRequestOptions {
8
- }
9
- }
10
- export declare class GetPickupTimeslotsClient {
11
- protected readonly _options: NormalizedClientOptionsWithAuth<GetPickupTimeslotsClient.Options>;
12
- constructor(options?: GetPickupTimeslotsClient.Options);
13
- /**
14
- * @param {FiveOneEat.BusinessesGetPickupTimeslotsRequest} request
15
- * @param {GetPickupTimeslotsClient.RequestOptions} requestOptions - Request-specific configuration.
16
- *
17
- * @throws {@link FiveOneEat.UnauthorizedError}
18
- * @throws {@link FiveOneEat.UnprocessableEntityError}
19
- *
20
- * @example
21
- * await client.getPickupTimeslots.businessesGetPickupTimeslots({
22
- * handle: "handle",
23
- * date: "2023-01-15"
24
- * })
25
- */
26
- businessesGetPickupTimeslots(request: FiveOneEat.BusinessesGetPickupTimeslotsRequest, requestOptions?: GetPickupTimeslotsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.BusinessesGetPickupTimeslotsResponse>;
27
- private __businessesGetPickupTimeslots;
28
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * @example
3
- * {
4
- * handle: "handle",
5
- * date: "2023-01-15"
6
- * }
7
- */
8
- export interface BusinessesGetPickupTimeslotsRequest {
9
- handle: string;
10
- date: string;
11
- }
@@ -1 +0,0 @@
1
- export type { BusinessesGetPickupTimeslotsRequest } from "./BusinessesGetPickupTimeslotsRequest.mjs";
@@ -1,2 +0,0 @@
1
- export { GetPickupTimeslotsClient } from "./client/Client.mjs";
2
- export * from "./client/index.mjs";
@@ -1,7 +0,0 @@
1
- export type BusinessesGetPickupTimeslotsResponse = {
2
- date: string;
3
- timeslots: unknown[];
4
- } | {
5
- date: string;
6
- timeslots: string[];
7
- };
@@ -1 +0,0 @@
1
- export * from "./BusinessesGetPickupTimeslotsResponse.mjs";
@@ -1 +0,0 @@
1
- export * from "./BusinessesGetPickupTimeslotsResponse.mjs";
@@ -1 +0,0 @@
1
- export type JsonResource = string;