dub 0.2.2.pre.alpha.19 → 0.2.2.pre.alpha.20

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7226d5ca6d44f7be672cc459d6838cd092bea89ad0dab32dfc038058db526b6b
4
- data.tar.gz: a3623be8f47f4cd1a48c4e1d94ac0ab4cb39c30328fb401daf517297b9c7c29e
3
+ metadata.gz: 8c8bf1b1c3b9b623d16de6a2ce117325c11bf03cd512741c1883a9aae5217f14
4
+ data.tar.gz: bfc8c095f0f913dc5977fe4d10f8ceb750bbf376baf33a752d11a96dacd27104
5
5
  SHA512:
6
- metadata.gz: a9fbe31d59f292845cc9e505501944295122c56ce8c884da5a50d5995f1dd6a0435fa6a7f01b994aa7092072ff2fdfa0a2044fc4519f344bcaa9f3245f4d61b9
7
- data.tar.gz: 2a98c32eca4ed6dd59efd08fc5d3a7c9e664c58836c8d71f0bde0db9146281c7572ffd722bb3716649a515b398b8b1dd336426412ad970ee322a3b31e668a68c
6
+ metadata.gz: 4d0b5f4af3ab02d1d3b08549c043719f352213f5ba5f7014e7b34a031c0cf774ac8efd7ac8e442d06bad410b37d1b76e49d2fc8bcdf9c43a799087595cc33834
7
+ data.tar.gz: 7a39d614e2ba24682b343d2334932e5047da33aaa566623b88a573ce19c1be97d4a10ae1b9839965077fbb9e823828b1443e241b8b7dfe6d2d84833b727cd9eb
@@ -13,13 +13,16 @@ module OpenApiSDK
13
13
 
14
14
 
15
15
  field :data, ::OpenApiSDK::Operations::Data, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('data') } }
16
+ # The external IDs of the links to update as stored in your database.
17
+ field :external_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('externalIds') } }
18
+ # The IDs of the links to update. Takes precedence over `externalIds`.
19
+ field :link_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('linkIds') } }
16
20
 
17
- field :link_ids, T::Array[::String], { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('linkIds') } }
18
21
 
19
-
20
- sig { params(data: ::OpenApiSDK::Operations::Data, link_ids: T::Array[::String]).void }
21
- def initialize(data: nil, link_ids: nil)
22
+ sig { params(data: ::OpenApiSDK::Operations::Data, external_ids: T.nilable(T::Array[::String]), link_ids: T.nilable(T::Array[::String])).void }
23
+ def initialize(data: nil, external_ids: nil, link_ids: nil)
22
24
  @data = data
25
+ @external_ids = external_ids
23
26
  @link_ids = link_ids
24
27
  end
25
28
  end
@@ -13,7 +13,7 @@ module OpenApiSDK
13
13
 
14
14
 
15
15
  field :domain, T.nilable(::String), { 'query_param': { 'field_name': 'domain', 'style': 'form', 'explode': true } }
16
- # This is the ID of the link in the your database. Must be prefixed with `ext_` when passed as a query parameter.
16
+ # This is the ID of the link in the your database.
17
17
  field :external_id, T.nilable(::String), { 'query_param': { 'field_name': 'externalId', 'style': 'form', 'explode': true } }
18
18
  # The key of the link to retrieve. E.g. for `d.to/github`, the key is `github`.
19
19
  field :key, T.nilable(::String), { 'query_param': { 'field_name': 'key', 'style': 'form', 'explode': true } }
@@ -7,7 +7,7 @@
7
7
  module OpenApiSDK
8
8
  module Shared
9
9
 
10
-
10
+ # The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
11
11
  class BadRequest < ::OpenApiSDK::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
@@ -7,7 +7,7 @@
7
7
  module OpenApiSDK
8
8
  module Shared
9
9
 
10
-
10
+ # This response is sent when a request conflicts with the current state of the server.
11
11
  class Conflict < ::OpenApiSDK::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
@@ -7,7 +7,7 @@
7
7
  module OpenApiSDK
8
8
  module Shared
9
9
 
10
-
10
+ # The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401 Unauthorized, the client's identity is known to the server.
11
11
  class Forbidden < ::OpenApiSDK::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
@@ -7,7 +7,7 @@
7
7
  module OpenApiSDK
8
8
  module Shared
9
9
 
10
-
10
+ # The server has encountered a situation it does not know how to handle.
11
11
  class InternalServerError < ::OpenApiSDK::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
@@ -7,7 +7,7 @@
7
7
  module OpenApiSDK
8
8
  module Shared
9
9
 
10
-
10
+ # This response is sent when the requested content has been permanently deleted from server, with no forwarding address.
11
11
  class InviteExpired < ::OpenApiSDK::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
@@ -7,7 +7,7 @@
7
7
  module OpenApiSDK
8
8
  module Shared
9
9
 
10
-
10
+ # The server cannot find the requested resource.
11
11
  class NotFound < ::OpenApiSDK::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
@@ -7,7 +7,7 @@
7
7
  module OpenApiSDK
8
8
  module Shared
9
9
 
10
-
10
+ # The user has sent too many requests in a given amount of time ("rate limiting")
11
11
  class RateLimitExceeded < ::OpenApiSDK::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
@@ -7,7 +7,7 @@
7
7
  module OpenApiSDK
8
8
  module Shared
9
9
 
10
-
10
+ # Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
11
11
  class Unauthorized < ::OpenApiSDK::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
@@ -7,7 +7,7 @@
7
7
  module OpenApiSDK
8
8
  module Shared
9
9
 
10
-
10
+ # The request was well-formed but was unable to be followed due to semantic errors.
11
11
  class UnprocessableEntity < ::OpenApiSDK::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
@@ -38,9 +38,9 @@ module OpenApiSDK
38
38
  @security = security
39
39
  @language = 'ruby'
40
40
  @openapi_doc_version = '0.0.1'
41
- @sdk_version = '0.2.2-alpha.19'
42
- @gen_version = '2.422.22'
43
- @user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.19 2.422.22 0.0.1 dub'
41
+ @sdk_version = '0.2.2-alpha.20'
42
+ @gen_version = '2.426.2'
43
+ @user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.20 2.426.2 0.0.1 dub'
44
44
  end
45
45
 
46
46
  sig { returns([String, T::Hash[Symbol, String]]) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2.pre.alpha.19
4
+ version: 0.2.2.pre.alpha.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dub
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-26 00:00:00.000000000 Z
11
+ date: 2024-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday