stackone_client 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (22) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/models/operations/hris_get_company_request.rb +4 -4
  3. data/lib/stack_one/models/operations/hris_get_employee_document_request.rb +4 -4
  4. data/lib/stack_one/models/operations/hris_get_employee_request.rb +4 -4
  5. data/lib/stack_one/models/operations/hris_get_employees_time_off_request_request.rb +4 -4
  6. data/lib/stack_one/models/operations/hris_get_employment_request.rb +4 -4
  7. data/lib/stack_one/models/operations/hris_get_location_request.rb +4 -4
  8. data/lib/stack_one/models/operations/hris_get_time_off_request_request.rb +4 -4
  9. data/lib/stack_one/models/operations/hris_list_companies_request.rb +4 -4
  10. data/lib/stack_one/models/operations/hris_list_employee_documents_request.rb +4 -4
  11. data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb +4 -4
  12. data/lib/stack_one/models/operations/hris_list_employees_request.rb +4 -4
  13. data/lib/stack_one/models/operations/hris_list_employments_request.rb +4 -4
  14. data/lib/stack_one/models/operations/hris_list_locations_request.rb +4 -4
  15. data/lib/stack_one/models/operations/hris_list_time_off_requests_request.rb +4 -4
  16. data/lib/stack_one/models/shared/documentapimodel_value.rb +6 -0
  17. data/lib/stack_one/models/shared/employee_schemas_employment_type_value.rb +2 -0
  18. data/lib/stack_one/models/shared/employment_schemas_value.rb +2 -0
  19. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_value.rb +2 -0
  20. data/lib/stack_one/sdkconfiguration.rb +3 -3
  21. data/lib/stack_one/utils/utils.rb +2 -2
  22. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: daf71f95538e83e8977f9e6f8e7249770a8ea4b3d06ae3bb27a86bb51f40c8f0
4
- data.tar.gz: cf36b4c0ec6befd9c5e0ec96c96198da1e5b0e801df9a5a1d42321fe42725f92
3
+ metadata.gz: 54c38885ef15cb60f127f7069b8cc4244c04942d265e0bf75322f06069eb5208
4
+ data.tar.gz: 37e7950c9c468fc6eebdd3596e7434bcfbbe31b90d48c2dca9319b1310f054c5
5
5
  SHA512:
6
- metadata.gz: 9bc7a9782f359894f637b6f3cee2f043aed5f5490c083b98a29ccb1ff68f85eb05dcb0540c1d570cf0ee2db9a8f3aec37c400f9066eba112603f1651fb57a38f
7
- data.tar.gz: ae06252cb16d3c938e9b21ae2c69d00040035b53c9ad9c69b6aba78c583100bc19cbc8863a6c24c9850ea9dce4ecd4c00f63b7a70bed96d699c9df23e071784f
6
+ metadata.gz: 7e5c439c622d324c62818ad44ca34b4967e15c37977b1ba3faa749f0d3a1b61d49b56fc1689474c29a0d8871a9352dcb5c298af8293dac2ca0d88b5974d3bc65
7
+ data.tar.gz: 3b9a817c15deb5972031e6ce781c00b917560284393b23bfbc880eaa48bb38709830b866ec26e74981e3c0505cdd477b35d622604621a3793dcc038514e7d412
@@ -16,7 +16,7 @@ module StackOne
16
16
  # The account identifier
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 to return in the response (if empty, all fields are returned)
19
- field :fields, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
19
+ field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
20
  # The unified cursor
21
21
  field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
22
22
  # The page number of the results to fetch
@@ -33,11 +33,11 @@ module StackOne
33
33
  field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
34
34
 
35
35
 
