@51eat/sdk 0.0.77 → 0.0.79

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 (155) hide show
  1. package/README.md +13 -11
  2. package/dist/cjs/BaseClient.js +2 -2
  3. package/dist/cjs/Client.d.ts +0 -3
  4. package/dist/cjs/Client.js +2 -7
  5. package/dist/cjs/api/resources/business/resources/productOrders/client/Client.d.ts +9 -0
  6. package/dist/cjs/api/resources/business/resources/productOrders/client/Client.js +13 -0
  7. package/dist/cjs/api/resources/business/resources/profile/client/requests/UpdateBusinessProfileRequest.d.ts +9 -0
  8. package/dist/cjs/api/resources/customer/resources/businesses/types/GetPickupTimeslotsBusinessesResponse.d.ts +2 -5
  9. package/dist/cjs/api/resources/customer/resources/cart/client/Client.d.ts +15 -5
  10. package/dist/cjs/api/resources/customer/resources/cart/client/Client.js +15 -5
  11. package/dist/cjs/api/resources/customer/resources/cart/client/requests/AddItemCartRequest.d.ts +6 -4
  12. package/dist/cjs/api/resources/customer/resources/cart/client/requests/{UpdateItemCartRequest.d.ts → UpdateCartItemRequest.d.ts} +1 -1
  13. package/dist/cjs/api/resources/customer/resources/cart/client/requests/index.d.ts +1 -1
  14. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/Client.d.ts +4 -0
  15. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/Client.js +4 -0
  16. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/types/CreatePaymentIntentTicketingResponse.d.ts +6 -1
  17. package/dist/cjs/api/resources/customer/resources/shop/client/requests/GetProductShopRequest.d.ts +1 -1
  18. package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.d.ts +1 -1
  19. package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.d.ts +1 -1
  20. package/dist/cjs/api/resources/customer/resources/stands/client/Client.d.ts +73 -0
  21. package/dist/cjs/api/resources/customer/resources/stands/client/Client.js +249 -0
  22. package/dist/cjs/api/resources/customer/resources/stands/client/requests/AddCartItemStandsRequest.d.ts +16 -0
  23. package/dist/{esm/api/resources/customerStands/client/requests/CustomerGetStandCartRequest.d.mts → cjs/api/resources/customer/resources/stands/client/requests/ClearCartStandsRequest.d.ts} +1 -1
  24. package/dist/cjs/api/resources/{customerStands/client/requests/CustomerGetStandCartRequest.d.ts → customer/resources/stands/client/requests/GetCartStandsRequest.d.ts} +1 -1
  25. package/dist/cjs/api/resources/customer/resources/stands/client/requests/NearbyStandsRequest.d.ts +13 -0
  26. package/dist/cjs/api/resources/customer/resources/stands/client/requests/index.d.ts +4 -0
  27. package/dist/cjs/api/resources/customer/resources/stands/types/AddCartItemStandsResponse.d.ts +4 -0
  28. package/dist/cjs/api/resources/customer/resources/stands/types/GetCartStandsResponse.d.ts +4 -0
  29. package/dist/cjs/api/resources/customer/resources/stands/types/GetCartStandsResponse.js +3 -0
  30. package/dist/cjs/api/resources/customer/resources/stands/types/NearbyStandsResponse.d.ts +10 -0
  31. package/dist/cjs/api/resources/customer/resources/stands/types/NearbyStandsResponse.js +3 -0
  32. package/dist/cjs/api/resources/customer/resources/stands/types/index.d.ts +3 -0
  33. package/dist/cjs/api/resources/customer/resources/stands/types/index.js +3 -0
  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/api/types/AddCartItemRequest.d.ts +9 -0
  37. package/dist/cjs/api/types/AddCartItemRequest.js +3 -0
  38. package/dist/cjs/api/types/BusinessEvent.d.ts +1 -0
  39. package/dist/cjs/api/types/BusinessProfile.d.ts +5 -0
  40. package/dist/cjs/api/types/CartResource.d.ts +5 -0
  41. package/dist/cjs/api/types/ConflictErrorBody.d.ts +2 -13
  42. package/dist/cjs/api/types/ConflictErrorBody.js +0 -10
  43. package/dist/cjs/api/types/CustomerEvent.d.ts +6 -0
  44. package/dist/cjs/api/types/CustomerEventDetail.d.ts +6 -0
  45. package/dist/cjs/api/types/EventFeedItem.d.ts +6 -0
  46. package/dist/cjs/api/types/ExploreResponse.d.ts +1 -0
  47. package/dist/cjs/api/types/ExploreStand.d.ts +18 -0
  48. package/dist/cjs/api/types/ExploreStand.js +3 -0
  49. package/dist/cjs/api/types/NearbyStand.d.ts +19 -0
  50. package/dist/cjs/api/types/NearbyStand.js +3 -0
  51. package/dist/cjs/api/types/OrderResource.d.ts +9 -0
  52. package/dist/cjs/api/types/TicketOrder.d.ts +7 -1
  53. package/dist/cjs/api/types/index.d.ts +3 -0
  54. package/dist/cjs/api/types/index.js +3 -0
  55. package/dist/cjs/version.d.ts +1 -1
  56. package/dist/cjs/version.js +1 -1
  57. package/dist/esm/BaseClient.mjs +2 -2
  58. package/dist/esm/Client.d.mts +0 -3
  59. package/dist/esm/Client.mjs +0 -5
  60. package/dist/esm/api/resources/business/resources/productOrders/client/Client.d.mts +9 -0
  61. package/dist/esm/api/resources/business/resources/productOrders/client/Client.mjs +13 -0
  62. package/dist/esm/api/resources/business/resources/profile/client/requests/UpdateBusinessProfileRequest.d.mts +9 -0
  63. package/dist/esm/api/resources/customer/resources/businesses/types/GetPickupTimeslotsBusinessesResponse.d.mts +2 -5
  64. package/dist/esm/api/resources/customer/resources/cart/client/Client.d.mts +15 -5
  65. package/dist/esm/api/resources/customer/resources/cart/client/Client.mjs +15 -5
  66. package/dist/esm/api/resources/customer/resources/cart/client/requests/AddItemCartRequest.d.mts +6 -4
  67. package/dist/esm/api/resources/customer/resources/cart/client/requests/{UpdateItemCartRequest.d.mts → UpdateCartItemRequest.d.mts} +1 -1
  68. package/dist/esm/api/resources/customer/resources/cart/client/requests/index.d.mts +1 -1
  69. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/Client.d.mts +4 -0
  70. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/Client.mjs +4 -0
  71. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/types/CreatePaymentIntentTicketingResponse.d.mts +6 -1
  72. package/dist/esm/api/resources/customer/resources/shop/client/requests/GetProductShopRequest.d.mts +1 -1
  73. package/dist/esm/api/resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.d.mts +1 -1
  74. package/dist/esm/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.d.mts +1 -1
  75. package/dist/esm/api/resources/customer/resources/stands/client/Client.d.mts +73 -0
  76. package/dist/esm/api/resources/customer/resources/stands/client/Client.mjs +249 -0
  77. package/dist/esm/api/resources/customer/resources/stands/client/requests/AddCartItemStandsRequest.d.mts +16 -0
  78. package/dist/esm/api/resources/{customerStands/client/requests/CustomerClearStandCartRequest.d.mts → customer/resources/stands/client/requests/ClearCartStandsRequest.d.mts} +1 -1
  79. package/dist/{cjs/api/resources/customerStands/client/requests/CustomerClearStandCartRequest.d.ts → esm/api/resources/customer/resources/stands/client/requests/GetCartStandsRequest.d.mts} +1 -1
  80. package/dist/esm/api/resources/customer/resources/stands/client/requests/NearbyStandsRequest.d.mts +13 -0
  81. package/dist/esm/api/resources/customer/resources/stands/client/requests/index.d.mts +4 -0
  82. package/dist/esm/api/resources/customer/resources/stands/types/AddCartItemStandsResponse.d.mts +4 -0
  83. package/dist/esm/api/resources/customer/resources/stands/types/GetCartStandsResponse.d.mts +4 -0
  84. package/dist/esm/api/resources/customer/resources/stands/types/GetCartStandsResponse.mjs +2 -0
  85. package/dist/esm/api/resources/customer/resources/stands/types/NearbyStandsResponse.d.mts +10 -0
  86. package/dist/esm/api/resources/customer/resources/stands/types/NearbyStandsResponse.mjs +2 -0
  87. package/dist/esm/api/resources/customer/resources/stands/types/index.d.mts +3 -0
  88. package/dist/esm/api/resources/customer/resources/stands/types/index.mjs +3 -0
  89. package/dist/esm/api/resources/index.d.mts +0 -3
  90. package/dist/esm/api/resources/index.mjs +0 -3
  91. package/dist/esm/api/types/AddCartItemRequest.d.mts +9 -0
  92. package/dist/esm/api/types/AddCartItemRequest.mjs +2 -0
  93. package/dist/esm/api/types/BusinessEvent.d.mts +1 -0
  94. package/dist/esm/api/types/BusinessProfile.d.mts +5 -0
  95. package/dist/esm/api/types/CartResource.d.mts +5 -0
  96. package/dist/esm/api/types/ConflictErrorBody.d.mts +2 -13
  97. package/dist/esm/api/types/ConflictErrorBody.mjs +1 -9
  98. package/dist/esm/api/types/CustomerEvent.d.mts +6 -0
  99. package/dist/esm/api/types/CustomerEventDetail.d.mts +6 -0
  100. package/dist/esm/api/types/EventFeedItem.d.mts +6 -0
  101. package/dist/esm/api/types/ExploreResponse.d.mts +1 -0
  102. package/dist/esm/api/types/ExploreStand.d.mts +18 -0
  103. package/dist/esm/api/types/ExploreStand.mjs +2 -0
  104. package/dist/esm/api/types/NearbyStand.d.mts +19 -0
  105. package/dist/esm/api/types/NearbyStand.mjs +2 -0
  106. package/dist/esm/api/types/OrderResource.d.mts +9 -0
  107. package/dist/esm/api/types/TicketOrder.d.mts +7 -1
  108. package/dist/esm/api/types/index.d.mts +3 -0
  109. package/dist/esm/api/types/index.mjs +3 -0
  110. package/dist/esm/version.d.mts +1 -1
  111. package/dist/esm/version.mjs +1 -1
  112. package/package.json +1 -12
  113. package/reference.md +316 -160
  114. package/dist/cjs/api/resources/customerStands/client/Client.d.ts +0 -58
  115. package/dist/cjs/api/resources/customerStands/client/Client.js +0 -240
  116. package/dist/cjs/api/resources/customerStands/client/index.d.ts +0 -1
  117. package/dist/cjs/api/resources/customerStands/client/index.js +0 -17
  118. package/dist/cjs/api/resources/customerStands/client/requests/CustomerAddStandCartItemRequest.d.ts +0 -14
  119. package/dist/cjs/api/resources/customerStands/client/requests/index.d.ts +0 -3
  120. package/dist/cjs/api/resources/customerStands/client/requests/index.js +0 -2
  121. package/dist/cjs/api/resources/customerStands/exports.d.ts +0 -2
  122. package/dist/cjs/api/resources/customerStands/exports.js +0 -21
  123. package/dist/cjs/api/resources/customerStands/index.d.ts +0 -2
  124. package/dist/cjs/api/resources/customerStands/index.js +0 -18
  125. package/dist/cjs/api/resources/customerStands/types/CustomerAddStandCartItemResponse.d.ts +0 -4
  126. package/dist/cjs/api/resources/customerStands/types/CustomerGetStandCartResponse.d.ts +0 -4
  127. package/dist/cjs/api/resources/customerStands/types/index.d.ts +0 -2
  128. package/dist/cjs/api/resources/customerStands/types/index.js +0 -18
  129. package/dist/esm/api/resources/customerStands/client/Client.d.mts +0 -58
  130. package/dist/esm/api/resources/customerStands/client/Client.mjs +0 -203
  131. package/dist/esm/api/resources/customerStands/client/index.d.mts +0 -1
  132. package/dist/esm/api/resources/customerStands/client/index.mjs +0 -1
  133. package/dist/esm/api/resources/customerStands/client/requests/CustomerAddStandCartItemRequest.d.mts +0 -14
  134. package/dist/esm/api/resources/customerStands/client/requests/index.d.mts +0 -3
  135. package/dist/esm/api/resources/customerStands/client/requests/index.mjs +0 -1
  136. package/dist/esm/api/resources/customerStands/exports.d.mts +0 -2
  137. package/dist/esm/api/resources/customerStands/exports.mjs +0 -3
  138. package/dist/esm/api/resources/customerStands/index.d.mts +0 -2
  139. package/dist/esm/api/resources/customerStands/index.mjs +0 -2
  140. package/dist/esm/api/resources/customerStands/types/CustomerAddStandCartItemResponse.d.mts +0 -4
  141. package/dist/esm/api/resources/customerStands/types/CustomerGetStandCartResponse.d.mts +0 -4
  142. package/dist/esm/api/resources/customerStands/types/index.d.mts +0 -2
  143. package/dist/esm/api/resources/customerStands/types/index.mjs +0 -2
  144. /package/dist/cjs/api/resources/customer/resources/cart/client/requests/{UpdateItemCartRequest.js → UpdateCartItemRequest.js} +0 -0
  145. /package/dist/cjs/api/resources/{customerStands/client/requests/CustomerAddStandCartItemRequest.js → customer/resources/stands/client/requests/AddCartItemStandsRequest.js} +0 -0
  146. /package/dist/cjs/api/resources/{customerStands/client/requests/CustomerClearStandCartRequest.js → customer/resources/stands/client/requests/ClearCartStandsRequest.js} +0 -0
  147. /package/dist/cjs/api/resources/{customerStands/client/requests/CustomerGetStandCartRequest.js → customer/resources/stands/client/requests/GetCartStandsRequest.js} +0 -0
  148. /package/dist/cjs/api/resources/{customerStands/types/CustomerAddStandCartItemResponse.js → customer/resources/stands/client/requests/NearbyStandsRequest.js} +0 -0
  149. /package/dist/cjs/api/resources/{customerStands/types/CustomerGetStandCartResponse.js → customer/resources/stands/types/AddCartItemStandsResponse.js} +0 -0
  150. /package/dist/esm/api/resources/customer/resources/cart/client/requests/{UpdateItemCartRequest.mjs → UpdateCartItemRequest.mjs} +0 -0
  151. /package/dist/esm/api/resources/{customerStands/client/requests/CustomerAddStandCartItemRequest.mjs → customer/resources/stands/client/requests/AddCartItemStandsRequest.mjs} +0 -0
  152. /package/dist/esm/api/resources/{customerStands/client/requests/CustomerClearStandCartRequest.mjs → customer/resources/stands/client/requests/ClearCartStandsRequest.mjs} +0 -0
  153. /package/dist/esm/api/resources/{customerStands/client/requests/CustomerGetStandCartRequest.mjs → customer/resources/stands/client/requests/GetCartStandsRequest.mjs} +0 -0
  154. /package/dist/esm/api/resources/{customerStands/types/CustomerAddStandCartItemResponse.mjs → customer/resources/stands/client/requests/NearbyStandsRequest.mjs} +0 -0
  155. /package/dist/esm/api/resources/{customerStands/types/CustomerGetStandCartResponse.mjs → customer/resources/stands/types/AddCartItemStandsResponse.mjs} +0 -0
