stackone_client 0.2.10 → 0.2.11

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: def77857be8cc62c88ecfdf9c3040a4dc24fe263402352a431f525672b4a62ff
4
- data.tar.gz: 452918ae345bfedb19ab5e72062d968e3786a961d3f648c7c52e094525b5ebc5
3
+ metadata.gz: 7d61a0e6dc9d397556a55f1bbd7b2934de6f4887254475987a8c29f999fa908a
4
+ data.tar.gz: b01f752833794924abb2ec1597ebebafe3a0a12c350fc5a37fa8afb5fe2b60b9
5
5
  SHA512:
6
- metadata.gz: 4abc91b27af93bdab8ca85dd26b5e8a1d037fcbeae52e60a34e8536ad9c968bf23cefb631637dd02e19a1b6b6b1fd864a5f3a813bf80a1be5ca543a4c28a6de5
7
- data.tar.gz: 4767ac490595e362f1d2829377e0b0bf20e963eae08b2a11d9ebf95ae5da0a0b59b792a97d8387bcbffe1ef529bd0fe83d4b2426710dc295bb4896fc5404e7f0
6
+ metadata.gz: 345fe0dd929c1a681dbb5865640125789349c908b6430d8c9e43aed2fbf21d0bd88e0641725b563241eea2765c9bcde8cb2f497a7ab2fa9321040c35ed621586
7
+ data.tar.gz: 8909623f7d088ca19e6aa22d7a96ca70fb50deaa922dbdfa03ab53b41df343eb6af259a6f407ace6ed6287bb7b6feccaae2dbe4db644bc2c2a1a29c99fe9f560
@@ -17,6 +17,8 @@ module StackOne
17
17
  field :expand, T.nilable(::String), { 'query_param': { 'field_name': 'expand', 'style': 'form', 'explode': true } }
18
18
  # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
19
19
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
+ # Filter for job ID to retrieve a list of applications related to this job
21
+ field :job_id, T.nilable(::String), { 'query_param': { 'field_name': 'job_id', 'style': 'form', 'explode': true } }
20
22
  # The unified cursor
21
23
  field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
22
24
  # The page number of the results to fetch
@@ -37,11 +39,12 @@ module StackOne
37
39
  field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
38
40
 
39
41
 
40
- sig { params(x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void }
41
- def initialize(x_account_id: nil, expand: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
42
+ sig { params(x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), job_id: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void }
43
+ def initialize(x_account_id: nil, expand: nil, fields_: nil, job_id: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
42
44
  @x_account_id = x_account_id
43
45
  @expand = expand
44
46
  @fields_ = fields_
47
+ @job_id = job_id
45
48
  @next_ = next_
46
49
  @page = page
47
50
  @page_size = page_size
@@ -24,6 +24,8 @@ module StackOne
24
24
 
25
25
  field :provider, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('provider') } }
26
26
 
27
+ field :status, ::StackOne::Shared::LinkedAccountStatus, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('status'), 'decoder': Utils.enum_from_string(::StackOne::Shared::LinkedAccountStatus, false) } }
28
+
27
29
  field :updated_at, ::DateTime, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
28
30
 
29
31
  field :credentials, T.nilable(::StackOne::Shared::Credentials), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('credentials') } }
@@ -34,20 +36,24 @@ module StackOne
34
36
 
35
37
  field :setup_information, T.nilable(::StackOne::Shared::SetupInformation), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('setup_information') } }
36
38
 
39
+ field :status_reasons, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('status_reasons') } }
40
+
37
41
 
