fetch-statuspage
Advanced tools
Comparing version 1.0.87 to 1.0.90
@@ -13,7 +13,7 @@ /** | ||
import * as runtime from '../runtime'; | ||
import { BodiesPatchPagesPageIdPageAccessUsersPageAccessUserIdComponents, PageAccessUser } from '../models'; | ||
import { Bodies, PageAccessUser } from '../models'; | ||
export interface DeletePagesPageIdPageAccessUsersPageAccessUserIdComponentsRequest { | ||
page_id: string; | ||
page_access_user_id: string; | ||
component_ids?: Array<string>; | ||
page_access_user_ids: Array<string>; | ||
} | ||
@@ -32,3 +32,3 @@ export interface DeletePagesPageIdPageAccessUsersPageAccessUserIdComponentsComponentIdRequest { | ||
page_access_user_id: string; | ||
BodiesPatchPagesPageIdPageAccessUsersPageAccessUserIdComponents?: BodiesPatchPagesPageIdPageAccessUsersPageAccessUserIdComponents; | ||
Bodies?: Bodies; | ||
} | ||
@@ -38,3 +38,3 @@ export interface PostPagesPageIdPageAccessUsersPageAccessUserIdComponentsRequest { | ||
page_access_user_id: string; | ||
BodiesPatchPagesPageIdPageAccessUsersPageAccessUserIdComponents?: BodiesPatchPagesPageIdPageAccessUsersPageAccessUserIdComponents; | ||
Bodies?: Bodies; | ||
} | ||
@@ -44,3 +44,3 @@ export interface PutPagesPageIdPageAccessUsersPageAccessUserIdComponentsRequest { | ||
page_access_user_id: string; | ||
BodiesPatchPagesPageIdPageAccessUsersPageAccessUserIdComponents?: BodiesPatchPagesPageIdPageAccessUsersPageAccessUserIdComponents; | ||
Bodies?: Bodies; | ||
} | ||
@@ -47,0 +47,0 @@ /** |
@@ -42,2 +42,5 @@ "use strict"; | ||
} | ||
if (requestParameters.page_access_user_ids === null || requestParameters.page_access_user_ids === undefined) { | ||
throw new runtime.RequiredError('page_access_user_ids', 'Required parameter requestParameters.page_access_user_ids was null or undefined when calling deletePagesPageIdPageAccessUsersPageAccessUserIdComponents.'); | ||
} | ||
const queryParameters = {}; | ||
@@ -49,4 +52,4 @@ const headerParameters = {}; | ||
const formData = new FormData(); | ||
if (requestParameters.component_ids) { | ||
formData.append('component_ids', requestParameters.component_ids.join(runtime.COLLECTION_FORMATS["csv"])); | ||
if (requestParameters.page_access_user_ids) { | ||
formData.append('page_access_user_ids', requestParameters.page_access_user_ids.join(runtime.COLLECTION_FORMATS["csv"])); | ||
} | ||
@@ -169,3 +172,3 @@ const response = yield this.request({ | ||
query: queryParameters, | ||
body: models_1.BodiesPatchPagesPageIdPageAccessUsersPageAccessUserIdComponentsToJSON(requestParameters.BodiesPatchPagesPageIdPageAccessUsersPageAccessUserIdComponents), | ||
body: models_1.BodiesToJSON(requestParameters.Bodies), | ||
}); | ||
@@ -207,3 +210,3 @@ return new runtime.VoidApiResponse(response); | ||
query: queryParameters, | ||
body: models_1.BodiesPatchPagesPageIdPageAccessUsersPageAccessUserIdComponentsToJSON(requestParameters.BodiesPatchPagesPageIdPageAccessUsersPageAccessUserIdComponents), | ||
body: models_1.BodiesToJSON(requestParameters.Bodies), | ||
}); | ||
@@ -245,3 +248,3 @@ return new runtime.VoidApiResponse(response); | ||
query: queryParameters, | ||
body: models_1.BodiesPatchPagesPageIdPageAccessUsersPageAccessUserIdComponentsToJSON(requestParameters.BodiesPatchPagesPageIdPageAccessUsersPageAccessUserIdComponents), | ||
body: models_1.BodiesToJSON(requestParameters.Bodies), | ||
}); | ||
@@ -248,0 +251,0 @@ return new runtime.VoidApiResponse(response); |
@@ -0,1 +1,2 @@ | ||
export * from './Bodies'; | ||
export * from './BodiesDeletePagesPageIdPageAccessUsersPageAccessUserIdComponents'; | ||
@@ -2,0 +3,0 @@ export * from './BodiesPatchPagesPageIdPageAccessUsersPageAccessUserIdComponents'; |
@@ -6,2 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(require("./Bodies")); | ||
__export(require("./BodiesDeletePagesPageIdPageAccessUsersPageAccessUserIdComponents")); | ||
@@ -8,0 +9,0 @@ __export(require("./BodiesPatchPagesPageIdPageAccessUsersPageAccessUserIdComponents")); |
{ | ||
"name": "fetch-statuspage", | ||
"version": "1.0.87", | ||
"version": "1.0.90", | ||
"main": "dist/src/index", | ||
@@ -22,3 +22,3 @@ "typings": "dist/src/index", | ||
"@types/node": "^12.7.5", | ||
"openapi-converter": "^1.0.87", | ||
"openapi-converter": "^1.0.90", | ||
"typescript": "^3.6.2" | ||
@@ -29,3 +29,3 @@ }, | ||
}, | ||
"gitHead": "fdc2d6cc053caeeaff41107030b88b7f3e1fabaa" | ||
"gitHead": "704de056e816308de5ccc5b775e483201531d29e" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2042887
342
38545