activitysmith 1.14.0 → 1.16.0
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/README.md +119 -12
- package/dist/generated/apis/AppIconBadgesApi.d.ts +4 -4
- package/dist/generated/apis/AppIconBadgesApi.js +4 -4
- package/dist/generated/apis/DevicesApi.d.ts +33 -0
- package/dist/generated/apis/DevicesApi.js +62 -0
- package/dist/generated/apis/LiveActivitiesApi.d.ts +4 -4
- package/dist/generated/apis/LiveActivitiesApi.js +4 -4
- package/dist/generated/apis/MetricsApi.d.ts +17 -3
- package/dist/generated/apis/MetricsApi.js +37 -2
- package/dist/generated/apis/PushNotificationsApi.d.ts +14 -1
- package/dist/generated/apis/PushNotificationsApi.js +33 -0
- package/dist/generated/apis/index.d.ts +1 -0
- package/dist/generated/apis/index.js +1 -0
- package/dist/generated/models/index.d.ts +427 -14
- package/dist/generated/models/index.js +35 -1
- package/dist/src/ActivitySmith.d.ts +42 -2
- package/dist/src/ActivitySmith.js +51 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -42,13 +42,13 @@ await activitysmith.notifications.send({
|
|
|
42
42
|
|
|
43
43
|

|
|
44
44
|
|
|
45
|
-
Set `icon` to a publicly accessible HTTPS image URL to show a logo or avatar alongside a smaller ActivitySmith app icon. With a custom icon, iOS may omit `subtitle` from the notification.
|
|
45
|
+
Set `icon` to a publicly accessible HTTPS image URL to show a logo or avatar alongside a smaller ActivitySmith app icon. Host the image anywhere, such as on your own website or CDN. With a custom icon, iOS may omit `subtitle` from the notification.
|
|
46
46
|
|
|
47
47
|
```js
|
|
48
48
|
await activitysmith.notifications.send({
|
|
49
49
|
title: "MRR just crossed $10,000 🎉",
|
|
50
50
|
message: "Up 18% this month from 31 new subscriptions.",
|
|
51
|
-
icon: "https://
|
|
51
|
+
icon: "https://example.com/icons/stripe.png",
|
|
52
52
|
});
|
|
53
53
|
```
|
|
54
54
|
|
|
@@ -142,7 +142,7 @@ await activitysmith.notifications.send({
|
|
|
142
142
|
});
|
|
143
143
|
```
|
|
144
144
|
|
|
145
|
-
###
|
|
145
|
+
### Interruption Levels
|
|
146
146
|
|
|
147
147
|

|
|
148
148
|
|
|
@@ -190,6 +190,26 @@ await activitysmith.notifications.send({
|
|
|
190
190
|
});
|
|
191
191
|
```
|
|
192
192
|
|
|
193
|
+
### Push Notification Sounds
|
|
194
|
+
|
|
195
|
+
Use `sound` to choose the sound a Push Notification plays. Omit it to play the Push Notifications sound picked in the ActivitySmith app under Settings > Sounds.
|
|
196
|
+
|
|
197
|
+
| Value | Behavior |
|
|
198
|
+
| --- | --- |
|
|
199
|
+
| `default` | Plays the sound picked on the device. This is the same as omitting `sound`. |
|
|
200
|
+
| `none` | Plays no sound. |
|
|
201
|
+
| A sound name | Plays one of the sounds bundled with the app: `arrive`, `bell`, `bells`, `bitflip`, `bloom`, `callout`, `chime`, `coin`, `corrupt`, `crest`, `cue`, `ding`, `drop`, `ember`, `emblem`, `flourish`, `glimmer`, `glint`, `glitch`, `lantern`, `nightfall`, `nudge`, `pixel`, `pop`, `signal`, `streak`, `tally`, `wand`, `whoosh`, or `zip`. |
|
|
202
|
+
|
|
203
|
+
Passive Push Notifications play no sound.
|
|
204
|
+
|
|
205
|
+
```js
|
|
206
|
+
await activitysmith.notifications.send({
|
|
207
|
+
title: "💸 New sale",
|
|
208
|
+
message: "Pro plan, $29/month",
|
|
209
|
+
sound: "coin",
|
|
210
|
+
});
|
|
211
|
+
```
|
|
212
|
+
|
|
193
213
|
### Replace a Push Notification
|
|
194
214
|
|
|
195
215
|
Every send returns a `notification_id`. Pass it to `replace` to update a Push Notification you already sent, for example when an incident you alerted on is resolved. The replacement takes the old notification's place on the Lock Screen and in history instead of stacking a second one. It arrives silently, without sound or waking the screen, and goes to the same recipients as the original.
|
|
@@ -208,6 +228,23 @@ await activitysmith.notifications.replace(sent.notification_id, {
|
|
|
208
228
|
});
|
|
209
229
|
```
|
|
210
230
|
|
|
231
|
+
### Dismiss a Push Notification
|
|
232
|
+
|
|
233
|
+
Pass the `notification_id` to `dismiss` when a Push Notification no longer needs attention, for example after you answered an agent's question somewhere else.
|
|
234
|
+
|
|
235
|
+
Dismissing clears it from the Lock Screen and Notification Center on every device it was sent to. History keeps it.
|
|
236
|
+
|
|
237
|
+
Devices clear the notification in the background, so it can take a moment.
|
|
238
|
+
|
|
239
|
+
```js
|
|
240
|
+
const sent = await activitysmith.notifications.send({
|
|
241
|
+
title: "🙋 Agent needs your input",
|
|
242
|
+
message: "Approve the database migration?",
|
|
243
|
+
});
|
|
244
|
+
|
|
245
|
+
await activitysmith.notifications.dismiss(sent.notification_id);
|
|
246
|
+
```
|
|
247
|
+
|
|
211
248
|
## Live Activities
|
|
212
249
|
|
|
213
250
|
Choose the Live Activity type that matches what you want to show:
|
|
@@ -373,6 +410,20 @@ For a countdown, send `duration_seconds`. You can update `title`, `subtitle`, `c
|
|
|
373
410
|
|
|
374
411
|
To start at 00:00 and count up, set `counts_down: false` and leave out `duration_seconds`.
|
|
375
412
|
|
|
413
|
+
To count down to a set time, send `timer_end_at` instead of `duration_seconds`. If the timer started earlier, also send `timer_start_at`. The progress bar then shows the time already gone.
|
|
414
|
+
|
|
415
|
+
```ts
|
|
416
|
+
await activitysmith.liveActivities.stream("nightly-backup", {
|
|
417
|
+
content_state: {
|
|
418
|
+
title: "Nightly Backup",
|
|
419
|
+
subtitle: "uploading archive",
|
|
420
|
+
type: "timer",
|
|
421
|
+
timer_start_at: "2026-11-19T01:00:00Z",
|
|
422
|
+
timer_end_at: "2026-11-19T02:00:00Z",
|
|
423
|
+
},
|
|
424
|
+
});
|
|
425
|
+
```
|
|
426
|
+
|
|
376
427
|
### End Live Activity
|
|
377
428
|
|
|
378
429
|
Call `endStream(...)` with the same `streamKey` to dismiss the Live Activity. You can include final values before it is removed. Set `auto_dismiss_seconds` to dismiss it after a delay in seconds, or `auto_dismiss_minutes` for minutes. Use `0` for immediate dismissal. Seconds take precedence if both are set.
|
|
@@ -441,13 +492,13 @@ await activitysmith.liveActivities.stream("nightly-database-backup", {
|
|
|
441
492
|
});
|
|
442
493
|
```
|
|
443
494
|
|
|
444
|
-
###
|
|
495
|
+
### Colors
|
|
445
496
|
|
|
446
497
|
Choose from these colors for the Live Activity accent, including progress bars and action buttons, or apply them to an individual icon or badge:
|
|
447
498
|
|
|
448
499
|
`lime`, `green`, `cyan`, `blue`, `purple`, `magenta`, `red`, `orange`, `yellow`, `gray`
|
|
449
500
|
|
|
450
|
-
###
|
|
501
|
+
### Actions
|
|
451
502
|
|
|
452
503
|

|
|
453
504
|
|
|
@@ -574,15 +625,31 @@ await activitysmith.liveActivities.stream("agent-approval", {
|
|
|
574
625
|
});
|
|
575
626
|
```
|
|
576
627
|
|
|
628
|
+
### Live Activity Sounds
|
|
629
|
+
|
|
630
|
+
Starting a Live Activity plays the Live Activities sound picked in the ActivitySmith app. Updates and ends are silent. Set `sound` on a start, update, or end to choose its sound, with the same values as [Push Notification Sounds](#push-notification-sounds). A sound on an update or end also expands the Live Activity on the Lock Screen, so use it for moments that need attention, such as a failed step.
|
|
631
|
+
|
|
632
|
+
```ts
|
|
633
|
+
await activitysmith.liveActivities.stream("deploy-api", {
|
|
634
|
+
content_state: {
|
|
635
|
+
title: "Deploying API",
|
|
636
|
+
subtitle: "Step 3 failed",
|
|
637
|
+
type: "segmented_progress",
|
|
638
|
+
number_of_steps: 4,
|
|
639
|
+
current_step: 3,
|
|
640
|
+
color: "red",
|
|
641
|
+
},
|
|
642
|
+
sound: "glitch",
|
|
643
|
+
});
|
|
644
|
+
```
|
|
645
|
+
|
|
577
646
|
## Lock Screen Widgets
|
|
578
647
|
|
|
579
648
|

|
|
580
649
|
|
|
581
|
-
ActivitySmith lets you display any value on your Lock Screen with widgets - SaaS metrics, revenue, signups, uptime, habits, or anything else you want to track.
|
|
582
|
-
|
|
583
|
-

|
|
650
|
+
ActivitySmith lets you display any value on your Lock Screen with widgets - SaaS metrics, revenue, signups, uptime, habits, or anything else you want to track. Send a value to a metric key, add a widget to your Lock Screen, and it fetches the latest value automatically.
|
|
584
651
|
|
|
585
|
-
Use the metric key to update its value.
|
|
652
|
+
Use the metric key to update its value. The first value creates the metric.
|
|
586
653
|
|
|
587
654
|
```ts
|
|
588
655
|
await activitysmith.metrics.update("deploy.success_rate", 99.9);
|
|
@@ -594,12 +661,32 @@ String metric values work too.
|
|
|
594
661
|
await activitysmith.metrics.update("prod.status", "healthy");
|
|
595
662
|
```
|
|
596
663
|
|
|
597
|
-
|
|
664
|
+
### Create a metric
|
|
665
|
+
|
|
666
|
+
Use `create` to set the label and how widgets show the value, such as currency, percent, or a unit. Omitted fields keep their current values, so you can call it every time your app starts.
|
|
667
|
+
|
|
668
|
+
```ts
|
|
669
|
+
await activitysmith.metrics.create("mrr", {
|
|
670
|
+
label: "MRR",
|
|
671
|
+
format: "currency",
|
|
672
|
+
currency_code: "USD",
|
|
673
|
+
});
|
|
674
|
+
|
|
675
|
+
await activitysmith.metrics.update("mrr", 12450);
|
|
676
|
+
```
|
|
677
|
+
|
|
678
|
+
You can also create and edit metrics in the [web app](https://activitysmith.com/app/widgets).
|
|
598
679
|
|
|
599
|
-

|
|
681
|
+
|
|
682
|
+
## App Icon Badge
|
|
683
|
+
|
|
684
|
+

|
|
600
685
|
|
|
601
686
|
Show the number you care about on your ActivitySmith app icon. Track MRR, a customer count, a stock price, or any other value you want to keep in view.
|
|
602
687
|
|
|
688
|
+
App Icon Badge requires Push Notifications enabled. On your iPhone, open Settings > ActivitySmith > Notifications and turn on Allow Notifications.
|
|
689
|
+
|
|
603
690
|
### Set or update the badge value
|
|
604
691
|
|
|
605
692
|
```js
|
|
@@ -669,7 +756,7 @@ await activitysmith.liveActivities.update({
|
|
|
669
756
|
|
|
670
757
|
## Channels
|
|
671
758
|
|
|
672
|
-
Use `channels` to target specific team members or devices when sending Push Notifications, Live Activities, or App Icon Badge
|
|
759
|
+
Use `channels` to target specific team members or devices when sending Push Notifications, Live Activities, or App Icon Badge updates. Omit it for account-wide delivery.
|
|
673
760
|
|
|
674
761
|
```js
|
|
675
762
|
await activitysmith.notifications.send({
|
|
@@ -693,6 +780,26 @@ await activitysmith.badgeCount(3, {
|
|
|
693
780
|
});
|
|
694
781
|
```
|
|
695
782
|
|
|
783
|
+
## Paired Devices
|
|
784
|
+
|
|
785
|
+
List the iPhones and iPads paired to your account, for example to check that a device is paired before you send. Active devices come first:
|
|
786
|
+
|
|
787
|
+
```js
|
|
788
|
+
const { devices } = await activitysmith.devices.list();
|
|
789
|
+
|
|
790
|
+
for (const device of devices) {
|
|
791
|
+
console.log(device.device_name, device.system_name, device.is_active);
|
|
792
|
+
}
|
|
793
|
+
```
|
|
794
|
+
|
|
795
|
+
An empty list means no device is paired. Install ActivitySmith on your iPhone, sign in with the same account, and allow notifications. Channel-scoped API keys cannot list devices.
|
|
796
|
+
|
|
797
|
+
Pass `includeInactive` to also list devices that can no longer receive deliveries:
|
|
798
|
+
|
|
799
|
+
```js
|
|
800
|
+
await activitysmith.devices.list({ includeInactive: true });
|
|
801
|
+
```
|
|
802
|
+
|
|
696
803
|
## Error Handling
|
|
697
804
|
|
|
698
805
|
SDK calls return promises, so you can wrap API calls with `try/catch`:
|
|
@@ -19,13 +19,13 @@ export interface UpdateAppIconBadgeCountRequest {
|
|
|
19
19
|
*/
|
|
20
20
|
export declare class AppIconBadgesApi extends runtime.BaseAPI {
|
|
21
21
|
/**
|
|
22
|
-
* Shows a number on the ActivitySmith app icon.
|
|
23
|
-
* Set App Icon Badge
|
|
22
|
+
* Shows a number on the ActivitySmith app icon. Requires Push Notifications enabled for ActivitySmith on the device.
|
|
23
|
+
* Set App Icon Badge
|
|
24
24
|
*/
|
|
25
25
|
updateAppIconBadgeCountRaw(requestParameters: UpdateAppIconBadgeCountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AppIconBadgeCountUpdateResponse>>;
|
|
26
26
|
/**
|
|
27
|
-
* Shows a number on the ActivitySmith app icon.
|
|
28
|
-
* Set App Icon Badge
|
|
27
|
+
* Shows a number on the ActivitySmith app icon. Requires Push Notifications enabled for ActivitySmith on the device.
|
|
28
|
+
* Set App Icon Badge
|
|
29
29
|
*/
|
|
30
30
|
updateAppIconBadgeCount(requestParameters: UpdateAppIconBadgeCountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AppIconBadgeCountUpdateResponse>;
|
|
31
31
|
}
|
|
@@ -20,8 +20,8 @@ const runtime = require("../runtime");
|
|
|
20
20
|
*/
|
|
21
21
|
class AppIconBadgesApi extends runtime.BaseAPI {
|
|
22
22
|
/**
|
|
23
|
-
* Shows a number on the ActivitySmith app icon.
|
|
24
|
-
* Set App Icon Badge
|
|
23
|
+
* Shows a number on the ActivitySmith app icon. Requires Push Notifications enabled for ActivitySmith on the device.
|
|
24
|
+
* Set App Icon Badge
|
|
25
25
|
*/
|
|
26
26
|
async updateAppIconBadgeCountRaw(requestParameters, initOverrides) {
|
|
27
27
|
if (requestParameters['appIconBadgeCountUpdateRequest'] == null) {
|
|
@@ -47,8 +47,8 @@ class AppIconBadgesApi extends runtime.BaseAPI {
|
|
|
47
47
|
return new runtime.JSONApiResponse(response);
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
|
-
* Shows a number on the ActivitySmith app icon.
|
|
51
|
-
* Set App Icon Badge
|
|
50
|
+
* Shows a number on the ActivitySmith app icon. Requires Push Notifications enabled for ActivitySmith on the device.
|
|
51
|
+
* Set App Icon Badge
|
|
52
52
|
*/
|
|
53
53
|
async updateAppIconBadgeCount(requestParameters, initOverrides) {
|
|
54
54
|
const response = await this.updateAppIconBadgeCountRaw(requestParameters, initOverrides);
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ActivitySmith API
|
|
3
|
+
* Send push notifications and Live Activities to your own devices via a single API key.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { AccountDeviceListResponse } from '../models/index';
|
|
14
|
+
export interface ListAccountDevicesRequest {
|
|
15
|
+
limit?: number;
|
|
16
|
+
offset?: number;
|
|
17
|
+
includeInactive?: boolean;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export declare class DevicesApi extends runtime.BaseAPI {
|
|
23
|
+
/**
|
|
24
|
+
* Lists the iPhones and iPads paired to the account, active devices first. Use it to check that a device is paired before you send, or to find device IDs for Channels. An empty list means no device is paired yet: install the ActivitySmith app from the App Store and sign in. Channel-scoped API keys cannot list devices.
|
|
25
|
+
* List paired devices
|
|
26
|
+
*/
|
|
27
|
+
listAccountDevicesRaw(requestParameters: ListAccountDevicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccountDeviceListResponse>>;
|
|
28
|
+
/**
|
|
29
|
+
* Lists the iPhones and iPads paired to the account, active devices first. Use it to check that a device is paired before you send, or to find device IDs for Channels. An empty list means no device is paired yet: install the ActivitySmith app from the App Store and sign in. Channel-scoped API keys cannot list devices.
|
|
30
|
+
* List paired devices
|
|
31
|
+
*/
|
|
32
|
+
listAccountDevices(requestParameters?: ListAccountDevicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountDeviceListResponse>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* ActivitySmith API
|
|
6
|
+
* Send push notifications and Live Activities to your own devices via a single API key.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.DevicesApi = void 0;
|
|
17
|
+
const runtime = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
class DevicesApi extends runtime.BaseAPI {
|
|
22
|
+
/**
|
|
23
|
+
* Lists the iPhones and iPads paired to the account, active devices first. Use it to check that a device is paired before you send, or to find device IDs for Channels. An empty list means no device is paired yet: install the ActivitySmith app from the App Store and sign in. Channel-scoped API keys cannot list devices.
|
|
24
|
+
* List paired devices
|
|
25
|
+
*/
|
|
26
|
+
async listAccountDevicesRaw(requestParameters, initOverrides) {
|
|
27
|
+
const queryParameters = {};
|
|
28
|
+
if (requestParameters['limit'] != null) {
|
|
29
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
30
|
+
}
|
|
31
|
+
if (requestParameters['offset'] != null) {
|
|
32
|
+
queryParameters['offset'] = requestParameters['offset'];
|
|
33
|
+
}
|
|
34
|
+
if (requestParameters['includeInactive'] != null) {
|
|
35
|
+
queryParameters['include_inactive'] = requestParameters['includeInactive'];
|
|
36
|
+
}
|
|
37
|
+
const headerParameters = {};
|
|
38
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
39
|
+
const token = this.configuration.accessToken;
|
|
40
|
+
const tokenString = await token("apiKeyAuth", []);
|
|
41
|
+
if (tokenString) {
|
|
42
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
const response = await this.request({
|
|
46
|
+
path: `/account/devices`,
|
|
47
|
+
method: 'GET',
|
|
48
|
+
headers: headerParameters,
|
|
49
|
+
query: queryParameters,
|
|
50
|
+
}, initOverrides);
|
|
51
|
+
return new runtime.JSONApiResponse(response);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Lists the iPhones and iPads paired to the account, active devices first. Use it to check that a device is paired before you send, or to find device IDs for Channels. An empty list means no device is paired yet: install the ActivitySmith app from the App Store and sign in. Channel-scoped API keys cannot list devices.
|
|
55
|
+
* List paired devices
|
|
56
|
+
*/
|
|
57
|
+
async listAccountDevices(requestParameters = {}, initOverrides) {
|
|
58
|
+
const response = await this.listAccountDevicesRaw(requestParameters, initOverrides);
|
|
59
|
+
return await response.value();
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.DevicesApi = DevicesApi;
|
|
@@ -33,12 +33,12 @@ export interface UpdateLiveActivityRequest {
|
|
|
33
33
|
*/
|
|
34
34
|
export declare class LiveActivitiesApi extends runtime.BaseAPI {
|
|
35
35
|
/**
|
|
36
|
-
* Legacy manual lifecycle endpoint. For new integrations, use DELETE /live-activity/stream/{stream_key} to end a managed Live Activity stream. This endpoint remains supported for existing integrations and advanced lifecycle control. Ends a Live Activity and archives its lifecycle. Supports segmented_progress, progress, metrics, stats, alert, timer, and value activity types. For segmented_progress activities, you can send the latest number_of_steps here if the workflow changed after start. Use secondary_action for a second button on alert, progress, segmented_progress, and value Live Activities.
|
|
36
|
+
* Legacy manual lifecycle endpoint. For new integrations, use DELETE /live-activity/stream/{stream_key} to end a managed Live Activity stream. This endpoint remains supported for existing integrations and advanced lifecycle control. Ends a Live Activity and archives its lifecycle. Supports segmented_progress, progress, metrics, stats, alert, timer, and value activity types. For segmented_progress activities, you can send the latest number_of_steps here if the workflow changed after start. Use secondary_action for a second button on alert, progress, segmented_progress, and value Live Activities. Ending a Live Activity that already ended returns 200 with ignored: true and sends nothing to devices, so retries are safe.
|
|
37
37
|
* End a Live Activity (legacy manual lifecycle)
|
|
38
38
|
*/
|
|
39
39
|
endLiveActivityRaw(requestParameters: EndLiveActivityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LiveActivityEndResponse>>;
|
|
40
40
|
/**
|
|
41
|
-
* Legacy manual lifecycle endpoint. For new integrations, use DELETE /live-activity/stream/{stream_key} to end a managed Live Activity stream. This endpoint remains supported for existing integrations and advanced lifecycle control. Ends a Live Activity and archives its lifecycle. Supports segmented_progress, progress, metrics, stats, alert, timer, and value activity types. For segmented_progress activities, you can send the latest number_of_steps here if the workflow changed after start. Use secondary_action for a second button on alert, progress, segmented_progress, and value Live Activities.
|
|
41
|
+
* Legacy manual lifecycle endpoint. For new integrations, use DELETE /live-activity/stream/{stream_key} to end a managed Live Activity stream. This endpoint remains supported for existing integrations and advanced lifecycle control. Ends a Live Activity and archives its lifecycle. Supports segmented_progress, progress, metrics, stats, alert, timer, and value activity types. For segmented_progress activities, you can send the latest number_of_steps here if the workflow changed after start. Use secondary_action for a second button on alert, progress, segmented_progress, and value Live Activities. Ending a Live Activity that already ended returns 200 with ignored: true and sends nothing to devices, so retries are safe.
|
|
42
42
|
* End a Live Activity (legacy manual lifecycle)
|
|
43
43
|
*/
|
|
44
44
|
endLiveActivity(requestParameters: EndLiveActivityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LiveActivityEndResponse>;
|
|
@@ -53,12 +53,12 @@ export declare class LiveActivitiesApi extends runtime.BaseAPI {
|
|
|
53
53
|
*/
|
|
54
54
|
endLiveActivityStream(requestParameters: EndLiveActivityStreamRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LiveActivityStreamDeleteResponse>;
|
|
55
55
|
/**
|
|
56
|
-
* Use a stable stream_key for each ongoing thing you want to show as a Live Activity. Send the latest content_state whenever it changes, and ActivitySmith will keep the Live Activity in sync. For timer streams, send duration_seconds to start or reset the timer
|
|
56
|
+
* Use a stable stream_key for each ongoing thing you want to show as a Live Activity. Send the latest content_state whenever it changes, and ActivitySmith will keep the Live Activity in sync. For timer streams, send duration_seconds to start or reset the timer, and timer_start_at when the timer started earlier, for example to show time already gone in the progress bar. Omit them on later updates to preserve the existing timer window. Use secondary_action for a second button on alert, progress, segmented_progress, and value Live Activities. Optional tags to organize and filter notification history. On later stream updates, omit tags to keep the current tags, send tags again to replace them, or send an empty array to clear them.
|
|
57
57
|
* Start a new Live Activity or update an existing one
|
|
58
58
|
*/
|
|
59
59
|
reconcileLiveActivityStreamRaw(requestParameters: ReconcileLiveActivityStreamRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LiveActivityStreamPutResponse>>;
|
|
60
60
|
/**
|
|
61
|
-
* Use a stable stream_key for each ongoing thing you want to show as a Live Activity. Send the latest content_state whenever it changes, and ActivitySmith will keep the Live Activity in sync. For timer streams, send duration_seconds to start or reset the timer
|
|
61
|
+
* Use a stable stream_key for each ongoing thing you want to show as a Live Activity. Send the latest content_state whenever it changes, and ActivitySmith will keep the Live Activity in sync. For timer streams, send duration_seconds to start or reset the timer, and timer_start_at when the timer started earlier, for example to show time already gone in the progress bar. Omit them on later updates to preserve the existing timer window. Use secondary_action for a second button on alert, progress, segmented_progress, and value Live Activities. Optional tags to organize and filter notification history. On later stream updates, omit tags to keep the current tags, send tags again to replace them, or send an empty array to clear them.
|
|
62
62
|
* Start a new Live Activity or update an existing one
|
|
63
63
|
*/
|
|
64
64
|
reconcileLiveActivityStream(requestParameters: ReconcileLiveActivityStreamRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LiveActivityStreamPutResponse>;
|
|
@@ -20,7 +20,7 @@ const runtime = require("../runtime");
|
|
|
20
20
|
*/
|
|
21
21
|
class LiveActivitiesApi extends runtime.BaseAPI {
|
|
22
22
|
/**
|
|
23
|
-
* Legacy manual lifecycle endpoint. For new integrations, use DELETE /live-activity/stream/{stream_key} to end a managed Live Activity stream. This endpoint remains supported for existing integrations and advanced lifecycle control. Ends a Live Activity and archives its lifecycle. Supports segmented_progress, progress, metrics, stats, alert, timer, and value activity types. For segmented_progress activities, you can send the latest number_of_steps here if the workflow changed after start. Use secondary_action for a second button on alert, progress, segmented_progress, and value Live Activities.
|
|
23
|
+
* Legacy manual lifecycle endpoint. For new integrations, use DELETE /live-activity/stream/{stream_key} to end a managed Live Activity stream. This endpoint remains supported for existing integrations and advanced lifecycle control. Ends a Live Activity and archives its lifecycle. Supports segmented_progress, progress, metrics, stats, alert, timer, and value activity types. For segmented_progress activities, you can send the latest number_of_steps here if the workflow changed after start. Use secondary_action for a second button on alert, progress, segmented_progress, and value Live Activities. Ending a Live Activity that already ended returns 200 with ignored: true and sends nothing to devices, so retries are safe.
|
|
24
24
|
* End a Live Activity (legacy manual lifecycle)
|
|
25
25
|
*/
|
|
26
26
|
async endLiveActivityRaw(requestParameters, initOverrides) {
|
|
@@ -47,7 +47,7 @@ class LiveActivitiesApi extends runtime.BaseAPI {
|
|
|
47
47
|
return new runtime.JSONApiResponse(response);
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
|
-
* Legacy manual lifecycle endpoint. For new integrations, use DELETE /live-activity/stream/{stream_key} to end a managed Live Activity stream. This endpoint remains supported for existing integrations and advanced lifecycle control. Ends a Live Activity and archives its lifecycle. Supports segmented_progress, progress, metrics, stats, alert, timer, and value activity types. For segmented_progress activities, you can send the latest number_of_steps here if the workflow changed after start. Use secondary_action for a second button on alert, progress, segmented_progress, and value Live Activities.
|
|
50
|
+
* Legacy manual lifecycle endpoint. For new integrations, use DELETE /live-activity/stream/{stream_key} to end a managed Live Activity stream. This endpoint remains supported for existing integrations and advanced lifecycle control. Ends a Live Activity and archives its lifecycle. Supports segmented_progress, progress, metrics, stats, alert, timer, and value activity types. For segmented_progress activities, you can send the latest number_of_steps here if the workflow changed after start. Use secondary_action for a second button on alert, progress, segmented_progress, and value Live Activities. Ending a Live Activity that already ended returns 200 with ignored: true and sends nothing to devices, so retries are safe.
|
|
51
51
|
* End a Live Activity (legacy manual lifecycle)
|
|
52
52
|
*/
|
|
53
53
|
async endLiveActivity(requestParameters, initOverrides) {
|
|
@@ -90,7 +90,7 @@ class LiveActivitiesApi extends runtime.BaseAPI {
|
|
|
90
90
|
return await response.value();
|
|
91
91
|
}
|
|
92
92
|
/**
|
|
93
|
-
* Use a stable stream_key for each ongoing thing you want to show as a Live Activity. Send the latest content_state whenever it changes, and ActivitySmith will keep the Live Activity in sync. For timer streams, send duration_seconds to start or reset the timer
|
|
93
|
+
* Use a stable stream_key for each ongoing thing you want to show as a Live Activity. Send the latest content_state whenever it changes, and ActivitySmith will keep the Live Activity in sync. For timer streams, send duration_seconds to start or reset the timer, and timer_start_at when the timer started earlier, for example to show time already gone in the progress bar. Omit them on later updates to preserve the existing timer window. Use secondary_action for a second button on alert, progress, segmented_progress, and value Live Activities. Optional tags to organize and filter notification history. On later stream updates, omit tags to keep the current tags, send tags again to replace them, or send an empty array to clear them.
|
|
94
94
|
* Start a new Live Activity or update an existing one
|
|
95
95
|
*/
|
|
96
96
|
async reconcileLiveActivityStreamRaw(requestParameters, initOverrides) {
|
|
@@ -120,7 +120,7 @@ class LiveActivitiesApi extends runtime.BaseAPI {
|
|
|
120
120
|
return new runtime.JSONApiResponse(response);
|
|
121
121
|
}
|
|
122
122
|
/**
|
|
123
|
-
* Use a stable stream_key for each ongoing thing you want to show as a Live Activity. Send the latest content_state whenever it changes, and ActivitySmith will keep the Live Activity in sync. For timer streams, send duration_seconds to start or reset the timer
|
|
123
|
+
* Use a stable stream_key for each ongoing thing you want to show as a Live Activity. Send the latest content_state whenever it changes, and ActivitySmith will keep the Live Activity in sync. For timer streams, send duration_seconds to start or reset the timer, and timer_start_at when the timer started earlier, for example to show time already gone in the progress bar. Omit them on later updates to preserve the existing timer window. Use secondary_action for a second button on alert, progress, segmented_progress, and value Live Activities. Optional tags to organize and filter notification history. On later stream updates, omit tags to keep the current tags, send tags again to replace them, or send an empty array to clear them.
|
|
124
124
|
* Start a new Live Activity or update an existing one
|
|
125
125
|
*/
|
|
126
126
|
async reconcileLiveActivityStream(requestParameters, initOverrides) {
|
|
@@ -10,23 +10,37 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { MetricValueUpdateRequest, MetricValueUpdateResponse } from '../models/index';
|
|
13
|
+
import type { MetricResponse, MetricUpsertRequest, MetricValueUpdateRequest, MetricValueUpdateResponse } from '../models/index';
|
|
14
14
|
export interface UpdateMetricValueRequest {
|
|
15
15
|
key: string;
|
|
16
16
|
metricValueUpdateRequest: MetricValueUpdateRequest;
|
|
17
17
|
}
|
|
18
|
+
export interface UpsertMetricRequest {
|
|
19
|
+
key: string;
|
|
20
|
+
metricUpsertRequest?: MetricUpsertRequest;
|
|
21
|
+
}
|
|
18
22
|
/**
|
|
19
23
|
*
|
|
20
24
|
*/
|
|
21
25
|
export declare class MetricsApi extends runtime.BaseAPI {
|
|
22
26
|
/**
|
|
23
|
-
* Updates the latest value for a metric displayed in ActivitySmith widgets.
|
|
27
|
+
* Updates the latest value for a metric displayed in ActivitySmith widgets. If no metric uses the key yet, the first value creates one: the label comes from the key, numeric values get the number format, and text values get the string format. To choose a currency, percent, or unit format, create the metric first with PUT /metrics/{key} or in the web app. A deleted metric is not recreated by new values; the request returns 404 with code metric_deleted. Each account can have up to 100 metrics created through the API. Metric updates have an independent 300-requests-per-minute account allowance. They do not consume the Push Notification, badge, or Live Activity allowances.
|
|
24
28
|
* Update a widget metric value
|
|
25
29
|
*/
|
|
26
30
|
updateMetricValueRaw(requestParameters: UpdateMetricValueRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MetricValueUpdateResponse>>;
|
|
27
31
|
/**
|
|
28
|
-
* Updates the latest value for a metric displayed in ActivitySmith widgets.
|
|
32
|
+
* Updates the latest value for a metric displayed in ActivitySmith widgets. If no metric uses the key yet, the first value creates one: the label comes from the key, numeric values get the number format, and text values get the string format. To choose a currency, percent, or unit format, create the metric first with PUT /metrics/{key} or in the web app. A deleted metric is not recreated by new values; the request returns 404 with code metric_deleted. Each account can have up to 100 metrics created through the API. Metric updates have an independent 300-requests-per-minute account allowance. They do not consume the Push Notification, badge, or Live Activity allowances.
|
|
29
33
|
* Update a widget metric value
|
|
30
34
|
*/
|
|
31
35
|
updateMetricValue(requestParameters: UpdateMetricValueRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MetricValueUpdateResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* Creates a metric for widgets, or updates the fields sent for an existing metric. Omitted fields keep their current values, so repeating the same request does not change the metric. Changing between the string format and a numeric format clears the latest value. Shares the metric account allowance of 300 requests per minute and is not a billable metric update.
|
|
38
|
+
* Create or update a widget metric
|
|
39
|
+
*/
|
|
40
|
+
upsertMetricRaw(requestParameters: UpsertMetricRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MetricResponse>>;
|
|
41
|
+
/**
|
|
42
|
+
* Creates a metric for widgets, or updates the fields sent for an existing metric. Omitted fields keep their current values, so repeating the same request does not change the metric. Changing between the string format and a numeric format clears the latest value. Shares the metric account allowance of 300 requests per minute and is not a billable metric update.
|
|
43
|
+
* Create or update a widget metric
|
|
44
|
+
*/
|
|
45
|
+
upsertMetric(requestParameters: UpsertMetricRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MetricResponse>;
|
|
32
46
|
}
|
|
@@ -20,7 +20,7 @@ const runtime = require("../runtime");
|
|
|
20
20
|
*/
|
|
21
21
|
class MetricsApi extends runtime.BaseAPI {
|
|
22
22
|
/**
|
|
23
|
-
* Updates the latest value for a metric displayed in ActivitySmith widgets.
|
|
23
|
+
* Updates the latest value for a metric displayed in ActivitySmith widgets. If no metric uses the key yet, the first value creates one: the label comes from the key, numeric values get the number format, and text values get the string format. To choose a currency, percent, or unit format, create the metric first with PUT /metrics/{key} or in the web app. A deleted metric is not recreated by new values; the request returns 404 with code metric_deleted. Each account can have up to 100 metrics created through the API. Metric updates have an independent 300-requests-per-minute account allowance. They do not consume the Push Notification, badge, or Live Activity allowances.
|
|
24
24
|
* Update a widget metric value
|
|
25
25
|
*/
|
|
26
26
|
async updateMetricValueRaw(requestParameters, initOverrides) {
|
|
@@ -50,12 +50,47 @@ class MetricsApi extends runtime.BaseAPI {
|
|
|
50
50
|
return new runtime.JSONApiResponse(response);
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
|
-
* Updates the latest value for a metric displayed in ActivitySmith widgets.
|
|
53
|
+
* Updates the latest value for a metric displayed in ActivitySmith widgets. If no metric uses the key yet, the first value creates one: the label comes from the key, numeric values get the number format, and text values get the string format. To choose a currency, percent, or unit format, create the metric first with PUT /metrics/{key} or in the web app. A deleted metric is not recreated by new values; the request returns 404 with code metric_deleted. Each account can have up to 100 metrics created through the API. Metric updates have an independent 300-requests-per-minute account allowance. They do not consume the Push Notification, badge, or Live Activity allowances.
|
|
54
54
|
* Update a widget metric value
|
|
55
55
|
*/
|
|
56
56
|
async updateMetricValue(requestParameters, initOverrides) {
|
|
57
57
|
const response = await this.updateMetricValueRaw(requestParameters, initOverrides);
|
|
58
58
|
return await response.value();
|
|
59
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* Creates a metric for widgets, or updates the fields sent for an existing metric. Omitted fields keep their current values, so repeating the same request does not change the metric. Changing between the string format and a numeric format clears the latest value. Shares the metric account allowance of 300 requests per minute and is not a billable metric update.
|
|
62
|
+
* Create or update a widget metric
|
|
63
|
+
*/
|
|
64
|
+
async upsertMetricRaw(requestParameters, initOverrides) {
|
|
65
|
+
if (requestParameters['key'] == null) {
|
|
66
|
+
throw new runtime.RequiredError('key', 'Required parameter "key" was null or undefined when calling upsertMetric().');
|
|
67
|
+
}
|
|
68
|
+
const queryParameters = {};
|
|
69
|
+
const headerParameters = {};
|
|
70
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
71
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
72
|
+
const token = this.configuration.accessToken;
|
|
73
|
+
const tokenString = await token("apiKeyAuth", []);
|
|
74
|
+
if (tokenString) {
|
|
75
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
const response = await this.request({
|
|
79
|
+
path: `/metrics/{key}`.replace(`{${"key"}}`, encodeURIComponent(String(requestParameters['key']))),
|
|
80
|
+
method: 'PUT',
|
|
81
|
+
headers: headerParameters,
|
|
82
|
+
query: queryParameters,
|
|
83
|
+
body: requestParameters['metricUpsertRequest'],
|
|
84
|
+
}, initOverrides);
|
|
85
|
+
return new runtime.JSONApiResponse(response);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Creates a metric for widgets, or updates the fields sent for an existing metric. Omitted fields keep their current values, so repeating the same request does not change the metric. Changing between the string format and a numeric format clears the latest value. Shares the metric account allowance of 300 requests per minute and is not a billable metric update.
|
|
89
|
+
* Create or update a widget metric
|
|
90
|
+
*/
|
|
91
|
+
async upsertMetric(requestParameters, initOverrides) {
|
|
92
|
+
const response = await this.upsertMetricRaw(requestParameters, initOverrides);
|
|
93
|
+
return await response.value();
|
|
94
|
+
}
|
|
60
95
|
}
|
|
61
96
|
exports.MetricsApi = MetricsApi;
|
|
@@ -10,7 +10,10 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { PushNotificationReplaceRequest, PushNotificationReplaceResponse, PushNotificationRequest, PushNotificationResponse } from '../models/index';
|
|
13
|
+
import type { PushNotificationDismissResponse, PushNotificationReplaceRequest, PushNotificationReplaceResponse, PushNotificationRequest, PushNotificationResponse } from '../models/index';
|
|
14
|
+
export interface DismissPushNotificationRequest {
|
|
15
|
+
notificationId: string;
|
|
16
|
+
}
|
|
14
17
|
export interface ReplacePushNotificationRequest {
|
|
15
18
|
notificationId: string;
|
|
16
19
|
pushNotificationReplaceRequest: PushNotificationReplaceRequest;
|
|
@@ -22,6 +25,16 @@ export interface SendPushNotificationRequest {
|
|
|
22
25
|
*
|
|
23
26
|
*/
|
|
24
27
|
export declare class PushNotificationsApi extends runtime.BaseAPI {
|
|
28
|
+
/**
|
|
29
|
+
* Clears a Push Notification you already sent from the Lock Screen and Notification Center on every device it was sent to, using the `notification_id` from the send response. Notification history keeps it. Devices clear the notification in the background, which can take a moment or wait until the ActivitySmith app next opens. A successful response means the dismissal was recorded, not that every device has cleared it yet. Calling this again for the same notification returns the same response and sends nothing. A dismissed notification cannot be replaced.
|
|
30
|
+
* Dismiss a push notification
|
|
31
|
+
*/
|
|
32
|
+
dismissPushNotificationRaw(requestParameters: DismissPushNotificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PushNotificationDismissResponse>>;
|
|
33
|
+
/**
|
|
34
|
+
* Clears a Push Notification you already sent from the Lock Screen and Notification Center on every device it was sent to, using the `notification_id` from the send response. Notification history keeps it. Devices clear the notification in the background, which can take a moment or wait until the ActivitySmith app next opens. A successful response means the dismissal was recorded, not that every device has cleared it yet. Calling this again for the same notification returns the same response and sends nothing. A dismissed notification cannot be replaced.
|
|
35
|
+
* Dismiss a push notification
|
|
36
|
+
*/
|
|
37
|
+
dismissPushNotification(requestParameters: DismissPushNotificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PushNotificationDismissResponse>;
|
|
25
38
|
/**
|
|
26
39
|
* Replaces a Push Notification you already sent, using the `notification_id` from the send response. The replacement takes the original\'s place on the Lock Screen and in Notification Center instead of appearing as a second notification. It is delivered silently, with no sound or screen wake, to the same recipients as the original. Notification history is updated in place.
|
|
27
40
|
* Replace a push notification
|
|
@@ -19,6 +19,39 @@ const runtime = require("../runtime");
|
|
|
19
19
|
*
|
|
20
20
|
*/
|
|
21
21
|
class PushNotificationsApi extends runtime.BaseAPI {
|
|
22
|
+
/**
|
|
23
|
+
* Clears a Push Notification you already sent from the Lock Screen and Notification Center on every device it was sent to, using the `notification_id` from the send response. Notification history keeps it. Devices clear the notification in the background, which can take a moment or wait until the ActivitySmith app next opens. A successful response means the dismissal was recorded, not that every device has cleared it yet. Calling this again for the same notification returns the same response and sends nothing. A dismissed notification cannot be replaced.
|
|
24
|
+
* Dismiss a push notification
|
|
25
|
+
*/
|
|
26
|
+
async dismissPushNotificationRaw(requestParameters, initOverrides) {
|
|
27
|
+
if (requestParameters['notificationId'] == null) {
|
|
28
|
+
throw new runtime.RequiredError('notificationId', 'Required parameter "notificationId" was null or undefined when calling dismissPushNotification().');
|
|
29
|
+
}
|
|
30
|
+
const queryParameters = {};
|
|
31
|
+
const headerParameters = {};
|
|
32
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
33
|
+
const token = this.configuration.accessToken;
|
|
34
|
+
const tokenString = await token("apiKeyAuth", []);
|
|
35
|
+
if (tokenString) {
|
|
36
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
const response = await this.request({
|
|
40
|
+
path: `/push-notification/{notification_id}/dismiss`.replace(`{${"notification_id"}}`, encodeURIComponent(String(requestParameters['notificationId']))),
|
|
41
|
+
method: 'POST',
|
|
42
|
+
headers: headerParameters,
|
|
43
|
+
query: queryParameters,
|
|
44
|
+
}, initOverrides);
|
|
45
|
+
return new runtime.JSONApiResponse(response);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Clears a Push Notification you already sent from the Lock Screen and Notification Center on every device it was sent to, using the `notification_id` from the send response. Notification history keeps it. Devices clear the notification in the background, which can take a moment or wait until the ActivitySmith app next opens. A successful response means the dismissal was recorded, not that every device has cleared it yet. Calling this again for the same notification returns the same response and sends nothing. A dismissed notification cannot be replaced.
|
|
49
|
+
* Dismiss a push notification
|
|
50
|
+
*/
|
|
51
|
+
async dismissPushNotification(requestParameters, initOverrides) {
|
|
52
|
+
const response = await this.dismissPushNotificationRaw(requestParameters, initOverrides);
|
|
53
|
+
return await response.value();
|
|
54
|
+
}
|
|
22
55
|
/**
|
|
23
56
|
* Replaces a Push Notification you already sent, using the `notification_id` from the send response. The replacement takes the original\'s place on the Lock Screen and in Notification Center instead of appearing as a second notification. It is delivered silently, with no sound or screen wake, to the same recipients as the original. Notification history is updated in place.
|
|
24
57
|
* Replace a push notification
|
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
19
|
__exportStar(require("./AppIconBadgesApi"), exports);
|
|
20
|
+
__exportStar(require("./DevicesApi"), exports);
|
|
20
21
|
__exportStar(require("./LiveActivitiesApi"), exports);
|
|
21
22
|
__exportStar(require("./MetricsApi"), exports);
|
|
22
23
|
__exportStar(require("./PushNotificationsApi"), exports);
|