38
- sig { params(active: T::Boolean, created_at: ::DateTime, id: ::String, origin_owner_id: ::String, origin_owner_name: ::String, provider: ::String, updated_at: ::DateTime, credentials: T.nilable(::StackOne::Shared::Credentials), label: T.nilable(::String), origin_username: T.nilable(::String), setup_information: T.nilable(::StackOne::Shared::SetupInformation)).void }
39
- def initialize(active: nil, created_at: nil, id: nil, origin_owner_id: nil, origin_owner_name: nil, provider: nil, updated_at: nil, credentials: nil, label: nil, origin_username: nil, setup_information: nil)
42
+ sig { params(active: T::Boolean, created_at: ::DateTime, id: ::String, origin_owner_id: ::String, origin_owner_name: ::String, provider: ::String, status: ::StackOne::Shared::LinkedAccountStatus, updated_at: ::DateTime, credentials: T.nilable(::StackOne::Shared::Credentials), label: T.nilable(::String), origin_username: T.nilable(::String), setup_information: T.nilable(::StackOne::Shared::SetupInformation), status_reasons: T.nilable(T::Array[::String])).void }
43
+ def initialize(active: nil, created_at: nil, id: nil, origin_owner_id: nil, origin_owner_name: nil, provider: nil, status: nil, updated_at: nil, credentials: nil, label: nil, origin_username: nil, setup_information: nil, status_reasons: nil)
40
44
  @active = active
41
45
  @created_at = created_at
42
46
  @id = id
43
47
  @origin_owner_id = origin_owner_id
44
48
  @origin_owner_name = origin_owner_name
45
49
  @provider = provider
50
+ @status = status
46
51
  @updated_at = updated_at
47
52
  @credentials = credentials
48
53
  @label = label
49
54
  @origin_username = origin_username
50
55
  @setup_information = setup_information
56
+ @status_reasons = status_reasons
51
57
  end
52
58
  end
53
59
  end
@@ -0,0 +1,20 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Shared
9
+
10
+
11
+ class LinkedAccountStatus < T::Enum
12
+ enums do
13
+ ACTIVE = new('Active')
14
+ INACTIVE = new('Inactive')
15
+ ERROR = new('Error')
16
+ end
17
+ end
18
+
19
+ end
20
+ end
@@ -7,6 +7,7 @@ module StackOne
7
7
  module Shared
8
8
  autoload :Credentials, 'stack_one/models/shared/credentials.rb'
9
9
  autoload :SetupInformation, 'stack_one/models/shared/setup_information.rb'
10
+ autoload :LinkedAccountStatus, 'stack_one/models/shared/linkedaccount_status.rb'
10
11
  autoload :LinkedAccount, 'stack_one/models/shared/linkedaccount.rb'
11
12
  autoload :LinkedAccountMetaCategory, 'stack_one/models/shared/linkedaccountmeta_category.rb'
12
13
  autoload :LinkedAccountMeta, 'stack_one/models/shared/linkedaccountmeta.rb'
@@ -38,9 +38,9 @@ module StackOne
38
38
  @security = security
39
39
  @language = 'ruby'
40
40
  @openapi_doc_version = '1.0.0'
41
- @sdk_version = '0.2.10'
42
- @gen_version = '2.298.2'
43
- @user_agent = 'speakeasy-sdk/ruby 0.2.10 2.298.2 1.0.0 stackone_client'
41
+ @sdk_version = '0.2.11'
42
+ @gen_version = '2.300.0'
43
+ @user_agent = 'speakeasy-sdk/ruby 0.2.11 2.300.0 1.0.0 stackone_client'
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: stackone_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - StackOne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-05 00:00:00.000000000 Z
11
+ date: 2024-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -558,6 +558,7 @@ files:
558
558
  - lib/stack_one/models/shared/jobresult.rb
559
559
  - lib/stack_one/models/shared/jobspaginated.rb
560
560
  - lib/stack_one/models/shared/linkedaccount.rb
561
+ - lib/stack_one/models/shared/linkedaccount_status.rb
561
562
  - lib/stack_one/models/shared/linkedaccountmeta.rb
562
563
  - lib/stack_one/models/shared/linkedaccountmeta_category.rb
563
564
  - lib/stack_one/models/shared/list.rb