daytona_api_client 0.211.2 → 0.215.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: e3fa0a15c2a755ded8d4c2bb030aaf179e5a9436ce7e2a76147338b7e4810300
4
- data.tar.gz: 3f4e04bc1e9022eef4af544609b89735b96959b2c5f98dfcd9e606bc085e1f12
3
+ metadata.gz: 476487dcf50801922307dd1ed346f6560e05e8c3102c1c9443175917cafad002
4
+ data.tar.gz: 18a2a2cf6379031bdd0b6adc207229ea240bbe2f20c95a5fdeb06404eacb0ad9
5
5
  SHA512:
6
- metadata.gz: 06c38ad158a440393e689006dd35c4ba2960e5b4787731e965f0c71d3078f0e6edf6c7d967e2e0ab7d8693b13707f2a9e361396182ed52e9c689c25037276ca3
7
- data.tar.gz: 2f4477baf86a261378bfb158f0b0b6fe35b586f65d6c0ecf5a01daa71e847bd856abe9d5176f27eb3293cf28dd97988f051f04bf3e42cc2511c15f16c8f96ef7
6
+ metadata.gz: 0ad7a2816ca8dd328d018db5c5fe610bf589facbe715237634c70868a795c6cd35891857cac86bacbafa052e1ed187c4999b128767544406e8eb39994a658647
7
+ data.tar.gz: e57357d8d8d4901b14a3fec6a0e776445293819a41645243ed325c2ba47b6ca61f476c286d4d7edf5cf904b70d8132ac8b3e788c382399c2f5b39999595d55dd
@@ -79,8 +79,8 @@ module DaytonaApiClient
79
79
  # Get audit logs for organization
80
80
  # @param organization_id [String] Organization ID
81
81
  # @param [Hash] opts the optional parameters
82
- # @option opts [Float] :page Page number of the results (default to 1)
83
- # @option opts [Float] :limit Number of results per page (default to 100)
82
+ # @option opts [Integer] :page Page number of the results (default to 1)
83
+ # @option opts [Integer] :limit Number of results per page (default to 100)
84
84
  # @option opts [Time] :from Deprecated alias for `createdAt[gte]`. From date (ISO 8601 format).
85
85
  # @option opts [Time] :to Deprecated alias for `createdAt[lte]`. To date (ISO 8601 format).
86
86
  # @option opts [String] :next_token Token for cursor-based pagination. When provided, takes precedence over page parameter.
@@ -103,8 +103,8 @@ module DaytonaApiClient
103
103
  # Get audit logs for organization
104
104
  # @param organization_id [String] Organization ID
105
105
  # @param [Hash] opts the optional parameters
106
- # @option opts [Float] :page Page number of the results (default to 1)
107
- # @option opts [Float] :limit Number of results per page (default to 100)
106
+ # @option opts [Integer] :page Page number of the results (default to 1)
107
+ # @option opts [Integer] :limit Number of results per page (default to 100)
108
108
  # @option opts [Time] :from Deprecated alias for `createdAt[gte]`. From date (ISO 8601 format).
109
109
  # @option opts [Time] :to Deprecated alias for `createdAt[lte]`. To date (ISO 8601 format).
110
110
  # @option opts [String] :next_token Token for cursor-based pagination. When provided, takes precedence over page parameter.
@@ -83,10 +83,10 @@ module DaytonaApiClient
83
83
  # List jobs for the runner
84
84
  # Returns a paginated list of jobs for the runner, optionally filtered by status.
85
85
  # @param [Hash] opts the optional parameters
86
- # @option opts [Float] :page Page number of the results (default to 1)
87
- # @option opts [Float] :limit Maximum number of jobs to return (default: 100, max: 500) (default to 100)
86
+ # @option opts [Integer] :page Page number of the results (default to 1)
87
+ # @option opts [Integer] :limit Maximum number of jobs to return (default: 100, max: 500) (default to 100)
88
88
  # @option opts [JobStatus] :status Filter jobs by status
89
- # @option opts [Float] :offset Number of jobs to skip for pagination (default: 0)
89
+ # @option opts [Integer] :offset Number of jobs to skip for pagination (default: 0)
90
90
  # @return [PaginatedJobs]
91
91
  def list_jobs(opts = {})
