mailslurp_client 12.1.30 → 12.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dec24b06bbcd849949a1ed1d1350b295079c8f5831bc2bd5806949b4307211a0
4
- data.tar.gz: 9604adeb016172c0c187d5944e2fd7c88df3d611543837b7bb27032eb5f1a04b
3
+ metadata.gz: ef339317a603b386f725e32437d6b2c194bd775e19f355e1dd8d953a2f9b8684
4
+ data.tar.gz: 2d62f47247595ad1ec568241e75c98e3cbba4e904a7ec86ddc6577b7823c724c
5
5
  SHA512:
6
- metadata.gz: ff1d230a9a011349c334e864afd6f3fc63c850c5b89bed166984bb526648dc5dfc5d429d8ecc35853bc0aba48aa3a2f0c1e330efec9325f2362d77ab1ff1fe23
7
- data.tar.gz: f499087140f6e838a20d70b22f811f4c8b0201ec58e8295d9c067c71b9991b6baee2af07f987a94ed6792ef2ba92b588108a6b2fa4c08a04c03ef9ac83cf3f32
6
+ metadata.gz: 46d39c59af31ae5a1ce6e7d65a24609b8f1e53f507ff1abe330ce0f6af51555cb03b459ab7211bebc12c1015ad09cd8835d8488c9d411ec2741df903654efd72
7
+ data.tar.gz: e00b2e83c575c292327656d15a68c35e51a8dffdd02d62ebc3f176b38f34f0f58c2ec9ddf7a67607e1571a665920f72c36fb967a82eb6ac689f8cf223cb5332b
@@ -932,6 +932,7 @@ module MailSlurpClient
932
932
  # @param [Hash] opts the optional parameters
933
933
  # @option opts [Array<String>] :inbox_id Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account.
934
934
  # @option opts [Integer] :page Optional page index in email list pagination (default to 0)
935
+ # @option opts [String] :search_filter Optional search filter. Searches email recipients, sender, subject, email address and ID. Does not search email body (default to 'false')
935
936
  # @option opts [Integer] :size Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results (default to 20)
936
937
  # @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
937
938
  # @option opts [Boolean] :unread_only Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly (default to false)
@@ -946,6 +947,7 @@ module MailSlurpClient
946
947
  # @param [Hash] opts the optional parameters
947
948
  # @option opts [Array<String>] :inbox_id Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account.
948
949
  # @option opts [Integer] :page Optional page index in email list pagination
950
+ # @option opts [String] :search_filter Optional search filter. Searches email recipients, sender, subject, email address and ID. Does not search email body
949
951
  # @option opts [Integer] :size Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results
950
952
  # @option opts [String] :sort Optional createdAt sort direction ASC or DESC
951
953
  # @option opts [Boolean] :unread_only Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly
@@ -965,6 +967,7 @@ module MailSlurpClient
965
967
  query_params = opts[:query_params] || {}
966
968
  query_params[:'inboxId'] = @api_client.build_collection_param(opts[:'inbox_id'], :multi) if !opts[:'inbox_id'].nil?
967
969
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
970
+ query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
968
971
  query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
969
972
  query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
970
973
  query_params[:'unreadOnly'] = opts[:'unread_only'] if !opts[:'unread_only'].nil?
@@ -1125,6 +1128,7 @@ module MailSlurpClient
1125
1128
  # @param [Hash] opts the optional parameters
1126
1129
  # @option opts [Array<String>] :inbox_id Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account.
1127
1130
  # @option opts [Integer] :page Optional page index in email list pagination (default to 0)
1131
+ # @option opts [String] :search_filter Optional search filter search filter for emails.
1128
1132
  # @option opts [Integer] :size Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results (default to 20)
1129
1133
  # @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
1130
1134
  # @option opts [Boolean] :unread_only Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly (default to false)
@@ -1139,6 +1143,7 @@ module MailSlurpClient
1139
1143
  # @param [Hash] opts the optional parameters
1140
1144
  # @option opts [Array<String>] :inbox_id Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account.
1141
1145
  # @option opts [Integer] :page Optional page index in email list pagination
1146
+ # @option opts [String] :search_filter Optional search filter search filter for emails.
1142
1147
  # @option opts [Integer] :size Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results
1143
1148
  # @option opts [String] :sort Optional createdAt sort direction ASC or DESC
1144
1149
  # @option opts [Boolean] :unread_only Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly
@@ -1158,6 +1163,7 @@ module MailSlurpClient
1158
1163
  query_params = opts[:query_params] || {}
1159
1164
  query_params[:'inboxId'] = @api_client.build_collection_param(opts[:'inbox_id'], :multi) if !opts[:'inbox_id'].nil?
1160
1165
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
1166
+ query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
1161
1167
  query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
1162
1168
  query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
1163
1169
  query_params[:'unreadOnly'] = opts[:'unread_only'] if !opts[:'unread_only'].nil?
@@ -648,6 +648,7 @@ module MailSlurpClient
648
648
  # @param inbox_id [String] inboxId
649
649
  # @param [Hash] opts the optional parameters
650
650
  # @option opts [Integer] :page Optional page index in inbox sent email list pagination (default to 0)
651
+ # @option opts [String] :search_filter Optional sent email search
651
652
  # @option opts [Integer] :size Optional page size in inbox sent email list pagination (default to 20)
652
653
  # @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
653
654
  # @return [PageSentEmailProjection]
@@ -661,6 +662,7 @@ module MailSlurpClient
661
662
  # @param inbox_id [String] inboxId
662
663
  # @param [Hash] opts the optional parameters
663
664
  # @option opts [Integer] :page Optional page index in inbox sent email list pagination
665
+ # @option opts [String] :search_filter Optional sent email search
664
666
  # @option opts [Integer] :size Optional page size in inbox sent email list pagination
665
667
  # @option opts [String] :sort Optional createdAt sort direction ASC or DESC
666
668
  # @return [Array<(PageSentEmailProjection, Integer, Hash)>] PageSentEmailProjection data, response status code and response headers
@@ -682,6 +684,7 @@ module MailSlurpClient
682
684
  # query parameters
683
685
  query_params = opts[:query_params] || {}
684
686
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
687
+ query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
685
688
  query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
686
689
  query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
687
690
 
@@ -844,6 +847,7 @@ module MailSlurpClient
844
847
  # List organization inboxes in paginated form. These are inboxes created with `allowTeamAccess` flag enabled. Organization inboxes are `readOnly` for non-admin users. The results are available on the `content` property of the returned object. This method allows for page index (zero based), page size (how many results to return), and a sort direction (based on createdAt time).
845
848
  # @param [Hash] opts the optional parameters
846
849
  # @option opts [Integer] :page Optional page index in inbox list pagination (default to 0)
850
+ # @option opts [String] :search_filter Optional search filter
847
851
  # @option opts [Integer] :size Optional page size in inbox list pagination (default to 20)
848
852
  # @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
849
853
  # @return [PageOrganizationInboxProjection]
@@ -856,6 +860,7 @@ module MailSlurpClient
856
860
  # List organization inboxes in paginated form. These are inboxes created with &#x60;allowTeamAccess&#x60; flag enabled. Organization inboxes are &#x60;readOnly&#x60; for non-admin users. The results are available on the &#x60;content&#x60; property of the returned object. This method allows for page index (zero based), page size (how many results to return), and a sort direction (based on createdAt time).
857
861
  # @param [Hash] opts the optional parameters
858
862
  # @option opts [Integer] :page Optional page index in inbox list pagination
863
+ # @option opts [String] :search_filter Optional search filter
859
864
  # @option opts [Integer] :size Optional page size in inbox list pagination
860
865
  # @option opts [String] :sort Optional createdAt sort direction ASC or DESC
861
866
  # @return [Array<(PageOrganizationInboxProjection, Integer, Hash)>] PageOrganizationInboxProjection data, response status code and response headers
@@ -873,6 +878,7 @@ module MailSlurpClient
873
878
  # query parameters
874
879
  query_params = opts[:query_params] || {}
875
880
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
881
+ query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
876
882
  query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
877
883
  query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
878
884
 
@@ -22,6 +22,7 @@ module MailSlurpClient
22
22
  # Get all MissedEmails in paginated format
23
23
  # @param [Hash] opts the optional parameters
24
24
  # @option opts [Integer] :page Optional page index in inbox list pagination (default to 0)
25
+ # @option opts [String] :search_filter Optional search filter
25
26
  # @option opts [Integer] :size Optional page size in inbox list pagination (default to 20)
26
27
  # @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
27
28
  # @return [PageMissedEmailProjection]
@@ -33,6 +34,7 @@ module MailSlurpClient
33
34
  # Get all MissedEmails in paginated format
34
35
  # @param [Hash] opts the optional parameters
