stackone_client 0.2.3 → 0.2.4

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: e2fcc728cb7f68d1a29e5c873236a4242b1b2133656458005658c88a7895f5bc
4
- data.tar.gz: e2176ae14ff0f3db08b83f4461fe9e12d57573cbf1a18eea310e7065ce47d985
3
+ metadata.gz: 6d1ab84716b45955e96605277ed3f7d9c1ab9cb1fd6a75670036263915f351da
4
+ data.tar.gz: 1cef9bbe7c09b5c93ac04f307af7c02a71485852ef9c205f0213383f6d5f36cf
5
5
  SHA512:
6
- metadata.gz: 64f057cf66fe0d920133d598f6df515bffb2e04aea1203d4318c5651d2327e4b1a3d969770c57ec4c6c930b6f5320a5551aa9ae23fbdacb994be776540cfefbc
7
- data.tar.gz: 4d14bfb4f7ffe912d06b1436c03c3f9f92363f9edc7235cd3f28c6495d9583a72da7a0642696e2a412908682ad1bd458eef3f680a8a9b08d1d3ea8e309709a14
6
+ metadata.gz: 9add2247ffd83c1abc2a82f029935bdec703ed60ff062d5af1ae4610f82ce5ffe30c5e8788f7d855e22ead4fd0e48454ae3d3d234b1f813348a03e1503434f3b
7
+ data.tar.gz: 7cc8ad2fa3e349df52a9f1d26041e285c9c23287772ea27c538213a4dd7cc6f3b6b0386d6ec3d3399d2abd6dd96a83d85c56983a1fee51d2cc5261295d9b224c
@@ -139,12 +139,14 @@ module StackOne
139
139
  end
140
140
 
141
141
 
142
- sig { params(origin_owner_id: T.nilable(::String), provider: T.nilable(::String)).returns(::StackOne::Operations::StackoneListLinkedAccountsResponse) }
143
- def list_linked_accounts(origin_owner_id = nil, provider = nil)
142
+ sig { params(origin_owner_id: T.nilable(::String), page: T.nilable(::Float), page_size: T.nilable(::Float), provider: T.nilable(::String)).returns(::StackOne::Operations::StackoneListLinkedAccountsResponse) }
143
+ def list_linked_accounts(origin_owner_id = nil, page = nil, page_size = nil, provider = nil)
144
144
  # list_linked_accounts - List Accounts
145
145
  request = ::StackOne::Operations::StackoneListLinkedAccountsRequest.new(
146
146
 
147
147
  origin_owner_id: origin_owner_id,
148
+ page: page,
149
+ page_size: page_size,
148
150
  provider: provider
149
151
  )
150
152
  url, params = @sdk_configuration.get_server_details
@@ -13,13 +13,19 @@ module StackOne
13
13
 
14
14
  # The origin owner identifier of the results to fetch
15
15
  field :origin_owner_id, T.nilable(::String), { 'query_param': { 'field_name': 'origin_owner_id', 'style': 'form', 'explode': true } }
16
+ # The page number of the results to fetch
17
+ field :page, T.nilable(::Float), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
18
+ # The number of results per page
19
+ field :page_size, T.nilable(::Float), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
16
20
  # The provider of the results to fetch
17
21
  field :provider, T.nilable(::String), { 'query_param': { 'field_name': 'provider', 'style': 'form', 'explode': true } }
18
22
 
19
23
 
20
- sig { params(origin_owner_id: T.nilable(::String), provider: T.nilable(::String)).void }
21
- def initialize(origin_owner_id: nil, provider: nil)
24
+ sig { params(origin_owner_id: T.nilable(::String), page: T.nilable(::Float), page_size: T.nilable(::Float), provider: T.nilable(::String)).void }
25
+ def initialize(origin_owner_id: nil, page: nil, page_size: nil, provider: nil)
22
26
  @origin_owner_id = origin_owner_id
27
+ @page = page
28
+ @page_size = page_size
23
29
  @provider = provider
24
30
  end
25
31
  end
@@ -15,9 +15,12 @@ module StackOne
15
15
  WEEK = new('week')
16
16
  EVERY_TWO_WEEKS = new('every_two_weeks')
17
17
  MONTH = new('month')
18
+ TWICE_A_MONTH = new('twice_a_month')
19
+ EVERY_TWO_MONTHS = new('every_two_months')
18
20
  QUARTER = new('quarter')
19
21
  EVERY_SIX_MONTHS = new('every_six_months')
20
22
  YEAR = new('year')
23
+ ONE_OFF = new('one_off')
21
24
  NONE = new('none')
22
25
  UNMAPPED_VALUE = new('unmapped_value')
23
26
  end
@@ -12,6 +12,9 @@ module StackOne
12
12
  enums do
13
13
  LIVE = new('live')
14
14
  DRAFT = new('draft')
15
+ PENDING = new('pending')
16
+ INTERNAL = new('internal')
17
+ REJECTED = new('rejected')
15
18
  CLOSED = new('closed')
16
19
  ARCHIVED = new('archived')