@@ -1,4 +1,5 @@
1
1
  export * from "./Ad.mjs";
2
+ export * from "./AddCartItemRequest.mjs";
2
3
  export * from "./Address.mjs";
3
4
  export * from "./AddressCollection.mjs";
4
5
  export * from "./AppHttpResourcesApiV1BusinessCommerceProductResource.mjs";
@@ -118,6 +119,7 @@ export * from "./EventSearchResult.mjs";
118
119
  export * from "./ExploreBusiness.mjs";
119
120
  export * from "./ExploreEvent.mjs";
120
121
  export * from "./ExploreResponse.mjs";
122
+ export * from "./ExploreStand.mjs";
121
123
  export * from "./ExploreTemporaryLocation.mjs";
122
124
  export * from "./FavoriteFacets.mjs";
123
125
  export * from "./FavoriteResponse.mjs";
@@ -127,6 +129,7 @@ export * from "./InternalServerErrorBody.mjs";
127
129
  export * from "./InventoryLevelResource.mjs";
128
130
  export * from "./MenuItemSearchResult.mjs";
129
131
  export * from "./Message.mjs";
132
+ export * from "./NearbyStand.mjs";
130
133
  export * from "./NotFoundErrorBody.mjs";
131
134
  export * from "./OrderItemResource.mjs";
