From bb03c78ffb0296eeabb08484d8fd54ec31084cb7 Mon Sep 17 00:00:00 2001 From: activitysmith-bot Date: Sat, 21 Feb 2026 09:08:44 +0000 Subject: [PATCH 1/2] chore: regenerate SDK --- generated/.regen-branch.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/.regen-branch.txt b/generated/.regen-branch.txt index 5dbdbb2..4014fec 100644 --- a/generated/.regen-branch.txt +++ b/generated/.regen-branch.txt @@ -1 +1 @@ -regen/openapi-e3d906fdaa37dd3d08772a17115a21f9c25e0ace +regen/openapi-2e618c9b53b45115eb880ab971dae2a3dae7d3f4 From 49a830ad06482d384ca8a068141baef7b756df9f Mon Sep 17 00:00:00 2001 From: bardonadam Date: Sat, 21 Feb 2026 10:19:18 +0100 Subject: [PATCH 2/2] docs: update README examples --- README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index fd94d1e..d9e5f86 100644 --- a/README.md +++ b/README.md @@ -27,8 +27,8 @@ activitysmith = ActivitySmith::Client.new(api_key: ENV.fetch("ACTIVITYSMITH_API_ ```ruby response = activitysmith.notifications.send( { - title: "Build Failed", - message: "CI pipeline failed on main branch", + title: "New subscription 💸", + message: "Customer upgraded to Pro plan", channels: ["devs", "ops"] # Optional } ) @@ -43,9 +43,9 @@ puts response.devices_notified start = activitysmith.live_activities.start( { content_state: { - title: "ActivitySmith API Deployment", - subtitle: "start", - number_of_steps: 4, + title: "Nightly database backup", + subtitle: "create snapshot", + number_of_steps: 3, current_step: 1, type: "segmented_progress", color: "yellow" @@ -64,9 +64,9 @@ update = activitysmith.live_activities.update( { activity_id: activity_id, content_state: { - title: "ActivitySmith API Deployment", - subtitle: "npm i & pm2", - current_step: 3 + title: "Nightly database backup", + subtitle: "upload archive", + current_step: 2 } } ) @@ -81,10 +81,10 @@ finish = activitysmith.live_activities.end( { activity_id: activity_id, content_state: { - title: "ActivitySmith API Deployment", - subtitle: "done", - current_step: 4, - auto_dismiss_minutes: 3 + title: "Nightly database backup", + subtitle: "verify restore", + current_step: 3, + auto_dismiss_minutes: 2 } } ) @@ -97,7 +97,7 @@ puts finish.success ```ruby begin activitysmith.notifications.send( - { title: "Build Failed" } + { title: "New subscription 💸" } ) rescue OpenapiClient::ApiError => err puts "Request failed: #{err.code} #{err.message}"