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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: defe3d5ac25705ff2e6667405a309392153e2a150b0d1d04b4617783bbabd38f
|
|
4
|
+
data.tar.gz: 8a0213d676a75fa7f7fceb9bea82723d0892c70b6d62cec772f3f93ba05b2913
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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-
|
|
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
|
|
@@ -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
|
|
16
|
-
# is
|
|
17
|
-
# a card, and so on —
|
|
18
|
-
#
|
|
19
|
-
#
|
|
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
|
data/lib/basecamp/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2026-11-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|