atlassian-openapi
Advanced tools
Comparing version 1.0.19 to 1.0.20
@@ -77,3 +77,3 @@ export declare namespace Swagger { | ||
components?: Components; | ||
'x-atlassian-narrative'?: AtlassianNarrative; | ||
"x-atlassian-narrative"?: AtlassianNarrative; | ||
} | ||
@@ -182,3 +182,3 @@ interface AtlassianNarrative { | ||
} | ||
type Method = 'get' | 'put' | 'post' | 'delete' | 'options' | 'head' | 'patch' | 'trace'; | ||
type Method = "get" | "put" | "post" | "delete" | "options" | "head" | "patch" | "trace"; | ||
/** | ||
@@ -225,3 +225,3 @@ * This interface was referenced by `Paths`'s JSON-Schema definition | ||
} | ||
type OAuth2ScopesState = 'Current' | 'Deprecated' | 'Beta'; | ||
type OAuth2ScopesState = "Current" | "Deprecated" | "Beta"; | ||
/** | ||
@@ -232,5 +232,23 @@ * Data Security Policy for App Access | ||
interface DataSecurityPolicy { | ||
'app-access-rule-exempt': boolean; | ||
"app-access-rule-exempt": boolean; | ||
} | ||
/** | ||
* custom extension required to render scope title in dac based on scope type | ||
* | ||
* api-token - Authentication with API Tokens | ||
* | ||
* repository-access-token - Authentication with repository access token | ||
* | ||
* project-access-token - Authentication with project access token | ||
* | ||
* workspace-access-token - Authentication with workspace access token | ||
* | ||
* identity-oauth2 - Authentication with platform OAuth2 | ||
* | ||
* forge-oauth2 - Authentication with platform OAuth2 for Forge apps | ||
* | ||
* @see https://hello.atlassian.net/wiki/spaces/BB/pages/4484370299/Add+API+Token+scopes+to+bitbucket+documentation | ||
*/ | ||
type AuthTypes = "api-token" | "repository-access-token" | "project-access-token" | "workspace-access-token" | "identity-oauth2" | "forge-oauth2"; | ||
/** | ||
* This interface was referenced by `SwaggerV3`'s JSON-Schema | ||
@@ -260,7 +278,8 @@ * via the `definition` "Operation". | ||
servers?: Server[]; | ||
'x-experimental'?: boolean; | ||
'x-preview'?: boolean; | ||
'x-atlassian-connect-scope'?: string; | ||
'x-atlassian-oauth2-scopes'?: OAuth2Scopes[] | OAuth2ScopesWithState[]; | ||
'x-atlassian-data-security-policy'?: DataSecurityPolicy[]; | ||
"x-experimental"?: boolean; | ||
"x-preview"?: boolean; | ||
"x-atlassian-connect-scope"?: string; | ||
"x-atlassian-oauth2-scopes"?: OAuth2Scopes[] | OAuth2ScopesWithState[]; | ||
"x-atlassian-data-security-policy"?: DataSecurityPolicy[]; | ||
"x-atlassian-auth-type"?: AuthTypes[]; | ||
} | ||
@@ -374,3 +393,3 @@ /** | ||
example?: any; | ||
'x-showInExample'?: boolean; | ||
"x-showInExample"?: boolean; | ||
} | ||
@@ -458,3 +477,3 @@ /** | ||
}; | ||
'x-showInExample'?: boolean; | ||
"x-showInExample"?: boolean; | ||
} | ||
@@ -610,3 +629,3 @@ /** | ||
}; | ||
'x-showInExample'?: boolean; | ||
"x-showInExample"?: boolean; | ||
} | ||
@@ -722,3 +741,3 @@ /** | ||
description?: string; | ||
'x-bearer-type'?: XBearerType; | ||
"x-bearer-type"?: XBearerType; | ||
} | ||
@@ -743,10 +762,10 @@ /** | ||
description?: string; | ||
'x-bearer-type'?: XBearerType; | ||
"x-bearer-type"?: XBearerType; | ||
} | ||
type XBearerType = XBearerTypeAsap | XBearerTypeSLAUTH; | ||
interface XBearerTypeAsap { | ||
type: 'asap'; | ||
type: "asap"; | ||
} | ||
interface XBearerTypeSLAUTH { | ||
type: 'slauth'; | ||
type: "slauth"; | ||
audience: string; | ||
@@ -753,0 +772,0 @@ defaultSlauthEnvironment?: string; |
{ | ||
"name": "atlassian-openapi", | ||
"version": "1.0.19", | ||
"version": "1.0.20", | ||
"description": "This is a package that lets you deal with the Atlassian flavour of the OpenAPI 3.0 specification.", | ||
@@ -5,0 +5,0 @@ "repository": "github:robertmassaioli/atlassian-openapi", |
61136
1658