132
135
  export * from "./OrderResource.mjs";
@@ -1,4 +1,5 @@
1
1
  export * from "./Ad.mjs";
2
+ export * from "./AddCartItemRequest.mjs";
2
3
  export * from "./Address.mjs";
3
4
  export * from "./AddressCollection.mjs";
4
5
  export * from "./AppHttpResourcesApiV1BusinessCommerceProductResource.mjs";
@@ -118,6 +119,7 @@ export * from "./EventSearchResult.mjs";
118
119
  export * from "./ExploreBusiness.mjs";
119
120
  export * from "./ExploreEvent.mjs";
120
121
  export * from "./ExploreResponse.mjs";
122
+ export * from "./ExploreStand.mjs";
121
123
  export * from "./ExploreTemporaryLocation.mjs";
122
124
  export * from "./FavoriteFacets.mjs";
123
125
  export * from "./FavoriteResponse.mjs";
@@ -127,6 +129,7 @@ export * from "./InternalServerErrorBody.mjs";
127
129
  export * from "./InventoryLevelResource.mjs";
128
130
  export * from "./MenuItemSearchResult.mjs";
129
131
  export * from "./Message.mjs";
132
+ export * from "./NearbyStand.mjs";
130
133
  export * from "./NotFoundErrorBody.mjs";
