@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,14 +0,0 @@
1
- /**
2
- * @example
3
- * {
4
- * stand: "stand",
5
- * variant_id: "variant_id",
6
- * quantity: 1
7
- * }
8
- */
9
- export interface CustomerAddStandCartItemRequest {
10
- /** The stand ID */
11
- stand: string;
12
- variant_id: string;
13
- quantity: number;
14
- }
@@ -1,3 +0,0 @@
1
- export type { CustomerAddStandCartItemRequest } from "./CustomerAddStandCartItemRequest.mjs";
2
- export type { CustomerClearStandCartRequest } from "./CustomerClearStandCartRequest.mjs";
3
- export type { CustomerGetStandCartRequest } from "./CustomerGetStandCartRequest.mjs";
@@ -1,2 +0,0 @@
1
- export { CustomerStandsClient } from "./client/Client.mjs";
2
- export * from "./client/index.mjs";
@@ -1,3 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export { CustomerStandsClient } from "./client/Client.mjs";
3
- export * from "./client/index.mjs";
@@ -1,2 +0,0 @@
1
- export * from "./client/index.mjs";
2
- export * from "./types/index.mjs";
@@ -1,2 +0,0 @@
1
- export * from "./client/index.mjs";
2
- export * from "./types/index.mjs";
@@ -1,4 +0,0 @@
1
- import type * as FiveOneEat from "../../../index.mjs";
2
- export interface CustomerAddStandCartItemResponse {
3
- data: FiveOneEat.CartResource;
4
- }
@@ -1,4 +0,0 @@
1
- import type * as FiveOneEat from "../../../index.mjs";
2
- export interface CustomerGetStandCartResponse {
3
- data: FiveOneEat.CartResource;
4
- }
@@ -1,2 +0,0 @@
1
- export * from "./CustomerAddStandCartItemResponse.mjs";
2
- export * from "./CustomerGetStandCartResponse.mjs";
@@ -1,2 +0,0 @@
1
- export * from "./CustomerAddStandCartItemResponse.mjs";
2
- export * from "./CustomerGetStandCartResponse.mjs";