@51eat/sdk 0.0.21 → 0.0.23

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 (172) hide show
  1. package/README.md +16 -13
  2. package/dist/cjs/BaseClient.js +2 -2
  3. package/dist/cjs/Client.d.ts +0 -6
  4. package/dist/cjs/Client.js +10 -20
  5. package/dist/cjs/api/resources/business/client/Client.d.ts +17 -2
  6. package/dist/cjs/api/resources/business/client/Client.js +34 -9
  7. package/dist/cjs/api/resources/business/resources/businesses/client/Client.d.ts +62 -0
  8. package/dist/cjs/api/resources/business/resources/businesses/client/Client.js +260 -0
  9. package/dist/cjs/api/resources/business/resources/businesses/client/requests/DeleteBusinessesRequest.d.ts +9 -0
  10. package/dist/cjs/api/resources/business/resources/businesses/client/requests/GetBusinessesRequest.d.ts +9 -0
  11. package/dist/cjs/api/resources/business/resources/businesses/client/requests/UpdateBusinessesRequest.d.ts +9 -0
  12. package/dist/cjs/api/resources/business/resources/businesses/client/requests/index.d.ts +3 -0
  13. package/dist/cjs/api/resources/business/resources/businesses/exports.d.ts +2 -0
  14. package/dist/cjs/api/resources/{businessMessaging → business/resources/businesses}/exports.js +2 -2
  15. package/dist/cjs/api/resources/business/resources/categories/client/Client.d.ts +20 -0
  16. package/dist/cjs/api/resources/{businessMessaging → business/resources/categories}/client/Client.js +23 -45
  17. package/dist/cjs/api/resources/business/resources/categories/client/index.js +2 -0
  18. package/dist/cjs/api/resources/business/resources/categories/exports.d.ts +2 -0
  19. package/dist/cjs/api/resources/{businessPushNotifications → business/resources/categories}/exports.js +2 -2
  20. package/dist/cjs/api/resources/business/resources/categories/index.d.ts +1 -0
  21. package/dist/cjs/api/resources/business/resources/categories/index.js +17 -0
  22. package/dist/cjs/api/resources/business/resources/certifications/client/Client.d.ts +20 -0
  23. package/dist/cjs/api/resources/business/resources/certifications/client/Client.js +96 -0
  24. package/dist/cjs/api/resources/business/resources/certifications/client/index.d.ts +1 -0
  25. package/dist/cjs/api/resources/business/resources/certifications/client/index.js +2 -0
  26. package/dist/cjs/api/resources/business/resources/certifications/exports.d.ts +2 -0
  27. package/dist/cjs/api/resources/business/resources/certifications/exports.js +21 -0
  28. package/dist/cjs/api/resources/business/resources/certifications/index.d.ts +1 -0
  29. package/dist/cjs/api/resources/business/resources/certifications/index.js +17 -0
  30. package/dist/cjs/api/resources/business/resources/cuisines/client/Client.d.ts +20 -0
  31. package/dist/cjs/api/resources/business/resources/cuisines/client/Client.js +96 -0
  32. package/dist/cjs/api/resources/business/resources/cuisines/client/index.d.ts +1 -0
  33. package/dist/cjs/api/resources/business/resources/cuisines/client/index.js +2 -0
  34. package/dist/cjs/api/resources/business/resources/cuisines/exports.d.ts +2 -0
  35. package/dist/cjs/api/resources/business/resources/cuisines/exports.js +21 -0
  36. package/dist/cjs/api/resources/business/resources/cuisines/index.d.ts +1 -0
  37. package/dist/cjs/api/resources/business/resources/cuisines/index.js +17 -0
  38. package/dist/cjs/api/resources/business/resources/index.d.ts +9 -0
  39. package/dist/cjs/api/resources/business/resources/index.js +10 -1
  40. package/dist/cjs/api/resources/business/resources/messaging/client/Client.d.ts +24 -1
  41. package/dist/cjs/api/resources/business/resources/messaging/client/Client.js +107 -0
  42. package/dist/cjs/api/resources/business/resources/messaging/client/index.d.ts +1 -1
  43. package/dist/cjs/api/resources/business/resources/messaging/client/index.js +15 -0
  44. package/dist/cjs/api/resources/{businessMessaging/client/requests/BusinessChannelAuthAuthenticateRequest.d.ts → business/resources/messaging/client/requests/ChannelAuthMessagingRequest.d.ts} +1 -1
  45. package/dist/cjs/api/resources/business/resources/messaging/client/requests/ChannelAuthMessagingRequest.js +3 -0
  46. package/dist/cjs/api/resources/business/resources/messaging/client/requests/index.d.ts +1 -0
  47. package/dist/cjs/api/resources/business/resources/messaging/client/requests/index.js +2 -0
  48. package/dist/cjs/api/resources/business/resources/pushNotifications/client/Client.d.ts +47 -0
  49. package/dist/cjs/api/resources/{businessPushNotifications → business/resources/pushNotifications}/client/Client.js +22 -22
  50. package/dist/cjs/api/resources/{businessPushNotifications/client/requests/UnregisterBusinessPushTokenRequest.d.ts → business/resources/pushNotifications/client/requests/UnregisterPushNotificationsRequest.d.ts} +1 -1
  51. package/dist/cjs/api/resources/business/resources/pushNotifications/client/requests/UnregisterPushNotificationsRequest.js +3 -0
  52. package/dist/cjs/api/resources/business/resources/pushNotifications/client/requests/index.d.ts +2 -0
  53. package/dist/cjs/api/resources/business/resources/pushNotifications/exports.d.ts +2 -0
  54. package/dist/cjs/api/resources/business/resources/pushNotifications/exports.js +21 -0
  55. package/dist/cjs/api/resources/{businessPushNotifications/types/RegisterBusinessPushTokenResponse.d.ts → business/resources/pushNotifications/types/RegisterPushNotificationsResponse.d.ts} +1 -1
  56. package/dist/cjs/api/resources/business/resources/pushNotifications/types/RegisterPushNotificationsResponse.js +3 -0
  57. package/dist/cjs/api/resources/business/resources/pushNotifications/types/index.d.ts +1 -0
  58. package/dist/cjs/api/resources/{businessPushNotifications → business/resources/pushNotifications}/types/index.js +1 -1
  59. package/dist/cjs/api/resources/index.d.ts +0 -5
  60. package/dist/cjs/api/resources/index.js +1 -6
  61. package/dist/cjs/version.d.ts +1 -1
  62. package/dist/cjs/version.js +1 -1
  63. package/dist/esm/BaseClient.mjs +2 -2
  64. package/dist/esm/Client.d.mts +0 -6
  65. package/dist/esm/Client.mjs +0 -10
  66. package/dist/esm/api/resources/business/client/Client.d.mts +17 -2
  67. package/dist/esm/api/resources/business/client/Client.mjs +27 -2
  68. package/dist/esm/api/resources/business/resources/businesses/client/Client.d.mts +62 -0
  69. package/dist/esm/api/resources/business/resources/businesses/client/Client.mjs +223 -0
  70. package/dist/esm/api/resources/business/resources/businesses/client/requests/DeleteBusinessesRequest.d.mts +9 -0
  71. package/dist/esm/api/resources/business/resources/businesses/client/requests/GetBusinessesRequest.d.mts +9 -0
  72. package/dist/esm/api/resources/business/resources/businesses/client/requests/UpdateBusinessesRequest.d.mts +9 -0
  73. package/dist/esm/api/resources/business/resources/businesses/client/requests/index.d.mts +3 -0
  74. package/dist/esm/api/resources/business/resources/businesses/client/requests/index.mjs +1 -0
  75. package/dist/esm/api/resources/business/resources/businesses/exports.d.mts +2 -0
  76. package/dist/esm/api/resources/{businessMessaging → business/resources/businesses}/exports.mjs +1 -1
  77. package/dist/esm/api/resources/business/resources/categories/client/Client.d.mts +20 -0
  78. package/dist/esm/api/resources/{businessMessaging → business/resources/categories}/client/Client.mjs +21 -43
  79. package/dist/esm/api/resources/business/resources/categories/client/index.d.mts +1 -0
  80. package/dist/esm/api/resources/business/resources/categories/client/index.mjs +1 -0
  81. package/dist/esm/api/resources/business/resources/categories/exports.d.mts +2 -0
  82. package/dist/esm/api/resources/{businessPushNotifications → business/resources/categories}/exports.mjs +1 -1
  83. package/dist/esm/api/resources/business/resources/categories/index.d.mts +1 -0
  84. package/dist/esm/api/resources/business/resources/categories/index.mjs +1 -0
  85. package/dist/esm/api/resources/business/resources/certifications/client/Client.d.mts +20 -0
  86. package/dist/esm/api/resources/business/resources/certifications/client/Client.mjs +59 -0
  87. package/dist/esm/api/resources/business/resources/certifications/client/index.d.mts +1 -0
  88. package/dist/esm/api/resources/business/resources/certifications/client/index.mjs +1 -0
  89. package/dist/esm/api/resources/business/resources/certifications/exports.d.mts +2 -0
  90. package/dist/esm/api/resources/business/resources/certifications/exports.mjs +3 -0
  91. package/dist/esm/api/resources/business/resources/certifications/index.d.mts +1 -0
  92. package/dist/esm/api/resources/business/resources/certifications/index.mjs +1 -0
  93. package/dist/esm/api/resources/business/resources/cuisines/client/Client.d.mts +20 -0
  94. package/dist/esm/api/resources/business/resources/cuisines/client/Client.mjs +59 -0
  95. package/dist/esm/api/resources/business/resources/cuisines/client/index.d.mts +1 -0
  96. package/dist/esm/api/resources/business/resources/cuisines/client/index.mjs +1 -0
  97. package/dist/esm/api/resources/business/resources/cuisines/exports.d.mts +2 -0
  98. package/dist/esm/api/resources/business/resources/cuisines/exports.mjs +3 -0
  99. package/dist/esm/api/resources/business/resources/cuisines/index.d.mts +1 -0
  100. package/dist/esm/api/resources/business/resources/cuisines/index.mjs +1 -0
  101. package/dist/esm/api/resources/business/resources/index.d.mts +9 -0
  102. package/dist/esm/api/resources/business/resources/index.mjs +9 -0
  103. package/dist/esm/api/resources/business/resources/messaging/client/Client.d.mts +24 -1
  104. package/dist/esm/api/resources/business/resources/messaging/client/Client.mjs +74 -0
  105. package/dist/esm/api/resources/business/resources/messaging/client/index.d.mts +1 -1
  106. package/dist/esm/api/resources/business/resources/messaging/client/index.mjs +1 -1
  107. package/dist/esm/api/resources/{businessMessaging/client/requests/BusinessChannelAuthAuthenticateRequest.d.mts → business/resources/messaging/client/requests/ChannelAuthMessagingRequest.d.mts} +1 -1
  108. package/dist/esm/api/resources/business/resources/messaging/client/requests/ChannelAuthMessagingRequest.mjs +2 -0
  109. package/dist/esm/api/resources/business/resources/messaging/client/requests/index.d.mts +1 -0
  110. package/dist/esm/api/resources/business/resources/messaging/client/requests/index.mjs +1 -0
  111. package/dist/esm/api/resources/business/resources/pushNotifications/client/Client.d.mts +47 -0
  112. package/dist/esm/api/resources/{businessPushNotifications → business/resources/pushNotifications}/client/Client.mjs +20 -20
  113. package/dist/esm/api/resources/{businessPushNotifications/client/requests/UnregisterBusinessPushTokenRequest.d.mts → business/resources/pushNotifications/client/requests/UnregisterPushNotificationsRequest.d.mts} +1 -1
  114. package/dist/esm/api/resources/business/resources/pushNotifications/client/requests/UnregisterPushNotificationsRequest.mjs +2 -0
  115. package/dist/esm/api/resources/business/resources/pushNotifications/client/requests/index.d.mts +2 -0
  116. package/dist/esm/api/resources/business/resources/pushNotifications/exports.d.mts +2 -0
  117. package/dist/esm/api/resources/business/resources/pushNotifications/exports.mjs +3 -0
  118. package/dist/esm/api/resources/{businessPushNotifications/types/RegisterBusinessPushTokenResponse.d.mts → business/resources/pushNotifications/types/RegisterPushNotificationsResponse.d.mts} +1 -1
  119. package/dist/esm/api/resources/business/resources/pushNotifications/types/RegisterPushNotificationsResponse.mjs +2 -0
  120. package/dist/esm/api/resources/business/resources/pushNotifications/types/index.d.mts +1 -0
  121. package/dist/esm/api/resources/business/resources/pushNotifications/types/index.mjs +1 -0
  122. package/dist/esm/api/resources/index.d.mts +0 -5
  123. package/dist/esm/api/resources/index.mjs +0 -5
  124. package/dist/esm/version.d.mts +1 -1
  125. package/dist/esm/version.mjs +1 -1
  126. package/package.json +67 -34
  127. package/reference.md +564 -202
  128. package/dist/cjs/api/resources/businessMessaging/client/Client.d.ts +0 -32
  129. package/dist/cjs/api/resources/businessMessaging/client/requests/index.d.ts +0 -1
  130. package/dist/cjs/api/resources/businessMessaging/exports.d.ts +0 -2
  131. package/dist/cjs/api/resources/businessPushNotifications/client/Client.d.ts +0 -47
  132. package/dist/cjs/api/resources/businessPushNotifications/client/requests/index.d.ts +0 -2
  133. package/dist/cjs/api/resources/businessPushNotifications/exports.d.ts +0 -2
  134. package/dist/cjs/api/resources/businessPushNotifications/types/index.d.ts +0 -1
  135. package/dist/esm/api/resources/businessMessaging/client/Client.d.mts +0 -32
  136. package/dist/esm/api/resources/businessMessaging/client/requests/index.d.mts +0 -1
  137. package/dist/esm/api/resources/businessMessaging/exports.d.mts +0 -2
  138. package/dist/esm/api/resources/businessPushNotifications/client/Client.d.mts +0 -47
  139. package/dist/esm/api/resources/businessPushNotifications/client/requests/index.d.mts +0 -2
  140. package/dist/esm/api/resources/businessPushNotifications/exports.d.mts +0 -2
  141. package/dist/esm/api/resources/businessPushNotifications/types/index.d.mts +0 -1
  142. package/dist/esm/api/resources/businessPushNotifications/types/index.mjs +0 -1
  143. /package/dist/cjs/api/resources/{businessMessaging → business/resources/businesses}/client/index.d.ts +0 -0
  144. /package/dist/cjs/api/resources/{businessMessaging → business/resources/businesses}/client/index.js +0 -0
  145. /package/dist/cjs/api/resources/{businessMessaging/client/requests/BusinessChannelAuthAuthenticateRequest.js → business/resources/businesses/client/requests/DeleteBusinessesRequest.js} +0 -0
  146. /package/dist/cjs/api/resources/{businessPushNotifications/client/requests/UnregisterBusinessPushTokenRequest.js → business/resources/businesses/client/requests/GetBusinessesRequest.js} +0 -0
  147. /package/dist/cjs/api/resources/{businessPushNotifications/types/RegisterBusinessPushTokenResponse.js → business/resources/businesses/client/requests/UpdateBusinessesRequest.js} +0 -0
  148. /package/dist/cjs/api/resources/{businessMessaging → business/resources/businesses}/client/requests/index.js +0 -0
  149. /package/dist/cjs/api/resources/{businessMessaging → business/resources/businesses}/index.d.ts +0 -0
  150. /package/dist/cjs/api/resources/{businessMessaging → business/resources/businesses}/index.js +0 -0
  151. /package/dist/{esm/api/resources/businessMessaging/client/requests/index.mjs → cjs/api/resources/business/resources/categories/client/index.d.ts} +0 -0
  152. /package/dist/cjs/api/resources/{businessPushNotifications → business/resources/pushNotifications}/client/index.d.ts +0 -0
  153. /package/dist/cjs/api/resources/{businessPushNotifications → business/resources/pushNotifications}/client/index.js +0 -0
  154. /package/dist/cjs/api/resources/{businessPushNotifications → business/resources/pushNotifications}/client/requests/StorePushTokenRequest.d.ts +0 -0
  155. /package/dist/cjs/api/resources/{businessPushNotifications → business/resources/pushNotifications}/client/requests/StorePushTokenRequest.js +0 -0
  156. /package/dist/cjs/api/resources/{businessPushNotifications → business/resources/pushNotifications}/client/requests/index.js +0 -0
  157. /package/dist/cjs/api/resources/{businessPushNotifications → business/resources/pushNotifications}/index.d.ts +0 -0
  158. /package/dist/cjs/api/resources/{businessPushNotifications → business/resources/pushNotifications}/index.js +0 -0
  159. /package/dist/esm/api/resources/{businessMessaging → business/resources/businesses}/client/index.d.mts +0 -0
  160. /package/dist/esm/api/resources/{businessMessaging → business/resources/businesses}/client/index.mjs +0 -0
  161. /package/dist/esm/api/resources/{businessMessaging/client/requests/BusinessChannelAuthAuthenticateRequest.mjs → business/resources/businesses/client/requests/DeleteBusinessesRequest.mjs} +0 -0
  162. /package/dist/esm/api/resources/{businessPushNotifications/client/requests/UnregisterBusinessPushTokenRequest.mjs → business/resources/businesses/client/requests/GetBusinessesRequest.mjs} +0 -0
  163. /package/dist/esm/api/resources/{businessPushNotifications/types/RegisterBusinessPushTokenResponse.mjs → business/resources/businesses/client/requests/UpdateBusinessesRequest.mjs} +0 -0
  164. /package/dist/esm/api/resources/{businessMessaging → business/resources/businesses}/index.d.mts +0 -0
  165. /package/dist/esm/api/resources/{businessMessaging → business/resources/businesses}/index.mjs +0 -0
  166. /package/dist/esm/api/resources/{businessPushNotifications → business/resources/pushNotifications}/client/index.d.mts +0 -0
  167. /package/dist/esm/api/resources/{businessPushNotifications → business/resources/pushNotifications}/client/index.mjs +0 -0
  168. /package/dist/esm/api/resources/{businessPushNotifications → business/resources/pushNotifications}/client/requests/StorePushTokenRequest.d.mts +0 -0
  169. /package/dist/esm/api/resources/{businessPushNotifications → business/resources/pushNotifications}/client/requests/StorePushTokenRequest.mjs +0 -0
  170. /package/dist/esm/api/resources/{businessPushNotifications → business/resources/pushNotifications}/client/requests/index.mjs +0 -0
  171. /package/dist/esm/api/resources/{businessPushNotifications → business/resources/pushNotifications}/index.d.mts +0 -0
  172. /package/dist/esm/api/resources/{businessPushNotifications → business/resources/pushNotifications}/index.mjs +0 -0
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * business: "business"
5
+ * }
6
+ */
7
+ export interface UpdateBusinessesRequest {
8
+ business: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ export type { DeleteBusinessesRequest } from "./DeleteBusinessesRequest.js";
2
+ export type { GetBusinessesRequest } from "./GetBusinessesRequest.js";
3
+ export type { UpdateBusinessesRequest } from "./UpdateBusinessesRequest.js";
@@ -0,0 +1,2 @@
1
+ export { BusinessesClient } 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.BusinessMessagingClient = void 0;
18
+ exports.BusinessesClient = void 0;
19
19
  var Client_js_1 = require("./client/Client.js");
20
- Object.defineProperty(exports, "BusinessMessagingClient", { enumerable: true, get: function () { return Client_js_1.BusinessMessagingClient; } });
20
+ Object.defineProperty(exports, "BusinessesClient", { enumerable: true, get: function () { return Client_js_1.BusinessesClient; } });
21
21
  __exportStar(require("./client/index.js"), exports);
@@ -0,0 +1,20 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient.js";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.js";
3
+ import * as core from "../../../../../../core/index.js";
4
+ export declare namespace CategoriesClient {
5
+ type Options = BaseClientOptions;
6
+ interface RequestOptions extends BaseRequestOptions {
7
+ }
8
+ }
9
+ export declare class CategoriesClient {
10
+ protected readonly _options: NormalizedClientOptionsWithAuth<CategoriesClient.Options>;
11
+ constructor(options?: CategoriesClient.Options);
12
+ /**
13
+ * @param {CategoriesClient.RequestOptions} requestOptions - Request-specific configuration.
14
+ *
15
+ * @example
16
+ * await client.business.categories.list()
17
+ */
18
+ list(requestOptions?: CategoriesClient.RequestOptions): core.HttpResponsePromise<void>;
19
+ private __list;
20
+ }
@@ -43,51 +43,36 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
43
43
  });
44
44
  };
45
45
  Object.defineProperty(exports, "__esModule", { value: true });
46
- exports.BusinessMessagingClient = 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
- const FiveOneEat = __importStar(require("../../../index.js"));
54
- class BusinessMessagingClient {
46
+ exports.CategoriesClient = 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 CategoriesClient {
55
54
  constructor(options = {}) {
56
55
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
57
56
  }
58
57
  /**
59
- * This endpoint is used by the business companion mobile app to authenticate with
60
- * Pusher channels. It validates that the authenticated business user has
61
- * permission to access the requested channel, scoped to their active business.
62
- *
63
- * @param {FiveOneEat.BusinessChannelAuthAuthenticateRequest} request
64
- * @param {BusinessMessagingClient.RequestOptions} requestOptions - Request-specific configuration.
65
- *
66
- * @throws {@link FiveOneEat.UnauthorizedError}
67
- * @throws {@link FiveOneEat.UnprocessableEntityError}
58
+ * @param {CategoriesClient.RequestOptions} requestOptions - Request-specific configuration.
68
59
  *
69
60
  * @example
70
- * await client.businessMessaging.businessChannelAuthAuthenticate({
71
- * channel_name: "channel_name",
72
- * socket_id: "socket_id"
73
- * })
61
+ * await client.business.categories.list()
74
62
  */
75
- businessChannelAuthAuthenticate(request, requestOptions) {
76
- return core.HttpResponsePromise.fromPromise(this.__businessChannelAuthAuthenticate(request, requestOptions));
63
+ list(requestOptions) {
64
+ return core.HttpResponsePromise.fromPromise(this.__list(requestOptions));
77
65
  }
78
- __businessChannelAuthAuthenticate(request, requestOptions) {
66
+ __list(requestOptions) {
79
67
  return __awaiter(this, void 0, void 0, function* () {
80
68
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
81
69
  const _authRequest = yield this._options.authProvider.getAuthRequest();
82
70
  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);
83
71
  const _response = yield core.fetcher({
84
- 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/channels/auth"),
85
- method: "POST",
72
+ 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/categories"),
73
+ method: "GET",
86
74
  headers: _headers,
87
- contentType: "application/json",
88
75
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
89
- requestType: "json",
90
- body: request,
91
76
  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,
92
77
  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,
93
78
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -95,24 +80,17 @@ class BusinessMessagingClient {
95
80
  logging: this._options.logging,
96
81
  });
97
82
  if (_response.ok) {
98
- return { data: _response.body, rawResponse: _response.rawResponse };
83
+ return { data: undefined, rawResponse: _response.rawResponse };
99
84
  }
100
85
  if (_response.error.reason === "status-code") {
101
- switch (_response.error.statusCode) {
102
- case 401:
103
- throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
104
- case 422:
105
- throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
106
- default:
107
- throw new errors.FiveOneEatError({
108
- statusCode: _response.error.statusCode,
109
- body: _response.error.body,
110
- rawResponse: _response.rawResponse,
111
- });
112
- }
86
+ throw new errors.FiveOneEatError({
87
+ statusCode: _response.error.statusCode,
88
+ body: _response.error.body,
89
+ rawResponse: _response.rawResponse,
90
+ });
113
91
  }
114
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/business/channels/auth");
92
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/business/categories");
115
93
  });
116
94
  }
117
95
  }
118
- exports.BusinessMessagingClient = BusinessMessagingClient;
96
+ exports.CategoriesClient = CategoriesClient;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { CategoriesClient } 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.BusinessPushNotificationsClient = void 0;
18
+ exports.CategoriesClient = void 0;
19
19
  var Client_js_1 = require("./client/Client.js");
20
- Object.defineProperty(exports, "BusinessPushNotificationsClient", { enumerable: true, get: function () { return Client_js_1.BusinessPushNotificationsClient; } });
20
+ Object.defineProperty(exports, "CategoriesClient", { enumerable: true, get: function () { return Client_js_1.CategoriesClient; } });
21
21
  __exportStar(require("./client/index.js"), exports);
@@ -0,0 +1 @@
1
+ export * from "./client/index.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client/index.js"), exports);
@@ -0,0 +1,20 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient.js";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.js";
3
+ import * as core from "../../../../../../core/index.js";
4
+ export declare namespace CertificationsClient {
5
+ type Options = BaseClientOptions;
6
+ interface RequestOptions extends BaseRequestOptions {
7
+ }
8
+ }
9
+ export declare class CertificationsClient {
10
+ protected readonly _options: NormalizedClientOptionsWithAuth<CertificationsClient.Options>;
11
+ constructor(options?: CertificationsClient.Options);
12
+ /**
13
+ * @param {CertificationsClient.RequestOptions} requestOptions - Request-specific configuration.
14
+ *
15
+ * @example
16
+ * await client.business.certifications.list()
17
+ */
18
+ list(requestOptions?: CertificationsClient.RequestOptions): core.HttpResponsePromise<void>;
19
+ private __list;
20
+ }
@@ -0,0 +1,96 @@
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.CertificationsClient = 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 CertificationsClient {
54
+ constructor(options = {}) {
55
+ this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
56
+ }
57
+ /**
58
+ * @param {CertificationsClient.RequestOptions} requestOptions - Request-specific configuration.
59
+ *
60
+ * @example
61
+ * await client.business.certifications.list()
62
+ */
63
+ list(requestOptions) {
64
+ return core.HttpResponsePromise.fromPromise(this.__list(requestOptions));
65
+ }
66
+ __list(requestOptions) {
67
+ return __awaiter(this, void 0, void 0, function* () {
68
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
69
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
70
+ 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);
71
+ const _response = yield core.fetcher({
72
+ 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/certifications"),
73
+ method: "GET",
74
+ headers: _headers,
75
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
76
+ 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,
77
+ 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,
78
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
79
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
80
+ logging: this._options.logging,
81
+ });
82
+ if (_response.ok) {
83
+ return { data: undefined, rawResponse: _response.rawResponse };
84
+ }
85
+ if (_response.error.reason === "status-code") {
86
+ throw new errors.FiveOneEatError({
87
+ statusCode: _response.error.statusCode,
88
+ body: _response.error.body,
89
+ rawResponse: _response.rawResponse,
90
+ });
91
+ }
92
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/business/certifications");
93
+ });
94
+ }
95
+ }
96
+ exports.CertificationsClient = CertificationsClient;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { CertificationsClient } from "./client/Client.js";
2
+ export * from "./client/index.js";
@@ -0,0 +1,21 @@
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.CertificationsClient = void 0;
19
+ var Client_js_1 = require("./client/Client.js");
20
+ Object.defineProperty(exports, "CertificationsClient", { enumerable: true, get: function () { return Client_js_1.CertificationsClient; } });
21
+ __exportStar(require("./client/index.js"), exports);
@@ -0,0 +1 @@
1
+ export * from "./client/index.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client/index.js"), exports);
@@ -0,0 +1,20 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient.js";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.js";
3
+ import * as core from "../../../../../../core/index.js";
4
+ export declare namespace CuisinesClient {
5
+ type Options = BaseClientOptions;
6
+ interface RequestOptions extends BaseRequestOptions {
7
+ }
8
+ }
9
+ export declare class CuisinesClient {
10
+ protected readonly _options: NormalizedClientOptionsWithAuth<CuisinesClient.Options>;
11
+ constructor(options?: CuisinesClient.Options);
12
+ /**
13
+ * @param {CuisinesClient.RequestOptions} requestOptions - Request-specific configuration.
14
+ *
15
+ * @example
16
+ * await client.business.cuisines.list()
17
+ */
18
+ list(requestOptions?: CuisinesClient.RequestOptions): core.HttpResponsePromise<void>;
19
+ private __list;
20
+ }
@@ -0,0 +1,96 @@
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.CuisinesClient = 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 CuisinesClient {
54
+ constructor(options = {}) {
55
+ this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
56
+ }
57
+ /**
58
+ * @param {CuisinesClient.RequestOptions} requestOptions - Request-specific configuration.
59
+ *
60
+ * @example
61
+ * await client.business.cuisines.list()
62
+ */
63
+ list(requestOptions) {
64
+ return core.HttpResponsePromise.fromPromise(this.__list(requestOptions));
65
+ }
66
+ __list(requestOptions) {
67
+ return __awaiter(this, void 0, void 0, function* () {
68
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
69
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
70
+ 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);
71
+ const _response = yield core.fetcher({
72
+ 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/cuisines"),
73
+ method: "GET",
74
+ headers: _headers,
75
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
76
+ 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,
77
+ 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,
78
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
79
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
80
+ logging: this._options.logging,
81
+ });
82
+ if (_response.ok) {
83
+ return { data: undefined, rawResponse: _response.rawResponse };
84
+ }
85
+ if (_response.error.reason === "status-code") {
86
+ throw new errors.FiveOneEatError({
87
+ statusCode: _response.error.statusCode,
88
+ body: _response.error.body,
89
+ rawResponse: _response.rawResponse,
90
+ });
91
+ }
92
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/business/cuisines");
93
+ });
94
+ }
95
+ }
96
+ exports.CuisinesClient = CuisinesClient;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { CuisinesClient } from "./client/Client.js";
2
+ export * from "./client/index.js";
@@ -0,0 +1,21 @@
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.CuisinesClient = void 0;
19
+ var Client_js_1 = require("./client/Client.js");
20
+ Object.defineProperty(exports, "CuisinesClient", { enumerable: true, get: function () { return Client_js_1.CuisinesClient; } });
21
+ __exportStar(require("./client/index.js"), exports);
@@ -0,0 +1 @@
1
+ export * from "./client/index.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client/index.js"), exports);
@@ -4,13 +4,22 @@ export * from "./auth/types/index.js";
4
4
  export * from "./bulletins/client/requests/index.js";
5
5
  export * as bulletins from "./bulletins/index.js";
6
6
  export * from "./bulletins/types/index.js";
7
+ export * from "./businesses/client/requests/index.js";
8
+ export * as businesses from "./businesses/index.js";
9
+ export * as categories from "./categories/index.js";
10
+ export * as certifications from "./certifications/index.js";
11
+ export * as cuisines from "./cuisines/index.js";
7
12
  export * from "./gallery/client/requests/index.js";
8
13
  export * as gallery from "./gallery/index.js";
9
14
  export * from "./gallery/types/index.js";
10
15
  export * from "./menus/client/requests/index.js";
11
16
  export * as menus from "./menus/index.js";
12
17
  export * from "./menus/types/index.js";
18
+ export * from "./messaging/client/requests/index.js";
13
19
  export * as messaging from "./messaging/index.js";
14
20
  export * from "./profile/client/requests/index.js";
15
21
  export * as profile from "./profile/index.js";
16
22
  export * from "./profile/types/index.js";
23
+ export * from "./pushNotifications/client/requests/index.js";
24
+ export * as pushNotifications from "./pushNotifications/index.js";
25
+ export * from "./pushNotifications/types/index.js";
@@ -36,20 +36,29 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.profile = exports.messaging = exports.menus = exports.gallery = exports.bulletins = exports.auth = void 0;
39
+ exports.pushNotifications = exports.profile = exports.messaging = exports.menus = exports.gallery = exports.cuisines = exports.certifications = exports.categories = exports.businesses = exports.bulletins = exports.auth = void 0;
40
40
  __exportStar(require("./auth/client/requests/index.js"), exports);