35
36
  # @option opts [Integer] :page Optional page index in inbox list pagination
37
+ # @option opts [String] :search_filter Optional search filter
36
38
  # @option opts [Integer] :size Optional page size in inbox list pagination
37
39
  # @option opts [String] :sort Optional createdAt sort direction ASC or DESC
38
40
  # @return [Array<(PageMissedEmailProjection, Integer, Hash)>] PageMissedEmailProjection data, response status code and response headers
@@ -50,6 +52,7 @@ module MailSlurpClient
50
52
  # query parameters
51
53
  query_params = opts[:query_params] || {}
52
54
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
55
+ query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
53
56
  query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
54
57
  query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
55
58
 
@@ -83,6 +83,7 @@ module MailSlurpClient
83
83
  # @param [Hash] opts the optional parameters
84
84
  # @option opts [String] :inbox_id Optional inboxId to filter sender of sent emails by
85
85
  # @option opts [Integer] :page Optional page index in inbox sent email list pagination (default to 0)
86
+ # @option opts [String] :search_filter Optional search filter
86
87
  # @option opts [Integer] :size Optional page size in inbox sent email list pagination (default to 20)
87
88
  # @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
88
89
  # @return [PageSentEmailProjection]
@@ -95,6 +96,7 @@ module MailSlurpClient
95
96
  # @param [Hash] opts the optional parameters
96
97
  # @option opts [String] :inbox_id Optional inboxId to filter sender of sent emails by
97
98
  # @option opts [Integer] :page Optional page index in inbox sent email list pagination
99
+ # @option opts [String] :search_filter Optional search filter
98
100
  # @option opts [Integer] :size Optional page size in inbox sent email list pagination
99
101
  # @option opts [String] :sort Optional createdAt sort direction ASC or DESC
100
102
  # @return [Array<(PageSentEmailProjection, Integer, Hash)>] PageSentEmailProjection data, response status code and response headers
@@ -113,6 +115,7 @@ module MailSlurpClient
113
115
  query_params = opts[:query_params] || {}
114
116
  query_params[:'inboxId'] = opts[:'inbox_id'] if !opts[:'inbox_id'].nil?
115
117
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
118
+ query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
116
119
  query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
117
120
  query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
118
121
 
@@ -153,6 +156,7 @@ module MailSlurpClient
153
156
  # @param [Hash] opts the optional parameters
154
157
  # @option opts [String] :inbox_id Optional inboxId to filter sender of sent emails by
155
158
  # @option opts [Integer] :page Optional page index in inbox sent email list pagination (default to 0)
159
+ # @option opts [String] :search_filter Optional search filter
156
160
  # @option opts [Integer] :size Optional page size in inbox sent email list pagination (default to 20)
157
161
  # @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
158
162
  # @return [PageSentEmailProjection]
@@ -165,6 +169,7 @@ module MailSlurpClient
165
169
  # @param [Hash] opts the optional parameters
166
170
  # @option opts [String] :inbox_id Optional inboxId to filter sender of sent emails by
167
171
  # @option opts [Integer] :page Optional page index in inbox sent email list pagination
172
+ # @option opts [String] :search_filter Optional search filter
168
173
  # @option opts [Integer] :size Optional page size in inbox sent email list pagination
169
174
  # @option opts [String] :sort Optional createdAt sort direction ASC or DESC
170
175
  # @return [Array<(PageSentEmailProjection, Integer, Hash)>] PageSentEmailProjection data, response status code and response headers
@@ -183,6 +188,7 @@ module MailSlurpClient
183
188
  query_params = opts[:query_params] || {}
184
189
  query_params[:'inboxId'] = opts[:'inbox_id'] if !opts[:'inbox_id'].nil?
185
190
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
191
+ query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
186
192
  query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
187
193
  query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
188
194
 
@@ -156,6 +156,7 @@ module MailSlurpClient
156
156
  # Get results for all webhooks
157
157
  # @param [Hash] opts the optional parameters
158
158
  # @option opts [Integer] :page Optional page index in list pagination (default to 0)
159
+ # @option opts [String] :search_filter Optional search filter
159
160
  # @option opts [Integer] :size Optional page size in list pagination (default to 20)
160
161
  # @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
161
162
  # @return [PageWebhookResult]
@@ -167,6 +168,7 @@ module MailSlurpClient
167
168
  # Get results for all webhooks
168
169
  # @param [Hash] opts the optional parameters
169
170
  # @option opts [Integer] :page Optional page index in list pagination
171
+ # @option opts [String] :search_filter Optional search filter
170
172
  # @option opts [Integer] :size Optional page size in list pagination
171
173
  # @option opts [String] :sort Optional createdAt sort direction ASC or DESC
172
174
  # @return [Array<(PageWebhookResult, Integer, Hash)>] PageWebhookResult data, response status code and response headers
@@ -184,6 +186,7 @@ module MailSlurpClient
184
186
  # query parameters
185
187
  query_params = opts[:query_params] || {}
186
188
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
189
+ query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
187
190
  query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
188
191
  query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
189
192
 
@@ -224,6 +227,7 @@ module MailSlurpClient
224
227
  # List webhooks in paginated form. Allows for page index, page size, and sort direction.
225
228
  # @param [Hash] opts the optional parameters
226
229
  # @option opts [Integer] :page Optional page index in list pagination (default to 0)
230
+ # @option opts [String] :search_filter Optional search filter
227
231
  # @option opts [Integer] :size Optional page size in list pagination (default to 20)
228
232
  # @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
229
233
  # @return [PageWebhookProjection]
@@ -236,6 +240,7 @@ module MailSlurpClient
236
240
  # List webhooks in paginated form. Allows for page index, page size, and sort direction.
237
241
  # @param [Hash] opts the optional parameters
238
242
  # @option opts [Integer] :page Optional page index in list pagination
243
+ # @option opts [String] :search_filter Optional search filter
239
244
  # @option opts [Integer] :size Optional page size in list pagination
240
245
  # @option opts [String] :sort Optional createdAt sort direction ASC or DESC
241
246
  # @return [Array<(PageWebhookProjection, Integer, Hash)>] PageWebhookProjection data, response status code and response headers
@@ -253,6 +258,7 @@ module MailSlurpClient
253
258
  # query parameters
254
259
  query_params = opts[:query_params] || {}
255
260
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
261
+ query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
256
262
  query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
257
263
  query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
258
264
 
@@ -289,6 +295,82 @@ module MailSlurpClient
289
295
  return data, status_code, headers
290
296
  end
291
297
 
298
+ # Get paginated webhooks for an Inbox
299
+ # @param inbox_id [String] inboxId
300
+ # @param [Hash] opts the optional parameters
301
+ # @option opts [Integer] :page Optional page index in list pagination (default to 0)
302
+ # @option opts [String] :search_filter Optional search filter
303
+ # @option opts [Integer] :size Optional page size in list pagination (default to 20)
304
+ # @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
305
+ # @return [PageWebhookProjection]
306
+ def get_inbox_webhooks_paginated(inbox_id, opts = {})
307
+ data, _status_code, _headers = get_inbox_webhooks_paginated_with_http_info(inbox_id, opts)
308
+ data
309
+ end
310
+
311
+ # Get paginated webhooks for an Inbox
312
+ # @param inbox_id [String] inboxId
313
+ # @param [Hash] opts the optional parameters
314
+ # @option opts [Integer] :page Optional page index in list pagination
315
+ # @option opts [String] :search_filter Optional search filter
316
+ # @option opts [Integer] :size Optional page size in list pagination
317
+ # @option opts [String] :sort Optional createdAt sort direction ASC or DESC
318
+ # @return [Array<(PageWebhookProjection, Integer, Hash)>] PageWebhookProjection data, response status code and response headers
319
+ def get_inbox_webhooks_paginated_with_http_info(inbox_id, opts = {})
320
+ if @api_client.config.debugging
321
+ @api_client.config.logger.debug 'Calling API: WebhookControllerApi.get_inbox_webhooks_paginated ...'
322
+ end
323
+ # verify the required parameter 'inbox_id' is set
324
+ if @api_client.config.client_side_validation && inbox_id.nil?
325
+ fail ArgumentError, "Missing the required parameter 'inbox_id' when calling WebhookControllerApi.get_inbox_webhooks_paginated"
326
+ end
327
+ allowable_values = ["ASC", "DESC"]
328
+ if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
329
+ fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
330
+ end
331
+ # resource path
332
+ local_var_path = '/inboxes/{inboxId}/webhooks/paginated'.sub('{' + 'inboxId' + '}', CGI.escape(inbox_id.to_s))
333
+
334
+ # query parameters
335
+ query_params = opts[:query_params] || {}
336
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
337
+ query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
338
+ query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
339
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
340
+
341
+ # header parameters
342
+ header_params = opts[:header_params] || {}
343
+ # HTTP header 'Accept' (if needed)
344
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
345
+
346
+ # form parameters
347
+ form_params = opts[:form_params] || {}
348
+
349
+ # http body (model)
350
+ post_body = opts[:body]
351
+
352
+ # return_type
353
+ return_type = opts[:return_type] || 'PageWebhookProjection'
354
+
355
+ # auth_names
356
+ auth_names = opts[:auth_names] || ['API_KEY']
357
+
358
+ new_options = opts.merge(
359
+ :header_params => header_params,
360
+ :query_params => query_params,
361
+ :form_params => form_params,
362
+ :body => post_body,
363
+ :auth_names => auth_names,
364
+ :return_type => return_type
365
+ )
366
+
367
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
368
+ if @api_client.config.debugging
369
+ @api_client.config.logger.debug "API called: WebhookControllerApi#get_inbox_webhooks_paginated\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
370
+ end
371
+ return data, status_code, headers
372
+ end
373
+
292
374
  # Get test webhook payload example. Response content depends on eventName passed. Uses `EMAIL_RECEIVED` as default.
