activitysmith 1.15.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.
- checksums.yaml +4 -4
- data/README.md +123 -7
- data/generated/activitysmith_openapi/api/live_activities_api.rb +2 -2
- data/generated/activitysmith_openapi/api/push_notifications_api.rb +2 -2
- data/generated/activitysmith_openapi/models/content_state_start.rb +24 -3
- data/generated/activitysmith_openapi/models/content_state_update.rb +23 -2
- data/generated/activitysmith_openapi/models/live_activity_end_request.rb +42 -4
- data/generated/activitysmith_openapi/models/live_activity_start_request.rb +42 -4
- data/generated/activitysmith_openapi/models/live_activity_stream_delete_request.rb +42 -4
- data/generated/activitysmith_openapi/models/live_activity_stream_request.rb +42 -4
- data/generated/activitysmith_openapi/models/live_activity_update_request.rb +42 -4
- data/generated/activitysmith_openapi/models/push_notification_action.rb +1 -1
- data/generated/activitysmith_openapi/models/push_notification_replace_request.rb +1 -1
- data/generated/activitysmith_openapi/models/push_notification_request.rb +30 -1
- data/generated/activitysmith_openapi/models/stream_content_state.rb +24 -3
- data/generated/activitysmith_openapi/version.rb +1 -1
- data/generated/openapi-source.json +2 -2
- data/lib/activitysmith/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 847a7358606e055a340575251f75cb645d7608c17a5186653024be6208df41bc
|
|
4
|
+
data.tar.gz: 8ec8a64892be880476a14ce17e77d4381ca35ee5174a935fe8605fc075268c1f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0f60325e034b85d8a5d921099ba0e0755738d5b495223bf91e6c3c6bb4ed59fc538ef87e9971cab21006e54ac31d9bba4bfedd8addf8cb277bff64fc08856a5e
|
|
7
|
+
data.tar.gz: 285c44d33d021653406b401a795b40acd0e7eacf571417133f3bd265fa2745a566fd29ca6ef07768aca163cc63329993262c733d5ebcf12552d6e8fea96f0faf
|
data/README.md
CHANGED
|
@@ -152,7 +152,7 @@ activitysmith.notifications.send(
|
|
|
152
152
|
)
|
|
153
153
|
```
|
|
154
154
|
|
|
155
|
-
###
|
|
155
|
+
### Interruption Levels
|
|
156
156
|
|
|
157
157
|

|
|
158
158
|
|
|
@@ -206,6 +206,28 @@ activitysmith.notifications.send(
|
|
|
206
206
|
)
|
|
207
207
|
```
|
|
208
208
|
|
|
209
|
+
### Push Notification Sounds
|
|
210
|
+
|
|
211
|
+
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.
|
|
212
|
+
|
|
213
|
+
| Value | Behavior |
|
|
214
|
+
| --- | --- |
|
|
215
|
+
| `default` | Plays the sound picked on the device. This is the same as omitting `sound`. |
|
|
216
|
+
| `none` | Plays no sound. |
|
|
217
|
+
| 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`. |
|
|
218
|
+
|
|
219
|
+
Passive Push Notifications play no sound.
|
|
220
|
+
|
|
221
|
+
```ruby
|
|
222
|
+
activitysmith.notifications.send(
|
|
223
|
+
{
|
|
224
|
+
title: "💸 New sale",
|
|
225
|
+
message: "Pro plan, $29/month",
|
|
226
|
+
sound: "coin"
|
|
227
|
+
}
|
|
228
|
+
)
|
|
229
|
+
```
|
|
230
|
+
|
|
209
231
|
### Replace a Push Notification
|
|
210
232
|
|
|
211
233
|
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.
|
|
@@ -229,6 +251,25 @@ activitysmith.notifications.replace(
|
|
|
229
251
|
)
|
|
230
252
|
```
|
|
231
253
|
|
|
254
|
+
### Dismiss a Push Notification
|
|
255
|
+
|
|
256
|
+
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.
|
|
257
|
+
|
|
258
|
+
Dismissing clears it from the Lock Screen and Notification Center on every device it was sent to. History keeps it.
|
|
259
|
+
|
|
260
|
+
Devices clear the notification in the background, so it can take a moment.
|
|
261
|
+
|
|
262
|
+
```ruby
|
|
263
|
+
sent = activitysmith.notifications.send(
|
|
264
|
+
{
|
|
265
|
+
title: "🙋 Agent needs your input",
|
|
266
|
+
message: "Approve the database migration?"
|
|
267
|
+
}
|
|
268
|
+
)
|
|
269
|
+
|
|
270
|
+
activitysmith.notifications.dismiss(sent.notification_id)
|
|
271
|
+
```
|
|
272
|
+
|
|
232
273
|
## Live Activities
|
|
233
274
|
|
|
234
275
|
Choose the Live Activity type that matches what you want to show:
|
|
@@ -415,6 +456,23 @@ For a countdown, send `duration_seconds`. You can update `title`, `subtitle`, `c
|
|
|
415
456
|
|
|
416
457
|
To start at 00:00 and count up, set `counts_down: false` and leave out `duration_seconds`.
|
|
417
458
|
|
|
459
|
+
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.
|
|
460
|
+
|
|
461
|
+
```ruby
|
|
462
|
+
activitysmith.live_activities.stream(
|
|
463
|
+
"nightly-backup",
|
|
464
|
+
{
|
|
465
|
+
content_state: {
|
|
466
|
+
title: "Nightly Backup",
|
|
467
|
+
subtitle: "uploading archive",
|
|
468
|
+
type: "timer",
|
|
469
|
+
timer_start_at: "2026-11-19T01:00:00Z",
|
|
470
|
+
timer_end_at: "2026-11-19T02:00:00Z"
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
)
|
|
474
|
+
```
|
|
475
|
+
|
|
418
476
|
### End Live Activity
|
|
419
477
|
|
|
420
478
|
Call `end_stream(...)` with the same `stream_key` 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.
|
|
@@ -492,13 +550,13 @@ activitysmith.live_activities.stream(
|
|
|
492
550
|
)
|
|
493
551
|
```
|
|
494
552
|
|
|
495
|
-
###
|
|
553
|
+
### Colors
|
|
496
554
|
|
|
497
555
|
Choose from these colors for the Live Activity accent, including progress bars and action buttons, or apply them to an individual icon or badge:
|
|
498
556
|
|
|
499
557
|
`lime`, `green`, `cyan`, `blue`, `purple`, `magenta`, `red`, `orange`, `yellow`, `gray`
|
|
500
558
|
|
|
501
|
-
###
|
|
559
|
+
### Actions
|
|
502
560
|
|
|
503
561
|

|
|
504
562
|
|
|
@@ -631,15 +689,34 @@ activitysmith.live_activities.stream(
|
|
|
631
689
|
)
|
|
632
690
|
```
|
|
633
691
|
|
|
692
|
+
### Live Activity Sounds
|
|
693
|
+
|
|
694
|
+
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.
|
|
695
|
+
|
|
696
|
+
```ruby
|
|
697
|
+
activitysmith.live_activities.stream(
|
|
698
|
+
"deploy-api",
|
|
699
|
+
{
|
|
700
|
+
content_state: {
|
|
701
|
+
title: "Deploying API",
|
|
702
|
+
subtitle: "Step 3 failed",
|
|
703
|
+
type: "segmented_progress",
|
|
704
|
+
number_of_steps: 4,
|
|
705
|
+
current_step: 3,
|
|
706
|
+
color: "red"
|
|
707
|
+
},
|
|
708
|
+
sound: "glitch"
|
|
709
|
+
}
|
|
710
|
+
)
|
|
711
|
+
```
|
|
712
|
+
|
|
634
713
|
## Lock Screen Widgets
|
|
635
714
|
|
|
636
715
|

|
|
637
716
|
|
|
638
|
-
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.
|
|
639
|
-
|
|
640
|
-

|
|
717
|
+
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.
|
|
641
718
|
|
|
642
|
-
Use the metric key to update its value.
|
|
719
|
+
Use the metric key to update its value. The first value creates the metric.
|
|
643
720
|
|
|
644
721
|
```ruby
|
|
645
722
|
activitysmith.metrics.update("deploy.success_rate", 99.9)
|
|
@@ -651,6 +728,25 @@ String metric values work too.
|
|
|
651
728
|
activitysmith.metrics.update("prod.status", "healthy")
|
|
652
729
|
```
|
|
653
730
|
|
|
731
|
+
### Create a metric
|
|
732
|
+
|
|
733
|
+
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.
|
|
734
|
+
|
|
735
|
+
```ruby
|
|
736
|
+
activitysmith.metrics.create(
|
|
737
|
+
"mrr",
|
|
738
|
+
label: "MRR",
|
|
739
|
+
format: "currency",
|
|
740
|
+
currency_code: "USD"
|
|
741
|
+
)
|
|
742
|
+
|
|
743
|
+
activitysmith.metrics.update("mrr", 12450)
|
|
744
|
+
```
|
|
745
|
+
|
|
746
|
+
You can also create and edit metrics in the [web app](https://activitysmith.com/app/widgets).
|
|
747
|
+
|
|
748
|
+

|
|
749
|
+
|
|
654
750
|
## App Icon Badge
|
|
655
751
|
|
|
656
752
|

|
|
@@ -758,6 +854,26 @@ activitysmith.live_activities.stream(
|
|
|
758
854
|
activitysmith.badge_count(3, channels: ["sales", "customer-success"])
|
|
759
855
|
```
|
|
760
856
|
|
|
857
|
+
## Paired Devices
|
|
858
|
+
|
|
859
|
+
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:
|
|
860
|
+
|
|
861
|
+
```ruby
|
|
862
|
+
result = activitysmith.devices.list
|
|
863
|
+
|
|
864
|
+
result.devices.each do |device|
|
|
865
|
+
puts [device.device_name, device.system_name, device.is_active].join(" ")
|
|
866
|
+
end
|
|
867
|
+
```
|
|
868
|
+
|
|
869
|
+
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.
|
|
870
|
+
|
|
871
|
+
Pass `include_inactive` to also list devices that can no longer receive deliveries:
|
|
872
|
+
|
|
873
|
+
```ruby
|
|
874
|
+
activitysmith.devices.list(include_inactive: true)
|
|
875
|
+
```
|
|
876
|
+
|
|
761
877
|
## Error Handling
|
|
762
878
|
|
|
763
879
|
Handle API errors with `begin/rescue` around SDK calls:
|
|
@@ -167,7 +167,7 @@ module OpenapiClient
|
|
|
167
167
|
end
|
|
168
168
|
|
|
169
169
|
# Start a new Live Activity or update an existing one
|
|
170
|
-
# 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
|
|
170
|
+
# 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.
|
|
171
171
|
# @param stream_key [String] Stable identifier for one ongoing thing. Allowed characters: letters, numbers, underscores, and hyphens.
|
|
172
172
|
# @param live_activity_stream_request [LiveActivityStreamRequest]
|
|
173
173
|
# @param [Hash] opts the optional parameters
|
|
@@ -178,7 +178,7 @@ module OpenapiClient
|
|
|
178
178
|
end
|
|
179
179
|
|
|
180
180
|
# Start a new Live Activity or update an existing one
|
|
181
|
-
# 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
|
|
181
|
+
# 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.
|
|
182
182
|
# @param stream_key [String] Stable identifier for one ongoing thing. Allowed characters: letters, numbers, underscores, and hyphens.
|
|
183
183
|
# @param live_activity_stream_request [LiveActivityStreamRequest]
|
|
184
184
|
# @param [Hash] opts the optional parameters
|
|
@@ -20,7 +20,7 @@ module OpenapiClient
|
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# Dismiss a push notification
|
|
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.
|
|
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
24
|
# @param notification_id [String] The `notification_id` returned when the Push Notification was sent.
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
26
|
# @return [PushNotificationDismissResponse]
|
|
@@ -30,7 +30,7 @@ module OpenapiClient
|
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
# Dismiss a push notification
|
|
33
|
-
# 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.
|
|
33
|
+
# 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.
|
|
34
34
|
# @param notification_id [String] The `notification_id` returned when the Push Notification was sent.
|
|
35
35
|
# @param [Hash] opts the optional parameters
|
|
36
36
|
# @return [Array<(PushNotificationDismissResponse, Integer, Hash)>] PushNotificationDismissResponse data, response status code and response headers
|
|
@@ -14,8 +14,9 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module OpenapiClient
|
|
17
|
-
# Start payload requires title and type. For segmented_progress include number_of_steps and current_step. For progress include percentage or value with upper_limit. For metrics and stats include a non-empty metrics array. For value include a string or number in value; strings preserve currency, units, and other formatting. For alert include message. For timer include duration_seconds for countdowns, or set counts_down false without
|
|
17
|
+
# Start payload requires title and type. For segmented_progress include number_of_steps and current_step. For progress include percentage or value with upper_limit. For metrics and stats include a non-empty metrics array. For value include a string or number in value; strings preserve currency, units, and other formatting. For alert include message. For timer include duration_seconds or timer_end_at for countdowns, or set counts_down false without them for an open-ended elapsed timer. Add timer_start_at for a timer that started earlier. Optional icon is supported by all Live Activity types. Optional badge is supported by alert, progress, segmented_progress, and value. For segmented_progress, number_of_steps is not locked and can be changed in later update or end calls.
|
|
18
18
|
class ContentStateStart
|
|
19
|
+
# Title shown on the Live Activity. Send an empty string to show no title.
|
|
19
20
|
attr_accessor :title
|
|
20
21
|
|
|
21
22
|
attr_accessor :subtitle
|
|
@@ -35,9 +36,15 @@ module OpenapiClient
|
|
|
35
36
|
# Maximum progress value. Use with value for type=progress.
|
|
36
37
|
attr_accessor :upper_limit
|
|
37
38
|
|
|
38
|
-
# Timer duration in seconds. For type=timer countdowns, required on start when counts_down is true or omitted.
|
|
39
|
+
# Timer duration in seconds. For type=timer countdowns, required on start when counts_down is true or omitted, unless you send timer_end_at. Counts from timer_start_at when you send it.
|
|
39
40
|
attr_accessor :duration_seconds
|
|
40
41
|
|
|
42
|
+
# Use with type=timer. ISO 8601 date and time when the timer started. It can be in the past, so a countdown that started earlier shows the time already gone in its progress bar. Defaults to the request time. Must not be in the future.
|
|
43
|
+
attr_accessor :timer_start_at
|
|
44
|
+
|
|
45
|
+
# Use with type=timer. ISO 8601 date and time when the countdown ends. Must be after timer_start_at, or in the future when timer_start_at is omitted. Send duration_seconds or timer_end_at, not both.
|
|
46
|
+
attr_accessor :timer_end_at
|
|
47
|
+
|
|
41
48
|
# Use with type=timer. When true or omitted, the timer counts down from duration_seconds. Set false for an elapsed timer; omit duration_seconds for an open-ended elapsed timer.
|
|
42
49
|
attr_accessor :counts_down
|
|
43
50
|
|
|
@@ -100,6 +107,8 @@ module OpenapiClient
|
|
|
100
107
|
:'value' => :'value',
|
|
101
108
|
:'upper_limit' => :'upper_limit',
|
|
102
109
|
:'duration_seconds' => :'duration_seconds',
|
|
110
|
+
:'timer_start_at' => :'timer_start_at',
|
|
111
|
+
:'timer_end_at' => :'timer_end_at',
|
|
103
112
|
:'counts_down' => :'counts_down',
|
|
104
113
|
:'is_running' => :'is_running',
|
|
105
114
|
:'metrics' => :'metrics',
|
|
@@ -129,6 +138,8 @@ module OpenapiClient
|
|
|
129
138
|
:'value' => :'LiveActivityValue',
|
|
130
139
|
:'upper_limit' => :'Float',
|
|
131
140
|
:'duration_seconds' => :'Float',
|
|
141
|
+
:'timer_start_at' => :'Time',
|
|
142
|
+
:'timer_end_at' => :'Time',
|
|
132
143
|
:'counts_down' => :'Boolean',
|
|
133
144
|
:'is_running' => :'Boolean',
|
|
134
145
|
:'metrics' => :'Array<ActivityMetric>',
|
|
@@ -197,6 +208,14 @@ module OpenapiClient
|
|
|
197
208
|
self.duration_seconds = attributes[:'duration_seconds']
|
|
198
209
|
end
|
|
199
210
|
|
|
211
|
+
if attributes.key?(:'timer_start_at')
|
|
212
|
+
self.timer_start_at = attributes[:'timer_start_at']
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
if attributes.key?(:'timer_end_at')
|
|
216
|
+
self.timer_end_at = attributes[:'timer_end_at']
|
|
217
|
+
end
|
|
218
|
+
|
|
200
219
|
if attributes.key?(:'counts_down')
|
|
201
220
|
self.counts_down = attributes[:'counts_down']
|
|
202
221
|
else
|
|
@@ -435,6 +454,8 @@ module OpenapiClient
|
|
|
435
454
|
value == o.value &&
|
|
436
455
|
upper_limit == o.upper_limit &&
|
|
437
456
|
duration_seconds == o.duration_seconds &&
|
|
457
|
+
timer_start_at == o.timer_start_at &&
|
|
458
|
+
timer_end_at == o.timer_end_at &&
|
|
438
459
|
counts_down == o.counts_down &&
|
|
439
460
|
is_running == o.is_running &&
|
|
440
461
|
metrics == o.metrics &&
|
|
@@ -456,7 +477,7 @@ module OpenapiClient
|
|
|
456
477
|
# Calculates hash code according to all attributes.
|
|
457
478
|
# @return [Integer] Hash code
|
|
458
479
|
def hash
|
|
459
|
-
[title, subtitle, number_of_steps, current_step, percentage, value, upper_limit, duration_seconds, counts_down, is_running, metrics, message, icon, badge, type, color, step_color, step_colors].hash
|
|
480
|
+
[title, subtitle, number_of_steps, current_step, percentage, value, upper_limit, duration_seconds, timer_start_at, timer_end_at, counts_down, is_running, metrics, message, icon, badge, type, color, step_color, step_colors].hash
|
|
460
481
|
end
|
|
461
482
|
|
|
462
483
|
# Builds the object from hash
|
|
@@ -16,6 +16,7 @@ require 'time'
|
|
|
16
16
|
module OpenapiClient
|
|
17
17
|
# Update payload requires title. For segmented_progress include current_step and optionally number_of_steps. For progress include percentage or value with upper_limit. For metrics and stats include a non-empty metrics array. For value include a string or number in value; strings preserve currency, units, and other formatting. For alert include message. For timer, omit duration_seconds to preserve the current timer window or send duration_seconds to reset the timer from the update request time. Optional icon is supported by all Live Activity types. Optional badge is supported by alert, progress, segmented_progress, and value. Type is optional when updating an existing activity. You can increase or decrease number_of_steps during updates.
|
|
18
18
|
class ContentStateUpdate
|
|
19
|
+
# Title shown on the Live Activity. Send an empty string to show no title.
|
|
19
20
|
attr_accessor :title
|
|
20
21
|
|
|
21
22
|
attr_accessor :subtitle
|
|
@@ -35,9 +36,15 @@ module OpenapiClient
|
|
|
35
36
|
# Maximum progress value. Use with value for type=progress.
|
|
36
37
|
attr_accessor :upper_limit
|
|
37
38
|
|
|
38
|
-
# Timer duration in seconds. For type=timer, sending duration_seconds resets the timer window from the update request time
|
|
39
|
+
# Timer duration in seconds. For type=timer, sending duration_seconds resets the timer window from the update request time, or from timer_start_at when you send it. Omit it to preserve the existing timer window.
|
|
39
40
|
attr_accessor :duration_seconds
|
|
40
41
|
|
|
42
|
+
# Use with type=timer. ISO 8601 date and time when the timer started. It can be in the past, so a countdown that started earlier shows the time already gone in its progress bar. Defaults to the request time. Must not be in the future.
|
|
43
|
+
attr_accessor :timer_start_at
|
|
44
|
+
|
|
45
|
+
# Use with type=timer. ISO 8601 date and time when the countdown ends. Must be after timer_start_at, or in the future when timer_start_at is omitted. Send duration_seconds or timer_end_at, not both. Send timer_end_at alone to move the end and keep the current start.
|
|
46
|
+
attr_accessor :timer_end_at
|
|
47
|
+
|
|
41
48
|
# Use with type=timer. When true or omitted, the timer counts down from duration_seconds. Set false for an elapsed timer; omit duration_seconds for an open-ended elapsed timer.
|
|
42
49
|
attr_accessor :counts_down
|
|
43
50
|
|
|
@@ -101,6 +108,8 @@ module OpenapiClient
|
|
|
101
108
|
:'value' => :'value',
|
|
102
109
|
:'upper_limit' => :'upper_limit',
|
|
103
110
|
:'duration_seconds' => :'duration_seconds',
|
|
111
|
+
:'timer_start_at' => :'timer_start_at',
|
|
112
|
+
:'timer_end_at' => :'timer_end_at',
|
|
104
113
|
:'counts_down' => :'counts_down',
|
|
105
114
|
:'is_running' => :'is_running',
|
|
106
115
|
:'metrics' => :'metrics',
|
|
@@ -130,6 +139,8 @@ module OpenapiClient
|
|
|
130
139
|
:'value' => :'LiveActivityValue',
|
|
131
140
|
:'upper_limit' => :'Float',
|
|
132
141
|
:'duration_seconds' => :'Float',
|
|
142
|
+
:'timer_start_at' => :'Time',
|
|
143
|
+
:'timer_end_at' => :'Time',
|
|
133
144
|
:'counts_down' => :'Boolean',
|
|
134
145
|
:'is_running' => :'Boolean',
|
|
135
146
|
:'metrics' => :'Array<ActivityMetric>',
|
|
@@ -198,6 +209,14 @@ module OpenapiClient
|
|
|
198
209
|
self.duration_seconds = attributes[:'duration_seconds']
|
|
199
210
|
end
|
|
200
211
|
|
|
212
|
+
if attributes.key?(:'timer_start_at')
|
|
213
|
+
self.timer_start_at = attributes[:'timer_start_at']
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
if attributes.key?(:'timer_end_at')
|
|
217
|
+
self.timer_end_at = attributes[:'timer_end_at']
|
|
218
|
+
end
|
|
219
|
+
|
|
201
220
|
if attributes.key?(:'counts_down')
|
|
202
221
|
self.counts_down = attributes[:'counts_down']
|
|
203
222
|
else
|
|
@@ -429,6 +448,8 @@ module OpenapiClient
|
|
|
429
448
|
value == o.value &&
|
|
430
449
|
upper_limit == o.upper_limit &&
|
|
431
450
|
duration_seconds == o.duration_seconds &&
|
|
451
|
+
timer_start_at == o.timer_start_at &&
|
|
452
|
+
timer_end_at == o.timer_end_at &&
|
|
432
453
|
counts_down == o.counts_down &&
|
|
433
454
|
is_running == o.is_running &&
|
|
434
455
|
metrics == o.metrics &&
|
|
@@ -450,7 +471,7 @@ module OpenapiClient
|
|
|
450
471
|
# Calculates hash code according to all attributes.
|
|
451
472
|
# @return [Integer] Hash code
|
|
452
473
|
def hash
|
|
453
|
-
[title, subtitle, number_of_steps, current_step, percentage, value, upper_limit, duration_seconds, counts_down, is_running, metrics, message, icon, badge, type, color, step_color, step_colors].hash
|
|
474
|
+
[title, subtitle, number_of_steps, current_step, percentage, value, upper_limit, duration_seconds, timer_start_at, timer_end_at, counts_down, is_running, metrics, message, icon, badge, type, color, step_color, step_colors].hash
|
|
454
475
|
end
|
|
455
476
|
|
|
456
477
|
# Builds the object from hash
|
|
@@ -31,6 +31,9 @@ module OpenapiClient
|
|
|
31
31
|
# Optional secondary action button. Supported for alert, progress, segmented_progress, and value Live Activities. Uses the same open_url, shortcuts://, and webhook shapes as action.
|
|
32
32
|
attr_accessor :secondary_action
|
|
33
33
|
|
|
34
|
+
# Optional sound for the end. Ends are silent unless you set one. A sound also expands the Live Activity on the Lock Screen. Sounds bundled with the ActivitySmith 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`, `zip`. Use `default` for the sound picked on the device, or `none` for no sound.
|
|
35
|
+
attr_accessor :sound
|
|
36
|
+
|
|
34
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
35
38
|
def self.attribute_map
|
|
36
39
|
{
|
|
@@ -39,7 +42,8 @@ module OpenapiClient
|
|
|
39
42
|
:'tags' => :'tags',
|
|
40
43
|
:'content_state' => :'content_state',
|
|
41
44
|
:'action' => :'action',
|
|
42
|
-
:'secondary_action' => :'secondary_action'
|
|
45
|
+
:'secondary_action' => :'secondary_action',
|
|
46
|
+
:'sound' => :'sound'
|
|
43
47
|
}
|
|
44
48
|
end
|
|
45
49
|
|
|
@@ -56,7 +60,8 @@ module OpenapiClient
|
|
|
56
60
|
:'tags' => :'Array<String>',
|
|
57
61
|
:'content_state' => :'ContentStateEnd',
|
|
58
62
|
:'action' => :'LiveActivityAction',
|
|
59
|
-
:'secondary_action' => :'LiveActivityAction'
|
|
63
|
+
:'secondary_action' => :'LiveActivityAction',
|
|
64
|
+
:'sound' => :'String'
|
|
60
65
|
}
|
|
61
66
|
end
|
|
62
67
|
|
|
@@ -112,6 +117,10 @@ module OpenapiClient
|
|
|
112
117
|
if attributes.key?(:'secondary_action')
|
|
113
118
|
self.secondary_action = attributes[:'secondary_action']
|
|
114
119
|
end
|
|
120
|
+
|
|
121
|
+
if attributes.key?(:'sound')
|
|
122
|
+
self.sound = attributes[:'sound']
|
|
123
|
+
end
|
|
115
124
|
end
|
|
116
125
|
|
|
117
126
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -135,6 +144,14 @@ module OpenapiClient
|
|
|
135
144
|
invalid_properties.push('invalid value for "content_state", content_state cannot be nil.')
|
|
136
145
|
end
|
|
137
146
|
|
|
147
|
+
if !@sound.nil? && @sound.to_s.length > 50
|
|
148
|
+
invalid_properties.push('invalid value for "sound", the character length must be smaller than or equal to 50.')
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
if !@sound.nil? && @sound.to_s.length < 1
|
|
152
|
+
invalid_properties.push('invalid value for "sound", the character length must be great than or equal to 1.')
|
|
153
|
+
end
|
|
154
|
+
|
|
138
155
|
invalid_properties
|
|
139
156
|
end
|
|
140
157
|
|
|
@@ -146,6 +163,8 @@ module OpenapiClient
|
|
|
146
163
|
return false if @activity_id.nil?
|
|
147
164
|
return false if !@tags.nil? && @tags.length > 20
|
|
148
165
|
return false if @content_state.nil?
|
|
166
|
+
return false if !@sound.nil? && @sound.to_s.length > 50
|
|
167
|
+
return false if !@sound.nil? && @sound.to_s.length < 1
|
|
149
168
|
true
|
|
150
169
|
end
|
|
151
170
|
|
|
@@ -177,6 +196,24 @@ module OpenapiClient
|
|
|
177
196
|
@tags = tags
|
|
178
197
|
end
|
|
179
198
|
|
|
199
|
+
# Custom attribute writer method with validation
|
|
200
|
+
# @param [Object] sound Value to be assigned
|
|
201
|
+
def sound=(sound)
|
|
202
|
+
if sound.nil?
|
|
203
|
+
fail ArgumentError, 'sound cannot be nil'
|
|
204
|
+
end
|
|
205
|
+
|
|
206
|
+
if sound.to_s.length > 50
|
|
207
|
+
fail ArgumentError, 'invalid value for "sound", the character length must be smaller than or equal to 50.'
|
|
208
|
+
end
|
|
209
|
+
|
|
210
|
+
if sound.to_s.length < 1
|
|
211
|
+
fail ArgumentError, 'invalid value for "sound", the character length must be great than or equal to 1.'
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
@sound = sound
|
|
215
|
+
end
|
|
216
|
+
|
|
180
217
|
# Checks equality by comparing each attribute.
|
|
181
218
|
# @param [Object] Object to be compared
|
|
182
219
|
def ==(o)
|
|
@@ -187,7 +224,8 @@ module OpenapiClient
|
|
|
187
224
|
tags == o.tags &&
|
|
188
225
|
content_state == o.content_state &&
|
|
189
226
|
action == o.action &&
|
|
190
|
-
secondary_action == o.secondary_action
|
|
227
|
+
secondary_action == o.secondary_action &&
|
|
228
|
+
sound == o.sound
|
|
191
229
|
end
|
|
192
230
|
|
|
193
231
|
# @see the `==` method
|
|
@@ -199,7 +237,7 @@ module OpenapiClient
|
|
|
199
237
|
# Calculates hash code according to all attributes.
|
|
200
238
|
# @return [Integer] Hash code
|
|
201
239
|
def hash
|
|
202
|
-
[metadata, activity_id, tags, content_state, action, secondary_action].hash
|
|
240
|
+
[metadata, activity_id, tags, content_state, action, secondary_action, sound].hash
|
|
203
241
|
end
|
|
204
242
|
|
|
205
243
|
# Builds the object from hash
|
|
@@ -33,6 +33,9 @@ module OpenapiClient
|
|
|
33
33
|
# Optional tags to organize and filter notification history.
|
|
34
34
|
attr_accessor :tags
|
|
35
35
|
|
|
36
|
+
# Optional sound for the start. Omit it to play the Live Activities sound picked on the device. Sounds bundled with the ActivitySmith 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`, `zip`. Use `default` for the sound picked on the device, or `none` for no sound.
|
|
37
|
+
attr_accessor :sound
|
|
38
|
+
|
|
36
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
37
40
|
def self.attribute_map
|
|
38
41
|
{
|
|
@@ -42,7 +45,8 @@ module OpenapiClient
|
|
|
42
45
|
:'secondary_action' => :'secondary_action',
|
|
43
46
|
:'alert' => :'alert',
|
|
44
47
|
:'target' => :'target',
|
|
45
|
-
:'tags' => :'tags'
|
|
48
|
+
:'tags' => :'tags',
|
|
49
|
+
:'sound' => :'sound'
|
|
46
50
|
}
|
|
47
51
|
end
|
|
48
52
|
|
|
@@ -60,7 +64,8 @@ module OpenapiClient
|
|
|
60
64
|
:'secondary_action' => :'LiveActivityAction',
|
|
61
65
|
:'alert' => :'AlertPayload',
|
|
62
66
|
:'target' => :'ChannelTarget',
|
|
63
|
-
:'tags' => :'Array<String>'
|
|
67
|
+
:'tags' => :'Array<String>',
|
|
68
|
+
:'sound' => :'String'
|
|
64
69
|
}
|
|
65
70
|
end
|
|
66
71
|
|
|
@@ -118,6 +123,10 @@ module OpenapiClient
|
|
|
118
123
|
self.tags = value
|
|
119
124
|
end
|
|
120
125
|
end
|
|
126
|
+
|
|
127
|
+
if attributes.key?(:'sound')
|
|
128
|
+
self.sound = attributes[:'sound']
|
|
129
|
+
end
|
|
121
130
|
end
|
|
122
131
|
|
|
123
132
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -133,6 +142,14 @@ module OpenapiClient
|
|
|
133
142
|
invalid_properties.push('invalid value for "content_state", content_state cannot be nil.')
|
|
134
143
|
end
|
|
135
144
|
|
|
145
|
+
if !@sound.nil? && @sound.to_s.length > 50
|
|
146
|
+
invalid_properties.push('invalid value for "sound", the character length must be smaller than or equal to 50.')
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
if !@sound.nil? && @sound.to_s.length < 1
|
|
150
|
+
invalid_properties.push('invalid value for "sound", the character length must be great than or equal to 1.')
|
|
151
|
+
end
|
|
152
|
+
|
|
136
153
|
invalid_properties
|
|
137
154
|
end
|
|
138
155
|
|
|
@@ -142,6 +159,8 @@ module OpenapiClient
|
|
|
142
159
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
143
160
|
return false if !@metadata.nil? && @metadata.length > 50
|
|
144
161
|
return false if @content_state.nil?
|
|
162
|
+
return false if !@sound.nil? && @sound.to_s.length > 50
|
|
163
|
+
return false if !@sound.nil? && @sound.to_s.length < 1
|
|
145
164
|
true
|
|
146
165
|
end
|
|
147
166
|
|
|
@@ -159,6 +178,24 @@ module OpenapiClient
|
|
|
159
178
|
@metadata = metadata
|
|
160
179
|
end
|
|
161
180
|
|
|
181
|
+
# Custom attribute writer method with validation
|
|
182
|
+
# @param [Object] sound Value to be assigned
|
|
183
|
+
def sound=(sound)
|
|
184
|
+
if sound.nil?
|
|
185
|
+
fail ArgumentError, 'sound cannot be nil'
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
if sound.to_s.length > 50
|
|
189
|
+
fail ArgumentError, 'invalid value for "sound", the character length must be smaller than or equal to 50.'
|
|
190
|
+
end
|
|
191
|
+
|
|
192
|
+
if sound.to_s.length < 1
|
|
193
|
+
fail ArgumentError, 'invalid value for "sound", the character length must be great than or equal to 1.'
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
@sound = sound
|
|
197
|
+
end
|
|
198
|
+
|
|
162
199
|
# Checks equality by comparing each attribute.
|
|
163
200
|
# @param [Object] Object to be compared
|
|
164
201
|
def ==(o)
|
|
@@ -170,7 +207,8 @@ module OpenapiClient
|
|
|
170
207
|
secondary_action == o.secondary_action &&
|
|
171
208
|
alert == o.alert &&
|
|
172
209
|
target == o.target &&
|
|
173
|
-
tags == o.tags
|
|
210
|
+
tags == o.tags &&
|
|
211
|
+
sound == o.sound
|
|
174
212
|
end
|
|
175
213
|
|
|
176
214
|
# @see the `==` method
|
|
@@ -182,7 +220,7 @@ module OpenapiClient
|
|
|
182
220
|
# Calculates hash code according to all attributes.
|
|
183
221
|
# @return [Integer] Hash code
|
|
184
222
|
def hash
|
|
185
|
-
[metadata, content_state, action, secondary_action, alert, target, tags].hash
|
|
223
|
+
[metadata, content_state, action, secondary_action, alert, target, tags, sound].hash
|
|
186
224
|
end
|
|
187
225
|
|
|
188
226
|
# Builds the object from hash
|
|
@@ -31,6 +31,9 @@ module OpenapiClient
|
|
|
31
31
|
|
|
32
32
|
attr_accessor :alert
|
|
33
33
|
|
|
34
|
+
# Optional sound for the end. Ends are silent unless you set one. A sound also expands the Live Activity on the Lock Screen. Sounds bundled with the ActivitySmith 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`, `zip`. Use `default` for the sound picked on the device, or `none` for no sound.
|
|
35
|
+
attr_accessor :sound
|
|
36
|
+
|
|
34
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
35
38
|
def self.attribute_map
|
|
36
39
|
{
|
|
@@ -39,7 +42,8 @@ module OpenapiClient
|
|
|
39
42
|
:'content_state' => :'content_state',
|
|
40
43
|
:'action' => :'action',
|
|
41
44
|
:'secondary_action' => :'secondary_action',
|
|
42
|
-
:'alert' => :'alert'
|
|
45
|
+
:'alert' => :'alert',
|
|
46
|
+
:'sound' => :'sound'
|
|
43
47
|
}
|
|
44
48
|
end
|
|
45
49
|
|
|
@@ -56,7 +60,8 @@ module OpenapiClient
|
|
|
56
60
|
:'content_state' => :'StreamContentState',
|
|
57
61
|
:'action' => :'LiveActivityAction',
|
|
58
62
|
:'secondary_action' => :'LiveActivityAction',
|
|
59
|
-
:'alert' => :'AlertPayload'
|
|
63
|
+
:'alert' => :'AlertPayload',
|
|
64
|
+
:'sound' => :'String'
|
|
60
65
|
}
|
|
61
66
|
end
|
|
62
67
|
|
|
@@ -108,6 +113,10 @@ module OpenapiClient
|
|
|
108
113
|
if attributes.key?(:'alert')
|
|
109
114
|
self.alert = attributes[:'alert']
|
|
110
115
|
end
|
|
116
|
+
|
|
117
|
+
if attributes.key?(:'sound')
|
|
118
|
+
self.sound = attributes[:'sound']
|
|
119
|
+
end
|
|
111
120
|
end
|
|
112
121
|
|
|
113
122
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -119,6 +128,14 @@ module OpenapiClient
|
|
|
119
128
|
invalid_properties.push('invalid value for "metadata", number of items must be less than or equal to 50.')
|
|
120
129
|
end
|
|
121
130
|
|
|
131
|
+
if !@sound.nil? && @sound.to_s.length > 50
|
|
132
|
+
invalid_properties.push('invalid value for "sound", the character length must be smaller than or equal to 50.')
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
if !@sound.nil? && @sound.to_s.length < 1
|
|
136
|
+
invalid_properties.push('invalid value for "sound", the character length must be great than or equal to 1.')
|
|
137
|
+
end
|
|
138
|
+
|
|
122
139
|
invalid_properties
|
|
123
140
|
end
|
|
124
141
|
|
|
@@ -127,6 +144,8 @@ module OpenapiClient
|
|
|
127
144
|
def valid?
|
|
128
145
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
129
146
|
return false if !@metadata.nil? && @metadata.length > 50
|
|
147
|
+
return false if !@sound.nil? && @sound.to_s.length > 50
|
|
148
|
+
return false if !@sound.nil? && @sound.to_s.length < 1
|
|
130
149
|
true
|
|
131
150
|
end
|
|
132
151
|
|
|
@@ -144,6 +163,24 @@ module OpenapiClient
|
|
|
144
163
|
@metadata = metadata
|
|
145
164
|
end
|
|
146
165
|
|
|
166
|
+
# Custom attribute writer method with validation
|
|
167
|
+
# @param [Object] sound Value to be assigned
|
|
168
|
+
def sound=(sound)
|
|
169
|
+
if sound.nil?
|
|
170
|
+
fail ArgumentError, 'sound cannot be nil'
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
if sound.to_s.length > 50
|
|
174
|
+
fail ArgumentError, 'invalid value for "sound", the character length must be smaller than or equal to 50.'
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
if sound.to_s.length < 1
|
|
178
|
+
fail ArgumentError, 'invalid value for "sound", the character length must be great than or equal to 1.'
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
@sound = sound
|
|
182
|
+
end
|
|
183
|
+
|
|
147
184
|
# Checks equality by comparing each attribute.
|
|
148
185
|
# @param [Object] Object to be compared
|
|
149
186
|
def ==(o)
|
|
@@ -154,7 +191,8 @@ module OpenapiClient
|
|
|
154
191
|
content_state == o.content_state &&
|
|
155
192
|
action == o.action &&
|
|
156
193
|
secondary_action == o.secondary_action &&
|
|
157
|
-
alert == o.alert
|
|
194
|
+
alert == o.alert &&
|
|
195
|
+
sound == o.sound
|
|
158
196
|
end
|
|
159
197
|
|
|
160
198
|
# @see the `==` method
|
|
@@ -166,7 +204,7 @@ module OpenapiClient
|
|
|
166
204
|
# Calculates hash code according to all attributes.
|
|
167
205
|
# @return [Integer] Hash code
|
|
168
206
|
def hash
|
|
169
|
-
[metadata, tags, content_state, action, secondary_action, alert].hash
|
|
207
|
+
[metadata, tags, content_state, action, secondary_action, alert, sound].hash
|
|
170
208
|
end
|
|
171
209
|
|
|
172
210
|
# Builds the object from hash
|
|
@@ -36,6 +36,9 @@ module OpenapiClient
|
|
|
36
36
|
# Optional tags to organize and filter notification history.
|
|
37
37
|
attr_accessor :tags
|
|
38
38
|
|
|
39
|
+
# Optional sound for this call. A call that starts a Live Activity plays the Live Activities sound picked on the device unless you set one. Updates are silent unless you set one. A sound on an update also expands the Live Activity on the Lock Screen. Sounds bundled with the ActivitySmith 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`, `zip`. Use `default` for the sound picked on the device, or `none` for no sound.
|
|
40
|
+
attr_accessor :sound
|
|
41
|
+
|
|
39
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
40
43
|
def self.attribute_map
|
|
41
44
|
{
|
|
@@ -46,7 +49,8 @@ module OpenapiClient
|
|
|
46
49
|
:'alert' => :'alert',
|
|
47
50
|
:'channels' => :'channels',
|
|
48
51
|
:'target' => :'target',
|
|
49
|
-
:'tags' => :'tags'
|
|
52
|
+
:'tags' => :'tags',
|
|
53
|
+
:'sound' => :'sound'
|
|
50
54
|
}
|
|
51
55
|
end
|
|
52
56
|
|
|
@@ -65,7 +69,8 @@ module OpenapiClient
|
|
|
65
69
|
:'alert' => :'AlertPayload',
|
|
66
70
|
:'channels' => :'Array<String>',
|
|
67
71
|
:'target' => :'ChannelTarget',
|
|
68
|
-
:'tags' => :'Array<String>'
|
|
72
|
+
:'tags' => :'Array<String>',
|
|
73
|
+
:'sound' => :'String'
|
|
69
74
|
}
|
|
70
75
|
end
|
|
71
76
|
|
|
@@ -129,6 +134,10 @@ module OpenapiClient
|
|
|
129
134
|
self.tags = value
|
|
130
135
|
end
|
|
131
136
|
end
|
|
137
|
+
|
|
138
|
+
if attributes.key?(:'sound')
|
|
139
|
+
self.sound = attributes[:'sound']
|
|
140
|
+
end
|
|
132
141
|
end
|
|
133
142
|
|
|
134
143
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -148,6 +157,14 @@ module OpenapiClient
|
|
|
148
157
|
invalid_properties.push('invalid value for "channels", number of items must be greater than or equal to 1.')
|
|
149
158
|
end
|
|
150
159
|
|
|
160
|
+
if !@sound.nil? && @sound.to_s.length > 50
|
|
161
|
+
invalid_properties.push('invalid value for "sound", the character length must be smaller than or equal to 50.')
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
if !@sound.nil? && @sound.to_s.length < 1
|
|
165
|
+
invalid_properties.push('invalid value for "sound", the character length must be great than or equal to 1.')
|
|
166
|
+
end
|
|
167
|
+
|
|
151
168
|
invalid_properties
|
|
152
169
|
end
|
|
153
170
|
|
|
@@ -158,6 +175,8 @@ module OpenapiClient
|
|
|
158
175
|
return false if !@metadata.nil? && @metadata.length > 50
|
|
159
176
|
return false if @content_state.nil?
|
|
160
177
|
return false if !@channels.nil? && @channels.length < 1
|
|
178
|
+
return false if !@sound.nil? && @sound.to_s.length > 50
|
|
179
|
+
return false if !@sound.nil? && @sound.to_s.length < 1
|
|
161
180
|
true
|
|
162
181
|
end
|
|
163
182
|
|
|
@@ -189,6 +208,24 @@ module OpenapiClient
|
|
|
189
208
|
@channels = channels
|
|
190
209
|
end
|
|
191
210
|
|
|
211
|
+
# Custom attribute writer method with validation
|
|
212
|
+
# @param [Object] sound Value to be assigned
|
|
213
|
+
def sound=(sound)
|
|
214
|
+
if sound.nil?
|
|
215
|
+
fail ArgumentError, 'sound cannot be nil'
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
if sound.to_s.length > 50
|
|
219
|
+
fail ArgumentError, 'invalid value for "sound", the character length must be smaller than or equal to 50.'
|
|
220
|
+
end
|
|
221
|
+
|
|
222
|
+
if sound.to_s.length < 1
|
|
223
|
+
fail ArgumentError, 'invalid value for "sound", the character length must be great than or equal to 1.'
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
@sound = sound
|
|
227
|
+
end
|
|
228
|
+
|
|
192
229
|
# Checks equality by comparing each attribute.
|
|
193
230
|
# @param [Object] Object to be compared
|
|
194
231
|
def ==(o)
|
|
@@ -201,7 +238,8 @@ module OpenapiClient
|
|
|
201
238
|
alert == o.alert &&
|
|
202
239
|
channels == o.channels &&
|
|
203
240
|
target == o.target &&
|
|
204
|
-
tags == o.tags
|
|
241
|
+
tags == o.tags &&
|
|
242
|
+
sound == o.sound
|
|
205
243
|
end
|
|
206
244
|
|
|
207
245
|
# @see the `==` method
|
|
@@ -213,7 +251,7 @@ module OpenapiClient
|
|
|
213
251
|
# Calculates hash code according to all attributes.
|
|
214
252
|
# @return [Integer] Hash code
|
|
215
253
|
def hash
|
|
216
|
-
[metadata, content_state, action, secondary_action, alert, channels, target, tags].hash
|
|
254
|
+
[metadata, content_state, action, secondary_action, alert, channels, target, tags, sound].hash
|
|
217
255
|
end
|
|
218
256
|
|
|
219
257
|
# Builds the object from hash
|
|
@@ -31,6 +31,9 @@ module OpenapiClient
|
|
|
31
31
|
# Optional secondary action button. Supported for alert, progress, segmented_progress, and value Live Activities. Uses the same open_url, shortcuts://, and webhook shapes as action.
|
|
32
32
|
attr_accessor :secondary_action
|
|
33
33
|
|
|
34
|
+
# Optional sound for this update. Updates are silent unless you set one. A sound also expands the Live Activity on the Lock Screen. Sounds bundled with the ActivitySmith 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`, `zip`. Use `default` for the sound picked on the device, or `none` for no sound.
|
|
35
|
+
attr_accessor :sound
|
|
36
|
+
|
|
34
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
35
38
|
def self.attribute_map
|
|
36
39
|
{
|
|
@@ -39,7 +42,8 @@ module OpenapiClient
|
|
|
39
42
|
:'tags' => :'tags',
|
|
40
43
|
:'content_state' => :'content_state',
|
|
41
44
|
:'action' => :'action',
|
|
42
|
-
:'secondary_action' => :'secondary_action'
|
|
45
|
+
:'secondary_action' => :'secondary_action',
|
|
46
|
+
:'sound' => :'sound'
|
|
43
47
|
}
|
|
44
48
|
end
|
|
45
49
|
|
|
@@ -56,7 +60,8 @@ module OpenapiClient
|
|
|
56
60
|
:'tags' => :'Array<String>',
|
|
57
61
|
:'content_state' => :'ContentStateUpdate',
|
|
58
62
|
:'action' => :'LiveActivityAction',
|
|
59
|
-
:'secondary_action' => :'LiveActivityAction'
|
|
63
|
+
:'secondary_action' => :'LiveActivityAction',
|
|
64
|
+
:'sound' => :'String'
|
|
60
65
|
}
|
|
61
66
|
end
|
|
62
67
|
|
|
@@ -112,6 +117,10 @@ module OpenapiClient
|
|
|
112
117
|
if attributes.key?(:'secondary_action')
|
|
113
118
|
self.secondary_action = attributes[:'secondary_action']
|
|
114
119
|
end
|
|
120
|
+
|
|
121
|
+
if attributes.key?(:'sound')
|
|
122
|
+
self.sound = attributes[:'sound']
|
|
123
|
+
end
|
|
115
124
|
end
|
|
116
125
|
|
|
117
126
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -135,6 +144,14 @@ module OpenapiClient
|
|
|
135
144
|
invalid_properties.push('invalid value for "content_state", content_state cannot be nil.')
|
|
136
145
|
end
|
|
137
146
|
|
|
147
|
+
if !@sound.nil? && @sound.to_s.length > 50
|
|
148
|
+
invalid_properties.push('invalid value for "sound", the character length must be smaller than or equal to 50.')
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
if !@sound.nil? && @sound.to_s.length < 1
|
|
152
|
+
invalid_properties.push('invalid value for "sound", the character length must be great than or equal to 1.')
|
|
153
|
+
end
|
|
154
|
+
|
|
138
155
|
invalid_properties
|
|
139
156
|
end
|
|
140
157
|
|
|
@@ -146,6 +163,8 @@ module OpenapiClient
|
|
|
146
163
|
return false if @activity_id.nil?
|
|
147
164
|
return false if !@tags.nil? && @tags.length > 20
|
|
148
165
|
return false if @content_state.nil?
|
|
166
|
+
return false if !@sound.nil? && @sound.to_s.length > 50
|
|
167
|
+
return false if !@sound.nil? && @sound.to_s.length < 1
|
|
149
168
|
true
|
|
150
169
|
end
|
|
151
170
|
|
|
@@ -177,6 +196,24 @@ module OpenapiClient
|
|
|
177
196
|
@tags = tags
|
|
178
197
|
end
|
|
179
198
|
|
|
199
|
+
# Custom attribute writer method with validation
|
|
200
|
+
# @param [Object] sound Value to be assigned
|
|
201
|
+
def sound=(sound)
|
|
202
|
+
if sound.nil?
|
|
203
|
+
fail ArgumentError, 'sound cannot be nil'
|
|
204
|
+
end
|
|
205
|
+
|
|
206
|
+
if sound.to_s.length > 50
|
|
207
|
+
fail ArgumentError, 'invalid value for "sound", the character length must be smaller than or equal to 50.'
|
|
208
|
+
end
|
|
209
|
+
|
|
210
|
+
if sound.to_s.length < 1
|
|
211
|
+
fail ArgumentError, 'invalid value for "sound", the character length must be great than or equal to 1.'
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
@sound = sound
|
|
215
|
+
end
|
|
216
|
+
|
|
180
217
|
# Checks equality by comparing each attribute.
|
|
181
218
|
# @param [Object] Object to be compared
|
|
182
219
|
def ==(o)
|
|
@@ -187,7 +224,8 @@ module OpenapiClient
|
|
|
187
224
|
tags == o.tags &&
|
|
188
225
|
content_state == o.content_state &&
|
|
189
226
|
action == o.action &&
|
|
190
|
-
secondary_action == o.secondary_action
|
|
227
|
+
secondary_action == o.secondary_action &&
|
|
228
|
+
sound == o.sound
|
|
191
229
|
end
|
|
192
230
|
|
|
193
231
|
# @see the `==` method
|
|
@@ -199,7 +237,7 @@ module OpenapiClient
|
|
|
199
237
|
# Calculates hash code according to all attributes.
|
|
200
238
|
# @return [Integer] Hash code
|
|
201
239
|
def hash
|
|
202
|
-
[metadata, activity_id, tags, content_state, action, secondary_action].hash
|
|
240
|
+
[metadata, activity_id, tags, content_state, action, secondary_action, sound].hash
|
|
203
241
|
end
|
|
204
242
|
|
|
205
243
|
# Builds the object from hash
|
|
@@ -20,7 +20,7 @@ module OpenapiClient
|
|
|
20
20
|
|
|
21
21
|
attr_accessor :type
|
|
22
22
|
|
|
23
|
-
# Action URL. For open_url, use HTTP, HTTPS, Shortcuts, or an installed app’s custom URL scheme, such as spotify:// or spotify:track:123. Custom app schemes
|
|
23
|
+
# Action URL. For open_url, use HTTP, HTTPS, Shortcuts, or an installed app’s custom URL scheme, such as spotify:// or spotify:track:123. Custom app schemes have no web fallback. Internal and executable schemes are blocked. For webhook, use an HTTPS URL called by the ActivitySmith backend.
|
|
24
24
|
attr_accessor :url
|
|
25
25
|
|
|
26
26
|
# Webhook HTTP method. Used only when type=webhook.
|
|
@@ -31,7 +31,7 @@ module OpenapiClient
|
|
|
31
31
|
# Optional HTTPS URL for an image, audio file, or video that users can preview or play when they expand the notification. If `redirection` is omitted, tapping the notification opens this URL. Cannot be combined with `actions`.
|
|
32
32
|
attr_accessor :media
|
|
33
33
|
|
|
34
|
-
# Optional HTTP, HTTPS, Shortcuts, or installed app URL opened when the user taps the notification body. Custom schemes such as spotify:// and spotify:track:123 require
|
|
34
|
+
# Optional HTTP, HTTPS, Shortcuts, or installed app URL opened when the user taps the notification body. Custom schemes such as spotify:// and spotify:track:123 require an installed handler; no web fallback is provided. Internal and executable schemes are blocked. Overrides the default tap target from media.
|
|
35
35
|
attr_accessor :redirection
|
|
36
36
|
|
|
37
37
|
# Optional interactive actions shown when users expand the notification. Cannot be combined with `media`.
|
|
@@ -33,7 +33,7 @@ module OpenapiClient
|
|
|
33
33
|
# Optional HTTPS URL for an image, audio file, or video that users can preview or play when they expand the notification. If `redirection` is omitted, tapping the notification opens this URL. Cannot be combined with `actions`.
|
|
34
34
|
attr_accessor :media
|
|
35
35
|
|
|
36
|
-
# Optional HTTP, HTTPS, Shortcuts, or installed app URL opened when the user taps the notification body. Custom schemes such as spotify:// and spotify:track:123 require
|
|
36
|
+
# Optional HTTP, HTTPS, Shortcuts, or installed app URL opened when the user taps the notification body. Custom schemes such as spotify:// and spotify:track:123 require an installed handler; no web fallback is provided. Internal and executable schemes are blocked. Overrides the default tap target from media.
|
|
37
37
|
attr_accessor :redirection
|
|
38
38
|
|
|
39
39
|
# Optional interactive actions shown when users expand the notification. Cannot be combined with `media`.
|
|
@@ -43,6 +43,7 @@ module OpenapiClient
|
|
|
43
43
|
|
|
44
44
|
attr_accessor :badge
|
|
45
45
|
|
|
46
|
+
# Optional sound for this Push Notification. Omit it to play the Push Notifications sound picked on the device. Passive Push Notifications play no sound. Sounds bundled with the ActivitySmith 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`, `zip`. Use `default` for the sound picked on the device, or `none` for no sound.
|
|
46
47
|
attr_accessor :sound
|
|
47
48
|
|
|
48
49
|
attr_accessor :target
|
|
@@ -239,6 +240,14 @@ module OpenapiClient
|
|
|
239
240
|
invalid_properties.push('invalid value for "actions", number of items must be less than or equal to 4.')
|
|
240
241
|
end
|
|
241
242
|
|
|
243
|
+
if !@sound.nil? && @sound.to_s.length > 50
|
|
244
|
+
invalid_properties.push('invalid value for "sound", the character length must be smaller than or equal to 50.')
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
if !@sound.nil? && @sound.to_s.length < 1
|
|
248
|
+
invalid_properties.push('invalid value for "sound", the character length must be great than or equal to 1.')
|
|
249
|
+
end
|
|
250
|
+
|
|
242
251
|
invalid_properties
|
|
243
252
|
end
|
|
244
253
|
|
|
@@ -253,6 +262,8 @@ module OpenapiClient
|
|
|
253
262
|
return false if !@redirection.nil? && @redirection.to_s.length > 2048
|
|
254
263
|
return false if !@redirection.nil? && @redirection !~ Regexp.new(/^[A-Za-z][A-Za-z0-9+.-]*:/)
|
|
255
264
|
return false if !@actions.nil? && @actions.length > 4
|
|
265
|
+
return false if !@sound.nil? && @sound.to_s.length > 50
|
|
266
|
+
return false if !@sound.nil? && @sound.to_s.length < 1
|
|
256
267
|
true
|
|
257
268
|
end
|
|
258
269
|
|
|
@@ -333,6 +344,24 @@ module OpenapiClient
|
|
|
333
344
|
@actions = actions
|
|
334
345
|
end
|
|
335
346
|
|
|
347
|
+
# Custom attribute writer method with validation
|
|
348
|
+
# @param [Object] sound Value to be assigned
|
|
349
|
+
def sound=(sound)
|
|
350
|
+
if sound.nil?
|
|
351
|
+
fail ArgumentError, 'sound cannot be nil'
|
|
352
|
+
end
|
|
353
|
+
|
|
354
|
+
if sound.to_s.length > 50
|
|
355
|
+
fail ArgumentError, 'invalid value for "sound", the character length must be smaller than or equal to 50.'
|
|
356
|
+
end
|
|
357
|
+
|
|
358
|
+
if sound.to_s.length < 1
|
|
359
|
+
fail ArgumentError, 'invalid value for "sound", the character length must be great than or equal to 1.'
|
|
360
|
+
end
|
|
361
|
+
|
|
362
|
+
@sound = sound
|
|
363
|
+
end
|
|
364
|
+
|
|
336
365
|
# Checks equality by comparing each attribute.
|
|
337
366
|
# @param [Object] Object to be compared
|
|
338
367
|
def ==(o)
|
|
@@ -14,8 +14,9 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module OpenapiClient
|
|
17
|
-
# Current state for a managed Live Activity stream. Include type on the first PUT, and whenever the stream may need to start a fresh activity. Supports segmented_progress, progress, metrics, stats, alert, timer, and value types. For timer, send duration_seconds to start or reset a bounded timer
|
|
17
|
+
# Current state for a managed Live Activity stream. Include type on the first PUT, and whenever the stream may need to start a fresh activity. Supports segmented_progress, progress, metrics, stats, alert, timer, and value types. For timer, send duration_seconds or timer_end_at to start or reset a bounded timer, and timer_start_at for a timer that started earlier. Omit them on later updates to preserve the existing timer window.
|
|
18
18
|
class StreamContentState
|
|
19
|
+
# Title shown on the Live Activity. Send an empty string to show no title.
|
|
19
20
|
attr_accessor :title
|
|
20
21
|
|
|
21
22
|
attr_accessor :subtitle
|
|
@@ -35,9 +36,15 @@ module OpenapiClient
|
|
|
35
36
|
# Maximum progress value. Use with value for progress.
|
|
36
37
|
attr_accessor :upper_limit
|
|
37
38
|
|
|
38
|
-
# Timer duration in seconds. For type=timer, send duration_seconds to start or reset the timer window
|
|
39
|
+
# Timer duration in seconds. For type=timer, send duration_seconds to start or reset the timer window, counted from timer_start_at when you send it. Omit it on later stream updates to preserve the existing timer window.
|
|
39
40
|
attr_accessor :duration_seconds
|
|
40
41
|
|
|
42
|
+
# Use with type=timer. ISO 8601 date and time when the timer started. It can be in the past, so a countdown that started earlier shows the time already gone in its progress bar. Defaults to the request time. Must not be in the future.
|
|
43
|
+
attr_accessor :timer_start_at
|
|
44
|
+
|
|
45
|
+
# Use with type=timer. ISO 8601 date and time when the countdown ends. Must be after timer_start_at, or in the future when timer_start_at is omitted. Send duration_seconds or timer_end_at, not both. On later stream updates, send timer_end_at alone to move the end and keep the current start.
|
|
46
|
+
attr_accessor :timer_end_at
|
|
47
|
+
|
|
41
48
|
# Use with type=timer. When true or omitted, the timer counts down from duration_seconds. Set false for an elapsed timer; omit duration_seconds for an open-ended elapsed timer.
|
|
42
49
|
attr_accessor :counts_down
|
|
43
50
|
|
|
@@ -107,6 +114,8 @@ module OpenapiClient
|
|
|
107
114
|
:'value' => :'value',
|
|
108
115
|
:'upper_limit' => :'upper_limit',
|
|
109
116
|
:'duration_seconds' => :'duration_seconds',
|
|
117
|
+
:'timer_start_at' => :'timer_start_at',
|
|
118
|
+
:'timer_end_at' => :'timer_end_at',
|
|
110
119
|
:'counts_down' => :'counts_down',
|
|
111
120
|
:'is_running' => :'is_running',
|
|
112
121
|
:'type' => :'type',
|
|
@@ -138,6 +147,8 @@ module OpenapiClient
|
|
|
138
147
|
:'value' => :'LiveActivityValue',
|
|
139
148
|
:'upper_limit' => :'Float',
|
|
140
149
|
:'duration_seconds' => :'Float',
|
|
150
|
+
:'timer_start_at' => :'Time',
|
|
151
|
+
:'timer_end_at' => :'Time',
|
|
141
152
|
:'counts_down' => :'Boolean',
|
|
142
153
|
:'is_running' => :'Boolean',
|
|
143
154
|
:'type' => :'String',
|
|
@@ -208,6 +219,14 @@ module OpenapiClient
|
|
|
208
219
|
self.duration_seconds = attributes[:'duration_seconds']
|
|
209
220
|
end
|
|
210
221
|
|
|
222
|
+
if attributes.key?(:'timer_start_at')
|
|
223
|
+
self.timer_start_at = attributes[:'timer_start_at']
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
if attributes.key?(:'timer_end_at')
|
|
227
|
+
self.timer_end_at = attributes[:'timer_end_at']
|
|
228
|
+
end
|
|
229
|
+
|
|
211
230
|
if attributes.key?(:'counts_down')
|
|
212
231
|
self.counts_down = attributes[:'counts_down']
|
|
213
232
|
else
|
|
@@ -485,6 +504,8 @@ module OpenapiClient
|
|
|
485
504
|
value == o.value &&
|
|
486
505
|
upper_limit == o.upper_limit &&
|
|
487
506
|
duration_seconds == o.duration_seconds &&
|
|
507
|
+
timer_start_at == o.timer_start_at &&
|
|
508
|
+
timer_end_at == o.timer_end_at &&
|
|
488
509
|
counts_down == o.counts_down &&
|
|
489
510
|
is_running == o.is_running &&
|
|
490
511
|
type == o.type &&
|
|
@@ -508,7 +529,7 @@ module OpenapiClient
|
|
|
508
529
|
# Calculates hash code according to all attributes.
|
|
509
530
|
# @return [Integer] Hash code
|
|
510
531
|
def hash
|
|
511
|
-
[title, subtitle, number_of_steps, current_step, percentage, value, upper_limit, duration_seconds, counts_down, is_running, type, color, step_color, step_colors, metrics, message, icon, badge, auto_dismiss_seconds, auto_dismiss_minutes].hash
|
|
532
|
+
[title, subtitle, number_of_steps, current_step, percentage, value, upper_limit, duration_seconds, timer_start_at, timer_end_at, counts_down, is_running, type, color, step_color, step_colors, metrics, message, icon, badge, auto_dismiss_seconds, auto_dismiss_minutes].hash
|
|
512
533
|
end
|
|
513
534
|
|
|
514
535
|
# Builds the object from hash
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"repository": "ActivitySmithHQ/activitysmith-backend",
|
|
3
|
-
"commit": "
|
|
3
|
+
"commit": "0e64cfe1c855105aff7c2719df28759ae2f2d1cf",
|
|
4
4
|
"path": "openapi.json",
|
|
5
|
-
"sha256": "
|
|
5
|
+
"sha256": "72b820a2f8447c24f2f11a3a9b4bf89709e668f39037715498c07565cf075642"
|
|
6
6
|
}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activitysmith
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.16.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ActivitySmith
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-11-
|
|
11
|
+
date: 2026-11-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|