36
- sig { params(id: ::String, x_account_id: ::String, fields: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::Proxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
37
- def initialize(id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
36
+ sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::Proxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
37
+ def initialize(id: nil, x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
38
38
  @id = id
39
39
  @x_account_id = x_account_id
40
- @fields = fields
40
+ @fields_ = fields_
41
41
  @next_ = next_
42
42
  @page = page
43
43
  @page_size = page_size
@@ -18,7 +18,7 @@ module StackOne
18
18
  # The account identifier
19
19
  field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
20
20
  # The comma separated list of fields to return in the response (if empty, all fields are returned)
21
- field :fields, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
21
+ field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
22
22
  # The unified cursor
23
23
  field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
24
24
  # The page number of the results to fetch
@@ -35,12 +35,12 @@ module StackOne
35
35
  field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
36
36
 
37
37
 
38
- sig { params(id: ::String, sub_resource_id: ::String, x_account_id: ::String, fields: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::HrisGetEmployeeDocumentQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
39
- def initialize(id: nil, sub_resource_id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
38
+ sig { params(id: ::String, sub_resource_id: ::String, x_account_id: ::String, fields_: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::HrisGetEmployeeDocumentQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
39
+ def initialize(id: nil, sub_resource_id: nil, x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
40
40
  @id = id
41
41
  @sub_resource_id = sub_resource_id
42
42
  @x_account_id = x_account_id
43
- @fields = fields
43
+ @fields_ = fields_
44
44
  @next_ = next_
45
45
  @page = page
46
46
  @page_size = page_size
@@ -18,7 +18,7 @@ module StackOne
18
18
  # The comma separated list of fields that will be expanded in the response
19
19
  field :expand, T.nilable(::String), { 'query_param': { 'field_name': 'expand', 'style': 'form', 'explode': true } }
20
20
  # The comma separated list of fields to return in the response (if empty, all fields are returned)
21
- field :fields, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
21
+ field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
22
22
  # The comma separated list of fields that will be included in the response
23
23
  field :include, T.nilable(::String), { 'query_param': { 'field_name': 'include', 'style': 'form', 'explode': true } }
24
24
  # The unified cursor
@@ -37,12 +37,12 @@ module StackOne
37
37
  field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
38
38
 
39
39
 
40
- sig { params(id: ::String, x_account_id: ::String, expand: T.nilable(::String), fields: T.nilable(::String), include: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::QueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
41
- def initialize(id: nil, x_account_id: nil, expand: nil, fields: nil, include: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
40
+ sig { params(id: ::String, x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), include: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::QueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
41
+ def initialize(id: nil, x_account_id: nil, expand: nil, fields_: nil, include: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
42
42
  @id = id
43
43
  @x_account_id = x_account_id
44
44
  @expand = expand
45
- @fields = fields
45
+ @fields_ = fields_
46
46
  @include = include
47
47
  @next_ = next_
48
48
  @page = page
@@ -18,7 +18,7 @@ module StackOne
18
18
  # The account identifier
19
19
  field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
20
20
  # The comma separated list of fields to return in the response (if empty, all fields are returned)
21
- field :fields, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
21
+ field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
22
22
  # The unified cursor
23
23
  field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
24
24
  # The page number of the results to fetch
@@ -35,12 +35,12 @@ module StackOne
35
35
  field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
36
36
 
37
37
 
38
- sig { params(id: ::String, sub_resource_id: ::String, x_account_id: ::String, fields: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::HrisGetEmployeesTimeOffRequestQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
39
- def initialize(id: nil, sub_resource_id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
38
+ sig { params(id: ::String, sub_resource_id: ::String, x_account_id: ::String, fields_: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::HrisGetEmployeesTimeOffRequestQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
39
+ def initialize(id: nil, sub_resource_id: nil, x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
40
40
  @id = id
41
41
  @sub_resource_id = sub_resource_id
42
42
  @x_account_id = x_account_id
43
- @fields = fields
43
+ @fields_ = fields_
44
44
  @next_ = next_
45
45
  @page = page
46
46
  @page_size = page_size
@@ -16,7 +16,7 @@ module StackOne
16
16
  # The account identifier
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 to return in the response (if empty, all fields are returned)
19
- field :fields, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
19
+ field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
20
  # The unified cursor
21
21
  field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
22
22
  # The page number of the results to fetch
@@ -33,11 +33,11 @@ module StackOne
33
33
  field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
34
34
 
35
35
 
36
- sig { params(id: ::String, x_account_id: ::String, fields: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::HrisGetEmploymentQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
37
- def initialize(id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
36
+ sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::HrisGetEmploymentQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
37
+ def initialize(id: nil, x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
38
38
  @id = id
39
39
  @x_account_id = x_account_id
40
- @fields = fields
40
+ @fields_ = fields_
41
41
  @next_ = next_
42
42
  @page = page
43
43
  @page_size = page_size
@@ -16,7 +16,7 @@ module StackOne
16
16
  # The account identifier
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 to return in the response (if empty, all fields are returned)
19
- field :fields, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
19
+ field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
20
  # The unified cursor
21
21
  field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
22
22
  # The page number of the results to fetch
@@ -33,11 +33,11 @@ module StackOne
33
33
  field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
34
34
 
35
35
 
36
- sig { params(id: ::String, x_account_id: ::String, fields: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::HrisGetLocationQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
37
- def initialize(id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
36
+ sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::HrisGetLocationQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
37
+ def initialize(id: nil, x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
38
38
  @id = id
39
39
  @x_account_id = x_account_id
40
- @fields = fields
40
+ @fields_ = fields_
41
41
  @next_ = next_
42
42
  @page = page
43
43
  @page_size = page_size
@@ -16,7 +16,7 @@ module StackOne
16
16
  # The account identifier
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 to return in the response (if empty, all fields are returned)
19
- field :fields, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
19
+ field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
20
  # The unified cursor
21
21
  field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
22
22
  # The page number of the results to fetch
@@ -33,11 +33,11 @@ module StackOne
33
33
  field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
34
34
 
35
35
 
36
- sig { params(id: ::String, x_account_id: ::String, fields: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::HrisGetTimeOffRequestQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
37
- def initialize(id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
36
+ sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::HrisGetTimeOffRequestQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
37
+ def initialize(id: nil, x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
38
38
  @id = id
39
39
  @x_account_id = x_account_id
40
- @fields = fields
40
+ @fields_ = fields_
41
41
  @next_ = next_
42
42
  @page = page
43
43
  @page_size = page_size
@@ -14,7 +14,7 @@ module StackOne
14
14
  # The account identifier
15
15
  field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
16
16
  # The comma separated list of fields to return in the response (if empty, all fields are returned)
17
- field :fields, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
17
+ field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
18
18
  # The unified cursor
19
19
  field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
20
20
  # The page number of the results to fetch
@@ -31,10 +31,10 @@ module StackOne
31
31
  field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
32
32
 
33
33
 
34
- sig { params(x_account_id: ::String, fields: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::HrisListCompaniesQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
35
- def initialize(x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
34
+ sig { params(x_account_id: ::String, fields_: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::HrisListCompaniesQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
35
+ def initialize(x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
36
36
  @x_account_id = x_account_id
37
- @fields = fields
37
+ @fields_ = fields_
38
38
  @next_ = next_
39
39
  @page = page
40
40
  @page_size = page_size
@@ -16,7 +16,7 @@ module StackOne
16
16
  # The account identifier
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 to return in the response (if empty, all fields are returned)
19
- field :fields, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
19
+ field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
20
  # The unified cursor
21
21
  field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
22
22
  # The page number of the results to fetch
@@ -33,11 +33,11 @@ module StackOne
33
33
  field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
34
34
 
35
35
 
36
- sig { params(id: ::String, x_account_id: ::String, fields: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::HrisListEmployeeDocumentsQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
37
- def initialize(id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
36
+ sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::HrisListEmployeeDocumentsQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
37
+ def initialize(id: nil, x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
38
38
  @id = id
39
39
  @x_account_id = x_account_id
40
- @fields = fields
40
+ @fields_ = fields_
41
41
  @next_ = next_
42
42
  @page = page
43
43
  @page_size = page_size
@@ -16,7 +16,7 @@ module StackOne
16
16
  # The account identifier
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 to return in the response (if empty, all fields are returned)
19
- field :fields, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
19
+ field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
20
  # The unified cursor
21
21
  field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
22
22
  # The page number of the results to fetch
@@ -33,11 +33,11 @@ module StackOne
33
33
  field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
34
34
 
35
35
 
36
- sig { params(id: ::String, x_account_id: ::String, fields: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::HrisListEmployeeTimeOffRequestsQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
37
- def initialize(id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
36
+ sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::HrisListEmployeeTimeOffRequestsQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
37
+ def initialize(id: nil, x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
38
38
  @id = id
39
39
  @x_account_id = x_account_id
40
- @fields = fields
40
+ @fields_ = fields_
41
41
  @next_ = next_
42
42
  @page = page
43
43
  @page_size = page_size
@@ -16,7 +16,7 @@ module StackOne
16
16
  # The comma separated list of fields that will be expanded in the response
17
17
  field :expand, T.nilable(::String), { 'query_param': { 'field_name': 'expand', 'style': 'form', 'explode': true } }
18
18
  # The comma separated list of fields to return in the response (if empty, all fields are returned)
19
- field :fields, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
19
+ field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
20
  # The comma separated list of fields that will be included in the response
21
21
  field :include, T.nilable(::String), { 'query_param': { 'field_name': 'include', 'style': 'form', 'explode': true } }
22
22
  # The unified cursor
@@ -35,11 +35,11 @@ module StackOne
35
35
  field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
36
36
 
37
37
 
38
- sig { params(x_account_id: ::String, expand: T.nilable(::String), fields: T.nilable(::String), include: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::HrisListEmployeesQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
39
- def initialize(x_account_id: nil, expand: nil, fields: nil, include: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
38
+ sig { params(x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), include: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::HrisListEmployeesQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
39
+ def initialize(x_account_id: nil, expand: nil, fields_: nil, include: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
40
40
  @x_account_id = x_account_id
41
41
  @expand = expand
42
- @fields = fields
42
+ @fields_ = fields_
43
43
  @include = include
44
44
  @next_ = next_
45
45
  @page = page
@@ -14,7 +14,7 @@ module StackOne
14
14
  # The account identifier
15
15
  field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
16
16
  # The comma separated list of fields to return in the response (if empty, all fields are returned)
17
- field :fields, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
17
+ field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
18
18
  # The unified cursor
19
19
  field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
20
20
  # The page number of the results to fetch
@@ -31,10 +31,10 @@ module StackOne
31
31
  field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
32
32
 
33
33
 
34
- sig { params(x_account_id: ::String, fields: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::HrisListEmploymentsQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
35
- def initialize(x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
34
+ sig { params(x_account_id: ::String, fields_: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::HrisListEmploymentsQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
35
+ def initialize(x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
36
36
  @x_account_id = x_account_id
37
- @fields = fields
37
+ @fields_ = fields_
38
38
  @next_ = next_
39
39
  @page = page
40
40
  @page_size = page_size
@@ -14,7 +14,7 @@ module StackOne
14
14
  # The account identifier
15
15
  field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
16
16
  # The comma separated list of fields to return in the response (if empty, all fields are returned)
17
- field :fields, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
17
+ field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
18
18
  # The unified cursor
19
19
  field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
20
20
  # The page number of the results to fetch
@@ -31,10 +31,10 @@ module StackOne
31
31
  field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
32
32
 
33
33
 
34
- sig { params(x_account_id: ::String, fields: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::HrisListLocationsQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
35
- def initialize(x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
34
+ sig { params(x_account_id: ::String, fields_: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::HrisListLocationsQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
35
+ def initialize(x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
36
36
  @x_account_id = x_account_id
37
- @fields = fields
37
+ @fields_ = fields_
38
38
  @next_ = next_
39
39
  @page = page
40
40
  @page_size = page_size
@@ -14,7 +14,7 @@ module StackOne
14
14
  # The account identifier
15
15
  field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
16
16
  # The comma separated list of fields to return in the response (if empty, all fields are returned)
17
- field :fields, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
17
+ field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
18
18
  # The unified cursor
19
19
  field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
20
20
  # The page number of the results to fetch
@@ -31,10 +31,10 @@ module StackOne
31
31
  field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
32
32
 
33
33
 
34
- sig { params(x_account_id: ::String, fields: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::HrisListTimeOffRequestsQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
35
- def initialize(x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
34
+ sig { params(x_account_id: ::String, fields_: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::HrisListTimeOffRequestsQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
35
+ def initialize(x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
36
36
  @x_account_id = x_account_id
37
- @fields = fields
37
+ @fields_ = fields_
38
38
  @next_ = next_
39
39
  @page = page
40
40
  @page_size = page_size
@@ -10,9 +10,15 @@ module StackOne
10
10
 
11
11
  class DocumentApiModelValue < T::Enum
12
12
  enums do
13
+ APPLICATION = new('application')
14
+ ACADEMIC = new('academic')
15
+ CONTRACT = new('contract')
16
+ CERTIFICATES = new('certificates')
13
17
  VISA = new('visa')
14
18
  PASSPORT = new('passport')
15
19
  DRIVER_LICENSE = new('driver_license')
20
+ PAYROLL = new('payroll')
21
+ APPRAISAL = new('appraisal')
16
22
  RESUME = new('resume')
17
23
  POLICY = new('policy')
18
24
  OFFER_LETTER = new('offer_letter')
@@ -24,7 +24,9 @@ module StackOne
24
24
  PROBATION = new('probation')
25
25
  INTERNAL = new('internal')
26
26
  EXTERNAL = new('external')
27
+ EXPATRIATE = new('expatriate')
27
28
  EMPLOYER_OF_RECORD = new('employer_of_record')
29
+ CASUAL = new('casual')
28
30
  UNMAPPED_VALUE = new('unmapped_value')
29
31
  end
30
32
  end
@@ -24,7 +24,9 @@ module StackOne
24
24
  PROBATION = new('probation')
25
25
  INTERNAL = new('internal')
26
26
  EXTERNAL = new('external')
27
+ EXPATRIATE = new('expatriate')
27
28
  EMPLOYER_OF_RECORD = new('employer_of_record')
29
+ CASUAL = new('casual')
28
30
  UNMAPPED_VALUE = new('unmapped_value')
29
31
  end
30
32
  end
@@ -24,7 +24,9 @@ module StackOne
24
24
  PROBATION = new('probation')
25
25
  INTERNAL = new('internal')
26
26
  EXTERNAL = new('external')
27
+ EXPATRIATE = new('expatriate')
27
28
  EMPLOYER_OF_RECORD = new('employer_of_record')
29
+ CASUAL = new('casual')
28
30
  UNMAPPED_VALUE = new('unmapped_value')
29
31
  end
30
32
  end
@@ -36,9 +36,9 @@ module StackOne
36
36
  @server_idx = server_idx.nil? ? 0 : server_idx
37
37
  @language = 'ruby'
38
38
  @openapi_doc_version = '1.0.0'
39
- @sdk_version = '0.1.1'
40
- @gen_version = '2.250.2'
41
- @user_agent = 'speakeasy-sdk/ruby 0.1.1 2.250.2 1.0.0 stackone_client'
39
+ @sdk_version = '0.2.0'
40
+ @gen_version = '2.250.16'
41
+ @user_agent = 'speakeasy-sdk/ruby 0.2.0 2.250.16 1.0.0 stackone_client'
42
42
  end
43
43
 
44
44
  sig { returns([String, T::Hash[Symbol, String]]) }
@@ -235,8 +235,8 @@ module StackOne
235
235
  _populate_form(field_name, metadata.fetch(:explode, true), obj, delimiter, &get_query_param_field_name)
236
236
  end
237
237
 
238
- sig { params(clazz: Class, query_params: FieldAugmented, gbls: T::Hash[Symbol, T::Hash[Symbol, T::Hash[Symbol, Object]]]).returns(T::Hash[Symbol, T::Array[String]]) }
239
- def self.get_query_params(clazz, query_params, gbls)
238
+ sig { params(clazz: Class, query_params: FieldAugmented, gbls: T.nilable(T::Hash[Symbol, T::Hash[Symbol, T::Hash[Symbol, Object]]])).returns(T::Hash[Symbol, T::Array[String]]) }
239
+ def self.get_query_params(clazz, query_params, gbls = nil)
240
240
  params = {}
241
241
  param_fields = clazz.fields
242
242
  param_fields.each do |f|
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.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - StackOne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-06 00:00:00.000000000 Z
11
+ date: 2024-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday