stackone_client 0.2.40 → 0.2.41

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: 14a53b01df9d1f9e7b03b69da06f7a49b44d89c1761b5e7efac2d7862e9ff6b1
4
- data.tar.gz: 7b9a311233c9a1ce1a83946ea6998fae933f24f9855e6f8c9686a17da7e80c3b
3
+ metadata.gz: d9637c27706b8d1ee49b2d8fde28d0d9a6f25e7d6f097322d5a7dd6cd544ff5c
4
+ data.tar.gz: eaefc30dc9a593e234c955dee8cccada310e0799b64c7f50718aaf11c8d44bbd
5
5
  SHA512:
6
- metadata.gz: 83a1d62874ae1dae0662bfb1bf4c0b3a8207b0ecd37920e19587399adb2d19833fdd1cf18db804d88a7e7f2a4a3618a3709c4170930aea3bdc07f90694040f53
7
- data.tar.gz: a0a0ec80720142fac97d3a70f4a4acca8770c90c15c80629a0368a112ee66dedee4f757d2543eadf9ec8bf866e35cd76f50f3dcfd6b8436c3cf24ba7f7bc958d
6
+ metadata.gz: fd4154cbe7e0491131d8f86672cc1e57398a2ce3ca0cc73b66adac76cf11a00a695874d4de60fc8286e9100e4ae7b9facfd789ec637b8c97b33899e0215f6804
7
+ data.tar.gz: 6190b2273b783f67a188fa00fac4a67601f576442dda05a43aaed11980f5cfbd563d0f5d0691685ce8f75e2fca908939a362dd1760bd3bde2b17ec3520e4b413
@@ -7,16 +7,19 @@
7
7
  module StackOne
8
8
  module Operations
9
9
 
10
- # Filter parameters that allow greater customisation of the list response
10
+ # ATS Document Filter
11
11
  class AtsListApplicationDocumentsQueryParamFilter < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
+ # Filter to select documents by type
15
+ field :type, T.nilable(::String), { 'query_param': { 'field_name': 'type' } }
14
16
  # Use a string with a date to only select results updated after that given date
15
17
  field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
16
18
 
17
19
 
18
- sig { params(updated_after: T.nilable(::String)).void }
19
- def initialize(updated_after: nil)
20
+ sig { params(type: T.nilable(::String), updated_after: T.nilable(::String)).void }
21
+ def initialize(type: nil, updated_after: nil)
22
+ @type = type
20
23
  @updated_after = updated_after
21
24
  end
22
25
  end
@@ -17,7 +17,7 @@ module StackOne
17
17
  field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
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 parameters that allow greater customisation of the list response
20
+ # ATS Document Filter
21
21
  field :filter, T.nilable(::StackOne::Operations::AtsListApplicationDocumentsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
22
22
  # The unified cursor
23
23
  field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
@@ -18,6 +18,7 @@ module StackOne
18
18
  CLOSED = new('closed')
19
19
  OPEN = new('open')
20
20
  DELETED = new('deleted')
21
+ ON_HOLD = new('on_hold')
21
22
  UNMAPPED_VALUE = new('unmapped_value')
22
23
  end
23
24
  end
@@ -18,6 +18,7 @@ module StackOne
18
18
  CLOSED = new('closed')
19
19
  OPEN = new('open')
20
20
  DELETED = new('deleted')
21
+ ON_HOLD = new('on_hold')
21
22
  UNMAPPED_VALUE = new('unmapped_value')
22
23
  end
23
24
  end
@@ -15,6 +15,8 @@ module StackOne
15
15
  field :active, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('active') } }
16
16
  # The ID associated with this category
17
17
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
18
+ # The hierarchal level of the category
19
+ field :level, T.nilable(::StackOne::Shared::Level), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('level') } }
18
20
  # The name associated with this category
19
21
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
20
22
  # Provider's unique identifier
@@ -23,10 +25,11 @@ module StackOne
23
25
  field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
24
26
 
25
27
 
26
- sig { params(active: T.nilable(T::Boolean), id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void }
27
- def initialize(active: nil, id: nil, name: nil, remote_id: nil, unified_custom_fields: nil)
28
+ sig { params(active: T.nilable(T::Boolean), id: T.nilable(::String), level: T.nilable(::StackOne::Shared::Level), name: T.nilable(::String), remote_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void }
29
+ def initialize(active: nil, id: nil, level: nil, name: nil, remote_id: nil, unified_custom_fields: nil)
28
30
  @active = active
29
31
  @id = id
32
+ @level = level
30
33
  @name = name
31
34
  @remote_id = remote_id
32
35
  @unified_custom_fields = unified_custom_fields
@@ -0,0 +1,18 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Shared
9
+
10
+
11
+ class CategoryValue < T::Enum
12
+ enums do
13
+ PRIMARY = new('primary')
14
+ SECONDARY = new('secondary')
15
+ end
16
+ end
17
+ end
18
+ end
@@ -10,6 +10,7 @@ module StackOne
10
10
  # ContentLanguageEnumValue - The Locale Code of the language
11
11
  class ContentLanguageEnumValue < T::Enum
12
12
  enums do
13
+ AR_AR = new('ar_AR')
13
14
  AA_ER = new('aa_ER')
14
15
  AF_NA = new('af_NA')
15
16
  AF_ZA = new('af_ZA')
@@ -179,6 +180,7 @@ module StackOne
179
180
  ES_GT = new('es_GT')
180
181
  ES_HN = new('es_HN')
181
182
  ES_IC = new('es_IC')
183
+ ES_LA = new('es_LA')
182
184
  ES_MX = new('es_MX')
183
185
  ES_NI = new('es_NI')
184
186
  ES_PA = new('es_PA')
@@ -13,15 +13,18 @@ module StackOne
13
13
 
14
14
  # Whether the category is active and therefore available for use
15
15
  field :active, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('active') } }
