axhub-sdk 0.8.0 → 0.9.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: b05fc409d0332a6e77331fa9b8d893fde93d99b022b6209f9159faabf3d2d38e
4
- data.tar.gz: a8fcbda4d4ec7be14156c3f70e605100e0d372f267826e77d7fe969f986661cf
3
+ metadata.gz: d9a76147ad06210fd5131d34ae3fb1cf734fac6aab7bdac72ec4afa1e25c872e
4
+ data.tar.gz: 0a5a842be1799fe97709a963722b356ca29568807d9a705331574ce63cf203b4
5
5
  SHA512:
6
- metadata.gz: 1b8e7c144ad7949bbb4eef4453e67f6786b21d5596e2a432aeef7455eee6f6d8424587a971ac1f930718684a1bf0cb1f6d14153b137042fe174dd97b4c1af5a9
7
- data.tar.gz: 74b8bca75475ba90f5fb9aed68a1151633dab2a3981990abbd5cff81a41d979b0c79db912e3a63158851aa292b5a4135f2b3884986a821275a1a6b4cc2f7a86e
6
+ metadata.gz: e0bd45e15ee177e343224aafb282bf4b6a8729e0882799abf6a9ccb0a98bef1e37b3ae43a0d0342f666378d7ec1507ea37fe4ffc3df649df12ea57d0cee0a941
7
+ data.tar.gz: 02f9d957d4616d374ae12ebd0795f3511e0b97ab17aa3ab59084a3299dddcba284e3ddfa3d75147982dbbc1a82b4bba633b3dfef5331ec3cdf8f28dd493e28ad
@@ -16,7 +16,7 @@ module AxHub
16
16
  end
17
17
 
18
18
  class Client
19
- attr_reader :identity, :tenants, :authz, :audit, :gateway, :cost, :data, :deployments
19
+ attr_reader :identity, :tenants, :authz, :audit, :gateway, :data, :deployments
20
20
  alias __axhub_original_initialize initialize unless method_defined?(:__axhub_original_initialize)
21
21
  def initialize(*args, **kwargs)
22
22
  __axhub_original_initialize(*args, **kwargs)
@@ -25,7 +25,6 @@ module AxHub
25
25
  @authz = OperationClient.new(self)
26
26
  @audit = OperationClient.new(self)
27
27
  @gateway = OperationClient.new(self)
28
- @cost = OperationClient.new(self)
29
28
  @data = OperationClient.new(self)
30
29
  @deployments = OperationClient.new(self)
31
30
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AxHub
4
- VERSION = '0.8.0'
4
+ VERSION = '0.9.0'
5
5
  end
data/lib/axhub_sdk.rb CHANGED
@@ -19,11 +19,6 @@ module AxHub
19
19
  { 'method' => "GET", 'path' => "/.well-known/jwks.json", 'tag' => "Auth", 'operationId' => "authGetWellKnownJwksJson" },
20
20
  { 'method' => "GET", 'path' => "/.well-known/oauth-authorization-server", 'tag' => "Auth", 'operationId' => "authGetWellKnownOauthAuthorizationServer" },
21
21
  { 'method' => "GET", 'path' => "/.well-known/openid-configuration", 'tag' => "Auth", 'operationId' => "authGetWellKnownOpenidConfiguration" },
22
- { 'method' => "GET", 'path' => "/api/v1/admin/templates", 'tag' => "Apps", 'operationId' => "appsGetApiV1AdminTemplates" },
23
- { 'method' => "POST", 'path' => "/api/v1/admin/templates", 'tag' => "Apps", 'operationId' => "appsPostApiV1AdminTemplates" },
24
- { 'method' => "GET", 'path' => "/api/v1/admin/templates/{templateID}", 'tag' => "Apps", 'operationId' => "appsGetApiV1AdminTemplatesByTemplateID" },
25
- { 'method' => "PATCH", 'path' => "/api/v1/admin/templates/{templateID}", 'tag' => "Apps", 'operationId' => "appsPatchApiV1AdminTemplatesByTemplateID" },
26
- { 'method' => "POST", 'path' => "/api/v1/admin/users/{uid}/revoke-all", 'tag' => "Auth", 'operationId' => "authPostApiV1AdminUsersByUidRevokeAll" },
27
22
  { 'method' => "DELETE", 'path' => "/api/v1/apps/{appID}", 'tag' => "Apps", 'operationId' => "appsDeleteApiV1AppsByAppID" },
28
23
  { 'method' => "GET", 'path' => "/api/v1/apps/{appID}", 'tag' => "Apps", 'operationId' => "appsGetApiV1AppsByAppID" },
29
24
  { 'method' => "PATCH", 'path' => "/api/v1/apps/{appID}", 'tag' => "Apps", 'operationId' => "appsPatchApiV1AppsByAppID" },
@@ -43,7 +38,6 @@ module AxHub
43
38
  { 'method' => "GET", 'path' => "/api/v1/apps/{appID}/diagnosis", 'tag' => "Deploy", 'operationId' => "deployGetApiV1AppsByAppIDDiagnosis" },
44
39
  { 'method' => "GET", 'path' => "/api/v1/apps/{appID}/env-vars", 'tag' => "Apps", 'operationId' => "appsGetApiV1AppsByAppIDEnvVars" },
45
40
  { 'method' => "POST", 'path' => "/api/v1/apps/{appID}/env-vars", 'tag' => "Apps", 'operationId' => "appsPostApiV1AppsByAppIDEnvVars" },
46
- { 'method' => "DELETE", 'path' => "/api/v1/apps/{appID}/env-vars/{key}", 'tag' => "Apps", 'operationId' => "appsDeleteApiV1AppsByAppIDEnvVarsByKey" },
47
41
  { 'method' => "PUT", 'path' => "/api/v1/apps/{appID}/env-vars/{key}/staging-value", 'tag' => "Apps", 'operationId' => "appsPutApiV1AppsByAppIDEnvVarsByKeyStagingValue" },
48
42
  { 'method' => "DELETE", 'path' => "/api/v1/apps/{appID}/git-connection", 'tag' => "Deploy", 'operationId' => "deployDeleteApiV1AppsByAppIDGitConnection" },
49
43
  { 'method' => "GET", 'path' => "/api/v1/apps/{appID}/git-connection", 'tag' => "Deploy", 'operationId' => "deployGetApiV1AppsByAppIDGitConnection" },
@@ -51,188 +45,62 @@ module AxHub
51
45
  { 'method' => "POST", 'path' => "/api/v1/apps/{appID}/git-connection", 'tag' => "Deploy", 'operationId' => "deployPostApiV1AppsByAppIDGitConnection" },
52
46
  { 'method' => "POST", 'path' => "/api/v1/apps/{appID}/git/github/connect", 'tag' => "Deploy", 'operationId' => "deployPostApiV1AppsByAppIDGitGithubConnect" },
53
47
  { 'method' => "GET", 'path' => "/api/v1/apps/{appID}/git/github/install/start", 'tag' => "Deploy", 'operationId' => "deployGetApiV1AppsByAppIDGitGithubInstallStart" },
54
- { 'method' => "POST", 'path' => "/api/v1/apps/{appID}/icon-dark/upload-url", 'tag' => "Apps", 'operationId' => "appsPostApiV1AppsByAppIDIconDarkUploadUrl" },
55
- { 'method' => "POST", 'path' => "/api/v1/apps/{appID}/icon/upload-url", 'tag' => "Apps", 'operationId' => "appsPostApiV1AppsByAppIDIconUploadUrl" },
56
- { 'method' => "POST", 'path' => "/api/v1/apps/{appID}/invitations", 'tag' => "Apps", 'operationId' => "appsPostApiV1AppsByAppIDInvitations" },
57
- { 'method' => "DELETE", 'path' => "/api/v1/apps/{appID}/invitations/{userID}", 'tag' => "Apps", 'operationId' => "appsDeleteApiV1AppsByAppIDInvitationsByUserID" },
58
48
  { 'method' => "DELETE", 'path' => "/api/v1/apps/{appID}/likes", 'tag' => "Apps", 'operationId' => "appsDeleteApiV1AppsByAppIDLikes" },
59
49
  { 'method' => "POST", 'path' => "/api/v1/apps/{appID}/likes", 'tag' => "Apps", 'operationId' => "appsPostApiV1AppsByAppIDLikes" },
60
50
  { 'method' => "GET", 'path' => "/api/v1/apps/{appID}/likes/me", 'tag' => "Apps", 'operationId' => "appsGetApiV1AppsByAppIDLikesMe" },
61
51
  { 'method' => "GET", 'path' => "/api/v1/apps/{appID}/logs", 'tag' => "Deploy", 'operationId' => "deployGetApiV1AppsByAppIDLogs" },
62
- { 'method' => "GET", 'path' => "/api/v1/apps/{appID}/members", 'tag' => "Apps", 'operationId' => "appsGetApiV1AppsByAppIDMembers" },
63
52
  { 'method' => "POST", 'path' => "/api/v1/apps/{appID}/oauth-clients", 'tag' => "Auth", 'operationId' => "authPostApiV1AppsByAppIDOauthClients" },
64
- { 'method' => "DELETE", 'path' => "/api/v1/apps/{appID}/permanent", 'tag' => "Apps", 'operationId' => "appsDeleteApiV1AppsByAppIDPermanent" },
65
53
  { 'method' => "POST", 'path' => "/api/v1/apps/{appID}/promotions/{requestID}/retry", 'tag' => "Deploy", 'operationId' => "deployPostApiV1AppsByAppIDPromotionsByRequestIDRetry" },
66
54
  { 'method' => "DELETE", 'path' => "/api/v1/apps/{appID}/raw-db", 'tag' => "Apps", 'operationId' => "appsDeleteApiV1AppsByAppIDRawDb" },
67
55
  { 'method' => "POST", 'path' => "/api/v1/apps/{appID}/raw-db", 'tag' => "Apps", 'operationId' => "appsPostApiV1AppsByAppIDRawDb" },
68
- { 'method' => "POST", 'path' => "/api/v1/apps/{appID}/reactivate", 'tag' => "Apps", 'operationId' => "appsPostApiV1AppsByAppIDReactivate" },
69
56
  { 'method' => "GET", 'path' => "/api/v1/apps/{appID}/releases", 'tag' => "Deploy", 'operationId' => "deployGetApiV1AppsByAppIDReleases" },
70
57
  { 'method' => "GET", 'path' => "/api/v1/apps/{appID}/releases/promote-preflight", 'tag' => "Deploy", 'operationId' => "deployGetApiV1AppsByAppIDReleasesPromotePreflight" },
71
- { 'method' => "POST", 'path' => "/api/v1/apps/{appID}/resume", 'tag' => "Apps", 'operationId' => "appsPostApiV1AppsByAppIDResume" },
72
- { 'method' => "GET", 'path' => "/api/v1/apps/{appID}/review-requests", 'tag' => "Apps", 'operationId' => "appsGetApiV1AppsByAppIDReviewRequests" },
73
- { 'method' => "POST", 'path' => "/api/v1/apps/{appID}/review-requests", 'tag' => "Apps", 'operationId' => "appsPostApiV1AppsByAppIDReviewRequests" },
74
58
  { 'method' => "DELETE", 'path' => "/api/v1/apps/{appID}/staging", 'tag' => "Deploy", 'operationId' => "deployDeleteApiV1AppsByAppIDStaging" },
75
59
  { 'method' => "PUT", 'path' => "/api/v1/apps/{appID}/staging", 'tag' => "Deploy", 'operationId' => "deployPutApiV1AppsByAppIDStaging" },
76
- { 'method' => "POST", 'path' => "/api/v1/apps/{appID}/suspend", 'tag' => "Apps", 'operationId' => "appsPostApiV1AppsByAppIDSuspend" },
77
60
  { 'method' => "GET", 'path' => "/api/v1/apps/discover", 'tag' => "Apps", 'operationId' => "appsGetApiV1AppsDiscover" },
78
61
  { 'method' => "GET", 'path' => "/api/v1/apps/search", 'tag' => "Apps", 'operationId' => "appsGetApiV1AppsSearch" },
79
62
  { 'method' => "DELETE", 'path' => "/api/v1/comments/{commentID}", 'tag' => "Apps", 'operationId' => "appsDeleteApiV1CommentsByCommentID" },
80
63
  { 'method' => "POST", 'path' => "/api/v1/git/github/complete", 'tag' => "Deploy", 'operationId' => "deployPostApiV1GitGithubComplete" },
81
64
  { 'method' => "GET", 'path' => "/api/v1/github/accounts", 'tag' => "deploy", 'operationId' => "deployGetApiV1GithubAccounts" },
82
65
  { 'method' => "GET", 'path' => "/api/v1/github/installations/{installationID}/repositories", 'tag' => "deploy", 'operationId' => "deployGetApiV1GithubInstallationsByInstallationIDRepositories" },
83
- { 'method' => "GET", 'path' => "/api/v1/invite-links/{token}", 'tag' => "Tenants", 'operationId' => "tenantsGetApiV1InviteLinksByToken" },
84
- { 'method' => "POST", 'path' => "/api/v1/invite-links/{token}/accept", 'tag' => "Tenants", 'operationId' => "tenantsPostApiV1InviteLinksByTokenAccept" },
85
66
  { 'method' => "GET", 'path' => "/api/v1/me", 'tag' => "Auth", 'operationId' => "authGetApiV1Me" },
86
67
  { 'method' => "GET", 'path' => "/api/v1/me/apps/owned", 'tag' => "Apps", 'operationId' => "appsGetApiV1MeAppsOwned" },
87
68
  { 'method' => "GET", 'path' => "/api/v1/me/apps/received", 'tag' => "Apps", 'operationId' => "appsGetApiV1MeAppsReceived" },
88
69
  { 'method' => "GET", 'path' => "/api/v1/me/apps/workspace", 'tag' => "Apps", 'operationId' => "appsGetApiV1MeAppsWorkspace" },
89
- { 'method' => "POST", 'path' => "/api/v1/me/invitations/{invitationID}/accept", 'tag' => "Auth", 'operationId' => "authPostApiV1MeInvitationsByInvitationIDAccept" },
90
70
  { 'method' => "GET", 'path' => "/api/v1/me/personal-access-tokens", 'tag' => "Schema", 'operationId' => "schemaGetApiV1MePersonalAccessTokens" },
91
71
  { 'method' => "POST", 'path' => "/api/v1/me/personal-access-tokens", 'tag' => "Schema", 'operationId' => "schemaPostApiV1MePersonalAccessTokens" },
92
72
  { 'method' => "DELETE", 'path' => "/api/v1/me/personal-access-tokens/{patID}", 'tag' => "Schema", 'operationId' => "schemaDeleteApiV1MePersonalAccessTokensByPatID" },
93
73
  { 'method' => "GET", 'path' => "/api/v1/oauth-clients/{clientID}", 'tag' => "Auth", 'operationId' => "authGetApiV1OauthClientsByClientID" },
94
74
  { 'method' => "DELETE", 'path' => "/api/v1/oauth/clients/{clientID}/grants/me", 'tag' => "Auth", 'operationId' => "authDeleteApiV1OauthClientsByClientIDGrantsMe" },
95
- { 'method' => "GET", 'path' => "/api/v1/resource-presets", 'tag' => "Apps", 'operationId' => "appsGetApiV1ResourcePresets" },
96
- { 'method' => "GET", 'path' => "/api/v1/review-requests/{rrID}", 'tag' => "Apps", 'operationId' => "appsGetApiV1ReviewRequestsByRrID" },
97
- { 'method' => "POST", 'path' => "/api/v1/review-requests/{rrID}/approve", 'tag' => "Apps", 'operationId' => "appsPostApiV1ReviewRequestsByRrIDApprove" },
98
- { 'method' => "POST", 'path' => "/api/v1/review-requests/{rrID}/reject", 'tag' => "Apps", 'operationId' => "appsPostApiV1ReviewRequestsByRrIDReject" },
99
- { 'method' => "GET", 'path' => "/api/v1/review-requests/history", 'tag' => "Apps", 'operationId' => "appsGetApiV1ReviewRequestsHistory" },
100
- { 'method' => "GET", 'path' => "/api/v1/review-requests/pending", 'tag' => "Apps", 'operationId' => "appsGetApiV1ReviewRequestsPending" },
101
- { 'method' => "GET", 'path' => "/api/v1/static-auth/start", 'tag' => "Apps", 'operationId' => "appsGetApiV1StaticAuthStart" },
102
75
  { 'method' => "GET", 'path' => "/api/v1/templates", 'tag' => "Apps", 'operationId' => "appsGetApiV1Templates" },
103
76
  { 'method' => "GET", 'path' => "/api/v1/tenants", 'tag' => "Tenants", 'operationId' => "tenantsGetApiV1Tenants" },
104
- { 'method' => "POST", 'path' => "/api/v1/tenants", 'tag' => "Tenants", 'operationId' => "tenantsPostApiV1Tenants" },
105
- { 'method' => "DELETE", 'path' => "/api/v1/tenants/{tenantID}", 'tag' => "Tenants", 'operationId' => "tenantsDeleteApiV1TenantsByTenantID" },
106
77
  { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}", 'tag' => "Tenants", 'operationId' => "tenantsGetApiV1TenantsByTenantID" },
107
- { 'method' => "PATCH", 'path' => "/api/v1/tenants/{tenantID}", 'tag' => "Tenants", 'operationId' => "tenantsPatchApiV1TenantsByTenantID" },
108
78
  { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/app-bootstraps", 'tag' => "Deploy", 'operationId' => "deployPostApiV1TenantsByTenantIDAppBootstraps" },
109
79
  { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/app-bootstraps/{bootstrapID}", 'tag' => "Deploy", 'operationId' => "deployGetApiV1TenantsByTenantIDAppBootstrapsByBootstrapID" },
110
80
  { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/apps", 'tag' => "Apps", 'operationId' => "appsGetApiV1TenantsByTenantIDApps" },
111
81
  { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/apps", 'tag' => "Apps", 'operationId' => "appsPostApiV1TenantsByTenantIDApps" },
112
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/apps/{appID}/static/releases", 'tag' => "Apps", 'operationId' => "appsGetApiV1TenantsByTenantIDAppsByAppIDStaticReleases" },
113
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/apps/{appID}/static/releases", 'tag' => "Apps", 'operationId' => "appsPostApiV1TenantsByTenantIDAppsByAppIDStaticReleases" },
114
- { 'method' => "DELETE", 'path' => "/api/v1/tenants/{tenantID}/apps/{appID}/static/releases/{releaseID}", 'tag' => "Apps", 'operationId' => "appsDeleteApiV1TenantsByTenantIDAppsByAppIDStaticReleasesByReleaseID" },
115
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/apps/{appID}/static/releases/{releaseID}/activate", 'tag' => "Apps", 'operationId' => "appsPostApiV1TenantsByTenantIDAppsByAppIDStaticReleasesByReleaseIDActivate" },
116
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/apps/{appID}/static/releases/{releaseID}/finalize", 'tag' => "Apps", 'operationId' => "appsPostApiV1TenantsByTenantIDAppsByAppIDStaticReleasesByReleaseIDFinalize" },
117
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/apps/{appID}/static/releases/{releaseID}/promote-approve", 'tag' => "Apps", 'operationId' => "appsPostApiV1TenantsByTenantIDAppsByAppIDStaticReleasesByReleaseIDPromoteApprove" },
118
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/apps/{appID}/static/releases/{releaseID}/promote-reject", 'tag' => "Apps", 'operationId' => "appsPostApiV1TenantsByTenantIDAppsByAppIDStaticReleasesByReleaseIDPromoteReject" },
119
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/apps/{appID}/static/releases/{releaseID}/promote-request", 'tag' => "Apps", 'operationId' => "appsPostApiV1TenantsByTenantIDAppsByAppIDStaticReleasesByReleaseIDPromoteRequest" },
120
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/apps/{appID}/static/releases/{releaseID}/rollback", 'tag' => "Apps", 'operationId' => "appsPostApiV1TenantsByTenantIDAppsByAppIDStaticReleasesByReleaseIDRollback" },
121
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/apps/{appID}/static/releases/{releaseID}/stage", 'tag' => "Apps", 'operationId' => "appsPostApiV1TenantsByTenantIDAppsByAppIDStaticReleasesByReleaseIDStage" },
122
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/apps/{appID}/static/site", 'tag' => "Apps", 'operationId' => "appsGetApiV1TenantsByTenantIDAppsByAppIDStaticSite" },
123
- { 'method' => "PATCH", 'path' => "/api/v1/tenants/{tenantID}/apps/{appID}/static/site", 'tag' => "Apps", 'operationId' => "appsPatchApiV1TenantsByTenantIDAppsByAppIDStaticSite" },
124
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/apps/{appID}/static/site/staging/disable", 'tag' => "Apps", 'operationId' => "appsPostApiV1TenantsByTenantIDAppsByAppIDStaticSiteStagingDisable" },
125
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/apps/{appID}/static/site/staging/enable", 'tag' => "Apps", 'operationId' => "appsPostApiV1TenantsByTenantIDAppsByAppIDStaticSiteStagingEnable" },
126
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/apps/{appID}/static/site/unpublish", 'tag' => "Apps", 'operationId' => "appsPostApiV1TenantsByTenantIDAppsByAppIDStaticSiteUnpublish" },
127
82
  { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/apps/check-availability", 'tag' => "Apps", 'operationId' => "appsGetApiV1TenantsByTenantIDAppsCheckAvailability" },
128
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/apps/icon/upload-url", 'tag' => "Apps", 'operationId' => "appsPostApiV1TenantsByTenantIDAppsIconUploadUrl" },
129
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/audit-events", 'tag' => "Audit", 'operationId' => "auditGetApiV1TenantsByTenantIDAuditEvents" },
130
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/audit-events/{eventID}", 'tag' => "Audit", 'operationId' => "auditGetApiV1TenantsByTenantIDAuditEventsByEventID" },
131
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/audit-events/anonymize", 'tag' => "Audit", 'operationId' => "auditPostApiV1TenantsByTenantIDAuditEventsAnonymize" },
132
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/audit-events/integrity-check", 'tag' => "Audit", 'operationId' => "auditGetApiV1TenantsByTenantIDAuditEventsIntegrityCheck" },
133
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/categories", 'tag' => "Apps", 'operationId' => "appsGetApiV1TenantsByTenantIDCategories" },
134
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/categories", 'tag' => "Apps", 'operationId' => "appsPostApiV1TenantsByTenantIDCategories" },
135
- { 'method' => "DELETE", 'path' => "/api/v1/tenants/{tenantID}/categories/{categoryID}", 'tag' => "Apps", 'operationId' => "appsDeleteApiV1TenantsByTenantIDCategoriesByCategoryID" },
136
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/categories/{categoryID}", 'tag' => "Apps", 'operationId' => "appsGetApiV1TenantsByTenantIDCategoriesByCategoryID" },
137
- { 'method' => "PATCH", 'path' => "/api/v1/tenants/{tenantID}/categories/{categoryID}", 'tag' => "Apps", 'operationId' => "appsPatchApiV1TenantsByTenantIDCategoriesByCategoryID" },
138
83
  { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/connectors", 'tag' => "Gateway", 'operationId' => "gatewayGetApiV1TenantsByTenantIDConnectors" },
139
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/connectors", 'tag' => "Gateway", 'operationId' => "gatewayPostApiV1TenantsByTenantIDConnectors" },
140
- { 'method' => "DELETE", 'path' => "/api/v1/tenants/{tenantID}/connectors/{connectorID}", 'tag' => "Gateway", 'operationId' => "gatewayDeleteApiV1TenantsByTenantIDConnectorsByConnectorID" },
141
84
  { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/connectors/{connectorID}", 'tag' => "Gateway", 'operationId' => "gatewayGetApiV1TenantsByTenantIDConnectorsByConnectorID" },
142
- { 'method' => "PATCH", 'path' => "/api/v1/tenants/{tenantID}/connectors/{connectorID}", 'tag' => "Gateway", 'operationId' => "gatewayPatchApiV1TenantsByTenantIDConnectorsByConnectorID" },
143
85
  { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/connectors/{connectorID}/discover", 'tag' => "Gateway", 'operationId' => "gatewayPostApiV1TenantsByTenantIDConnectorsByConnectorIDDiscover" },
144
86
  { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/connectors/{connectorID}/resources", 'tag' => "Gateway", 'operationId' => "gatewayGetApiV1TenantsByTenantIDConnectorsByConnectorIDResources" },
145
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/connectors/{connectorID}/test-connection", 'tag' => "Gateway", 'operationId' => "gatewayPostApiV1TenantsByTenantIDConnectorsByConnectorIDTestConnection" },
146
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/connectors/oauth/google/finalize", 'tag' => "Gateway", 'operationId' => "gatewayPostApiV1TenantsByTenantIDConnectorsOauthGoogleFinalize" },
147
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/connectors/oauth/google/start", 'tag' => "Gateway", 'operationId' => "gatewayPostApiV1TenantsByTenantIDConnectorsOauthGoogleStart" },
148
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/cost/by-app", 'tag' => "Cost", 'operationId' => "costGetApiV1TenantsByTenantIDCostByApp" },
149
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/cost/by-cost-center", 'tag' => "Cost", 'operationId' => "costGetApiV1TenantsByTenantIDCostByCostCenter" },
150
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/cost/export", 'tag' => "Cost", 'operationId' => "costGetApiV1TenantsByTenantIDCostExport" },
151
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/cost/months", 'tag' => "Cost", 'operationId' => "costGetApiV1TenantsByTenantIDCostMonths" },
152
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/cost/summary", 'tag' => "Cost", 'operationId' => "costGetApiV1TenantsByTenantIDCostSummary" },
153
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/cost/timeseries", 'tag' => "Cost", 'operationId' => "costGetApiV1TenantsByTenantIDCostTimeseries" },
154
87
  { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/deployments", 'tag' => "Deploy", 'operationId' => "deployGetApiV1TenantsByTenantIDDeployments" },
155
88
  { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/discover/apps", 'tag' => "Apps", 'operationId' => "appsGetApiV1TenantsByTenantIDDiscoverApps" },
156
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/email-domains", 'tag' => "Tenants", 'operationId' => "tenantsGetApiV1TenantsByTenantIDEmailDomains" },
157
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/email-domains", 'tag' => "Tenants", 'operationId' => "tenantsPostApiV1TenantsByTenantIDEmailDomains" },
158
- { 'method' => "DELETE", 'path' => "/api/v1/tenants/{tenantID}/email-domains/{domain}", 'tag' => "Tenants", 'operationId' => "tenantsDeleteApiV1TenantsByTenantIDEmailDomainsByDomain" },
159
89
  { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/gateway/document-invoke", 'tag' => "Gateway", 'operationId' => "gatewayPostApiV1TenantsByTenantIDGatewayDocumentInvoke" },
160
90
  { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/gateway/file-invoke", 'tag' => "Gateway", 'operationId' => "gatewayPostApiV1TenantsByTenantIDGatewayFileInvoke" },
161
91
  { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/gateway/invoke", 'tag' => "Gateway", 'operationId' => "gatewayPostApiV1TenantsByTenantIDGatewayInvoke" },
162
92
  { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/gateway/query", 'tag' => "Gateway", 'operationId' => "gatewayPostApiV1TenantsByTenantIDGatewayQuery" },
163
93
  { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/gateway/sessions", 'tag' => "Gateway", 'operationId' => "gatewayPostApiV1TenantsByTenantIDGatewaySessions" },
164
94
  { 'method' => "DELETE", 'path' => "/api/v1/tenants/{tenantID}/gateway/sessions/{sessionID}", 'tag' => "Gateway", 'operationId' => "gatewayDeleteApiV1TenantsByTenantIDGatewaySessionsBySessionID" },
165
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/grants", 'tag' => "Authorization", 'operationId' => "authorizationGetApiV1TenantsByTenantIDGrants" },
166
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/grants", 'tag' => "Authorization", 'operationId' => "authorizationPostApiV1TenantsByTenantIDGrants" },
167
- { 'method' => "DELETE", 'path' => "/api/v1/tenants/{tenantID}/grants/{grantID}", 'tag' => "Authorization", 'operationId' => "authorizationDeleteApiV1TenantsByTenantIDGrantsByGrantID" },
168
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/grants/{grantID}", 'tag' => "Authorization", 'operationId' => "authorizationGetApiV1TenantsByTenantIDGrantsByGrantID" },
169
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/groups", 'tag' => "Tenants", 'operationId' => "tenantsGetApiV1TenantsByTenantIDGroups" },
170
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/groups", 'tag' => "Tenants", 'operationId' => "tenantsPostApiV1TenantsByTenantIDGroups" },
171
- { 'method' => "DELETE", 'path' => "/api/v1/tenants/{tenantID}/groups/{groupID}", 'tag' => "Tenants", 'operationId' => "tenantsDeleteApiV1TenantsByTenantIDGroupsByGroupID" },
172
- { 'method' => "PATCH", 'path' => "/api/v1/tenants/{tenantID}/groups/{groupID}", 'tag' => "Tenants", 'operationId' => "tenantsPatchApiV1TenantsByTenantIDGroupsByGroupID" },
173
- { 'method' => "DELETE", 'path' => "/api/v1/tenants/{tenantID}/icon", 'tag' => "Tenants", 'operationId' => "tenantsDeleteApiV1TenantsByTenantIDIcon" },
174
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/icon/upload-url", 'tag' => "Tenants", 'operationId' => "tenantsPostApiV1TenantsByTenantIDIconUploadUrl" },
175
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/identity-providers", 'tag' => "Auth", 'operationId' => "authGetApiV1TenantsByTenantIDIdentityProviders" },
176
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/identity-providers", 'tag' => "Auth", 'operationId' => "authPostApiV1TenantsByTenantIDIdentityProviders" },
177
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/identity-providers/{providerID}/disable", 'tag' => "Auth", 'operationId' => "authPostApiV1TenantsByTenantIDIdentityProvidersByProviderIDDisable" },
178
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/identity-providers/{providerID}/enable", 'tag' => "Auth", 'operationId' => "authPostApiV1TenantsByTenantIDIdentityProvidersByProviderIDEnable" },
179
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/infra/apps/{appID}/usage-series", 'tag' => "Cost", 'operationId' => "costGetApiV1TenantsByTenantIDInfraAppsByAppIDUsageSeries" },
180
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/infra/usage", 'tag' => "Cost", 'operationId' => "costGetApiV1TenantsByTenantIDInfraUsage" },
181
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/invitations", 'tag' => "Tenants", 'operationId' => "tenantsGetApiV1TenantsByTenantIDInvitations" },
182
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/invitations", 'tag' => "Tenants", 'operationId' => "tenantsPostApiV1TenantsByTenantIDInvitations" },
183
- { 'method' => "DELETE", 'path' => "/api/v1/tenants/{tenantID}/invitations/{invitationID}", 'tag' => "Tenants", 'operationId' => "tenantsDeleteApiV1TenantsByTenantIDInvitationsByInvitationID" },
184
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/invitations/bulk", 'tag' => "Tenants", 'operationId' => "tenantsPostApiV1TenantsByTenantIDInvitationsBulk" },
185
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/invite-links", 'tag' => "Tenants", 'operationId' => "tenantsGetApiV1TenantsByTenantIDInviteLinks" },
186
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/invite-links", 'tag' => "Tenants", 'operationId' => "tenantsPostApiV1TenantsByTenantIDInviteLinks" },
187
- { 'method' => "DELETE", 'path' => "/api/v1/tenants/{tenantID}/invite-links/{linkID}", 'tag' => "Tenants", 'operationId' => "tenantsDeleteApiV1TenantsByTenantIDInviteLinksByLinkID" },
188
95
  { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/me/connectors", 'tag' => "Gateway", 'operationId' => "gatewayGetApiV1TenantsByTenantIDMeConnectors" },
189
96
  { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/me/connectors/{connectorID}/resources", 'tag' => "Gateway", 'operationId' => "gatewayGetApiV1TenantsByTenantIDMeConnectorsByConnectorIDResources" },
190
97
  { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/me/grants", 'tag' => "Authorization", 'operationId' => "authorizationGetApiV1TenantsByTenantIDMeGrants" },
191
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/members", 'tag' => "Tenants", 'operationId' => "tenantsGetApiV1TenantsByTenantIDMembers" },
192
- { 'method' => "PATCH", 'path' => "/api/v1/tenants/{tenantID}/members/{membershipID}", 'tag' => "Tenants", 'operationId' => "tenantsPatchApiV1TenantsByTenantIDMembersByMembershipID" },
193
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/members/{membershipID}/deactivate", 'tag' => "Tenants", 'operationId' => "tenantsPostApiV1TenantsByTenantIDMembersByMembershipIDDeactivate" },
194
- { 'method' => "PATCH", 'path' => "/api/v1/tenants/{tenantID}/members/{membershipID}/group", 'tag' => "Tenants", 'operationId' => "tenantsPatchApiV1TenantsByTenantIDMembersByMembershipIDGroup" },
195
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/members/{membershipID}/reactivate", 'tag' => "Tenants", 'operationId' => "tenantsPostApiV1TenantsByTenantIDMembersByMembershipIDReactivate" },
196
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/members/{membershipID}/restore-scim", 'tag' => "Tenants", 'operationId' => "tenantsPostApiV1TenantsByTenantIDMembersByMembershipIDRestoreScim" },
197
- { 'method' => "DELETE", 'path' => "/api/v1/tenants/{tenantID}/members/{userID}/seat", 'tag' => "Tenants", 'operationId' => "tenantsDeleteApiV1TenantsByTenantIDMembersByUserIDSeat" },
198
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/members/{userID}/seat", 'tag' => "Tenants", 'operationId' => "tenantsPostApiV1TenantsByTenantIDMembersByUserIDSeat" },
199
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/members/directory", 'tag' => "Tenants", 'operationId' => "tenantsGetApiV1TenantsByTenantIDMembersDirectory" },
200
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/presets", 'tag' => "Authorization", 'operationId' => "authorizationGetApiV1TenantsByTenantIDPresets" },
201
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/presets", 'tag' => "Authorization", 'operationId' => "authorizationPostApiV1TenantsByTenantIDPresets" },
202
- { 'method' => "DELETE", 'path' => "/api/v1/tenants/{tenantID}/presets/{presetID}", 'tag' => "Authorization", 'operationId' => "authorizationDeleteApiV1TenantsByTenantIDPresetsByPresetID" },
203
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/presets/{presetID}", 'tag' => "Authorization", 'operationId' => "authorizationGetApiV1TenantsByTenantIDPresetsByPresetID" },
204
- { 'method' => "PATCH", 'path' => "/api/v1/tenants/{tenantID}/presets/{presetID}", 'tag' => "Authorization", 'operationId' => "authorizationPatchApiV1TenantsByTenantIDPresetsByPresetID" },
205
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/scim/connection", 'tag' => "Tenants", 'operationId' => "tenantsGetApiV1TenantsByTenantIDScimConnection" },
206
- { 'method' => "DELETE", 'path' => "/api/v1/tenants/{tenantID}/scim/token", 'tag' => "Tenants", 'operationId' => "tenantsDeleteApiV1TenantsByTenantIDScimToken" },
207
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/scim/token", 'tag' => "Tenants", 'operationId' => "tenantsPostApiV1TenantsByTenantIDScimToken" },
208
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/subjects", 'tag' => "Authorization", 'operationId' => "authorizationGetApiV1TenantsByTenantIDSubjects" },
209
- { 'method' => "POST", 'path' => "/api/v1/tenants/{tenantID}/subjects", 'tag' => "Authorization", 'operationId' => "authorizationPostApiV1TenantsByTenantIDSubjects" },
210
- { 'method' => "GET", 'path' => "/api/v1/tenants/{tenantID}/subjects/{subjectID}", 'tag' => "Authorization", 'operationId' => "authorizationGetApiV1TenantsByTenantIDSubjectsBySubjectID" },
211
98
  { 'method' => "GET", 'path' => "/api/v1/users/me/apps", 'tag' => "Apps", 'operationId' => "appsGetApiV1UsersMeApps" },
212
- { 'method' => "GET", 'path' => "/auth/{providerID}/start", 'tag' => "Auth", 'operationId' => "authGetAuthByProviderIDStart" },
213
- { 'method' => "GET", 'path' => "/auth/github", 'tag' => "identity", 'operationId' => "identityGetAuthGithub" },
214
- { 'method' => "GET", 'path' => "/auth/github/callback", 'tag' => "identity", 'operationId' => "identityGetAuthGithubCallback" },
215
- { 'method' => "GET", 'path' => "/auth/google_oauth2/callback", 'tag' => "Auth", 'operationId' => "authGetAuthGoogleOauth2Callback" },
216
- { 'method' => "GET", 'path' => "/auth/google_oauth2/start", 'tag' => "Auth", 'operationId' => "authGetAuthGoogleOauth2Start" },
217
99
  { 'method' => "POST", 'path' => "/auth/logout", 'tag' => "Auth", 'operationId' => "authPostAuthLogout" },
218
- { 'method' => "GET", 'path' => "/auth/oidc/callback", 'tag' => "Auth", 'operationId' => "authGetAuthOidcCallback" },
219
- { 'method' => "GET", 'path' => "/auth/providers", 'tag' => "Auth", 'operationId' => "authGetAuthProviders" },
220
100
  { 'method' => "POST", 'path' => "/auth/refresh", 'tag' => "Auth", 'operationId' => "authPostAuthRefresh" },
221
- { 'method' => "GET", 'path' => "/auth/silent/callback", 'tag' => "Auth", 'operationId' => "authGetAuthSilentCallback" },
222
- { 'method' => "GET", 'path' => "/auth/silent/start", 'tag' => "Auth", 'operationId' => "authGetAuthSilentStart" },
223
101
  { 'method' => "GET", 'path' => "/config/public", 'tag' => "Config", 'operationId' => "configGetConfigPublic" },
224
- { 'method' => "GET", 'path' => "/internal/app-access", 'tag' => "Apps", 'operationId' => "appsGetInternalAppAccess" },
225
- { 'method' => "GET", 'path' => "/oauth/authorize", 'tag' => "Auth", 'operationId' => "authGetOauthAuthorize" },
226
- { 'method' => "POST", 'path' => "/oauth/authorize/tenant", 'tag' => "Auth", 'operationId' => "authPostOauthAuthorizeTenant" },
227
- { 'method' => "POST", 'path' => "/oauth/device_authorization", 'tag' => "Auth", 'operationId' => "authPostOauthDeviceAuthorization" },
228
- { 'method' => "POST", 'path' => "/oauth/device/authorize", 'tag' => "Auth", 'operationId' => "authPostOauthDeviceAuthorize" },
229
- { 'method' => "GET", 'path' => "/oauth/device/lookup", 'tag' => "Auth", 'operationId' => "authGetOauthDeviceLookup" },
230
102
  { 'method' => "GET", 'path' => "/oauth/google/callback", 'tag' => "Gateway", 'operationId' => "gatewayGetOauthGoogleCallback" },
231
- { 'method' => "POST", 'path' => "/oauth/register", 'tag' => "Auth", 'operationId' => "authPostOauthRegister" },
232
- { 'method' => "POST", 'path' => "/oauth/revoke", 'tag' => "Auth", 'operationId' => "authPostOauthRevoke" },
233
- { 'method' => "POST", 'path' => "/oauth/token", 'tag' => "Auth", 'operationId' => "authPostOauthToken" },
234
103
  { 'method' => "GET", 'path' => "/oauth/userinfo", 'tag' => "Auth", 'operationId' => "authGetOauthUserinfo" },
235
- { 'method' => "POST", 'path' => "/webhooks/github", 'tag' => "Deploy", 'operationId' => "deployPostWebhooksGithub" },
236
104
  ].freeze
237
105
 
238
106
  ERROR_CODES = {
@@ -350,27 +218,6 @@ module AxHub
350
218
  else value
351
219
  end
352
220
  end
353
- FORM_ENCODED_OPERATIONS = %w[
354
- authPostOauthDeviceAuthorization
355
- authPostOauthRevoke
356
- authPostOauthToken
357
- ].freeze
358
- # Token-style OAuth responses keep RFC 6749/8628 standard keys in snake_case.
359
- # Must match the python SDK's _OAUTH_RESPONSE_SNAKE_CASE_OPERATIONS / _OAUTH_RESPONSE_SNAKE_KEYS.
360
- OAUTH_RESPONSE_SNAKE_CASE_OPERATIONS = %w[
361
- authPostOauthDeviceAuthorization
362
- authPostOauthToken
363
- ].freeze
364
- OAUTH_RESPONSE_SNAKE_KEYS = %w[
365
- access_token token_type expires_in refresh_token id_token scope resource tenant
366
- ].freeze
367
- def self.camelize_oauth_response(value)
368
- case value
369
- when Hash then value.map { |k, v| [OAUTH_RESPONSE_SNAKE_KEYS.include?(k.to_s) ? k.to_s : camel(k), camelize_oauth_response(v)] }.to_h
370
- when Array then value.map { |v| camelize_oauth_response(v) }
371
- else value
372
- end
373
- end
374
221
  class Client
375
222
  attr_reader :base_url, :apps
376
223
  def initialize(base_url: DEFAULT_BASE_URL, token: nil, token_type: nil, default_tenant_id: nil, default_tenant_slug: nil, timeout_seconds: 30)
@@ -384,15 +231,10 @@ module AxHub
384
231
  uri = URI(@base_url + path); uri.query = URI.encode_www_form(query) unless query.empty?
385
232
  req_class = Net::HTTP.const_get(route['method'].capitalize); req = req_class.new(uri); req['X-Request-ID'] = request_id
386
233
  if body
387
- if FORM_ENCODED_OPERATIONS.include?(operation_id)
388
- req['Content-Type'] = 'application/x-www-form-urlencoded'
389
- req.body = URI.encode_www_form(body.transform_keys(&:to_s).transform_values { |v| v.nil? ? '' : v.to_s })
390
- else
391
- req['Content-Type'] = 'application/json'
392
- req.body = JSON.generate(body)
393
- end
234
+ req['Content-Type'] = 'application/json'
235
+ req.body = JSON.generate(body)
394
236
  end
395
- _send(req, uri, camelize: OAUTH_RESPONSE_SNAKE_CASE_OPERATIONS.include?(operation_id) ? :oauth_snake : true)
237
+ _send(req, uri, camelize: true)
396
238
  end
397
239
 
398
240
  private
@@ -430,11 +272,7 @@ module AxHub
430
272
  retryable = err.key?('retryable') ? !!err['retryable'] : !!info&.retryable
431
273
  raise Error.new(category: err['category'] || info&.category || 'unknown', code: err['code'] || "http_#{res.code}", message: err['message'], status: res.code.to_i, retryable: retryable, request_id: err['request_id'] || err['requestId'])
432
274
  end
433
- case camelize
434
- when :oauth_snake then AxHub.camelize_oauth_response(parsed)
435
- when true then AxHub.camelize(parsed)
436
- else parsed
437
- end
275
+ camelize ? AxHub.camelize(parsed) : parsed
438
276
  end
439
277
 
440
278
  def request_id
@@ -458,12 +296,11 @@ module AxHub
458
296
  return 'authz' if tag == 'Authorization'
459
297
  return 'audit' if tag == 'Audit'
460
298
  return 'gateway' if ['Gateway', 'Config'].include?(tag)
461
- return 'cost' if tag == 'Cost'
462
299
  return 'data' if tag == 'Schema'
463
300
  return 'deployments' if ['Deploy', 'deploy'].include?(tag)
464
301
  raise ArgumentError, "unmapped route tag: #{tag}"
465
302
  end
466
- CONTEXT_ROUTES = %w[apps identity tenants authz audit gateway cost data deployments].map { |name| [name, ROUTES.select { |route| context_name(route) == name }] }.to_h
303
+ CONTEXT_ROUTES = %w[apps identity tenants authz audit gateway data deployments].map { |name| [name, ROUTES.select { |route| context_name(route) == name }] }.to_h
467
304
  end
468
305
 
469
306
  require_relative 'axhub_sdk/operations'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: axhub-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jocoding AX Partners