basecamp-sdk 0.39.0 → 0.40.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fda9fe8f44b084d0ed099645fc56d803bd25662e0ff9c87bbdce3947a0a593d6
4
- data.tar.gz: f64857407406bd66d1adfbbabe4a1d47de7a906f5f856ba4acc07993eeb46fb3
3
+ metadata.gz: defe3d5ac25705ff2e6667405a309392153e2a150b0d1d04b4617783bbabd38f
4
+ data.tar.gz: 8a0213d676a75fa7f7fceb9bea82723d0892c70b6d62cec772f3f93ba05b2913
5
5
  SHA512:
6
- metadata.gz: 37ea9fc96ae862f16b72e76f1787e36d9458f9ad4f41b7eef53ea0ca1043b3340c3a7faeca3408a43bef892662a5cf4c8aebcb2b4718a240d1aa4d1f0b144745
7
- data.tar.gz: b232a927a827e291ffef358c58edd75b24eee4886c4140d3cd2938242968e45feba938e8c565ec9e4540e823287941e0620fab95746519080a6cd697e83fba8b
6
+ metadata.gz: eb3aa91284f918f1d0ab8156f64d02902acb97f0842f05717b9e40c127bb89de94cdf4b9ef43a7b78ddf3a7c05fe429f2d98487dc6f1a1f204027e098287b9d3
7
+ data.tar.gz: 989b1a47bd24c052997d76c9a96aaa8b82b573f0b841b6db568e1bc442efe0815b23be6bdae10037f4c99618458e063e3155ffcf7331eac6ce35738f8fd5bd29
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://basecamp.com/schemas/sdk-metadata.json",
3
3
  "version": "1.0.0",
4
- "generated": "2026-11-19T01:00:51Z",
4
+ "generated": "2026-11-29T03:14:04Z",
5
5
  "operations": {
6
6
  "GetAccount": {
7
7
  "retry": {
@@ -2409,6 +2409,17 @@
2409
2409
  "natural": true
2410
2410
  }
2411
2411
  },
2412
+ "GetRecording": {
2413
+ "retry": {
2414
+ "maxAttempts": 3,
2415
+ "baseDelayMs": 1000,
2416
+ "backoff": "exponential",
2417
+ "retryOn": [
2418
+ 429,
2419
+ 503
2420
+ ]
2421
+ }
2422
+ },
2412
2423
  "GetBookmark": {
2413
2424
  "retry": {
2414
2425
  "maxAttempts": 3,
@@ -4418,6 +4429,9 @@
4418
4429
  "GetQuestionnaire": [
4419
4430
  "creator"
4420
4431
  ],
4432
+ "GetRecording": [
4433
+ "creator"
4434
+ ],
4421
4435
  "GetRecordingTimesheet": [
4422
4436
  "[].creator",
4423
4437
  "[].person"
@@ -32,6 +32,15 @@ module Basecamp
32
32
  end
33
33
  end
34
34
 
35
+ # Get any recording by its id, without knowing its type.
36
+ # @param recording_id [Integer] recording id ID
37
+ # @return [Hash] response data
38
+ def get(recording_id:)
39
+ with_operation(service: "recordings", operation: "get", is_mutation: false, resource_id: recording_id) do
40
+ http_get("/recordings/#{recording_id}", operation: "GetRecording").json(operation: "GetRecording")
41
+ end
42
+ end
43
+
35
44
  # Start copying a recording into another project; poll GetFiling for the result.
36
45
  # @param recording_id [Integer] recording id ID
37
46
  # @param filing_destination_id [Integer, nil] The container to copy into, chosen as for MoveRecording's
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Auto-generated from OpenAPI spec. Do not edit manually.
4
- # Generated: 2026-11-19T01:00:51Z
4
+ # Generated: 2026-11-29T03:14:04Z
5
5
 
6
6
  require "json"
7
7
  require "time"
@@ -12,12 +12,12 @@ module Basecamp
12
12
  # without paying for its full payload: an agent connector's admission step,
13
13
  # an MCP tool answering "what is this?".
14
14
  #
15
- # The SDK has no untyped recording read (BC3 has no such route), so the type
16
- # is the routing key: +comment.created+ reads a comment, +card.created+ reads
17
- # a card, and so on — one typed read per type. Chat lines are the exception,
18
- # because their read needs the Campfire id and the pointer does not carry it;
19
- # {#summarize} discovers the Campfire first (see the Campfire discovery
20
- # section below).
15
+ # The pointer already names the type, so #get, the read for an id whose type
16
+ # is unknown, is not needed here; the type is the routing key:
17
+ # +comment.created+ reads a comment, +card.created+ reads a card, and so on —
18
+ # one typed read per type. Chat lines are the exception, because their read
19
+ # needs the Campfire id and the pointer does not carry it; {#summarize}
20
+ # discovers the Campfire first (see the Campfire discovery section below).
21
21
  #
22
22
  # This is hand-written composition over the generated services (AGENTS.md;
23
23
  # SPEC.md section 18, Appendix F). It makes no wire request of its own, and
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Basecamp
4
- VERSION = "0.39.0"
4
+ VERSION = "0.40.0"
5
5
  API_VERSION = "2026-11-05"
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: basecamp-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.39.0
4
+ version: 0.40.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Basecamp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-11-22 00:00:00.000000000 Z
11
+ date: 2026-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday