late-sdk 0.0.680 → 0.0.681
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/docs/CreateCommentAutomation200ResponseAutomation.md +5 -1
- data/docs/CreateCommentAutomationRequest.md +5 -1
- data/docs/GetCommentAutomation200ResponseAutomation.md +5 -1
- data/docs/ListCommentAutomations200ResponseAutomationsInner.md +5 -1
- data/docs/UpdateCommentAutomation200ResponseAutomation.md +5 -1
- data/docs/UpdateCommentAutomationRequest.md +5 -1
- data/lib/zernio-sdk/models/create_comment_automation200_response_automation.rb +26 -3
- data/lib/zernio-sdk/models/create_comment_automation_request.rb +26 -3
- data/lib/zernio-sdk/models/get_comment_automation200_response_automation.rb +26 -3
- data/lib/zernio-sdk/models/list_comment_automations200_response_automations_inner.rb +26 -3
- data/lib/zernio-sdk/models/update_comment_automation200_response_automation.rb +26 -3
- data/lib/zernio-sdk/models/update_comment_automation_request.rb +26 -3
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +18 -6
- data/spec/models/create_comment_automation200_response_automation_spec.rb +13 -1
- data/spec/models/create_comment_automation_request_spec.rb +13 -1
- data/spec/models/get_comment_automation200_response_automation_spec.rb +13 -1
- data/spec/models/list_comment_automations200_response_automations_inner_spec.rb +13 -1
- data/spec/models/update_comment_automation200_response_automation_spec.rb +13 -1
- data/spec/models/update_comment_automation_request_spec.rb +13 -1
- data/zernio-sdk-0.0.681.gem +0 -0
- metadata +1562 -1562
- data/zernio-sdk-0.0.680.gem +0 -0
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -35641,7 +35641,9 @@ paths:
|
|
|
35641
35641
|
platformPostId: { type: string }
|
|
35642
35642
|
postTitle: { type: string }
|
|
35643
35643
|
keywords: { type: array, items: { type: string } }
|
|
35644
|
-
matchMode: { type: string, enum: [exact, contains] }
|
|
35644
|
+
matchMode: { type: string, enum: [exact, contains, word], description: "How a keyword is compared with the comment. 'contains' (default) matches anywhere, even inside another word (keyword 'app' fires on 'happy'). 'word' matches the keyword only as a standalone word. 'exact' requires the whole comment to be exactly the keyword." }
|
|
35645
|
+
excludeKeywords: { type: array, items: { type: string }, description: "Comments containing one of these never trigger the automation, even when a trigger keyword also matches. Compared using the same matchMode." }
|
|
35646
|
+
typoTolerance: { type: boolean, description: "Only with matchMode=word: also fire on close misspellings of a keyword (one edit for 4-7 character keywords, two from 8 up). Keywords shorter than 4 characters are never fuzzy-matched." }
|
|
35645
35647
|
dmMessage: { type: string }
|
|
35646
35648
|
buttons:
|
|
35647
35649
|
type: array
|
|
@@ -35716,7 +35718,9 @@ paths:
|
|
|
35716
35718
|
type: array
|
|
35717
35719
|
items: { type: string }
|
|
35718
35720
|
description: Trigger keywords (empty = any comment triggers)
|
|
35719
|
-
matchMode: { type: string, enum: [exact, contains], default: contains }
|
|
35721
|
+
matchMode: { type: string, enum: [exact, contains, word], default: contains, description: "How a keyword is compared with the comment. 'contains' (default) matches anywhere, even inside another word (keyword 'app' fires on 'happy'). 'word' matches the keyword only as a standalone word. 'exact' requires the whole comment to be exactly the keyword." }
|
|
35722
|
+
excludeKeywords: { type: array, items: { type: string }, description: "Comments containing one of these never trigger the automation, even when a trigger keyword also matches. Compared using the same matchMode." }
|
|
35723
|
+
typoTolerance: { type: boolean, description: "Only with matchMode=word: also fire on close misspellings of a keyword (one edit for 4-7 character keywords, two from 8 up). Keywords shorter than 4 characters are never fuzzy-matched." }
|
|
35720
35724
|
dmMessage: { type: string, description: "DM text to send to commenter. Max 640 chars when buttons are set, otherwise ~1000." }
|
|
35721
35725
|
buttons:
|
|
35722
35726
|
type: array
|
|
@@ -35754,7 +35758,9 @@ paths:
|
|
|
35754
35758
|
trigger: { type: string, enum: [comment, story_reply] }
|
|
35755
35759
|
platformPostId: { type: string }
|
|
35756
35760
|
keywords: { type: array, items: { type: string } }
|
|
35757
|
-
matchMode: { type: string, enum: [exact, contains] }
|
|
35761
|
+
matchMode: { type: string, enum: [exact, contains, word], description: "How a keyword is compared with the comment. 'contains' (default) matches anywhere, even inside another word (keyword 'app' fires on 'happy'). 'word' matches the keyword only as a standalone word. 'exact' requires the whole comment to be exactly the keyword." }
|
|
35762
|
+
excludeKeywords: { type: array, items: { type: string }, description: "Comments containing one of these never trigger the automation, even when a trigger keyword also matches. Compared using the same matchMode." }
|
|
35763
|
+
typoTolerance: { type: boolean, description: "Only with matchMode=word: also fire on close misspellings of a keyword (one edit for 4-7 character keywords, two from 8 up). Keywords shorter than 4 characters are never fuzzy-matched." }
|
|
35758
35764
|
dmMessage: { type: string }
|
|
35759
35765
|
buttons:
|
|
35760
35766
|
type: array
|
|
@@ -35804,7 +35810,9 @@ paths:
|
|
|
35804
35810
|
postId: { type: string }
|
|
35805
35811
|
postTitle: { type: string }
|
|
35806
35812
|
keywords: { type: array, items: { type: string } }
|
|
35807
|
-
matchMode: { type: string, enum: [exact, contains] }
|
|
35813
|
+
matchMode: { type: string, enum: [exact, contains, word], description: "How a keyword is compared with the comment. 'contains' (default) matches anywhere, even inside another word (keyword 'app' fires on 'happy'). 'word' matches the keyword only as a standalone word. 'exact' requires the whole comment to be exactly the keyword." }
|
|
35814
|
+
excludeKeywords: { type: array, items: { type: string }, description: "Comments containing one of these never trigger the automation, even when a trigger keyword also matches. Compared using the same matchMode." }
|
|
35815
|
+
typoTolerance: { type: boolean, description: "Only with matchMode=word: also fire on close misspellings of a keyword (one edit for 4-7 character keywords, two from 8 up). Keywords shorter than 4 characters are never fuzzy-matched." }
|
|
35808
35816
|
dmMessage: { type: string }
|
|
35809
35817
|
buttons:
|
|
35810
35818
|
type: array
|
|
@@ -35857,7 +35865,9 @@ paths:
|
|
|
35857
35865
|
properties:
|
|
35858
35866
|
name: { type: string }
|
|
35859
35867
|
keywords: { type: array, items: { type: string } }
|
|
35860
|
-
matchMode: { type: string, enum: [exact, contains] }
|
|
35868
|
+
matchMode: { type: string, enum: [exact, contains, word], description: "How a keyword is compared with the comment. 'contains' (default) matches anywhere, even inside another word (keyword 'app' fires on 'happy'). 'word' matches the keyword only as a standalone word. 'exact' requires the whole comment to be exactly the keyword." }
|
|
35869
|
+
excludeKeywords: { type: array, items: { type: string }, description: "Comments containing one of these never trigger the automation, even when a trigger keyword also matches. Compared using the same matchMode." }
|
|
35870
|
+
typoTolerance: { type: boolean, description: "Only with matchMode=word: also fire on close misspellings of a keyword (one edit for 4-7 character keywords, two from 8 up). Keywords shorter than 4 characters are never fuzzy-matched." }
|
|
35861
35871
|
dmMessage: { type: string }
|
|
35862
35872
|
buttons:
|
|
35863
35873
|
type: array
|
|
@@ -35893,7 +35903,9 @@ paths:
|
|
|
35893
35903
|
id: { type: string }
|
|
35894
35904
|
name: { type: string }
|
|
35895
35905
|
keywords: { type: array, items: { type: string } }
|
|
35896
|
-
matchMode: { type: string, enum: [exact, contains] }
|
|
35906
|
+
matchMode: { type: string, enum: [exact, contains, word], description: "How a keyword is compared with the comment. 'contains' (default) matches anywhere, even inside another word (keyword 'app' fires on 'happy'). 'word' matches the keyword only as a standalone word. 'exact' requires the whole comment to be exactly the keyword." }
|
|
35907
|
+
excludeKeywords: { type: array, items: { type: string }, description: "Comments containing one of these never trigger the automation, even when a trigger keyword also matches. Compared using the same matchMode." }
|
|
35908
|
+
typoTolerance: { type: boolean, description: "Only with matchMode=word: also fire on close misspellings of a keyword (one edit for 4-7 character keywords, two from 8 up). Keywords shorter than 4 characters are never fuzzy-matched." }
|
|
35897
35909
|
dmMessage: { type: string }
|
|
35898
35910
|
buttons:
|
|
35899
35911
|
type: array
|
|
@@ -70,13 +70,25 @@ describe Zernio::CreateCommentAutomation200ResponseAutomation do
|
|
|
70
70
|
describe 'test attribute "match_mode"' do
|
|
71
71
|
it 'should work' do
|
|
72
72
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
73
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["exact", "contains"])
|
|
73
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["exact", "contains", "word"])
|
|
74
74
|
# validator.allowable_values.each do |value|
|
|
75
75
|
# expect { instance.match_mode = value }.not_to raise_error
|
|
76
76
|
# end
|
|
77
77
|
end
|
|
78
78
|
end
|
|
79
79
|
|
|
80
|
+
describe 'test attribute "exclude_keywords"' do
|
|
81
|
+
it 'should work' do
|
|
82
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
describe 'test attribute "typo_tolerance"' do
|
|
87
|
+
it 'should work' do
|
|
88
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
89
|
+
end
|
|
90
|
+
end
|
|
91
|
+
|
|
80
92
|
describe 'test attribute "dm_message"' do
|
|
81
93
|
it 'should work' do
|
|
82
94
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -82,13 +82,25 @@ describe Zernio::CreateCommentAutomationRequest do
|
|
|
82
82
|
describe 'test attribute "match_mode"' do
|
|
83
83
|
it 'should work' do
|
|
84
84
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
85
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["exact", "contains"])
|
|
85
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["exact", "contains", "word"])
|
|
86
86
|
# validator.allowable_values.each do |value|
|
|
87
87
|
# expect { instance.match_mode = value }.not_to raise_error
|
|
88
88
|
# end
|
|
89
89
|
end
|
|
90
90
|
end
|
|
91
91
|
|
|
92
|
+
describe 'test attribute "exclude_keywords"' do
|
|
93
|
+
it 'should work' do
|
|
94
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
describe 'test attribute "typo_tolerance"' do
|
|
99
|
+
it 'should work' do
|
|
100
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
|
|
92
104
|
describe 'test attribute "dm_message"' do
|
|
93
105
|
it 'should work' do
|
|
94
106
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -88,13 +88,25 @@ describe Zernio::GetCommentAutomation200ResponseAutomation do
|
|
|
88
88
|
describe 'test attribute "match_mode"' do
|
|
89
89
|
it 'should work' do
|
|
90
90
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
91
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["exact", "contains"])
|
|
91
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["exact", "contains", "word"])
|
|
92
92
|
# validator.allowable_values.each do |value|
|
|
93
93
|
# expect { instance.match_mode = value }.not_to raise_error
|
|
94
94
|
# end
|
|
95
95
|
end
|
|
96
96
|
end
|
|
97
97
|
|
|
98
|
+
describe 'test attribute "exclude_keywords"' do
|
|
99
|
+
it 'should work' do
|
|
100
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
describe 'test attribute "typo_tolerance"' do
|
|
105
|
+
it 'should work' do
|
|
106
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
107
|
+
end
|
|
108
|
+
end
|
|
109
|
+
|
|
98
110
|
describe 'test attribute "dm_message"' do
|
|
99
111
|
it 'should work' do
|
|
100
112
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -86,13 +86,25 @@ describe Zernio::ListCommentAutomations200ResponseAutomationsInner do
|
|
|
86
86
|
describe 'test attribute "match_mode"' do
|
|
87
87
|
it 'should work' do
|
|
88
88
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
89
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["exact", "contains"])
|
|
89
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["exact", "contains", "word"])
|
|
90
90
|
# validator.allowable_values.each do |value|
|
|
91
91
|
# expect { instance.match_mode = value }.not_to raise_error
|
|
92
92
|
# end
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
+
describe 'test attribute "exclude_keywords"' do
|
|
97
|
+
it 'should work' do
|
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
describe 'test attribute "typo_tolerance"' do
|
|
103
|
+
it 'should work' do
|
|
104
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
|
|
96
108
|
describe 'test attribute "dm_message"' do
|
|
97
109
|
it 'should work' do
|
|
98
110
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -48,13 +48,25 @@ describe Zernio::UpdateCommentAutomation200ResponseAutomation do
|
|
|
48
48
|
describe 'test attribute "match_mode"' do
|
|
49
49
|
it 'should work' do
|
|
50
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["exact", "contains"])
|
|
51
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["exact", "contains", "word"])
|
|
52
52
|
# validator.allowable_values.each do |value|
|
|
53
53
|
# expect { instance.match_mode = value }.not_to raise_error
|
|
54
54
|
# end
|
|
55
55
|
end
|
|
56
56
|
end
|
|
57
57
|
|
|
58
|
+
describe 'test attribute "exclude_keywords"' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
describe 'test attribute "typo_tolerance"' do
|
|
65
|
+
it 'should work' do
|
|
66
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
58
70
|
describe 'test attribute "dm_message"' do
|
|
59
71
|
it 'should work' do
|
|
60
72
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -42,13 +42,25 @@ describe Zernio::UpdateCommentAutomationRequest do
|
|
|
42
42
|
describe 'test attribute "match_mode"' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["exact", "contains"])
|
|
45
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["exact", "contains", "word"])
|
|
46
46
|
# validator.allowable_values.each do |value|
|
|
47
47
|
# expect { instance.match_mode = value }.not_to raise_error
|
|
48
48
|
# end
|
|
49
49
|
end
|
|
50
50
|
end
|
|
51
51
|
|
|
52
|
+
describe 'test attribute "exclude_keywords"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
describe 'test attribute "typo_tolerance"' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
52
64
|
describe 'test attribute "dm_message"' do
|
|
53
65
|
it 'should work' do
|
|
54
66
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
Binary file
|