rcs 2.0.20.pre.rc.3 → 2.0.20
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/.fern/metadata.json +2 -3
- data/.fern/replay.lock +11 -5
- data/lib/pinnacle/client.rb +1 -1
- data/lib/pinnacle/faxes/client.rb +6 -4
- data/lib/pinnacle/faxes/types/send_fax_params.rb +1 -1
- data/lib/pinnacle/types/rcs_cards_cards_item_media_height.rb +13 -0
- data/lib/pinnacle/types/rich_card.rb +2 -0
- data/lib/pinnacle/types/send_rcs_card_options_card_width.rb +12 -0
- data/lib/pinnacle/types/send_rich_cards_options.rb +2 -0
- data/lib/pinnacle/version.rb +1 -1
- data/lib/pinnacle.rb +2 -0
- data/reference.md +2 -3
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4211dd492ddea78ad5dc1eb889668cb15db126d84fd97f1ceee9d2ba69a8004c
|
|
4
|
+
data.tar.gz: 838221bd41f8c519126327856f79b2d43e65bcfffa396aacb79baaa68ddb6763
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8ad644825542f9aaaf6eb60c998841970cb9fcb8f7a2529a63dfb2854b9cfc1c13521ae9200616e90a0bdfd29d0edfa9d9ab2d1e7f81cd75962937aa1e3ded5b
|
|
7
|
+
data.tar.gz: 01c726945c2b6e33eca52e9518d77acbae1ddafbabb30ef7ee920e09f1c5d00385418abe31c8314a56385d9864f1c149d39bcd49dcdd99de5a506bb5b27875a2
|
data/.fern/metadata.json
CHANGED
|
@@ -8,10 +8,9 @@
|
|
|
8
8
|
"useProvidedDefaults": true,
|
|
9
9
|
"rubocopVariableNumberStyle": "snake_case"
|
|
10
10
|
},
|
|
11
|
-
"originGitCommit": "
|
|
11
|
+
"originGitCommit": "eee2e390db5ee4355367dd69e087a2bf9f9ab283",
|
|
12
12
|
"originGitCommitIsDirty": false,
|
|
13
13
|
"invokedBy": "ci",
|
|
14
|
-
"requestedVersion": "2.0.20.pre.rc.3",
|
|
15
14
|
"ciProvider": "github",
|
|
16
|
-
"sdkVersion": "2.0.20
|
|
15
|
+
"sdkVersion": "2.0.20"
|
|
17
16
|
}
|
data/.fern/replay.lock
CHANGED
|
@@ -3,14 +3,20 @@ version: "1.0"
|
|
|
3
3
|
generations:
|
|
4
4
|
- commit_sha: 677e97edc210ae7352691433588e7c5c51130e3c
|
|
5
5
|
tree_hash: 811e422fb2621b0414257f02d722dd3bb8d76fdb
|
|
6
|
-
timestamp: 2026-09-
|
|
6
|
+
timestamp: 2026-09-19T03:19:08.752Z
|
|
7
7
|
cli_version: unknown
|
|
8
8
|
generator_versions: {}
|
|
9
|
-
- commit_sha:
|
|
10
|
-
tree_hash:
|
|
11
|
-
timestamp: 2026-09-
|
|
9
|
+
- commit_sha: 4b00fcbb772dc5119a02a6c8769b0f7a0713a693
|
|
10
|
+
tree_hash: 88eaaff84f6720d7cc86312e2bc33e433d0a4dde
|
|
11
|
+
timestamp: 2026-09-19T03:19:09.666Z
|
|
12
12
|
cli_version: unknown
|
|
13
13
|
generator_versions:
|
|
14
14
|
fernapi/fern-ruby-sdk: 1.12.1
|
|
15
|
-
|
|
15
|
+
- commit_sha: 6f66032f2e682d89899434774326139fef3acb19
|
|
16
|
+
tree_hash: 5afc3a3c5c25c572c49277e89f5e07d93ea0fcaf
|
|
17
|
+
timestamp: 2026-09-20T18:01:58.762Z
|
|
18
|
+
cli_version: unknown
|
|
19
|
+
generator_versions:
|
|
20
|
+
fernapi/fern-ruby-sdk: 1.12.1
|
|
21
|
+
current_generation: 6f66032f2e682d89899434774326139fef3acb19
|
|
16
22
|
patches: []
|
data/lib/pinnacle/client.rb
CHANGED
|
@@ -10,7 +10,7 @@ module Pinnacle
|
|
|
10
10
|
@raw_client = Pinnacle::Internal::Http::RawClient.new(
|
|
11
11
|
base_url: base_url || Pinnacle::Environment::DEFAULT,
|
|
12
12
|
headers: {
|
|
13
|
-
"User-Agent" => "rcs/2.0.20
|
|
13
|
+
"User-Agent" => "rcs/2.0.20",
|
|
14
14
|
"X-Fern-Language" => "Ruby",
|
|
15
15
|
"PINNACLE-API-KEY" => api_key.to_s
|
|
16
16
|
}
|
|
@@ -100,9 +100,11 @@ module Pinnacle
|
|
|
100
100
|
# prevents duplicate delivery and charges. If transmission cannot be confirmed, status becomes
|
|
101
101
|
# `SUBMISSION_UNKNOWN` while Pinnacle reconciles the fax.
|
|
102
102
|
#
|
|
103
|
-
# **Idempotency:**
|
|
104
|
-
#
|
|
105
|
-
#
|
|
103
|
+
# **Idempotency:** `Idempotency-Key` is optional. Without it, each request creates a new fax, including retries.
|
|
104
|
+
# For retry-safe sending, generate a UUID for each intended fax and retain it until the outcome is known. After a
|
|
105
|
+
# client timeout, retry with the same key and identical body. The key is scoped to your team and covers `from`,
|
|
106
|
+
# `to`, `mediaUrl`, and `quality`. Reusing it with an identical body returns the existing fax; changing any of
|
|
107
|
+
# those fields returns 409.
|
|
106
108
|
#
|
|
107
109
|
# @param request_options [Hash]
|
|
108
110
|
# @param params [Pinnacle::Faxes::Types::SendFaxParams]
|
|
@@ -111,7 +113,7 @@ module Pinnacle
|
|
|
111
113
|
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
112
114
|
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
113
115
|
# @option request_options [Integer] :timeout_in_seconds
|
|
114
|
-
# @option params [String] :idempotency_key
|
|
116
|
+
# @option params [String, nil] :idempotency_key
|
|
115
117
|
#
|
|
116
118
|
# @return [Pinnacle::Types::Fax]
|
|
117
119
|
def send_(request_options: {}, **params)
|
|
@@ -4,7 +4,7 @@ module Pinnacle
|
|
|
4
4
|
module Faxes
|
|
5
5
|
module Types
|
|
6
6
|
class SendFaxParams < Internal::Types::Model
|
|
7
|
-
field :idempotency_key, -> { String }, optional:
|
|
7
|
+
field :idempotency_key, -> { String }, optional: true, nullable: false, api_name: "Idempotency-Key"
|
|
8
8
|
|
|
9
9
|
field :from, -> { String }, optional: false, nullable: false
|
|
10
10
|
|
|
@@ -8,6 +8,8 @@ module Pinnacle
|
|
|
8
8
|
|
|
9
9
|
field :media, -> { String }, optional: true, nullable: false
|
|
10
10
|
|
|
11
|
+
field :media_height, -> { Pinnacle::Types::RcsCardsCardsItemMediaHeight }, optional: true, nullable: false, api_name: "mediaHeight"
|
|
12
|
+
|
|
11
13
|
field :subtitle, -> { String }, optional: true, nullable: false
|
|
12
14
|
|
|
13
15
|
field :title, -> { String }, optional: false, nullable: false
|
|
@@ -13,6 +13,8 @@ module Pinnacle
|
|
|
13
13
|
field :validate, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
14
14
|
|
|
15
15
|
field :standalone_card, -> { Pinnacle::Types::RichStandaloneCardOptions }, optional: true, nullable: false
|
|
16
|
+
|
|
17
|
+
field :card_width, -> { Pinnacle::Types::SendRcsCardOptionsCardWidth }, optional: true, nullable: false, api_name: "cardWidth"
|
|
16
18
|
end
|
|
17
19
|
end
|
|
18
20
|
end
|
data/lib/pinnacle/version.rb
CHANGED
data/lib/pinnacle.rb
CHANGED
|
@@ -341,12 +341,14 @@ require_relative "pinnacle/types/send_rich_message_options"
|
|
|
341
341
|
require_relative "pinnacle/types/base_rich_message"
|
|
342
342
|
require_relative "pinnacle/types/rich_text_message"
|
|
343
343
|
require_relative "pinnacle/types/rich_media_message"
|
|
344
|
+
require_relative "pinnacle/types/rcs_cards_cards_item_media_height"
|
|
344
345
|
require_relative "pinnacle/types/rich_card"
|
|
345
346
|
require_relative "pinnacle/types/rich_cards"
|
|
346
347
|
require_relative "pinnacle/types/send_rich_message_options_4"
|
|
347
348
|
require_relative "pinnacle/types/send_rcs_card_options_standalone_card_orientation"
|
|
348
349
|
require_relative "pinnacle/types/send_rcs_card_options_standalone_card_image_alignment"
|
|
349
350
|
require_relative "pinnacle/types/rich_standalone_card_options"
|
|
351
|
+
require_relative "pinnacle/types/send_rcs_card_options_card_width"
|
|
350
352
|
require_relative "pinnacle/types/send_rich_cards_options"
|
|
351
353
|
require_relative "pinnacle/types/rich_cards_message"
|
|
352
354
|
require_relative "pinnacle/types/rich_message"
|
data/reference.md
CHANGED
|
@@ -3083,7 +3083,7 @@ Send one PDF, TIFF, JPEG, PNG, DOC, DOCX, RTF, or TXT document from a configured
|
|
|
3083
3083
|
|
|
3084
3084
|
**Delivery uncertainty:** Pinnacle does not automatically retry a fax after transmission may have started, which prevents duplicate delivery and charges. If transmission cannot be confirmed, status becomes `SUBMISSION_UNKNOWN` while Pinnacle reconciles the fax.
|
|
3085
3085
|
|
|
3086
|
-
**Idempotency:**
|
|
3086
|
+
**Idempotency:** `Idempotency-Key` is optional. Without it, each request creates a new fax, including retries. For retry-safe sending, generate a UUID for each intended fax and retain it until the outcome is known. After a client timeout, retry with the same key and identical body. The key is scoped to your team and covers `from`, `to`, `mediaUrl`, and `quality`. Reusing it with an identical body returns the existing fax; changing any of those fields returns 409.
|
|
3087
3087
|
</dd>
|
|
3088
3088
|
</dl>
|
|
3089
3089
|
</dd>
|
|
@@ -3099,7 +3099,6 @@ Send one PDF, TIFF, JPEG, PNG, DOC, DOCX, RTF, or TXT document from a configured
|
|
|
3099
3099
|
|
|
3100
3100
|
```ruby
|
|
3101
3101
|
client.faxes.send_(
|
|
3102
|
-
idempotency_key: "Idempotency-Key",
|
|
3103
3102
|
from: "from",
|
|
3104
3103
|
to: "to",
|
|
3105
3104
|
media_url: "mediaUrl"
|
|
@@ -3118,7 +3117,7 @@ client.faxes.send_(
|
|
|
3118
3117
|
<dl>
|
|
3119
3118
|
<dd>
|
|
3120
3119
|
|
|
3121
|
-
**idempotency_key:** `String` —
|
|
3120
|
+
**idempotency_key:** `String` — Optional unique key for one logical send. Without it, every request creates a new fax. Use 1–128 ASCII letters, numbers, periods, underscores, or hyphens. Reuse it only with the identical `from`, `to`, `mediaUrl`, and effective `quality`; any change returns 409.
|
|
3122
3121
|
|
|
3123
3122
|
</dd>
|
|
3124
3123
|
</dl>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rcs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.20
|
|
4
|
+
version: 2.0.20
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pinnacle
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-09-
|
|
11
|
+
date: 2026-09-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: The Pinnacle Ruby library provides convenient access to the Pinnacle
|
|
14
14
|
API from Ruby.
|
|
@@ -519,6 +519,7 @@ files:
|
|
|
519
519
|
- lib/pinnacle/types/rcs_capability.rb
|
|
520
520
|
- lib/pinnacle/types/rcs_capability_actions.rb
|
|
521
521
|
- lib/pinnacle/types/rcs_capability_cards.rb
|
|
522
|
+
- lib/pinnacle/types/rcs_cards_cards_item_media_height.rb
|
|
522
523
|
- lib/pinnacle/types/rcs_cards_content.rb
|
|
523
524
|
- lib/pinnacle/types/rcs_cards_content_cards_item.rb
|
|
524
525
|
- lib/pinnacle/types/rcs_content.rb
|
|
@@ -561,6 +562,7 @@ files:
|
|
|
561
562
|
- lib/pinnacle/types/send_form_via_rcs_request_form.rb
|
|
562
563
|
- lib/pinnacle/types/send_form_via_sms_params.rb
|
|
563
564
|
- lib/pinnacle/types/send_form_via_sms_request_form.rb
|
|
565
|
+
- lib/pinnacle/types/send_rcs_card_options_card_width.rb
|
|
564
566
|
- lib/pinnacle/types/send_rcs_card_options_standalone_card_image_alignment.rb
|
|
565
567
|
- lib/pinnacle/types/send_rcs_card_options_standalone_card_orientation.rb
|
|
566
568
|
- lib/pinnacle/types/send_rich_cards_options.rb
|