293
375
  # @param [Hash] opts the optional parameters
294
376
  # @option opts [String] :event_name eventName
@@ -636,6 +718,7 @@ module MailSlurpClient
636
718
  # @param webhook_id [String] ID of webhook to get results for
637
719
  # @param [Hash] opts the optional parameters
638
720
  # @option opts [Integer] :page Optional page index in list pagination (default to 0)
721
+ # @option opts [String] :search_filter Optional search filter
639
722
  # @option opts [Integer] :size Optional page size in list pagination (default to 20)
640
723
  # @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
641
724
  # @return [PageWebhookResult]
@@ -648,6 +731,7 @@ module MailSlurpClient
648
731
  # @param webhook_id [String] ID of webhook to get results for
649
732
  # @param [Hash] opts the optional parameters
650
733
  # @option opts [Integer] :page Optional page index in list pagination
734
+ # @option opts [String] :search_filter Optional search filter
651
735
  # @option opts [Integer] :size Optional page size in list pagination
652
736
  # @option opts [String] :sort Optional createdAt sort direction ASC or DESC
653
737
  # @return [Array<(PageWebhookResult, Integer, Hash)>] PageWebhookResult data, response status code and response headers
@@ -669,6 +753,7 @@ module MailSlurpClient
669
753
  # query parameters
670
754
  query_params = opts[:query_params] || {}
671
755
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
756
+ query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
672
757
  query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
673
758
  query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
674
759
 
@@ -13,7 +13,6 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
- # Paginated webhook entity. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
17
16
  class PageWebhookProjection
18
17
  attr_accessor :content
19
18
 
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
- # NEW_ATTACHMENT webhook payload
16
+ # NEW_ATTACHMENT webhook payload. Sent to your webhook url endpoint via HTTP POST when an email is received by the inbox that your webhook is attached to that contains an attachment. You can use the attachmentId to download the attachment.
17
17
  class WebhookNewAttachmentPayload
18
18
  # ID of attachment. Use the `AttachmentController` to
19
19
  attr_accessor :attachment_id
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
- # NEW_CONTACT webhook payload
16
+ # NEW_CONTACT webhook payload. Sent to your webhook url endpoint via HTTP POST when an email is received by the inbox that your webhook is attached to that contains a recipient that has not been saved as a contact.
17
17
  class WebhookNewContactPayload
18
18
  attr_accessor :company
19
19
 
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
- # NEW_EMAIL webhook payload
16
+ # NEW_EMAIL webhook payload. Sent to your webhook url endpoint via HTTP POST when an email is received by the inbox that your webhook is attached to. Use the email ID to fetch the full email body or attachments.
17
17
  class WebhookNewEmailPayload
18
18
  # List of attachment meta data objects if attachments present
19
19
  attr_accessor :attachment_meta_datas
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module MailSlurpClient
14
- VERSION = '12.1.30'
14
+ VERSION = '12.2.1'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailslurp_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.1.30
4
+ version: 12.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - mailslurp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-17 00:00:00.000000000 Z
11
+ date: 2021-06-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Create emails addresses in Ruby then send and receive real emails and
14
14
  attachments. See https://www.mailslurp.com/docs/ruby/ for full Ruby documentation.