92
92
  data, _status_code, _headers = list_jobs_with_http_info(opts)
@@ -96,10 +96,10 @@ module DaytonaApiClient
96
96
  # List jobs for the runner
97
97
  # Returns a paginated list of jobs for the runner, optionally filtered by status.
98
98
  # @param [Hash] opts the optional parameters
99
- # @option opts [Float] :page Page number of the results (default to 1)
100
- # @option opts [Float] :limit Maximum number of jobs to return (default: 100, max: 500) (default to 100)
99
+ # @option opts [Integer] :page Page number of the results (default to 1)
100
+ # @option opts [Integer] :limit Maximum number of jobs to return (default: 100, max: 500) (default to 100)
101
101
  # @option opts [JobStatus] :status Filter jobs by status
102
- # @option opts [Float] :offset Number of jobs to skip for pagination (default: 0)
102
+ # @option opts [Integer] :offset Number of jobs to skip for pagination (default: 0)
103
103
  # @return [Array<(PaginatedJobs, Integer, Hash)>] PaginatedJobs data, response status code and response headers
104
104
  def list_jobs_with_http_info(opts = {})
105
105
  if @api_client.config.debugging
@@ -164,8 +164,8 @@ module DaytonaApiClient
164
164
  # Long poll for jobs
165
165
  # Long poll endpoint for runners to fetch pending jobs. Returns immediately if jobs are available, otherwise waits up to timeout seconds.
166
166
  # @param [Hash] opts the optional parameters
167
- # @option opts [Float] :timeout Timeout in seconds for long polling (default: 30, max: 60)
168
- # @option opts [Float] :limit Maximum number of jobs to return (default: 10, max: 100)
167
+ # @option opts [Integer] :timeout Timeout in seconds for long polling (default: 30, max: 60)
168
+ # @option opts [Integer] :limit Maximum number of jobs to return (default: 10, max: 100)
169
169
  # @return [PollJobsResponse]
170
170
  def poll_jobs(opts = {})
171
171
  data, _status_code, _headers = poll_jobs_with_http_info(opts)
@@ -175,8 +175,8 @@ module DaytonaApiClient
175
175
  # Long poll for jobs
176
176
  # Long poll endpoint for runners to fetch pending jobs. Returns immediately if jobs are available, otherwise waits up to timeout seconds.
177
177
  # @param [Hash] opts the optional parameters
178
- # @option opts [Float] :timeout Timeout in seconds for long polling (default: 30, max: 60)
179
- # @option opts [Float] :limit Maximum number of jobs to return (default: 10, max: 100)
178
+ # @option opts [Integer] :timeout Timeout in seconds for long polling (default: 30, max: 60)
179
+ # @option opts [Integer] :limit Maximum number of jobs to return (default: 10, max: 100)
180
180
  # @return [Array<(PollJobsResponse, Integer, Hash)>] PollJobsResponse data, response status code and response headers
181
181
  def poll_jobs_with_http_info(opts = {})
182
182
  if @api_client.config.debugging
@@ -1109,8 +1109,8 @@ module DaytonaApiClient
1109
1109
  # @param to [Time] End of time range (ISO 8601)
1110
1110
  # @param [Hash] opts the optional parameters
1111
1111
  # @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
1112
- # @option opts [Float] :page Page number (1-indexed) (default to 1)
1113
- # @option opts [Float] :limit Number of items per page (default to 100)
1112
+ # @option opts [Integer] :page Page number (1-indexed) (default to 1)
1113
+ # @option opts [Integer] :limit Number of items per page (default to 100)
1114
1114
  # @option opts [Array<String>] :severities Filter by severity levels (DEBUG, INFO, WARN, ERROR)
1115
1115
  # @option opts [String] :search Search in log body
1116
1116
  # @return [PaginatedLogs]
@@ -1126,8 +1126,8 @@ module DaytonaApiClient
1126
1126
  # @param to [Time] End of time range (ISO 8601)
1127
1127
  # @param [Hash] opts the optional parameters
1128
1128
  # @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