16
+ # The hierarchal level of the category
17
+ field :level, T.nilable(::StackOne::Shared::CreateCategoriesApiModelLevel), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('level') } }
16
18
  # The name associated with this category
17
19
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
18
20
  # Custom Unified Fields configured in your StackOne project
19
21
  field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
20
22
 
21
23
 
22
- sig { params(active: T.nilable(T::Boolean), name: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void }
23
- def initialize(active: nil, name: nil, unified_custom_fields: nil)
24
+ sig { params(active: T.nilable(T::Boolean), level: T.nilable(::StackOne::Shared::CreateCategoriesApiModelLevel), name: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void }
25
+ def initialize(active: nil, level: nil, name: nil, unified_custom_fields: nil)
24
26
  @active = active
27
+ @level = level
25
28
  @name = name
26
29
  @unified_custom_fields = unified_custom_fields
27
30
  end
@@ -0,0 +1,27 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Shared
9
+
10
+ # The hierarchal level of the category
11
+ class CreateCategoriesApiModelLevel < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
16
+
17
+ field :value, T.nilable(::StackOne::Shared::CreateCategoriesApiModelValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::CreateCategoriesApiModelValue, true) } }
18
+
19
+
20
+ sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::CreateCategoriesApiModelValue)).void }
21
+ def initialize(source_value: nil, value: nil)
22
+ @source_value = source_value
23
+ @value = value
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,18 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Shared
9
+
10
+
11
+ class CreateCategoriesApiModelValue < T::Enum
12
+ enums do
13
+ PRIMARY = new('primary')
14
+ SECONDARY = new('secondary')
15
+ end
16
+ end
17
+ end
18
+ end
@@ -18,6 +18,7 @@ module StackOne
18
18
  CLOSED = new('closed')
19
19
  OPEN = new('open')
20
20
  DELETED = new('deleted')
21
+ ON_HOLD = new('on_hold')
21
22
  UNMAPPED_VALUE = new('unmapped_value')
22
23
  end
23
24
  end
@@ -7,17 +7,17 @@
7
7
  module StackOne
8
8
  module Shared
9
9
 
10
- # The hierarchal level of the skill
10
+ # The hierarchal level of the category
11
11
  class Level < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
14
 
15
15
  field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
16
16
 
17
- field :value, T.nilable(::StackOne::Shared::SkillsValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::SkillsValue, true) } }
17
+ field :value, T.nilable(::StackOne::Shared::CategoryValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::CategoryValue, true) } }
18
18
 
19
19
 
20
- sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::SkillsValue)).void }
20
+ sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::CategoryValue)).void }
21
21
  def initialize(source_value: nil, value: nil)
22
22
  @source_value = source_value
23
23
  @value = value
@@ -16,14 +16,14 @@ module StackOne
16
16
  # The ID associated with this skill
17
17
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
18
18
  # The hierarchal level of the skill
19
- field :level, T.nilable(::StackOne::Shared::Level), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('level') } }
19
+ field :level, T.nilable(::StackOne::Shared::SkillsLevel), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('level') } }
20
20
  # The name associated with this skill
21
21
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
22
22
  # Provider's unique identifier
23
23
  field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
24
24
 
25
25
 
26
- sig { params(active: T.nilable(T::Boolean), id: T.nilable(::String), level: T.nilable(::StackOne::Shared::Level), name: T.nilable(::String), remote_id: T.nilable(::String)).void }
26
+ sig { params(active: T.nilable(T::Boolean), id: T.nilable(::String), level: T.nilable(::StackOne::Shared::SkillsLevel), name: T.nilable(::String), remote_id: T.nilable(::String)).void }
27
27
  def initialize(active: nil, id: nil, level: nil, name: nil, remote_id: nil)
28
28
  @active = active
29
29
  @id = id
@@ -0,0 +1,27 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Shared
9
+
10
+ # The hierarchal level of the skill
11
+ class SkillsLevel < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
16
+
17
+ field :value, T.nilable(::StackOne::Shared::SkillsValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::SkillsValue, true) } }
18
+
19
+
20
+ sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::SkillsValue)).void }
21
+ def initialize(source_value: nil, value: nil)
22
+ @source_value = source_value
23
+ @value = value
24
+ end
25
+ end
26
+ end
27
+ end
@@ -440,6 +440,8 @@ module StackOne
440
440
  autoload :LmsUpsertContentRequestDto, 'stack_one/models/shared/lmsupsertcontentrequestdto.rb'
441
441
  autoload :ContentLanguageEnumValue, 'stack_one/models/shared/contentlanguageenum_value.rb'
442
442
  autoload :ContentLanguageEnum, 'stack_one/models/shared/contentlanguageenum.rb'
443
+ autoload :CreateCategoriesApiModelValue, 'stack_one/models/shared/createcategoriesapimodel_value.rb'
444
+ autoload :CreateCategoriesApiModelLevel, 'stack_one/models/shared/createcategoriesapimodel_level.rb'
443
445
  autoload :CreateCategoriesApiModel, 'stack_one/models/shared/createcategoriesapimodel.rb'
444
446
  autoload :LmsCreateContentRequestDtoValue, 'stack_one/models/shared/lmscreatecontentrequestdto_value.rb'
445
447
  autoload :LmsCreateContentRequestDtoContentType, 'stack_one/models/shared/lmscreatecontentrequestdto_content_type.rb'
@@ -452,6 +454,8 @@ module StackOne
452
454
  autoload :Value, 'stack_one/models/shared/value.rb'
453
455
  autoload :AssignmentStatusEnum, 'stack_one/models/shared/assignmentstatusenum.rb'
454
456
  autoload :CategoryResult, 'stack_one/models/shared/categoryresult.rb'
457
+ autoload :CategoryValue, 'stack_one/models/shared/category_value.rb'
458
+ autoload :Level, 'stack_one/models/shared/level.rb'
455
459
  autoload :Category, 'stack_one/models/shared/category.rb'
456
460
  autoload :CompletionResult, 'stack_one/models/shared/completionresult.rb'
457
461
  autoload :CompletionValue, 'stack_one/models/shared/completion_value.rb'
@@ -465,7 +469,7 @@ module StackOne
465
469
  autoload :CourseType, 'stack_one/models/shared/course_type.rb'
466
470
  autoload :Course, 'stack_one/models/shared/course.rb'
467
471
  autoload :SkillsValue, 'stack_one/models/shared/skills_value.rb'
468
- autoload :Level, 'stack_one/models/shared/level.rb'
472
+ autoload :SkillsLevel, 'stack_one/models/shared/skills_level.rb'
469
473
  autoload :Skills, 'stack_one/models/shared/skills.rb'
470
474
  autoload :SkillResult, 'stack_one/models/shared/skillresult.rb'
471
475
  autoload :AssignmentsPaginated, 'stack_one/models/shared/assignmentspaginated.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.40'
42
- @gen_version = '2.422.22'
43
- @user_agent = 'speakeasy-sdk/ruby 0.2.40 2.422.22 1.0.0 stackone_client'
41
+ @sdk_version = '0.2.41'
42
+ @gen_version = '2.426.2'
43
+ @user_agent = 'speakeasy-sdk/ruby 0.2.41 2.426.2 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.40
4
+ version: 0.2.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - StackOne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-25 00:00:00.000000000 Z
11
+ date: 2024-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -634,6 +634,7 @@ files:
634
634
  - lib/stack_one/models/shared/categories.rb
635
635
  - lib/stack_one/models/shared/categoriespaginated.rb
636
636
  - lib/stack_one/models/shared/category.rb
637
+ - lib/stack_one/models/shared/category_value.rb
637
638
  - lib/stack_one/models/shared/categoryresult.rb
638
639
  - lib/stack_one/models/shared/channelsenum.rb
639
640
  - lib/stack_one/models/shared/channelsenum_value.rb
@@ -686,6 +687,8 @@ files:
686
687
  - lib/stack_one/models/shared/createanswer_type.rb
687
688
  - lib/stack_one/models/shared/createanswer_value.rb
688
689
  - lib/stack_one/models/shared/createcategoriesapimodel.rb
690
+ - lib/stack_one/models/shared/createcategoriesapimodel_level.rb
691
+ - lib/stack_one/models/shared/createcategoriesapimodel_value.rb
689
692
  - lib/stack_one/models/shared/createemploymentapimodel.rb
690
693
  - lib/stack_one/models/shared/createemploymentapimodel_schemas_pay_frequency_value.rb
691
694
  - lib/stack_one/models/shared/createemploymentapimodel_schemas_pay_period_value.rb
@@ -1022,6 +1025,7 @@ files:
1022
1025
  - lib/stack_one/models/shared/setup_information.rb
1023
1026
  - lib/stack_one/models/shared/skillresult.rb
1024
1027
  - lib/stack_one/models/shared/skills.rb
1028
+ - lib/stack_one/models/shared/skills_level.rb
1025
1029
  - lib/stack_one/models/shared/skills_value.rb
1026
1030
  - lib/stack_one/models/shared/skillspaginated.rb
1027
1031
  - lib/stack_one/models/shared/smsmessages.rb