17
20
  UNMAPPED_VALUE = new('unmapped_value')
@@ -15,9 +15,12 @@ module StackOne
15
15
  WEEK = new('week')
16
16
  EVERY_TWO_WEEKS = new('every_two_weeks')
17
17
  MONTH = new('month')
18
+ TWICE_A_MONTH = new('twice_a_month')
19
+ EVERY_TWO_MONTHS = new('every_two_months')
18
20
  QUARTER = new('quarter')
19
21
  EVERY_SIX_MONTHS = new('every_six_months')
20
22
  YEAR = new('year')
23
+ ONE_OFF = new('one_off')
21
24
  NONE = new('none')
22
25
  UNMAPPED_VALUE = new('unmapped_value')
23
26
  end
@@ -12,9 +12,9 @@ module StackOne
12
12
  extend T::Sig
13
13
 
14
14
  # The body of the request
15
- field :body, T.nilable(::StackOne::Shared::Body), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('body') } }
15
+ field :body, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('body') } }
16
16
  # The headers to send in the request
17
- field :headers, T.nilable(::StackOne::Shared::Headers), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('headers') } }
17
+ field :headers, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('headers') } }
18
18
  # The method of the request
19
19
  field :method, T.nilable(::StackOne::Shared::Method), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('method'), 'decoder': Utils.enum_from_string(::StackOne::Shared::Method, true) } }
20
20
  # The path of the request including any query paramters
@@ -23,7 +23,7 @@ module StackOne
23
23
  field :url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } }
24
24
 
25
25
 
26
- sig { params(body: T.nilable(::StackOne::Shared::Body), headers: T.nilable(::StackOne::Shared::Headers), method: T.nilable(::StackOne::Shared::Method), path: T.nilable(::String), url: T.nilable(::String)).void }
26
+ sig { params(body: T.nilable(T::Hash[Symbol, ::Object]), headers: T.nilable(T::Hash[Symbol, ::Object]), method: T.nilable(::StackOne::Shared::Method), path: T.nilable(::String), url: T.nilable(::String)).void }
27
27
  def initialize(body: nil, headers: nil, method: nil, path: nil, url: nil)
28
28
  @body = body
29
29
  @headers = headers
@@ -311,8 +311,6 @@ module StackOne
311
311
  autoload :Template, 'stack_one/models/shared/template.rb'
312
312
  autoload :CampaignsPaginated, 'stack_one/models/shared/campaignspaginated.rb'
313
313
  autoload :TemplatesPaginated, 'stack_one/models/shared/templatespaginated.rb'
314
- autoload :Body, 'stack_one/models/shared/body.rb'
315
- autoload :Headers, 'stack_one/models/shared/headers.rb'
316
314
  autoload :Method, 'stack_one/models/shared/method.rb'
317
315
  autoload :ProxyRequestBody, 'stack_one/models/shared/proxyrequestbody.rb'
318
316
  autoload :Security, 'stack_one/models/shared/security.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.3'
42
- @gen_version = '2.277.0'
43
- @user_agent = 'speakeasy-sdk/ruby 0.2.3 2.277.0 1.0.0 stackone_client'
41
+ @sdk_version = '0.2.4'
42
+ @gen_version = '2.279.1'
43
+ @user_agent = 'speakeasy-sdk/ruby 0.2.4 2.279.1 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.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - StackOne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-04 00:00:00.000000000 Z
11
+ date: 2024-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -435,7 +435,6 @@ files:
435
435
  - lib/stack_one/models/shared/atsupdatecandidatesrequestdto.rb
436
436
  - lib/stack_one/models/shared/avatar.rb
437
437
  - lib/stack_one/models/shared/benefit_type.rb
438
- - lib/stack_one/models/shared/body.rb
439
438
  - lib/stack_one/models/shared/campaign.rb
440
439
  - lib/stack_one/models/shared/campaign_schemas_value.rb
441
440
  - lib/stack_one/models/shared/campaign_value.rb
@@ -529,7 +528,6 @@ files:
529
528
  - lib/stack_one/models/shared/fileformatenum.rb
530
529
  - lib/stack_one/models/shared/fileformatenum_value.rb
531
530
  - lib/stack_one/models/shared/gender.rb
532
- - lib/stack_one/models/shared/headers.rb
533
531
  - lib/stack_one/models/shared/home_location.rb
534
532
  - lib/stack_one/models/shared/hrisbenefit.rb
535
533
  - lib/stack_one/models/shared/hrisbenefit_value.rb
@@ -1,20 +0,0 @@
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
- # The body of the request
11
- class Body < ::StackOne::Utils::FieldAugmented
12
- extend T::Sig
13
-
14
-
15
-
16
-
17
- def initialize; end
18
- end
19
- end
20
- end
@@ -1,20 +0,0 @@
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
- # The headers to send in the request
11
- class Headers < ::StackOne::Utils::FieldAugmented
12
- extend T::Sig
13
-
14
-
15
-
16
-
17
- def initialize; end
18
- end
19
- end
20
- end