stackone_client 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stack_one/models/operations/hris_get_company_request.rb +4 -4
- data/lib/stack_one/models/operations/hris_get_employee_document_request.rb +4 -4
- data/lib/stack_one/models/operations/hris_get_employee_request.rb +4 -4
- data/lib/stack_one/models/operations/hris_get_employees_time_off_request_request.rb +4 -4
- data/lib/stack_one/models/operations/hris_get_employment_request.rb +4 -4
- data/lib/stack_one/models/operations/hris_get_location_request.rb +4 -4
- data/lib/stack_one/models/operations/hris_get_time_off_request_request.rb +4 -4
- data/lib/stack_one/models/operations/hris_list_companies_request.rb +4 -4
- data/lib/stack_one/models/operations/hris_list_employee_documents_request.rb +4 -4
- data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb +4 -4
- data/lib/stack_one/models/operations/hris_list_employees_request.rb +4 -4
- data/lib/stack_one/models/operations/hris_list_employments_request.rb +4 -4
- data/lib/stack_one/models/operations/hris_list_locations_request.rb +4 -4
- data/lib/stack_one/models/operations/hris_list_time_off_requests_request.rb +4 -4
- data/lib/stack_one/models/shared/documentapimodel_value.rb +6 -0
- data/lib/stack_one/models/shared/employee_schemas_employment_type_value.rb +2 -0
- data/lib/stack_one/models/shared/employment_schemas_value.rb +2 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_value.rb +2 -0
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- data/lib/stack_one/utils/utils.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 54c38885ef15cb60f127f7069b8cc4244c04942d265e0bf75322f06069eb5208
|
|
4
|
+
data.tar.gz: 37e7950c9c468fc6eebdd3596e7434bcfbbe31b90d48c2dca9319b1310f054c5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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 :
|
|
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,
|
|
37
|
-
def initialize(id: nil, x_account_id: 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
|
-
@
|
|
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 :
|
|
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,
|
|
39
|
-
def initialize(id: nil, sub_resource_id: nil, x_account_id: 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
|
-
@
|
|
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 :
|
|
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),
|
|
41
|
-
def initialize(id: nil, x_account_id: nil, expand: 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
|
-
@
|
|
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 :
|
|
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,
|
|
39
|
-
def initialize(id: nil, sub_resource_id: nil, x_account_id: 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
|
-
@
|
|
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 :
|
|
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,
|
|
37
|
-
def initialize(id: nil, x_account_id: 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
|
-
@
|
|
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 :
|
|
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,
|
|
37
|
-
def initialize(id: nil, x_account_id: 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
|
-
@
|
|
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 :
|
|
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,
|
|
37
|
-
def initialize(id: nil, x_account_id: 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
|
-
@
|
|
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 :
|
|
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,
|
|
35
|
-
def initialize(x_account_id: 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
|
-
@
|
|
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 :
|
|
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,
|
|
37
|
-
def initialize(id: nil, x_account_id: 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
|
-
@
|
|
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 :
|
|
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,
|
|
37
|
-
def initialize(id: nil, x_account_id: 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
|
-
@
|
|
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 :
|
|
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),
|
|
39
|
-
def initialize(x_account_id: nil, expand: 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
|
-
@
|
|
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 :
|
|
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,
|
|
35
|
-
def initialize(x_account_id: 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
|
-
@
|
|
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 :
|
|
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,
|
|
35
|
-
def initialize(x_account_id: 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
|
-
@
|
|
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 :
|
|
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,
|
|
35
|
-
def initialize(x_account_id: 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
|
-
@
|
|
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
|
data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_value.rb
CHANGED
|
@@ -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.
|
|
40
|
-
@gen_version = '2.250.
|
|
41
|
-
@user_agent = 'speakeasy-sdk/ruby 0.
|
|
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.
|
|
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-
|
|
11
|
+
date: 2024-02-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|