daytona_api_client 0.175.0 → 0.176.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d2aae35e5344b0c5291e3210753930e29dd36f87f904c5d8004487935b92fb52
4
- data.tar.gz: 3ab9d05ad5319781df8dd0216ec216d4a314dd4752f0e9ebfbb3c4e94e8025f3
3
+ metadata.gz: 93a14bf03c7efe0a32acede7192758645a23a1b4a0c7e097307a1134a9e2a489
4
+ data.tar.gz: 13adbc77835ae630f5936442d627df71bab60b010b4f478ecb55781cd3550974
5
5
  SHA512:
6
- metadata.gz: d3fe8cea19073f672beeeb754cbeded6dde2a0cb7cc4c2b7a350418f9223d4cd31016e3ef0ebc8797c93682bb473a7010985d1f9d1e4e8c63f1995fce1239335
7
- data.tar.gz: 8582a1b36e510144c4816981d065f34ece75572a964b6e37d4c1cdf28ac465453b9e2597dbad35535ab39d11f1a564cf5f4b632a958620d2224cc23d0f8cf27e
6
+ metadata.gz: a1be1d7ceee88ff92adb6e4a308a3c8c86a656d980ce7974617eed09a851c17f10d190ad59ddf438340a6a82d3beba7f2521e9082d11a46c12cc6e4f9c6a8045
7
+ data.tar.gz: 8f1dadbad87f775e9a7f06919c48040c68c4757d8412f59059d8a77ccfa52ce0d07ed83184fda08834c3d27b4451024811b074c42edd3aa3d42fcd76d2fff02f
@@ -146,5 +146,67 @@ module DaytonaApiClient
146
146
  end
147
147
  return data, status_code, headers
148
148
  end
149
+
150
+ # Refresh cached endpoint presence flag for an organization
151
+ # @param organization_id [String]
152
+ # @param [Hash] opts the optional parameters
153
+ # @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
154
+ # @return [nil]
155
+ def webhook_controller_refresh_endpoints(organization_id, opts = {})
156
+ webhook_controller_refresh_endpoints_with_http_info(organization_id, opts)
157
+ nil
158
+ end
159
+
160
+ # Refresh cached endpoint presence flag for an organization
161
+ # @param organization_id [String]
162
+ # @param [Hash] opts the optional parameters
163
+ # @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
164
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
165
+ def webhook_controller_refresh_endpoints_with_http_info(organization_id, opts = {})
166
+ if @api_client.config.debugging
167
+ @api_client.config.logger.debug 'Calling API: WebhooksApi.webhook_controller_refresh_endpoints ...'
168
+ end
169
+ # verify the required parameter 'organization_id' is set
170
+ if @api_client.config.client_side_validation && organization_id.nil?
171
+ fail ArgumentError, "Missing the required parameter 'organization_id' when calling WebhooksApi.webhook_controller_refresh_endpoints"
172
+ end
173
+ # resource path
174
+ local_var_path = '/webhooks/organizations/{organizationId}/refresh-endpoints'.sub('{' + 'organizationId' + '}', CGI.escape(organization_id.to_s))
175
+
176
+ # query parameters
177
+ query_params = opts[:query_params] || {}
178
+
179
+ # header parameters
180
+ header_params = opts[:header_params] || {}
181
+ header_params[:'X-Daytona-Organization-ID'] = opts[:'x_daytona_organization_id'] if !opts[:'x_daytona_organization_id'].nil?
182
+
183
+ # form parameters
184
+ form_params = opts[:form_params] || {}
185
+
186
+ # http body (model)
187
+ post_body = opts[:debug_body]
188
+
189
+ # return_type
190
+ return_type = opts[:debug_return_type]
191
+
192
+ # auth_names
193
+ auth_names = opts[:debug_auth_names] || ['bearer', 'oauth2']
194
+
195
+ new_options = opts.merge(
196
+ :operation => :"WebhooksApi.webhook_controller_refresh_endpoints",
197
+ :header_params => header_params,
198
+ :query_params => query_params,
199
+ :form_params => form_params,
200
+ :body => post_body,
201
+ :auth_names => auth_names,
202
+ :return_type => return_type
203
+ )
204
+
205
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
206
+ if @api_client.config.debugging
207
+ @api_client.config.logger.debug "API called: WebhooksApi#webhook_controller_refresh_endpoints\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
208
+ end
209
+ return data, status_code, headers
210
+ end
149
211
  end
150
212
  end
@@ -11,5 +11,5 @@ Generator version: 7.21.0
11
11
  =end
12
12
 
13
13
  module DaytonaApiClient
14
- VERSION = '0.175.0'
14
+ VERSION = '0.176.0'
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daytona_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.175.0
4
+ version: 0.176.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - daytonaio