1129
- # @option opts [Float] :page Page number (1-indexed) (default to 1)
1130
- # @option opts [Float] :limit Number of items per page (default to 100)
1129
+ # @option opts [Integer] :page Page number (1-indexed) (default to 1)
1130
+ # @option opts [Integer] :limit Number of items per page (default to 100)
1131
1131
  # @option opts [Array<String>] :severities Filter by severity levels (DEBUG, INFO, WARN, ERROR)
1132
1132
  # @option opts [String] :search Search in log body
1133
1133
  # @return [Array<(PaginatedLogs, Integer, Hash)>] PaginatedLogs data, response status code and response headers
@@ -1484,8 +1484,8 @@ module DaytonaApiClient
1484
1484
  # @param to [Time] End of time range (ISO 8601)
1485
1485
  # @param [Hash] opts the optional parameters
1486
1486
  # @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
1487
- # @option opts [Float] :page Page number (1-indexed) (default to 1)
1488
- # @option opts [Float] :limit Number of items per page (default to 100)
1487
+ # @option opts [Integer] :page Page number (1-indexed) (default to 1)
1488
+ # @option opts [Integer] :limit Number of items per page (default to 100)
1489
1489
  # @return [PaginatedTraces]
1490
1490
  def get_sandbox_traces(sandbox_id, from, to, opts = {})
1491
1491
  data, _status_code, _headers = get_sandbox_traces_with_http_info(sandbox_id, from, to, opts)
@@ -1499,8 +1499,8 @@ module DaytonaApiClient
1499
1499
  # @param to [Time] End of time range (ISO 8601)
1500
1500
  # @param [Hash] opts the optional parameters
1501
1501
  # @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
1502
- # @option opts [Float] :page Page number (1-indexed) (default to 1)
1503
- # @option opts [Float] :limit Number of items per page (default to 100)
1502
+ # @option opts [Integer] :page Page number (1-indexed) (default to 1)
1503
+ # @option opts [Integer] :limit Number of items per page (default to 100)
1504
1504
  # @return [Array<(PaginatedTraces, Integer, Hash)>] PaginatedTraces data, response status code and response headers
1505
1505
  def get_sandbox_traces_with_http_info(sandbox_id, from, to, opts = {})
1506
1506
  if @api_client.config.debugging
@@ -1769,7 +1769,7 @@ module DaytonaApiClient
1769
1769
  # @param [Hash] opts the optional parameters
1770
1770
  # @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
1771
1771
  # @option opts [String] :cursor Pagination cursor from a previous response
1772
- # @option opts [Float] :limit Number of results per page (default to 100)
1772
+ # @option opts [Integer] :limit Number of results per page (default to 100)
1773
1773
  # @option opts [String] :id Filter by ID prefix (case-insensitive)
1774
1774
  # @option opts [String] :name Filter by name prefix (case-insensitive)
1775
1775
  # @option opts [String] :labels JSON encoded labels to filter by
@@ -1806,7 +1806,7 @@ module DaytonaApiClient
1806
1806
  # @param [Hash] opts the optional parameters
1807
1807
  # @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
1808
1808
  # @option opts [String] :cursor Pagination cursor from a previous response
1809
- # @option opts [Float] :limit Number of results per page (default to 100)
1809
+ # @option opts [Integer] :limit Number of results per page (default to 100)
1810
1810
  # @option opts [String] :id Filter by ID prefix (case-insensitive)
1811
1811
  # @option opts [String] :name Filter by name prefix (case-insensitive)
1812
1812
  # @option opts [String] :labels JSON encoded labels to filter by
@@ -1940,8 +1940,8 @@ module DaytonaApiClient
1940
1940
  # [DEPRECATED] List all sandboxes paginated
1941
1941
  # @param [Hash] opts the optional parameters
1942
1942
  # @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
1943
- # @option opts [Float] :page Page number of the results (default to 1)
1944
- # @option opts [Float] :limit Number of results per page (default to 100)
1943
+ # @option opts [Integer] :page Page number of the results (default to 1)
1944
+ # @option opts [Integer] :limit Number of results per page (default to 100)
1945
1945
  # @option opts [String] :id Filter by partial ID match
1946
1946
  # @option opts [String] :name Filter by partial name match
1947
1947
  # @option opts [String] :labels JSON encoded labels to filter by
@@ -1968,8 +1968,8 @@ module DaytonaApiClient
1968
1968
  # [DEPRECATED] List all sandboxes paginated
1969
1969
  # @param [Hash] opts the optional parameters
1970
1970
  # @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
1971
- # @option opts [Float] :page Page number of the results (default to 1)
1972
- # @option opts [Float] :limit Number of results per page (default to 100)
1971
+ # @option opts [Integer] :page Page number of the results (default to 1)
1972
+ # @option opts [Integer] :limit Number of results per page (default to 100)
1973
1973
  # @option opts [String] :id Filter by partial ID match
1974
1974
  # @option opts [String] :name Filter by partial name match
1975
1975
  # @option opts [String] :labels JSON encoded labels to filter by
@@ -278,7 +278,7 @@ module DaytonaApiClient
278
278
  # @param [Hash] opts the optional parameters
279
279
  # @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
280
280
  # @option opts [String] :cursor Pagination cursor from a previous response
281
- # @option opts [Float] :limit Number of results per page (default to 100)
281
+ # @option opts [Integer] :limit Number of results per page (default to 100)
282
282
  # @option opts [String] :name Filter by partial name match
283
283
  # @option opts [String] :sort Field to sort by (default to 'createdAt')
284
284
  # @option opts [String] :order Direction to sort by (default to 'desc')
@@ -292,7 +292,7 @@ module DaytonaApiClient
292
292
  # @param [Hash] opts the optional parameters
293
293
  # @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
294
294
  # @option opts [String] :cursor Pagination cursor from a previous response
295
- # @option opts [Float] :limit Number of results per page (default to 100)
295
+ # @option opts [Integer] :limit Number of results per page (default to 100)
296
296
  # @option opts [String] :name Filter by partial name match
297
297
  # @option opts [String] :sort Field to sort by (default to 'createdAt')
298
298
  # @option opts [String] :order Direction to sort by (default to 'desc')
@@ -217,8 +217,8 @@ module DaytonaApiClient
217
217
  # List all snapshots
218
218
  # @param [Hash] opts the optional parameters
219
219
  # @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
220
- # @option opts [Float] :page Page number of the results (default to 1)
221
- # @option opts [Float] :limit Number of results per page (default to 100)
220
+ # @option opts [Integer] :page Page number of the results (default to 1)
221
+ # @option opts [Integer] :limit Number of results per page (default to 100)
222
222
  # @option opts [String] :name Filter by partial name match
223
223
  # @option opts [String] :source_sandbox_id Filter by the ID of the sandbox the snapshot was created from
224
224
  # @option opts [String] :sort Field to sort by (default to 'lastUsedAt')
@@ -232,8 +232,8 @@ module DaytonaApiClient
232
232
  # List all snapshots
233
233
  # @param [Hash] opts the optional parameters
234
234
  # @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
235
- # @option opts [Float] :page Page number of the results (default to 1)
236
- # @option opts [Float] :limit Number of results per page (default to 100)
235
+ # @option opts [Integer] :page Page number of the results (default to 1)
236
+ # @option opts [Integer] :limit Number of results per page (default to 100)
237
237
  # @option opts [String] :name Filter by partial name match
238
238
  # @option opts [String] :source_sandbox_id Filter by the ID of the sandbox the snapshot was created from
239
239
  # @option opts [String] :sort Field to sort by (default to 'lastUsedAt')
@@ -47,7 +47,7 @@ module DaytonaApiClient
47
47
  def self.openapi_types
48
48
  {
49
49
  :'items' => :'Array<Secret>',
50
- :'total' => :'Float',
50
+ :'total' => :'Integer',
51
51
  :'next_cursor' => :'String'
52
52
  }
53
53
  end
@@ -51,9 +51,9 @@ module DaytonaApiClient
51
51
  def self.openapi_types
52
52
  {
53
53
  :'items' => :'Array<AuditLog>',
54
- :'total' => :'Float',
55
- :'page' => :'Float',
56
- :'total_pages' => :'Float',
54
+ :'total' => :'Integer',
55
+ :'page' => :'Integer',
56
+ :'total_pages' => :'Integer',
57
57
  :'next_token' => :'String'
58
58
  }
59
59
  end
@@ -47,9 +47,9 @@ module DaytonaApiClient
47
47
  def self.openapi_types
48
48
  {
49
49
  :'items' => :'Array<Job>',
50
- :'total' => :'Float',
51
- :'page' => :'Float',
52
- :'total_pages' => :'Float'
50
+ :'total' => :'Integer',
51
+ :'page' => :'Integer',
52
+ :'total_pages' => :'Integer'
53
53
  }
54
54
  end
55
55
 
@@ -51,9 +51,9 @@ module DaytonaApiClient
51
51
  def self.openapi_types
52
52
  {
53
53
  :'items' => :'Array<LogEntry>',
54
- :'total' => :'Float',
55
- :'page' => :'Float',
56
- :'total_pages' => :'Float'
54
+ :'total' => :'Integer',
55
+ :'page' => :'Integer',
56
+ :'total_pages' => :'Integer'
57
57
  }
58
58
  end
59
59
 
@@ -47,9 +47,9 @@ module DaytonaApiClient
47
47
  def self.openapi_types
48
48
  {
49
49
  :'items' => :'Array<Sandbox>',
50
- :'total' => :'Float',
51
- :'page' => :'Float',
52
- :'total_pages' => :'Float'
50
+ :'total' => :'Integer',
51
+ :'page' => :'Integer',
52
+ :'total_pages' => :'Integer'
53
53
  }
54
54
  end
55
55
 
@@ -47,9 +47,9 @@ module DaytonaApiClient
47
47
  def self.openapi_types
48
48
  {
49
49
  :'items' => :'Array<SnapshotDto>',
50
- :'total' => :'Float',
51
- :'page' => :'Float',
52
- :'total_pages' => :'Float'
50
+ :'total' => :'Integer',
51
+ :'page' => :'Integer',
52
+ :'total_pages' => :'Integer'
53
53
  }
54
54
  end
55
55
 
@@ -51,9 +51,9 @@ module DaytonaApiClient
51
51
  def self.openapi_types
52
52
  {
53
53
  :'items' => :'Array<TraceSummary>',
54
- :'total' => :'Float',
55
- :'page' => :'Float',
56
- :'total_pages' => :'Float'
54
+ :'total' => :'Integer',
55
+ :'page' => :'Integer',
56
+ :'total_pages' => :'Integer'
57
57
  }
58
58
  end
59
59
 
@@ -242,13 +242,13 @@ module DaytonaApiClient
242
242
  :'outbound_proxy_url' => :'String',
243
243
  :'otel_endpoint_override' => :'String',
244
244
  :'target' => :'String',
245
- :'cpu' => :'Float',
246
- :'gpu' => :'Float',
245
+ :'cpu' => :'Integer',
246
+ :'gpu' => :'Integer',
247
247
  :'spot' => :'Boolean',
248
248
  :'spot_evicted_at' => :'String',
249
249
  :'gpu_type' => :'GpuType',
250
- :'memory' => :'Float',
251
- :'disk' => :'Float',
250
+ :'memory' => :'Integer',
251
+ :'disk' => :'Integer',
252
252
  :'state' => :'SandboxState',
253
253
  :'desired_state' => :'SandboxDesiredState',
254
254
  :'error_reason' => :'String',
@@ -216,13 +216,13 @@ module DaytonaApiClient
216
216
  :'network_block_all' => :'Boolean',
217
217
  :'network_allow_list' => :'String',
218
218
  :'domain_allow_list' => :'String',
219
- :'cpu' => :'Float',
220
- :'gpu' => :'Float',
219
+ :'cpu' => :'Integer',
220
+ :'gpu' => :'Integer',
221
221
  :'spot' => :'Boolean',
222
222
  :'spot_evicted_at' => :'String',
223
223
  :'gpu_type' => :'GpuType',
224
- :'memory' => :'Float',
225
- :'disk' => :'Float',
224
+ :'memory' => :'Integer',
225
+ :'disk' => :'Integer',
226
226
  :'labels' => :'Hash<String, String>',
227
227
  :'backup_state' => :'String',
228
228
  :'auto_stop_interval' => :'Float',
@@ -11,5 +11,5 @@ Generator version: 7.21.0
11
11
  =end
12
12
 
13
13
  module DaytonaApiClient
14
- VERSION = '0.211.2'
14
+ VERSION = '0.215.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.211.2
4
+ version: 0.215.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - daytona