smplkit 3.0.50 → 3.0.51

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5ba1ec96b774579922c3636e625b1166d82fc14695c8de1c96127e4adaa1eaa0
4
- data.tar.gz: 4be88457a8fc6421f8bc55ec924acef3c6576e3f26daa7dc014141fec4b76b07
3
+ metadata.gz: abd3ff899376151d83d35078832ffd68b505866329852fbb2952e39e2ba81efe
4
+ data.tar.gz: f9ef8eb1a3610e17402041228fa4923e6fd81cb1b78bc6e3d2ddce691776730f
5
5
  SHA512:
6
- metadata.gz: 8343384752fd6ae4676deba2aafa21ebb6c4a663996573f2a36787e2b5c48db4f21f5d0e79dd0d156a8cd3f6e7515b72e2b5561403a97fd0acf2d5a54812bac5
7
- data.tar.gz: 759b0cc9607a71d22436e456032c049c89a4861c83251464938acc736ac70d0873a93ec9a458f486683f4c2dbfee2b380108a03e959cdcf48300107068ed33f2
6
+ metadata.gz: aabca79289469eee4fa671daca08aef998c673f17720fc1b958bb85980601f55cb399b78a9a3bccf6a8814f3f04f7146c86c73f9763bd324dfa602dcb4f67c51
7
+ data.tar.gz: ec51b4cd5aa4d5553c2f549931f5b8fc21348fb0f7675e7486089fd4457b1758fc21f6395a91af966cdf1e910822d229b286610a5bc310cfdcd8f1497bd380c5
@@ -280,10 +280,11 @@ module SmplkitGeneratedClient::Config
280
280
  end
281
281
 
282
282
  # List Configs
283
- # List configs for this account. Default sort is `key` ascending. Pass `filter[parent]=<parent_key>` to return only the direct children of a specific config, or `filter[search]=<term>` to filter by a case-insensitive substring against `key` or `name`.
283
+ # List configs for this account. Default sort is `key` ascending. Pass `filter[parent]=<parent_key>` to return only the direct children of a specific config, `filter[search]=<term>` to filter by a case-insensitive substring against `key` or `name`, or `filter[managed]=true|false` to restrict to managed or discovered configs respectively.
284
284
  # @param [Hash] opts the optional parameters
285
285
  # @option opts [String] :filter_parent
286
286
  # @option opts [String] :filter_search Case-insensitive substring match against the config &#x60;key&#x60; and &#x60;name&#x60;. A config is returned if either field contains the search term.
287
+ # @option opts [Boolean] :filter_managed Restrict the result to managed (&#x60;true&#x60;) or discovered (&#x60;false&#x60;) configs. Omit to return both. Configs created via the console or &#x60;POST /api/v1/configs&#x60; are managed; configs registered via &#x60;POST /api/v1/configs/bulk&#x60; start out discovered.
287
288
  # @option opts [String] :sort Field to sort by. Prefix with &#x60;-&#x60; for descending order. Default: &#x60;key&#x60;. Allowed values: &#x60;created_at&#x60;, &#x60;-created_at&#x60;, &#x60;key&#x60;, &#x60;-key&#x60;, &#x60;name&#x60;, &#x60;-name&#x60;, &#x60;updated_at&#x60;, &#x60;-updated_at&#x60;. (default to 'key')
288
289
  # @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to &#x60;1&#x60; when omitted. Must be &#x60;&gt;&#x3D; 1&#x60; — requests with a smaller value are rejected with a 400 error. (default to 1)
289
290
  # @option opts [Integer] :page_size Number of items per page. Optional; defaults to &#x60;1000&#x60; when omitted. Must be between &#x60;1&#x60; and &#x60;1000&#x60; inclusive — requests outside that range are rejected with a 400 error. (default to 1000)
@@ -295,10 +296,11 @@ module SmplkitGeneratedClient::Config
295
296
  end
296
297
 
297
298
  # List Configs
298
- # List configs for this account. Default sort is &#x60;key&#x60; ascending. Pass &#x60;filter[parent]&#x3D;&lt;parent_key&gt;&#x60; to return only the direct children of a specific config, or &#x60;filter[search]&#x3D;&lt;term&gt;&#x60; to filter by a case-insensitive substring against &#x60;key&#x60; or &#x60;name&#x60;.
299
+ # List configs for this account. Default sort is &#x60;key&#x60; ascending. Pass &#x60;filter[parent]&#x3D;&lt;parent_key&gt;&#x60; to return only the direct children of a specific config, &#x60;filter[search]&#x3D;&lt;term&gt;&#x60; to filter by a case-insensitive substring against &#x60;key&#x60; or &#x60;name&#x60;, or &#x60;filter[managed]&#x3D;true|false&#x60; to restrict to managed or discovered configs respectively.
299
300
  # @param [Hash] opts the optional parameters
300
301
  # @option opts [String] :filter_parent
