stackone_client 0.3.3 → 0.4.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/accounts.rb +5 -0
- data/lib/stack_one/ats.rb +68 -7
- data/lib/stack_one/connect_sessions.rb +2 -0
- data/lib/stack_one/connectors.rb +2 -0
- data/lib/stack_one/crm.rb +10 -0
- data/lib/stack_one/hris.rb +46 -2
- data/lib/stack_one/iam.rb +8 -0
- data/lib/stack_one/lms.rb +25 -0
- data/lib/stack_one/marketing.rb +26 -0
- data/lib/stack_one/models/shared/categories.rb +1 -1
- data/lib/stack_one/models/shared/condition_type.rb +27 -0
- data/lib/stack_one/models/shared/connectorsmeta_category.rb +1 -1
- data/lib/stack_one/models/shared/connectsessioncreate_categories.rb +1 -1
- data/lib/stack_one/models/shared/connectsessiontokenauthlink_categories.rb +1 -1
- data/lib/stack_one/models/shared/linkedaccountmeta_category.rb +1 -1
- data/lib/stack_one/models/shared/parent_question.rb +33 -0
- data/lib/stack_one/models/shared/pushmessages_message_content.rb +8 -2
- data/lib/stack_one/models/shared/question.rb +5 -2
- data/lib/stack_one/models/shared/question_schemas_value.rb +18 -0
- data/lib/stack_one/models/shared.rb +3 -0
- data/lib/stack_one/proxy.rb +1 -1
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- data/lib/stack_one/webhooks.rb +1 -0
- metadata +7 -4
data/lib/stack_one/marketing.rb
CHANGED
@@ -61,6 +61,7 @@ module StackOne
|
|
61
61
|
end
|
62
62
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
63
63
|
end
|
64
|
+
|
64
65
|
res
|
65
66
|
end
|
66
67
|
|
@@ -107,6 +108,7 @@ module StackOne
|
|
107
108
|
end
|
108
109
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
109
110
|
end
|
111
|
+
|
110
112
|
res
|
111
113
|
end
|
112
114
|
|
@@ -153,6 +155,7 @@ module StackOne
|
|
153
155
|
end
|
154
156
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
155
157
|
end
|
158
|
+
|
156
159
|
res
|
157
160
|
end
|
158
161
|
|
@@ -201,6 +204,7 @@ module StackOne
|
|
201
204
|
end
|
202
205
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
203
206
|
end
|
207
|
+
|
204
208
|
res
|
205
209
|
end
|
206
210
|
|
@@ -247,6 +251,7 @@ module StackOne
|
|
247
251
|
end
|
248
252
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
249
253
|
end
|
254
|
+
|
250
255
|
res
|
251
256
|
end
|
252
257
|
|
@@ -293,6 +298,7 @@ module StackOne
|
|
293
298
|
end
|
294
299
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
295
300
|
end
|
301
|
+
|
296
302
|
res
|
297
303
|
end
|
298
304
|
|
@@ -331,6 +337,7 @@ module StackOne
|
|
331
337
|
end
|
332
338
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
333
339
|
end
|
340
|
+
|
334
341
|
res
|
335
342
|
end
|
336
343
|
|
@@ -369,6 +376,7 @@ module StackOne
|
|
369
376
|
end
|
370
377
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
371
378
|
end
|
379
|
+
|
372
380
|
res
|
373
381
|
end
|
374
382
|
|
@@ -407,6 +415,7 @@ module StackOne
|
|
407
415
|
end
|
408
416
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
409
417
|
end
|
418
|
+
|
410
419
|
res
|
411
420
|
end
|
412
421
|
|
@@ -445,6 +454,7 @@ module StackOne
|
|
445
454
|
end
|
446
455
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
447
456
|
end
|
457
|
+
|
448
458
|
res
|
449
459
|
end
|
450
460
|
|
@@ -485,6 +495,7 @@ module StackOne
|
|
485
495
|
end
|
486
496
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
487
497
|
end
|
498
|
+
|
488
499
|
res
|
489
500
|
end
|
490
501
|
|
@@ -523,6 +534,7 @@ module StackOne
|
|
523
534
|
end
|
524
535
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
525
536
|
end
|
537
|
+
|
526
538
|
res
|
527
539
|
end
|
528
540
|
|
@@ -561,6 +573,7 @@ module StackOne
|
|
561
573
|
end
|
562
574
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
563
575
|
end
|
576
|
+
|
564
577
|
res
|
565
578
|
end
|
566
579
|
|
@@ -594,6 +607,7 @@ module StackOne
|
|
594
607
|
end
|
595
608
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
596
609
|
end
|
610
|
+
|
597
611
|
res
|
598
612
|
end
|
599
613
|
|
@@ -627,6 +641,7 @@ module StackOne
|
|
627
641
|
end
|
628
642
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
629
643
|
end
|
644
|
+
|
630
645
|
res
|
631
646
|
end
|
632
647
|
|
@@ -660,6 +675,7 @@ module StackOne
|
|
660
675
|
end
|
661
676
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
662
677
|
end
|
678
|
+
|
663
679
|
res
|
664
680
|
end
|
665
681
|
|
@@ -693,6 +709,7 @@ module StackOne
|
|
693
709
|
end
|
694
710
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
695
711
|
end
|
712
|
+
|
696
713
|
res
|
697
714
|
end
|
698
715
|
|
@@ -728,6 +745,7 @@ module StackOne
|
|
728
745
|
end
|
729
746
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
730
747
|
end
|
748
|
+
|
731
749
|
res
|
732
750
|
end
|
733
751
|
|
@@ -761,6 +779,7 @@ module StackOne
|
|
761
779
|
end
|
762
780
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
763
781
|
end
|
782
|
+
|
764
783
|
res
|
765
784
|
end
|
766
785
|
|
@@ -794,6 +813,7 @@ module StackOne
|
|
794
813
|
end
|
795
814
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
796
815
|
end
|
816
|
+
|
797
817
|
res
|
798
818
|
end
|
799
819
|
|
@@ -846,6 +866,7 @@ module StackOne
|
|
846
866
|
end
|
847
867
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
848
868
|
end
|
869
|
+
|
849
870
|
res
|
850
871
|
end
|
851
872
|
|
@@ -898,6 +919,7 @@ module StackOne
|
|
898
919
|
end
|
899
920
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
900
921
|
end
|
922
|
+
|
901
923
|
res
|
902
924
|
end
|
903
925
|
|
@@ -950,6 +972,7 @@ module StackOne
|
|
950
972
|
end
|
951
973
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
952
974
|
end
|
975
|
+
|
953
976
|
res
|
954
977
|
end
|
955
978
|
|
@@ -1004,6 +1027,7 @@ module StackOne
|
|
1004
1027
|
end
|
1005
1028
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
1006
1029
|
end
|
1030
|
+
|
1007
1031
|
res
|
1008
1032
|
end
|
1009
1033
|
|
@@ -1056,6 +1080,7 @@ module StackOne
|
|
1056
1080
|
end
|
1057
1081
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
1058
1082
|
end
|
1083
|
+
|
1059
1084
|
res
|
1060
1085
|
end
|
1061
1086
|
|
@@ -1108,6 +1133,7 @@ module StackOne
|
|
1108
1133
|
end
|
1109
1134
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
1110
1135
|
end
|
1136
|
+
|
1111
1137
|
res
|
1112
1138
|
end
|
1113
1139
|
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
|
+
|
11
|
+
class ConditionType < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# The source value of the question's condition type
|
15
|
+
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
|
+
# The type of the question's condition
|
17
|
+
field :value, T.nilable(::StackOne::Shared::QuestionSchemasValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::QuestionSchemasValue, true) } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::QuestionSchemasValue)).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,33 @@
|
|
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 ParentQuestion < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :condition_type, T.nilable(::StackOne::Shared::ConditionType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('condition_type') } }
|
16
|
+
# Unique identifier
|
17
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
18
|
+
# List of parent questions's option IDs
|
19
|
+
field :option_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('option_ids') } }
|
20
|
+
# Provider's unique identifier
|
21
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(condition_type: T.nilable(::StackOne::Shared::ConditionType), id: T.nilable(::String), option_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String)).void }
|
25
|
+
def initialize(condition_type: nil, id: nil, option_ids: nil, remote_id: nil)
|
26
|
+
@condition_type = condition_type
|
27
|
+
@id = id
|
28
|
+
@option_ids = option_ids
|
29
|
+
@remote_id = remote_id
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -14,10 +14,16 @@ module StackOne
|
|
14
14
|
|
15
15
|
field :body, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('body') } }
|
16
16
|
|
17
|
+
field :subtitle, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('subtitle') } }
|
17
18
|
|
18
|
-
|
19
|
-
|
19
|
+
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
|
20
|
+
|
21
|
+
|
22
|
+
sig { params(body: T.nilable(::String), subtitle: T.nilable(::String), title: T.nilable(::String)).void }
|
23
|
+
def initialize(body: nil, subtitle: nil, title: nil)
|
20
24
|
@body = body
|
25
|
+
@subtitle = subtitle
|
26
|
+
@title = title
|
21
27
|
end
|
22
28
|
end
|
23
29
|
end
|
@@ -17,6 +17,8 @@ module StackOne
|
|
17
17
|
field :multiple_choice_answers, T.nilable(T::Array[::StackOne::Shared::QuestionMultipleChoiceAnswers]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('multiple_choice_answers') } }
|
18
18
|
|
19
19
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
20
|
+
|
21
|
+
field :parent_question, T.nilable(::StackOne::Shared::ParentQuestion), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('parent_question') } }
|
20
22
|
# Provider's unique identifier
|
21
23
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
22
24
|
|
@@ -27,11 +29,12 @@ module StackOne
|
|
27
29
|
field :type, T.nilable(::StackOne::Shared::QuestionType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
|
28
30
|
|
29
31
|
|
30
|
-
sig { params(id: T.nilable(::String), multiple_choice_answers: T.nilable(T::Array[::StackOne::Shared::QuestionMultipleChoiceAnswers]), name: T.nilable(::String), remote_id: T.nilable(::String), required: T.nilable(::Object), text: T.nilable(::String), type: T.nilable(::StackOne::Shared::QuestionType)).void }
|
31
|
-
def initialize(id: nil, multiple_choice_answers: nil, name: nil, remote_id: nil, required: nil, text: nil, type: nil)
|
32
|
+
sig { params(id: T.nilable(::String), multiple_choice_answers: T.nilable(T::Array[::StackOne::Shared::QuestionMultipleChoiceAnswers]), name: T.nilable(::String), parent_question: T.nilable(::StackOne::Shared::ParentQuestion), remote_id: T.nilable(::String), required: T.nilable(::Object), text: T.nilable(::String), type: T.nilable(::StackOne::Shared::QuestionType)).void }
|
33
|
+
def initialize(id: nil, multiple_choice_answers: nil, name: nil, parent_question: nil, remote_id: nil, required: nil, text: nil, type: nil)
|
32
34
|
@id = id
|
33
35
|
@multiple_choice_answers = multiple_choice_answers
|
34
36
|
@name = name
|
37
|
+
@parent_question = parent_question
|
35
38
|
@remote_id = remote_id
|
36
39
|
@required = required
|
37
40
|
@text = text
|
@@ -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
|
+
# QuestionSchemasValue - The type of the question's condition
|
11
|
+
class QuestionSchemasValue < T::Enum
|
12
|
+
enums do
|
13
|
+
EQUALS_TO = new('equals_to')
|
14
|
+
CONTAINS = new('contains')
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -189,6 +189,9 @@ module StackOne
|
|
189
189
|
autoload :JobPostingStatus, 'stack_one/models/shared/jobposting_status.rb'
|
190
190
|
autoload :JobPosting, 'stack_one/models/shared/jobposting.rb'
|
191
191
|
autoload :JobPostingQuestionnaire, 'stack_one/models/shared/jobpostingquestionnaire.rb'
|
192
|
+
autoload :QuestionSchemasValue, 'stack_one/models/shared/question_schemas_value.rb'
|
193
|
+
autoload :ConditionType, 'stack_one/models/shared/condition_type.rb'
|
194
|
+
autoload :ParentQuestion, 'stack_one/models/shared/parent_question.rb'
|
192
195
|
autoload :QuestionValue, 'stack_one/models/shared/question_value.rb'
|
193
196
|
autoload :QuestionType, 'stack_one/models/shared/question_type.rb'
|
194
197
|
autoload :Question, 'stack_one/models/shared/question.rb'
|
data/lib/stack_one/proxy.rb
CHANGED
@@ -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.
|
42
|
-
@gen_version = '2.
|
43
|
-
@user_agent = 'speakeasy-sdk/ruby 0.
|
41
|
+
@sdk_version = '0.4.0'
|
42
|
+
@gen_version = '2.467.4'
|
43
|
+
@user_agent = 'speakeasy-sdk/ruby 0.4.0 2.467.4 1.0.0 stackone_client'
|
44
44
|
end
|
45
45
|
|
46
46
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
data/lib/stack_one/webhooks.rb
CHANGED
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.4.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-
|
11
|
+
date: 2024-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name: sorbet
|
70
|
+
name: sorbet-runtime
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
@@ -109,7 +109,7 @@ dependencies:
|
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 1.60.2
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name: sorbet
|
112
|
+
name: sorbet
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - ">="
|
@@ -724,6 +724,7 @@ files:
|
|
724
724
|
- lib/stack_one/models/shared/completion_value.rb
|
725
725
|
- lib/stack_one/models/shared/completionresult.rb
|
726
726
|
- lib/stack_one/models/shared/completionspaginated.rb
|
727
|
+
- lib/stack_one/models/shared/condition_type.rb
|
727
728
|
- lib/stack_one/models/shared/confidential.rb
|
728
729
|
- lib/stack_one/models/shared/connectorsmeta.rb
|
729
730
|
- lib/stack_one/models/shared/connectorsmeta_category.rb
|
@@ -1082,6 +1083,7 @@ files:
|
|
1082
1083
|
- lib/stack_one/models/shared/offersresult.rb
|
1083
1084
|
- lib/stack_one/models/shared/overall_recommendation.rb
|
1084
1085
|
- lib/stack_one/models/shared/package.rb
|
1086
|
+
- lib/stack_one/models/shared/parent_question.rb
|
1085
1087
|
- lib/stack_one/models/shared/patchaccountexternaldto.rb
|
1086
1088
|
- lib/stack_one/models/shared/patchaccountexternaldto_credentials.rb
|
1087
1089
|
- lib/stack_one/models/shared/patchaccountexternaldto_setup_information.rb
|
@@ -1100,6 +1102,7 @@ files:
|
|
1100
1102
|
- lib/stack_one/models/shared/pushtemplateresult.rb
|
1101
1103
|
- lib/stack_one/models/shared/pushtemplatespaginated.rb
|
1102
1104
|
- lib/stack_one/models/shared/question.rb
|
1105
|
+
- lib/stack_one/models/shared/question_schemas_value.rb
|
1103
1106
|
- lib/stack_one/models/shared/question_type.rb
|
1104
1107
|
- lib/stack_one/models/shared/question_value.rb
|
1105
1108
|
- lib/stack_one/models/shared/questionmultiplechoiceanswers.rb
|