axhub-sdk 0.9.0 → 0.10.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: d9a76147ad06210fd5131d34ae3fb1cf734fac6aab7bdac72ec4afa1e25c872e
4
- data.tar.gz: 0a5a842be1799fe97709a963722b356ca29568807d9a705331574ce63cf203b4
3
+ metadata.gz: b774b0d97f8976d6bc3fb143e3b5c9101b71e01bc987d6a21e24595dfbc2a7d6
4
+ data.tar.gz: a13dd621de01d1fac54c954b136d9c04c0fe686ca7599ae58120d1651d9a2ab5
5
5
  SHA512:
6
- metadata.gz: e0bd45e15ee177e343224aafb282bf4b6a8729e0882799abf6a9ccb0a98bef1e37b3ae43a0d0342f666378d7ec1507ea37fe4ffc3df649df12ea57d0cee0a941
7
- data.tar.gz: 02f9d957d4616d374ae12ebd0795f3511e0b97ab17aa3ab59084a3299dddcba284e3ddfa3d75147982dbbc1a82b4bba633b3dfef5331ec3cdf8f28dd493e28ad
6
+ metadata.gz: c2e1cba9886d561fdf0df10cedc27bda37e5921b4ec43df87a64718a66ccb1164d7ad6f896d1cb0cba66926c397b93e3aeb9799884de6810dca31ed4a832b482
7
+ data.tar.gz: 0d5213ed092b214cd1f1081be2ca7d16c4fe155aee8bbd24fc7ad64f5adad98e7d7399104c48d6b9cf2aae1c83919f7aeaa3f23962e00bde8074be4b81878a81
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AxHub
4
- VERSION = '0.9.0'
4
+ VERSION = '0.10.0'
5
5
  end
data/lib/axhub_sdk.rb CHANGED
@@ -95,6 +95,7 @@ module AxHub
95
95
  { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/me/connectors", 'tag' => "Gateway", 'operationId' => "gatewayGetApiV1TenantsByTenantIDMeConnectors" },
96
96
  { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/me/connectors/{connectorID}/resources", 'tag' => "Gateway", 'operationId' => "gatewayGetApiV1TenantsByTenantIDMeConnectorsByConnectorIDResources" },
97
97
  { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/me/grants", 'tag' => "Authorization", 'operationId' => "authorizationGetApiV1TenantsByTenantIDMeGrants" },
98
+ { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/org-directory", 'tag' => "Tenants", 'operationId' => "tenantsGetApiV1TenantsByTenantIDOrgDirectory" },
98
99
  { 'method' => "GET", 'path' => "/api/v1/users/me/apps", 'tag' => "Apps", 'operationId' => "appsGetApiV1UsersMeApps" },
99
100
  { 'method' => "POST", 'path' => "/auth/logout", 'tag' => "Auth", 'operationId' => "authPostAuthLogout" },
100
101
  { 'method' => "POST", 'path' => "/auth/refresh", 'tag' => "Auth", 'operationId' => "authPostAuthRefresh" },
@@ -117,6 +118,7 @@ module AxHub
117
118
  "already_settled" => ErrorInfo.new("conflict", 409, false),
118
119
  "already_suspended" => ErrorInfo.new("conflict", 409, false),
119
120
  "already_terminal" => ErrorInfo.new("conflict", 409, false),
121
+ "app_archived" => ErrorInfo.new("precondition_failed", 412, false),
120
122
  "app_unavailable" => ErrorInfo.new("conflict", 409, false),
121
123
  "auth_expired" => ErrorInfo.new("unavailable", 503, false),
122
124
  "bad_request" => ErrorInfo.new("validation", 400, false),
@@ -136,6 +138,7 @@ module AxHub
136
138
  "feature_not_in_plan" => ErrorInfo.new("permission_denied", 403, false),
137
139
  "final_visibility_too_wide" => ErrorInfo.new("validation", 400, false),
138
140
  "forbidden" => ErrorInfo.new("permission_denied", 403, false),
141
+ "git_connection_required" => ErrorInfo.new("precondition_failed", 412, false),
139
142
  "github_device_flow_disabled" => ErrorInfo.new("unavailable", 503, false),
140
143
  "grant_already_terminal" => ErrorInfo.new("conflict", 409, false),
141
144
  "grant_conflict" => ErrorInfo.new("conflict", 409, false),
@@ -147,6 +150,8 @@ module AxHub
147
150
  "invalid_expiry" => ErrorInfo.new("validation", 400, false),
148
151
  "invalid_format" => ErrorInfo.new("validation", 400, false),
149
152
  "invalid_oauth_state" => ErrorInfo.new("validation", 400, false),
153
+ "invalid_period" => ErrorInfo.new("validation", 400, false),
154
+ "invalid_seat_count" => ErrorInfo.new("validation", 400, false),
150
155
  "invalid_state_transition" => ErrorInfo.new("conflict", 409, false),
151
156
  "invalid_target" => ErrorInfo.new("conflict", 409, false),
152
157
  "invalid_value" => ErrorInfo.new("validation", 400, false),
@@ -195,6 +200,7 @@ module AxHub
195
200
  "staging_required" => ErrorInfo.new("precondition_failed", 412, false),
196
201
  "static_release_in_use" => ErrorInfo.new("conflict", 409, false),
197
202
  "static_release_not_ready" => ErrorInfo.new("precondition_failed", 412, false),
203
+ "subdomain_not_configured" => ErrorInfo.new("precondition_failed", 412, false),
198
204
  "temporarily_unavailable" => ErrorInfo.new("unavailable", 429, true),
199
205
  "token_expired" => ErrorInfo.new("unauthenticated", 401, true),
200
206
  "token_invalid" => ErrorInfo.new("unauthenticated", 401, true),
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: axhub-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jocoding AX Partners
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-07-02 00:00:00.000000000 Z
11
+ date: 2026-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest