@51eat/sdk 0.0.20 → 0.0.22
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.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/business/client/Client.d.ts +5 -2
- package/dist/cjs/api/resources/business/client/Client.js +7 -2
- package/dist/cjs/api/resources/business/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/index.js +5 -1
- package/dist/cjs/api/resources/business/resources/messaging/client/Client.d.ts +24 -1
- package/dist/cjs/api/resources/business/resources/messaging/client/Client.js +107 -0
- package/dist/cjs/api/resources/business/resources/messaging/client/index.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/messaging/client/index.js +15 -0
- package/dist/cjs/api/resources/business/resources/messaging/client/requests/ChannelAuthMessagingRequest.d.ts +13 -0
- package/dist/cjs/api/resources/business/resources/messaging/client/requests/ChannelAuthMessagingRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/messaging/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/messaging/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/business/resources/pushNotifications/client/Client.d.ts +47 -0
- package/dist/cjs/api/resources/business/resources/pushNotifications/client/Client.js +182 -0
- package/dist/cjs/api/resources/business/resources/pushNotifications/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/pushNotifications/client/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/pushNotifications/client/requests/UnregisterPushNotificationsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/pushNotifications/client/requests/UnregisterPushNotificationsRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/pushNotifications/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/pushNotifications/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/business/resources/pushNotifications/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/pushNotifications/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/pushNotifications/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/pushNotifications/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/pushNotifications/types/RegisterPushNotificationsResponse.d.ts +7 -0
- package/dist/cjs/api/resources/business/resources/pushNotifications/types/RegisterPushNotificationsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/pushNotifications/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/pushNotifications/types/index.js +17 -0
- package/dist/cjs/api/resources/customer/resources/pushNotifications/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/customer/resources/pushNotifications/client/Client.js +1 -1
- package/dist/cjs/api/resources/customer/resources/pushNotifications/client/requests/AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest.d.ts +19 -0
- package/dist/cjs/api/resources/customer/resources/pushNotifications/client/requests/AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest.js +11 -0
- package/dist/cjs/api/resources/customer/resources/pushNotifications/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/customer/resources/pushNotifications/client/requests/index.js +3 -3
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/business/client/Client.d.mts +5 -2
- package/dist/esm/api/resources/business/client/Client.mjs +7 -2
- package/dist/esm/api/resources/business/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/index.mjs +4 -0
- package/dist/esm/api/resources/business/resources/messaging/client/Client.d.mts +24 -1
- package/dist/esm/api/resources/business/resources/messaging/client/Client.mjs +74 -0
- package/dist/esm/api/resources/business/resources/messaging/client/index.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/messaging/client/index.mjs +1 -1
- package/dist/esm/api/resources/business/resources/messaging/client/requests/ChannelAuthMessagingRequest.d.mts +13 -0
- package/dist/esm/api/resources/business/resources/messaging/client/requests/ChannelAuthMessagingRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/messaging/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/messaging/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/pushNotifications/client/Client.d.mts +47 -0
- package/dist/esm/api/resources/business/resources/pushNotifications/client/Client.mjs +145 -0
- package/dist/esm/api/resources/business/resources/pushNotifications/client/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/pushNotifications/client/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/pushNotifications/client/requests/UnregisterPushNotificationsRequest.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/pushNotifications/client/requests/UnregisterPushNotificationsRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/pushNotifications/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/pushNotifications/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/pushNotifications/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/pushNotifications/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/pushNotifications/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/pushNotifications/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/pushNotifications/types/RegisterPushNotificationsResponse.d.mts +7 -0
- package/dist/esm/api/resources/business/resources/pushNotifications/types/RegisterPushNotificationsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/pushNotifications/types/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/pushNotifications/types/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/pushNotifications/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/customer/resources/pushNotifications/client/Client.mjs +1 -1
- package/dist/esm/api/resources/customer/resources/pushNotifications/client/requests/AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest.d.mts +19 -0
- package/dist/esm/api/resources/customer/resources/pushNotifications/client/requests/AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest.mjs +8 -0
- package/dist/esm/api/resources/customer/resources/pushNotifications/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/customer/resources/pushNotifications/client/requests/index.mjs +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +23 -12
- package/reference.md +203 -1
- /package/dist/cjs/api/resources/{customer → business}/resources/pushNotifications/client/requests/StorePushTokenRequest.d.ts +0 -0
- /package/dist/cjs/api/resources/{customer → business}/resources/pushNotifications/client/requests/StorePushTokenRequest.js +0 -0
- /package/dist/esm/api/resources/{customer → business}/resources/pushNotifications/client/requests/StorePushTokenRequest.d.mts +0 -0
- /package/dist/esm/api/resources/{customer → business}/resources/pushNotifications/client/requests/StorePushTokenRequest.mjs +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./RegisterPushNotificationsResponse.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./RegisterPushNotificationsResponse.mjs";
|
|
@@ -14,7 +14,7 @@ export declare class PushNotificationsClient {
|
|
|
14
14
|
* Register (or update) the authenticated user's Expo push token for a device. If
|
|
15
15
|
* a `device_id` is provided, an existing registration for that device is updated.
|
|
16
16
|
*
|
|
17
|
-
* @param {FiveOneEat.customer.
|
|
17
|
+
* @param {FiveOneEat.customer.AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest} request
|
|
18
18
|
* @param {PushNotificationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
19
19
|
*
|
|
20
20
|
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
@@ -25,7 +25,7 @@ export declare class PushNotificationsClient {
|
|
|
25
25
|
* token: "token"
|
|
26
26
|
* })
|
|
27
27
|
*/
|
|
28
|
-
register(request: FiveOneEat.customer.
|
|
28
|
+
register(request: FiveOneEat.customer.AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest, requestOptions?: PushNotificationsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.RegisterPushNotificationsResponse>;
|
|
29
29
|
private __register;
|
|
30
30
|
/**
|
|
31
31
|
* Delete the authenticated user's Expo push token registration.
|
|
@@ -23,7 +23,7 @@ export class PushNotificationsClient {
|
|
|
23
23
|
* Register (or update) the authenticated user's Expo push token for a device. If
|
|
24
24
|
* a `device_id` is provided, an existing registration for that device is updated.
|
|
25
25
|
*
|
|
26
|
-
* @param {FiveOneEat.customer.
|
|
26
|
+
* @param {FiveOneEat.customer.AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest} request
|
|
27
27
|
* @param {PushNotificationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
28
28
|
*
|
|
29
29
|
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* token: "token"
|
|
5
|
+
* }
|
|
6
|
+
*/
|
|
7
|
+
export interface AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest {
|
|
8
|
+
token: string;
|
|
9
|
+
device_id?: string | null;
|
|
10
|
+
device_name?: string | null;
|
|
11
|
+
platform?: AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest.Platform | null;
|
|
12
|
+
}
|
|
13
|
+
export declare namespace AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest {
|
|
14
|
+
const Platform: {
|
|
15
|
+
readonly Ios: "ios";
|
|
16
|
+
readonly Android: "android";
|
|
17
|
+
};
|
|
18
|
+
type Platform = (typeof Platform)[keyof typeof Platform];
|
|
19
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export var AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest;
|
|
3
|
+
(function (AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest) {
|
|
4
|
+
AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest.Platform = {
|
|
5
|
+
Ios: "ios",
|
|
6
|
+
Android: "android",
|
|
7
|
+
};
|
|
8
|
+
})(AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest || (AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest = {}));
|
package/dist/esm/api/resources/customer/resources/pushNotifications/client/requests/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest } from "./AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest.mjs";
|
|
2
2
|
export type { UnregisterPushNotificationsRequest } from "./UnregisterPushNotificationsRequest.mjs";
|
package/dist/esm/api/resources/customer/resources/pushNotifications/client/requests/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest } from "./AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.22";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.0.
|
|
1
|
+
export const SDK_VERSION = "0.0.22";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@51eat/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.22",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -132,6 +132,17 @@
|
|
|
132
132
|
},
|
|
133
133
|
"default": "./dist/cjs/api/resources/business/resources/menus/exports.js"
|
|
134
134
|
},
|
|
135
|
+
"./business/messaging": {
|
|
136
|
+
"import": {
|
|
137
|
+
"types": "./dist/esm/api/resources/business/resources/messaging/exports.d.mts",
|
|
138
|
+
"default": "./dist/esm/api/resources/business/resources/messaging/exports.mjs"
|
|
139
|
+
},
|
|
140
|
+
"require": {
|
|
141
|
+
"types": "./dist/cjs/api/resources/business/resources/messaging/exports.d.ts",
|
|
142
|
+
"default": "./dist/cjs/api/resources/business/resources/messaging/exports.js"
|
|
143
|
+
},
|
|
144
|
+
"default": "./dist/cjs/api/resources/business/resources/messaging/exports.js"
|
|
145
|
+
},
|
|
135
146
|
"./business/profile": {
|
|
136
147
|
"import": {
|
|
137
148
|
"types": "./dist/esm/api/resources/business/resources/profile/exports.d.mts",
|
|
@@ -143,6 +154,17 @@
|
|
|
143
154
|
},
|
|
144
155
|
"default": "./dist/cjs/api/resources/business/resources/profile/exports.js"
|
|
145
156
|
},
|
|
157
|
+
"./business/pushNotifications": {
|
|
158
|
+
"import": {
|
|
159
|
+
"types": "./dist/esm/api/resources/business/resources/pushNotifications/exports.d.mts",
|
|
160
|
+
"default": "./dist/esm/api/resources/business/resources/pushNotifications/exports.mjs"
|
|
161
|
+
},
|
|
162
|
+
"require": {
|
|
163
|
+
"types": "./dist/cjs/api/resources/business/resources/pushNotifications/exports.d.ts",
|
|
164
|
+
"default": "./dist/cjs/api/resources/business/resources/pushNotifications/exports.js"
|
|
165
|
+
},
|
|
166
|
+
"default": "./dist/cjs/api/resources/business/resources/pushNotifications/exports.js"
|
|
167
|
+
},
|
|
146
168
|
"./business/auth/tokens": {
|
|
147
169
|
"import": {
|
|
148
170
|
"types": "./dist/esm/api/resources/business/resources/auth/resources/tokens/exports.d.mts",
|
|
@@ -198,17 +220,6 @@
|
|
|
198
220
|
},
|
|
199
221
|
"default": "./dist/cjs/api/resources/business/resources/menus/resources/items/resources/modifiers/exports.js"
|
|
200
222
|
},
|
|
201
|
-
"./business/messaging": {
|
|
202
|
-
"import": {
|
|
203
|
-
"types": "./dist/esm/api/resources/business/resources/messaging/exports.d.mts",
|
|
204
|
-
"default": "./dist/esm/api/resources/business/resources/messaging/exports.mjs"
|
|
205
|
-
},
|
|
206
|
-
"require": {
|
|
207
|
-
"types": "./dist/cjs/api/resources/business/resources/messaging/exports.d.ts",
|
|
208
|
-
"default": "./dist/cjs/api/resources/business/resources/messaging/exports.js"
|
|
209
|
-
},
|
|
210
|
-
"default": "./dist/cjs/api/resources/business/resources/messaging/exports.js"
|
|
211
|
-
},
|
|
212
223
|
"./business/messaging/conversations": {
|
|
213
224
|
"import": {
|
|
214
225
|
"types": "./dist/esm/api/resources/business/resources/messaging/resources/conversations/exports.d.mts",
|
package/reference.md
CHANGED
|
@@ -1879,6 +1879,75 @@ await client.business.menus.delete({
|
|
|
1879
1879
|
</dl>
|
|
1880
1880
|
|
|
1881
1881
|
|
|
1882
|
+
</dd>
|
|
1883
|
+
</dl>
|
|
1884
|
+
</details>
|
|
1885
|
+
|
|
1886
|
+
## Business Messaging
|
|
1887
|
+
<details><summary><code>client.business.messaging.<a href="/src/api/resources/business/resources/messaging/client/Client.ts">channelAuth</a>({ ...params }) -> number</code></summary>
|
|
1888
|
+
<dl>
|
|
1889
|
+
<dd>
|
|
1890
|
+
|
|
1891
|
+
#### 📝 Description
|
|
1892
|
+
|
|
1893
|
+
<dl>
|
|
1894
|
+
<dd>
|
|
1895
|
+
|
|
1896
|
+
<dl>
|
|
1897
|
+
<dd>
|
|
1898
|
+
|
|
1899
|
+
This endpoint is used by the business companion mobile app to authenticate with
|
|
1900
|
+
Pusher channels. It validates that the authenticated business user has
|
|
1901
|
+
permission to access the requested channel, scoped to their active business.
|
|
1902
|
+
</dd>
|
|
1903
|
+
</dl>
|
|
1904
|
+
</dd>
|
|
1905
|
+
</dl>
|
|
1906
|
+
|
|
1907
|
+
#### 🔌 Usage
|
|
1908
|
+
|
|
1909
|
+
<dl>
|
|
1910
|
+
<dd>
|
|
1911
|
+
|
|
1912
|
+
<dl>
|
|
1913
|
+
<dd>
|
|
1914
|
+
|
|
1915
|
+
```typescript
|
|
1916
|
+
await client.business.messaging.channelAuth({
|
|
1917
|
+
channel_name: "channel_name",
|
|
1918
|
+
socket_id: "socket_id"
|
|
1919
|
+
});
|
|
1920
|
+
|
|
1921
|
+
```
|
|
1922
|
+
</dd>
|
|
1923
|
+
</dl>
|
|
1924
|
+
</dd>
|
|
1925
|
+
</dl>
|
|
1926
|
+
|
|
1927
|
+
#### ⚙️ Parameters
|
|
1928
|
+
|
|
1929
|
+
<dl>
|
|
1930
|
+
<dd>
|
|
1931
|
+
|
|
1932
|
+
<dl>
|
|
1933
|
+
<dd>
|
|
1934
|
+
|
|
1935
|
+
**request:** `FiveOneEat.business.ChannelAuthMessagingRequest`
|
|
1936
|
+
|
|
1937
|
+
</dd>
|
|
1938
|
+
</dl>
|
|
1939
|
+
|
|
1940
|
+
<dl>
|
|
1941
|
+
<dd>
|
|
1942
|
+
|
|
1943
|
+
**requestOptions:** `MessagingClient.RequestOptions`
|
|
1944
|
+
|
|
1945
|
+
</dd>
|
|
1946
|
+
</dl>
|
|
1947
|
+
</dd>
|
|
1948
|
+
</dl>
|
|
1949
|
+
|
|
1950
|
+
|
|
1882
1951
|
</dd>
|
|
1883
1952
|
</dl>
|
|
1884
1953
|
</details>
|
|
@@ -2128,6 +2197,139 @@ await client.business.profile.syncCertifications({
|
|
|
2128
2197
|
</dl>
|
|
2129
2198
|
|
|
2130
2199
|
|
|
2200
|
+
</dd>
|
|
2201
|
+
</dl>
|
|
2202
|
+
</details>
|
|
2203
|
+
|
|
2204
|
+
## Business PushNotifications
|
|
2205
|
+
<details><summary><code>client.business.pushNotifications.<a href="/src/api/resources/business/resources/pushNotifications/client/Client.ts">register</a>({ ...params }) -> FiveOneEat.RegisterPushNotificationsResponse</code></summary>
|
|
2206
|
+
<dl>
|
|
2207
|
+
<dd>
|
|
2208
|
+
|
|
2209
|
+
#### 📝 Description
|
|
2210
|
+
|
|
2211
|
+
<dl>
|
|
2212
|
+
<dd>
|
|
2213
|
+
|
|
2214
|
+
<dl>
|
|
2215
|
+
<dd>
|
|
2216
|
+
|
|
2217
|
+
Register (or update) the authenticated business user's Expo push token for a
|
|
2218
|
+
device. If a `device_id` is provided, an existing registration for that device
|
|
2219
|
+
is updated.
|
|
2220
|
+
</dd>
|
|
2221
|
+
</dl>
|
|
2222
|
+
</dd>
|
|
2223
|
+
</dl>
|
|
2224
|
+
|
|
2225
|
+
#### 🔌 Usage
|
|
2226
|
+
|
|
2227
|
+
<dl>
|
|
2228
|
+
<dd>
|
|
2229
|
+
|
|
2230
|
+
<dl>
|
|
2231
|
+
<dd>
|
|
2232
|
+
|
|
2233
|
+
```typescript
|
|
2234
|
+
await client.business.pushNotifications.register({
|
|
2235
|
+
token: "token"
|
|
2236
|
+
});
|
|
2237
|
+
|
|
2238
|
+
```
|
|
2239
|
+
</dd>
|
|
2240
|
+
</dl>
|
|
2241
|
+
</dd>
|
|
2242
|
+
</dl>
|
|
2243
|
+
|
|
2244
|
+
#### ⚙️ Parameters
|
|
2245
|
+
|
|
2246
|
+
<dl>
|
|
2247
|
+
<dd>
|
|
2248
|
+
|
|
2249
|
+
<dl>
|
|
2250
|
+
<dd>
|
|
2251
|
+
|
|
2252
|
+
**request:** `FiveOneEat.business.StorePushTokenRequest`
|
|
2253
|
+
|
|
2254
|
+
</dd>
|
|
2255
|
+
</dl>
|
|
2256
|
+
|
|
2257
|
+
<dl>
|
|
2258
|
+
<dd>
|
|
2259
|
+
|
|
2260
|
+
**requestOptions:** `PushNotificationsClient.RequestOptions`
|
|
2261
|
+
|
|
2262
|
+
</dd>
|
|
2263
|
+
</dl>
|
|
2264
|
+
</dd>
|
|
2265
|
+
</dl>
|
|
2266
|
+
|
|
2267
|
+
|
|
2268
|
+
</dd>
|
|
2269
|
+
</dl>
|
|
2270
|
+
</details>
|
|
2271
|
+
|
|
2272
|
+
<details><summary><code>client.business.pushNotifications.<a href="/src/api/resources/business/resources/pushNotifications/client/Client.ts">unregister</a>({ ...params }) -> void</code></summary>
|
|
2273
|
+
<dl>
|
|
2274
|
+
<dd>
|
|
2275
|
+
|
|
2276
|
+
#### 📝 Description
|
|
2277
|
+
|
|
2278
|
+
<dl>
|
|
2279
|
+
<dd>
|
|
2280
|
+
|
|
2281
|
+
<dl>
|
|
2282
|
+
<dd>
|
|
2283
|
+
|
|
2284
|
+
Delete the authenticated business user's Expo push token registration.
|
|
2285
|
+
</dd>
|
|
2286
|
+
</dl>
|
|
2287
|
+
</dd>
|
|
2288
|
+
</dl>
|
|
2289
|
+
|
|
2290
|
+
#### 🔌 Usage
|
|
2291
|
+
|
|
2292
|
+
<dl>
|
|
2293
|
+
<dd>
|
|
2294
|
+
|
|
2295
|
+
<dl>
|
|
2296
|
+
<dd>
|
|
2297
|
+
|
|
2298
|
+
```typescript
|
|
2299
|
+
await client.business.pushNotifications.unregister({
|
|
2300
|
+
token: "token"
|
|
2301
|
+
});
|
|
2302
|
+
|
|
2303
|
+
```
|
|
2304
|
+
</dd>
|
|
2305
|
+
</dl>
|
|
2306
|
+
</dd>
|
|
2307
|
+
</dl>
|
|
2308
|
+
|
|
2309
|
+
#### ⚙️ Parameters
|
|
2310
|
+
|
|
2311
|
+
<dl>
|
|
2312
|
+
<dd>
|
|
2313
|
+
|
|
2314
|
+
<dl>
|
|
2315
|
+
<dd>
|
|
2316
|
+
|
|
2317
|
+
**request:** `FiveOneEat.business.UnregisterPushNotificationsRequest`
|
|
2318
|
+
|
|
2319
|
+
</dd>
|
|
2320
|
+
</dl>
|
|
2321
|
+
|
|
2322
|
+
<dl>
|
|
2323
|
+
<dd>
|
|
2324
|
+
|
|
2325
|
+
**requestOptions:** `PushNotificationsClient.RequestOptions`
|
|
2326
|
+
|
|
2327
|
+
</dd>
|
|
2328
|
+
</dl>
|
|
2329
|
+
</dd>
|
|
2330
|
+
</dl>
|
|
2331
|
+
|
|
2332
|
+
|
|
2131
2333
|
</dd>
|
|
2132
2334
|
</dl>
|
|
2133
2335
|
</details>
|
|
@@ -5390,7 +5592,7 @@ await client.customer.pushNotifications.register({
|
|
|
5390
5592
|
<dl>
|
|
5391
5593
|
<dd>
|
|
5392
5594
|
|
|
5393
|
-
**request:** `FiveOneEat.customer.
|
|
5595
|
+
**request:** `FiveOneEat.customer.AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest`
|
|
5394
5596
|
|
|
5395
5597
|
</dd>
|
|
5396
5598
|
</dl>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|