@acomo/cli 1.0.30 → 1.0.32
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.
- package/dist/index.js +67 -0
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4906,6 +4906,10 @@ __export(src_exports, {
|
|
|
4906
4906
|
ClientAccessTokenEntityToJSON: () => ClientAccessTokenEntityToJSON,
|
|
4907
4907
|
ClientAccessTokenEntityToJSONTyped: () => ClientAccessTokenEntityToJSONTyped,
|
|
4908
4908
|
ClientAuthApi: () => ClientAuthApi,
|
|
4909
|
+
ClientCredentialsAvailabilityEntityFromJSON: () => ClientCredentialsAvailabilityEntityFromJSON,
|
|
4910
|
+
ClientCredentialsAvailabilityEntityFromJSONTyped: () => ClientCredentialsAvailabilityEntityFromJSONTyped,
|
|
4911
|
+
ClientCredentialsAvailabilityEntityToJSON: () => ClientCredentialsAvailabilityEntityToJSON,
|
|
4912
|
+
ClientCredentialsAvailabilityEntityToJSONTyped: () => ClientCredentialsAvailabilityEntityToJSONTyped,
|
|
4909
4913
|
Configuration: () => Configuration,
|
|
4910
4914
|
CorsAllowedOriginEntityFromJSON: () => CorsAllowedOriginEntityFromJSON,
|
|
4911
4915
|
CorsAllowedOriginEntityFromJSONTyped: () => CorsAllowedOriginEntityFromJSONTyped,
|
|
@@ -5192,6 +5196,7 @@ __export(src_exports, {
|
|
|
5192
5196
|
instanceOfChatAiDto: () => instanceOfChatAiDto,
|
|
5193
5197
|
instanceOfChatAiResponseEntity: () => instanceOfChatAiResponseEntity,
|
|
5194
5198
|
instanceOfClientAccessTokenEntity: () => instanceOfClientAccessTokenEntity,
|
|
5199
|
+
instanceOfClientCredentialsAvailabilityEntity: () => instanceOfClientCredentialsAvailabilityEntity,
|
|
5195
5200
|
instanceOfCorsAllowedOriginEntity: () => instanceOfCorsAllowedOriginEntity,
|
|
5196
5201
|
instanceOfCreateCorsAllowedOriginDto: () => instanceOfCreateCorsAllowedOriginDto,
|
|
5197
5202
|
instanceOfCreateModelDto: () => instanceOfCreateModelDto,
|
|
@@ -6161,6 +6166,37 @@ function ClientAccessTokenEntityToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
6161
6166
|
};
|
|
6162
6167
|
}
|
|
6163
6168
|
|
|
6169
|
+
// ../acomo-client/dist/src/client/models/ClientCredentialsAvailabilityEntity.js
|
|
6170
|
+
function instanceOfClientCredentialsAvailabilityEntity(value) {
|
|
6171
|
+
if (!("available" in value) || value["available"] === void 0)
|
|
6172
|
+
return false;
|
|
6173
|
+
return true;
|
|
6174
|
+
}
|
|
6175
|
+
function ClientCredentialsAvailabilityEntityFromJSON(json) {
|
|
6176
|
+
return ClientCredentialsAvailabilityEntityFromJSONTyped(json, false);
|
|
6177
|
+
}
|
|
6178
|
+
function ClientCredentialsAvailabilityEntityFromJSONTyped(json, ignoreDiscriminator) {
|
|
6179
|
+
if (json == null) {
|
|
6180
|
+
return json;
|
|
6181
|
+
}
|
|
6182
|
+
return {
|
|
6183
|
+
"available": json["available"],
|
|
6184
|
+
"reason": json["reason"] == null ? void 0 : json["reason"]
|
|
6185
|
+
};
|
|
6186
|
+
}
|
|
6187
|
+
function ClientCredentialsAvailabilityEntityToJSON(json) {
|
|
6188
|
+
return ClientCredentialsAvailabilityEntityToJSONTyped(json, false);
|
|
6189
|
+
}
|
|
6190
|
+
function ClientCredentialsAvailabilityEntityToJSONTyped(value, ignoreDiscriminator = false) {
|
|
6191
|
+
if (value == null) {
|
|
6192
|
+
return value;
|
|
6193
|
+
}
|
|
6194
|
+
return {
|
|
6195
|
+
"available": value["available"],
|
|
6196
|
+
"reason": value["reason"]
|
|
6197
|
+
};
|
|
6198
|
+
}
|
|
6199
|
+
|
|
6164
6200
|
// ../acomo-client/dist/src/client/models/CorsAllowedOriginEntity.js
|
|
6165
6201
|
function instanceOfCorsAllowedOriginEntity(value) {
|
|
6166
6202
|
if (!("id" in value) || value["id"] === void 0)
|
|
@@ -9565,6 +9601,31 @@ var ClientAuthApi = class extends BaseAPI {
|
|
|
9565
9601
|
const response = await this.getAccessTokenRaw(requestParameters, initOverrides);
|
|
9566
9602
|
return await response.value();
|
|
9567
9603
|
}
|
|
9604
|
+
async getClientCredentialsAvailabilityRaw(initOverrides) {
|
|
9605
|
+
const queryParameters = {};
|
|
9606
|
+
const headerParameters = {};
|
|
9607
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
9608
|
+
const token = this.configuration.accessToken;
|
|
9609
|
+
const tokenString = await token("Authorization", []);
|
|
9610
|
+
if (tokenString) {
|
|
9611
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
9612
|
+
}
|
|
9613
|
+
}
|
|
9614
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
9615
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id");
|
|
9616
|
+
}
|
|
9617
|
+
const response = await this.request({
|
|
9618
|
+
path: `/api/v1/clientAuth/status/client-credentials-availability`,
|
|
9619
|
+
method: "GET",
|
|
9620
|
+
headers: headerParameters,
|
|
9621
|
+
query: queryParameters
|
|
9622
|
+
}, initOverrides);
|
|
9623
|
+
return new JSONApiResponse(response, (jsonValue) => ClientCredentialsAvailabilityEntityFromJSON(jsonValue));
|
|
9624
|
+
}
|
|
9625
|
+
async getClientCredentialsAvailability(initOverrides) {
|
|
9626
|
+
const response = await this.getClientCredentialsAvailabilityRaw(initOverrides);
|
|
9627
|
+
return await response.value();
|
|
9628
|
+
}
|
|
9568
9629
|
async listAccessTokenRaw(requestParameters, initOverrides) {
|
|
9569
9630
|
const queryParameters = {};
|
|
9570
9631
|
if (requestParameters["revoked"] != null) {
|
|
@@ -12954,6 +13015,7 @@ var operationDescriptions = {
|
|
|
12954
13015
|
"getAccount": "\u81EA\u5206\u306E\u30A2\u30AB\u30A6\u30F3\u30C8\u60C5\u5831\u3092\u53D6\u5F97\u3059\u308B\u3002",
|
|
12955
13016
|
"getAuthConfig": "\u30C6\u30CA\u30F3\u30C8\u306E\u8A8D\u8A3C\u8A2D\u5B9A\u60C5\u5831\u3092\u53D6\u5F97\u3059\u308B\u3002",
|
|
12956
13017
|
"getChannels": "Slack\u306E\u30C1\u30E3\u30F3\u30CD\u30EB\u4E00\u89A7\u3092\u53D6\u5F97\u3059\u308B\u3002",
|
|
13018
|
+
"getClientCredentialsAvailability": "\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u30A2\u30AF\u30BB\u30B9\u30C8\u30FC\u30AF\u30F3\u767A\u884C\u304C\u53EF\u80FD\u304B",
|
|
12957
13019
|
"getCorsOrigins": "\u63A5\u7D9A\u3092\u8A31\u53EF\u3059\u308BURL\u3092\u4E00\u4EF6\u53D6\u5F97\u3057\u307E\u3059\u3002",
|
|
12958
13020
|
"getCurrentTenant": "\u81EA\u5206\u81EA\u8EAB\u304C\u3044\u307E\u30B5\u30A4\u30F3\u30A4\u30F3\u3057\u3066\u3044\u308B\u30C6\u30CA\u30F3\u30C8\u60C5\u5831\u3092\u53D6\u5F97\u3059\u308B\u3002",
|
|
12959
13021
|
"getCurrentUser": "\u81EA\u5206\u81EA\u8EAB\u306E\u30E6\u30FC\u30B6\u30FC\u60C5\u5831\u3092\u53D6\u5F97\u3059\u308B\u3002",
|
|
@@ -13297,6 +13359,11 @@ var operationParams = {
|
|
|
13297
13359
|
path: "/api/v1/slack/channels",
|
|
13298
13360
|
params: []
|
|
13299
13361
|
},
|
|
13362
|
+
"getClientCredentialsAvailability": {
|
|
13363
|
+
httpMethod: "GET",
|
|
13364
|
+
path: "/api/v1/clientAuth/status/client-credentials-availability",
|
|
13365
|
+
params: []
|
|
13366
|
+
},
|
|
13300
13367
|
"getCorsOrigins": {
|
|
13301
13368
|
httpMethod: "GET",
|
|
13302
13369
|
path: "/api/v1/cors/{id}",
|