301
302
  # @option opts [String] :filter_search Case-insensitive substring match against the config &#x60;key&#x60; and &#x60;name&#x60;. A config is returned if either field contains the search term.
303
+ # @option opts [Boolean] :filter_managed Restrict the result to managed (&#x60;true&#x60;) or discovered (&#x60;false&#x60;) configs. Omit to return both. Configs created via the console or &#x60;POST /api/v1/configs&#x60; are managed; configs registered via &#x60;POST /api/v1/configs/bulk&#x60; start out discovered.
302
304
  # @option opts [String] :sort Field to sort by. Prefix with &#x60;-&#x60; for descending order. Default: &#x60;key&#x60;. Allowed values: &#x60;created_at&#x60;, &#x60;-created_at&#x60;, &#x60;key&#x60;, &#x60;-key&#x60;, &#x60;name&#x60;, &#x60;-name&#x60;, &#x60;updated_at&#x60;, &#x60;-updated_at&#x60;. (default to 'key')
303
305
  # @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to &#x60;1&#x60; when omitted. Must be &#x60;&gt;&#x3D; 1&#x60; — requests with a smaller value are rejected with a 400 error. (default to 1)
304
306
  # @option opts [Integer] :page_size Number of items per page. Optional; defaults to &#x60;1000&#x60; when omitted. Must be between &#x60;1&#x60; and &#x60;1000&#x60; inclusive — requests outside that range are rejected with a 400 error. (default to 1000)
@@ -319,6 +321,7 @@ module SmplkitGeneratedClient::Config
319
321
  query_params = opts[:query_params] || {}
320
322
  query_params[:'filter[parent]'] = opts[:'filter_parent'] if !opts[:'filter_parent'].nil?
321
323
  query_params[:'filter[search]'] = opts[:'filter_search'] if !opts[:'filter_search'].nil?
324
+ query_params[:'filter[managed]'] = opts[:'filter_managed'] if !opts[:'filter_managed'].nil?
322
325
  query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
323
326
  query_params[:'page[number]'] = opts[:'page_number'] if !opts[:'page_number'].nil?
324
327
  query_params[:'page[size]'] = opts[:'page_size'] if !opts[:'page_size'].nil?
@@ -82,10 +82,11 @@ describe 'ConfigsApi' do
82
82
 
83
83
  # unit tests for list_configs
84
84
  # List Configs
85
- # List configs for this account. Default sort is &#x60;key&#x60; ascending. Pass &#x60;filter[parent]&#x3D;&lt;parent_key&gt;&#x60; to return only the direct children of a specific config, or &#x60;filter[search]&#x3D;&lt;term&gt;&#x60; to filter by a case-insensitive substring against &#x60;key&#x60; or &#x60;name&#x60;.
85
+ # List configs for this account. Default sort is &#x60;key&#x60; ascending. Pass &#x60;filter[parent]&#x3D;&lt;parent_key&gt;&#x60; to return only the direct children of a specific config, &#x60;filter[search]&#x3D;&lt;term&gt;&#x60; to filter by a case-insensitive substring against &#x60;key&#x60; or &#x60;name&#x60;, or &#x60;filter[managed]&#x3D;true|false&#x60; to restrict to managed or discovered configs respectively.
86
86
  # @param [Hash] opts the optional parameters
87
87
  # @option opts [String] :filter_parent
88
88
  # @option opts [String] :filter_search Case-insensitive substring match against the config &#x60;key&#x60; and &#x60;name&#x60;. A config is returned if either field contains the search term.
89
+ # @option opts [Boolean] :filter_managed Restrict the result to managed (&#x60;true&#x60;) or discovered (&#x60;false&#x60;) configs. Omit to return both. Configs created via the console or &#x60;POST /api/v1/configs&#x60; are managed; configs registered via &#x60;POST /api/v1/configs/bulk&#x60; start out discovered.
89
90
  # @option opts [String] :sort Field to sort by. Prefix with &#x60;-&#x60; for descending order. Default: &#x60;key&#x60;. Allowed values: &#x60;created_at&#x60;, &#x60;-created_at&#x60;, &#x60;key&#x60;, &#x60;-key&#x60;, &#x60;name&#x60;, &#x60;-name&#x60;, &#x60;updated_at&#x60;, &#x60;-updated_at&#x60;.
90
91
  # @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to &#x60;1&#x60; when omitted. Must be &#x60;&gt;&#x3D; 1&#x60; — requests with a smaller value are rejected with a 400 error.
91
92
  # @option opts [Integer] :page_size Number of items per page. Optional; defaults to &#x60;1000&#x60; when omitted. Must be between &#x60;1&#x60; and &#x60;1000&#x60; inclusive — requests outside that range are rejected with a 400 error.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smplkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.50
4
+ version: 3.0.51
5
5
  platform: ruby
6
6
  authors:
7
7
  - Smpl Solutions LLC