41
41
  exports.auth = __importStar(require("./auth/index.js"));
42
42
  __exportStar(require("./auth/types/index.js"), exports);
43
43
  __exportStar(require("./bulletins/client/requests/index.js"), exports);
44
44
  exports.bulletins = __importStar(require("./bulletins/index.js"));
45
45
  __exportStar(require("./bulletins/types/index.js"), exports);
46
+ __exportStar(require("./businesses/client/requests/index.js"), exports);
47
+ exports.businesses = __importStar(require("./businesses/index.js"));
48
+ exports.categories = __importStar(require("./categories/index.js"));
49
+ exports.certifications = __importStar(require("./certifications/index.js"));
50
+ exports.cuisines = __importStar(require("./cuisines/index.js"));
46
51
  __exportStar(require("./gallery/client/requests/index.js"), exports);
47
52
  exports.gallery = __importStar(require("./gallery/index.js"));
48
53
  __exportStar(require("./gallery/types/index.js"), exports);
49
54
  __exportStar(require("./menus/client/requests/index.js"), exports);
50
55
  exports.menus = __importStar(require("./menus/index.js"));
51
56
  __exportStar(require("./menus/types/index.js"), exports);
57
+ __exportStar(require("./messaging/client/requests/index.js"), exports);
52
58
  exports.messaging = __importStar(require("./messaging/index.js"));
53
59
  __exportStar(require("./profile/client/requests/index.js"), exports);
54
60
  exports.profile = __importStar(require("./profile/index.js"));
55
61
  __exportStar(require("./profile/types/index.js"), exports);
62
+ __exportStar(require("./pushNotifications/client/requests/index.js"), exports);
63
+ exports.pushNotifications = __importStar(require("./pushNotifications/index.js"));
64
+ __exportStar(require("./pushNotifications/types/index.js"), exports);