131
134
  export * from "./OrderItemResource.mjs";
132
135
  export * from "./OrderResource.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.77";
1
+ export declare const SDK_VERSION = "0.0.79";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.0.77";
1
+ export const SDK_VERSION = "0.0.79";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@51eat/sdk",
3
- "version": "0.0.77",
3
+ "version": "0.0.79",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,17 +33,6 @@
33
33
  },
34
34
  "default": "./dist/cjs/api/resources/customer/exports.js"
35
35
  },
36
- "./customerStands": {
37
- "import": {
38
- "types": "./dist/esm/api/resources/customerStands/exports.d.mts",
39
- "default": "./dist/esm/api/resources/customerStands/exports.mjs"
40
- },
41
- "require": {
42
- "types": "./dist/cjs/api/resources/customerStands/exports.d.ts",
43
- "default": "./dist/cjs/api/resources/customerStands/exports.js"
44
- },
45
- "default": "./dist/cjs/api/resources/customerStands/exports.js"
46
- },
47
36
  "./publicLists": {
48
37
  "import": {
49
38
  "types": "./dist/esm/api/resources/publicLists/exports.d.mts",
package/reference.md CHANGED
@@ -66,162 +66,6 @@ await client.customer.search({
66
66
  </dl>
67
67
 
68
68
 
69
- </dd>
70
- </dl>
71
- </details>
72
-
73
- ## Customer: Stands
74
- <details><summary><code>client.customerStands.<a href="/src/api/resources/customerStands/client/Client.ts">customerGetStandCart</a>({ ...params }) -> FiveOneEat.CustomerGetStandCartResponse</code></summary>
75
- <dl>
76
- <dd>
77
-
78
- #### 🔌 Usage
79
-
80
- <dl>
81
- <dd>
82
-
83
- <dl>
84
- <dd>
85
-
86
- ```typescript
87
- await client.customerStands.customerGetStandCart({
88
- stand: "stand"
89
- });
90
-
91
- ```
92
- </dd>
93
- </dl>
94
- </dd>
95
- </dl>
96
-
97
- #### ⚙️ Parameters
98
-
99
- <dl>
100
- <dd>
101
-
102
- <dl>
103
- <dd>
104
-
105
- **request:** `FiveOneEat.CustomerGetStandCartRequest`
106
-
107
- </dd>
108
- </dl>
109
-
110
- <dl>
111
- <dd>
112
-
113
- **requestOptions:** `CustomerStandsClient.RequestOptions`
114
-
115
- </dd>
116
- </dl>
117
- </dd>
118
- </dl>
119
-
120
-
121
- </dd>
122
- </dl>
123
- </details>
124
-
125
- <details><summary><code>client.customerStands.<a href="/src/api/resources/customerStands/client/Client.ts">customerAddStandCartItem</a>({ ...params }) -> FiveOneEat.CustomerAddStandCartItemResponse</code></summary>
126
- <dl>
127
- <dd>
128
-
129
- #### 🔌 Usage
130
-
131
- <dl>
132
- <dd>
133
-
134
- <dl>
135
- <dd>
136
-
137
- ```typescript
138
- await client.customerStands.customerAddStandCartItem({
139
- stand: "stand",
140
- variant_id: "variant_id",
141
- quantity: 1
142
- });
143
-
144
- ```
145
- </dd>
146
- </dl>
147
- </dd>
148
- </dl>
149
-
150
- #### ⚙️ Parameters
151
-
152
- <dl>
153
- <dd>
154
-
155
- <dl>
156
- <dd>
157
-
158
- **request:** `FiveOneEat.CustomerAddStandCartItemRequest`
159
-
160
- </dd>
161
- </dl>
162
-
163
- <dl>
164
- <dd>
165
-
166
- **requestOptions:** `CustomerStandsClient.RequestOptions`
167
-
168
- </dd>
169
- </dl>
170
- </dd>
171
- </dl>
172
-
173
-
174
- </dd>
175
- </dl>
176
- </details>
177
-
178
- <details><summary><code>client.customerStands.<a href="/src/api/resources/customerStands/client/Client.ts">customerClearStandCart</a>({ ...params }) -> void</code></summary>
179
- <dl>
180
- <dd>
181
-
182
- #### 🔌 Usage
183
-
184
- <dl>
185
- <dd>
186
-
187
- <dl>
188
- <dd>
189
-
190
- ```typescript
191
- await client.customerStands.customerClearStandCart({
192
- stand: "stand"
193
- });
194
-
195
- ```
196
- </dd>
197
- </dl>
198
- </dd>
199
- </dl>
200
-
201
- #### ⚙️ Parameters
202
-
203
- <dl>
204
- <dd>
205
-
206
- <dl>
207
- <dd>
208
-
209
- **request:** `FiveOneEat.CustomerClearStandCartRequest`
210
-
211
- </dd>
212
- </dl>
213
-
214
- <dl>
215
- <dd>
216
-
217
- **requestOptions:** `CustomerStandsClient.RequestOptions`
218
-
219
- </dd>
220
- </dl>
221
- </dd>
222
- </dl>
223
-
224
-
225
69
  </dd>
226
70
  </dl>
227
71
  </details>
@@ -1791,6 +1635,23 @@ await client.business.productOrders.get({
1791
1635
  <dl>
1792
1636
  <dd>
1793
1637
 
1638
+ #### 📝 Description
1639
+
1640
+ <dl>
1641
+ <dd>
1642
+
1643
+ <dl>
1644
+ <dd>
1645
+
1646
+ The business's part is done, and the customer is told. A shipped order
1647
+ becomes `fulfilled` (on its way); a pickup order becomes
1648
+ `ready_for_pickup`, and `mark-picked-up` completes it once collected.
1649
+ A farm-stand order is fulfilled at checkout and is refused here.
1650
+ </dd>
1651
+ </dl>
1652
+ </dd>
1653
+ </dl>
1654
+
1794
1655
  #### 🔌 Usage
1795
1656
 
1796
1657
  <dl>
@@ -1842,6 +1703,20 @@ await client.business.productOrders.fulfill({
1842
1703
  <dl>
1843
1704
  <dd>
1844
1705
 
1706
+ #### 📝 Description
1707
+
1708
+ <dl>
1709
+ <dd>
1710
+
1711
+ <dl>
1712
+ <dd>
1713
+
1714
+ Only a pickup order, `unfulfilled` or `ready_for_pickup`; it becomes `fulfilled`.
1715
+ </dd>
1716
+ </dl>
1717
+ </dd>
1718
+ </dl>
1719
+
1845
1720
  #### 🔌 Usage
1846
1721
 
1847
1722
  <dl>
@@ -10871,6 +10746,22 @@ await client.customer.cart.get({
10871
10746
  <dl>
10872
10747
  <dd>
10873
10748
 
10749
+ #### 📝 Description
10750
+
10751
+ <dl>
10752
+ <dd>
10753
+
10754
+ <dl>
10755
+ <dd>
10756
+
10757
+ Only a variant this shop sells is accepted: its product is active,
10758
+ published and on the storefront, and the variant has a storefront price.
10759
+ Anything else is a 422 on `variant_id` ("That item isn't available here.").
10760
+ </dd>
10761
+ </dl>
10762
+ </dd>
10763
+ </dl>
10764
+
10874
10765
  #### 🔌 Usage
10875
10766
 
10876
10767
  <dl>
@@ -10882,8 +10773,10 @@ await client.customer.cart.get({
10882
10773
  ```typescript
10883
10774
  await client.customer.cart.addItem({
10884
10775
  business: "business",
10885
- variant_id: "variant_id",
10886
- quantity: 1
10776
+ body: {
10777
+ variant_id: "variant_id",
10778
+ quantity: 1
10779
+ }
10887
10780
  });
10888
10781
 
10889
10782
  ```
@@ -10975,6 +10868,21 @@ await client.customer.cart.clear({
10975
10868
  <dl>
10976
10869
  <dd>
10977
10870
 
10871
+ #### 📝 Description
10872
+
10873
+ <dl>
10874
+ <dd>
10875
+
10876
+ <dl>
10877
+ <dd>
10878
+
10879
+ An item this shop no longer sells can't be changed, only removed: 422 on
10880
+ `variant_id` ("That item isn't available here.").
10881
+ </dd>
10882
+ </dl>
10883
+ </dd>
10884
+ </dl>
10885
+
10978
10886
  #### 🔌 Usage
10979
10887
 
10980
10888
  <dl>
@@ -11003,7 +10911,7 @@ await client.customer.cart.updateItem({
11003
10911
  <dl>
11004
10912
  <dd>
11005
10913
 
11006
- **request:** `FiveOneEat.customer.UpdateItemCartRequest`
10914
+ **request:** `FiveOneEat.customer.UpdateCartItemRequest`
11007
10915
 
11008
10916
  </dd>
11009
10917
  </dl>
@@ -11093,7 +11001,8 @@ The message is also in the cart's `fulfillment.checkout_blocker`.
11093
11001
 
11094
11002
  A 409 `{status: "paid", message, payment_intent_id}` means the cart's
11095
11003
  payment already went through (never a second payment): finish checkout
11096
- with that id. A 409 with only a message means it is still processing.
11004
+ with that id. A 409 `{status: "processing", message}` means the payment
11005
+ is still in flight: don't pay again, check back later.
11097
11006
  </dd>
11098
11007
  </dl>
11099
11008
  </dd>
@@ -12950,6 +12859,249 @@ await client.customer.stands.scan({
12950
12859
  </dl>
12951
12860
 
12952
12861
 
12862
+ </dd>
12863
+ </dl>
12864
+ </details>
12865
+
12866
+ <details><summary><code>client.customer.stands.<a href="/src/api/resources/customer/resources/stands/client/Client.ts">nearby</a>({ ...params }) -> FiveOneEat.NearbyStandsResponse</code></summary>
12867
+ <dl>
12868
+ <dd>
12869
+
12870
+ #### 📝 Description
12871
+
12872
+ <dl>
12873
+ <dd>
12874
+
12875
+ <dl>
12876
+ <dd>
12877
+
12878
+ The nearest stands that can take a payment right now, closest first:
12879
+ up to 20 within 50 km. `is_here` marks a stand within the arrival
12880
+ radius (`meta.arrival_radius_meters`), where the app offers its
12881
+ self-checkout without a QR scan. The coordinates are used for this
12882
+ lookup only and are never stored.
12883
+ </dd>
12884
+ </dl>
12885
+ </dd>
12886
+ </dl>
12887
+
12888
+ #### 🔌 Usage
12889
+
12890
+ <dl>
12891
+ <dd>
12892
+
12893
+ <dl>
12894
+ <dd>
12895
+
12896
+ ```typescript
12897
+ await client.customer.stands.nearby({
12898
+ latitude: 1.1,
12899
+ longitude: 1.1
12900
+ });
12901
+
12902
+ ```
12903
+ </dd>
12904
+ </dl>
12905
+ </dd>
12906
+ </dl>
12907
+
12908
+ #### ⚙️ Parameters
12909
+
12910
+ <dl>
12911
+ <dd>
12912
+
12913
+ <dl>
12914
+ <dd>
12915
+
12916
+ **request:** `FiveOneEat.customer.NearbyStandsRequest`
12917
+
12918
+ </dd>
12919
+ </dl>
12920
+
12921
+ <dl>
12922
+ <dd>
12923
+
12924
+ **requestOptions:** `StandsClient.RequestOptions`
12925
+
12926
+ </dd>
12927
+ </dl>
12928
+ </dd>
12929
+ </dl>
12930
+
12931
+
12932
+ </dd>
12933
+ </dl>
12934
+ </details>
12935
+
12936
+ <details><summary><code>client.customer.stands.<a href="/src/api/resources/customer/resources/stands/client/Client.ts">getCart</a>({ ...params }) -> FiveOneEat.GetCartStandsResponse</code></summary>
12937
+ <dl>
12938
+ <dd>
12939
+
12940
+ #### 🔌 Usage
12941
+
12942
+ <dl>
12943
+ <dd>
12944
+
12945
+ <dl>
12946
+ <dd>
12947
+
12948
+ ```typescript
12949
+ await client.customer.stands.getCart({
12950
+ stand: "stand"
12951
+ });
12952
+
12953
+ ```
12954
+ </dd>
12955
+ </dl>
12956
+ </dd>
12957
+ </dl>
12958
+
12959
+ #### ⚙️ Parameters
12960
+
12961
+ <dl>
12962
+ <dd>
12963
+
12964
+ <dl>
12965
+ <dd>
12966
+
12967
+ **request:** `FiveOneEat.customer.GetCartStandsRequest`
12968
+
12969
+ </dd>
12970
+ </dl>
12971
+
12972
+ <dl>
12973
+ <dd>
12974
+
12975
+ **requestOptions:** `StandsClient.RequestOptions`
12976
+
12977
+ </dd>
12978
+ </dl>
12979
+ </dd>
12980
+ </dl>
12981
+
12982
+
12983
+ </dd>
12984
+ </dl>
12985
+ </details>
12986
+
12987
+ <details><summary><code>client.customer.stands.<a href="/src/api/resources/customer/resources/stands/client/Client.ts">addCartItem</a>({ ...params }) -> FiveOneEat.AddCartItemStandsResponse</code></summary>
12988
+ <dl>
12989
+ <dd>
12990
+
12991
+ #### 📝 Description
12992
+
12993
+ <dl>
12994
+ <dd>
12995
+
12996
+ <dl>
12997
+ <dd>
12998
+
12999
+ Only a variant this stand sells is accepted: its product is active,
13000
+ published and on the stand, and the variant has a stand price. Anything
13001
+ else is a 422 on `variant_id` ("That item isn't available here.").
13002
+ </dd>
13003
+ </dl>
13004
+ </dd>
13005
+ </dl>
13006
+
13007
+ #### 🔌 Usage
13008
+
13009
+ <dl>
13010
+ <dd>
13011
+
13012
+ <dl>
13013
+ <dd>
13014
+
13015
+ ```typescript
13016
+ await client.customer.stands.addCartItem({
13017
+ stand: "stand",
13018
+ body: {
13019
+ variant_id: "variant_id",
13020
+ quantity: 1
13021
+ }
13022
+ });
13023
+
13024
+ ```
13025
+ </dd>
13026
+ </dl>
13027
+ </dd>
13028
+ </dl>
13029
+
13030
+ #### ⚙️ Parameters
13031
+
13032
+ <dl>
13033
+ <dd>
13034
+
13035
+ <dl>
13036
+ <dd>
13037
+
13038
+ **request:** `FiveOneEat.customer.AddCartItemStandsRequest`
13039
+
13040
+ </dd>
13041
+ </dl>
13042
+
13043
+ <dl>
13044
+ <dd>
13045
+
13046
+ **requestOptions:** `StandsClient.RequestOptions`
13047
+
13048
+ </dd>
13049
+ </dl>
13050
+ </dd>
13051
+ </dl>
13052
+
13053
+
13054
+ </dd>
13055
+ </dl>
13056
+ </details>
13057
+
13058
+ <details><summary><code>client.customer.stands.<a href="/src/api/resources/customer/resources/stands/client/Client.ts">clearCart</a>({ ...params }) -> void</code></summary>
13059
+ <dl>
13060
+ <dd>
13061
+
13062
+ #### 🔌 Usage
13063
+
13064
+ <dl>
13065
+ <dd>
13066
+
13067
+ <dl>
13068
+ <dd>
13069
+
13070
+ ```typescript
13071
+ await client.customer.stands.clearCart({
13072
+ stand: "stand"
13073
+ });
13074
+
13075
+ ```
13076
+ </dd>
13077
+ </dl>
13078
+ </dd>
13079
+ </dl>
13080
+
13081
+ #### ⚙️ Parameters
13082
+
13083
+ <dl>
13084
+ <dd>
13085
+
13086
+ <dl>
13087
+ <dd>
13088
+
13089
+ **request:** `FiveOneEat.customer.ClearCartStandsRequest`
13090
+
13091
+ </dd>
13092
+ </dl>
13093
+
13094
+ <dl>
13095
+ <dd>
13096
+
13097
+ **requestOptions:** `StandsClient.RequestOptions`
13098
+
13099
+ </dd>
13100
+ </dl>
13101
+ </dd>
13102
+ </dl>
13103
+
13104
+
12953
13105
  </dd>
12954
13106
  </dl>
12955
13107
  </details>
@@ -14104,6 +14256,10 @@ await client.customer.events.ticketing.calculatePrice({
14104
14256
 
14105
14257
  Create a Stripe payment intent for the tickets held in the cart for the given event.
14106
14258
  Returns a client_secret for the mobile app to confirm payment with Stripe.
14259
+
14260
+ A 409 `{status: "paid", message, payment_intent_id}` means these tickets
14261
+ are already paid for (the webhook issues them; never pay twice). A 409
14262
+ `{status: "processing", message}` means the payment is still in flight.
14107
14263
  </dd>
14108
14264
  </dl>
14109
14265
  </dd>
@@ -1,58 +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 CustomerStandsClient {
6
- type Options = BaseClientOptions;
7
- interface RequestOptions extends BaseRequestOptions {
8
- }
9
- }
10
- export declare class CustomerStandsClient {
11
- protected readonly _options: NormalizedClientOptionsWithAuth<CustomerStandsClient.Options>;
12
- constructor(options?: CustomerStandsClient.Options);
13
- /**
14
- * @param {FiveOneEat.CustomerGetStandCartRequest} request
15
- * @param {CustomerStandsClient.RequestOptions} requestOptions - Request-specific configuration.
16
- *
17
- * @throws {@link FiveOneEat.UnauthorizedError}
18
- * @throws {@link FiveOneEat.NotFoundError}
19
- *
20
- * @example
21
- * await client.customerStands.customerGetStandCart({
22
- * stand: "stand"
23
- * })
24
- */
25
- customerGetStandCart(request: FiveOneEat.CustomerGetStandCartRequest, requestOptions?: CustomerStandsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.CustomerGetStandCartResponse>;
26
- private __customerGetStandCart;
27
- /**
28
- * @param {FiveOneEat.CustomerAddStandCartItemRequest} request
29
- * @param {CustomerStandsClient.RequestOptions} requestOptions - Request-specific configuration.
30
- *
31
- * @throws {@link FiveOneEat.UnauthorizedError}
32
- * @throws {@link FiveOneEat.NotFoundError}
33
- * @throws {@link FiveOneEat.UnprocessableEntityError}
34
- *
35
- * @example
36
- * await client.customerStands.customerAddStandCartItem({
37
- * stand: "stand",
38
- * variant_id: "variant_id",
39
- * quantity: 1
40
- * })
41
- */
42
- customerAddStandCartItem(request: FiveOneEat.CustomerAddStandCartItemRequest, requestOptions?: CustomerStandsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.CustomerAddStandCartItemResponse>;
43
- private __customerAddStandCartItem;
44
- /**
45
- * @param {FiveOneEat.CustomerClearStandCartRequest} request
46
- * @param {CustomerStandsClient.RequestOptions} requestOptions - Request-specific configuration.
47
- *
48
- * @throws {@link FiveOneEat.UnauthorizedError}
49
- * @throws {@link FiveOneEat.NotFoundError}
50
- *
51
- * @example
52
- * await client.customerStands.customerClearStandCart({
53
- * stand: "stand"
54
- * })
55
- */
56
- customerClearStandCart(request: FiveOneEat.CustomerClearStandCartRequest, requestOptions?: CustomerStandsClient.RequestOptions): core.HttpResponsePromise<void>;
57
- private __customerClearStandCart;
58
- }