knockapi 1.9.0 → 1.10.1
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/CHANGELOG.md +23 -0
- data/README.md +1 -1
- data/lib/knockapi/internal/transport/base_client.rb +10 -2
- data/lib/knockapi/models/providers/slack_list_channels_params.rb +2 -1
- data/lib/knockapi/models/schedule.rb +5 -5
- data/lib/knockapi/models/schedule_create_params.rb +5 -5
- data/lib/knockapi/models/schedule_update_params.rb +5 -5
- data/lib/knockapi/models/schedules/bulk_create_params.rb +5 -5
- data/lib/knockapi/models/workflow_trigger_params.rb +5 -5
- data/lib/knockapi/resources/schedules.rb +2 -2
- data/lib/knockapi/resources/workflows.rb +1 -1
- data/lib/knockapi/version.rb +1 -1
- data/rbi/knockapi/models/providers/slack_list_channels_params.rbi +4 -2
- data/rbi/knockapi/models/schedule.rbi +8 -8
- data/rbi/knockapi/models/schedule_create_params.rbi +8 -8
- data/rbi/knockapi/models/schedule_update_params.rbi +8 -8
- data/rbi/knockapi/models/schedules/bulk_create_params.rbi +8 -8
- data/rbi/knockapi/models/workflow_trigger_params.rbi +8 -8
- data/rbi/knockapi/resources/schedules.rbi +8 -8
- data/rbi/knockapi/resources/workflows.rbi +4 -4
- 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: 3997e64ee79a3b3ff06c06551180be0f99cb577f87422c1b8da005838f1947b4
|
4
|
+
data.tar.gz: 4ac513645857f58976d18c14b98bfaaf7f22fde24d3a00719d4217069e79ad01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39aadbd8ec5e906f9d8236c17077086d495b9b4daef9f98000bce63553e7b82e79ab45db9b53e281e249933c40c7d7bcb49770d14fb1b2923941ceb9f118bb10
|
7
|
+
data.tar.gz: 3ecd874728d44e83f6c2b98830dfd82e90cf720ea988b0e569a96897f0b0117c4aee697f800240446ffd5281a9a3258856acb3b86f169098fc564784035712d3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,28 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.10.1 (2025-07-21)
|
4
|
+
|
5
|
+
Full Changelog: [v1.10.0...v1.10.1](https://github.com/knocklabs/knock-ruby/compare/v1.10.0...v1.10.1)
|
6
|
+
|
7
|
+
### Chores
|
8
|
+
|
9
|
+
* **internal:** version bump ([eb7a32b](https://github.com/knocklabs/knock-ruby/commit/eb7a32b5f4bc292dd5b197fd3838ca7c340bac36))
|
10
|
+
|
11
|
+
## 1.10.0 (2025-07-15)
|
12
|
+
|
13
|
+
Full Changelog: [v1.9.0...v1.10.0](https://github.com/knocklabs/knock-ruby/compare/v1.9.0...v1.10.0)
|
14
|
+
|
15
|
+
### Features
|
16
|
+
|
17
|
+
* **api:** api update ([d8ce1f1](https://github.com/knocklabs/knock-ruby/commit/d8ce1f14fbfd984d72a8eaa81a060659f46eb9b7))
|
18
|
+
* **api:** api update ([b3ed2ae](https://github.com/knocklabs/knock-ruby/commit/b3ed2ae46f54a0e046a8bcef0492c6ae6ee2555a))
|
19
|
+
|
20
|
+
|
21
|
+
### Chores
|
22
|
+
|
23
|
+
* **ci:** only run for pushes and fork pull requests ([854d6f0](https://github.com/knocklabs/knock-ruby/commit/854d6f0a527695decdb8e0e4a0093bc3d94eff9f))
|
24
|
+
* **internal:** allow streams to also be unwrapped on a per-row basis ([f77e1d6](https://github.com/knocklabs/knock-ruby/commit/f77e1d62802fc88dcb62764834ac1c71005d1f87))
|
25
|
+
|
3
26
|
## 1.9.0 (2025-06-27)
|
4
27
|
|
5
28
|
Full Changelog: [v1.8.1...v1.9.0](https://github.com/knocklabs/knock-ruby/compare/v1.8.1...v1.9.0)
|
data/README.md
CHANGED
@@ -471,6 +471,7 @@ module Knockapi
|
|
471
471
|
self.class.validate!(req)
|
472
472
|
model = req.fetch(:model) { Knockapi::Internal::Type::Unknown }
|
473
473
|
opts = req[:options].to_h
|
474
|
+
unwrap = req[:unwrap]
|
474
475
|
Knockapi::RequestOptions.validate!(opts)
|
475
476
|
request = build_request(req.except(:options), opts)
|
476
477
|
url = request.fetch(:url)
|
@@ -487,11 +488,18 @@ module Knockapi
|
|
487
488
|
decoded = Knockapi::Internal::Util.decode_content(response, stream: stream)
|
488
489
|
case req
|
489
490
|
in {stream: Class => st}
|
490
|
-
st.new(
|
491
|
+
st.new(
|
492
|
+
model: model,
|
493
|
+
url: url,
|
494
|
+
status: status,
|
495
|
+
response: response,
|
496
|
+
unwrap: unwrap,
|
497
|
+
stream: decoded
|
498
|
+
)
|
491
499
|
in {page: Class => page}
|
492
500
|
page.new(client: self, req: req, headers: response, page_data: decoded)
|
493
501
|
else
|
494
|
-
unwrapped = Knockapi::Internal::Util.dig(decoded,
|
502
|
+
unwrapped = Knockapi::Internal::Util.dig(decoded, unwrap)
|
495
503
|
Knockapi::Internal::Type::Converter.coerce(model, unwrapped)
|
496
504
|
end
|
497
505
|
end
|
@@ -57,7 +57,8 @@ module Knockapi
|
|
57
57
|
# @!attribute types
|
58
58
|
# Mix and match channel types by providing a comma-separated list of any
|
59
59
|
# combination of public_channel, private_channel, mpim, im. Defaults to
|
60
|
-
# `"public_channel,private_channel"`.
|
60
|
+
# `"public_channel,private_channel"`. If the user's Slack ID is unavailable, this
|
61
|
+
# option is ignored and only public channels are returned.
|
61
62
|
#
|
62
63
|
# @return [String, nil]
|
63
64
|
optional :types, String
|
@@ -53,10 +53,10 @@ module Knockapi
|
|
53
53
|
optional :actor, union: -> { Knockapi::Recipient }, nil?: true
|
54
54
|
|
55
55
|
# @!attribute data
|
56
|
-
# An optional map of data to pass into the workflow execution. There is a
|
57
|
-
#
|
58
|
-
#
|
59
|
-
#
|
56
|
+
# An optional map of data to pass into the workflow execution. There is a 10MB
|
57
|
+
# limit on the size of the full `data` payload. Any individual string value
|
58
|
+
# greater than 1024 bytes in length will be
|
59
|
+
# [truncated](/developer-tools/api-logs#log-truncation) in your logs.
|
60
60
|
#
|
61
61
|
# @return [Hash{Symbol=>Object}, nil]
|
62
62
|
optional :data, Knockapi::Internal::Type::HashOf[Knockapi::Internal::Type::Unknown], nil?: true
|
@@ -103,7 +103,7 @@ module Knockapi
|
|
103
103
|
#
|
104
104
|
# @param actor [Knockapi::Models::User, Knockapi::Models::Object, nil] A recipient of a notification, which is either a user or an object.
|
105
105
|
#
|
106
|
-
# @param data [Hash{Symbol=>Object}, nil] An optional map of data to pass into the workflow execution. There is a
|
106
|
+
# @param data [Hash{Symbol=>Object}, nil] An optional map of data to pass into the workflow execution. There is a 10MB lim
|
107
107
|
#
|
108
108
|
# @param last_occurrence_at [Time, nil] The last occurrence of the schedule.
|
109
109
|
#
|
@@ -28,10 +28,10 @@ module Knockapi
|
|
28
28
|
optional :actor, union: -> { Knockapi::RecipientRequest }, nil?: true
|
29
29
|
|
30
30
|
# @!attribute data
|
31
|
-
# An optional map of data to pass into the workflow execution. There is a
|
32
|
-
#
|
33
|
-
#
|
34
|
-
#
|
31
|
+
# An optional map of data to pass into the workflow execution. There is a 10MB
|
32
|
+
# limit on the size of the full `data` payload. Any individual string value
|
33
|
+
# greater than 1024 bytes in length will be
|
34
|
+
# [truncated](/developer-tools/api-logs#log-truncation) in your logs.
|
35
35
|
#
|
36
36
|
# @return [Hash{Symbol=>Object}, nil]
|
37
37
|
optional :data, Knockapi::Internal::Type::HashOf[Knockapi::Internal::Type::Unknown], nil?: true
|
@@ -70,7 +70,7 @@ module Knockapi
|
|
70
70
|
#
|
71
71
|
# @param actor [String, Knockapi::Models::InlineIdentifyUserRequest, Knockapi::Models::InlineObjectRequest, nil] Specifies a recipient in a request. This can either be a user identifier (string
|
72
72
|
#
|
73
|
-
# @param data [Hash{Symbol=>Object}, nil] An optional map of data to pass into the workflow execution. There is a
|
73
|
+
# @param data [Hash{Symbol=>Object}, nil] An optional map of data to pass into the workflow execution. There is a 10MB lim
|
74
74
|
#
|
75
75
|
# @param ending_at [Time, nil] The ending date and time for the schedule.
|
76
76
|
#
|
@@ -21,10 +21,10 @@ module Knockapi
|
|
21
21
|
optional :actor, union: -> { Knockapi::RecipientReference }, nil?: true
|
22
22
|
|
23
23
|
# @!attribute data
|
24
|
-
# An optional map of data to pass into the workflow execution. There is a
|
25
|
-
#
|
26
|
-
#
|
27
|
-
#
|
24
|
+
# An optional map of data to pass into the workflow execution. There is a 10MB
|
25
|
+
# limit on the size of the full `data` payload. Any individual string value
|
26
|
+
# greater than 1024 bytes in length will be
|
27
|
+
# [truncated](/developer-tools/api-logs#log-truncation) in your logs.
|
28
28
|
#
|
29
29
|
# @return [Hash{Symbol=>Object}, nil]
|
30
30
|
optional :data, Knockapi::Internal::Type::HashOf[Knockapi::Internal::Type::Unknown], nil?: true
|
@@ -61,7 +61,7 @@ module Knockapi
|
|
61
61
|
#
|
62
62
|
# @param actor [String, Knockapi::Models::RecipientReference::ObjectReference, nil] A reference to a recipient, either a user identifier (string) or an object refer
|
63
63
|
#
|
64
|
-
# @param data [Hash{Symbol=>Object}, nil] An optional map of data to pass into the workflow execution. There is a
|
64
|
+
# @param data [Hash{Symbol=>Object}, nil] An optional map of data to pass into the workflow execution. There is a 10MB lim
|
65
65
|
#
|
66
66
|
# @param ending_at [Time, nil] The ending date and time for the schedule.
|
67
67
|
#
|
@@ -36,10 +36,10 @@ module Knockapi
|
|
36
36
|
optional :actor, union: -> { Knockapi::RecipientRequest }, nil?: true
|
37
37
|
|
38
38
|
# @!attribute data
|
39
|
-
# An optional map of data to pass into the workflow execution. There is a
|
40
|
-
#
|
41
|
-
#
|
42
|
-
#
|
39
|
+
# An optional map of data to pass into the workflow execution. There is a 10MB
|
40
|
+
# limit on the size of the full `data` payload. Any individual string value
|
41
|
+
# greater than 1024 bytes in length will be
|
42
|
+
# [truncated](/developer-tools/api-logs#log-truncation) in your logs.
|
43
43
|
#
|
44
44
|
# @return [Hash{Symbol=>Object}, nil]
|
45
45
|
optional :data, Knockapi::Internal::Type::HashOf[Knockapi::Internal::Type::Unknown], nil?: true
|
@@ -86,7 +86,7 @@ module Knockapi
|
|
86
86
|
#
|
87
87
|
# @param actor [String, Knockapi::Models::InlineIdentifyUserRequest, Knockapi::Models::InlineObjectRequest, nil] Specifies a recipient in a request. This can either be a user identifier (string
|
88
88
|
#
|
89
|
-
# @param data [Hash{Symbol=>Object}, nil] An optional map of data to pass into the workflow execution. There is a
|
89
|
+
# @param data [Hash{Symbol=>Object}, nil] An optional map of data to pass into the workflow execution. There is a 10MB lim
|
90
90
|
#
|
91
91
|
# @param ending_at [Time, nil] The ending date and time for the schedule.
|
92
92
|
#
|
@@ -33,10 +33,10 @@ module Knockapi
|
|
33
33
|
optional :cancellation_key, String, nil?: true
|
34
34
|
|
35
35
|
# @!attribute data
|
36
|
-
# An optional map of data to pass into the workflow execution. There is a
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
36
|
+
# An optional map of data to pass into the workflow execution. There is a 10MB
|
37
|
+
# limit on the size of the full `data` payload. Any individual string value
|
38
|
+
# greater than 1024 bytes in length will be
|
39
|
+
# [truncated](/developer-tools/api-logs#log-truncation) in your logs.
|
40
40
|
#
|
41
41
|
# @return [Hash{Symbol=>Object}, nil]
|
42
42
|
optional :data, Knockapi::Internal::Type::HashOf[Knockapi::Internal::Type::Unknown], nil?: true
|
@@ -57,7 +57,7 @@ module Knockapi
|
|
57
57
|
#
|
58
58
|
# @param cancellation_key [String, nil] An optional key that is used to reference a specific workflow trigger request wh
|
59
59
|
#
|
60
|
-
# @param data [Hash{Symbol=>Object}, nil] An optional map of data to pass into the workflow execution. There is a
|
60
|
+
# @param data [Hash{Symbol=>Object}, nil] An optional map of data to pass into the workflow execution. There is a 10MB lim
|
61
61
|
#
|
62
62
|
# @param tenant [String, Knockapi::Models::TenantRequest, nil] An request to set a tenant inline.
|
63
63
|
#
|
@@ -23,7 +23,7 @@ module Knockapi
|
|
23
23
|
#
|
24
24
|
# @param actor [String, Knockapi::Models::InlineIdentifyUserRequest, Knockapi::Models::InlineObjectRequest, nil] Specifies a recipient in a request. This can either be a user identifier (string
|
25
25
|
#
|
26
|
-
# @param data [Hash{Symbol=>Object}, nil] An optional map of data to pass into the workflow execution. There is a
|
26
|
+
# @param data [Hash{Symbol=>Object}, nil] An optional map of data to pass into the workflow execution. There is a 10MB lim
|
27
27
|
#
|
28
28
|
# @param ending_at [Time, nil] The ending date and time for the schedule.
|
29
29
|
#
|
@@ -64,7 +64,7 @@ module Knockapi
|
|
64
64
|
#
|
65
65
|
# @param actor [String, Knockapi::Models::RecipientReference::ObjectReference, nil] A reference to a recipient, either a user identifier (string) or an object refer
|
66
66
|
#
|
67
|
-
# @param data [Hash{Symbol=>Object}, nil] An optional map of data to pass into the workflow execution. There is a
|
67
|
+
# @param data [Hash{Symbol=>Object}, nil] An optional map of data to pass into the workflow execution. There is a 10MB lim
|
68
68
|
#
|
69
69
|
# @param ending_at [Time, nil] The ending date and time for the schedule.
|
70
70
|
#
|
@@ -53,7 +53,7 @@ module Knockapi
|
|
53
53
|
#
|
54
54
|
# @param cancellation_key [String, nil] An optional key that is used to reference a specific workflow trigger request wh
|
55
55
|
#
|
56
|
-
# @param data [Hash{Symbol=>Object}, nil] An optional map of data to pass into the workflow execution. There is a
|
56
|
+
# @param data [Hash{Symbol=>Object}, nil] An optional map of data to pass into the workflow execution. There is a 10MB lim
|
57
57
|
#
|
58
58
|
# @param tenant [String, Knockapi::Models::TenantRequest, nil] An request to set a tenant inline.
|
59
59
|
#
|
data/lib/knockapi/version.rb
CHANGED
@@ -107,7 +107,8 @@ module Knockapi
|
|
107
107
|
|
108
108
|
# Mix and match channel types by providing a comma-separated list of any
|
109
109
|
# combination of public_channel, private_channel, mpim, im. Defaults to
|
110
|
-
# `"public_channel,private_channel"`.
|
110
|
+
# `"public_channel,private_channel"`. If the user's Slack ID is unavailable, this
|
111
|
+
# option is ignored and only public channels are returned.
|
111
112
|
sig { returns(T.nilable(String)) }
|
112
113
|
attr_reader :types
|
113
114
|
|
@@ -137,7 +138,8 @@ module Knockapi
|
|
137
138
|
team_id: nil,
|
138
139
|
# Mix and match channel types by providing a comma-separated list of any
|
139
140
|
# combination of public_channel, private_channel, mpim, im. Defaults to
|
140
|
-
# `"public_channel,private_channel"`.
|
141
|
+
# `"public_channel,private_channel"`. If the user's Slack ID is unavailable, this
|
142
|
+
# option is ignored and only public channels are returned.
|
141
143
|
types: nil
|
142
144
|
)
|
143
145
|
end
|
@@ -41,10 +41,10 @@ module Knockapi
|
|
41
41
|
sig { returns(T.nilable(Knockapi::Recipient::Variants)) }
|
42
42
|
attr_accessor :actor
|
43
43
|
|
44
|
-
# An optional map of data to pass into the workflow execution. There is a
|
45
|
-
#
|
46
|
-
#
|
47
|
-
#
|
44
|
+
# An optional map of data to pass into the workflow execution. There is a 10MB
|
45
|
+
# limit on the size of the full `data` payload. Any individual string value
|
46
|
+
# greater than 1024 bytes in length will be
|
47
|
+
# [truncated](/developer-tools/api-logs#log-truncation) in your logs.
|
48
48
|
sig { returns(T.nilable(T::Hash[Symbol, T.anything])) }
|
49
49
|
attr_accessor :data
|
50
50
|
|
@@ -97,10 +97,10 @@ module Knockapi
|
|
97
97
|
_typename: nil,
|
98
98
|
# A recipient of a notification, which is either a user or an object.
|
99
99
|
actor: nil,
|
100
|
-
# An optional map of data to pass into the workflow execution. There is a
|
101
|
-
#
|
102
|
-
#
|
103
|
-
#
|
100
|
+
# An optional map of data to pass into the workflow execution. There is a 10MB
|
101
|
+
# limit on the size of the full `data` payload. Any individual string value
|
102
|
+
# greater than 1024 bytes in length will be
|
103
|
+
# [truncated](/developer-tools/api-logs#log-truncation) in your logs.
|
104
104
|
data: nil,
|
105
105
|
# The last occurrence of the schedule.
|
106
106
|
last_occurrence_at: nil,
|
@@ -45,10 +45,10 @@ module Knockapi
|
|
45
45
|
end
|
46
46
|
attr_accessor :actor
|
47
47
|
|
48
|
-
# An optional map of data to pass into the workflow execution. There is a
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
48
|
+
# An optional map of data to pass into the workflow execution. There is a 10MB
|
49
|
+
# limit on the size of the full `data` payload. Any individual string value
|
50
|
+
# greater than 1024 bytes in length will be
|
51
|
+
# [truncated](/developer-tools/api-logs#log-truncation) in your logs.
|
52
52
|
sig { returns(T.nilable(T::Hash[Symbol, T.anything])) }
|
53
53
|
attr_accessor :data
|
54
54
|
|
@@ -109,10 +109,10 @@ module Knockapi
|
|
109
109
|
# (string), an inline user request (object), or an inline object request, which is
|
110
110
|
# determined by the presence of a `collection` property.
|
111
111
|
actor: nil,
|
112
|
-
# An optional map of data to pass into the workflow execution. There is a
|
113
|
-
#
|
114
|
-
#
|
115
|
-
#
|
112
|
+
# An optional map of data to pass into the workflow execution. There is a 10MB
|
113
|
+
# limit on the size of the full `data` payload. Any individual string value
|
114
|
+
# greater than 1024 bytes in length will be
|
115
|
+
# [truncated](/developer-tools/api-logs#log-truncation) in your logs.
|
116
116
|
data: nil,
|
117
117
|
# The ending date and time for the schedule.
|
118
118
|
ending_at: nil,
|
@@ -26,10 +26,10 @@ module Knockapi
|
|
26
26
|
end
|
27
27
|
attr_accessor :actor
|
28
28
|
|
29
|
-
# An optional map of data to pass into the workflow execution. There is a
|
30
|
-
#
|
31
|
-
#
|
32
|
-
#
|
29
|
+
# An optional map of data to pass into the workflow execution. There is a 10MB
|
30
|
+
# limit on the size of the full `data` payload. Any individual string value
|
31
|
+
# greater than 1024 bytes in length will be
|
32
|
+
# [truncated](/developer-tools/api-logs#log-truncation) in your logs.
|
33
33
|
sig { returns(T.nilable(T::Hash[Symbol, T.anything])) }
|
34
34
|
attr_accessor :data
|
35
35
|
|
@@ -78,10 +78,10 @@ module Knockapi
|
|
78
78
|
# A reference to a recipient, either a user identifier (string) or an object
|
79
79
|
# reference (ID, collection).
|
80
80
|
actor: nil,
|
81
|
-
# An optional map of data to pass into the workflow execution. There is a
|
82
|
-
#
|
83
|
-
#
|
84
|
-
#
|
81
|
+
# An optional map of data to pass into the workflow execution. There is a 10MB
|
82
|
+
# limit on the size of the full `data` payload. Any individual string value
|
83
|
+
# greater than 1024 bytes in length will be
|
84
|
+
# [truncated](/developer-tools/api-logs#log-truncation) in your logs.
|
85
85
|
data: nil,
|
86
86
|
# The ending date and time for the schedule.
|
87
87
|
ending_at: nil,
|
@@ -76,10 +76,10 @@ module Knockapi
|
|
76
76
|
end
|
77
77
|
attr_accessor :actor
|
78
78
|
|
79
|
-
# An optional map of data to pass into the workflow execution. There is a
|
80
|
-
#
|
81
|
-
#
|
82
|
-
#
|
79
|
+
# An optional map of data to pass into the workflow execution. There is a 10MB
|
80
|
+
# limit on the size of the full `data` payload. Any individual string value
|
81
|
+
# greater than 1024 bytes in length will be
|
82
|
+
# [truncated](/developer-tools/api-logs#log-truncation) in your logs.
|
83
83
|
sig { returns(T.nilable(T::Hash[Symbol, T.anything])) }
|
84
84
|
attr_accessor :data
|
85
85
|
|
@@ -164,10 +164,10 @@ module Knockapi
|
|
164
164
|
# (string), an inline user request (object), or an inline object request, which is
|
165
165
|
# determined by the presence of a `collection` property.
|
166
166
|
actor: nil,
|
167
|
-
# An optional map of data to pass into the workflow execution. There is a
|
168
|
-
#
|
169
|
-
#
|
170
|
-
#
|
167
|
+
# An optional map of data to pass into the workflow execution. There is a 10MB
|
168
|
+
# limit on the size of the full `data` payload. Any individual string value
|
169
|
+
# greater than 1024 bytes in length will be
|
170
|
+
# [truncated](/developer-tools/api-logs#log-truncation) in your logs.
|
171
171
|
data: nil,
|
172
172
|
# The ending date and time for the schedule.
|
173
173
|
ending_at: nil,
|
@@ -50,10 +50,10 @@ module Knockapi
|
|
50
50
|
sig { returns(T.nilable(String)) }
|
51
51
|
attr_accessor :cancellation_key
|
52
52
|
|
53
|
-
# An optional map of data to pass into the workflow execution. There is a
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
53
|
+
# An optional map of data to pass into the workflow execution. There is a 10MB
|
54
|
+
# limit on the size of the full `data` payload. Any individual string value
|
55
|
+
# greater than 1024 bytes in length will be
|
56
|
+
# [truncated](/developer-tools/api-logs#log-truncation) in your logs.
|
57
57
|
sig { returns(T.nilable(T::Hash[Symbol, T.anything])) }
|
58
58
|
attr_accessor :data
|
59
59
|
|
@@ -99,10 +99,10 @@ module Knockapi
|
|
99
99
|
# subsequent cancellation. Should be unique across trigger requests to avoid
|
100
100
|
# unintentional cancellations.
|
101
101
|
cancellation_key: nil,
|
102
|
-
# An optional map of data to pass into the workflow execution. There is a
|
103
|
-
#
|
104
|
-
#
|
105
|
-
#
|
102
|
+
# An optional map of data to pass into the workflow execution. There is a 10MB
|
103
|
+
# limit on the size of the full `data` payload. Any individual string value
|
104
|
+
# greater than 1024 bytes in length will be
|
105
|
+
# [truncated](/developer-tools/api-logs#log-truncation) in your logs.
|
106
106
|
data: nil,
|
107
107
|
# An request to set a tenant inline.
|
108
108
|
tenant: nil,
|
@@ -47,10 +47,10 @@ module Knockapi
|
|
47
47
|
# (string), an inline user request (object), or an inline object request, which is
|
48
48
|
# determined by the presence of a `collection` property.
|
49
49
|
actor: nil,
|
50
|
-
# An optional map of data to pass into the workflow execution. There is a
|
51
|
-
#
|
52
|
-
#
|
53
|
-
#
|
50
|
+
# An optional map of data to pass into the workflow execution. There is a 10MB
|
51
|
+
# limit on the size of the full `data` payload. Any individual string value
|
52
|
+
# greater than 1024 bytes in length will be
|
53
|
+
# [truncated](/developer-tools/api-logs#log-truncation) in your logs.
|
54
54
|
data: nil,
|
55
55
|
# The ending date and time for the schedule.
|
56
56
|
ending_at: nil,
|
@@ -93,10 +93,10 @@ module Knockapi
|
|
93
93
|
# A reference to a recipient, either a user identifier (string) or an object
|
94
94
|
# reference (ID, collection).
|
95
95
|
actor: nil,
|
96
|
-
# An optional map of data to pass into the workflow execution. There is a
|
97
|
-
#
|
98
|
-
#
|
99
|
-
#
|
96
|
+
# An optional map of data to pass into the workflow execution. There is a 10MB
|
97
|
+
# limit on the size of the full `data` payload. Any individual string value
|
98
|
+
# greater than 1024 bytes in length will be
|
99
|
+
# [truncated](/developer-tools/api-logs#log-truncation) in your logs.
|
100
100
|
data: nil,
|
101
101
|
# The ending date and time for the schedule.
|
102
102
|
ending_at: nil,
|
@@ -84,10 +84,10 @@ module Knockapi
|
|
84
84
|
# subsequent cancellation. Should be unique across trigger requests to avoid
|
85
85
|
# unintentional cancellations.
|
86
86
|
cancellation_key: nil,
|
87
|
-
# An optional map of data to pass into the workflow execution. There is a
|
88
|
-
#
|
89
|
-
#
|
90
|
-
#
|
87
|
+
# An optional map of data to pass into the workflow execution. There is a 10MB
|
88
|
+
# limit on the size of the full `data` payload. Any individual string value
|
89
|
+
# greater than 1024 bytes in length will be
|
90
|
+
# [truncated](/developer-tools/api-logs#log-truncation) in your logs.
|
91
91
|
data: nil,
|
92
92
|
# An request to set a tenant inline.
|
93
93
|
tenant: nil,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knockapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Knock
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|