From 7415228b7dd83b692d4f8c1e7bfd445a3248984c Mon Sep 17 00:00:00 2001 From: evegufy Date: Tue, 1 Oct 2024 16:24:38 +0000 Subject: [PATCH] deploy: 02c5bd339cf70ae60b92fb1b912b1399c2f38b66 --- digital-product-pass/index.html | 2 +- digital-product-pass/v4.0.1/index.html | 4 +- eclipse-tractusx.github.io/index.html | 2 +- .../index.html | 4 +- index.html | 4 +- item-relationship-service/5.4.1/index.html | 4 +- item-relationship-service/index.html | 2 +- .../administration-service.yaml | 7828 ----------------- .../administration-service/index.html | 35 - .../swagger-ui/administration-service.yaml | 7828 ----------------- .../swagger-ui/swagger-config.json | 1 - .../apps-service/apps-service.yaml | 3773 -------- .../apps-service/swagger-ui/apps-service.yaml | 3773 -------- .../apps-service/swagger-ui/favicon-16x16.png | Bin 665 -> 0 bytes .../apps-service/swagger-ui/favicon-32x32.png | Bin 628 -> 0 bytes .../apps-service/swagger-ui/index.html | 51 - .../swagger-ui/swagger-config.json | 1 - .../swagger-ui/swagger-ui-bundle.js | 3 - .../swagger-ui-standalone-preset.js | 3 - .../apps-service/swagger-ui/swagger-ui.css | 4 - portal-backend/v2.3.0-alpha.1/index.html | 38 - .../notifications-service/index.html | 35 - .../notifications-service.yaml | 532 -- .../swagger-ui/favicon-16x16.png | Bin 665 -> 0 bytes .../swagger-ui/favicon-32x32.png | Bin 628 -> 0 bytes .../swagger-ui/index.html | 51 - .../swagger-ui/notifications-service.yaml | 532 -- .../swagger-ui/swagger-config.json | 1 - .../swagger-ui/swagger-ui-bundle.js | 3 - .../swagger-ui-standalone-preset.js | 3 - .../swagger-ui/swagger-ui.css | 4 - .../registration-service/index.html | 35 - .../registration-service.yaml | 1681 ---- .../swagger-ui/favicon-16x16.png | Bin 665 -> 0 bytes .../swagger-ui/favicon-32x32.png | Bin 628 -> 0 bytes .../swagger-ui/index.html | 51 - .../swagger-ui/registration-service.yaml | 1681 ---- .../swagger-ui/swagger-config.json | 1 - .../swagger-ui/swagger-ui-bundle.js | 3 - .../swagger-ui-standalone-preset.js | 3 - .../swagger-ui/swagger-ui.css | 4 - .../services-service/index.html | 35 - .../services-service/services-service.yaml | 2835 ------ .../swagger-ui/favicon-16x16.png | Bin 665 -> 0 bytes .../swagger-ui/favicon-32x32.png | Bin 628 -> 0 bytes .../services-service/swagger-ui/index.html | 51 - .../swagger-ui/services-service.yaml | 2835 ------ .../swagger-ui/swagger-config.json | 1 - .../swagger-ui/swagger-ui-bundle.js | 3 - .../swagger-ui-standalone-preset.js | 3 - .../swagger-ui/swagger-ui.css | 4 - puris/2.1.0/index.html | 4 +- puris/index.html | 2 +- sd-factory/Release3/index.html | 4 +- sd-factory/index.html | 2 +- .../index.html | 8 +- .../v1.0.0/asr-service.yaml | 159 + .../v1.0.0}/index.html | 4 +- .../v1.0.0/swagger-ui/asr-service.yaml | 159 + .../v1.0.0}/swagger-ui/favicon-16x16.png | Bin .../v1.0.0}/swagger-ui/favicon-32x32.png | Bin .../v1.0.0}/swagger-ui/index.html | 0 .../v1.0.0/swagger-ui/swagger-config.json | 1 + .../v1.0.0}/swagger-ui/swagger-ui-bundle.js | 0 .../swagger-ui-standalone-preset.js | 0 .../v1.0.0}/swagger-ui/swagger-ui.css | 0 tractusx-edc/0.7.3/index.html | 4 +- tractusx-edc/index.html | 2 +- 68 files changed, 345 insertions(+), 33751 deletions(-) delete mode 100644 portal-backend/v2.3.0-alpha.1/administration-service/administration-service.yaml delete mode 100644 portal-backend/v2.3.0-alpha.1/administration-service/index.html delete mode 100644 portal-backend/v2.3.0-alpha.1/administration-service/swagger-ui/administration-service.yaml delete mode 100644 portal-backend/v2.3.0-alpha.1/administration-service/swagger-ui/swagger-config.json delete mode 100644 portal-backend/v2.3.0-alpha.1/apps-service/apps-service.yaml delete mode 100644 portal-backend/v2.3.0-alpha.1/apps-service/swagger-ui/apps-service.yaml delete mode 100644 portal-backend/v2.3.0-alpha.1/apps-service/swagger-ui/favicon-16x16.png delete mode 100644 portal-backend/v2.3.0-alpha.1/apps-service/swagger-ui/favicon-32x32.png delete mode 100644 portal-backend/v2.3.0-alpha.1/apps-service/swagger-ui/index.html delete mode 100644 portal-backend/v2.3.0-alpha.1/apps-service/swagger-ui/swagger-config.json delete mode 100644 portal-backend/v2.3.0-alpha.1/apps-service/swagger-ui/swagger-ui-bundle.js delete mode 100644 portal-backend/v2.3.0-alpha.1/apps-service/swagger-ui/swagger-ui-standalone-preset.js delete mode 100644 portal-backend/v2.3.0-alpha.1/apps-service/swagger-ui/swagger-ui.css delete mode 100644 portal-backend/v2.3.0-alpha.1/index.html delete mode 100644 portal-backend/v2.3.0-alpha.1/notifications-service/index.html delete mode 100644 portal-backend/v2.3.0-alpha.1/notifications-service/notifications-service.yaml delete mode 100644 portal-backend/v2.3.0-alpha.1/notifications-service/swagger-ui/favicon-16x16.png delete mode 100644 portal-backend/v2.3.0-alpha.1/notifications-service/swagger-ui/favicon-32x32.png delete mode 100644 portal-backend/v2.3.0-alpha.1/notifications-service/swagger-ui/index.html delete mode 100644 portal-backend/v2.3.0-alpha.1/notifications-service/swagger-ui/notifications-service.yaml delete mode 100644 portal-backend/v2.3.0-alpha.1/notifications-service/swagger-ui/swagger-config.json delete mode 100644 portal-backend/v2.3.0-alpha.1/notifications-service/swagger-ui/swagger-ui-bundle.js delete mode 100644 portal-backend/v2.3.0-alpha.1/notifications-service/swagger-ui/swagger-ui-standalone-preset.js delete mode 100644 portal-backend/v2.3.0-alpha.1/notifications-service/swagger-ui/swagger-ui.css delete mode 100644 portal-backend/v2.3.0-alpha.1/registration-service/index.html delete mode 100644 portal-backend/v2.3.0-alpha.1/registration-service/registration-service.yaml delete mode 100644 portal-backend/v2.3.0-alpha.1/registration-service/swagger-ui/favicon-16x16.png delete mode 100644 portal-backend/v2.3.0-alpha.1/registration-service/swagger-ui/favicon-32x32.png delete mode 100644 portal-backend/v2.3.0-alpha.1/registration-service/swagger-ui/index.html delete mode 100644 portal-backend/v2.3.0-alpha.1/registration-service/swagger-ui/registration-service.yaml delete mode 100644 portal-backend/v2.3.0-alpha.1/registration-service/swagger-ui/swagger-config.json delete mode 100644 portal-backend/v2.3.0-alpha.1/registration-service/swagger-ui/swagger-ui-bundle.js delete mode 100644 portal-backend/v2.3.0-alpha.1/registration-service/swagger-ui/swagger-ui-standalone-preset.js delete mode 100644 portal-backend/v2.3.0-alpha.1/registration-service/swagger-ui/swagger-ui.css delete mode 100644 portal-backend/v2.3.0-alpha.1/services-service/index.html delete mode 100644 portal-backend/v2.3.0-alpha.1/services-service/services-service.yaml delete mode 100644 portal-backend/v2.3.0-alpha.1/services-service/swagger-ui/favicon-16x16.png delete mode 100644 portal-backend/v2.3.0-alpha.1/services-service/swagger-ui/favicon-32x32.png delete mode 100644 portal-backend/v2.3.0-alpha.1/services-service/swagger-ui/index.html delete mode 100644 portal-backend/v2.3.0-alpha.1/services-service/swagger-ui/services-service.yaml delete mode 100644 portal-backend/v2.3.0-alpha.1/services-service/swagger-ui/swagger-config.json delete mode 100644 portal-backend/v2.3.0-alpha.1/services-service/swagger-ui/swagger-ui-bundle.js delete mode 100644 portal-backend/v2.3.0-alpha.1/services-service/swagger-ui/swagger-ui-standalone-preset.js delete mode 100644 portal-backend/v2.3.0-alpha.1/services-service/swagger-ui/swagger-ui.css rename {portal-backend => ssi-authority-schema-registry}/index.html (92%) create mode 100644 ssi-authority-schema-registry/v1.0.0/asr-service.yaml rename {portal-backend/v2.3.0-alpha.1/apps-service => ssi-authority-schema-registry/v1.0.0}/index.html (94%) create mode 100644 ssi-authority-schema-registry/v1.0.0/swagger-ui/asr-service.yaml rename {portal-backend/v2.3.0-alpha.1/administration-service => ssi-authority-schema-registry/v1.0.0}/swagger-ui/favicon-16x16.png (100%) rename {portal-backend/v2.3.0-alpha.1/administration-service => ssi-authority-schema-registry/v1.0.0}/swagger-ui/favicon-32x32.png (100%) rename {portal-backend/v2.3.0-alpha.1/administration-service => ssi-authority-schema-registry/v1.0.0}/swagger-ui/index.html (100%) create mode 100644 ssi-authority-schema-registry/v1.0.0/swagger-ui/swagger-config.json rename {portal-backend/v2.3.0-alpha.1/administration-service => ssi-authority-schema-registry/v1.0.0}/swagger-ui/swagger-ui-bundle.js (100%) rename {portal-backend/v2.3.0-alpha.1/administration-service => ssi-authority-schema-registry/v1.0.0}/swagger-ui/swagger-ui-standalone-preset.js (100%) rename {portal-backend/v2.3.0-alpha.1/administration-service => ssi-authority-schema-registry/v1.0.0}/swagger-ui/swagger-ui.css (100%) diff --git a/digital-product-pass/index.html b/digital-product-pass/index.html index e2f4379..bd84e17 100644 --- a/digital-product-pass/index.html +++ b/digital-product-pass/index.html @@ -27,7 +27,7 @@ diff --git a/digital-product-pass/v4.0.1/index.html b/digital-product-pass/v4.0.1/index.html index 898bc32..1a52b36 100644 --- a/digital-product-pass/v4.0.1/index.html +++ b/digital-product-pass/v4.0.1/index.html @@ -22,13 +22,13 @@ swagger-ui/-- -swagger.yaml27.0 KB2024-09-27 04:07:01 +swagger.yaml27.0 KB2024-10-01 16:24:07 diff --git a/eclipse-tractusx.github.io/index.html b/eclipse-tractusx.github.io/index.html index a5bf1b8..61de48d 100644 --- a/eclipse-tractusx.github.io/index.html +++ b/eclipse-tractusx.github.io/index.html @@ -27,7 +27,7 @@ diff --git a/eclipse-tractusx.github.io/kit-digital-twin-kit-submodel-api-V3.0.1_SSP-003/index.html b/eclipse-tractusx.github.io/kit-digital-twin-kit-submodel-api-V3.0.1_SSP-003/index.html index bb8126e..2b7b0d9 100644 --- a/eclipse-tractusx.github.io/kit-digital-twin-kit-submodel-api-V3.0.1_SSP-003/index.html +++ b/eclipse-tractusx.github.io/kit-digital-twin-kit-submodel-api-V3.0.1_SSP-003/index.html @@ -22,13 +22,13 @@ swagger-ui/-- -kit_digital-twin-kit-submodel-api_openAPI.yaml40.6 KB2024-09-27 04:06:58 +kit_digital-twin-kit-submodel-api_openAPI.yaml40.6 KB2024-10-01 16:24:10 diff --git a/index.html b/index.html index 1376393..261244a 100644 --- a/index.html +++ b/index.html @@ -24,16 +24,16 @@ digital-product-pass/-- eclipse-tractusx.github.io/-- item-relationship-service/-- -portal-backend/-- puris/-- sd-factory/-- +ssi-authority-schema-registry/-- tractusx-edc/-- diff --git a/item-relationship-service/5.4.1/index.html b/item-relationship-service/5.4.1/index.html index 32b4904..6226ceb 100644 --- a/item-relationship-service/5.4.1/index.html +++ b/item-relationship-service/5.4.1/index.html @@ -22,13 +22,13 @@ swagger-ui/-- -irs-api.yaml106.04 KB2024-09-27 04:06:59 +irs-api.yaml106.04 KB2024-10-01 16:24:09 diff --git a/item-relationship-service/index.html b/item-relationship-service/index.html index 44afa83..34b85bc 100644 --- a/item-relationship-service/index.html +++ b/item-relationship-service/index.html @@ -27,7 +27,7 @@ diff --git a/portal-backend/v2.3.0-alpha.1/administration-service/administration-service.yaml b/portal-backend/v2.3.0-alpha.1/administration-service/administration-service.yaml deleted file mode 100644 index b4397bc..0000000 --- a/portal-backend/v2.3.0-alpha.1/administration-service/administration-service.yaml +++ /dev/null @@ -1,7828 +0,0 @@ -openapi: 3.0.1 -info: - title: Org.Eclipse.TractusX.Portal.Backend.Administration.Service - version: v2.3.0-alpha.1 -paths: - /api/administration/companydata/ownCompanyDetails: - get: - tags: - - CompanyData - summary: 'Gets the company with its address (Authorization required - Roles: view_company_data)' - description: 'Example: GET: api/administration/companydata/ownCompanyDetails' - responses: - '200': - description: Returns the company with its address. - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyAddressDetailData' - '409': - description: user is not associated with company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/companydata/preferredUseCases: - get: - tags: - - CompanyData - summary: 'Gets the CompanyAssigned UseCase details (Authorization required - Roles: view_use_cases)' - description: 'Example: GET: api/administration/companydata/preferredUseCases' - responses: - '200': - description: Returns the CompanyAssigned UseCase details. - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyAssignedUseCaseData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - post: - tags: - - CompanyData - summary: 'Create the CompanyAssigned UseCase details (Authorization required - Roles: set_company_use_cases)' - description: 'Example: POST: api/administration/companydata/preferredUseCases' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/UseCaseIdDetails' - responses: - '201': - description: Created - '204': - description: NoContentResult - '409': - description: Company Status is Incorrect - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '208': - description: UseCaseId already existis - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - delete: - tags: - - CompanyData - summary: 'Remove the CompanyAssigned UseCase details by UseCaseId (Authorization required - Roles: set_company_use_cases)' - description: 'Example: DELETE: api/administration/companydata/preferredUseCases' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/UseCaseIdDetails' - responses: - '204': - description: NoContentResult - content: - application/json: - schema: - $ref: '#/components/schemas/NoContentResult' - '409': - description: "Company Status is Incorrect \n\r\nUseCaseId is not available" - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/companydata/companyRolesAndConsents: - get: - tags: - - CompanyData - summary: 'Gets the companyrole and ConsentAgreement Details (Authorization required - Roles: view_company_data)' - description: 'Example: GET: api/administration/companydata/companyRolesAndConsents' - parameters: - - name: languageShortName - in: query - schema: - type: string - responses: - '200': - description: Returns the Companyrole and Consent details. - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyRoleConsentViewData' - '400': - description: languageShortName is not valid - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: CompanyId does not exist in company - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: No Companyrole or Incorrect Status - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - post: - tags: - - CompanyData - summary: 'Post the companyrole and Consent Details (Authorization required - Roles: view_company_data)' - description: 'Example: POST: api/administration/companydata/companyRolesAndConsents' - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CompanyRoleConsentDetails' - responses: - '204': - description: Created the Companyrole and Consent details. - content: - application/json: - schema: - $ref: '#/components/schemas/NoContentResult' - '400': - description: "All agreement need to get signed as Active or InActive \n\r\nAgreements not associated with requested companyRoles" - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: "Company does not exists \n\r\nCompany is in Incorrect state \n\r\nCompany can't unassign from all roles" - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/companydata/useCaseParticipation: - post: - tags: - - CompanyData - summary: 'Creates the use case participation request (Authorization required - Roles: request_ssicredential)' - description: 'Example: POST: api/administration/companydata/useCaseParticipation' - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - VerifiedCredentialExternalTypeDetailId: - type: string - format: uuid - CredentialType: - type: string - Document: - type: file - format: binary - encoding: - VerifiedCredentialExternalTypeDetailId: - style: form - CredentialType: - style: form - Document: - style: form - application/json: - schema: - type: object - properties: - VerifiedCredentialExternalTypeDetailId: - type: string - format: uuid - CredentialType: - type: string - Document: - type: file - format: binary - encoding: - VerifiedCredentialExternalTypeDetailId: - style: form - CredentialType: - style: form - Document: - style: form - responses: - '204': - description: Successfully created the use case participation request. - '400': - description: "VerifiedCredentialExternalTypeDetailId does not exist \n\r\nCredential request already exist" - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/companydata/companyCertificate: - post: - tags: - - CompanyData - summary: 'Creates the Company Certificate request (Authorization required - Roles: upload_certificates)' - description: 'Example: POST: api/administration/companydata/companyCertificate' - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - CertificateType: - $ref: '#/components/schemas/CompanyCertificateTypeId' - Document: - type: file - format: binary - ExternalCertificateNumber: - type: string - Sites: - type: array - items: - type: string - ValidFrom: - type: string - format: date-time - ValidTill: - type: string - format: date-time - Issuer: - type: string - encoding: - CertificateType: - style: form - Document: - style: form - ExternalCertificateNumber: - style: form - Sites: - style: form - ValidFrom: - style: form - ValidTill: - style: form - Issuer: - style: form - application/json: - schema: - type: object - properties: - CertificateType: - $ref: '#/components/schemas/CompanyCertificateTypeId' - Document: - type: file - format: binary - ExternalCertificateNumber: - type: string - Sites: - type: array - items: - type: string - ValidFrom: - type: string - format: date-time - ValidTill: - type: string - format: date-time - Issuer: - type: string - encoding: - CertificateType: - style: form - Document: - style: form - ExternalCertificateNumber: - style: form - Sites: - style: form - ValidFrom: - style: form - ValidTill: - style: form - Issuer: - style: form - responses: - '204': - description: Successfully created the Company certificate request. - '400': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/companydata/company/{businessPartnerNumber}/companyCertificates': - get: - tags: - - CompanyData - summary: 'Gets the companyCertificates Details (Authorization required - Roles: view_certificates)' - description: 'Example: GET: api/administration/companydata/businessPartnerNumber}/companyCertificates' - parameters: - - name: businessPartnerNumber - in: path - required: true - schema: - type: string - responses: - '200': - description: Returns the companyCertificates details. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CompanyCertificateBpnData' - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/companydata/companyCertificates: - get: - tags: - - CompanyData - summary: 'Retrieves all company certificates with respect userId. (Authorization required - Roles: view_certificates)' - description: 'Example: GET /api/administration/companydata/companyCertificates' - parameters: - - name: page - in: query - description: Optional the page of company certificate. - schema: - type: integer - format: int32 - default: 0 - example: 0 - - name: size - in: query - description: 'Amount of company certificate, default is 15.' - schema: - type: integer - format: int32 - default: 15 - example: 15 - - name: sorting - in: query - description: Optional Sorting of the pagination - schema: - $ref: '#/components/schemas/CertificateSorting' - example: CertificateTypeAsc - - name: certificateStatus - in: query - description: Optional filter for company certificate status - schema: - $ref: '#/components/schemas/CompanyCertificateStatusId' - - name: certificateType - in: query - description: Optional filter for company certificate type - schema: - $ref: '#/components/schemas/CompanyCertificateTypeId' - responses: - '200': - description: Returns the list of all active company certificates. - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyCertificateDataResponse' - '204': - description: No Content - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/companydata/companyCertificates/{documentId}': - get: - tags: - - CompanyData - summary: 'Retrieves a specific company certificate document for the given documentid and companyuserid. (Authorization required - Roles: view_certificates)' - description: 'Example: GET /api/administration/companydata/companyCertificates/4ad087bb-80a1-49d3-9ba9-da0b175cd4e3' - parameters: - - name: documentId - in: path - description: Id of the document to get. - required: true - schema: - type: string - format: uuid - example: 4ad087bb-80a1-49d3-9ba9-da0b175cd4e3 - responses: - '200': - description: Returns the file. - content: - application/json: - schema: - type: string - format: binary - '404': - description: The document was not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '503': - description: Service Unavailable - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/companydata/companyCertificates/documents/{documentId}': - get: - tags: - - CompanyData - summary: 'Retrieves a specific company certificate document for the given id. (Authorization required - Roles: view_certificates)' - description: 'Example: GET /api/administration/companydata/companyCertificates/documents/4ad087bb-80a1-49d3-9ba9-da0b175cd4e3' - parameters: - - name: documentId - in: path - description: Id of the document to get. - required: true - schema: - type: string - format: uuid - example: 4ad087bb-80a1-49d3-9ba9-da0b175cd4e3 - responses: - '200': - description: Returns the file. - content: - application/json: - schema: - type: string - format: binary - '404': - description: The document was not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: The document which is not in status "ACTIVE". - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '503': - description: document Content is null. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/companydata/companyCertificate/document/{documentId}': - delete: - tags: - - CompanyData - summary: 'Deletes the company certificate with the given id (Authorization required - Roles: delete_certificates)' - description: 'Example: Delete: /api/administration/companydata/companyCertificate/document/{documentId}' - parameters: - - name: documentId - in: path - description: '' - required: true - schema: - type: string - format: uuid - example: 4ad087bb-80a1-49d3-9ba9-da0b175cd4e3 - responses: - '200': - description: Successfully deleted the company certificate - content: - application/json: - schema: - type: integer - format: int32 - '404': - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '400': - description: Incorrect document state - '403': - description: The user is not assigned with the Company. - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/companydata/decentralidentity/urls: - get: - tags: - - CompanyData - summary: 'Rejects the given credential (Authorization required - Roles: view_company_data)' - description: 'Example: GET: api/administration/companydata/decentralidentity/urls' - responses: - '200': - description: Returns the dim urls. - content: - application/json: - schema: - $ref: '#/components/schemas/DimUrlsResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/companydata/missing-sd-document: - get: - tags: - - CompanyData - summary: 'Retrieves all active companies with missing sd document. (Authorization required - Roles: view_company_data)' - description: "Example: GET: /api/administration/companyData/missing-sd-document \n\r\nExample: GET: /api/administration/companyData/missing-sd-document?page=0&size=15" - parameters: - - name: page - in: query - description: Optional query parameter defining the requested page number. - schema: - type: integer - format: int32 - default: 0 - example: 0 - - name: size - in: query - description: Optional query parameter defining the number of companies listed per page. - schema: - type: integer - format: int32 - default: 15 - example: 15 - responses: - '200': - description: Returns a list of all active companies with missing sd document. - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyMissingSdDocumentDataResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/companydata/trigger-self-description: - post: - tags: - - CompanyData - summary: 'Triggers the process to create the missing self description documents (Authorization required - Roles: approve_new_partner)' - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No Process found for the processId - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/companydata/retrigger-self-description: - post: - tags: - - CompanyData - summary: 'Retriggers the process to create the missing self description documents (Authorization required - Roles: approve_new_partner)' - parameters: - - name: processId - in: path - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No Process found for the processId - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/Connectors: - get: - tags: - - Connectors - summary: 'Retrieves all company registered own connectors and their status. (Authorization required - Roles: view_connectors)' - description: "Example: GET: /api/administration/connectors \n\r\nExample: GET: /api/administration/connectors?page=0&size=15" - parameters: - - name: page - in: query - description: Optional query parameter defining the requested page number. - schema: - type: integer - format: int32 - default: 0 - example: 0 - - name: size - in: query - description: Optional query parameter defining the number of connectors listed per page. - schema: - type: integer - format: int32 - default: 15 - example: 15 - responses: - '200': - description: Returns a list of all of the current user's company's connectors. - content: - application/json: - schema: - $ref: '#/components/schemas/ConnectorDataResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - post: - tags: - - Connectors - summary: 'Allows to register owned company connectors (self-hosted/-managed) inside the CX dataspace. (Authorization required - Roles: add_connectors)' - description: 'Example: POST: /api/administration/connectors/daps' - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - Name: - type: string - description: Display name of the connector. - ConnectorUrl: - type: string - description: ConnectorCatalogEndpoint. - Location: - type: string - description: Connector's location country code. - TechnicalUserId: - type: string - description: Id of the technical user. - format: uuid - encoding: - Name: - style: form - ConnectorUrl: - style: form - Location: - style: form - TechnicalUserId: - style: form - responses: - '201': - description: Returns a view model of the created connector. - content: - application/json: - schema: - type: string - format: uuid - '400': - description: Input parameter are invalid. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '503': - description: Access to SD factory failed with the given status code. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/Connectors/managed: - get: - tags: - - Connectors - summary: 'Retrieves all registered connectors which are managed connectors of company customers and their status. (Authorization required - Roles: view_connectors)' - description: "Example: GET: /api/administration/connectors/managed \n\r\nExample: GET: /api/administration/connectors/managed?page=0&size=15" - parameters: - - name: page - in: query - description: Optional query parameter defining the requested page number. - schema: - type: integer - format: int32 - default: 0 - example: 0 - - name: size - in: query - description: Optional query parameter defining the number of connectors listed per page. - schema: - type: integer - format: int32 - default: 15 - example: 15 - responses: - '200': - description: Returns a list of all of the current user's company's connectors. - content: - application/json: - schema: - $ref: '#/components/schemas/ConnectorDataResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - post: - tags: - - Connectors - summary: 'Allows to register managed connectors for 3rd parties/customers inside the CX dataspace. (Authorization required - Roles: add_connectors)' - description: 'Example: POST: /api/administration/connectors/managed' - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - Name: - type: string - description: Display name of the connector. - ConnectorUrl: - type: string - description: ConnectorCatalogEndpoint.. - Location: - type: string - description: Connector's location country code. - SubscriptionId: - type: string - description: Id of the offer subscription. - format: uuid - TechnicalUserId: - type: string - description: Id of the technical user. - format: uuid - encoding: - Name: - style: form - ConnectorUrl: - style: form - Location: - style: form - SubscriptionId: - style: form - TechnicalUserId: - style: form - responses: - '201': - description: Returns a view model of the created connector. - content: - application/json: - schema: - type: string - format: uuid - '400': - description: Input parameter are invalid. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '503': - description: Access to SD factory failed with the given status code. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/Connectors/{connectorId}': - get: - tags: - - Connectors - summary: 'Retrieves connector information for a specific connector by its ID. Note: only company owned connectors can get called. (Authorization required - Roles: view_connectors)' - description: 'Example: GET: /api/administration/connectors/5636F9B9-C3DE-4BA5-8027-00D17A2FECFB' - operationId: GetCompanyConnectorByIdForCurrentUserAsync - parameters: - - name: connectorId - in: path - description: ID of the connector for which the details are to be displayed. - required: true - schema: - type: string - format: uuid - example: 5636F9B9-C3DE-4BA5-8027-00D17A2FECFB - responses: - '200': - description: Returns details of the requested connector. - content: - application/json: - schema: - $ref: '#/components/schemas/ConnectorData' - '403': - description: user does not belong to company of companyUserId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Connector ID not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - delete: - tags: - - Connectors - summary: 'Removes a connector from persistence layer by id. (Authorization required - Roles: delete_connectors)' - description: 'Example: DELETE: /api/administration/connectors/{connectorId}?deleteServiceAccount=true' - parameters: - - name: connectorId - in: path - description: ID of the connector to be deleted. - required: true - schema: - type: string - format: uuid - example: 5636F9B9-C3DE-4BA5-8027-00D17A2FECFB - - name: deleteServiceAccount - in: query - description: 'if `true` the linked service account will be deleted, otherwise the connection to the connector will just be removed' - schema: - type: boolean - default: false - responses: - '204': - description: Empty response on success. - content: - application/json: - schema: - $ref: '#/components/schemas/IActionResult' - '404': - description: Record not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Connector status does not match a deletion scenario. Deletion declined. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/Connectors/discovery: - post: - tags: - - Connectors - summary: 'Retrieve dataspace registered connectors by their registered BPNL or retrieve them all by sending an empty array. (Authorization required - Roles: view_connectors)' - description: 'Example: POST: /api/administration/connectors/discovery' - requestBody: - description: Single or List of Business Partner Number of the company. - content: - application/json: - schema: - type: array - items: - type: string - text/json: - schema: - type: array - items: - type: string - application/*+json: - schema: - type: array - items: - type: string - responses: - '200': - description: Returns company connector per bpn. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ConnectorEndPointData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/Connectors/clearinghouse/selfDescription: - post: - tags: - - Connectors - summary: 'Asynchron callback endpoint for the clearinghouse provider to submit the connector SD document. (Authorization required - Roles: submit_connector_sd)' - requestBody: - description: The response data for the self description - content: - application/json: - schema: - $ref: '#/components/schemas/SelfDescriptionResponseData' - text/json: - schema: - $ref: '#/components/schemas/SelfDescriptionResponseData' - application/*+json: - schema: - $ref: '#/components/schemas/SelfDescriptionResponseData' - responses: - '204': - description: Empty response on success. - '409': - description: Connector has document assigned. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Record Not Found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/Connectors/{connectorId}/connectorUrl': - put: - tags: - - Connectors - summary: 'Updates the connector url (Authorization required - Roles: modify_connectors)' - description: 'Example: PUT: /api/administration/connectors/{connectorId}/connectorUrl' - parameters: - - name: connectorId - in: path - description: Id of the connector to trigger the daps call. - required: true - schema: - type: string - format: uuid - example: 5636F9B9-C3DE-4BA5-8027-00D17A2FECFB - requestBody: - description: The update data - content: - application/json: - schema: - $ref: '#/components/schemas/ConnectorUpdateRequest' - text/json: - schema: - $ref: '#/components/schemas/ConnectorUpdateRequest' - application/*+json: - schema: - $ref: '#/components/schemas/ConnectorUpdateRequest' - responses: - '204': - description: Url was successfully updated. - '400': - description: Input parameter are invalid. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: user does not belong to host company of the connector. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Connector was not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '503': - description: Access to Daps failed with the given status code. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/Connectors/offerSubscriptions: - get: - tags: - - Connectors - summary: 'Retrieve the offer subscriptions for the company with the linked connectorIds. (Authorization required - Roles: view_connectors)' - description: 'Example: GET: /api/administration/connectors/offerSubscriptions' - parameters: - - name: connectorIdSet - in: query - description: "Optional: if `true` only respond with subscriptions where a link to a connector is given,\r\nif `false` it will only return subscriptions where no link to an connector exists." - schema: - type: boolean - example: false - responses: - '200': - description: Returns list of the offer subscriptions for the company. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ConnectorEndPointData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/Connectors/missing-sd-document: - get: - tags: - - Connectors - summary: 'Retrieves all active connectors with missing sd document. (Authorization required - Roles: view_connectors)' - description: "Example: GET: /api/administration/connectors/missing-sd-document \n\r\nExample: GET: /api/administration/connectors/missing-sd-document?page=0&size=15" - parameters: - - name: page - in: query - description: Optional query parameter defining the requested page number. - schema: - type: integer - format: int32 - default: 0 - example: 0 - - name: size - in: query - description: Optional query parameter defining the number of connectors listed per page. - schema: - type: integer - format: int32 - default: 15 - example: 15 - responses: - '200': - description: Returns a list of all active connectors with missing sd document. - content: - application/json: - schema: - $ref: '#/components/schemas/ConnectorMissingSdDocumentDataResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/Connectors/trigger-self-description: - post: - tags: - - Connectors - summary: 'Triggers the process to create the missing self description documents (Authorization required - Roles: approve_new_partner)' - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No Process found for the processId - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/Connectors/retrigger-self-description: - post: - tags: - - Connectors - summary: 'Retriggers the process to create the missing self description documents (Authorization required - Roles: approve_new_partner)' - parameters: - - name: processId - in: path - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No Process found for the processId - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/Documents/{documentId}': - get: - tags: - - Documents - summary: 'Retrieves a specific document for the given id. (Authorization required - Roles: view_documents)' - description: 'Example: GET: /api/administration/documents/4ad087bb-80a1-49d3-9ba9-da0b175cd4e3' - parameters: - - name: documentId - in: path - description: Id of the document to get. - required: true - schema: - type: string - format: uuid - example: 4ad087bb-80a1-49d3-9ba9-da0b175cd4e3 - responses: - '200': - description: Returns the file. - content: - text/plain: - schema: - type: string - format: binary - application/json: - schema: - type: string - format: binary - text/json: - schema: - type: string - format: binary - '404': - description: The document was not found. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: The user is not assigned with the Company. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '503': - description: document Content is null. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - delete: - tags: - - Documents - summary: 'Deletes the document with the given id (Authorization required - Roles: delete_documents)' - description: 'Example: Delete: /api/registration/documents/{documentId}' - parameters: - - name: documentId - in: path - description: '' - required: true - schema: - type: string - format: uuid - example: 4ad087bb-80a1-49d3-9ba9-da0b175cd4e3 - responses: - '200': - description: Successfully deleted the document - content: - application/json: - schema: - type: boolean - '400': - description: Incorrect document state - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: The user is not assigned with the Company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: The document was not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/Documents/selfDescription/{documentId}': - get: - tags: - - Documents - summary: 'Retrieves a specific document for the given id. (Authorization required - Roles: view_documents)' - description: 'Example: GET: /api/administration/documents/selfDescription/4ad087bb-80a1-49d3-9ba9-da0b175cd4e3' - parameters: - - name: documentId - in: path - description: Id of the document to get. - required: true - schema: - type: string - format: uuid - example: 4ad087bb-80a1-49d3-9ba9-da0b175cd4e3 - responses: - '200': - description: Returns the file. - content: - text/plain: - schema: - type: string - format: binary - application/json: - schema: - type: string - format: binary - text/json: - schema: - type: string - format: binary - '404': - description: The document was not found. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/Documents/{documentId}/seeddata': - get: - tags: - - Documents - summary: 'Gets the json the seed data for a specific document (Authorization required - Roles: debug_download_documents)' - description: "Example: GET: /api/registration/documents/{documentId}/seeddata\r\n\nthis endpoint can only be used in the dev environment!" - parameters: - - name: documentId - in: path - description: '' - required: true - schema: - type: string - format: uuid - example: 4ad087bb-80a1-49d3-9ba9-da0b175cd4e3 - responses: - '200': - description: Successfully deleted the document - content: - application/json: - schema: - type: boolean - '403': - description: Call was made from a non dev environment - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: The document was not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/Documents/frameDocuments/{documentId}': - get: - tags: - - Documents - summary: 'Retrieve document of type CX_FRAME_CONTRACT (Authorization required - Roles: view_documents)' - description: 'Example: Get: /api/administration/documents/frameDocuments/4ad087bb-80a1-49d3-9ba9-da0b175cd4e3' - parameters: - - name: documentId - in: path - description: '' - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Successfully fetched the document - content: - application/pdf: - schema: - $ref: '#/components/schemas/File' - application/json: - schema: - $ref: '#/components/schemas/File' - '404': - description: No document with the given id was found. - content: - application/pdf: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/errormessage: - get: - tags: - - ErrorMessage - responses: - '200': - description: OK - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ErrorMessageType' - '500': - description: Internal Server Error - /api/administration/identityprovider/owncompany/identityproviders: - get: - tags: - - IdentityProvider - summary: 'Gets the details of the own company identity provider (Authorization required - Roles: view_idp)' - description: 'Example: GET: api/administration/identityprovider/owncompany/identityproviders' - parameters: - - name: displayName - in: query - schema: - type: string - - name: alias - in: query - schema: - type: string - responses: - '200': - description: Returns a list of identityProviderDetails. - content: - text/plain: - schema: - type: array - items: - $ref: '#/components/schemas/IdentityProviderDetails' - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/IdentityProviderDetails' - text/json: - schema: - type: array - items: - $ref: '#/components/schemas/IdentityProviderDetails' - '502': - description: Bad Gateway Service Error. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - post: - tags: - - IdentityProvider - summary: 'Create an identity provider (Authorization required - Roles: add_idp)' - description: 'Example: POST: api/administration/identityprovider/owncompany/identityproviders' - parameters: - - name: protocol - in: query - description: Type of the protocol the identity provider should be created for - schema: - $ref: '#/components/schemas/IamIdentityProviderProtocol' - - name: typeId - in: query - description: IdentityProvider type (OWN or MANAGED) - schema: - $ref: '#/components/schemas/IdentityProviderTypeId' - - name: displayName - in: query - description: displayName of identityprovider to be set up (optional) - schema: - type: string - responses: - '200': - description: Returns a list of identityProviderDetails. - content: - text/plain: - schema: - $ref: '#/components/schemas/IdentityProviderDetails' - application/json: - schema: - $ref: '#/components/schemas/IdentityProviderDetails' - text/json: - schema: - $ref: '#/components/schemas/IdentityProviderDetails' - '400': - description: The protocol didn't match an expected value. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/identityprovider/network/identityproviders/managed/{identityProviderId}': - get: - tags: - - IdentityProvider - summary: 'Gets a specific identity provider with the connected Companies (Authorization required - Roles: view_managed_idp)' - description: 'Example: GET: api/administration/identityprovider/network/identityproviders/managed/{identityProviderId}' - parameters: - - name: identityProviderId - in: path - description: Id of the identity provider - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Return the details of the identityProvider. - content: - text/plain: - schema: - $ref: '#/components/schemas/IdentityProviderDetailsWithConnectedCompanies' - application/json: - schema: - $ref: '#/components/schemas/IdentityProviderDetailsWithConnectedCompanies' - text/json: - schema: - $ref: '#/components/schemas/IdentityProviderDetailsWithConnectedCompanies' - '400': - description: The user is not associated with the owner company. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Unexpected value of protocol. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - '/api/administration/identityprovider/owncompany/identityproviders/{identityProviderId}': - get: - tags: - - IdentityProvider - summary: 'Gets a specific identity provider (Authorization required - Roles: view_idp)' - description: 'Example: GET: api/administration/identityprovider/owncompany/identityproviders/6CFEEF93-CB37-405B-B65A-02BEEB81629F' - operationId: GetOwnCompanyIdentityProvider - parameters: - - name: identityProviderId - in: path - description: Id of the identity provider - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns a list of identityProviderDetails. - content: - text/plain: - schema: - $ref: '#/components/schemas/IdentityProviderDetails' - application/json: - schema: - $ref: '#/components/schemas/IdentityProviderDetails' - text/json: - schema: - $ref: '#/components/schemas/IdentityProviderDetails' - '400': - description: The user is not associated with a company. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Unexpected value of protocol. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - put: - tags: - - IdentityProvider - summary: 'Updates the details of the identity provider (Authorization required - Roles: setup_idp)' - description: 'Example: PUT: api/administration/identityprovider/owncompany/identityproviders/6CFEEF93-CB37-405B-B65A-02BEEB81629F' - parameters: - - name: identityProviderId - in: path - description: Id of the identity provider - required: true - schema: - type: string - format: uuid - requestBody: - description: possible changes for the identity provider - content: - application/json: - schema: - $ref: '#/components/schemas/IdentityProviderEditableDetails' - text/json: - schema: - $ref: '#/components/schemas/IdentityProviderEditableDetails' - application/*+json: - schema: - $ref: '#/components/schemas/IdentityProviderEditableDetails' - responses: - '200': - description: Returns a list of identityProviderDetails. - content: - text/plain: - schema: - $ref: '#/components/schemas/IdentityProviderDetails' - application/json: - schema: - $ref: '#/components/schemas/IdentityProviderDetails' - text/json: - schema: - $ref: '#/components/schemas/IdentityProviderDetails' - '400': - description: Unexpected value for category of identityProvider. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: The identityProvider is not associated with company of user. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: The identityProvider does not exist. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Unexpected value of protocol. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - delete: - tags: - - IdentityProvider - summary: 'Deletes the identity provider with the given id (Authorization required - Roles: delete_idp)' - description: 'Example: DELETE: api/administration/identityprovider/owncompany/identityproviders/6CFEEF93-CB37-405B-B65A-02BEEB81629F' - parameters: - - name: identityProviderId - in: path - description: Id of the identity provider - required: true - schema: - type: string - format: uuid - responses: - '204': - description: No Content - '400': - description: Unexpected value for category of identityProvider. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: The identityProvider is not associated with company of user. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: The identityProvider does not exist. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Unexpected value of protocol. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '200': - description: Returns a list of identityProviderDetails. - '401': - description: The User is unauthorized - '/api/administration/identityprovider/owncompany/identityproviders/{identityProviderId}/status': - post: - tags: - - IdentityProvider - summary: 'Sets the status of the given Identity Provider (Authorization required - Roles: disable_idp)' - description: 'Example: POST: api/administration/identityprovider/owncompany/identityproviders/6CFEEF93-CB37-405B-B65A-02BEEB81629F/status' - parameters: - - name: identityProviderId - in: path - description: Id of the identity provider - required: true - schema: - type: string - format: uuid - - name: enabled - in: query - description: 'true if the provider should be enabled, otherwise false' - schema: - type: boolean - responses: - '200': - description: Returns a list of identityProviderDetails. - content: - text/plain: - schema: - $ref: '#/components/schemas/IdentityProviderDetails' - application/json: - schema: - $ref: '#/components/schemas/IdentityProviderDetails' - text/json: - schema: - $ref: '#/components/schemas/IdentityProviderDetails' - '400': - description: Unexpected value for category of identityProvider. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: The identityProvider is not associated with company of user. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: The identityProvider does not exist. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Unexpected value of protocol. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - /api/administration/identityprovider/owncompany/users: - get: - tags: - - IdentityProvider - summary: 'Gets the company users for the identity providers (Authorization required - Roles: view_user_management)' - description: 'Example: GET: api/administration/identityprovider/owncompany/users' - parameters: - - name: identityProviderIds - in: query - description: Ids of the identity providers - schema: - type: array - items: - type: string - format: uuid - - name: unlinkedUsersOnly - in: query - description: Only users that doesn't match the given ids - schema: - type: boolean - default: false - responses: - '200': - description: Returns a list of user identity provider data. - content: - text/plain: - schema: - type: array - items: - $ref: '#/components/schemas/UserIdentityProviderData' - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UserIdentityProviderData' - text/json: - schema: - type: array - items: - $ref: '#/components/schemas/UserIdentityProviderData' - '400': - description: No identity provider was provided. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/identityprovider/owncompany/usersfile: - get: - tags: - - IdentityProvider - summary: 'Gets the company users for the identity providers as a file (Authorization required - Roles: modify_user_account)' - description: 'Example: GET: api/administration/identityprovider/owncompany/usersfile' - parameters: - - name: identityProviderIds - in: query - description: Ids of the identity providers - schema: - type: array - items: - type: string - format: uuid - - name: unlinkedUsersOnly - in: query - description: Only users that doesn't match the given ids - schema: - type: boolean - default: false - responses: - '200': - description: Returns a file of users. - content: - text/plain: - schema: - type: string - format: binary - application/json: - schema: - type: string - format: binary - text/json: - schema: - type: string - format: binary - '400': - description: No identity provider was provided. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - post: - tags: - - IdentityProvider - summary: 'Upload the users and adds them to the user provider (Authorization required - Roles: modify_user_account)' - description: 'Example: POST: api/administration/identityprovider/owncompany/usersfile' - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - document: - type: file - description: The file including the users - format: binary - encoding: - document: - style: form - responses: - '200': - description: Returns a file of users. - content: - text/plain: - schema: - $ref: '#/components/schemas/IdentityProviderUpdateStats' - application/json: - schema: - $ref: '#/components/schemas/IdentityProviderUpdateStats' - text/json: - schema: - $ref: '#/components/schemas/IdentityProviderUpdateStats' - '400': - description: user is not associated with a company. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '415': - description: Content type didn't match the expected value. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/identityprovider/owncompany/users/{companyUserId}/identityprovider/{identityProviderId}': - put: - tags: - - IdentityProvider - summary: 'Updates the given user for the given identity provider (Authorization required - Roles: modify_user_account)' - description: 'Example: PUT: api/administration/identityprovider/owncompany/users/A744E2AA-55AA-4511-9F42-80371220BE26/identityprovider/7DAAF6C3-BEB1-466B-A87A-98DB8CE194B2' - parameters: - - name: companyUserId - in: path - description: Id of the company user - required: true - schema: - type: string - format: uuid - - name: identityProviderId - in: path - description: Id of the identity provider - required: true - schema: - type: string - format: uuid - requestBody: - description: Data that should be updated - content: - application/json: - schema: - $ref: '#/components/schemas/UserLinkData' - text/json: - schema: - $ref: '#/components/schemas/UserLinkData' - application/*+json: - schema: - $ref: '#/components/schemas/UserLinkData' - responses: - '200': - description: Returns the link data. - content: - text/plain: - schema: - $ref: '#/components/schemas/UserIdentityProviderLinkData' - application/json: - schema: - $ref: '#/components/schemas/UserIdentityProviderLinkData' - text/json: - schema: - $ref: '#/components/schemas/UserIdentityProviderLinkData' - '400': - description: user is not associated with a company. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: user does not belong to company of companyUserId. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: companyUserId does not exist. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: companyUserId is not linked to keycloak - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - get: - tags: - - IdentityProvider - summary: 'Gets the given user for the given identity provider (Authorization required - Roles: view_user_management)' - description: 'Example: GET: api/administration/identityprovider/owncompany/users/A744E2AA-55AA-4511-9F42-80371220BE26/identityprovider/7DAAF6C3-BEB1-466B-A87A-98DB8CE194B2' - operationId: GetOwnCompanyUserIdentityProviderDataAsync - parameters: - - name: companyUserId - in: path - description: Id of the company user - required: true - schema: - type: string - format: uuid - - name: identityProviderId - in: path - description: Id of the identity provider - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns the link data. - content: - text/plain: - schema: - $ref: '#/components/schemas/UserIdentityProviderLinkData' - application/json: - schema: - $ref: '#/components/schemas/UserIdentityProviderLinkData' - text/json: - schema: - $ref: '#/components/schemas/UserIdentityProviderLinkData' - '400': - description: user is not associated with a company. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: user does not belong to company of companyUserId. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: companyUserId does not exist. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: companyUserId is not linked to keycloak - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - delete: - tags: - - IdentityProvider - summary: 'Deletes the given user on the given identity provider (Authorization required - Roles: modify_user_account)' - description: 'Example: DELETE: api/administration/identityprovider/owncompany/users/A744E2AA-55AA-4511-9F42-80371220BE26/identityprovider/7DAAF6C3-BEB1-466B-A87A-98DB8CE194B2' - parameters: - - name: companyUserId - in: path - description: Id of the company user - required: true - schema: - type: string - format: uuid - - name: identityProviderId - in: path - description: Id of the identity provider - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns the link data. - content: - text/plain: - schema: - $ref: '#/components/schemas/NoContentResult' - application/json: - schema: - $ref: '#/components/schemas/NoContentResult' - text/json: - schema: - $ref: '#/components/schemas/NoContentResult' - '400': - description: user is not associated with a company. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: user does not belong to company of companyUserId. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: companyUserId does not exist. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: companyUserId is not linked to keycloak - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - /api/administration/invitation: - post: - tags: - - Invitation - summary: 'Executes the invitation (Authorization required - Roles: invite_new_partner)' - description: 'Example: POST: api/administration/invitation' - requestBody: - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyInvitationData' - responses: - '200': - description: Successfully executed the invitation. - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyInvitationResponse' - '400': - description: 'Missing mandatory input values (e.g. email, organization name, etc.)' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: user is not associated with company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - '/api/administration/invitation/{processId}/retrigger-create-central-idp': - post: - tags: - - Invitation - summary: 'Retriggers the last failed step (Authorization required - Roles: invite_new_partner)' - parameters: - - name: processId - in: path - description: Id of the process that should be triggered - required: true - schema: - type: string - format: uuid - example: 251e4596-5ff0-4176-b544-840b04ebeb93 - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/invitation/{processId}/retrigger-create-shared-idp-sa': - post: - tags: - - Invitation - summary: 'Retriggers the last failed step (Authorization required - Roles: invite_new_partner)' - parameters: - - name: processId - in: path - description: Id of the process that should be triggered - required: true - schema: - type: string - format: uuid - example: 251e4596-5ff0-4176-b544-840b04ebeb93 - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/invitation/{processId}/retrigger-add-realm-role': - post: - tags: - - Invitation - summary: 'Retriggers the last failed step (Authorization required - Roles: invite_new_partner)' - parameters: - - name: processId - in: path - description: Id of the process that should be triggered - required: true - schema: - type: string - format: uuid - example: 251e4596-5ff0-4176-b544-840b04ebeb93 - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/invitation/{processId}/retrigger-update-central-idp-urls': - post: - tags: - - Invitation - summary: 'Retriggers the last failed step (Authorization required - Roles: invite_new_partner)' - parameters: - - name: processId - in: path - description: Id of the process that should be triggered - required: true - schema: - type: string - format: uuid - example: 251e4596-5ff0-4176-b544-840b04ebeb93 - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/invitation/{processId}/retrigger-create-central-idp-org-mapper': - post: - tags: - - Invitation - summary: 'Retriggers the last failed step (Authorization required - Roles: invite_new_partner)' - parameters: - - name: processId - in: path - description: Id of the process that should be triggered - required: true - schema: - type: string - format: uuid - example: 251e4596-5ff0-4176-b544-840b04ebeb93 - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/invitation/{processId}/retrigger-create-shared-realm-idp-client': - post: - tags: - - Invitation - summary: 'Retriggers the last failed step (Authorization required - Roles: invite_new_partner)' - parameters: - - name: processId - in: path - description: Id of the process that should be triggered - required: true - schema: - type: string - format: uuid - example: 251e4596-5ff0-4176-b544-840b04ebeb93 - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/invitation/{processId}/retrigger-enable-central-idp': - post: - tags: - - Invitation - summary: 'Retriggers the last failed step (Authorization required - Roles: invite_new_partner)' - parameters: - - name: processId - in: path - description: Id of the process that should be triggered - required: true - schema: - type: string - format: uuid - example: 251e4596-5ff0-4176-b544-840b04ebeb93 - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/invitation/{processId}/retrigger-create-database-idp': - post: - tags: - - Invitation - summary: 'Retriggers the last failed step (Authorization required - Roles: invite_new_partner)' - parameters: - - name: processId - in: path - description: Id of the process that should be triggered - required: true - schema: - type: string - format: uuid - example: 251e4596-5ff0-4176-b544-840b04ebeb93 - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/invitation/{processId}/retrigger-invite-shared-client': - post: - tags: - - Invitation - summary: 'Retriggers the last failed step (Authorization required - Roles: invite_new_partner)' - parameters: - - name: processId - in: path - description: Id of the process that should be triggered - required: true - schema: - type: string - format: uuid - example: 251e4596-5ff0-4176-b544-840b04ebeb93 - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/invitation/{processId}/retrigger-create-user': - post: - tags: - - Invitation - summary: 'Retriggers the last failed step (Authorization required - Roles: invite_new_partner)' - parameters: - - name: processId - in: path - description: Id of the process that should be triggered - required: true - schema: - type: string - format: uuid - example: 251e4596-5ff0-4176-b544-840b04ebeb93 - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/Mail/ssi-credentials: - post: - tags: - - Mail - summary: 'Creates a mail from the given data (Authorization required - Roles: send_mail)' - description: 'Example: POST: /api/administration/mail/ssi-credentials' - requestBody: - description: Data for the mail - content: - application/json: - schema: - $ref: '#/components/schemas/MailData' - text/json: - schema: - $ref: '#/components/schemas/MailData' - application/*+json: - schema: - $ref: '#/components/schemas/MailData' - responses: - '204': - description: No Content - content: - application/json: - schema: - type: integer - format: int32 - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/Mail/retrigger-send-mail: - post: - tags: - - Mail - summary: 'Retriggers the mail sending (Authorization required - Roles: retrigger_mail)' - description: 'Example: POST: /api/administration/mail/retrigger-send-mail' - parameters: - - name: processId - in: path - description: The mailing process id of the to retrigger - required: true - schema: - type: string - format: uuid - responses: - '204': - description: No Content - content: - application/json: - schema: - type: integer - format: int32 - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/registration/Network/partnerRegistration: - post: - tags: - - Network - summary: 'Registers a partner company (Authorization required - Roles: create_partner_registration)' - requestBody: - description: Data for the registration - content: - application/json: - schema: - $ref: '#/components/schemas/PartnerRegistrationData' - responses: - '200': - description: Empty response on success. - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/Network/{externalId}/retrigger-synchronize-users': - post: - tags: - - Network - summary: 'Retriggers the last failed step (Authorization required - Roles: approve_new_partner)' - parameters: - - name: externalId - in: path - description: Id of the externalId that should be triggered - required: true - schema: - type: string - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/Network/{externalId}/retrigger-callback-osp-approve': - post: - tags: - - Network - summary: 'Retriggers the last failed step (Authorization required - Roles: approve_new_partner)' - parameters: - - name: externalId - in: path - description: Id of the externalId that should be triggered - required: true - schema: - type: string - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/Network/{externalId}/retrigger-callback-osp-decline': - post: - tags: - - Network - summary: 'Retriggers the last failed step (Authorization required - Roles: approve_new_partner)' - parameters: - - name: externalId - in: path - description: Id of the externalId that should be triggered - required: true - schema: - type: string - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/Network/{externalId}/retrigger-callback-osp-submitted': - post: - tags: - - Network - summary: 'Retriggers the last failed step (Authorization required - Roles: approve_new_partner)' - parameters: - - name: externalId - in: path - description: Id of the externalId that should be triggered - required: true - schema: - type: string - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/Network/{externalId}/retrigger-remove-keycloak-user': - post: - tags: - - Network - summary: 'Retriggers the last failed step (Authorization required - Roles: approve_new_partner)' - parameters: - - name: externalId - in: path - description: Id of the externalId that should be triggered - required: true - schema: - type: string - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/info: - get: - tags: - - OpenInformation - summary: ' (Authorization required)' - responses: - '200': - description: OK - content: - text/plain: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - text/json: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/PartnerNetwork/memberCompanies: - get: - tags: - - PartnerNetwork - summary: 'Get all member companies (Authorization required - Roles: view_membership)' - description: 'Example: GET: api/administration/partnernetwork/memberCompanies' - parameters: - - name: bpnIds - in: query - description: BPN Id's - schema: - type: array - items: - type: string - responses: - '200': - description: Returns all the active member companies bpn. - content: - application/json: - schema: - type: array - items: - type: string - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/application/{applicationId}/companyDetailsWithAddress': - get: - tags: - - Registration - summary: 'Gets the company with its address (Authorization required - Roles: view_submitted_applications)' - description: 'Example: GET: api/administration/registration/application/4f0146c6-32aa-4bb1-b844-df7e8babdcb4/companyDetailsWithAddress' - parameters: - - name: applicationId - in: path - description: '' - required: true - schema: - type: string - format: uuid - example: 4f0146c6-32aa-4bb1-b844-df7e8babdcb4 - responses: - '200': - description: Returns the company with its address. - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyWithAddressData' - '400': - description: No applicationId was set. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Application ID not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/registration/applications: - get: - tags: - - Registration - summary: 'Get Application Detail by Company Name or Status (Authorization required - Roles: view_submitted_applications)' - description: "Example: GET: api/administration/registration/applications?companyName=Car&page=0&size=4&companyApplicationStatus=Closed \n\r\nExample: GET: api/administration/registration/applications?page=0&size=4" - parameters: - - name: page - in: query - description: page index start from 0 - schema: - type: integer - format: int32 - - name: size - in: query - description: size to get number of records - schema: - type: integer - format: int32 - - name: companyApplicationStatusFilter - in: query - description: Search by company applicationstatus - schema: - $ref: '#/components/schemas/CompanyApplicationStatusFilter' - - name: companyName - in: query - description: search by company name - schema: - type: string - responses: - '200': - description: Result as a Company Application Details - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyApplicationDetailsResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/registration/applicationsWithStatus: - get: - tags: - - Registration - summary: 'fetch all applications details with company user details. (Authorization required - Roles: invite_new_partner)' - description: 'Example: GET: api/administration/registration/applicationsWithStatus?page=0&size=15' - parameters: - - name: page - in: query - description: Optional query parameter defining the page index start from 0 - schema: - type: integer - format: int32 - default: 0 - - name: size - in: query - description: Optional query parameter defining the size to get number of records - schema: - type: integer - format: int32 - default: 15 - - name: companyName - in: query - description: Optional query parameter defining the company name to get number of records as per company name - schema: - type: string - responses: - '200': - description: Result as a All Company Applications Details - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyApplicationWithCompanyUserDetailsResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/application/{applicationId}/{bpn}/bpn': - post: - tags: - - Registration - summary: 'Update the BPN for a Company (Authorization required - Roles: approve_new_partner)' - description: 'Example: POST: /api/administration/registration/application/6126fdc8-f572-4a63-a5b3-d5e52cb58136/BPNL00000003CSGV/bpn' - parameters: - - name: applicationId - in: path - description: '' - required: true - schema: - type: string - format: uuid - - name: bpn - in: path - description: '' - required: true - schema: - type: string - responses: - '200': - description: Successfully Updated the BPN. - content: - application/json: - schema: - type: boolean - '400': - description: Bpn is not 16 character long or alphanumeric or does not start with BPNL - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: application Id not found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Bpn is already assigned or alphanumeric or application for company is not pending - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/applications/{applicationId}/approve': - post: - tags: - - Registration - summary: 'Approves the registration verification for the application with the given id (Authorization required - Roles: approve_new_partner)' - description: 'Example: POST: api/administration/registration/application/4f0146c6-32aa-4bb1-b844-df7e8babdcb4/approve' - parameters: - - name: applicationId - in: path - description: Id of the application that should be approved - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Successfully approved the application - '400': - description: 'Either the CompanyApplication is not in status SUBMITTED, or there is no checklist entry of type Registration_Verification.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Application ID not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/applications/{applicationId}/decline': - post: - tags: - - Registration - summary: 'Declines the registration verification for the application with the given id (Authorization required - Roles: decline_new_partner)' - description: 'Example: POST: api/administration/registration/application/{applicationId}/decline' - parameters: - - name: applicationId - in: path - description: Id of the application that should be declined - required: true - schema: - type: string - format: uuid - requestBody: - description: Comment to explain why the application got declined - content: - application/json: - schema: - $ref: '#/components/schemas/RegistrationDeclineData' - responses: - '204': - description: Successfully declined the application - '400': - description: 'Either the CompanyApplication is not in status SUBMITTED, or there is no checklist entry of type Registration_Verification.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Application ID not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/registration/clearinghouse: - post: - tags: - - Registration - summary: 'Processes the clearinghouse response (Authorization required - Roles: update_application_checklist_value)' - requestBody: - description: Response data from clearinghouse - content: - application/json: - schema: - $ref: '#/components/schemas/ClearinghouseResponseData' - responses: - '204': - description: Empty response on success. - '400': - description: Either the CompanyApplication is not in status SUBMITTED or the clearing_house process is not in status IN_PROGRESS. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No application found for the bpn. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/dim/{bpn}': - post: - tags: - - Registration - summary: 'Processes the dim middlelayer response (Authorization required - Roles: store_didDocument)' - parameters: - - name: bpn - in: path - description: BusinessPartnerNumber for dim - required: true - schema: - type: string - requestBody: - description: Response data from dim - content: - application/json: - schema: - $ref: '#/components/schemas/DimWalletData' - responses: - '204': - description: Empty response on success. - '400': - description: Either the CompanyApplication is not in status SUBMITTED or the clearing_house process is not in status IN_PROGRESS. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No application found for the bpn. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/applications/{applicationId}/checklistDetails': - get: - tags: - - Registration - summary: 'Gets the information of an applications checklist (Authorization required - Roles: approve_new_partner)' - description: 'Example: GET: api/administration/registration/application/4f0146c6-32aa-4bb1-b844-df7e8babdcb4/checklistDetails' - parameters: - - name: applicationId - in: path - description: Id of the application the checklist should be provided for - required: true - schema: - type: string - format: uuid - responses: - '200': - description: The checklist information for the application - content: - application/json: - schema: - $ref: '#/components/schemas/ChecklistDetails' - '404': - description: Application ID not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/application/{applicationId}/override-clearinghouse': - post: - tags: - - Registration - summary: 'Retriggers the last failed to override the clearinghouse-result (Authorization required - Roles: approve_new_partner)' - parameters: - - name: applicationId - in: path - description: Id of the application that should be triggered - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Empty response on success. - '400': - description: Either the CompanyApplication is not in status SUBMITTED or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No application found for the applicationId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/application/{applicationId}/retrigger-clearinghouse': - post: - tags: - - Registration - summary: 'Retriggers the last failed step (Authorization required - Roles: approve_new_partner)' - parameters: - - name: applicationId - in: path - description: Id of the application that should be triggered - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Empty response on success. - '400': - description: Either the CompanyApplication is not in status SUBMITTED or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No application found for the applicationId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/application/{applicationId}/trigger-identity-wallet': - post: - tags: - - Registration - summary: 'Retriggers the last failed step (Authorization required - Roles: approve_new_partner)' - parameters: - - name: applicationId - in: path - description: Id of the application that should be triggered - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Empty response on success. - '400': - description: Either the CompanyApplication is not in status SUBMITTED or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No application found for the applicationId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/application/{applicationId}/trigger-self-description': - post: - tags: - - Registration - summary: 'Retriggers the last failed step (Authorization required - Roles: approve_new_partner)' - parameters: - - name: applicationId - in: path - description: Id of the application that should be triggered - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Empty response on success. - '400': - description: Either the CompanyApplication is not in status SUBMITTED or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No application found for the applicationId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/application/{applicationId}/trigger-bpn': - post: - tags: - - Registration - summary: 'Retriggers the last failed step (Authorization required - Roles: approve_new_partner)' - parameters: - - name: applicationId - in: path - description: Id of the application that should be triggered - required: true - schema: - type: string - format: uuid - - name: processTypeId - in: query - description: 'Optional: The process type id that should be retriggered' - schema: - $ref: '#/components/schemas/ProcessStepTypeId' - responses: - '204': - description: Empty response on success. - '400': - description: Either the CompanyApplication is not in status SUBMITTED or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No application found for the applicationId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/registration/clearinghouse/selfDescription: - post: - tags: - - Registration - summary: 'Processes the clearinghouse self description push (Authorization required - Roles: update_application_checklist_value)' - requestBody: - description: The response data for the self description - content: - application/json: - schema: - $ref: '#/components/schemas/SelfDescriptionResponseData' - responses: - '204': - description: Empty response on success. - '400': - description: The CompanyApplication is not in status SUBMITTED. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Record not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/documents/{documentId}': - get: - tags: - - Registration - summary: 'Retrieves a specific document for the given id. (Authorization required - Roles: approve_new_partner)' - description: 'Example: GET: /api/administration/registration/documents/4ad087bb-80a1-49d3-9ba9-da0b175cd4e3' - parameters: - - name: documentId - in: path - description: Id of the document to get. - required: true - schema: - type: string - format: uuid - example: 4ad087bb-80a1-49d3-9ba9-da0b175cd4e3 - responses: - '200': - description: Returns the file. - content: - application/json: - schema: - type: string - format: binary - '404': - description: Record not found. - content: - application/json: - schema: - type: string - format: binary - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/application/{applicationId}/retrigger-create-dim-wallet': - post: - tags: - - Registration - summary: 'Retriggers the last failed step (Authorization required - Roles: approve_new_partner)' - parameters: - - name: applicationId - in: path - description: Id of the application that should be triggered - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Empty response on success. - '400': - description: Either the CompanyApplication is not in status SUBMITTED or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No application found for the applicationId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/application/{applicationId}/retrigger-validate-did': - post: - tags: - - Registration - summary: 'Retriggers the last failed step (Authorization required - Roles: approve_new_partner)' - parameters: - - name: applicationId - in: path - description: Id of the application that should be triggered - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Empty response on success. - '400': - description: Either the CompanyApplication is not in status SUBMITTED or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No application found for the applicationId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/application/{applicationId}/retrigger-transmit-bpn-did': - post: - tags: - - Registration - summary: 'Retriggers the last failed step (Authorization required - Roles: approve_new_partner)' - parameters: - - name: applicationId - in: path - description: Id of the application that should be triggered - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Empty response on success. - '400': - description: Either the CompanyApplication is not in status SUBMITTED or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No application found for the applicationId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/application/{applicationId}/retrigger-bpn-credential': - post: - tags: - - Registration - summary: 'Retriggers the last failed step (Authorization required - Roles: approve_new_partner)' - parameters: - - name: applicationId - in: path - description: Id of the application that should be triggered - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Empty response on success. - '400': - description: Either the CompanyApplication is not in status SUBMITTED or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No application found for the applicationId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/application/{applicationId}/retrigger-membership-credential': - post: - tags: - - Registration - summary: 'Retriggers the last failed step (Authorization required - Roles: approve_new_partner)' - parameters: - - name: applicationId - in: path - description: Id of the application that should be triggered - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Empty response on success. - '400': - description: Either the CompanyApplication is not in status SUBMITTED or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No application found for the applicationId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/registration/issuer/bpncredential: - post: - tags: - - Registration - summary: 'Processes the issuer bpn response (Authorization required - Roles: update_application_bpn_credential)' - requestBody: - description: Response data from the issuer component - content: - application/json: - schema: - $ref: '#/components/schemas/IssuerResponseData' - responses: - '204': - description: Empty response on success. - '400': - description: Either the CompanyApplication is not in status SUBMITTED or the bpn credential process is not in status IN_PROGRESS. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No application found for the external id. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/registration/issuer/membershipcredential: - post: - tags: - - Registration - summary: 'Processes the issuer membership response (Authorization required - Roles: update_application_membership_credential)' - requestBody: - description: Response data from the issuer component - content: - application/json: - schema: - $ref: '#/components/schemas/IssuerResponseData' - responses: - '204': - description: Empty response on success. - '400': - description: Either the CompanyApplication is not in status SUBMITTED or the membership credential process is not in status IN_PROGRESS. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No application found for the external id. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/{processId}/retrigger-delete-idpSharedRealm': - post: - tags: - - Registration - summary: 'Retriggers the last failed step (Authorization required - Roles: decline_new_partner)' - parameters: - - name: processId - in: path - description: Id of the process that should be triggered - required: true - schema: - type: string - format: uuid - example: 251e4596-5ff0-4176-b544-840b04ebeb93 - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No Process found for the processId - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/{processId}/retrigger-delete-idpSharedServiceAccount': - post: - tags: - - Registration - summary: 'Retriggers the last failed step (Authorization required - Roles: decline_new_partner)' - parameters: - - name: processId - in: path - description: Id of the process that should be triggered - required: true - schema: - type: string - format: uuid - example: 251e4596-5ff0-4176-b544-840b04ebeb93 - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No Process found for the processId - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/{processId}/retrigger-delete-centralIdentityProvider': - post: - tags: - - Registration - summary: 'Retriggers the last failed step (Authorization required - Roles: decline_new_partner)' - parameters: - - name: processId - in: path - description: Id of the process that should be triggered - required: true - schema: - type: string - format: uuid - example: 251e4596-5ff0-4176-b544-840b04ebeb93 - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No Process found for the processId - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/{processId}/retrigger-delete-centraluser': - post: - tags: - - Registration - summary: 'Retriggers the last failed step (Authorization required - Roles: decline_new_partner)' - parameters: - - name: processId - in: path - description: Id of the process that should be triggered - required: true - schema: - type: string - format: uuid - example: 251e4596-5ff0-4176-b544-840b04ebeb93 - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No Process found for the processId - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/registration/network/companies: - get: - tags: - - Registration - summary: 'Get OSP Company Application Detail by Company Name or Status (Authorization required - Roles: view_submitted_applications)' - description: "Example: GET: api/administration/registration/network/companies?companyName=Car&page=0&size=4&companyApplicationStatus=Closed \n\r\nExample: GET: api/administration/registration/network/companies?page=0&size=4" - parameters: - - name: page - in: query - description: page index start from 0 - schema: - type: integer - format: int32 - - name: size - in: query - description: size to get number of records - schema: - type: integer - format: int32 - - name: companyApplicationStatusFilter - in: query - description: Search by company applicationstatus - schema: - $ref: '#/components/schemas/CompanyApplicationStatusFilter' - - name: companyName - in: query - description: search by company name - schema: - type: string - - name: externalId - in: query - description: search by external Id - schema: - type: string - - name: dateCreatedOrderFilter - in: query - description: sort result by dateCreated ascending or descending - schema: - $ref: '#/components/schemas/DateCreatedOrderFilter' - responses: - '200': - description: Result as a OSP Company Application Details - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyDetailsOspOnboardingResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/RegistrationStatus/callback: - get: - tags: - - RegistrationStatus - summary: 'Gets the callback address of the onboarding service provider (Authorization required - Roles: configure_partner_registration)' - description: 'Example: GET: api/administration/registrationstatus/callback' - responses: - '200': - description: Returns the company with its address. - content: - application/json: - schema: - $ref: '#/components/schemas/OnboardingServiceProviderCallbackRequestData' - '400': - description: Company is no onboarding service provider. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - post: - tags: - - RegistrationStatus - summary: 'Sets the callback address of the onboarding service provider (Authorization required - Roles: configure_partner_registration)' - description: 'Example: POST: api/administration/registrationstatus/callback' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/OnboardingServiceProviderCallbackRequestData' - responses: - '204': - description: Returns no content. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/serviceaccount/owncompany/serviceaccounts: - post: - tags: - - ServiceAccount - summary: 'Creates a new technical user / service account with selected role under the same org as the requester (Authorization required - Roles: add_tech_user_management)' - description: 'Example: POST: api/administration/serviceaccount/owncompany/serviceaccounts' - requestBody: - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ServiceAccountCreationInfo' - responses: - '200': - description: The service account was created. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ServiceAccountDetails' - '400': - description: Missing mandatory input values (e.g. name) or not supported authenticationType selected. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: 'Record was not found. Possible reason: invalid user role, requester user invalid.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - get: - tags: - - ServiceAccount - summary: 'Gets the service account data as pagination (Authorization required - Roles: view_tech_user_management)' - description: 'Example: GET: api/administration/serviceaccount/owncompany/serviceaccounts' - parameters: - - name: page - in: query - description: the page of service account data - schema: - type: integer - format: int32 - - name: size - in: query - description: number of service account data - schema: - type: integer - format: int32 - - name: isOwner - in: query - description: isOwner either true or false - schema: - type: boolean - - name: clientId - in: query - description: clientId is string clientclientid - schema: - type: string - - name: filterForInactive - in: query - description: isUserStatusActive is True or False - schema: - type: boolean - default: false - - name: userStatus - in: query - description: 'userStatus is ACTIVE, INACTIVE, PENDING or DELETED (optional, multiple values allowed)' - schema: - type: array - items: - $ref: '#/components/schemas/UserStatusId' - responses: - '200': - description: Returns the specific number of service account data for the given page. - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyServiceAccountDataResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/serviceaccount/owncompany/serviceaccounts/{serviceAccountId}': - delete: - tags: - - ServiceAccount - summary: 'Deletes the service account with the given id (Authorization required - Roles: delete_tech_user_management)' - description: 'Example: DELETE: api/administration/serviceaccount/owncompany/serviceaccounts/7e85a0b8-0001-ab67-10d1-0ef508201000' - parameters: - - name: serviceAccountId - in: path - description: Id of the service account that should be deleted. - required: true - schema: - type: string - format: uuid - example: 7e85a0b8-0001-ab67-10d1-0ef508201000 - responses: - '200': - description: Successful if the service account was deleted. - content: - application/json: - schema: - type: integer - format: int32 - '404': - description: Record was not found. Service account is either not existing or not connected to the respective company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Technical User is linked to an active connector. Change the link or deactivate the connector to delete the technical user. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - get: - tags: - - ServiceAccount - summary: 'Gets the service account details for the given id (Authorization required - Roles: view_tech_user_management)' - description: 'Example: GET: api/administration/serviceaccount/owncompany/serviceaccounts/7e85a0b8-0001-ab67-10d1-0ef508201000' - operationId: GetServiceAccountDetails - parameters: - - name: serviceAccountId - in: path - description: Id to get the service account details for. - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns a list of service account details. - content: - application/json: - schema: - $ref: '#/components/schemas/ServiceAccountConnectorOfferData' - '404': - description: Record was not found. Service account is either not existing or not connected to the respective company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Undefined client for service account. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - put: - tags: - - ServiceAccount - summary: 'Updates the service account details with the given id. (Authorization required - Roles: add_tech_user_management)' - description: 'Example: PUT: api/administration/serviceaccount/owncompany/serviceaccounts/7e85a0b8-0001-ab67-10d1-0ef508201000' - parameters: - - name: serviceAccountId - in: path - description: Id of the service account details that should be updated. - required: true - schema: - type: string - format: uuid - requestBody: - description: The new values for the details. - content: - application/json: - schema: - $ref: '#/components/schemas/ServiceAccountEditableDetails' - responses: - '200': - description: Returns the updated service account details. - content: - application/json: - schema: - $ref: '#/components/schemas/ServiceAccountDetails' - '400': - description: "Problem could be one of the following: \n\r\n- other authenticationType values than SECRET are not supported yet \n\r\n- serviceAccountId from path does not match the one in body \n\r\n- serviceAccount is already INACTIVE \n" - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Record was not found. Service account is either not existing or not connected to the respective company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Undefined client for service account. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/serviceaccount/owncompany/serviceaccounts/{serviceAccountId}/resetCredentials': - post: - tags: - - ServiceAccount - summary: 'Resets the service account credentials for the given service account Id. (Authorization required - Roles: add_tech_user_management)' - description: 'Example: POST: api/administration/serviceaccount/owncompany/serviceaccounts/7e85a0b8-0001-ab67-10d1-0ef508201000/resetCredentials' - parameters: - - name: serviceAccountId - in: path - description: Id of the service account. - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns the service account details. - content: - application/json: - schema: - $ref: '#/components/schemas/ServiceAccountDetails' - '404': - description: Record was not found. Service account is either not existing or not connected to the respective company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Undefined client for service account. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/serviceaccount/user/roles: - get: - tags: - - ServiceAccount - summary: 'Get all service account roles (Authorization required - Roles: technical_roles_management)' - description: 'Example: GET: api/administration/serviceaccount/user/roles' - parameters: - - name: languageShortName - in: query - description: 'OPTIONAL: The language short name.' - schema: - type: string - responses: - '200': - description: returns all service account roles - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UserRoleWithDescription' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/serviceaccount/callback/{processId}': - post: - tags: - - ServiceAccount - summary: 'Get all service account roles (Authorization required - Roles: technical_roles_management)' - description: 'Example: POST: api/administration/serviceaccount/callback/{externalId}' - parameters: - - name: processId - in: path - description: The processId that was passed as externalId with the request for creation of the technical user. - required: true - schema: - type: string - format: uuid - requestBody: - description: Information of the technical user which was created. - content: - application/json: - schema: - $ref: '#/components/schemas/AuthenticationDetail' - responses: - '200': - description: returns all service account roles - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/serviceaccount/callback/{processId}/retrigger-create-dim-technical-user': - post: - tags: - - ServiceAccount - summary: 'Retriggers the create dim technical user (Authorization required - Roles: technical_roles_management)' - description: 'Example: POST: api/administration/serviceaccount/callback/{externalId}/retrigger-create-dim-technical-user' - parameters: - - name: processId - in: path - description: The processId of the dim technical user creation. - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Ok - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/serviceaccount/callback/{processId}/retrigger-delete-dim-technical-user': - post: - tags: - - ServiceAccount - summary: 'Retriggers the delete dim technical user (Authorization required - Roles: technical_roles_management)' - description: 'Example: POST: api/administration/serviceaccount/callback/{externalId}/retrigger-delete-dim-technical-user' - parameters: - - name: processId - in: path - description: The processId of the dim technical user deletion. - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Ok - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/serviceaccount/callback/{processId}/delete': - post: - tags: - - ServiceAccount - summary: 'Callback for the successful service account deletion (Authorization required - Roles: technical_roles_management)' - description: 'Example: POST: api/administration/serviceaccount/callback/{externalId}/delete' - parameters: - - name: processId - in: path - description: The processId that was passed as externalId with the request for deletion of the technical user. - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Ok - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/staticdata/usecases: - get: - tags: - - StaticData - summary: 'Retrieves all Use Case Data (Authorization required - Roles: view_use_cases)' - description: 'Example: GET: /api/administration/staticdata/usecases' - responses: - '200': - description: Returns a list of all of the use case data. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UseCaseData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/staticdata/languagetags: - get: - tags: - - StaticData - summary: 'Retrieve all app language tags - short name (2digit) and long name (Authorization required - Roles: view_app_language)' - description: "Example: GET: /api/administration/staticdata/languagetags\r\nthe \"lang\" parameter is an optional parameter and if not set \"en\" will be used" - responses: - '200': - description: Returns a list of all of the Language i.e german and english - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/LanguageData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/staticdata/licenseType: - get: - tags: - - StaticData - summary: 'Retrieve all license types (Authorization required - Roles: view_license_types)' - description: 'Example: GET: /api/administration/staticdata/licenseType' - responses: - '200': - description: Returns a list of all the license type i.e COTS and FOSS - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/LicenseTypeData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/staticdata/operator-bpn: - get: - tags: - - StaticData - summary: Retrieve the bpns of the operator companies (Authorization required) - description: 'Example: GET: /api/administration/staticdata/operator-bpn' - responses: - '200': - description: Returns a list of all the operator bpns - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/OperatorBpnData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/staticdata/certificateTypes: - get: - tags: - - StaticData - summary: 'Retrieve all certificate types (Authorization required - Roles: view_certificates)' - description: 'Example: GET: /api/administration/staticdata/certificateTypes' - responses: - '200': - description: Returns a list of all of the Language i.e german and english - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CompanyCertificateTypeData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/staticdata/did/{bpn}/did.json': - get: - tags: - - StaticData - summary: Retrieve all certificate types - description: 'Example: GET: /api/administration/staticdata/did/{bpn}/did.json' - parameters: - - name: bpn - in: path - required: true - schema: - type: string - responses: - '200': - description: Returns a list of all of the Language i.e german and english - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CompanyCertificateTypeData' - '500': - description: Internal Server Error - /api/administration/SubscriptionConfiguration/owncompany: - get: - tags: - - SubscriptionConfiguration - summary: 'get detail data of the calling users service provider (Authorization required - Roles: add_service_offering, add_apps)' - description: 'Example: GET: api/administration/subscriptionconfiguration/owncompany' - operationId: GetServiceProviderCompanyDetail - responses: - '200': - description: The service provider details. - content: - application/json: - schema: - $ref: '#/components/schemas/ProviderDetailReturnData' - '400': - description: The given data are incorrect. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: The calling users company is not a service-provider - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: User is not assigned to company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - put: - tags: - - SubscriptionConfiguration - summary: 'Sets detail data to the calling users service provider (Authorization required - Roles: add_service_offering, add_apps)' - description: 'Example: PUT: api/administration/subscriptionconfiguration/owncompany' - requestBody: - description: Service provider detail data - content: - application/json: - schema: - $ref: '#/components/schemas/ProviderDetailData' - responses: - '204': - description: Empty response on success. - '400': - description: The given data are incorrect. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Service Provider was not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/SubscriptionConfiguration/process/offer-subscription/{offerSubscriptionId}': - get: - tags: - - SubscriptionConfiguration - summary: 'Gets the process steps for the given offer subscription id (Authorization required - Roles: view_autosetup_status)' - parameters: - - name: offerSubscriptionId - in: path - description: Id of the offer subscription that should be triggered - required: true - schema: - type: string - format: uuid - example: 22dbc488-8f90-40b4-9fbd-ea0b246e827b - responses: - '204': - description: No Content - '400': - description: Either the OfferSubscription is not in status PENDING or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No OfferSubscription found for the offerSubscriptionId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '200': - description: Returns the process steps. - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/SubscriptionConfiguration/process/offer-subscription/{offerSubscriptionId}/retrigger-provider': - post: - tags: - - SubscriptionConfiguration - summary: 'Retriggers the provider for the given offer subscription id (Authorization required - Roles: retrigger_subscription, activate_subscription)' - parameters: - - name: offerSubscriptionId - in: path - description: Id of the offer subscription that should be triggered - required: true - schema: - type: string - format: uuid - example: 22dbc488-8f90-40b4-9fbd-ea0b246e827b - responses: - '204': - description: Empty response on success. - '400': - description: Either the OfferSubscription is not in status PENDING or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No OfferSubscription found for the offerSubscriptionId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/SubscriptionConfiguration/process/offer-subscription/{offerSubscriptionId}/retrigger-create-client': - post: - tags: - - SubscriptionConfiguration - summary: 'Retriggers the client creation for the given offer subscription id (Authorization required - Roles: retrigger_subscription)' - parameters: - - name: offerSubscriptionId - in: path - description: Id of the offer subscription that should be triggered - required: true - schema: - type: string - format: uuid - example: 22dbc488-8f90-40b4-9fbd-ea0b246e827b - responses: - '204': - description: Empty response on success. - '400': - description: Either the OfferSubscription is not in status PENDING or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No OfferSubscription found for the offerSubscriptionId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/SubscriptionConfiguration/process/offer-subscription/{offerSubscriptionId}/retrigger-create-technical-user': - post: - tags: - - SubscriptionConfiguration - summary: 'Retriggers the technical user creation for the given offer subscription id (Authorization required - Roles: retrigger_subscription)' - parameters: - - name: offerSubscriptionId - in: path - description: Id of the offer subscription that should be triggered - required: true - schema: - type: string - format: uuid - example: 22dbc488-8f90-40b4-9fbd-ea0b246e827b - responses: - '204': - description: Empty response on success. - '400': - description: Either the OfferSubscription is not in status PENDING or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No OfferSubscription found for the offerSubscriptionId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/SubscriptionConfiguration/process/offer-subscription/{offerSubscriptionId}/retrigger-provider-callback': - post: - tags: - - SubscriptionConfiguration - summary: 'Retriggers the provider callback for the given offer subscription id (Authorization required - Roles: retrigger_subscription, activate_subscription)' - parameters: - - name: offerSubscriptionId - in: path - description: Id of the offer subscription that should be triggered - required: true - schema: - type: string - format: uuid - example: 22dbc488-8f90-40b4-9fbd-ea0b246e827b - responses: - '204': - description: Empty response on success. - '400': - description: Either the OfferSubscription is not in status ACTIVE or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No OfferSubscription found for the offerSubscriptionId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/SubscriptionConfiguration/process/offer-subscription/{offerSubscriptionId}/retrigger-create-dim-technical-user': - post: - tags: - - SubscriptionConfiguration - summary: 'Retriggers the dim technical user creation for the given offer subscription id (Authorization required - Roles: retrigger_subscription)' - parameters: - - name: offerSubscriptionId - in: path - description: Id of the offer subscription that should be triggered - required: true - schema: - type: string - format: uuid - example: 22dbc488-8f90-40b4-9fbd-ea0b246e827b - responses: - '204': - description: Empty response on success. - '400': - description: Either the OfferSubscription is not in status PENDING or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No OfferSubscription found for the offerSubscriptionId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/user/owncompany/users: - post: - tags: - - User - summary: 'Creates new users for the company of the current user (Authorization required - Roles: add_user_account)' - description: 'Example: POST: api/administration/user/owncompany/users' - requestBody: - description: the users that should be created - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UserCreationInfo' - responses: - '200': - description: User successfully created and invite email send - content: - application/json: - schema: - type: array - items: - type: string - '400': - description: Provided input is not sufficient. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - get: - tags: - - User - summary: 'Get Company User Data (Authorization required - Roles: view_user_management)' - description: 'Example: GET: api/administration/user/owncompany/users?page=0&size=5' - parameters: - - name: page - in: query - description: page index start from 0 - schema: - type: integer - format: int32 - - name: size - in: query - description: size to get number of records - schema: - type: integer - format: int32 - - name: companyUserId - in: query - description: Company User Id - schema: - type: string - format: uuid - - name: firstName - in: query - description: First Name of User - schema: - type: string - - name: lastName - in: query - description: Last Name of User - schema: - type: string - - name: email - in: query - description: Email Id of User - schema: - type: string - responses: - '200': - description: Result as a Company User Data - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyUserDataResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - delete: - tags: - - User - summary: 'Deletes the users with the given ids. (Authorization required - Roles: delete_user_account)' - description: 'Example: DELETE: api/administration/user/owncompany/users' - requestBody: - description: The ids of the users that should be deleted. - content: - application/json: - schema: - type: array - items: - type: string - format: uuid - responses: - '200': - description: Users have successfully been deleted. - content: - application/json: - schema: - type: array - items: - type: string - format: uuid - '404': - description: Record was not found. User is either not existing or not connected to the respective company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/user/owncompany/usersfile: - post: - tags: - - User - summary: 'Create new users for the companies shared identityprovider by upload of csv-file (Authorization required - Roles: add_user_account)' - description: 'Example: POST: api/administration/user/owncompany/usersfile' - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - document: - type: file - description: The file including the users - format: binary - encoding: - document: - style: form - application/json: - schema: - type: object - properties: - document: - type: file - description: The file including the users - format: binary - encoding: - document: - style: form - responses: - '200': - description: Returns a file of users. - content: - application/json: - schema: - $ref: '#/components/schemas/UserCreationStats' - '400': - description: user is not associated with a company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '415': - description: Content type didn't match the expected value. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/user/owncompany/identityprovider/{identityProviderId}/users': - post: - tags: - - User - summary: 'Create a new user for a specific identityprovider (Authorization required - Roles: add_user_account)' - description: 'Example: POST: api/administration/user/owncompany/identityprovider/{identityProviderId}/users' - parameters: - - name: identityProviderId - in: path - description: the id of the identityprovider - required: true - schema: - type: string - format: uuid - requestBody: - description: properties and identityprovider link data for the user to create - content: - application/json: - schema: - $ref: '#/components/schemas/UserCreationInfoIdp' - responses: - '201': - description: Record Created Successfully - content: - application/json: - schema: - type: string - format: uuid - '400': - description: Input is incorrect. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Unexpected Error - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No Record Found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Company Name is null. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - '/api/administration/user/owncompany/identityprovider/{identityProviderId}/usersfile': - post: - tags: - - User - summary: 'Create new users for a specific identityprovider by upload of csv-file (Authorization required - Roles: add_user_account)' - description: 'Example: POST: api/administration/user/owncompany/identityprovider/{identityProviderId}/usersfile' - parameters: - - name: identityProviderId - in: path - description: the id of the identityprovider - required: true - schema: - type: string - format: uuid - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - document: - type: file - description: The file including the users - format: binary - encoding: - document: - style: form - application/json: - schema: - type: object - properties: - document: - type: file - description: The file including the users - format: binary - encoding: - document: - style: form - responses: - '200': - description: Returns a file of users. - content: - application/json: - schema: - $ref: '#/components/schemas/UserCreationStats' - '400': - description: user is not associated with a company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '415': - description: Content type didn't match the expected value. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/user/owncompany/users/{companyUserId}': - get: - tags: - - User - summary: 'Gets the user details for the given user Id (Authorization required - Roles: view_user_management)' - description: 'Example: GET: api/administration/user/owncompany/users/ac1cf001-7fbc-1f2f-817f-bce0575a0011' - operationId: GetOwnCompanyUserDetails - parameters: - - name: companyUserId - in: path - description: Id of the user to get the details for. - required: true - schema: - type: string - format: uuid - example: ac1cf001-7fbc-1f2f-817f-bce0575a0011 - responses: - '200': - description: Returns the company user details. - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyUserDetailData' - '404': - description: User not found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/user/owncompany/users/{companyUserId}/coreoffers/{offerId}/roles': - put: - tags: - - User - summary: 'Updates the portal-roles for the user (Authorization required - Roles: modify_user_account)' - description: 'Example: PUT: api/administration/user/owncompany/users/{companyUserId}/coreoffers/{offerId}/roles' - parameters: - - name: companyUserId - in: path - description: '' - required: true - schema: - type: string - format: uuid - - name: offerId - in: path - description: '' - required: true - schema: - type: string - format: uuid - requestBody: - description: '' - content: - application/json: - schema: - type: array - items: - type: string - responses: - '200': - description: Roles got successfully updated user account. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UserRoleWithId' - '400': - description: Invalid User roles for client - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: User not found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/user/owncompany/users/{companyUserId}/apps/{appId}/roles': - put: - tags: - - User - summary: 'Updates the app-roles for the user (Authorization required - Roles: modify_user_account)' - description: 'Example: PUT: api/administration/user/owncompany/users/{companyUserId}/apps/{appId}/roles' - parameters: - - name: companyUserId - in: path - description: '' - required: true - schema: - type: string - format: uuid - - name: appId - in: path - description: Id of the application - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - requestBody: - description: '' - content: - application/json: - schema: - type: array - items: - type: string - responses: - '200': - description: Roles got successfully updated user account. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UserRoleWithId' - '400': - description: Invalid User roles for client - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: User not found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/user/owncompany/users/{companyUserId}/businessPartnerNumbers': - post: - tags: - - User - summary: 'Adds the given business partner numbers to the user for the given id. (Authorization required - Roles: modify_user_account)' - description: 'Example: POST: api/administration/user/owncompany/users/{companyUserId}/businessPartnerNumbers' - parameters: - - name: companyUserId - in: path - description: Id of the user to add the business partner numbers to. - required: true - schema: - type: string - format: uuid - example: ac1cf001-7fbc-1f2f-817f-bce0575a0011 - requestBody: - description: the business partner numbers that should be added. - content: - application/json: - schema: - type: array - items: - type: string - responses: - '200': - description: The business partner numbers have been added successfully. - content: - application/json: - schema: - type: integer - format: int32 - '400': - description: Business Partner Numbers must not exceed 20 characters. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: User not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/user/owncompany/users/{companyUserId}/businessPartnerNumbers/{businessPartnerNumber}': - put: - tags: - - User - summary: 'Adds the given business partner number to the user for the given id. (Authorization required - Roles: modify_user_account)' - description: 'Example: PUT: api/administration/user/owncompany/users/{companyUserId}/businessPartnerNumbers/{businessPartnerNumber}' - parameters: - - name: companyUserId - in: path - description: Id of the user to add the business partner numbers to. - required: true - schema: - type: string - format: uuid - example: ac1cf001-7fbc-1f2f-817f-bce0575a0011 - - name: businessPartnerNumber - in: path - description: the business partner number that should be added. - required: true - schema: - type: string - example: CAXSDUMMYCATENAZZ - responses: - '200': - description: The business partner number have been added successfully. - content: - application/json: - schema: - type: integer - format: int32 - '400': - description: Business Partner Numbers must not exceed 20 characters. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: User is not existing. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - delete: - tags: - - User - summary: 'Delete BPN assigned to user from DB and Keycloack. (Authorization required - Roles: modify_user_account)' - description: 'Example: DELETE: /api/administration/user/owncompany/users/4f06431c-25ae-40ad-9cac-9dee8fe4754d/businessPartnerNumbers/CAXSDUMMYTESTCX1' - parameters: - - name: companyUserId - in: path - description: ID of the company user to be deleted. - required: true - schema: - type: string - format: uuid - example: 4f06431c-25ae-40ad-9cac-9dee8fe4754d - - name: businessPartnerNumber - in: path - description: BPN to be deleted. - required: true - schema: - type: string - example: CAXSDUMMYTESTCX1 - responses: - '200': - description: Empty response on success. - content: - application/json: - schema: - type: integer - format: int32 - '403': - description: ForbiddenException if both users does not belongs to same company - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Record not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: User is not associated in keycloak. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/user/owncompany/users/{companyUserId}/resetPassword': - put: - tags: - - User - summary: 'Resets the password for the given user (Authorization required - Roles: modify_user_account)' - description: 'Example: PUT: api/administration/user/owncompany/users/ac1cf001-7fbc-1f2f-817f-bce0575a0011/resetPassword' - parameters: - - name: companyUserId - in: path - description: Id of the user whose password should be reset. - required: true - schema: - type: string - format: uuid - example: ac1cf001-7fbc-1f2f-817f-bce0575a0011 - responses: - '200': - description: The password was successfully reset. - content: - application/json: - schema: - type: boolean - '400': - description: Maximum amount of password resets reached. Password reset function is locked for the user for a certain time. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: User id not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: 'Internal Server Error, e.g. the password reset failed.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - /api/administration/user/owncompany/roles/coreoffers: - get: - tags: - - User - summary: 'Gets the core offer roles (Authorization required - Roles: view_client_roles)' - description: "Example: GET: api/administration/user/owncompany/roles/coreoffers \n\r\nExample: GET: api/administration/user/owncompany/roles/coreoffers?languageShortName=DE" - parameters: - - name: languageShortName - in: query - description: The shortname of the user role description" - schema: - type: string - example: DE - responses: - '200': - description: A list of OfferRoleInfos. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/OfferRoleInfos' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/user/owncompany/roles/apps/{appId}': - get: - tags: - - User - summary: 'Gets the client roles for the given app. (Authorization required - Roles: view_client_roles)' - description: 'Example: GET: api/administration/user/owncompany/roles/apps/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645' - parameters: - - name: appId - in: path - description: Id of the app which roles should be returned. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - - name: languageShortName - in: query - description: 'OPTIONAL: The language short name.' - schema: - type: string - responses: - '200': - description: Returns the client roles. - content: - application/json: - schema: - $ref: '#/components/schemas/OfferRoleInfos' - '400': - description: The language does not exist. - '404': - description: The app was not found. - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/user/ownUser: - get: - tags: - - User - summary: 'Gets the user details for the current user. (Authorization required - Roles: view_own_user_account)' - description: 'Example: GET: api/administration/user/ownUser' - responses: - '200': - description: Returns the company user details. - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyOwnUserDetails' - '404': - description: User is not existing/found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/user/ownUser/{companyUserId}': - put: - tags: - - User - summary: 'Updates the user details for the given companyUserId. (Authorization required - Roles: change_own_user_account)' - description: 'Example: PUT: api/administration/user/ownUser/ac1cf001-7fbc-1f2f-817f-bce0575a0011' - parameters: - - name: companyUserId - in: path - description: Id of the user that should be updated. - required: true - schema: - type: string - format: uuid - example: ac1cf001-7fbc-1f2f-817f-bce0575a0011 - requestBody: - description: The new details for the user. - content: - application/json: - schema: - $ref: '#/components/schemas/OwnCompanyUserEditableDetails' - responses: - '200': - description: Returns the updated company user details. - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyUserDetails' - '403': - description: Invalid companyUserId for user. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No shared realm userid found for the id in realm - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - delete: - tags: - - User - summary: 'Deletes the own user (Authorization required - Roles: delete_own_user_account)' - description: 'Example: DELETE: api/administration/user/ownUser/ac1cf001-7fbc-1f2f-817f-bce0575a0011' - parameters: - - name: companyUserId - in: path - description: Id of the user that should be deleted - required: true - schema: - type: string - format: uuid - example: ac1cf001-7fbc-1f2f-817f-bce0575a0011 - responses: - '200': - description: Successfully deleted the user. - content: - application/json: - schema: - type: integer - format: int32 - '403': - description: Invalid or not existing user id. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: User is not associated with company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/user/owncompany/apps/{appId}/users': - get: - tags: - - User - summary: 'Get for given app id all the company assigned users (Authorization required - Roles: view_user_management)' - description: 'Example: GET: /api/administration/user/owncompany/apps/5cf74ef8-e0b7-4984-a872-474828beb5d3/users?page=0&size=15' - parameters: - - name: appId - in: path - description: Get company app users by appId - required: true - schema: - type: string - format: uuid - - name: page - in: query - description: page index start from 0 - schema: - type: integer - format: int32 - default: 0 - - name: size - in: query - description: size to get number of records - schema: - type: integer - format: int32 - default: 15 - - name: firstName - in: query - description: First Name of User - schema: - type: string - - name: lastName - in: query - description: Last Name of User - schema: - type: string - - name: email - in: query - description: Email Id of User - schema: - type: string - - name: roleName - in: query - description: User role name - schema: - type: string - - name: hasRole - in: query - description: Defines whether the users should be filtered with a app role - schema: - type: boolean - responses: - '200': - description: Result as a Company App Users Details - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyAppUserDetailsResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized -components: - schemas: - AgreementConsentData: - type: object - properties: - agreementId: - type: string - description: '' - format: uuid - consentStatus: - $ref: '#/components/schemas/ConsentStatusId' - additionalProperties: false - description: '' - AgreementsRoleData: - type: object - properties: - companyRole: - $ref: '#/components/schemas/CompanyRoleId' - agreements: - type: array - items: - $ref: '#/components/schemas/AgreementConsentData' - description: '' - additionalProperties: false - description: '' - ApplicationChecklistEntryDetails: - type: object - properties: - typeId: - $ref: '#/components/schemas/ApplicationChecklistEntryTypeId' - statusId: - $ref: '#/components/schemas/ApplicationChecklistEntryStatusId' - additionalProperties: false - ApplicationChecklistEntryStatusId: - enum: - - TO_DO - - IN_PROGRESS - - DONE - - FAILED - - SKIPPED - type: string - ApplicationChecklistEntryTypeId: - enum: - - REGISTRATION_VERIFICATION - - BUSINESS_PARTNER_NUMBER - - IDENTITY_WALLET - - BPNL_CREDENTIAL - - MEMBERSHIP_CREDENTIAL - - CLEARING_HOUSE - - SELF_DESCRIPTION_LP - - APPLICATION_ACTIVATION - type: string - AuthenticationDetail: - type: object - properties: - authenticationServiceUrl: - type: string - clientID: - type: string - clientSecret: - type: string - additionalProperties: false - CertificateSorting: - enum: - - CertificateTypeAsc - - CertificateTypeDesc - - ExpiryDateAsc - - ExpiryDateDesc - type: string - CertificateTypeDescription: - type: object - properties: - languageShortName: - type: string - description: - type: string - additionalProperties: false - ChecklistDetails: - type: object - properties: - type: - $ref: '#/components/schemas/ApplicationChecklistEntryTypeId' - status: - $ref: '#/components/schemas/ApplicationChecklistEntryStatusId' - details: - type: string - nullable: true - retriggerableProcessSteps: - type: array - items: - $ref: '#/components/schemas/ProcessStepTypeId' - additionalProperties: false - ClearinghouseResponseData: - type: object - properties: - bpn: - type: string - status: - $ref: '#/components/schemas/ClearinghouseResponseStatus' - message: - type: string - nullable: true - additionalProperties: false - ClearinghouseResponseStatus: - enum: - - CONFIRM - - DECLINE - type: string - CompanyAddressDetailData: - type: object - properties: - companyId: - type: string - format: uuid - name: - type: string - bpn: - type: string - nullable: true - shortName: - type: string - nullable: true - city: - type: string - streetName: - type: string - countryAlpha2Code: - type: string - region: - type: string - nullable: true - streetAdditional: - type: string - nullable: true - streetNumber: - type: string - nullable: true - zipCode: - type: string - nullable: true - companyRole: - type: array - items: - $ref: '#/components/schemas/CompanyRoleId' - additionalProperties: false - CompanyAppUserDetails: - type: object - properties: - companyUserId: - type: string - format: uuid - status: - $ref: '#/components/schemas/UserStatusId' - firstName: - type: string - nullable: true - lastName: - type: string - nullable: true - email: - type: string - nullable: true - roles: - type: array - items: - type: string - additionalProperties: false - CompanyAppUserDetailsResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/CompanyAppUserDetails' - additionalProperties: false - CompanyApplicationDetails: - type: object - properties: - applicationId: - type: string - format: uuid - applicationStatus: - $ref: '#/components/schemas/CompanyApplicationStatusId' - dateCreated: - type: string - format: date-time - companyName: - type: string - companyRoles: - type: array - items: - $ref: '#/components/schemas/CompanyRoleId' - applicationChecklist: - type: array - items: - $ref: '#/components/schemas/ApplicationChecklistEntryDetails' - email: - type: string - nullable: true - bpn: - type: string - nullable: true - type: - $ref: '#/components/schemas/CompanyApplicationTypeId' - additionalProperties: false - CompanyApplicationDetailsResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/CompanyApplicationDetails' - additionalProperties: false - CompanyApplicationStatusFilter: - enum: - - Closed - - InReview - type: string - description: Filter operations for the CompanyApplicationStatus - CompanyApplicationStatusId: - enum: - - CREATED - - ADD_COMPANY_DATA - - INVITE_USER - - SELECT_COMPANY_ROLE - - UPLOAD_DOCUMENTS - - VERIFY - - SUBMITTED - - CONFIRMED - - DECLINED - - CANCELLED_BY_CUSTOMER - type: string - CompanyApplicationTypeId: - enum: - - INTERNAL - - EXTERNAL - type: string - CompanyApplicationWithCompanyUserDetails: - type: object - properties: - applicationId: - type: string - format: uuid - applicationStatus: - $ref: '#/components/schemas/CompanyApplicationStatusId' - dateCreated: - type: string - format: date-time - companyName: - type: string - email: - type: string - nullable: true - firstName: - type: string - nullable: true - lastName: - type: string - nullable: true - additionalProperties: false - CompanyApplicationWithCompanyUserDetailsResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/CompanyApplicationWithCompanyUserDetails' - additionalProperties: false - CompanyAssignedUseCaseData: - type: object - properties: - useCaseId: - type: string - format: uuid - name: - type: string - additionalProperties: false - CompanyCertificateBpnData: - type: object - properties: - companyCertificateType: - $ref: '#/components/schemas/CompanyCertificateTypeId' - companyCertificateStatus: - $ref: '#/components/schemas/CompanyCertificateStatusId' - documentId: - type: string - format: uuid - validFrom: - type: string - format: date-time - nullable: true - validTill: - type: string - format: date-time - nullable: true - externalCertificateNumber: - type: string - nullable: true - sites: - type: array - items: - type: string - nullable: true - issuer: - type: string - nullable: true - validator: - type: string - nullable: true - additionalProperties: false - CompanyCertificateData: - type: object - properties: - companyCertificateType: - $ref: '#/components/schemas/CompanyCertificateTypeId' - companyCertificateStatus: - $ref: '#/components/schemas/CompanyCertificateStatusId' - documentId: - type: string - format: uuid - validFrom: - type: string - format: date-time - nullable: true - validTill: - type: string - format: date-time - nullable: true - externalCertificateNumber: - type: string - nullable: true - sites: - type: array - items: - type: string - nullable: true - issuer: - type: string - nullable: true - validator: - type: string - nullable: true - additionalProperties: false - CompanyCertificateDataResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/CompanyCertificateData' - additionalProperties: false - CompanyCertificateStatusId: - enum: - - ACTIVE - - INACTIVE - type: string - CompanyCertificateTypeData: - type: object - properties: - certificateType: - $ref: '#/components/schemas/CompanyCertificateTypeId' - description: - type: array - items: - $ref: '#/components/schemas/CertificateTypeDescription' - additionalProperties: false - CompanyCertificateTypeId: - enum: - - AEO_CTPAT_Security_Declaration - - ISO_9001 - - IATF_16949 - - ISO_14001_EMAS_or_national_certification - - ISO_45001_OHSAS_18001_or_national_certification - - ISO_IEC_27001 - - ISO_50001_or_national_certification - - ISO_IEC_17025 - - ISO_15504_SPICE - - B_BBEE_Certificate_of_South_Africa - - IATF - - TISAX - type: string - CompanyDetailsOspOnboarding: - type: object - properties: - companyId: - type: string - format: uuid - externalId: - type: string - nullable: true - applicationId: - type: string - format: uuid - applicationStatus: - $ref: '#/components/schemas/CompanyApplicationStatusId' - applicationDateCreated: - type: string - format: date-time - dateCreated: - type: string - format: date-time - lastChangedDate: - type: string - format: date-time - nullable: true - companyName: - type: string - companyRoles: - type: array - items: - $ref: '#/components/schemas/CompanyRoleId' - identityProvider: - type: array - items: - $ref: '#/components/schemas/IdentityProvidersDetails' - bpn: - type: string - nullable: true - activeUsers: - type: integer - format: int32 - additionalProperties: false - CompanyDetailsOspOnboardingResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/CompanyDetailsOspOnboarding' - additionalProperties: false - CompanyInvitationData: - type: object - properties: - userName: - type: string - nullable: true - firstName: - pattern: ^.+$ - type: string - default: string - lastName: - pattern: ^.+$ - type: string - default: string - email: - type: string - format: email - default: string - organisationName: - type: string - additionalProperties: false - CompanyInvitationResponse: - type: object - properties: - applicationId: - type: string - format: uuid - companyId: - type: string - format: uuid - additionalProperties: false - CompanyMissingSdDocumentData: - type: object - properties: - companyId: - type: string - format: uuid - name: - type: string - additionalProperties: false - CompanyMissingSdDocumentDataResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/CompanyMissingSdDocumentData' - additionalProperties: false - CompanyOwnUserDetails: - type: object - properties: - companyUserId: - type: string - format: uuid - created: - type: string - format: date-time - bpn: - type: array - items: - type: string - company: - type: string - status: - $ref: '#/components/schemas/UserStatusId' - assignedRoles: - type: array - items: - $ref: '#/components/schemas/CompanyUserAssignedRoleDetails' - admin: - type: array - items: - $ref: '#/components/schemas/CompanyUserAdminDetails' - idpUserIds: - type: array - items: - $ref: '#/components/schemas/IdpUserId' - firstName: - type: string - nullable: true - lastName: - type: string - nullable: true - email: - type: string - nullable: true - additionalProperties: false - CompanyRoleConsentDetails: - type: object - properties: - companyRoles: - $ref: '#/components/schemas/CompanyRoleId' - agreements: - type: array - items: - $ref: '#/components/schemas/ConsentDetails' - additionalProperties: false - CompanyRoleConsentViewData: - type: object - properties: - companyRoles: - $ref: '#/components/schemas/CompanyRoleId' - roleDescription: - type: string - nullable: true - companyRolesActive: - type: boolean - agreements: - type: array - items: - $ref: '#/components/schemas/ConsentAgreementViewData' - additionalProperties: false - CompanyRoleId: - enum: - - ACTIVE_PARTICIPANT - - APP_PROVIDER - - SERVICE_PROVIDER - - OPERATOR - - ONBOARDING_SERVICE_PROVIDER - type: string - CompanyServiceAccountData: - type: object - properties: - serviceAccountId: - type: string - format: uuid - clientId: - type: string - nullable: true - name: - type: string - userType: - $ref: '#/components/schemas/CompanyServiceAccountKindId' - serviceAccountType: - $ref: '#/components/schemas/CompanyServiceAccountTypeId' - status: - $ref: '#/components/schemas/UserStatusId' - isOwner: - type: boolean - isProvider: - type: boolean - offerSubscriptionId: - type: string - format: uuid - nullable: true - connector: - $ref: '#/components/schemas/ConnectorResponseData' - offer: - $ref: '#/components/schemas/OfferResponseData' - additionalProperties: false - CompanyServiceAccountDataResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/CompanyServiceAccountData' - additionalProperties: false - CompanyServiceAccountKindId: - enum: - - INTERNAL - - EXTERNAL - type: string - CompanyServiceAccountTypeId: - enum: - - MANAGED - - OWN - type: string - CompanyUniqueIdData: - type: object - properties: - type: - $ref: '#/components/schemas/UniqueIdentifierId' - value: - type: string - additionalProperties: false - CompanyUserAdminDetails: - type: object - properties: - id: - type: string - format: uuid - email: - type: string - nullable: true - additionalProperties: false - CompanyUserAssignedRoleDetails: - type: object - properties: - appId: - type: string - format: uuid - roles: - type: array - items: - type: string - additionalProperties: false - CompanyUserData: - type: object - properties: - companyUserId: - type: string - format: uuid - status: - $ref: '#/components/schemas/UserStatusId' - firstName: - type: string - nullable: true - lastName: - type: string - nullable: true - email: - type: string - nullable: true - roles: - type: array - items: - $ref: '#/components/schemas/UserRoleData' - idpUserIds: - type: array - items: - $ref: '#/components/schemas/IdpUserId' - additionalProperties: false - CompanyUserDataResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/CompanyUserData' - additionalProperties: false - CompanyUserDetailData: - type: object - properties: - companyUserId: - type: string - format: uuid - created: - type: string - format: date-time - bpn: - type: array - items: - type: string - company: - type: string - status: - $ref: '#/components/schemas/UserStatusId' - assignedRoles: - type: array - items: - $ref: '#/components/schemas/CompanyUserAssignedRoleDetails' - idpUserIds: - type: array - items: - $ref: '#/components/schemas/IdpUserId' - firstName: - type: string - nullable: true - lastName: - type: string - nullable: true - email: - type: string - nullable: true - additionalProperties: false - CompanyUserDetails: - type: object - properties: - companyUserId: - type: string - format: uuid - created: - type: string - format: date-time - bpn: - type: array - items: - type: string - company: - type: string - status: - $ref: '#/components/schemas/UserStatusId' - assignedRoles: - type: array - items: - $ref: '#/components/schemas/CompanyUserAssignedRoleDetails' - firstName: - type: string - nullable: true - lastName: - type: string - nullable: true - email: - type: string - nullable: true - additionalProperties: false - CompanyWithAddressData: - type: object - properties: - companyId: - type: string - description: '' - format: uuid - name: - type: string - description: '' - shortName: - type: string - description: '' - bpn: - type: string - description: '' - city: - type: string - description: '' - streetName: - type: string - description: '' - countryAlpha2Code: - type: string - description: '' - region: - type: string - description: '' - streetAdditional: - type: string - description: '' - streetNumber: - type: string - description: '' - zipCode: - type: string - description: '' - companyRoles: - type: array - items: - $ref: '#/components/schemas/AgreementsRoleData' - description: '' - companyUser: - type: array - items: - $ref: '#/components/schemas/InvitedUserData' - description: '' - uniqueIds: - type: array - items: - $ref: '#/components/schemas/CompanyUniqueIdData' - description: '' - documents: - type: array - items: - $ref: '#/components/schemas/DocumentDetails' - description: '' - created: - type: string - description: '' - format: date-time - nullable: true - lastChanged: - type: string - description: '' - format: date-time - nullable: true - additionalProperties: false - description: '' - ConnectedCompanyData: - type: object - properties: - companyId: - type: string - format: uuid - companyName: - type: string - additionalProperties: false - ConnectorData: - type: object - properties: - name: - type: string - location: - type: string - id: - type: string - format: uuid - type: - $ref: '#/components/schemas/ConnectorTypeId' - status: - $ref: '#/components/schemas/ConnectorStatusId' - hostId: - type: string - format: uuid - nullable: true - hostCompanyName: - type: string - nullable: true - selfDescriptionDocumentId: - type: string - format: uuid - nullable: true - technicalUser: - $ref: '#/components/schemas/TechnicalUserData' - connectorUrl: - type: string - additionalProperties: false - ConnectorDataResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/ConnectorData' - additionalProperties: false - ConnectorEndPointData: - type: object - properties: - bpn: - type: string - description: '' - connectorEndpoint: - type: array - items: - type: string - description: '' - additionalProperties: false - description: '' - ConnectorMissingSdDocumentData: - type: object - properties: - connectorId: - type: string - format: uuid - name: - type: string - companyId: - type: string - format: uuid - companyName: - type: string - additionalProperties: false - ConnectorMissingSdDocumentDataResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/ConnectorMissingSdDocumentData' - additionalProperties: false - ConnectorResponseData: - type: object - properties: - id: - type: string - format: uuid - name: - type: string - additionalProperties: false - ConnectorStatusId: - enum: - - PENDING - - ACTIVE - - INACTIVE - type: string - ConnectorTypeId: - enum: - - COMPANY_CONNECTOR - - CONNECTOR_AS_A_SERVICE - type: string - ConnectorUpdateRequest: - type: object - properties: - connectorUrl: - type: string - additionalProperties: false - ConsentAgreementViewData: - type: object - properties: - agreementId: - type: string - format: uuid - agreementName: - type: string - documentId: - type: string - format: uuid - nullable: true - consentStatus: - $ref: '#/components/schemas/ConsentStatusId' - agreementLink: - type: string - nullable: true - mandatory: - type: boolean - additionalProperties: false - ConsentDetails: - type: object - properties: - agreementId: - type: string - format: uuid - consentStatus: - $ref: '#/components/schemas/ConsentStatusId' - additionalProperties: false - ConsentStatusId: - enum: - - ACTIVE - - INACTIVE - type: string - DateCreatedOrderFilter: - enum: - - ASC - - DESC - type: string - DimUrlsResponse: - type: object - properties: - trusted_issuer: - type: string - participant_id: - type: string - nullable: true - iatp_id: - type: string - nullable: true - did_resolver: - type: string - decentralIdentityManagementAuthUrl: - type: string - nullable: true - decentralIdentityManagementServiceUrl: - type: string - additionalProperties: false - DimWalletData: - type: object - properties: - did: - type: string - didDocument: { } - authenticationDetails: - $ref: '#/components/schemas/AuthenticationDetail' - additionalProperties: false - DocumentDetails: - type: object - properties: - documentId: - type: string - description: '' - format: uuid - documentType: - $ref: '#/components/schemas/DocumentTypeId' - additionalProperties: false - description: '' - DocumentTypeId: - enum: - - CX_FRAME_CONTRACT - - COMMERCIAL_REGISTER_EXTRACT - - APP_CONTRACT - - CONFORMITY_APPROVAL_REGISTRATION - - ADDITIONAL_DETAILS - - APP_LEADIMAGE - - APP_IMAGE - - SELF_DESCRIPTION - - APP_TECHNICAL_INFORMATION - - CONFORMITY_APPROVAL_CONNECTOR - - CONFORMITY_APPROVAL_BUSINESS_APPS - - CONFORMITY_APPROVAL_SERVICES - - SERVICE_LEADIMAGE - - PRESENTATION - - COMPANY_CERTIFICATE - type: string - ErrorDetails: - type: object - properties: - errorCode: - type: string - type: - type: string - message: - type: string - parameters: - type: array - items: - $ref: '#/components/schemas/ErrorParameter' - additionalProperties: false - ErrorMessageCode: - type: object - properties: - errorCode: - type: string - message: - type: string - additionalProperties: false - ErrorMessageType: - type: object - properties: - errorType: - type: string - errorMessages: - type: array - items: - $ref: '#/components/schemas/ErrorMessageCode' - additionalProperties: false - ErrorParameter: - type: object - properties: - name: - type: string - value: - type: string - additionalProperties: false - ErrorResponse: - type: object - properties: - type: - type: string - title: - type: string - status: - type: integer - format: int32 - errors: - type: object - additionalProperties: - type: array - items: - type: string - errorId: - type: string - details: - type: array - items: - $ref: '#/components/schemas/ErrorDetails' - nullable: true - additionalProperties: false - File: - type: object - additionalProperties: false - IActionResult: - type: object - additionalProperties: false - IamClientAuthMethod: - enum: - - JWT - - SECRET - - X509 - - SECRET_JWT - type: string - IamIdentityProviderClientAuthMethod: - enum: - - JWT - - SECRET_BASIC - - SECRET_POST - - SECRET_JWT - type: string - IamIdentityProviderProtocol: - enum: - - SAML - - OIDC - type: string - IamIdentityProviderSignatureAlgorithm: - enum: - - ES256 - - ES384 - - ES512 - - HS256 - - HS384 - - HS512 - - PS256 - - PS384 - - PS512 - - RS256 - - RS384 - - RS512 - type: string - IdentityProviderCategoryId: - enum: - - KEYCLOAK_OIDC - - KEYCLOAK_SAML - type: string - IdentityProviderDetails: - type: object - properties: - identityProviderId: - type: string - format: uuid - alias: - type: string - nullable: true - identityProviderCategoryId: - $ref: '#/components/schemas/IdentityProviderCategoryId' - identityProviderTypeId: - $ref: '#/components/schemas/IdentityProviderTypeId' - displayName: - type: string - nullable: true - redirectUrl: - type: string - nullable: true - enabled: - type: boolean - nullable: true - mappers: - type: array - items: - $ref: '#/components/schemas/IdentityProviderMapperModel' - nullable: true - oidc: - $ref: '#/components/schemas/IdentityProviderDetailsOidc' - saml: - $ref: '#/components/schemas/IdentityProviderDetailsSaml' - additionalProperties: false - IdentityProviderDetailsOidc: - type: object - properties: - metadataUrl: - type: string - nullable: true - authorizationUrl: - type: string - nullable: true - tokenUrl: - type: string - nullable: true - logoutUrl: - type: string - nullable: true - clientId: - type: string - nullable: true - hasClientSecret: - type: boolean - clientAuthMethod: - $ref: '#/components/schemas/IamIdentityProviderClientAuthMethod' - signatureAlgorithm: - $ref: '#/components/schemas/IamIdentityProviderSignatureAlgorithm' - additionalProperties: false - IdentityProviderDetailsSaml: - type: object - properties: - serviceProviderEntityId: - type: string - nullable: true - singleSignOnServiceUrl: - type: string - nullable: true - additionalProperties: false - IdentityProviderDetailsWithConnectedCompanies: - type: object - properties: - identityProviderId: - type: string - format: uuid - alias: - type: string - nullable: true - identityProviderCategoryId: - $ref: '#/components/schemas/IdentityProviderCategoryId' - identityProviderTypeId: - $ref: '#/components/schemas/IdentityProviderTypeId' - displayName: - type: string - nullable: true - redirectUrl: - type: string - nullable: true - enabled: - type: boolean - nullable: true - connectedCompanies: - type: array - items: - $ref: '#/components/schemas/ConnectedCompanyData' - additionalProperties: false - IdentityProviderEditableDetails: - type: object - properties: - displayName: - type: string - oidc: - $ref: '#/components/schemas/IdentityProviderEditableDetailsOidc' - saml: - $ref: '#/components/schemas/IdentityProviderEditableDetailsSaml' - additionalProperties: false - IdentityProviderEditableDetailsOidc: - type: object - properties: - metadataUrl: - type: string - clientAuthMethod: - $ref: '#/components/schemas/IamIdentityProviderClientAuthMethod' - clientId: - type: string - secret: - type: string - nullable: true - signatureAlgorithm: - $ref: '#/components/schemas/IamIdentityProviderSignatureAlgorithm' - additionalProperties: false - IdentityProviderEditableDetailsSaml: - type: object - properties: - serviceProviderEntityId: - type: string - singleSignOnServiceUrl: - type: string - additionalProperties: false - IdentityProviderMapperModel: - type: object - properties: - id: - type: string - name: - type: string - type: - $ref: '#/components/schemas/IdentityProviderMapperType' - config: - type: object - additionalProperties: - type: string - additionalProperties: false - IdentityProviderMapperType: - enum: - - HARDCODED_SESSION_ATTRIBUTE - - HARDCODED_ATTRIBUTE - - OIDC_ADVANCED_GROUP - - OIDC_USER_ATTRIBUTE - - OIDC_ADVANCED_ROLE - - OIDC_HARDCODED_ROLE - - OIDC_ROLE - - OIDC_USERNAME - - KEYCLOAK_OIDC_ROLE - type: string - IdentityProviderTypeId: - enum: - - OWN - - MANAGED - - SHARED - type: string - IdentityProviderUpdateStats: - type: object - properties: - updated: - type: integer - format: int32 - unchanged: - type: integer - format: int32 - error: - type: integer - format: int32 - total: - type: integer - format: int32 - errors: - type: array - items: - $ref: '#/components/schemas/UserUpdateError' - additionalProperties: false - IdentityProvidersDetails: - type: object - properties: - identityProviderId: - type: string - format: uuid - alias: - type: string - nullable: true - additionalProperties: false - IdpUserId: - type: object - properties: - idpDisplayName: - type: string - idpAlias: - type: string - userId: - type: string - additionalProperties: false - InvitedUserData: - type: object - properties: - userId: - type: string - description: '' - format: uuid - firstName: - type: string - description: '' - lastName: - type: string - description: '' - email: - type: string - description: '' - additionalProperties: false - description: '' - IssuerResponseData: - type: object - properties: - bpn: - type: string - status: - $ref: '#/components/schemas/IssuerResponseStatus' - message: - type: string - nullable: true - additionalProperties: false - IssuerResponseStatus: - enum: - - SUCCESSFUL - - UNSUCCESSFUL - type: string - LanguageData: - type: object - properties: - languageShortName: - type: string - languageLongNames: - type: array - items: - $ref: '#/components/schemas/LanguageDataLongName' - additionalProperties: false - LanguageDataLongName: - type: object - properties: - language: - type: string - longDescription: - type: string - additionalProperties: false - LicenseTypeData: - type: object - properties: - licenseTypeId: - type: integer - format: int32 - name: - type: string - additionalProperties: false - MailData: - type: object - properties: - requester: - type: string - format: uuid - template: - type: string - mailParameters: - type: array - items: - $ref: '#/components/schemas/MailParameter' - additionalProperties: false - MailParameter: - type: object - properties: - key: - type: string - value: - type: string - additionalProperties: false - Metadata: - type: object - properties: - totalElements: - type: integer - format: int32 - totalPages: - type: integer - format: int32 - page: - type: integer - format: int32 - contentSize: - type: integer - format: int32 - additionalProperties: false - NoContentResult: - type: object - properties: - statusCode: - type: integer - format: int32 - additionalProperties: false - OfferResponseData: - type: object - properties: - id: - type: string - format: uuid - type: - $ref: '#/components/schemas/OfferTypeId' - name: - type: string - nullable: true - subscriptionId: - type: string - format: uuid - nullable: true - additionalProperties: false - OfferRoleInfo: - type: object - properties: - roleId: - type: string - format: uuid - role: - type: string - description: - type: string - additionalProperties: false - OfferRoleInfos: - type: object - properties: - offerId: - type: string - format: uuid - roles: - type: array - items: - $ref: '#/components/schemas/OfferRoleInfo' - additionalProperties: false - OfferTypeId: - enum: - - APP - - CORE_COMPONENT - - SERVICE - type: string - OnboardingServiceProviderCallbackRequestData: - type: object - properties: - callbackUrl: - type: string - authUrl: - type: string - clientId: - type: string - clientSecret: - type: string - additionalProperties: false - OperatorBpnData: - type: object - properties: - operatorName: - type: string - bpn: - type: string - additionalProperties: false - OwnCompanyUserEditableDetails: - type: object - properties: - firstName: - pattern: ^.+$ - type: string - default: string - nullable: true - lastName: - pattern: ^.+$ - type: string - default: string - nullable: true - email: - type: string - format: email - default: string - nullable: true - additionalProperties: false - PartnerRegistrationData: - type: object - properties: - name: - type: string - city: - type: string - streetName: - type: string - countryAlpha2Code: - type: string - bpn: - type: string - nullable: true - shortName: - type: string - nullable: true - region: - type: string - nullable: true - streetAdditional: - type: string - nullable: true - streetNumber: - type: string - nullable: true - zipCode: - type: string - nullable: true - uniqueIds: - type: array - items: - $ref: '#/components/schemas/CompanyUniqueIdData' - externalId: - type: string - userDetails: - type: array - items: - $ref: '#/components/schemas/UserDetailData' - companyRoles: - type: array - items: - $ref: '#/components/schemas/CompanyRoleId' - additionalProperties: false - ProcessStepTypeId: - enum: - - MANUAL_VERIFY_REGISTRATION - - CREATE_BUSINESS_PARTNER_NUMBER_PUSH - - CREATE_BUSINESS_PARTNER_NUMBER_PULL - - CREATE_BUSINESS_PARTNER_NUMBER_MANUAL - - CREATE_IDENTITY_WALLET - - RETRIGGER_IDENTITY_WALLET - - START_CLEARING_HOUSE - - RETRIGGER_CLEARING_HOUSE - - AWAIT_CLEARING_HOUSE_RESPONSE - - START_SELF_DESCRIPTION_LP - - RETRIGGER_SELF_DESCRIPTION_LP - - ACTIVATE_APPLICATION - - RETRIGGER_BUSINESS_PARTNER_NUMBER_PUSH - - RETRIGGER_BUSINESS_PARTNER_NUMBER_PULL - - MANUAL_TRIGGER_OVERRIDE_CLEARING_HOUSE - - START_OVERRIDE_CLEARING_HOUSE - - AWAIT_SELF_DESCRIPTION_LP_RESPONSE - - MANUAL_DECLINE_APPLICATION - - CREATE_DIM_WALLET - - AWAIT_DIM_RESPONSE_RESPONSE - - RETRIGGER_CREATE_DIM_WALLET - - VALIDATE_DID_DOCUMENT - - RETRIGGER_VALIDATE_DID_DOCUMENT - - REQUEST_BPN_CREDENTIAL - - AWAIT_BPN_CREDENTIAL_RESPONSE - - REQUEST_MEMBERSHIP_CREDENTIAL - - AWAIT_MEMBERSHIP_CREDENTIAL_RESPONSE - - TRANSMIT_BPN_DID - - RETRIGGER_TRANSMIT_DID_BPN - - RETRIGGER_REQUEST_BPN_CREDENTIAL - - RETRIGGER_REQUEST_MEMBERSHIP_CREDENTIAL - - TRIGGER_PROVIDER - - AWAIT_START_AUTOSETUP - - OFFERSUBSCRIPTION_CLIENT_CREATION - - SINGLE_INSTANCE_SUBSCRIPTION_DETAILS_CREATION - - OFFERSUBSCRIPTION_TECHNICALUSER_CREATION - - ACTIVATE_SUBSCRIPTION - - TRIGGER_PROVIDER_CALLBACK - - RETRIGGER_PROVIDER - - RETRIGGER_OFFERSUBSCRIPTION_CLIENT_CREATION - - RETRIGGER_OFFERSUBSCRIPTION_TECHNICALUSER_CREATION - - RETRIGGER_PROVIDER_CALLBACK - - MANUAL_TRIGGER_ACTIVATE_SUBSCRIPTION - - OFFERSUBSCRIPTION_CREATE_DIM_TECHNICAL_USER - - RETRIGGER_OFFERSUBSCRIPTION_CREATE_DIM_TECHNICAL_USER - - SYNCHRONIZE_USER - - RETRIGGER_SYNCHRONIZE_USER - - TRIGGER_CALLBACK_OSP_SUBMITTED - - TRIGGER_CALLBACK_OSP_APPROVED - - TRIGGER_CALLBACK_OSP_DECLINED - - RETRIGGER_CALLBACK_OSP_SUBMITTED - - RETRIGGER_CALLBACK_OSP_APPROVED - - RETRIGGER_CALLBACK_OSP_DECLINED - - MANUAL_DECLINE_OSP - - REMOVE_KEYCLOAK_USERS - - RETRIGGER_REMOVE_KEYCLOAK_USERS - - SEND_MAIL - - RETRIGGER_SEND_MAIL - - INVITATION_CREATE_CENTRAL_IDP - - INVITATION_CREATE_SHARED_IDP_SERVICE_ACCOUNT - - INVITATION_ADD_REALM_ROLE - - INVITATION_CREATE_SHARED_REALM - - INVITATION_CREATE_CENTRAL_IDP_ORG_MAPPER - - INVITATION_UPDATE_CENTRAL_IDP_URLS - - INVITATION_CREATE_SHARED_CLIENT - - INVITATION_ENABLE_CENTRAL_IDP - - INVITATION_CREATE_DATABASE_IDP - - INVITATION_CREATE_USER - - RETRIGGER_INVITATION_CREATE_CENTRAL_IDP - - RETRIGGER_INVITATION_CREATE_SHARED_IDP_SERVICE_ACCOUNT - - RETRIGGER_INVITATION_ADD_REALM_ROLE - - RETRIGGER_INVITATION_CREATE_SHARED_REALM - - RETRIGGER_INVITATION_CREATE_CENTRAL_IDP_ORG_MAPPER - - RETRIGGER_INVITATION_UPDATE_CENTRAL_IDP_URLS - - RETRIGGER_INVITATION_CREATE_SHARED_CLIENT - - RETRIGGER_INVITATION_ENABLE_CENTRAL_IDP - - RETRIGGER_INVITATION_CREATE_USER - - RETRIGGER_INVITATION_CREATE_DATABASE_IDP - - CREATE_DIM_TECHNICAL_USER - - RETRIGGER_CREATE_DIM_TECHNICAL_USER - - AWAIT_CREATE_DIM_TECHNICAL_USER_RESPONSE - - DELETE_DIM_TECHNICAL_USER - - AWAIT_DELETE_DIM_TECHNICAL_USER_RESPONSE - - RETRIGGER_DELETE_DIM_TECHNICAL_USER - - DELETE_CENTRAL_USER - - RETRIGGER_DELETE_CENTRAL_USER - - DELETE_COMPANYUSER_ASSIGNED_PROCESS - - DELETE_IDP_SHARED_REALM - - RETRIGGER_DELETE_IDP_SHARED_REALM - - DELETE_IDP_SHARED_SERVICEACCOUNT - - RETRIGGER_DELETE_IDP_SHARED_SERVICEACCOUNT - - DELETE_CENTRAL_IDENTITY_PROVIDER - - RETRIGGER_DELETE_CENTRAL_IDENTITY_PROVIDER - - DELETE_IDENTITY_PROVIDER - - SELF_DESCRIPTION_CONNECTOR_CREATION - - SELF_DESCRIPTION_COMPANY_CREATION - - RETRIGGER_SELF_DESCRIPTION_CONNECTOR_CREATION - - RETRIGGER_SELF_DESCRIPTION_COMPANY_CREATION - type: string - ProviderDetailData: - type: object - properties: - url: - type: string - nullable: true - callbackUrl: - type: string - nullable: true - additionalProperties: false - ProviderDetailReturnData: - type: object - properties: - id: - type: string - format: uuid - nullable: true - companyId: - type: string - format: uuid - url: - type: string - nullable: true - additionalProperties: false - RegistrationDeclineData: - type: object - properties: - comment: - type: string - additionalProperties: false - SelfDescriptionResponseData: - type: object - properties: - externalId: - type: string - format: uuid - status: - $ref: '#/components/schemas/SelfDescriptionStatus' - message: - type: string - nullable: true - selfDescriptionDocument: - type: string - nullable: true - additionalProperties: false - SelfDescriptionStatus: - enum: - - Confirm - - Failed - type: string - ServiceAccountConnectorOfferData: - type: object - properties: - serviceAccountId: - type: string - format: uuid - clientId: - type: string - nullable: true - name: - type: string - description: - type: string - authenticationType: - $ref: '#/components/schemas/IamClientAuthMethod' - roles: - type: array - items: - $ref: '#/components/schemas/UserRoleData' - companyServiceAccountTypeId: - $ref: '#/components/schemas/CompanyServiceAccountTypeId' - usertype: - $ref: '#/components/schemas/CompanyServiceAccountKindId' - authenticationServiceUrl: - type: string - status: - $ref: '#/components/schemas/UserStatusId' - secret: - type: string - nullable: true - connector: - $ref: '#/components/schemas/ConnectorResponseData' - offer: - $ref: '#/components/schemas/OfferResponseData' - LastEditorName: - type: string - nullable: true - LastEditorCompanyName: - type: string - nullable: true - additionalProperties: false - ServiceAccountCreationInfo: - type: object - properties: - name: - type: string - description: - type: string - authenticationType: - $ref: '#/components/schemas/IamClientAuthMethod' - roleIds: - type: array - items: - type: string - format: uuid - additionalProperties: false - ServiceAccountDetails: - type: object - properties: - serviceAccountId: - type: string - format: uuid - clientId: - type: string - nullable: true - name: - type: string - description: - type: string - status: - $ref: '#/components/schemas/UserStatusId' - authenticationType: - $ref: '#/components/schemas/IamClientAuthMethod' - roles: - type: array - items: - $ref: '#/components/schemas/UserRoleData' - companyServiceAccountTypeId: - $ref: '#/components/schemas/CompanyServiceAccountTypeId' - secret: - type: string - nullable: true - subscriptionId: - type: string - format: uuid - nullable: true - additionalProperties: false - ServiceAccountEditableDetails: - type: object - properties: - serviceAccountId: - type: string - format: uuid - name: - type: string - description: - type: string - authenticationType: - $ref: '#/components/schemas/IamClientAuthMethod' - additionalProperties: false - TechnicalUserData: - type: object - properties: - id: - type: string - format: uuid - name: - type: string - clientId: - type: string - nullable: true - description: - type: string - additionalProperties: false - UniqueIdentifierId: - enum: - - COMMERCIAL_REG_NUMBER - - VAT_ID - - LEI_CODE - - VIES - - EORI - type: string - UrlInformation: - type: object - properties: - httpMethods: - type: string - url: - type: string - additionalProperties: false - UseCaseData: - type: object - properties: - useCaseId: - type: string - format: uuid - name: - type: string - shortname: - type: string - additionalProperties: false - UseCaseIdDetails: - type: object - properties: - useCaseId: - type: string - format: uuid - additionalProperties: false - UserCreationError: - type: object - properties: - line: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - $ref: '#/components/schemas/ErrorDetails' - additionalProperties: false - UserCreationInfo: - type: object - properties: - userName: - type: string - nullable: true - email: - type: string - firstName: - type: string - nullable: true - lastName: - type: string - nullable: true - roles: - type: array - items: - type: string - additionalProperties: false - UserCreationInfoIdp: - type: object - properties: - firstName: - type: string - lastName: - type: string - email: - type: string - roles: - type: array - items: - type: string - userName: - type: string - userId: - type: string - additionalProperties: false - UserCreationStats: - type: object - properties: - created: - type: integer - format: int32 - error: - type: integer - format: int32 - total: - type: integer - format: int32 - errors: - type: array - items: - $ref: '#/components/schemas/UserCreationError' - additionalProperties: false - UserDetailData: - type: object - properties: - identityProviderId: - type: string - format: uuid - nullable: true - providerId: - type: string - username: - type: string - firstName: - type: string - lastName: - type: string - email: - type: string - additionalProperties: false - UserIdentityProviderData: - type: object - properties: - companyUserId: - type: string - format: uuid - firstName: - type: string - nullable: true - lastName: - type: string - nullable: true - email: - type: string - nullable: true - identityProviders: - type: array - items: - $ref: '#/components/schemas/UserIdentityProviderLinkData' - additionalProperties: false - UserIdentityProviderLinkData: - type: object - properties: - identityProviderId: - type: string - format: uuid - userId: - type: string - userName: - type: string - additionalProperties: false - UserLinkData: - type: object - properties: - userId: - type: string - userName: - type: string - additionalProperties: false - UserRoleData: - type: object - properties: - roleId: - type: string - format: uuid - clientId: - type: string - roleName: - type: string - additionalProperties: false - UserRoleType: - enum: - - Internal - - External - type: string - UserRoleWithDescription: - type: object - properties: - roleId: - type: string - format: uuid - roleName: - type: string - roleDescription: - type: string - nullable: true - roleType: - $ref: '#/components/schemas/UserRoleType' - additionalProperties: false - UserRoleWithId: - type: object - properties: - companyUserRoleText: - type: string - companyUserRoleId: - type: string - format: uuid - additionalProperties: false - UserStatusId: - enum: - - ACTIVE - - INACTIVE - - DELETED - - PENDING - - PENDING_DELETION - type: string - UserUpdateError: - type: object - properties: - line: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - $ref: '#/components/schemas/ErrorDetails' - additionalProperties: false - securitySchemes: - Bearer: - type: apiKey - description: "JWT Authorization header using the Bearer scheme. \r\n\r\n Enter 'Bearer' [space] and then your token in the text input below.\r\n\r\nExample: \"Bearer 12345abcdef\"" - name: Authorization - in: header -security: - - Bearer: [ ] \ No newline at end of file diff --git a/portal-backend/v2.3.0-alpha.1/administration-service/index.html b/portal-backend/v2.3.0-alpha.1/administration-service/index.html deleted file mode 100644 index 111e289..0000000 --- a/portal-backend/v2.3.0-alpha.1/administration-service/index.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - Index of . - - - - - -
- Index of . -
-
- - - - - - - - - - - - -
NameSizeLast Modified
swagger-ui/--
administration-service.yaml250.12 KB2024-09-27 04:06:58
-
- - - - \ No newline at end of file diff --git a/portal-backend/v2.3.0-alpha.1/administration-service/swagger-ui/administration-service.yaml b/portal-backend/v2.3.0-alpha.1/administration-service/swagger-ui/administration-service.yaml deleted file mode 100644 index b4397bc..0000000 --- a/portal-backend/v2.3.0-alpha.1/administration-service/swagger-ui/administration-service.yaml +++ /dev/null @@ -1,7828 +0,0 @@ -openapi: 3.0.1 -info: - title: Org.Eclipse.TractusX.Portal.Backend.Administration.Service - version: v2.3.0-alpha.1 -paths: - /api/administration/companydata/ownCompanyDetails: - get: - tags: - - CompanyData - summary: 'Gets the company with its address (Authorization required - Roles: view_company_data)' - description: 'Example: GET: api/administration/companydata/ownCompanyDetails' - responses: - '200': - description: Returns the company with its address. - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyAddressDetailData' - '409': - description: user is not associated with company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/companydata/preferredUseCases: - get: - tags: - - CompanyData - summary: 'Gets the CompanyAssigned UseCase details (Authorization required - Roles: view_use_cases)' - description: 'Example: GET: api/administration/companydata/preferredUseCases' - responses: - '200': - description: Returns the CompanyAssigned UseCase details. - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyAssignedUseCaseData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - post: - tags: - - CompanyData - summary: 'Create the CompanyAssigned UseCase details (Authorization required - Roles: set_company_use_cases)' - description: 'Example: POST: api/administration/companydata/preferredUseCases' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/UseCaseIdDetails' - responses: - '201': - description: Created - '204': - description: NoContentResult - '409': - description: Company Status is Incorrect - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '208': - description: UseCaseId already existis - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - delete: - tags: - - CompanyData - summary: 'Remove the CompanyAssigned UseCase details by UseCaseId (Authorization required - Roles: set_company_use_cases)' - description: 'Example: DELETE: api/administration/companydata/preferredUseCases' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/UseCaseIdDetails' - responses: - '204': - description: NoContentResult - content: - application/json: - schema: - $ref: '#/components/schemas/NoContentResult' - '409': - description: "Company Status is Incorrect \n\r\nUseCaseId is not available" - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/companydata/companyRolesAndConsents: - get: - tags: - - CompanyData - summary: 'Gets the companyrole and ConsentAgreement Details (Authorization required - Roles: view_company_data)' - description: 'Example: GET: api/administration/companydata/companyRolesAndConsents' - parameters: - - name: languageShortName - in: query - schema: - type: string - responses: - '200': - description: Returns the Companyrole and Consent details. - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyRoleConsentViewData' - '400': - description: languageShortName is not valid - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: CompanyId does not exist in company - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: No Companyrole or Incorrect Status - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - post: - tags: - - CompanyData - summary: 'Post the companyrole and Consent Details (Authorization required - Roles: view_company_data)' - description: 'Example: POST: api/administration/companydata/companyRolesAndConsents' - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CompanyRoleConsentDetails' - responses: - '204': - description: Created the Companyrole and Consent details. - content: - application/json: - schema: - $ref: '#/components/schemas/NoContentResult' - '400': - description: "All agreement need to get signed as Active or InActive \n\r\nAgreements not associated with requested companyRoles" - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: "Company does not exists \n\r\nCompany is in Incorrect state \n\r\nCompany can't unassign from all roles" - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/companydata/useCaseParticipation: - post: - tags: - - CompanyData - summary: 'Creates the use case participation request (Authorization required - Roles: request_ssicredential)' - description: 'Example: POST: api/administration/companydata/useCaseParticipation' - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - VerifiedCredentialExternalTypeDetailId: - type: string - format: uuid - CredentialType: - type: string - Document: - type: file - format: binary - encoding: - VerifiedCredentialExternalTypeDetailId: - style: form - CredentialType: - style: form - Document: - style: form - application/json: - schema: - type: object - properties: - VerifiedCredentialExternalTypeDetailId: - type: string - format: uuid - CredentialType: - type: string - Document: - type: file - format: binary - encoding: - VerifiedCredentialExternalTypeDetailId: - style: form - CredentialType: - style: form - Document: - style: form - responses: - '204': - description: Successfully created the use case participation request. - '400': - description: "VerifiedCredentialExternalTypeDetailId does not exist \n\r\nCredential request already exist" - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/companydata/companyCertificate: - post: - tags: - - CompanyData - summary: 'Creates the Company Certificate request (Authorization required - Roles: upload_certificates)' - description: 'Example: POST: api/administration/companydata/companyCertificate' - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - CertificateType: - $ref: '#/components/schemas/CompanyCertificateTypeId' - Document: - type: file - format: binary - ExternalCertificateNumber: - type: string - Sites: - type: array - items: - type: string - ValidFrom: - type: string - format: date-time - ValidTill: - type: string - format: date-time - Issuer: - type: string - encoding: - CertificateType: - style: form - Document: - style: form - ExternalCertificateNumber: - style: form - Sites: - style: form - ValidFrom: - style: form - ValidTill: - style: form - Issuer: - style: form - application/json: - schema: - type: object - properties: - CertificateType: - $ref: '#/components/schemas/CompanyCertificateTypeId' - Document: - type: file - format: binary - ExternalCertificateNumber: - type: string - Sites: - type: array - items: - type: string - ValidFrom: - type: string - format: date-time - ValidTill: - type: string - format: date-time - Issuer: - type: string - encoding: - CertificateType: - style: form - Document: - style: form - ExternalCertificateNumber: - style: form - Sites: - style: form - ValidFrom: - style: form - ValidTill: - style: form - Issuer: - style: form - responses: - '204': - description: Successfully created the Company certificate request. - '400': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/companydata/company/{businessPartnerNumber}/companyCertificates': - get: - tags: - - CompanyData - summary: 'Gets the companyCertificates Details (Authorization required - Roles: view_certificates)' - description: 'Example: GET: api/administration/companydata/businessPartnerNumber}/companyCertificates' - parameters: - - name: businessPartnerNumber - in: path - required: true - schema: - type: string - responses: - '200': - description: Returns the companyCertificates details. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CompanyCertificateBpnData' - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/companydata/companyCertificates: - get: - tags: - - CompanyData - summary: 'Retrieves all company certificates with respect userId. (Authorization required - Roles: view_certificates)' - description: 'Example: GET /api/administration/companydata/companyCertificates' - parameters: - - name: page - in: query - description: Optional the page of company certificate. - schema: - type: integer - format: int32 - default: 0 - example: 0 - - name: size - in: query - description: 'Amount of company certificate, default is 15.' - schema: - type: integer - format: int32 - default: 15 - example: 15 - - name: sorting - in: query - description: Optional Sorting of the pagination - schema: - $ref: '#/components/schemas/CertificateSorting' - example: CertificateTypeAsc - - name: certificateStatus - in: query - description: Optional filter for company certificate status - schema: - $ref: '#/components/schemas/CompanyCertificateStatusId' - - name: certificateType - in: query - description: Optional filter for company certificate type - schema: - $ref: '#/components/schemas/CompanyCertificateTypeId' - responses: - '200': - description: Returns the list of all active company certificates. - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyCertificateDataResponse' - '204': - description: No Content - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/companydata/companyCertificates/{documentId}': - get: - tags: - - CompanyData - summary: 'Retrieves a specific company certificate document for the given documentid and companyuserid. (Authorization required - Roles: view_certificates)' - description: 'Example: GET /api/administration/companydata/companyCertificates/4ad087bb-80a1-49d3-9ba9-da0b175cd4e3' - parameters: - - name: documentId - in: path - description: Id of the document to get. - required: true - schema: - type: string - format: uuid - example: 4ad087bb-80a1-49d3-9ba9-da0b175cd4e3 - responses: - '200': - description: Returns the file. - content: - application/json: - schema: - type: string - format: binary - '404': - description: The document was not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '503': - description: Service Unavailable - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/companydata/companyCertificates/documents/{documentId}': - get: - tags: - - CompanyData - summary: 'Retrieves a specific company certificate document for the given id. (Authorization required - Roles: view_certificates)' - description: 'Example: GET /api/administration/companydata/companyCertificates/documents/4ad087bb-80a1-49d3-9ba9-da0b175cd4e3' - parameters: - - name: documentId - in: path - description: Id of the document to get. - required: true - schema: - type: string - format: uuid - example: 4ad087bb-80a1-49d3-9ba9-da0b175cd4e3 - responses: - '200': - description: Returns the file. - content: - application/json: - schema: - type: string - format: binary - '404': - description: The document was not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: The document which is not in status "ACTIVE". - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '503': - description: document Content is null. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/companydata/companyCertificate/document/{documentId}': - delete: - tags: - - CompanyData - summary: 'Deletes the company certificate with the given id (Authorization required - Roles: delete_certificates)' - description: 'Example: Delete: /api/administration/companydata/companyCertificate/document/{documentId}' - parameters: - - name: documentId - in: path - description: '' - required: true - schema: - type: string - format: uuid - example: 4ad087bb-80a1-49d3-9ba9-da0b175cd4e3 - responses: - '200': - description: Successfully deleted the company certificate - content: - application/json: - schema: - type: integer - format: int32 - '404': - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '400': - description: Incorrect document state - '403': - description: The user is not assigned with the Company. - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/companydata/decentralidentity/urls: - get: - tags: - - CompanyData - summary: 'Rejects the given credential (Authorization required - Roles: view_company_data)' - description: 'Example: GET: api/administration/companydata/decentralidentity/urls' - responses: - '200': - description: Returns the dim urls. - content: - application/json: - schema: - $ref: '#/components/schemas/DimUrlsResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/companydata/missing-sd-document: - get: - tags: - - CompanyData - summary: 'Retrieves all active companies with missing sd document. (Authorization required - Roles: view_company_data)' - description: "Example: GET: /api/administration/companyData/missing-sd-document \n\r\nExample: GET: /api/administration/companyData/missing-sd-document?page=0&size=15" - parameters: - - name: page - in: query - description: Optional query parameter defining the requested page number. - schema: - type: integer - format: int32 - default: 0 - example: 0 - - name: size - in: query - description: Optional query parameter defining the number of companies listed per page. - schema: - type: integer - format: int32 - default: 15 - example: 15 - responses: - '200': - description: Returns a list of all active companies with missing sd document. - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyMissingSdDocumentDataResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/companydata/trigger-self-description: - post: - tags: - - CompanyData - summary: 'Triggers the process to create the missing self description documents (Authorization required - Roles: approve_new_partner)' - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No Process found for the processId - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/companydata/retrigger-self-description: - post: - tags: - - CompanyData - summary: 'Retriggers the process to create the missing self description documents (Authorization required - Roles: approve_new_partner)' - parameters: - - name: processId - in: path - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No Process found for the processId - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/Connectors: - get: - tags: - - Connectors - summary: 'Retrieves all company registered own connectors and their status. (Authorization required - Roles: view_connectors)' - description: "Example: GET: /api/administration/connectors \n\r\nExample: GET: /api/administration/connectors?page=0&size=15" - parameters: - - name: page - in: query - description: Optional query parameter defining the requested page number. - schema: - type: integer - format: int32 - default: 0 - example: 0 - - name: size - in: query - description: Optional query parameter defining the number of connectors listed per page. - schema: - type: integer - format: int32 - default: 15 - example: 15 - responses: - '200': - description: Returns a list of all of the current user's company's connectors. - content: - application/json: - schema: - $ref: '#/components/schemas/ConnectorDataResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - post: - tags: - - Connectors - summary: 'Allows to register owned company connectors (self-hosted/-managed) inside the CX dataspace. (Authorization required - Roles: add_connectors)' - description: 'Example: POST: /api/administration/connectors/daps' - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - Name: - type: string - description: Display name of the connector. - ConnectorUrl: - type: string - description: ConnectorCatalogEndpoint. - Location: - type: string - description: Connector's location country code. - TechnicalUserId: - type: string - description: Id of the technical user. - format: uuid - encoding: - Name: - style: form - ConnectorUrl: - style: form - Location: - style: form - TechnicalUserId: - style: form - responses: - '201': - description: Returns a view model of the created connector. - content: - application/json: - schema: - type: string - format: uuid - '400': - description: Input parameter are invalid. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '503': - description: Access to SD factory failed with the given status code. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/Connectors/managed: - get: - tags: - - Connectors - summary: 'Retrieves all registered connectors which are managed connectors of company customers and their status. (Authorization required - Roles: view_connectors)' - description: "Example: GET: /api/administration/connectors/managed \n\r\nExample: GET: /api/administration/connectors/managed?page=0&size=15" - parameters: - - name: page - in: query - description: Optional query parameter defining the requested page number. - schema: - type: integer - format: int32 - default: 0 - example: 0 - - name: size - in: query - description: Optional query parameter defining the number of connectors listed per page. - schema: - type: integer - format: int32 - default: 15 - example: 15 - responses: - '200': - description: Returns a list of all of the current user's company's connectors. - content: - application/json: - schema: - $ref: '#/components/schemas/ConnectorDataResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - post: - tags: - - Connectors - summary: 'Allows to register managed connectors for 3rd parties/customers inside the CX dataspace. (Authorization required - Roles: add_connectors)' - description: 'Example: POST: /api/administration/connectors/managed' - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - Name: - type: string - description: Display name of the connector. - ConnectorUrl: - type: string - description: ConnectorCatalogEndpoint.. - Location: - type: string - description: Connector's location country code. - SubscriptionId: - type: string - description: Id of the offer subscription. - format: uuid - TechnicalUserId: - type: string - description: Id of the technical user. - format: uuid - encoding: - Name: - style: form - ConnectorUrl: - style: form - Location: - style: form - SubscriptionId: - style: form - TechnicalUserId: - style: form - responses: - '201': - description: Returns a view model of the created connector. - content: - application/json: - schema: - type: string - format: uuid - '400': - description: Input parameter are invalid. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '503': - description: Access to SD factory failed with the given status code. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/Connectors/{connectorId}': - get: - tags: - - Connectors - summary: 'Retrieves connector information for a specific connector by its ID. Note: only company owned connectors can get called. (Authorization required - Roles: view_connectors)' - description: 'Example: GET: /api/administration/connectors/5636F9B9-C3DE-4BA5-8027-00D17A2FECFB' - operationId: GetCompanyConnectorByIdForCurrentUserAsync - parameters: - - name: connectorId - in: path - description: ID of the connector for which the details are to be displayed. - required: true - schema: - type: string - format: uuid - example: 5636F9B9-C3DE-4BA5-8027-00D17A2FECFB - responses: - '200': - description: Returns details of the requested connector. - content: - application/json: - schema: - $ref: '#/components/schemas/ConnectorData' - '403': - description: user does not belong to company of companyUserId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Connector ID not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - delete: - tags: - - Connectors - summary: 'Removes a connector from persistence layer by id. (Authorization required - Roles: delete_connectors)' - description: 'Example: DELETE: /api/administration/connectors/{connectorId}?deleteServiceAccount=true' - parameters: - - name: connectorId - in: path - description: ID of the connector to be deleted. - required: true - schema: - type: string - format: uuid - example: 5636F9B9-C3DE-4BA5-8027-00D17A2FECFB - - name: deleteServiceAccount - in: query - description: 'if `true` the linked service account will be deleted, otherwise the connection to the connector will just be removed' - schema: - type: boolean - default: false - responses: - '204': - description: Empty response on success. - content: - application/json: - schema: - $ref: '#/components/schemas/IActionResult' - '404': - description: Record not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Connector status does not match a deletion scenario. Deletion declined. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/Connectors/discovery: - post: - tags: - - Connectors - summary: 'Retrieve dataspace registered connectors by their registered BPNL or retrieve them all by sending an empty array. (Authorization required - Roles: view_connectors)' - description: 'Example: POST: /api/administration/connectors/discovery' - requestBody: - description: Single or List of Business Partner Number of the company. - content: - application/json: - schema: - type: array - items: - type: string - text/json: - schema: - type: array - items: - type: string - application/*+json: - schema: - type: array - items: - type: string - responses: - '200': - description: Returns company connector per bpn. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ConnectorEndPointData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/Connectors/clearinghouse/selfDescription: - post: - tags: - - Connectors - summary: 'Asynchron callback endpoint for the clearinghouse provider to submit the connector SD document. (Authorization required - Roles: submit_connector_sd)' - requestBody: - description: The response data for the self description - content: - application/json: - schema: - $ref: '#/components/schemas/SelfDescriptionResponseData' - text/json: - schema: - $ref: '#/components/schemas/SelfDescriptionResponseData' - application/*+json: - schema: - $ref: '#/components/schemas/SelfDescriptionResponseData' - responses: - '204': - description: Empty response on success. - '409': - description: Connector has document assigned. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Record Not Found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/Connectors/{connectorId}/connectorUrl': - put: - tags: - - Connectors - summary: 'Updates the connector url (Authorization required - Roles: modify_connectors)' - description: 'Example: PUT: /api/administration/connectors/{connectorId}/connectorUrl' - parameters: - - name: connectorId - in: path - description: Id of the connector to trigger the daps call. - required: true - schema: - type: string - format: uuid - example: 5636F9B9-C3DE-4BA5-8027-00D17A2FECFB - requestBody: - description: The update data - content: - application/json: - schema: - $ref: '#/components/schemas/ConnectorUpdateRequest' - text/json: - schema: - $ref: '#/components/schemas/ConnectorUpdateRequest' - application/*+json: - schema: - $ref: '#/components/schemas/ConnectorUpdateRequest' - responses: - '204': - description: Url was successfully updated. - '400': - description: Input parameter are invalid. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: user does not belong to host company of the connector. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Connector was not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '503': - description: Access to Daps failed with the given status code. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/Connectors/offerSubscriptions: - get: - tags: - - Connectors - summary: 'Retrieve the offer subscriptions for the company with the linked connectorIds. (Authorization required - Roles: view_connectors)' - description: 'Example: GET: /api/administration/connectors/offerSubscriptions' - parameters: - - name: connectorIdSet - in: query - description: "Optional: if `true` only respond with subscriptions where a link to a connector is given,\r\nif `false` it will only return subscriptions where no link to an connector exists." - schema: - type: boolean - example: false - responses: - '200': - description: Returns list of the offer subscriptions for the company. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ConnectorEndPointData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/Connectors/missing-sd-document: - get: - tags: - - Connectors - summary: 'Retrieves all active connectors with missing sd document. (Authorization required - Roles: view_connectors)' - description: "Example: GET: /api/administration/connectors/missing-sd-document \n\r\nExample: GET: /api/administration/connectors/missing-sd-document?page=0&size=15" - parameters: - - name: page - in: query - description: Optional query parameter defining the requested page number. - schema: - type: integer - format: int32 - default: 0 - example: 0 - - name: size - in: query - description: Optional query parameter defining the number of connectors listed per page. - schema: - type: integer - format: int32 - default: 15 - example: 15 - responses: - '200': - description: Returns a list of all active connectors with missing sd document. - content: - application/json: - schema: - $ref: '#/components/schemas/ConnectorMissingSdDocumentDataResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/Connectors/trigger-self-description: - post: - tags: - - Connectors - summary: 'Triggers the process to create the missing self description documents (Authorization required - Roles: approve_new_partner)' - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No Process found for the processId - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/Connectors/retrigger-self-description: - post: - tags: - - Connectors - summary: 'Retriggers the process to create the missing self description documents (Authorization required - Roles: approve_new_partner)' - parameters: - - name: processId - in: path - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No Process found for the processId - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/Documents/{documentId}': - get: - tags: - - Documents - summary: 'Retrieves a specific document for the given id. (Authorization required - Roles: view_documents)' - description: 'Example: GET: /api/administration/documents/4ad087bb-80a1-49d3-9ba9-da0b175cd4e3' - parameters: - - name: documentId - in: path - description: Id of the document to get. - required: true - schema: - type: string - format: uuid - example: 4ad087bb-80a1-49d3-9ba9-da0b175cd4e3 - responses: - '200': - description: Returns the file. - content: - text/plain: - schema: - type: string - format: binary - application/json: - schema: - type: string - format: binary - text/json: - schema: - type: string - format: binary - '404': - description: The document was not found. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: The user is not assigned with the Company. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '503': - description: document Content is null. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - delete: - tags: - - Documents - summary: 'Deletes the document with the given id (Authorization required - Roles: delete_documents)' - description: 'Example: Delete: /api/registration/documents/{documentId}' - parameters: - - name: documentId - in: path - description: '' - required: true - schema: - type: string - format: uuid - example: 4ad087bb-80a1-49d3-9ba9-da0b175cd4e3 - responses: - '200': - description: Successfully deleted the document - content: - application/json: - schema: - type: boolean - '400': - description: Incorrect document state - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: The user is not assigned with the Company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: The document was not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/Documents/selfDescription/{documentId}': - get: - tags: - - Documents - summary: 'Retrieves a specific document for the given id. (Authorization required - Roles: view_documents)' - description: 'Example: GET: /api/administration/documents/selfDescription/4ad087bb-80a1-49d3-9ba9-da0b175cd4e3' - parameters: - - name: documentId - in: path - description: Id of the document to get. - required: true - schema: - type: string - format: uuid - example: 4ad087bb-80a1-49d3-9ba9-da0b175cd4e3 - responses: - '200': - description: Returns the file. - content: - text/plain: - schema: - type: string - format: binary - application/json: - schema: - type: string - format: binary - text/json: - schema: - type: string - format: binary - '404': - description: The document was not found. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/Documents/{documentId}/seeddata': - get: - tags: - - Documents - summary: 'Gets the json the seed data for a specific document (Authorization required - Roles: debug_download_documents)' - description: "Example: GET: /api/registration/documents/{documentId}/seeddata\r\n\nthis endpoint can only be used in the dev environment!" - parameters: - - name: documentId - in: path - description: '' - required: true - schema: - type: string - format: uuid - example: 4ad087bb-80a1-49d3-9ba9-da0b175cd4e3 - responses: - '200': - description: Successfully deleted the document - content: - application/json: - schema: - type: boolean - '403': - description: Call was made from a non dev environment - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: The document was not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/Documents/frameDocuments/{documentId}': - get: - tags: - - Documents - summary: 'Retrieve document of type CX_FRAME_CONTRACT (Authorization required - Roles: view_documents)' - description: 'Example: Get: /api/administration/documents/frameDocuments/4ad087bb-80a1-49d3-9ba9-da0b175cd4e3' - parameters: - - name: documentId - in: path - description: '' - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Successfully fetched the document - content: - application/pdf: - schema: - $ref: '#/components/schemas/File' - application/json: - schema: - $ref: '#/components/schemas/File' - '404': - description: No document with the given id was found. - content: - application/pdf: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/errormessage: - get: - tags: - - ErrorMessage - responses: - '200': - description: OK - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ErrorMessageType' - '500': - description: Internal Server Error - /api/administration/identityprovider/owncompany/identityproviders: - get: - tags: - - IdentityProvider - summary: 'Gets the details of the own company identity provider (Authorization required - Roles: view_idp)' - description: 'Example: GET: api/administration/identityprovider/owncompany/identityproviders' - parameters: - - name: displayName - in: query - schema: - type: string - - name: alias - in: query - schema: - type: string - responses: - '200': - description: Returns a list of identityProviderDetails. - content: - text/plain: - schema: - type: array - items: - $ref: '#/components/schemas/IdentityProviderDetails' - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/IdentityProviderDetails' - text/json: - schema: - type: array - items: - $ref: '#/components/schemas/IdentityProviderDetails' - '502': - description: Bad Gateway Service Error. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - post: - tags: - - IdentityProvider - summary: 'Create an identity provider (Authorization required - Roles: add_idp)' - description: 'Example: POST: api/administration/identityprovider/owncompany/identityproviders' - parameters: - - name: protocol - in: query - description: Type of the protocol the identity provider should be created for - schema: - $ref: '#/components/schemas/IamIdentityProviderProtocol' - - name: typeId - in: query - description: IdentityProvider type (OWN or MANAGED) - schema: - $ref: '#/components/schemas/IdentityProviderTypeId' - - name: displayName - in: query - description: displayName of identityprovider to be set up (optional) - schema: - type: string - responses: - '200': - description: Returns a list of identityProviderDetails. - content: - text/plain: - schema: - $ref: '#/components/schemas/IdentityProviderDetails' - application/json: - schema: - $ref: '#/components/schemas/IdentityProviderDetails' - text/json: - schema: - $ref: '#/components/schemas/IdentityProviderDetails' - '400': - description: The protocol didn't match an expected value. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/identityprovider/network/identityproviders/managed/{identityProviderId}': - get: - tags: - - IdentityProvider - summary: 'Gets a specific identity provider with the connected Companies (Authorization required - Roles: view_managed_idp)' - description: 'Example: GET: api/administration/identityprovider/network/identityproviders/managed/{identityProviderId}' - parameters: - - name: identityProviderId - in: path - description: Id of the identity provider - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Return the details of the identityProvider. - content: - text/plain: - schema: - $ref: '#/components/schemas/IdentityProviderDetailsWithConnectedCompanies' - application/json: - schema: - $ref: '#/components/schemas/IdentityProviderDetailsWithConnectedCompanies' - text/json: - schema: - $ref: '#/components/schemas/IdentityProviderDetailsWithConnectedCompanies' - '400': - description: The user is not associated with the owner company. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Unexpected value of protocol. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - '/api/administration/identityprovider/owncompany/identityproviders/{identityProviderId}': - get: - tags: - - IdentityProvider - summary: 'Gets a specific identity provider (Authorization required - Roles: view_idp)' - description: 'Example: GET: api/administration/identityprovider/owncompany/identityproviders/6CFEEF93-CB37-405B-B65A-02BEEB81629F' - operationId: GetOwnCompanyIdentityProvider - parameters: - - name: identityProviderId - in: path - description: Id of the identity provider - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns a list of identityProviderDetails. - content: - text/plain: - schema: - $ref: '#/components/schemas/IdentityProviderDetails' - application/json: - schema: - $ref: '#/components/schemas/IdentityProviderDetails' - text/json: - schema: - $ref: '#/components/schemas/IdentityProviderDetails' - '400': - description: The user is not associated with a company. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Unexpected value of protocol. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - put: - tags: - - IdentityProvider - summary: 'Updates the details of the identity provider (Authorization required - Roles: setup_idp)' - description: 'Example: PUT: api/administration/identityprovider/owncompany/identityproviders/6CFEEF93-CB37-405B-B65A-02BEEB81629F' - parameters: - - name: identityProviderId - in: path - description: Id of the identity provider - required: true - schema: - type: string - format: uuid - requestBody: - description: possible changes for the identity provider - content: - application/json: - schema: - $ref: '#/components/schemas/IdentityProviderEditableDetails' - text/json: - schema: - $ref: '#/components/schemas/IdentityProviderEditableDetails' - application/*+json: - schema: - $ref: '#/components/schemas/IdentityProviderEditableDetails' - responses: - '200': - description: Returns a list of identityProviderDetails. - content: - text/plain: - schema: - $ref: '#/components/schemas/IdentityProviderDetails' - application/json: - schema: - $ref: '#/components/schemas/IdentityProviderDetails' - text/json: - schema: - $ref: '#/components/schemas/IdentityProviderDetails' - '400': - description: Unexpected value for category of identityProvider. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: The identityProvider is not associated with company of user. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: The identityProvider does not exist. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Unexpected value of protocol. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - delete: - tags: - - IdentityProvider - summary: 'Deletes the identity provider with the given id (Authorization required - Roles: delete_idp)' - description: 'Example: DELETE: api/administration/identityprovider/owncompany/identityproviders/6CFEEF93-CB37-405B-B65A-02BEEB81629F' - parameters: - - name: identityProviderId - in: path - description: Id of the identity provider - required: true - schema: - type: string - format: uuid - responses: - '204': - description: No Content - '400': - description: Unexpected value for category of identityProvider. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: The identityProvider is not associated with company of user. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: The identityProvider does not exist. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Unexpected value of protocol. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '200': - description: Returns a list of identityProviderDetails. - '401': - description: The User is unauthorized - '/api/administration/identityprovider/owncompany/identityproviders/{identityProviderId}/status': - post: - tags: - - IdentityProvider - summary: 'Sets the status of the given Identity Provider (Authorization required - Roles: disable_idp)' - description: 'Example: POST: api/administration/identityprovider/owncompany/identityproviders/6CFEEF93-CB37-405B-B65A-02BEEB81629F/status' - parameters: - - name: identityProviderId - in: path - description: Id of the identity provider - required: true - schema: - type: string - format: uuid - - name: enabled - in: query - description: 'true if the provider should be enabled, otherwise false' - schema: - type: boolean - responses: - '200': - description: Returns a list of identityProviderDetails. - content: - text/plain: - schema: - $ref: '#/components/schemas/IdentityProviderDetails' - application/json: - schema: - $ref: '#/components/schemas/IdentityProviderDetails' - text/json: - schema: - $ref: '#/components/schemas/IdentityProviderDetails' - '400': - description: Unexpected value for category of identityProvider. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: The identityProvider is not associated with company of user. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: The identityProvider does not exist. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Unexpected value of protocol. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - /api/administration/identityprovider/owncompany/users: - get: - tags: - - IdentityProvider - summary: 'Gets the company users for the identity providers (Authorization required - Roles: view_user_management)' - description: 'Example: GET: api/administration/identityprovider/owncompany/users' - parameters: - - name: identityProviderIds - in: query - description: Ids of the identity providers - schema: - type: array - items: - type: string - format: uuid - - name: unlinkedUsersOnly - in: query - description: Only users that doesn't match the given ids - schema: - type: boolean - default: false - responses: - '200': - description: Returns a list of user identity provider data. - content: - text/plain: - schema: - type: array - items: - $ref: '#/components/schemas/UserIdentityProviderData' - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UserIdentityProviderData' - text/json: - schema: - type: array - items: - $ref: '#/components/schemas/UserIdentityProviderData' - '400': - description: No identity provider was provided. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/identityprovider/owncompany/usersfile: - get: - tags: - - IdentityProvider - summary: 'Gets the company users for the identity providers as a file (Authorization required - Roles: modify_user_account)' - description: 'Example: GET: api/administration/identityprovider/owncompany/usersfile' - parameters: - - name: identityProviderIds - in: query - description: Ids of the identity providers - schema: - type: array - items: - type: string - format: uuid - - name: unlinkedUsersOnly - in: query - description: Only users that doesn't match the given ids - schema: - type: boolean - default: false - responses: - '200': - description: Returns a file of users. - content: - text/plain: - schema: - type: string - format: binary - application/json: - schema: - type: string - format: binary - text/json: - schema: - type: string - format: binary - '400': - description: No identity provider was provided. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - post: - tags: - - IdentityProvider - summary: 'Upload the users and adds them to the user provider (Authorization required - Roles: modify_user_account)' - description: 'Example: POST: api/administration/identityprovider/owncompany/usersfile' - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - document: - type: file - description: The file including the users - format: binary - encoding: - document: - style: form - responses: - '200': - description: Returns a file of users. - content: - text/plain: - schema: - $ref: '#/components/schemas/IdentityProviderUpdateStats' - application/json: - schema: - $ref: '#/components/schemas/IdentityProviderUpdateStats' - text/json: - schema: - $ref: '#/components/schemas/IdentityProviderUpdateStats' - '400': - description: user is not associated with a company. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '415': - description: Content type didn't match the expected value. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/identityprovider/owncompany/users/{companyUserId}/identityprovider/{identityProviderId}': - put: - tags: - - IdentityProvider - summary: 'Updates the given user for the given identity provider (Authorization required - Roles: modify_user_account)' - description: 'Example: PUT: api/administration/identityprovider/owncompany/users/A744E2AA-55AA-4511-9F42-80371220BE26/identityprovider/7DAAF6C3-BEB1-466B-A87A-98DB8CE194B2' - parameters: - - name: companyUserId - in: path - description: Id of the company user - required: true - schema: - type: string - format: uuid - - name: identityProviderId - in: path - description: Id of the identity provider - required: true - schema: - type: string - format: uuid - requestBody: - description: Data that should be updated - content: - application/json: - schema: - $ref: '#/components/schemas/UserLinkData' - text/json: - schema: - $ref: '#/components/schemas/UserLinkData' - application/*+json: - schema: - $ref: '#/components/schemas/UserLinkData' - responses: - '200': - description: Returns the link data. - content: - text/plain: - schema: - $ref: '#/components/schemas/UserIdentityProviderLinkData' - application/json: - schema: - $ref: '#/components/schemas/UserIdentityProviderLinkData' - text/json: - schema: - $ref: '#/components/schemas/UserIdentityProviderLinkData' - '400': - description: user is not associated with a company. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: user does not belong to company of companyUserId. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: companyUserId does not exist. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: companyUserId is not linked to keycloak - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - get: - tags: - - IdentityProvider - summary: 'Gets the given user for the given identity provider (Authorization required - Roles: view_user_management)' - description: 'Example: GET: api/administration/identityprovider/owncompany/users/A744E2AA-55AA-4511-9F42-80371220BE26/identityprovider/7DAAF6C3-BEB1-466B-A87A-98DB8CE194B2' - operationId: GetOwnCompanyUserIdentityProviderDataAsync - parameters: - - name: companyUserId - in: path - description: Id of the company user - required: true - schema: - type: string - format: uuid - - name: identityProviderId - in: path - description: Id of the identity provider - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns the link data. - content: - text/plain: - schema: - $ref: '#/components/schemas/UserIdentityProviderLinkData' - application/json: - schema: - $ref: '#/components/schemas/UserIdentityProviderLinkData' - text/json: - schema: - $ref: '#/components/schemas/UserIdentityProviderLinkData' - '400': - description: user is not associated with a company. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: user does not belong to company of companyUserId. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: companyUserId does not exist. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: companyUserId is not linked to keycloak - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - delete: - tags: - - IdentityProvider - summary: 'Deletes the given user on the given identity provider (Authorization required - Roles: modify_user_account)' - description: 'Example: DELETE: api/administration/identityprovider/owncompany/users/A744E2AA-55AA-4511-9F42-80371220BE26/identityprovider/7DAAF6C3-BEB1-466B-A87A-98DB8CE194B2' - parameters: - - name: companyUserId - in: path - description: Id of the company user - required: true - schema: - type: string - format: uuid - - name: identityProviderId - in: path - description: Id of the identity provider - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns the link data. - content: - text/plain: - schema: - $ref: '#/components/schemas/NoContentResult' - application/json: - schema: - $ref: '#/components/schemas/NoContentResult' - text/json: - schema: - $ref: '#/components/schemas/NoContentResult' - '400': - description: user is not associated with a company. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: user does not belong to company of companyUserId. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: companyUserId does not exist. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: companyUserId is not linked to keycloak - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - text/plain: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - text/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - /api/administration/invitation: - post: - tags: - - Invitation - summary: 'Executes the invitation (Authorization required - Roles: invite_new_partner)' - description: 'Example: POST: api/administration/invitation' - requestBody: - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyInvitationData' - responses: - '200': - description: Successfully executed the invitation. - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyInvitationResponse' - '400': - description: 'Missing mandatory input values (e.g. email, organization name, etc.)' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: user is not associated with company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - '/api/administration/invitation/{processId}/retrigger-create-central-idp': - post: - tags: - - Invitation - summary: 'Retriggers the last failed step (Authorization required - Roles: invite_new_partner)' - parameters: - - name: processId - in: path - description: Id of the process that should be triggered - required: true - schema: - type: string - format: uuid - example: 251e4596-5ff0-4176-b544-840b04ebeb93 - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/invitation/{processId}/retrigger-create-shared-idp-sa': - post: - tags: - - Invitation - summary: 'Retriggers the last failed step (Authorization required - Roles: invite_new_partner)' - parameters: - - name: processId - in: path - description: Id of the process that should be triggered - required: true - schema: - type: string - format: uuid - example: 251e4596-5ff0-4176-b544-840b04ebeb93 - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/invitation/{processId}/retrigger-add-realm-role': - post: - tags: - - Invitation - summary: 'Retriggers the last failed step (Authorization required - Roles: invite_new_partner)' - parameters: - - name: processId - in: path - description: Id of the process that should be triggered - required: true - schema: - type: string - format: uuid - example: 251e4596-5ff0-4176-b544-840b04ebeb93 - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/invitation/{processId}/retrigger-update-central-idp-urls': - post: - tags: - - Invitation - summary: 'Retriggers the last failed step (Authorization required - Roles: invite_new_partner)' - parameters: - - name: processId - in: path - description: Id of the process that should be triggered - required: true - schema: - type: string - format: uuid - example: 251e4596-5ff0-4176-b544-840b04ebeb93 - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/invitation/{processId}/retrigger-create-central-idp-org-mapper': - post: - tags: - - Invitation - summary: 'Retriggers the last failed step (Authorization required - Roles: invite_new_partner)' - parameters: - - name: processId - in: path - description: Id of the process that should be triggered - required: true - schema: - type: string - format: uuid - example: 251e4596-5ff0-4176-b544-840b04ebeb93 - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/invitation/{processId}/retrigger-create-shared-realm-idp-client': - post: - tags: - - Invitation - summary: 'Retriggers the last failed step (Authorization required - Roles: invite_new_partner)' - parameters: - - name: processId - in: path - description: Id of the process that should be triggered - required: true - schema: - type: string - format: uuid - example: 251e4596-5ff0-4176-b544-840b04ebeb93 - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/invitation/{processId}/retrigger-enable-central-idp': - post: - tags: - - Invitation - summary: 'Retriggers the last failed step (Authorization required - Roles: invite_new_partner)' - parameters: - - name: processId - in: path - description: Id of the process that should be triggered - required: true - schema: - type: string - format: uuid - example: 251e4596-5ff0-4176-b544-840b04ebeb93 - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/invitation/{processId}/retrigger-create-database-idp': - post: - tags: - - Invitation - summary: 'Retriggers the last failed step (Authorization required - Roles: invite_new_partner)' - parameters: - - name: processId - in: path - description: Id of the process that should be triggered - required: true - schema: - type: string - format: uuid - example: 251e4596-5ff0-4176-b544-840b04ebeb93 - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/invitation/{processId}/retrigger-invite-shared-client': - post: - tags: - - Invitation - summary: 'Retriggers the last failed step (Authorization required - Roles: invite_new_partner)' - parameters: - - name: processId - in: path - description: Id of the process that should be triggered - required: true - schema: - type: string - format: uuid - example: 251e4596-5ff0-4176-b544-840b04ebeb93 - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/invitation/{processId}/retrigger-create-user': - post: - tags: - - Invitation - summary: 'Retriggers the last failed step (Authorization required - Roles: invite_new_partner)' - parameters: - - name: processId - in: path - description: Id of the process that should be triggered - required: true - schema: - type: string - format: uuid - example: 251e4596-5ff0-4176-b544-840b04ebeb93 - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/Mail/ssi-credentials: - post: - tags: - - Mail - summary: 'Creates a mail from the given data (Authorization required - Roles: send_mail)' - description: 'Example: POST: /api/administration/mail/ssi-credentials' - requestBody: - description: Data for the mail - content: - application/json: - schema: - $ref: '#/components/schemas/MailData' - text/json: - schema: - $ref: '#/components/schemas/MailData' - application/*+json: - schema: - $ref: '#/components/schemas/MailData' - responses: - '204': - description: No Content - content: - application/json: - schema: - type: integer - format: int32 - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/Mail/retrigger-send-mail: - post: - tags: - - Mail - summary: 'Retriggers the mail sending (Authorization required - Roles: retrigger_mail)' - description: 'Example: POST: /api/administration/mail/retrigger-send-mail' - parameters: - - name: processId - in: path - description: The mailing process id of the to retrigger - required: true - schema: - type: string - format: uuid - responses: - '204': - description: No Content - content: - application/json: - schema: - type: integer - format: int32 - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/registration/Network/partnerRegistration: - post: - tags: - - Network - summary: 'Registers a partner company (Authorization required - Roles: create_partner_registration)' - requestBody: - description: Data for the registration - content: - application/json: - schema: - $ref: '#/components/schemas/PartnerRegistrationData' - responses: - '200': - description: Empty response on success. - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/Network/{externalId}/retrigger-synchronize-users': - post: - tags: - - Network - summary: 'Retriggers the last failed step (Authorization required - Roles: approve_new_partner)' - parameters: - - name: externalId - in: path - description: Id of the externalId that should be triggered - required: true - schema: - type: string - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/Network/{externalId}/retrigger-callback-osp-approve': - post: - tags: - - Network - summary: 'Retriggers the last failed step (Authorization required - Roles: approve_new_partner)' - parameters: - - name: externalId - in: path - description: Id of the externalId that should be triggered - required: true - schema: - type: string - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/Network/{externalId}/retrigger-callback-osp-decline': - post: - tags: - - Network - summary: 'Retriggers the last failed step (Authorization required - Roles: approve_new_partner)' - parameters: - - name: externalId - in: path - description: Id of the externalId that should be triggered - required: true - schema: - type: string - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/Network/{externalId}/retrigger-callback-osp-submitted': - post: - tags: - - Network - summary: 'Retriggers the last failed step (Authorization required - Roles: approve_new_partner)' - parameters: - - name: externalId - in: path - description: Id of the externalId that should be triggered - required: true - schema: - type: string - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/Network/{externalId}/retrigger-remove-keycloak-user': - post: - tags: - - Network - summary: 'Retriggers the last failed step (Authorization required - Roles: approve_new_partner)' - parameters: - - name: externalId - in: path - description: Id of the externalId that should be triggered - required: true - schema: - type: string - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/info: - get: - tags: - - OpenInformation - summary: ' (Authorization required)' - responses: - '200': - description: OK - content: - text/plain: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - text/json: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/PartnerNetwork/memberCompanies: - get: - tags: - - PartnerNetwork - summary: 'Get all member companies (Authorization required - Roles: view_membership)' - description: 'Example: GET: api/administration/partnernetwork/memberCompanies' - parameters: - - name: bpnIds - in: query - description: BPN Id's - schema: - type: array - items: - type: string - responses: - '200': - description: Returns all the active member companies bpn. - content: - application/json: - schema: - type: array - items: - type: string - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/application/{applicationId}/companyDetailsWithAddress': - get: - tags: - - Registration - summary: 'Gets the company with its address (Authorization required - Roles: view_submitted_applications)' - description: 'Example: GET: api/administration/registration/application/4f0146c6-32aa-4bb1-b844-df7e8babdcb4/companyDetailsWithAddress' - parameters: - - name: applicationId - in: path - description: '' - required: true - schema: - type: string - format: uuid - example: 4f0146c6-32aa-4bb1-b844-df7e8babdcb4 - responses: - '200': - description: Returns the company with its address. - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyWithAddressData' - '400': - description: No applicationId was set. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Application ID not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/registration/applications: - get: - tags: - - Registration - summary: 'Get Application Detail by Company Name or Status (Authorization required - Roles: view_submitted_applications)' - description: "Example: GET: api/administration/registration/applications?companyName=Car&page=0&size=4&companyApplicationStatus=Closed \n\r\nExample: GET: api/administration/registration/applications?page=0&size=4" - parameters: - - name: page - in: query - description: page index start from 0 - schema: - type: integer - format: int32 - - name: size - in: query - description: size to get number of records - schema: - type: integer - format: int32 - - name: companyApplicationStatusFilter - in: query - description: Search by company applicationstatus - schema: - $ref: '#/components/schemas/CompanyApplicationStatusFilter' - - name: companyName - in: query - description: search by company name - schema: - type: string - responses: - '200': - description: Result as a Company Application Details - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyApplicationDetailsResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/registration/applicationsWithStatus: - get: - tags: - - Registration - summary: 'fetch all applications details with company user details. (Authorization required - Roles: invite_new_partner)' - description: 'Example: GET: api/administration/registration/applicationsWithStatus?page=0&size=15' - parameters: - - name: page - in: query - description: Optional query parameter defining the page index start from 0 - schema: - type: integer - format: int32 - default: 0 - - name: size - in: query - description: Optional query parameter defining the size to get number of records - schema: - type: integer - format: int32 - default: 15 - - name: companyName - in: query - description: Optional query parameter defining the company name to get number of records as per company name - schema: - type: string - responses: - '200': - description: Result as a All Company Applications Details - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyApplicationWithCompanyUserDetailsResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/application/{applicationId}/{bpn}/bpn': - post: - tags: - - Registration - summary: 'Update the BPN for a Company (Authorization required - Roles: approve_new_partner)' - description: 'Example: POST: /api/administration/registration/application/6126fdc8-f572-4a63-a5b3-d5e52cb58136/BPNL00000003CSGV/bpn' - parameters: - - name: applicationId - in: path - description: '' - required: true - schema: - type: string - format: uuid - - name: bpn - in: path - description: '' - required: true - schema: - type: string - responses: - '200': - description: Successfully Updated the BPN. - content: - application/json: - schema: - type: boolean - '400': - description: Bpn is not 16 character long or alphanumeric or does not start with BPNL - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: application Id not found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Bpn is already assigned or alphanumeric or application for company is not pending - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/applications/{applicationId}/approve': - post: - tags: - - Registration - summary: 'Approves the registration verification for the application with the given id (Authorization required - Roles: approve_new_partner)' - description: 'Example: POST: api/administration/registration/application/4f0146c6-32aa-4bb1-b844-df7e8babdcb4/approve' - parameters: - - name: applicationId - in: path - description: Id of the application that should be approved - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Successfully approved the application - '400': - description: 'Either the CompanyApplication is not in status SUBMITTED, or there is no checklist entry of type Registration_Verification.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Application ID not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/applications/{applicationId}/decline': - post: - tags: - - Registration - summary: 'Declines the registration verification for the application with the given id (Authorization required - Roles: decline_new_partner)' - description: 'Example: POST: api/administration/registration/application/{applicationId}/decline' - parameters: - - name: applicationId - in: path - description: Id of the application that should be declined - required: true - schema: - type: string - format: uuid - requestBody: - description: Comment to explain why the application got declined - content: - application/json: - schema: - $ref: '#/components/schemas/RegistrationDeclineData' - responses: - '204': - description: Successfully declined the application - '400': - description: 'Either the CompanyApplication is not in status SUBMITTED, or there is no checklist entry of type Registration_Verification.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Application ID not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/registration/clearinghouse: - post: - tags: - - Registration - summary: 'Processes the clearinghouse response (Authorization required - Roles: update_application_checklist_value)' - requestBody: - description: Response data from clearinghouse - content: - application/json: - schema: - $ref: '#/components/schemas/ClearinghouseResponseData' - responses: - '204': - description: Empty response on success. - '400': - description: Either the CompanyApplication is not in status SUBMITTED or the clearing_house process is not in status IN_PROGRESS. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No application found for the bpn. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/dim/{bpn}': - post: - tags: - - Registration - summary: 'Processes the dim middlelayer response (Authorization required - Roles: store_didDocument)' - parameters: - - name: bpn - in: path - description: BusinessPartnerNumber for dim - required: true - schema: - type: string - requestBody: - description: Response data from dim - content: - application/json: - schema: - $ref: '#/components/schemas/DimWalletData' - responses: - '204': - description: Empty response on success. - '400': - description: Either the CompanyApplication is not in status SUBMITTED or the clearing_house process is not in status IN_PROGRESS. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No application found for the bpn. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/applications/{applicationId}/checklistDetails': - get: - tags: - - Registration - summary: 'Gets the information of an applications checklist (Authorization required - Roles: approve_new_partner)' - description: 'Example: GET: api/administration/registration/application/4f0146c6-32aa-4bb1-b844-df7e8babdcb4/checklistDetails' - parameters: - - name: applicationId - in: path - description: Id of the application the checklist should be provided for - required: true - schema: - type: string - format: uuid - responses: - '200': - description: The checklist information for the application - content: - application/json: - schema: - $ref: '#/components/schemas/ChecklistDetails' - '404': - description: Application ID not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/application/{applicationId}/override-clearinghouse': - post: - tags: - - Registration - summary: 'Retriggers the last failed to override the clearinghouse-result (Authorization required - Roles: approve_new_partner)' - parameters: - - name: applicationId - in: path - description: Id of the application that should be triggered - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Empty response on success. - '400': - description: Either the CompanyApplication is not in status SUBMITTED or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No application found for the applicationId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/application/{applicationId}/retrigger-clearinghouse': - post: - tags: - - Registration - summary: 'Retriggers the last failed step (Authorization required - Roles: approve_new_partner)' - parameters: - - name: applicationId - in: path - description: Id of the application that should be triggered - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Empty response on success. - '400': - description: Either the CompanyApplication is not in status SUBMITTED or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No application found for the applicationId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/application/{applicationId}/trigger-identity-wallet': - post: - tags: - - Registration - summary: 'Retriggers the last failed step (Authorization required - Roles: approve_new_partner)' - parameters: - - name: applicationId - in: path - description: Id of the application that should be triggered - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Empty response on success. - '400': - description: Either the CompanyApplication is not in status SUBMITTED or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No application found for the applicationId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/application/{applicationId}/trigger-self-description': - post: - tags: - - Registration - summary: 'Retriggers the last failed step (Authorization required - Roles: approve_new_partner)' - parameters: - - name: applicationId - in: path - description: Id of the application that should be triggered - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Empty response on success. - '400': - description: Either the CompanyApplication is not in status SUBMITTED or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No application found for the applicationId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/application/{applicationId}/trigger-bpn': - post: - tags: - - Registration - summary: 'Retriggers the last failed step (Authorization required - Roles: approve_new_partner)' - parameters: - - name: applicationId - in: path - description: Id of the application that should be triggered - required: true - schema: - type: string - format: uuid - - name: processTypeId - in: query - description: 'Optional: The process type id that should be retriggered' - schema: - $ref: '#/components/schemas/ProcessStepTypeId' - responses: - '204': - description: Empty response on success. - '400': - description: Either the CompanyApplication is not in status SUBMITTED or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No application found for the applicationId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/registration/clearinghouse/selfDescription: - post: - tags: - - Registration - summary: 'Processes the clearinghouse self description push (Authorization required - Roles: update_application_checklist_value)' - requestBody: - description: The response data for the self description - content: - application/json: - schema: - $ref: '#/components/schemas/SelfDescriptionResponseData' - responses: - '204': - description: Empty response on success. - '400': - description: The CompanyApplication is not in status SUBMITTED. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Record not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/documents/{documentId}': - get: - tags: - - Registration - summary: 'Retrieves a specific document for the given id. (Authorization required - Roles: approve_new_partner)' - description: 'Example: GET: /api/administration/registration/documents/4ad087bb-80a1-49d3-9ba9-da0b175cd4e3' - parameters: - - name: documentId - in: path - description: Id of the document to get. - required: true - schema: - type: string - format: uuid - example: 4ad087bb-80a1-49d3-9ba9-da0b175cd4e3 - responses: - '200': - description: Returns the file. - content: - application/json: - schema: - type: string - format: binary - '404': - description: Record not found. - content: - application/json: - schema: - type: string - format: binary - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/application/{applicationId}/retrigger-create-dim-wallet': - post: - tags: - - Registration - summary: 'Retriggers the last failed step (Authorization required - Roles: approve_new_partner)' - parameters: - - name: applicationId - in: path - description: Id of the application that should be triggered - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Empty response on success. - '400': - description: Either the CompanyApplication is not in status SUBMITTED or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No application found for the applicationId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/application/{applicationId}/retrigger-validate-did': - post: - tags: - - Registration - summary: 'Retriggers the last failed step (Authorization required - Roles: approve_new_partner)' - parameters: - - name: applicationId - in: path - description: Id of the application that should be triggered - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Empty response on success. - '400': - description: Either the CompanyApplication is not in status SUBMITTED or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No application found for the applicationId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/application/{applicationId}/retrigger-transmit-bpn-did': - post: - tags: - - Registration - summary: 'Retriggers the last failed step (Authorization required - Roles: approve_new_partner)' - parameters: - - name: applicationId - in: path - description: Id of the application that should be triggered - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Empty response on success. - '400': - description: Either the CompanyApplication is not in status SUBMITTED or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No application found for the applicationId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/application/{applicationId}/retrigger-bpn-credential': - post: - tags: - - Registration - summary: 'Retriggers the last failed step (Authorization required - Roles: approve_new_partner)' - parameters: - - name: applicationId - in: path - description: Id of the application that should be triggered - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Empty response on success. - '400': - description: Either the CompanyApplication is not in status SUBMITTED or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No application found for the applicationId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/application/{applicationId}/retrigger-membership-credential': - post: - tags: - - Registration - summary: 'Retriggers the last failed step (Authorization required - Roles: approve_new_partner)' - parameters: - - name: applicationId - in: path - description: Id of the application that should be triggered - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Empty response on success. - '400': - description: Either the CompanyApplication is not in status SUBMITTED or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No application found for the applicationId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/registration/issuer/bpncredential: - post: - tags: - - Registration - summary: 'Processes the issuer bpn response (Authorization required - Roles: update_application_bpn_credential)' - requestBody: - description: Response data from the issuer component - content: - application/json: - schema: - $ref: '#/components/schemas/IssuerResponseData' - responses: - '204': - description: Empty response on success. - '400': - description: Either the CompanyApplication is not in status SUBMITTED or the bpn credential process is not in status IN_PROGRESS. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No application found for the external id. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/registration/issuer/membershipcredential: - post: - tags: - - Registration - summary: 'Processes the issuer membership response (Authorization required - Roles: update_application_membership_credential)' - requestBody: - description: Response data from the issuer component - content: - application/json: - schema: - $ref: '#/components/schemas/IssuerResponseData' - responses: - '204': - description: Empty response on success. - '400': - description: Either the CompanyApplication is not in status SUBMITTED or the membership credential process is not in status IN_PROGRESS. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No application found for the external id. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/{processId}/retrigger-delete-idpSharedRealm': - post: - tags: - - Registration - summary: 'Retriggers the last failed step (Authorization required - Roles: decline_new_partner)' - parameters: - - name: processId - in: path - description: Id of the process that should be triggered - required: true - schema: - type: string - format: uuid - example: 251e4596-5ff0-4176-b544-840b04ebeb93 - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No Process found for the processId - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/{processId}/retrigger-delete-idpSharedServiceAccount': - post: - tags: - - Registration - summary: 'Retriggers the last failed step (Authorization required - Roles: decline_new_partner)' - parameters: - - name: processId - in: path - description: Id of the process that should be triggered - required: true - schema: - type: string - format: uuid - example: 251e4596-5ff0-4176-b544-840b04ebeb93 - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No Process found for the processId - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/{processId}/retrigger-delete-centralIdentityProvider': - post: - tags: - - Registration - summary: 'Retriggers the last failed step (Authorization required - Roles: decline_new_partner)' - parameters: - - name: processId - in: path - description: Id of the process that should be triggered - required: true - schema: - type: string - format: uuid - example: 251e4596-5ff0-4176-b544-840b04ebeb93 - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No Process found for the processId - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/registration/{processId}/retrigger-delete-centraluser': - post: - tags: - - Registration - summary: 'Retriggers the last failed step (Authorization required - Roles: decline_new_partner)' - parameters: - - name: processId - in: path - description: Id of the process that should be triggered - required: true - schema: - type: string - format: uuid - example: 251e4596-5ff0-4176-b544-840b04ebeb93 - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No Process found for the processId - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/registration/network/companies: - get: - tags: - - Registration - summary: 'Get OSP Company Application Detail by Company Name or Status (Authorization required - Roles: view_submitted_applications)' - description: "Example: GET: api/administration/registration/network/companies?companyName=Car&page=0&size=4&companyApplicationStatus=Closed \n\r\nExample: GET: api/administration/registration/network/companies?page=0&size=4" - parameters: - - name: page - in: query - description: page index start from 0 - schema: - type: integer - format: int32 - - name: size - in: query - description: size to get number of records - schema: - type: integer - format: int32 - - name: companyApplicationStatusFilter - in: query - description: Search by company applicationstatus - schema: - $ref: '#/components/schemas/CompanyApplicationStatusFilter' - - name: companyName - in: query - description: search by company name - schema: - type: string - - name: externalId - in: query - description: search by external Id - schema: - type: string - - name: dateCreatedOrderFilter - in: query - description: sort result by dateCreated ascending or descending - schema: - $ref: '#/components/schemas/DateCreatedOrderFilter' - responses: - '200': - description: Result as a OSP Company Application Details - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyDetailsOspOnboardingResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/RegistrationStatus/callback: - get: - tags: - - RegistrationStatus - summary: 'Gets the callback address of the onboarding service provider (Authorization required - Roles: configure_partner_registration)' - description: 'Example: GET: api/administration/registrationstatus/callback' - responses: - '200': - description: Returns the company with its address. - content: - application/json: - schema: - $ref: '#/components/schemas/OnboardingServiceProviderCallbackRequestData' - '400': - description: Company is no onboarding service provider. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - post: - tags: - - RegistrationStatus - summary: 'Sets the callback address of the onboarding service provider (Authorization required - Roles: configure_partner_registration)' - description: 'Example: POST: api/administration/registrationstatus/callback' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/OnboardingServiceProviderCallbackRequestData' - responses: - '204': - description: Returns no content. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/serviceaccount/owncompany/serviceaccounts: - post: - tags: - - ServiceAccount - summary: 'Creates a new technical user / service account with selected role under the same org as the requester (Authorization required - Roles: add_tech_user_management)' - description: 'Example: POST: api/administration/serviceaccount/owncompany/serviceaccounts' - requestBody: - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ServiceAccountCreationInfo' - responses: - '200': - description: The service account was created. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ServiceAccountDetails' - '400': - description: Missing mandatory input values (e.g. name) or not supported authenticationType selected. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: 'Record was not found. Possible reason: invalid user role, requester user invalid.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - get: - tags: - - ServiceAccount - summary: 'Gets the service account data as pagination (Authorization required - Roles: view_tech_user_management)' - description: 'Example: GET: api/administration/serviceaccount/owncompany/serviceaccounts' - parameters: - - name: page - in: query - description: the page of service account data - schema: - type: integer - format: int32 - - name: size - in: query - description: number of service account data - schema: - type: integer - format: int32 - - name: isOwner - in: query - description: isOwner either true or false - schema: - type: boolean - - name: clientId - in: query - description: clientId is string clientclientid - schema: - type: string - - name: filterForInactive - in: query - description: isUserStatusActive is True or False - schema: - type: boolean - default: false - - name: userStatus - in: query - description: 'userStatus is ACTIVE, INACTIVE, PENDING or DELETED (optional, multiple values allowed)' - schema: - type: array - items: - $ref: '#/components/schemas/UserStatusId' - responses: - '200': - description: Returns the specific number of service account data for the given page. - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyServiceAccountDataResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/serviceaccount/owncompany/serviceaccounts/{serviceAccountId}': - delete: - tags: - - ServiceAccount - summary: 'Deletes the service account with the given id (Authorization required - Roles: delete_tech_user_management)' - description: 'Example: DELETE: api/administration/serviceaccount/owncompany/serviceaccounts/7e85a0b8-0001-ab67-10d1-0ef508201000' - parameters: - - name: serviceAccountId - in: path - description: Id of the service account that should be deleted. - required: true - schema: - type: string - format: uuid - example: 7e85a0b8-0001-ab67-10d1-0ef508201000 - responses: - '200': - description: Successful if the service account was deleted. - content: - application/json: - schema: - type: integer - format: int32 - '404': - description: Record was not found. Service account is either not existing or not connected to the respective company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Technical User is linked to an active connector. Change the link or deactivate the connector to delete the technical user. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - get: - tags: - - ServiceAccount - summary: 'Gets the service account details for the given id (Authorization required - Roles: view_tech_user_management)' - description: 'Example: GET: api/administration/serviceaccount/owncompany/serviceaccounts/7e85a0b8-0001-ab67-10d1-0ef508201000' - operationId: GetServiceAccountDetails - parameters: - - name: serviceAccountId - in: path - description: Id to get the service account details for. - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns a list of service account details. - content: - application/json: - schema: - $ref: '#/components/schemas/ServiceAccountConnectorOfferData' - '404': - description: Record was not found. Service account is either not existing or not connected to the respective company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Undefined client for service account. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - put: - tags: - - ServiceAccount - summary: 'Updates the service account details with the given id. (Authorization required - Roles: add_tech_user_management)' - description: 'Example: PUT: api/administration/serviceaccount/owncompany/serviceaccounts/7e85a0b8-0001-ab67-10d1-0ef508201000' - parameters: - - name: serviceAccountId - in: path - description: Id of the service account details that should be updated. - required: true - schema: - type: string - format: uuid - requestBody: - description: The new values for the details. - content: - application/json: - schema: - $ref: '#/components/schemas/ServiceAccountEditableDetails' - responses: - '200': - description: Returns the updated service account details. - content: - application/json: - schema: - $ref: '#/components/schemas/ServiceAccountDetails' - '400': - description: "Problem could be one of the following: \n\r\n- other authenticationType values than SECRET are not supported yet \n\r\n- serviceAccountId from path does not match the one in body \n\r\n- serviceAccount is already INACTIVE \n" - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Record was not found. Service account is either not existing or not connected to the respective company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Undefined client for service account. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/serviceaccount/owncompany/serviceaccounts/{serviceAccountId}/resetCredentials': - post: - tags: - - ServiceAccount - summary: 'Resets the service account credentials for the given service account Id. (Authorization required - Roles: add_tech_user_management)' - description: 'Example: POST: api/administration/serviceaccount/owncompany/serviceaccounts/7e85a0b8-0001-ab67-10d1-0ef508201000/resetCredentials' - parameters: - - name: serviceAccountId - in: path - description: Id of the service account. - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns the service account details. - content: - application/json: - schema: - $ref: '#/components/schemas/ServiceAccountDetails' - '404': - description: Record was not found. Service account is either not existing or not connected to the respective company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Undefined client for service account. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/serviceaccount/user/roles: - get: - tags: - - ServiceAccount - summary: 'Get all service account roles (Authorization required - Roles: technical_roles_management)' - description: 'Example: GET: api/administration/serviceaccount/user/roles' - parameters: - - name: languageShortName - in: query - description: 'OPTIONAL: The language short name.' - schema: - type: string - responses: - '200': - description: returns all service account roles - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UserRoleWithDescription' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/serviceaccount/callback/{processId}': - post: - tags: - - ServiceAccount - summary: 'Get all service account roles (Authorization required - Roles: technical_roles_management)' - description: 'Example: POST: api/administration/serviceaccount/callback/{externalId}' - parameters: - - name: processId - in: path - description: The processId that was passed as externalId with the request for creation of the technical user. - required: true - schema: - type: string - format: uuid - requestBody: - description: Information of the technical user which was created. - content: - application/json: - schema: - $ref: '#/components/schemas/AuthenticationDetail' - responses: - '200': - description: returns all service account roles - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/serviceaccount/callback/{processId}/retrigger-create-dim-technical-user': - post: - tags: - - ServiceAccount - summary: 'Retriggers the create dim technical user (Authorization required - Roles: technical_roles_management)' - description: 'Example: POST: api/administration/serviceaccount/callback/{externalId}/retrigger-create-dim-technical-user' - parameters: - - name: processId - in: path - description: The processId of the dim technical user creation. - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Ok - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/serviceaccount/callback/{processId}/retrigger-delete-dim-technical-user': - post: - tags: - - ServiceAccount - summary: 'Retriggers the delete dim technical user (Authorization required - Roles: technical_roles_management)' - description: 'Example: POST: api/administration/serviceaccount/callback/{externalId}/retrigger-delete-dim-technical-user' - parameters: - - name: processId - in: path - description: The processId of the dim technical user deletion. - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Ok - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/serviceaccount/callback/{processId}/delete': - post: - tags: - - ServiceAccount - summary: 'Callback for the successful service account deletion (Authorization required - Roles: technical_roles_management)' - description: 'Example: POST: api/administration/serviceaccount/callback/{externalId}/delete' - parameters: - - name: processId - in: path - description: The processId that was passed as externalId with the request for deletion of the technical user. - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Ok - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/staticdata/usecases: - get: - tags: - - StaticData - summary: 'Retrieves all Use Case Data (Authorization required - Roles: view_use_cases)' - description: 'Example: GET: /api/administration/staticdata/usecases' - responses: - '200': - description: Returns a list of all of the use case data. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UseCaseData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/staticdata/languagetags: - get: - tags: - - StaticData - summary: 'Retrieve all app language tags - short name (2digit) and long name (Authorization required - Roles: view_app_language)' - description: "Example: GET: /api/administration/staticdata/languagetags\r\nthe \"lang\" parameter is an optional parameter and if not set \"en\" will be used" - responses: - '200': - description: Returns a list of all of the Language i.e german and english - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/LanguageData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/staticdata/licenseType: - get: - tags: - - StaticData - summary: 'Retrieve all license types (Authorization required - Roles: view_license_types)' - description: 'Example: GET: /api/administration/staticdata/licenseType' - responses: - '200': - description: Returns a list of all the license type i.e COTS and FOSS - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/LicenseTypeData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/staticdata/operator-bpn: - get: - tags: - - StaticData - summary: Retrieve the bpns of the operator companies (Authorization required) - description: 'Example: GET: /api/administration/staticdata/operator-bpn' - responses: - '200': - description: Returns a list of all the operator bpns - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/OperatorBpnData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/staticdata/certificateTypes: - get: - tags: - - StaticData - summary: 'Retrieve all certificate types (Authorization required - Roles: view_certificates)' - description: 'Example: GET: /api/administration/staticdata/certificateTypes' - responses: - '200': - description: Returns a list of all of the Language i.e german and english - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CompanyCertificateTypeData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/staticdata/did/{bpn}/did.json': - get: - tags: - - StaticData - summary: Retrieve all certificate types - description: 'Example: GET: /api/administration/staticdata/did/{bpn}/did.json' - parameters: - - name: bpn - in: path - required: true - schema: - type: string - responses: - '200': - description: Returns a list of all of the Language i.e german and english - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CompanyCertificateTypeData' - '500': - description: Internal Server Error - /api/administration/SubscriptionConfiguration/owncompany: - get: - tags: - - SubscriptionConfiguration - summary: 'get detail data of the calling users service provider (Authorization required - Roles: add_service_offering, add_apps)' - description: 'Example: GET: api/administration/subscriptionconfiguration/owncompany' - operationId: GetServiceProviderCompanyDetail - responses: - '200': - description: The service provider details. - content: - application/json: - schema: - $ref: '#/components/schemas/ProviderDetailReturnData' - '400': - description: The given data are incorrect. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: The calling users company is not a service-provider - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: User is not assigned to company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - put: - tags: - - SubscriptionConfiguration - summary: 'Sets detail data to the calling users service provider (Authorization required - Roles: add_service_offering, add_apps)' - description: 'Example: PUT: api/administration/subscriptionconfiguration/owncompany' - requestBody: - description: Service provider detail data - content: - application/json: - schema: - $ref: '#/components/schemas/ProviderDetailData' - responses: - '204': - description: Empty response on success. - '400': - description: The given data are incorrect. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Service Provider was not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/SubscriptionConfiguration/process/offer-subscription/{offerSubscriptionId}': - get: - tags: - - SubscriptionConfiguration - summary: 'Gets the process steps for the given offer subscription id (Authorization required - Roles: view_autosetup_status)' - parameters: - - name: offerSubscriptionId - in: path - description: Id of the offer subscription that should be triggered - required: true - schema: - type: string - format: uuid - example: 22dbc488-8f90-40b4-9fbd-ea0b246e827b - responses: - '204': - description: No Content - '400': - description: Either the OfferSubscription is not in status PENDING or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No OfferSubscription found for the offerSubscriptionId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '200': - description: Returns the process steps. - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/SubscriptionConfiguration/process/offer-subscription/{offerSubscriptionId}/retrigger-provider': - post: - tags: - - SubscriptionConfiguration - summary: 'Retriggers the provider for the given offer subscription id (Authorization required - Roles: retrigger_subscription, activate_subscription)' - parameters: - - name: offerSubscriptionId - in: path - description: Id of the offer subscription that should be triggered - required: true - schema: - type: string - format: uuid - example: 22dbc488-8f90-40b4-9fbd-ea0b246e827b - responses: - '204': - description: Empty response on success. - '400': - description: Either the OfferSubscription is not in status PENDING or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No OfferSubscription found for the offerSubscriptionId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/SubscriptionConfiguration/process/offer-subscription/{offerSubscriptionId}/retrigger-create-client': - post: - tags: - - SubscriptionConfiguration - summary: 'Retriggers the client creation for the given offer subscription id (Authorization required - Roles: retrigger_subscription)' - parameters: - - name: offerSubscriptionId - in: path - description: Id of the offer subscription that should be triggered - required: true - schema: - type: string - format: uuid - example: 22dbc488-8f90-40b4-9fbd-ea0b246e827b - responses: - '204': - description: Empty response on success. - '400': - description: Either the OfferSubscription is not in status PENDING or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No OfferSubscription found for the offerSubscriptionId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/SubscriptionConfiguration/process/offer-subscription/{offerSubscriptionId}/retrigger-create-technical-user': - post: - tags: - - SubscriptionConfiguration - summary: 'Retriggers the technical user creation for the given offer subscription id (Authorization required - Roles: retrigger_subscription)' - parameters: - - name: offerSubscriptionId - in: path - description: Id of the offer subscription that should be triggered - required: true - schema: - type: string - format: uuid - example: 22dbc488-8f90-40b4-9fbd-ea0b246e827b - responses: - '204': - description: Empty response on success. - '400': - description: Either the OfferSubscription is not in status PENDING or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No OfferSubscription found for the offerSubscriptionId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/SubscriptionConfiguration/process/offer-subscription/{offerSubscriptionId}/retrigger-provider-callback': - post: - tags: - - SubscriptionConfiguration - summary: 'Retriggers the provider callback for the given offer subscription id (Authorization required - Roles: retrigger_subscription, activate_subscription)' - parameters: - - name: offerSubscriptionId - in: path - description: Id of the offer subscription that should be triggered - required: true - schema: - type: string - format: uuid - example: 22dbc488-8f90-40b4-9fbd-ea0b246e827b - responses: - '204': - description: Empty response on success. - '400': - description: Either the OfferSubscription is not in status ACTIVE or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No OfferSubscription found for the offerSubscriptionId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/SubscriptionConfiguration/process/offer-subscription/{offerSubscriptionId}/retrigger-create-dim-technical-user': - post: - tags: - - SubscriptionConfiguration - summary: 'Retriggers the dim technical user creation for the given offer subscription id (Authorization required - Roles: retrigger_subscription)' - parameters: - - name: offerSubscriptionId - in: path - description: Id of the offer subscription that should be triggered - required: true - schema: - type: string - format: uuid - example: 22dbc488-8f90-40b4-9fbd-ea0b246e827b - responses: - '204': - description: Empty response on success. - '400': - description: Either the OfferSubscription is not in status PENDING or the next step can't automatically retriggered. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No OfferSubscription found for the offerSubscriptionId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/user/owncompany/users: - post: - tags: - - User - summary: 'Creates new users for the company of the current user (Authorization required - Roles: add_user_account)' - description: 'Example: POST: api/administration/user/owncompany/users' - requestBody: - description: the users that should be created - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UserCreationInfo' - responses: - '200': - description: User successfully created and invite email send - content: - application/json: - schema: - type: array - items: - type: string - '400': - description: Provided input is not sufficient. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - get: - tags: - - User - summary: 'Get Company User Data (Authorization required - Roles: view_user_management)' - description: 'Example: GET: api/administration/user/owncompany/users?page=0&size=5' - parameters: - - name: page - in: query - description: page index start from 0 - schema: - type: integer - format: int32 - - name: size - in: query - description: size to get number of records - schema: - type: integer - format: int32 - - name: companyUserId - in: query - description: Company User Id - schema: - type: string - format: uuid - - name: firstName - in: query - description: First Name of User - schema: - type: string - - name: lastName - in: query - description: Last Name of User - schema: - type: string - - name: email - in: query - description: Email Id of User - schema: - type: string - responses: - '200': - description: Result as a Company User Data - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyUserDataResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - delete: - tags: - - User - summary: 'Deletes the users with the given ids. (Authorization required - Roles: delete_user_account)' - description: 'Example: DELETE: api/administration/user/owncompany/users' - requestBody: - description: The ids of the users that should be deleted. - content: - application/json: - schema: - type: array - items: - type: string - format: uuid - responses: - '200': - description: Users have successfully been deleted. - content: - application/json: - schema: - type: array - items: - type: string - format: uuid - '404': - description: Record was not found. User is either not existing or not connected to the respective company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/user/owncompany/usersfile: - post: - tags: - - User - summary: 'Create new users for the companies shared identityprovider by upload of csv-file (Authorization required - Roles: add_user_account)' - description: 'Example: POST: api/administration/user/owncompany/usersfile' - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - document: - type: file - description: The file including the users - format: binary - encoding: - document: - style: form - application/json: - schema: - type: object - properties: - document: - type: file - description: The file including the users - format: binary - encoding: - document: - style: form - responses: - '200': - description: Returns a file of users. - content: - application/json: - schema: - $ref: '#/components/schemas/UserCreationStats' - '400': - description: user is not associated with a company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '415': - description: Content type didn't match the expected value. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/user/owncompany/identityprovider/{identityProviderId}/users': - post: - tags: - - User - summary: 'Create a new user for a specific identityprovider (Authorization required - Roles: add_user_account)' - description: 'Example: POST: api/administration/user/owncompany/identityprovider/{identityProviderId}/users' - parameters: - - name: identityProviderId - in: path - description: the id of the identityprovider - required: true - schema: - type: string - format: uuid - requestBody: - description: properties and identityprovider link data for the user to create - content: - application/json: - schema: - $ref: '#/components/schemas/UserCreationInfoIdp' - responses: - '201': - description: Record Created Successfully - content: - application/json: - schema: - type: string - format: uuid - '400': - description: Input is incorrect. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Unexpected Error - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No Record Found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Company Name is null. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - '/api/administration/user/owncompany/identityprovider/{identityProviderId}/usersfile': - post: - tags: - - User - summary: 'Create new users for a specific identityprovider by upload of csv-file (Authorization required - Roles: add_user_account)' - description: 'Example: POST: api/administration/user/owncompany/identityprovider/{identityProviderId}/usersfile' - parameters: - - name: identityProviderId - in: path - description: the id of the identityprovider - required: true - schema: - type: string - format: uuid - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - document: - type: file - description: The file including the users - format: binary - encoding: - document: - style: form - application/json: - schema: - type: object - properties: - document: - type: file - description: The file including the users - format: binary - encoding: - document: - style: form - responses: - '200': - description: Returns a file of users. - content: - application/json: - schema: - $ref: '#/components/schemas/UserCreationStats' - '400': - description: user is not associated with a company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '415': - description: Content type didn't match the expected value. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/user/owncompany/users/{companyUserId}': - get: - tags: - - User - summary: 'Gets the user details for the given user Id (Authorization required - Roles: view_user_management)' - description: 'Example: GET: api/administration/user/owncompany/users/ac1cf001-7fbc-1f2f-817f-bce0575a0011' - operationId: GetOwnCompanyUserDetails - parameters: - - name: companyUserId - in: path - description: Id of the user to get the details for. - required: true - schema: - type: string - format: uuid - example: ac1cf001-7fbc-1f2f-817f-bce0575a0011 - responses: - '200': - description: Returns the company user details. - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyUserDetailData' - '404': - description: User not found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/user/owncompany/users/{companyUserId}/coreoffers/{offerId}/roles': - put: - tags: - - User - summary: 'Updates the portal-roles for the user (Authorization required - Roles: modify_user_account)' - description: 'Example: PUT: api/administration/user/owncompany/users/{companyUserId}/coreoffers/{offerId}/roles' - parameters: - - name: companyUserId - in: path - description: '' - required: true - schema: - type: string - format: uuid - - name: offerId - in: path - description: '' - required: true - schema: - type: string - format: uuid - requestBody: - description: '' - content: - application/json: - schema: - type: array - items: - type: string - responses: - '200': - description: Roles got successfully updated user account. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UserRoleWithId' - '400': - description: Invalid User roles for client - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: User not found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/user/owncompany/users/{companyUserId}/apps/{appId}/roles': - put: - tags: - - User - summary: 'Updates the app-roles for the user (Authorization required - Roles: modify_user_account)' - description: 'Example: PUT: api/administration/user/owncompany/users/{companyUserId}/apps/{appId}/roles' - parameters: - - name: companyUserId - in: path - description: '' - required: true - schema: - type: string - format: uuid - - name: appId - in: path - description: Id of the application - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - requestBody: - description: '' - content: - application/json: - schema: - type: array - items: - type: string - responses: - '200': - description: Roles got successfully updated user account. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UserRoleWithId' - '400': - description: Invalid User roles for client - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: User not found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/user/owncompany/users/{companyUserId}/businessPartnerNumbers': - post: - tags: - - User - summary: 'Adds the given business partner numbers to the user for the given id. (Authorization required - Roles: modify_user_account)' - description: 'Example: POST: api/administration/user/owncompany/users/{companyUserId}/businessPartnerNumbers' - parameters: - - name: companyUserId - in: path - description: Id of the user to add the business partner numbers to. - required: true - schema: - type: string - format: uuid - example: ac1cf001-7fbc-1f2f-817f-bce0575a0011 - requestBody: - description: the business partner numbers that should be added. - content: - application/json: - schema: - type: array - items: - type: string - responses: - '200': - description: The business partner numbers have been added successfully. - content: - application/json: - schema: - type: integer - format: int32 - '400': - description: Business Partner Numbers must not exceed 20 characters. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: User not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/user/owncompany/users/{companyUserId}/businessPartnerNumbers/{businessPartnerNumber}': - put: - tags: - - User - summary: 'Adds the given business partner number to the user for the given id. (Authorization required - Roles: modify_user_account)' - description: 'Example: PUT: api/administration/user/owncompany/users/{companyUserId}/businessPartnerNumbers/{businessPartnerNumber}' - parameters: - - name: companyUserId - in: path - description: Id of the user to add the business partner numbers to. - required: true - schema: - type: string - format: uuid - example: ac1cf001-7fbc-1f2f-817f-bce0575a0011 - - name: businessPartnerNumber - in: path - description: the business partner number that should be added. - required: true - schema: - type: string - example: CAXSDUMMYCATENAZZ - responses: - '200': - description: The business partner number have been added successfully. - content: - application/json: - schema: - type: integer - format: int32 - '400': - description: Business Partner Numbers must not exceed 20 characters. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: User is not existing. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - delete: - tags: - - User - summary: 'Delete BPN assigned to user from DB and Keycloack. (Authorization required - Roles: modify_user_account)' - description: 'Example: DELETE: /api/administration/user/owncompany/users/4f06431c-25ae-40ad-9cac-9dee8fe4754d/businessPartnerNumbers/CAXSDUMMYTESTCX1' - parameters: - - name: companyUserId - in: path - description: ID of the company user to be deleted. - required: true - schema: - type: string - format: uuid - example: 4f06431c-25ae-40ad-9cac-9dee8fe4754d - - name: businessPartnerNumber - in: path - description: BPN to be deleted. - required: true - schema: - type: string - example: CAXSDUMMYTESTCX1 - responses: - '200': - description: Empty response on success. - content: - application/json: - schema: - type: integer - format: int32 - '403': - description: ForbiddenException if both users does not belongs to same company - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Record not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: User is not associated in keycloak. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/user/owncompany/users/{companyUserId}/resetPassword': - put: - tags: - - User - summary: 'Resets the password for the given user (Authorization required - Roles: modify_user_account)' - description: 'Example: PUT: api/administration/user/owncompany/users/ac1cf001-7fbc-1f2f-817f-bce0575a0011/resetPassword' - parameters: - - name: companyUserId - in: path - description: Id of the user whose password should be reset. - required: true - schema: - type: string - format: uuid - example: ac1cf001-7fbc-1f2f-817f-bce0575a0011 - responses: - '200': - description: The password was successfully reset. - content: - application/json: - schema: - type: boolean - '400': - description: Maximum amount of password resets reached. Password reset function is locked for the user for a certain time. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: User id not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: 'Internal Server Error, e.g. the password reset failed.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Bad Gateway Service Error. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - /api/administration/user/owncompany/roles/coreoffers: - get: - tags: - - User - summary: 'Gets the core offer roles (Authorization required - Roles: view_client_roles)' - description: "Example: GET: api/administration/user/owncompany/roles/coreoffers \n\r\nExample: GET: api/administration/user/owncompany/roles/coreoffers?languageShortName=DE" - parameters: - - name: languageShortName - in: query - description: The shortname of the user role description" - schema: - type: string - example: DE - responses: - '200': - description: A list of OfferRoleInfos. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/OfferRoleInfos' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/user/owncompany/roles/apps/{appId}': - get: - tags: - - User - summary: 'Gets the client roles for the given app. (Authorization required - Roles: view_client_roles)' - description: 'Example: GET: api/administration/user/owncompany/roles/apps/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645' - parameters: - - name: appId - in: path - description: Id of the app which roles should be returned. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - - name: languageShortName - in: query - description: 'OPTIONAL: The language short name.' - schema: - type: string - responses: - '200': - description: Returns the client roles. - content: - application/json: - schema: - $ref: '#/components/schemas/OfferRoleInfos' - '400': - description: The language does not exist. - '404': - description: The app was not found. - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/administration/user/ownUser: - get: - tags: - - User - summary: 'Gets the user details for the current user. (Authorization required - Roles: view_own_user_account)' - description: 'Example: GET: api/administration/user/ownUser' - responses: - '200': - description: Returns the company user details. - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyOwnUserDetails' - '404': - description: User is not existing/found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/user/ownUser/{companyUserId}': - put: - tags: - - User - summary: 'Updates the user details for the given companyUserId. (Authorization required - Roles: change_own_user_account)' - description: 'Example: PUT: api/administration/user/ownUser/ac1cf001-7fbc-1f2f-817f-bce0575a0011' - parameters: - - name: companyUserId - in: path - description: Id of the user that should be updated. - required: true - schema: - type: string - format: uuid - example: ac1cf001-7fbc-1f2f-817f-bce0575a0011 - requestBody: - description: The new details for the user. - content: - application/json: - schema: - $ref: '#/components/schemas/OwnCompanyUserEditableDetails' - responses: - '200': - description: Returns the updated company user details. - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyUserDetails' - '403': - description: Invalid companyUserId for user. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No shared realm userid found for the id in realm - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - delete: - tags: - - User - summary: 'Deletes the own user (Authorization required - Roles: delete_own_user_account)' - description: 'Example: DELETE: api/administration/user/ownUser/ac1cf001-7fbc-1f2f-817f-bce0575a0011' - parameters: - - name: companyUserId - in: path - description: Id of the user that should be deleted - required: true - schema: - type: string - format: uuid - example: ac1cf001-7fbc-1f2f-817f-bce0575a0011 - responses: - '200': - description: Successfully deleted the user. - content: - application/json: - schema: - type: integer - format: int32 - '403': - description: Invalid or not existing user id. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: User is not associated with company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/administration/user/owncompany/apps/{appId}/users': - get: - tags: - - User - summary: 'Get for given app id all the company assigned users (Authorization required - Roles: view_user_management)' - description: 'Example: GET: /api/administration/user/owncompany/apps/5cf74ef8-e0b7-4984-a872-474828beb5d3/users?page=0&size=15' - parameters: - - name: appId - in: path - description: Get company app users by appId - required: true - schema: - type: string - format: uuid - - name: page - in: query - description: page index start from 0 - schema: - type: integer - format: int32 - default: 0 - - name: size - in: query - description: size to get number of records - schema: - type: integer - format: int32 - default: 15 - - name: firstName - in: query - description: First Name of User - schema: - type: string - - name: lastName - in: query - description: Last Name of User - schema: - type: string - - name: email - in: query - description: Email Id of User - schema: - type: string - - name: roleName - in: query - description: User role name - schema: - type: string - - name: hasRole - in: query - description: Defines whether the users should be filtered with a app role - schema: - type: boolean - responses: - '200': - description: Result as a Company App Users Details - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyAppUserDetailsResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized -components: - schemas: - AgreementConsentData: - type: object - properties: - agreementId: - type: string - description: '' - format: uuid - consentStatus: - $ref: '#/components/schemas/ConsentStatusId' - additionalProperties: false - description: '' - AgreementsRoleData: - type: object - properties: - companyRole: - $ref: '#/components/schemas/CompanyRoleId' - agreements: - type: array - items: - $ref: '#/components/schemas/AgreementConsentData' - description: '' - additionalProperties: false - description: '' - ApplicationChecklistEntryDetails: - type: object - properties: - typeId: - $ref: '#/components/schemas/ApplicationChecklistEntryTypeId' - statusId: - $ref: '#/components/schemas/ApplicationChecklistEntryStatusId' - additionalProperties: false - ApplicationChecklistEntryStatusId: - enum: - - TO_DO - - IN_PROGRESS - - DONE - - FAILED - - SKIPPED - type: string - ApplicationChecklistEntryTypeId: - enum: - - REGISTRATION_VERIFICATION - - BUSINESS_PARTNER_NUMBER - - IDENTITY_WALLET - - BPNL_CREDENTIAL - - MEMBERSHIP_CREDENTIAL - - CLEARING_HOUSE - - SELF_DESCRIPTION_LP - - APPLICATION_ACTIVATION - type: string - AuthenticationDetail: - type: object - properties: - authenticationServiceUrl: - type: string - clientID: - type: string - clientSecret: - type: string - additionalProperties: false - CertificateSorting: - enum: - - CertificateTypeAsc - - CertificateTypeDesc - - ExpiryDateAsc - - ExpiryDateDesc - type: string - CertificateTypeDescription: - type: object - properties: - languageShortName: - type: string - description: - type: string - additionalProperties: false - ChecklistDetails: - type: object - properties: - type: - $ref: '#/components/schemas/ApplicationChecklistEntryTypeId' - status: - $ref: '#/components/schemas/ApplicationChecklistEntryStatusId' - details: - type: string - nullable: true - retriggerableProcessSteps: - type: array - items: - $ref: '#/components/schemas/ProcessStepTypeId' - additionalProperties: false - ClearinghouseResponseData: - type: object - properties: - bpn: - type: string - status: - $ref: '#/components/schemas/ClearinghouseResponseStatus' - message: - type: string - nullable: true - additionalProperties: false - ClearinghouseResponseStatus: - enum: - - CONFIRM - - DECLINE - type: string - CompanyAddressDetailData: - type: object - properties: - companyId: - type: string - format: uuid - name: - type: string - bpn: - type: string - nullable: true - shortName: - type: string - nullable: true - city: - type: string - streetName: - type: string - countryAlpha2Code: - type: string - region: - type: string - nullable: true - streetAdditional: - type: string - nullable: true - streetNumber: - type: string - nullable: true - zipCode: - type: string - nullable: true - companyRole: - type: array - items: - $ref: '#/components/schemas/CompanyRoleId' - additionalProperties: false - CompanyAppUserDetails: - type: object - properties: - companyUserId: - type: string - format: uuid - status: - $ref: '#/components/schemas/UserStatusId' - firstName: - type: string - nullable: true - lastName: - type: string - nullable: true - email: - type: string - nullable: true - roles: - type: array - items: - type: string - additionalProperties: false - CompanyAppUserDetailsResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/CompanyAppUserDetails' - additionalProperties: false - CompanyApplicationDetails: - type: object - properties: - applicationId: - type: string - format: uuid - applicationStatus: - $ref: '#/components/schemas/CompanyApplicationStatusId' - dateCreated: - type: string - format: date-time - companyName: - type: string - companyRoles: - type: array - items: - $ref: '#/components/schemas/CompanyRoleId' - applicationChecklist: - type: array - items: - $ref: '#/components/schemas/ApplicationChecklistEntryDetails' - email: - type: string - nullable: true - bpn: - type: string - nullable: true - type: - $ref: '#/components/schemas/CompanyApplicationTypeId' - additionalProperties: false - CompanyApplicationDetailsResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/CompanyApplicationDetails' - additionalProperties: false - CompanyApplicationStatusFilter: - enum: - - Closed - - InReview - type: string - description: Filter operations for the CompanyApplicationStatus - CompanyApplicationStatusId: - enum: - - CREATED - - ADD_COMPANY_DATA - - INVITE_USER - - SELECT_COMPANY_ROLE - - UPLOAD_DOCUMENTS - - VERIFY - - SUBMITTED - - CONFIRMED - - DECLINED - - CANCELLED_BY_CUSTOMER - type: string - CompanyApplicationTypeId: - enum: - - INTERNAL - - EXTERNAL - type: string - CompanyApplicationWithCompanyUserDetails: - type: object - properties: - applicationId: - type: string - format: uuid - applicationStatus: - $ref: '#/components/schemas/CompanyApplicationStatusId' - dateCreated: - type: string - format: date-time - companyName: - type: string - email: - type: string - nullable: true - firstName: - type: string - nullable: true - lastName: - type: string - nullable: true - additionalProperties: false - CompanyApplicationWithCompanyUserDetailsResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/CompanyApplicationWithCompanyUserDetails' - additionalProperties: false - CompanyAssignedUseCaseData: - type: object - properties: - useCaseId: - type: string - format: uuid - name: - type: string - additionalProperties: false - CompanyCertificateBpnData: - type: object - properties: - companyCertificateType: - $ref: '#/components/schemas/CompanyCertificateTypeId' - companyCertificateStatus: - $ref: '#/components/schemas/CompanyCertificateStatusId' - documentId: - type: string - format: uuid - validFrom: - type: string - format: date-time - nullable: true - validTill: - type: string - format: date-time - nullable: true - externalCertificateNumber: - type: string - nullable: true - sites: - type: array - items: - type: string - nullable: true - issuer: - type: string - nullable: true - validator: - type: string - nullable: true - additionalProperties: false - CompanyCertificateData: - type: object - properties: - companyCertificateType: - $ref: '#/components/schemas/CompanyCertificateTypeId' - companyCertificateStatus: - $ref: '#/components/schemas/CompanyCertificateStatusId' - documentId: - type: string - format: uuid - validFrom: - type: string - format: date-time - nullable: true - validTill: - type: string - format: date-time - nullable: true - externalCertificateNumber: - type: string - nullable: true - sites: - type: array - items: - type: string - nullable: true - issuer: - type: string - nullable: true - validator: - type: string - nullable: true - additionalProperties: false - CompanyCertificateDataResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/CompanyCertificateData' - additionalProperties: false - CompanyCertificateStatusId: - enum: - - ACTIVE - - INACTIVE - type: string - CompanyCertificateTypeData: - type: object - properties: - certificateType: - $ref: '#/components/schemas/CompanyCertificateTypeId' - description: - type: array - items: - $ref: '#/components/schemas/CertificateTypeDescription' - additionalProperties: false - CompanyCertificateTypeId: - enum: - - AEO_CTPAT_Security_Declaration - - ISO_9001 - - IATF_16949 - - ISO_14001_EMAS_or_national_certification - - ISO_45001_OHSAS_18001_or_national_certification - - ISO_IEC_27001 - - ISO_50001_or_national_certification - - ISO_IEC_17025 - - ISO_15504_SPICE - - B_BBEE_Certificate_of_South_Africa - - IATF - - TISAX - type: string - CompanyDetailsOspOnboarding: - type: object - properties: - companyId: - type: string - format: uuid - externalId: - type: string - nullable: true - applicationId: - type: string - format: uuid - applicationStatus: - $ref: '#/components/schemas/CompanyApplicationStatusId' - applicationDateCreated: - type: string - format: date-time - dateCreated: - type: string - format: date-time - lastChangedDate: - type: string - format: date-time - nullable: true - companyName: - type: string - companyRoles: - type: array - items: - $ref: '#/components/schemas/CompanyRoleId' - identityProvider: - type: array - items: - $ref: '#/components/schemas/IdentityProvidersDetails' - bpn: - type: string - nullable: true - activeUsers: - type: integer - format: int32 - additionalProperties: false - CompanyDetailsOspOnboardingResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/CompanyDetailsOspOnboarding' - additionalProperties: false - CompanyInvitationData: - type: object - properties: - userName: - type: string - nullable: true - firstName: - pattern: ^.+$ - type: string - default: string - lastName: - pattern: ^.+$ - type: string - default: string - email: - type: string - format: email - default: string - organisationName: - type: string - additionalProperties: false - CompanyInvitationResponse: - type: object - properties: - applicationId: - type: string - format: uuid - companyId: - type: string - format: uuid - additionalProperties: false - CompanyMissingSdDocumentData: - type: object - properties: - companyId: - type: string - format: uuid - name: - type: string - additionalProperties: false - CompanyMissingSdDocumentDataResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/CompanyMissingSdDocumentData' - additionalProperties: false - CompanyOwnUserDetails: - type: object - properties: - companyUserId: - type: string - format: uuid - created: - type: string - format: date-time - bpn: - type: array - items: - type: string - company: - type: string - status: - $ref: '#/components/schemas/UserStatusId' - assignedRoles: - type: array - items: - $ref: '#/components/schemas/CompanyUserAssignedRoleDetails' - admin: - type: array - items: - $ref: '#/components/schemas/CompanyUserAdminDetails' - idpUserIds: - type: array - items: - $ref: '#/components/schemas/IdpUserId' - firstName: - type: string - nullable: true - lastName: - type: string - nullable: true - email: - type: string - nullable: true - additionalProperties: false - CompanyRoleConsentDetails: - type: object - properties: - companyRoles: - $ref: '#/components/schemas/CompanyRoleId' - agreements: - type: array - items: - $ref: '#/components/schemas/ConsentDetails' - additionalProperties: false - CompanyRoleConsentViewData: - type: object - properties: - companyRoles: - $ref: '#/components/schemas/CompanyRoleId' - roleDescription: - type: string - nullable: true - companyRolesActive: - type: boolean - agreements: - type: array - items: - $ref: '#/components/schemas/ConsentAgreementViewData' - additionalProperties: false - CompanyRoleId: - enum: - - ACTIVE_PARTICIPANT - - APP_PROVIDER - - SERVICE_PROVIDER - - OPERATOR - - ONBOARDING_SERVICE_PROVIDER - type: string - CompanyServiceAccountData: - type: object - properties: - serviceAccountId: - type: string - format: uuid - clientId: - type: string - nullable: true - name: - type: string - userType: - $ref: '#/components/schemas/CompanyServiceAccountKindId' - serviceAccountType: - $ref: '#/components/schemas/CompanyServiceAccountTypeId' - status: - $ref: '#/components/schemas/UserStatusId' - isOwner: - type: boolean - isProvider: - type: boolean - offerSubscriptionId: - type: string - format: uuid - nullable: true - connector: - $ref: '#/components/schemas/ConnectorResponseData' - offer: - $ref: '#/components/schemas/OfferResponseData' - additionalProperties: false - CompanyServiceAccountDataResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/CompanyServiceAccountData' - additionalProperties: false - CompanyServiceAccountKindId: - enum: - - INTERNAL - - EXTERNAL - type: string - CompanyServiceAccountTypeId: - enum: - - MANAGED - - OWN - type: string - CompanyUniqueIdData: - type: object - properties: - type: - $ref: '#/components/schemas/UniqueIdentifierId' - value: - type: string - additionalProperties: false - CompanyUserAdminDetails: - type: object - properties: - id: - type: string - format: uuid - email: - type: string - nullable: true - additionalProperties: false - CompanyUserAssignedRoleDetails: - type: object - properties: - appId: - type: string - format: uuid - roles: - type: array - items: - type: string - additionalProperties: false - CompanyUserData: - type: object - properties: - companyUserId: - type: string - format: uuid - status: - $ref: '#/components/schemas/UserStatusId' - firstName: - type: string - nullable: true - lastName: - type: string - nullable: true - email: - type: string - nullable: true - roles: - type: array - items: - $ref: '#/components/schemas/UserRoleData' - idpUserIds: - type: array - items: - $ref: '#/components/schemas/IdpUserId' - additionalProperties: false - CompanyUserDataResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/CompanyUserData' - additionalProperties: false - CompanyUserDetailData: - type: object - properties: - companyUserId: - type: string - format: uuid - created: - type: string - format: date-time - bpn: - type: array - items: - type: string - company: - type: string - status: - $ref: '#/components/schemas/UserStatusId' - assignedRoles: - type: array - items: - $ref: '#/components/schemas/CompanyUserAssignedRoleDetails' - idpUserIds: - type: array - items: - $ref: '#/components/schemas/IdpUserId' - firstName: - type: string - nullable: true - lastName: - type: string - nullable: true - email: - type: string - nullable: true - additionalProperties: false - CompanyUserDetails: - type: object - properties: - companyUserId: - type: string - format: uuid - created: - type: string - format: date-time - bpn: - type: array - items: - type: string - company: - type: string - status: - $ref: '#/components/schemas/UserStatusId' - assignedRoles: - type: array - items: - $ref: '#/components/schemas/CompanyUserAssignedRoleDetails' - firstName: - type: string - nullable: true - lastName: - type: string - nullable: true - email: - type: string - nullable: true - additionalProperties: false - CompanyWithAddressData: - type: object - properties: - companyId: - type: string - description: '' - format: uuid - name: - type: string - description: '' - shortName: - type: string - description: '' - bpn: - type: string - description: '' - city: - type: string - description: '' - streetName: - type: string - description: '' - countryAlpha2Code: - type: string - description: '' - region: - type: string - description: '' - streetAdditional: - type: string - description: '' - streetNumber: - type: string - description: '' - zipCode: - type: string - description: '' - companyRoles: - type: array - items: - $ref: '#/components/schemas/AgreementsRoleData' - description: '' - companyUser: - type: array - items: - $ref: '#/components/schemas/InvitedUserData' - description: '' - uniqueIds: - type: array - items: - $ref: '#/components/schemas/CompanyUniqueIdData' - description: '' - documents: - type: array - items: - $ref: '#/components/schemas/DocumentDetails' - description: '' - created: - type: string - description: '' - format: date-time - nullable: true - lastChanged: - type: string - description: '' - format: date-time - nullable: true - additionalProperties: false - description: '' - ConnectedCompanyData: - type: object - properties: - companyId: - type: string - format: uuid - companyName: - type: string - additionalProperties: false - ConnectorData: - type: object - properties: - name: - type: string - location: - type: string - id: - type: string - format: uuid - type: - $ref: '#/components/schemas/ConnectorTypeId' - status: - $ref: '#/components/schemas/ConnectorStatusId' - hostId: - type: string - format: uuid - nullable: true - hostCompanyName: - type: string - nullable: true - selfDescriptionDocumentId: - type: string - format: uuid - nullable: true - technicalUser: - $ref: '#/components/schemas/TechnicalUserData' - connectorUrl: - type: string - additionalProperties: false - ConnectorDataResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/ConnectorData' - additionalProperties: false - ConnectorEndPointData: - type: object - properties: - bpn: - type: string - description: '' - connectorEndpoint: - type: array - items: - type: string - description: '' - additionalProperties: false - description: '' - ConnectorMissingSdDocumentData: - type: object - properties: - connectorId: - type: string - format: uuid - name: - type: string - companyId: - type: string - format: uuid - companyName: - type: string - additionalProperties: false - ConnectorMissingSdDocumentDataResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/ConnectorMissingSdDocumentData' - additionalProperties: false - ConnectorResponseData: - type: object - properties: - id: - type: string - format: uuid - name: - type: string - additionalProperties: false - ConnectorStatusId: - enum: - - PENDING - - ACTIVE - - INACTIVE - type: string - ConnectorTypeId: - enum: - - COMPANY_CONNECTOR - - CONNECTOR_AS_A_SERVICE - type: string - ConnectorUpdateRequest: - type: object - properties: - connectorUrl: - type: string - additionalProperties: false - ConsentAgreementViewData: - type: object - properties: - agreementId: - type: string - format: uuid - agreementName: - type: string - documentId: - type: string - format: uuid - nullable: true - consentStatus: - $ref: '#/components/schemas/ConsentStatusId' - agreementLink: - type: string - nullable: true - mandatory: - type: boolean - additionalProperties: false - ConsentDetails: - type: object - properties: - agreementId: - type: string - format: uuid - consentStatus: - $ref: '#/components/schemas/ConsentStatusId' - additionalProperties: false - ConsentStatusId: - enum: - - ACTIVE - - INACTIVE - type: string - DateCreatedOrderFilter: - enum: - - ASC - - DESC - type: string - DimUrlsResponse: - type: object - properties: - trusted_issuer: - type: string - participant_id: - type: string - nullable: true - iatp_id: - type: string - nullable: true - did_resolver: - type: string - decentralIdentityManagementAuthUrl: - type: string - nullable: true - decentralIdentityManagementServiceUrl: - type: string - additionalProperties: false - DimWalletData: - type: object - properties: - did: - type: string - didDocument: { } - authenticationDetails: - $ref: '#/components/schemas/AuthenticationDetail' - additionalProperties: false - DocumentDetails: - type: object - properties: - documentId: - type: string - description: '' - format: uuid - documentType: - $ref: '#/components/schemas/DocumentTypeId' - additionalProperties: false - description: '' - DocumentTypeId: - enum: - - CX_FRAME_CONTRACT - - COMMERCIAL_REGISTER_EXTRACT - - APP_CONTRACT - - CONFORMITY_APPROVAL_REGISTRATION - - ADDITIONAL_DETAILS - - APP_LEADIMAGE - - APP_IMAGE - - SELF_DESCRIPTION - - APP_TECHNICAL_INFORMATION - - CONFORMITY_APPROVAL_CONNECTOR - - CONFORMITY_APPROVAL_BUSINESS_APPS - - CONFORMITY_APPROVAL_SERVICES - - SERVICE_LEADIMAGE - - PRESENTATION - - COMPANY_CERTIFICATE - type: string - ErrorDetails: - type: object - properties: - errorCode: - type: string - type: - type: string - message: - type: string - parameters: - type: array - items: - $ref: '#/components/schemas/ErrorParameter' - additionalProperties: false - ErrorMessageCode: - type: object - properties: - errorCode: - type: string - message: - type: string - additionalProperties: false - ErrorMessageType: - type: object - properties: - errorType: - type: string - errorMessages: - type: array - items: - $ref: '#/components/schemas/ErrorMessageCode' - additionalProperties: false - ErrorParameter: - type: object - properties: - name: - type: string - value: - type: string - additionalProperties: false - ErrorResponse: - type: object - properties: - type: - type: string - title: - type: string - status: - type: integer - format: int32 - errors: - type: object - additionalProperties: - type: array - items: - type: string - errorId: - type: string - details: - type: array - items: - $ref: '#/components/schemas/ErrorDetails' - nullable: true - additionalProperties: false - File: - type: object - additionalProperties: false - IActionResult: - type: object - additionalProperties: false - IamClientAuthMethod: - enum: - - JWT - - SECRET - - X509 - - SECRET_JWT - type: string - IamIdentityProviderClientAuthMethod: - enum: - - JWT - - SECRET_BASIC - - SECRET_POST - - SECRET_JWT - type: string - IamIdentityProviderProtocol: - enum: - - SAML - - OIDC - type: string - IamIdentityProviderSignatureAlgorithm: - enum: - - ES256 - - ES384 - - ES512 - - HS256 - - HS384 - - HS512 - - PS256 - - PS384 - - PS512 - - RS256 - - RS384 - - RS512 - type: string - IdentityProviderCategoryId: - enum: - - KEYCLOAK_OIDC - - KEYCLOAK_SAML - type: string - IdentityProviderDetails: - type: object - properties: - identityProviderId: - type: string - format: uuid - alias: - type: string - nullable: true - identityProviderCategoryId: - $ref: '#/components/schemas/IdentityProviderCategoryId' - identityProviderTypeId: - $ref: '#/components/schemas/IdentityProviderTypeId' - displayName: - type: string - nullable: true - redirectUrl: - type: string - nullable: true - enabled: - type: boolean - nullable: true - mappers: - type: array - items: - $ref: '#/components/schemas/IdentityProviderMapperModel' - nullable: true - oidc: - $ref: '#/components/schemas/IdentityProviderDetailsOidc' - saml: - $ref: '#/components/schemas/IdentityProviderDetailsSaml' - additionalProperties: false - IdentityProviderDetailsOidc: - type: object - properties: - metadataUrl: - type: string - nullable: true - authorizationUrl: - type: string - nullable: true - tokenUrl: - type: string - nullable: true - logoutUrl: - type: string - nullable: true - clientId: - type: string - nullable: true - hasClientSecret: - type: boolean - clientAuthMethod: - $ref: '#/components/schemas/IamIdentityProviderClientAuthMethod' - signatureAlgorithm: - $ref: '#/components/schemas/IamIdentityProviderSignatureAlgorithm' - additionalProperties: false - IdentityProviderDetailsSaml: - type: object - properties: - serviceProviderEntityId: - type: string - nullable: true - singleSignOnServiceUrl: - type: string - nullable: true - additionalProperties: false - IdentityProviderDetailsWithConnectedCompanies: - type: object - properties: - identityProviderId: - type: string - format: uuid - alias: - type: string - nullable: true - identityProviderCategoryId: - $ref: '#/components/schemas/IdentityProviderCategoryId' - identityProviderTypeId: - $ref: '#/components/schemas/IdentityProviderTypeId' - displayName: - type: string - nullable: true - redirectUrl: - type: string - nullable: true - enabled: - type: boolean - nullable: true - connectedCompanies: - type: array - items: - $ref: '#/components/schemas/ConnectedCompanyData' - additionalProperties: false - IdentityProviderEditableDetails: - type: object - properties: - displayName: - type: string - oidc: - $ref: '#/components/schemas/IdentityProviderEditableDetailsOidc' - saml: - $ref: '#/components/schemas/IdentityProviderEditableDetailsSaml' - additionalProperties: false - IdentityProviderEditableDetailsOidc: - type: object - properties: - metadataUrl: - type: string - clientAuthMethod: - $ref: '#/components/schemas/IamIdentityProviderClientAuthMethod' - clientId: - type: string - secret: - type: string - nullable: true - signatureAlgorithm: - $ref: '#/components/schemas/IamIdentityProviderSignatureAlgorithm' - additionalProperties: false - IdentityProviderEditableDetailsSaml: - type: object - properties: - serviceProviderEntityId: - type: string - singleSignOnServiceUrl: - type: string - additionalProperties: false - IdentityProviderMapperModel: - type: object - properties: - id: - type: string - name: - type: string - type: - $ref: '#/components/schemas/IdentityProviderMapperType' - config: - type: object - additionalProperties: - type: string - additionalProperties: false - IdentityProviderMapperType: - enum: - - HARDCODED_SESSION_ATTRIBUTE - - HARDCODED_ATTRIBUTE - - OIDC_ADVANCED_GROUP - - OIDC_USER_ATTRIBUTE - - OIDC_ADVANCED_ROLE - - OIDC_HARDCODED_ROLE - - OIDC_ROLE - - OIDC_USERNAME - - KEYCLOAK_OIDC_ROLE - type: string - IdentityProviderTypeId: - enum: - - OWN - - MANAGED - - SHARED - type: string - IdentityProviderUpdateStats: - type: object - properties: - updated: - type: integer - format: int32 - unchanged: - type: integer - format: int32 - error: - type: integer - format: int32 - total: - type: integer - format: int32 - errors: - type: array - items: - $ref: '#/components/schemas/UserUpdateError' - additionalProperties: false - IdentityProvidersDetails: - type: object - properties: - identityProviderId: - type: string - format: uuid - alias: - type: string - nullable: true - additionalProperties: false - IdpUserId: - type: object - properties: - idpDisplayName: - type: string - idpAlias: - type: string - userId: - type: string - additionalProperties: false - InvitedUserData: - type: object - properties: - userId: - type: string - description: '' - format: uuid - firstName: - type: string - description: '' - lastName: - type: string - description: '' - email: - type: string - description: '' - additionalProperties: false - description: '' - IssuerResponseData: - type: object - properties: - bpn: - type: string - status: - $ref: '#/components/schemas/IssuerResponseStatus' - message: - type: string - nullable: true - additionalProperties: false - IssuerResponseStatus: - enum: - - SUCCESSFUL - - UNSUCCESSFUL - type: string - LanguageData: - type: object - properties: - languageShortName: - type: string - languageLongNames: - type: array - items: - $ref: '#/components/schemas/LanguageDataLongName' - additionalProperties: false - LanguageDataLongName: - type: object - properties: - language: - type: string - longDescription: - type: string - additionalProperties: false - LicenseTypeData: - type: object - properties: - licenseTypeId: - type: integer - format: int32 - name: - type: string - additionalProperties: false - MailData: - type: object - properties: - requester: - type: string - format: uuid - template: - type: string - mailParameters: - type: array - items: - $ref: '#/components/schemas/MailParameter' - additionalProperties: false - MailParameter: - type: object - properties: - key: - type: string - value: - type: string - additionalProperties: false - Metadata: - type: object - properties: - totalElements: - type: integer - format: int32 - totalPages: - type: integer - format: int32 - page: - type: integer - format: int32 - contentSize: - type: integer - format: int32 - additionalProperties: false - NoContentResult: - type: object - properties: - statusCode: - type: integer - format: int32 - additionalProperties: false - OfferResponseData: - type: object - properties: - id: - type: string - format: uuid - type: - $ref: '#/components/schemas/OfferTypeId' - name: - type: string - nullable: true - subscriptionId: - type: string - format: uuid - nullable: true - additionalProperties: false - OfferRoleInfo: - type: object - properties: - roleId: - type: string - format: uuid - role: - type: string - description: - type: string - additionalProperties: false - OfferRoleInfos: - type: object - properties: - offerId: - type: string - format: uuid - roles: - type: array - items: - $ref: '#/components/schemas/OfferRoleInfo' - additionalProperties: false - OfferTypeId: - enum: - - APP - - CORE_COMPONENT - - SERVICE - type: string - OnboardingServiceProviderCallbackRequestData: - type: object - properties: - callbackUrl: - type: string - authUrl: - type: string - clientId: - type: string - clientSecret: - type: string - additionalProperties: false - OperatorBpnData: - type: object - properties: - operatorName: - type: string - bpn: - type: string - additionalProperties: false - OwnCompanyUserEditableDetails: - type: object - properties: - firstName: - pattern: ^.+$ - type: string - default: string - nullable: true - lastName: - pattern: ^.+$ - type: string - default: string - nullable: true - email: - type: string - format: email - default: string - nullable: true - additionalProperties: false - PartnerRegistrationData: - type: object - properties: - name: - type: string - city: - type: string - streetName: - type: string - countryAlpha2Code: - type: string - bpn: - type: string - nullable: true - shortName: - type: string - nullable: true - region: - type: string - nullable: true - streetAdditional: - type: string - nullable: true - streetNumber: - type: string - nullable: true - zipCode: - type: string - nullable: true - uniqueIds: - type: array - items: - $ref: '#/components/schemas/CompanyUniqueIdData' - externalId: - type: string - userDetails: - type: array - items: - $ref: '#/components/schemas/UserDetailData' - companyRoles: - type: array - items: - $ref: '#/components/schemas/CompanyRoleId' - additionalProperties: false - ProcessStepTypeId: - enum: - - MANUAL_VERIFY_REGISTRATION - - CREATE_BUSINESS_PARTNER_NUMBER_PUSH - - CREATE_BUSINESS_PARTNER_NUMBER_PULL - - CREATE_BUSINESS_PARTNER_NUMBER_MANUAL - - CREATE_IDENTITY_WALLET - - RETRIGGER_IDENTITY_WALLET - - START_CLEARING_HOUSE - - RETRIGGER_CLEARING_HOUSE - - AWAIT_CLEARING_HOUSE_RESPONSE - - START_SELF_DESCRIPTION_LP - - RETRIGGER_SELF_DESCRIPTION_LP - - ACTIVATE_APPLICATION - - RETRIGGER_BUSINESS_PARTNER_NUMBER_PUSH - - RETRIGGER_BUSINESS_PARTNER_NUMBER_PULL - - MANUAL_TRIGGER_OVERRIDE_CLEARING_HOUSE - - START_OVERRIDE_CLEARING_HOUSE - - AWAIT_SELF_DESCRIPTION_LP_RESPONSE - - MANUAL_DECLINE_APPLICATION - - CREATE_DIM_WALLET - - AWAIT_DIM_RESPONSE_RESPONSE - - RETRIGGER_CREATE_DIM_WALLET - - VALIDATE_DID_DOCUMENT - - RETRIGGER_VALIDATE_DID_DOCUMENT - - REQUEST_BPN_CREDENTIAL - - AWAIT_BPN_CREDENTIAL_RESPONSE - - REQUEST_MEMBERSHIP_CREDENTIAL - - AWAIT_MEMBERSHIP_CREDENTIAL_RESPONSE - - TRANSMIT_BPN_DID - - RETRIGGER_TRANSMIT_DID_BPN - - RETRIGGER_REQUEST_BPN_CREDENTIAL - - RETRIGGER_REQUEST_MEMBERSHIP_CREDENTIAL - - TRIGGER_PROVIDER - - AWAIT_START_AUTOSETUP - - OFFERSUBSCRIPTION_CLIENT_CREATION - - SINGLE_INSTANCE_SUBSCRIPTION_DETAILS_CREATION - - OFFERSUBSCRIPTION_TECHNICALUSER_CREATION - - ACTIVATE_SUBSCRIPTION - - TRIGGER_PROVIDER_CALLBACK - - RETRIGGER_PROVIDER - - RETRIGGER_OFFERSUBSCRIPTION_CLIENT_CREATION - - RETRIGGER_OFFERSUBSCRIPTION_TECHNICALUSER_CREATION - - RETRIGGER_PROVIDER_CALLBACK - - MANUAL_TRIGGER_ACTIVATE_SUBSCRIPTION - - OFFERSUBSCRIPTION_CREATE_DIM_TECHNICAL_USER - - RETRIGGER_OFFERSUBSCRIPTION_CREATE_DIM_TECHNICAL_USER - - SYNCHRONIZE_USER - - RETRIGGER_SYNCHRONIZE_USER - - TRIGGER_CALLBACK_OSP_SUBMITTED - - TRIGGER_CALLBACK_OSP_APPROVED - - TRIGGER_CALLBACK_OSP_DECLINED - - RETRIGGER_CALLBACK_OSP_SUBMITTED - - RETRIGGER_CALLBACK_OSP_APPROVED - - RETRIGGER_CALLBACK_OSP_DECLINED - - MANUAL_DECLINE_OSP - - REMOVE_KEYCLOAK_USERS - - RETRIGGER_REMOVE_KEYCLOAK_USERS - - SEND_MAIL - - RETRIGGER_SEND_MAIL - - INVITATION_CREATE_CENTRAL_IDP - - INVITATION_CREATE_SHARED_IDP_SERVICE_ACCOUNT - - INVITATION_ADD_REALM_ROLE - - INVITATION_CREATE_SHARED_REALM - - INVITATION_CREATE_CENTRAL_IDP_ORG_MAPPER - - INVITATION_UPDATE_CENTRAL_IDP_URLS - - INVITATION_CREATE_SHARED_CLIENT - - INVITATION_ENABLE_CENTRAL_IDP - - INVITATION_CREATE_DATABASE_IDP - - INVITATION_CREATE_USER - - RETRIGGER_INVITATION_CREATE_CENTRAL_IDP - - RETRIGGER_INVITATION_CREATE_SHARED_IDP_SERVICE_ACCOUNT - - RETRIGGER_INVITATION_ADD_REALM_ROLE - - RETRIGGER_INVITATION_CREATE_SHARED_REALM - - RETRIGGER_INVITATION_CREATE_CENTRAL_IDP_ORG_MAPPER - - RETRIGGER_INVITATION_UPDATE_CENTRAL_IDP_URLS - - RETRIGGER_INVITATION_CREATE_SHARED_CLIENT - - RETRIGGER_INVITATION_ENABLE_CENTRAL_IDP - - RETRIGGER_INVITATION_CREATE_USER - - RETRIGGER_INVITATION_CREATE_DATABASE_IDP - - CREATE_DIM_TECHNICAL_USER - - RETRIGGER_CREATE_DIM_TECHNICAL_USER - - AWAIT_CREATE_DIM_TECHNICAL_USER_RESPONSE - - DELETE_DIM_TECHNICAL_USER - - AWAIT_DELETE_DIM_TECHNICAL_USER_RESPONSE - - RETRIGGER_DELETE_DIM_TECHNICAL_USER - - DELETE_CENTRAL_USER - - RETRIGGER_DELETE_CENTRAL_USER - - DELETE_COMPANYUSER_ASSIGNED_PROCESS - - DELETE_IDP_SHARED_REALM - - RETRIGGER_DELETE_IDP_SHARED_REALM - - DELETE_IDP_SHARED_SERVICEACCOUNT - - RETRIGGER_DELETE_IDP_SHARED_SERVICEACCOUNT - - DELETE_CENTRAL_IDENTITY_PROVIDER - - RETRIGGER_DELETE_CENTRAL_IDENTITY_PROVIDER - - DELETE_IDENTITY_PROVIDER - - SELF_DESCRIPTION_CONNECTOR_CREATION - - SELF_DESCRIPTION_COMPANY_CREATION - - RETRIGGER_SELF_DESCRIPTION_CONNECTOR_CREATION - - RETRIGGER_SELF_DESCRIPTION_COMPANY_CREATION - type: string - ProviderDetailData: - type: object - properties: - url: - type: string - nullable: true - callbackUrl: - type: string - nullable: true - additionalProperties: false - ProviderDetailReturnData: - type: object - properties: - id: - type: string - format: uuid - nullable: true - companyId: - type: string - format: uuid - url: - type: string - nullable: true - additionalProperties: false - RegistrationDeclineData: - type: object - properties: - comment: - type: string - additionalProperties: false - SelfDescriptionResponseData: - type: object - properties: - externalId: - type: string - format: uuid - status: - $ref: '#/components/schemas/SelfDescriptionStatus' - message: - type: string - nullable: true - selfDescriptionDocument: - type: string - nullable: true - additionalProperties: false - SelfDescriptionStatus: - enum: - - Confirm - - Failed - type: string - ServiceAccountConnectorOfferData: - type: object - properties: - serviceAccountId: - type: string - format: uuid - clientId: - type: string - nullable: true - name: - type: string - description: - type: string - authenticationType: - $ref: '#/components/schemas/IamClientAuthMethod' - roles: - type: array - items: - $ref: '#/components/schemas/UserRoleData' - companyServiceAccountTypeId: - $ref: '#/components/schemas/CompanyServiceAccountTypeId' - usertype: - $ref: '#/components/schemas/CompanyServiceAccountKindId' - authenticationServiceUrl: - type: string - status: - $ref: '#/components/schemas/UserStatusId' - secret: - type: string - nullable: true - connector: - $ref: '#/components/schemas/ConnectorResponseData' - offer: - $ref: '#/components/schemas/OfferResponseData' - LastEditorName: - type: string - nullable: true - LastEditorCompanyName: - type: string - nullable: true - additionalProperties: false - ServiceAccountCreationInfo: - type: object - properties: - name: - type: string - description: - type: string - authenticationType: - $ref: '#/components/schemas/IamClientAuthMethod' - roleIds: - type: array - items: - type: string - format: uuid - additionalProperties: false - ServiceAccountDetails: - type: object - properties: - serviceAccountId: - type: string - format: uuid - clientId: - type: string - nullable: true - name: - type: string - description: - type: string - status: - $ref: '#/components/schemas/UserStatusId' - authenticationType: - $ref: '#/components/schemas/IamClientAuthMethod' - roles: - type: array - items: - $ref: '#/components/schemas/UserRoleData' - companyServiceAccountTypeId: - $ref: '#/components/schemas/CompanyServiceAccountTypeId' - secret: - type: string - nullable: true - subscriptionId: - type: string - format: uuid - nullable: true - additionalProperties: false - ServiceAccountEditableDetails: - type: object - properties: - serviceAccountId: - type: string - format: uuid - name: - type: string - description: - type: string - authenticationType: - $ref: '#/components/schemas/IamClientAuthMethod' - additionalProperties: false - TechnicalUserData: - type: object - properties: - id: - type: string - format: uuid - name: - type: string - clientId: - type: string - nullable: true - description: - type: string - additionalProperties: false - UniqueIdentifierId: - enum: - - COMMERCIAL_REG_NUMBER - - VAT_ID - - LEI_CODE - - VIES - - EORI - type: string - UrlInformation: - type: object - properties: - httpMethods: - type: string - url: - type: string - additionalProperties: false - UseCaseData: - type: object - properties: - useCaseId: - type: string - format: uuid - name: - type: string - shortname: - type: string - additionalProperties: false - UseCaseIdDetails: - type: object - properties: - useCaseId: - type: string - format: uuid - additionalProperties: false - UserCreationError: - type: object - properties: - line: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - $ref: '#/components/schemas/ErrorDetails' - additionalProperties: false - UserCreationInfo: - type: object - properties: - userName: - type: string - nullable: true - email: - type: string - firstName: - type: string - nullable: true - lastName: - type: string - nullable: true - roles: - type: array - items: - type: string - additionalProperties: false - UserCreationInfoIdp: - type: object - properties: - firstName: - type: string - lastName: - type: string - email: - type: string - roles: - type: array - items: - type: string - userName: - type: string - userId: - type: string - additionalProperties: false - UserCreationStats: - type: object - properties: - created: - type: integer - format: int32 - error: - type: integer - format: int32 - total: - type: integer - format: int32 - errors: - type: array - items: - $ref: '#/components/schemas/UserCreationError' - additionalProperties: false - UserDetailData: - type: object - properties: - identityProviderId: - type: string - format: uuid - nullable: true - providerId: - type: string - username: - type: string - firstName: - type: string - lastName: - type: string - email: - type: string - additionalProperties: false - UserIdentityProviderData: - type: object - properties: - companyUserId: - type: string - format: uuid - firstName: - type: string - nullable: true - lastName: - type: string - nullable: true - email: - type: string - nullable: true - identityProviders: - type: array - items: - $ref: '#/components/schemas/UserIdentityProviderLinkData' - additionalProperties: false - UserIdentityProviderLinkData: - type: object - properties: - identityProviderId: - type: string - format: uuid - userId: - type: string - userName: - type: string - additionalProperties: false - UserLinkData: - type: object - properties: - userId: - type: string - userName: - type: string - additionalProperties: false - UserRoleData: - type: object - properties: - roleId: - type: string - format: uuid - clientId: - type: string - roleName: - type: string - additionalProperties: false - UserRoleType: - enum: - - Internal - - External - type: string - UserRoleWithDescription: - type: object - properties: - roleId: - type: string - format: uuid - roleName: - type: string - roleDescription: - type: string - nullable: true - roleType: - $ref: '#/components/schemas/UserRoleType' - additionalProperties: false - UserRoleWithId: - type: object - properties: - companyUserRoleText: - type: string - companyUserRoleId: - type: string - format: uuid - additionalProperties: false - UserStatusId: - enum: - - ACTIVE - - INACTIVE - - DELETED - - PENDING - - PENDING_DELETION - type: string - UserUpdateError: - type: object - properties: - line: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - $ref: '#/components/schemas/ErrorDetails' - additionalProperties: false - securitySchemes: - Bearer: - type: apiKey - description: "JWT Authorization header using the Bearer scheme. \r\n\r\n Enter 'Bearer' [space] and then your token in the text input below.\r\n\r\nExample: \"Bearer 12345abcdef\"" - name: Authorization - in: header -security: - - Bearer: [ ] \ No newline at end of file diff --git a/portal-backend/v2.3.0-alpha.1/administration-service/swagger-ui/swagger-config.json b/portal-backend/v2.3.0-alpha.1/administration-service/swagger-ui/swagger-config.json deleted file mode 100644 index cb71ba1..0000000 --- a/portal-backend/v2.3.0-alpha.1/administration-service/swagger-ui/swagger-config.json +++ /dev/null @@ -1 +0,0 @@ -{"url":"administration-service.yaml","deepLinking":true} \ No newline at end of file diff --git a/portal-backend/v2.3.0-alpha.1/apps-service/apps-service.yaml b/portal-backend/v2.3.0-alpha.1/apps-service/apps-service.yaml deleted file mode 100644 index 58800a0..0000000 --- a/portal-backend/v2.3.0-alpha.1/apps-service/apps-service.yaml +++ /dev/null @@ -1,3773 +0,0 @@ -openapi: 3.0.1 -info: - title: Org.Eclipse.TractusX.Portal.Backend.Apps.Service - version: v2.3.0-alpha.1 -paths: - '/api/apps/AppChange/{appId}/role/activeapp': - post: - tags: - - AppChange - summary: 'update app roles and related description for "active" owned app offers (Authorization required - Roles: edit_apps)' - description: 'Example: POST: /api/apps/appchange/{appId}/role/activeapp' - parameters: - - name: appId - in: path - description: '' - required: true - schema: - type: string - format: uuid - requestBody: - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/AppUserRole' - responses: - '200': - description: created role and role description successfully. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/AppRoleData' - '400': - description: 'If sub claim is empty/invalid or user does not exist, or any other parameters are invalid.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: App does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User not associated with provider company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: App provider company not set. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppChange/{appId}/appupdate/description': - get: - tags: - - AppChange - summary: 'Get description of the app by Id. (Authorization required - Roles: edit_apps)' - description: 'Example: Get: /api/apps/appchange/092bdae3-a044-4314-94f4-85c65a09e31b/appupdate/description' - parameters: - - name: appId - in: path - description: Id for the app description to retrieve. - required: true - schema: - type: string - format: uuid - example: 092bdae3-a044-4314-94f4-85c65a09e31b - responses: - '200': - description: returns list of app descriptions - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/LocalizedDescription' - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - put: - tags: - - AppChange - summary: 'Create or Update description of the app by Id. (Authorization required - Roles: edit_apps)' - description: 'Example: Put: /api/apps/appchange/092bdae3-a044-4314-94f4-85c65a09e31b/appupdate/description' - parameters: - - name: appId - in: path - description: Id for the app description to create or update. - required: true - schema: - type: string - format: uuid - example: 092bdae3-a044-4314-94f4-85c65a09e31b - requestBody: - description: app description data to create or update. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/LocalizedDescription' - responses: - '204': - description: The app description succesFully created or updated - content: - application/json: - schema: - $ref: '#/components/schemas/NoContentResult' - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppChange/{appId}/appLeadImage': - post: - tags: - - AppChange - summary: 'Upload offerassigned AppLeadImage document for active apps for given appId for same company as user (Authorization required - Roles: edit_apps)' - description: 'Example: POST: /api/apps/appchange/{appId}/appLeadImage' - parameters: - - name: appId - in: path - description: '' - required: true - schema: - type: string - format: uuid - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - document: - type: file - description: '' - format: binary - encoding: - document: - style: form - application/json: - schema: - type: object - properties: - document: - type: file - description: '' - format: binary - encoding: - document: - style: form - responses: - '204': - description: Successfully uploaded the document - content: - application/json: - schema: - $ref: '#/components/schemas/NoContentResult' - '400': - description: 'If sub claim is empty/invalid or user does not exist, or any other parameters are invalid.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: The user is not assigned with the app. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '415': - description: Only PNG and JPEG files are supported. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppChange/{appId}/deactivateApp': - put: - tags: - - AppChange - summary: 'Deactivate the OfferStatus By appId (Authorization required - Roles: edit_apps)' - description: 'Example: PUT: /api/apps/appchanges/3c77a395-a7e7-40f2-a519-ac16498e0a79/deactivateApp' - parameters: - - name: appId - in: path - description: Id of the app that should be deactive - required: true - schema: - type: string - format: uuid - example: 3c77a395-a7e7-40f2-a519-ac16498e0a79 - responses: - '204': - description: The App Successfully Deactivated - '400': - description: invalid or user does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: If app does not exists. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: Missing Permission - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Offer is in incorrect state - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppChange/{appId}/subscription/{subscriptionId}/tenantUrl': - put: - tags: - - AppChange - summary: 'Updates the url for a specific subscription (Authorization required - Roles: edit_apps)' - description: 'Example: Put: /api/apps/appchange/{appId}/subscription/{subscriptionId}/tenantUrl' - parameters: - - name: appId - in: path - description: Id of the app. - required: true - schema: - type: string - format: uuid - example: 092bdae3-a044-4314-94f4-85c65a09e31b - - name: subscriptionId - in: path - description: Id of the subscription. - required: true - schema: - type: string - format: uuid - example: 092bdae3-a044-4314-94f4-85c65a09e31b - requestBody: - description: new url for the subscription. - content: - application/json: - schema: - $ref: '#/components/schemas/UpdateTenantData' - responses: - '204': - description: The app description succesFully created or updated - content: - application/json: - schema: - $ref: '#/components/schemas/NoContentResult' - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppChange/{appId}/documents': - get: - tags: - - AppChange - summary: 'Returns the Active App Documents (Authorization required - Roles: edit_apps)' - description: 'Example: GET /apps/appchange/{appId}/documents' - parameters: - - name: appId - in: path - description: Id of the app. - required: true - schema: - type: string - format: uuid - example: 092bdae3-a044-4314-94f4-85c65a09e31b - responses: - '200': - description: Gets the Active Apps documents - content: - application/json: - schema: - $ref: '#/components/schemas/ActiveAppDocumentData' - '404': - description: If App does not exists - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppChange/{appId}/document/{documentId}': - delete: - tags: - - AppChange - summary: 'Delete Documet for an active app for given appId for same company as user (Authorization required - Roles: edit_apps)' - description: 'Example: DELETE: /api/apps/AppChange/{appId}/document/{documentId}' - parameters: - - name: appId - in: path - description: Id of the app. - required: true - schema: - type: string - format: uuid - example: 092bdae3-a044-4314-94f4-85c65a09e31b - - name: documentId - in: path - description: Id of the Document. - required: true - schema: - type: string - format: uuid - responses: - '204': - description: succesFully deleted document for an active app - content: - application/json: - schema: - $ref: '#/components/schemas/NoContentResult' - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppChange/{appId}/documentType/{documentTypeId}/documents': - post: - tags: - - AppChange - summary: 'Upload document for an active apps for given appId for same company as user (Authorization required - Roles: edit_apps)' - description: 'Example: POST: /api/apps/AppChange/{appId}/documentType/{documentTypeId}/documents' - parameters: - - name: appId - in: path - description: '' - required: true - schema: - type: string - format: uuid - - name: documentTypeId - in: path - description: '' - required: true - schema: - $ref: '#/components/schemas/DocumentTypeId' - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - document: - type: file - description: '' - format: binary - encoding: - document: - style: form - application/json: - schema: - type: object - properties: - document: - type: file - description: '' - format: binary - encoding: - document: - style: form - responses: - '204': - description: Successfully uploaded the document - content: - application/json: - schema: - $ref: '#/components/schemas/NoContentResult' - '400': - description: 'If sub claim is empty/invalid or user does not exist, or any other parameters are invalid.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: App does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: The user is not assigned with the app. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Offer is in incorrect state. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '415': - description: Only PDF files are supported. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppChange/{appId}/roles': - get: - tags: - - AppChange - summary: 'Gets the client roles for the given active app. (Authorization required - Roles: edit_apps)' - description: 'Example: GET: /api/apps/AppChange/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645/roles' - parameters: - - name: appId - in: path - description: Id of the app which roles should be returned. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - - name: languageShortName - in: query - description: 'OPTIONAL: The language short name.' - schema: - type: string - responses: - '200': - description: Returns the client roles. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ActiveAppRoleDetails' - '400': - description: The language does not exist. - '404': - description: The app was not found. - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/updateappdoc/{appId}/documentType/{documentTypeId}/documents': - put: - tags: - - AppReleaseProcess - summary: 'Upload document for apps in status CREATED and document in status PENDING in the marketplace for given appId for same company as user (Authorization required - Roles: app_management)' - description: 'Example: PUT: /api/apps/appreleaseprocess/updateappdoc/{appId}/documentType/{documentTypeId}/documents' - parameters: - - name: appId - in: path - description: '' - required: true - schema: - type: string - format: uuid - - name: documentTypeId - in: path - description: '' - required: true - schema: - $ref: '#/components/schemas/DocumentTypeId' - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - document: - type: file - description: '' - format: binary - encoding: - document: - style: form - application/json: - schema: - type: object - properties: - document: - type: file - description: '' - format: binary - encoding: - document: - style: form - responses: - '204': - description: Successfully uploaded the document - content: - application/json: - schema: - $ref: '#/components/schemas/NoContentResult' - '400': - description: 'If sub claim is empty/invalid or user does not exist, or any other parameters are invalid.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: App does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: The user is not assigned with the app. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Offer is in incorrect state. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '415': - description: Only PDF files are supported. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/{appId}/role': - post: - tags: - - AppReleaseProcess - summary: 'Add role and role description for App (Authorization required - Roles: edit_apps)' - description: 'Example: POST: /api/apps/appreleaseprocess/{appId}/role' - parameters: - - name: appId - in: path - description: '' - required: true - schema: - type: string - format: uuid - requestBody: - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/AppUserRole' - responses: - '200': - description: created role and role description successfully. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/AppRoleData' - '400': - description: 'If sub claim is empty/invalid or user does not exist, or any other parameters are invalid.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: App does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User not associated with provider company - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/apps/AppReleaseProcess/agreementData: - get: - tags: - - AppReleaseProcess - summary: 'Return Agreement Data for offer_type_id App (Authorization required - Roles: edit_apps)' - description: 'Example: GET: /api/apps/appreleaseprocess/agreementData' - responses: - '200': - description: Returns the Cpllection of agreement data - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/AgreementDocumentData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/consent/{appId}': - get: - tags: - - AppReleaseProcess - summary: 'Gets the agreement consent status for the given app id (Authorization required - Roles: edit_apps)' - description: 'Example: GET: /api/apps/appreleaseprocess/consent/{appId}' - parameters: - - name: appId - in: path - description: '' - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns the Offer Agreement Consent data - content: - application/json: - schema: - $ref: '#/components/schemas/OfferAgreementConsent' - '404': - description: App does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User not associated with offer. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/consent/{appId}/agreementConsents': - post: - tags: - - AppReleaseProcess - summary: 'Update or Insert Consent (Authorization required - Roles: edit_apps)' - description: 'Example: POST: /api/apps/appreleaseprocess/consent/{appId}/agreementConsents' - parameters: - - name: appId - in: path - description: '' - required: true - schema: - type: string - format: uuid - requestBody: - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/OfferAgreementConsent' - responses: - '200': - description: Successfully submitted consent to agreements - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ConsentStatusData' - '404': - description: App does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: Either the user was not found or the user is not assignable to the given application. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '400': - description: App Id is incorrect. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/{appId}/appStatus': - get: - tags: - - AppReleaseProcess - summary: 'Return app detail with status (Authorization required - Roles: app_management)' - description: 'Example: GET: /api/apps/appreleaseprocess/{appId}/appStatus' - parameters: - - name: appId - in: path - description: '' - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Return the Offer and status data - content: - application/json: - schema: - $ref: '#/components/schemas/AppProviderResponse' - '404': - description: App does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User not associated with provider company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/{appId}/role/{roleId}': - delete: - tags: - - AppReleaseProcess - summary: 'Removes a role from persistence layer by appId and roleId. (Authorization required - Roles: edit_apps)' - description: 'Example: DELETE: /api/apps/appreleaseprocess/{appId}/role/{roleId}' - parameters: - - name: appId - in: path - description: ID of the app to be deleted. - required: true - schema: - type: string - format: uuid - example: 5636F9B9-C3DE-4BA5-8027-00D17A2FECFB - - name: roleId - in: path - description: ID of the role to be deleted. - required: true - schema: - type: string - format: uuid - example: 5636F9B9-C3DE-4BA5-8027-00D17A2FECFB - responses: - '204': - description: Empty response on success. - content: - application/json: - schema: - $ref: '#/components/schemas/IActionResult' - '404': - description: Record not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '400': - description: Input is incorrect - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User is not associated with provider company - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/apps/AppReleaseProcess/ownCompany/salesManager: - get: - tags: - - AppReleaseProcess - summary: 'Get All Users with Role of Sales Manager (Authorization required - Roles: add_apps)' - description: 'Example: GET: /api/apps/appreleaseprocess/ownCompany/salesManager' - responses: - '200': - description: Return the Users with Role of Sales Manager. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CompanyUserNameData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/apps/AppReleaseProcess/createapp: - post: - tags: - - AppReleaseProcess - summary: 'Creates an app according to request model (Authorization required - Roles: add_apps)' - description: 'Example: POST: /api/apps/appreleaseprocess/createapp' - requestBody: - description: Request model for app creation. - content: - application/json: - schema: - $ref: '#/components/schemas/AppRequestModel' - responses: - '201': - description: Returns created app's ID. - content: - application/json: - schema: - type: string - format: uuid - '400': - description: Language Code or Use Case or CompanyId is incorrect - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User is not associated with provider company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/{appId}': - put: - tags: - - AppReleaseProcess - summary: 'Updates an app according to request model (Authorization required - Roles: edit_apps)' - description: 'Example: PUT: /api/apps/appreleaseprocess/15507472-dfdc-4885-b165-8d4a8970a3e2' - parameters: - - name: appId - in: path - description: Id of the app to update - required: true - schema: - type: string - format: uuid - example: 15507472-dfdc-4885-b165-8d4a8970a3e2 - requestBody: - description: Request model for app creation. - content: - application/json: - schema: - $ref: '#/components/schemas/AppRequestModel' - responses: - '204': - description: No Content - '400': - description: Language Code or Use Case or CompanyId is incorrect - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: App does not exist - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User don't have permission to change the app. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Offer is in inCorrect State. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '201': - description: Returns created app's ID. - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - delete: - tags: - - AppReleaseProcess - summary: 'Delete App by Id (Authorization required - Roles: edit_apps)' - description: 'Example: DELETE: /api/apps/appreleaseprocess/{appId}' - parameters: - - name: appId - in: path - description: ID of the app to be deleted. - required: true - schema: - type: string - format: uuid - example: 5636F9B9-C3DE-4BA5-8027-00D17A2FECFB - responses: - '204': - description: Empty response on success. - '400': - description: Input is incorrect. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User is not associated with provider company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Record not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/apps/AppReleaseProcess/inReview: - get: - tags: - - AppReleaseProcess - summary: 'Retrieves all in review status apps in the marketplace . (Authorization required - Roles: approve_app_release,decline_app_release)' - description: 'Example: GET: /api/apps/appreleaseprocess/inReview' - parameters: - - name: page - in: query - description: page index start from 0 - schema: - type: integer - format: int32 - default: 0 - - name: size - in: query - description: size to get number of records - schema: - type: integer - format: int32 - default: 15 - - name: sorting - in: query - description: sort by - schema: - $ref: '#/components/schemas/OfferSorting' - - name: offerStatusIdFilter - in: query - description: Filter by offerStatusId - schema: - $ref: '#/components/schemas/OfferStatusIdFilter' - responses: - '200': - description: Returns the list of all in review status marketplace apps. - content: - application/json: - schema: - $ref: '#/components/schemas/InReviewAppDataResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/{appId}/submit': - put: - tags: - - AppReleaseProcess - summary: 'Submit an app for release (Authorization required - Roles: add_apps)' - description: 'Example: PUT: /api/apps/appreleaseprocess/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645/submit' - parameters: - - name: appId - in: path - description: ID of the app. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - responses: - '204': - description: The app was successfully submitted for release. - '400': - description: 'Either the sub claim is empty/invalid, user does not exist or the subscription might not have the correct status or the companyID is incorrect.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: App does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: User not associated with company - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/{appId}/approveApp': - put: - tags: - - AppReleaseProcess - summary: 'Approve App to change status from IN_REVIEW to Active and create notification (Authorization required - Roles: approve_app_release)' - description: 'Example: PUT: /api/apps/appreleaseprocess/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645/approveApp' - parameters: - - name: appId - in: path - description: '' - required: true - schema: - type: string - format: uuid - responses: - '204': - description: The app was successfully submitted to Active State. - '404': - description: App does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: App is in InCorrect Status - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - /api/apps/AppReleaseProcess/privacyPolicies: - get: - tags: - - AppReleaseProcess - summary: 'Retrieve Privacy Policies (Authorization required - Roles: add_apps)' - description: 'Example: GET: /api/apps/appreleaseprocess/privacyPolicies' - responses: - '200': - description: Return the privacy policies - content: - application/json: - schema: - $ref: '#/components/schemas/PrivacyPolicyData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/{appId}/declineApp': - put: - tags: - - AppReleaseProcess - summary: 'Declines the app request (Authorization required - Roles: decline_app_release)' - description: 'Example: PUT: /api/apps/appreleaseprocess/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645/declineApp' - parameters: - - name: appId - in: path - description: Id of the app that should be declined - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - requestBody: - description: the data of the decline request - content: - application/json: - schema: - $ref: '#/components/schemas/OfferDeclineRequest' - responses: - '204': - description: NoContent. - '400': - description: If sub claim is empty/invalid or user does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: If app does not exists. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User does not have permission to change the app - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Offer is in incorrect state - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/inReview/{appId}': - get: - tags: - - AppReleaseProcess - summary: 'Gets InReview app details for an app referenced by id. (Authorization required - Roles: approve_app_release,decline_app_release)' - description: 'Example: GET: /api/apps/appreleaseprocess/inReview/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645' - parameters: - - name: appId - in: path - description: ID of the app to retrieve. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - responses: - '200': - description: Returns the requested app details. - content: - application/json: - schema: - $ref: '#/components/schemas/InReviewAppDetails' - '400': - description: If sub claim is empty/invalid. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: App not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/documents/{documentId}': - delete: - tags: - - AppReleaseProcess - summary: 'Delete Document Assigned to Offer (Authorization required - Roles: edit_apps)' - description: 'Example: DELETE: /api/apps/appreleaseprocess/documents/{documentId}' - parameters: - - name: documentId - in: path - description: ID of the document to be deleted. - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Empty response on success. - '404': - description: Record not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User is not allowed to delete the document - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Document or App is in InCorrect Status - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '400': - description: parameters are invalid. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/instance-type/{appId}': - post: - tags: - - AppReleaseProcess - summary: 'Sets the instance type and all related data for the app (Authorization required - Roles: edit_apps)' - description: 'Example: PUT: /api/apps/appreleaseprocess/instance-type/{appId}' - parameters: - - name: appId - in: path - description: ID of the app to be deleted. - required: true - schema: - type: string - format: uuid - example: 5636F9B9-C3DE-4BA5-8027-00D17A2FECFB - requestBody: - description: Data needed for the instance setup - content: - application/json: - schema: - $ref: '#/components/schemas/AppInstanceSetupData' - responses: - '204': - description: Empty response on success. - '400': - description: Input is incorrect. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User is not associated with provider company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Record not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/{appId}/technical-user-profiles': - get: - tags: - - AppReleaseProcess - summary: 'Retrieve app specific stored technical user profile configured to get created if a related app subscription is getting activated. (Authorization required - Roles: add_apps)' - description: 'Example: GET: /api/apps/{appId}/appreleaseprocess/technical-user-profiles' - parameters: - - name: appId - in: path - description: id of the app to receive the technical user profiles for - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns a list of profiles - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/TechnicalUserProfileInformation' - '403': - description: Requesting user is not part of the providing company for the service. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - put: - tags: - - AppReleaseProcess - summary: 'Creates and updates the technical user profiles (Authorization required - Roles: add_apps)' - description: 'Example: PUT: /api/apps/appreleaseprocess/{appId}/technical-user-profiles' - parameters: - - name: appId - in: path - description: id of the app to receive the technical user profiles for - required: true - schema: - type: string - format: uuid - requestBody: - description: The data for the update of the technical user profile - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/TechnicalUserProfileData' - responses: - '204': - description: No Content - content: - application/json: - schema: - $ref: '#/components/schemas/NoContentResult' - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: Requesting user is not part of the providing company for the service. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '200': - description: Returns a list of profiles - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/{appId}/roles': - get: - tags: - - AppReleaseProcess - summary: 'Gets the app providers an overview of configures app roles. (Authorization required - Roles: add_apps)' - description: 'Example: GET: /api/apps/AppChange/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645/roles' - parameters: - - name: appId - in: path - description: Id of the app which roles should be returned. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - - name: languageShortName - in: query - description: 'OPTIONAL: The language short name.' - schema: - type: string - responses: - '200': - description: Returns the client roles. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ActiveAppRoleDetails' - '404': - description: The app was not found. - '403': - description: The app is not the provider of the company - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/apps/active: - get: - tags: - - Apps - summary: 'Retrieves all active apps in the marketplace. (Authorization required - Roles: view_apps)' - description: 'Example: GET: /api/apps/active' - parameters: - - name: lang - in: query - description: Optional two character language specifier for the app description. Will be empty if not provided. - schema: - type: string - example: en - responses: - '200': - description: Returns the list of all active marketplace apps. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/AppData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/apps/business: - get: - tags: - - Apps - summary: 'Get all apps that currently logged in user has been assigned roles in. (Authorization required - Roles: view_apps)' - description: 'Example: GET: /api/apps/business' - responses: - '200': - description: Returns the list of the user's business apps. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/BusinessAppData' - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/{appId}': - get: - tags: - - Apps - summary: 'Retrieves app details for an app referenced by id. (Authorization required - Roles: view_apps)' - description: 'Example: GET: /api/apps/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645' - operationId: GetAppDetailsByIdAsync - parameters: - - name: appId - in: path - description: ID of the app to retrieve. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - - name: lang - in: query - description: Optional two character language specifier for the app description. Will be empty if not provided. - schema: - type: string - example: en - responses: - '200': - description: Returns the requested app details. - content: - application/json: - schema: - $ref: '#/components/schemas/AppDetailResponse' - '404': - description: App not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/apps/favourites: - get: - tags: - - Apps - summary: 'Retrieves IDs of all favourite apps of the current user (by sub claim). (Authorization required - Roles: view_apps)' - description: 'Example: GET: /api/apps/favourites' - responses: - '200': - description: Returns the list of favourite apps of current user. - content: - application/json: - schema: - type: array - items: - type: string - format: uuid - '400': - description: If sub claim is empty/invalid. - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/{appId}/favourite': - post: - tags: - - Apps - summary: 'Adds an app to current user''s favourites. (Authorization required - Roles: view_apps)' - description: 'Example: POST: /api/apps/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645/favourite' - parameters: - - name: appId - in: path - description: ID of the app to add to user favourites. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - responses: - '204': - description: Favourite app was successfully added to user. - '400': - description: If sub claim is empty/invalid or user does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - delete: - tags: - - Apps - summary: 'Removes an app from current user''s favourites. (Authorization required - Roles: view_apps)' - description: 'Example: DELETE: /api/apps/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645/favourite' - parameters: - - name: appId - in: path - description: ID of the app to remove from user favourites. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - responses: - '204': - description: Favourite app was successfully removed from user. - '400': - description: If sub claim is empty/invalid or user does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/apps/subscribed/subscription-status: - get: - tags: - - Apps - summary: 'Retrieves subscription statuses of apps. (Authorization required - Roles: view_subscription)' - description: 'Example: GET: /api/apps/subscribed/subscription-status' - parameters: - - name: page - in: query - description: The page that should be displayed - schema: - type: integer - format: int32 - default: 0 - - name: size - in: query - description: The size per page of elements that should be returned - schema: - type: integer - format: int32 - default: 15 - - name: status - in: query - description: 'Filter for the offer subscription status. If not set, all elements will be returned' - schema: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - - name: name - in: query - description: An optional search query for the name - schema: - type: string - responses: - '200': - description: Returns list of applicable apps subscription statuses. - content: - application/json: - schema: - $ref: '#/components/schemas/OfferSubscriptionStatusDetailDataResponse' - '400': - description: If sub claim is empty/invalid or user does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/apps/provided/subscription-status: - get: - tags: - - Apps - summary: 'Retrieves subscription statuses of provided apps of the currently logged in user''s company. (Authorization required - Roles: view_app_subscription)' - description: 'Example: GET: /api/apps/provided/subscription-status' - parameters: - - name: page - in: query - schema: - type: integer - format: int32 - default: 0 - - name: size - in: query - schema: - type: integer - format: int32 - default: 15 - - name: sorting - in: query - schema: - $ref: '#/components/schemas/SubscriptionStatusSorting' - - name: statusId - in: query - schema: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - - name: offerId - in: query - schema: - type: string - format: uuid - - name: companyName - in: query - schema: - type: string - responses: - '200': - description: Returns list of applicable app subscription statuses. - content: - application/json: - schema: - $ref: '#/components/schemas/OfferCompanySubscriptionStatusResponseResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/{appId}/subscribe': - post: - tags: - - Apps - summary: 'Adds an app to current user''s company''s subscriptions. (Authorization required - Roles: subscribe_apps)' - description: 'Example: POST: /api/apps/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645/subscribe' - parameters: - - name: appId - in: path - description: ID of the app to subscribe to. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - requestBody: - description: The agreement consent data - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/OfferAgreementConsentData' - responses: - '204': - description: App was successfully subscribed to. - '400': - description: If sub claim is empty/invalid or user does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: If appId does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - '/api/apps/appAgreementData/{appId}': - get: - tags: - - Apps - summary: 'Retrieve all app marketplace agreements mandatory to be agreed before releasing an app on the CX marketplace (Authorization required - Roles: subscribe_apps)' - description: 'Example: GET: /api/apps/appAgreementData/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645' - parameters: - - name: appId - in: path - description: Id for the app consent to retrieve. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - responses: - '200': - description: Returns the app agreement data. - content: - application/json: - schema: - $ref: '#/components/schemas/AgreementData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/subscription/{subscriptionId}/activate': - put: - tags: - - Apps - summary: 'Activates a pending app subscription. (Authorization required - Roles: activate_subscription)' - description: 'Example: PUT: /api/apps/subscription/{subscriptiondId}/activate' - parameters: - - name: subscriptionId - in: path - description: ID of the subscription to activate. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - responses: - '204': - description: App subscription was successfully activated. - '400': - description: 'If sub claim is empty/invalid or user does not exist, or any other parameters are invalid.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: 'If sub claim is empty/invalid or user does not exist, or any other parameters are invalid.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - '/api/apps/{subscriptionId}/unsubscribe': - put: - tags: - - Apps - summary: 'Unsubscribes an app from the current user''s company''s subscriptions. (Authorization required - Roles: unsubscribe_apps)' - description: 'Example: PUT: /api/apps/{subscriptionId}/unsubscribe' - parameters: - - name: subscriptionId - in: path - description: ID of the subscription to unsubscribe from. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - responses: - '204': - description: The app was successfully unsubscribed from. - '400': - description: 'Either the sub claim is empty/invalid, user does not exist or the subscription might not have the correct status or the companyID is incorrect.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: App does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/apps/provided: - get: - tags: - - Apps - summary: 'Get all company owned apps. (Authorization required - Roles: app_management)' - description: 'Example: GET: /api/apps/provided' - parameters: - - name: page - in: query - schema: - type: integer - format: int32 - default: 0 - - name: size - in: query - schema: - type: integer - format: int32 - default: 15 - - name: sorting - in: query - schema: - $ref: '#/components/schemas/OfferSorting' - - name: offerName - in: query - schema: - type: string - - name: statusId - in: query - description: Filters the OfferStatusId information - schema: - $ref: '#/components/schemas/AppStatusIdFilter' - responses: - '200': - description: Returns list of apps provided by the user assigned company. - content: - application/json: - schema: - $ref: '#/components/schemas/AllOfferDataResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/apps/autoSetup: - post: - tags: - - Apps - summary: 'Auto setup the app (Authorization required - Roles: activate_subscription)' - description: 'Example: POST: /api/apps/autoSetup' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/OfferAutoSetupData' - responses: - '200': - description: Returns the app agreement data. - content: - application/json: - schema: - $ref: '#/components/schemas/OfferAutoSetupResponseData' - '400': - description: Offer Subscription is pending or not the providing company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Offer Subscription not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - deprecated: true - /api/apps/start-autoSetup: - post: - tags: - - Apps - summary: 'Auto setup the app (Authorization required - Roles: activate_subscription)' - description: 'Example: POST: /api/apps/start-autoSetup' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/OfferAutoSetupData' - responses: - '204': - description: The auto setup has successfully been started. - '400': - description: Offer Subscription is pending or not the providing company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Offer Subscription not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/subscription/{offerSubscriptionId}/activate-single-instance': - put: - tags: - - Apps - summary: 'Triggers the activation of a single instance app subscription (Authorization required - Roles: activate_subscription)' - description: 'Example: PUT: /api/apps/subscription/{offerSubscriptionId}/activate-single-instance' - parameters: - - name: offerSubscriptionId - in: path - required: true - schema: - type: string - format: uuid - responses: - '204': - description: The activation of the subscription has successfully been started. - '400': - description: Offer Subscription is pending or not the providing company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Offer Subscription not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/{appId}/appDocuments/{documentId}': - get: - tags: - - Apps - summary: 'Retrieve Document Content for document type "App Lead Image" and "App Image" by ID (Authorization required - Roles: view_documents)' - description: 'Example: GET: /api/apps/{appId}/appDocuments/{documentId}' - parameters: - - name: appId - in: path - description: '' - required: true - schema: - type: string - format: uuid - - name: documentId - in: path - description: '' - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns the document Content - content: - image/jpeg: - schema: - type: string - format: binary - image/png: - schema: - type: string - format: binary - image/gif: - schema: - type: string - format: binary - image/svg+xml: - schema: - type: string - format: binary - image/tiff: - schema: - type: string - format: binary - application/pdf: - schema: - type: string - format: binary - application/json: - schema: - type: string - format: binary - '400': - description: Document / App id not found or document type not supported. - content: - image/jpeg: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/png: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/gif: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/svg+xml: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/tiff: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/pdf: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: document not found. - content: - image/jpeg: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/png: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/gif: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/svg+xml: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/tiff: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/pdf: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '415': - description: UnSupported Media Type. - content: - image/jpeg: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/png: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/gif: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/svg+xml: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/tiff: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/pdf: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/{appId}/subscription/{subscriptionId}/provider': - get: - tags: - - Apps - summary: 'Retrieves the details of a subscription (Authorization required - Roles: app_management)' - description: 'Example: GET: /api/apps/{appId}/subscription/{subscriptionId}/provider' - parameters: - - name: appId - in: path - description: id of the app to receive the details for - required: true - schema: - type: string - format: uuid - - name: subscriptionId - in: path - description: id of the subscription to receive the details for - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns the subscription details for the provider - content: - application/json: - schema: - $ref: '#/components/schemas/AppProviderSubscriptionDetailData' - '403': - description: User's company does not provide the app. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No app or subscription found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/{appId}/subscription/{subscriptionId}/subscriber': - get: - tags: - - Apps - summary: 'Retrieves the details of a subscription (Authorization required - Roles: subscribe_apps)' - description: 'Example: GET: /api/apps/{appId}/subscription/{subscriptionId}/subscriber' - parameters: - - name: appId - in: path - description: id of the app to receive the details for - required: true - schema: - type: string - format: uuid - - name: subscriptionId - in: path - description: id of the subscription to receive the details for - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns the subscription details for the subscriber - content: - application/json: - schema: - $ref: '#/components/schemas/SubscriberSubscriptionDetailData' - '403': - description: User's company does not provide the app. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No app or subscription found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/apps/subscribed/activesubscriptions: - get: - tags: - - Apps - summary: 'Retrieves Active subscription statuses of apps. (Authorization required - Roles: view_subscription)' - description: 'Example: GET: /api/apps/subscribed/activesubscriptions' - responses: - '200': - description: Returns list of applicable active apps subscription statuses. - content: - application/json: - schema: - $ref: '#/components/schemas/ActiveOfferSubscriptionStatusData' - '400': - description: If sub claim is empty/invalid or user does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/apps/subscribed/subscriptions: - get: - tags: - - Apps - summary: 'Retrieves subscription statuses of apps. (Authorization required - Roles: view_subscription)' - description: 'Example: GET: /api/apps/subscribed/subscriptions' - responses: - '200': - description: Returns list of applicable active apps subscription statuses. - content: - application/json: - schema: - $ref: '#/components/schemas/OfferSubscriptionData' - '400': - description: If sub claim is empty/invalid or user does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/apps/errormessage: - get: - tags: - - ErrorMessage - responses: - '200': - description: OK - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ErrorMessageType' - '500': - description: Internal Server Error - /api/info: - get: - tags: - - OpenInformation - summary: ' (Authorization required)' - responses: - '200': - description: OK - content: - text/plain: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - text/json: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized -components: - schemas: - ActiveAppDocumentData: - type: object - properties: - documents: - type: object - properties: - CX_FRAME_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMMERCIAL_REGISTER_EXTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_REGISTRATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - ADDITIONAL_DETAILS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_IMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SELF_DESCRIPTION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_TECHNICAL_INFORMATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_CONNECTOR: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_BUSINESS_APPS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_SERVICES: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SERVICE_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - PRESENTATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMPANY_CERTIFICATE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - additionalProperties: false - description: Id of the App. - additionalProperties: false - description: View model of an Active App Documents - ActiveAppRoleDetails: - type: object - properties: - roleId: - type: string - format: uuid - role: - type: string - descriptions: - type: array - items: - $ref: '#/components/schemas/ActiveAppUserRoleDescription' - additionalProperties: false - ActiveAppUserRoleDescription: - type: object - properties: - languageCode: - type: string - description: - type: string - additionalProperties: false - ActiveOfferSubscriptionStatusData: - type: object - properties: - offerId: - type: string - format: uuid - name: - type: string - nullable: true - provider: - type: string - image: - type: string - format: uuid - nullable: true - subscriptionId: - type: string - format: uuid - additionalProperties: false - AgreementConsentStatus: - type: object - properties: - agreementId: - type: string - format: uuid - consentStatus: - $ref: '#/components/schemas/ConsentStatusId' - additionalProperties: false - AgreementData: - type: object - properties: - agreementId: - type: string - format: uuid - name: - type: string - mandatory: - type: boolean - additionalProperties: false - AgreementDocumentData: - type: object - properties: - agreementId: - type: string - format: uuid - name: - type: string - agreementLink: - type: string - nullable: true - documentId: - type: string - format: uuid - nullable: true - mandatory: - type: boolean - additionalProperties: false - AllOfferData: - type: object - properties: - id: - type: string - format: uuid - name: - type: string - nullable: true - leadPictureId: - type: string - format: uuid - provider: - type: string - status: - $ref: '#/components/schemas/OfferStatusId' - lastChanged: - type: string - format: date-time - nullable: true - additionalProperties: false - AllOfferDataResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/AllOfferData' - additionalProperties: false - AppData: - type: object - properties: - id: - type: string - description: Id of the App. - format: uuid - name: - type: string - description: Name of the app. - shortDescription: - type: string - description: Short description. - provider: - type: string - description: Provider. - licenseType: - $ref: '#/components/schemas/LicenseTypeId' - price: - type: string - description: Price. - leadPictureId: - type: string - description: Lead pircture Id. - format: uuid - useCases: - type: array - items: - type: string - description: The apps use cases. - additionalProperties: false - description: View model of an application's base data. - AppDetailResponse: - type: object - properties: - id: - type: string - description: ID of the app. - format: uuid - title: - type: string - description: Title or name of the app. - leadPictureId: - type: string - description: Uri to app's lead picture. - format: uuid - images: - type: array - items: - type: string - format: uuid - description: List of Images to app's secondary pictures. - providerUri: - type: string - description: Uri to provider's marketing presence. - provider: - type: string - description: Provider of the app. - contactEmail: - type: string - description: Email address of the app's primary contact. - nullable: true - contactNumber: - type: string - description: Phone number of the app's primary contact. - nullable: true - useCases: - type: array - items: - $ref: '#/components/schemas/AppUseCaseData' - description: Names of the app's use cases. - longDescription: - type: string - description: Long description of the app. - licenseType: - $ref: '#/components/schemas/LicenseTypeId' - price: - type: string - description: Pricing information of the app. - tags: - type: array - items: - type: string - description: Tags assigned to application. - isSubscribed: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - languages: - type: array - items: - type: string - description: Languages that the app is available in. - documents: - type: object - properties: - CX_FRAME_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMMERCIAL_REGISTER_EXTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_REGISTRATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - ADDITIONAL_DETAILS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_IMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SELF_DESCRIPTION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_TECHNICAL_INFORMATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_CONNECTOR: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_BUSINESS_APPS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_SERVICES: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SERVICE_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - PRESENTATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMPANY_CERTIFICATE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - additionalProperties: false - description: documents assigned to offer - privacyPolicies: - type: array - items: - $ref: '#/components/schemas/PrivacyPolicyId' - description: Privacy Policies assigned to offer - isSingleInstance: - type: boolean - description: Defines whether the app is a single instance - technicalUserProfile: - type: object - additionalProperties: - type: array - items: - type: string - description: Technical User Profile for app - additionalProperties: false - description: View model of an application's detailed data. - AppInstanceSetupData: - type: object - properties: - isSingleInstance: - type: boolean - description: '`true` if the service is an single instance service, otherwise `false`' - instanceUrl: - type: string - description: Only required if is true - nullable: true - additionalProperties: false - description: Request Model to set or update the app instance type and all related data. - AppProviderResponse: - type: object - properties: - title: - type: string - description: title of the offer - nullable: true - provider: - type: string - description: provider name - leadPictureId: - type: string - description: id of the lead picture - format: uuid - providerName: - type: string - description: provider name - nullable: true - useCase: - type: array - items: - $ref: '#/components/schemas/AppUseCaseData' - description: list of use cases - descriptions: - type: array - items: - $ref: '#/components/schemas/LocalizedDescription' - description: the offer descriptions - agreements: - type: array - items: - $ref: '#/components/schemas/OfferAgreement' - description: the assigned agreements - supportedLanguageCodes: - type: array - items: - type: string - description: the supported language codes - price: - type: string - description: the app price - nullable: true - images: - type: array - items: - type: string - format: uuid - description: list of the images - providerUri: - type: string - description: the provider uri - nullable: true - contactEmail: - type: string - description: contact email - nullable: true - contactNumber: - type: string - description: contact number - nullable: true - documents: - type: object - properties: - CX_FRAME_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMMERCIAL_REGISTER_EXTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_REGISTRATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - ADDITIONAL_DETAILS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_IMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SELF_DESCRIPTION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_TECHNICAL_INFORMATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_CONNECTOR: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_BUSINESS_APPS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_SERVICES: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SERVICE_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - PRESENTATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMPANY_CERTIFICATE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - additionalProperties: false - description: list of linked documents - salesManagerId: - type: string - description: id of the salesmanager - format: uuid - nullable: true - privacyPolicies: - type: array - items: - $ref: '#/components/schemas/PrivacyPolicyId' - description: the privacy policies - technicalUserProfile: - type: object - additionalProperties: - type: array - items: - type: string - description: the technicalUser Profile - additionalProperties: false - description: Response for the app creation - AppProviderSubscriptionDetailData: - type: object - properties: - id: - type: string - format: uuid - offerSubscriptionStatus: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - name: - type: string - nullable: true - customer: - type: string - bpn: - type: string - nullable: true - contact: - type: array - items: - type: string - technicalUserData: - type: array - items: - $ref: '#/components/schemas/SubscriptionTechnicalUserData' - connectorData: - type: array - items: - $ref: '#/components/schemas/SubscriptionAssignedConnectorData' - tenantUrl: - type: string - nullable: true - appInstanceId: - type: string - processStepTypeId: - $ref: '#/components/schemas/ProcessStepTypeId' - externalService: - $ref: '#/components/schemas/SubscriptionExternalServiceData' - additionalProperties: false - AppRequestModel: - type: object - properties: - title: - type: string - description: Title - nullable: true - salesManagerId: - type: string - description: SalesManagerId - format: uuid - nullable: true - useCaseIds: - type: array - items: - type: string - format: uuid - description: UseCaseIds - descriptions: - type: array - items: - $ref: '#/components/schemas/LocalizedDescription' - description: Descriptions - supportedLanguageCodes: - type: array - items: - type: string - description: SupportedLanguageCodes - price: - type: string - description: Price - privacyPolicies: - type: array - items: - $ref: '#/components/schemas/PrivacyPolicyId' - description: Price - providerUri: - type: string - description: Price - nullable: true - contactEmail: - type: string - description: Price - nullable: true - contactNumber: - type: string - description: Price - nullable: true - additionalProperties: false - description: Request Model for App Creation. - AppRoleData: - type: object - properties: - roleId: - type: string - description: '' - format: uuid - roleName: - type: string - description: '' - additionalProperties: false - description: Model for Role Data - AppStatusIdFilter: - enum: - - Active - - Inactive - - WIP - - All - type: string - description: Filters the OfferStatusId information - AppUseCaseData: - type: object - properties: - id: - type: string - format: uuid - label: - type: string - additionalProperties: false - AppUserRole: - type: object - properties: - role: - type: string - description: '' - descriptions: - type: array - items: - $ref: '#/components/schemas/AppUserRoleDescription' - description: '' - additionalProperties: false - description: Model for Input Role - AppUserRoleDescription: - type: object - properties: - languageCode: - type: string - description: '' - description: - type: string - description: '' - additionalProperties: false - description: Model for Role Description - BusinessAppData: - type: object - properties: - id: - type: string - format: uuid - subscriptionId: - type: string - format: uuid - name: - type: string - uri: - type: string - leadPictureId: - type: string - format: uuid - provider: - type: string - additionalProperties: false - ClientInfoData: - type: object - properties: - clientId: - type: string - clientUrl: - type: string - additionalProperties: false - CompanySubscriptionStatus: - type: object - properties: - companyId: - type: string - format: uuid - companyName: - type: string - subscriptionId: - type: string - format: uuid - offerSubscriptionStatus: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - country: - type: string - nullable: true - bpnNumber: - type: string - nullable: true - email: - type: string - nullable: true - technicalUser: - type: boolean - processStepTypeId: - $ref: '#/components/schemas/ProcessStepTypeId' - additionalProperties: false - CompanyUserNameData: - type: object - properties: - userId: - type: string - format: uuid - firstName: - type: string - nullable: true - lastName: - type: string - nullable: true - additionalProperties: false - ConsentStatusData: - type: object - properties: - agreementId: - type: string - format: uuid - consentStatus: - $ref: '#/components/schemas/ConsentStatusId' - additionalProperties: false - ConsentStatusId: - enum: - - ACTIVE - - INACTIVE - type: string - DocumentData: - type: object - properties: - documentId: - type: string - format: uuid - documentName: - type: string - additionalProperties: false - DocumentTypeId: - enum: - - CX_FRAME_CONTRACT - - COMMERCIAL_REGISTER_EXTRACT - - APP_CONTRACT - - CONFORMITY_APPROVAL_REGISTRATION - - ADDITIONAL_DETAILS - - APP_LEADIMAGE - - APP_IMAGE - - SELF_DESCRIPTION - - APP_TECHNICAL_INFORMATION - - CONFORMITY_APPROVAL_CONNECTOR - - CONFORMITY_APPROVAL_BUSINESS_APPS - - CONFORMITY_APPROVAL_SERVICES - - SERVICE_LEADIMAGE - - PRESENTATION - - COMPANY_CERTIFICATE - type: string - ErrorDetails: - type: object - properties: - errorCode: - type: string - type: - type: string - message: - type: string - parameters: - type: array - items: - $ref: '#/components/schemas/ErrorParameter' - additionalProperties: false - ErrorMessageCode: - type: object - properties: - errorCode: - type: string - message: - type: string - additionalProperties: false - ErrorMessageType: - type: object - properties: - errorType: - type: string - errorMessages: - type: array - items: - $ref: '#/components/schemas/ErrorMessageCode' - additionalProperties: false - ErrorParameter: - type: object - properties: - name: - type: string - value: - type: string - additionalProperties: false - ErrorResponse: - type: object - properties: - type: - type: string - title: - type: string - status: - type: integer - format: int32 - errors: - type: object - additionalProperties: - type: array - items: - type: string - errorId: - type: string - details: - type: array - items: - $ref: '#/components/schemas/ErrorDetails' - nullable: true - additionalProperties: false - IActionResult: - type: object - additionalProperties: false - InReviewAppData: - type: object - properties: - appId: - type: string - format: uuid - name: - type: string - nullable: true - provider: - type: string - status: - $ref: '#/components/schemas/OfferStatusId' - additionalProperties: false - InReviewAppDataResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/InReviewAppData' - additionalProperties: false - InReviewAppDetails: - type: object - properties: - id: - type: string - description: ID of the app. - format: uuid - title: - type: string - description: Title or name of the app. - leadPictureId: - type: string - description: Uri to app's lead picture. - format: uuid - images: - type: array - items: - type: string - format: uuid - description: List of Images to app's secondary pictures. - provider: - type: string - description: Provider of the app. - useCases: - type: array - items: - type: string - description: Names of the app's use cases. - description: - type: array - items: - $ref: '#/components/schemas/LocalizedDescription' - description: description of the app. - documents: - type: object - properties: - CX_FRAME_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMMERCIAL_REGISTER_EXTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_REGISTRATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - ADDITIONAL_DETAILS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_IMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SELF_DESCRIPTION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_TECHNICAL_INFORMATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_CONNECTOR: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_BUSINESS_APPS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_SERVICES: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SERVICE_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - PRESENTATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMPANY_CERTIFICATE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - additionalProperties: false - description: documents assigned to offer - roles: - type: array - items: - type: string - description: Roles assigned to offer - languages: - type: array - items: - type: string - description: Languages that the app is available in. - providerUri: - type: string - description: Uri to provider's marketing presence. - contactEmail: - type: string - description: Email address of the app's primary contact. - nullable: true - contactNumber: - type: string - description: Phone number of the app's primary contact. - nullable: true - licenseType: - $ref: '#/components/schemas/LicenseTypeId' - price: - type: string - description: Pricing information of the app. - tags: - type: array - items: - type: string - description: Tags assigned to application. - privacyPolicies: - type: array - items: - $ref: '#/components/schemas/PrivacyPolicyId' - description: Privacy policy assigned to app. - offerStatusId: - $ref: '#/components/schemas/OfferStatusId' - technicalUserProfile: - type: object - additionalProperties: - type: array - items: - type: string - description: TechnicalUserProfile of the User. - additionalProperties: false - description: View model of an application's detailed data. - LicenseTypeId: - enum: - - COTS - - FOSS - type: string - LocalizedDescription: - type: object - properties: - languageCode: - type: string - longDescription: - type: string - shortDescription: - type: string - additionalProperties: false - Metadata: - type: object - properties: - totalElements: - type: integer - format: int32 - totalPages: - type: integer - format: int32 - page: - type: integer - format: int32 - contentSize: - type: integer - format: int32 - additionalProperties: false - NoContentResult: - type: object - properties: - statusCode: - type: integer - format: int32 - additionalProperties: false - OfferAgreement: - type: object - properties: - id: - type: string - format: uuid - nullable: true - name: - type: string - nullable: true - consentStatus: - type: string - nullable: true - additionalProperties: false - OfferAgreementConsent: - type: object - properties: - agreements: - type: array - items: - $ref: '#/components/schemas/AgreementConsentStatus' - additionalProperties: false - OfferAgreementConsentData: - type: object - properties: - agreementId: - type: string - format: uuid - consentStatusId: - $ref: '#/components/schemas/ConsentStatusId' - additionalProperties: false - OfferAutoSetupData: - type: object - properties: - requestId: - type: string - format: uuid - offerUrl: - type: string - additionalProperties: false - OfferAutoSetupResponseData: - type: object - properties: - technicalUserInfo: - type: array - items: - $ref: '#/components/schemas/TechnicalUserInfoData' - clientInfo: - $ref: '#/components/schemas/ClientInfoData' - additionalProperties: false - OfferCompanySubscriptionStatusResponse: - type: object - properties: - offerId: - type: string - format: uuid - offerName: - type: string - nullable: true - companySubscriptionStatuses: - type: array - items: - $ref: '#/components/schemas/CompanySubscriptionStatus' - image: - type: string - format: uuid - nullable: true - additionalProperties: false - OfferCompanySubscriptionStatusResponseResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/OfferCompanySubscriptionStatusResponse' - additionalProperties: false - OfferDeclineRequest: - type: object - properties: - message: - type: string - additionalProperties: false - OfferSorting: - enum: - - DateAsc - - DateDesc - - NameAsc - - NameDesc - type: string - OfferStatusId: - enum: - - CREATED - - IN_REVIEW - - ACTIVE - - INACTIVE - type: string - OfferStatusIdFilter: - enum: - - InReview - - All - type: string - description: Filters the OfferStatusId information - OfferSubscriptionData: - type: object - properties: - offerId: - type: string - format: uuid - status: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - additionalProperties: false - OfferSubscriptionStatusDetailData: - type: object - properties: - offerId: - type: string - format: uuid - name: - type: string - nullable: true - provider: - type: string - status: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - subscriptionId: - type: string - format: uuid - image: - type: string - format: uuid - nullable: true - additionalProperties: false - OfferSubscriptionStatusDetailDataResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/OfferSubscriptionStatusDetailData' - additionalProperties: false - OfferSubscriptionStatusId: - enum: - - PENDING - - ACTIVE - - INACTIVE - type: string - PrivacyPolicyData: - type: object - properties: - privacyPolicies: - type: array - items: - $ref: '#/components/schemas/PrivacyPolicyId' - description: Privacy Policy. - additionalProperties: false - description: model of Privacy Policy data. - PrivacyPolicyId: - enum: - - COMPANY_DATA - - USER_DATA - - LOCATION - - BROWSER_HISTORY - - NONE - type: string - ProcessStepTypeId: - enum: - - MANUAL_VERIFY_REGISTRATION - - CREATE_BUSINESS_PARTNER_NUMBER_PUSH - - CREATE_BUSINESS_PARTNER_NUMBER_PULL - - CREATE_BUSINESS_PARTNER_NUMBER_MANUAL - - CREATE_IDENTITY_WALLET - - RETRIGGER_IDENTITY_WALLET - - START_CLEARING_HOUSE - - RETRIGGER_CLEARING_HOUSE - - AWAIT_CLEARING_HOUSE_RESPONSE - - START_SELF_DESCRIPTION_LP - - RETRIGGER_SELF_DESCRIPTION_LP - - ACTIVATE_APPLICATION - - RETRIGGER_BUSINESS_PARTNER_NUMBER_PUSH - - RETRIGGER_BUSINESS_PARTNER_NUMBER_PULL - - MANUAL_TRIGGER_OVERRIDE_CLEARING_HOUSE - - START_OVERRIDE_CLEARING_HOUSE - - AWAIT_SELF_DESCRIPTION_LP_RESPONSE - - MANUAL_DECLINE_APPLICATION - - CREATE_DIM_WALLET - - AWAIT_DIM_RESPONSE_RESPONSE - - RETRIGGER_CREATE_DIM_WALLET - - VALIDATE_DID_DOCUMENT - - RETRIGGER_VALIDATE_DID_DOCUMENT - - REQUEST_BPN_CREDENTIAL - - AWAIT_BPN_CREDENTIAL_RESPONSE - - REQUEST_MEMBERSHIP_CREDENTIAL - - AWAIT_MEMBERSHIP_CREDENTIAL_RESPONSE - - TRANSMIT_BPN_DID - - RETRIGGER_TRANSMIT_DID_BPN - - RETRIGGER_REQUEST_BPN_CREDENTIAL - - RETRIGGER_REQUEST_MEMBERSHIP_CREDENTIAL - - TRIGGER_PROVIDER - - AWAIT_START_AUTOSETUP - - OFFERSUBSCRIPTION_CLIENT_CREATION - - SINGLE_INSTANCE_SUBSCRIPTION_DETAILS_CREATION - - OFFERSUBSCRIPTION_TECHNICALUSER_CREATION - - ACTIVATE_SUBSCRIPTION - - TRIGGER_PROVIDER_CALLBACK - - RETRIGGER_PROVIDER - - RETRIGGER_OFFERSUBSCRIPTION_CLIENT_CREATION - - RETRIGGER_OFFERSUBSCRIPTION_TECHNICALUSER_CREATION - - RETRIGGER_PROVIDER_CALLBACK - - MANUAL_TRIGGER_ACTIVATE_SUBSCRIPTION - - OFFERSUBSCRIPTION_CREATE_DIM_TECHNICAL_USER - - RETRIGGER_OFFERSUBSCRIPTION_CREATE_DIM_TECHNICAL_USER - - SYNCHRONIZE_USER - - RETRIGGER_SYNCHRONIZE_USER - - TRIGGER_CALLBACK_OSP_SUBMITTED - - TRIGGER_CALLBACK_OSP_APPROVED - - TRIGGER_CALLBACK_OSP_DECLINED - - RETRIGGER_CALLBACK_OSP_SUBMITTED - - RETRIGGER_CALLBACK_OSP_APPROVED - - RETRIGGER_CALLBACK_OSP_DECLINED - - MANUAL_DECLINE_OSP - - REMOVE_KEYCLOAK_USERS - - RETRIGGER_REMOVE_KEYCLOAK_USERS - - SEND_MAIL - - RETRIGGER_SEND_MAIL - - INVITATION_CREATE_CENTRAL_IDP - - INVITATION_CREATE_SHARED_IDP_SERVICE_ACCOUNT - - INVITATION_ADD_REALM_ROLE - - INVITATION_CREATE_SHARED_REALM - - INVITATION_CREATE_CENTRAL_IDP_ORG_MAPPER - - INVITATION_UPDATE_CENTRAL_IDP_URLS - - INVITATION_CREATE_SHARED_CLIENT - - INVITATION_ENABLE_CENTRAL_IDP - - INVITATION_CREATE_DATABASE_IDP - - INVITATION_CREATE_USER - - RETRIGGER_INVITATION_CREATE_CENTRAL_IDP - - RETRIGGER_INVITATION_CREATE_SHARED_IDP_SERVICE_ACCOUNT - - RETRIGGER_INVITATION_ADD_REALM_ROLE - - RETRIGGER_INVITATION_CREATE_SHARED_REALM - - RETRIGGER_INVITATION_CREATE_CENTRAL_IDP_ORG_MAPPER - - RETRIGGER_INVITATION_UPDATE_CENTRAL_IDP_URLS - - RETRIGGER_INVITATION_CREATE_SHARED_CLIENT - - RETRIGGER_INVITATION_ENABLE_CENTRAL_IDP - - RETRIGGER_INVITATION_CREATE_USER - - RETRIGGER_INVITATION_CREATE_DATABASE_IDP - - CREATE_DIM_TECHNICAL_USER - - RETRIGGER_CREATE_DIM_TECHNICAL_USER - - AWAIT_CREATE_DIM_TECHNICAL_USER_RESPONSE - - DELETE_DIM_TECHNICAL_USER - - AWAIT_DELETE_DIM_TECHNICAL_USER_RESPONSE - - RETRIGGER_DELETE_DIM_TECHNICAL_USER - - DELETE_CENTRAL_USER - - RETRIGGER_DELETE_CENTRAL_USER - - DELETE_COMPANYUSER_ASSIGNED_PROCESS - - DELETE_IDP_SHARED_REALM - - RETRIGGER_DELETE_IDP_SHARED_REALM - - DELETE_IDP_SHARED_SERVICEACCOUNT - - RETRIGGER_DELETE_IDP_SHARED_SERVICEACCOUNT - - DELETE_CENTRAL_IDENTITY_PROVIDER - - RETRIGGER_DELETE_CENTRAL_IDENTITY_PROVIDER - - DELETE_IDENTITY_PROVIDER - - SELF_DESCRIPTION_CONNECTOR_CREATION - - SELF_DESCRIPTION_COMPANY_CREATION - - RETRIGGER_SELF_DESCRIPTION_CONNECTOR_CREATION - - RETRIGGER_SELF_DESCRIPTION_COMPANY_CREATION - type: string - SubscriberSubscriptionDetailData: - type: object - properties: - id: - type: string - format: uuid - offerSubscriptionStatus: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - name: - type: string - nullable: true - provider: - type: string - contact: - type: array - items: - type: string - technicalUserData: - type: array - items: - $ref: '#/components/schemas/SubscriptionTechnicalUserData' - connectorData: - type: array - items: - $ref: '#/components/schemas/SubscriptionAssignedConnectorData' - additionalProperties: false - SubscriptionAssignedConnectorData: - type: object - properties: - id: - type: string - format: uuid - name: - type: string - endpoint: - type: string - additionalProperties: false - SubscriptionExternalServiceData: - type: object - properties: - trusted_issuer: - type: string - participant_id: - type: string - nullable: true - iatp_id: - type: string - nullable: true - did_resolver: - type: string - decentralIdentityManagementAuthUrl: - type: string - decentralIdentityManagementServiceUrl: - type: string - nullable: true - additionalProperties: false - SubscriptionStatusSorting: - enum: - - CompanyNameAsc - - CompanyNameDesc - - OfferIdAsc - - OfferIdDesc - type: string - SubscriptionTechnicalUserData: - type: object - properties: - id: - type: string - format: uuid - name: - type: string - nullable: true - permissions: - type: array - items: - type: string - additionalProperties: false - TechnicalUserInfoData: - type: object - properties: - technicalUserId: - type: string - format: uuid - technicalUserPermissions: - type: array - items: - type: string - technicalUserSecret: - type: string - nullable: true - technicalClientId: - type: string - nullable: true - additionalProperties: false - TechnicalUserProfileData: - type: object - properties: - technicalUserProfileId: - type: string - format: uuid - nullable: true - userRoleIds: - type: array - items: - type: string - format: uuid - additionalProperties: false - TechnicalUserProfileInformation: - type: object - properties: - technicalUserProfileId: - type: string - format: uuid - userRoles: - type: array - items: - $ref: '#/components/schemas/UserRoleInformation' - additionalProperties: false - UpdateTenantData: - type: object - properties: - url: - type: string - description: The new url - additionalProperties: false - description: Data to update the offer subscription url - UrlInformation: - type: object - properties: - httpMethods: - type: string - url: - type: string - additionalProperties: false - UserRoleInformation: - type: object - properties: - roleId: - type: string - format: uuid - roleName: - type: string - additionalProperties: false - securitySchemes: - Bearer: - type: apiKey - description: "JWT Authorization header using the Bearer scheme. \r\n\r\n Enter 'Bearer' [space] and then your token in the text input below.\r\n\r\nExample: \"Bearer 12345abcdef\"" - name: Authorization - in: header -security: - - Bearer: [ ] \ No newline at end of file diff --git a/portal-backend/v2.3.0-alpha.1/apps-service/swagger-ui/apps-service.yaml b/portal-backend/v2.3.0-alpha.1/apps-service/swagger-ui/apps-service.yaml deleted file mode 100644 index 58800a0..0000000 --- a/portal-backend/v2.3.0-alpha.1/apps-service/swagger-ui/apps-service.yaml +++ /dev/null @@ -1,3773 +0,0 @@ -openapi: 3.0.1 -info: - title: Org.Eclipse.TractusX.Portal.Backend.Apps.Service - version: v2.3.0-alpha.1 -paths: - '/api/apps/AppChange/{appId}/role/activeapp': - post: - tags: - - AppChange - summary: 'update app roles and related description for "active" owned app offers (Authorization required - Roles: edit_apps)' - description: 'Example: POST: /api/apps/appchange/{appId}/role/activeapp' - parameters: - - name: appId - in: path - description: '' - required: true - schema: - type: string - format: uuid - requestBody: - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/AppUserRole' - responses: - '200': - description: created role and role description successfully. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/AppRoleData' - '400': - description: 'If sub claim is empty/invalid or user does not exist, or any other parameters are invalid.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: App does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User not associated with provider company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: App provider company not set. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppChange/{appId}/appupdate/description': - get: - tags: - - AppChange - summary: 'Get description of the app by Id. (Authorization required - Roles: edit_apps)' - description: 'Example: Get: /api/apps/appchange/092bdae3-a044-4314-94f4-85c65a09e31b/appupdate/description' - parameters: - - name: appId - in: path - description: Id for the app description to retrieve. - required: true - schema: - type: string - format: uuid - example: 092bdae3-a044-4314-94f4-85c65a09e31b - responses: - '200': - description: returns list of app descriptions - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/LocalizedDescription' - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - put: - tags: - - AppChange - summary: 'Create or Update description of the app by Id. (Authorization required - Roles: edit_apps)' - description: 'Example: Put: /api/apps/appchange/092bdae3-a044-4314-94f4-85c65a09e31b/appupdate/description' - parameters: - - name: appId - in: path - description: Id for the app description to create or update. - required: true - schema: - type: string - format: uuid - example: 092bdae3-a044-4314-94f4-85c65a09e31b - requestBody: - description: app description data to create or update. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/LocalizedDescription' - responses: - '204': - description: The app description succesFully created or updated - content: - application/json: - schema: - $ref: '#/components/schemas/NoContentResult' - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppChange/{appId}/appLeadImage': - post: - tags: - - AppChange - summary: 'Upload offerassigned AppLeadImage document for active apps for given appId for same company as user (Authorization required - Roles: edit_apps)' - description: 'Example: POST: /api/apps/appchange/{appId}/appLeadImage' - parameters: - - name: appId - in: path - description: '' - required: true - schema: - type: string - format: uuid - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - document: - type: file - description: '' - format: binary - encoding: - document: - style: form - application/json: - schema: - type: object - properties: - document: - type: file - description: '' - format: binary - encoding: - document: - style: form - responses: - '204': - description: Successfully uploaded the document - content: - application/json: - schema: - $ref: '#/components/schemas/NoContentResult' - '400': - description: 'If sub claim is empty/invalid or user does not exist, or any other parameters are invalid.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: The user is not assigned with the app. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '415': - description: Only PNG and JPEG files are supported. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppChange/{appId}/deactivateApp': - put: - tags: - - AppChange - summary: 'Deactivate the OfferStatus By appId (Authorization required - Roles: edit_apps)' - description: 'Example: PUT: /api/apps/appchanges/3c77a395-a7e7-40f2-a519-ac16498e0a79/deactivateApp' - parameters: - - name: appId - in: path - description: Id of the app that should be deactive - required: true - schema: - type: string - format: uuid - example: 3c77a395-a7e7-40f2-a519-ac16498e0a79 - responses: - '204': - description: The App Successfully Deactivated - '400': - description: invalid or user does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: If app does not exists. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: Missing Permission - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Offer is in incorrect state - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppChange/{appId}/subscription/{subscriptionId}/tenantUrl': - put: - tags: - - AppChange - summary: 'Updates the url for a specific subscription (Authorization required - Roles: edit_apps)' - description: 'Example: Put: /api/apps/appchange/{appId}/subscription/{subscriptionId}/tenantUrl' - parameters: - - name: appId - in: path - description: Id of the app. - required: true - schema: - type: string - format: uuid - example: 092bdae3-a044-4314-94f4-85c65a09e31b - - name: subscriptionId - in: path - description: Id of the subscription. - required: true - schema: - type: string - format: uuid - example: 092bdae3-a044-4314-94f4-85c65a09e31b - requestBody: - description: new url for the subscription. - content: - application/json: - schema: - $ref: '#/components/schemas/UpdateTenantData' - responses: - '204': - description: The app description succesFully created or updated - content: - application/json: - schema: - $ref: '#/components/schemas/NoContentResult' - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppChange/{appId}/documents': - get: - tags: - - AppChange - summary: 'Returns the Active App Documents (Authorization required - Roles: edit_apps)' - description: 'Example: GET /apps/appchange/{appId}/documents' - parameters: - - name: appId - in: path - description: Id of the app. - required: true - schema: - type: string - format: uuid - example: 092bdae3-a044-4314-94f4-85c65a09e31b - responses: - '200': - description: Gets the Active Apps documents - content: - application/json: - schema: - $ref: '#/components/schemas/ActiveAppDocumentData' - '404': - description: If App does not exists - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppChange/{appId}/document/{documentId}': - delete: - tags: - - AppChange - summary: 'Delete Documet for an active app for given appId for same company as user (Authorization required - Roles: edit_apps)' - description: 'Example: DELETE: /api/apps/AppChange/{appId}/document/{documentId}' - parameters: - - name: appId - in: path - description: Id of the app. - required: true - schema: - type: string - format: uuid - example: 092bdae3-a044-4314-94f4-85c65a09e31b - - name: documentId - in: path - description: Id of the Document. - required: true - schema: - type: string - format: uuid - responses: - '204': - description: succesFully deleted document for an active app - content: - application/json: - schema: - $ref: '#/components/schemas/NoContentResult' - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppChange/{appId}/documentType/{documentTypeId}/documents': - post: - tags: - - AppChange - summary: 'Upload document for an active apps for given appId for same company as user (Authorization required - Roles: edit_apps)' - description: 'Example: POST: /api/apps/AppChange/{appId}/documentType/{documentTypeId}/documents' - parameters: - - name: appId - in: path - description: '' - required: true - schema: - type: string - format: uuid - - name: documentTypeId - in: path - description: '' - required: true - schema: - $ref: '#/components/schemas/DocumentTypeId' - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - document: - type: file - description: '' - format: binary - encoding: - document: - style: form - application/json: - schema: - type: object - properties: - document: - type: file - description: '' - format: binary - encoding: - document: - style: form - responses: - '204': - description: Successfully uploaded the document - content: - application/json: - schema: - $ref: '#/components/schemas/NoContentResult' - '400': - description: 'If sub claim is empty/invalid or user does not exist, or any other parameters are invalid.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: App does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: The user is not assigned with the app. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Offer is in incorrect state. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '415': - description: Only PDF files are supported. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppChange/{appId}/roles': - get: - tags: - - AppChange - summary: 'Gets the client roles for the given active app. (Authorization required - Roles: edit_apps)' - description: 'Example: GET: /api/apps/AppChange/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645/roles' - parameters: - - name: appId - in: path - description: Id of the app which roles should be returned. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - - name: languageShortName - in: query - description: 'OPTIONAL: The language short name.' - schema: - type: string - responses: - '200': - description: Returns the client roles. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ActiveAppRoleDetails' - '400': - description: The language does not exist. - '404': - description: The app was not found. - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/updateappdoc/{appId}/documentType/{documentTypeId}/documents': - put: - tags: - - AppReleaseProcess - summary: 'Upload document for apps in status CREATED and document in status PENDING in the marketplace for given appId for same company as user (Authorization required - Roles: app_management)' - description: 'Example: PUT: /api/apps/appreleaseprocess/updateappdoc/{appId}/documentType/{documentTypeId}/documents' - parameters: - - name: appId - in: path - description: '' - required: true - schema: - type: string - format: uuid - - name: documentTypeId - in: path - description: '' - required: true - schema: - $ref: '#/components/schemas/DocumentTypeId' - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - document: - type: file - description: '' - format: binary - encoding: - document: - style: form - application/json: - schema: - type: object - properties: - document: - type: file - description: '' - format: binary - encoding: - document: - style: form - responses: - '204': - description: Successfully uploaded the document - content: - application/json: - schema: - $ref: '#/components/schemas/NoContentResult' - '400': - description: 'If sub claim is empty/invalid or user does not exist, or any other parameters are invalid.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: App does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: The user is not assigned with the app. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Offer is in incorrect state. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '415': - description: Only PDF files are supported. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/{appId}/role': - post: - tags: - - AppReleaseProcess - summary: 'Add role and role description for App (Authorization required - Roles: edit_apps)' - description: 'Example: POST: /api/apps/appreleaseprocess/{appId}/role' - parameters: - - name: appId - in: path - description: '' - required: true - schema: - type: string - format: uuid - requestBody: - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/AppUserRole' - responses: - '200': - description: created role and role description successfully. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/AppRoleData' - '400': - description: 'If sub claim is empty/invalid or user does not exist, or any other parameters are invalid.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: App does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User not associated with provider company - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/apps/AppReleaseProcess/agreementData: - get: - tags: - - AppReleaseProcess - summary: 'Return Agreement Data for offer_type_id App (Authorization required - Roles: edit_apps)' - description: 'Example: GET: /api/apps/appreleaseprocess/agreementData' - responses: - '200': - description: Returns the Cpllection of agreement data - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/AgreementDocumentData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/consent/{appId}': - get: - tags: - - AppReleaseProcess - summary: 'Gets the agreement consent status for the given app id (Authorization required - Roles: edit_apps)' - description: 'Example: GET: /api/apps/appreleaseprocess/consent/{appId}' - parameters: - - name: appId - in: path - description: '' - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns the Offer Agreement Consent data - content: - application/json: - schema: - $ref: '#/components/schemas/OfferAgreementConsent' - '404': - description: App does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User not associated with offer. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/consent/{appId}/agreementConsents': - post: - tags: - - AppReleaseProcess - summary: 'Update or Insert Consent (Authorization required - Roles: edit_apps)' - description: 'Example: POST: /api/apps/appreleaseprocess/consent/{appId}/agreementConsents' - parameters: - - name: appId - in: path - description: '' - required: true - schema: - type: string - format: uuid - requestBody: - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/OfferAgreementConsent' - responses: - '200': - description: Successfully submitted consent to agreements - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ConsentStatusData' - '404': - description: App does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: Either the user was not found or the user is not assignable to the given application. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '400': - description: App Id is incorrect. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/{appId}/appStatus': - get: - tags: - - AppReleaseProcess - summary: 'Return app detail with status (Authorization required - Roles: app_management)' - description: 'Example: GET: /api/apps/appreleaseprocess/{appId}/appStatus' - parameters: - - name: appId - in: path - description: '' - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Return the Offer and status data - content: - application/json: - schema: - $ref: '#/components/schemas/AppProviderResponse' - '404': - description: App does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User not associated with provider company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/{appId}/role/{roleId}': - delete: - tags: - - AppReleaseProcess - summary: 'Removes a role from persistence layer by appId and roleId. (Authorization required - Roles: edit_apps)' - description: 'Example: DELETE: /api/apps/appreleaseprocess/{appId}/role/{roleId}' - parameters: - - name: appId - in: path - description: ID of the app to be deleted. - required: true - schema: - type: string - format: uuid - example: 5636F9B9-C3DE-4BA5-8027-00D17A2FECFB - - name: roleId - in: path - description: ID of the role to be deleted. - required: true - schema: - type: string - format: uuid - example: 5636F9B9-C3DE-4BA5-8027-00D17A2FECFB - responses: - '204': - description: Empty response on success. - content: - application/json: - schema: - $ref: '#/components/schemas/IActionResult' - '404': - description: Record not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '400': - description: Input is incorrect - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User is not associated with provider company - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/apps/AppReleaseProcess/ownCompany/salesManager: - get: - tags: - - AppReleaseProcess - summary: 'Get All Users with Role of Sales Manager (Authorization required - Roles: add_apps)' - description: 'Example: GET: /api/apps/appreleaseprocess/ownCompany/salesManager' - responses: - '200': - description: Return the Users with Role of Sales Manager. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CompanyUserNameData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/apps/AppReleaseProcess/createapp: - post: - tags: - - AppReleaseProcess - summary: 'Creates an app according to request model (Authorization required - Roles: add_apps)' - description: 'Example: POST: /api/apps/appreleaseprocess/createapp' - requestBody: - description: Request model for app creation. - content: - application/json: - schema: - $ref: '#/components/schemas/AppRequestModel' - responses: - '201': - description: Returns created app's ID. - content: - application/json: - schema: - type: string - format: uuid - '400': - description: Language Code or Use Case or CompanyId is incorrect - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User is not associated with provider company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/{appId}': - put: - tags: - - AppReleaseProcess - summary: 'Updates an app according to request model (Authorization required - Roles: edit_apps)' - description: 'Example: PUT: /api/apps/appreleaseprocess/15507472-dfdc-4885-b165-8d4a8970a3e2' - parameters: - - name: appId - in: path - description: Id of the app to update - required: true - schema: - type: string - format: uuid - example: 15507472-dfdc-4885-b165-8d4a8970a3e2 - requestBody: - description: Request model for app creation. - content: - application/json: - schema: - $ref: '#/components/schemas/AppRequestModel' - responses: - '204': - description: No Content - '400': - description: Language Code or Use Case or CompanyId is incorrect - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: App does not exist - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User don't have permission to change the app. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Offer is in inCorrect State. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '201': - description: Returns created app's ID. - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - delete: - tags: - - AppReleaseProcess - summary: 'Delete App by Id (Authorization required - Roles: edit_apps)' - description: 'Example: DELETE: /api/apps/appreleaseprocess/{appId}' - parameters: - - name: appId - in: path - description: ID of the app to be deleted. - required: true - schema: - type: string - format: uuid - example: 5636F9B9-C3DE-4BA5-8027-00D17A2FECFB - responses: - '204': - description: Empty response on success. - '400': - description: Input is incorrect. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User is not associated with provider company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Record not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/apps/AppReleaseProcess/inReview: - get: - tags: - - AppReleaseProcess - summary: 'Retrieves all in review status apps in the marketplace . (Authorization required - Roles: approve_app_release,decline_app_release)' - description: 'Example: GET: /api/apps/appreleaseprocess/inReview' - parameters: - - name: page - in: query - description: page index start from 0 - schema: - type: integer - format: int32 - default: 0 - - name: size - in: query - description: size to get number of records - schema: - type: integer - format: int32 - default: 15 - - name: sorting - in: query - description: sort by - schema: - $ref: '#/components/schemas/OfferSorting' - - name: offerStatusIdFilter - in: query - description: Filter by offerStatusId - schema: - $ref: '#/components/schemas/OfferStatusIdFilter' - responses: - '200': - description: Returns the list of all in review status marketplace apps. - content: - application/json: - schema: - $ref: '#/components/schemas/InReviewAppDataResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/{appId}/submit': - put: - tags: - - AppReleaseProcess - summary: 'Submit an app for release (Authorization required - Roles: add_apps)' - description: 'Example: PUT: /api/apps/appreleaseprocess/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645/submit' - parameters: - - name: appId - in: path - description: ID of the app. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - responses: - '204': - description: The app was successfully submitted for release. - '400': - description: 'Either the sub claim is empty/invalid, user does not exist or the subscription might not have the correct status or the companyID is incorrect.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: App does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: User not associated with company - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/{appId}/approveApp': - put: - tags: - - AppReleaseProcess - summary: 'Approve App to change status from IN_REVIEW to Active and create notification (Authorization required - Roles: approve_app_release)' - description: 'Example: PUT: /api/apps/appreleaseprocess/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645/approveApp' - parameters: - - name: appId - in: path - description: '' - required: true - schema: - type: string - format: uuid - responses: - '204': - description: The app was successfully submitted to Active State. - '404': - description: App does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: App is in InCorrect Status - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - /api/apps/AppReleaseProcess/privacyPolicies: - get: - tags: - - AppReleaseProcess - summary: 'Retrieve Privacy Policies (Authorization required - Roles: add_apps)' - description: 'Example: GET: /api/apps/appreleaseprocess/privacyPolicies' - responses: - '200': - description: Return the privacy policies - content: - application/json: - schema: - $ref: '#/components/schemas/PrivacyPolicyData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/{appId}/declineApp': - put: - tags: - - AppReleaseProcess - summary: 'Declines the app request (Authorization required - Roles: decline_app_release)' - description: 'Example: PUT: /api/apps/appreleaseprocess/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645/declineApp' - parameters: - - name: appId - in: path - description: Id of the app that should be declined - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - requestBody: - description: the data of the decline request - content: - application/json: - schema: - $ref: '#/components/schemas/OfferDeclineRequest' - responses: - '204': - description: NoContent. - '400': - description: If sub claim is empty/invalid or user does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: If app does not exists. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User does not have permission to change the app - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Offer is in incorrect state - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/inReview/{appId}': - get: - tags: - - AppReleaseProcess - summary: 'Gets InReview app details for an app referenced by id. (Authorization required - Roles: approve_app_release,decline_app_release)' - description: 'Example: GET: /api/apps/appreleaseprocess/inReview/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645' - parameters: - - name: appId - in: path - description: ID of the app to retrieve. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - responses: - '200': - description: Returns the requested app details. - content: - application/json: - schema: - $ref: '#/components/schemas/InReviewAppDetails' - '400': - description: If sub claim is empty/invalid. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: App not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/documents/{documentId}': - delete: - tags: - - AppReleaseProcess - summary: 'Delete Document Assigned to Offer (Authorization required - Roles: edit_apps)' - description: 'Example: DELETE: /api/apps/appreleaseprocess/documents/{documentId}' - parameters: - - name: documentId - in: path - description: ID of the document to be deleted. - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Empty response on success. - '404': - description: Record not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User is not allowed to delete the document - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Document or App is in InCorrect Status - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '400': - description: parameters are invalid. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/instance-type/{appId}': - post: - tags: - - AppReleaseProcess - summary: 'Sets the instance type and all related data for the app (Authorization required - Roles: edit_apps)' - description: 'Example: PUT: /api/apps/appreleaseprocess/instance-type/{appId}' - parameters: - - name: appId - in: path - description: ID of the app to be deleted. - required: true - schema: - type: string - format: uuid - example: 5636F9B9-C3DE-4BA5-8027-00D17A2FECFB - requestBody: - description: Data needed for the instance setup - content: - application/json: - schema: - $ref: '#/components/schemas/AppInstanceSetupData' - responses: - '204': - description: Empty response on success. - '400': - description: Input is incorrect. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User is not associated with provider company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Record not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/{appId}/technical-user-profiles': - get: - tags: - - AppReleaseProcess - summary: 'Retrieve app specific stored technical user profile configured to get created if a related app subscription is getting activated. (Authorization required - Roles: add_apps)' - description: 'Example: GET: /api/apps/{appId}/appreleaseprocess/technical-user-profiles' - parameters: - - name: appId - in: path - description: id of the app to receive the technical user profiles for - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns a list of profiles - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/TechnicalUserProfileInformation' - '403': - description: Requesting user is not part of the providing company for the service. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - put: - tags: - - AppReleaseProcess - summary: 'Creates and updates the technical user profiles (Authorization required - Roles: add_apps)' - description: 'Example: PUT: /api/apps/appreleaseprocess/{appId}/technical-user-profiles' - parameters: - - name: appId - in: path - description: id of the app to receive the technical user profiles for - required: true - schema: - type: string - format: uuid - requestBody: - description: The data for the update of the technical user profile - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/TechnicalUserProfileData' - responses: - '204': - description: No Content - content: - application/json: - schema: - $ref: '#/components/schemas/NoContentResult' - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: Requesting user is not part of the providing company for the service. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '200': - description: Returns a list of profiles - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/AppReleaseProcess/{appId}/roles': - get: - tags: - - AppReleaseProcess - summary: 'Gets the app providers an overview of configures app roles. (Authorization required - Roles: add_apps)' - description: 'Example: GET: /api/apps/AppChange/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645/roles' - parameters: - - name: appId - in: path - description: Id of the app which roles should be returned. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - - name: languageShortName - in: query - description: 'OPTIONAL: The language short name.' - schema: - type: string - responses: - '200': - description: Returns the client roles. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ActiveAppRoleDetails' - '404': - description: The app was not found. - '403': - description: The app is not the provider of the company - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/apps/active: - get: - tags: - - Apps - summary: 'Retrieves all active apps in the marketplace. (Authorization required - Roles: view_apps)' - description: 'Example: GET: /api/apps/active' - parameters: - - name: lang - in: query - description: Optional two character language specifier for the app description. Will be empty if not provided. - schema: - type: string - example: en - responses: - '200': - description: Returns the list of all active marketplace apps. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/AppData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/apps/business: - get: - tags: - - Apps - summary: 'Get all apps that currently logged in user has been assigned roles in. (Authorization required - Roles: view_apps)' - description: 'Example: GET: /api/apps/business' - responses: - '200': - description: Returns the list of the user's business apps. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/BusinessAppData' - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/{appId}': - get: - tags: - - Apps - summary: 'Retrieves app details for an app referenced by id. (Authorization required - Roles: view_apps)' - description: 'Example: GET: /api/apps/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645' - operationId: GetAppDetailsByIdAsync - parameters: - - name: appId - in: path - description: ID of the app to retrieve. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - - name: lang - in: query - description: Optional two character language specifier for the app description. Will be empty if not provided. - schema: - type: string - example: en - responses: - '200': - description: Returns the requested app details. - content: - application/json: - schema: - $ref: '#/components/schemas/AppDetailResponse' - '404': - description: App not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/apps/favourites: - get: - tags: - - Apps - summary: 'Retrieves IDs of all favourite apps of the current user (by sub claim). (Authorization required - Roles: view_apps)' - description: 'Example: GET: /api/apps/favourites' - responses: - '200': - description: Returns the list of favourite apps of current user. - content: - application/json: - schema: - type: array - items: - type: string - format: uuid - '400': - description: If sub claim is empty/invalid. - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/{appId}/favourite': - post: - tags: - - Apps - summary: 'Adds an app to current user''s favourites. (Authorization required - Roles: view_apps)' - description: 'Example: POST: /api/apps/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645/favourite' - parameters: - - name: appId - in: path - description: ID of the app to add to user favourites. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - responses: - '204': - description: Favourite app was successfully added to user. - '400': - description: If sub claim is empty/invalid or user does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - delete: - tags: - - Apps - summary: 'Removes an app from current user''s favourites. (Authorization required - Roles: view_apps)' - description: 'Example: DELETE: /api/apps/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645/favourite' - parameters: - - name: appId - in: path - description: ID of the app to remove from user favourites. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - responses: - '204': - description: Favourite app was successfully removed from user. - '400': - description: If sub claim is empty/invalid or user does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/apps/subscribed/subscription-status: - get: - tags: - - Apps - summary: 'Retrieves subscription statuses of apps. (Authorization required - Roles: view_subscription)' - description: 'Example: GET: /api/apps/subscribed/subscription-status' - parameters: - - name: page - in: query - description: The page that should be displayed - schema: - type: integer - format: int32 - default: 0 - - name: size - in: query - description: The size per page of elements that should be returned - schema: - type: integer - format: int32 - default: 15 - - name: status - in: query - description: 'Filter for the offer subscription status. If not set, all elements will be returned' - schema: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - - name: name - in: query - description: An optional search query for the name - schema: - type: string - responses: - '200': - description: Returns list of applicable apps subscription statuses. - content: - application/json: - schema: - $ref: '#/components/schemas/OfferSubscriptionStatusDetailDataResponse' - '400': - description: If sub claim is empty/invalid or user does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/apps/provided/subscription-status: - get: - tags: - - Apps - summary: 'Retrieves subscription statuses of provided apps of the currently logged in user''s company. (Authorization required - Roles: view_app_subscription)' - description: 'Example: GET: /api/apps/provided/subscription-status' - parameters: - - name: page - in: query - schema: - type: integer - format: int32 - default: 0 - - name: size - in: query - schema: - type: integer - format: int32 - default: 15 - - name: sorting - in: query - schema: - $ref: '#/components/schemas/SubscriptionStatusSorting' - - name: statusId - in: query - schema: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - - name: offerId - in: query - schema: - type: string - format: uuid - - name: companyName - in: query - schema: - type: string - responses: - '200': - description: Returns list of applicable app subscription statuses. - content: - application/json: - schema: - $ref: '#/components/schemas/OfferCompanySubscriptionStatusResponseResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/{appId}/subscribe': - post: - tags: - - Apps - summary: 'Adds an app to current user''s company''s subscriptions. (Authorization required - Roles: subscribe_apps)' - description: 'Example: POST: /api/apps/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645/subscribe' - parameters: - - name: appId - in: path - description: ID of the app to subscribe to. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - requestBody: - description: The agreement consent data - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/OfferAgreementConsentData' - responses: - '204': - description: App was successfully subscribed to. - '400': - description: If sub claim is empty/invalid or user does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: If appId does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - '/api/apps/appAgreementData/{appId}': - get: - tags: - - Apps - summary: 'Retrieve all app marketplace agreements mandatory to be agreed before releasing an app on the CX marketplace (Authorization required - Roles: subscribe_apps)' - description: 'Example: GET: /api/apps/appAgreementData/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645' - parameters: - - name: appId - in: path - description: Id for the app consent to retrieve. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - responses: - '200': - description: Returns the app agreement data. - content: - application/json: - schema: - $ref: '#/components/schemas/AgreementData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/subscription/{subscriptionId}/activate': - put: - tags: - - Apps - summary: 'Activates a pending app subscription. (Authorization required - Roles: activate_subscription)' - description: 'Example: PUT: /api/apps/subscription/{subscriptiondId}/activate' - parameters: - - name: subscriptionId - in: path - description: ID of the subscription to activate. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - responses: - '204': - description: App subscription was successfully activated. - '400': - description: 'If sub claim is empty/invalid or user does not exist, or any other parameters are invalid.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: 'If sub claim is empty/invalid or user does not exist, or any other parameters are invalid.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - '/api/apps/{subscriptionId}/unsubscribe': - put: - tags: - - Apps - summary: 'Unsubscribes an app from the current user''s company''s subscriptions. (Authorization required - Roles: unsubscribe_apps)' - description: 'Example: PUT: /api/apps/{subscriptionId}/unsubscribe' - parameters: - - name: subscriptionId - in: path - description: ID of the subscription to unsubscribe from. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - responses: - '204': - description: The app was successfully unsubscribed from. - '400': - description: 'Either the sub claim is empty/invalid, user does not exist or the subscription might not have the correct status or the companyID is incorrect.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: App does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/apps/provided: - get: - tags: - - Apps - summary: 'Get all company owned apps. (Authorization required - Roles: app_management)' - description: 'Example: GET: /api/apps/provided' - parameters: - - name: page - in: query - schema: - type: integer - format: int32 - default: 0 - - name: size - in: query - schema: - type: integer - format: int32 - default: 15 - - name: sorting - in: query - schema: - $ref: '#/components/schemas/OfferSorting' - - name: offerName - in: query - schema: - type: string - - name: statusId - in: query - description: Filters the OfferStatusId information - schema: - $ref: '#/components/schemas/AppStatusIdFilter' - responses: - '200': - description: Returns list of apps provided by the user assigned company. - content: - application/json: - schema: - $ref: '#/components/schemas/AllOfferDataResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/apps/autoSetup: - post: - tags: - - Apps - summary: 'Auto setup the app (Authorization required - Roles: activate_subscription)' - description: 'Example: POST: /api/apps/autoSetup' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/OfferAutoSetupData' - responses: - '200': - description: Returns the app agreement data. - content: - application/json: - schema: - $ref: '#/components/schemas/OfferAutoSetupResponseData' - '400': - description: Offer Subscription is pending or not the providing company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Offer Subscription not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - deprecated: true - /api/apps/start-autoSetup: - post: - tags: - - Apps - summary: 'Auto setup the app (Authorization required - Roles: activate_subscription)' - description: 'Example: POST: /api/apps/start-autoSetup' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/OfferAutoSetupData' - responses: - '204': - description: The auto setup has successfully been started. - '400': - description: Offer Subscription is pending or not the providing company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Offer Subscription not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/subscription/{offerSubscriptionId}/activate-single-instance': - put: - tags: - - Apps - summary: 'Triggers the activation of a single instance app subscription (Authorization required - Roles: activate_subscription)' - description: 'Example: PUT: /api/apps/subscription/{offerSubscriptionId}/activate-single-instance' - parameters: - - name: offerSubscriptionId - in: path - required: true - schema: - type: string - format: uuid - responses: - '204': - description: The activation of the subscription has successfully been started. - '400': - description: Offer Subscription is pending or not the providing company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Offer Subscription not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/{appId}/appDocuments/{documentId}': - get: - tags: - - Apps - summary: 'Retrieve Document Content for document type "App Lead Image" and "App Image" by ID (Authorization required - Roles: view_documents)' - description: 'Example: GET: /api/apps/{appId}/appDocuments/{documentId}' - parameters: - - name: appId - in: path - description: '' - required: true - schema: - type: string - format: uuid - - name: documentId - in: path - description: '' - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns the document Content - content: - image/jpeg: - schema: - type: string - format: binary - image/png: - schema: - type: string - format: binary - image/gif: - schema: - type: string - format: binary - image/svg+xml: - schema: - type: string - format: binary - image/tiff: - schema: - type: string - format: binary - application/pdf: - schema: - type: string - format: binary - application/json: - schema: - type: string - format: binary - '400': - description: Document / App id not found or document type not supported. - content: - image/jpeg: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/png: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/gif: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/svg+xml: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/tiff: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/pdf: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: document not found. - content: - image/jpeg: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/png: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/gif: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/svg+xml: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/tiff: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/pdf: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '415': - description: UnSupported Media Type. - content: - image/jpeg: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/png: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/gif: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/svg+xml: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/tiff: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/pdf: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/{appId}/subscription/{subscriptionId}/provider': - get: - tags: - - Apps - summary: 'Retrieves the details of a subscription (Authorization required - Roles: app_management)' - description: 'Example: GET: /api/apps/{appId}/subscription/{subscriptionId}/provider' - parameters: - - name: appId - in: path - description: id of the app to receive the details for - required: true - schema: - type: string - format: uuid - - name: subscriptionId - in: path - description: id of the subscription to receive the details for - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns the subscription details for the provider - content: - application/json: - schema: - $ref: '#/components/schemas/AppProviderSubscriptionDetailData' - '403': - description: User's company does not provide the app. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No app or subscription found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/apps/{appId}/subscription/{subscriptionId}/subscriber': - get: - tags: - - Apps - summary: 'Retrieves the details of a subscription (Authorization required - Roles: subscribe_apps)' - description: 'Example: GET: /api/apps/{appId}/subscription/{subscriptionId}/subscriber' - parameters: - - name: appId - in: path - description: id of the app to receive the details for - required: true - schema: - type: string - format: uuid - - name: subscriptionId - in: path - description: id of the subscription to receive the details for - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns the subscription details for the subscriber - content: - application/json: - schema: - $ref: '#/components/schemas/SubscriberSubscriptionDetailData' - '403': - description: User's company does not provide the app. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No app or subscription found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/apps/subscribed/activesubscriptions: - get: - tags: - - Apps - summary: 'Retrieves Active subscription statuses of apps. (Authorization required - Roles: view_subscription)' - description: 'Example: GET: /api/apps/subscribed/activesubscriptions' - responses: - '200': - description: Returns list of applicable active apps subscription statuses. - content: - application/json: - schema: - $ref: '#/components/schemas/ActiveOfferSubscriptionStatusData' - '400': - description: If sub claim is empty/invalid or user does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/apps/subscribed/subscriptions: - get: - tags: - - Apps - summary: 'Retrieves subscription statuses of apps. (Authorization required - Roles: view_subscription)' - description: 'Example: GET: /api/apps/subscribed/subscriptions' - responses: - '200': - description: Returns list of applicable active apps subscription statuses. - content: - application/json: - schema: - $ref: '#/components/schemas/OfferSubscriptionData' - '400': - description: If sub claim is empty/invalid or user does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/apps/errormessage: - get: - tags: - - ErrorMessage - responses: - '200': - description: OK - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ErrorMessageType' - '500': - description: Internal Server Error - /api/info: - get: - tags: - - OpenInformation - summary: ' (Authorization required)' - responses: - '200': - description: OK - content: - text/plain: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - text/json: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized -components: - schemas: - ActiveAppDocumentData: - type: object - properties: - documents: - type: object - properties: - CX_FRAME_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMMERCIAL_REGISTER_EXTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_REGISTRATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - ADDITIONAL_DETAILS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_IMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SELF_DESCRIPTION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_TECHNICAL_INFORMATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_CONNECTOR: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_BUSINESS_APPS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_SERVICES: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SERVICE_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - PRESENTATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMPANY_CERTIFICATE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - additionalProperties: false - description: Id of the App. - additionalProperties: false - description: View model of an Active App Documents - ActiveAppRoleDetails: - type: object - properties: - roleId: - type: string - format: uuid - role: - type: string - descriptions: - type: array - items: - $ref: '#/components/schemas/ActiveAppUserRoleDescription' - additionalProperties: false - ActiveAppUserRoleDescription: - type: object - properties: - languageCode: - type: string - description: - type: string - additionalProperties: false - ActiveOfferSubscriptionStatusData: - type: object - properties: - offerId: - type: string - format: uuid - name: - type: string - nullable: true - provider: - type: string - image: - type: string - format: uuid - nullable: true - subscriptionId: - type: string - format: uuid - additionalProperties: false - AgreementConsentStatus: - type: object - properties: - agreementId: - type: string - format: uuid - consentStatus: - $ref: '#/components/schemas/ConsentStatusId' - additionalProperties: false - AgreementData: - type: object - properties: - agreementId: - type: string - format: uuid - name: - type: string - mandatory: - type: boolean - additionalProperties: false - AgreementDocumentData: - type: object - properties: - agreementId: - type: string - format: uuid - name: - type: string - agreementLink: - type: string - nullable: true - documentId: - type: string - format: uuid - nullable: true - mandatory: - type: boolean - additionalProperties: false - AllOfferData: - type: object - properties: - id: - type: string - format: uuid - name: - type: string - nullable: true - leadPictureId: - type: string - format: uuid - provider: - type: string - status: - $ref: '#/components/schemas/OfferStatusId' - lastChanged: - type: string - format: date-time - nullable: true - additionalProperties: false - AllOfferDataResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/AllOfferData' - additionalProperties: false - AppData: - type: object - properties: - id: - type: string - description: Id of the App. - format: uuid - name: - type: string - description: Name of the app. - shortDescription: - type: string - description: Short description. - provider: - type: string - description: Provider. - licenseType: - $ref: '#/components/schemas/LicenseTypeId' - price: - type: string - description: Price. - leadPictureId: - type: string - description: Lead pircture Id. - format: uuid - useCases: - type: array - items: - type: string - description: The apps use cases. - additionalProperties: false - description: View model of an application's base data. - AppDetailResponse: - type: object - properties: - id: - type: string - description: ID of the app. - format: uuid - title: - type: string - description: Title or name of the app. - leadPictureId: - type: string - description: Uri to app's lead picture. - format: uuid - images: - type: array - items: - type: string - format: uuid - description: List of Images to app's secondary pictures. - providerUri: - type: string - description: Uri to provider's marketing presence. - provider: - type: string - description: Provider of the app. - contactEmail: - type: string - description: Email address of the app's primary contact. - nullable: true - contactNumber: - type: string - description: Phone number of the app's primary contact. - nullable: true - useCases: - type: array - items: - $ref: '#/components/schemas/AppUseCaseData' - description: Names of the app's use cases. - longDescription: - type: string - description: Long description of the app. - licenseType: - $ref: '#/components/schemas/LicenseTypeId' - price: - type: string - description: Pricing information of the app. - tags: - type: array - items: - type: string - description: Tags assigned to application. - isSubscribed: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - languages: - type: array - items: - type: string - description: Languages that the app is available in. - documents: - type: object - properties: - CX_FRAME_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMMERCIAL_REGISTER_EXTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_REGISTRATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - ADDITIONAL_DETAILS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_IMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SELF_DESCRIPTION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_TECHNICAL_INFORMATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_CONNECTOR: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_BUSINESS_APPS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_SERVICES: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SERVICE_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - PRESENTATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMPANY_CERTIFICATE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - additionalProperties: false - description: documents assigned to offer - privacyPolicies: - type: array - items: - $ref: '#/components/schemas/PrivacyPolicyId' - description: Privacy Policies assigned to offer - isSingleInstance: - type: boolean - description: Defines whether the app is a single instance - technicalUserProfile: - type: object - additionalProperties: - type: array - items: - type: string - description: Technical User Profile for app - additionalProperties: false - description: View model of an application's detailed data. - AppInstanceSetupData: - type: object - properties: - isSingleInstance: - type: boolean - description: '`true` if the service is an single instance service, otherwise `false`' - instanceUrl: - type: string - description: Only required if is true - nullable: true - additionalProperties: false - description: Request Model to set or update the app instance type and all related data. - AppProviderResponse: - type: object - properties: - title: - type: string - description: title of the offer - nullable: true - provider: - type: string - description: provider name - leadPictureId: - type: string - description: id of the lead picture - format: uuid - providerName: - type: string - description: provider name - nullable: true - useCase: - type: array - items: - $ref: '#/components/schemas/AppUseCaseData' - description: list of use cases - descriptions: - type: array - items: - $ref: '#/components/schemas/LocalizedDescription' - description: the offer descriptions - agreements: - type: array - items: - $ref: '#/components/schemas/OfferAgreement' - description: the assigned agreements - supportedLanguageCodes: - type: array - items: - type: string - description: the supported language codes - price: - type: string - description: the app price - nullable: true - images: - type: array - items: - type: string - format: uuid - description: list of the images - providerUri: - type: string - description: the provider uri - nullable: true - contactEmail: - type: string - description: contact email - nullable: true - contactNumber: - type: string - description: contact number - nullable: true - documents: - type: object - properties: - CX_FRAME_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMMERCIAL_REGISTER_EXTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_REGISTRATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - ADDITIONAL_DETAILS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_IMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SELF_DESCRIPTION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_TECHNICAL_INFORMATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_CONNECTOR: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_BUSINESS_APPS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_SERVICES: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SERVICE_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - PRESENTATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMPANY_CERTIFICATE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - additionalProperties: false - description: list of linked documents - salesManagerId: - type: string - description: id of the salesmanager - format: uuid - nullable: true - privacyPolicies: - type: array - items: - $ref: '#/components/schemas/PrivacyPolicyId' - description: the privacy policies - technicalUserProfile: - type: object - additionalProperties: - type: array - items: - type: string - description: the technicalUser Profile - additionalProperties: false - description: Response for the app creation - AppProviderSubscriptionDetailData: - type: object - properties: - id: - type: string - format: uuid - offerSubscriptionStatus: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - name: - type: string - nullable: true - customer: - type: string - bpn: - type: string - nullable: true - contact: - type: array - items: - type: string - technicalUserData: - type: array - items: - $ref: '#/components/schemas/SubscriptionTechnicalUserData' - connectorData: - type: array - items: - $ref: '#/components/schemas/SubscriptionAssignedConnectorData' - tenantUrl: - type: string - nullable: true - appInstanceId: - type: string - processStepTypeId: - $ref: '#/components/schemas/ProcessStepTypeId' - externalService: - $ref: '#/components/schemas/SubscriptionExternalServiceData' - additionalProperties: false - AppRequestModel: - type: object - properties: - title: - type: string - description: Title - nullable: true - salesManagerId: - type: string - description: SalesManagerId - format: uuid - nullable: true - useCaseIds: - type: array - items: - type: string - format: uuid - description: UseCaseIds - descriptions: - type: array - items: - $ref: '#/components/schemas/LocalizedDescription' - description: Descriptions - supportedLanguageCodes: - type: array - items: - type: string - description: SupportedLanguageCodes - price: - type: string - description: Price - privacyPolicies: - type: array - items: - $ref: '#/components/schemas/PrivacyPolicyId' - description: Price - providerUri: - type: string - description: Price - nullable: true - contactEmail: - type: string - description: Price - nullable: true - contactNumber: - type: string - description: Price - nullable: true - additionalProperties: false - description: Request Model for App Creation. - AppRoleData: - type: object - properties: - roleId: - type: string - description: '' - format: uuid - roleName: - type: string - description: '' - additionalProperties: false - description: Model for Role Data - AppStatusIdFilter: - enum: - - Active - - Inactive - - WIP - - All - type: string - description: Filters the OfferStatusId information - AppUseCaseData: - type: object - properties: - id: - type: string - format: uuid - label: - type: string - additionalProperties: false - AppUserRole: - type: object - properties: - role: - type: string - description: '' - descriptions: - type: array - items: - $ref: '#/components/schemas/AppUserRoleDescription' - description: '' - additionalProperties: false - description: Model for Input Role - AppUserRoleDescription: - type: object - properties: - languageCode: - type: string - description: '' - description: - type: string - description: '' - additionalProperties: false - description: Model for Role Description - BusinessAppData: - type: object - properties: - id: - type: string - format: uuid - subscriptionId: - type: string - format: uuid - name: - type: string - uri: - type: string - leadPictureId: - type: string - format: uuid - provider: - type: string - additionalProperties: false - ClientInfoData: - type: object - properties: - clientId: - type: string - clientUrl: - type: string - additionalProperties: false - CompanySubscriptionStatus: - type: object - properties: - companyId: - type: string - format: uuid - companyName: - type: string - subscriptionId: - type: string - format: uuid - offerSubscriptionStatus: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - country: - type: string - nullable: true - bpnNumber: - type: string - nullable: true - email: - type: string - nullable: true - technicalUser: - type: boolean - processStepTypeId: - $ref: '#/components/schemas/ProcessStepTypeId' - additionalProperties: false - CompanyUserNameData: - type: object - properties: - userId: - type: string - format: uuid - firstName: - type: string - nullable: true - lastName: - type: string - nullable: true - additionalProperties: false - ConsentStatusData: - type: object - properties: - agreementId: - type: string - format: uuid - consentStatus: - $ref: '#/components/schemas/ConsentStatusId' - additionalProperties: false - ConsentStatusId: - enum: - - ACTIVE - - INACTIVE - type: string - DocumentData: - type: object - properties: - documentId: - type: string - format: uuid - documentName: - type: string - additionalProperties: false - DocumentTypeId: - enum: - - CX_FRAME_CONTRACT - - COMMERCIAL_REGISTER_EXTRACT - - APP_CONTRACT - - CONFORMITY_APPROVAL_REGISTRATION - - ADDITIONAL_DETAILS - - APP_LEADIMAGE - - APP_IMAGE - - SELF_DESCRIPTION - - APP_TECHNICAL_INFORMATION - - CONFORMITY_APPROVAL_CONNECTOR - - CONFORMITY_APPROVAL_BUSINESS_APPS - - CONFORMITY_APPROVAL_SERVICES - - SERVICE_LEADIMAGE - - PRESENTATION - - COMPANY_CERTIFICATE - type: string - ErrorDetails: - type: object - properties: - errorCode: - type: string - type: - type: string - message: - type: string - parameters: - type: array - items: - $ref: '#/components/schemas/ErrorParameter' - additionalProperties: false - ErrorMessageCode: - type: object - properties: - errorCode: - type: string - message: - type: string - additionalProperties: false - ErrorMessageType: - type: object - properties: - errorType: - type: string - errorMessages: - type: array - items: - $ref: '#/components/schemas/ErrorMessageCode' - additionalProperties: false - ErrorParameter: - type: object - properties: - name: - type: string - value: - type: string - additionalProperties: false - ErrorResponse: - type: object - properties: - type: - type: string - title: - type: string - status: - type: integer - format: int32 - errors: - type: object - additionalProperties: - type: array - items: - type: string - errorId: - type: string - details: - type: array - items: - $ref: '#/components/schemas/ErrorDetails' - nullable: true - additionalProperties: false - IActionResult: - type: object - additionalProperties: false - InReviewAppData: - type: object - properties: - appId: - type: string - format: uuid - name: - type: string - nullable: true - provider: - type: string - status: - $ref: '#/components/schemas/OfferStatusId' - additionalProperties: false - InReviewAppDataResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/InReviewAppData' - additionalProperties: false - InReviewAppDetails: - type: object - properties: - id: - type: string - description: ID of the app. - format: uuid - title: - type: string - description: Title or name of the app. - leadPictureId: - type: string - description: Uri to app's lead picture. - format: uuid - images: - type: array - items: - type: string - format: uuid - description: List of Images to app's secondary pictures. - provider: - type: string - description: Provider of the app. - useCases: - type: array - items: - type: string - description: Names of the app's use cases. - description: - type: array - items: - $ref: '#/components/schemas/LocalizedDescription' - description: description of the app. - documents: - type: object - properties: - CX_FRAME_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMMERCIAL_REGISTER_EXTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_REGISTRATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - ADDITIONAL_DETAILS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_IMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SELF_DESCRIPTION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_TECHNICAL_INFORMATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_CONNECTOR: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_BUSINESS_APPS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_SERVICES: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SERVICE_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - PRESENTATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMPANY_CERTIFICATE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - additionalProperties: false - description: documents assigned to offer - roles: - type: array - items: - type: string - description: Roles assigned to offer - languages: - type: array - items: - type: string - description: Languages that the app is available in. - providerUri: - type: string - description: Uri to provider's marketing presence. - contactEmail: - type: string - description: Email address of the app's primary contact. - nullable: true - contactNumber: - type: string - description: Phone number of the app's primary contact. - nullable: true - licenseType: - $ref: '#/components/schemas/LicenseTypeId' - price: - type: string - description: Pricing information of the app. - tags: - type: array - items: - type: string - description: Tags assigned to application. - privacyPolicies: - type: array - items: - $ref: '#/components/schemas/PrivacyPolicyId' - description: Privacy policy assigned to app. - offerStatusId: - $ref: '#/components/schemas/OfferStatusId' - technicalUserProfile: - type: object - additionalProperties: - type: array - items: - type: string - description: TechnicalUserProfile of the User. - additionalProperties: false - description: View model of an application's detailed data. - LicenseTypeId: - enum: - - COTS - - FOSS - type: string - LocalizedDescription: - type: object - properties: - languageCode: - type: string - longDescription: - type: string - shortDescription: - type: string - additionalProperties: false - Metadata: - type: object - properties: - totalElements: - type: integer - format: int32 - totalPages: - type: integer - format: int32 - page: - type: integer - format: int32 - contentSize: - type: integer - format: int32 - additionalProperties: false - NoContentResult: - type: object - properties: - statusCode: - type: integer - format: int32 - additionalProperties: false - OfferAgreement: - type: object - properties: - id: - type: string - format: uuid - nullable: true - name: - type: string - nullable: true - consentStatus: - type: string - nullable: true - additionalProperties: false - OfferAgreementConsent: - type: object - properties: - agreements: - type: array - items: - $ref: '#/components/schemas/AgreementConsentStatus' - additionalProperties: false - OfferAgreementConsentData: - type: object - properties: - agreementId: - type: string - format: uuid - consentStatusId: - $ref: '#/components/schemas/ConsentStatusId' - additionalProperties: false - OfferAutoSetupData: - type: object - properties: - requestId: - type: string - format: uuid - offerUrl: - type: string - additionalProperties: false - OfferAutoSetupResponseData: - type: object - properties: - technicalUserInfo: - type: array - items: - $ref: '#/components/schemas/TechnicalUserInfoData' - clientInfo: - $ref: '#/components/schemas/ClientInfoData' - additionalProperties: false - OfferCompanySubscriptionStatusResponse: - type: object - properties: - offerId: - type: string - format: uuid - offerName: - type: string - nullable: true - companySubscriptionStatuses: - type: array - items: - $ref: '#/components/schemas/CompanySubscriptionStatus' - image: - type: string - format: uuid - nullable: true - additionalProperties: false - OfferCompanySubscriptionStatusResponseResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/OfferCompanySubscriptionStatusResponse' - additionalProperties: false - OfferDeclineRequest: - type: object - properties: - message: - type: string - additionalProperties: false - OfferSorting: - enum: - - DateAsc - - DateDesc - - NameAsc - - NameDesc - type: string - OfferStatusId: - enum: - - CREATED - - IN_REVIEW - - ACTIVE - - INACTIVE - type: string - OfferStatusIdFilter: - enum: - - InReview - - All - type: string - description: Filters the OfferStatusId information - OfferSubscriptionData: - type: object - properties: - offerId: - type: string - format: uuid - status: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - additionalProperties: false - OfferSubscriptionStatusDetailData: - type: object - properties: - offerId: - type: string - format: uuid - name: - type: string - nullable: true - provider: - type: string - status: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - subscriptionId: - type: string - format: uuid - image: - type: string - format: uuid - nullable: true - additionalProperties: false - OfferSubscriptionStatusDetailDataResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/OfferSubscriptionStatusDetailData' - additionalProperties: false - OfferSubscriptionStatusId: - enum: - - PENDING - - ACTIVE - - INACTIVE - type: string - PrivacyPolicyData: - type: object - properties: - privacyPolicies: - type: array - items: - $ref: '#/components/schemas/PrivacyPolicyId' - description: Privacy Policy. - additionalProperties: false - description: model of Privacy Policy data. - PrivacyPolicyId: - enum: - - COMPANY_DATA - - USER_DATA - - LOCATION - - BROWSER_HISTORY - - NONE - type: string - ProcessStepTypeId: - enum: - - MANUAL_VERIFY_REGISTRATION - - CREATE_BUSINESS_PARTNER_NUMBER_PUSH - - CREATE_BUSINESS_PARTNER_NUMBER_PULL - - CREATE_BUSINESS_PARTNER_NUMBER_MANUAL - - CREATE_IDENTITY_WALLET - - RETRIGGER_IDENTITY_WALLET - - START_CLEARING_HOUSE - - RETRIGGER_CLEARING_HOUSE - - AWAIT_CLEARING_HOUSE_RESPONSE - - START_SELF_DESCRIPTION_LP - - RETRIGGER_SELF_DESCRIPTION_LP - - ACTIVATE_APPLICATION - - RETRIGGER_BUSINESS_PARTNER_NUMBER_PUSH - - RETRIGGER_BUSINESS_PARTNER_NUMBER_PULL - - MANUAL_TRIGGER_OVERRIDE_CLEARING_HOUSE - - START_OVERRIDE_CLEARING_HOUSE - - AWAIT_SELF_DESCRIPTION_LP_RESPONSE - - MANUAL_DECLINE_APPLICATION - - CREATE_DIM_WALLET - - AWAIT_DIM_RESPONSE_RESPONSE - - RETRIGGER_CREATE_DIM_WALLET - - VALIDATE_DID_DOCUMENT - - RETRIGGER_VALIDATE_DID_DOCUMENT - - REQUEST_BPN_CREDENTIAL - - AWAIT_BPN_CREDENTIAL_RESPONSE - - REQUEST_MEMBERSHIP_CREDENTIAL - - AWAIT_MEMBERSHIP_CREDENTIAL_RESPONSE - - TRANSMIT_BPN_DID - - RETRIGGER_TRANSMIT_DID_BPN - - RETRIGGER_REQUEST_BPN_CREDENTIAL - - RETRIGGER_REQUEST_MEMBERSHIP_CREDENTIAL - - TRIGGER_PROVIDER - - AWAIT_START_AUTOSETUP - - OFFERSUBSCRIPTION_CLIENT_CREATION - - SINGLE_INSTANCE_SUBSCRIPTION_DETAILS_CREATION - - OFFERSUBSCRIPTION_TECHNICALUSER_CREATION - - ACTIVATE_SUBSCRIPTION - - TRIGGER_PROVIDER_CALLBACK - - RETRIGGER_PROVIDER - - RETRIGGER_OFFERSUBSCRIPTION_CLIENT_CREATION - - RETRIGGER_OFFERSUBSCRIPTION_TECHNICALUSER_CREATION - - RETRIGGER_PROVIDER_CALLBACK - - MANUAL_TRIGGER_ACTIVATE_SUBSCRIPTION - - OFFERSUBSCRIPTION_CREATE_DIM_TECHNICAL_USER - - RETRIGGER_OFFERSUBSCRIPTION_CREATE_DIM_TECHNICAL_USER - - SYNCHRONIZE_USER - - RETRIGGER_SYNCHRONIZE_USER - - TRIGGER_CALLBACK_OSP_SUBMITTED - - TRIGGER_CALLBACK_OSP_APPROVED - - TRIGGER_CALLBACK_OSP_DECLINED - - RETRIGGER_CALLBACK_OSP_SUBMITTED - - RETRIGGER_CALLBACK_OSP_APPROVED - - RETRIGGER_CALLBACK_OSP_DECLINED - - MANUAL_DECLINE_OSP - - REMOVE_KEYCLOAK_USERS - - RETRIGGER_REMOVE_KEYCLOAK_USERS - - SEND_MAIL - - RETRIGGER_SEND_MAIL - - INVITATION_CREATE_CENTRAL_IDP - - INVITATION_CREATE_SHARED_IDP_SERVICE_ACCOUNT - - INVITATION_ADD_REALM_ROLE - - INVITATION_CREATE_SHARED_REALM - - INVITATION_CREATE_CENTRAL_IDP_ORG_MAPPER - - INVITATION_UPDATE_CENTRAL_IDP_URLS - - INVITATION_CREATE_SHARED_CLIENT - - INVITATION_ENABLE_CENTRAL_IDP - - INVITATION_CREATE_DATABASE_IDP - - INVITATION_CREATE_USER - - RETRIGGER_INVITATION_CREATE_CENTRAL_IDP - - RETRIGGER_INVITATION_CREATE_SHARED_IDP_SERVICE_ACCOUNT - - RETRIGGER_INVITATION_ADD_REALM_ROLE - - RETRIGGER_INVITATION_CREATE_SHARED_REALM - - RETRIGGER_INVITATION_CREATE_CENTRAL_IDP_ORG_MAPPER - - RETRIGGER_INVITATION_UPDATE_CENTRAL_IDP_URLS - - RETRIGGER_INVITATION_CREATE_SHARED_CLIENT - - RETRIGGER_INVITATION_ENABLE_CENTRAL_IDP - - RETRIGGER_INVITATION_CREATE_USER - - RETRIGGER_INVITATION_CREATE_DATABASE_IDP - - CREATE_DIM_TECHNICAL_USER - - RETRIGGER_CREATE_DIM_TECHNICAL_USER - - AWAIT_CREATE_DIM_TECHNICAL_USER_RESPONSE - - DELETE_DIM_TECHNICAL_USER - - AWAIT_DELETE_DIM_TECHNICAL_USER_RESPONSE - - RETRIGGER_DELETE_DIM_TECHNICAL_USER - - DELETE_CENTRAL_USER - - RETRIGGER_DELETE_CENTRAL_USER - - DELETE_COMPANYUSER_ASSIGNED_PROCESS - - DELETE_IDP_SHARED_REALM - - RETRIGGER_DELETE_IDP_SHARED_REALM - - DELETE_IDP_SHARED_SERVICEACCOUNT - - RETRIGGER_DELETE_IDP_SHARED_SERVICEACCOUNT - - DELETE_CENTRAL_IDENTITY_PROVIDER - - RETRIGGER_DELETE_CENTRAL_IDENTITY_PROVIDER - - DELETE_IDENTITY_PROVIDER - - SELF_DESCRIPTION_CONNECTOR_CREATION - - SELF_DESCRIPTION_COMPANY_CREATION - - RETRIGGER_SELF_DESCRIPTION_CONNECTOR_CREATION - - RETRIGGER_SELF_DESCRIPTION_COMPANY_CREATION - type: string - SubscriberSubscriptionDetailData: - type: object - properties: - id: - type: string - format: uuid - offerSubscriptionStatus: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - name: - type: string - nullable: true - provider: - type: string - contact: - type: array - items: - type: string - technicalUserData: - type: array - items: - $ref: '#/components/schemas/SubscriptionTechnicalUserData' - connectorData: - type: array - items: - $ref: '#/components/schemas/SubscriptionAssignedConnectorData' - additionalProperties: false - SubscriptionAssignedConnectorData: - type: object - properties: - id: - type: string - format: uuid - name: - type: string - endpoint: - type: string - additionalProperties: false - SubscriptionExternalServiceData: - type: object - properties: - trusted_issuer: - type: string - participant_id: - type: string - nullable: true - iatp_id: - type: string - nullable: true - did_resolver: - type: string - decentralIdentityManagementAuthUrl: - type: string - decentralIdentityManagementServiceUrl: - type: string - nullable: true - additionalProperties: false - SubscriptionStatusSorting: - enum: - - CompanyNameAsc - - CompanyNameDesc - - OfferIdAsc - - OfferIdDesc - type: string - SubscriptionTechnicalUserData: - type: object - properties: - id: - type: string - format: uuid - name: - type: string - nullable: true - permissions: - type: array - items: - type: string - additionalProperties: false - TechnicalUserInfoData: - type: object - properties: - technicalUserId: - type: string - format: uuid - technicalUserPermissions: - type: array - items: - type: string - technicalUserSecret: - type: string - nullable: true - technicalClientId: - type: string - nullable: true - additionalProperties: false - TechnicalUserProfileData: - type: object - properties: - technicalUserProfileId: - type: string - format: uuid - nullable: true - userRoleIds: - type: array - items: - type: string - format: uuid - additionalProperties: false - TechnicalUserProfileInformation: - type: object - properties: - technicalUserProfileId: - type: string - format: uuid - userRoles: - type: array - items: - $ref: '#/components/schemas/UserRoleInformation' - additionalProperties: false - UpdateTenantData: - type: object - properties: - url: - type: string - description: The new url - additionalProperties: false - description: Data to update the offer subscription url - UrlInformation: - type: object - properties: - httpMethods: - type: string - url: - type: string - additionalProperties: false - UserRoleInformation: - type: object - properties: - roleId: - type: string - format: uuid - roleName: - type: string - additionalProperties: false - securitySchemes: - Bearer: - type: apiKey - description: "JWT Authorization header using the Bearer scheme. \r\n\r\n Enter 'Bearer' [space] and then your token in the text input below.\r\n\r\nExample: \"Bearer 12345abcdef\"" - name: Authorization - in: header -security: - - Bearer: [ ] \ No newline at end of file diff --git a/portal-backend/v2.3.0-alpha.1/apps-service/swagger-ui/favicon-16x16.png b/portal-backend/v2.3.0-alpha.1/apps-service/swagger-ui/favicon-16x16.png deleted file mode 100644 index 8b194e617af1c135e6b37939591d24ac3a5efa18..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 665 zcmV;K0%rY*P)}JKSduyL>)s!A4EhTMMEM%Q;aL6%l#xiZiF>S;#Y{N2Zz%pvTGHJduXuC6Lx-)0EGfRy*N{Tv4i8@4oJ41gw zKzThrcRe|7J~(YYIBq{SYCkn-KQm=N8$CrEK1CcqMI1dv9z#VRL_{D)L|`QmF8}}l zJ9JV`Q}p!p_4f7m_U`WQ@apR4;o;!mnU<7}iG_qr zF(e)x9~BG-3IzcG2M4an0002kNkl41`ZiN1i62V%{PM@Ry|IS_+Yc7{bb`MM~xm(7p4|kMHP&!VGuDW4kFixat zXw43VmgwEvB$hXt_u=vZ>+v4i7E}n~eG6;n4Z=zF1n?T*yg<;W6kOfxpC6nao>VR% z?fpr=asSJ&`L*wu^rLJ5Peq*PB0;alL#XazZCBxJLd&giTfw@!hW167F^`7kobi;( ze<<>qNlP|xy7S1zl@lZNIBR7#o9ybJsptO#%}P0hz~sBp00000NkvXXu0mjfUsDF? diff --git a/portal-backend/v2.3.0-alpha.1/apps-service/swagger-ui/favicon-32x32.png b/portal-backend/v2.3.0-alpha.1/apps-service/swagger-ui/favicon-32x32.png deleted file mode 100644 index 249737fe44558e679f0b67134e274461d988fa98..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 628 zcmV-)0*n2LP)Ma*GM0}OV<074bNCP7P7GVd{iMr*I6y~TMLss@FjvgL~HxU z%Vvj33AwpD(Z4*$Mfx=HaU16axM zt2xG_rloN<$iy9j9I5 - - - - - Swagger UI - - - - - - - -
- - - - - - diff --git a/portal-backend/v2.3.0-alpha.1/apps-service/swagger-ui/swagger-config.json b/portal-backend/v2.3.0-alpha.1/apps-service/swagger-ui/swagger-config.json deleted file mode 100644 index 586bc57..0000000 --- a/portal-backend/v2.3.0-alpha.1/apps-service/swagger-ui/swagger-config.json +++ /dev/null @@ -1 +0,0 @@ -{"url":"apps-service.yaml","deepLinking":true} \ No newline at end of file diff --git a/portal-backend/v2.3.0-alpha.1/apps-service/swagger-ui/swagger-ui-bundle.js b/portal-backend/v2.3.0-alpha.1/apps-service/swagger-ui/swagger-ui-bundle.js deleted file mode 100644 index 824b540..0000000 --- a/portal-backend/v2.3.0-alpha.1/apps-service/swagger-ui/swagger-ui-bundle.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see swagger-ui-bundle.js.LICENSE.txt */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.SwaggerUIBundle=t():e.SwaggerUIBundle=t()}(this,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist",n(n.s=534)}([function(e,t,n){"use strict";e.exports=n(133)},function(e,t,n){e.exports=function(){"use strict";var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return i(e)?e:J(e)}function r(e){return s(e)?e:K(e)}function o(e){return u(e)?e:Y(e)}function a(e){return i(e)&&!c(e)?e:G(e)}function i(e){return!(!e||!e[p])}function s(e){return!(!e||!e[f])}function u(e){return!(!e||!e[h])}function c(e){return s(e)||u(e)}function l(e){return!(!e||!e[d])}t(r,n),t(o,n),t(a,n),n.isIterable=i,n.isKeyed=s,n.isIndexed=u,n.isAssociative=c,n.isOrdered=l,n.Keyed=r,n.Indexed=o,n.Set=a;var p="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",h="@@__IMMUTABLE_INDEXED__@@",d="@@__IMMUTABLE_ORDERED__@@",m="delete",v=5,g=1<>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?A(e)+t:t}function k(){return!0}function j(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return P(e,t,0)}function I(e,t){return P(e,t,t)}function P(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var N=0,M=1,R=2,D="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",B=D||L;function F(e){this.next=e}function U(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function q(){return{value:void 0,done:!0}}function z(e){return!!H(e)}function V(e){return e&&"function"==typeof e.next}function W(e){var t=H(e);return t&&t.call(e)}function H(e){var t=e&&(D&&e[D]||e[L]);if("function"==typeof t)return t}function $(e){return e&&"number"==typeof e.length}function J(e){return null==e?ie():i(e)?e.toSeq():ce(e)}function K(e){return null==e?ie().toKeyedSeq():i(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Y(e){return null==e?ie():i(e)?s(e)?e.entrySeq():e.toIndexedSeq():ue(e)}function G(e){return(null==e?ie():i(e)?s(e)?e.entrySeq():e:ue(e)).toSetSeq()}F.prototype.toString=function(){return"[Iterator]"},F.KEYS=N,F.VALUES=M,F.ENTRIES=R,F.prototype.inspect=F.prototype.toSource=function(){return this.toString()},F.prototype[B]=function(){return this},t(J,n),J.of=function(){return J(arguments)},J.prototype.toSeq=function(){return this},J.prototype.toString=function(){return this.__toString("Seq {","}")},J.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},J.prototype.__iterate=function(e,t){return pe(this,e,t,!0)},J.prototype.__iterator=function(e,t){return fe(this,e,t,!0)},t(K,J),K.prototype.toKeyedSeq=function(){return this},t(Y,J),Y.of=function(){return Y(arguments)},Y.prototype.toIndexedSeq=function(){return this},Y.prototype.toString=function(){return this.__toString("Seq [","]")},Y.prototype.__iterate=function(e,t){return pe(this,e,t,!1)},Y.prototype.__iterator=function(e,t){return fe(this,e,t,!1)},t(G,J),G.of=function(){return G(arguments)},G.prototype.toSetSeq=function(){return this},J.isSeq=ae,J.Keyed=K,J.Set=G,J.Indexed=Y;var Z,X,Q,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function re(e){this._iterable=e,this.size=e.length||e.size}function oe(e){this._iterator=e,this._iteratorCache=[]}function ae(e){return!(!e||!e[ee])}function ie(){return Z||(Z=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():V(e)?new oe(e).fromEntrySeq():z(e)?new re(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function ue(e){var t=le(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){var t=le(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function le(e){return $(e)?new te(e):V(e)?new oe(e):z(e)?new re(e):void 0}function pe(e,t,n,r){var o=e._cache;if(o){for(var a=o.length-1,i=0;i<=a;i++){var s=o[n?a-i:i];if(!1===t(s[1],r?s[0]:i,e))return i+1}return i}return e.__iterateUncached(t,n)}function fe(e,t,n,r){var o=e._cache;if(o){var a=o.length-1,i=0;return new F((function(){var e=o[n?a-i:i];return i++>a?q():U(t,r?e[0]:i-1,e[1])}))}return e.__iteratorUncached(t,n)}function he(e,t){return t?de(t,e,"",{"":e}):me(e)}function de(e,t,n,r){return Array.isArray(t)?e.call(r,n,Y(t).map((function(n,r){return de(e,n,r,t)}))):ve(t)?e.call(r,n,K(t).map((function(n,r){return de(e,n,r,t)}))):t}function me(e){return Array.isArray(e)?Y(e).map(me).toList():ve(e)?K(e).map(me).toMap():e}function ve(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ge(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0;if(!i(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||u(e)!==u(t)||l(e)!==l(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(l(e)){var r=e.entries();return t.every((function(e,t){var o=r.next().value;return o&&ge(o[1],e)&&(n||ge(o[0],t))}))&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var a=e;e=t,t=a}var p=!0,f=t.__iterate((function(t,r){if(n?!e.has(t):o?!ge(t,e.get(r,b)):!ge(e.get(r,b),t))return p=!1,!1}));return p&&e.size===f}function be(e,t){if(!(this instanceof be))return new be(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(X)return X;X=this}}function _e(e,t){if(!e)throw new Error(t)}function we(e,t,n){if(!(this instanceof we))return new we(e,t,n);if(_e(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),tr?q():U(e,o,n[t?r-o++:o++])}))},t(ne,K),ne.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ne.prototype.has=function(e){return this._object.hasOwnProperty(e)},ne.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length-1,a=0;a<=o;a++){var i=r[t?o-a:a];if(!1===e(n[i],i,this))return a+1}return a},ne.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,a=0;return new F((function(){var i=r[t?o-a:a];return a++>o?q():U(e,i,n[i])}))},ne.prototype[d]=!0,t(re,Y),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=W(this._iterable),r=0;if(V(n))for(var o;!(o=n.next()).done&&!1!==e(o.value,r++,this););return r},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=W(this._iterable);if(!V(n))return new F(q);var r=0;return new F((function(){var t=n.next();return t.done?t:U(e,r++,t.value)}))},t(oe,Y),oe.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,o=this._iteratorCache,a=0;a=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return U(e,o,r[o++])}))},t(be,Y),be.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},be.prototype.get=function(e,t){return this.has(e)?this._value:t},be.prototype.includes=function(e){return ge(this._value,e)},be.prototype.slice=function(e,t){var n=this.size;return j(e,t,n)?this:new be(this._value,I(t,n)-T(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return ge(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return ge(this._value,e)?this.size:-1},be.prototype.__iterate=function(e,t){for(var n=0;n=0&&t=0&&nn?q():U(e,a++,i)}))},we.prototype.equals=function(e){return e instanceof we?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(xe,n),t(Ee,xe),t(Se,xe),t(Ce,xe),xe.Keyed=Ee,xe.Indexed=Se,xe.Set=Ce;var Ae="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function Oe(e){return e>>>1&1073741824|3221225471&e}function ke(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){if(e!=e||e===1/0)return 0;var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Oe(n)}if("string"===t)return e.length>Fe?je(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Ie(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function je(e){var t=ze[e];return void 0===t&&(t=Te(e),qe===Ue&&(qe=0,ze={}),qe++,ze[e]=t),t}function Te(e){for(var t=0,n=0;n0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Re,De="function"==typeof WeakMap;De&&(Re=new WeakMap);var Le=0,Be="__immutablehash__";"function"==typeof Symbol&&(Be=Symbol(Be));var Fe=16,Ue=255,qe=0,ze={};function Ve(e){_e(e!==1/0,"Cannot perform this action with an infinite size.")}function We(e){return null==e?ot():He(e)&&!l(e)?e:ot().withMutations((function(t){var n=r(e);Ve(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function He(e){return!(!e||!e[Je])}t(We,Ee),We.of=function(){var t=e.call(arguments,0);return ot().withMutations((function(e){for(var n=0;n=t.length)throw new Error("Missing value for key: "+t[n]);e.set(t[n],t[n+1])}}))},We.prototype.toString=function(){return this.__toString("Map {","}")},We.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},We.prototype.set=function(e,t){return at(this,e,t)},We.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},We.prototype.remove=function(e){return at(this,e,b)},We.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},We.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},We.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=vt(this,xn(e),t,n);return r===b?void 0:r},We.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):ot()},We.prototype.merge=function(){return ft(this,void 0,arguments)},We.prototype.mergeWith=function(t){return ft(this,t,e.call(arguments,1))},We.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,ot(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},We.prototype.mergeDeep=function(){return ft(this,ht,arguments)},We.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ft(this,dt(t),n)},We.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,ot(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},We.prototype.sort=function(e){return zt(pn(this,e))},We.prototype.sortBy=function(e,t){return zt(pn(this,t,e))},We.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},We.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new S)},We.prototype.asImmutable=function(){return this.__ensureOwner()},We.prototype.wasAltered=function(){return this.__altered},We.prototype.__iterator=function(e,t){return new et(this,e,t)},We.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},We.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?rt(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},We.isMap=He;var $e,Je="@@__IMMUTABLE_MAP__@@",Ke=We.prototype;function Ye(e,t){this.ownerID=e,this.entries=t}function Ge(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Ze(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Xe(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Qe(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return U(e,t[0],t[1])}function nt(e,t){return{node:e,index:0,__prev:t}}function rt(e,t,n,r){var o=Object.create(Ke);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function ot(){return $e||($e=rt(0))}function at(e,t,n){var r,o;if(e._root){var a=x(_),i=x(w);if(r=it(e._root,e.__ownerID,0,void 0,t,n,a,i),!i.value)return e;o=e.size+(a.value?n===b?-1:1:0)}else{if(n===b)return e;o=1,r=new Ye(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=o,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?rt(o,r):ot()}function it(e,t,n,r,o,a,i,s){return e?e.update(t,n,r,o,a,i,s):a===b?e:(E(s),E(i),new Qe(t,r,[o,a]))}function st(e){return e.constructor===Qe||e.constructor===Xe}function ut(e,t,n,r,o){if(e.keyHash===r)return new Xe(t,r,[e.entry,o]);var a,i=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?r:r>>>n)&y;return new Ge(t,1<>>=1)i[s]=1&n?t[a++]:void 0;return i[r]=o,new Ze(e,a+1,i)}function ft(e,t,n){for(var o=[],a=0;a>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function yt(e,t,n,r){var o=r?e:C(e);return o[t]=n,o}function bt(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var a=new Array(o),i=0,s=0;s=wt)return ct(e,u,r,o);var f=e&&e===this.ownerID,h=f?u:C(u);return p?s?c===l-1?h.pop():h[c]=h.pop():h[c]=[r,o]:h.push([r,o]),f?(this.entries=h,this):new Ye(e,h)}},Ge.prototype.get=function(e,t,n,r){void 0===t&&(t=ke(n));var o=1<<((0===e?t:t>>>e)&y),a=this.bitmap;return 0==(a&o)?r:this.nodes[gt(a&o-1)].get(e+v,t,n,r)},Ge.prototype.update=function(e,t,n,r,o,a,i){void 0===n&&(n=ke(r));var s=(0===t?n:n>>>t)&y,u=1<=xt)return pt(e,f,c,s,d);if(l&&!d&&2===f.length&&st(f[1^p]))return f[1^p];if(l&&d&&1===f.length&&st(d))return d;var m=e&&e===this.ownerID,g=l?d?c:c^u:c|u,_=l?d?yt(f,p,d,m):_t(f,p,m):bt(f,p,d,m);return m?(this.bitmap=g,this.nodes=_,this):new Ge(e,g,_)},Ze.prototype.get=function(e,t,n,r){void 0===t&&(t=ke(n));var o=(0===e?t:t>>>e)&y,a=this.nodes[o];return a?a.get(e+v,t,n,r):r},Ze.prototype.update=function(e,t,n,r,o,a,i){void 0===n&&(n=ke(r));var s=(0===t?n:n>>>t)&y,u=o===b,c=this.nodes,l=c[s];if(u&&!l)return this;var p=it(l,e,t+v,n,r,o,a,i);if(p===l)return this;var f=this.count;if(l){if(!p&&--f0&&r=0&&e>>t&y;if(r>=this.array.length)return new kt([],e);var o,a=0===r;if(t>0){var i=this.array[r];if((o=i&&i.removeBefore(e,t-v,n))===i&&a)return this}if(a&&!o)return this;var s=Lt(this,e);if(!a)for(var u=0;u>>t&y;if(o>=this.array.length)return this;if(t>0){var a=this.array[o];if((r=a&&a.removeAfter(e,t-v,n))===a&&o===this.array.length-1)return this}var i=Lt(this,e);return i.array.splice(o+1),r&&(i.array[o]=r),i};var jt,Tt,It={};function Pt(e,t){var n=e._origin,r=e._capacity,o=qt(r),a=e._tail;return i(e._root,e._level,0);function i(e,t,n){return 0===t?s(e,n):u(e,t,n)}function s(e,i){var s=i===o?a&&a.array:e&&e.array,u=i>n?0:n-i,c=r-i;return c>g&&(c=g),function(){if(u===c)return It;var e=t?--c:u++;return s&&s[e]}}function u(e,o,a){var s,u=e&&e.array,c=a>n?0:n-a>>o,l=1+(r-a>>o);return l>g&&(l=g),function(){for(;;){if(s){var e=s();if(e!==It)return e;s=null}if(c===l)return It;var n=t?--l:c++;s=i(u&&u[n],o-v,a+(n<=e.size||t<0)return e.withMutations((function(e){t<0?Ft(e,t).set(0,n):Ft(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,o=e._root,a=x(w);return t>=qt(e._capacity)?r=Dt(r,e.__ownerID,0,t,n,a):o=Dt(o,e.__ownerID,e._level,t,n,a),a.value?e.__ownerID?(e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e):Nt(e._origin,e._capacity,e._level,o,r):e}function Dt(e,t,n,r,o,a){var i,s=r>>>n&y,u=e&&s0){var c=e&&e.array[s],l=Dt(c,t,n-v,r,o,a);return l===c?e:((i=Lt(e,t)).array[s]=l,i)}return u&&e.array[s]===o?e:(E(a),i=Lt(e,t),void 0===o&&s===i.array.length-1?i.array.pop():i.array[s]=o,i)}function Lt(e,t){return t&&e&&t===e.ownerID?e:new kt(e?e.array.slice():[],t)}function Bt(e,t){if(t>=qt(e._capacity))return e._tail;if(t<1<0;)n=n.array[t>>>r&y],r-=v;return n}}function Ft(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new S,o=e._origin,a=e._capacity,i=o+t,s=void 0===n?a:n<0?a+n:o+n;if(i===o&&s===a)return e;if(i>=s)return e.clear();for(var u=e._level,c=e._root,l=0;i+l<0;)c=new kt(c&&c.array.length?[void 0,c]:[],r),l+=1<<(u+=v);l&&(i+=l,o+=l,s+=l,a+=l);for(var p=qt(a),f=qt(s);f>=1<p?new kt([],r):h;if(h&&f>p&&iv;g-=v){var b=p>>>g&y;m=m.array[b]=Lt(m.array[b],r)}m.array[p>>>v&y]=h}if(s=f)i-=f,s-=f,u=v,c=null,d=d&&d.removeBefore(r,0,i);else if(i>o||f>>u&y;if(_!==f>>>u&y)break;_&&(l+=(1<o&&(c=c.removeBefore(r,u,i-l)),c&&fa&&(a=c.size),i(u)||(c=c.map((function(e){return he(e)}))),r.push(c)}return a>e.size&&(e=e.setSize(a)),mt(e,t,r)}function qt(e){return e>>v<=g&&i.size>=2*a.size?(r=(o=i.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=a.remove(t),o=s===i.size-1?i.pop():i.set(s,void 0))}else if(u){if(n===i.get(s)[1])return e;r=a,o=i.set(s,[t,n])}else r=a.set(t,i.size),o=i.set(i.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):Wt(r,o)}function Jt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Kt(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Gt(e){this._iter=e,this.size=e.size}function Zt(e){var t=bn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=_n,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(t===R){var r=e.__iterator(t,n);return new F((function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===M?N:M,n)},t}function Xt(e,t,n){var r=bn(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var a=e.get(r,b);return a===b?o:t.call(n,a,r,e)},r.__iterateUncached=function(r,o){var a=this;return e.__iterate((function(e,o,i){return!1!==r(t.call(n,e,o,i),o,a)}),o)},r.__iteratorUncached=function(r,o){var a=e.__iterator(R,o);return new F((function(){var o=a.next();if(o.done)return o;var i=o.value,s=i[0];return U(r,s,t.call(n,i[1],s,e),o)}))},r}function Qt(e,t){var n=bn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Zt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=_n,n.__iterate=function(t,n){var r=this;return e.__iterate((function(e,n){return t(e,n,r)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,r){var o=bn(e);return r&&(o.has=function(r){var o=e.get(r,b);return o!==b&&!!t.call(n,o,r,e)},o.get=function(r,o){var a=e.get(r,b);return a!==b&&t.call(n,a,r,e)?a:o}),o.__iterateUncached=function(o,a){var i=this,s=0;return e.__iterate((function(e,a,u){if(t.call(n,e,a,u))return s++,o(e,r?a:s-1,i)}),a),s},o.__iteratorUncached=function(o,a){var i=e.__iterator(R,a),s=0;return new F((function(){for(;;){var a=i.next();if(a.done)return a;var u=a.value,c=u[0],l=u[1];if(t.call(n,l,c,e))return U(o,r?c:s++,l,a)}}))},o}function tn(e,t,n){var r=We().asMutable();return e.__iterate((function(o,a){r.update(t.call(n,o,a,e),0,(function(e){return e+1}))})),r.asImmutable()}function nn(e,t,n){var r=s(e),o=(l(e)?zt():We()).asMutable();e.__iterate((function(a,i){o.update(t.call(n,a,i,e),(function(e){return(e=e||[]).push(r?[i,a]:a),e}))}));var a=yn(e);return o.map((function(t){return mn(e,a(t))}))}function rn(e,t,n,r){var o=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n===1/0?n=o:n|=0),j(t,n,o))return e;var a=T(t,o),i=I(n,o);if(a!=a||i!=i)return rn(e.toSeq().cacheResult(),t,n,r);var s,u=i-a;u==u&&(s=u<0?0:u);var c=bn(e);return c.size=0===s?s:e.size&&s||void 0,!r&&ae(e)&&s>=0&&(c.get=function(t,n){return(t=O(this,t))>=0&&ts)return q();var e=o.next();return r||t===M?e:U(t,u-1,t===N?void 0:e.value[1],e)}))},c}function on(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var i=0;return e.__iterate((function(e,o,s){return t.call(n,e,o,s)&&++i&&r(e,o,a)})),i},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var i=e.__iterator(R,o),s=!0;return new F((function(){if(!s)return q();var e=i.next();if(e.done)return e;var o=e.value,u=o[0],c=o[1];return t.call(n,c,u,a)?r===R?e:U(r,u,c,e):(s=!1,q())}))},r}function an(e,t,n,r){var o=bn(e);return o.__iterateUncached=function(o,a){var i=this;if(a)return this.cacheResult().__iterate(o,a);var s=!0,u=0;return e.__iterate((function(e,a,c){if(!s||!(s=t.call(n,e,a,c)))return u++,o(e,r?a:u-1,i)})),u},o.__iteratorUncached=function(o,a){var i=this;if(a)return this.cacheResult().__iterator(o,a);var s=e.__iterator(R,a),u=!0,c=0;return new F((function(){var e,a,l;do{if((e=s.next()).done)return r||o===M?e:U(o,c++,o===N?void 0:e.value[1],e);var p=e.value;a=p[0],l=p[1],u&&(u=t.call(n,l,a,i))}while(u);return o===R?e:U(o,a,l,e)}))},o}function sn(e,t){var n=s(e),o=[e].concat(t).map((function(e){return i(e)?n&&(e=r(e)):e=n?se(e):ue(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===o.length)return e;if(1===o.length){var a=o[0];if(a===e||n&&s(a)||u(e)&&u(a))return a}var c=new te(o);return n?c=c.toKeyedSeq():u(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=o.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function un(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,o){var a=0,s=!1;function u(e,c){var l=this;e.__iterate((function(e,o){return(!t||c0}function dn(e,t,r){var o=bn(e);return o.size=new te(r).map((function(e){return e.size})).min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(M,t),o=0;!(n=r.next()).done&&!1!==e(n.value,o++,this););return o},o.__iteratorUncached=function(e,o){var a=r.map((function(e){return e=n(e),W(o?e.reverse():e)})),i=0,s=!1;return new F((function(){var n;return s||(n=a.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?q():U(e,i++,t.apply(null,n.map((function(e){return e.value}))))}))},o}function mn(e,t){return ae(e)?t:e.constructor(t)}function vn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function gn(e){return Ve(e.size),A(e)}function yn(e){return s(e)?r:u(e)?o:a}function bn(e){return Object.create((s(e)?K:u(e)?Y:G).prototype)}function _n(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):J.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Kn(e,t)},Vn.prototype.pushAll=function(e){if(0===(e=o(e)).size)return this;Ve(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Kn(t,n)},Vn.prototype.pop=function(){return this.slice(1)},Vn.prototype.unshift=function(){return this.push.apply(this,arguments)},Vn.prototype.unshiftAll=function(e){return this.pushAll(e)},Vn.prototype.shift=function(){return this.pop.apply(this,arguments)},Vn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Yn()},Vn.prototype.slice=function(e,t){if(j(e,t,this.size))return this;var n=T(e,this.size);if(I(t,this.size)!==this.size)return Se.prototype.slice.call(this,e,t);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):Kn(r,o)},Vn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Kn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Vn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},Vn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new F((function(){if(r){var t=r.value;return r=r.next,U(e,n++,t)}return q()}))},Vn.isStack=Wn;var Hn,$n="@@__IMMUTABLE_STACK__@@",Jn=Vn.prototype;function Kn(e,t,n,r){var o=Object.create(Jn);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Yn(){return Hn||(Hn=Kn(0))}function Gn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Jn[$n]=!0,Jn.withMutations=Ke.withMutations,Jn.asMutable=Ke.asMutable,Jn.asImmutable=Ke.asImmutable,Jn.wasAltered=Ke.wasAltered,n.Iterator=F,Gn(n,{toArray:function(){Ve(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Kt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Jt(this,!0)},toMap:function(){return We(this.toKeyedSeq())},toObject:function(){Ve(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return zt(this.toKeyedSeq())},toOrderedSet:function(){return Ln(s(this)?this.valueSeq():this)},toSet:function(){return jn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Yt(this)},toSeq:function(){return u(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Vn(s(this)?this.valueSeq():this)},toList:function(){return St(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ge(t,e)}))},entries:function(){return this.__iterator(R)},every:function(e,t){Ve(this.size);var n=!0;return this.__iterate((function(r,o,a){if(!e.call(t,r,o,a))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},forEach:function(e,t){return Ve(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ve(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(N)},map:function(e,t){return mn(this,Xt(this,e,t))},reduce:function(e,t,n){var r,o;return Ve(this.size),arguments.length<2?o=!0:r=t,this.__iterate((function(t,a,i){o?(o=!1,r=t):r=e.call(n,r,t,a,i)})),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return mn(this,Qt(this,!0))},slice:function(e,t){return mn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(tr(e),t)},sort:function(e){return mn(this,pn(this,e))},values:function(){return this.__iterator(M)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return A(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ye(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(er).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(tr(e),t)},findEntry:function(e,t,n){var r=n;return this.__iterate((function(n,o,a){if(e.call(t,n,o,a))return r=[o,n],!1})),r},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(){return this.find(k)},flatMap:function(e,t){return mn(this,cn(this,e,t))},flatten:function(e){return mn(this,un(this,e,!0))},fromEntrySeq:function(){return new Gt(this)},get:function(e,t){return this.find((function(t,n){return ge(n,e)}),void 0,t)},getIn:function(e,t){for(var n,r=this,o=xn(e);!(n=o.next()).done;){var a=n.value;if((r=r&&r.get?r.get(a,b):b)===b)return t}return r},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,b)!==b},hasIn:function(e){return this.getIn(e,b)!==b},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return ge(t,e)}))},keySeq:function(){return this.toSeq().map(Qn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return fn(this,e)},maxBy:function(e,t){return fn(this,t,e)},min:function(e){return fn(this,e?nr(e):ar)},minBy:function(e,t){return fn(this,t?nr(t):ar,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return mn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return mn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(tr(e),t)},sortBy:function(e,t){return mn(this,pn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(tr(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ir(this))}});var Zn=n.prototype;Zn[p]=!0,Zn[B]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=rr,Zn.inspect=Zn.toSource=function(){return this.toString()},Zn.chain=Zn.flatMap,Zn.contains=Zn.includes,Gn(r,{flip:function(){return mn(this,Zt(this))},mapEntries:function(e,t){var n=this,r=0;return mn(this,this.toSeq().map((function(o,a){return e.call(t,[a,o],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(r,o){return e.call(t,r,o,n)})).flip())}});var Xn=r.prototype;function Qn(e,t){return t}function er(e,t){return[t,e]}function tr(e){return function(){return!e.apply(this,arguments)}}function nr(e){return function(){return-e.apply(this,arguments)}}function rr(e){return"string"==typeof e?JSON.stringify(e):String(e)}function or(){return C(arguments)}function ar(e,t){return et?-1:0}function ir(e){if(e.size===1/0)return 0;var t=l(e),n=s(e),r=t?1:0;return sr(e.__iterate(n?t?function(e,t){r=31*r+ur(ke(e),ke(t))|0}:function(e,t){r=r+ur(ke(e),ke(t))|0}:t?function(e){r=31*r+ke(e)|0}:function(e){r=r+ke(e)|0}),r)}function sr(e,t){return t=Ae(t,3432918353),t=Ae(t<<15|t>>>-15,461845907),t=Ae(t<<13|t>>>-13,5),t=Ae((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Oe((t=Ae(t^t>>>13,3266489909))^t>>>16)}function ur(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Xn[f]=!0,Xn[B]=Zn.entries,Xn.__toJS=Zn.toObject,Xn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},Gn(o,{toKeyedSeq:function(){return new Jt(this,!1)},filter:function(e,t){return mn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return mn(this,Qt(this,!1))},slice:function(e,t){return mn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=T(e,e<0?this.count():this.size);var r=this.slice(0,e);return mn(this,1===n?r:r.concat(C(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(e){return mn(this,un(this,e,!1))},get:function(e,t){return(e=O(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=O(this,e))>=0&&(void 0!==this.size?this.size===1/0||e1)try{return decodeURIComponent(t[1])}catch(e){console.error(e)}return null}function Pe(e){return t=e.replace(/\.[^./]*$/,""),Y()(J()(t));var t}function Ne(e,t,n,r,a){if(!t)return[];var s=[],u=t.get("nullable"),c=t.get("required"),p=t.get("maximum"),h=t.get("minimum"),d=t.get("type"),m=t.get("format"),g=t.get("maxLength"),b=t.get("minLength"),w=t.get("uniqueItems"),x=t.get("maxItems"),E=t.get("minItems"),S=t.get("pattern"),C=n||!0===c,A=null!=e;if(u&&null===e||!d||!(C||A&&"array"===d||!(!C&&!A)))return[];var O="string"===d&&e,k="array"===d&&l()(e)&&e.length,j="array"===d&&W.a.List.isList(e)&&e.count(),T=[O,k,j,"array"===d&&"string"==typeof e&&e,"file"===d&&e instanceof se.a.File,"boolean"===d&&(e||!1===e),"number"===d&&(e||0===e),"integer"===d&&(e||0===e),"object"===d&&"object"===i()(e)&&null!==e,"object"===d&&"string"==typeof e&&e],I=P()(T).call(T,(function(e){return!!e}));if(C&&!I&&!r)return s.push("Required field is not provided"),s;if("object"===d&&(null===a||"application/json"===a)){var N,M=e;if("string"==typeof e)try{M=JSON.parse(e)}catch(e){return s.push("Parameter string value must be valid JSON"),s}if(t&&t.has("required")&&Ee(c.isList)&&c.isList()&&y()(c).call(c,(function(e){void 0===M[e]&&s.push({propKey:e,error:"Required property not found"})})),t&&t.has("properties"))y()(N=t.get("properties")).call(N,(function(e,t){var n=Ne(M[t],e,!1,r,a);s.push.apply(s,o()(f()(n).call(n,(function(e){return{propKey:t,error:e}}))))}))}if(S){var R=function(e,t){if(!new RegExp(t).test(e))return"Value must follow pattern "+t}(e,S);R&&s.push(R)}if(E&&"array"===d){var D=function(e,t){var n;if(!e&&t>=1||e&&e.lengtht)return v()(n="Array must not contain more then ".concat(t," item")).call(n,1===t?"":"s")}(e,x);L&&s.push({needRemove:!0,error:L})}if(w&&"array"===d){var B=function(e,t){if(e&&("true"===t||!0===t)){var n=Object(V.fromJS)(e),r=n.toSet();if(e.length>r.size){var o=Object(V.Set)();if(y()(n).call(n,(function(e,t){_()(n).call(n,(function(t){return Ee(t.equals)?t.equals(e):t===e})).size>1&&(o=o.add(t))})),0!==o.size)return f()(o).call(o,(function(e){return{index:e,error:"No duplicates allowed."}})).toArray()}}}(e,w);B&&s.push.apply(s,o()(B))}if(g||0===g){var F=function(e,t){var n;if(e.length>t)return v()(n="Value must be no longer than ".concat(t," character")).call(n,1!==t?"s":"")}(e,g);F&&s.push(F)}if(b){var U=function(e,t){var n;if(e.lengtht)return"Value must be less than ".concat(t)}(e,p);q&&s.push(q)}if(h||0===h){var z=function(e,t){if(e2&&void 0!==arguments[2]?arguments[2]:{},r=n.isOAS3,o=void 0!==r&&r,a=n.bypassRequiredCheck,i=void 0!==a&&a,s=e.get("required"),u=Object(le.a)(e,{isOAS3:o}),c=u.schema,l=u.parameterContentMediaType;return Ne(t,c,s,i,l)},Re=function(e,t,n){if(e&&(!e.xml||!e.xml.name)){if(e.xml=e.xml||{},!e.$$ref)return e.type||e.items||e.properties||e.additionalProperties?'\n\x3c!-- XML example cannot be generated; root element name is undefined --\x3e':null;var r=e.$$ref.match(/\S*\/(\S+)$/);e.xml.name=r[1]}return Object(ie.memoizedCreateXMLExample)(e,t,n)},De=[{when:/json/,shouldStringifyTypes:["string"]}],Le=["object"],Be=function(e,t,n,r){var a=Object(ie.memoizedSampleFromSchema)(e,t,r),s=i()(a),u=S()(De).call(De,(function(e,t){var r;return t.when.test(n)?v()(r=[]).call(r,o()(e),o()(t.shouldStringifyTypes)):e}),Le);return te()(u,(function(e){return e===s}))?M()(a,null,2):a},Fe=function(e,t,n,r){var o,a=Be(e,t,n,r);try{"\n"===(o=me.a.dump(me.a.load(a),{lineWidth:-1}))[o.length-1]&&(o=T()(o).call(o,0,o.length-1))}catch(e){return console.error(e),"error: could not generate yaml example"}return o.replace(/\t/g," ")},Ue=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;return e&&Ee(e.toJS)&&(e=e.toJS()),r&&Ee(r.toJS)&&(r=r.toJS()),/xml/.test(t)?Re(e,n,r):/(yaml|yml)/.test(t)?Fe(e,n,t,r):Be(e,n,t,r)},qe=function(){var e={},t=se.a.location.search;if(!t)return{};if(""!=t){var n=t.substr(1).split("&");for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(r=n[r].split("="),e[decodeURIComponent(r[0])]=r[1]&&decodeURIComponent(r[1])||"")}return e},ze=function(t){return(t instanceof e?t:e.from(t.toString(),"utf-8")).toString("base64")},Ve={operationsSorter:{alpha:function(e,t){return e.get("path").localeCompare(t.get("path"))},method:function(e,t){return e.get("method").localeCompare(t.get("method"))}},tagsSorter:{alpha:function(e,t){return e.localeCompare(t)}}},We=function(e){var t=[];for(var n in e){var r=e[n];void 0!==r&&""!==r&&t.push([n,"=",encodeURIComponent(r).replace(/%20/g,"+")].join(""))}return t.join("&")},He=function(e,t,n){return!!Q()(n,(function(n){return re()(e[n],t[n])}))};function $e(e){return"string"!=typeof e||""===e?"":Object(H.sanitizeUrl)(e)}function Je(e){return!(!e||D()(e).call(e,"localhost")>=0||D()(e).call(e,"127.0.0.1")>=0||"none"===e)}function Ke(e){if(!W.a.OrderedMap.isOrderedMap(e))return null;if(!e.size)return null;var t=B()(e).call(e,(function(e,t){return U()(t).call(t,"2")&&x()(e.get("content")||{}).length>0})),n=e.get("default")||W.a.OrderedMap(),r=(n.get("content")||W.a.OrderedMap()).keySeq().toJS().length?n:null;return t||r}var Ye=function(e){return"string"==typeof e||e instanceof String?z()(e).call(e).replace(/\s/g,"%20"):""},Ge=function(e){return ce()(Ye(e).replace(/%20/g,"_"))},Ze=function(e){return _()(e).call(e,(function(e,t){return/^x-/.test(t)}))},Xe=function(e){return _()(e).call(e,(function(e,t){return/^pattern|maxLength|minLength|maximum|minimum/.test(t)}))};function Qe(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return!0};if("object"!==i()(e)||l()(e)||null===e||!t)return e;var o=A()({},e);return y()(n=x()(o)).call(n,(function(e){e===t&&r(o[e],e)?delete o[e]:o[e]=Qe(o[e],t,r)})),o}function et(e){if("string"==typeof e)return e;if(e&&e.toJS&&(e=e.toJS()),"object"===i()(e)&&null!==e)try{return M()(e,null,2)}catch(t){return String(e)}return null==e?"":e.toString()}function tt(e){return"number"==typeof e?e.toString():e}function nt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.returnAll,r=void 0!==n&&n,o=t.allowHashes,a=void 0===o||o;if(!W.a.Map.isMap(e))throw new Error("paramToIdentifier: received a non-Im.Map parameter as input");var i,s,u,c=e.get("name"),l=e.get("in"),p=[];e&&e.hashCode&&l&&c&&a&&p.push(v()(i=v()(s="".concat(l,".")).call(s,c,".hash-")).call(i,e.hashCode()));l&&c&&p.push(v()(u="".concat(l,".")).call(u,c));return p.push(c),r?p:p[0]||""}function rt(e,t){var n,r=nt(e,{returnAll:!0});return _()(n=f()(r).call(r,(function(e){return t[e]}))).call(n,(function(e){return void 0!==e}))[0]}function ot(){return it(fe()(32).toString("base64"))}function at(e){return it(de()("sha256").update(e).digest("base64"))}function it(e){return e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}var st=function(e){return!e||!(!ge(e)||!e.isEmpty())}}).call(this,n(132).Buffer)},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(238);function o(e,t){for(var n=0;n1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:r,n=null,a=null;return function(){return o(t,n,arguments)||(a=e.apply(null,arguments)),n=arguments,a}}))},function(e,t,n){e.exports=n(659)},function(e,t,n){var r=n(177),o=n(563);function a(t){return"function"==typeof r&&"symbol"==typeof o?(e.exports=a=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=a=function(e){return e&&"function"==typeof r&&e.constructor===r&&e!==r.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),a(t)}e.exports=a,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){e.exports=n(589)},function(e,t,n){e.exports=n(587)},function(e,t,n){e.exports=n(400)},function(e,t,n){"use strict";var r=n(40),o=n(127).f,a=n(361),i=n(33),s=n(109),u=n(67),c=n(55),l=function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,p,f,h,d,m,v,g,y=e.target,b=e.global,_=e.stat,w=e.proto,x=b?r:_?r[y]:(r[y]||{}).prototype,E=b?i:i[y]||(i[y]={}),S=E.prototype;for(f in t)n=!a(b?f:y+(_?".":"#")+f,e.forced)&&x&&c(x,f),d=E[f],n&&(m=e.noTargetGet?(g=o(x,f))&&g.value:x[f]),h=n&&m?m:t[f],n&&typeof d==typeof h||(v=e.bind&&n?s(h,r):e.wrap&&n?l(h):w&&"function"==typeof h?s(Function.call,h):h,(e.sham||h&&h.sham||d&&d.sham)&&u(v,"sham",!0),E[f]=v,w&&(c(i,p=y+"Prototype")||u(i,p,{}),i[p][f]=h,e.real&&S&&!S[f]&&u(S,f,h)))}},function(e,t,n){e.exports=n(592)},function(e,t,n){var r=n(444),o=n(445),a=n(849),i=n(851),s=n(855),u=n(857),c=n(862),l=n(238),p=n(3);function f(e,t){var n=r(e);if(o){var s=o(e);t&&(s=a(s).call(s,(function(t){return i(e,t).enumerable}))),n.push.apply(n,s)}return n}e.exports=function(e){for(var t=1;t>",i=function(){invariant(!1,"ImmutablePropTypes type checking code is stripped in production.")};i.isRequired=i;var s=function(){return i};function u(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":e instanceof o.Iterable?"Immutable."+e.toSource().split(" ")[0]:t}function c(e){function t(t,n,r,o,i,s){for(var u=arguments.length,c=Array(u>6?u-6:0),l=6;l4)}function l(e){var t=e.get("swagger");return"string"==typeof t&&i()(t).call(t,"2.0")}function p(e){return function(t,n){return function(r){return n&&n.specSelectors&&n.specSelectors.specJson?c(n.specSelectors.specJson())?u.a.createElement(e,o()({},r,n,{Ori:t})):u.a.createElement(t,r):(console.warn("OAS3 wrapper: couldn't get spec"),null)}}}},function(e,t,n){e.exports=n(583)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,u=i(e),c=1;c0){var o=v()(n).call(n,(function(e){return console.error(e),e.line=e.fullPath?_(w,e.fullPath):null,e.path=e.fullPath?e.fullPath.join("."):null,e.level="error",e.type="thrown",e.source="resolver",y()(e,"message",{enumerable:!0,value:e.message}),e}));a.newThrownErrBatch(o)}return r.updateResolved(t)}))}},Se=[],Ce=Y()(u()(f.a.mark((function e(){var t,n,r,o,a,i,s,c,l,p,h,m,g,b,w,E,C,O;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=Se.system){e.next=4;break}return console.error("debResolveSubtrees: don't have a system to operate on, aborting."),e.abrupt("return");case 4:if(n=t.errActions,r=t.errSelectors,o=t.fn,a=o.resolveSubtree,i=o.fetch,s=o.AST,c=void 0===s?{}:s,l=t.specSelectors,p=t.specActions,a){e.next=8;break}return console.error("Error: Swagger-Client did not provide a `resolveSubtree` method, doing nothing."),e.abrupt("return");case 8:return h=c.getLineNumberForPath?c.getLineNumberForPath:function(){},m=l.specStr(),g=t.getConfigs(),b=g.modelPropertyMacro,w=g.parameterMacro,E=g.requestInterceptor,C=g.responseInterceptor,e.prev=11,e.next=14,_()(Se).call(Se,function(){var e=u()(f.a.mark((function e(t,o){var s,c,p,g,_,O,j,T,I;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t;case 2:return s=e.sent,c=s.resultMap,p=s.specWithCurrentSubtrees,e.next=7,a(p,o,{baseDoc:l.url(),modelPropertyMacro:b,parameterMacro:w,requestInterceptor:E,responseInterceptor:C});case 7:if(g=e.sent,_=g.errors,O=g.spec,r.allErrors().size&&n.clearBy((function(e){var t;return"thrown"!==e.get("type")||"resolver"!==e.get("source")||!x()(t=e.get("fullPath")).call(t,(function(e,t){return e===o[t]||void 0===o[t]}))})),d()(_)&&_.length>0&&(j=v()(_).call(_,(function(e){return e.line=e.fullPath?h(m,e.fullPath):null,e.path=e.fullPath?e.fullPath.join("."):null,e.level="error",e.type="thrown",e.source="resolver",y()(e,"message",{enumerable:!0,value:e.message}),e})),n.newThrownErrBatch(j)),!O||!l.isOAS3()||"components"!==o[0]||"securitySchemes"!==o[1]){e.next=15;break}return e.next=15,S.a.all(v()(T=A()(I=k()(O)).call(I,(function(e){return"openIdConnect"===e.type}))).call(T,function(){var e=u()(f.a.mark((function e(t){var n,r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={url:t.openIdConnectUrl,requestInterceptor:E,responseInterceptor:C},e.prev=1,e.next=4,i(n);case 4:(r=e.sent)instanceof Error||r.status>=400?console.error(r.statusText+" "+n.url):t.openIdConnectData=JSON.parse(r.text),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),console.error(e.t0);case 11:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(t){return e.apply(this,arguments)}}()));case 15:return Z()(c,o,O),Z()(p,o,O),e.abrupt("return",{resultMap:c,specWithCurrentSubtrees:p});case 18:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),S.a.resolve({resultMap:(l.specResolvedSubtree([])||Object(z.Map)()).toJS(),specWithCurrentSubtrees:l.specJson().toJS()}));case 14:O=e.sent,delete Se.system,Se=[],e.next=22;break;case 19:e.prev=19,e.t0=e.catch(11),console.error(e.t0);case 22:p.updateResolvedSubtree([],O.resultMap);case 23:case"end":return e.stop()}}),e,null,[[11,19]])}))),35),Ae=function(e){return function(t){var n;T()(n=v()(Se).call(Se,(function(e){return e.join("@@")}))).call(n,e.join("@@"))>-1||(Se.push(e),Se.system=t,Ce())}};function Oe(e,t,n,r,o){return{type:re,payload:{path:e,value:r,paramName:t,paramIn:n,isXml:o}}}function ke(e,t,n,r){return{type:re,payload:{path:e,param:t,value:n,isXml:r}}}var je=function(e,t){return{type:me,payload:{path:e,value:t}}},Te=function(){return{type:me,payload:{path:[],value:Object(z.Map)()}}},Ie=function(e,t){return{type:ae,payload:{pathMethod:e,isOAS3:t}}},Pe=function(e,t,n,r){return{type:oe,payload:{pathMethod:e,paramName:t,paramIn:n,includeEmptyValue:r}}};function Ne(e){return{type:fe,payload:{pathMethod:e}}}function Me(e,t){return{type:he,payload:{path:e,value:t,key:"consumes_value"}}}function Re(e,t){return{type:he,payload:{path:e,value:t,key:"produces_value"}}}var De=function(e,t,n){return{payload:{path:e,method:t,res:n},type:ie}},Le=function(e,t,n){return{payload:{path:e,method:t,req:n},type:se}},Be=function(e,t,n){return{payload:{path:e,method:t,req:n},type:ue}},Fe=function(e){return{payload:e,type:ce}},Ue=function(e){return function(t){var n,r,o=t.fn,a=t.specActions,i=t.specSelectors,s=t.getConfigs,c=t.oas3Selectors,l=e.pathName,p=e.method,h=e.operation,m=s(),g=m.requestInterceptor,y=m.responseInterceptor,b=h.toJS();h&&h.get("parameters")&&P()(n=A()(r=h.get("parameters")).call(r,(function(e){return e&&!0===e.get("allowEmptyValue")}))).call(n,(function(t){if(i.parameterInclusionSettingFor([l,p],t.get("name"),t.get("in"))){e.parameters=e.parameters||{};var n=Object(X.B)(t,e.parameters);(!n||n&&0===n.size)&&(e.parameters[t.get("name")]="")}}));if(e.contextUrl=W()(i.url()).toString(),b&&b.operationId?e.operationId=b.operationId:b&&l&&p&&(e.operationId=o.opId(b,l,p)),i.isOAS3()){var _,w=M()(_="".concat(l,":")).call(_,p);e.server=c.selectedServer(w)||c.selectedServer();var x=c.serverVariables({server:e.server,namespace:w}).toJS(),E=c.serverVariables({server:e.server}).toJS();e.serverVariables=D()(x).length?x:E,e.requestContentType=c.requestContentType(l,p),e.responseContentType=c.responseContentType(l,p)||"*/*";var S,C=c.requestBodyValue(l,p),O=c.requestBodyInclusionSetting(l,p);if(C&&C.toJS)e.requestBody=A()(S=v()(C).call(C,(function(e){return z.Map.isMap(e)?e.get("value"):e}))).call(S,(function(e,t){return(d()(e)?0!==e.length:!Object(X.q)(e))||O.get(t)})).toJS();else e.requestBody=C}var k=B()({},e);k=o.buildRequest(k),a.setRequest(e.pathName,e.method,k);var j=function(){var t=u()(f.a.mark((function t(n){var r,o;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g.apply(undefined,[n]);case 2:return r=t.sent,o=B()({},r),a.setMutatedRequest(e.pathName,e.method,o),t.abrupt("return",r);case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();e.requestInterceptor=j,e.responseInterceptor=y;var T=U()();return o.execute(e).then((function(t){t.duration=U()()-T,a.setResponse(e.pathName,e.method,t)})).catch((function(t){"Failed to fetch"===t.message&&(t.name="",t.message='**Failed to fetch.** \n**Possible Reasons:** \n - CORS \n - Network Failure \n - URL scheme must be "http" or "https" for CORS request.'),a.setResponse(e.pathName,e.method,{error:!0,err:Object(H.serializeError)(t)})}))}},qe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.path,n=e.method,r=i()(e,Q);return function(e){var a=e.fn.fetch,i=e.specSelectors,s=e.specActions,u=i.specJsonWithResolvedSubtrees().toJS(),c=i.operationScheme(t,n),l=i.contentTypeValues([t,n]).toJS(),p=l.requestContentType,f=l.responseContentType,h=/xml/i.test(p),d=i.parameterValues([t,n],h).toJS();return s.executeRequest(o()(o()({},r),{},{fetch:a,spec:u,pathName:t,method:n,parameters:d,requestContentType:p,scheme:c,responseContentType:f}))}};function ze(e,t){return{type:le,payload:{path:e,method:t}}}function Ve(e,t){return{type:pe,payload:{path:e,method:t}}}function We(e,t,n){return{type:ve,payload:{scheme:e,path:t,method:n}}}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(37);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,n){var r=n(177),o=n(241),a=n(240),i=n(187);e.exports=function(e,t){var n=void 0!==r&&o(e)||e["@@iterator"];if(!n){if(a(e)||(n=i(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var s=0,u=function(){};return{s:u,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(e){throw e},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,l=!0,p=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){p=!0,c=e},f:function(){try{l||null==n.return||n.return()}finally{if(p)throw c}}}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";n.r(t),n.d(t,"UPDATE_SELECTED_SERVER",(function(){return r})),n.d(t,"UPDATE_REQUEST_BODY_VALUE",(function(){return o})),n.d(t,"UPDATE_REQUEST_BODY_VALUE_RETAIN_FLAG",(function(){return a})),n.d(t,"UPDATE_REQUEST_BODY_INCLUSION",(function(){return i})),n.d(t,"UPDATE_ACTIVE_EXAMPLES_MEMBER",(function(){return s})),n.d(t,"UPDATE_REQUEST_CONTENT_TYPE",(function(){return u})),n.d(t,"UPDATE_RESPONSE_CONTENT_TYPE",(function(){return c})),n.d(t,"UPDATE_SERVER_VARIABLE_VALUE",(function(){return l})),n.d(t,"SET_REQUEST_BODY_VALIDATE_ERROR",(function(){return p})),n.d(t,"CLEAR_REQUEST_BODY_VALIDATE_ERROR",(function(){return f})),n.d(t,"CLEAR_REQUEST_BODY_VALUE",(function(){return h})),n.d(t,"setSelectedServer",(function(){return d})),n.d(t,"setRequestBodyValue",(function(){return m})),n.d(t,"setRetainRequestBodyValueFlag",(function(){return v})),n.d(t,"setRequestBodyInclusion",(function(){return g})),n.d(t,"setActiveExamplesMember",(function(){return y})),n.d(t,"setRequestContentType",(function(){return b})),n.d(t,"setResponseContentType",(function(){return _})),n.d(t,"setServerVariableValue",(function(){return w})),n.d(t,"setRequestBodyValidateError",(function(){return x})),n.d(t,"clearRequestBodyValidateError",(function(){return E})),n.d(t,"initRequestBodyValidateError",(function(){return S})),n.d(t,"clearRequestBodyValue",(function(){return C}));var r="oas3_set_servers",o="oas3_set_request_body_value",a="oas3_set_request_body_retain_flag",i="oas3_set_request_body_inclusion",s="oas3_set_active_examples_member",u="oas3_set_request_content_type",c="oas3_set_response_content_type",l="oas3_set_server_variable_value",p="oas3_set_request_body_validate_error",f="oas3_clear_request_body_validate_error",h="oas3_clear_request_body_value";function d(e,t){return{type:r,payload:{selectedServerUrl:e,namespace:t}}}function m(e){var t=e.value,n=e.pathMethod;return{type:o,payload:{value:t,pathMethod:n}}}var v=function(e){var t=e.value,n=e.pathMethod;return{type:a,payload:{value:t,pathMethod:n}}};function g(e){var t=e.value,n=e.pathMethod,r=e.name;return{type:i,payload:{value:t,pathMethod:n,name:r}}}function y(e){var t=e.name,n=e.pathMethod,r=e.contextType,o=e.contextName;return{type:s,payload:{name:t,pathMethod:n,contextType:r,contextName:o}}}function b(e){var t=e.value,n=e.pathMethod;return{type:u,payload:{value:t,pathMethod:n}}}function _(e){var t=e.value,n=e.path,r=e.method;return{type:c,payload:{value:t,path:n,method:r}}}function w(e){var t=e.server,n=e.namespace,r=e.key,o=e.val;return{type:l,payload:{server:t,namespace:n,key:r,val:o}}}var x=function(e){var t=e.path,n=e.method,r=e.validationErrors;return{type:p,payload:{path:t,method:n,validationErrors:r}}},E=function(e){var t=e.path,n=e.method;return{type:f,payload:{path:t,method:n}}},S=function(e){var t=e.pathMethod;return{type:f,payload:{path:t[0],method:t[1]}}},C=function(e){var t=e.pathMethod;return{type:h,payload:{pathMethod:t}}}},function(e,t,n){var r=n(62),o={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return o.call(r(e),t)}},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=o},function(e,t,n){e.exports=n(662)},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return m})),n.d(t,"e",(function(){return v})),n.d(t,"c",(function(){return y})),n.d(t,"a",(function(){return b})),n.d(t,"d",(function(){return _}));var r=n(49),o=n.n(r),a=n(18),i=n.n(a),s=n(104),u=n.n(s),c=n(2),l=n.n(c),p=n(59),f=n.n(p),h=function(e){return String.prototype.toLowerCase.call(e)},d=function(e){return e.replace(/[^\w]/gi,"_")};function m(e){var t=e.openapi;return!!t&&u()(t).call(t,"3")}function v(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=r.v2OperationIdCompatibilityMode;if(!e||"object"!==i()(e))return null;var a=(e.operationId||"").replace(/\s/g,"");return a.length?d(e.operationId):g(t,n,{v2OperationIdCompatibilityMode:o})}function g(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=r.v2OperationIdCompatibilityMode;if(o){var a,i,s=l()(a="".concat(t.toLowerCase(),"_")).call(a,e).replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return(s=s||l()(i="".concat(e.substring(1),"_")).call(i,t)).replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return l()(n="".concat(h(t))).call(n,d(e))}function y(e,t){var n;return l()(n="".concat(h(t),"-")).call(n,e)}function b(e,t){return e&&e.paths?function(e,t){return function(e,t,n){if(!e||"object"!==i()(e)||!e.paths||"object"!==i()(e.paths))return null;var r=e.paths;for(var o in r)for(var a in r[o])if("PARAMETERS"!==a.toUpperCase()){var s=r[o][a];if(s&&"object"===i()(s)){var u={spec:e,pathName:o,method:a.toUpperCase(),operation:s},c=t(u);if(n&&c)return u}}return}(e,t,!0)||null}(e,(function(e){var n=e.pathName,r=e.method,o=e.operation;if(!o||"object"!==i()(o))return!1;var a=o.operationId;return[v(o,n,r),y(n,r),a].some((function(e){return e&&e===t}))})):null}function _(e){var t=e.spec,n=t.paths,r={};if(!n||t.$$normalized)return e;for(var a in n){var i=n[a];if(f()(i)){var s=i.parameters,u=function(e){var n=i[e];if(!f()(n))return"continue";var u=v(n,a,e);if(u){r[u]?r[u].push(n):r[u]=[n];var c=r[u];if(c.length>1)c.forEach((function(e,t){var n;e.__originalOperationId=e.__originalOperationId||e.operationId,e.operationId=l()(n="".concat(u)).call(n,t+1)}));else if(void 0!==n.operationId){var p=c[0];p.__originalOperationId=p.__originalOperationId||n.operationId,p.operationId=u}}if("parameters"!==e){var h=[],d={};for(var m in t)"produces"!==m&&"consumes"!==m&&"security"!==m||(d[m]=t[m],h.push(d));if(s&&(d.parameters=s,h.push(d)),h.length){var g,y=o()(h);try{for(y.s();!(g=y.n()).done;){var b=g.value;for(var _ in b)if(n[_]){if("parameters"===_){var w,x=o()(b[_]);try{var E=function(){var e=w.value;n[_].some((function(t){return t.name&&t.name===e.name||t.$ref&&t.$ref===e.$ref||t.$$ref&&t.$$ref===e.$$ref||t===e}))||n[_].push(e)};for(x.s();!(w=x.n()).done;)E()}catch(e){x.e(e)}finally{x.f()}}}else n[_]=b[_]}}catch(e){y.e(e)}finally{y.f()}}}};for(var c in i)u(c)}}return t.$$normalized=!0,e}},function(e,t,n){"use strict";n.r(t),n.d(t,"NEW_THROWN_ERR",(function(){return o})),n.d(t,"NEW_THROWN_ERR_BATCH",(function(){return a})),n.d(t,"NEW_SPEC_ERR",(function(){return i})),n.d(t,"NEW_SPEC_ERR_BATCH",(function(){return s})),n.d(t,"NEW_AUTH_ERR",(function(){return u})),n.d(t,"CLEAR",(function(){return c})),n.d(t,"CLEAR_BY",(function(){return l})),n.d(t,"newThrownErr",(function(){return p})),n.d(t,"newThrownErrBatch",(function(){return f})),n.d(t,"newSpecErr",(function(){return h})),n.d(t,"newSpecErrBatch",(function(){return d})),n.d(t,"newAuthErr",(function(){return m})),n.d(t,"clear",(function(){return v})),n.d(t,"clearBy",(function(){return g}));var r=n(146),o="err_new_thrown_err",a="err_new_thrown_err_batch",i="err_new_spec_err",s="err_new_spec_err_batch",u="err_new_auth_err",c="err_clear",l="err_clear_by";function p(e){return{type:o,payload:Object(r.serializeError)(e)}}function f(e){return{type:a,payload:e}}function h(e){return{type:i,payload:e}}function d(e){return{type:s,payload:e}}function m(e){return{type:u,payload:e}}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{type:c,payload:e}}function g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!0};return{type:l,payload:e}}},function(e,t,n){var r=n(108);e.exports=function(e){return Object(r(e))}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){var r=n(132),o=r.Buffer;function a(e,t){for(var n in e)t[n]=e[n]}function i(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=r:(a(r,t),t.Buffer=i),a(o,i),i.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,n)},i.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=o(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},i.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},i.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t,n){e.exports=n(882)},function(e,t,n){var r=n(179),o=n(108);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(48),o=n(68),a=n(107);e.exports=r?function(e,t,n){return o.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(48),o=n(360),a=n(52),i=n(180),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(a(e),t=i(t,!0),a(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(128),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(33),o=n(40),a=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?a(r[e])||a(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},function(e,t,n){var r=n(405),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();e.exports=a},function(e,t,n){"use strict";e.exports={debugTool:null}},function(e,t,n){"use strict";function r(e){return null==e}var o={isNothing:r,isObject:function(e){return"object"==typeof e&&null!==e},toArray:function(e){return Array.isArray(e)?e:r(e)?[]:[e]},repeat:function(e,t){var n,r="";for(n=0;ns&&(t=r-s+(a=" ... ").length),n-r>s&&(n=r+s-(i=" ...").length),{str:a+e.slice(t,n).replace(/\t/g,"→")+i,pos:r-t+a.length}}function c(e,t){return o.repeat(" ",t-e.length)+e}var l=function(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),"number"!=typeof t.indent&&(t.indent=1),"number"!=typeof t.linesBefore&&(t.linesBefore=3),"number"!=typeof t.linesAfter&&(t.linesAfter=2);for(var n,r=/\r?\n|\r|\0/g,a=[0],i=[],s=-1;n=r.exec(e.buffer);)i.push(n.index),a.push(n.index+n[0].length),e.position<=n.index&&s<0&&(s=a.length-2);s<0&&(s=a.length-1);var l,p,f="",h=Math.min(e.line+t.linesAfter,i.length).toString().length,d=t.maxLength-(t.indent+h+3);for(l=1;l<=t.linesBefore&&!(s-l<0);l++)p=u(e.buffer,a[s-l],i[s-l],e.position-(a[s]-a[s-l]),d),f=o.repeat(" ",t.indent)+c((e.line-l+1).toString(),h)+" | "+p.str+"\n"+f;for(p=u(e.buffer,a[s],i[s],e.position,d),f+=o.repeat(" ",t.indent)+c((e.line+1).toString(),h)+" | "+p.str+"\n",f+=o.repeat("-",t.indent+h+3+p.pos)+"^\n",l=1;l<=t.linesAfter&&!(s+l>=i.length);l++)p=u(e.buffer,a[s+l],i[s+l],e.position-(a[s]-a[s+l]),d),f+=o.repeat(" ",t.indent)+c((e.line+l+1).toString(),h)+" | "+p.str+"\n";return f.replace(/\n$/,"")},p=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],f=["scalar","sequence","mapping"];var h=function(e,t){if(t=t||{},Object.keys(t).forEach((function(t){if(-1===p.indexOf(t))throw new s('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=function(e){var t={};return null!==e&&Object.keys(e).forEach((function(n){e[n].forEach((function(e){t[String(e)]=n}))})),t}(t.styleAliases||null),-1===f.indexOf(this.kind))throw new s('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')};function d(e,t){var n=[];return e[t].forEach((function(e){var t=n.length;n.forEach((function(n,r){n.tag===e.tag&&n.kind===e.kind&&n.multi===e.multi&&(t=r)})),n[t]=e})),n}function m(e){return this.extend(e)}m.prototype.extend=function(e){var t=[],n=[];if(e instanceof h)n.push(e);else if(Array.isArray(e))n=n.concat(e);else{if(!e||!Array.isArray(e.implicit)&&!Array.isArray(e.explicit))throw new s("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");e.implicit&&(t=t.concat(e.implicit)),e.explicit&&(n=n.concat(e.explicit))}t.forEach((function(e){if(!(e instanceof h))throw new s("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(e.loadKind&&"scalar"!==e.loadKind)throw new s("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(e.multi)throw new s("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")})),n.forEach((function(e){if(!(e instanceof h))throw new s("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));var r=Object.create(m.prototype);return r.implicit=(this.implicit||[]).concat(t),r.explicit=(this.explicit||[]).concat(n),r.compiledImplicit=d(r,"implicit"),r.compiledExplicit=d(r,"explicit"),r.compiledTypeMap=function(){var e,t,n={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function r(e){e.multi?(n.multi[e.kind].push(e),n.multi.fallback.push(e)):n[e.kind][e.tag]=n.fallback[e.tag]=e}for(e=0,t=arguments.length;e=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),A=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var O=/^[-+]?[0-9]+e/;var k=new h("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!A.test(e)||"_"===e[e.length-1])},construct:function(e){var t,n;return n="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:n*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||o.isNegativeZero(e))},represent:function(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(o.isNegativeZero(e))return"-0.0";return n=e.toString(10),O.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"}),j=_.extend({implicit:[w,x,C,k]}),T=j,I=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),P=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");var N=new h("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==I.exec(e)||null!==P.exec(e))},construct:function(e){var t,n,r,o,a,i,s,u,c=0,l=null;if(null===(t=I.exec(e))&&(t=P.exec(e)),null===t)throw new Error("Date resolve error");if(n=+t[1],r=+t[2]-1,o=+t[3],!t[4])return new Date(Date.UTC(n,r,o));if(a=+t[4],i=+t[5],s=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+="0";c=+c}return t[9]&&(l=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(l=-l)),u=new Date(Date.UTC(n,r,o,a,i,s,c)),l&&u.setTime(u.getTime()-l),u},instanceOf:Date,represent:function(e){return e.toISOString()}});var M=new h("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}}),R="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";var D=new h("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,r=0,o=e.length,a=R;for(n=0;n64)){if(t<0)return!1;r+=6}return r%8==0},construct:function(e){var t,n,r=e.replace(/[\r\n=]/g,""),o=r.length,a=R,i=0,s=[];for(t=0;t>16&255),s.push(i>>8&255),s.push(255&i)),i=i<<6|a.indexOf(r.charAt(t));return 0===(n=o%4*6)?(s.push(i>>16&255),s.push(i>>8&255),s.push(255&i)):18===n?(s.push(i>>10&255),s.push(i>>2&255)):12===n&&s.push(i>>4&255),new Uint8Array(s)},predicate:function(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)},represent:function(e){var t,n,r="",o=0,a=e.length,i=R;for(t=0;t>18&63],r+=i[o>>12&63],r+=i[o>>6&63],r+=i[63&o]),o=(o<<8)+e[t];return 0===(n=a%3)?(r+=i[o>>18&63],r+=i[o>>12&63],r+=i[o>>6&63],r+=i[63&o]):2===n?(r+=i[o>>10&63],r+=i[o>>4&63],r+=i[o<<2&63],r+=i[64]):1===n&&(r+=i[o>>2&63],r+=i[o<<4&63],r+=i[64],r+=i[64]),r}}),L=Object.prototype.hasOwnProperty,B=Object.prototype.toString;var F=new h("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,r,o,a,i=[],s=e;for(t=0,n=s.length;t>10),56320+(e-65536&1023))}for(var ae=new Array(256),ie=new Array(256),se=0;se<256;se++)ae[se]=re(se)?1:0,ie[se]=re(se);function ue(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||W,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function ce(e,t){var n={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return n.snippet=l(n),new s(t,n)}function le(e,t){throw ce(e,t)}function pe(e,t){e.onWarning&&e.onWarning.call(null,ce(e,t))}var fe={YAML:function(e,t,n){var r,o,a;null!==e.version&&le(e,"duplication of %YAML directive"),1!==n.length&&le(e,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&le(e,"ill-formed argument of the YAML directive"),o=parseInt(r[1],10),a=parseInt(r[2],10),1!==o&&le(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=a<2,1!==a&&2!==a&&pe(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var r,o;2!==n.length&&le(e,"TAG directive accepts exactly two arguments"),r=n[0],o=n[1],Y.test(r)||le(e,"ill-formed tag handle (first argument) of the TAG directive"),H.call(e.tagMap,r)&&le(e,'there is a previously declared suffix for "'+r+'" tag handle'),G.test(o)||le(e,"ill-formed tag prefix (second argument) of the TAG directive");try{o=decodeURIComponent(o)}catch(t){le(e,"tag prefix is malformed: "+o)}e.tagMap[r]=o}};function he(e,t,n,r){var o,a,i,s;if(t1&&(e.result+=o.repeat("\n",t-1))}function _e(e,t){var n,r,o=e.tag,a=e.anchor,i=[],s=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=i),r=e.input.charCodeAt(e.position);0!==r&&(-1!==e.firstTabInLine&&(e.position=e.firstTabInLine,le(e,"tab characters must not be used in indentation")),45===r)&&ee(e.input.charCodeAt(e.position+1));)if(s=!0,e.position++,ge(e,!0,-1)&&e.lineIndent<=t)i.push(null),r=e.input.charCodeAt(e.position);else if(n=e.line,Ee(e,t,3,!1,!0),i.push(e.result),ge(e,!0,-1),r=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==r)le(e,"bad indentation of a sequence entry");else if(e.lineIndentt?m=1:e.lineIndent===t?m=0:e.lineIndentt?m=1:e.lineIndent===t?m=0:e.lineIndentt)&&(g&&(i=e.line,s=e.lineStart,u=e.position),Ee(e,t,4,!0,o)&&(g?m=e.result:v=e.result),g||(me(e,f,h,d,m,v,i,s,u),d=m=v=null),ge(e,!0,-1),c=e.input.charCodeAt(e.position)),(e.line===a||e.lineIndent>t)&&0!==c)le(e,"bad indentation of a mapping entry");else if(e.lineIndent=0))break;0===a?le(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?le(e,"repeat of an indentation width identifier"):(p=t+a-1,l=!0)}if(Q(i)){do{i=e.input.charCodeAt(++e.position)}while(Q(i));if(35===i)do{i=e.input.charCodeAt(++e.position)}while(!X(i)&&0!==i)}for(;0!==i;){for(ve(e),e.lineIndent=0,i=e.input.charCodeAt(e.position);(!l||e.lineIndentp&&(p=e.lineIndent),X(i))f++;else{if(e.lineIndent0){for(o=i,a=0;o>0;o--)(i=ne(s=e.input.charCodeAt(++e.position)))>=0?a=(a<<4)+i:le(e,"expected hexadecimal character");e.result+=oe(a),e.position++}else le(e,"unknown escape sequence");n=r=e.position}else X(s)?(he(e,n,r,!0),be(e,ge(e,!1,t)),n=r=e.position):e.position===e.lineStart&&ye(e)?le(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}le(e,"unexpected end of the stream within a double quoted scalar")}(e,h)?g=!0:!function(e){var t,n,r;if(42!==(r=e.input.charCodeAt(e.position)))return!1;for(r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!ee(r)&&!te(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&le(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),H.call(e.anchorMap,n)||le(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],ge(e,!0,-1),!0}(e)?function(e,t,n){var r,o,a,i,s,u,c,l,p=e.kind,f=e.result;if(ee(l=e.input.charCodeAt(e.position))||te(l)||35===l||38===l||42===l||33===l||124===l||62===l||39===l||34===l||37===l||64===l||96===l)return!1;if((63===l||45===l)&&(ee(r=e.input.charCodeAt(e.position+1))||n&&te(r)))return!1;for(e.kind="scalar",e.result="",o=a=e.position,i=!1;0!==l;){if(58===l){if(ee(r=e.input.charCodeAt(e.position+1))||n&&te(r))break}else if(35===l){if(ee(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&ye(e)||n&&te(l))break;if(X(l)){if(s=e.line,u=e.lineStart,c=e.lineIndent,ge(e,!1,-1),e.lineIndent>=t){i=!0,l=e.input.charCodeAt(e.position);continue}e.position=a,e.line=s,e.lineStart=u,e.lineIndent=c;break}}i&&(he(e,o,a,!1),be(e,e.line-s),o=a=e.position,i=!1),Q(l)||(a=e.position+1),l=e.input.charCodeAt(++e.position)}return he(e,o,a,!1),!!e.result||(e.kind=p,e.result=f,!1)}(e,h,1===n)&&(g=!0,null===e.tag&&(e.tag="?")):(g=!0,null===e.tag&&null===e.anchor||le(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===m&&(g=u&&_e(e,d))),null===e.tag)null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);else if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&le(e,'unacceptable node kind for ! tag; it should be "scalar", not "'+e.kind+'"'),c=0,l=e.implicitTypes.length;c"),null!==e.result&&f.kind!==e.kind&&le(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+f.kind+'", not "'+e.kind+'"'),f.resolve(e.result,e.tag)?(e.result=f.construct(e.result,e.tag),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):le(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||g}function Se(e){var t,n,r,o,a=e.position,i=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);0!==(o=e.input.charCodeAt(e.position))&&(ge(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==o));){for(i=!0,o=e.input.charCodeAt(++e.position),t=e.position;0!==o&&!ee(o);)o=e.input.charCodeAt(++e.position);for(r=[],(n=e.input.slice(t,e.position)).length<1&&le(e,"directive name must not be less than one character in length");0!==o;){for(;Q(o);)o=e.input.charCodeAt(++e.position);if(35===o){do{o=e.input.charCodeAt(++e.position)}while(0!==o&&!X(o));break}if(X(o))break;for(t=e.position;0!==o&&!ee(o);)o=e.input.charCodeAt(++e.position);r.push(e.input.slice(t,e.position))}0!==o&&ve(e),H.call(fe,n)?fe[n](e,n,r):pe(e,'unknown document directive "'+n+'"')}ge(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,ge(e,!0,-1)):i&&le(e,"directives end mark is expected"),Ee(e,e.lineIndent-1,4,!1,!0),ge(e,!0,-1),e.checkLineBreaks&&J.test(e.input.slice(a,e.position))&&pe(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&ye(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,ge(e,!0,-1)):e.position=55296&&r<=56319&&t+1=56320&&n<=57343?1024*(r-55296)+n-56320+65536:r}function ze(e){return/^\n* /.test(e)}function Ve(e,t,n,r,o,a,i,s){var u,c,l=0,p=null,f=!1,h=!1,d=-1!==r,m=-1,v=Be(c=qe(e,0))&&c!==je&&!Le(c)&&45!==c&&63!==c&&58!==c&&44!==c&&91!==c&&93!==c&&123!==c&&125!==c&&35!==c&&38!==c&&42!==c&&33!==c&&124!==c&&61!==c&&62!==c&&39!==c&&34!==c&&37!==c&&64!==c&&96!==c&&function(e){return!Le(e)&&58!==e}(qe(e,e.length-1));if(t||i)for(u=0;u=65536?u+=2:u++){if(!Be(l=qe(e,u)))return 5;v=v&&Ue(l,p,s),p=l}else{for(u=0;u=65536?u+=2:u++){if(10===(l=qe(e,u)))f=!0,d&&(h=h||u-m-1>r&&" "!==e[m+1],m=u);else if(!Be(l))return 5;v=v&&Ue(l,p,s),p=l}h=h||d&&u-m-1>r&&" "!==e[m+1]}return f||h?n>9&&ze(e)?5:i?2===a?5:2:h?4:3:!v||i||o(e)?2===a?5:2:1}function We(e,t,n,r,o){e.dump=function(){if(0===t.length)return 2===e.quotingType?'""':"''";if(!e.noCompatMode&&(-1!==Ie.indexOf(t)||Pe.test(t)))return 2===e.quotingType?'"'+t+'"':"'"+t+"'";var a=e.indent*Math.max(1,n),i=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-a),u=r||e.flowLevel>-1&&n>=e.flowLevel;switch(Ve(t,u,e.indent,i,(function(t){return function(e,t){var n,r;for(n=0,r=e.implicitTypes.length;n"+He(t,e.indent)+$e(Re(function(e,t){var n,r,o=/(\n+)([^\n]*)/g,a=(s=e.indexOf("\n"),s=-1!==s?s:e.length,o.lastIndex=s,Je(e.slice(0,s),t)),i="\n"===e[0]||" "===e[0];var s;for(;r=o.exec(e);){var u=r[1],c=r[2];n=" "===c[0],a+=u+(i||n||""===c?"":"\n")+Je(c,t),i=n}return a}(t,i),a));case 5:return'"'+function(e){for(var t,n="",r=0,o=0;o=65536?o+=2:o++)r=qe(e,o),!(t=Te[r])&&Be(r)?(n+=e[o],r>=65536&&(n+=e[o+1])):n+=t||Ne(r);return n}(t)+'"';default:throw new s("impossible error: invalid scalar style")}}()}function He(e,t){var n=ze(e)?String(t):"",r="\n"===e[e.length-1];return n+(r&&("\n"===e[e.length-2]||"\n"===e)?"+":r?"":"-")+"\n"}function $e(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function Je(e,t){if(""===e||" "===e[0])return e;for(var n,r,o=/ [^ ]/g,a=0,i=0,s=0,u="";n=o.exec(e);)(s=n.index)-a>t&&(r=i>a?i:s,u+="\n"+e.slice(a,r),a=r+1),i=s;return u+="\n",e.length-a>t&&i>a?u+=e.slice(a,i)+"\n"+e.slice(i+1):u+=e.slice(a),u.slice(1)}function Ke(e,t,n,r){var o,a,i,s="",u=e.tag;for(o=0,a=n.length;o tag resolver accepts not "'+c+'" style');r=u.represent[c](t,c)}e.dump=r}return!0}return!1}function Ge(e,t,n,r,o,a,i){e.tag=null,e.dump=n,Ye(e,n,!1)||Ye(e,n,!0);var u,c=Oe.call(e.dump),l=r;r&&(r=e.flowLevel<0||e.flowLevel>t);var p,f,h="[object Object]"===c||"[object Array]"===c;if(h&&(f=-1!==(p=e.duplicates.indexOf(n))),(null!==e.tag&&"?"!==e.tag||f||2!==e.indent&&t>0)&&(o=!1),f&&e.usedDuplicates[p])e.dump="*ref_"+p;else{if(h&&f&&!e.usedDuplicates[p]&&(e.usedDuplicates[p]=!0),"[object Object]"===c)r&&0!==Object.keys(e.dump).length?(!function(e,t,n,r){var o,a,i,u,c,l,p="",f=e.tag,h=Object.keys(n);if(!0===e.sortKeys)h.sort();else if("function"==typeof e.sortKeys)h.sort(e.sortKeys);else if(e.sortKeys)throw new s("sortKeys must be a boolean or a function");for(o=0,a=h.length;o1024)&&(e.dump&&10===e.dump.charCodeAt(0)?l+="?":l+="? "),l+=e.dump,c&&(l+=De(e,t)),Ge(e,t+1,u,!0,c)&&(e.dump&&10===e.dump.charCodeAt(0)?l+=":":l+=": ",p+=l+=e.dump));e.tag=f,e.dump=p||"{}"}(e,t,e.dump,o),f&&(e.dump="&ref_"+p+e.dump)):(!function(e,t,n){var r,o,a,i,s,u="",c=e.tag,l=Object.keys(n);for(r=0,o=l.length;r1024&&(s+="? "),s+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Ge(e,t,i,!1,!1)&&(u+=s+=e.dump));e.tag=c,e.dump="{"+u+"}"}(e,t,e.dump),f&&(e.dump="&ref_"+p+" "+e.dump));else if("[object Array]"===c)r&&0!==e.dump.length?(e.noArrayIndent&&!i&&t>0?Ke(e,t-1,e.dump,o):Ke(e,t,e.dump,o),f&&(e.dump="&ref_"+p+e.dump)):(!function(e,t,n){var r,o,a,i="",s=e.tag;for(r=0,o=n.length;r",e.dump=u+" "+e.dump)}return!0}function Ze(e,t){var n,r,o=[],a=[];for(Xe(e,o,a),n=0,r=a.length;n",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(c),p=["%","/","?",";","#"].concat(l),f=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},v={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=n(1077);function b(e,t,n){if(e&&o.isObject(e)&&e instanceof a)return e;var r=new a;return r.parse(e,t,n),r}a.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),s=-1!==a&&a127?N+="x":N+=P[M];if(!N.match(h)){var D=T.slice(0,O),L=T.slice(O+1),B=P.match(d);B&&(D.push(B[1]),L.unshift(B[2])),L.length&&(b="/"+L.join(".")+b),this.hostname=D.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),j||(this.hostname=r.toASCII(this.hostname));var F=this.port?":"+this.port:"",U=this.hostname||"";this.host=U+F,this.href+=this.host,j&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!m[x])for(O=0,I=l.length;O0)&&n.host.split("@"))&&(n.auth=j.shift(),n.host=n.hostname=j.shift());return n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!E.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=E.slice(-1)[0],A=(n.host||e.host||E.length>1)&&("."===C||".."===C)||""===C,O=0,k=E.length;k>=0;k--)"."===(C=E[k])?E.splice(k,1):".."===C?(E.splice(k,1),O++):O&&(E.splice(k,1),O--);if(!w&&!x)for(;O--;O)E.unshift("..");!w||""===E[0]||E[0]&&"/"===E[0].charAt(0)||E.unshift(""),A&&"/"!==E.join("/").substr(-1)&&E.push("");var j,T=""===E[0]||E[0]&&"/"===E[0].charAt(0);S&&(n.hostname=n.host=T?"":E.length?E.shift():"",(j=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=j.shift(),n.host=n.hostname=j.shift()));return(w=w||n.host&&E.length)&&!T&&E.unshift(""),E.length?n.pathname=E.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},a.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,n){"use strict";n.r(t),n.d(t,"SHOW_AUTH_POPUP",(function(){return h})),n.d(t,"AUTHORIZE",(function(){return d})),n.d(t,"LOGOUT",(function(){return m})),n.d(t,"PRE_AUTHORIZE_OAUTH2",(function(){return v})),n.d(t,"AUTHORIZE_OAUTH2",(function(){return g})),n.d(t,"VALIDATE",(function(){return y})),n.d(t,"CONFIGURE_AUTH",(function(){return b})),n.d(t,"RESTORE_AUTHORIZATION",(function(){return _})),n.d(t,"showDefinitions",(function(){return w})),n.d(t,"authorize",(function(){return x})),n.d(t,"authorizeWithPersistOption",(function(){return E})),n.d(t,"logout",(function(){return S})),n.d(t,"logoutWithPersistOption",(function(){return C})),n.d(t,"preAuthorizeImplicit",(function(){return A})),n.d(t,"authorizeOauth2",(function(){return O})),n.d(t,"authorizeOauth2WithPersistOption",(function(){return k})),n.d(t,"authorizePassword",(function(){return j})),n.d(t,"authorizeApplication",(function(){return T})),n.d(t,"authorizeAccessCodeWithFormParams",(function(){return I})),n.d(t,"authorizeAccessCodeWithBasicAuthentication",(function(){return P})),n.d(t,"authorizeRequest",(function(){return N})),n.d(t,"configureAuth",(function(){return M})),n.d(t,"restoreAuthorization",(function(){return R})),n.d(t,"persistAuthorizationIfNeeded",(function(){return D}));var r=n(18),o=n.n(r),a=n(32),i=n.n(a),s=n(20),u=n.n(s),c=n(92),l=n.n(c),p=n(26),f=n(5),h="show_popup",d="authorize",m="logout",v="pre_authorize_oauth2",g="authorize_oauth2",y="validate",b="configure_auth",_="restore_authorization";function w(e){return{type:h,payload:e}}function x(e){return{type:d,payload:e}}var E=function(e){return function(t){var n=t.authActions;n.authorize(e),n.persistAuthorizationIfNeeded()}};function S(e){return{type:m,payload:e}}var C=function(e){return function(t){var n=t.authActions;n.logout(e),n.persistAuthorizationIfNeeded()}},A=function(e){return function(t){var n=t.authActions,r=t.errActions,o=e.auth,a=e.token,s=e.isValid,u=o.schema,c=o.name,l=u.get("flow");delete p.a.swaggerUIRedirectOauth2,"accessCode"===l||s||r.newAuthErr({authId:c,source:"auth",level:"warning",message:"Authorization may be unsafe, passed state was changed in server Passed state wasn't returned from auth server"}),a.error?r.newAuthErr({authId:c,source:"auth",level:"error",message:i()(a)}):n.authorizeOauth2WithPersistOption({auth:o,token:a})}};function O(e){return{type:g,payload:e}}var k=function(e){return function(t){var n=t.authActions;n.authorizeOauth2(e),n.persistAuthorizationIfNeeded()}},j=function(e){return function(t){var n=t.authActions,r=e.schema,o=e.name,a=e.username,i=e.password,s=e.passwordType,c=e.clientId,l=e.clientSecret,p={grant_type:"password",scope:e.scopes.join(" "),username:a,password:i},h={};switch(s){case"request-body":!function(e,t,n){t&&u()(e,{client_id:t});n&&u()(e,{client_secret:n})}(p,c,l);break;case"basic":h.Authorization="Basic "+Object(f.a)(c+":"+l);break;default:console.warn("Warning: invalid passwordType ".concat(s," was passed, not including client id and secret"))}return n.authorizeRequest({body:Object(f.b)(p),url:r.get("tokenUrl"),name:o,headers:h,query:{},auth:e})}};var T=function(e){return function(t){var n=t.authActions,r=e.schema,o=e.scopes,a=e.name,i=e.clientId,s=e.clientSecret,u={Authorization:"Basic "+Object(f.a)(i+":"+s)},c={grant_type:"client_credentials",scope:o.join(" ")};return n.authorizeRequest({body:Object(f.b)(c),name:a,url:r.get("tokenUrl"),auth:e,headers:u})}},I=function(e){var t=e.auth,n=e.redirectUrl;return function(e){var r=e.authActions,o=t.schema,a=t.name,i=t.clientId,s=t.clientSecret,u=t.codeVerifier,c={grant_type:"authorization_code",code:t.code,client_id:i,client_secret:s,redirect_uri:n,code_verifier:u};return r.authorizeRequest({body:Object(f.b)(c),name:a,url:o.get("tokenUrl"),auth:t})}},P=function(e){var t=e.auth,n=e.redirectUrl;return function(e){var r=e.authActions,o=t.schema,a=t.name,i=t.clientId,s=t.clientSecret,u=t.codeVerifier,c={Authorization:"Basic "+Object(f.a)(i+":"+s)},l={grant_type:"authorization_code",code:t.code,client_id:i,redirect_uri:n,code_verifier:u};return r.authorizeRequest({body:Object(f.b)(l),name:a,url:o.get("tokenUrl"),auth:t,headers:c})}},N=function(e){return function(t){var n,r=t.fn,a=t.getConfigs,s=t.authActions,c=t.errActions,p=t.oas3Selectors,f=t.specSelectors,h=t.authSelectors,d=e.body,m=e.query,v=void 0===m?{}:m,g=e.headers,y=void 0===g?{}:g,b=e.name,_=e.url,w=e.auth,x=(h.getConfigs()||{}).additionalQueryStringParams;if(f.isOAS3()){var E=p.serverEffectiveValue(p.selectedServer());n=l()(_,E,!0)}else n=l()(_,f.url(),!0);"object"===o()(x)&&(n.query=u()({},n.query,x));var S=n.toString(),C=u()({Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","X-Requested-With":"XMLHttpRequest"},y);r.fetch({url:S,method:"post",headers:C,query:v,body:d,requestInterceptor:a().requestInterceptor,responseInterceptor:a().responseInterceptor}).then((function(e){var t=JSON.parse(e.data),n=t&&(t.error||""),r=t&&(t.parseError||"");e.ok?n||r?c.newAuthErr({authId:b,level:"error",source:"auth",message:i()(t)}):s.authorizeOauth2WithPersistOption({auth:w,token:t}):c.newAuthErr({authId:b,level:"error",source:"auth",message:e.statusText})})).catch((function(e){var t=new Error(e).message;if(e.response&&e.response.data){var n=e.response.data;try{var r="string"==typeof n?JSON.parse(n):n;r.error&&(t+=", error: ".concat(r.error)),r.error_description&&(t+=", description: ".concat(r.error_description))}catch(e){}}c.newAuthErr({authId:b,level:"error",source:"auth",message:t})}))}};function M(e){return{type:b,payload:e}}function R(e){return{type:_,payload:e}}var D=function(){return function(e){var t=e.authSelectors;if((0,e.getConfigs)().persistAuthorization){var n=t.authorized();localStorage.setItem("authorized",i()(n.toJS()))}}}},function(e,t,n){var r=n(1047);e.exports=function(e){for(var t=1;tS;S++)if((h||S in w)&&(b=x(y=w[S],S,_),e))if(t)A[S]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return S;case 2:u.call(A,y)}else switch(e){case 4:return!1;case 7:u.call(A,y)}return p?-1:c||l?l:A}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterOut:c(7)}},function(e,t,n){n(158);var r=n(567),o=n(40),a=n(98),i=n(67),s=n(131),u=n(41)("toStringTag");for(var c in r){var l=o[c],p=l&&l.prototype;p&&a(p)!==u&&i(p,u,c),s[c]=s.Array}},function(e,t,n){"use strict";e.exports={current:null}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t){var n,r,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var u,c=[],l=!1,p=-1;function f(){l&&u&&(l=!1,u.length?c=u.concat(c):p=-1,c.length&&h())}function h(){if(!l){var e=s(f);l=!0;for(var t=c.length;t;){for(u=c,c=[];++p1)for(var n=1;n0&&"/"!==t[0]}));function Se(e,t,n){var r;t=t||[];var o=we.apply(void 0,u()(r=[e]).call(r,i()(t))).get("parameters",Object(I.List)());return x()(o).call(o,(function(e,t){var r=n&&"body"===t.get("in")?t.get("value_xml"):t.get("value");return e.set(Object(T.A)(t,{allowHashes:!1}),r)}),Object(I.fromJS)({}))}function Ce(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(I.List.isList(e))return A()(e).call(e,(function(e){return I.Map.isMap(e)&&e.get("in")===t}))}function Ae(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(I.List.isList(e))return A()(e).call(e,(function(e){return I.Map.isMap(e)&&e.get("type")===t}))}function Oe(e,t){var n,r;t=t||[];var o=z(e).getIn(u()(n=["paths"]).call(n,i()(t)),Object(I.fromJS)({})),a=e.getIn(u()(r=["meta","paths"]).call(r,i()(t)),Object(I.fromJS)({})),s=ke(e,t),c=o.get("parameters")||new I.List,l=a.get("consumes_value")?a.get("consumes_value"):Ae(c,"file")?"multipart/form-data":Ae(c,"formData")?"application/x-www-form-urlencoded":void 0;return Object(I.fromJS)({requestContentType:l,responseContentType:s})}function ke(e,t){var n,r;t=t||[];var o=z(e).getIn(u()(n=["paths"]).call(n,i()(t)),null);if(null!==o){var a=e.getIn(u()(r=["meta","paths"]).call(r,i()(t),["produces_value"]),null),s=o.getIn(["produces",0],null);return a||s||"application/json"}}function je(e,t){var n;t=t||[];var r=z(e),a=r.getIn(u()(n=["paths"]).call(n,i()(t)),null);if(null!==a){var s=t,c=o()(s,1)[0],l=a.get("produces",null),p=r.getIn(["paths",c,"produces"],null),f=r.getIn(["produces"],null);return l||p||f}}function Te(e,t){var n;t=t||[];var r=z(e),a=r.getIn(u()(n=["paths"]).call(n,i()(t)),null);if(null!==a){var s=t,c=o()(s,1)[0],l=a.get("consumes",null),p=r.getIn(["paths",c,"consumes"],null),f=r.getIn(["consumes"],null);return l||p||f}}var Ie=function(e,t,n){var r=e.get("url").match(/^([a-z][a-z0-9+\-.]*):/),o=k()(r)?r[1]:null;return e.getIn(["scheme",t,n])||e.getIn(["scheme","_defaultScheme"])||o||""},Pe=function(e,t,n){var r;return d()(r=["http","https"]).call(r,Ie(e,t,n))>-1},Ne=function(e,t){var n;t=t||[];var r=e.getIn(u()(n=["meta","paths"]).call(n,i()(t),["parameters"]),Object(I.fromJS)([])),o=!0;return f()(r).call(r,(function(e){var t=e.get("errors");t&&t.count()&&(o=!1)})),o},Me=function(e,t){var n,r,o={requestBody:!1,requestContentType:{}},a=e.getIn(u()(n=["resolvedSubtrees","paths"]).call(n,i()(t),["requestBody"]),Object(I.fromJS)([]));return a.size<1||(a.getIn(["required"])&&(o.requestBody=a.getIn(["required"])),f()(r=a.getIn(["content"]).entrySeq()).call(r,(function(e){var t=e[0];if(e[1].getIn(["schema","required"])){var n=e[1].getIn(["schema","required"]).toJS();o.requestContentType[t]=n}}))),o},Re=function(e,t,n,r){var o;if((n||r)&&n===r)return!0;var a=e.getIn(u()(o=["resolvedSubtrees","paths"]).call(o,i()(t),["requestBody","content"]),Object(I.fromJS)([]));if(a.size<2||!n||!r)return!1;var s=a.getIn([n,"schema","properties"],Object(I.fromJS)([])),c=a.getIn([r,"schema","properties"],Object(I.fromJS)([]));return!!s.equals(c)};function De(e){return I.Map.isMap(e)?e:new I.Map}},function(e,t,n){"use strict";(function(t){var r=n(889),o=n(890),a=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,i=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,s=new RegExp("^[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]+");function u(e){return(e||"").toString().replace(s,"")}var c=[["#","hash"],["?","query"],function(e,t){return f(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d+)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],l={hash:1,query:1};function p(e){var n,r=("undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{}).location||{},o={},i=typeof(e=e||r);if("blob:"===e.protocol)o=new d(unescape(e.pathname),{});else if("string"===i)for(n in o=new d(e,{}),l)delete o[n];else if("object"===i){for(n in e)n in l||(o[n]=e[n]);void 0===o.slashes&&(o.slashes=a.test(e.href))}return o}function f(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function h(e,t){e=u(e),t=t||{};var n,r=i.exec(e),o=r[1]?r[1].toLowerCase():"",a=!!r[2],s=!!r[3],c=0;return a?s?(n=r[2]+r[3]+r[4],c=r[2].length+r[3].length):(n=r[2]+r[4],c=r[2].length):s?(n=r[3]+r[4],c=r[3].length):n=r[4],"file:"===o?c>=2&&(n=n.slice(2)):f(o)?n=r[4]:o?a&&(n=n.slice(2)):c>=2&&f(t.protocol)&&(n=r[4]),{protocol:o,slashes:a||f(o),slashesCount:c,rest:n}}function d(e,t,n){if(e=u(e),!(this instanceof d))return new d(e,t,n);var a,i,s,l,m,v,g=c.slice(),y=typeof t,b=this,_=0;for("object"!==y&&"string"!==y&&(n=t,t=null),n&&"function"!=typeof n&&(n=o.parse),a=!(i=h(e||"",t=p(t))).protocol&&!i.slashes,b.slashes=i.slashes||a&&t.slashes,b.protocol=i.protocol||t.protocol||"",e=i.rest,("file:"===b.protocol||!i.slashes&&(i.protocol||i.slashesCount<2||!f(b.protocol)))&&(g[3]=[/(.*)/,"pathname"]);_=4?[t[0],t[1],t[2],t[3],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[2],".").concat(t[3]),"".concat(t[3],".").concat(t[0]),"".concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[0]),"".concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[3],".").concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[2],".").concat(t[1],".").concat(t[0])]:void 0),g[r]}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.filter((function(e){return"token"!==e})),o=y(r);return o.reduce((function(e,t){return f()({},e,n[t])}),t)}function _(e){return e.join(" ")}function w(e){var t=e.node,n=e.stylesheet,r=e.style,o=void 0===r?{}:r,a=e.useInlineStyles,i=e.key,s=t.properties,u=t.type,c=t.tagName,l=t.value;if("text"===u)return l;if(c){var p,h=function(e,t){var n=0;return function(r){return n+=1,r.map((function(r,o){return w({node:r,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(o)})}))}}(n,a);if(a){var m=Object.keys(n).reduce((function(e,t){return t.split(".").forEach((function(t){e.includes(t)||e.push(t)})),e}),[]),g=s.className&&s.className.includes("token")?["token"]:[],y=s.className&&g.concat(s.className.filter((function(e){return!m.includes(e)})));p=f()({},s,{className:_(y)||void 0,style:b(s.className,Object.assign({},s.style,o),n)})}else p=f()({},s,{className:_(s.className)});var x=h(t.children);return d.a.createElement(c,v()({key:i},p),x)}}var x=/\n/g;function E(e){var t=e.codeString,n=e.codeStyle,r=e.containerStyle,o=void 0===r?{float:"left",paddingRight:"10px"}:r,a=e.numberStyle,i=void 0===a?{}:a,s=e.startingLineNumber;return d.a.createElement("code",{style:Object.assign({},n,o)},function(e){var t=e.lines,n=e.startingLineNumber,r=e.style;return t.map((function(e,t){var o=t+n;return d.a.createElement("span",{key:"line-".concat(t),className:"react-syntax-highlighter-line-number",style:"function"==typeof r?r(o):r},"".concat(o,"\n"))}))}({lines:t.replace(/\n$/,"").split("\n"),style:i,startingLineNumber:s}))}function S(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function C(e,t,n){var r,o={display:"inline-block",minWidth:(r=n,"".concat(r.toString().length,".25em")),paddingRight:"1em",textAlign:"right",userSelect:"none"},a="function"==typeof e?e(t):e;return f()({},o,a)}function A(e){var t=e.children,n=e.lineNumber,r=e.lineNumberStyle,o=e.largestLineNumber,a=e.showInlineLineNumbers,i=e.lineProps,s=void 0===i?{}:i,u=e.className,c=void 0===u?[]:u,l=e.showLineNumbers,p=e.wrapLongLines,h="function"==typeof s?s(n):s;if(h.className=c,n&&a){var d=C(r,n,o);t.unshift(S(n,d))}return p&l&&(h.style=f()({},h.style,{display:"flex"})),{type:"element",tagName:"span",properties:h,children:t}}function O(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=0;r2&&void 0!==arguments[2]?arguments[2]:[];return A({children:e,lineNumber:t,lineNumberStyle:s,largestLineNumber:i,showInlineLineNumbers:o,lineProps:n,className:a,showLineNumbers:r,wrapLongLines:u})}function m(e,t){if(r&&t&&o){var n=C(s,t,i);e.unshift(S(t,n))}return e}function v(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t||r.length>0?d(e,n,r):m(e,n)}for(var g=function(){var e=l[h],t=e.children[0].value;if(t.match(x)){var n=t.split("\n");n.forEach((function(t,o){var i=r&&p.length+a,s={type:"text",value:"".concat(t,"\n")};if(0===o){var u=v(l.slice(f+1,h).concat(A({children:[s],className:e.properties.className})),i);p.push(u)}else if(o===n.length-1){if(l[h+1]&&l[h+1].children&&l[h+1].children[0]){var c=A({children:[{type:"text",value:"".concat(t)}],className:e.properties.className});l.splice(h+1,0,c)}else{var d=v([s],i,e.properties.className);p.push(d)}}else{var m=v([s],i,e.properties.className);p.push(m)}})),f=h}h++};h .hljs-title":{color:"#88C0D0"},"hljs-keyword":{color:"#81A1C1"},"hljs-literal":{color:"#81A1C1"},"hljs-symbol":{color:"#81A1C1"},"hljs-number":{color:"#B48EAD"},"hljs-regexp":{color:"#EBCB8B"},"hljs-string":{color:"#A3BE8C"},"hljs-title":{color:"#8FBCBB"},"hljs-params":{color:"#D8DEE9"},"hljs-bullet":{color:"#81A1C1"},"hljs-code":{color:"#8FBCBB"},"hljs-emphasis":{fontStyle:"italic"},"hljs-formula":{color:"#8FBCBB"},"hljs-strong":{fontWeight:"bold"},"hljs-link:hover":{textDecoration:"underline"},"hljs-quote":{color:"#4C566A"},"hljs-comment":{color:"#4C566A"},"hljs-doctag":{color:"#8FBCBB"},"hljs-meta":{color:"#5E81AC"},"hljs-meta-keyword":{color:"#5E81AC"},"hljs-meta-string":{color:"#A3BE8C"},"hljs-attr":{color:"#8FBCBB"},"hljs-attribute":{color:"#D8DEE9"},"hljs-builtin-name":{color:"#81A1C1"},"hljs-name":{color:"#81A1C1"},"hljs-section":{color:"#88C0D0"},"hljs-tag":{color:"#81A1C1"},"hljs-variable":{color:"#D8DEE9"},"hljs-template-variable":{color:"#D8DEE9"},"hljs-template-tag":{color:"#5E81AC"},"abnf .hljs-attribute":{color:"#88C0D0"},"abnf .hljs-symbol":{color:"#EBCB8B"},"apache .hljs-attribute":{color:"#88C0D0"},"apache .hljs-section":{color:"#81A1C1"},"arduino .hljs-built_in":{color:"#88C0D0"},"aspectj .hljs-meta":{color:"#D08770"},"aspectj > .hljs-title":{color:"#88C0D0"},"bnf .hljs-attribute":{color:"#8FBCBB"},"clojure .hljs-name":{color:"#88C0D0"},"clojure .hljs-symbol":{color:"#EBCB8B"},"coq .hljs-built_in":{color:"#88C0D0"},"cpp .hljs-meta-string":{color:"#8FBCBB"},"css .hljs-built_in":{color:"#88C0D0"},"css .hljs-keyword":{color:"#D08770"},"diff .hljs-meta":{color:"#8FBCBB"},"ebnf .hljs-attribute":{color:"#8FBCBB"},"glsl .hljs-built_in":{color:"#88C0D0"},"groovy .hljs-meta:not(:first-child)":{color:"#D08770"},"haxe .hljs-meta":{color:"#D08770"},"java .hljs-meta":{color:"#D08770"},"ldif .hljs-attribute":{color:"#8FBCBB"},"lisp .hljs-name":{color:"#88C0D0"},"lua .hljs-built_in":{color:"#88C0D0"},"moonscript .hljs-built_in":{color:"#88C0D0"},"nginx .hljs-attribute":{color:"#88C0D0"},"nginx .hljs-section":{color:"#5E81AC"},"pf .hljs-built_in":{color:"#88C0D0"},"processing .hljs-built_in":{color:"#88C0D0"},"scss .hljs-keyword":{color:"#81A1C1"},"stylus .hljs-keyword":{color:"#81A1C1"},"swift .hljs-meta":{color:"#D08770"},"vim .hljs-built_in":{color:"#88C0D0",fontStyle:"italic"},"yaml .hljs-meta":{color:"#D08770"}},obsidian:{hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#282b2e",color:"#e0e2e4"},"hljs-keyword":{color:"#93c763",fontWeight:"bold"},"hljs-selector-tag":{color:"#93c763",fontWeight:"bold"},"hljs-literal":{color:"#93c763",fontWeight:"bold"},"hljs-selector-id":{color:"#93c763"},"hljs-number":{color:"#ffcd22"},"hljs-attribute":{color:"#668bb0"},"hljs-code":{color:"white"},"hljs-class .hljs-title":{color:"white"},"hljs-section":{color:"white",fontWeight:"bold"},"hljs-regexp":{color:"#d39745"},"hljs-link":{color:"#d39745"},"hljs-meta":{color:"#557182"},"hljs-tag":{color:"#8cbbad"},"hljs-name":{color:"#8cbbad",fontWeight:"bold"},"hljs-bullet":{color:"#8cbbad"},"hljs-subst":{color:"#8cbbad"},"hljs-emphasis":{color:"#8cbbad"},"hljs-type":{color:"#8cbbad",fontWeight:"bold"},"hljs-built_in":{color:"#8cbbad"},"hljs-selector-attr":{color:"#8cbbad"},"hljs-selector-pseudo":{color:"#8cbbad"},"hljs-addition":{color:"#8cbbad"},"hljs-variable":{color:"#8cbbad"},"hljs-template-tag":{color:"#8cbbad"},"hljs-template-variable":{color:"#8cbbad"},"hljs-string":{color:"#ec7600"},"hljs-symbol":{color:"#ec7600"},"hljs-comment":{color:"#818e96"},"hljs-quote":{color:"#818e96"},"hljs-deletion":{color:"#818e96"},"hljs-selector-class":{color:"#A082BD"},"hljs-doctag":{fontWeight:"bold"},"hljs-title":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"}},"tomorrow-night":{"hljs-comment":{color:"#969896"},"hljs-quote":{color:"#969896"},"hljs-variable":{color:"#cc6666"},"hljs-template-variable":{color:"#cc6666"},"hljs-tag":{color:"#cc6666"},"hljs-name":{color:"#cc6666"},"hljs-selector-id":{color:"#cc6666"},"hljs-selector-class":{color:"#cc6666"},"hljs-regexp":{color:"#cc6666"},"hljs-deletion":{color:"#cc6666"},"hljs-number":{color:"#de935f"},"hljs-built_in":{color:"#de935f"},"hljs-builtin-name":{color:"#de935f"},"hljs-literal":{color:"#de935f"},"hljs-type":{color:"#de935f"},"hljs-params":{color:"#de935f"},"hljs-meta":{color:"#de935f"},"hljs-link":{color:"#de935f"},"hljs-attribute":{color:"#f0c674"},"hljs-string":{color:"#b5bd68"},"hljs-symbol":{color:"#b5bd68"},"hljs-bullet":{color:"#b5bd68"},"hljs-addition":{color:"#b5bd68"},"hljs-title":{color:"#81a2be"},"hljs-section":{color:"#81a2be"},"hljs-keyword":{color:"#b294bb"},"hljs-selector-tag":{color:"#b294bb"},hljs:{display:"block",overflowX:"auto",background:"#1d1f21",color:"#c5c8c6",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}}},Q=o()(X),ee=function(e){return i()(Q).call(Q,e)?X[e]:(console.warn("Request style '".concat(e,"' is not available, returning default instead")),Z)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.File=t.Blob=t.FormData=void 0;const r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:window;t.FormData=r.FormData,t.Blob=r.Blob,t.File=r.File},function(e,t){e.exports=!0},function(e,t,n){var r=n(235),o=n(68).f,a=n(67),i=n(55),s=n(539),u=n(41)("toStringTag");e.exports=function(e,t,n,c){if(e){var l=n?e:e.prototype;i(l,u)||o(l,u,{configurable:!0,value:t}),c&&!r&&a(l,"toString",s)}}},function(e,t,n){var r=n(235),o=n(152),a=n(41)("toStringTag"),i="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),a))?n:i?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){"use strict";e.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}},function(e,t,n){var r=n(677);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){e.exports=n(670)},function(e,t,n){e.exports=n(1048)},function(e,t,n){"use strict";function r(e){return function(e){try{return!!JSON.parse(e)}catch(e){return null}}(e)?"json":null}n.d(t,"a",(function(){return r}))},function(e,t,n){e.exports=n(666)},function(e,t,n){"use strict";n.r(t),n.d(t,"UPDATE_LAYOUT",(function(){return o})),n.d(t,"UPDATE_FILTER",(function(){return a})),n.d(t,"UPDATE_MODE",(function(){return i})),n.d(t,"SHOW",(function(){return s})),n.d(t,"updateLayout",(function(){return u})),n.d(t,"updateFilter",(function(){return c})),n.d(t,"show",(function(){return l})),n.d(t,"changeMode",(function(){return p}));var r=n(5),o="layout_update_layout",a="layout_update_filter",i="layout_update_mode",s="layout_show";function u(e){return{type:o,payload:e}}function c(e){return{type:a,payload:e}}function l(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e=Object(r.v)(e),{type:s,payload:{thing:e,shown:t}}}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e=Object(r.v)(e),{type:i,payload:{thing:e,mode:t}}}},function(e,t,n){var r=n(419),o=n(161),a=n(194),i=n(56),s=n(137),u=n(195),c=n(198),l=n(247),p=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(i(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||l(e)||a(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!r(e).length;for(var n in e)if(p.call(e,n))return!1;return!0}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(76);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(70);e.exports=r("navigator","userAgent")||""},function(e,t,n){var r,o=n(52),a=n(228),i=n(231),s=n(157),u=n(365),c=n(223),l=n(183),p=l("IE_PROTO"),f=function(){},h=function(e){return" - - - -
- Index of ./portal-backend/v2.3.0-alpha.1 -
-
- - - - - - - - - - - - - - - -
NameSizeLast Modified
../--
administration-service/--
apps-service/--
notifications-service/--
registration-service/--
services-service/--
-
- - - - \ No newline at end of file diff --git a/portal-backend/v2.3.0-alpha.1/notifications-service/index.html b/portal-backend/v2.3.0-alpha.1/notifications-service/index.html deleted file mode 100644 index de20599..0000000 --- a/portal-backend/v2.3.0-alpha.1/notifications-service/index.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - Index of . - - - - - -
- Index of . -
-
- - - - - - - - - - - - -
NameSizeLast Modified
swagger-ui/--
notifications-service.yaml15.38 KB2024-09-27 04:07:00
-
- - - - \ No newline at end of file diff --git a/portal-backend/v2.3.0-alpha.1/notifications-service/notifications-service.yaml b/portal-backend/v2.3.0-alpha.1/notifications-service/notifications-service.yaml deleted file mode 100644 index f9c4016..0000000 --- a/portal-backend/v2.3.0-alpha.1/notifications-service/notifications-service.yaml +++ /dev/null @@ -1,532 +0,0 @@ -openapi: 3.0.1 -info: - title: Org.Eclipse.TractusX.Portal.Backend.Notifications.Service - version: v2.3.0-alpha.1 -paths: - /api/notification/errormessage: - get: - tags: - - ErrorMessage - responses: - '200': - description: OK - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ErrorMessageType' - '500': - description: Internal Server Error - /api/notification: - get: - tags: - - Notification - summary: 'Gets all notifications for the logged in user (Authorization required - Roles: view_notifications)' - description: 'Example: Get: /api/notification/' - operationId: GetNotifications - parameters: - - name: searchTypeIds - in: query - description: 'OPTIONAL: types for the search' - schema: - type: array - items: - $ref: '#/components/schemas/NotificationTypeId' - - name: page - in: query - description: The page to get - schema: - type: integer - format: int32 - default: 0 - - name: size - in: query - description: Amount of entries - schema: - type: integer - format: int32 - default: 15 - - name: searchSemantic - in: query - description: 'OPTIONAL: choose AND or OR semantics (defaults to AND)' - schema: - $ref: '#/components/schemas/SearchSemanticTypeId' - - name: isRead - in: query - description: 'OPTIONAL: Filter for read or unread notifications' - schema: - type: boolean - - name: notificationTypeId - in: query - description: 'OPTIONAL: Type of the notifications' - schema: - $ref: '#/components/schemas/NotificationTypeId' - - name: notificationTopicId - in: query - description: 'OPTIONAL: Topic of the notifications' - schema: - $ref: '#/components/schemas/NotificationTopicId' - - name: onlyDueDate - in: query - description: 'OPTIONAL: If true only notifications with a due date will be returned' - schema: - type: boolean - default: false - - name: sorting - in: query - description: Defines the sorting of the list - schema: - $ref: '#/components/schemas/NotificationSorting' - - name: doneState - in: query - description: 'OPTIONAL: Defines the done state' - schema: - type: boolean - - name: searchQuery - in: query - description: 'OPTIONAL: a search query' - schema: - type: string - responses: - '200': - description: Collection of the unread notifications for the user. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/NotificationDetailData' - '400': - description: NotificationType or NotificationStatus don't exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/notification/{notificationId}': - get: - tags: - - Notification - summary: 'Gets a notification for the logged in user (Authorization required - Roles: view_notifications)' - description: 'Example: Get: /api/notification/f22f2b57-426a-4ac3-b3af-7924a1c61590' - operationId: GetNotification - parameters: - - name: notificationId - in: path - description: is of the notification - required: true - schema: - type: string - format: uuid - responses: - '200': - description: notifications for the user. - content: - application/json: - schema: - $ref: '#/components/schemas/NotificationDetailData' - '400': - description: notification doesn't exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User is not assigned. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - delete: - tags: - - Notification - summary: 'Delete the (Authorization required - Roles: view_notifications)' - description: 'Example: DELETE: /api/notification/f22f2b57-426a-4ac3-b3af-7924a1c615901' - parameters: - - name: notificationId - in: path - description: Id of the notification - required: true - schema: - type: string - format: uuid - example: f22f2b57-426a-4ac3-b3af-7924a1c615901 - responses: - '204': - description: Count of the notifications. - content: - application/json: - schema: - type: integer - format: int32 - '400': - description: NotificationStatus does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: IamUserId is not assigned. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/notification/count: - get: - tags: - - Notification - summary: 'Gets the notification count for the current logged in user (Authorization required - Roles: view_notifications)' - description: 'Example: Get: /api/notification/count' - parameters: - - name: isRead - in: query - description: 'OPTIONAL: Filter for read or unread notifications' - schema: - type: boolean - example: true - responses: - '200': - description: Count of the notifications. - content: - application/json: - schema: - type: integer - format: int32 - '400': - description: NotificationStatus does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: IamUserId is not assigned. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/notification/count-details: - get: - tags: - - Notification - summary: 'Gets the notification count for the current logged in user (Authorization required - Roles: view_notifications)' - description: 'Example: Get: /api/notification/count-details' - responses: - '200': - description: Count of the notifications. - content: - application/json: - schema: - $ref: '#/components/schemas/NotificationCountDetails' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/notification/{notificationId}/read': - put: - tags: - - Notification - summary: 'Changes the read status of a notification (Authorization required - Roles: view_notifications)' - description: 'Example: PUT: /api/notification/read/f22f2b57-426a-4ac3-b3af-7924a1c61590/read' - parameters: - - name: notificationId - in: path - description: 'OPTIONAL: Id of the notification status' - required: true - schema: - type: string - format: uuid - example: f22f2b57-426a-4ac3-b3af-7924a1c61590 - - name: isRead - in: query - description: 'OPTIONAL: `true` if the notification is read, otherwise `false`' - schema: - type: boolean - default: true - example: false - responses: - '204': - description: The Read status was updated. - '400': - description: NotificationStatus does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: IamUserId is not assigned. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/notification/ssi-credentials: - post: - tags: - - Notification - summary: 'Creates a notification with the given data (Authorization required - Roles: create_ssi_notifications)' - description: 'Example: POST: /api/notification/ssi-credentials' - requestBody: - description: Data for the notification - content: - application/json: - schema: - $ref: '#/components/schemas/NotificationRequest' - responses: - '204': - description: Count of the notifications. - content: - application/json: - schema: - type: integer - format: int32 - '400': - description: NotificationStatus does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: IamUserId is not assigned. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/info: - get: - tags: - - OpenInformation - summary: ' (Authorization required)' - responses: - '200': - description: OK - content: - text/plain: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - text/json: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized -components: - schemas: - ErrorDetails: - type: object - properties: - errorCode: - type: string - type: - type: string - message: - type: string - parameters: - type: array - items: - $ref: '#/components/schemas/ErrorParameter' - additionalProperties: false - ErrorMessageCode: - type: object - properties: - errorCode: - type: string - message: - type: string - additionalProperties: false - ErrorMessageType: - type: object - properties: - errorType: - type: string - errorMessages: - type: array - items: - $ref: '#/components/schemas/ErrorMessageCode' - additionalProperties: false - ErrorParameter: - type: object - properties: - name: - type: string - value: - type: string - additionalProperties: false - ErrorResponse: - type: object - properties: - type: - type: string - title: - type: string - status: - type: integer - format: int32 - errors: - type: object - additionalProperties: - type: array - items: - type: string - errorId: - type: string - details: - type: array - items: - $ref: '#/components/schemas/ErrorDetails' - nullable: true - additionalProperties: false - NotificationCountDetails: - type: object - properties: - read: - type: integer - format: int32 - unread: - type: integer - format: int32 - infoUnread: - type: integer - format: int32 - offerUnread: - type: integer - format: int32 - actionRequired: - type: integer - format: int32 - unreadActionRequired: - type: integer - format: int32 - additionalProperties: false - NotificationDetailData: - type: object - properties: - id: - type: string - format: uuid - created: - type: string - format: date-time - typeId: - $ref: '#/components/schemas/NotificationTypeId' - notificationTopic: - $ref: '#/components/schemas/NotificationTopicId' - isRead: - type: boolean - content: - type: string - nullable: true - dueDate: - type: string - format: date-time - nullable: true - done: - type: boolean - nullable: true - additionalProperties: false - NotificationRequest: - type: object - properties: - receiver: - type: string - format: uuid - content: - type: string - notificationTypeId: - $ref: '#/components/schemas/NotificationTypeId' - additionalProperties: false - NotificationSorting: - enum: - - DateAsc - - DateDesc - - ReadStatusAsc - - ReadStatusDesc - type: string - NotificationTopicId: - enum: - - INFO - - ACTION - - OFFER - type: string - NotificationTypeId: - enum: - - INFO - - ACTION - - WELCOME - - WELCOME_USE_CASES - - WELCOME_SERVICE_PROVIDER - - WELCOME_CONNECTOR_REGISTRATION - - WELCOME_APP_MARKETPLACE - - APP_SUBSCRIPTION_REQUEST - - APP_SUBSCRIPTION_ACTIVATION - - CONNECTOR_REGISTERED - - APP_RELEASE_REQUEST - - TECHNICAL_USER_CREATION - - SERVICE_REQUEST - - SERVICE_ACTIVATION - - APP_ROLE_ADDED - - APP_RELEASE_APPROVAL - - SERVICE_RELEASE_REQUEST - - SERVICE_RELEASE_APPROVAL - - APP_RELEASE_REJECTION - - SERVICE_RELEASE_REJECTION - - ROLE_UPDATE_CORE_OFFER - - ROLE_UPDATE_APP_OFFER - - SUBSCRIPTION_URL_UPDATE - - CREDENTIAL_APPROVAL - - CREDENTIAL_REJECTED - - CREDENTIAL_EXPIRY - type: string - SearchSemanticTypeId: - enum: - - OR - - AND - type: string - UrlInformation: - type: object - properties: - httpMethods: - type: string - url: - type: string - additionalProperties: false - securitySchemes: - Bearer: - type: apiKey - description: "JWT Authorization header using the Bearer scheme. \r\n\r\n Enter 'Bearer' [space] and then your token in the text input below.\r\n\r\nExample: \"Bearer 12345abcdef\"" - name: Authorization - in: header -security: - - Bearer: [ ] \ No newline at end of file diff --git a/portal-backend/v2.3.0-alpha.1/notifications-service/swagger-ui/favicon-16x16.png b/portal-backend/v2.3.0-alpha.1/notifications-service/swagger-ui/favicon-16x16.png deleted file mode 100644 index 8b194e617af1c135e6b37939591d24ac3a5efa18..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 665 zcmV;K0%rY*P)}JKSduyL>)s!A4EhTMMEM%Q;aL6%l#xiZiF>S;#Y{N2Zz%pvTGHJduXuC6Lx-)0EGfRy*N{Tv4i8@4oJ41gw zKzThrcRe|7J~(YYIBq{SYCkn-KQm=N8$CrEK1CcqMI1dv9z#VRL_{D)L|`QmF8}}l zJ9JV`Q}p!p_4f7m_U`WQ@apR4;o;!mnU<7}iG_qr zF(e)x9~BG-3IzcG2M4an0002kNkl41`ZiN1i62V%{PM@Ry|IS_+Yc7{bb`MM~xm(7p4|kMHP&!VGuDW4kFixat zXw43VmgwEvB$hXt_u=vZ>+v4i7E}n~eG6;n4Z=zF1n?T*yg<;W6kOfxpC6nao>VR% z?fpr=asSJ&`L*wu^rLJ5Peq*PB0;alL#XazZCBxJLd&giTfw@!hW167F^`7kobi;( ze<<>qNlP|xy7S1zl@lZNIBR7#o9ybJsptO#%}P0hz~sBp00000NkvXXu0mjfUsDF? diff --git a/portal-backend/v2.3.0-alpha.1/notifications-service/swagger-ui/favicon-32x32.png b/portal-backend/v2.3.0-alpha.1/notifications-service/swagger-ui/favicon-32x32.png deleted file mode 100644 index 249737fe44558e679f0b67134e274461d988fa98..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 628 zcmV-)0*n2LP)Ma*GM0}OV<074bNCP7P7GVd{iMr*I6y~TMLss@FjvgL~HxU z%Vvj33AwpD(Z4*$Mfx=HaU16axM zt2xG_rloN<$iy9j9I5 - - - - - Swagger UI - - - - - - - -
- - - - - - diff --git a/portal-backend/v2.3.0-alpha.1/notifications-service/swagger-ui/notifications-service.yaml b/portal-backend/v2.3.0-alpha.1/notifications-service/swagger-ui/notifications-service.yaml deleted file mode 100644 index f9c4016..0000000 --- a/portal-backend/v2.3.0-alpha.1/notifications-service/swagger-ui/notifications-service.yaml +++ /dev/null @@ -1,532 +0,0 @@ -openapi: 3.0.1 -info: - title: Org.Eclipse.TractusX.Portal.Backend.Notifications.Service - version: v2.3.0-alpha.1 -paths: - /api/notification/errormessage: - get: - tags: - - ErrorMessage - responses: - '200': - description: OK - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ErrorMessageType' - '500': - description: Internal Server Error - /api/notification: - get: - tags: - - Notification - summary: 'Gets all notifications for the logged in user (Authorization required - Roles: view_notifications)' - description: 'Example: Get: /api/notification/' - operationId: GetNotifications - parameters: - - name: searchTypeIds - in: query - description: 'OPTIONAL: types for the search' - schema: - type: array - items: - $ref: '#/components/schemas/NotificationTypeId' - - name: page - in: query - description: The page to get - schema: - type: integer - format: int32 - default: 0 - - name: size - in: query - description: Amount of entries - schema: - type: integer - format: int32 - default: 15 - - name: searchSemantic - in: query - description: 'OPTIONAL: choose AND or OR semantics (defaults to AND)' - schema: - $ref: '#/components/schemas/SearchSemanticTypeId' - - name: isRead - in: query - description: 'OPTIONAL: Filter for read or unread notifications' - schema: - type: boolean - - name: notificationTypeId - in: query - description: 'OPTIONAL: Type of the notifications' - schema: - $ref: '#/components/schemas/NotificationTypeId' - - name: notificationTopicId - in: query - description: 'OPTIONAL: Topic of the notifications' - schema: - $ref: '#/components/schemas/NotificationTopicId' - - name: onlyDueDate - in: query - description: 'OPTIONAL: If true only notifications with a due date will be returned' - schema: - type: boolean - default: false - - name: sorting - in: query - description: Defines the sorting of the list - schema: - $ref: '#/components/schemas/NotificationSorting' - - name: doneState - in: query - description: 'OPTIONAL: Defines the done state' - schema: - type: boolean - - name: searchQuery - in: query - description: 'OPTIONAL: a search query' - schema: - type: string - responses: - '200': - description: Collection of the unread notifications for the user. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/NotificationDetailData' - '400': - description: NotificationType or NotificationStatus don't exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/notification/{notificationId}': - get: - tags: - - Notification - summary: 'Gets a notification for the logged in user (Authorization required - Roles: view_notifications)' - description: 'Example: Get: /api/notification/f22f2b57-426a-4ac3-b3af-7924a1c61590' - operationId: GetNotification - parameters: - - name: notificationId - in: path - description: is of the notification - required: true - schema: - type: string - format: uuid - responses: - '200': - description: notifications for the user. - content: - application/json: - schema: - $ref: '#/components/schemas/NotificationDetailData' - '400': - description: notification doesn't exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User is not assigned. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - delete: - tags: - - Notification - summary: 'Delete the (Authorization required - Roles: view_notifications)' - description: 'Example: DELETE: /api/notification/f22f2b57-426a-4ac3-b3af-7924a1c615901' - parameters: - - name: notificationId - in: path - description: Id of the notification - required: true - schema: - type: string - format: uuid - example: f22f2b57-426a-4ac3-b3af-7924a1c615901 - responses: - '204': - description: Count of the notifications. - content: - application/json: - schema: - type: integer - format: int32 - '400': - description: NotificationStatus does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: IamUserId is not assigned. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/notification/count: - get: - tags: - - Notification - summary: 'Gets the notification count for the current logged in user (Authorization required - Roles: view_notifications)' - description: 'Example: Get: /api/notification/count' - parameters: - - name: isRead - in: query - description: 'OPTIONAL: Filter for read or unread notifications' - schema: - type: boolean - example: true - responses: - '200': - description: Count of the notifications. - content: - application/json: - schema: - type: integer - format: int32 - '400': - description: NotificationStatus does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: IamUserId is not assigned. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/notification/count-details: - get: - tags: - - Notification - summary: 'Gets the notification count for the current logged in user (Authorization required - Roles: view_notifications)' - description: 'Example: Get: /api/notification/count-details' - responses: - '200': - description: Count of the notifications. - content: - application/json: - schema: - $ref: '#/components/schemas/NotificationCountDetails' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/notification/{notificationId}/read': - put: - tags: - - Notification - summary: 'Changes the read status of a notification (Authorization required - Roles: view_notifications)' - description: 'Example: PUT: /api/notification/read/f22f2b57-426a-4ac3-b3af-7924a1c61590/read' - parameters: - - name: notificationId - in: path - description: 'OPTIONAL: Id of the notification status' - required: true - schema: - type: string - format: uuid - example: f22f2b57-426a-4ac3-b3af-7924a1c61590 - - name: isRead - in: query - description: 'OPTIONAL: `true` if the notification is read, otherwise `false`' - schema: - type: boolean - default: true - example: false - responses: - '204': - description: The Read status was updated. - '400': - description: NotificationStatus does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: IamUserId is not assigned. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/notification/ssi-credentials: - post: - tags: - - Notification - summary: 'Creates a notification with the given data (Authorization required - Roles: create_ssi_notifications)' - description: 'Example: POST: /api/notification/ssi-credentials' - requestBody: - description: Data for the notification - content: - application/json: - schema: - $ref: '#/components/schemas/NotificationRequest' - responses: - '204': - description: Count of the notifications. - content: - application/json: - schema: - type: integer - format: int32 - '400': - description: NotificationStatus does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: IamUserId is not assigned. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/info: - get: - tags: - - OpenInformation - summary: ' (Authorization required)' - responses: - '200': - description: OK - content: - text/plain: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - text/json: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized -components: - schemas: - ErrorDetails: - type: object - properties: - errorCode: - type: string - type: - type: string - message: - type: string - parameters: - type: array - items: - $ref: '#/components/schemas/ErrorParameter' - additionalProperties: false - ErrorMessageCode: - type: object - properties: - errorCode: - type: string - message: - type: string - additionalProperties: false - ErrorMessageType: - type: object - properties: - errorType: - type: string - errorMessages: - type: array - items: - $ref: '#/components/schemas/ErrorMessageCode' - additionalProperties: false - ErrorParameter: - type: object - properties: - name: - type: string - value: - type: string - additionalProperties: false - ErrorResponse: - type: object - properties: - type: - type: string - title: - type: string - status: - type: integer - format: int32 - errors: - type: object - additionalProperties: - type: array - items: - type: string - errorId: - type: string - details: - type: array - items: - $ref: '#/components/schemas/ErrorDetails' - nullable: true - additionalProperties: false - NotificationCountDetails: - type: object - properties: - read: - type: integer - format: int32 - unread: - type: integer - format: int32 - infoUnread: - type: integer - format: int32 - offerUnread: - type: integer - format: int32 - actionRequired: - type: integer - format: int32 - unreadActionRequired: - type: integer - format: int32 - additionalProperties: false - NotificationDetailData: - type: object - properties: - id: - type: string - format: uuid - created: - type: string - format: date-time - typeId: - $ref: '#/components/schemas/NotificationTypeId' - notificationTopic: - $ref: '#/components/schemas/NotificationTopicId' - isRead: - type: boolean - content: - type: string - nullable: true - dueDate: - type: string - format: date-time - nullable: true - done: - type: boolean - nullable: true - additionalProperties: false - NotificationRequest: - type: object - properties: - receiver: - type: string - format: uuid - content: - type: string - notificationTypeId: - $ref: '#/components/schemas/NotificationTypeId' - additionalProperties: false - NotificationSorting: - enum: - - DateAsc - - DateDesc - - ReadStatusAsc - - ReadStatusDesc - type: string - NotificationTopicId: - enum: - - INFO - - ACTION - - OFFER - type: string - NotificationTypeId: - enum: - - INFO - - ACTION - - WELCOME - - WELCOME_USE_CASES - - WELCOME_SERVICE_PROVIDER - - WELCOME_CONNECTOR_REGISTRATION - - WELCOME_APP_MARKETPLACE - - APP_SUBSCRIPTION_REQUEST - - APP_SUBSCRIPTION_ACTIVATION - - CONNECTOR_REGISTERED - - APP_RELEASE_REQUEST - - TECHNICAL_USER_CREATION - - SERVICE_REQUEST - - SERVICE_ACTIVATION - - APP_ROLE_ADDED - - APP_RELEASE_APPROVAL - - SERVICE_RELEASE_REQUEST - - SERVICE_RELEASE_APPROVAL - - APP_RELEASE_REJECTION - - SERVICE_RELEASE_REJECTION - - ROLE_UPDATE_CORE_OFFER - - ROLE_UPDATE_APP_OFFER - - SUBSCRIPTION_URL_UPDATE - - CREDENTIAL_APPROVAL - - CREDENTIAL_REJECTED - - CREDENTIAL_EXPIRY - type: string - SearchSemanticTypeId: - enum: - - OR - - AND - type: string - UrlInformation: - type: object - properties: - httpMethods: - type: string - url: - type: string - additionalProperties: false - securitySchemes: - Bearer: - type: apiKey - description: "JWT Authorization header using the Bearer scheme. \r\n\r\n Enter 'Bearer' [space] and then your token in the text input below.\r\n\r\nExample: \"Bearer 12345abcdef\"" - name: Authorization - in: header -security: - - Bearer: [ ] \ No newline at end of file diff --git a/portal-backend/v2.3.0-alpha.1/notifications-service/swagger-ui/swagger-config.json b/portal-backend/v2.3.0-alpha.1/notifications-service/swagger-ui/swagger-config.json deleted file mode 100644 index 5b9f42f..0000000 --- a/portal-backend/v2.3.0-alpha.1/notifications-service/swagger-ui/swagger-config.json +++ /dev/null @@ -1 +0,0 @@ -{"url":"notifications-service.yaml","deepLinking":true} \ No newline at end of file diff --git a/portal-backend/v2.3.0-alpha.1/notifications-service/swagger-ui/swagger-ui-bundle.js b/portal-backend/v2.3.0-alpha.1/notifications-service/swagger-ui/swagger-ui-bundle.js deleted file mode 100644 index 824b540..0000000 --- a/portal-backend/v2.3.0-alpha.1/notifications-service/swagger-ui/swagger-ui-bundle.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see swagger-ui-bundle.js.LICENSE.txt */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.SwaggerUIBundle=t():e.SwaggerUIBundle=t()}(this,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist",n(n.s=534)}([function(e,t,n){"use strict";e.exports=n(133)},function(e,t,n){e.exports=function(){"use strict";var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return i(e)?e:J(e)}function r(e){return s(e)?e:K(e)}function o(e){return u(e)?e:Y(e)}function a(e){return i(e)&&!c(e)?e:G(e)}function i(e){return!(!e||!e[p])}function s(e){return!(!e||!e[f])}function u(e){return!(!e||!e[h])}function c(e){return s(e)||u(e)}function l(e){return!(!e||!e[d])}t(r,n),t(o,n),t(a,n),n.isIterable=i,n.isKeyed=s,n.isIndexed=u,n.isAssociative=c,n.isOrdered=l,n.Keyed=r,n.Indexed=o,n.Set=a;var p="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",h="@@__IMMUTABLE_INDEXED__@@",d="@@__IMMUTABLE_ORDERED__@@",m="delete",v=5,g=1<>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?A(e)+t:t}function k(){return!0}function j(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return P(e,t,0)}function I(e,t){return P(e,t,t)}function P(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var N=0,M=1,R=2,D="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",B=D||L;function F(e){this.next=e}function U(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function q(){return{value:void 0,done:!0}}function z(e){return!!H(e)}function V(e){return e&&"function"==typeof e.next}function W(e){var t=H(e);return t&&t.call(e)}function H(e){var t=e&&(D&&e[D]||e[L]);if("function"==typeof t)return t}function $(e){return e&&"number"==typeof e.length}function J(e){return null==e?ie():i(e)?e.toSeq():ce(e)}function K(e){return null==e?ie().toKeyedSeq():i(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Y(e){return null==e?ie():i(e)?s(e)?e.entrySeq():e.toIndexedSeq():ue(e)}function G(e){return(null==e?ie():i(e)?s(e)?e.entrySeq():e:ue(e)).toSetSeq()}F.prototype.toString=function(){return"[Iterator]"},F.KEYS=N,F.VALUES=M,F.ENTRIES=R,F.prototype.inspect=F.prototype.toSource=function(){return this.toString()},F.prototype[B]=function(){return this},t(J,n),J.of=function(){return J(arguments)},J.prototype.toSeq=function(){return this},J.prototype.toString=function(){return this.__toString("Seq {","}")},J.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},J.prototype.__iterate=function(e,t){return pe(this,e,t,!0)},J.prototype.__iterator=function(e,t){return fe(this,e,t,!0)},t(K,J),K.prototype.toKeyedSeq=function(){return this},t(Y,J),Y.of=function(){return Y(arguments)},Y.prototype.toIndexedSeq=function(){return this},Y.prototype.toString=function(){return this.__toString("Seq [","]")},Y.prototype.__iterate=function(e,t){return pe(this,e,t,!1)},Y.prototype.__iterator=function(e,t){return fe(this,e,t,!1)},t(G,J),G.of=function(){return G(arguments)},G.prototype.toSetSeq=function(){return this},J.isSeq=ae,J.Keyed=K,J.Set=G,J.Indexed=Y;var Z,X,Q,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function re(e){this._iterable=e,this.size=e.length||e.size}function oe(e){this._iterator=e,this._iteratorCache=[]}function ae(e){return!(!e||!e[ee])}function ie(){return Z||(Z=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():V(e)?new oe(e).fromEntrySeq():z(e)?new re(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function ue(e){var t=le(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){var t=le(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function le(e){return $(e)?new te(e):V(e)?new oe(e):z(e)?new re(e):void 0}function pe(e,t,n,r){var o=e._cache;if(o){for(var a=o.length-1,i=0;i<=a;i++){var s=o[n?a-i:i];if(!1===t(s[1],r?s[0]:i,e))return i+1}return i}return e.__iterateUncached(t,n)}function fe(e,t,n,r){var o=e._cache;if(o){var a=o.length-1,i=0;return new F((function(){var e=o[n?a-i:i];return i++>a?q():U(t,r?e[0]:i-1,e[1])}))}return e.__iteratorUncached(t,n)}function he(e,t){return t?de(t,e,"",{"":e}):me(e)}function de(e,t,n,r){return Array.isArray(t)?e.call(r,n,Y(t).map((function(n,r){return de(e,n,r,t)}))):ve(t)?e.call(r,n,K(t).map((function(n,r){return de(e,n,r,t)}))):t}function me(e){return Array.isArray(e)?Y(e).map(me).toList():ve(e)?K(e).map(me).toMap():e}function ve(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ge(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0;if(!i(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||u(e)!==u(t)||l(e)!==l(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(l(e)){var r=e.entries();return t.every((function(e,t){var o=r.next().value;return o&&ge(o[1],e)&&(n||ge(o[0],t))}))&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var a=e;e=t,t=a}var p=!0,f=t.__iterate((function(t,r){if(n?!e.has(t):o?!ge(t,e.get(r,b)):!ge(e.get(r,b),t))return p=!1,!1}));return p&&e.size===f}function be(e,t){if(!(this instanceof be))return new be(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(X)return X;X=this}}function _e(e,t){if(!e)throw new Error(t)}function we(e,t,n){if(!(this instanceof we))return new we(e,t,n);if(_e(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),tr?q():U(e,o,n[t?r-o++:o++])}))},t(ne,K),ne.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ne.prototype.has=function(e){return this._object.hasOwnProperty(e)},ne.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length-1,a=0;a<=o;a++){var i=r[t?o-a:a];if(!1===e(n[i],i,this))return a+1}return a},ne.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,a=0;return new F((function(){var i=r[t?o-a:a];return a++>o?q():U(e,i,n[i])}))},ne.prototype[d]=!0,t(re,Y),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=W(this._iterable),r=0;if(V(n))for(var o;!(o=n.next()).done&&!1!==e(o.value,r++,this););return r},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=W(this._iterable);if(!V(n))return new F(q);var r=0;return new F((function(){var t=n.next();return t.done?t:U(e,r++,t.value)}))},t(oe,Y),oe.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,o=this._iteratorCache,a=0;a=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return U(e,o,r[o++])}))},t(be,Y),be.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},be.prototype.get=function(e,t){return this.has(e)?this._value:t},be.prototype.includes=function(e){return ge(this._value,e)},be.prototype.slice=function(e,t){var n=this.size;return j(e,t,n)?this:new be(this._value,I(t,n)-T(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return ge(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return ge(this._value,e)?this.size:-1},be.prototype.__iterate=function(e,t){for(var n=0;n=0&&t=0&&nn?q():U(e,a++,i)}))},we.prototype.equals=function(e){return e instanceof we?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(xe,n),t(Ee,xe),t(Se,xe),t(Ce,xe),xe.Keyed=Ee,xe.Indexed=Se,xe.Set=Ce;var Ae="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function Oe(e){return e>>>1&1073741824|3221225471&e}function ke(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){if(e!=e||e===1/0)return 0;var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Oe(n)}if("string"===t)return e.length>Fe?je(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Ie(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function je(e){var t=ze[e];return void 0===t&&(t=Te(e),qe===Ue&&(qe=0,ze={}),qe++,ze[e]=t),t}function Te(e){for(var t=0,n=0;n0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Re,De="function"==typeof WeakMap;De&&(Re=new WeakMap);var Le=0,Be="__immutablehash__";"function"==typeof Symbol&&(Be=Symbol(Be));var Fe=16,Ue=255,qe=0,ze={};function Ve(e){_e(e!==1/0,"Cannot perform this action with an infinite size.")}function We(e){return null==e?ot():He(e)&&!l(e)?e:ot().withMutations((function(t){var n=r(e);Ve(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function He(e){return!(!e||!e[Je])}t(We,Ee),We.of=function(){var t=e.call(arguments,0);return ot().withMutations((function(e){for(var n=0;n=t.length)throw new Error("Missing value for key: "+t[n]);e.set(t[n],t[n+1])}}))},We.prototype.toString=function(){return this.__toString("Map {","}")},We.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},We.prototype.set=function(e,t){return at(this,e,t)},We.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},We.prototype.remove=function(e){return at(this,e,b)},We.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},We.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},We.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=vt(this,xn(e),t,n);return r===b?void 0:r},We.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):ot()},We.prototype.merge=function(){return ft(this,void 0,arguments)},We.prototype.mergeWith=function(t){return ft(this,t,e.call(arguments,1))},We.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,ot(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},We.prototype.mergeDeep=function(){return ft(this,ht,arguments)},We.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ft(this,dt(t),n)},We.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,ot(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},We.prototype.sort=function(e){return zt(pn(this,e))},We.prototype.sortBy=function(e,t){return zt(pn(this,t,e))},We.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},We.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new S)},We.prototype.asImmutable=function(){return this.__ensureOwner()},We.prototype.wasAltered=function(){return this.__altered},We.prototype.__iterator=function(e,t){return new et(this,e,t)},We.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},We.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?rt(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},We.isMap=He;var $e,Je="@@__IMMUTABLE_MAP__@@",Ke=We.prototype;function Ye(e,t){this.ownerID=e,this.entries=t}function Ge(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Ze(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Xe(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Qe(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return U(e,t[0],t[1])}function nt(e,t){return{node:e,index:0,__prev:t}}function rt(e,t,n,r){var o=Object.create(Ke);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function ot(){return $e||($e=rt(0))}function at(e,t,n){var r,o;if(e._root){var a=x(_),i=x(w);if(r=it(e._root,e.__ownerID,0,void 0,t,n,a,i),!i.value)return e;o=e.size+(a.value?n===b?-1:1:0)}else{if(n===b)return e;o=1,r=new Ye(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=o,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?rt(o,r):ot()}function it(e,t,n,r,o,a,i,s){return e?e.update(t,n,r,o,a,i,s):a===b?e:(E(s),E(i),new Qe(t,r,[o,a]))}function st(e){return e.constructor===Qe||e.constructor===Xe}function ut(e,t,n,r,o){if(e.keyHash===r)return new Xe(t,r,[e.entry,o]);var a,i=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?r:r>>>n)&y;return new Ge(t,1<>>=1)i[s]=1&n?t[a++]:void 0;return i[r]=o,new Ze(e,a+1,i)}function ft(e,t,n){for(var o=[],a=0;a>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function yt(e,t,n,r){var o=r?e:C(e);return o[t]=n,o}function bt(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var a=new Array(o),i=0,s=0;s=wt)return ct(e,u,r,o);var f=e&&e===this.ownerID,h=f?u:C(u);return p?s?c===l-1?h.pop():h[c]=h.pop():h[c]=[r,o]:h.push([r,o]),f?(this.entries=h,this):new Ye(e,h)}},Ge.prototype.get=function(e,t,n,r){void 0===t&&(t=ke(n));var o=1<<((0===e?t:t>>>e)&y),a=this.bitmap;return 0==(a&o)?r:this.nodes[gt(a&o-1)].get(e+v,t,n,r)},Ge.prototype.update=function(e,t,n,r,o,a,i){void 0===n&&(n=ke(r));var s=(0===t?n:n>>>t)&y,u=1<=xt)return pt(e,f,c,s,d);if(l&&!d&&2===f.length&&st(f[1^p]))return f[1^p];if(l&&d&&1===f.length&&st(d))return d;var m=e&&e===this.ownerID,g=l?d?c:c^u:c|u,_=l?d?yt(f,p,d,m):_t(f,p,m):bt(f,p,d,m);return m?(this.bitmap=g,this.nodes=_,this):new Ge(e,g,_)},Ze.prototype.get=function(e,t,n,r){void 0===t&&(t=ke(n));var o=(0===e?t:t>>>e)&y,a=this.nodes[o];return a?a.get(e+v,t,n,r):r},Ze.prototype.update=function(e,t,n,r,o,a,i){void 0===n&&(n=ke(r));var s=(0===t?n:n>>>t)&y,u=o===b,c=this.nodes,l=c[s];if(u&&!l)return this;var p=it(l,e,t+v,n,r,o,a,i);if(p===l)return this;var f=this.count;if(l){if(!p&&--f0&&r=0&&e>>t&y;if(r>=this.array.length)return new kt([],e);var o,a=0===r;if(t>0){var i=this.array[r];if((o=i&&i.removeBefore(e,t-v,n))===i&&a)return this}if(a&&!o)return this;var s=Lt(this,e);if(!a)for(var u=0;u>>t&y;if(o>=this.array.length)return this;if(t>0){var a=this.array[o];if((r=a&&a.removeAfter(e,t-v,n))===a&&o===this.array.length-1)return this}var i=Lt(this,e);return i.array.splice(o+1),r&&(i.array[o]=r),i};var jt,Tt,It={};function Pt(e,t){var n=e._origin,r=e._capacity,o=qt(r),a=e._tail;return i(e._root,e._level,0);function i(e,t,n){return 0===t?s(e,n):u(e,t,n)}function s(e,i){var s=i===o?a&&a.array:e&&e.array,u=i>n?0:n-i,c=r-i;return c>g&&(c=g),function(){if(u===c)return It;var e=t?--c:u++;return s&&s[e]}}function u(e,o,a){var s,u=e&&e.array,c=a>n?0:n-a>>o,l=1+(r-a>>o);return l>g&&(l=g),function(){for(;;){if(s){var e=s();if(e!==It)return e;s=null}if(c===l)return It;var n=t?--l:c++;s=i(u&&u[n],o-v,a+(n<=e.size||t<0)return e.withMutations((function(e){t<0?Ft(e,t).set(0,n):Ft(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,o=e._root,a=x(w);return t>=qt(e._capacity)?r=Dt(r,e.__ownerID,0,t,n,a):o=Dt(o,e.__ownerID,e._level,t,n,a),a.value?e.__ownerID?(e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e):Nt(e._origin,e._capacity,e._level,o,r):e}function Dt(e,t,n,r,o,a){var i,s=r>>>n&y,u=e&&s0){var c=e&&e.array[s],l=Dt(c,t,n-v,r,o,a);return l===c?e:((i=Lt(e,t)).array[s]=l,i)}return u&&e.array[s]===o?e:(E(a),i=Lt(e,t),void 0===o&&s===i.array.length-1?i.array.pop():i.array[s]=o,i)}function Lt(e,t){return t&&e&&t===e.ownerID?e:new kt(e?e.array.slice():[],t)}function Bt(e,t){if(t>=qt(e._capacity))return e._tail;if(t<1<0;)n=n.array[t>>>r&y],r-=v;return n}}function Ft(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new S,o=e._origin,a=e._capacity,i=o+t,s=void 0===n?a:n<0?a+n:o+n;if(i===o&&s===a)return e;if(i>=s)return e.clear();for(var u=e._level,c=e._root,l=0;i+l<0;)c=new kt(c&&c.array.length?[void 0,c]:[],r),l+=1<<(u+=v);l&&(i+=l,o+=l,s+=l,a+=l);for(var p=qt(a),f=qt(s);f>=1<p?new kt([],r):h;if(h&&f>p&&iv;g-=v){var b=p>>>g&y;m=m.array[b]=Lt(m.array[b],r)}m.array[p>>>v&y]=h}if(s=f)i-=f,s-=f,u=v,c=null,d=d&&d.removeBefore(r,0,i);else if(i>o||f>>u&y;if(_!==f>>>u&y)break;_&&(l+=(1<o&&(c=c.removeBefore(r,u,i-l)),c&&fa&&(a=c.size),i(u)||(c=c.map((function(e){return he(e)}))),r.push(c)}return a>e.size&&(e=e.setSize(a)),mt(e,t,r)}function qt(e){return e>>v<=g&&i.size>=2*a.size?(r=(o=i.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=a.remove(t),o=s===i.size-1?i.pop():i.set(s,void 0))}else if(u){if(n===i.get(s)[1])return e;r=a,o=i.set(s,[t,n])}else r=a.set(t,i.size),o=i.set(i.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):Wt(r,o)}function Jt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Kt(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Gt(e){this._iter=e,this.size=e.size}function Zt(e){var t=bn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=_n,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(t===R){var r=e.__iterator(t,n);return new F((function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===M?N:M,n)},t}function Xt(e,t,n){var r=bn(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var a=e.get(r,b);return a===b?o:t.call(n,a,r,e)},r.__iterateUncached=function(r,o){var a=this;return e.__iterate((function(e,o,i){return!1!==r(t.call(n,e,o,i),o,a)}),o)},r.__iteratorUncached=function(r,o){var a=e.__iterator(R,o);return new F((function(){var o=a.next();if(o.done)return o;var i=o.value,s=i[0];return U(r,s,t.call(n,i[1],s,e),o)}))},r}function Qt(e,t){var n=bn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Zt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=_n,n.__iterate=function(t,n){var r=this;return e.__iterate((function(e,n){return t(e,n,r)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,r){var o=bn(e);return r&&(o.has=function(r){var o=e.get(r,b);return o!==b&&!!t.call(n,o,r,e)},o.get=function(r,o){var a=e.get(r,b);return a!==b&&t.call(n,a,r,e)?a:o}),o.__iterateUncached=function(o,a){var i=this,s=0;return e.__iterate((function(e,a,u){if(t.call(n,e,a,u))return s++,o(e,r?a:s-1,i)}),a),s},o.__iteratorUncached=function(o,a){var i=e.__iterator(R,a),s=0;return new F((function(){for(;;){var a=i.next();if(a.done)return a;var u=a.value,c=u[0],l=u[1];if(t.call(n,l,c,e))return U(o,r?c:s++,l,a)}}))},o}function tn(e,t,n){var r=We().asMutable();return e.__iterate((function(o,a){r.update(t.call(n,o,a,e),0,(function(e){return e+1}))})),r.asImmutable()}function nn(e,t,n){var r=s(e),o=(l(e)?zt():We()).asMutable();e.__iterate((function(a,i){o.update(t.call(n,a,i,e),(function(e){return(e=e||[]).push(r?[i,a]:a),e}))}));var a=yn(e);return o.map((function(t){return mn(e,a(t))}))}function rn(e,t,n,r){var o=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n===1/0?n=o:n|=0),j(t,n,o))return e;var a=T(t,o),i=I(n,o);if(a!=a||i!=i)return rn(e.toSeq().cacheResult(),t,n,r);var s,u=i-a;u==u&&(s=u<0?0:u);var c=bn(e);return c.size=0===s?s:e.size&&s||void 0,!r&&ae(e)&&s>=0&&(c.get=function(t,n){return(t=O(this,t))>=0&&ts)return q();var e=o.next();return r||t===M?e:U(t,u-1,t===N?void 0:e.value[1],e)}))},c}function on(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var i=0;return e.__iterate((function(e,o,s){return t.call(n,e,o,s)&&++i&&r(e,o,a)})),i},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var i=e.__iterator(R,o),s=!0;return new F((function(){if(!s)return q();var e=i.next();if(e.done)return e;var o=e.value,u=o[0],c=o[1];return t.call(n,c,u,a)?r===R?e:U(r,u,c,e):(s=!1,q())}))},r}function an(e,t,n,r){var o=bn(e);return o.__iterateUncached=function(o,a){var i=this;if(a)return this.cacheResult().__iterate(o,a);var s=!0,u=0;return e.__iterate((function(e,a,c){if(!s||!(s=t.call(n,e,a,c)))return u++,o(e,r?a:u-1,i)})),u},o.__iteratorUncached=function(o,a){var i=this;if(a)return this.cacheResult().__iterator(o,a);var s=e.__iterator(R,a),u=!0,c=0;return new F((function(){var e,a,l;do{if((e=s.next()).done)return r||o===M?e:U(o,c++,o===N?void 0:e.value[1],e);var p=e.value;a=p[0],l=p[1],u&&(u=t.call(n,l,a,i))}while(u);return o===R?e:U(o,a,l,e)}))},o}function sn(e,t){var n=s(e),o=[e].concat(t).map((function(e){return i(e)?n&&(e=r(e)):e=n?se(e):ue(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===o.length)return e;if(1===o.length){var a=o[0];if(a===e||n&&s(a)||u(e)&&u(a))return a}var c=new te(o);return n?c=c.toKeyedSeq():u(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=o.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function un(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,o){var a=0,s=!1;function u(e,c){var l=this;e.__iterate((function(e,o){return(!t||c0}function dn(e,t,r){var o=bn(e);return o.size=new te(r).map((function(e){return e.size})).min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(M,t),o=0;!(n=r.next()).done&&!1!==e(n.value,o++,this););return o},o.__iteratorUncached=function(e,o){var a=r.map((function(e){return e=n(e),W(o?e.reverse():e)})),i=0,s=!1;return new F((function(){var n;return s||(n=a.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?q():U(e,i++,t.apply(null,n.map((function(e){return e.value}))))}))},o}function mn(e,t){return ae(e)?t:e.constructor(t)}function vn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function gn(e){return Ve(e.size),A(e)}function yn(e){return s(e)?r:u(e)?o:a}function bn(e){return Object.create((s(e)?K:u(e)?Y:G).prototype)}function _n(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):J.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Kn(e,t)},Vn.prototype.pushAll=function(e){if(0===(e=o(e)).size)return this;Ve(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Kn(t,n)},Vn.prototype.pop=function(){return this.slice(1)},Vn.prototype.unshift=function(){return this.push.apply(this,arguments)},Vn.prototype.unshiftAll=function(e){return this.pushAll(e)},Vn.prototype.shift=function(){return this.pop.apply(this,arguments)},Vn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Yn()},Vn.prototype.slice=function(e,t){if(j(e,t,this.size))return this;var n=T(e,this.size);if(I(t,this.size)!==this.size)return Se.prototype.slice.call(this,e,t);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):Kn(r,o)},Vn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Kn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Vn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},Vn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new F((function(){if(r){var t=r.value;return r=r.next,U(e,n++,t)}return q()}))},Vn.isStack=Wn;var Hn,$n="@@__IMMUTABLE_STACK__@@",Jn=Vn.prototype;function Kn(e,t,n,r){var o=Object.create(Jn);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Yn(){return Hn||(Hn=Kn(0))}function Gn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Jn[$n]=!0,Jn.withMutations=Ke.withMutations,Jn.asMutable=Ke.asMutable,Jn.asImmutable=Ke.asImmutable,Jn.wasAltered=Ke.wasAltered,n.Iterator=F,Gn(n,{toArray:function(){Ve(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Kt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Jt(this,!0)},toMap:function(){return We(this.toKeyedSeq())},toObject:function(){Ve(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return zt(this.toKeyedSeq())},toOrderedSet:function(){return Ln(s(this)?this.valueSeq():this)},toSet:function(){return jn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Yt(this)},toSeq:function(){return u(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Vn(s(this)?this.valueSeq():this)},toList:function(){return St(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ge(t,e)}))},entries:function(){return this.__iterator(R)},every:function(e,t){Ve(this.size);var n=!0;return this.__iterate((function(r,o,a){if(!e.call(t,r,o,a))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},forEach:function(e,t){return Ve(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ve(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(N)},map:function(e,t){return mn(this,Xt(this,e,t))},reduce:function(e,t,n){var r,o;return Ve(this.size),arguments.length<2?o=!0:r=t,this.__iterate((function(t,a,i){o?(o=!1,r=t):r=e.call(n,r,t,a,i)})),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return mn(this,Qt(this,!0))},slice:function(e,t){return mn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(tr(e),t)},sort:function(e){return mn(this,pn(this,e))},values:function(){return this.__iterator(M)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return A(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ye(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(er).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(tr(e),t)},findEntry:function(e,t,n){var r=n;return this.__iterate((function(n,o,a){if(e.call(t,n,o,a))return r=[o,n],!1})),r},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(){return this.find(k)},flatMap:function(e,t){return mn(this,cn(this,e,t))},flatten:function(e){return mn(this,un(this,e,!0))},fromEntrySeq:function(){return new Gt(this)},get:function(e,t){return this.find((function(t,n){return ge(n,e)}),void 0,t)},getIn:function(e,t){for(var n,r=this,o=xn(e);!(n=o.next()).done;){var a=n.value;if((r=r&&r.get?r.get(a,b):b)===b)return t}return r},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,b)!==b},hasIn:function(e){return this.getIn(e,b)!==b},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return ge(t,e)}))},keySeq:function(){return this.toSeq().map(Qn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return fn(this,e)},maxBy:function(e,t){return fn(this,t,e)},min:function(e){return fn(this,e?nr(e):ar)},minBy:function(e,t){return fn(this,t?nr(t):ar,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return mn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return mn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(tr(e),t)},sortBy:function(e,t){return mn(this,pn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(tr(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ir(this))}});var Zn=n.prototype;Zn[p]=!0,Zn[B]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=rr,Zn.inspect=Zn.toSource=function(){return this.toString()},Zn.chain=Zn.flatMap,Zn.contains=Zn.includes,Gn(r,{flip:function(){return mn(this,Zt(this))},mapEntries:function(e,t){var n=this,r=0;return mn(this,this.toSeq().map((function(o,a){return e.call(t,[a,o],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(r,o){return e.call(t,r,o,n)})).flip())}});var Xn=r.prototype;function Qn(e,t){return t}function er(e,t){return[t,e]}function tr(e){return function(){return!e.apply(this,arguments)}}function nr(e){return function(){return-e.apply(this,arguments)}}function rr(e){return"string"==typeof e?JSON.stringify(e):String(e)}function or(){return C(arguments)}function ar(e,t){return et?-1:0}function ir(e){if(e.size===1/0)return 0;var t=l(e),n=s(e),r=t?1:0;return sr(e.__iterate(n?t?function(e,t){r=31*r+ur(ke(e),ke(t))|0}:function(e,t){r=r+ur(ke(e),ke(t))|0}:t?function(e){r=31*r+ke(e)|0}:function(e){r=r+ke(e)|0}),r)}function sr(e,t){return t=Ae(t,3432918353),t=Ae(t<<15|t>>>-15,461845907),t=Ae(t<<13|t>>>-13,5),t=Ae((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Oe((t=Ae(t^t>>>13,3266489909))^t>>>16)}function ur(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Xn[f]=!0,Xn[B]=Zn.entries,Xn.__toJS=Zn.toObject,Xn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},Gn(o,{toKeyedSeq:function(){return new Jt(this,!1)},filter:function(e,t){return mn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return mn(this,Qt(this,!1))},slice:function(e,t){return mn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=T(e,e<0?this.count():this.size);var r=this.slice(0,e);return mn(this,1===n?r:r.concat(C(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(e){return mn(this,un(this,e,!1))},get:function(e,t){return(e=O(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=O(this,e))>=0&&(void 0!==this.size?this.size===1/0||e1)try{return decodeURIComponent(t[1])}catch(e){console.error(e)}return null}function Pe(e){return t=e.replace(/\.[^./]*$/,""),Y()(J()(t));var t}function Ne(e,t,n,r,a){if(!t)return[];var s=[],u=t.get("nullable"),c=t.get("required"),p=t.get("maximum"),h=t.get("minimum"),d=t.get("type"),m=t.get("format"),g=t.get("maxLength"),b=t.get("minLength"),w=t.get("uniqueItems"),x=t.get("maxItems"),E=t.get("minItems"),S=t.get("pattern"),C=n||!0===c,A=null!=e;if(u&&null===e||!d||!(C||A&&"array"===d||!(!C&&!A)))return[];var O="string"===d&&e,k="array"===d&&l()(e)&&e.length,j="array"===d&&W.a.List.isList(e)&&e.count(),T=[O,k,j,"array"===d&&"string"==typeof e&&e,"file"===d&&e instanceof se.a.File,"boolean"===d&&(e||!1===e),"number"===d&&(e||0===e),"integer"===d&&(e||0===e),"object"===d&&"object"===i()(e)&&null!==e,"object"===d&&"string"==typeof e&&e],I=P()(T).call(T,(function(e){return!!e}));if(C&&!I&&!r)return s.push("Required field is not provided"),s;if("object"===d&&(null===a||"application/json"===a)){var N,M=e;if("string"==typeof e)try{M=JSON.parse(e)}catch(e){return s.push("Parameter string value must be valid JSON"),s}if(t&&t.has("required")&&Ee(c.isList)&&c.isList()&&y()(c).call(c,(function(e){void 0===M[e]&&s.push({propKey:e,error:"Required property not found"})})),t&&t.has("properties"))y()(N=t.get("properties")).call(N,(function(e,t){var n=Ne(M[t],e,!1,r,a);s.push.apply(s,o()(f()(n).call(n,(function(e){return{propKey:t,error:e}}))))}))}if(S){var R=function(e,t){if(!new RegExp(t).test(e))return"Value must follow pattern "+t}(e,S);R&&s.push(R)}if(E&&"array"===d){var D=function(e,t){var n;if(!e&&t>=1||e&&e.lengtht)return v()(n="Array must not contain more then ".concat(t," item")).call(n,1===t?"":"s")}(e,x);L&&s.push({needRemove:!0,error:L})}if(w&&"array"===d){var B=function(e,t){if(e&&("true"===t||!0===t)){var n=Object(V.fromJS)(e),r=n.toSet();if(e.length>r.size){var o=Object(V.Set)();if(y()(n).call(n,(function(e,t){_()(n).call(n,(function(t){return Ee(t.equals)?t.equals(e):t===e})).size>1&&(o=o.add(t))})),0!==o.size)return f()(o).call(o,(function(e){return{index:e,error:"No duplicates allowed."}})).toArray()}}}(e,w);B&&s.push.apply(s,o()(B))}if(g||0===g){var F=function(e,t){var n;if(e.length>t)return v()(n="Value must be no longer than ".concat(t," character")).call(n,1!==t?"s":"")}(e,g);F&&s.push(F)}if(b){var U=function(e,t){var n;if(e.lengtht)return"Value must be less than ".concat(t)}(e,p);q&&s.push(q)}if(h||0===h){var z=function(e,t){if(e2&&void 0!==arguments[2]?arguments[2]:{},r=n.isOAS3,o=void 0!==r&&r,a=n.bypassRequiredCheck,i=void 0!==a&&a,s=e.get("required"),u=Object(le.a)(e,{isOAS3:o}),c=u.schema,l=u.parameterContentMediaType;return Ne(t,c,s,i,l)},Re=function(e,t,n){if(e&&(!e.xml||!e.xml.name)){if(e.xml=e.xml||{},!e.$$ref)return e.type||e.items||e.properties||e.additionalProperties?'\n\x3c!-- XML example cannot be generated; root element name is undefined --\x3e':null;var r=e.$$ref.match(/\S*\/(\S+)$/);e.xml.name=r[1]}return Object(ie.memoizedCreateXMLExample)(e,t,n)},De=[{when:/json/,shouldStringifyTypes:["string"]}],Le=["object"],Be=function(e,t,n,r){var a=Object(ie.memoizedSampleFromSchema)(e,t,r),s=i()(a),u=S()(De).call(De,(function(e,t){var r;return t.when.test(n)?v()(r=[]).call(r,o()(e),o()(t.shouldStringifyTypes)):e}),Le);return te()(u,(function(e){return e===s}))?M()(a,null,2):a},Fe=function(e,t,n,r){var o,a=Be(e,t,n,r);try{"\n"===(o=me.a.dump(me.a.load(a),{lineWidth:-1}))[o.length-1]&&(o=T()(o).call(o,0,o.length-1))}catch(e){return console.error(e),"error: could not generate yaml example"}return o.replace(/\t/g," ")},Ue=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;return e&&Ee(e.toJS)&&(e=e.toJS()),r&&Ee(r.toJS)&&(r=r.toJS()),/xml/.test(t)?Re(e,n,r):/(yaml|yml)/.test(t)?Fe(e,n,t,r):Be(e,n,t,r)},qe=function(){var e={},t=se.a.location.search;if(!t)return{};if(""!=t){var n=t.substr(1).split("&");for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(r=n[r].split("="),e[decodeURIComponent(r[0])]=r[1]&&decodeURIComponent(r[1])||"")}return e},ze=function(t){return(t instanceof e?t:e.from(t.toString(),"utf-8")).toString("base64")},Ve={operationsSorter:{alpha:function(e,t){return e.get("path").localeCompare(t.get("path"))},method:function(e,t){return e.get("method").localeCompare(t.get("method"))}},tagsSorter:{alpha:function(e,t){return e.localeCompare(t)}}},We=function(e){var t=[];for(var n in e){var r=e[n];void 0!==r&&""!==r&&t.push([n,"=",encodeURIComponent(r).replace(/%20/g,"+")].join(""))}return t.join("&")},He=function(e,t,n){return!!Q()(n,(function(n){return re()(e[n],t[n])}))};function $e(e){return"string"!=typeof e||""===e?"":Object(H.sanitizeUrl)(e)}function Je(e){return!(!e||D()(e).call(e,"localhost")>=0||D()(e).call(e,"127.0.0.1")>=0||"none"===e)}function Ke(e){if(!W.a.OrderedMap.isOrderedMap(e))return null;if(!e.size)return null;var t=B()(e).call(e,(function(e,t){return U()(t).call(t,"2")&&x()(e.get("content")||{}).length>0})),n=e.get("default")||W.a.OrderedMap(),r=(n.get("content")||W.a.OrderedMap()).keySeq().toJS().length?n:null;return t||r}var Ye=function(e){return"string"==typeof e||e instanceof String?z()(e).call(e).replace(/\s/g,"%20"):""},Ge=function(e){return ce()(Ye(e).replace(/%20/g,"_"))},Ze=function(e){return _()(e).call(e,(function(e,t){return/^x-/.test(t)}))},Xe=function(e){return _()(e).call(e,(function(e,t){return/^pattern|maxLength|minLength|maximum|minimum/.test(t)}))};function Qe(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return!0};if("object"!==i()(e)||l()(e)||null===e||!t)return e;var o=A()({},e);return y()(n=x()(o)).call(n,(function(e){e===t&&r(o[e],e)?delete o[e]:o[e]=Qe(o[e],t,r)})),o}function et(e){if("string"==typeof e)return e;if(e&&e.toJS&&(e=e.toJS()),"object"===i()(e)&&null!==e)try{return M()(e,null,2)}catch(t){return String(e)}return null==e?"":e.toString()}function tt(e){return"number"==typeof e?e.toString():e}function nt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.returnAll,r=void 0!==n&&n,o=t.allowHashes,a=void 0===o||o;if(!W.a.Map.isMap(e))throw new Error("paramToIdentifier: received a non-Im.Map parameter as input");var i,s,u,c=e.get("name"),l=e.get("in"),p=[];e&&e.hashCode&&l&&c&&a&&p.push(v()(i=v()(s="".concat(l,".")).call(s,c,".hash-")).call(i,e.hashCode()));l&&c&&p.push(v()(u="".concat(l,".")).call(u,c));return p.push(c),r?p:p[0]||""}function rt(e,t){var n,r=nt(e,{returnAll:!0});return _()(n=f()(r).call(r,(function(e){return t[e]}))).call(n,(function(e){return void 0!==e}))[0]}function ot(){return it(fe()(32).toString("base64"))}function at(e){return it(de()("sha256").update(e).digest("base64"))}function it(e){return e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}var st=function(e){return!e||!(!ge(e)||!e.isEmpty())}}).call(this,n(132).Buffer)},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(238);function o(e,t){for(var n=0;n1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:r,n=null,a=null;return function(){return o(t,n,arguments)||(a=e.apply(null,arguments)),n=arguments,a}}))},function(e,t,n){e.exports=n(659)},function(e,t,n){var r=n(177),o=n(563);function a(t){return"function"==typeof r&&"symbol"==typeof o?(e.exports=a=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=a=function(e){return e&&"function"==typeof r&&e.constructor===r&&e!==r.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),a(t)}e.exports=a,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){e.exports=n(589)},function(e,t,n){e.exports=n(587)},function(e,t,n){e.exports=n(400)},function(e,t,n){"use strict";var r=n(40),o=n(127).f,a=n(361),i=n(33),s=n(109),u=n(67),c=n(55),l=function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,p,f,h,d,m,v,g,y=e.target,b=e.global,_=e.stat,w=e.proto,x=b?r:_?r[y]:(r[y]||{}).prototype,E=b?i:i[y]||(i[y]={}),S=E.prototype;for(f in t)n=!a(b?f:y+(_?".":"#")+f,e.forced)&&x&&c(x,f),d=E[f],n&&(m=e.noTargetGet?(g=o(x,f))&&g.value:x[f]),h=n&&m?m:t[f],n&&typeof d==typeof h||(v=e.bind&&n?s(h,r):e.wrap&&n?l(h):w&&"function"==typeof h?s(Function.call,h):h,(e.sham||h&&h.sham||d&&d.sham)&&u(v,"sham",!0),E[f]=v,w&&(c(i,p=y+"Prototype")||u(i,p,{}),i[p][f]=h,e.real&&S&&!S[f]&&u(S,f,h)))}},function(e,t,n){e.exports=n(592)},function(e,t,n){var r=n(444),o=n(445),a=n(849),i=n(851),s=n(855),u=n(857),c=n(862),l=n(238),p=n(3);function f(e,t){var n=r(e);if(o){var s=o(e);t&&(s=a(s).call(s,(function(t){return i(e,t).enumerable}))),n.push.apply(n,s)}return n}e.exports=function(e){for(var t=1;t>",i=function(){invariant(!1,"ImmutablePropTypes type checking code is stripped in production.")};i.isRequired=i;var s=function(){return i};function u(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":e instanceof o.Iterable?"Immutable."+e.toSource().split(" ")[0]:t}function c(e){function t(t,n,r,o,i,s){for(var u=arguments.length,c=Array(u>6?u-6:0),l=6;l4)}function l(e){var t=e.get("swagger");return"string"==typeof t&&i()(t).call(t,"2.0")}function p(e){return function(t,n){return function(r){return n&&n.specSelectors&&n.specSelectors.specJson?c(n.specSelectors.specJson())?u.a.createElement(e,o()({},r,n,{Ori:t})):u.a.createElement(t,r):(console.warn("OAS3 wrapper: couldn't get spec"),null)}}}},function(e,t,n){e.exports=n(583)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,u=i(e),c=1;c0){var o=v()(n).call(n,(function(e){return console.error(e),e.line=e.fullPath?_(w,e.fullPath):null,e.path=e.fullPath?e.fullPath.join("."):null,e.level="error",e.type="thrown",e.source="resolver",y()(e,"message",{enumerable:!0,value:e.message}),e}));a.newThrownErrBatch(o)}return r.updateResolved(t)}))}},Se=[],Ce=Y()(u()(f.a.mark((function e(){var t,n,r,o,a,i,s,c,l,p,h,m,g,b,w,E,C,O;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=Se.system){e.next=4;break}return console.error("debResolveSubtrees: don't have a system to operate on, aborting."),e.abrupt("return");case 4:if(n=t.errActions,r=t.errSelectors,o=t.fn,a=o.resolveSubtree,i=o.fetch,s=o.AST,c=void 0===s?{}:s,l=t.specSelectors,p=t.specActions,a){e.next=8;break}return console.error("Error: Swagger-Client did not provide a `resolveSubtree` method, doing nothing."),e.abrupt("return");case 8:return h=c.getLineNumberForPath?c.getLineNumberForPath:function(){},m=l.specStr(),g=t.getConfigs(),b=g.modelPropertyMacro,w=g.parameterMacro,E=g.requestInterceptor,C=g.responseInterceptor,e.prev=11,e.next=14,_()(Se).call(Se,function(){var e=u()(f.a.mark((function e(t,o){var s,c,p,g,_,O,j,T,I;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t;case 2:return s=e.sent,c=s.resultMap,p=s.specWithCurrentSubtrees,e.next=7,a(p,o,{baseDoc:l.url(),modelPropertyMacro:b,parameterMacro:w,requestInterceptor:E,responseInterceptor:C});case 7:if(g=e.sent,_=g.errors,O=g.spec,r.allErrors().size&&n.clearBy((function(e){var t;return"thrown"!==e.get("type")||"resolver"!==e.get("source")||!x()(t=e.get("fullPath")).call(t,(function(e,t){return e===o[t]||void 0===o[t]}))})),d()(_)&&_.length>0&&(j=v()(_).call(_,(function(e){return e.line=e.fullPath?h(m,e.fullPath):null,e.path=e.fullPath?e.fullPath.join("."):null,e.level="error",e.type="thrown",e.source="resolver",y()(e,"message",{enumerable:!0,value:e.message}),e})),n.newThrownErrBatch(j)),!O||!l.isOAS3()||"components"!==o[0]||"securitySchemes"!==o[1]){e.next=15;break}return e.next=15,S.a.all(v()(T=A()(I=k()(O)).call(I,(function(e){return"openIdConnect"===e.type}))).call(T,function(){var e=u()(f.a.mark((function e(t){var n,r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={url:t.openIdConnectUrl,requestInterceptor:E,responseInterceptor:C},e.prev=1,e.next=4,i(n);case 4:(r=e.sent)instanceof Error||r.status>=400?console.error(r.statusText+" "+n.url):t.openIdConnectData=JSON.parse(r.text),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),console.error(e.t0);case 11:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(t){return e.apply(this,arguments)}}()));case 15:return Z()(c,o,O),Z()(p,o,O),e.abrupt("return",{resultMap:c,specWithCurrentSubtrees:p});case 18:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),S.a.resolve({resultMap:(l.specResolvedSubtree([])||Object(z.Map)()).toJS(),specWithCurrentSubtrees:l.specJson().toJS()}));case 14:O=e.sent,delete Se.system,Se=[],e.next=22;break;case 19:e.prev=19,e.t0=e.catch(11),console.error(e.t0);case 22:p.updateResolvedSubtree([],O.resultMap);case 23:case"end":return e.stop()}}),e,null,[[11,19]])}))),35),Ae=function(e){return function(t){var n;T()(n=v()(Se).call(Se,(function(e){return e.join("@@")}))).call(n,e.join("@@"))>-1||(Se.push(e),Se.system=t,Ce())}};function Oe(e,t,n,r,o){return{type:re,payload:{path:e,value:r,paramName:t,paramIn:n,isXml:o}}}function ke(e,t,n,r){return{type:re,payload:{path:e,param:t,value:n,isXml:r}}}var je=function(e,t){return{type:me,payload:{path:e,value:t}}},Te=function(){return{type:me,payload:{path:[],value:Object(z.Map)()}}},Ie=function(e,t){return{type:ae,payload:{pathMethod:e,isOAS3:t}}},Pe=function(e,t,n,r){return{type:oe,payload:{pathMethod:e,paramName:t,paramIn:n,includeEmptyValue:r}}};function Ne(e){return{type:fe,payload:{pathMethod:e}}}function Me(e,t){return{type:he,payload:{path:e,value:t,key:"consumes_value"}}}function Re(e,t){return{type:he,payload:{path:e,value:t,key:"produces_value"}}}var De=function(e,t,n){return{payload:{path:e,method:t,res:n},type:ie}},Le=function(e,t,n){return{payload:{path:e,method:t,req:n},type:se}},Be=function(e,t,n){return{payload:{path:e,method:t,req:n},type:ue}},Fe=function(e){return{payload:e,type:ce}},Ue=function(e){return function(t){var n,r,o=t.fn,a=t.specActions,i=t.specSelectors,s=t.getConfigs,c=t.oas3Selectors,l=e.pathName,p=e.method,h=e.operation,m=s(),g=m.requestInterceptor,y=m.responseInterceptor,b=h.toJS();h&&h.get("parameters")&&P()(n=A()(r=h.get("parameters")).call(r,(function(e){return e&&!0===e.get("allowEmptyValue")}))).call(n,(function(t){if(i.parameterInclusionSettingFor([l,p],t.get("name"),t.get("in"))){e.parameters=e.parameters||{};var n=Object(X.B)(t,e.parameters);(!n||n&&0===n.size)&&(e.parameters[t.get("name")]="")}}));if(e.contextUrl=W()(i.url()).toString(),b&&b.operationId?e.operationId=b.operationId:b&&l&&p&&(e.operationId=o.opId(b,l,p)),i.isOAS3()){var _,w=M()(_="".concat(l,":")).call(_,p);e.server=c.selectedServer(w)||c.selectedServer();var x=c.serverVariables({server:e.server,namespace:w}).toJS(),E=c.serverVariables({server:e.server}).toJS();e.serverVariables=D()(x).length?x:E,e.requestContentType=c.requestContentType(l,p),e.responseContentType=c.responseContentType(l,p)||"*/*";var S,C=c.requestBodyValue(l,p),O=c.requestBodyInclusionSetting(l,p);if(C&&C.toJS)e.requestBody=A()(S=v()(C).call(C,(function(e){return z.Map.isMap(e)?e.get("value"):e}))).call(S,(function(e,t){return(d()(e)?0!==e.length:!Object(X.q)(e))||O.get(t)})).toJS();else e.requestBody=C}var k=B()({},e);k=o.buildRequest(k),a.setRequest(e.pathName,e.method,k);var j=function(){var t=u()(f.a.mark((function t(n){var r,o;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g.apply(undefined,[n]);case 2:return r=t.sent,o=B()({},r),a.setMutatedRequest(e.pathName,e.method,o),t.abrupt("return",r);case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();e.requestInterceptor=j,e.responseInterceptor=y;var T=U()();return o.execute(e).then((function(t){t.duration=U()()-T,a.setResponse(e.pathName,e.method,t)})).catch((function(t){"Failed to fetch"===t.message&&(t.name="",t.message='**Failed to fetch.** \n**Possible Reasons:** \n - CORS \n - Network Failure \n - URL scheme must be "http" or "https" for CORS request.'),a.setResponse(e.pathName,e.method,{error:!0,err:Object(H.serializeError)(t)})}))}},qe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.path,n=e.method,r=i()(e,Q);return function(e){var a=e.fn.fetch,i=e.specSelectors,s=e.specActions,u=i.specJsonWithResolvedSubtrees().toJS(),c=i.operationScheme(t,n),l=i.contentTypeValues([t,n]).toJS(),p=l.requestContentType,f=l.responseContentType,h=/xml/i.test(p),d=i.parameterValues([t,n],h).toJS();return s.executeRequest(o()(o()({},r),{},{fetch:a,spec:u,pathName:t,method:n,parameters:d,requestContentType:p,scheme:c,responseContentType:f}))}};function ze(e,t){return{type:le,payload:{path:e,method:t}}}function Ve(e,t){return{type:pe,payload:{path:e,method:t}}}function We(e,t,n){return{type:ve,payload:{scheme:e,path:t,method:n}}}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(37);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,n){var r=n(177),o=n(241),a=n(240),i=n(187);e.exports=function(e,t){var n=void 0!==r&&o(e)||e["@@iterator"];if(!n){if(a(e)||(n=i(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var s=0,u=function(){};return{s:u,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(e){throw e},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,l=!0,p=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){p=!0,c=e},f:function(){try{l||null==n.return||n.return()}finally{if(p)throw c}}}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";n.r(t),n.d(t,"UPDATE_SELECTED_SERVER",(function(){return r})),n.d(t,"UPDATE_REQUEST_BODY_VALUE",(function(){return o})),n.d(t,"UPDATE_REQUEST_BODY_VALUE_RETAIN_FLAG",(function(){return a})),n.d(t,"UPDATE_REQUEST_BODY_INCLUSION",(function(){return i})),n.d(t,"UPDATE_ACTIVE_EXAMPLES_MEMBER",(function(){return s})),n.d(t,"UPDATE_REQUEST_CONTENT_TYPE",(function(){return u})),n.d(t,"UPDATE_RESPONSE_CONTENT_TYPE",(function(){return c})),n.d(t,"UPDATE_SERVER_VARIABLE_VALUE",(function(){return l})),n.d(t,"SET_REQUEST_BODY_VALIDATE_ERROR",(function(){return p})),n.d(t,"CLEAR_REQUEST_BODY_VALIDATE_ERROR",(function(){return f})),n.d(t,"CLEAR_REQUEST_BODY_VALUE",(function(){return h})),n.d(t,"setSelectedServer",(function(){return d})),n.d(t,"setRequestBodyValue",(function(){return m})),n.d(t,"setRetainRequestBodyValueFlag",(function(){return v})),n.d(t,"setRequestBodyInclusion",(function(){return g})),n.d(t,"setActiveExamplesMember",(function(){return y})),n.d(t,"setRequestContentType",(function(){return b})),n.d(t,"setResponseContentType",(function(){return _})),n.d(t,"setServerVariableValue",(function(){return w})),n.d(t,"setRequestBodyValidateError",(function(){return x})),n.d(t,"clearRequestBodyValidateError",(function(){return E})),n.d(t,"initRequestBodyValidateError",(function(){return S})),n.d(t,"clearRequestBodyValue",(function(){return C}));var r="oas3_set_servers",o="oas3_set_request_body_value",a="oas3_set_request_body_retain_flag",i="oas3_set_request_body_inclusion",s="oas3_set_active_examples_member",u="oas3_set_request_content_type",c="oas3_set_response_content_type",l="oas3_set_server_variable_value",p="oas3_set_request_body_validate_error",f="oas3_clear_request_body_validate_error",h="oas3_clear_request_body_value";function d(e,t){return{type:r,payload:{selectedServerUrl:e,namespace:t}}}function m(e){var t=e.value,n=e.pathMethod;return{type:o,payload:{value:t,pathMethod:n}}}var v=function(e){var t=e.value,n=e.pathMethod;return{type:a,payload:{value:t,pathMethod:n}}};function g(e){var t=e.value,n=e.pathMethod,r=e.name;return{type:i,payload:{value:t,pathMethod:n,name:r}}}function y(e){var t=e.name,n=e.pathMethod,r=e.contextType,o=e.contextName;return{type:s,payload:{name:t,pathMethod:n,contextType:r,contextName:o}}}function b(e){var t=e.value,n=e.pathMethod;return{type:u,payload:{value:t,pathMethod:n}}}function _(e){var t=e.value,n=e.path,r=e.method;return{type:c,payload:{value:t,path:n,method:r}}}function w(e){var t=e.server,n=e.namespace,r=e.key,o=e.val;return{type:l,payload:{server:t,namespace:n,key:r,val:o}}}var x=function(e){var t=e.path,n=e.method,r=e.validationErrors;return{type:p,payload:{path:t,method:n,validationErrors:r}}},E=function(e){var t=e.path,n=e.method;return{type:f,payload:{path:t,method:n}}},S=function(e){var t=e.pathMethod;return{type:f,payload:{path:t[0],method:t[1]}}},C=function(e){var t=e.pathMethod;return{type:h,payload:{pathMethod:t}}}},function(e,t,n){var r=n(62),o={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return o.call(r(e),t)}},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=o},function(e,t,n){e.exports=n(662)},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return m})),n.d(t,"e",(function(){return v})),n.d(t,"c",(function(){return y})),n.d(t,"a",(function(){return b})),n.d(t,"d",(function(){return _}));var r=n(49),o=n.n(r),a=n(18),i=n.n(a),s=n(104),u=n.n(s),c=n(2),l=n.n(c),p=n(59),f=n.n(p),h=function(e){return String.prototype.toLowerCase.call(e)},d=function(e){return e.replace(/[^\w]/gi,"_")};function m(e){var t=e.openapi;return!!t&&u()(t).call(t,"3")}function v(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=r.v2OperationIdCompatibilityMode;if(!e||"object"!==i()(e))return null;var a=(e.operationId||"").replace(/\s/g,"");return a.length?d(e.operationId):g(t,n,{v2OperationIdCompatibilityMode:o})}function g(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=r.v2OperationIdCompatibilityMode;if(o){var a,i,s=l()(a="".concat(t.toLowerCase(),"_")).call(a,e).replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return(s=s||l()(i="".concat(e.substring(1),"_")).call(i,t)).replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return l()(n="".concat(h(t))).call(n,d(e))}function y(e,t){var n;return l()(n="".concat(h(t),"-")).call(n,e)}function b(e,t){return e&&e.paths?function(e,t){return function(e,t,n){if(!e||"object"!==i()(e)||!e.paths||"object"!==i()(e.paths))return null;var r=e.paths;for(var o in r)for(var a in r[o])if("PARAMETERS"!==a.toUpperCase()){var s=r[o][a];if(s&&"object"===i()(s)){var u={spec:e,pathName:o,method:a.toUpperCase(),operation:s},c=t(u);if(n&&c)return u}}return}(e,t,!0)||null}(e,(function(e){var n=e.pathName,r=e.method,o=e.operation;if(!o||"object"!==i()(o))return!1;var a=o.operationId;return[v(o,n,r),y(n,r),a].some((function(e){return e&&e===t}))})):null}function _(e){var t=e.spec,n=t.paths,r={};if(!n||t.$$normalized)return e;for(var a in n){var i=n[a];if(f()(i)){var s=i.parameters,u=function(e){var n=i[e];if(!f()(n))return"continue";var u=v(n,a,e);if(u){r[u]?r[u].push(n):r[u]=[n];var c=r[u];if(c.length>1)c.forEach((function(e,t){var n;e.__originalOperationId=e.__originalOperationId||e.operationId,e.operationId=l()(n="".concat(u)).call(n,t+1)}));else if(void 0!==n.operationId){var p=c[0];p.__originalOperationId=p.__originalOperationId||n.operationId,p.operationId=u}}if("parameters"!==e){var h=[],d={};for(var m in t)"produces"!==m&&"consumes"!==m&&"security"!==m||(d[m]=t[m],h.push(d));if(s&&(d.parameters=s,h.push(d)),h.length){var g,y=o()(h);try{for(y.s();!(g=y.n()).done;){var b=g.value;for(var _ in b)if(n[_]){if("parameters"===_){var w,x=o()(b[_]);try{var E=function(){var e=w.value;n[_].some((function(t){return t.name&&t.name===e.name||t.$ref&&t.$ref===e.$ref||t.$$ref&&t.$$ref===e.$$ref||t===e}))||n[_].push(e)};for(x.s();!(w=x.n()).done;)E()}catch(e){x.e(e)}finally{x.f()}}}else n[_]=b[_]}}catch(e){y.e(e)}finally{y.f()}}}};for(var c in i)u(c)}}return t.$$normalized=!0,e}},function(e,t,n){"use strict";n.r(t),n.d(t,"NEW_THROWN_ERR",(function(){return o})),n.d(t,"NEW_THROWN_ERR_BATCH",(function(){return a})),n.d(t,"NEW_SPEC_ERR",(function(){return i})),n.d(t,"NEW_SPEC_ERR_BATCH",(function(){return s})),n.d(t,"NEW_AUTH_ERR",(function(){return u})),n.d(t,"CLEAR",(function(){return c})),n.d(t,"CLEAR_BY",(function(){return l})),n.d(t,"newThrownErr",(function(){return p})),n.d(t,"newThrownErrBatch",(function(){return f})),n.d(t,"newSpecErr",(function(){return h})),n.d(t,"newSpecErrBatch",(function(){return d})),n.d(t,"newAuthErr",(function(){return m})),n.d(t,"clear",(function(){return v})),n.d(t,"clearBy",(function(){return g}));var r=n(146),o="err_new_thrown_err",a="err_new_thrown_err_batch",i="err_new_spec_err",s="err_new_spec_err_batch",u="err_new_auth_err",c="err_clear",l="err_clear_by";function p(e){return{type:o,payload:Object(r.serializeError)(e)}}function f(e){return{type:a,payload:e}}function h(e){return{type:i,payload:e}}function d(e){return{type:s,payload:e}}function m(e){return{type:u,payload:e}}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{type:c,payload:e}}function g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!0};return{type:l,payload:e}}},function(e,t,n){var r=n(108);e.exports=function(e){return Object(r(e))}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){var r=n(132),o=r.Buffer;function a(e,t){for(var n in e)t[n]=e[n]}function i(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=r:(a(r,t),t.Buffer=i),a(o,i),i.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,n)},i.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=o(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},i.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},i.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t,n){e.exports=n(882)},function(e,t,n){var r=n(179),o=n(108);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(48),o=n(68),a=n(107);e.exports=r?function(e,t,n){return o.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(48),o=n(360),a=n(52),i=n(180),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(a(e),t=i(t,!0),a(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(128),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(33),o=n(40),a=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?a(r[e])||a(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},function(e,t,n){var r=n(405),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();e.exports=a},function(e,t,n){"use strict";e.exports={debugTool:null}},function(e,t,n){"use strict";function r(e){return null==e}var o={isNothing:r,isObject:function(e){return"object"==typeof e&&null!==e},toArray:function(e){return Array.isArray(e)?e:r(e)?[]:[e]},repeat:function(e,t){var n,r="";for(n=0;ns&&(t=r-s+(a=" ... ").length),n-r>s&&(n=r+s-(i=" ...").length),{str:a+e.slice(t,n).replace(/\t/g,"→")+i,pos:r-t+a.length}}function c(e,t){return o.repeat(" ",t-e.length)+e}var l=function(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),"number"!=typeof t.indent&&(t.indent=1),"number"!=typeof t.linesBefore&&(t.linesBefore=3),"number"!=typeof t.linesAfter&&(t.linesAfter=2);for(var n,r=/\r?\n|\r|\0/g,a=[0],i=[],s=-1;n=r.exec(e.buffer);)i.push(n.index),a.push(n.index+n[0].length),e.position<=n.index&&s<0&&(s=a.length-2);s<0&&(s=a.length-1);var l,p,f="",h=Math.min(e.line+t.linesAfter,i.length).toString().length,d=t.maxLength-(t.indent+h+3);for(l=1;l<=t.linesBefore&&!(s-l<0);l++)p=u(e.buffer,a[s-l],i[s-l],e.position-(a[s]-a[s-l]),d),f=o.repeat(" ",t.indent)+c((e.line-l+1).toString(),h)+" | "+p.str+"\n"+f;for(p=u(e.buffer,a[s],i[s],e.position,d),f+=o.repeat(" ",t.indent)+c((e.line+1).toString(),h)+" | "+p.str+"\n",f+=o.repeat("-",t.indent+h+3+p.pos)+"^\n",l=1;l<=t.linesAfter&&!(s+l>=i.length);l++)p=u(e.buffer,a[s+l],i[s+l],e.position-(a[s]-a[s+l]),d),f+=o.repeat(" ",t.indent)+c((e.line+l+1).toString(),h)+" | "+p.str+"\n";return f.replace(/\n$/,"")},p=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],f=["scalar","sequence","mapping"];var h=function(e,t){if(t=t||{},Object.keys(t).forEach((function(t){if(-1===p.indexOf(t))throw new s('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=function(e){var t={};return null!==e&&Object.keys(e).forEach((function(n){e[n].forEach((function(e){t[String(e)]=n}))})),t}(t.styleAliases||null),-1===f.indexOf(this.kind))throw new s('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')};function d(e,t){var n=[];return e[t].forEach((function(e){var t=n.length;n.forEach((function(n,r){n.tag===e.tag&&n.kind===e.kind&&n.multi===e.multi&&(t=r)})),n[t]=e})),n}function m(e){return this.extend(e)}m.prototype.extend=function(e){var t=[],n=[];if(e instanceof h)n.push(e);else if(Array.isArray(e))n=n.concat(e);else{if(!e||!Array.isArray(e.implicit)&&!Array.isArray(e.explicit))throw new s("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");e.implicit&&(t=t.concat(e.implicit)),e.explicit&&(n=n.concat(e.explicit))}t.forEach((function(e){if(!(e instanceof h))throw new s("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(e.loadKind&&"scalar"!==e.loadKind)throw new s("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(e.multi)throw new s("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")})),n.forEach((function(e){if(!(e instanceof h))throw new s("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));var r=Object.create(m.prototype);return r.implicit=(this.implicit||[]).concat(t),r.explicit=(this.explicit||[]).concat(n),r.compiledImplicit=d(r,"implicit"),r.compiledExplicit=d(r,"explicit"),r.compiledTypeMap=function(){var e,t,n={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function r(e){e.multi?(n.multi[e.kind].push(e),n.multi.fallback.push(e)):n[e.kind][e.tag]=n.fallback[e.tag]=e}for(e=0,t=arguments.length;e=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),A=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var O=/^[-+]?[0-9]+e/;var k=new h("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!A.test(e)||"_"===e[e.length-1])},construct:function(e){var t,n;return n="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:n*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||o.isNegativeZero(e))},represent:function(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(o.isNegativeZero(e))return"-0.0";return n=e.toString(10),O.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"}),j=_.extend({implicit:[w,x,C,k]}),T=j,I=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),P=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");var N=new h("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==I.exec(e)||null!==P.exec(e))},construct:function(e){var t,n,r,o,a,i,s,u,c=0,l=null;if(null===(t=I.exec(e))&&(t=P.exec(e)),null===t)throw new Error("Date resolve error");if(n=+t[1],r=+t[2]-1,o=+t[3],!t[4])return new Date(Date.UTC(n,r,o));if(a=+t[4],i=+t[5],s=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+="0";c=+c}return t[9]&&(l=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(l=-l)),u=new Date(Date.UTC(n,r,o,a,i,s,c)),l&&u.setTime(u.getTime()-l),u},instanceOf:Date,represent:function(e){return e.toISOString()}});var M=new h("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}}),R="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";var D=new h("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,r=0,o=e.length,a=R;for(n=0;n64)){if(t<0)return!1;r+=6}return r%8==0},construct:function(e){var t,n,r=e.replace(/[\r\n=]/g,""),o=r.length,a=R,i=0,s=[];for(t=0;t>16&255),s.push(i>>8&255),s.push(255&i)),i=i<<6|a.indexOf(r.charAt(t));return 0===(n=o%4*6)?(s.push(i>>16&255),s.push(i>>8&255),s.push(255&i)):18===n?(s.push(i>>10&255),s.push(i>>2&255)):12===n&&s.push(i>>4&255),new Uint8Array(s)},predicate:function(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)},represent:function(e){var t,n,r="",o=0,a=e.length,i=R;for(t=0;t>18&63],r+=i[o>>12&63],r+=i[o>>6&63],r+=i[63&o]),o=(o<<8)+e[t];return 0===(n=a%3)?(r+=i[o>>18&63],r+=i[o>>12&63],r+=i[o>>6&63],r+=i[63&o]):2===n?(r+=i[o>>10&63],r+=i[o>>4&63],r+=i[o<<2&63],r+=i[64]):1===n&&(r+=i[o>>2&63],r+=i[o<<4&63],r+=i[64],r+=i[64]),r}}),L=Object.prototype.hasOwnProperty,B=Object.prototype.toString;var F=new h("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,r,o,a,i=[],s=e;for(t=0,n=s.length;t>10),56320+(e-65536&1023))}for(var ae=new Array(256),ie=new Array(256),se=0;se<256;se++)ae[se]=re(se)?1:0,ie[se]=re(se);function ue(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||W,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function ce(e,t){var n={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return n.snippet=l(n),new s(t,n)}function le(e,t){throw ce(e,t)}function pe(e,t){e.onWarning&&e.onWarning.call(null,ce(e,t))}var fe={YAML:function(e,t,n){var r,o,a;null!==e.version&&le(e,"duplication of %YAML directive"),1!==n.length&&le(e,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&le(e,"ill-formed argument of the YAML directive"),o=parseInt(r[1],10),a=parseInt(r[2],10),1!==o&&le(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=a<2,1!==a&&2!==a&&pe(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var r,o;2!==n.length&&le(e,"TAG directive accepts exactly two arguments"),r=n[0],o=n[1],Y.test(r)||le(e,"ill-formed tag handle (first argument) of the TAG directive"),H.call(e.tagMap,r)&&le(e,'there is a previously declared suffix for "'+r+'" tag handle'),G.test(o)||le(e,"ill-formed tag prefix (second argument) of the TAG directive");try{o=decodeURIComponent(o)}catch(t){le(e,"tag prefix is malformed: "+o)}e.tagMap[r]=o}};function he(e,t,n,r){var o,a,i,s;if(t1&&(e.result+=o.repeat("\n",t-1))}function _e(e,t){var n,r,o=e.tag,a=e.anchor,i=[],s=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=i),r=e.input.charCodeAt(e.position);0!==r&&(-1!==e.firstTabInLine&&(e.position=e.firstTabInLine,le(e,"tab characters must not be used in indentation")),45===r)&&ee(e.input.charCodeAt(e.position+1));)if(s=!0,e.position++,ge(e,!0,-1)&&e.lineIndent<=t)i.push(null),r=e.input.charCodeAt(e.position);else if(n=e.line,Ee(e,t,3,!1,!0),i.push(e.result),ge(e,!0,-1),r=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==r)le(e,"bad indentation of a sequence entry");else if(e.lineIndentt?m=1:e.lineIndent===t?m=0:e.lineIndentt?m=1:e.lineIndent===t?m=0:e.lineIndentt)&&(g&&(i=e.line,s=e.lineStart,u=e.position),Ee(e,t,4,!0,o)&&(g?m=e.result:v=e.result),g||(me(e,f,h,d,m,v,i,s,u),d=m=v=null),ge(e,!0,-1),c=e.input.charCodeAt(e.position)),(e.line===a||e.lineIndent>t)&&0!==c)le(e,"bad indentation of a mapping entry");else if(e.lineIndent=0))break;0===a?le(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?le(e,"repeat of an indentation width identifier"):(p=t+a-1,l=!0)}if(Q(i)){do{i=e.input.charCodeAt(++e.position)}while(Q(i));if(35===i)do{i=e.input.charCodeAt(++e.position)}while(!X(i)&&0!==i)}for(;0!==i;){for(ve(e),e.lineIndent=0,i=e.input.charCodeAt(e.position);(!l||e.lineIndentp&&(p=e.lineIndent),X(i))f++;else{if(e.lineIndent0){for(o=i,a=0;o>0;o--)(i=ne(s=e.input.charCodeAt(++e.position)))>=0?a=(a<<4)+i:le(e,"expected hexadecimal character");e.result+=oe(a),e.position++}else le(e,"unknown escape sequence");n=r=e.position}else X(s)?(he(e,n,r,!0),be(e,ge(e,!1,t)),n=r=e.position):e.position===e.lineStart&&ye(e)?le(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}le(e,"unexpected end of the stream within a double quoted scalar")}(e,h)?g=!0:!function(e){var t,n,r;if(42!==(r=e.input.charCodeAt(e.position)))return!1;for(r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!ee(r)&&!te(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&le(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),H.call(e.anchorMap,n)||le(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],ge(e,!0,-1),!0}(e)?function(e,t,n){var r,o,a,i,s,u,c,l,p=e.kind,f=e.result;if(ee(l=e.input.charCodeAt(e.position))||te(l)||35===l||38===l||42===l||33===l||124===l||62===l||39===l||34===l||37===l||64===l||96===l)return!1;if((63===l||45===l)&&(ee(r=e.input.charCodeAt(e.position+1))||n&&te(r)))return!1;for(e.kind="scalar",e.result="",o=a=e.position,i=!1;0!==l;){if(58===l){if(ee(r=e.input.charCodeAt(e.position+1))||n&&te(r))break}else if(35===l){if(ee(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&ye(e)||n&&te(l))break;if(X(l)){if(s=e.line,u=e.lineStart,c=e.lineIndent,ge(e,!1,-1),e.lineIndent>=t){i=!0,l=e.input.charCodeAt(e.position);continue}e.position=a,e.line=s,e.lineStart=u,e.lineIndent=c;break}}i&&(he(e,o,a,!1),be(e,e.line-s),o=a=e.position,i=!1),Q(l)||(a=e.position+1),l=e.input.charCodeAt(++e.position)}return he(e,o,a,!1),!!e.result||(e.kind=p,e.result=f,!1)}(e,h,1===n)&&(g=!0,null===e.tag&&(e.tag="?")):(g=!0,null===e.tag&&null===e.anchor||le(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===m&&(g=u&&_e(e,d))),null===e.tag)null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);else if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&le(e,'unacceptable node kind for ! tag; it should be "scalar", not "'+e.kind+'"'),c=0,l=e.implicitTypes.length;c"),null!==e.result&&f.kind!==e.kind&&le(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+f.kind+'", not "'+e.kind+'"'),f.resolve(e.result,e.tag)?(e.result=f.construct(e.result,e.tag),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):le(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||g}function Se(e){var t,n,r,o,a=e.position,i=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);0!==(o=e.input.charCodeAt(e.position))&&(ge(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==o));){for(i=!0,o=e.input.charCodeAt(++e.position),t=e.position;0!==o&&!ee(o);)o=e.input.charCodeAt(++e.position);for(r=[],(n=e.input.slice(t,e.position)).length<1&&le(e,"directive name must not be less than one character in length");0!==o;){for(;Q(o);)o=e.input.charCodeAt(++e.position);if(35===o){do{o=e.input.charCodeAt(++e.position)}while(0!==o&&!X(o));break}if(X(o))break;for(t=e.position;0!==o&&!ee(o);)o=e.input.charCodeAt(++e.position);r.push(e.input.slice(t,e.position))}0!==o&&ve(e),H.call(fe,n)?fe[n](e,n,r):pe(e,'unknown document directive "'+n+'"')}ge(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,ge(e,!0,-1)):i&&le(e,"directives end mark is expected"),Ee(e,e.lineIndent-1,4,!1,!0),ge(e,!0,-1),e.checkLineBreaks&&J.test(e.input.slice(a,e.position))&&pe(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&ye(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,ge(e,!0,-1)):e.position=55296&&r<=56319&&t+1=56320&&n<=57343?1024*(r-55296)+n-56320+65536:r}function ze(e){return/^\n* /.test(e)}function Ve(e,t,n,r,o,a,i,s){var u,c,l=0,p=null,f=!1,h=!1,d=-1!==r,m=-1,v=Be(c=qe(e,0))&&c!==je&&!Le(c)&&45!==c&&63!==c&&58!==c&&44!==c&&91!==c&&93!==c&&123!==c&&125!==c&&35!==c&&38!==c&&42!==c&&33!==c&&124!==c&&61!==c&&62!==c&&39!==c&&34!==c&&37!==c&&64!==c&&96!==c&&function(e){return!Le(e)&&58!==e}(qe(e,e.length-1));if(t||i)for(u=0;u=65536?u+=2:u++){if(!Be(l=qe(e,u)))return 5;v=v&&Ue(l,p,s),p=l}else{for(u=0;u=65536?u+=2:u++){if(10===(l=qe(e,u)))f=!0,d&&(h=h||u-m-1>r&&" "!==e[m+1],m=u);else if(!Be(l))return 5;v=v&&Ue(l,p,s),p=l}h=h||d&&u-m-1>r&&" "!==e[m+1]}return f||h?n>9&&ze(e)?5:i?2===a?5:2:h?4:3:!v||i||o(e)?2===a?5:2:1}function We(e,t,n,r,o){e.dump=function(){if(0===t.length)return 2===e.quotingType?'""':"''";if(!e.noCompatMode&&(-1!==Ie.indexOf(t)||Pe.test(t)))return 2===e.quotingType?'"'+t+'"':"'"+t+"'";var a=e.indent*Math.max(1,n),i=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-a),u=r||e.flowLevel>-1&&n>=e.flowLevel;switch(Ve(t,u,e.indent,i,(function(t){return function(e,t){var n,r;for(n=0,r=e.implicitTypes.length;n"+He(t,e.indent)+$e(Re(function(e,t){var n,r,o=/(\n+)([^\n]*)/g,a=(s=e.indexOf("\n"),s=-1!==s?s:e.length,o.lastIndex=s,Je(e.slice(0,s),t)),i="\n"===e[0]||" "===e[0];var s;for(;r=o.exec(e);){var u=r[1],c=r[2];n=" "===c[0],a+=u+(i||n||""===c?"":"\n")+Je(c,t),i=n}return a}(t,i),a));case 5:return'"'+function(e){for(var t,n="",r=0,o=0;o=65536?o+=2:o++)r=qe(e,o),!(t=Te[r])&&Be(r)?(n+=e[o],r>=65536&&(n+=e[o+1])):n+=t||Ne(r);return n}(t)+'"';default:throw new s("impossible error: invalid scalar style")}}()}function He(e,t){var n=ze(e)?String(t):"",r="\n"===e[e.length-1];return n+(r&&("\n"===e[e.length-2]||"\n"===e)?"+":r?"":"-")+"\n"}function $e(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function Je(e,t){if(""===e||" "===e[0])return e;for(var n,r,o=/ [^ ]/g,a=0,i=0,s=0,u="";n=o.exec(e);)(s=n.index)-a>t&&(r=i>a?i:s,u+="\n"+e.slice(a,r),a=r+1),i=s;return u+="\n",e.length-a>t&&i>a?u+=e.slice(a,i)+"\n"+e.slice(i+1):u+=e.slice(a),u.slice(1)}function Ke(e,t,n,r){var o,a,i,s="",u=e.tag;for(o=0,a=n.length;o tag resolver accepts not "'+c+'" style');r=u.represent[c](t,c)}e.dump=r}return!0}return!1}function Ge(e,t,n,r,o,a,i){e.tag=null,e.dump=n,Ye(e,n,!1)||Ye(e,n,!0);var u,c=Oe.call(e.dump),l=r;r&&(r=e.flowLevel<0||e.flowLevel>t);var p,f,h="[object Object]"===c||"[object Array]"===c;if(h&&(f=-1!==(p=e.duplicates.indexOf(n))),(null!==e.tag&&"?"!==e.tag||f||2!==e.indent&&t>0)&&(o=!1),f&&e.usedDuplicates[p])e.dump="*ref_"+p;else{if(h&&f&&!e.usedDuplicates[p]&&(e.usedDuplicates[p]=!0),"[object Object]"===c)r&&0!==Object.keys(e.dump).length?(!function(e,t,n,r){var o,a,i,u,c,l,p="",f=e.tag,h=Object.keys(n);if(!0===e.sortKeys)h.sort();else if("function"==typeof e.sortKeys)h.sort(e.sortKeys);else if(e.sortKeys)throw new s("sortKeys must be a boolean or a function");for(o=0,a=h.length;o1024)&&(e.dump&&10===e.dump.charCodeAt(0)?l+="?":l+="? "),l+=e.dump,c&&(l+=De(e,t)),Ge(e,t+1,u,!0,c)&&(e.dump&&10===e.dump.charCodeAt(0)?l+=":":l+=": ",p+=l+=e.dump));e.tag=f,e.dump=p||"{}"}(e,t,e.dump,o),f&&(e.dump="&ref_"+p+e.dump)):(!function(e,t,n){var r,o,a,i,s,u="",c=e.tag,l=Object.keys(n);for(r=0,o=l.length;r1024&&(s+="? "),s+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Ge(e,t,i,!1,!1)&&(u+=s+=e.dump));e.tag=c,e.dump="{"+u+"}"}(e,t,e.dump),f&&(e.dump="&ref_"+p+" "+e.dump));else if("[object Array]"===c)r&&0!==e.dump.length?(e.noArrayIndent&&!i&&t>0?Ke(e,t-1,e.dump,o):Ke(e,t,e.dump,o),f&&(e.dump="&ref_"+p+e.dump)):(!function(e,t,n){var r,o,a,i="",s=e.tag;for(r=0,o=n.length;r",e.dump=u+" "+e.dump)}return!0}function Ze(e,t){var n,r,o=[],a=[];for(Xe(e,o,a),n=0,r=a.length;n",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(c),p=["%","/","?",";","#"].concat(l),f=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},v={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=n(1077);function b(e,t,n){if(e&&o.isObject(e)&&e instanceof a)return e;var r=new a;return r.parse(e,t,n),r}a.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),s=-1!==a&&a127?N+="x":N+=P[M];if(!N.match(h)){var D=T.slice(0,O),L=T.slice(O+1),B=P.match(d);B&&(D.push(B[1]),L.unshift(B[2])),L.length&&(b="/"+L.join(".")+b),this.hostname=D.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),j||(this.hostname=r.toASCII(this.hostname));var F=this.port?":"+this.port:"",U=this.hostname||"";this.host=U+F,this.href+=this.host,j&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!m[x])for(O=0,I=l.length;O0)&&n.host.split("@"))&&(n.auth=j.shift(),n.host=n.hostname=j.shift());return n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!E.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=E.slice(-1)[0],A=(n.host||e.host||E.length>1)&&("."===C||".."===C)||""===C,O=0,k=E.length;k>=0;k--)"."===(C=E[k])?E.splice(k,1):".."===C?(E.splice(k,1),O++):O&&(E.splice(k,1),O--);if(!w&&!x)for(;O--;O)E.unshift("..");!w||""===E[0]||E[0]&&"/"===E[0].charAt(0)||E.unshift(""),A&&"/"!==E.join("/").substr(-1)&&E.push("");var j,T=""===E[0]||E[0]&&"/"===E[0].charAt(0);S&&(n.hostname=n.host=T?"":E.length?E.shift():"",(j=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=j.shift(),n.host=n.hostname=j.shift()));return(w=w||n.host&&E.length)&&!T&&E.unshift(""),E.length?n.pathname=E.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},a.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,n){"use strict";n.r(t),n.d(t,"SHOW_AUTH_POPUP",(function(){return h})),n.d(t,"AUTHORIZE",(function(){return d})),n.d(t,"LOGOUT",(function(){return m})),n.d(t,"PRE_AUTHORIZE_OAUTH2",(function(){return v})),n.d(t,"AUTHORIZE_OAUTH2",(function(){return g})),n.d(t,"VALIDATE",(function(){return y})),n.d(t,"CONFIGURE_AUTH",(function(){return b})),n.d(t,"RESTORE_AUTHORIZATION",(function(){return _})),n.d(t,"showDefinitions",(function(){return w})),n.d(t,"authorize",(function(){return x})),n.d(t,"authorizeWithPersistOption",(function(){return E})),n.d(t,"logout",(function(){return S})),n.d(t,"logoutWithPersistOption",(function(){return C})),n.d(t,"preAuthorizeImplicit",(function(){return A})),n.d(t,"authorizeOauth2",(function(){return O})),n.d(t,"authorizeOauth2WithPersistOption",(function(){return k})),n.d(t,"authorizePassword",(function(){return j})),n.d(t,"authorizeApplication",(function(){return T})),n.d(t,"authorizeAccessCodeWithFormParams",(function(){return I})),n.d(t,"authorizeAccessCodeWithBasicAuthentication",(function(){return P})),n.d(t,"authorizeRequest",(function(){return N})),n.d(t,"configureAuth",(function(){return M})),n.d(t,"restoreAuthorization",(function(){return R})),n.d(t,"persistAuthorizationIfNeeded",(function(){return D}));var r=n(18),o=n.n(r),a=n(32),i=n.n(a),s=n(20),u=n.n(s),c=n(92),l=n.n(c),p=n(26),f=n(5),h="show_popup",d="authorize",m="logout",v="pre_authorize_oauth2",g="authorize_oauth2",y="validate",b="configure_auth",_="restore_authorization";function w(e){return{type:h,payload:e}}function x(e){return{type:d,payload:e}}var E=function(e){return function(t){var n=t.authActions;n.authorize(e),n.persistAuthorizationIfNeeded()}};function S(e){return{type:m,payload:e}}var C=function(e){return function(t){var n=t.authActions;n.logout(e),n.persistAuthorizationIfNeeded()}},A=function(e){return function(t){var n=t.authActions,r=t.errActions,o=e.auth,a=e.token,s=e.isValid,u=o.schema,c=o.name,l=u.get("flow");delete p.a.swaggerUIRedirectOauth2,"accessCode"===l||s||r.newAuthErr({authId:c,source:"auth",level:"warning",message:"Authorization may be unsafe, passed state was changed in server Passed state wasn't returned from auth server"}),a.error?r.newAuthErr({authId:c,source:"auth",level:"error",message:i()(a)}):n.authorizeOauth2WithPersistOption({auth:o,token:a})}};function O(e){return{type:g,payload:e}}var k=function(e){return function(t){var n=t.authActions;n.authorizeOauth2(e),n.persistAuthorizationIfNeeded()}},j=function(e){return function(t){var n=t.authActions,r=e.schema,o=e.name,a=e.username,i=e.password,s=e.passwordType,c=e.clientId,l=e.clientSecret,p={grant_type:"password",scope:e.scopes.join(" "),username:a,password:i},h={};switch(s){case"request-body":!function(e,t,n){t&&u()(e,{client_id:t});n&&u()(e,{client_secret:n})}(p,c,l);break;case"basic":h.Authorization="Basic "+Object(f.a)(c+":"+l);break;default:console.warn("Warning: invalid passwordType ".concat(s," was passed, not including client id and secret"))}return n.authorizeRequest({body:Object(f.b)(p),url:r.get("tokenUrl"),name:o,headers:h,query:{},auth:e})}};var T=function(e){return function(t){var n=t.authActions,r=e.schema,o=e.scopes,a=e.name,i=e.clientId,s=e.clientSecret,u={Authorization:"Basic "+Object(f.a)(i+":"+s)},c={grant_type:"client_credentials",scope:o.join(" ")};return n.authorizeRequest({body:Object(f.b)(c),name:a,url:r.get("tokenUrl"),auth:e,headers:u})}},I=function(e){var t=e.auth,n=e.redirectUrl;return function(e){var r=e.authActions,o=t.schema,a=t.name,i=t.clientId,s=t.clientSecret,u=t.codeVerifier,c={grant_type:"authorization_code",code:t.code,client_id:i,client_secret:s,redirect_uri:n,code_verifier:u};return r.authorizeRequest({body:Object(f.b)(c),name:a,url:o.get("tokenUrl"),auth:t})}},P=function(e){var t=e.auth,n=e.redirectUrl;return function(e){var r=e.authActions,o=t.schema,a=t.name,i=t.clientId,s=t.clientSecret,u=t.codeVerifier,c={Authorization:"Basic "+Object(f.a)(i+":"+s)},l={grant_type:"authorization_code",code:t.code,client_id:i,redirect_uri:n,code_verifier:u};return r.authorizeRequest({body:Object(f.b)(l),name:a,url:o.get("tokenUrl"),auth:t,headers:c})}},N=function(e){return function(t){var n,r=t.fn,a=t.getConfigs,s=t.authActions,c=t.errActions,p=t.oas3Selectors,f=t.specSelectors,h=t.authSelectors,d=e.body,m=e.query,v=void 0===m?{}:m,g=e.headers,y=void 0===g?{}:g,b=e.name,_=e.url,w=e.auth,x=(h.getConfigs()||{}).additionalQueryStringParams;if(f.isOAS3()){var E=p.serverEffectiveValue(p.selectedServer());n=l()(_,E,!0)}else n=l()(_,f.url(),!0);"object"===o()(x)&&(n.query=u()({},n.query,x));var S=n.toString(),C=u()({Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","X-Requested-With":"XMLHttpRequest"},y);r.fetch({url:S,method:"post",headers:C,query:v,body:d,requestInterceptor:a().requestInterceptor,responseInterceptor:a().responseInterceptor}).then((function(e){var t=JSON.parse(e.data),n=t&&(t.error||""),r=t&&(t.parseError||"");e.ok?n||r?c.newAuthErr({authId:b,level:"error",source:"auth",message:i()(t)}):s.authorizeOauth2WithPersistOption({auth:w,token:t}):c.newAuthErr({authId:b,level:"error",source:"auth",message:e.statusText})})).catch((function(e){var t=new Error(e).message;if(e.response&&e.response.data){var n=e.response.data;try{var r="string"==typeof n?JSON.parse(n):n;r.error&&(t+=", error: ".concat(r.error)),r.error_description&&(t+=", description: ".concat(r.error_description))}catch(e){}}c.newAuthErr({authId:b,level:"error",source:"auth",message:t})}))}};function M(e){return{type:b,payload:e}}function R(e){return{type:_,payload:e}}var D=function(){return function(e){var t=e.authSelectors;if((0,e.getConfigs)().persistAuthorization){var n=t.authorized();localStorage.setItem("authorized",i()(n.toJS()))}}}},function(e,t,n){var r=n(1047);e.exports=function(e){for(var t=1;tS;S++)if((h||S in w)&&(b=x(y=w[S],S,_),e))if(t)A[S]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return S;case 2:u.call(A,y)}else switch(e){case 4:return!1;case 7:u.call(A,y)}return p?-1:c||l?l:A}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterOut:c(7)}},function(e,t,n){n(158);var r=n(567),o=n(40),a=n(98),i=n(67),s=n(131),u=n(41)("toStringTag");for(var c in r){var l=o[c],p=l&&l.prototype;p&&a(p)!==u&&i(p,u,c),s[c]=s.Array}},function(e,t,n){"use strict";e.exports={current:null}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t){var n,r,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var u,c=[],l=!1,p=-1;function f(){l&&u&&(l=!1,u.length?c=u.concat(c):p=-1,c.length&&h())}function h(){if(!l){var e=s(f);l=!0;for(var t=c.length;t;){for(u=c,c=[];++p1)for(var n=1;n0&&"/"!==t[0]}));function Se(e,t,n){var r;t=t||[];var o=we.apply(void 0,u()(r=[e]).call(r,i()(t))).get("parameters",Object(I.List)());return x()(o).call(o,(function(e,t){var r=n&&"body"===t.get("in")?t.get("value_xml"):t.get("value");return e.set(Object(T.A)(t,{allowHashes:!1}),r)}),Object(I.fromJS)({}))}function Ce(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(I.List.isList(e))return A()(e).call(e,(function(e){return I.Map.isMap(e)&&e.get("in")===t}))}function Ae(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(I.List.isList(e))return A()(e).call(e,(function(e){return I.Map.isMap(e)&&e.get("type")===t}))}function Oe(e,t){var n,r;t=t||[];var o=z(e).getIn(u()(n=["paths"]).call(n,i()(t)),Object(I.fromJS)({})),a=e.getIn(u()(r=["meta","paths"]).call(r,i()(t)),Object(I.fromJS)({})),s=ke(e,t),c=o.get("parameters")||new I.List,l=a.get("consumes_value")?a.get("consumes_value"):Ae(c,"file")?"multipart/form-data":Ae(c,"formData")?"application/x-www-form-urlencoded":void 0;return Object(I.fromJS)({requestContentType:l,responseContentType:s})}function ke(e,t){var n,r;t=t||[];var o=z(e).getIn(u()(n=["paths"]).call(n,i()(t)),null);if(null!==o){var a=e.getIn(u()(r=["meta","paths"]).call(r,i()(t),["produces_value"]),null),s=o.getIn(["produces",0],null);return a||s||"application/json"}}function je(e,t){var n;t=t||[];var r=z(e),a=r.getIn(u()(n=["paths"]).call(n,i()(t)),null);if(null!==a){var s=t,c=o()(s,1)[0],l=a.get("produces",null),p=r.getIn(["paths",c,"produces"],null),f=r.getIn(["produces"],null);return l||p||f}}function Te(e,t){var n;t=t||[];var r=z(e),a=r.getIn(u()(n=["paths"]).call(n,i()(t)),null);if(null!==a){var s=t,c=o()(s,1)[0],l=a.get("consumes",null),p=r.getIn(["paths",c,"consumes"],null),f=r.getIn(["consumes"],null);return l||p||f}}var Ie=function(e,t,n){var r=e.get("url").match(/^([a-z][a-z0-9+\-.]*):/),o=k()(r)?r[1]:null;return e.getIn(["scheme",t,n])||e.getIn(["scheme","_defaultScheme"])||o||""},Pe=function(e,t,n){var r;return d()(r=["http","https"]).call(r,Ie(e,t,n))>-1},Ne=function(e,t){var n;t=t||[];var r=e.getIn(u()(n=["meta","paths"]).call(n,i()(t),["parameters"]),Object(I.fromJS)([])),o=!0;return f()(r).call(r,(function(e){var t=e.get("errors");t&&t.count()&&(o=!1)})),o},Me=function(e,t){var n,r,o={requestBody:!1,requestContentType:{}},a=e.getIn(u()(n=["resolvedSubtrees","paths"]).call(n,i()(t),["requestBody"]),Object(I.fromJS)([]));return a.size<1||(a.getIn(["required"])&&(o.requestBody=a.getIn(["required"])),f()(r=a.getIn(["content"]).entrySeq()).call(r,(function(e){var t=e[0];if(e[1].getIn(["schema","required"])){var n=e[1].getIn(["schema","required"]).toJS();o.requestContentType[t]=n}}))),o},Re=function(e,t,n,r){var o;if((n||r)&&n===r)return!0;var a=e.getIn(u()(o=["resolvedSubtrees","paths"]).call(o,i()(t),["requestBody","content"]),Object(I.fromJS)([]));if(a.size<2||!n||!r)return!1;var s=a.getIn([n,"schema","properties"],Object(I.fromJS)([])),c=a.getIn([r,"schema","properties"],Object(I.fromJS)([]));return!!s.equals(c)};function De(e){return I.Map.isMap(e)?e:new I.Map}},function(e,t,n){"use strict";(function(t){var r=n(889),o=n(890),a=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,i=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,s=new RegExp("^[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]+");function u(e){return(e||"").toString().replace(s,"")}var c=[["#","hash"],["?","query"],function(e,t){return f(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d+)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],l={hash:1,query:1};function p(e){var n,r=("undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{}).location||{},o={},i=typeof(e=e||r);if("blob:"===e.protocol)o=new d(unescape(e.pathname),{});else if("string"===i)for(n in o=new d(e,{}),l)delete o[n];else if("object"===i){for(n in e)n in l||(o[n]=e[n]);void 0===o.slashes&&(o.slashes=a.test(e.href))}return o}function f(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function h(e,t){e=u(e),t=t||{};var n,r=i.exec(e),o=r[1]?r[1].toLowerCase():"",a=!!r[2],s=!!r[3],c=0;return a?s?(n=r[2]+r[3]+r[4],c=r[2].length+r[3].length):(n=r[2]+r[4],c=r[2].length):s?(n=r[3]+r[4],c=r[3].length):n=r[4],"file:"===o?c>=2&&(n=n.slice(2)):f(o)?n=r[4]:o?a&&(n=n.slice(2)):c>=2&&f(t.protocol)&&(n=r[4]),{protocol:o,slashes:a||f(o),slashesCount:c,rest:n}}function d(e,t,n){if(e=u(e),!(this instanceof d))return new d(e,t,n);var a,i,s,l,m,v,g=c.slice(),y=typeof t,b=this,_=0;for("object"!==y&&"string"!==y&&(n=t,t=null),n&&"function"!=typeof n&&(n=o.parse),a=!(i=h(e||"",t=p(t))).protocol&&!i.slashes,b.slashes=i.slashes||a&&t.slashes,b.protocol=i.protocol||t.protocol||"",e=i.rest,("file:"===b.protocol||!i.slashes&&(i.protocol||i.slashesCount<2||!f(b.protocol)))&&(g[3]=[/(.*)/,"pathname"]);_=4?[t[0],t[1],t[2],t[3],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[2],".").concat(t[3]),"".concat(t[3],".").concat(t[0]),"".concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[0]),"".concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[3],".").concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[2],".").concat(t[1],".").concat(t[0])]:void 0),g[r]}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.filter((function(e){return"token"!==e})),o=y(r);return o.reduce((function(e,t){return f()({},e,n[t])}),t)}function _(e){return e.join(" ")}function w(e){var t=e.node,n=e.stylesheet,r=e.style,o=void 0===r?{}:r,a=e.useInlineStyles,i=e.key,s=t.properties,u=t.type,c=t.tagName,l=t.value;if("text"===u)return l;if(c){var p,h=function(e,t){var n=0;return function(r){return n+=1,r.map((function(r,o){return w({node:r,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(o)})}))}}(n,a);if(a){var m=Object.keys(n).reduce((function(e,t){return t.split(".").forEach((function(t){e.includes(t)||e.push(t)})),e}),[]),g=s.className&&s.className.includes("token")?["token"]:[],y=s.className&&g.concat(s.className.filter((function(e){return!m.includes(e)})));p=f()({},s,{className:_(y)||void 0,style:b(s.className,Object.assign({},s.style,o),n)})}else p=f()({},s,{className:_(s.className)});var x=h(t.children);return d.a.createElement(c,v()({key:i},p),x)}}var x=/\n/g;function E(e){var t=e.codeString,n=e.codeStyle,r=e.containerStyle,o=void 0===r?{float:"left",paddingRight:"10px"}:r,a=e.numberStyle,i=void 0===a?{}:a,s=e.startingLineNumber;return d.a.createElement("code",{style:Object.assign({},n,o)},function(e){var t=e.lines,n=e.startingLineNumber,r=e.style;return t.map((function(e,t){var o=t+n;return d.a.createElement("span",{key:"line-".concat(t),className:"react-syntax-highlighter-line-number",style:"function"==typeof r?r(o):r},"".concat(o,"\n"))}))}({lines:t.replace(/\n$/,"").split("\n"),style:i,startingLineNumber:s}))}function S(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function C(e,t,n){var r,o={display:"inline-block",minWidth:(r=n,"".concat(r.toString().length,".25em")),paddingRight:"1em",textAlign:"right",userSelect:"none"},a="function"==typeof e?e(t):e;return f()({},o,a)}function A(e){var t=e.children,n=e.lineNumber,r=e.lineNumberStyle,o=e.largestLineNumber,a=e.showInlineLineNumbers,i=e.lineProps,s=void 0===i?{}:i,u=e.className,c=void 0===u?[]:u,l=e.showLineNumbers,p=e.wrapLongLines,h="function"==typeof s?s(n):s;if(h.className=c,n&&a){var d=C(r,n,o);t.unshift(S(n,d))}return p&l&&(h.style=f()({},h.style,{display:"flex"})),{type:"element",tagName:"span",properties:h,children:t}}function O(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=0;r2&&void 0!==arguments[2]?arguments[2]:[];return A({children:e,lineNumber:t,lineNumberStyle:s,largestLineNumber:i,showInlineLineNumbers:o,lineProps:n,className:a,showLineNumbers:r,wrapLongLines:u})}function m(e,t){if(r&&t&&o){var n=C(s,t,i);e.unshift(S(t,n))}return e}function v(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t||r.length>0?d(e,n,r):m(e,n)}for(var g=function(){var e=l[h],t=e.children[0].value;if(t.match(x)){var n=t.split("\n");n.forEach((function(t,o){var i=r&&p.length+a,s={type:"text",value:"".concat(t,"\n")};if(0===o){var u=v(l.slice(f+1,h).concat(A({children:[s],className:e.properties.className})),i);p.push(u)}else if(o===n.length-1){if(l[h+1]&&l[h+1].children&&l[h+1].children[0]){var c=A({children:[{type:"text",value:"".concat(t)}],className:e.properties.className});l.splice(h+1,0,c)}else{var d=v([s],i,e.properties.className);p.push(d)}}else{var m=v([s],i,e.properties.className);p.push(m)}})),f=h}h++};h .hljs-title":{color:"#88C0D0"},"hljs-keyword":{color:"#81A1C1"},"hljs-literal":{color:"#81A1C1"},"hljs-symbol":{color:"#81A1C1"},"hljs-number":{color:"#B48EAD"},"hljs-regexp":{color:"#EBCB8B"},"hljs-string":{color:"#A3BE8C"},"hljs-title":{color:"#8FBCBB"},"hljs-params":{color:"#D8DEE9"},"hljs-bullet":{color:"#81A1C1"},"hljs-code":{color:"#8FBCBB"},"hljs-emphasis":{fontStyle:"italic"},"hljs-formula":{color:"#8FBCBB"},"hljs-strong":{fontWeight:"bold"},"hljs-link:hover":{textDecoration:"underline"},"hljs-quote":{color:"#4C566A"},"hljs-comment":{color:"#4C566A"},"hljs-doctag":{color:"#8FBCBB"},"hljs-meta":{color:"#5E81AC"},"hljs-meta-keyword":{color:"#5E81AC"},"hljs-meta-string":{color:"#A3BE8C"},"hljs-attr":{color:"#8FBCBB"},"hljs-attribute":{color:"#D8DEE9"},"hljs-builtin-name":{color:"#81A1C1"},"hljs-name":{color:"#81A1C1"},"hljs-section":{color:"#88C0D0"},"hljs-tag":{color:"#81A1C1"},"hljs-variable":{color:"#D8DEE9"},"hljs-template-variable":{color:"#D8DEE9"},"hljs-template-tag":{color:"#5E81AC"},"abnf .hljs-attribute":{color:"#88C0D0"},"abnf .hljs-symbol":{color:"#EBCB8B"},"apache .hljs-attribute":{color:"#88C0D0"},"apache .hljs-section":{color:"#81A1C1"},"arduino .hljs-built_in":{color:"#88C0D0"},"aspectj .hljs-meta":{color:"#D08770"},"aspectj > .hljs-title":{color:"#88C0D0"},"bnf .hljs-attribute":{color:"#8FBCBB"},"clojure .hljs-name":{color:"#88C0D0"},"clojure .hljs-symbol":{color:"#EBCB8B"},"coq .hljs-built_in":{color:"#88C0D0"},"cpp .hljs-meta-string":{color:"#8FBCBB"},"css .hljs-built_in":{color:"#88C0D0"},"css .hljs-keyword":{color:"#D08770"},"diff .hljs-meta":{color:"#8FBCBB"},"ebnf .hljs-attribute":{color:"#8FBCBB"},"glsl .hljs-built_in":{color:"#88C0D0"},"groovy .hljs-meta:not(:first-child)":{color:"#D08770"},"haxe .hljs-meta":{color:"#D08770"},"java .hljs-meta":{color:"#D08770"},"ldif .hljs-attribute":{color:"#8FBCBB"},"lisp .hljs-name":{color:"#88C0D0"},"lua .hljs-built_in":{color:"#88C0D0"},"moonscript .hljs-built_in":{color:"#88C0D0"},"nginx .hljs-attribute":{color:"#88C0D0"},"nginx .hljs-section":{color:"#5E81AC"},"pf .hljs-built_in":{color:"#88C0D0"},"processing .hljs-built_in":{color:"#88C0D0"},"scss .hljs-keyword":{color:"#81A1C1"},"stylus .hljs-keyword":{color:"#81A1C1"},"swift .hljs-meta":{color:"#D08770"},"vim .hljs-built_in":{color:"#88C0D0",fontStyle:"italic"},"yaml .hljs-meta":{color:"#D08770"}},obsidian:{hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#282b2e",color:"#e0e2e4"},"hljs-keyword":{color:"#93c763",fontWeight:"bold"},"hljs-selector-tag":{color:"#93c763",fontWeight:"bold"},"hljs-literal":{color:"#93c763",fontWeight:"bold"},"hljs-selector-id":{color:"#93c763"},"hljs-number":{color:"#ffcd22"},"hljs-attribute":{color:"#668bb0"},"hljs-code":{color:"white"},"hljs-class .hljs-title":{color:"white"},"hljs-section":{color:"white",fontWeight:"bold"},"hljs-regexp":{color:"#d39745"},"hljs-link":{color:"#d39745"},"hljs-meta":{color:"#557182"},"hljs-tag":{color:"#8cbbad"},"hljs-name":{color:"#8cbbad",fontWeight:"bold"},"hljs-bullet":{color:"#8cbbad"},"hljs-subst":{color:"#8cbbad"},"hljs-emphasis":{color:"#8cbbad"},"hljs-type":{color:"#8cbbad",fontWeight:"bold"},"hljs-built_in":{color:"#8cbbad"},"hljs-selector-attr":{color:"#8cbbad"},"hljs-selector-pseudo":{color:"#8cbbad"},"hljs-addition":{color:"#8cbbad"},"hljs-variable":{color:"#8cbbad"},"hljs-template-tag":{color:"#8cbbad"},"hljs-template-variable":{color:"#8cbbad"},"hljs-string":{color:"#ec7600"},"hljs-symbol":{color:"#ec7600"},"hljs-comment":{color:"#818e96"},"hljs-quote":{color:"#818e96"},"hljs-deletion":{color:"#818e96"},"hljs-selector-class":{color:"#A082BD"},"hljs-doctag":{fontWeight:"bold"},"hljs-title":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"}},"tomorrow-night":{"hljs-comment":{color:"#969896"},"hljs-quote":{color:"#969896"},"hljs-variable":{color:"#cc6666"},"hljs-template-variable":{color:"#cc6666"},"hljs-tag":{color:"#cc6666"},"hljs-name":{color:"#cc6666"},"hljs-selector-id":{color:"#cc6666"},"hljs-selector-class":{color:"#cc6666"},"hljs-regexp":{color:"#cc6666"},"hljs-deletion":{color:"#cc6666"},"hljs-number":{color:"#de935f"},"hljs-built_in":{color:"#de935f"},"hljs-builtin-name":{color:"#de935f"},"hljs-literal":{color:"#de935f"},"hljs-type":{color:"#de935f"},"hljs-params":{color:"#de935f"},"hljs-meta":{color:"#de935f"},"hljs-link":{color:"#de935f"},"hljs-attribute":{color:"#f0c674"},"hljs-string":{color:"#b5bd68"},"hljs-symbol":{color:"#b5bd68"},"hljs-bullet":{color:"#b5bd68"},"hljs-addition":{color:"#b5bd68"},"hljs-title":{color:"#81a2be"},"hljs-section":{color:"#81a2be"},"hljs-keyword":{color:"#b294bb"},"hljs-selector-tag":{color:"#b294bb"},hljs:{display:"block",overflowX:"auto",background:"#1d1f21",color:"#c5c8c6",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}}},Q=o()(X),ee=function(e){return i()(Q).call(Q,e)?X[e]:(console.warn("Request style '".concat(e,"' is not available, returning default instead")),Z)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.File=t.Blob=t.FormData=void 0;const r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:window;t.FormData=r.FormData,t.Blob=r.Blob,t.File=r.File},function(e,t){e.exports=!0},function(e,t,n){var r=n(235),o=n(68).f,a=n(67),i=n(55),s=n(539),u=n(41)("toStringTag");e.exports=function(e,t,n,c){if(e){var l=n?e:e.prototype;i(l,u)||o(l,u,{configurable:!0,value:t}),c&&!r&&a(l,"toString",s)}}},function(e,t,n){var r=n(235),o=n(152),a=n(41)("toStringTag"),i="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),a))?n:i?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){"use strict";e.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}},function(e,t,n){var r=n(677);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){e.exports=n(670)},function(e,t,n){e.exports=n(1048)},function(e,t,n){"use strict";function r(e){return function(e){try{return!!JSON.parse(e)}catch(e){return null}}(e)?"json":null}n.d(t,"a",(function(){return r}))},function(e,t,n){e.exports=n(666)},function(e,t,n){"use strict";n.r(t),n.d(t,"UPDATE_LAYOUT",(function(){return o})),n.d(t,"UPDATE_FILTER",(function(){return a})),n.d(t,"UPDATE_MODE",(function(){return i})),n.d(t,"SHOW",(function(){return s})),n.d(t,"updateLayout",(function(){return u})),n.d(t,"updateFilter",(function(){return c})),n.d(t,"show",(function(){return l})),n.d(t,"changeMode",(function(){return p}));var r=n(5),o="layout_update_layout",a="layout_update_filter",i="layout_update_mode",s="layout_show";function u(e){return{type:o,payload:e}}function c(e){return{type:a,payload:e}}function l(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e=Object(r.v)(e),{type:s,payload:{thing:e,shown:t}}}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e=Object(r.v)(e),{type:i,payload:{thing:e,mode:t}}}},function(e,t,n){var r=n(419),o=n(161),a=n(194),i=n(56),s=n(137),u=n(195),c=n(198),l=n(247),p=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(i(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||l(e)||a(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!r(e).length;for(var n in e)if(p.call(e,n))return!1;return!0}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(76);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(70);e.exports=r("navigator","userAgent")||""},function(e,t,n){var r,o=n(52),a=n(228),i=n(231),s=n(157),u=n(365),c=n(223),l=n(183),p=l("IE_PROTO"),f=function(){},h=function(e){return" - - - -
- Index of . -
-
- - - - - - - - - - - - -
NameSizeLast Modified
swagger-ui/--
registration-service.yaml50.71 KB2024-09-27 04:07:00
-
- - - - \ No newline at end of file diff --git a/portal-backend/v2.3.0-alpha.1/registration-service/registration-service.yaml b/portal-backend/v2.3.0-alpha.1/registration-service/registration-service.yaml deleted file mode 100644 index c807004..0000000 --- a/portal-backend/v2.3.0-alpha.1/registration-service/registration-service.yaml +++ /dev/null @@ -1,1681 +0,0 @@ -openapi: 3.0.1 -info: - title: Org.Eclipse.TractusX.Portal.Backend.Registration.Service - version: v2.3.0-alpha.1 -paths: - /api/registration/errormessage: - get: - tags: - - ErrorMessage - responses: - '200': - description: OK - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ErrorMessageType' - '500': - description: Internal Server Error - /api/registration/Network/partnerRegistration/submit: - post: - tags: - - Network - summary: 'Submits the application (Authorization required - Roles: submit_registration)' - requestBody: - description: The agreements for the companyRoles - content: - application/json: - schema: - $ref: '#/components/schemas/PartnerSubmitData' - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/registration/Network/decline: - post: - tags: - - Network - summary: 'Declines the osp registration (Authorization required - Roles: decline_partner_registration)' - parameters: - - name: applicationId - in: path - description: Id of the company application - required: true - schema: - type: string - format: uuid - requestBody: - description: Data with the information to decline - content: - application/json: - schema: - $ref: '#/components/schemas/DeclineOspData' - responses: - '200': - description: Empty response on success. - '404': - description: No registration found for the externalId. - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/info: - get: - tags: - - OpenInformation - summary: ' (Authorization required)' - responses: - '200': - description: OK - content: - text/plain: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - text/json: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/registration/legalEntityAddress/{bpn}': - get: - tags: - - Registration - summary: 'Gets legal entity and address data from bpdm by its bpn (Authorization required - Roles: add_company_data)' - description: 'Example: Get: /api/registration/legalEntityAddress/BPNL000000055EPN' - parameters: - - name: bpn - in: path - description: The bpn to get the company for - required: true - schema: - type: string - example: BPNL000000055EPN - responses: - '200': - description: Returns the company - content: - application/json: - schema: - $ref: '#/components/schemas/BpdmLegalAddressDto' - '400': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '503': - description: The requested service responded with the given error. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/registration/application/{applicationId}/documentType/{documentTypeId}/documents': - post: - tags: - - Registration - summary: 'Uploads a document (Authorization required - Roles: upload_documents)' - description: 'Example: Post: /api/registration/application/{applicationId}/documentType/{documentTypeId}/documents' - parameters: - - name: applicationId - in: path - description: '' - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - - name: documentTypeId - in: path - description: '' - required: true - schema: - $ref: '#/components/schemas/DocumentTypeId' - example: '1' - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - document: - type: file - description: '' - format: binary - encoding: - document: - style: form - application/json: - schema: - type: object - properties: - document: - type: file - description: '' - format: binary - encoding: - document: - style: form - responses: - '204': - description: Successfully uploaded the document - '403': - description: The user is not assigned with the CompanyApplication. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '400': - description: Input is incorrect. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '415': - description: Only PDF files are supported. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - get: - tags: - - Registration - summary: 'Gets documents for a specific document type and application (Authorization required - Roles: view_registration)' - description: 'Example: Get: /api/registration/application/{applicationId}/documentType/{documentTypeId}/documents' - parameters: - - name: applicationId - in: path - description: The application to get the documents from. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - - name: documentTypeId - in: path - description: Type of the documents to get. - required: true - schema: - $ref: '#/components/schemas/DocumentTypeId' - example: '1' - responses: - '200': - description: Returns a list of documents - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UploadDocuments' - '403': - description: The user is not associated with invitation - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Application not found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/registration/documents/{documentId}': - get: - tags: - - Registration - summary: 'Gets a specific document by its id (Authorization required - Roles: view_documents)' - description: 'Example: Get: /api/registration/documents/4ad087bb-80a1-49d3-9ba9-da0b175cd4e3' - parameters: - - name: documentId - in: path - description: '' - required: true - schema: - type: string - format: uuid - example: 4ad087bb-80a1-49d3-9ba9-da0b175cd4e3 - responses: - '200': - description: Successfully uploaded the document - content: - application/pdf: - schema: - $ref: '#/components/schemas/File' - application/json: - schema: - $ref: '#/components/schemas/File' - '403': - description: User does not have the relevant rights to request for the document. - content: - application/pdf: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No document with the given id was found. - content: - application/pdf: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - delete: - tags: - - Registration - summary: 'Deletes the document with the given id (Authorization required - Roles: delete_documents)' - description: 'Example: Delete: /api/registration/documents/{documentId}' - parameters: - - name: documentId - in: path - description: '' - required: true - schema: - type: string - format: uuid - example: 4ad087bb-80a1-49d3-9ba9-da0b175cd4e3 - responses: - '200': - description: Successfully deleted the document - content: - application/json: - schema: - type: boolean - '400': - description: Incorrect document state - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: The user is not assigned with the Company Application. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: The document was not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Document deletion not allowed. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/registration/rolesComposite: - get: - tags: - - Registration - summary: 'Get all composite client roles (Authorization required - Roles: view_registration)' - description: 'Example: Get: /api/registration/rolesComposite' - responses: - '200': - description: returns all composite client roles - content: - application/json: - schema: - type: array - items: - type: string - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/registration/applications: - get: - tags: - - Registration - summary: 'Gets the applications with each status (Authorization required - Roles: view_registration)' - description: 'Example: Get: /api/registration/applications' - responses: - '200': - description: Returns a list of company applications - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CompanyApplicationWithStatus' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/registration/applications/declinedata: - get: - tags: - - Registration - summary: 'Gets the applications with each status, company-name and linked users (Authorization required - Roles: view_registration)' - description: 'Example: Get: /api/registration/applications/declinedata' - responses: - '200': - description: Returns a list of company applications - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CompanyApplicationDeclineData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/registration/application/{applicationId}/status': - put: - tags: - - Registration - summary: 'Sets the status of a specific application. (Authorization required - Roles: submit_registration)' - description: 'Example: Put: /api/registration/application/{applicationId}/status' - parameters: - - name: applicationId - in: path - description: Id of the application which status should be set. - required: true - schema: - type: string - format: uuid - example: 4f0146c6-32aa-4bb1-b844-df7e8babdcb4 - - name: status - in: query - description: The status that should be set - schema: - $ref: '#/components/schemas/CompanyApplicationStatusId' - example: '8' - responses: - '200': - description: Successfully set the status - content: - application/json: - schema: - type: integer - format: int32 - '400': - description: Status must be null. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: CompanyApplication was not found for the given id. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User Not associated wit application - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - get: - tags: - - Registration - summary: 'Gets the status of an application for the given id (Authorization required - Roles: view_registration)' - description: 'Example: Get: /api/registration/application/4f0146c6-32aa-4bb1-b844-df7e8babdcb4/status' - parameters: - - name: applicationId - in: path - description: Id of the application to get the status from - required: true - schema: - type: string - format: uuid - example: 4f0146c6-32aa-4bb1-b844-df7e8babdcb4 - responses: - '200': - description: Returns the company application status - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyApplicationStatusId' - '404': - description: CompanyApplication was not found for the given id. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User is not associated with application. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/registration/application/{applicationId}/companyDetailsWithAddress': - get: - tags: - - Registration - summary: 'Gets the company of a specific application with its address (Authorization required - Roles: view_registration)' - description: 'Example: Get: /api/registration/application/4f0146c6-32aa-4bb1-b844-df7e8babdcb4/companyDetailsWithAddress' - parameters: - - name: applicationId - in: path - description: Id of the application to get the company to. - required: true - schema: - type: string - format: uuid - example: 4f0146c6-32aa-4bb1-b844-df7e8babdcb4 - responses: - '200': - description: Returns the company with its address - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyDetailData' - '404': - description: CompanyApplication was not found for the given id. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User is not associated with company application. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - post: - tags: - - Registration - summary: 'Sets the company with its address for the given application id (Authorization required - Roles: add_company_data)' - description: 'Example: Post: /api/registration/application/{applicationId}/companyDetailsWithAddress' - parameters: - - name: applicationId - in: path - description: Id of the application to set the company for. - required: true - schema: - type: string - format: uuid - example: 4f0146c6-32aa-4bb1-b844-df7e8babdcb4 - requestBody: - description: The company with its address - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyDetailData' - responses: - '200': - description: Successfully set the company with its address - '400': - description: A request parameter was incorrect. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: CompanyApplication was not found for the given id. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User is not associated with company application or application status is invalid - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/registration/application/{applicationId}/inviteNewUser': - post: - tags: - - Registration - summary: 'Invites the given user to the given application (Authorization required - Roles: invite_user)' - description: 'Example: Post: /api/registration/application/4f0146c6-32aa-4bb1-b844-df7e8babdcb4/inviteNewUser' - parameters: - - name: applicationId - in: path - description: Id of the application a user should be invited to - required: true - schema: - type: string - format: uuid - example: 4f0146c6-32aa-4bb1-b844-df7e8babdcb4 - requestBody: - description: The information of the user that should be invited - content: - application/json: - schema: - $ref: '#/components/schemas/UserCreationInfoWithMessage' - responses: - '200': - description: Successfully invited the user. - content: - application/json: - schema: - type: integer - format: int32 - '400': - description: The user with the given email does already exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Service Unavailable. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - '/api/registration/application/{applicationId}/companyRoleAgreementConsents': - post: - tags: - - Registration - summary: 'Post the agreement consent status for the given application. (Authorization required - Roles: sign_consent)' - description: 'Example: Post: /api/registration/application/4f0146c6-32aa-4bb1-b844-df7e8babdcb4/companyRoleAgreementConsents' - parameters: - - name: applicationId - in: path - description: '' - required: true - schema: - type: string - format: uuid - example: 4f0146c6-32aa-4bb1-b844-df7e8babdcb4 - requestBody: - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyRoleAgreementConsents' - responses: - '200': - description: Successfully submitted consent to agreements - content: - application/json: - schema: - type: integer - format: int32 - '403': - description: Either the user was not found or the user is not assignable to the given application. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Application does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '400': - description: Input is incorrect. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - get: - tags: - - Registration - summary: 'Gets the agreement consent statuses for the given application (Authorization required - Roles: view_registration)' - description: 'Example: Get: /api/registration/application/4f0146c6-32aa-4bb1-b844-df7e8babdcb4/companyRoleAgreementConsents' - parameters: - - name: applicationId - in: path - description: Id of the application to get the agreement consent statuses for - required: true - schema: - type: string - format: uuid - example: 4f0146c6-32aa-4bb1-b844-df7e8babdcb4 - responses: - '200': - description: Return the company role agreement consents - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyRoleAgreementConsents' - '403': - description: The user is not assignable to the given application. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/registration/companyRoleAgreementData: - get: - tags: - - Registration - summary: 'Gets the company role agreement data (Authorization required - Roles: view_registration)' - description: 'Example: Get: /api/registration/companyRoleAgreementData' - responses: - '200': - description: Returns the Company role agreement data - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyRoleAgreementData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/registration/application/{applicationId}/submitRegistration': - post: - tags: - - Registration - summary: 'Submits a registration (Authorization required - Roles: submit_registration)' - description: 'Example: Post: /api/registration/application/4f0146c6-32aa-4bb1-b844-df7e8babdcb4/submitRegistration' - parameters: - - name: applicationId - in: path - description: Id of the application to submit registration - required: true - schema: - type: string - format: uuid - example: 4f0146c6-32aa-4bb1-b844-df7e8babdcb4 - responses: - '200': - description: Successfully submitted the registration - content: - application/json: - schema: - type: boolean - '404': - description: Application does not exist - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User is not associated with company application or Application status is not fitting to the pre-requisite or Application is already closed - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - '/api/registration/application/{applicationId}/invitedusers': - get: - tags: - - Registration - summary: 'Gets all invited users for a given application (Authorization required - Roles: view_registration)' - description: 'Example: Get: /api/registration/application/4f0146c6-32aa-4bb1-b844-df7e8babdcb4/invitedusers' - parameters: - - name: applicationId - in: path - description: Id of the application - required: true - schema: - type: string - format: uuid - example: 4f0146c6-32aa-4bb1-b844-df7e8babdcb4 - responses: - '200': - description: Returns all invited users - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/InvitedUser' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/registration/invitation/status: - put: - tags: - - Registration - summary: 'Sets the invitation status (Authorization required - Roles: view_registration)' - description: 'Example: Put: /api/registration/invitation/status' - responses: - '200': - description: Successfully sets the invitation status - content: - application/json: - schema: - type: integer - format: int32 - '403': - description: The user id is not associated with invitation. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/registration/application/{applicationId}/registrationData': - get: - tags: - - Registration - summary: 'Gets the registration data for the given application id (Authorization required - Roles: view_registration)' - description: 'Example: Get: /api/registration/application/4f0146c6-32aa-4bb1-b844-df7e8babdcb4/registrationData' - parameters: - - name: applicationId - in: path - description: The application id to get the registration data for. - required: true - schema: - type: string - format: uuid - example: 4f0146c6-32aa-4bb1-b844-df7e8babdcb4 - responses: - '200': - description: Returns the registration data - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyRegistrationData' - '404': - description: The application does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: The user id is not associated with CompanyApplication. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '503': - description: Registration data null. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/registration/company/companyRoles: - get: - tags: - - Registration - summary: 'Gets the company roles and roles description (Authorization required - Roles: view_company_roles)' - description: 'Example: Get: /api/registration/company/companyRoles' - parameters: - - name: languageShortName - in: query - description: Optional two character language specifier for the roles description. Will be empty if not provided. - schema: - type: string - example: en - responses: - '200': - description: Returns the Company roles data - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CompanyRolesDetails' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/registration/company/country/{alpha2Code}/uniqueidentifiers': - get: - tags: - - Registration - summary: 'Gets the company Identifier for Country Alpha2Code (Authorization required - Roles: view_registration)' - description: 'Example: Get: /api/registration/company/country/{alpha2Code}/uniqueidentifiers' - parameters: - - name: alpha2Code - in: path - description: Country Alpha2Code - required: true - schema: - type: string - responses: - '200': - description: Returns the Company Identifier data - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UniqueIdentifierData' - '404': - description: The Unique Identifier for Country was not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/registration/registrationDocuments/{documentId}': - get: - tags: - - Registration - summary: 'Retrieve Registration document of type CX_FRAME_CONTRACT (Authorization required - Roles: view_documents)' - description: 'Example: Get: /api/registration/registrationDocuments/4ad087bb-80a1-49d3-9ba9-da0b175cd4e3' - parameters: - - name: documentId - in: path - description: '' - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Successfully fetched the document - content: - application/pdf: - schema: - $ref: '#/components/schemas/File' - application/json: - schema: - $ref: '#/components/schemas/File' - '404': - description: No document with the given id was found. - content: - application/pdf: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/registration/applications/{applicationId}/declineregistration': - post: - tags: - - Registration - summary: 'Declines the registration verification for the application with the given id (Authorization required - Roles: view_registration)' - description: 'Example: POST: /api/registration/application/{applicationId}/declineregistration' - parameters: - - name: applicationId - in: path - description: Id of the application that should be declined - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Successfully declined the application - '404': - description: Application ID not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/registration/StaticData/countrylist: - get: - tags: - - StaticData - summary: Retrieve all app countries - short name (2digit) and countries long name - description: 'Example: GET: /api/registration/staticdata/countrylist' - responses: - '200': - description: Returns a list of all countries long name with language code i.e german and english - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CountryLongNameData' - '500': - description: Internal Server Error -components: - schemas: - AgreementConsentData: - type: object - properties: - agreementId: - type: string - description: '' - format: uuid - consentStatus: - $ref: '#/components/schemas/ConsentStatusId' - additionalProperties: false - description: '' - AgreementConsentStatus: - type: object - properties: - agreementId: - type: string - format: uuid - consentStatus: - $ref: '#/components/schemas/ConsentStatusId' - additionalProperties: false - AgreementConsentStatusForRegistrationData: - type: object - properties: - agreementId: - type: string - format: uuid - consentStatus: - $ref: '#/components/schemas/ConsentStatusId' - additionalProperties: false - AgreementDocumentData: - type: object - properties: - agreementId: - type: string - format: uuid - name: - type: string - agreementLink: - type: string - nullable: true - documentId: - type: string - format: uuid - nullable: true - mandatory: - type: boolean - additionalProperties: false - ApplicationChecklistData: - type: object - properties: - typeId: - $ref: '#/components/schemas/ApplicationChecklistEntryTypeId' - statusId: - $ref: '#/components/schemas/ApplicationChecklistEntryStatusId' - additionalProperties: false - ApplicationChecklistEntryStatusId: - enum: - - TO_DO - - IN_PROGRESS - - DONE - - FAILED - - SKIPPED - type: string - ApplicationChecklistEntryTypeId: - enum: - - REGISTRATION_VERIFICATION - - BUSINESS_PARTNER_NUMBER - - IDENTITY_WALLET - - BPNL_CREDENTIAL - - MEMBERSHIP_CREDENTIAL - - CLEARING_HOUSE - - SELF_DESCRIPTION_LP - - APPLICATION_ACTIVATION - type: string - BpdmAddressVersionDto: - type: object - properties: - characterSet: - $ref: '#/components/schemas/BpdmDataDto' - language: - $ref: '#/components/schemas/BpdmDataDto' - additionalProperties: false - BpdmAdministrativeAreaDto: - type: object - properties: - value: - type: string - shortName: - type: string - fipsCode: - type: string - type: - $ref: '#/components/schemas/BpdmTechnicalKey' - language: - $ref: '#/components/schemas/BpdmDataDto' - additionalProperties: false - BpdmDataDto: - type: object - properties: - technicalKey: - type: string - name: - type: string - additionalProperties: false - BpdmGeographicCoordinatesDto: - type: object - properties: - longitude: - type: number - format: double - latitude: - type: number - format: double - altitude: - type: number - format: double - nullable: true - additionalProperties: false - BpdmLegalAddressDto: - type: object - properties: - version: - $ref: '#/components/schemas/BpdmAddressVersionDto' - careOf: - type: string - contexts: - type: array - items: - type: string - country: - $ref: '#/components/schemas/BpdmDataDto' - administrativeAreas: - type: array - items: - $ref: '#/components/schemas/BpdmAdministrativeAreaDto' - postCodes: - type: array - items: - $ref: '#/components/schemas/BpdmPostCodeDto' - localities: - type: array - items: - $ref: '#/components/schemas/BpdmLocalityDto' - thoroughfares: - type: array - items: - $ref: '#/components/schemas/BpdmThoroughfareDto' - premises: - type: array - items: - $ref: '#/components/schemas/BpdmPremiseDto' - postalDeliveryPoints: - type: array - items: - $ref: '#/components/schemas/BpdmPostalDeliveryPointDto' - geographicCoordinates: - $ref: '#/components/schemas/BpdmGeographicCoordinatesDto' - types: - type: array - items: - $ref: '#/components/schemas/BpdmTechnicalKey' - additionalProperties: false - BpdmLocalityDto: - type: object - properties: - value: - type: string - shortName: - type: string - type: - $ref: '#/components/schemas/BpdmTechnicalKey' - language: - $ref: '#/components/schemas/BpdmDataDto' - additionalProperties: false - BpdmPostCodeDto: - type: object - properties: - value: - type: string - type: - $ref: '#/components/schemas/BpdmTechnicalKey' - additionalProperties: false - BpdmPostalDeliveryPointDto: - type: object - properties: - value: - type: string - shortName: - type: string - number: - type: string - type: - $ref: '#/components/schemas/BpdmTechnicalKey' - language: - $ref: '#/components/schemas/BpdmDataDto' - additionalProperties: false - BpdmPremiseDto: - type: object - properties: - value: - type: string - shortName: - type: string - number: - type: string - type: - $ref: '#/components/schemas/BpdmTechnicalKey' - language: - $ref: '#/components/schemas/BpdmDataDto' - additionalProperties: false - BpdmTechnicalKey: - type: object - properties: - technicalKey: - type: string - name: - type: string - additionalProperties: false - BpdmThoroughfareDto: - type: object - properties: - value: - type: string - name: - type: string - shortName: - type: string - number: - type: string - direction: - type: string - type: - $ref: '#/components/schemas/BpdmTechnicalKey' - language: - $ref: '#/components/schemas/BpdmDataDto' - additionalProperties: false - CompanyApplicationDeclineData: - type: object - properties: - applicationId: - type: string - format: uuid - applicationStatus: - $ref: '#/components/schemas/CompanyApplicationStatusId' - user: - type: string - companyName: - type: string - users: - type: array - items: - type: string - additionalProperties: false - CompanyApplicationStatusId: - enum: - - CREATED - - ADD_COMPANY_DATA - - INVITE_USER - - SELECT_COMPANY_ROLE - - UPLOAD_DOCUMENTS - - VERIFY - - SUBMITTED - - CONFIRMED - - DECLINED - - CANCELLED_BY_CUSTOMER - type: string - CompanyApplicationTypeId: - enum: - - INTERNAL - - EXTERNAL - type: string - CompanyApplicationWithStatus: - type: object - properties: - applicationId: - type: string - format: uuid - applicationStatus: - $ref: '#/components/schemas/CompanyApplicationStatusId' - applicationType: - $ref: '#/components/schemas/CompanyApplicationTypeId' - applicationChecklist: - type: array - items: - $ref: '#/components/schemas/ApplicationChecklistData' - additionalProperties: false - CompanyDetailData: - type: object - properties: - name: - type: string - city: - type: string - streetName: - type: string - countryAlpha2Code: - type: string - bpn: - type: string - nullable: true - shortName: - type: string - nullable: true - region: - type: string - nullable: true - streetAdditional: - type: string - nullable: true - streetNumber: - type: string - nullable: true - zipCode: - type: string - nullable: true - uniqueIds: - type: array - items: - $ref: '#/components/schemas/CompanyUniqueIdData' - companyId: - type: string - format: uuid - additionalProperties: false - CompanyRegistrationData: - type: object - properties: - companyId: - type: string - format: uuid - name: - type: string - bpn: - type: string - nullable: true - shortName: - type: string - nullable: true - city: - type: string - nullable: true - region: - type: string - nullable: true - streetAdditional: - type: string - nullable: true - streetName: - type: string - nullable: true - streetNumber: - type: string - nullable: true - zipCode: - type: string - nullable: true - countryAlpha2Code: - type: string - nullable: true - companyRoles: - type: array - items: - $ref: '#/components/schemas/CompanyRoleId' - agreements: - type: array - items: - $ref: '#/components/schemas/AgreementConsentStatusForRegistrationData' - documents: - type: array - items: - $ref: '#/components/schemas/RegistrationDocumentNames' - uniqueIds: - type: array - items: - $ref: '#/components/schemas/CompanyUniqueIdData' - additionalProperties: false - CompanyRoleAgreementConsents: - type: object - properties: - companyRoles: - type: array - items: - $ref: '#/components/schemas/CompanyRoleId' - agreements: - type: array - items: - $ref: '#/components/schemas/AgreementConsentStatus' - additionalProperties: false - CompanyRoleAgreementData: - type: object - properties: - companyRoles: - type: array - items: - $ref: '#/components/schemas/CompanyRoleData' - agreements: - type: array - items: - $ref: '#/components/schemas/AgreementDocumentData' - additionalProperties: false - CompanyRoleData: - type: object - properties: - companyRole: - $ref: '#/components/schemas/CompanyRoleId' - descriptions: - type: object - additionalProperties: - type: string - agreementIds: - type: array - items: - type: string - format: uuid - additionalProperties: false - CompanyRoleId: - enum: - - ACTIVE_PARTICIPANT - - APP_PROVIDER - - SERVICE_PROVIDER - - OPERATOR - - ONBOARDING_SERVICE_PROVIDER - type: string - CompanyRolesDetails: - type: object - properties: - companyRole: - type: string - roleDescription: - type: string - additionalProperties: false - CompanyUniqueIdData: - type: object - properties: - type: - $ref: '#/components/schemas/UniqueIdentifierId' - value: - type: string - additionalProperties: false - ConsentStatusId: - enum: - - ACTIVE - - INACTIVE - type: string - CountryLongNameData: - type: object - properties: - alpha2Code: - type: string - countryName: - type: array - items: - $ref: '#/components/schemas/CountryName' - additionalProperties: false - CountryName: - type: object - properties: - language: - type: string - value: - type: string - additionalProperties: false - DeclineOspData: - type: object - properties: - declineReason: - $ref: '#/components/schemas/OspDeclineReason' - message: - type: string - nullable: true - additionalProperties: false - DocumentTypeId: - enum: - - CX_FRAME_CONTRACT - - COMMERCIAL_REGISTER_EXTRACT - - APP_CONTRACT - - CONFORMITY_APPROVAL_REGISTRATION - - ADDITIONAL_DETAILS - - APP_LEADIMAGE - - APP_IMAGE - - SELF_DESCRIPTION - - APP_TECHNICAL_INFORMATION - - CONFORMITY_APPROVAL_CONNECTOR - - CONFORMITY_APPROVAL_BUSINESS_APPS - - CONFORMITY_APPROVAL_SERVICES - - SERVICE_LEADIMAGE - - PRESENTATION - - COMPANY_CERTIFICATE - type: string - ErrorDetails: - type: object - properties: - errorCode: - type: string - type: - type: string - message: - type: string - parameters: - type: array - items: - $ref: '#/components/schemas/ErrorParameter' - additionalProperties: false - ErrorMessageCode: - type: object - properties: - errorCode: - type: string - message: - type: string - additionalProperties: false - ErrorMessageType: - type: object - properties: - errorType: - type: string - errorMessages: - type: array - items: - $ref: '#/components/schemas/ErrorMessageCode' - additionalProperties: false - ErrorParameter: - type: object - properties: - name: - type: string - value: - type: string - additionalProperties: false - ErrorResponse: - type: object - properties: - type: - type: string - title: - type: string - status: - type: integer - format: int32 - errors: - type: object - additionalProperties: - type: array - items: - type: string - errorId: - type: string - details: - type: array - items: - $ref: '#/components/schemas/ErrorDetails' - nullable: true - additionalProperties: false - File: - type: object - additionalProperties: false - InvitationStatusId: - enum: - - CREATED - - PENDING - - ACCEPTED - - DECLINED - type: string - InvitedUser: - type: object - properties: - invitationStatus: - $ref: '#/components/schemas/InvitationStatusId' - emailId: - type: string - nullable: true - invitedUserRoles: - type: array - items: - type: string - additionalProperties: false - OspDeclineReason: - enum: - - REGISTRATION_NOT_REQUESTED - - OPINION_CHANGED - - INACCAPTABLE_DATASPACE_RULES - - OTHERS - type: string - PartnerSubmitData: - type: object - properties: - companyRoles: - type: array - items: - $ref: '#/components/schemas/CompanyRoleId' - agreements: - type: array - items: - $ref: '#/components/schemas/AgreementConsentData' - additionalProperties: false - RegistrationDocumentNames: - type: object - properties: - documentName: - type: string - additionalProperties: false - UniqueIdentifierData: - type: object - properties: - id: - type: integer - format: int32 - label: - $ref: '#/components/schemas/UniqueIdentifierId' - additionalProperties: false - UniqueIdentifierId: - enum: - - COMMERCIAL_REG_NUMBER - - VAT_ID - - LEI_CODE - - VIES - - EORI - type: string - UploadDocuments: - type: object - properties: - documentId: - type: string - format: uuid - documentName: - type: string - additionalProperties: false - UrlInformation: - type: object - properties: - httpMethods: - type: string - url: - type: string - additionalProperties: false - UserCreationInfoWithMessage: - type: object - properties: - userName: - type: string - nullable: true - email: - type: string - firstName: - type: string - nullable: true - lastName: - type: string - nullable: true - roles: - type: array - items: - type: string - message: - type: string - nullable: true - additionalProperties: false - securitySchemes: - Bearer: - type: apiKey - description: "JWT Authorization header using the Bearer scheme. \r\n\r\n Enter 'Bearer' [space] and then your token in the text input below.\r\n\r\nExample: \"Bearer 12345abcdef\"" - name: Authorization - in: header -security: - - Bearer: [ ] \ No newline at end of file diff --git a/portal-backend/v2.3.0-alpha.1/registration-service/swagger-ui/favicon-16x16.png b/portal-backend/v2.3.0-alpha.1/registration-service/swagger-ui/favicon-16x16.png deleted file mode 100644 index 8b194e617af1c135e6b37939591d24ac3a5efa18..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 665 zcmV;K0%rY*P)}JKSduyL>)s!A4EhTMMEM%Q;aL6%l#xiZiF>S;#Y{N2Zz%pvTGHJduXuC6Lx-)0EGfRy*N{Tv4i8@4oJ41gw zKzThrcRe|7J~(YYIBq{SYCkn-KQm=N8$CrEK1CcqMI1dv9z#VRL_{D)L|`QmF8}}l zJ9JV`Q}p!p_4f7m_U`WQ@apR4;o;!mnU<7}iG_qr zF(e)x9~BG-3IzcG2M4an0002kNkl41`ZiN1i62V%{PM@Ry|IS_+Yc7{bb`MM~xm(7p4|kMHP&!VGuDW4kFixat zXw43VmgwEvB$hXt_u=vZ>+v4i7E}n~eG6;n4Z=zF1n?T*yg<;W6kOfxpC6nao>VR% z?fpr=asSJ&`L*wu^rLJ5Peq*PB0;alL#XazZCBxJLd&giTfw@!hW167F^`7kobi;( ze<<>qNlP|xy7S1zl@lZNIBR7#o9ybJsptO#%}P0hz~sBp00000NkvXXu0mjfUsDF? diff --git a/portal-backend/v2.3.0-alpha.1/registration-service/swagger-ui/favicon-32x32.png b/portal-backend/v2.3.0-alpha.1/registration-service/swagger-ui/favicon-32x32.png deleted file mode 100644 index 249737fe44558e679f0b67134e274461d988fa98..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 628 zcmV-)0*n2LP)Ma*GM0}OV<074bNCP7P7GVd{iMr*I6y~TMLss@FjvgL~HxU z%Vvj33AwpD(Z4*$Mfx=HaU16axM zt2xG_rloN<$iy9j9I5 - - - - - Swagger UI - - - - - - - -
- - - - - - diff --git a/portal-backend/v2.3.0-alpha.1/registration-service/swagger-ui/registration-service.yaml b/portal-backend/v2.3.0-alpha.1/registration-service/swagger-ui/registration-service.yaml deleted file mode 100644 index c807004..0000000 --- a/portal-backend/v2.3.0-alpha.1/registration-service/swagger-ui/registration-service.yaml +++ /dev/null @@ -1,1681 +0,0 @@ -openapi: 3.0.1 -info: - title: Org.Eclipse.TractusX.Portal.Backend.Registration.Service - version: v2.3.0-alpha.1 -paths: - /api/registration/errormessage: - get: - tags: - - ErrorMessage - responses: - '200': - description: OK - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ErrorMessageType' - '500': - description: Internal Server Error - /api/registration/Network/partnerRegistration/submit: - post: - tags: - - Network - summary: 'Submits the application (Authorization required - Roles: submit_registration)' - requestBody: - description: The agreements for the companyRoles - content: - application/json: - schema: - $ref: '#/components/schemas/PartnerSubmitData' - responses: - '204': - description: Empty response on success. - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No registration found for the externalId. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/registration/Network/decline: - post: - tags: - - Network - summary: 'Declines the osp registration (Authorization required - Roles: decline_partner_registration)' - parameters: - - name: applicationId - in: path - description: Id of the company application - required: true - schema: - type: string - format: uuid - requestBody: - description: Data with the information to decline - content: - application/json: - schema: - $ref: '#/components/schemas/DeclineOspData' - responses: - '200': - description: Empty response on success. - '404': - description: No registration found for the externalId. - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/info: - get: - tags: - - OpenInformation - summary: ' (Authorization required)' - responses: - '200': - description: OK - content: - text/plain: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - text/json: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/registration/legalEntityAddress/{bpn}': - get: - tags: - - Registration - summary: 'Gets legal entity and address data from bpdm by its bpn (Authorization required - Roles: add_company_data)' - description: 'Example: Get: /api/registration/legalEntityAddress/BPNL000000055EPN' - parameters: - - name: bpn - in: path - description: The bpn to get the company for - required: true - schema: - type: string - example: BPNL000000055EPN - responses: - '200': - description: Returns the company - content: - application/json: - schema: - $ref: '#/components/schemas/BpdmLegalAddressDto' - '400': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '503': - description: The requested service responded with the given error. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/registration/application/{applicationId}/documentType/{documentTypeId}/documents': - post: - tags: - - Registration - summary: 'Uploads a document (Authorization required - Roles: upload_documents)' - description: 'Example: Post: /api/registration/application/{applicationId}/documentType/{documentTypeId}/documents' - parameters: - - name: applicationId - in: path - description: '' - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - - name: documentTypeId - in: path - description: '' - required: true - schema: - $ref: '#/components/schemas/DocumentTypeId' - example: '1' - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - document: - type: file - description: '' - format: binary - encoding: - document: - style: form - application/json: - schema: - type: object - properties: - document: - type: file - description: '' - format: binary - encoding: - document: - style: form - responses: - '204': - description: Successfully uploaded the document - '403': - description: The user is not assigned with the CompanyApplication. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '400': - description: Input is incorrect. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '415': - description: Only PDF files are supported. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - get: - tags: - - Registration - summary: 'Gets documents for a specific document type and application (Authorization required - Roles: view_registration)' - description: 'Example: Get: /api/registration/application/{applicationId}/documentType/{documentTypeId}/documents' - parameters: - - name: applicationId - in: path - description: The application to get the documents from. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - - name: documentTypeId - in: path - description: Type of the documents to get. - required: true - schema: - $ref: '#/components/schemas/DocumentTypeId' - example: '1' - responses: - '200': - description: Returns a list of documents - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UploadDocuments' - '403': - description: The user is not associated with invitation - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Application not found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/registration/documents/{documentId}': - get: - tags: - - Registration - summary: 'Gets a specific document by its id (Authorization required - Roles: view_documents)' - description: 'Example: Get: /api/registration/documents/4ad087bb-80a1-49d3-9ba9-da0b175cd4e3' - parameters: - - name: documentId - in: path - description: '' - required: true - schema: - type: string - format: uuid - example: 4ad087bb-80a1-49d3-9ba9-da0b175cd4e3 - responses: - '200': - description: Successfully uploaded the document - content: - application/pdf: - schema: - $ref: '#/components/schemas/File' - application/json: - schema: - $ref: '#/components/schemas/File' - '403': - description: User does not have the relevant rights to request for the document. - content: - application/pdf: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No document with the given id was found. - content: - application/pdf: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - delete: - tags: - - Registration - summary: 'Deletes the document with the given id (Authorization required - Roles: delete_documents)' - description: 'Example: Delete: /api/registration/documents/{documentId}' - parameters: - - name: documentId - in: path - description: '' - required: true - schema: - type: string - format: uuid - example: 4ad087bb-80a1-49d3-9ba9-da0b175cd4e3 - responses: - '200': - description: Successfully deleted the document - content: - application/json: - schema: - type: boolean - '400': - description: Incorrect document state - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: The user is not assigned with the Company Application. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: The document was not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Document deletion not allowed. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/registration/rolesComposite: - get: - tags: - - Registration - summary: 'Get all composite client roles (Authorization required - Roles: view_registration)' - description: 'Example: Get: /api/registration/rolesComposite' - responses: - '200': - description: returns all composite client roles - content: - application/json: - schema: - type: array - items: - type: string - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/registration/applications: - get: - tags: - - Registration - summary: 'Gets the applications with each status (Authorization required - Roles: view_registration)' - description: 'Example: Get: /api/registration/applications' - responses: - '200': - description: Returns a list of company applications - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CompanyApplicationWithStatus' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/registration/applications/declinedata: - get: - tags: - - Registration - summary: 'Gets the applications with each status, company-name and linked users (Authorization required - Roles: view_registration)' - description: 'Example: Get: /api/registration/applications/declinedata' - responses: - '200': - description: Returns a list of company applications - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CompanyApplicationDeclineData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/registration/application/{applicationId}/status': - put: - tags: - - Registration - summary: 'Sets the status of a specific application. (Authorization required - Roles: submit_registration)' - description: 'Example: Put: /api/registration/application/{applicationId}/status' - parameters: - - name: applicationId - in: path - description: Id of the application which status should be set. - required: true - schema: - type: string - format: uuid - example: 4f0146c6-32aa-4bb1-b844-df7e8babdcb4 - - name: status - in: query - description: The status that should be set - schema: - $ref: '#/components/schemas/CompanyApplicationStatusId' - example: '8' - responses: - '200': - description: Successfully set the status - content: - application/json: - schema: - type: integer - format: int32 - '400': - description: Status must be null. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: CompanyApplication was not found for the given id. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User Not associated wit application - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - get: - tags: - - Registration - summary: 'Gets the status of an application for the given id (Authorization required - Roles: view_registration)' - description: 'Example: Get: /api/registration/application/4f0146c6-32aa-4bb1-b844-df7e8babdcb4/status' - parameters: - - name: applicationId - in: path - description: Id of the application to get the status from - required: true - schema: - type: string - format: uuid - example: 4f0146c6-32aa-4bb1-b844-df7e8babdcb4 - responses: - '200': - description: Returns the company application status - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyApplicationStatusId' - '404': - description: CompanyApplication was not found for the given id. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User is not associated with application. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/registration/application/{applicationId}/companyDetailsWithAddress': - get: - tags: - - Registration - summary: 'Gets the company of a specific application with its address (Authorization required - Roles: view_registration)' - description: 'Example: Get: /api/registration/application/4f0146c6-32aa-4bb1-b844-df7e8babdcb4/companyDetailsWithAddress' - parameters: - - name: applicationId - in: path - description: Id of the application to get the company to. - required: true - schema: - type: string - format: uuid - example: 4f0146c6-32aa-4bb1-b844-df7e8babdcb4 - responses: - '200': - description: Returns the company with its address - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyDetailData' - '404': - description: CompanyApplication was not found for the given id. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User is not associated with company application. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - post: - tags: - - Registration - summary: 'Sets the company with its address for the given application id (Authorization required - Roles: add_company_data)' - description: 'Example: Post: /api/registration/application/{applicationId}/companyDetailsWithAddress' - parameters: - - name: applicationId - in: path - description: Id of the application to set the company for. - required: true - schema: - type: string - format: uuid - example: 4f0146c6-32aa-4bb1-b844-df7e8babdcb4 - requestBody: - description: The company with its address - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyDetailData' - responses: - '200': - description: Successfully set the company with its address - '400': - description: A request parameter was incorrect. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: CompanyApplication was not found for the given id. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User is not associated with company application or application status is invalid - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/registration/application/{applicationId}/inviteNewUser': - post: - tags: - - Registration - summary: 'Invites the given user to the given application (Authorization required - Roles: invite_user)' - description: 'Example: Post: /api/registration/application/4f0146c6-32aa-4bb1-b844-df7e8babdcb4/inviteNewUser' - parameters: - - name: applicationId - in: path - description: Id of the application a user should be invited to - required: true - schema: - type: string - format: uuid - example: 4f0146c6-32aa-4bb1-b844-df7e8babdcb4 - requestBody: - description: The information of the user that should be invited - content: - application/json: - schema: - $ref: '#/components/schemas/UserCreationInfoWithMessage' - responses: - '200': - description: Successfully invited the user. - content: - application/json: - schema: - type: integer - format: int32 - '400': - description: The user with the given email does already exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '502': - description: Service Unavailable. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - '/api/registration/application/{applicationId}/companyRoleAgreementConsents': - post: - tags: - - Registration - summary: 'Post the agreement consent status for the given application. (Authorization required - Roles: sign_consent)' - description: 'Example: Post: /api/registration/application/4f0146c6-32aa-4bb1-b844-df7e8babdcb4/companyRoleAgreementConsents' - parameters: - - name: applicationId - in: path - description: '' - required: true - schema: - type: string - format: uuid - example: 4f0146c6-32aa-4bb1-b844-df7e8babdcb4 - requestBody: - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyRoleAgreementConsents' - responses: - '200': - description: Successfully submitted consent to agreements - content: - application/json: - schema: - type: integer - format: int32 - '403': - description: Either the user was not found or the user is not assignable to the given application. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Application does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '400': - description: Input is incorrect. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - get: - tags: - - Registration - summary: 'Gets the agreement consent statuses for the given application (Authorization required - Roles: view_registration)' - description: 'Example: Get: /api/registration/application/4f0146c6-32aa-4bb1-b844-df7e8babdcb4/companyRoleAgreementConsents' - parameters: - - name: applicationId - in: path - description: Id of the application to get the agreement consent statuses for - required: true - schema: - type: string - format: uuid - example: 4f0146c6-32aa-4bb1-b844-df7e8babdcb4 - responses: - '200': - description: Return the company role agreement consents - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyRoleAgreementConsents' - '403': - description: The user is not assignable to the given application. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/registration/companyRoleAgreementData: - get: - tags: - - Registration - summary: 'Gets the company role agreement data (Authorization required - Roles: view_registration)' - description: 'Example: Get: /api/registration/companyRoleAgreementData' - responses: - '200': - description: Returns the Company role agreement data - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyRoleAgreementData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/registration/application/{applicationId}/submitRegistration': - post: - tags: - - Registration - summary: 'Submits a registration (Authorization required - Roles: submit_registration)' - description: 'Example: Post: /api/registration/application/4f0146c6-32aa-4bb1-b844-df7e8babdcb4/submitRegistration' - parameters: - - name: applicationId - in: path - description: Id of the application to submit registration - required: true - schema: - type: string - format: uuid - example: 4f0146c6-32aa-4bb1-b844-df7e8babdcb4 - responses: - '200': - description: Successfully submitted the registration - content: - application/json: - schema: - type: boolean - '404': - description: Application does not exist - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User is not associated with company application or Application status is not fitting to the pre-requisite or Application is already closed - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - '/api/registration/application/{applicationId}/invitedusers': - get: - tags: - - Registration - summary: 'Gets all invited users for a given application (Authorization required - Roles: view_registration)' - description: 'Example: Get: /api/registration/application/4f0146c6-32aa-4bb1-b844-df7e8babdcb4/invitedusers' - parameters: - - name: applicationId - in: path - description: Id of the application - required: true - schema: - type: string - format: uuid - example: 4f0146c6-32aa-4bb1-b844-df7e8babdcb4 - responses: - '200': - description: Returns all invited users - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/InvitedUser' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/registration/invitation/status: - put: - tags: - - Registration - summary: 'Sets the invitation status (Authorization required - Roles: view_registration)' - description: 'Example: Put: /api/registration/invitation/status' - responses: - '200': - description: Successfully sets the invitation status - content: - application/json: - schema: - type: integer - format: int32 - '403': - description: The user id is not associated with invitation. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/registration/application/{applicationId}/registrationData': - get: - tags: - - Registration - summary: 'Gets the registration data for the given application id (Authorization required - Roles: view_registration)' - description: 'Example: Get: /api/registration/application/4f0146c6-32aa-4bb1-b844-df7e8babdcb4/registrationData' - parameters: - - name: applicationId - in: path - description: The application id to get the registration data for. - required: true - schema: - type: string - format: uuid - example: 4f0146c6-32aa-4bb1-b844-df7e8babdcb4 - responses: - '200': - description: Returns the registration data - content: - application/json: - schema: - $ref: '#/components/schemas/CompanyRegistrationData' - '404': - description: The application does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: The user id is not associated with CompanyApplication. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '503': - description: Registration data null. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/registration/company/companyRoles: - get: - tags: - - Registration - summary: 'Gets the company roles and roles description (Authorization required - Roles: view_company_roles)' - description: 'Example: Get: /api/registration/company/companyRoles' - parameters: - - name: languageShortName - in: query - description: Optional two character language specifier for the roles description. Will be empty if not provided. - schema: - type: string - example: en - responses: - '200': - description: Returns the Company roles data - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CompanyRolesDetails' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/registration/company/country/{alpha2Code}/uniqueidentifiers': - get: - tags: - - Registration - summary: 'Gets the company Identifier for Country Alpha2Code (Authorization required - Roles: view_registration)' - description: 'Example: Get: /api/registration/company/country/{alpha2Code}/uniqueidentifiers' - parameters: - - name: alpha2Code - in: path - description: Country Alpha2Code - required: true - schema: - type: string - responses: - '200': - description: Returns the Company Identifier data - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UniqueIdentifierData' - '404': - description: The Unique Identifier for Country was not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/registration/registrationDocuments/{documentId}': - get: - tags: - - Registration - summary: 'Retrieve Registration document of type CX_FRAME_CONTRACT (Authorization required - Roles: view_documents)' - description: 'Example: Get: /api/registration/registrationDocuments/4ad087bb-80a1-49d3-9ba9-da0b175cd4e3' - parameters: - - name: documentId - in: path - description: '' - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Successfully fetched the document - content: - application/pdf: - schema: - $ref: '#/components/schemas/File' - application/json: - schema: - $ref: '#/components/schemas/File' - '404': - description: No document with the given id was found. - content: - application/pdf: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/registration/applications/{applicationId}/declineregistration': - post: - tags: - - Registration - summary: 'Declines the registration verification for the application with the given id (Authorization required - Roles: view_registration)' - description: 'Example: POST: /api/registration/application/{applicationId}/declineregistration' - parameters: - - name: applicationId - in: path - description: Id of the application that should be declined - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Successfully declined the application - '404': - description: Application ID not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/registration/StaticData/countrylist: - get: - tags: - - StaticData - summary: Retrieve all app countries - short name (2digit) and countries long name - description: 'Example: GET: /api/registration/staticdata/countrylist' - responses: - '200': - description: Returns a list of all countries long name with language code i.e german and english - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CountryLongNameData' - '500': - description: Internal Server Error -components: - schemas: - AgreementConsentData: - type: object - properties: - agreementId: - type: string - description: '' - format: uuid - consentStatus: - $ref: '#/components/schemas/ConsentStatusId' - additionalProperties: false - description: '' - AgreementConsentStatus: - type: object - properties: - agreementId: - type: string - format: uuid - consentStatus: - $ref: '#/components/schemas/ConsentStatusId' - additionalProperties: false - AgreementConsentStatusForRegistrationData: - type: object - properties: - agreementId: - type: string - format: uuid - consentStatus: - $ref: '#/components/schemas/ConsentStatusId' - additionalProperties: false - AgreementDocumentData: - type: object - properties: - agreementId: - type: string - format: uuid - name: - type: string - agreementLink: - type: string - nullable: true - documentId: - type: string - format: uuid - nullable: true - mandatory: - type: boolean - additionalProperties: false - ApplicationChecklistData: - type: object - properties: - typeId: - $ref: '#/components/schemas/ApplicationChecklistEntryTypeId' - statusId: - $ref: '#/components/schemas/ApplicationChecklistEntryStatusId' - additionalProperties: false - ApplicationChecklistEntryStatusId: - enum: - - TO_DO - - IN_PROGRESS - - DONE - - FAILED - - SKIPPED - type: string - ApplicationChecklistEntryTypeId: - enum: - - REGISTRATION_VERIFICATION - - BUSINESS_PARTNER_NUMBER - - IDENTITY_WALLET - - BPNL_CREDENTIAL - - MEMBERSHIP_CREDENTIAL - - CLEARING_HOUSE - - SELF_DESCRIPTION_LP - - APPLICATION_ACTIVATION - type: string - BpdmAddressVersionDto: - type: object - properties: - characterSet: - $ref: '#/components/schemas/BpdmDataDto' - language: - $ref: '#/components/schemas/BpdmDataDto' - additionalProperties: false - BpdmAdministrativeAreaDto: - type: object - properties: - value: - type: string - shortName: - type: string - fipsCode: - type: string - type: - $ref: '#/components/schemas/BpdmTechnicalKey' - language: - $ref: '#/components/schemas/BpdmDataDto' - additionalProperties: false - BpdmDataDto: - type: object - properties: - technicalKey: - type: string - name: - type: string - additionalProperties: false - BpdmGeographicCoordinatesDto: - type: object - properties: - longitude: - type: number - format: double - latitude: - type: number - format: double - altitude: - type: number - format: double - nullable: true - additionalProperties: false - BpdmLegalAddressDto: - type: object - properties: - version: - $ref: '#/components/schemas/BpdmAddressVersionDto' - careOf: - type: string - contexts: - type: array - items: - type: string - country: - $ref: '#/components/schemas/BpdmDataDto' - administrativeAreas: - type: array - items: - $ref: '#/components/schemas/BpdmAdministrativeAreaDto' - postCodes: - type: array - items: - $ref: '#/components/schemas/BpdmPostCodeDto' - localities: - type: array - items: - $ref: '#/components/schemas/BpdmLocalityDto' - thoroughfares: - type: array - items: - $ref: '#/components/schemas/BpdmThoroughfareDto' - premises: - type: array - items: - $ref: '#/components/schemas/BpdmPremiseDto' - postalDeliveryPoints: - type: array - items: - $ref: '#/components/schemas/BpdmPostalDeliveryPointDto' - geographicCoordinates: - $ref: '#/components/schemas/BpdmGeographicCoordinatesDto' - types: - type: array - items: - $ref: '#/components/schemas/BpdmTechnicalKey' - additionalProperties: false - BpdmLocalityDto: - type: object - properties: - value: - type: string - shortName: - type: string - type: - $ref: '#/components/schemas/BpdmTechnicalKey' - language: - $ref: '#/components/schemas/BpdmDataDto' - additionalProperties: false - BpdmPostCodeDto: - type: object - properties: - value: - type: string - type: - $ref: '#/components/schemas/BpdmTechnicalKey' - additionalProperties: false - BpdmPostalDeliveryPointDto: - type: object - properties: - value: - type: string - shortName: - type: string - number: - type: string - type: - $ref: '#/components/schemas/BpdmTechnicalKey' - language: - $ref: '#/components/schemas/BpdmDataDto' - additionalProperties: false - BpdmPremiseDto: - type: object - properties: - value: - type: string - shortName: - type: string - number: - type: string - type: - $ref: '#/components/schemas/BpdmTechnicalKey' - language: - $ref: '#/components/schemas/BpdmDataDto' - additionalProperties: false - BpdmTechnicalKey: - type: object - properties: - technicalKey: - type: string - name: - type: string - additionalProperties: false - BpdmThoroughfareDto: - type: object - properties: - value: - type: string - name: - type: string - shortName: - type: string - number: - type: string - direction: - type: string - type: - $ref: '#/components/schemas/BpdmTechnicalKey' - language: - $ref: '#/components/schemas/BpdmDataDto' - additionalProperties: false - CompanyApplicationDeclineData: - type: object - properties: - applicationId: - type: string - format: uuid - applicationStatus: - $ref: '#/components/schemas/CompanyApplicationStatusId' - user: - type: string - companyName: - type: string - users: - type: array - items: - type: string - additionalProperties: false - CompanyApplicationStatusId: - enum: - - CREATED - - ADD_COMPANY_DATA - - INVITE_USER - - SELECT_COMPANY_ROLE - - UPLOAD_DOCUMENTS - - VERIFY - - SUBMITTED - - CONFIRMED - - DECLINED - - CANCELLED_BY_CUSTOMER - type: string - CompanyApplicationTypeId: - enum: - - INTERNAL - - EXTERNAL - type: string - CompanyApplicationWithStatus: - type: object - properties: - applicationId: - type: string - format: uuid - applicationStatus: - $ref: '#/components/schemas/CompanyApplicationStatusId' - applicationType: - $ref: '#/components/schemas/CompanyApplicationTypeId' - applicationChecklist: - type: array - items: - $ref: '#/components/schemas/ApplicationChecklistData' - additionalProperties: false - CompanyDetailData: - type: object - properties: - name: - type: string - city: - type: string - streetName: - type: string - countryAlpha2Code: - type: string - bpn: - type: string - nullable: true - shortName: - type: string - nullable: true - region: - type: string - nullable: true - streetAdditional: - type: string - nullable: true - streetNumber: - type: string - nullable: true - zipCode: - type: string - nullable: true - uniqueIds: - type: array - items: - $ref: '#/components/schemas/CompanyUniqueIdData' - companyId: - type: string - format: uuid - additionalProperties: false - CompanyRegistrationData: - type: object - properties: - companyId: - type: string - format: uuid - name: - type: string - bpn: - type: string - nullable: true - shortName: - type: string - nullable: true - city: - type: string - nullable: true - region: - type: string - nullable: true - streetAdditional: - type: string - nullable: true - streetName: - type: string - nullable: true - streetNumber: - type: string - nullable: true - zipCode: - type: string - nullable: true - countryAlpha2Code: - type: string - nullable: true - companyRoles: - type: array - items: - $ref: '#/components/schemas/CompanyRoleId' - agreements: - type: array - items: - $ref: '#/components/schemas/AgreementConsentStatusForRegistrationData' - documents: - type: array - items: - $ref: '#/components/schemas/RegistrationDocumentNames' - uniqueIds: - type: array - items: - $ref: '#/components/schemas/CompanyUniqueIdData' - additionalProperties: false - CompanyRoleAgreementConsents: - type: object - properties: - companyRoles: - type: array - items: - $ref: '#/components/schemas/CompanyRoleId' - agreements: - type: array - items: - $ref: '#/components/schemas/AgreementConsentStatus' - additionalProperties: false - CompanyRoleAgreementData: - type: object - properties: - companyRoles: - type: array - items: - $ref: '#/components/schemas/CompanyRoleData' - agreements: - type: array - items: - $ref: '#/components/schemas/AgreementDocumentData' - additionalProperties: false - CompanyRoleData: - type: object - properties: - companyRole: - $ref: '#/components/schemas/CompanyRoleId' - descriptions: - type: object - additionalProperties: - type: string - agreementIds: - type: array - items: - type: string - format: uuid - additionalProperties: false - CompanyRoleId: - enum: - - ACTIVE_PARTICIPANT - - APP_PROVIDER - - SERVICE_PROVIDER - - OPERATOR - - ONBOARDING_SERVICE_PROVIDER - type: string - CompanyRolesDetails: - type: object - properties: - companyRole: - type: string - roleDescription: - type: string - additionalProperties: false - CompanyUniqueIdData: - type: object - properties: - type: - $ref: '#/components/schemas/UniqueIdentifierId' - value: - type: string - additionalProperties: false - ConsentStatusId: - enum: - - ACTIVE - - INACTIVE - type: string - CountryLongNameData: - type: object - properties: - alpha2Code: - type: string - countryName: - type: array - items: - $ref: '#/components/schemas/CountryName' - additionalProperties: false - CountryName: - type: object - properties: - language: - type: string - value: - type: string - additionalProperties: false - DeclineOspData: - type: object - properties: - declineReason: - $ref: '#/components/schemas/OspDeclineReason' - message: - type: string - nullable: true - additionalProperties: false - DocumentTypeId: - enum: - - CX_FRAME_CONTRACT - - COMMERCIAL_REGISTER_EXTRACT - - APP_CONTRACT - - CONFORMITY_APPROVAL_REGISTRATION - - ADDITIONAL_DETAILS - - APP_LEADIMAGE - - APP_IMAGE - - SELF_DESCRIPTION - - APP_TECHNICAL_INFORMATION - - CONFORMITY_APPROVAL_CONNECTOR - - CONFORMITY_APPROVAL_BUSINESS_APPS - - CONFORMITY_APPROVAL_SERVICES - - SERVICE_LEADIMAGE - - PRESENTATION - - COMPANY_CERTIFICATE - type: string - ErrorDetails: - type: object - properties: - errorCode: - type: string - type: - type: string - message: - type: string - parameters: - type: array - items: - $ref: '#/components/schemas/ErrorParameter' - additionalProperties: false - ErrorMessageCode: - type: object - properties: - errorCode: - type: string - message: - type: string - additionalProperties: false - ErrorMessageType: - type: object - properties: - errorType: - type: string - errorMessages: - type: array - items: - $ref: '#/components/schemas/ErrorMessageCode' - additionalProperties: false - ErrorParameter: - type: object - properties: - name: - type: string - value: - type: string - additionalProperties: false - ErrorResponse: - type: object - properties: - type: - type: string - title: - type: string - status: - type: integer - format: int32 - errors: - type: object - additionalProperties: - type: array - items: - type: string - errorId: - type: string - details: - type: array - items: - $ref: '#/components/schemas/ErrorDetails' - nullable: true - additionalProperties: false - File: - type: object - additionalProperties: false - InvitationStatusId: - enum: - - CREATED - - PENDING - - ACCEPTED - - DECLINED - type: string - InvitedUser: - type: object - properties: - invitationStatus: - $ref: '#/components/schemas/InvitationStatusId' - emailId: - type: string - nullable: true - invitedUserRoles: - type: array - items: - type: string - additionalProperties: false - OspDeclineReason: - enum: - - REGISTRATION_NOT_REQUESTED - - OPINION_CHANGED - - INACCAPTABLE_DATASPACE_RULES - - OTHERS - type: string - PartnerSubmitData: - type: object - properties: - companyRoles: - type: array - items: - $ref: '#/components/schemas/CompanyRoleId' - agreements: - type: array - items: - $ref: '#/components/schemas/AgreementConsentData' - additionalProperties: false - RegistrationDocumentNames: - type: object - properties: - documentName: - type: string - additionalProperties: false - UniqueIdentifierData: - type: object - properties: - id: - type: integer - format: int32 - label: - $ref: '#/components/schemas/UniqueIdentifierId' - additionalProperties: false - UniqueIdentifierId: - enum: - - COMMERCIAL_REG_NUMBER - - VAT_ID - - LEI_CODE - - VIES - - EORI - type: string - UploadDocuments: - type: object - properties: - documentId: - type: string - format: uuid - documentName: - type: string - additionalProperties: false - UrlInformation: - type: object - properties: - httpMethods: - type: string - url: - type: string - additionalProperties: false - UserCreationInfoWithMessage: - type: object - properties: - userName: - type: string - nullable: true - email: - type: string - firstName: - type: string - nullable: true - lastName: - type: string - nullable: true - roles: - type: array - items: - type: string - message: - type: string - nullable: true - additionalProperties: false - securitySchemes: - Bearer: - type: apiKey - description: "JWT Authorization header using the Bearer scheme. \r\n\r\n Enter 'Bearer' [space] and then your token in the text input below.\r\n\r\nExample: \"Bearer 12345abcdef\"" - name: Authorization - in: header -security: - - Bearer: [ ] \ No newline at end of file diff --git a/portal-backend/v2.3.0-alpha.1/registration-service/swagger-ui/swagger-config.json b/portal-backend/v2.3.0-alpha.1/registration-service/swagger-ui/swagger-config.json deleted file mode 100644 index 1a3a1d2..0000000 --- a/portal-backend/v2.3.0-alpha.1/registration-service/swagger-ui/swagger-config.json +++ /dev/null @@ -1 +0,0 @@ -{"url":"registration-service.yaml","deepLinking":true} \ No newline at end of file diff --git a/portal-backend/v2.3.0-alpha.1/registration-service/swagger-ui/swagger-ui-bundle.js b/portal-backend/v2.3.0-alpha.1/registration-service/swagger-ui/swagger-ui-bundle.js deleted file mode 100644 index 824b540..0000000 --- a/portal-backend/v2.3.0-alpha.1/registration-service/swagger-ui/swagger-ui-bundle.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see swagger-ui-bundle.js.LICENSE.txt */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.SwaggerUIBundle=t():e.SwaggerUIBundle=t()}(this,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist",n(n.s=534)}([function(e,t,n){"use strict";e.exports=n(133)},function(e,t,n){e.exports=function(){"use strict";var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return i(e)?e:J(e)}function r(e){return s(e)?e:K(e)}function o(e){return u(e)?e:Y(e)}function a(e){return i(e)&&!c(e)?e:G(e)}function i(e){return!(!e||!e[p])}function s(e){return!(!e||!e[f])}function u(e){return!(!e||!e[h])}function c(e){return s(e)||u(e)}function l(e){return!(!e||!e[d])}t(r,n),t(o,n),t(a,n),n.isIterable=i,n.isKeyed=s,n.isIndexed=u,n.isAssociative=c,n.isOrdered=l,n.Keyed=r,n.Indexed=o,n.Set=a;var p="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",h="@@__IMMUTABLE_INDEXED__@@",d="@@__IMMUTABLE_ORDERED__@@",m="delete",v=5,g=1<>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?A(e)+t:t}function k(){return!0}function j(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return P(e,t,0)}function I(e,t){return P(e,t,t)}function P(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var N=0,M=1,R=2,D="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",B=D||L;function F(e){this.next=e}function U(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function q(){return{value:void 0,done:!0}}function z(e){return!!H(e)}function V(e){return e&&"function"==typeof e.next}function W(e){var t=H(e);return t&&t.call(e)}function H(e){var t=e&&(D&&e[D]||e[L]);if("function"==typeof t)return t}function $(e){return e&&"number"==typeof e.length}function J(e){return null==e?ie():i(e)?e.toSeq():ce(e)}function K(e){return null==e?ie().toKeyedSeq():i(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Y(e){return null==e?ie():i(e)?s(e)?e.entrySeq():e.toIndexedSeq():ue(e)}function G(e){return(null==e?ie():i(e)?s(e)?e.entrySeq():e:ue(e)).toSetSeq()}F.prototype.toString=function(){return"[Iterator]"},F.KEYS=N,F.VALUES=M,F.ENTRIES=R,F.prototype.inspect=F.prototype.toSource=function(){return this.toString()},F.prototype[B]=function(){return this},t(J,n),J.of=function(){return J(arguments)},J.prototype.toSeq=function(){return this},J.prototype.toString=function(){return this.__toString("Seq {","}")},J.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},J.prototype.__iterate=function(e,t){return pe(this,e,t,!0)},J.prototype.__iterator=function(e,t){return fe(this,e,t,!0)},t(K,J),K.prototype.toKeyedSeq=function(){return this},t(Y,J),Y.of=function(){return Y(arguments)},Y.prototype.toIndexedSeq=function(){return this},Y.prototype.toString=function(){return this.__toString("Seq [","]")},Y.prototype.__iterate=function(e,t){return pe(this,e,t,!1)},Y.prototype.__iterator=function(e,t){return fe(this,e,t,!1)},t(G,J),G.of=function(){return G(arguments)},G.prototype.toSetSeq=function(){return this},J.isSeq=ae,J.Keyed=K,J.Set=G,J.Indexed=Y;var Z,X,Q,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function re(e){this._iterable=e,this.size=e.length||e.size}function oe(e){this._iterator=e,this._iteratorCache=[]}function ae(e){return!(!e||!e[ee])}function ie(){return Z||(Z=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():V(e)?new oe(e).fromEntrySeq():z(e)?new re(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function ue(e){var t=le(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){var t=le(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function le(e){return $(e)?new te(e):V(e)?new oe(e):z(e)?new re(e):void 0}function pe(e,t,n,r){var o=e._cache;if(o){for(var a=o.length-1,i=0;i<=a;i++){var s=o[n?a-i:i];if(!1===t(s[1],r?s[0]:i,e))return i+1}return i}return e.__iterateUncached(t,n)}function fe(e,t,n,r){var o=e._cache;if(o){var a=o.length-1,i=0;return new F((function(){var e=o[n?a-i:i];return i++>a?q():U(t,r?e[0]:i-1,e[1])}))}return e.__iteratorUncached(t,n)}function he(e,t){return t?de(t,e,"",{"":e}):me(e)}function de(e,t,n,r){return Array.isArray(t)?e.call(r,n,Y(t).map((function(n,r){return de(e,n,r,t)}))):ve(t)?e.call(r,n,K(t).map((function(n,r){return de(e,n,r,t)}))):t}function me(e){return Array.isArray(e)?Y(e).map(me).toList():ve(e)?K(e).map(me).toMap():e}function ve(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ge(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0;if(!i(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||u(e)!==u(t)||l(e)!==l(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(l(e)){var r=e.entries();return t.every((function(e,t){var o=r.next().value;return o&&ge(o[1],e)&&(n||ge(o[0],t))}))&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var a=e;e=t,t=a}var p=!0,f=t.__iterate((function(t,r){if(n?!e.has(t):o?!ge(t,e.get(r,b)):!ge(e.get(r,b),t))return p=!1,!1}));return p&&e.size===f}function be(e,t){if(!(this instanceof be))return new be(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(X)return X;X=this}}function _e(e,t){if(!e)throw new Error(t)}function we(e,t,n){if(!(this instanceof we))return new we(e,t,n);if(_e(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),tr?q():U(e,o,n[t?r-o++:o++])}))},t(ne,K),ne.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ne.prototype.has=function(e){return this._object.hasOwnProperty(e)},ne.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length-1,a=0;a<=o;a++){var i=r[t?o-a:a];if(!1===e(n[i],i,this))return a+1}return a},ne.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,a=0;return new F((function(){var i=r[t?o-a:a];return a++>o?q():U(e,i,n[i])}))},ne.prototype[d]=!0,t(re,Y),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=W(this._iterable),r=0;if(V(n))for(var o;!(o=n.next()).done&&!1!==e(o.value,r++,this););return r},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=W(this._iterable);if(!V(n))return new F(q);var r=0;return new F((function(){var t=n.next();return t.done?t:U(e,r++,t.value)}))},t(oe,Y),oe.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,o=this._iteratorCache,a=0;a=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return U(e,o,r[o++])}))},t(be,Y),be.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},be.prototype.get=function(e,t){return this.has(e)?this._value:t},be.prototype.includes=function(e){return ge(this._value,e)},be.prototype.slice=function(e,t){var n=this.size;return j(e,t,n)?this:new be(this._value,I(t,n)-T(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return ge(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return ge(this._value,e)?this.size:-1},be.prototype.__iterate=function(e,t){for(var n=0;n=0&&t=0&&nn?q():U(e,a++,i)}))},we.prototype.equals=function(e){return e instanceof we?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(xe,n),t(Ee,xe),t(Se,xe),t(Ce,xe),xe.Keyed=Ee,xe.Indexed=Se,xe.Set=Ce;var Ae="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function Oe(e){return e>>>1&1073741824|3221225471&e}function ke(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){if(e!=e||e===1/0)return 0;var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Oe(n)}if("string"===t)return e.length>Fe?je(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Ie(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function je(e){var t=ze[e];return void 0===t&&(t=Te(e),qe===Ue&&(qe=0,ze={}),qe++,ze[e]=t),t}function Te(e){for(var t=0,n=0;n0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Re,De="function"==typeof WeakMap;De&&(Re=new WeakMap);var Le=0,Be="__immutablehash__";"function"==typeof Symbol&&(Be=Symbol(Be));var Fe=16,Ue=255,qe=0,ze={};function Ve(e){_e(e!==1/0,"Cannot perform this action with an infinite size.")}function We(e){return null==e?ot():He(e)&&!l(e)?e:ot().withMutations((function(t){var n=r(e);Ve(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function He(e){return!(!e||!e[Je])}t(We,Ee),We.of=function(){var t=e.call(arguments,0);return ot().withMutations((function(e){for(var n=0;n=t.length)throw new Error("Missing value for key: "+t[n]);e.set(t[n],t[n+1])}}))},We.prototype.toString=function(){return this.__toString("Map {","}")},We.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},We.prototype.set=function(e,t){return at(this,e,t)},We.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},We.prototype.remove=function(e){return at(this,e,b)},We.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},We.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},We.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=vt(this,xn(e),t,n);return r===b?void 0:r},We.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):ot()},We.prototype.merge=function(){return ft(this,void 0,arguments)},We.prototype.mergeWith=function(t){return ft(this,t,e.call(arguments,1))},We.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,ot(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},We.prototype.mergeDeep=function(){return ft(this,ht,arguments)},We.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ft(this,dt(t),n)},We.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,ot(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},We.prototype.sort=function(e){return zt(pn(this,e))},We.prototype.sortBy=function(e,t){return zt(pn(this,t,e))},We.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},We.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new S)},We.prototype.asImmutable=function(){return this.__ensureOwner()},We.prototype.wasAltered=function(){return this.__altered},We.prototype.__iterator=function(e,t){return new et(this,e,t)},We.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},We.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?rt(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},We.isMap=He;var $e,Je="@@__IMMUTABLE_MAP__@@",Ke=We.prototype;function Ye(e,t){this.ownerID=e,this.entries=t}function Ge(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Ze(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Xe(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Qe(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return U(e,t[0],t[1])}function nt(e,t){return{node:e,index:0,__prev:t}}function rt(e,t,n,r){var o=Object.create(Ke);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function ot(){return $e||($e=rt(0))}function at(e,t,n){var r,o;if(e._root){var a=x(_),i=x(w);if(r=it(e._root,e.__ownerID,0,void 0,t,n,a,i),!i.value)return e;o=e.size+(a.value?n===b?-1:1:0)}else{if(n===b)return e;o=1,r=new Ye(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=o,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?rt(o,r):ot()}function it(e,t,n,r,o,a,i,s){return e?e.update(t,n,r,o,a,i,s):a===b?e:(E(s),E(i),new Qe(t,r,[o,a]))}function st(e){return e.constructor===Qe||e.constructor===Xe}function ut(e,t,n,r,o){if(e.keyHash===r)return new Xe(t,r,[e.entry,o]);var a,i=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?r:r>>>n)&y;return new Ge(t,1<>>=1)i[s]=1&n?t[a++]:void 0;return i[r]=o,new Ze(e,a+1,i)}function ft(e,t,n){for(var o=[],a=0;a>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function yt(e,t,n,r){var o=r?e:C(e);return o[t]=n,o}function bt(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var a=new Array(o),i=0,s=0;s=wt)return ct(e,u,r,o);var f=e&&e===this.ownerID,h=f?u:C(u);return p?s?c===l-1?h.pop():h[c]=h.pop():h[c]=[r,o]:h.push([r,o]),f?(this.entries=h,this):new Ye(e,h)}},Ge.prototype.get=function(e,t,n,r){void 0===t&&(t=ke(n));var o=1<<((0===e?t:t>>>e)&y),a=this.bitmap;return 0==(a&o)?r:this.nodes[gt(a&o-1)].get(e+v,t,n,r)},Ge.prototype.update=function(e,t,n,r,o,a,i){void 0===n&&(n=ke(r));var s=(0===t?n:n>>>t)&y,u=1<=xt)return pt(e,f,c,s,d);if(l&&!d&&2===f.length&&st(f[1^p]))return f[1^p];if(l&&d&&1===f.length&&st(d))return d;var m=e&&e===this.ownerID,g=l?d?c:c^u:c|u,_=l?d?yt(f,p,d,m):_t(f,p,m):bt(f,p,d,m);return m?(this.bitmap=g,this.nodes=_,this):new Ge(e,g,_)},Ze.prototype.get=function(e,t,n,r){void 0===t&&(t=ke(n));var o=(0===e?t:t>>>e)&y,a=this.nodes[o];return a?a.get(e+v,t,n,r):r},Ze.prototype.update=function(e,t,n,r,o,a,i){void 0===n&&(n=ke(r));var s=(0===t?n:n>>>t)&y,u=o===b,c=this.nodes,l=c[s];if(u&&!l)return this;var p=it(l,e,t+v,n,r,o,a,i);if(p===l)return this;var f=this.count;if(l){if(!p&&--f0&&r=0&&e>>t&y;if(r>=this.array.length)return new kt([],e);var o,a=0===r;if(t>0){var i=this.array[r];if((o=i&&i.removeBefore(e,t-v,n))===i&&a)return this}if(a&&!o)return this;var s=Lt(this,e);if(!a)for(var u=0;u>>t&y;if(o>=this.array.length)return this;if(t>0){var a=this.array[o];if((r=a&&a.removeAfter(e,t-v,n))===a&&o===this.array.length-1)return this}var i=Lt(this,e);return i.array.splice(o+1),r&&(i.array[o]=r),i};var jt,Tt,It={};function Pt(e,t){var n=e._origin,r=e._capacity,o=qt(r),a=e._tail;return i(e._root,e._level,0);function i(e,t,n){return 0===t?s(e,n):u(e,t,n)}function s(e,i){var s=i===o?a&&a.array:e&&e.array,u=i>n?0:n-i,c=r-i;return c>g&&(c=g),function(){if(u===c)return It;var e=t?--c:u++;return s&&s[e]}}function u(e,o,a){var s,u=e&&e.array,c=a>n?0:n-a>>o,l=1+(r-a>>o);return l>g&&(l=g),function(){for(;;){if(s){var e=s();if(e!==It)return e;s=null}if(c===l)return It;var n=t?--l:c++;s=i(u&&u[n],o-v,a+(n<=e.size||t<0)return e.withMutations((function(e){t<0?Ft(e,t).set(0,n):Ft(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,o=e._root,a=x(w);return t>=qt(e._capacity)?r=Dt(r,e.__ownerID,0,t,n,a):o=Dt(o,e.__ownerID,e._level,t,n,a),a.value?e.__ownerID?(e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e):Nt(e._origin,e._capacity,e._level,o,r):e}function Dt(e,t,n,r,o,a){var i,s=r>>>n&y,u=e&&s0){var c=e&&e.array[s],l=Dt(c,t,n-v,r,o,a);return l===c?e:((i=Lt(e,t)).array[s]=l,i)}return u&&e.array[s]===o?e:(E(a),i=Lt(e,t),void 0===o&&s===i.array.length-1?i.array.pop():i.array[s]=o,i)}function Lt(e,t){return t&&e&&t===e.ownerID?e:new kt(e?e.array.slice():[],t)}function Bt(e,t){if(t>=qt(e._capacity))return e._tail;if(t<1<0;)n=n.array[t>>>r&y],r-=v;return n}}function Ft(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new S,o=e._origin,a=e._capacity,i=o+t,s=void 0===n?a:n<0?a+n:o+n;if(i===o&&s===a)return e;if(i>=s)return e.clear();for(var u=e._level,c=e._root,l=0;i+l<0;)c=new kt(c&&c.array.length?[void 0,c]:[],r),l+=1<<(u+=v);l&&(i+=l,o+=l,s+=l,a+=l);for(var p=qt(a),f=qt(s);f>=1<p?new kt([],r):h;if(h&&f>p&&iv;g-=v){var b=p>>>g&y;m=m.array[b]=Lt(m.array[b],r)}m.array[p>>>v&y]=h}if(s=f)i-=f,s-=f,u=v,c=null,d=d&&d.removeBefore(r,0,i);else if(i>o||f>>u&y;if(_!==f>>>u&y)break;_&&(l+=(1<o&&(c=c.removeBefore(r,u,i-l)),c&&fa&&(a=c.size),i(u)||(c=c.map((function(e){return he(e)}))),r.push(c)}return a>e.size&&(e=e.setSize(a)),mt(e,t,r)}function qt(e){return e>>v<=g&&i.size>=2*a.size?(r=(o=i.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=a.remove(t),o=s===i.size-1?i.pop():i.set(s,void 0))}else if(u){if(n===i.get(s)[1])return e;r=a,o=i.set(s,[t,n])}else r=a.set(t,i.size),o=i.set(i.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):Wt(r,o)}function Jt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Kt(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Gt(e){this._iter=e,this.size=e.size}function Zt(e){var t=bn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=_n,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(t===R){var r=e.__iterator(t,n);return new F((function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===M?N:M,n)},t}function Xt(e,t,n){var r=bn(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var a=e.get(r,b);return a===b?o:t.call(n,a,r,e)},r.__iterateUncached=function(r,o){var a=this;return e.__iterate((function(e,o,i){return!1!==r(t.call(n,e,o,i),o,a)}),o)},r.__iteratorUncached=function(r,o){var a=e.__iterator(R,o);return new F((function(){var o=a.next();if(o.done)return o;var i=o.value,s=i[0];return U(r,s,t.call(n,i[1],s,e),o)}))},r}function Qt(e,t){var n=bn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Zt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=_n,n.__iterate=function(t,n){var r=this;return e.__iterate((function(e,n){return t(e,n,r)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,r){var o=bn(e);return r&&(o.has=function(r){var o=e.get(r,b);return o!==b&&!!t.call(n,o,r,e)},o.get=function(r,o){var a=e.get(r,b);return a!==b&&t.call(n,a,r,e)?a:o}),o.__iterateUncached=function(o,a){var i=this,s=0;return e.__iterate((function(e,a,u){if(t.call(n,e,a,u))return s++,o(e,r?a:s-1,i)}),a),s},o.__iteratorUncached=function(o,a){var i=e.__iterator(R,a),s=0;return new F((function(){for(;;){var a=i.next();if(a.done)return a;var u=a.value,c=u[0],l=u[1];if(t.call(n,l,c,e))return U(o,r?c:s++,l,a)}}))},o}function tn(e,t,n){var r=We().asMutable();return e.__iterate((function(o,a){r.update(t.call(n,o,a,e),0,(function(e){return e+1}))})),r.asImmutable()}function nn(e,t,n){var r=s(e),o=(l(e)?zt():We()).asMutable();e.__iterate((function(a,i){o.update(t.call(n,a,i,e),(function(e){return(e=e||[]).push(r?[i,a]:a),e}))}));var a=yn(e);return o.map((function(t){return mn(e,a(t))}))}function rn(e,t,n,r){var o=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n===1/0?n=o:n|=0),j(t,n,o))return e;var a=T(t,o),i=I(n,o);if(a!=a||i!=i)return rn(e.toSeq().cacheResult(),t,n,r);var s,u=i-a;u==u&&(s=u<0?0:u);var c=bn(e);return c.size=0===s?s:e.size&&s||void 0,!r&&ae(e)&&s>=0&&(c.get=function(t,n){return(t=O(this,t))>=0&&ts)return q();var e=o.next();return r||t===M?e:U(t,u-1,t===N?void 0:e.value[1],e)}))},c}function on(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var i=0;return e.__iterate((function(e,o,s){return t.call(n,e,o,s)&&++i&&r(e,o,a)})),i},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var i=e.__iterator(R,o),s=!0;return new F((function(){if(!s)return q();var e=i.next();if(e.done)return e;var o=e.value,u=o[0],c=o[1];return t.call(n,c,u,a)?r===R?e:U(r,u,c,e):(s=!1,q())}))},r}function an(e,t,n,r){var o=bn(e);return o.__iterateUncached=function(o,a){var i=this;if(a)return this.cacheResult().__iterate(o,a);var s=!0,u=0;return e.__iterate((function(e,a,c){if(!s||!(s=t.call(n,e,a,c)))return u++,o(e,r?a:u-1,i)})),u},o.__iteratorUncached=function(o,a){var i=this;if(a)return this.cacheResult().__iterator(o,a);var s=e.__iterator(R,a),u=!0,c=0;return new F((function(){var e,a,l;do{if((e=s.next()).done)return r||o===M?e:U(o,c++,o===N?void 0:e.value[1],e);var p=e.value;a=p[0],l=p[1],u&&(u=t.call(n,l,a,i))}while(u);return o===R?e:U(o,a,l,e)}))},o}function sn(e,t){var n=s(e),o=[e].concat(t).map((function(e){return i(e)?n&&(e=r(e)):e=n?se(e):ue(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===o.length)return e;if(1===o.length){var a=o[0];if(a===e||n&&s(a)||u(e)&&u(a))return a}var c=new te(o);return n?c=c.toKeyedSeq():u(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=o.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function un(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,o){var a=0,s=!1;function u(e,c){var l=this;e.__iterate((function(e,o){return(!t||c0}function dn(e,t,r){var o=bn(e);return o.size=new te(r).map((function(e){return e.size})).min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(M,t),o=0;!(n=r.next()).done&&!1!==e(n.value,o++,this););return o},o.__iteratorUncached=function(e,o){var a=r.map((function(e){return e=n(e),W(o?e.reverse():e)})),i=0,s=!1;return new F((function(){var n;return s||(n=a.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?q():U(e,i++,t.apply(null,n.map((function(e){return e.value}))))}))},o}function mn(e,t){return ae(e)?t:e.constructor(t)}function vn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function gn(e){return Ve(e.size),A(e)}function yn(e){return s(e)?r:u(e)?o:a}function bn(e){return Object.create((s(e)?K:u(e)?Y:G).prototype)}function _n(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):J.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Kn(e,t)},Vn.prototype.pushAll=function(e){if(0===(e=o(e)).size)return this;Ve(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Kn(t,n)},Vn.prototype.pop=function(){return this.slice(1)},Vn.prototype.unshift=function(){return this.push.apply(this,arguments)},Vn.prototype.unshiftAll=function(e){return this.pushAll(e)},Vn.prototype.shift=function(){return this.pop.apply(this,arguments)},Vn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Yn()},Vn.prototype.slice=function(e,t){if(j(e,t,this.size))return this;var n=T(e,this.size);if(I(t,this.size)!==this.size)return Se.prototype.slice.call(this,e,t);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):Kn(r,o)},Vn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Kn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Vn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},Vn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new F((function(){if(r){var t=r.value;return r=r.next,U(e,n++,t)}return q()}))},Vn.isStack=Wn;var Hn,$n="@@__IMMUTABLE_STACK__@@",Jn=Vn.prototype;function Kn(e,t,n,r){var o=Object.create(Jn);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Yn(){return Hn||(Hn=Kn(0))}function Gn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Jn[$n]=!0,Jn.withMutations=Ke.withMutations,Jn.asMutable=Ke.asMutable,Jn.asImmutable=Ke.asImmutable,Jn.wasAltered=Ke.wasAltered,n.Iterator=F,Gn(n,{toArray:function(){Ve(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Kt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Jt(this,!0)},toMap:function(){return We(this.toKeyedSeq())},toObject:function(){Ve(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return zt(this.toKeyedSeq())},toOrderedSet:function(){return Ln(s(this)?this.valueSeq():this)},toSet:function(){return jn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Yt(this)},toSeq:function(){return u(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Vn(s(this)?this.valueSeq():this)},toList:function(){return St(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ge(t,e)}))},entries:function(){return this.__iterator(R)},every:function(e,t){Ve(this.size);var n=!0;return this.__iterate((function(r,o,a){if(!e.call(t,r,o,a))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},forEach:function(e,t){return Ve(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ve(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(N)},map:function(e,t){return mn(this,Xt(this,e,t))},reduce:function(e,t,n){var r,o;return Ve(this.size),arguments.length<2?o=!0:r=t,this.__iterate((function(t,a,i){o?(o=!1,r=t):r=e.call(n,r,t,a,i)})),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return mn(this,Qt(this,!0))},slice:function(e,t){return mn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(tr(e),t)},sort:function(e){return mn(this,pn(this,e))},values:function(){return this.__iterator(M)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return A(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ye(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(er).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(tr(e),t)},findEntry:function(e,t,n){var r=n;return this.__iterate((function(n,o,a){if(e.call(t,n,o,a))return r=[o,n],!1})),r},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(){return this.find(k)},flatMap:function(e,t){return mn(this,cn(this,e,t))},flatten:function(e){return mn(this,un(this,e,!0))},fromEntrySeq:function(){return new Gt(this)},get:function(e,t){return this.find((function(t,n){return ge(n,e)}),void 0,t)},getIn:function(e,t){for(var n,r=this,o=xn(e);!(n=o.next()).done;){var a=n.value;if((r=r&&r.get?r.get(a,b):b)===b)return t}return r},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,b)!==b},hasIn:function(e){return this.getIn(e,b)!==b},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return ge(t,e)}))},keySeq:function(){return this.toSeq().map(Qn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return fn(this,e)},maxBy:function(e,t){return fn(this,t,e)},min:function(e){return fn(this,e?nr(e):ar)},minBy:function(e,t){return fn(this,t?nr(t):ar,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return mn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return mn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(tr(e),t)},sortBy:function(e,t){return mn(this,pn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(tr(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ir(this))}});var Zn=n.prototype;Zn[p]=!0,Zn[B]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=rr,Zn.inspect=Zn.toSource=function(){return this.toString()},Zn.chain=Zn.flatMap,Zn.contains=Zn.includes,Gn(r,{flip:function(){return mn(this,Zt(this))},mapEntries:function(e,t){var n=this,r=0;return mn(this,this.toSeq().map((function(o,a){return e.call(t,[a,o],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(r,o){return e.call(t,r,o,n)})).flip())}});var Xn=r.prototype;function Qn(e,t){return t}function er(e,t){return[t,e]}function tr(e){return function(){return!e.apply(this,arguments)}}function nr(e){return function(){return-e.apply(this,arguments)}}function rr(e){return"string"==typeof e?JSON.stringify(e):String(e)}function or(){return C(arguments)}function ar(e,t){return et?-1:0}function ir(e){if(e.size===1/0)return 0;var t=l(e),n=s(e),r=t?1:0;return sr(e.__iterate(n?t?function(e,t){r=31*r+ur(ke(e),ke(t))|0}:function(e,t){r=r+ur(ke(e),ke(t))|0}:t?function(e){r=31*r+ke(e)|0}:function(e){r=r+ke(e)|0}),r)}function sr(e,t){return t=Ae(t,3432918353),t=Ae(t<<15|t>>>-15,461845907),t=Ae(t<<13|t>>>-13,5),t=Ae((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Oe((t=Ae(t^t>>>13,3266489909))^t>>>16)}function ur(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Xn[f]=!0,Xn[B]=Zn.entries,Xn.__toJS=Zn.toObject,Xn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},Gn(o,{toKeyedSeq:function(){return new Jt(this,!1)},filter:function(e,t){return mn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return mn(this,Qt(this,!1))},slice:function(e,t){return mn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=T(e,e<0?this.count():this.size);var r=this.slice(0,e);return mn(this,1===n?r:r.concat(C(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(e){return mn(this,un(this,e,!1))},get:function(e,t){return(e=O(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=O(this,e))>=0&&(void 0!==this.size?this.size===1/0||e1)try{return decodeURIComponent(t[1])}catch(e){console.error(e)}return null}function Pe(e){return t=e.replace(/\.[^./]*$/,""),Y()(J()(t));var t}function Ne(e,t,n,r,a){if(!t)return[];var s=[],u=t.get("nullable"),c=t.get("required"),p=t.get("maximum"),h=t.get("minimum"),d=t.get("type"),m=t.get("format"),g=t.get("maxLength"),b=t.get("minLength"),w=t.get("uniqueItems"),x=t.get("maxItems"),E=t.get("minItems"),S=t.get("pattern"),C=n||!0===c,A=null!=e;if(u&&null===e||!d||!(C||A&&"array"===d||!(!C&&!A)))return[];var O="string"===d&&e,k="array"===d&&l()(e)&&e.length,j="array"===d&&W.a.List.isList(e)&&e.count(),T=[O,k,j,"array"===d&&"string"==typeof e&&e,"file"===d&&e instanceof se.a.File,"boolean"===d&&(e||!1===e),"number"===d&&(e||0===e),"integer"===d&&(e||0===e),"object"===d&&"object"===i()(e)&&null!==e,"object"===d&&"string"==typeof e&&e],I=P()(T).call(T,(function(e){return!!e}));if(C&&!I&&!r)return s.push("Required field is not provided"),s;if("object"===d&&(null===a||"application/json"===a)){var N,M=e;if("string"==typeof e)try{M=JSON.parse(e)}catch(e){return s.push("Parameter string value must be valid JSON"),s}if(t&&t.has("required")&&Ee(c.isList)&&c.isList()&&y()(c).call(c,(function(e){void 0===M[e]&&s.push({propKey:e,error:"Required property not found"})})),t&&t.has("properties"))y()(N=t.get("properties")).call(N,(function(e,t){var n=Ne(M[t],e,!1,r,a);s.push.apply(s,o()(f()(n).call(n,(function(e){return{propKey:t,error:e}}))))}))}if(S){var R=function(e,t){if(!new RegExp(t).test(e))return"Value must follow pattern "+t}(e,S);R&&s.push(R)}if(E&&"array"===d){var D=function(e,t){var n;if(!e&&t>=1||e&&e.lengtht)return v()(n="Array must not contain more then ".concat(t," item")).call(n,1===t?"":"s")}(e,x);L&&s.push({needRemove:!0,error:L})}if(w&&"array"===d){var B=function(e,t){if(e&&("true"===t||!0===t)){var n=Object(V.fromJS)(e),r=n.toSet();if(e.length>r.size){var o=Object(V.Set)();if(y()(n).call(n,(function(e,t){_()(n).call(n,(function(t){return Ee(t.equals)?t.equals(e):t===e})).size>1&&(o=o.add(t))})),0!==o.size)return f()(o).call(o,(function(e){return{index:e,error:"No duplicates allowed."}})).toArray()}}}(e,w);B&&s.push.apply(s,o()(B))}if(g||0===g){var F=function(e,t){var n;if(e.length>t)return v()(n="Value must be no longer than ".concat(t," character")).call(n,1!==t?"s":"")}(e,g);F&&s.push(F)}if(b){var U=function(e,t){var n;if(e.lengtht)return"Value must be less than ".concat(t)}(e,p);q&&s.push(q)}if(h||0===h){var z=function(e,t){if(e2&&void 0!==arguments[2]?arguments[2]:{},r=n.isOAS3,o=void 0!==r&&r,a=n.bypassRequiredCheck,i=void 0!==a&&a,s=e.get("required"),u=Object(le.a)(e,{isOAS3:o}),c=u.schema,l=u.parameterContentMediaType;return Ne(t,c,s,i,l)},Re=function(e,t,n){if(e&&(!e.xml||!e.xml.name)){if(e.xml=e.xml||{},!e.$$ref)return e.type||e.items||e.properties||e.additionalProperties?'\n\x3c!-- XML example cannot be generated; root element name is undefined --\x3e':null;var r=e.$$ref.match(/\S*\/(\S+)$/);e.xml.name=r[1]}return Object(ie.memoizedCreateXMLExample)(e,t,n)},De=[{when:/json/,shouldStringifyTypes:["string"]}],Le=["object"],Be=function(e,t,n,r){var a=Object(ie.memoizedSampleFromSchema)(e,t,r),s=i()(a),u=S()(De).call(De,(function(e,t){var r;return t.when.test(n)?v()(r=[]).call(r,o()(e),o()(t.shouldStringifyTypes)):e}),Le);return te()(u,(function(e){return e===s}))?M()(a,null,2):a},Fe=function(e,t,n,r){var o,a=Be(e,t,n,r);try{"\n"===(o=me.a.dump(me.a.load(a),{lineWidth:-1}))[o.length-1]&&(o=T()(o).call(o,0,o.length-1))}catch(e){return console.error(e),"error: could not generate yaml example"}return o.replace(/\t/g," ")},Ue=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;return e&&Ee(e.toJS)&&(e=e.toJS()),r&&Ee(r.toJS)&&(r=r.toJS()),/xml/.test(t)?Re(e,n,r):/(yaml|yml)/.test(t)?Fe(e,n,t,r):Be(e,n,t,r)},qe=function(){var e={},t=se.a.location.search;if(!t)return{};if(""!=t){var n=t.substr(1).split("&");for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(r=n[r].split("="),e[decodeURIComponent(r[0])]=r[1]&&decodeURIComponent(r[1])||"")}return e},ze=function(t){return(t instanceof e?t:e.from(t.toString(),"utf-8")).toString("base64")},Ve={operationsSorter:{alpha:function(e,t){return e.get("path").localeCompare(t.get("path"))},method:function(e,t){return e.get("method").localeCompare(t.get("method"))}},tagsSorter:{alpha:function(e,t){return e.localeCompare(t)}}},We=function(e){var t=[];for(var n in e){var r=e[n];void 0!==r&&""!==r&&t.push([n,"=",encodeURIComponent(r).replace(/%20/g,"+")].join(""))}return t.join("&")},He=function(e,t,n){return!!Q()(n,(function(n){return re()(e[n],t[n])}))};function $e(e){return"string"!=typeof e||""===e?"":Object(H.sanitizeUrl)(e)}function Je(e){return!(!e||D()(e).call(e,"localhost")>=0||D()(e).call(e,"127.0.0.1")>=0||"none"===e)}function Ke(e){if(!W.a.OrderedMap.isOrderedMap(e))return null;if(!e.size)return null;var t=B()(e).call(e,(function(e,t){return U()(t).call(t,"2")&&x()(e.get("content")||{}).length>0})),n=e.get("default")||W.a.OrderedMap(),r=(n.get("content")||W.a.OrderedMap()).keySeq().toJS().length?n:null;return t||r}var Ye=function(e){return"string"==typeof e||e instanceof String?z()(e).call(e).replace(/\s/g,"%20"):""},Ge=function(e){return ce()(Ye(e).replace(/%20/g,"_"))},Ze=function(e){return _()(e).call(e,(function(e,t){return/^x-/.test(t)}))},Xe=function(e){return _()(e).call(e,(function(e,t){return/^pattern|maxLength|minLength|maximum|minimum/.test(t)}))};function Qe(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return!0};if("object"!==i()(e)||l()(e)||null===e||!t)return e;var o=A()({},e);return y()(n=x()(o)).call(n,(function(e){e===t&&r(o[e],e)?delete o[e]:o[e]=Qe(o[e],t,r)})),o}function et(e){if("string"==typeof e)return e;if(e&&e.toJS&&(e=e.toJS()),"object"===i()(e)&&null!==e)try{return M()(e,null,2)}catch(t){return String(e)}return null==e?"":e.toString()}function tt(e){return"number"==typeof e?e.toString():e}function nt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.returnAll,r=void 0!==n&&n,o=t.allowHashes,a=void 0===o||o;if(!W.a.Map.isMap(e))throw new Error("paramToIdentifier: received a non-Im.Map parameter as input");var i,s,u,c=e.get("name"),l=e.get("in"),p=[];e&&e.hashCode&&l&&c&&a&&p.push(v()(i=v()(s="".concat(l,".")).call(s,c,".hash-")).call(i,e.hashCode()));l&&c&&p.push(v()(u="".concat(l,".")).call(u,c));return p.push(c),r?p:p[0]||""}function rt(e,t){var n,r=nt(e,{returnAll:!0});return _()(n=f()(r).call(r,(function(e){return t[e]}))).call(n,(function(e){return void 0!==e}))[0]}function ot(){return it(fe()(32).toString("base64"))}function at(e){return it(de()("sha256").update(e).digest("base64"))}function it(e){return e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}var st=function(e){return!e||!(!ge(e)||!e.isEmpty())}}).call(this,n(132).Buffer)},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(238);function o(e,t){for(var n=0;n1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:r,n=null,a=null;return function(){return o(t,n,arguments)||(a=e.apply(null,arguments)),n=arguments,a}}))},function(e,t,n){e.exports=n(659)},function(e,t,n){var r=n(177),o=n(563);function a(t){return"function"==typeof r&&"symbol"==typeof o?(e.exports=a=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=a=function(e){return e&&"function"==typeof r&&e.constructor===r&&e!==r.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),a(t)}e.exports=a,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){e.exports=n(589)},function(e,t,n){e.exports=n(587)},function(e,t,n){e.exports=n(400)},function(e,t,n){"use strict";var r=n(40),o=n(127).f,a=n(361),i=n(33),s=n(109),u=n(67),c=n(55),l=function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,p,f,h,d,m,v,g,y=e.target,b=e.global,_=e.stat,w=e.proto,x=b?r:_?r[y]:(r[y]||{}).prototype,E=b?i:i[y]||(i[y]={}),S=E.prototype;for(f in t)n=!a(b?f:y+(_?".":"#")+f,e.forced)&&x&&c(x,f),d=E[f],n&&(m=e.noTargetGet?(g=o(x,f))&&g.value:x[f]),h=n&&m?m:t[f],n&&typeof d==typeof h||(v=e.bind&&n?s(h,r):e.wrap&&n?l(h):w&&"function"==typeof h?s(Function.call,h):h,(e.sham||h&&h.sham||d&&d.sham)&&u(v,"sham",!0),E[f]=v,w&&(c(i,p=y+"Prototype")||u(i,p,{}),i[p][f]=h,e.real&&S&&!S[f]&&u(S,f,h)))}},function(e,t,n){e.exports=n(592)},function(e,t,n){var r=n(444),o=n(445),a=n(849),i=n(851),s=n(855),u=n(857),c=n(862),l=n(238),p=n(3);function f(e,t){var n=r(e);if(o){var s=o(e);t&&(s=a(s).call(s,(function(t){return i(e,t).enumerable}))),n.push.apply(n,s)}return n}e.exports=function(e){for(var t=1;t>",i=function(){invariant(!1,"ImmutablePropTypes type checking code is stripped in production.")};i.isRequired=i;var s=function(){return i};function u(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":e instanceof o.Iterable?"Immutable."+e.toSource().split(" ")[0]:t}function c(e){function t(t,n,r,o,i,s){for(var u=arguments.length,c=Array(u>6?u-6:0),l=6;l4)}function l(e){var t=e.get("swagger");return"string"==typeof t&&i()(t).call(t,"2.0")}function p(e){return function(t,n){return function(r){return n&&n.specSelectors&&n.specSelectors.specJson?c(n.specSelectors.specJson())?u.a.createElement(e,o()({},r,n,{Ori:t})):u.a.createElement(t,r):(console.warn("OAS3 wrapper: couldn't get spec"),null)}}}},function(e,t,n){e.exports=n(583)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,u=i(e),c=1;c0){var o=v()(n).call(n,(function(e){return console.error(e),e.line=e.fullPath?_(w,e.fullPath):null,e.path=e.fullPath?e.fullPath.join("."):null,e.level="error",e.type="thrown",e.source="resolver",y()(e,"message",{enumerable:!0,value:e.message}),e}));a.newThrownErrBatch(o)}return r.updateResolved(t)}))}},Se=[],Ce=Y()(u()(f.a.mark((function e(){var t,n,r,o,a,i,s,c,l,p,h,m,g,b,w,E,C,O;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=Se.system){e.next=4;break}return console.error("debResolveSubtrees: don't have a system to operate on, aborting."),e.abrupt("return");case 4:if(n=t.errActions,r=t.errSelectors,o=t.fn,a=o.resolveSubtree,i=o.fetch,s=o.AST,c=void 0===s?{}:s,l=t.specSelectors,p=t.specActions,a){e.next=8;break}return console.error("Error: Swagger-Client did not provide a `resolveSubtree` method, doing nothing."),e.abrupt("return");case 8:return h=c.getLineNumberForPath?c.getLineNumberForPath:function(){},m=l.specStr(),g=t.getConfigs(),b=g.modelPropertyMacro,w=g.parameterMacro,E=g.requestInterceptor,C=g.responseInterceptor,e.prev=11,e.next=14,_()(Se).call(Se,function(){var e=u()(f.a.mark((function e(t,o){var s,c,p,g,_,O,j,T,I;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t;case 2:return s=e.sent,c=s.resultMap,p=s.specWithCurrentSubtrees,e.next=7,a(p,o,{baseDoc:l.url(),modelPropertyMacro:b,parameterMacro:w,requestInterceptor:E,responseInterceptor:C});case 7:if(g=e.sent,_=g.errors,O=g.spec,r.allErrors().size&&n.clearBy((function(e){var t;return"thrown"!==e.get("type")||"resolver"!==e.get("source")||!x()(t=e.get("fullPath")).call(t,(function(e,t){return e===o[t]||void 0===o[t]}))})),d()(_)&&_.length>0&&(j=v()(_).call(_,(function(e){return e.line=e.fullPath?h(m,e.fullPath):null,e.path=e.fullPath?e.fullPath.join("."):null,e.level="error",e.type="thrown",e.source="resolver",y()(e,"message",{enumerable:!0,value:e.message}),e})),n.newThrownErrBatch(j)),!O||!l.isOAS3()||"components"!==o[0]||"securitySchemes"!==o[1]){e.next=15;break}return e.next=15,S.a.all(v()(T=A()(I=k()(O)).call(I,(function(e){return"openIdConnect"===e.type}))).call(T,function(){var e=u()(f.a.mark((function e(t){var n,r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={url:t.openIdConnectUrl,requestInterceptor:E,responseInterceptor:C},e.prev=1,e.next=4,i(n);case 4:(r=e.sent)instanceof Error||r.status>=400?console.error(r.statusText+" "+n.url):t.openIdConnectData=JSON.parse(r.text),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),console.error(e.t0);case 11:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(t){return e.apply(this,arguments)}}()));case 15:return Z()(c,o,O),Z()(p,o,O),e.abrupt("return",{resultMap:c,specWithCurrentSubtrees:p});case 18:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),S.a.resolve({resultMap:(l.specResolvedSubtree([])||Object(z.Map)()).toJS(),specWithCurrentSubtrees:l.specJson().toJS()}));case 14:O=e.sent,delete Se.system,Se=[],e.next=22;break;case 19:e.prev=19,e.t0=e.catch(11),console.error(e.t0);case 22:p.updateResolvedSubtree([],O.resultMap);case 23:case"end":return e.stop()}}),e,null,[[11,19]])}))),35),Ae=function(e){return function(t){var n;T()(n=v()(Se).call(Se,(function(e){return e.join("@@")}))).call(n,e.join("@@"))>-1||(Se.push(e),Se.system=t,Ce())}};function Oe(e,t,n,r,o){return{type:re,payload:{path:e,value:r,paramName:t,paramIn:n,isXml:o}}}function ke(e,t,n,r){return{type:re,payload:{path:e,param:t,value:n,isXml:r}}}var je=function(e,t){return{type:me,payload:{path:e,value:t}}},Te=function(){return{type:me,payload:{path:[],value:Object(z.Map)()}}},Ie=function(e,t){return{type:ae,payload:{pathMethod:e,isOAS3:t}}},Pe=function(e,t,n,r){return{type:oe,payload:{pathMethod:e,paramName:t,paramIn:n,includeEmptyValue:r}}};function Ne(e){return{type:fe,payload:{pathMethod:e}}}function Me(e,t){return{type:he,payload:{path:e,value:t,key:"consumes_value"}}}function Re(e,t){return{type:he,payload:{path:e,value:t,key:"produces_value"}}}var De=function(e,t,n){return{payload:{path:e,method:t,res:n},type:ie}},Le=function(e,t,n){return{payload:{path:e,method:t,req:n},type:se}},Be=function(e,t,n){return{payload:{path:e,method:t,req:n},type:ue}},Fe=function(e){return{payload:e,type:ce}},Ue=function(e){return function(t){var n,r,o=t.fn,a=t.specActions,i=t.specSelectors,s=t.getConfigs,c=t.oas3Selectors,l=e.pathName,p=e.method,h=e.operation,m=s(),g=m.requestInterceptor,y=m.responseInterceptor,b=h.toJS();h&&h.get("parameters")&&P()(n=A()(r=h.get("parameters")).call(r,(function(e){return e&&!0===e.get("allowEmptyValue")}))).call(n,(function(t){if(i.parameterInclusionSettingFor([l,p],t.get("name"),t.get("in"))){e.parameters=e.parameters||{};var n=Object(X.B)(t,e.parameters);(!n||n&&0===n.size)&&(e.parameters[t.get("name")]="")}}));if(e.contextUrl=W()(i.url()).toString(),b&&b.operationId?e.operationId=b.operationId:b&&l&&p&&(e.operationId=o.opId(b,l,p)),i.isOAS3()){var _,w=M()(_="".concat(l,":")).call(_,p);e.server=c.selectedServer(w)||c.selectedServer();var x=c.serverVariables({server:e.server,namespace:w}).toJS(),E=c.serverVariables({server:e.server}).toJS();e.serverVariables=D()(x).length?x:E,e.requestContentType=c.requestContentType(l,p),e.responseContentType=c.responseContentType(l,p)||"*/*";var S,C=c.requestBodyValue(l,p),O=c.requestBodyInclusionSetting(l,p);if(C&&C.toJS)e.requestBody=A()(S=v()(C).call(C,(function(e){return z.Map.isMap(e)?e.get("value"):e}))).call(S,(function(e,t){return(d()(e)?0!==e.length:!Object(X.q)(e))||O.get(t)})).toJS();else e.requestBody=C}var k=B()({},e);k=o.buildRequest(k),a.setRequest(e.pathName,e.method,k);var j=function(){var t=u()(f.a.mark((function t(n){var r,o;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g.apply(undefined,[n]);case 2:return r=t.sent,o=B()({},r),a.setMutatedRequest(e.pathName,e.method,o),t.abrupt("return",r);case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();e.requestInterceptor=j,e.responseInterceptor=y;var T=U()();return o.execute(e).then((function(t){t.duration=U()()-T,a.setResponse(e.pathName,e.method,t)})).catch((function(t){"Failed to fetch"===t.message&&(t.name="",t.message='**Failed to fetch.** \n**Possible Reasons:** \n - CORS \n - Network Failure \n - URL scheme must be "http" or "https" for CORS request.'),a.setResponse(e.pathName,e.method,{error:!0,err:Object(H.serializeError)(t)})}))}},qe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.path,n=e.method,r=i()(e,Q);return function(e){var a=e.fn.fetch,i=e.specSelectors,s=e.specActions,u=i.specJsonWithResolvedSubtrees().toJS(),c=i.operationScheme(t,n),l=i.contentTypeValues([t,n]).toJS(),p=l.requestContentType,f=l.responseContentType,h=/xml/i.test(p),d=i.parameterValues([t,n],h).toJS();return s.executeRequest(o()(o()({},r),{},{fetch:a,spec:u,pathName:t,method:n,parameters:d,requestContentType:p,scheme:c,responseContentType:f}))}};function ze(e,t){return{type:le,payload:{path:e,method:t}}}function Ve(e,t){return{type:pe,payload:{path:e,method:t}}}function We(e,t,n){return{type:ve,payload:{scheme:e,path:t,method:n}}}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(37);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,n){var r=n(177),o=n(241),a=n(240),i=n(187);e.exports=function(e,t){var n=void 0!==r&&o(e)||e["@@iterator"];if(!n){if(a(e)||(n=i(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var s=0,u=function(){};return{s:u,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(e){throw e},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,l=!0,p=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){p=!0,c=e},f:function(){try{l||null==n.return||n.return()}finally{if(p)throw c}}}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";n.r(t),n.d(t,"UPDATE_SELECTED_SERVER",(function(){return r})),n.d(t,"UPDATE_REQUEST_BODY_VALUE",(function(){return o})),n.d(t,"UPDATE_REQUEST_BODY_VALUE_RETAIN_FLAG",(function(){return a})),n.d(t,"UPDATE_REQUEST_BODY_INCLUSION",(function(){return i})),n.d(t,"UPDATE_ACTIVE_EXAMPLES_MEMBER",(function(){return s})),n.d(t,"UPDATE_REQUEST_CONTENT_TYPE",(function(){return u})),n.d(t,"UPDATE_RESPONSE_CONTENT_TYPE",(function(){return c})),n.d(t,"UPDATE_SERVER_VARIABLE_VALUE",(function(){return l})),n.d(t,"SET_REQUEST_BODY_VALIDATE_ERROR",(function(){return p})),n.d(t,"CLEAR_REQUEST_BODY_VALIDATE_ERROR",(function(){return f})),n.d(t,"CLEAR_REQUEST_BODY_VALUE",(function(){return h})),n.d(t,"setSelectedServer",(function(){return d})),n.d(t,"setRequestBodyValue",(function(){return m})),n.d(t,"setRetainRequestBodyValueFlag",(function(){return v})),n.d(t,"setRequestBodyInclusion",(function(){return g})),n.d(t,"setActiveExamplesMember",(function(){return y})),n.d(t,"setRequestContentType",(function(){return b})),n.d(t,"setResponseContentType",(function(){return _})),n.d(t,"setServerVariableValue",(function(){return w})),n.d(t,"setRequestBodyValidateError",(function(){return x})),n.d(t,"clearRequestBodyValidateError",(function(){return E})),n.d(t,"initRequestBodyValidateError",(function(){return S})),n.d(t,"clearRequestBodyValue",(function(){return C}));var r="oas3_set_servers",o="oas3_set_request_body_value",a="oas3_set_request_body_retain_flag",i="oas3_set_request_body_inclusion",s="oas3_set_active_examples_member",u="oas3_set_request_content_type",c="oas3_set_response_content_type",l="oas3_set_server_variable_value",p="oas3_set_request_body_validate_error",f="oas3_clear_request_body_validate_error",h="oas3_clear_request_body_value";function d(e,t){return{type:r,payload:{selectedServerUrl:e,namespace:t}}}function m(e){var t=e.value,n=e.pathMethod;return{type:o,payload:{value:t,pathMethod:n}}}var v=function(e){var t=e.value,n=e.pathMethod;return{type:a,payload:{value:t,pathMethod:n}}};function g(e){var t=e.value,n=e.pathMethod,r=e.name;return{type:i,payload:{value:t,pathMethod:n,name:r}}}function y(e){var t=e.name,n=e.pathMethod,r=e.contextType,o=e.contextName;return{type:s,payload:{name:t,pathMethod:n,contextType:r,contextName:o}}}function b(e){var t=e.value,n=e.pathMethod;return{type:u,payload:{value:t,pathMethod:n}}}function _(e){var t=e.value,n=e.path,r=e.method;return{type:c,payload:{value:t,path:n,method:r}}}function w(e){var t=e.server,n=e.namespace,r=e.key,o=e.val;return{type:l,payload:{server:t,namespace:n,key:r,val:o}}}var x=function(e){var t=e.path,n=e.method,r=e.validationErrors;return{type:p,payload:{path:t,method:n,validationErrors:r}}},E=function(e){var t=e.path,n=e.method;return{type:f,payload:{path:t,method:n}}},S=function(e){var t=e.pathMethod;return{type:f,payload:{path:t[0],method:t[1]}}},C=function(e){var t=e.pathMethod;return{type:h,payload:{pathMethod:t}}}},function(e,t,n){var r=n(62),o={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return o.call(r(e),t)}},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=o},function(e,t,n){e.exports=n(662)},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return m})),n.d(t,"e",(function(){return v})),n.d(t,"c",(function(){return y})),n.d(t,"a",(function(){return b})),n.d(t,"d",(function(){return _}));var r=n(49),o=n.n(r),a=n(18),i=n.n(a),s=n(104),u=n.n(s),c=n(2),l=n.n(c),p=n(59),f=n.n(p),h=function(e){return String.prototype.toLowerCase.call(e)},d=function(e){return e.replace(/[^\w]/gi,"_")};function m(e){var t=e.openapi;return!!t&&u()(t).call(t,"3")}function v(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=r.v2OperationIdCompatibilityMode;if(!e||"object"!==i()(e))return null;var a=(e.operationId||"").replace(/\s/g,"");return a.length?d(e.operationId):g(t,n,{v2OperationIdCompatibilityMode:o})}function g(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=r.v2OperationIdCompatibilityMode;if(o){var a,i,s=l()(a="".concat(t.toLowerCase(),"_")).call(a,e).replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return(s=s||l()(i="".concat(e.substring(1),"_")).call(i,t)).replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return l()(n="".concat(h(t))).call(n,d(e))}function y(e,t){var n;return l()(n="".concat(h(t),"-")).call(n,e)}function b(e,t){return e&&e.paths?function(e,t){return function(e,t,n){if(!e||"object"!==i()(e)||!e.paths||"object"!==i()(e.paths))return null;var r=e.paths;for(var o in r)for(var a in r[o])if("PARAMETERS"!==a.toUpperCase()){var s=r[o][a];if(s&&"object"===i()(s)){var u={spec:e,pathName:o,method:a.toUpperCase(),operation:s},c=t(u);if(n&&c)return u}}return}(e,t,!0)||null}(e,(function(e){var n=e.pathName,r=e.method,o=e.operation;if(!o||"object"!==i()(o))return!1;var a=o.operationId;return[v(o,n,r),y(n,r),a].some((function(e){return e&&e===t}))})):null}function _(e){var t=e.spec,n=t.paths,r={};if(!n||t.$$normalized)return e;for(var a in n){var i=n[a];if(f()(i)){var s=i.parameters,u=function(e){var n=i[e];if(!f()(n))return"continue";var u=v(n,a,e);if(u){r[u]?r[u].push(n):r[u]=[n];var c=r[u];if(c.length>1)c.forEach((function(e,t){var n;e.__originalOperationId=e.__originalOperationId||e.operationId,e.operationId=l()(n="".concat(u)).call(n,t+1)}));else if(void 0!==n.operationId){var p=c[0];p.__originalOperationId=p.__originalOperationId||n.operationId,p.operationId=u}}if("parameters"!==e){var h=[],d={};for(var m in t)"produces"!==m&&"consumes"!==m&&"security"!==m||(d[m]=t[m],h.push(d));if(s&&(d.parameters=s,h.push(d)),h.length){var g,y=o()(h);try{for(y.s();!(g=y.n()).done;){var b=g.value;for(var _ in b)if(n[_]){if("parameters"===_){var w,x=o()(b[_]);try{var E=function(){var e=w.value;n[_].some((function(t){return t.name&&t.name===e.name||t.$ref&&t.$ref===e.$ref||t.$$ref&&t.$$ref===e.$$ref||t===e}))||n[_].push(e)};for(x.s();!(w=x.n()).done;)E()}catch(e){x.e(e)}finally{x.f()}}}else n[_]=b[_]}}catch(e){y.e(e)}finally{y.f()}}}};for(var c in i)u(c)}}return t.$$normalized=!0,e}},function(e,t,n){"use strict";n.r(t),n.d(t,"NEW_THROWN_ERR",(function(){return o})),n.d(t,"NEW_THROWN_ERR_BATCH",(function(){return a})),n.d(t,"NEW_SPEC_ERR",(function(){return i})),n.d(t,"NEW_SPEC_ERR_BATCH",(function(){return s})),n.d(t,"NEW_AUTH_ERR",(function(){return u})),n.d(t,"CLEAR",(function(){return c})),n.d(t,"CLEAR_BY",(function(){return l})),n.d(t,"newThrownErr",(function(){return p})),n.d(t,"newThrownErrBatch",(function(){return f})),n.d(t,"newSpecErr",(function(){return h})),n.d(t,"newSpecErrBatch",(function(){return d})),n.d(t,"newAuthErr",(function(){return m})),n.d(t,"clear",(function(){return v})),n.d(t,"clearBy",(function(){return g}));var r=n(146),o="err_new_thrown_err",a="err_new_thrown_err_batch",i="err_new_spec_err",s="err_new_spec_err_batch",u="err_new_auth_err",c="err_clear",l="err_clear_by";function p(e){return{type:o,payload:Object(r.serializeError)(e)}}function f(e){return{type:a,payload:e}}function h(e){return{type:i,payload:e}}function d(e){return{type:s,payload:e}}function m(e){return{type:u,payload:e}}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{type:c,payload:e}}function g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!0};return{type:l,payload:e}}},function(e,t,n){var r=n(108);e.exports=function(e){return Object(r(e))}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){var r=n(132),o=r.Buffer;function a(e,t){for(var n in e)t[n]=e[n]}function i(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=r:(a(r,t),t.Buffer=i),a(o,i),i.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,n)},i.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=o(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},i.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},i.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t,n){e.exports=n(882)},function(e,t,n){var r=n(179),o=n(108);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(48),o=n(68),a=n(107);e.exports=r?function(e,t,n){return o.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(48),o=n(360),a=n(52),i=n(180),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(a(e),t=i(t,!0),a(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(128),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(33),o=n(40),a=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?a(r[e])||a(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},function(e,t,n){var r=n(405),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();e.exports=a},function(e,t,n){"use strict";e.exports={debugTool:null}},function(e,t,n){"use strict";function r(e){return null==e}var o={isNothing:r,isObject:function(e){return"object"==typeof e&&null!==e},toArray:function(e){return Array.isArray(e)?e:r(e)?[]:[e]},repeat:function(e,t){var n,r="";for(n=0;ns&&(t=r-s+(a=" ... ").length),n-r>s&&(n=r+s-(i=" ...").length),{str:a+e.slice(t,n).replace(/\t/g,"→")+i,pos:r-t+a.length}}function c(e,t){return o.repeat(" ",t-e.length)+e}var l=function(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),"number"!=typeof t.indent&&(t.indent=1),"number"!=typeof t.linesBefore&&(t.linesBefore=3),"number"!=typeof t.linesAfter&&(t.linesAfter=2);for(var n,r=/\r?\n|\r|\0/g,a=[0],i=[],s=-1;n=r.exec(e.buffer);)i.push(n.index),a.push(n.index+n[0].length),e.position<=n.index&&s<0&&(s=a.length-2);s<0&&(s=a.length-1);var l,p,f="",h=Math.min(e.line+t.linesAfter,i.length).toString().length,d=t.maxLength-(t.indent+h+3);for(l=1;l<=t.linesBefore&&!(s-l<0);l++)p=u(e.buffer,a[s-l],i[s-l],e.position-(a[s]-a[s-l]),d),f=o.repeat(" ",t.indent)+c((e.line-l+1).toString(),h)+" | "+p.str+"\n"+f;for(p=u(e.buffer,a[s],i[s],e.position,d),f+=o.repeat(" ",t.indent)+c((e.line+1).toString(),h)+" | "+p.str+"\n",f+=o.repeat("-",t.indent+h+3+p.pos)+"^\n",l=1;l<=t.linesAfter&&!(s+l>=i.length);l++)p=u(e.buffer,a[s+l],i[s+l],e.position-(a[s]-a[s+l]),d),f+=o.repeat(" ",t.indent)+c((e.line+l+1).toString(),h)+" | "+p.str+"\n";return f.replace(/\n$/,"")},p=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],f=["scalar","sequence","mapping"];var h=function(e,t){if(t=t||{},Object.keys(t).forEach((function(t){if(-1===p.indexOf(t))throw new s('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=function(e){var t={};return null!==e&&Object.keys(e).forEach((function(n){e[n].forEach((function(e){t[String(e)]=n}))})),t}(t.styleAliases||null),-1===f.indexOf(this.kind))throw new s('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')};function d(e,t){var n=[];return e[t].forEach((function(e){var t=n.length;n.forEach((function(n,r){n.tag===e.tag&&n.kind===e.kind&&n.multi===e.multi&&(t=r)})),n[t]=e})),n}function m(e){return this.extend(e)}m.prototype.extend=function(e){var t=[],n=[];if(e instanceof h)n.push(e);else if(Array.isArray(e))n=n.concat(e);else{if(!e||!Array.isArray(e.implicit)&&!Array.isArray(e.explicit))throw new s("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");e.implicit&&(t=t.concat(e.implicit)),e.explicit&&(n=n.concat(e.explicit))}t.forEach((function(e){if(!(e instanceof h))throw new s("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(e.loadKind&&"scalar"!==e.loadKind)throw new s("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(e.multi)throw new s("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")})),n.forEach((function(e){if(!(e instanceof h))throw new s("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));var r=Object.create(m.prototype);return r.implicit=(this.implicit||[]).concat(t),r.explicit=(this.explicit||[]).concat(n),r.compiledImplicit=d(r,"implicit"),r.compiledExplicit=d(r,"explicit"),r.compiledTypeMap=function(){var e,t,n={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function r(e){e.multi?(n.multi[e.kind].push(e),n.multi.fallback.push(e)):n[e.kind][e.tag]=n.fallback[e.tag]=e}for(e=0,t=arguments.length;e=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),A=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var O=/^[-+]?[0-9]+e/;var k=new h("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!A.test(e)||"_"===e[e.length-1])},construct:function(e){var t,n;return n="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:n*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||o.isNegativeZero(e))},represent:function(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(o.isNegativeZero(e))return"-0.0";return n=e.toString(10),O.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"}),j=_.extend({implicit:[w,x,C,k]}),T=j,I=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),P=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");var N=new h("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==I.exec(e)||null!==P.exec(e))},construct:function(e){var t,n,r,o,a,i,s,u,c=0,l=null;if(null===(t=I.exec(e))&&(t=P.exec(e)),null===t)throw new Error("Date resolve error");if(n=+t[1],r=+t[2]-1,o=+t[3],!t[4])return new Date(Date.UTC(n,r,o));if(a=+t[4],i=+t[5],s=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+="0";c=+c}return t[9]&&(l=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(l=-l)),u=new Date(Date.UTC(n,r,o,a,i,s,c)),l&&u.setTime(u.getTime()-l),u},instanceOf:Date,represent:function(e){return e.toISOString()}});var M=new h("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}}),R="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";var D=new h("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,r=0,o=e.length,a=R;for(n=0;n64)){if(t<0)return!1;r+=6}return r%8==0},construct:function(e){var t,n,r=e.replace(/[\r\n=]/g,""),o=r.length,a=R,i=0,s=[];for(t=0;t>16&255),s.push(i>>8&255),s.push(255&i)),i=i<<6|a.indexOf(r.charAt(t));return 0===(n=o%4*6)?(s.push(i>>16&255),s.push(i>>8&255),s.push(255&i)):18===n?(s.push(i>>10&255),s.push(i>>2&255)):12===n&&s.push(i>>4&255),new Uint8Array(s)},predicate:function(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)},represent:function(e){var t,n,r="",o=0,a=e.length,i=R;for(t=0;t>18&63],r+=i[o>>12&63],r+=i[o>>6&63],r+=i[63&o]),o=(o<<8)+e[t];return 0===(n=a%3)?(r+=i[o>>18&63],r+=i[o>>12&63],r+=i[o>>6&63],r+=i[63&o]):2===n?(r+=i[o>>10&63],r+=i[o>>4&63],r+=i[o<<2&63],r+=i[64]):1===n&&(r+=i[o>>2&63],r+=i[o<<4&63],r+=i[64],r+=i[64]),r}}),L=Object.prototype.hasOwnProperty,B=Object.prototype.toString;var F=new h("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,r,o,a,i=[],s=e;for(t=0,n=s.length;t>10),56320+(e-65536&1023))}for(var ae=new Array(256),ie=new Array(256),se=0;se<256;se++)ae[se]=re(se)?1:0,ie[se]=re(se);function ue(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||W,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function ce(e,t){var n={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return n.snippet=l(n),new s(t,n)}function le(e,t){throw ce(e,t)}function pe(e,t){e.onWarning&&e.onWarning.call(null,ce(e,t))}var fe={YAML:function(e,t,n){var r,o,a;null!==e.version&&le(e,"duplication of %YAML directive"),1!==n.length&&le(e,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&le(e,"ill-formed argument of the YAML directive"),o=parseInt(r[1],10),a=parseInt(r[2],10),1!==o&&le(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=a<2,1!==a&&2!==a&&pe(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var r,o;2!==n.length&&le(e,"TAG directive accepts exactly two arguments"),r=n[0],o=n[1],Y.test(r)||le(e,"ill-formed tag handle (first argument) of the TAG directive"),H.call(e.tagMap,r)&&le(e,'there is a previously declared suffix for "'+r+'" tag handle'),G.test(o)||le(e,"ill-formed tag prefix (second argument) of the TAG directive");try{o=decodeURIComponent(o)}catch(t){le(e,"tag prefix is malformed: "+o)}e.tagMap[r]=o}};function he(e,t,n,r){var o,a,i,s;if(t1&&(e.result+=o.repeat("\n",t-1))}function _e(e,t){var n,r,o=e.tag,a=e.anchor,i=[],s=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=i),r=e.input.charCodeAt(e.position);0!==r&&(-1!==e.firstTabInLine&&(e.position=e.firstTabInLine,le(e,"tab characters must not be used in indentation")),45===r)&&ee(e.input.charCodeAt(e.position+1));)if(s=!0,e.position++,ge(e,!0,-1)&&e.lineIndent<=t)i.push(null),r=e.input.charCodeAt(e.position);else if(n=e.line,Ee(e,t,3,!1,!0),i.push(e.result),ge(e,!0,-1),r=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==r)le(e,"bad indentation of a sequence entry");else if(e.lineIndentt?m=1:e.lineIndent===t?m=0:e.lineIndentt?m=1:e.lineIndent===t?m=0:e.lineIndentt)&&(g&&(i=e.line,s=e.lineStart,u=e.position),Ee(e,t,4,!0,o)&&(g?m=e.result:v=e.result),g||(me(e,f,h,d,m,v,i,s,u),d=m=v=null),ge(e,!0,-1),c=e.input.charCodeAt(e.position)),(e.line===a||e.lineIndent>t)&&0!==c)le(e,"bad indentation of a mapping entry");else if(e.lineIndent=0))break;0===a?le(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?le(e,"repeat of an indentation width identifier"):(p=t+a-1,l=!0)}if(Q(i)){do{i=e.input.charCodeAt(++e.position)}while(Q(i));if(35===i)do{i=e.input.charCodeAt(++e.position)}while(!X(i)&&0!==i)}for(;0!==i;){for(ve(e),e.lineIndent=0,i=e.input.charCodeAt(e.position);(!l||e.lineIndentp&&(p=e.lineIndent),X(i))f++;else{if(e.lineIndent0){for(o=i,a=0;o>0;o--)(i=ne(s=e.input.charCodeAt(++e.position)))>=0?a=(a<<4)+i:le(e,"expected hexadecimal character");e.result+=oe(a),e.position++}else le(e,"unknown escape sequence");n=r=e.position}else X(s)?(he(e,n,r,!0),be(e,ge(e,!1,t)),n=r=e.position):e.position===e.lineStart&&ye(e)?le(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}le(e,"unexpected end of the stream within a double quoted scalar")}(e,h)?g=!0:!function(e){var t,n,r;if(42!==(r=e.input.charCodeAt(e.position)))return!1;for(r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!ee(r)&&!te(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&le(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),H.call(e.anchorMap,n)||le(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],ge(e,!0,-1),!0}(e)?function(e,t,n){var r,o,a,i,s,u,c,l,p=e.kind,f=e.result;if(ee(l=e.input.charCodeAt(e.position))||te(l)||35===l||38===l||42===l||33===l||124===l||62===l||39===l||34===l||37===l||64===l||96===l)return!1;if((63===l||45===l)&&(ee(r=e.input.charCodeAt(e.position+1))||n&&te(r)))return!1;for(e.kind="scalar",e.result="",o=a=e.position,i=!1;0!==l;){if(58===l){if(ee(r=e.input.charCodeAt(e.position+1))||n&&te(r))break}else if(35===l){if(ee(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&ye(e)||n&&te(l))break;if(X(l)){if(s=e.line,u=e.lineStart,c=e.lineIndent,ge(e,!1,-1),e.lineIndent>=t){i=!0,l=e.input.charCodeAt(e.position);continue}e.position=a,e.line=s,e.lineStart=u,e.lineIndent=c;break}}i&&(he(e,o,a,!1),be(e,e.line-s),o=a=e.position,i=!1),Q(l)||(a=e.position+1),l=e.input.charCodeAt(++e.position)}return he(e,o,a,!1),!!e.result||(e.kind=p,e.result=f,!1)}(e,h,1===n)&&(g=!0,null===e.tag&&(e.tag="?")):(g=!0,null===e.tag&&null===e.anchor||le(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===m&&(g=u&&_e(e,d))),null===e.tag)null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);else if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&le(e,'unacceptable node kind for ! tag; it should be "scalar", not "'+e.kind+'"'),c=0,l=e.implicitTypes.length;c"),null!==e.result&&f.kind!==e.kind&&le(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+f.kind+'", not "'+e.kind+'"'),f.resolve(e.result,e.tag)?(e.result=f.construct(e.result,e.tag),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):le(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||g}function Se(e){var t,n,r,o,a=e.position,i=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);0!==(o=e.input.charCodeAt(e.position))&&(ge(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==o));){for(i=!0,o=e.input.charCodeAt(++e.position),t=e.position;0!==o&&!ee(o);)o=e.input.charCodeAt(++e.position);for(r=[],(n=e.input.slice(t,e.position)).length<1&&le(e,"directive name must not be less than one character in length");0!==o;){for(;Q(o);)o=e.input.charCodeAt(++e.position);if(35===o){do{o=e.input.charCodeAt(++e.position)}while(0!==o&&!X(o));break}if(X(o))break;for(t=e.position;0!==o&&!ee(o);)o=e.input.charCodeAt(++e.position);r.push(e.input.slice(t,e.position))}0!==o&&ve(e),H.call(fe,n)?fe[n](e,n,r):pe(e,'unknown document directive "'+n+'"')}ge(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,ge(e,!0,-1)):i&&le(e,"directives end mark is expected"),Ee(e,e.lineIndent-1,4,!1,!0),ge(e,!0,-1),e.checkLineBreaks&&J.test(e.input.slice(a,e.position))&&pe(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&ye(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,ge(e,!0,-1)):e.position=55296&&r<=56319&&t+1=56320&&n<=57343?1024*(r-55296)+n-56320+65536:r}function ze(e){return/^\n* /.test(e)}function Ve(e,t,n,r,o,a,i,s){var u,c,l=0,p=null,f=!1,h=!1,d=-1!==r,m=-1,v=Be(c=qe(e,0))&&c!==je&&!Le(c)&&45!==c&&63!==c&&58!==c&&44!==c&&91!==c&&93!==c&&123!==c&&125!==c&&35!==c&&38!==c&&42!==c&&33!==c&&124!==c&&61!==c&&62!==c&&39!==c&&34!==c&&37!==c&&64!==c&&96!==c&&function(e){return!Le(e)&&58!==e}(qe(e,e.length-1));if(t||i)for(u=0;u=65536?u+=2:u++){if(!Be(l=qe(e,u)))return 5;v=v&&Ue(l,p,s),p=l}else{for(u=0;u=65536?u+=2:u++){if(10===(l=qe(e,u)))f=!0,d&&(h=h||u-m-1>r&&" "!==e[m+1],m=u);else if(!Be(l))return 5;v=v&&Ue(l,p,s),p=l}h=h||d&&u-m-1>r&&" "!==e[m+1]}return f||h?n>9&&ze(e)?5:i?2===a?5:2:h?4:3:!v||i||o(e)?2===a?5:2:1}function We(e,t,n,r,o){e.dump=function(){if(0===t.length)return 2===e.quotingType?'""':"''";if(!e.noCompatMode&&(-1!==Ie.indexOf(t)||Pe.test(t)))return 2===e.quotingType?'"'+t+'"':"'"+t+"'";var a=e.indent*Math.max(1,n),i=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-a),u=r||e.flowLevel>-1&&n>=e.flowLevel;switch(Ve(t,u,e.indent,i,(function(t){return function(e,t){var n,r;for(n=0,r=e.implicitTypes.length;n"+He(t,e.indent)+$e(Re(function(e,t){var n,r,o=/(\n+)([^\n]*)/g,a=(s=e.indexOf("\n"),s=-1!==s?s:e.length,o.lastIndex=s,Je(e.slice(0,s),t)),i="\n"===e[0]||" "===e[0];var s;for(;r=o.exec(e);){var u=r[1],c=r[2];n=" "===c[0],a+=u+(i||n||""===c?"":"\n")+Je(c,t),i=n}return a}(t,i),a));case 5:return'"'+function(e){for(var t,n="",r=0,o=0;o=65536?o+=2:o++)r=qe(e,o),!(t=Te[r])&&Be(r)?(n+=e[o],r>=65536&&(n+=e[o+1])):n+=t||Ne(r);return n}(t)+'"';default:throw new s("impossible error: invalid scalar style")}}()}function He(e,t){var n=ze(e)?String(t):"",r="\n"===e[e.length-1];return n+(r&&("\n"===e[e.length-2]||"\n"===e)?"+":r?"":"-")+"\n"}function $e(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function Je(e,t){if(""===e||" "===e[0])return e;for(var n,r,o=/ [^ ]/g,a=0,i=0,s=0,u="";n=o.exec(e);)(s=n.index)-a>t&&(r=i>a?i:s,u+="\n"+e.slice(a,r),a=r+1),i=s;return u+="\n",e.length-a>t&&i>a?u+=e.slice(a,i)+"\n"+e.slice(i+1):u+=e.slice(a),u.slice(1)}function Ke(e,t,n,r){var o,a,i,s="",u=e.tag;for(o=0,a=n.length;o tag resolver accepts not "'+c+'" style');r=u.represent[c](t,c)}e.dump=r}return!0}return!1}function Ge(e,t,n,r,o,a,i){e.tag=null,e.dump=n,Ye(e,n,!1)||Ye(e,n,!0);var u,c=Oe.call(e.dump),l=r;r&&(r=e.flowLevel<0||e.flowLevel>t);var p,f,h="[object Object]"===c||"[object Array]"===c;if(h&&(f=-1!==(p=e.duplicates.indexOf(n))),(null!==e.tag&&"?"!==e.tag||f||2!==e.indent&&t>0)&&(o=!1),f&&e.usedDuplicates[p])e.dump="*ref_"+p;else{if(h&&f&&!e.usedDuplicates[p]&&(e.usedDuplicates[p]=!0),"[object Object]"===c)r&&0!==Object.keys(e.dump).length?(!function(e,t,n,r){var o,a,i,u,c,l,p="",f=e.tag,h=Object.keys(n);if(!0===e.sortKeys)h.sort();else if("function"==typeof e.sortKeys)h.sort(e.sortKeys);else if(e.sortKeys)throw new s("sortKeys must be a boolean or a function");for(o=0,a=h.length;o1024)&&(e.dump&&10===e.dump.charCodeAt(0)?l+="?":l+="? "),l+=e.dump,c&&(l+=De(e,t)),Ge(e,t+1,u,!0,c)&&(e.dump&&10===e.dump.charCodeAt(0)?l+=":":l+=": ",p+=l+=e.dump));e.tag=f,e.dump=p||"{}"}(e,t,e.dump,o),f&&(e.dump="&ref_"+p+e.dump)):(!function(e,t,n){var r,o,a,i,s,u="",c=e.tag,l=Object.keys(n);for(r=0,o=l.length;r1024&&(s+="? "),s+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Ge(e,t,i,!1,!1)&&(u+=s+=e.dump));e.tag=c,e.dump="{"+u+"}"}(e,t,e.dump),f&&(e.dump="&ref_"+p+" "+e.dump));else if("[object Array]"===c)r&&0!==e.dump.length?(e.noArrayIndent&&!i&&t>0?Ke(e,t-1,e.dump,o):Ke(e,t,e.dump,o),f&&(e.dump="&ref_"+p+e.dump)):(!function(e,t,n){var r,o,a,i="",s=e.tag;for(r=0,o=n.length;r",e.dump=u+" "+e.dump)}return!0}function Ze(e,t){var n,r,o=[],a=[];for(Xe(e,o,a),n=0,r=a.length;n",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(c),p=["%","/","?",";","#"].concat(l),f=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},v={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=n(1077);function b(e,t,n){if(e&&o.isObject(e)&&e instanceof a)return e;var r=new a;return r.parse(e,t,n),r}a.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),s=-1!==a&&a127?N+="x":N+=P[M];if(!N.match(h)){var D=T.slice(0,O),L=T.slice(O+1),B=P.match(d);B&&(D.push(B[1]),L.unshift(B[2])),L.length&&(b="/"+L.join(".")+b),this.hostname=D.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),j||(this.hostname=r.toASCII(this.hostname));var F=this.port?":"+this.port:"",U=this.hostname||"";this.host=U+F,this.href+=this.host,j&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!m[x])for(O=0,I=l.length;O0)&&n.host.split("@"))&&(n.auth=j.shift(),n.host=n.hostname=j.shift());return n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!E.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=E.slice(-1)[0],A=(n.host||e.host||E.length>1)&&("."===C||".."===C)||""===C,O=0,k=E.length;k>=0;k--)"."===(C=E[k])?E.splice(k,1):".."===C?(E.splice(k,1),O++):O&&(E.splice(k,1),O--);if(!w&&!x)for(;O--;O)E.unshift("..");!w||""===E[0]||E[0]&&"/"===E[0].charAt(0)||E.unshift(""),A&&"/"!==E.join("/").substr(-1)&&E.push("");var j,T=""===E[0]||E[0]&&"/"===E[0].charAt(0);S&&(n.hostname=n.host=T?"":E.length?E.shift():"",(j=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=j.shift(),n.host=n.hostname=j.shift()));return(w=w||n.host&&E.length)&&!T&&E.unshift(""),E.length?n.pathname=E.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},a.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,n){"use strict";n.r(t),n.d(t,"SHOW_AUTH_POPUP",(function(){return h})),n.d(t,"AUTHORIZE",(function(){return d})),n.d(t,"LOGOUT",(function(){return m})),n.d(t,"PRE_AUTHORIZE_OAUTH2",(function(){return v})),n.d(t,"AUTHORIZE_OAUTH2",(function(){return g})),n.d(t,"VALIDATE",(function(){return y})),n.d(t,"CONFIGURE_AUTH",(function(){return b})),n.d(t,"RESTORE_AUTHORIZATION",(function(){return _})),n.d(t,"showDefinitions",(function(){return w})),n.d(t,"authorize",(function(){return x})),n.d(t,"authorizeWithPersistOption",(function(){return E})),n.d(t,"logout",(function(){return S})),n.d(t,"logoutWithPersistOption",(function(){return C})),n.d(t,"preAuthorizeImplicit",(function(){return A})),n.d(t,"authorizeOauth2",(function(){return O})),n.d(t,"authorizeOauth2WithPersistOption",(function(){return k})),n.d(t,"authorizePassword",(function(){return j})),n.d(t,"authorizeApplication",(function(){return T})),n.d(t,"authorizeAccessCodeWithFormParams",(function(){return I})),n.d(t,"authorizeAccessCodeWithBasicAuthentication",(function(){return P})),n.d(t,"authorizeRequest",(function(){return N})),n.d(t,"configureAuth",(function(){return M})),n.d(t,"restoreAuthorization",(function(){return R})),n.d(t,"persistAuthorizationIfNeeded",(function(){return D}));var r=n(18),o=n.n(r),a=n(32),i=n.n(a),s=n(20),u=n.n(s),c=n(92),l=n.n(c),p=n(26),f=n(5),h="show_popup",d="authorize",m="logout",v="pre_authorize_oauth2",g="authorize_oauth2",y="validate",b="configure_auth",_="restore_authorization";function w(e){return{type:h,payload:e}}function x(e){return{type:d,payload:e}}var E=function(e){return function(t){var n=t.authActions;n.authorize(e),n.persistAuthorizationIfNeeded()}};function S(e){return{type:m,payload:e}}var C=function(e){return function(t){var n=t.authActions;n.logout(e),n.persistAuthorizationIfNeeded()}},A=function(e){return function(t){var n=t.authActions,r=t.errActions,o=e.auth,a=e.token,s=e.isValid,u=o.schema,c=o.name,l=u.get("flow");delete p.a.swaggerUIRedirectOauth2,"accessCode"===l||s||r.newAuthErr({authId:c,source:"auth",level:"warning",message:"Authorization may be unsafe, passed state was changed in server Passed state wasn't returned from auth server"}),a.error?r.newAuthErr({authId:c,source:"auth",level:"error",message:i()(a)}):n.authorizeOauth2WithPersistOption({auth:o,token:a})}};function O(e){return{type:g,payload:e}}var k=function(e){return function(t){var n=t.authActions;n.authorizeOauth2(e),n.persistAuthorizationIfNeeded()}},j=function(e){return function(t){var n=t.authActions,r=e.schema,o=e.name,a=e.username,i=e.password,s=e.passwordType,c=e.clientId,l=e.clientSecret,p={grant_type:"password",scope:e.scopes.join(" "),username:a,password:i},h={};switch(s){case"request-body":!function(e,t,n){t&&u()(e,{client_id:t});n&&u()(e,{client_secret:n})}(p,c,l);break;case"basic":h.Authorization="Basic "+Object(f.a)(c+":"+l);break;default:console.warn("Warning: invalid passwordType ".concat(s," was passed, not including client id and secret"))}return n.authorizeRequest({body:Object(f.b)(p),url:r.get("tokenUrl"),name:o,headers:h,query:{},auth:e})}};var T=function(e){return function(t){var n=t.authActions,r=e.schema,o=e.scopes,a=e.name,i=e.clientId,s=e.clientSecret,u={Authorization:"Basic "+Object(f.a)(i+":"+s)},c={grant_type:"client_credentials",scope:o.join(" ")};return n.authorizeRequest({body:Object(f.b)(c),name:a,url:r.get("tokenUrl"),auth:e,headers:u})}},I=function(e){var t=e.auth,n=e.redirectUrl;return function(e){var r=e.authActions,o=t.schema,a=t.name,i=t.clientId,s=t.clientSecret,u=t.codeVerifier,c={grant_type:"authorization_code",code:t.code,client_id:i,client_secret:s,redirect_uri:n,code_verifier:u};return r.authorizeRequest({body:Object(f.b)(c),name:a,url:o.get("tokenUrl"),auth:t})}},P=function(e){var t=e.auth,n=e.redirectUrl;return function(e){var r=e.authActions,o=t.schema,a=t.name,i=t.clientId,s=t.clientSecret,u=t.codeVerifier,c={Authorization:"Basic "+Object(f.a)(i+":"+s)},l={grant_type:"authorization_code",code:t.code,client_id:i,redirect_uri:n,code_verifier:u};return r.authorizeRequest({body:Object(f.b)(l),name:a,url:o.get("tokenUrl"),auth:t,headers:c})}},N=function(e){return function(t){var n,r=t.fn,a=t.getConfigs,s=t.authActions,c=t.errActions,p=t.oas3Selectors,f=t.specSelectors,h=t.authSelectors,d=e.body,m=e.query,v=void 0===m?{}:m,g=e.headers,y=void 0===g?{}:g,b=e.name,_=e.url,w=e.auth,x=(h.getConfigs()||{}).additionalQueryStringParams;if(f.isOAS3()){var E=p.serverEffectiveValue(p.selectedServer());n=l()(_,E,!0)}else n=l()(_,f.url(),!0);"object"===o()(x)&&(n.query=u()({},n.query,x));var S=n.toString(),C=u()({Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","X-Requested-With":"XMLHttpRequest"},y);r.fetch({url:S,method:"post",headers:C,query:v,body:d,requestInterceptor:a().requestInterceptor,responseInterceptor:a().responseInterceptor}).then((function(e){var t=JSON.parse(e.data),n=t&&(t.error||""),r=t&&(t.parseError||"");e.ok?n||r?c.newAuthErr({authId:b,level:"error",source:"auth",message:i()(t)}):s.authorizeOauth2WithPersistOption({auth:w,token:t}):c.newAuthErr({authId:b,level:"error",source:"auth",message:e.statusText})})).catch((function(e){var t=new Error(e).message;if(e.response&&e.response.data){var n=e.response.data;try{var r="string"==typeof n?JSON.parse(n):n;r.error&&(t+=", error: ".concat(r.error)),r.error_description&&(t+=", description: ".concat(r.error_description))}catch(e){}}c.newAuthErr({authId:b,level:"error",source:"auth",message:t})}))}};function M(e){return{type:b,payload:e}}function R(e){return{type:_,payload:e}}var D=function(){return function(e){var t=e.authSelectors;if((0,e.getConfigs)().persistAuthorization){var n=t.authorized();localStorage.setItem("authorized",i()(n.toJS()))}}}},function(e,t,n){var r=n(1047);e.exports=function(e){for(var t=1;tS;S++)if((h||S in w)&&(b=x(y=w[S],S,_),e))if(t)A[S]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return S;case 2:u.call(A,y)}else switch(e){case 4:return!1;case 7:u.call(A,y)}return p?-1:c||l?l:A}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterOut:c(7)}},function(e,t,n){n(158);var r=n(567),o=n(40),a=n(98),i=n(67),s=n(131),u=n(41)("toStringTag");for(var c in r){var l=o[c],p=l&&l.prototype;p&&a(p)!==u&&i(p,u,c),s[c]=s.Array}},function(e,t,n){"use strict";e.exports={current:null}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t){var n,r,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var u,c=[],l=!1,p=-1;function f(){l&&u&&(l=!1,u.length?c=u.concat(c):p=-1,c.length&&h())}function h(){if(!l){var e=s(f);l=!0;for(var t=c.length;t;){for(u=c,c=[];++p1)for(var n=1;n0&&"/"!==t[0]}));function Se(e,t,n){var r;t=t||[];var o=we.apply(void 0,u()(r=[e]).call(r,i()(t))).get("parameters",Object(I.List)());return x()(o).call(o,(function(e,t){var r=n&&"body"===t.get("in")?t.get("value_xml"):t.get("value");return e.set(Object(T.A)(t,{allowHashes:!1}),r)}),Object(I.fromJS)({}))}function Ce(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(I.List.isList(e))return A()(e).call(e,(function(e){return I.Map.isMap(e)&&e.get("in")===t}))}function Ae(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(I.List.isList(e))return A()(e).call(e,(function(e){return I.Map.isMap(e)&&e.get("type")===t}))}function Oe(e,t){var n,r;t=t||[];var o=z(e).getIn(u()(n=["paths"]).call(n,i()(t)),Object(I.fromJS)({})),a=e.getIn(u()(r=["meta","paths"]).call(r,i()(t)),Object(I.fromJS)({})),s=ke(e,t),c=o.get("parameters")||new I.List,l=a.get("consumes_value")?a.get("consumes_value"):Ae(c,"file")?"multipart/form-data":Ae(c,"formData")?"application/x-www-form-urlencoded":void 0;return Object(I.fromJS)({requestContentType:l,responseContentType:s})}function ke(e,t){var n,r;t=t||[];var o=z(e).getIn(u()(n=["paths"]).call(n,i()(t)),null);if(null!==o){var a=e.getIn(u()(r=["meta","paths"]).call(r,i()(t),["produces_value"]),null),s=o.getIn(["produces",0],null);return a||s||"application/json"}}function je(e,t){var n;t=t||[];var r=z(e),a=r.getIn(u()(n=["paths"]).call(n,i()(t)),null);if(null!==a){var s=t,c=o()(s,1)[0],l=a.get("produces",null),p=r.getIn(["paths",c,"produces"],null),f=r.getIn(["produces"],null);return l||p||f}}function Te(e,t){var n;t=t||[];var r=z(e),a=r.getIn(u()(n=["paths"]).call(n,i()(t)),null);if(null!==a){var s=t,c=o()(s,1)[0],l=a.get("consumes",null),p=r.getIn(["paths",c,"consumes"],null),f=r.getIn(["consumes"],null);return l||p||f}}var Ie=function(e,t,n){var r=e.get("url").match(/^([a-z][a-z0-9+\-.]*):/),o=k()(r)?r[1]:null;return e.getIn(["scheme",t,n])||e.getIn(["scheme","_defaultScheme"])||o||""},Pe=function(e,t,n){var r;return d()(r=["http","https"]).call(r,Ie(e,t,n))>-1},Ne=function(e,t){var n;t=t||[];var r=e.getIn(u()(n=["meta","paths"]).call(n,i()(t),["parameters"]),Object(I.fromJS)([])),o=!0;return f()(r).call(r,(function(e){var t=e.get("errors");t&&t.count()&&(o=!1)})),o},Me=function(e,t){var n,r,o={requestBody:!1,requestContentType:{}},a=e.getIn(u()(n=["resolvedSubtrees","paths"]).call(n,i()(t),["requestBody"]),Object(I.fromJS)([]));return a.size<1||(a.getIn(["required"])&&(o.requestBody=a.getIn(["required"])),f()(r=a.getIn(["content"]).entrySeq()).call(r,(function(e){var t=e[0];if(e[1].getIn(["schema","required"])){var n=e[1].getIn(["schema","required"]).toJS();o.requestContentType[t]=n}}))),o},Re=function(e,t,n,r){var o;if((n||r)&&n===r)return!0;var a=e.getIn(u()(o=["resolvedSubtrees","paths"]).call(o,i()(t),["requestBody","content"]),Object(I.fromJS)([]));if(a.size<2||!n||!r)return!1;var s=a.getIn([n,"schema","properties"],Object(I.fromJS)([])),c=a.getIn([r,"schema","properties"],Object(I.fromJS)([]));return!!s.equals(c)};function De(e){return I.Map.isMap(e)?e:new I.Map}},function(e,t,n){"use strict";(function(t){var r=n(889),o=n(890),a=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,i=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,s=new RegExp("^[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]+");function u(e){return(e||"").toString().replace(s,"")}var c=[["#","hash"],["?","query"],function(e,t){return f(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d+)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],l={hash:1,query:1};function p(e){var n,r=("undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{}).location||{},o={},i=typeof(e=e||r);if("blob:"===e.protocol)o=new d(unescape(e.pathname),{});else if("string"===i)for(n in o=new d(e,{}),l)delete o[n];else if("object"===i){for(n in e)n in l||(o[n]=e[n]);void 0===o.slashes&&(o.slashes=a.test(e.href))}return o}function f(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function h(e,t){e=u(e),t=t||{};var n,r=i.exec(e),o=r[1]?r[1].toLowerCase():"",a=!!r[2],s=!!r[3],c=0;return a?s?(n=r[2]+r[3]+r[4],c=r[2].length+r[3].length):(n=r[2]+r[4],c=r[2].length):s?(n=r[3]+r[4],c=r[3].length):n=r[4],"file:"===o?c>=2&&(n=n.slice(2)):f(o)?n=r[4]:o?a&&(n=n.slice(2)):c>=2&&f(t.protocol)&&(n=r[4]),{protocol:o,slashes:a||f(o),slashesCount:c,rest:n}}function d(e,t,n){if(e=u(e),!(this instanceof d))return new d(e,t,n);var a,i,s,l,m,v,g=c.slice(),y=typeof t,b=this,_=0;for("object"!==y&&"string"!==y&&(n=t,t=null),n&&"function"!=typeof n&&(n=o.parse),a=!(i=h(e||"",t=p(t))).protocol&&!i.slashes,b.slashes=i.slashes||a&&t.slashes,b.protocol=i.protocol||t.protocol||"",e=i.rest,("file:"===b.protocol||!i.slashes&&(i.protocol||i.slashesCount<2||!f(b.protocol)))&&(g[3]=[/(.*)/,"pathname"]);_=4?[t[0],t[1],t[2],t[3],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[2],".").concat(t[3]),"".concat(t[3],".").concat(t[0]),"".concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[0]),"".concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[3],".").concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[2],".").concat(t[1],".").concat(t[0])]:void 0),g[r]}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.filter((function(e){return"token"!==e})),o=y(r);return o.reduce((function(e,t){return f()({},e,n[t])}),t)}function _(e){return e.join(" ")}function w(e){var t=e.node,n=e.stylesheet,r=e.style,o=void 0===r?{}:r,a=e.useInlineStyles,i=e.key,s=t.properties,u=t.type,c=t.tagName,l=t.value;if("text"===u)return l;if(c){var p,h=function(e,t){var n=0;return function(r){return n+=1,r.map((function(r,o){return w({node:r,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(o)})}))}}(n,a);if(a){var m=Object.keys(n).reduce((function(e,t){return t.split(".").forEach((function(t){e.includes(t)||e.push(t)})),e}),[]),g=s.className&&s.className.includes("token")?["token"]:[],y=s.className&&g.concat(s.className.filter((function(e){return!m.includes(e)})));p=f()({},s,{className:_(y)||void 0,style:b(s.className,Object.assign({},s.style,o),n)})}else p=f()({},s,{className:_(s.className)});var x=h(t.children);return d.a.createElement(c,v()({key:i},p),x)}}var x=/\n/g;function E(e){var t=e.codeString,n=e.codeStyle,r=e.containerStyle,o=void 0===r?{float:"left",paddingRight:"10px"}:r,a=e.numberStyle,i=void 0===a?{}:a,s=e.startingLineNumber;return d.a.createElement("code",{style:Object.assign({},n,o)},function(e){var t=e.lines,n=e.startingLineNumber,r=e.style;return t.map((function(e,t){var o=t+n;return d.a.createElement("span",{key:"line-".concat(t),className:"react-syntax-highlighter-line-number",style:"function"==typeof r?r(o):r},"".concat(o,"\n"))}))}({lines:t.replace(/\n$/,"").split("\n"),style:i,startingLineNumber:s}))}function S(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function C(e,t,n){var r,o={display:"inline-block",minWidth:(r=n,"".concat(r.toString().length,".25em")),paddingRight:"1em",textAlign:"right",userSelect:"none"},a="function"==typeof e?e(t):e;return f()({},o,a)}function A(e){var t=e.children,n=e.lineNumber,r=e.lineNumberStyle,o=e.largestLineNumber,a=e.showInlineLineNumbers,i=e.lineProps,s=void 0===i?{}:i,u=e.className,c=void 0===u?[]:u,l=e.showLineNumbers,p=e.wrapLongLines,h="function"==typeof s?s(n):s;if(h.className=c,n&&a){var d=C(r,n,o);t.unshift(S(n,d))}return p&l&&(h.style=f()({},h.style,{display:"flex"})),{type:"element",tagName:"span",properties:h,children:t}}function O(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=0;r2&&void 0!==arguments[2]?arguments[2]:[];return A({children:e,lineNumber:t,lineNumberStyle:s,largestLineNumber:i,showInlineLineNumbers:o,lineProps:n,className:a,showLineNumbers:r,wrapLongLines:u})}function m(e,t){if(r&&t&&o){var n=C(s,t,i);e.unshift(S(t,n))}return e}function v(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t||r.length>0?d(e,n,r):m(e,n)}for(var g=function(){var e=l[h],t=e.children[0].value;if(t.match(x)){var n=t.split("\n");n.forEach((function(t,o){var i=r&&p.length+a,s={type:"text",value:"".concat(t,"\n")};if(0===o){var u=v(l.slice(f+1,h).concat(A({children:[s],className:e.properties.className})),i);p.push(u)}else if(o===n.length-1){if(l[h+1]&&l[h+1].children&&l[h+1].children[0]){var c=A({children:[{type:"text",value:"".concat(t)}],className:e.properties.className});l.splice(h+1,0,c)}else{var d=v([s],i,e.properties.className);p.push(d)}}else{var m=v([s],i,e.properties.className);p.push(m)}})),f=h}h++};h .hljs-title":{color:"#88C0D0"},"hljs-keyword":{color:"#81A1C1"},"hljs-literal":{color:"#81A1C1"},"hljs-symbol":{color:"#81A1C1"},"hljs-number":{color:"#B48EAD"},"hljs-regexp":{color:"#EBCB8B"},"hljs-string":{color:"#A3BE8C"},"hljs-title":{color:"#8FBCBB"},"hljs-params":{color:"#D8DEE9"},"hljs-bullet":{color:"#81A1C1"},"hljs-code":{color:"#8FBCBB"},"hljs-emphasis":{fontStyle:"italic"},"hljs-formula":{color:"#8FBCBB"},"hljs-strong":{fontWeight:"bold"},"hljs-link:hover":{textDecoration:"underline"},"hljs-quote":{color:"#4C566A"},"hljs-comment":{color:"#4C566A"},"hljs-doctag":{color:"#8FBCBB"},"hljs-meta":{color:"#5E81AC"},"hljs-meta-keyword":{color:"#5E81AC"},"hljs-meta-string":{color:"#A3BE8C"},"hljs-attr":{color:"#8FBCBB"},"hljs-attribute":{color:"#D8DEE9"},"hljs-builtin-name":{color:"#81A1C1"},"hljs-name":{color:"#81A1C1"},"hljs-section":{color:"#88C0D0"},"hljs-tag":{color:"#81A1C1"},"hljs-variable":{color:"#D8DEE9"},"hljs-template-variable":{color:"#D8DEE9"},"hljs-template-tag":{color:"#5E81AC"},"abnf .hljs-attribute":{color:"#88C0D0"},"abnf .hljs-symbol":{color:"#EBCB8B"},"apache .hljs-attribute":{color:"#88C0D0"},"apache .hljs-section":{color:"#81A1C1"},"arduino .hljs-built_in":{color:"#88C0D0"},"aspectj .hljs-meta":{color:"#D08770"},"aspectj > .hljs-title":{color:"#88C0D0"},"bnf .hljs-attribute":{color:"#8FBCBB"},"clojure .hljs-name":{color:"#88C0D0"},"clojure .hljs-symbol":{color:"#EBCB8B"},"coq .hljs-built_in":{color:"#88C0D0"},"cpp .hljs-meta-string":{color:"#8FBCBB"},"css .hljs-built_in":{color:"#88C0D0"},"css .hljs-keyword":{color:"#D08770"},"diff .hljs-meta":{color:"#8FBCBB"},"ebnf .hljs-attribute":{color:"#8FBCBB"},"glsl .hljs-built_in":{color:"#88C0D0"},"groovy .hljs-meta:not(:first-child)":{color:"#D08770"},"haxe .hljs-meta":{color:"#D08770"},"java .hljs-meta":{color:"#D08770"},"ldif .hljs-attribute":{color:"#8FBCBB"},"lisp .hljs-name":{color:"#88C0D0"},"lua .hljs-built_in":{color:"#88C0D0"},"moonscript .hljs-built_in":{color:"#88C0D0"},"nginx .hljs-attribute":{color:"#88C0D0"},"nginx .hljs-section":{color:"#5E81AC"},"pf .hljs-built_in":{color:"#88C0D0"},"processing .hljs-built_in":{color:"#88C0D0"},"scss .hljs-keyword":{color:"#81A1C1"},"stylus .hljs-keyword":{color:"#81A1C1"},"swift .hljs-meta":{color:"#D08770"},"vim .hljs-built_in":{color:"#88C0D0",fontStyle:"italic"},"yaml .hljs-meta":{color:"#D08770"}},obsidian:{hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#282b2e",color:"#e0e2e4"},"hljs-keyword":{color:"#93c763",fontWeight:"bold"},"hljs-selector-tag":{color:"#93c763",fontWeight:"bold"},"hljs-literal":{color:"#93c763",fontWeight:"bold"},"hljs-selector-id":{color:"#93c763"},"hljs-number":{color:"#ffcd22"},"hljs-attribute":{color:"#668bb0"},"hljs-code":{color:"white"},"hljs-class .hljs-title":{color:"white"},"hljs-section":{color:"white",fontWeight:"bold"},"hljs-regexp":{color:"#d39745"},"hljs-link":{color:"#d39745"},"hljs-meta":{color:"#557182"},"hljs-tag":{color:"#8cbbad"},"hljs-name":{color:"#8cbbad",fontWeight:"bold"},"hljs-bullet":{color:"#8cbbad"},"hljs-subst":{color:"#8cbbad"},"hljs-emphasis":{color:"#8cbbad"},"hljs-type":{color:"#8cbbad",fontWeight:"bold"},"hljs-built_in":{color:"#8cbbad"},"hljs-selector-attr":{color:"#8cbbad"},"hljs-selector-pseudo":{color:"#8cbbad"},"hljs-addition":{color:"#8cbbad"},"hljs-variable":{color:"#8cbbad"},"hljs-template-tag":{color:"#8cbbad"},"hljs-template-variable":{color:"#8cbbad"},"hljs-string":{color:"#ec7600"},"hljs-symbol":{color:"#ec7600"},"hljs-comment":{color:"#818e96"},"hljs-quote":{color:"#818e96"},"hljs-deletion":{color:"#818e96"},"hljs-selector-class":{color:"#A082BD"},"hljs-doctag":{fontWeight:"bold"},"hljs-title":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"}},"tomorrow-night":{"hljs-comment":{color:"#969896"},"hljs-quote":{color:"#969896"},"hljs-variable":{color:"#cc6666"},"hljs-template-variable":{color:"#cc6666"},"hljs-tag":{color:"#cc6666"},"hljs-name":{color:"#cc6666"},"hljs-selector-id":{color:"#cc6666"},"hljs-selector-class":{color:"#cc6666"},"hljs-regexp":{color:"#cc6666"},"hljs-deletion":{color:"#cc6666"},"hljs-number":{color:"#de935f"},"hljs-built_in":{color:"#de935f"},"hljs-builtin-name":{color:"#de935f"},"hljs-literal":{color:"#de935f"},"hljs-type":{color:"#de935f"},"hljs-params":{color:"#de935f"},"hljs-meta":{color:"#de935f"},"hljs-link":{color:"#de935f"},"hljs-attribute":{color:"#f0c674"},"hljs-string":{color:"#b5bd68"},"hljs-symbol":{color:"#b5bd68"},"hljs-bullet":{color:"#b5bd68"},"hljs-addition":{color:"#b5bd68"},"hljs-title":{color:"#81a2be"},"hljs-section":{color:"#81a2be"},"hljs-keyword":{color:"#b294bb"},"hljs-selector-tag":{color:"#b294bb"},hljs:{display:"block",overflowX:"auto",background:"#1d1f21",color:"#c5c8c6",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}}},Q=o()(X),ee=function(e){return i()(Q).call(Q,e)?X[e]:(console.warn("Request style '".concat(e,"' is not available, returning default instead")),Z)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.File=t.Blob=t.FormData=void 0;const r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:window;t.FormData=r.FormData,t.Blob=r.Blob,t.File=r.File},function(e,t){e.exports=!0},function(e,t,n){var r=n(235),o=n(68).f,a=n(67),i=n(55),s=n(539),u=n(41)("toStringTag");e.exports=function(e,t,n,c){if(e){var l=n?e:e.prototype;i(l,u)||o(l,u,{configurable:!0,value:t}),c&&!r&&a(l,"toString",s)}}},function(e,t,n){var r=n(235),o=n(152),a=n(41)("toStringTag"),i="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),a))?n:i?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){"use strict";e.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}},function(e,t,n){var r=n(677);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){e.exports=n(670)},function(e,t,n){e.exports=n(1048)},function(e,t,n){"use strict";function r(e){return function(e){try{return!!JSON.parse(e)}catch(e){return null}}(e)?"json":null}n.d(t,"a",(function(){return r}))},function(e,t,n){e.exports=n(666)},function(e,t,n){"use strict";n.r(t),n.d(t,"UPDATE_LAYOUT",(function(){return o})),n.d(t,"UPDATE_FILTER",(function(){return a})),n.d(t,"UPDATE_MODE",(function(){return i})),n.d(t,"SHOW",(function(){return s})),n.d(t,"updateLayout",(function(){return u})),n.d(t,"updateFilter",(function(){return c})),n.d(t,"show",(function(){return l})),n.d(t,"changeMode",(function(){return p}));var r=n(5),o="layout_update_layout",a="layout_update_filter",i="layout_update_mode",s="layout_show";function u(e){return{type:o,payload:e}}function c(e){return{type:a,payload:e}}function l(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e=Object(r.v)(e),{type:s,payload:{thing:e,shown:t}}}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e=Object(r.v)(e),{type:i,payload:{thing:e,mode:t}}}},function(e,t,n){var r=n(419),o=n(161),a=n(194),i=n(56),s=n(137),u=n(195),c=n(198),l=n(247),p=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(i(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||l(e)||a(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!r(e).length;for(var n in e)if(p.call(e,n))return!1;return!0}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(76);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(70);e.exports=r("navigator","userAgent")||""},function(e,t,n){var r,o=n(52),a=n(228),i=n(231),s=n(157),u=n(365),c=n(223),l=n(183),p=l("IE_PROTO"),f=function(){},h=function(e){return" - - - -
- Index of . -
-
- - - - - - - - - - - - -
NameSizeLast Modified
swagger-ui/--
services-service.yaml87.53 KB2024-09-27 04:06:59
-
- - - - \ No newline at end of file diff --git a/portal-backend/v2.3.0-alpha.1/services-service/services-service.yaml b/portal-backend/v2.3.0-alpha.1/services-service/services-service.yaml deleted file mode 100644 index 74f4949..0000000 --- a/portal-backend/v2.3.0-alpha.1/services-service/services-service.yaml +++ /dev/null @@ -1,2835 +0,0 @@ -openapi: 3.0.1 -info: - title: Org.Eclipse.TractusX.Portal.Backend.Services.Service - version: v2.3.0-alpha.1 -paths: - /api/services/errormessage: - get: - tags: - - ErrorMessage - responses: - '200': - description: OK - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ErrorMessageType' - '500': - description: Internal Server Error - /api/info: - get: - tags: - - OpenInformation - summary: ' (Authorization required)' - responses: - '200': - description: OK - content: - text/plain: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - text/json: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/ServiceChange/{serviceId}/deactivateService': - put: - tags: - - ServiceChange - summary: 'Deactivate the OfferStatus By serviceId (Authorization required - Roles: update_service_offering)' - description: 'Example: PUT: /api/service/servicechanges/3c77a395-a7e7-40f2-a519-ac16498e0a79/deactivateService' - parameters: - - name: serviceId - in: path - description: Id of the service that should be deactive - required: true - schema: - type: string - format: uuid - example: 3c77a395-a7e7-40f2-a519-ac16498e0a79 - responses: - '204': - description: The Service Successfully Deactivated - '400': - description: invalid or user does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: If service does not exists. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: Missing Permission - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Offer is in incorrect state - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/services/ServiceRelease/agreementData: - get: - tags: - - ServiceRelease - summary: 'Return Agreement Data for offer_type_id Service (Authorization required - Roles: add_service_offering)' - description: 'Example: GET: /api/services/servicerelease/agreementData' - responses: - '200': - description: Returns the Cpllection of agreement data - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/AgreementDocumentData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/ServiceRelease/inReview/{serviceId}': - get: - tags: - - ServiceRelease - summary: 'Retrieves service details for an offer referenced by id. (Authorization required - Roles: approve_service_release,decline_service_release)' - description: 'Example: GET: /api/services/servicerelease/inReview/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645' - operationId: GetServiceDetailsByIdAsync - parameters: - - name: serviceId - in: path - description: ID of the offer to retrieve. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - responses: - '200': - description: Returns the requested service details. - content: - application/json: - schema: - $ref: '#/components/schemas/ServiceData' - '404': - description: service not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: service is inCorrect Status. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/services/ServiceRelease/serviceTypes: - get: - tags: - - ServiceRelease - summary: 'Retrieve Service Type Data (Authorization required - Roles: add_service_offering)' - description: 'Example: GET: /api/services/servicerelease/serviceTypes' - responses: - '200': - description: Returns the Service Type. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ServiceTypeData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/ServiceRelease/consent/{serviceId}': - get: - tags: - - ServiceRelease - summary: 'Gets the agreement consent status for the given service id (Authorization required - Roles: add_service_offering)' - description: 'Example: GET: /api/services/servicerelease/consent/{serviceId}' - parameters: - - name: serviceId - in: path - description: '' - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns the offer Agreement Consent data - content: - application/json: - schema: - $ref: '#/components/schemas/OfferAgreementConsent' - '404': - description: offer does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User not associated with offer. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/ServiceRelease/{serviceId}/serviceStatus': - get: - tags: - - ServiceRelease - summary: 'Return app detail with status (Authorization required - Roles: add_service_offering)' - description: 'Example: GET: /api/services/servicerelease/{serviceId}/serviceStatus' - operationId: GetServiceDetailsForStatusAsync - parameters: - - name: serviceId - in: path - description: '' - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Return the Offer and status data - content: - application/json: - schema: - $ref: '#/components/schemas/ServiceProviderResponse' - '404': - description: App does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User not associated with provider company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/ServiceRelease/consent/{serviceId}/agreementConsents': - post: - tags: - - ServiceRelease - summary: 'Update or Insert Consent (Authorization required - Roles: add_service_offering)' - description: 'Example: POST: /api/services/servicerelease/consent/{serviceId}/agreementConsents' - parameters: - - name: serviceId - in: path - description: Id of the service - required: true - schema: - type: string - format: uuid - requestBody: - description: agreement consent data - content: - application/json: - schema: - $ref: '#/components/schemas/OfferAgreementConsent' - responses: - '200': - description: Successfully submitted consent to agreements - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ConsentStatusData' - '404': - description: Service does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: Either the user was not found or the user is not assignable to the given application. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '400': - description: Service Id is incorrect. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/services/ServiceRelease/inReview: - get: - tags: - - ServiceRelease - summary: 'Retrieves all in review status service in the marketplace . (Authorization required - Roles: approve_service_release,decline_service_release)' - description: 'Example: GET: /api/services/servicerelease/inReview' - parameters: - - name: page - in: query - description: page index start from 0 - schema: - type: integer - format: int32 - default: 0 - - name: size - in: query - description: size to get number of records - schema: - type: integer - format: int32 - default: 15 - - name: sorting - in: query - description: sort by - schema: - $ref: '#/components/schemas/OfferSorting' - - name: serviceName - in: query - description: search by service name - schema: - type: string - - name: languageShortName - in: query - description: Filter by language shortname - schema: - type: string - - name: status - in: query - description: Filter by status - schema: - $ref: '#/components/schemas/ServiceReleaseStatusIdFilter' - responses: - '200': - description: Returns the list of all in review status marketplace service. - content: - application/json: - schema: - $ref: '#/components/schemas/InReviewServiceDataResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/ServiceRelease/documents/{documentId}': - delete: - tags: - - ServiceRelease - summary: 'Delete Document Assigned to Offer (Authorization required - Roles: add_service_offering)' - description: 'Example: DELETE: /api/services/servicerelease/documents/{documentId}' - parameters: - - name: documentId - in: path - description: ID of the document to be deleted. - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Empty response on success. - '404': - description: Record not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User is not allowed to delete the document - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Document or App is in InCorrect Status - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '400': - description: parameters are invalid. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/services/ServiceRelease/addservice: - post: - tags: - - ServiceRelease - summary: 'Creates a new service offering. (Authorization required - Roles: add_service_offering)' - description: 'Example: POST: /api/services/servicerelease/addservice' - requestBody: - description: The data for the new service offering. - content: - application/json: - schema: - $ref: '#/components/schemas/ServiceOfferingData' - responses: - '201': - description: Returns the newly created service id. - content: - application/json: - schema: - $ref: '#/components/schemas/OfferProviderResponse' - '400': - description: The given service offering data were invalid i.e At lease one Service Type Id is missing or Title is less than three character or IamUser is not assignable to company user or SalesManager does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/ServiceRelease/{serviceId}': - put: - tags: - - ServiceRelease - summary: 'Updates the service (Authorization required - Roles: update_service_offering)' - description: 'Example: PUT: /api/services/servicerelease/{serviceId}' - parameters: - - name: serviceId - in: path - description: Id for the service to update. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - requestBody: - description: The request data to update the service - content: - application/json: - schema: - $ref: '#/components/schemas/ServiceUpdateRequestData' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/NoContentResult' - '400': - description: Offer Subscription is not in state created or user is not in the same company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Offer Subscription not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User don't have permission to change the service. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Service is in inCorrect state - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '204': - description: Service was successfully updated. - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/ServiceRelease/{serviceId}/submit': - put: - tags: - - ServiceRelease - summary: 'Submit an Service for release (Authorization required - Roles: add_service_offering)' - description: 'Example: PUT: /api/services/servicerelease/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645/submit' - parameters: - - name: serviceId - in: path - description: ID of the service. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - responses: - '204': - description: The service was successfully submitted for release. - '400': - description: 'Either the sub claim is empty/invalid, user does not exist or the subscription might not have the correct status or the companyID is incorrect.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: service does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/ServiceRelease/{serviceId}/approveService': - put: - tags: - - ServiceRelease - summary: 'Approve Service to change status from IN_REVIEW to Active and create notification (Authorization required - Roles: approve_service_release)' - description: 'Example: PUT: /api/services/servicerelease/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645/approveService' - parameters: - - name: serviceId - in: path - description: '' - required: true - schema: - type: string - format: uuid - responses: - '204': - description: The service was successfully submitted to Active State. - '404': - description: service does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Service is in InCorrect Status - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal server error - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - '/api/services/ServiceRelease/{serviceId}/declineService': - put: - tags: - - ServiceRelease - summary: 'Declines the service request (Authorization required - Roles: decline_service_release)' - description: 'Example: PUT: /api/services/servicerelease/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645/decline' - parameters: - - name: serviceId - in: path - description: Id of the service that should be declined - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - requestBody: - description: the data of the decline request - content: - application/json: - schema: - $ref: '#/components/schemas/OfferDeclineRequest' - responses: - '204': - description: NoContent. - '400': - description: If sub claim is empty/invalid or user does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: If service does not exists. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User doest not have permission to change - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Offer Type is in inCorrect state. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - '/api/services/ServiceRelease/updateservicedoc/{serviceId}/documentType/{documentTypeId}/documents': - put: - tags: - - ServiceRelease - summary: 'Upload document for active service in the marketplace for given serviceId for same company as user (Authorization required - Roles: add_service_offering)' - description: 'Example: PUT: /api/services/servicerelease/updateservicedoc/{serviceId}/documentType/{documentTypeId}/documents' - parameters: - - name: serviceId - in: path - description: '' - required: true - schema: - type: string - format: uuid - - name: documentTypeId - in: path - description: '' - required: true - schema: - $ref: '#/components/schemas/DocumentTypeId' - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - document: - type: file - description: '' - format: binary - encoding: - document: - style: form - application/json: - schema: - type: object - properties: - document: - type: file - description: '' - format: binary - encoding: - document: - style: form - responses: - '204': - description: Successfully uploaded the document - content: - application/json: - schema: - $ref: '#/components/schemas/NoContentResult' - '400': - description: 'If sub claim is empty/invalid or user does not exist, or any other parameters are invalid.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: service does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: The user is not assigned with the service. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Offer is in inCorrect State. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '415': - description: Only PDF files are supported. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/ServiceRelease/{serviceId}/technical-user-profiles': - get: - tags: - - ServiceRelease - summary: 'Retrieve service specific stored technical user profile configured to get created if a related service subscription is getting activated. (Authorization required - Roles: add_service_offering)' - description: 'Example: GET: /api/services/servicerelease/{serviceId}/technical-user-profiles' - parameters: - - name: serviceId - in: path - description: id of the service to receive the technical user profiles for - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns a list of Technical User profiles - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/TechnicalUserProfileInformation' - '403': - description: Requesting user is not part of the providing company for the service. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - put: - tags: - - ServiceRelease - summary: 'Creates and updates the technical user profiles (Authorization required - Roles: add_service_offering)' - description: 'Example: PUT: /api/services/servicerelease/{serviceId}/technical-user-profiles' - parameters: - - name: serviceId - in: path - description: id of the service to receive the technical user profiles for - required: true - schema: - type: string - format: uuid - requestBody: - description: The data for the update of the technical user profile - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/TechnicalUserProfileData' - responses: - '204': - description: No Content - content: - application/json: - schema: - $ref: '#/components/schemas/NoContentResult' - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: Requesting user is not part of the providing company for the service. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '200': - description: Returns a list of profiles - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/services/active: - get: - tags: - - Services - summary: 'Retrieves all active services in the marketplace. (Authorization required - Roles: view_service_offering)' - description: 'Example: GET: /api/services/active' - parameters: - - name: page - in: query - description: Optional the page of the services. - schema: - type: integer - format: int32 - default: 0 - example: 0 - - name: size - in: query - description: 'Amount of services that should be returned, default is 15.' - schema: - type: integer - format: int32 - default: 15 - example: 15 - - name: sorting - in: query - description: Optional Sorting of the pagination - schema: - $ref: '#/components/schemas/ServiceOverviewSorting' - example: ProviderAsc - - name: serviceTypeId - in: query - description: Optional filter for service type ids - schema: - $ref: '#/components/schemas/ServiceTypeId' - responses: - '200': - description: Returns the list of all active services. - content: - application/json: - schema: - $ref: '#/components/schemas/ServiceOverviewDataResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/{serviceId}/subscribe': - post: - tags: - - Services - summary: 'Adds a new service subscription. (Authorization required - Roles: subscribe_service)' - description: 'Example: POST: /api/services/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645/subscribe' - parameters: - - name: serviceId - in: path - description: Id for the service the user wants to subscribe to. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - requestBody: - description: The agreement consent data - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/OfferAgreementConsentData' - responses: - '201': - description: Returns success - content: - application/json: - schema: - type: string - format: uuid - '400': - description: Company or company user wasn't assigned to the user. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No Service was found for the given id. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/subscription/{subscriptionId}': - get: - tags: - - Services - summary: 'Gets the Subscription Detail Data (Authorization required - Roles: view_service_offering)' - description: 'Example: Get: /api/services/subscription/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C646' - operationId: GetSubscriptionDetail - parameters: - - name: subscriptionId - in: path - description: Id for the subscription the wants to retrieve. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C646 - responses: - '200': - description: Returns the subscription details. - content: - application/json: - schema: - $ref: '#/components/schemas/SubscriptionDetailData' - '404': - description: Service was not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/{serviceId}': - get: - tags: - - Services - summary: 'Retrieves service offer details for the respective service id. (Authorization required - Roles: view_service_offering)' - description: 'Example: Get: /api/services/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645' - operationId: GetServiceDetails - parameters: - - name: serviceId - in: path - description: Id for the service the wants to retrieve. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - - name: lang - in: query - description: 'OPTIONAL: Optional two character language specifier for the service description. Default response is set to english.' - schema: - type: string - default: en - example: de - responses: - '200': - description: Returns the service details. - content: - application/json: - schema: - $ref: '#/components/schemas/ServiceDetailResponse' - '404': - description: Service was not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/serviceConsent/{serviceConsentId}': - get: - tags: - - Services - summary: 'Gets the service agreement consent details. (Authorization required - Roles: view_service_offering)' - description: 'Example: Get: /api/services/serviceConsent/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645' - operationId: GetServiceAgreementConsentDetail - parameters: - - name: serviceConsentId - in: path - description: Id for the service consent to retrieve. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - responses: - '200': - description: Returns the service consent details. - content: - application/json: - schema: - $ref: '#/components/schemas/ConsentDetailData' - '404': - description: Consent was not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/serviceAgreementData/{serviceId}': - get: - tags: - - Services - summary: 'Gets all agreements (Authorization required - Roles: subscribe_service)' - description: 'Example: GET: /api/services/serviceAgreementData/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645' - parameters: - - name: serviceId - in: path - description: Id for the service consent to retrieve. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - responses: - '200': - description: Returns the service agreement data. - content: - application/json: - schema: - $ref: '#/components/schemas/AgreementData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/services/autoSetup: - post: - tags: - - Services - summary: 'Auto setup the service (Authorization required - Roles: activate_subscription)' - description: 'Example: POST: /api/services/autoSetup' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/OfferAutoSetupData' - responses: - '200': - description: Returns the service agreement data. - content: - application/json: - schema: - $ref: '#/components/schemas/OfferAutoSetupResponseData' - '400': - description: Offer Subscription is pending or not the providing company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Offer Subscription not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - deprecated: true - /api/services/start-autoSetup: - post: - tags: - - Services - summary: 'Auto setup the app (Authorization required - Roles: activate_subscription)' - description: 'Example: POST: /api/apps/start-autoSetup' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/OfferAutoSetupData' - responses: - '204': - description: The auto setup has successfully been started. - '400': - description: Offer Subscription is pending or not the providing company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Offer Subscription not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/services/provided/subscription-status: - get: - tags: - - Services - summary: 'Retrieves subscription statuses of provided services of the currently logged in user''s company. (Authorization required - Roles: view_service_subscriptions)' - description: 'Example: GET: /api/services/provided/subscription-status' - parameters: - - name: page - in: query - schema: - type: integer - format: int32 - default: 0 - - name: size - in: query - schema: - type: integer - format: int32 - default: 15 - - name: sorting - in: query - schema: - $ref: '#/components/schemas/SubscriptionStatusSorting' - - name: statusId - in: query - schema: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - - name: offerId - in: query - schema: - type: string - format: uuid - - name: companyName - in: query - schema: - type: string - responses: - '200': - description: Returns list of applicable service subscription statuses. - content: - application/json: - schema: - $ref: '#/components/schemas/OfferCompanySubscriptionStatusResponseResponse' - '400': - description: If sub claim is empty/invalid or user does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/{serviceId}/serviceDocuments/{documentId}': - get: - tags: - - Services - summary: 'Retrieve Document Content for Service by ID (Authorization required - Roles: view_documents)' - description: 'Example: GET: /api/services/{serviceId}/serviceDocuments/{documentId}' - parameters: - - name: serviceId - in: path - description: '' - required: true - schema: - type: string - format: uuid - - name: documentId - in: path - description: '' - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns the document Content - content: - image/jpeg: - schema: - type: string - format: binary - image/png: - schema: - type: string - format: binary - image/gif: - schema: - type: string - format: binary - image/svg+xml: - schema: - type: string - format: binary - image/tiff: - schema: - type: string - format: binary - application/pdf: - schema: - type: string - format: binary - application/json: - schema: - type: string - format: binary - '400': - description: Document / Service id not found or document type not supported. - content: - image/jpeg: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/png: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/gif: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/svg+xml: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/tiff: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/pdf: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: document not found. - content: - image/jpeg: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/png: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/gif: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/svg+xml: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/tiff: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/pdf: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '415': - description: UnSupported Media Type. - content: - image/jpeg: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/png: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/gif: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/svg+xml: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/tiff: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/pdf: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/services/provided: - get: - tags: - - Services - summary: 'Retrieves all in review status service in the marketplace . (Authorization required - Roles: add_service_offering)' - description: 'Example: GET: /api/services/provided' - parameters: - - name: page - in: query - description: page index start from 0 - schema: - type: integer - format: int32 - default: 0 - - name: size - in: query - description: size to get number of records - schema: - type: integer - format: int32 - default: 15 - - name: sorting - in: query - description: sort by - schema: - $ref: '#/components/schemas/OfferSorting' - - name: offerName - in: query - description: search by status Id - schema: - type: string - - name: statusId - in: query - description: search by status Id - schema: - $ref: '#/components/schemas/ServiceStatusIdFilter' - responses: - '200': - description: Returns the list of service filtered by offer status Id. - content: - application/json: - schema: - $ref: '#/components/schemas/AllOfferStatusDataResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/{serviceId}/subscription/{subscriptionId}/provider': - get: - tags: - - Services - summary: 'Retrieves the details of a subscription (Authorization required - Roles: service_management)' - description: 'Example: GET: /api/services/{serviceId}/subscription/{subscriptionId}/provider' - parameters: - - name: serviceId - in: path - description: id of the service to receive the details for - required: true - schema: - type: string - format: uuid - - name: subscriptionId - in: path - description: id of the subscription to receive the details for - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns the subscription details for the provider - content: - application/json: - schema: - $ref: '#/components/schemas/ProviderSubscriptionDetailData' - '403': - description: User's company does not provide the service. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No service or subscription found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/{serviceId}/subscription/{subscriptionId}/subscriber': - get: - tags: - - Services - summary: 'Retrieves the details of a subscription (Authorization required - Roles: subscribe_service)' - description: 'Example: GET: /api/services/{serviceId}/subscription/{subscriptionId}/subscriber' - parameters: - - name: serviceId - in: path - description: id of the service to receive the details for - required: true - schema: - type: string - format: uuid - - name: subscriptionId - in: path - description: id of the subscription to receive the details for - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns the subscription details for the subscriber - content: - application/json: - schema: - $ref: '#/components/schemas/SubscriberSubscriptionDetailData' - '403': - description: User's company does not provide the service. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No service or subscription found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/services/subscribed/subscription-status: - get: - tags: - - Services - summary: 'Retrieves subscription statuses of services. (Authorization required - Roles: view_service_subscriptions)' - description: 'Example: GET: /api/services/subscribed/subscription-status' - parameters: - - name: page - in: query - description: The page that should be displayed - schema: - type: integer - format: int32 - default: 0 - - name: size - in: query - description: The size per page of elements that should be returned - schema: - type: integer - format: int32 - default: 15 - - name: status - in: query - description: 'Filter for the offer subscription status. If not set, all elements will be returned' - schema: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - - name: name - in: query - description: Optional search query to filter for the name - schema: - type: string - responses: - '200': - description: Returns list of applicable service subscription statuses. - content: - application/json: - schema: - $ref: '#/components/schemas/OfferSubscriptionStatusDetailDataResponse' - '400': - description: If sub claim is empty/invalid or user does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/{subscriptionId}/unsubscribe': - put: - tags: - - Services - summary: 'Unsubscribes an service from the current user''s company''s subscriptions. (Authorization required - Roles: unsubscribe_services)' - description: 'Example: PUT: /api/service/{subscriptionId}/unsubscribe' - parameters: - - name: subscriptionId - in: path - description: ID of the subscription to unsubscribe from. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - responses: - '204': - description: The service was successfully unsubscribed from. - '400': - description: 'Either the sub claim is empty/invalid, user does not exist or the subscription might not have the correct status or the companyID is incorrect.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Service does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/subscription/{subscriptionId}/activate': - put: - tags: - - Services - summary: 'Activates a pending service subscription. (Authorization required - Roles: activate_subscription)' - description: 'Example: PUT: /api/services/supscription/{subscriptiondId}/activate' - parameters: - - name: subscriptionId - in: path - description: ID of the subscription to activate. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - responses: - '204': - description: Service subscription was successfully activated. - '400': - description: 'If sub claim is empty/invalid or user does not exist, or any other parameters are invalid.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized -components: - schemas: - AgreementConsentStatus: - type: object - properties: - agreementId: - type: string - format: uuid - consentStatus: - $ref: '#/components/schemas/ConsentStatusId' - additionalProperties: false - AgreementData: - type: object - properties: - agreementId: - type: string - format: uuid - name: - type: string - mandatory: - type: boolean - additionalProperties: false - AgreementDocumentData: - type: object - properties: - agreementId: - type: string - format: uuid - name: - type: string - agreementLink: - type: string - nullable: true - documentId: - type: string - format: uuid - nullable: true - mandatory: - type: boolean - additionalProperties: false - AllOfferStatusData: - type: object - properties: - id: - type: string - format: uuid - name: - type: string - nullable: true - leadPictureId: - type: string - format: uuid - nullable: true - provider: - type: string - status: - $ref: '#/components/schemas/OfferStatusId' - lastChanged: - type: string - format: date-time - nullable: true - additionalProperties: false - AllOfferStatusDataResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/AllOfferStatusData' - additionalProperties: false - AppUseCaseData: - type: object - properties: - id: - type: string - format: uuid - label: - type: string - additionalProperties: false - ClientInfoData: - type: object - properties: - clientId: - type: string - clientUrl: - type: string - additionalProperties: false - CompanySubscriptionStatus: - type: object - properties: - companyId: - type: string - format: uuid - companyName: - type: string - subscriptionId: - type: string - format: uuid - offerSubscriptionStatus: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - country: - type: string - nullable: true - bpnNumber: - type: string - nullable: true - email: - type: string - nullable: true - technicalUser: - type: boolean - processStepTypeId: - $ref: '#/components/schemas/ProcessStepTypeId' - additionalProperties: false - ConsentDetailData: - type: object - properties: - id: - type: string - format: uuid - companyName: - type: string - companyUserId: - type: string - format: uuid - consentStatus: - $ref: '#/components/schemas/ConsentStatusId' - agreementName: - type: string - additionalProperties: false - ConsentStatusData: - type: object - properties: - agreementId: - type: string - format: uuid - consentStatus: - $ref: '#/components/schemas/ConsentStatusId' - additionalProperties: false - ConsentStatusId: - enum: - - ACTIVE - - INACTIVE - type: string - DocumentData: - type: object - properties: - documentId: - type: string - format: uuid - documentName: - type: string - additionalProperties: false - DocumentTypeId: - enum: - - CX_FRAME_CONTRACT - - COMMERCIAL_REGISTER_EXTRACT - - APP_CONTRACT - - CONFORMITY_APPROVAL_REGISTRATION - - ADDITIONAL_DETAILS - - APP_LEADIMAGE - - APP_IMAGE - - SELF_DESCRIPTION - - APP_TECHNICAL_INFORMATION - - CONFORMITY_APPROVAL_CONNECTOR - - CONFORMITY_APPROVAL_BUSINESS_APPS - - CONFORMITY_APPROVAL_SERVICES - - SERVICE_LEADIMAGE - - PRESENTATION - - COMPANY_CERTIFICATE - type: string - ErrorDetails: - type: object - properties: - errorCode: - type: string - type: - type: string - message: - type: string - parameters: - type: array - items: - $ref: '#/components/schemas/ErrorParameter' - additionalProperties: false - ErrorMessageCode: - type: object - properties: - errorCode: - type: string - message: - type: string - additionalProperties: false - ErrorMessageType: - type: object - properties: - errorType: - type: string - errorMessages: - type: array - items: - $ref: '#/components/schemas/ErrorMessageCode' - additionalProperties: false - ErrorParameter: - type: object - properties: - name: - type: string - value: - type: string - additionalProperties: false - ErrorResponse: - type: object - properties: - type: - type: string - title: - type: string - status: - type: integer - format: int32 - errors: - type: object - additionalProperties: - type: array - items: - type: string - errorId: - type: string - details: - type: array - items: - $ref: '#/components/schemas/ErrorDetails' - nullable: true - additionalProperties: false - InReviewServiceData: - type: object - properties: - id: - type: string - format: uuid - title: - type: string - nullable: true - status: - $ref: '#/components/schemas/OfferStatusId' - provider: - type: string - description: - type: string - additionalProperties: false - InReviewServiceDataResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/InReviewServiceData' - additionalProperties: false - LicenseTypeId: - enum: - - COTS - - FOSS - type: string - LocalizedDescription: - type: object - properties: - languageCode: - type: string - longDescription: - type: string - shortDescription: - type: string - additionalProperties: false - Metadata: - type: object - properties: - totalElements: - type: integer - format: int32 - totalPages: - type: integer - format: int32 - page: - type: integer - format: int32 - contentSize: - type: integer - format: int32 - additionalProperties: false - NoContentResult: - type: object - properties: - statusCode: - type: integer - format: int32 - additionalProperties: false - OfferAgreement: - type: object - properties: - id: - type: string - format: uuid - nullable: true - name: - type: string - nullable: true - consentStatus: - type: string - nullable: true - additionalProperties: false - OfferAgreementConsent: - type: object - properties: - agreements: - type: array - items: - $ref: '#/components/schemas/AgreementConsentStatus' - additionalProperties: false - OfferAgreementConsentData: - type: object - properties: - agreementId: - type: string - format: uuid - consentStatusId: - $ref: '#/components/schemas/ConsentStatusId' - additionalProperties: false - OfferAutoSetupData: - type: object - properties: - requestId: - type: string - format: uuid - offerUrl: - type: string - additionalProperties: false - OfferAutoSetupResponseData: - type: object - properties: - technicalUserInfo: - type: array - items: - $ref: '#/components/schemas/TechnicalUserInfoData' - clientInfo: - $ref: '#/components/schemas/ClientInfoData' - additionalProperties: false - OfferCompanySubscriptionStatusResponse: - type: object - properties: - offerId: - type: string - format: uuid - offerName: - type: string - nullable: true - companySubscriptionStatuses: - type: array - items: - $ref: '#/components/schemas/CompanySubscriptionStatus' - image: - type: string - format: uuid - nullable: true - additionalProperties: false - OfferCompanySubscriptionStatusResponseResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/OfferCompanySubscriptionStatusResponse' - additionalProperties: false - OfferDeclineRequest: - type: object - properties: - message: - type: string - additionalProperties: false - OfferProviderResponse: - type: object - properties: - title: - type: string - nullable: true - provider: - type: string - leadPictureId: - type: string - format: uuid - providerName: - type: string - nullable: true - useCase: - type: array - items: - $ref: '#/components/schemas/AppUseCaseData' - nullable: true - descriptions: - type: array - items: - $ref: '#/components/schemas/LocalizedDescription' - agreements: - type: array - items: - $ref: '#/components/schemas/OfferAgreement' - supportedLanguageCodes: - type: array - items: - type: string - price: - type: string - nullable: true - images: - type: array - items: - type: string - format: uuid - providerUri: - type: string - nullable: true - contactEmail: - type: string - nullable: true - contactNumber: - type: string - nullable: true - documents: - type: object - properties: - CX_FRAME_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMMERCIAL_REGISTER_EXTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_REGISTRATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - ADDITIONAL_DETAILS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_IMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SELF_DESCRIPTION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_TECHNICAL_INFORMATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_CONNECTOR: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_BUSINESS_APPS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_SERVICES: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SERVICE_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - PRESENTATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMPANY_CERTIFICATE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - additionalProperties: false - salesManagerId: - type: string - format: uuid - nullable: true - privacyPolicies: - type: array - items: - $ref: '#/components/schemas/PrivacyPolicyId' - serviceTypeIds: - type: array - items: - $ref: '#/components/schemas/ServiceTypeId' - nullable: true - technicalUserProfile: - type: object - additionalProperties: - type: array - items: - type: string - additionalProperties: false - OfferSorting: - enum: - - DateAsc - - DateDesc - - NameAsc - - NameDesc - type: string - OfferStatusId: - enum: - - CREATED - - IN_REVIEW - - ACTIVE - - INACTIVE - type: string - OfferSubscriptionStateDetailData: - type: object - properties: - offerSubscriptionId: - type: string - format: uuid - offerSubscriptionStatus: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - additionalProperties: false - OfferSubscriptionStatusDetailData: - type: object - properties: - offerId: - type: string - format: uuid - name: - type: string - nullable: true - provider: - type: string - status: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - subscriptionId: - type: string - format: uuid - image: - type: string - format: uuid - nullable: true - additionalProperties: false - OfferSubscriptionStatusDetailDataResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/OfferSubscriptionStatusDetailData' - additionalProperties: false - OfferSubscriptionStatusId: - enum: - - PENDING - - ACTIVE - - INACTIVE - type: string - PrivacyPolicyId: - enum: - - COMPANY_DATA - - USER_DATA - - LOCATION - - BROWSER_HISTORY - - NONE - type: string - ProcessStepTypeId: - enum: - - MANUAL_VERIFY_REGISTRATION - - CREATE_BUSINESS_PARTNER_NUMBER_PUSH - - CREATE_BUSINESS_PARTNER_NUMBER_PULL - - CREATE_BUSINESS_PARTNER_NUMBER_MANUAL - - CREATE_IDENTITY_WALLET - - RETRIGGER_IDENTITY_WALLET - - START_CLEARING_HOUSE - - RETRIGGER_CLEARING_HOUSE - - AWAIT_CLEARING_HOUSE_RESPONSE - - START_SELF_DESCRIPTION_LP - - RETRIGGER_SELF_DESCRIPTION_LP - - ACTIVATE_APPLICATION - - RETRIGGER_BUSINESS_PARTNER_NUMBER_PUSH - - RETRIGGER_BUSINESS_PARTNER_NUMBER_PULL - - MANUAL_TRIGGER_OVERRIDE_CLEARING_HOUSE - - START_OVERRIDE_CLEARING_HOUSE - - AWAIT_SELF_DESCRIPTION_LP_RESPONSE - - MANUAL_DECLINE_APPLICATION - - CREATE_DIM_WALLET - - AWAIT_DIM_RESPONSE_RESPONSE - - RETRIGGER_CREATE_DIM_WALLET - - VALIDATE_DID_DOCUMENT - - RETRIGGER_VALIDATE_DID_DOCUMENT - - REQUEST_BPN_CREDENTIAL - - AWAIT_BPN_CREDENTIAL_RESPONSE - - REQUEST_MEMBERSHIP_CREDENTIAL - - AWAIT_MEMBERSHIP_CREDENTIAL_RESPONSE - - TRANSMIT_BPN_DID - - RETRIGGER_TRANSMIT_DID_BPN - - RETRIGGER_REQUEST_BPN_CREDENTIAL - - RETRIGGER_REQUEST_MEMBERSHIP_CREDENTIAL - - TRIGGER_PROVIDER - - AWAIT_START_AUTOSETUP - - OFFERSUBSCRIPTION_CLIENT_CREATION - - SINGLE_INSTANCE_SUBSCRIPTION_DETAILS_CREATION - - OFFERSUBSCRIPTION_TECHNICALUSER_CREATION - - ACTIVATE_SUBSCRIPTION - - TRIGGER_PROVIDER_CALLBACK - - RETRIGGER_PROVIDER - - RETRIGGER_OFFERSUBSCRIPTION_CLIENT_CREATION - - RETRIGGER_OFFERSUBSCRIPTION_TECHNICALUSER_CREATION - - RETRIGGER_PROVIDER_CALLBACK - - MANUAL_TRIGGER_ACTIVATE_SUBSCRIPTION - - OFFERSUBSCRIPTION_CREATE_DIM_TECHNICAL_USER - - RETRIGGER_OFFERSUBSCRIPTION_CREATE_DIM_TECHNICAL_USER - - SYNCHRONIZE_USER - - RETRIGGER_SYNCHRONIZE_USER - - TRIGGER_CALLBACK_OSP_SUBMITTED - - TRIGGER_CALLBACK_OSP_APPROVED - - TRIGGER_CALLBACK_OSP_DECLINED - - RETRIGGER_CALLBACK_OSP_SUBMITTED - - RETRIGGER_CALLBACK_OSP_APPROVED - - RETRIGGER_CALLBACK_OSP_DECLINED - - MANUAL_DECLINE_OSP - - REMOVE_KEYCLOAK_USERS - - RETRIGGER_REMOVE_KEYCLOAK_USERS - - SEND_MAIL - - RETRIGGER_SEND_MAIL - - INVITATION_CREATE_CENTRAL_IDP - - INVITATION_CREATE_SHARED_IDP_SERVICE_ACCOUNT - - INVITATION_ADD_REALM_ROLE - - INVITATION_CREATE_SHARED_REALM - - INVITATION_CREATE_CENTRAL_IDP_ORG_MAPPER - - INVITATION_UPDATE_CENTRAL_IDP_URLS - - INVITATION_CREATE_SHARED_CLIENT - - INVITATION_ENABLE_CENTRAL_IDP - - INVITATION_CREATE_DATABASE_IDP - - INVITATION_CREATE_USER - - RETRIGGER_INVITATION_CREATE_CENTRAL_IDP - - RETRIGGER_INVITATION_CREATE_SHARED_IDP_SERVICE_ACCOUNT - - RETRIGGER_INVITATION_ADD_REALM_ROLE - - RETRIGGER_INVITATION_CREATE_SHARED_REALM - - RETRIGGER_INVITATION_CREATE_CENTRAL_IDP_ORG_MAPPER - - RETRIGGER_INVITATION_UPDATE_CENTRAL_IDP_URLS - - RETRIGGER_INVITATION_CREATE_SHARED_CLIENT - - RETRIGGER_INVITATION_ENABLE_CENTRAL_IDP - - RETRIGGER_INVITATION_CREATE_USER - - RETRIGGER_INVITATION_CREATE_DATABASE_IDP - - CREATE_DIM_TECHNICAL_USER - - RETRIGGER_CREATE_DIM_TECHNICAL_USER - - AWAIT_CREATE_DIM_TECHNICAL_USER_RESPONSE - - DELETE_DIM_TECHNICAL_USER - - AWAIT_DELETE_DIM_TECHNICAL_USER_RESPONSE - - RETRIGGER_DELETE_DIM_TECHNICAL_USER - - DELETE_CENTRAL_USER - - RETRIGGER_DELETE_CENTRAL_USER - - DELETE_COMPANYUSER_ASSIGNED_PROCESS - - DELETE_IDP_SHARED_REALM - - RETRIGGER_DELETE_IDP_SHARED_REALM - - DELETE_IDP_SHARED_SERVICEACCOUNT - - RETRIGGER_DELETE_IDP_SHARED_SERVICEACCOUNT - - DELETE_CENTRAL_IDENTITY_PROVIDER - - RETRIGGER_DELETE_CENTRAL_IDENTITY_PROVIDER - - DELETE_IDENTITY_PROVIDER - - SELF_DESCRIPTION_CONNECTOR_CREATION - - SELF_DESCRIPTION_COMPANY_CREATION - - RETRIGGER_SELF_DESCRIPTION_CONNECTOR_CREATION - - RETRIGGER_SELF_DESCRIPTION_COMPANY_CREATION - type: string - ProviderSubscriptionDetailData: - type: object - properties: - id: - type: string - format: uuid - offerSubscriptionStatus: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - name: - type: string - nullable: true - customer: - type: string - bpn: - type: string - nullable: true - contact: - type: array - items: - type: string - technicalUserData: - type: array - items: - $ref: '#/components/schemas/SubscriptionTechnicalUserData' - additionalProperties: false - ServiceData: - type: object - properties: - id: - type: string - description: ID of the service. - format: uuid - title: - type: string - description: Title or name of the service. - serviceTypes: - type: array - items: - $ref: '#/components/schemas/ServiceTypeId' - description: Collection of the assigned serviceTypeIds - provider: - type: string - description: Provider of the service. - descriptions: - type: array - items: - $ref: '#/components/schemas/LocalizedDescription' - description: The description of the service. - documents: - type: object - properties: - CX_FRAME_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMMERCIAL_REGISTER_EXTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_REGISTRATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - ADDITIONAL_DETAILS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_IMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SELF_DESCRIPTION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_TECHNICAL_INFORMATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_CONNECTOR: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_BUSINESS_APPS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_SERVICES: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SERVICE_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - PRESENTATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMPANY_CERTIFICATE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - additionalProperties: false - description: documents assigned to service. - providerUri: - type: string - description: Provider Uri of the service - contactEmail: - type: string - description: Contact Email of the service. - nullable: true - contactNumber: - type: string - description: Contact Number of the service. - nullable: true - licenseType: - $ref: '#/components/schemas/LicenseTypeId' - offerStatus: - $ref: '#/components/schemas/OfferStatusId' - technicalUserProfile: - type: object - additionalProperties: - type: array - items: - type: string - description: Status of the offer - additionalProperties: false - description: View model of an application's detailed data specific for service. - ServiceDetailResponse: - type: object - properties: - id: - type: string - description: ID of the app. - format: uuid - title: - type: string - description: Title or name of the app. - nullable: true - provider: - type: string - description: Provider of the app. - contactEmail: - type: string - description: Contact email address. - nullable: true - description: - type: string - description: The description of the service. - nullable: true - licenseType: - $ref: '#/components/schemas/LicenseTypeId' - price: - type: string - description: Pricing information of the app. - offerSubscriptionDetailData: - type: array - items: - $ref: '#/components/schemas/OfferSubscriptionStateDetailData' - description: Detail Data of the offer subscription - serviceTypes: - type: array - items: - $ref: '#/components/schemas/ServiceTypeId' - description: Collection of the assigned serviceTypeIds. - documents: - type: object - properties: - CX_FRAME_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMMERCIAL_REGISTER_EXTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_REGISTRATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - ADDITIONAL_DETAILS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_IMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SELF_DESCRIPTION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_TECHNICAL_INFORMATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_CONNECTOR: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_BUSINESS_APPS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_SERVICES: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SERVICE_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - PRESENTATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMPANY_CERTIFICATE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - additionalProperties: false - description: documents assigned to offer - technicalUserProfile: - type: object - additionalProperties: - type: array - items: - type: string - description: Technical User Profile - additionalProperties: false - description: View model of an application's detailed data specific for service. - ServiceOfferingData: - type: object - properties: - title: - type: string - price: - type: string - contactEmail: - type: string - nullable: true - salesManager: - type: string - format: uuid - nullable: true - descriptions: - type: array - items: - $ref: '#/components/schemas/LocalizedDescription' - serviceTypeIds: - type: array - items: - $ref: '#/components/schemas/ServiceTypeId' - providerUri: - type: string - nullable: true - additionalProperties: false - ServiceOverviewData: - type: object - properties: - id: - type: string - format: uuid - title: - type: string - nullable: true - provider: - type: string - contactEmail: - type: string - nullable: true - description: - type: string - nullable: true - licenseType: - $ref: '#/components/schemas/LicenseTypeId' - price: - type: string - serviceTypeIds: - type: array - items: - $ref: '#/components/schemas/ServiceTypeId' - additionalProperties: false - ServiceOverviewDataResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/ServiceOverviewData' - additionalProperties: false - ServiceOverviewSorting: - enum: - - ProviderAsc - - ProviderDesc - - ReleaseDateAsc - - ReleaseDateDesc - type: string - ServiceProviderResponse: - type: object - properties: - title: - type: string - description: title of the offer - nullable: true - leadPictureId: - type: string - description: id of the lead picture - format: uuid - descriptions: - type: array - items: - $ref: '#/components/schemas/LocalizedDescription' - description: the offer descriptions - agreements: - type: array - items: - $ref: '#/components/schemas/OfferAgreement' - description: the assigned agreements - price: - type: string - description: the offer price - nullable: true - images: - type: array - items: - type: string - format: uuid - description: list of the images - providerUri: - type: string - description: the provider uri - nullable: true - contactEmail: - type: string - description: contact email - nullable: true - contactNumber: - type: string - description: contact number - nullable: true - documents: - type: object - properties: - CX_FRAME_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMMERCIAL_REGISTER_EXTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_REGISTRATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - ADDITIONAL_DETAILS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_IMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SELF_DESCRIPTION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_TECHNICAL_INFORMATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_CONNECTOR: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_BUSINESS_APPS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_SERVICES: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SERVICE_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - PRESENTATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMPANY_CERTIFICATE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - additionalProperties: false - description: list of linked documents - salesManagerId: - type: string - description: id of the salesmanager - format: uuid - nullable: true - serviceTypeIds: - type: array - items: - $ref: '#/components/schemas/ServiceTypeId' - description: ids of the service types - technicalUserProfile: - type: object - additionalProperties: - type: array - items: - type: string - description: ids of the service types - additionalProperties: false - description: Response for the service creation - ServiceReleaseStatusIdFilter: - enum: - - InReview - - All - type: string - description: Filters the OfferStatusId information - ServiceStatusIdFilter: - enum: - - Active - - Inactive - - InReview - - WIP - - All - type: string - description: Filters the OfferStatusId information - ServiceTypeData: - type: object - properties: - serviceTypeId: - type: integer - format: int32 - name: - type: string - additionalProperties: false - ServiceTypeId: - enum: - - DATASPACE_SERVICE - - CONSULTANCY_SERVICE - type: string - ServiceUpdateRequestData: - type: object - properties: - title: - type: string - descriptions: - type: array - items: - $ref: '#/components/schemas/LocalizedDescription' - serviceTypeIds: - type: array - items: - $ref: '#/components/schemas/ServiceTypeId' - price: - type: string - contactEmail: - type: string - salesManager: - type: string - format: uuid - nullable: true - providerUri: - type: string - nullable: true - additionalProperties: false - SubscriberSubscriptionDetailData: - type: object - properties: - id: - type: string - format: uuid - offerSubscriptionStatus: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - name: - type: string - nullable: true - provider: - type: string - contact: - type: array - items: - type: string - technicalUserData: - type: array - items: - $ref: '#/components/schemas/SubscriptionTechnicalUserData' - connectorData: - type: array - items: - $ref: '#/components/schemas/SubscriptionAssignedConnectorData' - additionalProperties: false - SubscriptionAssignedConnectorData: - type: object - properties: - id: - type: string - format: uuid - name: - type: string - endpoint: - type: string - additionalProperties: false - SubscriptionDetailData: - type: object - properties: - offerId: - type: string - format: uuid - offerName: - type: string - status: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - additionalProperties: false - SubscriptionStatusSorting: - enum: - - CompanyNameAsc - - CompanyNameDesc - - OfferIdAsc - - OfferIdDesc - type: string - SubscriptionTechnicalUserData: - type: object - properties: - id: - type: string - format: uuid - name: - type: string - nullable: true - permissions: - type: array - items: - type: string - additionalProperties: false - TechnicalUserInfoData: - type: object - properties: - technicalUserId: - type: string - format: uuid - technicalUserPermissions: - type: array - items: - type: string - technicalUserSecret: - type: string - nullable: true - technicalClientId: - type: string - nullable: true - additionalProperties: false - TechnicalUserProfileData: - type: object - properties: - technicalUserProfileId: - type: string - format: uuid - nullable: true - userRoleIds: - type: array - items: - type: string - format: uuid - additionalProperties: false - TechnicalUserProfileInformation: - type: object - properties: - technicalUserProfileId: - type: string - format: uuid - userRoles: - type: array - items: - $ref: '#/components/schemas/UserRoleInformation' - additionalProperties: false - UrlInformation: - type: object - properties: - httpMethods: - type: string - url: - type: string - additionalProperties: false - UserRoleInformation: - type: object - properties: - roleId: - type: string - format: uuid - roleName: - type: string - additionalProperties: false - securitySchemes: - Bearer: - type: apiKey - description: "JWT Authorization header using the Bearer scheme. \r\n\r\n Enter 'Bearer' [space] and then your token in the text input below.\r\n\r\nExample: \"Bearer 12345abcdef\"" - name: Authorization - in: header -security: - - Bearer: [ ] \ No newline at end of file diff --git a/portal-backend/v2.3.0-alpha.1/services-service/swagger-ui/favicon-16x16.png b/portal-backend/v2.3.0-alpha.1/services-service/swagger-ui/favicon-16x16.png deleted file mode 100644 index 8b194e617af1c135e6b37939591d24ac3a5efa18..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 665 zcmV;K0%rY*P)}JKSduyL>)s!A4EhTMMEM%Q;aL6%l#xiZiF>S;#Y{N2Zz%pvTGHJduXuC6Lx-)0EGfRy*N{Tv4i8@4oJ41gw zKzThrcRe|7J~(YYIBq{SYCkn-KQm=N8$CrEK1CcqMI1dv9z#VRL_{D)L|`QmF8}}l zJ9JV`Q}p!p_4f7m_U`WQ@apR4;o;!mnU<7}iG_qr zF(e)x9~BG-3IzcG2M4an0002kNkl41`ZiN1i62V%{PM@Ry|IS_+Yc7{bb`MM~xm(7p4|kMHP&!VGuDW4kFixat zXw43VmgwEvB$hXt_u=vZ>+v4i7E}n~eG6;n4Z=zF1n?T*yg<;W6kOfxpC6nao>VR% z?fpr=asSJ&`L*wu^rLJ5Peq*PB0;alL#XazZCBxJLd&giTfw@!hW167F^`7kobi;( ze<<>qNlP|xy7S1zl@lZNIBR7#o9ybJsptO#%}P0hz~sBp00000NkvXXu0mjfUsDF? diff --git a/portal-backend/v2.3.0-alpha.1/services-service/swagger-ui/favicon-32x32.png b/portal-backend/v2.3.0-alpha.1/services-service/swagger-ui/favicon-32x32.png deleted file mode 100644 index 249737fe44558e679f0b67134e274461d988fa98..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 628 zcmV-)0*n2LP)Ma*GM0}OV<074bNCP7P7GVd{iMr*I6y~TMLss@FjvgL~HxU z%Vvj33AwpD(Z4*$Mfx=HaU16axM zt2xG_rloN<$iy9j9I5 - - - - - Swagger UI - - - - - - - -
- - - - - - diff --git a/portal-backend/v2.3.0-alpha.1/services-service/swagger-ui/services-service.yaml b/portal-backend/v2.3.0-alpha.1/services-service/swagger-ui/services-service.yaml deleted file mode 100644 index 74f4949..0000000 --- a/portal-backend/v2.3.0-alpha.1/services-service/swagger-ui/services-service.yaml +++ /dev/null @@ -1,2835 +0,0 @@ -openapi: 3.0.1 -info: - title: Org.Eclipse.TractusX.Portal.Backend.Services.Service - version: v2.3.0-alpha.1 -paths: - /api/services/errormessage: - get: - tags: - - ErrorMessage - responses: - '200': - description: OK - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ErrorMessageType' - '500': - description: Internal Server Error - /api/info: - get: - tags: - - OpenInformation - summary: ' (Authorization required)' - responses: - '200': - description: OK - content: - text/plain: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - text/json: - schema: - type: array - items: - $ref: '#/components/schemas/UrlInformation' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/ServiceChange/{serviceId}/deactivateService': - put: - tags: - - ServiceChange - summary: 'Deactivate the OfferStatus By serviceId (Authorization required - Roles: update_service_offering)' - description: 'Example: PUT: /api/service/servicechanges/3c77a395-a7e7-40f2-a519-ac16498e0a79/deactivateService' - parameters: - - name: serviceId - in: path - description: Id of the service that should be deactive - required: true - schema: - type: string - format: uuid - example: 3c77a395-a7e7-40f2-a519-ac16498e0a79 - responses: - '204': - description: The Service Successfully Deactivated - '400': - description: invalid or user does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: If service does not exists. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: Missing Permission - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Offer is in incorrect state - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/services/ServiceRelease/agreementData: - get: - tags: - - ServiceRelease - summary: 'Return Agreement Data for offer_type_id Service (Authorization required - Roles: add_service_offering)' - description: 'Example: GET: /api/services/servicerelease/agreementData' - responses: - '200': - description: Returns the Cpllection of agreement data - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/AgreementDocumentData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/ServiceRelease/inReview/{serviceId}': - get: - tags: - - ServiceRelease - summary: 'Retrieves service details for an offer referenced by id. (Authorization required - Roles: approve_service_release,decline_service_release)' - description: 'Example: GET: /api/services/servicerelease/inReview/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645' - operationId: GetServiceDetailsByIdAsync - parameters: - - name: serviceId - in: path - description: ID of the offer to retrieve. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - responses: - '200': - description: Returns the requested service details. - content: - application/json: - schema: - $ref: '#/components/schemas/ServiceData' - '404': - description: service not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: service is inCorrect Status. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/services/ServiceRelease/serviceTypes: - get: - tags: - - ServiceRelease - summary: 'Retrieve Service Type Data (Authorization required - Roles: add_service_offering)' - description: 'Example: GET: /api/services/servicerelease/serviceTypes' - responses: - '200': - description: Returns the Service Type. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ServiceTypeData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/ServiceRelease/consent/{serviceId}': - get: - tags: - - ServiceRelease - summary: 'Gets the agreement consent status for the given service id (Authorization required - Roles: add_service_offering)' - description: 'Example: GET: /api/services/servicerelease/consent/{serviceId}' - parameters: - - name: serviceId - in: path - description: '' - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns the offer Agreement Consent data - content: - application/json: - schema: - $ref: '#/components/schemas/OfferAgreementConsent' - '404': - description: offer does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User not associated with offer. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/ServiceRelease/{serviceId}/serviceStatus': - get: - tags: - - ServiceRelease - summary: 'Return app detail with status (Authorization required - Roles: add_service_offering)' - description: 'Example: GET: /api/services/servicerelease/{serviceId}/serviceStatus' - operationId: GetServiceDetailsForStatusAsync - parameters: - - name: serviceId - in: path - description: '' - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Return the Offer and status data - content: - application/json: - schema: - $ref: '#/components/schemas/ServiceProviderResponse' - '404': - description: App does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User not associated with provider company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/ServiceRelease/consent/{serviceId}/agreementConsents': - post: - tags: - - ServiceRelease - summary: 'Update or Insert Consent (Authorization required - Roles: add_service_offering)' - description: 'Example: POST: /api/services/servicerelease/consent/{serviceId}/agreementConsents' - parameters: - - name: serviceId - in: path - description: Id of the service - required: true - schema: - type: string - format: uuid - requestBody: - description: agreement consent data - content: - application/json: - schema: - $ref: '#/components/schemas/OfferAgreementConsent' - responses: - '200': - description: Successfully submitted consent to agreements - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ConsentStatusData' - '404': - description: Service does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: Either the user was not found or the user is not assignable to the given application. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '400': - description: Service Id is incorrect. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/services/ServiceRelease/inReview: - get: - tags: - - ServiceRelease - summary: 'Retrieves all in review status service in the marketplace . (Authorization required - Roles: approve_service_release,decline_service_release)' - description: 'Example: GET: /api/services/servicerelease/inReview' - parameters: - - name: page - in: query - description: page index start from 0 - schema: - type: integer - format: int32 - default: 0 - - name: size - in: query - description: size to get number of records - schema: - type: integer - format: int32 - default: 15 - - name: sorting - in: query - description: sort by - schema: - $ref: '#/components/schemas/OfferSorting' - - name: serviceName - in: query - description: search by service name - schema: - type: string - - name: languageShortName - in: query - description: Filter by language shortname - schema: - type: string - - name: status - in: query - description: Filter by status - schema: - $ref: '#/components/schemas/ServiceReleaseStatusIdFilter' - responses: - '200': - description: Returns the list of all in review status marketplace service. - content: - application/json: - schema: - $ref: '#/components/schemas/InReviewServiceDataResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/ServiceRelease/documents/{documentId}': - delete: - tags: - - ServiceRelease - summary: 'Delete Document Assigned to Offer (Authorization required - Roles: add_service_offering)' - description: 'Example: DELETE: /api/services/servicerelease/documents/{documentId}' - parameters: - - name: documentId - in: path - description: ID of the document to be deleted. - required: true - schema: - type: string - format: uuid - responses: - '204': - description: Empty response on success. - '404': - description: Record not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User is not allowed to delete the document - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Document or App is in InCorrect Status - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '400': - description: parameters are invalid. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/services/ServiceRelease/addservice: - post: - tags: - - ServiceRelease - summary: 'Creates a new service offering. (Authorization required - Roles: add_service_offering)' - description: 'Example: POST: /api/services/servicerelease/addservice' - requestBody: - description: The data for the new service offering. - content: - application/json: - schema: - $ref: '#/components/schemas/ServiceOfferingData' - responses: - '201': - description: Returns the newly created service id. - content: - application/json: - schema: - $ref: '#/components/schemas/OfferProviderResponse' - '400': - description: The given service offering data were invalid i.e At lease one Service Type Id is missing or Title is less than three character or IamUser is not assignable to company user or SalesManager does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/ServiceRelease/{serviceId}': - put: - tags: - - ServiceRelease - summary: 'Updates the service (Authorization required - Roles: update_service_offering)' - description: 'Example: PUT: /api/services/servicerelease/{serviceId}' - parameters: - - name: serviceId - in: path - description: Id for the service to update. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - requestBody: - description: The request data to update the service - content: - application/json: - schema: - $ref: '#/components/schemas/ServiceUpdateRequestData' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/NoContentResult' - '400': - description: Offer Subscription is not in state created or user is not in the same company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Offer Subscription not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User don't have permission to change the service. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Service is in inCorrect state - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '204': - description: Service was successfully updated. - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/ServiceRelease/{serviceId}/submit': - put: - tags: - - ServiceRelease - summary: 'Submit an Service for release (Authorization required - Roles: add_service_offering)' - description: 'Example: PUT: /api/services/servicerelease/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645/submit' - parameters: - - name: serviceId - in: path - description: ID of the service. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - responses: - '204': - description: The service was successfully submitted for release. - '400': - description: 'Either the sub claim is empty/invalid, user does not exist or the subscription might not have the correct status or the companyID is incorrect.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: service does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/ServiceRelease/{serviceId}/approveService': - put: - tags: - - ServiceRelease - summary: 'Approve Service to change status from IN_REVIEW to Active and create notification (Authorization required - Roles: approve_service_release)' - description: 'Example: PUT: /api/services/servicerelease/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645/approveService' - parameters: - - name: serviceId - in: path - description: '' - required: true - schema: - type: string - format: uuid - responses: - '204': - description: The service was successfully submitted to Active State. - '404': - description: service does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Service is in InCorrect Status - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal server error - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - '/api/services/ServiceRelease/{serviceId}/declineService': - put: - tags: - - ServiceRelease - summary: 'Declines the service request (Authorization required - Roles: decline_service_release)' - description: 'Example: PUT: /api/services/servicerelease/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645/decline' - parameters: - - name: serviceId - in: path - description: Id of the service that should be declined - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - requestBody: - description: the data of the decline request - content: - application/json: - schema: - $ref: '#/components/schemas/OfferDeclineRequest' - responses: - '204': - description: NoContent. - '400': - description: If sub claim is empty/invalid or user does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: If service does not exists. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: User doest not have permission to change - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Offer Type is in inCorrect state. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized - '/api/services/ServiceRelease/updateservicedoc/{serviceId}/documentType/{documentTypeId}/documents': - put: - tags: - - ServiceRelease - summary: 'Upload document for active service in the marketplace for given serviceId for same company as user (Authorization required - Roles: add_service_offering)' - description: 'Example: PUT: /api/services/servicerelease/updateservicedoc/{serviceId}/documentType/{documentTypeId}/documents' - parameters: - - name: serviceId - in: path - description: '' - required: true - schema: - type: string - format: uuid - - name: documentTypeId - in: path - description: '' - required: true - schema: - $ref: '#/components/schemas/DocumentTypeId' - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - document: - type: file - description: '' - format: binary - encoding: - document: - style: form - application/json: - schema: - type: object - properties: - document: - type: file - description: '' - format: binary - encoding: - document: - style: form - responses: - '204': - description: Successfully uploaded the document - content: - application/json: - schema: - $ref: '#/components/schemas/NoContentResult' - '400': - description: 'If sub claim is empty/invalid or user does not exist, or any other parameters are invalid.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: service does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: The user is not assigned with the service. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Offer is in inCorrect State. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '415': - description: Only PDF files are supported. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/ServiceRelease/{serviceId}/technical-user-profiles': - get: - tags: - - ServiceRelease - summary: 'Retrieve service specific stored technical user profile configured to get created if a related service subscription is getting activated. (Authorization required - Roles: add_service_offering)' - description: 'Example: GET: /api/services/servicerelease/{serviceId}/technical-user-profiles' - parameters: - - name: serviceId - in: path - description: id of the service to receive the technical user profiles for - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns a list of Technical User profiles - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/TechnicalUserProfileInformation' - '403': - description: Requesting user is not part of the providing company for the service. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - put: - tags: - - ServiceRelease - summary: 'Creates and updates the technical user profiles (Authorization required - Roles: add_service_offering)' - description: 'Example: PUT: /api/services/servicerelease/{serviceId}/technical-user-profiles' - parameters: - - name: serviceId - in: path - description: id of the service to receive the technical user profiles for - required: true - schema: - type: string - format: uuid - requestBody: - description: The data for the update of the technical user profile - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/TechnicalUserProfileData' - responses: - '204': - description: No Content - content: - application/json: - schema: - $ref: '#/components/schemas/NoContentResult' - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403': - description: Requesting user is not part of the providing company for the service. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '200': - description: Returns a list of profiles - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/services/active: - get: - tags: - - Services - summary: 'Retrieves all active services in the marketplace. (Authorization required - Roles: view_service_offering)' - description: 'Example: GET: /api/services/active' - parameters: - - name: page - in: query - description: Optional the page of the services. - schema: - type: integer - format: int32 - default: 0 - example: 0 - - name: size - in: query - description: 'Amount of services that should be returned, default is 15.' - schema: - type: integer - format: int32 - default: 15 - example: 15 - - name: sorting - in: query - description: Optional Sorting of the pagination - schema: - $ref: '#/components/schemas/ServiceOverviewSorting' - example: ProviderAsc - - name: serviceTypeId - in: query - description: Optional filter for service type ids - schema: - $ref: '#/components/schemas/ServiceTypeId' - responses: - '200': - description: Returns the list of all active services. - content: - application/json: - schema: - $ref: '#/components/schemas/ServiceOverviewDataResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/{serviceId}/subscribe': - post: - tags: - - Services - summary: 'Adds a new service subscription. (Authorization required - Roles: subscribe_service)' - description: 'Example: POST: /api/services/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645/subscribe' - parameters: - - name: serviceId - in: path - description: Id for the service the user wants to subscribe to. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - requestBody: - description: The agreement consent data - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/OfferAgreementConsentData' - responses: - '201': - description: Returns success - content: - application/json: - schema: - type: string - format: uuid - '400': - description: Company or company user wasn't assigned to the user. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No Service was found for the given id. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/subscription/{subscriptionId}': - get: - tags: - - Services - summary: 'Gets the Subscription Detail Data (Authorization required - Roles: view_service_offering)' - description: 'Example: Get: /api/services/subscription/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C646' - operationId: GetSubscriptionDetail - parameters: - - name: subscriptionId - in: path - description: Id for the subscription the wants to retrieve. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C646 - responses: - '200': - description: Returns the subscription details. - content: - application/json: - schema: - $ref: '#/components/schemas/SubscriptionDetailData' - '404': - description: Service was not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/{serviceId}': - get: - tags: - - Services - summary: 'Retrieves service offer details for the respective service id. (Authorization required - Roles: view_service_offering)' - description: 'Example: Get: /api/services/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645' - operationId: GetServiceDetails - parameters: - - name: serviceId - in: path - description: Id for the service the wants to retrieve. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - - name: lang - in: query - description: 'OPTIONAL: Optional two character language specifier for the service description. Default response is set to english.' - schema: - type: string - default: en - example: de - responses: - '200': - description: Returns the service details. - content: - application/json: - schema: - $ref: '#/components/schemas/ServiceDetailResponse' - '404': - description: Service was not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/serviceConsent/{serviceConsentId}': - get: - tags: - - Services - summary: 'Gets the service agreement consent details. (Authorization required - Roles: view_service_offering)' - description: 'Example: Get: /api/services/serviceConsent/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645' - operationId: GetServiceAgreementConsentDetail - parameters: - - name: serviceConsentId - in: path - description: Id for the service consent to retrieve. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - responses: - '200': - description: Returns the service consent details. - content: - application/json: - schema: - $ref: '#/components/schemas/ConsentDetailData' - '404': - description: Consent was not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/serviceAgreementData/{serviceId}': - get: - tags: - - Services - summary: 'Gets all agreements (Authorization required - Roles: subscribe_service)' - description: 'Example: GET: /api/services/serviceAgreementData/D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645' - parameters: - - name: serviceId - in: path - description: Id for the service consent to retrieve. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - responses: - '200': - description: Returns the service agreement data. - content: - application/json: - schema: - $ref: '#/components/schemas/AgreementData' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/services/autoSetup: - post: - tags: - - Services - summary: 'Auto setup the service (Authorization required - Roles: activate_subscription)' - description: 'Example: POST: /api/services/autoSetup' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/OfferAutoSetupData' - responses: - '200': - description: Returns the service agreement data. - content: - application/json: - schema: - $ref: '#/components/schemas/OfferAutoSetupResponseData' - '400': - description: Offer Subscription is pending or not the providing company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Offer Subscription not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - deprecated: true - /api/services/start-autoSetup: - post: - tags: - - Services - summary: 'Auto setup the app (Authorization required - Roles: activate_subscription)' - description: 'Example: POST: /api/apps/start-autoSetup' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/OfferAutoSetupData' - responses: - '204': - description: The auto setup has successfully been started. - '400': - description: Offer Subscription is pending or not the providing company. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Offer Subscription not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/services/provided/subscription-status: - get: - tags: - - Services - summary: 'Retrieves subscription statuses of provided services of the currently logged in user''s company. (Authorization required - Roles: view_service_subscriptions)' - description: 'Example: GET: /api/services/provided/subscription-status' - parameters: - - name: page - in: query - schema: - type: integer - format: int32 - default: 0 - - name: size - in: query - schema: - type: integer - format: int32 - default: 15 - - name: sorting - in: query - schema: - $ref: '#/components/schemas/SubscriptionStatusSorting' - - name: statusId - in: query - schema: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - - name: offerId - in: query - schema: - type: string - format: uuid - - name: companyName - in: query - schema: - type: string - responses: - '200': - description: Returns list of applicable service subscription statuses. - content: - application/json: - schema: - $ref: '#/components/schemas/OfferCompanySubscriptionStatusResponseResponse' - '400': - description: If sub claim is empty/invalid or user does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/{serviceId}/serviceDocuments/{documentId}': - get: - tags: - - Services - summary: 'Retrieve Document Content for Service by ID (Authorization required - Roles: view_documents)' - description: 'Example: GET: /api/services/{serviceId}/serviceDocuments/{documentId}' - parameters: - - name: serviceId - in: path - description: '' - required: true - schema: - type: string - format: uuid - - name: documentId - in: path - description: '' - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns the document Content - content: - image/jpeg: - schema: - type: string - format: binary - image/png: - schema: - type: string - format: binary - image/gif: - schema: - type: string - format: binary - image/svg+xml: - schema: - type: string - format: binary - image/tiff: - schema: - type: string - format: binary - application/pdf: - schema: - type: string - format: binary - application/json: - schema: - type: string - format: binary - '400': - description: Document / Service id not found or document type not supported. - content: - image/jpeg: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/png: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/gif: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/svg+xml: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/tiff: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/pdf: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: document not found. - content: - image/jpeg: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/png: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/gif: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/svg+xml: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/tiff: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/pdf: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '415': - description: UnSupported Media Type. - content: - image/jpeg: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/png: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/gif: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/svg+xml: - schema: - $ref: '#/components/schemas/ErrorResponse' - image/tiff: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/pdf: - schema: - $ref: '#/components/schemas/ErrorResponse' - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/services/provided: - get: - tags: - - Services - summary: 'Retrieves all in review status service in the marketplace . (Authorization required - Roles: add_service_offering)' - description: 'Example: GET: /api/services/provided' - parameters: - - name: page - in: query - description: page index start from 0 - schema: - type: integer - format: int32 - default: 0 - - name: size - in: query - description: size to get number of records - schema: - type: integer - format: int32 - default: 15 - - name: sorting - in: query - description: sort by - schema: - $ref: '#/components/schemas/OfferSorting' - - name: offerName - in: query - description: search by status Id - schema: - type: string - - name: statusId - in: query - description: search by status Id - schema: - $ref: '#/components/schemas/ServiceStatusIdFilter' - responses: - '200': - description: Returns the list of service filtered by offer status Id. - content: - application/json: - schema: - $ref: '#/components/schemas/AllOfferStatusDataResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/{serviceId}/subscription/{subscriptionId}/provider': - get: - tags: - - Services - summary: 'Retrieves the details of a subscription (Authorization required - Roles: service_management)' - description: 'Example: GET: /api/services/{serviceId}/subscription/{subscriptionId}/provider' - parameters: - - name: serviceId - in: path - description: id of the service to receive the details for - required: true - schema: - type: string - format: uuid - - name: subscriptionId - in: path - description: id of the subscription to receive the details for - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns the subscription details for the provider - content: - application/json: - schema: - $ref: '#/components/schemas/ProviderSubscriptionDetailData' - '403': - description: User's company does not provide the service. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No service or subscription found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/{serviceId}/subscription/{subscriptionId}/subscriber': - get: - tags: - - Services - summary: 'Retrieves the details of a subscription (Authorization required - Roles: subscribe_service)' - description: 'Example: GET: /api/services/{serviceId}/subscription/{subscriptionId}/subscriber' - parameters: - - name: serviceId - in: path - description: id of the service to receive the details for - required: true - schema: - type: string - format: uuid - - name: subscriptionId - in: path - description: id of the subscription to receive the details for - required: true - schema: - type: string - format: uuid - responses: - '200': - description: Returns the subscription details for the subscriber - content: - application/json: - schema: - $ref: '#/components/schemas/SubscriberSubscriptionDetailData' - '403': - description: User's company does not provide the service. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: No service or subscription found. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - /api/services/subscribed/subscription-status: - get: - tags: - - Services - summary: 'Retrieves subscription statuses of services. (Authorization required - Roles: view_service_subscriptions)' - description: 'Example: GET: /api/services/subscribed/subscription-status' - parameters: - - name: page - in: query - description: The page that should be displayed - schema: - type: integer - format: int32 - default: 0 - - name: size - in: query - description: The size per page of elements that should be returned - schema: - type: integer - format: int32 - default: 15 - - name: status - in: query - description: 'Filter for the offer subscription status. If not set, all elements will be returned' - schema: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - - name: name - in: query - description: Optional search query to filter for the name - schema: - type: string - responses: - '200': - description: Returns list of applicable service subscription statuses. - content: - application/json: - schema: - $ref: '#/components/schemas/OfferSubscriptionStatusDetailDataResponse' - '400': - description: If sub claim is empty/invalid or user does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/api/services/{subscriptionId}/unsubscribe': - put: - tags: - - Services - summary: 'Unsubscribes an service from the current user''s company''s subscriptions. (Authorization required - Roles: unsubscribe_services)' - description: 'Example: PUT: /api/service/{subscriptionId}/unsubscribe' - parameters: - - name: subscriptionId - in: path - description: ID of the subscription to unsubscribe from. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - responses: - '204': - description: The service was successfully unsubscribed from. - '400': - description: 'Either the sub claim is empty/invalid, user does not exist or the subscription might not have the correct status or the companyID is incorrect.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Service does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error - '401': - description: The User is unauthorized - '/subscription/{subscriptionId}/activate': - put: - tags: - - Services - summary: 'Activates a pending service subscription. (Authorization required - Roles: activate_subscription)' - description: 'Example: PUT: /api/services/supscription/{subscriptiondId}/activate' - parameters: - - name: subscriptionId - in: path - description: ID of the subscription to activate. - required: true - schema: - type: string - format: uuid - example: D3B1ECA2-6148-4008-9E6C-C1C2AEA5C645 - responses: - '204': - description: Service subscription was successfully activated. - '400': - description: 'If sub claim is empty/invalid or user does not exist, or any other parameters are invalid.' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404': - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal Server Error. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401': - description: The User is unauthorized -components: - schemas: - AgreementConsentStatus: - type: object - properties: - agreementId: - type: string - format: uuid - consentStatus: - $ref: '#/components/schemas/ConsentStatusId' - additionalProperties: false - AgreementData: - type: object - properties: - agreementId: - type: string - format: uuid - name: - type: string - mandatory: - type: boolean - additionalProperties: false - AgreementDocumentData: - type: object - properties: - agreementId: - type: string - format: uuid - name: - type: string - agreementLink: - type: string - nullable: true - documentId: - type: string - format: uuid - nullable: true - mandatory: - type: boolean - additionalProperties: false - AllOfferStatusData: - type: object - properties: - id: - type: string - format: uuid - name: - type: string - nullable: true - leadPictureId: - type: string - format: uuid - nullable: true - provider: - type: string - status: - $ref: '#/components/schemas/OfferStatusId' - lastChanged: - type: string - format: date-time - nullable: true - additionalProperties: false - AllOfferStatusDataResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/AllOfferStatusData' - additionalProperties: false - AppUseCaseData: - type: object - properties: - id: - type: string - format: uuid - label: - type: string - additionalProperties: false - ClientInfoData: - type: object - properties: - clientId: - type: string - clientUrl: - type: string - additionalProperties: false - CompanySubscriptionStatus: - type: object - properties: - companyId: - type: string - format: uuid - companyName: - type: string - subscriptionId: - type: string - format: uuid - offerSubscriptionStatus: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - country: - type: string - nullable: true - bpnNumber: - type: string - nullable: true - email: - type: string - nullable: true - technicalUser: - type: boolean - processStepTypeId: - $ref: '#/components/schemas/ProcessStepTypeId' - additionalProperties: false - ConsentDetailData: - type: object - properties: - id: - type: string - format: uuid - companyName: - type: string - companyUserId: - type: string - format: uuid - consentStatus: - $ref: '#/components/schemas/ConsentStatusId' - agreementName: - type: string - additionalProperties: false - ConsentStatusData: - type: object - properties: - agreementId: - type: string - format: uuid - consentStatus: - $ref: '#/components/schemas/ConsentStatusId' - additionalProperties: false - ConsentStatusId: - enum: - - ACTIVE - - INACTIVE - type: string - DocumentData: - type: object - properties: - documentId: - type: string - format: uuid - documentName: - type: string - additionalProperties: false - DocumentTypeId: - enum: - - CX_FRAME_CONTRACT - - COMMERCIAL_REGISTER_EXTRACT - - APP_CONTRACT - - CONFORMITY_APPROVAL_REGISTRATION - - ADDITIONAL_DETAILS - - APP_LEADIMAGE - - APP_IMAGE - - SELF_DESCRIPTION - - APP_TECHNICAL_INFORMATION - - CONFORMITY_APPROVAL_CONNECTOR - - CONFORMITY_APPROVAL_BUSINESS_APPS - - CONFORMITY_APPROVAL_SERVICES - - SERVICE_LEADIMAGE - - PRESENTATION - - COMPANY_CERTIFICATE - type: string - ErrorDetails: - type: object - properties: - errorCode: - type: string - type: - type: string - message: - type: string - parameters: - type: array - items: - $ref: '#/components/schemas/ErrorParameter' - additionalProperties: false - ErrorMessageCode: - type: object - properties: - errorCode: - type: string - message: - type: string - additionalProperties: false - ErrorMessageType: - type: object - properties: - errorType: - type: string - errorMessages: - type: array - items: - $ref: '#/components/schemas/ErrorMessageCode' - additionalProperties: false - ErrorParameter: - type: object - properties: - name: - type: string - value: - type: string - additionalProperties: false - ErrorResponse: - type: object - properties: - type: - type: string - title: - type: string - status: - type: integer - format: int32 - errors: - type: object - additionalProperties: - type: array - items: - type: string - errorId: - type: string - details: - type: array - items: - $ref: '#/components/schemas/ErrorDetails' - nullable: true - additionalProperties: false - InReviewServiceData: - type: object - properties: - id: - type: string - format: uuid - title: - type: string - nullable: true - status: - $ref: '#/components/schemas/OfferStatusId' - provider: - type: string - description: - type: string - additionalProperties: false - InReviewServiceDataResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/InReviewServiceData' - additionalProperties: false - LicenseTypeId: - enum: - - COTS - - FOSS - type: string - LocalizedDescription: - type: object - properties: - languageCode: - type: string - longDescription: - type: string - shortDescription: - type: string - additionalProperties: false - Metadata: - type: object - properties: - totalElements: - type: integer - format: int32 - totalPages: - type: integer - format: int32 - page: - type: integer - format: int32 - contentSize: - type: integer - format: int32 - additionalProperties: false - NoContentResult: - type: object - properties: - statusCode: - type: integer - format: int32 - additionalProperties: false - OfferAgreement: - type: object - properties: - id: - type: string - format: uuid - nullable: true - name: - type: string - nullable: true - consentStatus: - type: string - nullable: true - additionalProperties: false - OfferAgreementConsent: - type: object - properties: - agreements: - type: array - items: - $ref: '#/components/schemas/AgreementConsentStatus' - additionalProperties: false - OfferAgreementConsentData: - type: object - properties: - agreementId: - type: string - format: uuid - consentStatusId: - $ref: '#/components/schemas/ConsentStatusId' - additionalProperties: false - OfferAutoSetupData: - type: object - properties: - requestId: - type: string - format: uuid - offerUrl: - type: string - additionalProperties: false - OfferAutoSetupResponseData: - type: object - properties: - technicalUserInfo: - type: array - items: - $ref: '#/components/schemas/TechnicalUserInfoData' - clientInfo: - $ref: '#/components/schemas/ClientInfoData' - additionalProperties: false - OfferCompanySubscriptionStatusResponse: - type: object - properties: - offerId: - type: string - format: uuid - offerName: - type: string - nullable: true - companySubscriptionStatuses: - type: array - items: - $ref: '#/components/schemas/CompanySubscriptionStatus' - image: - type: string - format: uuid - nullable: true - additionalProperties: false - OfferCompanySubscriptionStatusResponseResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/OfferCompanySubscriptionStatusResponse' - additionalProperties: false - OfferDeclineRequest: - type: object - properties: - message: - type: string - additionalProperties: false - OfferProviderResponse: - type: object - properties: - title: - type: string - nullable: true - provider: - type: string - leadPictureId: - type: string - format: uuid - providerName: - type: string - nullable: true - useCase: - type: array - items: - $ref: '#/components/schemas/AppUseCaseData' - nullable: true - descriptions: - type: array - items: - $ref: '#/components/schemas/LocalizedDescription' - agreements: - type: array - items: - $ref: '#/components/schemas/OfferAgreement' - supportedLanguageCodes: - type: array - items: - type: string - price: - type: string - nullable: true - images: - type: array - items: - type: string - format: uuid - providerUri: - type: string - nullable: true - contactEmail: - type: string - nullable: true - contactNumber: - type: string - nullable: true - documents: - type: object - properties: - CX_FRAME_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMMERCIAL_REGISTER_EXTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_REGISTRATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - ADDITIONAL_DETAILS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_IMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SELF_DESCRIPTION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_TECHNICAL_INFORMATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_CONNECTOR: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_BUSINESS_APPS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_SERVICES: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SERVICE_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - PRESENTATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMPANY_CERTIFICATE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - additionalProperties: false - salesManagerId: - type: string - format: uuid - nullable: true - privacyPolicies: - type: array - items: - $ref: '#/components/schemas/PrivacyPolicyId' - serviceTypeIds: - type: array - items: - $ref: '#/components/schemas/ServiceTypeId' - nullable: true - technicalUserProfile: - type: object - additionalProperties: - type: array - items: - type: string - additionalProperties: false - OfferSorting: - enum: - - DateAsc - - DateDesc - - NameAsc - - NameDesc - type: string - OfferStatusId: - enum: - - CREATED - - IN_REVIEW - - ACTIVE - - INACTIVE - type: string - OfferSubscriptionStateDetailData: - type: object - properties: - offerSubscriptionId: - type: string - format: uuid - offerSubscriptionStatus: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - additionalProperties: false - OfferSubscriptionStatusDetailData: - type: object - properties: - offerId: - type: string - format: uuid - name: - type: string - nullable: true - provider: - type: string - status: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - subscriptionId: - type: string - format: uuid - image: - type: string - format: uuid - nullable: true - additionalProperties: false - OfferSubscriptionStatusDetailDataResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/OfferSubscriptionStatusDetailData' - additionalProperties: false - OfferSubscriptionStatusId: - enum: - - PENDING - - ACTIVE - - INACTIVE - type: string - PrivacyPolicyId: - enum: - - COMPANY_DATA - - USER_DATA - - LOCATION - - BROWSER_HISTORY - - NONE - type: string - ProcessStepTypeId: - enum: - - MANUAL_VERIFY_REGISTRATION - - CREATE_BUSINESS_PARTNER_NUMBER_PUSH - - CREATE_BUSINESS_PARTNER_NUMBER_PULL - - CREATE_BUSINESS_PARTNER_NUMBER_MANUAL - - CREATE_IDENTITY_WALLET - - RETRIGGER_IDENTITY_WALLET - - START_CLEARING_HOUSE - - RETRIGGER_CLEARING_HOUSE - - AWAIT_CLEARING_HOUSE_RESPONSE - - START_SELF_DESCRIPTION_LP - - RETRIGGER_SELF_DESCRIPTION_LP - - ACTIVATE_APPLICATION - - RETRIGGER_BUSINESS_PARTNER_NUMBER_PUSH - - RETRIGGER_BUSINESS_PARTNER_NUMBER_PULL - - MANUAL_TRIGGER_OVERRIDE_CLEARING_HOUSE - - START_OVERRIDE_CLEARING_HOUSE - - AWAIT_SELF_DESCRIPTION_LP_RESPONSE - - MANUAL_DECLINE_APPLICATION - - CREATE_DIM_WALLET - - AWAIT_DIM_RESPONSE_RESPONSE - - RETRIGGER_CREATE_DIM_WALLET - - VALIDATE_DID_DOCUMENT - - RETRIGGER_VALIDATE_DID_DOCUMENT - - REQUEST_BPN_CREDENTIAL - - AWAIT_BPN_CREDENTIAL_RESPONSE - - REQUEST_MEMBERSHIP_CREDENTIAL - - AWAIT_MEMBERSHIP_CREDENTIAL_RESPONSE - - TRANSMIT_BPN_DID - - RETRIGGER_TRANSMIT_DID_BPN - - RETRIGGER_REQUEST_BPN_CREDENTIAL - - RETRIGGER_REQUEST_MEMBERSHIP_CREDENTIAL - - TRIGGER_PROVIDER - - AWAIT_START_AUTOSETUP - - OFFERSUBSCRIPTION_CLIENT_CREATION - - SINGLE_INSTANCE_SUBSCRIPTION_DETAILS_CREATION - - OFFERSUBSCRIPTION_TECHNICALUSER_CREATION - - ACTIVATE_SUBSCRIPTION - - TRIGGER_PROVIDER_CALLBACK - - RETRIGGER_PROVIDER - - RETRIGGER_OFFERSUBSCRIPTION_CLIENT_CREATION - - RETRIGGER_OFFERSUBSCRIPTION_TECHNICALUSER_CREATION - - RETRIGGER_PROVIDER_CALLBACK - - MANUAL_TRIGGER_ACTIVATE_SUBSCRIPTION - - OFFERSUBSCRIPTION_CREATE_DIM_TECHNICAL_USER - - RETRIGGER_OFFERSUBSCRIPTION_CREATE_DIM_TECHNICAL_USER - - SYNCHRONIZE_USER - - RETRIGGER_SYNCHRONIZE_USER - - TRIGGER_CALLBACK_OSP_SUBMITTED - - TRIGGER_CALLBACK_OSP_APPROVED - - TRIGGER_CALLBACK_OSP_DECLINED - - RETRIGGER_CALLBACK_OSP_SUBMITTED - - RETRIGGER_CALLBACK_OSP_APPROVED - - RETRIGGER_CALLBACK_OSP_DECLINED - - MANUAL_DECLINE_OSP - - REMOVE_KEYCLOAK_USERS - - RETRIGGER_REMOVE_KEYCLOAK_USERS - - SEND_MAIL - - RETRIGGER_SEND_MAIL - - INVITATION_CREATE_CENTRAL_IDP - - INVITATION_CREATE_SHARED_IDP_SERVICE_ACCOUNT - - INVITATION_ADD_REALM_ROLE - - INVITATION_CREATE_SHARED_REALM - - INVITATION_CREATE_CENTRAL_IDP_ORG_MAPPER - - INVITATION_UPDATE_CENTRAL_IDP_URLS - - INVITATION_CREATE_SHARED_CLIENT - - INVITATION_ENABLE_CENTRAL_IDP - - INVITATION_CREATE_DATABASE_IDP - - INVITATION_CREATE_USER - - RETRIGGER_INVITATION_CREATE_CENTRAL_IDP - - RETRIGGER_INVITATION_CREATE_SHARED_IDP_SERVICE_ACCOUNT - - RETRIGGER_INVITATION_ADD_REALM_ROLE - - RETRIGGER_INVITATION_CREATE_SHARED_REALM - - RETRIGGER_INVITATION_CREATE_CENTRAL_IDP_ORG_MAPPER - - RETRIGGER_INVITATION_UPDATE_CENTRAL_IDP_URLS - - RETRIGGER_INVITATION_CREATE_SHARED_CLIENT - - RETRIGGER_INVITATION_ENABLE_CENTRAL_IDP - - RETRIGGER_INVITATION_CREATE_USER - - RETRIGGER_INVITATION_CREATE_DATABASE_IDP - - CREATE_DIM_TECHNICAL_USER - - RETRIGGER_CREATE_DIM_TECHNICAL_USER - - AWAIT_CREATE_DIM_TECHNICAL_USER_RESPONSE - - DELETE_DIM_TECHNICAL_USER - - AWAIT_DELETE_DIM_TECHNICAL_USER_RESPONSE - - RETRIGGER_DELETE_DIM_TECHNICAL_USER - - DELETE_CENTRAL_USER - - RETRIGGER_DELETE_CENTRAL_USER - - DELETE_COMPANYUSER_ASSIGNED_PROCESS - - DELETE_IDP_SHARED_REALM - - RETRIGGER_DELETE_IDP_SHARED_REALM - - DELETE_IDP_SHARED_SERVICEACCOUNT - - RETRIGGER_DELETE_IDP_SHARED_SERVICEACCOUNT - - DELETE_CENTRAL_IDENTITY_PROVIDER - - RETRIGGER_DELETE_CENTRAL_IDENTITY_PROVIDER - - DELETE_IDENTITY_PROVIDER - - SELF_DESCRIPTION_CONNECTOR_CREATION - - SELF_DESCRIPTION_COMPANY_CREATION - - RETRIGGER_SELF_DESCRIPTION_CONNECTOR_CREATION - - RETRIGGER_SELF_DESCRIPTION_COMPANY_CREATION - type: string - ProviderSubscriptionDetailData: - type: object - properties: - id: - type: string - format: uuid - offerSubscriptionStatus: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - name: - type: string - nullable: true - customer: - type: string - bpn: - type: string - nullable: true - contact: - type: array - items: - type: string - technicalUserData: - type: array - items: - $ref: '#/components/schemas/SubscriptionTechnicalUserData' - additionalProperties: false - ServiceData: - type: object - properties: - id: - type: string - description: ID of the service. - format: uuid - title: - type: string - description: Title or name of the service. - serviceTypes: - type: array - items: - $ref: '#/components/schemas/ServiceTypeId' - description: Collection of the assigned serviceTypeIds - provider: - type: string - description: Provider of the service. - descriptions: - type: array - items: - $ref: '#/components/schemas/LocalizedDescription' - description: The description of the service. - documents: - type: object - properties: - CX_FRAME_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMMERCIAL_REGISTER_EXTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_REGISTRATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - ADDITIONAL_DETAILS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_IMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SELF_DESCRIPTION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_TECHNICAL_INFORMATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_CONNECTOR: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_BUSINESS_APPS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_SERVICES: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SERVICE_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - PRESENTATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMPANY_CERTIFICATE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - additionalProperties: false - description: documents assigned to service. - providerUri: - type: string - description: Provider Uri of the service - contactEmail: - type: string - description: Contact Email of the service. - nullable: true - contactNumber: - type: string - description: Contact Number of the service. - nullable: true - licenseType: - $ref: '#/components/schemas/LicenseTypeId' - offerStatus: - $ref: '#/components/schemas/OfferStatusId' - technicalUserProfile: - type: object - additionalProperties: - type: array - items: - type: string - description: Status of the offer - additionalProperties: false - description: View model of an application's detailed data specific for service. - ServiceDetailResponse: - type: object - properties: - id: - type: string - description: ID of the app. - format: uuid - title: - type: string - description: Title or name of the app. - nullable: true - provider: - type: string - description: Provider of the app. - contactEmail: - type: string - description: Contact email address. - nullable: true - description: - type: string - description: The description of the service. - nullable: true - licenseType: - $ref: '#/components/schemas/LicenseTypeId' - price: - type: string - description: Pricing information of the app. - offerSubscriptionDetailData: - type: array - items: - $ref: '#/components/schemas/OfferSubscriptionStateDetailData' - description: Detail Data of the offer subscription - serviceTypes: - type: array - items: - $ref: '#/components/schemas/ServiceTypeId' - description: Collection of the assigned serviceTypeIds. - documents: - type: object - properties: - CX_FRAME_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMMERCIAL_REGISTER_EXTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_REGISTRATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - ADDITIONAL_DETAILS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_IMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SELF_DESCRIPTION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_TECHNICAL_INFORMATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_CONNECTOR: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_BUSINESS_APPS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_SERVICES: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SERVICE_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - PRESENTATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMPANY_CERTIFICATE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - additionalProperties: false - description: documents assigned to offer - technicalUserProfile: - type: object - additionalProperties: - type: array - items: - type: string - description: Technical User Profile - additionalProperties: false - description: View model of an application's detailed data specific for service. - ServiceOfferingData: - type: object - properties: - title: - type: string - price: - type: string - contactEmail: - type: string - nullable: true - salesManager: - type: string - format: uuid - nullable: true - descriptions: - type: array - items: - $ref: '#/components/schemas/LocalizedDescription' - serviceTypeIds: - type: array - items: - $ref: '#/components/schemas/ServiceTypeId' - providerUri: - type: string - nullable: true - additionalProperties: false - ServiceOverviewData: - type: object - properties: - id: - type: string - format: uuid - title: - type: string - nullable: true - provider: - type: string - contactEmail: - type: string - nullable: true - description: - type: string - nullable: true - licenseType: - $ref: '#/components/schemas/LicenseTypeId' - price: - type: string - serviceTypeIds: - type: array - items: - $ref: '#/components/schemas/ServiceTypeId' - additionalProperties: false - ServiceOverviewDataResponse: - type: object - properties: - meta: - $ref: '#/components/schemas/Metadata' - content: - type: array - items: - $ref: '#/components/schemas/ServiceOverviewData' - additionalProperties: false - ServiceOverviewSorting: - enum: - - ProviderAsc - - ProviderDesc - - ReleaseDateAsc - - ReleaseDateDesc - type: string - ServiceProviderResponse: - type: object - properties: - title: - type: string - description: title of the offer - nullable: true - leadPictureId: - type: string - description: id of the lead picture - format: uuid - descriptions: - type: array - items: - $ref: '#/components/schemas/LocalizedDescription' - description: the offer descriptions - agreements: - type: array - items: - $ref: '#/components/schemas/OfferAgreement' - description: the assigned agreements - price: - type: string - description: the offer price - nullable: true - images: - type: array - items: - type: string - format: uuid - description: list of the images - providerUri: - type: string - description: the provider uri - nullable: true - contactEmail: - type: string - description: contact email - nullable: true - contactNumber: - type: string - description: contact number - nullable: true - documents: - type: object - properties: - CX_FRAME_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMMERCIAL_REGISTER_EXTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_CONTRACT: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_REGISTRATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - ADDITIONAL_DETAILS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_IMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SELF_DESCRIPTION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - APP_TECHNICAL_INFORMATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_CONNECTOR: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_BUSINESS_APPS: - type: array - items: - $ref: '#/components/schemas/DocumentData' - CONFORMITY_APPROVAL_SERVICES: - type: array - items: - $ref: '#/components/schemas/DocumentData' - SERVICE_LEADIMAGE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - PRESENTATION: - type: array - items: - $ref: '#/components/schemas/DocumentData' - COMPANY_CERTIFICATE: - type: array - items: - $ref: '#/components/schemas/DocumentData' - additionalProperties: false - description: list of linked documents - salesManagerId: - type: string - description: id of the salesmanager - format: uuid - nullable: true - serviceTypeIds: - type: array - items: - $ref: '#/components/schemas/ServiceTypeId' - description: ids of the service types - technicalUserProfile: - type: object - additionalProperties: - type: array - items: - type: string - description: ids of the service types - additionalProperties: false - description: Response for the service creation - ServiceReleaseStatusIdFilter: - enum: - - InReview - - All - type: string - description: Filters the OfferStatusId information - ServiceStatusIdFilter: - enum: - - Active - - Inactive - - InReview - - WIP - - All - type: string - description: Filters the OfferStatusId information - ServiceTypeData: - type: object - properties: - serviceTypeId: - type: integer - format: int32 - name: - type: string - additionalProperties: false - ServiceTypeId: - enum: - - DATASPACE_SERVICE - - CONSULTANCY_SERVICE - type: string - ServiceUpdateRequestData: - type: object - properties: - title: - type: string - descriptions: - type: array - items: - $ref: '#/components/schemas/LocalizedDescription' - serviceTypeIds: - type: array - items: - $ref: '#/components/schemas/ServiceTypeId' - price: - type: string - contactEmail: - type: string - salesManager: - type: string - format: uuid - nullable: true - providerUri: - type: string - nullable: true - additionalProperties: false - SubscriberSubscriptionDetailData: - type: object - properties: - id: - type: string - format: uuid - offerSubscriptionStatus: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - name: - type: string - nullable: true - provider: - type: string - contact: - type: array - items: - type: string - technicalUserData: - type: array - items: - $ref: '#/components/schemas/SubscriptionTechnicalUserData' - connectorData: - type: array - items: - $ref: '#/components/schemas/SubscriptionAssignedConnectorData' - additionalProperties: false - SubscriptionAssignedConnectorData: - type: object - properties: - id: - type: string - format: uuid - name: - type: string - endpoint: - type: string - additionalProperties: false - SubscriptionDetailData: - type: object - properties: - offerId: - type: string - format: uuid - offerName: - type: string - status: - $ref: '#/components/schemas/OfferSubscriptionStatusId' - additionalProperties: false - SubscriptionStatusSorting: - enum: - - CompanyNameAsc - - CompanyNameDesc - - OfferIdAsc - - OfferIdDesc - type: string - SubscriptionTechnicalUserData: - type: object - properties: - id: - type: string - format: uuid - name: - type: string - nullable: true - permissions: - type: array - items: - type: string - additionalProperties: false - TechnicalUserInfoData: - type: object - properties: - technicalUserId: - type: string - format: uuid - technicalUserPermissions: - type: array - items: - type: string - technicalUserSecret: - type: string - nullable: true - technicalClientId: - type: string - nullable: true - additionalProperties: false - TechnicalUserProfileData: - type: object - properties: - technicalUserProfileId: - type: string - format: uuid - nullable: true - userRoleIds: - type: array - items: - type: string - format: uuid - additionalProperties: false - TechnicalUserProfileInformation: - type: object - properties: - technicalUserProfileId: - type: string - format: uuid - userRoles: - type: array - items: - $ref: '#/components/schemas/UserRoleInformation' - additionalProperties: false - UrlInformation: - type: object - properties: - httpMethods: - type: string - url: - type: string - additionalProperties: false - UserRoleInformation: - type: object - properties: - roleId: - type: string - format: uuid - roleName: - type: string - additionalProperties: false - securitySchemes: - Bearer: - type: apiKey - description: "JWT Authorization header using the Bearer scheme. \r\n\r\n Enter 'Bearer' [space] and then your token in the text input below.\r\n\r\nExample: \"Bearer 12345abcdef\"" - name: Authorization - in: header -security: - - Bearer: [ ] \ No newline at end of file diff --git a/portal-backend/v2.3.0-alpha.1/services-service/swagger-ui/swagger-config.json b/portal-backend/v2.3.0-alpha.1/services-service/swagger-ui/swagger-config.json deleted file mode 100644 index 0d15231..0000000 --- a/portal-backend/v2.3.0-alpha.1/services-service/swagger-ui/swagger-config.json +++ /dev/null @@ -1 +0,0 @@ -{"url":"services-service.yaml","deepLinking":true} \ No newline at end of file diff --git a/portal-backend/v2.3.0-alpha.1/services-service/swagger-ui/swagger-ui-bundle.js b/portal-backend/v2.3.0-alpha.1/services-service/swagger-ui/swagger-ui-bundle.js deleted file mode 100644 index 824b540..0000000 --- a/portal-backend/v2.3.0-alpha.1/services-service/swagger-ui/swagger-ui-bundle.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see swagger-ui-bundle.js.LICENSE.txt */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.SwaggerUIBundle=t():e.SwaggerUIBundle=t()}(this,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist",n(n.s=534)}([function(e,t,n){"use strict";e.exports=n(133)},function(e,t,n){e.exports=function(){"use strict";var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return i(e)?e:J(e)}function r(e){return s(e)?e:K(e)}function o(e){return u(e)?e:Y(e)}function a(e){return i(e)&&!c(e)?e:G(e)}function i(e){return!(!e||!e[p])}function s(e){return!(!e||!e[f])}function u(e){return!(!e||!e[h])}function c(e){return s(e)||u(e)}function l(e){return!(!e||!e[d])}t(r,n),t(o,n),t(a,n),n.isIterable=i,n.isKeyed=s,n.isIndexed=u,n.isAssociative=c,n.isOrdered=l,n.Keyed=r,n.Indexed=o,n.Set=a;var p="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",h="@@__IMMUTABLE_INDEXED__@@",d="@@__IMMUTABLE_ORDERED__@@",m="delete",v=5,g=1<>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?A(e)+t:t}function k(){return!0}function j(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return P(e,t,0)}function I(e,t){return P(e,t,t)}function P(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var N=0,M=1,R=2,D="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",B=D||L;function F(e){this.next=e}function U(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function q(){return{value:void 0,done:!0}}function z(e){return!!H(e)}function V(e){return e&&"function"==typeof e.next}function W(e){var t=H(e);return t&&t.call(e)}function H(e){var t=e&&(D&&e[D]||e[L]);if("function"==typeof t)return t}function $(e){return e&&"number"==typeof e.length}function J(e){return null==e?ie():i(e)?e.toSeq():ce(e)}function K(e){return null==e?ie().toKeyedSeq():i(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Y(e){return null==e?ie():i(e)?s(e)?e.entrySeq():e.toIndexedSeq():ue(e)}function G(e){return(null==e?ie():i(e)?s(e)?e.entrySeq():e:ue(e)).toSetSeq()}F.prototype.toString=function(){return"[Iterator]"},F.KEYS=N,F.VALUES=M,F.ENTRIES=R,F.prototype.inspect=F.prototype.toSource=function(){return this.toString()},F.prototype[B]=function(){return this},t(J,n),J.of=function(){return J(arguments)},J.prototype.toSeq=function(){return this},J.prototype.toString=function(){return this.__toString("Seq {","}")},J.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},J.prototype.__iterate=function(e,t){return pe(this,e,t,!0)},J.prototype.__iterator=function(e,t){return fe(this,e,t,!0)},t(K,J),K.prototype.toKeyedSeq=function(){return this},t(Y,J),Y.of=function(){return Y(arguments)},Y.prototype.toIndexedSeq=function(){return this},Y.prototype.toString=function(){return this.__toString("Seq [","]")},Y.prototype.__iterate=function(e,t){return pe(this,e,t,!1)},Y.prototype.__iterator=function(e,t){return fe(this,e,t,!1)},t(G,J),G.of=function(){return G(arguments)},G.prototype.toSetSeq=function(){return this},J.isSeq=ae,J.Keyed=K,J.Set=G,J.Indexed=Y;var Z,X,Q,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function re(e){this._iterable=e,this.size=e.length||e.size}function oe(e){this._iterator=e,this._iteratorCache=[]}function ae(e){return!(!e||!e[ee])}function ie(){return Z||(Z=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():V(e)?new oe(e).fromEntrySeq():z(e)?new re(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function ue(e){var t=le(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){var t=le(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function le(e){return $(e)?new te(e):V(e)?new oe(e):z(e)?new re(e):void 0}function pe(e,t,n,r){var o=e._cache;if(o){for(var a=o.length-1,i=0;i<=a;i++){var s=o[n?a-i:i];if(!1===t(s[1],r?s[0]:i,e))return i+1}return i}return e.__iterateUncached(t,n)}function fe(e,t,n,r){var o=e._cache;if(o){var a=o.length-1,i=0;return new F((function(){var e=o[n?a-i:i];return i++>a?q():U(t,r?e[0]:i-1,e[1])}))}return e.__iteratorUncached(t,n)}function he(e,t){return t?de(t,e,"",{"":e}):me(e)}function de(e,t,n,r){return Array.isArray(t)?e.call(r,n,Y(t).map((function(n,r){return de(e,n,r,t)}))):ve(t)?e.call(r,n,K(t).map((function(n,r){return de(e,n,r,t)}))):t}function me(e){return Array.isArray(e)?Y(e).map(me).toList():ve(e)?K(e).map(me).toMap():e}function ve(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ge(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0;if(!i(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||u(e)!==u(t)||l(e)!==l(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(l(e)){var r=e.entries();return t.every((function(e,t){var o=r.next().value;return o&&ge(o[1],e)&&(n||ge(o[0],t))}))&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var a=e;e=t,t=a}var p=!0,f=t.__iterate((function(t,r){if(n?!e.has(t):o?!ge(t,e.get(r,b)):!ge(e.get(r,b),t))return p=!1,!1}));return p&&e.size===f}function be(e,t){if(!(this instanceof be))return new be(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(X)return X;X=this}}function _e(e,t){if(!e)throw new Error(t)}function we(e,t,n){if(!(this instanceof we))return new we(e,t,n);if(_e(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),tr?q():U(e,o,n[t?r-o++:o++])}))},t(ne,K),ne.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ne.prototype.has=function(e){return this._object.hasOwnProperty(e)},ne.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length-1,a=0;a<=o;a++){var i=r[t?o-a:a];if(!1===e(n[i],i,this))return a+1}return a},ne.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,a=0;return new F((function(){var i=r[t?o-a:a];return a++>o?q():U(e,i,n[i])}))},ne.prototype[d]=!0,t(re,Y),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=W(this._iterable),r=0;if(V(n))for(var o;!(o=n.next()).done&&!1!==e(o.value,r++,this););return r},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=W(this._iterable);if(!V(n))return new F(q);var r=0;return new F((function(){var t=n.next();return t.done?t:U(e,r++,t.value)}))},t(oe,Y),oe.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,o=this._iteratorCache,a=0;a=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return U(e,o,r[o++])}))},t(be,Y),be.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},be.prototype.get=function(e,t){return this.has(e)?this._value:t},be.prototype.includes=function(e){return ge(this._value,e)},be.prototype.slice=function(e,t){var n=this.size;return j(e,t,n)?this:new be(this._value,I(t,n)-T(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return ge(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return ge(this._value,e)?this.size:-1},be.prototype.__iterate=function(e,t){for(var n=0;n=0&&t=0&&nn?q():U(e,a++,i)}))},we.prototype.equals=function(e){return e instanceof we?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(xe,n),t(Ee,xe),t(Se,xe),t(Ce,xe),xe.Keyed=Ee,xe.Indexed=Se,xe.Set=Ce;var Ae="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function Oe(e){return e>>>1&1073741824|3221225471&e}function ke(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){if(e!=e||e===1/0)return 0;var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Oe(n)}if("string"===t)return e.length>Fe?je(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Ie(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function je(e){var t=ze[e];return void 0===t&&(t=Te(e),qe===Ue&&(qe=0,ze={}),qe++,ze[e]=t),t}function Te(e){for(var t=0,n=0;n0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Re,De="function"==typeof WeakMap;De&&(Re=new WeakMap);var Le=0,Be="__immutablehash__";"function"==typeof Symbol&&(Be=Symbol(Be));var Fe=16,Ue=255,qe=0,ze={};function Ve(e){_e(e!==1/0,"Cannot perform this action with an infinite size.")}function We(e){return null==e?ot():He(e)&&!l(e)?e:ot().withMutations((function(t){var n=r(e);Ve(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function He(e){return!(!e||!e[Je])}t(We,Ee),We.of=function(){var t=e.call(arguments,0);return ot().withMutations((function(e){for(var n=0;n=t.length)throw new Error("Missing value for key: "+t[n]);e.set(t[n],t[n+1])}}))},We.prototype.toString=function(){return this.__toString("Map {","}")},We.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},We.prototype.set=function(e,t){return at(this,e,t)},We.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},We.prototype.remove=function(e){return at(this,e,b)},We.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},We.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},We.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=vt(this,xn(e),t,n);return r===b?void 0:r},We.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):ot()},We.prototype.merge=function(){return ft(this,void 0,arguments)},We.prototype.mergeWith=function(t){return ft(this,t,e.call(arguments,1))},We.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,ot(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},We.prototype.mergeDeep=function(){return ft(this,ht,arguments)},We.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ft(this,dt(t),n)},We.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,ot(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},We.prototype.sort=function(e){return zt(pn(this,e))},We.prototype.sortBy=function(e,t){return zt(pn(this,t,e))},We.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},We.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new S)},We.prototype.asImmutable=function(){return this.__ensureOwner()},We.prototype.wasAltered=function(){return this.__altered},We.prototype.__iterator=function(e,t){return new et(this,e,t)},We.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},We.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?rt(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},We.isMap=He;var $e,Je="@@__IMMUTABLE_MAP__@@",Ke=We.prototype;function Ye(e,t){this.ownerID=e,this.entries=t}function Ge(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Ze(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Xe(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Qe(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return U(e,t[0],t[1])}function nt(e,t){return{node:e,index:0,__prev:t}}function rt(e,t,n,r){var o=Object.create(Ke);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function ot(){return $e||($e=rt(0))}function at(e,t,n){var r,o;if(e._root){var a=x(_),i=x(w);if(r=it(e._root,e.__ownerID,0,void 0,t,n,a,i),!i.value)return e;o=e.size+(a.value?n===b?-1:1:0)}else{if(n===b)return e;o=1,r=new Ye(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=o,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?rt(o,r):ot()}function it(e,t,n,r,o,a,i,s){return e?e.update(t,n,r,o,a,i,s):a===b?e:(E(s),E(i),new Qe(t,r,[o,a]))}function st(e){return e.constructor===Qe||e.constructor===Xe}function ut(e,t,n,r,o){if(e.keyHash===r)return new Xe(t,r,[e.entry,o]);var a,i=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?r:r>>>n)&y;return new Ge(t,1<>>=1)i[s]=1&n?t[a++]:void 0;return i[r]=o,new Ze(e,a+1,i)}function ft(e,t,n){for(var o=[],a=0;a>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function yt(e,t,n,r){var o=r?e:C(e);return o[t]=n,o}function bt(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var a=new Array(o),i=0,s=0;s=wt)return ct(e,u,r,o);var f=e&&e===this.ownerID,h=f?u:C(u);return p?s?c===l-1?h.pop():h[c]=h.pop():h[c]=[r,o]:h.push([r,o]),f?(this.entries=h,this):new Ye(e,h)}},Ge.prototype.get=function(e,t,n,r){void 0===t&&(t=ke(n));var o=1<<((0===e?t:t>>>e)&y),a=this.bitmap;return 0==(a&o)?r:this.nodes[gt(a&o-1)].get(e+v,t,n,r)},Ge.prototype.update=function(e,t,n,r,o,a,i){void 0===n&&(n=ke(r));var s=(0===t?n:n>>>t)&y,u=1<=xt)return pt(e,f,c,s,d);if(l&&!d&&2===f.length&&st(f[1^p]))return f[1^p];if(l&&d&&1===f.length&&st(d))return d;var m=e&&e===this.ownerID,g=l?d?c:c^u:c|u,_=l?d?yt(f,p,d,m):_t(f,p,m):bt(f,p,d,m);return m?(this.bitmap=g,this.nodes=_,this):new Ge(e,g,_)},Ze.prototype.get=function(e,t,n,r){void 0===t&&(t=ke(n));var o=(0===e?t:t>>>e)&y,a=this.nodes[o];return a?a.get(e+v,t,n,r):r},Ze.prototype.update=function(e,t,n,r,o,a,i){void 0===n&&(n=ke(r));var s=(0===t?n:n>>>t)&y,u=o===b,c=this.nodes,l=c[s];if(u&&!l)return this;var p=it(l,e,t+v,n,r,o,a,i);if(p===l)return this;var f=this.count;if(l){if(!p&&--f0&&r=0&&e>>t&y;if(r>=this.array.length)return new kt([],e);var o,a=0===r;if(t>0){var i=this.array[r];if((o=i&&i.removeBefore(e,t-v,n))===i&&a)return this}if(a&&!o)return this;var s=Lt(this,e);if(!a)for(var u=0;u>>t&y;if(o>=this.array.length)return this;if(t>0){var a=this.array[o];if((r=a&&a.removeAfter(e,t-v,n))===a&&o===this.array.length-1)return this}var i=Lt(this,e);return i.array.splice(o+1),r&&(i.array[o]=r),i};var jt,Tt,It={};function Pt(e,t){var n=e._origin,r=e._capacity,o=qt(r),a=e._tail;return i(e._root,e._level,0);function i(e,t,n){return 0===t?s(e,n):u(e,t,n)}function s(e,i){var s=i===o?a&&a.array:e&&e.array,u=i>n?0:n-i,c=r-i;return c>g&&(c=g),function(){if(u===c)return It;var e=t?--c:u++;return s&&s[e]}}function u(e,o,a){var s,u=e&&e.array,c=a>n?0:n-a>>o,l=1+(r-a>>o);return l>g&&(l=g),function(){for(;;){if(s){var e=s();if(e!==It)return e;s=null}if(c===l)return It;var n=t?--l:c++;s=i(u&&u[n],o-v,a+(n<=e.size||t<0)return e.withMutations((function(e){t<0?Ft(e,t).set(0,n):Ft(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,o=e._root,a=x(w);return t>=qt(e._capacity)?r=Dt(r,e.__ownerID,0,t,n,a):o=Dt(o,e.__ownerID,e._level,t,n,a),a.value?e.__ownerID?(e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e):Nt(e._origin,e._capacity,e._level,o,r):e}function Dt(e,t,n,r,o,a){var i,s=r>>>n&y,u=e&&s0){var c=e&&e.array[s],l=Dt(c,t,n-v,r,o,a);return l===c?e:((i=Lt(e,t)).array[s]=l,i)}return u&&e.array[s]===o?e:(E(a),i=Lt(e,t),void 0===o&&s===i.array.length-1?i.array.pop():i.array[s]=o,i)}function Lt(e,t){return t&&e&&t===e.ownerID?e:new kt(e?e.array.slice():[],t)}function Bt(e,t){if(t>=qt(e._capacity))return e._tail;if(t<1<0;)n=n.array[t>>>r&y],r-=v;return n}}function Ft(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new S,o=e._origin,a=e._capacity,i=o+t,s=void 0===n?a:n<0?a+n:o+n;if(i===o&&s===a)return e;if(i>=s)return e.clear();for(var u=e._level,c=e._root,l=0;i+l<0;)c=new kt(c&&c.array.length?[void 0,c]:[],r),l+=1<<(u+=v);l&&(i+=l,o+=l,s+=l,a+=l);for(var p=qt(a),f=qt(s);f>=1<p?new kt([],r):h;if(h&&f>p&&iv;g-=v){var b=p>>>g&y;m=m.array[b]=Lt(m.array[b],r)}m.array[p>>>v&y]=h}if(s=f)i-=f,s-=f,u=v,c=null,d=d&&d.removeBefore(r,0,i);else if(i>o||f>>u&y;if(_!==f>>>u&y)break;_&&(l+=(1<o&&(c=c.removeBefore(r,u,i-l)),c&&fa&&(a=c.size),i(u)||(c=c.map((function(e){return he(e)}))),r.push(c)}return a>e.size&&(e=e.setSize(a)),mt(e,t,r)}function qt(e){return e>>v<=g&&i.size>=2*a.size?(r=(o=i.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=a.remove(t),o=s===i.size-1?i.pop():i.set(s,void 0))}else if(u){if(n===i.get(s)[1])return e;r=a,o=i.set(s,[t,n])}else r=a.set(t,i.size),o=i.set(i.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):Wt(r,o)}function Jt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Kt(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Gt(e){this._iter=e,this.size=e.size}function Zt(e){var t=bn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=_n,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(t===R){var r=e.__iterator(t,n);return new F((function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===M?N:M,n)},t}function Xt(e,t,n){var r=bn(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var a=e.get(r,b);return a===b?o:t.call(n,a,r,e)},r.__iterateUncached=function(r,o){var a=this;return e.__iterate((function(e,o,i){return!1!==r(t.call(n,e,o,i),o,a)}),o)},r.__iteratorUncached=function(r,o){var a=e.__iterator(R,o);return new F((function(){var o=a.next();if(o.done)return o;var i=o.value,s=i[0];return U(r,s,t.call(n,i[1],s,e),o)}))},r}function Qt(e,t){var n=bn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Zt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=_n,n.__iterate=function(t,n){var r=this;return e.__iterate((function(e,n){return t(e,n,r)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,r){var o=bn(e);return r&&(o.has=function(r){var o=e.get(r,b);return o!==b&&!!t.call(n,o,r,e)},o.get=function(r,o){var a=e.get(r,b);return a!==b&&t.call(n,a,r,e)?a:o}),o.__iterateUncached=function(o,a){var i=this,s=0;return e.__iterate((function(e,a,u){if(t.call(n,e,a,u))return s++,o(e,r?a:s-1,i)}),a),s},o.__iteratorUncached=function(o,a){var i=e.__iterator(R,a),s=0;return new F((function(){for(;;){var a=i.next();if(a.done)return a;var u=a.value,c=u[0],l=u[1];if(t.call(n,l,c,e))return U(o,r?c:s++,l,a)}}))},o}function tn(e,t,n){var r=We().asMutable();return e.__iterate((function(o,a){r.update(t.call(n,o,a,e),0,(function(e){return e+1}))})),r.asImmutable()}function nn(e,t,n){var r=s(e),o=(l(e)?zt():We()).asMutable();e.__iterate((function(a,i){o.update(t.call(n,a,i,e),(function(e){return(e=e||[]).push(r?[i,a]:a),e}))}));var a=yn(e);return o.map((function(t){return mn(e,a(t))}))}function rn(e,t,n,r){var o=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n===1/0?n=o:n|=0),j(t,n,o))return e;var a=T(t,o),i=I(n,o);if(a!=a||i!=i)return rn(e.toSeq().cacheResult(),t,n,r);var s,u=i-a;u==u&&(s=u<0?0:u);var c=bn(e);return c.size=0===s?s:e.size&&s||void 0,!r&&ae(e)&&s>=0&&(c.get=function(t,n){return(t=O(this,t))>=0&&ts)return q();var e=o.next();return r||t===M?e:U(t,u-1,t===N?void 0:e.value[1],e)}))},c}function on(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var i=0;return e.__iterate((function(e,o,s){return t.call(n,e,o,s)&&++i&&r(e,o,a)})),i},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var i=e.__iterator(R,o),s=!0;return new F((function(){if(!s)return q();var e=i.next();if(e.done)return e;var o=e.value,u=o[0],c=o[1];return t.call(n,c,u,a)?r===R?e:U(r,u,c,e):(s=!1,q())}))},r}function an(e,t,n,r){var o=bn(e);return o.__iterateUncached=function(o,a){var i=this;if(a)return this.cacheResult().__iterate(o,a);var s=!0,u=0;return e.__iterate((function(e,a,c){if(!s||!(s=t.call(n,e,a,c)))return u++,o(e,r?a:u-1,i)})),u},o.__iteratorUncached=function(o,a){var i=this;if(a)return this.cacheResult().__iterator(o,a);var s=e.__iterator(R,a),u=!0,c=0;return new F((function(){var e,a,l;do{if((e=s.next()).done)return r||o===M?e:U(o,c++,o===N?void 0:e.value[1],e);var p=e.value;a=p[0],l=p[1],u&&(u=t.call(n,l,a,i))}while(u);return o===R?e:U(o,a,l,e)}))},o}function sn(e,t){var n=s(e),o=[e].concat(t).map((function(e){return i(e)?n&&(e=r(e)):e=n?se(e):ue(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===o.length)return e;if(1===o.length){var a=o[0];if(a===e||n&&s(a)||u(e)&&u(a))return a}var c=new te(o);return n?c=c.toKeyedSeq():u(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=o.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function un(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,o){var a=0,s=!1;function u(e,c){var l=this;e.__iterate((function(e,o){return(!t||c0}function dn(e,t,r){var o=bn(e);return o.size=new te(r).map((function(e){return e.size})).min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(M,t),o=0;!(n=r.next()).done&&!1!==e(n.value,o++,this););return o},o.__iteratorUncached=function(e,o){var a=r.map((function(e){return e=n(e),W(o?e.reverse():e)})),i=0,s=!1;return new F((function(){var n;return s||(n=a.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?q():U(e,i++,t.apply(null,n.map((function(e){return e.value}))))}))},o}function mn(e,t){return ae(e)?t:e.constructor(t)}function vn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function gn(e){return Ve(e.size),A(e)}function yn(e){return s(e)?r:u(e)?o:a}function bn(e){return Object.create((s(e)?K:u(e)?Y:G).prototype)}function _n(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):J.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Kn(e,t)},Vn.prototype.pushAll=function(e){if(0===(e=o(e)).size)return this;Ve(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Kn(t,n)},Vn.prototype.pop=function(){return this.slice(1)},Vn.prototype.unshift=function(){return this.push.apply(this,arguments)},Vn.prototype.unshiftAll=function(e){return this.pushAll(e)},Vn.prototype.shift=function(){return this.pop.apply(this,arguments)},Vn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Yn()},Vn.prototype.slice=function(e,t){if(j(e,t,this.size))return this;var n=T(e,this.size);if(I(t,this.size)!==this.size)return Se.prototype.slice.call(this,e,t);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):Kn(r,o)},Vn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Kn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Vn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},Vn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new F((function(){if(r){var t=r.value;return r=r.next,U(e,n++,t)}return q()}))},Vn.isStack=Wn;var Hn,$n="@@__IMMUTABLE_STACK__@@",Jn=Vn.prototype;function Kn(e,t,n,r){var o=Object.create(Jn);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Yn(){return Hn||(Hn=Kn(0))}function Gn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Jn[$n]=!0,Jn.withMutations=Ke.withMutations,Jn.asMutable=Ke.asMutable,Jn.asImmutable=Ke.asImmutable,Jn.wasAltered=Ke.wasAltered,n.Iterator=F,Gn(n,{toArray:function(){Ve(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Kt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Jt(this,!0)},toMap:function(){return We(this.toKeyedSeq())},toObject:function(){Ve(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return zt(this.toKeyedSeq())},toOrderedSet:function(){return Ln(s(this)?this.valueSeq():this)},toSet:function(){return jn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Yt(this)},toSeq:function(){return u(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Vn(s(this)?this.valueSeq():this)},toList:function(){return St(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ge(t,e)}))},entries:function(){return this.__iterator(R)},every:function(e,t){Ve(this.size);var n=!0;return this.__iterate((function(r,o,a){if(!e.call(t,r,o,a))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},forEach:function(e,t){return Ve(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ve(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(N)},map:function(e,t){return mn(this,Xt(this,e,t))},reduce:function(e,t,n){var r,o;return Ve(this.size),arguments.length<2?o=!0:r=t,this.__iterate((function(t,a,i){o?(o=!1,r=t):r=e.call(n,r,t,a,i)})),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return mn(this,Qt(this,!0))},slice:function(e,t){return mn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(tr(e),t)},sort:function(e){return mn(this,pn(this,e))},values:function(){return this.__iterator(M)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return A(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ye(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(er).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(tr(e),t)},findEntry:function(e,t,n){var r=n;return this.__iterate((function(n,o,a){if(e.call(t,n,o,a))return r=[o,n],!1})),r},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(){return this.find(k)},flatMap:function(e,t){return mn(this,cn(this,e,t))},flatten:function(e){return mn(this,un(this,e,!0))},fromEntrySeq:function(){return new Gt(this)},get:function(e,t){return this.find((function(t,n){return ge(n,e)}),void 0,t)},getIn:function(e,t){for(var n,r=this,o=xn(e);!(n=o.next()).done;){var a=n.value;if((r=r&&r.get?r.get(a,b):b)===b)return t}return r},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,b)!==b},hasIn:function(e){return this.getIn(e,b)!==b},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return ge(t,e)}))},keySeq:function(){return this.toSeq().map(Qn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return fn(this,e)},maxBy:function(e,t){return fn(this,t,e)},min:function(e){return fn(this,e?nr(e):ar)},minBy:function(e,t){return fn(this,t?nr(t):ar,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return mn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return mn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(tr(e),t)},sortBy:function(e,t){return mn(this,pn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(tr(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ir(this))}});var Zn=n.prototype;Zn[p]=!0,Zn[B]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=rr,Zn.inspect=Zn.toSource=function(){return this.toString()},Zn.chain=Zn.flatMap,Zn.contains=Zn.includes,Gn(r,{flip:function(){return mn(this,Zt(this))},mapEntries:function(e,t){var n=this,r=0;return mn(this,this.toSeq().map((function(o,a){return e.call(t,[a,o],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(r,o){return e.call(t,r,o,n)})).flip())}});var Xn=r.prototype;function Qn(e,t){return t}function er(e,t){return[t,e]}function tr(e){return function(){return!e.apply(this,arguments)}}function nr(e){return function(){return-e.apply(this,arguments)}}function rr(e){return"string"==typeof e?JSON.stringify(e):String(e)}function or(){return C(arguments)}function ar(e,t){return et?-1:0}function ir(e){if(e.size===1/0)return 0;var t=l(e),n=s(e),r=t?1:0;return sr(e.__iterate(n?t?function(e,t){r=31*r+ur(ke(e),ke(t))|0}:function(e,t){r=r+ur(ke(e),ke(t))|0}:t?function(e){r=31*r+ke(e)|0}:function(e){r=r+ke(e)|0}),r)}function sr(e,t){return t=Ae(t,3432918353),t=Ae(t<<15|t>>>-15,461845907),t=Ae(t<<13|t>>>-13,5),t=Ae((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Oe((t=Ae(t^t>>>13,3266489909))^t>>>16)}function ur(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Xn[f]=!0,Xn[B]=Zn.entries,Xn.__toJS=Zn.toObject,Xn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},Gn(o,{toKeyedSeq:function(){return new Jt(this,!1)},filter:function(e,t){return mn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return mn(this,Qt(this,!1))},slice:function(e,t){return mn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=T(e,e<0?this.count():this.size);var r=this.slice(0,e);return mn(this,1===n?r:r.concat(C(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(e){return mn(this,un(this,e,!1))},get:function(e,t){return(e=O(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=O(this,e))>=0&&(void 0!==this.size?this.size===1/0||e1)try{return decodeURIComponent(t[1])}catch(e){console.error(e)}return null}function Pe(e){return t=e.replace(/\.[^./]*$/,""),Y()(J()(t));var t}function Ne(e,t,n,r,a){if(!t)return[];var s=[],u=t.get("nullable"),c=t.get("required"),p=t.get("maximum"),h=t.get("minimum"),d=t.get("type"),m=t.get("format"),g=t.get("maxLength"),b=t.get("minLength"),w=t.get("uniqueItems"),x=t.get("maxItems"),E=t.get("minItems"),S=t.get("pattern"),C=n||!0===c,A=null!=e;if(u&&null===e||!d||!(C||A&&"array"===d||!(!C&&!A)))return[];var O="string"===d&&e,k="array"===d&&l()(e)&&e.length,j="array"===d&&W.a.List.isList(e)&&e.count(),T=[O,k,j,"array"===d&&"string"==typeof e&&e,"file"===d&&e instanceof se.a.File,"boolean"===d&&(e||!1===e),"number"===d&&(e||0===e),"integer"===d&&(e||0===e),"object"===d&&"object"===i()(e)&&null!==e,"object"===d&&"string"==typeof e&&e],I=P()(T).call(T,(function(e){return!!e}));if(C&&!I&&!r)return s.push("Required field is not provided"),s;if("object"===d&&(null===a||"application/json"===a)){var N,M=e;if("string"==typeof e)try{M=JSON.parse(e)}catch(e){return s.push("Parameter string value must be valid JSON"),s}if(t&&t.has("required")&&Ee(c.isList)&&c.isList()&&y()(c).call(c,(function(e){void 0===M[e]&&s.push({propKey:e,error:"Required property not found"})})),t&&t.has("properties"))y()(N=t.get("properties")).call(N,(function(e,t){var n=Ne(M[t],e,!1,r,a);s.push.apply(s,o()(f()(n).call(n,(function(e){return{propKey:t,error:e}}))))}))}if(S){var R=function(e,t){if(!new RegExp(t).test(e))return"Value must follow pattern "+t}(e,S);R&&s.push(R)}if(E&&"array"===d){var D=function(e,t){var n;if(!e&&t>=1||e&&e.lengtht)return v()(n="Array must not contain more then ".concat(t," item")).call(n,1===t?"":"s")}(e,x);L&&s.push({needRemove:!0,error:L})}if(w&&"array"===d){var B=function(e,t){if(e&&("true"===t||!0===t)){var n=Object(V.fromJS)(e),r=n.toSet();if(e.length>r.size){var o=Object(V.Set)();if(y()(n).call(n,(function(e,t){_()(n).call(n,(function(t){return Ee(t.equals)?t.equals(e):t===e})).size>1&&(o=o.add(t))})),0!==o.size)return f()(o).call(o,(function(e){return{index:e,error:"No duplicates allowed."}})).toArray()}}}(e,w);B&&s.push.apply(s,o()(B))}if(g||0===g){var F=function(e,t){var n;if(e.length>t)return v()(n="Value must be no longer than ".concat(t," character")).call(n,1!==t?"s":"")}(e,g);F&&s.push(F)}if(b){var U=function(e,t){var n;if(e.lengtht)return"Value must be less than ".concat(t)}(e,p);q&&s.push(q)}if(h||0===h){var z=function(e,t){if(e2&&void 0!==arguments[2]?arguments[2]:{},r=n.isOAS3,o=void 0!==r&&r,a=n.bypassRequiredCheck,i=void 0!==a&&a,s=e.get("required"),u=Object(le.a)(e,{isOAS3:o}),c=u.schema,l=u.parameterContentMediaType;return Ne(t,c,s,i,l)},Re=function(e,t,n){if(e&&(!e.xml||!e.xml.name)){if(e.xml=e.xml||{},!e.$$ref)return e.type||e.items||e.properties||e.additionalProperties?'\n\x3c!-- XML example cannot be generated; root element name is undefined --\x3e':null;var r=e.$$ref.match(/\S*\/(\S+)$/);e.xml.name=r[1]}return Object(ie.memoizedCreateXMLExample)(e,t,n)},De=[{when:/json/,shouldStringifyTypes:["string"]}],Le=["object"],Be=function(e,t,n,r){var a=Object(ie.memoizedSampleFromSchema)(e,t,r),s=i()(a),u=S()(De).call(De,(function(e,t){var r;return t.when.test(n)?v()(r=[]).call(r,o()(e),o()(t.shouldStringifyTypes)):e}),Le);return te()(u,(function(e){return e===s}))?M()(a,null,2):a},Fe=function(e,t,n,r){var o,a=Be(e,t,n,r);try{"\n"===(o=me.a.dump(me.a.load(a),{lineWidth:-1}))[o.length-1]&&(o=T()(o).call(o,0,o.length-1))}catch(e){return console.error(e),"error: could not generate yaml example"}return o.replace(/\t/g," ")},Ue=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;return e&&Ee(e.toJS)&&(e=e.toJS()),r&&Ee(r.toJS)&&(r=r.toJS()),/xml/.test(t)?Re(e,n,r):/(yaml|yml)/.test(t)?Fe(e,n,t,r):Be(e,n,t,r)},qe=function(){var e={},t=se.a.location.search;if(!t)return{};if(""!=t){var n=t.substr(1).split("&");for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(r=n[r].split("="),e[decodeURIComponent(r[0])]=r[1]&&decodeURIComponent(r[1])||"")}return e},ze=function(t){return(t instanceof e?t:e.from(t.toString(),"utf-8")).toString("base64")},Ve={operationsSorter:{alpha:function(e,t){return e.get("path").localeCompare(t.get("path"))},method:function(e,t){return e.get("method").localeCompare(t.get("method"))}},tagsSorter:{alpha:function(e,t){return e.localeCompare(t)}}},We=function(e){var t=[];for(var n in e){var r=e[n];void 0!==r&&""!==r&&t.push([n,"=",encodeURIComponent(r).replace(/%20/g,"+")].join(""))}return t.join("&")},He=function(e,t,n){return!!Q()(n,(function(n){return re()(e[n],t[n])}))};function $e(e){return"string"!=typeof e||""===e?"":Object(H.sanitizeUrl)(e)}function Je(e){return!(!e||D()(e).call(e,"localhost")>=0||D()(e).call(e,"127.0.0.1")>=0||"none"===e)}function Ke(e){if(!W.a.OrderedMap.isOrderedMap(e))return null;if(!e.size)return null;var t=B()(e).call(e,(function(e,t){return U()(t).call(t,"2")&&x()(e.get("content")||{}).length>0})),n=e.get("default")||W.a.OrderedMap(),r=(n.get("content")||W.a.OrderedMap()).keySeq().toJS().length?n:null;return t||r}var Ye=function(e){return"string"==typeof e||e instanceof String?z()(e).call(e).replace(/\s/g,"%20"):""},Ge=function(e){return ce()(Ye(e).replace(/%20/g,"_"))},Ze=function(e){return _()(e).call(e,(function(e,t){return/^x-/.test(t)}))},Xe=function(e){return _()(e).call(e,(function(e,t){return/^pattern|maxLength|minLength|maximum|minimum/.test(t)}))};function Qe(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return!0};if("object"!==i()(e)||l()(e)||null===e||!t)return e;var o=A()({},e);return y()(n=x()(o)).call(n,(function(e){e===t&&r(o[e],e)?delete o[e]:o[e]=Qe(o[e],t,r)})),o}function et(e){if("string"==typeof e)return e;if(e&&e.toJS&&(e=e.toJS()),"object"===i()(e)&&null!==e)try{return M()(e,null,2)}catch(t){return String(e)}return null==e?"":e.toString()}function tt(e){return"number"==typeof e?e.toString():e}function nt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.returnAll,r=void 0!==n&&n,o=t.allowHashes,a=void 0===o||o;if(!W.a.Map.isMap(e))throw new Error("paramToIdentifier: received a non-Im.Map parameter as input");var i,s,u,c=e.get("name"),l=e.get("in"),p=[];e&&e.hashCode&&l&&c&&a&&p.push(v()(i=v()(s="".concat(l,".")).call(s,c,".hash-")).call(i,e.hashCode()));l&&c&&p.push(v()(u="".concat(l,".")).call(u,c));return p.push(c),r?p:p[0]||""}function rt(e,t){var n,r=nt(e,{returnAll:!0});return _()(n=f()(r).call(r,(function(e){return t[e]}))).call(n,(function(e){return void 0!==e}))[0]}function ot(){return it(fe()(32).toString("base64"))}function at(e){return it(de()("sha256").update(e).digest("base64"))}function it(e){return e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}var st=function(e){return!e||!(!ge(e)||!e.isEmpty())}}).call(this,n(132).Buffer)},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(238);function o(e,t){for(var n=0;n1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:r,n=null,a=null;return function(){return o(t,n,arguments)||(a=e.apply(null,arguments)),n=arguments,a}}))},function(e,t,n){e.exports=n(659)},function(e,t,n){var r=n(177),o=n(563);function a(t){return"function"==typeof r&&"symbol"==typeof o?(e.exports=a=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=a=function(e){return e&&"function"==typeof r&&e.constructor===r&&e!==r.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),a(t)}e.exports=a,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){e.exports=n(589)},function(e,t,n){e.exports=n(587)},function(e,t,n){e.exports=n(400)},function(e,t,n){"use strict";var r=n(40),o=n(127).f,a=n(361),i=n(33),s=n(109),u=n(67),c=n(55),l=function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,p,f,h,d,m,v,g,y=e.target,b=e.global,_=e.stat,w=e.proto,x=b?r:_?r[y]:(r[y]||{}).prototype,E=b?i:i[y]||(i[y]={}),S=E.prototype;for(f in t)n=!a(b?f:y+(_?".":"#")+f,e.forced)&&x&&c(x,f),d=E[f],n&&(m=e.noTargetGet?(g=o(x,f))&&g.value:x[f]),h=n&&m?m:t[f],n&&typeof d==typeof h||(v=e.bind&&n?s(h,r):e.wrap&&n?l(h):w&&"function"==typeof h?s(Function.call,h):h,(e.sham||h&&h.sham||d&&d.sham)&&u(v,"sham",!0),E[f]=v,w&&(c(i,p=y+"Prototype")||u(i,p,{}),i[p][f]=h,e.real&&S&&!S[f]&&u(S,f,h)))}},function(e,t,n){e.exports=n(592)},function(e,t,n){var r=n(444),o=n(445),a=n(849),i=n(851),s=n(855),u=n(857),c=n(862),l=n(238),p=n(3);function f(e,t){var n=r(e);if(o){var s=o(e);t&&(s=a(s).call(s,(function(t){return i(e,t).enumerable}))),n.push.apply(n,s)}return n}e.exports=function(e){for(var t=1;t>",i=function(){invariant(!1,"ImmutablePropTypes type checking code is stripped in production.")};i.isRequired=i;var s=function(){return i};function u(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":e instanceof o.Iterable?"Immutable."+e.toSource().split(" ")[0]:t}function c(e){function t(t,n,r,o,i,s){for(var u=arguments.length,c=Array(u>6?u-6:0),l=6;l4)}function l(e){var t=e.get("swagger");return"string"==typeof t&&i()(t).call(t,"2.0")}function p(e){return function(t,n){return function(r){return n&&n.specSelectors&&n.specSelectors.specJson?c(n.specSelectors.specJson())?u.a.createElement(e,o()({},r,n,{Ori:t})):u.a.createElement(t,r):(console.warn("OAS3 wrapper: couldn't get spec"),null)}}}},function(e,t,n){e.exports=n(583)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,u=i(e),c=1;c0){var o=v()(n).call(n,(function(e){return console.error(e),e.line=e.fullPath?_(w,e.fullPath):null,e.path=e.fullPath?e.fullPath.join("."):null,e.level="error",e.type="thrown",e.source="resolver",y()(e,"message",{enumerable:!0,value:e.message}),e}));a.newThrownErrBatch(o)}return r.updateResolved(t)}))}},Se=[],Ce=Y()(u()(f.a.mark((function e(){var t,n,r,o,a,i,s,c,l,p,h,m,g,b,w,E,C,O;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=Se.system){e.next=4;break}return console.error("debResolveSubtrees: don't have a system to operate on, aborting."),e.abrupt("return");case 4:if(n=t.errActions,r=t.errSelectors,o=t.fn,a=o.resolveSubtree,i=o.fetch,s=o.AST,c=void 0===s?{}:s,l=t.specSelectors,p=t.specActions,a){e.next=8;break}return console.error("Error: Swagger-Client did not provide a `resolveSubtree` method, doing nothing."),e.abrupt("return");case 8:return h=c.getLineNumberForPath?c.getLineNumberForPath:function(){},m=l.specStr(),g=t.getConfigs(),b=g.modelPropertyMacro,w=g.parameterMacro,E=g.requestInterceptor,C=g.responseInterceptor,e.prev=11,e.next=14,_()(Se).call(Se,function(){var e=u()(f.a.mark((function e(t,o){var s,c,p,g,_,O,j,T,I;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t;case 2:return s=e.sent,c=s.resultMap,p=s.specWithCurrentSubtrees,e.next=7,a(p,o,{baseDoc:l.url(),modelPropertyMacro:b,parameterMacro:w,requestInterceptor:E,responseInterceptor:C});case 7:if(g=e.sent,_=g.errors,O=g.spec,r.allErrors().size&&n.clearBy((function(e){var t;return"thrown"!==e.get("type")||"resolver"!==e.get("source")||!x()(t=e.get("fullPath")).call(t,(function(e,t){return e===o[t]||void 0===o[t]}))})),d()(_)&&_.length>0&&(j=v()(_).call(_,(function(e){return e.line=e.fullPath?h(m,e.fullPath):null,e.path=e.fullPath?e.fullPath.join("."):null,e.level="error",e.type="thrown",e.source="resolver",y()(e,"message",{enumerable:!0,value:e.message}),e})),n.newThrownErrBatch(j)),!O||!l.isOAS3()||"components"!==o[0]||"securitySchemes"!==o[1]){e.next=15;break}return e.next=15,S.a.all(v()(T=A()(I=k()(O)).call(I,(function(e){return"openIdConnect"===e.type}))).call(T,function(){var e=u()(f.a.mark((function e(t){var n,r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={url:t.openIdConnectUrl,requestInterceptor:E,responseInterceptor:C},e.prev=1,e.next=4,i(n);case 4:(r=e.sent)instanceof Error||r.status>=400?console.error(r.statusText+" "+n.url):t.openIdConnectData=JSON.parse(r.text),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),console.error(e.t0);case 11:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(t){return e.apply(this,arguments)}}()));case 15:return Z()(c,o,O),Z()(p,o,O),e.abrupt("return",{resultMap:c,specWithCurrentSubtrees:p});case 18:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),S.a.resolve({resultMap:(l.specResolvedSubtree([])||Object(z.Map)()).toJS(),specWithCurrentSubtrees:l.specJson().toJS()}));case 14:O=e.sent,delete Se.system,Se=[],e.next=22;break;case 19:e.prev=19,e.t0=e.catch(11),console.error(e.t0);case 22:p.updateResolvedSubtree([],O.resultMap);case 23:case"end":return e.stop()}}),e,null,[[11,19]])}))),35),Ae=function(e){return function(t){var n;T()(n=v()(Se).call(Se,(function(e){return e.join("@@")}))).call(n,e.join("@@"))>-1||(Se.push(e),Se.system=t,Ce())}};function Oe(e,t,n,r,o){return{type:re,payload:{path:e,value:r,paramName:t,paramIn:n,isXml:o}}}function ke(e,t,n,r){return{type:re,payload:{path:e,param:t,value:n,isXml:r}}}var je=function(e,t){return{type:me,payload:{path:e,value:t}}},Te=function(){return{type:me,payload:{path:[],value:Object(z.Map)()}}},Ie=function(e,t){return{type:ae,payload:{pathMethod:e,isOAS3:t}}},Pe=function(e,t,n,r){return{type:oe,payload:{pathMethod:e,paramName:t,paramIn:n,includeEmptyValue:r}}};function Ne(e){return{type:fe,payload:{pathMethod:e}}}function Me(e,t){return{type:he,payload:{path:e,value:t,key:"consumes_value"}}}function Re(e,t){return{type:he,payload:{path:e,value:t,key:"produces_value"}}}var De=function(e,t,n){return{payload:{path:e,method:t,res:n},type:ie}},Le=function(e,t,n){return{payload:{path:e,method:t,req:n},type:se}},Be=function(e,t,n){return{payload:{path:e,method:t,req:n},type:ue}},Fe=function(e){return{payload:e,type:ce}},Ue=function(e){return function(t){var n,r,o=t.fn,a=t.specActions,i=t.specSelectors,s=t.getConfigs,c=t.oas3Selectors,l=e.pathName,p=e.method,h=e.operation,m=s(),g=m.requestInterceptor,y=m.responseInterceptor,b=h.toJS();h&&h.get("parameters")&&P()(n=A()(r=h.get("parameters")).call(r,(function(e){return e&&!0===e.get("allowEmptyValue")}))).call(n,(function(t){if(i.parameterInclusionSettingFor([l,p],t.get("name"),t.get("in"))){e.parameters=e.parameters||{};var n=Object(X.B)(t,e.parameters);(!n||n&&0===n.size)&&(e.parameters[t.get("name")]="")}}));if(e.contextUrl=W()(i.url()).toString(),b&&b.operationId?e.operationId=b.operationId:b&&l&&p&&(e.operationId=o.opId(b,l,p)),i.isOAS3()){var _,w=M()(_="".concat(l,":")).call(_,p);e.server=c.selectedServer(w)||c.selectedServer();var x=c.serverVariables({server:e.server,namespace:w}).toJS(),E=c.serverVariables({server:e.server}).toJS();e.serverVariables=D()(x).length?x:E,e.requestContentType=c.requestContentType(l,p),e.responseContentType=c.responseContentType(l,p)||"*/*";var S,C=c.requestBodyValue(l,p),O=c.requestBodyInclusionSetting(l,p);if(C&&C.toJS)e.requestBody=A()(S=v()(C).call(C,(function(e){return z.Map.isMap(e)?e.get("value"):e}))).call(S,(function(e,t){return(d()(e)?0!==e.length:!Object(X.q)(e))||O.get(t)})).toJS();else e.requestBody=C}var k=B()({},e);k=o.buildRequest(k),a.setRequest(e.pathName,e.method,k);var j=function(){var t=u()(f.a.mark((function t(n){var r,o;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g.apply(undefined,[n]);case 2:return r=t.sent,o=B()({},r),a.setMutatedRequest(e.pathName,e.method,o),t.abrupt("return",r);case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();e.requestInterceptor=j,e.responseInterceptor=y;var T=U()();return o.execute(e).then((function(t){t.duration=U()()-T,a.setResponse(e.pathName,e.method,t)})).catch((function(t){"Failed to fetch"===t.message&&(t.name="",t.message='**Failed to fetch.** \n**Possible Reasons:** \n - CORS \n - Network Failure \n - URL scheme must be "http" or "https" for CORS request.'),a.setResponse(e.pathName,e.method,{error:!0,err:Object(H.serializeError)(t)})}))}},qe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.path,n=e.method,r=i()(e,Q);return function(e){var a=e.fn.fetch,i=e.specSelectors,s=e.specActions,u=i.specJsonWithResolvedSubtrees().toJS(),c=i.operationScheme(t,n),l=i.contentTypeValues([t,n]).toJS(),p=l.requestContentType,f=l.responseContentType,h=/xml/i.test(p),d=i.parameterValues([t,n],h).toJS();return s.executeRequest(o()(o()({},r),{},{fetch:a,spec:u,pathName:t,method:n,parameters:d,requestContentType:p,scheme:c,responseContentType:f}))}};function ze(e,t){return{type:le,payload:{path:e,method:t}}}function Ve(e,t){return{type:pe,payload:{path:e,method:t}}}function We(e,t,n){return{type:ve,payload:{scheme:e,path:t,method:n}}}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(37);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,n){var r=n(177),o=n(241),a=n(240),i=n(187);e.exports=function(e,t){var n=void 0!==r&&o(e)||e["@@iterator"];if(!n){if(a(e)||(n=i(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var s=0,u=function(){};return{s:u,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(e){throw e},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,l=!0,p=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){p=!0,c=e},f:function(){try{l||null==n.return||n.return()}finally{if(p)throw c}}}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";n.r(t),n.d(t,"UPDATE_SELECTED_SERVER",(function(){return r})),n.d(t,"UPDATE_REQUEST_BODY_VALUE",(function(){return o})),n.d(t,"UPDATE_REQUEST_BODY_VALUE_RETAIN_FLAG",(function(){return a})),n.d(t,"UPDATE_REQUEST_BODY_INCLUSION",(function(){return i})),n.d(t,"UPDATE_ACTIVE_EXAMPLES_MEMBER",(function(){return s})),n.d(t,"UPDATE_REQUEST_CONTENT_TYPE",(function(){return u})),n.d(t,"UPDATE_RESPONSE_CONTENT_TYPE",(function(){return c})),n.d(t,"UPDATE_SERVER_VARIABLE_VALUE",(function(){return l})),n.d(t,"SET_REQUEST_BODY_VALIDATE_ERROR",(function(){return p})),n.d(t,"CLEAR_REQUEST_BODY_VALIDATE_ERROR",(function(){return f})),n.d(t,"CLEAR_REQUEST_BODY_VALUE",(function(){return h})),n.d(t,"setSelectedServer",(function(){return d})),n.d(t,"setRequestBodyValue",(function(){return m})),n.d(t,"setRetainRequestBodyValueFlag",(function(){return v})),n.d(t,"setRequestBodyInclusion",(function(){return g})),n.d(t,"setActiveExamplesMember",(function(){return y})),n.d(t,"setRequestContentType",(function(){return b})),n.d(t,"setResponseContentType",(function(){return _})),n.d(t,"setServerVariableValue",(function(){return w})),n.d(t,"setRequestBodyValidateError",(function(){return x})),n.d(t,"clearRequestBodyValidateError",(function(){return E})),n.d(t,"initRequestBodyValidateError",(function(){return S})),n.d(t,"clearRequestBodyValue",(function(){return C}));var r="oas3_set_servers",o="oas3_set_request_body_value",a="oas3_set_request_body_retain_flag",i="oas3_set_request_body_inclusion",s="oas3_set_active_examples_member",u="oas3_set_request_content_type",c="oas3_set_response_content_type",l="oas3_set_server_variable_value",p="oas3_set_request_body_validate_error",f="oas3_clear_request_body_validate_error",h="oas3_clear_request_body_value";function d(e,t){return{type:r,payload:{selectedServerUrl:e,namespace:t}}}function m(e){var t=e.value,n=e.pathMethod;return{type:o,payload:{value:t,pathMethod:n}}}var v=function(e){var t=e.value,n=e.pathMethod;return{type:a,payload:{value:t,pathMethod:n}}};function g(e){var t=e.value,n=e.pathMethod,r=e.name;return{type:i,payload:{value:t,pathMethod:n,name:r}}}function y(e){var t=e.name,n=e.pathMethod,r=e.contextType,o=e.contextName;return{type:s,payload:{name:t,pathMethod:n,contextType:r,contextName:o}}}function b(e){var t=e.value,n=e.pathMethod;return{type:u,payload:{value:t,pathMethod:n}}}function _(e){var t=e.value,n=e.path,r=e.method;return{type:c,payload:{value:t,path:n,method:r}}}function w(e){var t=e.server,n=e.namespace,r=e.key,o=e.val;return{type:l,payload:{server:t,namespace:n,key:r,val:o}}}var x=function(e){var t=e.path,n=e.method,r=e.validationErrors;return{type:p,payload:{path:t,method:n,validationErrors:r}}},E=function(e){var t=e.path,n=e.method;return{type:f,payload:{path:t,method:n}}},S=function(e){var t=e.pathMethod;return{type:f,payload:{path:t[0],method:t[1]}}},C=function(e){var t=e.pathMethod;return{type:h,payload:{pathMethod:t}}}},function(e,t,n){var r=n(62),o={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return o.call(r(e),t)}},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=o},function(e,t,n){e.exports=n(662)},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return m})),n.d(t,"e",(function(){return v})),n.d(t,"c",(function(){return y})),n.d(t,"a",(function(){return b})),n.d(t,"d",(function(){return _}));var r=n(49),o=n.n(r),a=n(18),i=n.n(a),s=n(104),u=n.n(s),c=n(2),l=n.n(c),p=n(59),f=n.n(p),h=function(e){return String.prototype.toLowerCase.call(e)},d=function(e){return e.replace(/[^\w]/gi,"_")};function m(e){var t=e.openapi;return!!t&&u()(t).call(t,"3")}function v(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=r.v2OperationIdCompatibilityMode;if(!e||"object"!==i()(e))return null;var a=(e.operationId||"").replace(/\s/g,"");return a.length?d(e.operationId):g(t,n,{v2OperationIdCompatibilityMode:o})}function g(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=r.v2OperationIdCompatibilityMode;if(o){var a,i,s=l()(a="".concat(t.toLowerCase(),"_")).call(a,e).replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return(s=s||l()(i="".concat(e.substring(1),"_")).call(i,t)).replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return l()(n="".concat(h(t))).call(n,d(e))}function y(e,t){var n;return l()(n="".concat(h(t),"-")).call(n,e)}function b(e,t){return e&&e.paths?function(e,t){return function(e,t,n){if(!e||"object"!==i()(e)||!e.paths||"object"!==i()(e.paths))return null;var r=e.paths;for(var o in r)for(var a in r[o])if("PARAMETERS"!==a.toUpperCase()){var s=r[o][a];if(s&&"object"===i()(s)){var u={spec:e,pathName:o,method:a.toUpperCase(),operation:s},c=t(u);if(n&&c)return u}}return}(e,t,!0)||null}(e,(function(e){var n=e.pathName,r=e.method,o=e.operation;if(!o||"object"!==i()(o))return!1;var a=o.operationId;return[v(o,n,r),y(n,r),a].some((function(e){return e&&e===t}))})):null}function _(e){var t=e.spec,n=t.paths,r={};if(!n||t.$$normalized)return e;for(var a in n){var i=n[a];if(f()(i)){var s=i.parameters,u=function(e){var n=i[e];if(!f()(n))return"continue";var u=v(n,a,e);if(u){r[u]?r[u].push(n):r[u]=[n];var c=r[u];if(c.length>1)c.forEach((function(e,t){var n;e.__originalOperationId=e.__originalOperationId||e.operationId,e.operationId=l()(n="".concat(u)).call(n,t+1)}));else if(void 0!==n.operationId){var p=c[0];p.__originalOperationId=p.__originalOperationId||n.operationId,p.operationId=u}}if("parameters"!==e){var h=[],d={};for(var m in t)"produces"!==m&&"consumes"!==m&&"security"!==m||(d[m]=t[m],h.push(d));if(s&&(d.parameters=s,h.push(d)),h.length){var g,y=o()(h);try{for(y.s();!(g=y.n()).done;){var b=g.value;for(var _ in b)if(n[_]){if("parameters"===_){var w,x=o()(b[_]);try{var E=function(){var e=w.value;n[_].some((function(t){return t.name&&t.name===e.name||t.$ref&&t.$ref===e.$ref||t.$$ref&&t.$$ref===e.$$ref||t===e}))||n[_].push(e)};for(x.s();!(w=x.n()).done;)E()}catch(e){x.e(e)}finally{x.f()}}}else n[_]=b[_]}}catch(e){y.e(e)}finally{y.f()}}}};for(var c in i)u(c)}}return t.$$normalized=!0,e}},function(e,t,n){"use strict";n.r(t),n.d(t,"NEW_THROWN_ERR",(function(){return o})),n.d(t,"NEW_THROWN_ERR_BATCH",(function(){return a})),n.d(t,"NEW_SPEC_ERR",(function(){return i})),n.d(t,"NEW_SPEC_ERR_BATCH",(function(){return s})),n.d(t,"NEW_AUTH_ERR",(function(){return u})),n.d(t,"CLEAR",(function(){return c})),n.d(t,"CLEAR_BY",(function(){return l})),n.d(t,"newThrownErr",(function(){return p})),n.d(t,"newThrownErrBatch",(function(){return f})),n.d(t,"newSpecErr",(function(){return h})),n.d(t,"newSpecErrBatch",(function(){return d})),n.d(t,"newAuthErr",(function(){return m})),n.d(t,"clear",(function(){return v})),n.d(t,"clearBy",(function(){return g}));var r=n(146),o="err_new_thrown_err",a="err_new_thrown_err_batch",i="err_new_spec_err",s="err_new_spec_err_batch",u="err_new_auth_err",c="err_clear",l="err_clear_by";function p(e){return{type:o,payload:Object(r.serializeError)(e)}}function f(e){return{type:a,payload:e}}function h(e){return{type:i,payload:e}}function d(e){return{type:s,payload:e}}function m(e){return{type:u,payload:e}}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{type:c,payload:e}}function g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!0};return{type:l,payload:e}}},function(e,t,n){var r=n(108);e.exports=function(e){return Object(r(e))}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){var r=n(132),o=r.Buffer;function a(e,t){for(var n in e)t[n]=e[n]}function i(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=r:(a(r,t),t.Buffer=i),a(o,i),i.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,n)},i.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=o(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},i.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},i.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t,n){e.exports=n(882)},function(e,t,n){var r=n(179),o=n(108);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(48),o=n(68),a=n(107);e.exports=r?function(e,t,n){return o.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(48),o=n(360),a=n(52),i=n(180),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(a(e),t=i(t,!0),a(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(128),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(33),o=n(40),a=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?a(r[e])||a(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},function(e,t,n){var r=n(405),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();e.exports=a},function(e,t,n){"use strict";e.exports={debugTool:null}},function(e,t,n){"use strict";function r(e){return null==e}var o={isNothing:r,isObject:function(e){return"object"==typeof e&&null!==e},toArray:function(e){return Array.isArray(e)?e:r(e)?[]:[e]},repeat:function(e,t){var n,r="";for(n=0;ns&&(t=r-s+(a=" ... ").length),n-r>s&&(n=r+s-(i=" ...").length),{str:a+e.slice(t,n).replace(/\t/g,"→")+i,pos:r-t+a.length}}function c(e,t){return o.repeat(" ",t-e.length)+e}var l=function(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),"number"!=typeof t.indent&&(t.indent=1),"number"!=typeof t.linesBefore&&(t.linesBefore=3),"number"!=typeof t.linesAfter&&(t.linesAfter=2);for(var n,r=/\r?\n|\r|\0/g,a=[0],i=[],s=-1;n=r.exec(e.buffer);)i.push(n.index),a.push(n.index+n[0].length),e.position<=n.index&&s<0&&(s=a.length-2);s<0&&(s=a.length-1);var l,p,f="",h=Math.min(e.line+t.linesAfter,i.length).toString().length,d=t.maxLength-(t.indent+h+3);for(l=1;l<=t.linesBefore&&!(s-l<0);l++)p=u(e.buffer,a[s-l],i[s-l],e.position-(a[s]-a[s-l]),d),f=o.repeat(" ",t.indent)+c((e.line-l+1).toString(),h)+" | "+p.str+"\n"+f;for(p=u(e.buffer,a[s],i[s],e.position,d),f+=o.repeat(" ",t.indent)+c((e.line+1).toString(),h)+" | "+p.str+"\n",f+=o.repeat("-",t.indent+h+3+p.pos)+"^\n",l=1;l<=t.linesAfter&&!(s+l>=i.length);l++)p=u(e.buffer,a[s+l],i[s+l],e.position-(a[s]-a[s+l]),d),f+=o.repeat(" ",t.indent)+c((e.line+l+1).toString(),h)+" | "+p.str+"\n";return f.replace(/\n$/,"")},p=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],f=["scalar","sequence","mapping"];var h=function(e,t){if(t=t||{},Object.keys(t).forEach((function(t){if(-1===p.indexOf(t))throw new s('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=function(e){var t={};return null!==e&&Object.keys(e).forEach((function(n){e[n].forEach((function(e){t[String(e)]=n}))})),t}(t.styleAliases||null),-1===f.indexOf(this.kind))throw new s('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')};function d(e,t){var n=[];return e[t].forEach((function(e){var t=n.length;n.forEach((function(n,r){n.tag===e.tag&&n.kind===e.kind&&n.multi===e.multi&&(t=r)})),n[t]=e})),n}function m(e){return this.extend(e)}m.prototype.extend=function(e){var t=[],n=[];if(e instanceof h)n.push(e);else if(Array.isArray(e))n=n.concat(e);else{if(!e||!Array.isArray(e.implicit)&&!Array.isArray(e.explicit))throw new s("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");e.implicit&&(t=t.concat(e.implicit)),e.explicit&&(n=n.concat(e.explicit))}t.forEach((function(e){if(!(e instanceof h))throw new s("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(e.loadKind&&"scalar"!==e.loadKind)throw new s("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(e.multi)throw new s("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")})),n.forEach((function(e){if(!(e instanceof h))throw new s("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));var r=Object.create(m.prototype);return r.implicit=(this.implicit||[]).concat(t),r.explicit=(this.explicit||[]).concat(n),r.compiledImplicit=d(r,"implicit"),r.compiledExplicit=d(r,"explicit"),r.compiledTypeMap=function(){var e,t,n={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function r(e){e.multi?(n.multi[e.kind].push(e),n.multi.fallback.push(e)):n[e.kind][e.tag]=n.fallback[e.tag]=e}for(e=0,t=arguments.length;e=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),A=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var O=/^[-+]?[0-9]+e/;var k=new h("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!A.test(e)||"_"===e[e.length-1])},construct:function(e){var t,n;return n="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:n*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||o.isNegativeZero(e))},represent:function(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(o.isNegativeZero(e))return"-0.0";return n=e.toString(10),O.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"}),j=_.extend({implicit:[w,x,C,k]}),T=j,I=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),P=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");var N=new h("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==I.exec(e)||null!==P.exec(e))},construct:function(e){var t,n,r,o,a,i,s,u,c=0,l=null;if(null===(t=I.exec(e))&&(t=P.exec(e)),null===t)throw new Error("Date resolve error");if(n=+t[1],r=+t[2]-1,o=+t[3],!t[4])return new Date(Date.UTC(n,r,o));if(a=+t[4],i=+t[5],s=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+="0";c=+c}return t[9]&&(l=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(l=-l)),u=new Date(Date.UTC(n,r,o,a,i,s,c)),l&&u.setTime(u.getTime()-l),u},instanceOf:Date,represent:function(e){return e.toISOString()}});var M=new h("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}}),R="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";var D=new h("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,r=0,o=e.length,a=R;for(n=0;n64)){if(t<0)return!1;r+=6}return r%8==0},construct:function(e){var t,n,r=e.replace(/[\r\n=]/g,""),o=r.length,a=R,i=0,s=[];for(t=0;t>16&255),s.push(i>>8&255),s.push(255&i)),i=i<<6|a.indexOf(r.charAt(t));return 0===(n=o%4*6)?(s.push(i>>16&255),s.push(i>>8&255),s.push(255&i)):18===n?(s.push(i>>10&255),s.push(i>>2&255)):12===n&&s.push(i>>4&255),new Uint8Array(s)},predicate:function(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)},represent:function(e){var t,n,r="",o=0,a=e.length,i=R;for(t=0;t>18&63],r+=i[o>>12&63],r+=i[o>>6&63],r+=i[63&o]),o=(o<<8)+e[t];return 0===(n=a%3)?(r+=i[o>>18&63],r+=i[o>>12&63],r+=i[o>>6&63],r+=i[63&o]):2===n?(r+=i[o>>10&63],r+=i[o>>4&63],r+=i[o<<2&63],r+=i[64]):1===n&&(r+=i[o>>2&63],r+=i[o<<4&63],r+=i[64],r+=i[64]),r}}),L=Object.prototype.hasOwnProperty,B=Object.prototype.toString;var F=new h("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,r,o,a,i=[],s=e;for(t=0,n=s.length;t>10),56320+(e-65536&1023))}for(var ae=new Array(256),ie=new Array(256),se=0;se<256;se++)ae[se]=re(se)?1:0,ie[se]=re(se);function ue(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||W,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function ce(e,t){var n={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return n.snippet=l(n),new s(t,n)}function le(e,t){throw ce(e,t)}function pe(e,t){e.onWarning&&e.onWarning.call(null,ce(e,t))}var fe={YAML:function(e,t,n){var r,o,a;null!==e.version&&le(e,"duplication of %YAML directive"),1!==n.length&&le(e,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&le(e,"ill-formed argument of the YAML directive"),o=parseInt(r[1],10),a=parseInt(r[2],10),1!==o&&le(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=a<2,1!==a&&2!==a&&pe(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var r,o;2!==n.length&&le(e,"TAG directive accepts exactly two arguments"),r=n[0],o=n[1],Y.test(r)||le(e,"ill-formed tag handle (first argument) of the TAG directive"),H.call(e.tagMap,r)&&le(e,'there is a previously declared suffix for "'+r+'" tag handle'),G.test(o)||le(e,"ill-formed tag prefix (second argument) of the TAG directive");try{o=decodeURIComponent(o)}catch(t){le(e,"tag prefix is malformed: "+o)}e.tagMap[r]=o}};function he(e,t,n,r){var o,a,i,s;if(t1&&(e.result+=o.repeat("\n",t-1))}function _e(e,t){var n,r,o=e.tag,a=e.anchor,i=[],s=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=i),r=e.input.charCodeAt(e.position);0!==r&&(-1!==e.firstTabInLine&&(e.position=e.firstTabInLine,le(e,"tab characters must not be used in indentation")),45===r)&&ee(e.input.charCodeAt(e.position+1));)if(s=!0,e.position++,ge(e,!0,-1)&&e.lineIndent<=t)i.push(null),r=e.input.charCodeAt(e.position);else if(n=e.line,Ee(e,t,3,!1,!0),i.push(e.result),ge(e,!0,-1),r=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==r)le(e,"bad indentation of a sequence entry");else if(e.lineIndentt?m=1:e.lineIndent===t?m=0:e.lineIndentt?m=1:e.lineIndent===t?m=0:e.lineIndentt)&&(g&&(i=e.line,s=e.lineStart,u=e.position),Ee(e,t,4,!0,o)&&(g?m=e.result:v=e.result),g||(me(e,f,h,d,m,v,i,s,u),d=m=v=null),ge(e,!0,-1),c=e.input.charCodeAt(e.position)),(e.line===a||e.lineIndent>t)&&0!==c)le(e,"bad indentation of a mapping entry");else if(e.lineIndent=0))break;0===a?le(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?le(e,"repeat of an indentation width identifier"):(p=t+a-1,l=!0)}if(Q(i)){do{i=e.input.charCodeAt(++e.position)}while(Q(i));if(35===i)do{i=e.input.charCodeAt(++e.position)}while(!X(i)&&0!==i)}for(;0!==i;){for(ve(e),e.lineIndent=0,i=e.input.charCodeAt(e.position);(!l||e.lineIndentp&&(p=e.lineIndent),X(i))f++;else{if(e.lineIndent0){for(o=i,a=0;o>0;o--)(i=ne(s=e.input.charCodeAt(++e.position)))>=0?a=(a<<4)+i:le(e,"expected hexadecimal character");e.result+=oe(a),e.position++}else le(e,"unknown escape sequence");n=r=e.position}else X(s)?(he(e,n,r,!0),be(e,ge(e,!1,t)),n=r=e.position):e.position===e.lineStart&&ye(e)?le(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}le(e,"unexpected end of the stream within a double quoted scalar")}(e,h)?g=!0:!function(e){var t,n,r;if(42!==(r=e.input.charCodeAt(e.position)))return!1;for(r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!ee(r)&&!te(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&le(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),H.call(e.anchorMap,n)||le(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],ge(e,!0,-1),!0}(e)?function(e,t,n){var r,o,a,i,s,u,c,l,p=e.kind,f=e.result;if(ee(l=e.input.charCodeAt(e.position))||te(l)||35===l||38===l||42===l||33===l||124===l||62===l||39===l||34===l||37===l||64===l||96===l)return!1;if((63===l||45===l)&&(ee(r=e.input.charCodeAt(e.position+1))||n&&te(r)))return!1;for(e.kind="scalar",e.result="",o=a=e.position,i=!1;0!==l;){if(58===l){if(ee(r=e.input.charCodeAt(e.position+1))||n&&te(r))break}else if(35===l){if(ee(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&ye(e)||n&&te(l))break;if(X(l)){if(s=e.line,u=e.lineStart,c=e.lineIndent,ge(e,!1,-1),e.lineIndent>=t){i=!0,l=e.input.charCodeAt(e.position);continue}e.position=a,e.line=s,e.lineStart=u,e.lineIndent=c;break}}i&&(he(e,o,a,!1),be(e,e.line-s),o=a=e.position,i=!1),Q(l)||(a=e.position+1),l=e.input.charCodeAt(++e.position)}return he(e,o,a,!1),!!e.result||(e.kind=p,e.result=f,!1)}(e,h,1===n)&&(g=!0,null===e.tag&&(e.tag="?")):(g=!0,null===e.tag&&null===e.anchor||le(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===m&&(g=u&&_e(e,d))),null===e.tag)null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);else if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&le(e,'unacceptable node kind for ! tag; it should be "scalar", not "'+e.kind+'"'),c=0,l=e.implicitTypes.length;c"),null!==e.result&&f.kind!==e.kind&&le(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+f.kind+'", not "'+e.kind+'"'),f.resolve(e.result,e.tag)?(e.result=f.construct(e.result,e.tag),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):le(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||g}function Se(e){var t,n,r,o,a=e.position,i=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);0!==(o=e.input.charCodeAt(e.position))&&(ge(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==o));){for(i=!0,o=e.input.charCodeAt(++e.position),t=e.position;0!==o&&!ee(o);)o=e.input.charCodeAt(++e.position);for(r=[],(n=e.input.slice(t,e.position)).length<1&&le(e,"directive name must not be less than one character in length");0!==o;){for(;Q(o);)o=e.input.charCodeAt(++e.position);if(35===o){do{o=e.input.charCodeAt(++e.position)}while(0!==o&&!X(o));break}if(X(o))break;for(t=e.position;0!==o&&!ee(o);)o=e.input.charCodeAt(++e.position);r.push(e.input.slice(t,e.position))}0!==o&&ve(e),H.call(fe,n)?fe[n](e,n,r):pe(e,'unknown document directive "'+n+'"')}ge(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,ge(e,!0,-1)):i&&le(e,"directives end mark is expected"),Ee(e,e.lineIndent-1,4,!1,!0),ge(e,!0,-1),e.checkLineBreaks&&J.test(e.input.slice(a,e.position))&&pe(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&ye(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,ge(e,!0,-1)):e.position=55296&&r<=56319&&t+1=56320&&n<=57343?1024*(r-55296)+n-56320+65536:r}function ze(e){return/^\n* /.test(e)}function Ve(e,t,n,r,o,a,i,s){var u,c,l=0,p=null,f=!1,h=!1,d=-1!==r,m=-1,v=Be(c=qe(e,0))&&c!==je&&!Le(c)&&45!==c&&63!==c&&58!==c&&44!==c&&91!==c&&93!==c&&123!==c&&125!==c&&35!==c&&38!==c&&42!==c&&33!==c&&124!==c&&61!==c&&62!==c&&39!==c&&34!==c&&37!==c&&64!==c&&96!==c&&function(e){return!Le(e)&&58!==e}(qe(e,e.length-1));if(t||i)for(u=0;u=65536?u+=2:u++){if(!Be(l=qe(e,u)))return 5;v=v&&Ue(l,p,s),p=l}else{for(u=0;u=65536?u+=2:u++){if(10===(l=qe(e,u)))f=!0,d&&(h=h||u-m-1>r&&" "!==e[m+1],m=u);else if(!Be(l))return 5;v=v&&Ue(l,p,s),p=l}h=h||d&&u-m-1>r&&" "!==e[m+1]}return f||h?n>9&&ze(e)?5:i?2===a?5:2:h?4:3:!v||i||o(e)?2===a?5:2:1}function We(e,t,n,r,o){e.dump=function(){if(0===t.length)return 2===e.quotingType?'""':"''";if(!e.noCompatMode&&(-1!==Ie.indexOf(t)||Pe.test(t)))return 2===e.quotingType?'"'+t+'"':"'"+t+"'";var a=e.indent*Math.max(1,n),i=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-a),u=r||e.flowLevel>-1&&n>=e.flowLevel;switch(Ve(t,u,e.indent,i,(function(t){return function(e,t){var n,r;for(n=0,r=e.implicitTypes.length;n"+He(t,e.indent)+$e(Re(function(e,t){var n,r,o=/(\n+)([^\n]*)/g,a=(s=e.indexOf("\n"),s=-1!==s?s:e.length,o.lastIndex=s,Je(e.slice(0,s),t)),i="\n"===e[0]||" "===e[0];var s;for(;r=o.exec(e);){var u=r[1],c=r[2];n=" "===c[0],a+=u+(i||n||""===c?"":"\n")+Je(c,t),i=n}return a}(t,i),a));case 5:return'"'+function(e){for(var t,n="",r=0,o=0;o=65536?o+=2:o++)r=qe(e,o),!(t=Te[r])&&Be(r)?(n+=e[o],r>=65536&&(n+=e[o+1])):n+=t||Ne(r);return n}(t)+'"';default:throw new s("impossible error: invalid scalar style")}}()}function He(e,t){var n=ze(e)?String(t):"",r="\n"===e[e.length-1];return n+(r&&("\n"===e[e.length-2]||"\n"===e)?"+":r?"":"-")+"\n"}function $e(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function Je(e,t){if(""===e||" "===e[0])return e;for(var n,r,o=/ [^ ]/g,a=0,i=0,s=0,u="";n=o.exec(e);)(s=n.index)-a>t&&(r=i>a?i:s,u+="\n"+e.slice(a,r),a=r+1),i=s;return u+="\n",e.length-a>t&&i>a?u+=e.slice(a,i)+"\n"+e.slice(i+1):u+=e.slice(a),u.slice(1)}function Ke(e,t,n,r){var o,a,i,s="",u=e.tag;for(o=0,a=n.length;o tag resolver accepts not "'+c+'" style');r=u.represent[c](t,c)}e.dump=r}return!0}return!1}function Ge(e,t,n,r,o,a,i){e.tag=null,e.dump=n,Ye(e,n,!1)||Ye(e,n,!0);var u,c=Oe.call(e.dump),l=r;r&&(r=e.flowLevel<0||e.flowLevel>t);var p,f,h="[object Object]"===c||"[object Array]"===c;if(h&&(f=-1!==(p=e.duplicates.indexOf(n))),(null!==e.tag&&"?"!==e.tag||f||2!==e.indent&&t>0)&&(o=!1),f&&e.usedDuplicates[p])e.dump="*ref_"+p;else{if(h&&f&&!e.usedDuplicates[p]&&(e.usedDuplicates[p]=!0),"[object Object]"===c)r&&0!==Object.keys(e.dump).length?(!function(e,t,n,r){var o,a,i,u,c,l,p="",f=e.tag,h=Object.keys(n);if(!0===e.sortKeys)h.sort();else if("function"==typeof e.sortKeys)h.sort(e.sortKeys);else if(e.sortKeys)throw new s("sortKeys must be a boolean or a function");for(o=0,a=h.length;o1024)&&(e.dump&&10===e.dump.charCodeAt(0)?l+="?":l+="? "),l+=e.dump,c&&(l+=De(e,t)),Ge(e,t+1,u,!0,c)&&(e.dump&&10===e.dump.charCodeAt(0)?l+=":":l+=": ",p+=l+=e.dump));e.tag=f,e.dump=p||"{}"}(e,t,e.dump,o),f&&(e.dump="&ref_"+p+e.dump)):(!function(e,t,n){var r,o,a,i,s,u="",c=e.tag,l=Object.keys(n);for(r=0,o=l.length;r1024&&(s+="? "),s+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Ge(e,t,i,!1,!1)&&(u+=s+=e.dump));e.tag=c,e.dump="{"+u+"}"}(e,t,e.dump),f&&(e.dump="&ref_"+p+" "+e.dump));else if("[object Array]"===c)r&&0!==e.dump.length?(e.noArrayIndent&&!i&&t>0?Ke(e,t-1,e.dump,o):Ke(e,t,e.dump,o),f&&(e.dump="&ref_"+p+e.dump)):(!function(e,t,n){var r,o,a,i="",s=e.tag;for(r=0,o=n.length;r",e.dump=u+" "+e.dump)}return!0}function Ze(e,t){var n,r,o=[],a=[];for(Xe(e,o,a),n=0,r=a.length;n",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(c),p=["%","/","?",";","#"].concat(l),f=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},v={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=n(1077);function b(e,t,n){if(e&&o.isObject(e)&&e instanceof a)return e;var r=new a;return r.parse(e,t,n),r}a.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),s=-1!==a&&a127?N+="x":N+=P[M];if(!N.match(h)){var D=T.slice(0,O),L=T.slice(O+1),B=P.match(d);B&&(D.push(B[1]),L.unshift(B[2])),L.length&&(b="/"+L.join(".")+b),this.hostname=D.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),j||(this.hostname=r.toASCII(this.hostname));var F=this.port?":"+this.port:"",U=this.hostname||"";this.host=U+F,this.href+=this.host,j&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!m[x])for(O=0,I=l.length;O0)&&n.host.split("@"))&&(n.auth=j.shift(),n.host=n.hostname=j.shift());return n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!E.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=E.slice(-1)[0],A=(n.host||e.host||E.length>1)&&("."===C||".."===C)||""===C,O=0,k=E.length;k>=0;k--)"."===(C=E[k])?E.splice(k,1):".."===C?(E.splice(k,1),O++):O&&(E.splice(k,1),O--);if(!w&&!x)for(;O--;O)E.unshift("..");!w||""===E[0]||E[0]&&"/"===E[0].charAt(0)||E.unshift(""),A&&"/"!==E.join("/").substr(-1)&&E.push("");var j,T=""===E[0]||E[0]&&"/"===E[0].charAt(0);S&&(n.hostname=n.host=T?"":E.length?E.shift():"",(j=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=j.shift(),n.host=n.hostname=j.shift()));return(w=w||n.host&&E.length)&&!T&&E.unshift(""),E.length?n.pathname=E.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},a.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,n){"use strict";n.r(t),n.d(t,"SHOW_AUTH_POPUP",(function(){return h})),n.d(t,"AUTHORIZE",(function(){return d})),n.d(t,"LOGOUT",(function(){return m})),n.d(t,"PRE_AUTHORIZE_OAUTH2",(function(){return v})),n.d(t,"AUTHORIZE_OAUTH2",(function(){return g})),n.d(t,"VALIDATE",(function(){return y})),n.d(t,"CONFIGURE_AUTH",(function(){return b})),n.d(t,"RESTORE_AUTHORIZATION",(function(){return _})),n.d(t,"showDefinitions",(function(){return w})),n.d(t,"authorize",(function(){return x})),n.d(t,"authorizeWithPersistOption",(function(){return E})),n.d(t,"logout",(function(){return S})),n.d(t,"logoutWithPersistOption",(function(){return C})),n.d(t,"preAuthorizeImplicit",(function(){return A})),n.d(t,"authorizeOauth2",(function(){return O})),n.d(t,"authorizeOauth2WithPersistOption",(function(){return k})),n.d(t,"authorizePassword",(function(){return j})),n.d(t,"authorizeApplication",(function(){return T})),n.d(t,"authorizeAccessCodeWithFormParams",(function(){return I})),n.d(t,"authorizeAccessCodeWithBasicAuthentication",(function(){return P})),n.d(t,"authorizeRequest",(function(){return N})),n.d(t,"configureAuth",(function(){return M})),n.d(t,"restoreAuthorization",(function(){return R})),n.d(t,"persistAuthorizationIfNeeded",(function(){return D}));var r=n(18),o=n.n(r),a=n(32),i=n.n(a),s=n(20),u=n.n(s),c=n(92),l=n.n(c),p=n(26),f=n(5),h="show_popup",d="authorize",m="logout",v="pre_authorize_oauth2",g="authorize_oauth2",y="validate",b="configure_auth",_="restore_authorization";function w(e){return{type:h,payload:e}}function x(e){return{type:d,payload:e}}var E=function(e){return function(t){var n=t.authActions;n.authorize(e),n.persistAuthorizationIfNeeded()}};function S(e){return{type:m,payload:e}}var C=function(e){return function(t){var n=t.authActions;n.logout(e),n.persistAuthorizationIfNeeded()}},A=function(e){return function(t){var n=t.authActions,r=t.errActions,o=e.auth,a=e.token,s=e.isValid,u=o.schema,c=o.name,l=u.get("flow");delete p.a.swaggerUIRedirectOauth2,"accessCode"===l||s||r.newAuthErr({authId:c,source:"auth",level:"warning",message:"Authorization may be unsafe, passed state was changed in server Passed state wasn't returned from auth server"}),a.error?r.newAuthErr({authId:c,source:"auth",level:"error",message:i()(a)}):n.authorizeOauth2WithPersistOption({auth:o,token:a})}};function O(e){return{type:g,payload:e}}var k=function(e){return function(t){var n=t.authActions;n.authorizeOauth2(e),n.persistAuthorizationIfNeeded()}},j=function(e){return function(t){var n=t.authActions,r=e.schema,o=e.name,a=e.username,i=e.password,s=e.passwordType,c=e.clientId,l=e.clientSecret,p={grant_type:"password",scope:e.scopes.join(" "),username:a,password:i},h={};switch(s){case"request-body":!function(e,t,n){t&&u()(e,{client_id:t});n&&u()(e,{client_secret:n})}(p,c,l);break;case"basic":h.Authorization="Basic "+Object(f.a)(c+":"+l);break;default:console.warn("Warning: invalid passwordType ".concat(s," was passed, not including client id and secret"))}return n.authorizeRequest({body:Object(f.b)(p),url:r.get("tokenUrl"),name:o,headers:h,query:{},auth:e})}};var T=function(e){return function(t){var n=t.authActions,r=e.schema,o=e.scopes,a=e.name,i=e.clientId,s=e.clientSecret,u={Authorization:"Basic "+Object(f.a)(i+":"+s)},c={grant_type:"client_credentials",scope:o.join(" ")};return n.authorizeRequest({body:Object(f.b)(c),name:a,url:r.get("tokenUrl"),auth:e,headers:u})}},I=function(e){var t=e.auth,n=e.redirectUrl;return function(e){var r=e.authActions,o=t.schema,a=t.name,i=t.clientId,s=t.clientSecret,u=t.codeVerifier,c={grant_type:"authorization_code",code:t.code,client_id:i,client_secret:s,redirect_uri:n,code_verifier:u};return r.authorizeRequest({body:Object(f.b)(c),name:a,url:o.get("tokenUrl"),auth:t})}},P=function(e){var t=e.auth,n=e.redirectUrl;return function(e){var r=e.authActions,o=t.schema,a=t.name,i=t.clientId,s=t.clientSecret,u=t.codeVerifier,c={Authorization:"Basic "+Object(f.a)(i+":"+s)},l={grant_type:"authorization_code",code:t.code,client_id:i,redirect_uri:n,code_verifier:u};return r.authorizeRequest({body:Object(f.b)(l),name:a,url:o.get("tokenUrl"),auth:t,headers:c})}},N=function(e){return function(t){var n,r=t.fn,a=t.getConfigs,s=t.authActions,c=t.errActions,p=t.oas3Selectors,f=t.specSelectors,h=t.authSelectors,d=e.body,m=e.query,v=void 0===m?{}:m,g=e.headers,y=void 0===g?{}:g,b=e.name,_=e.url,w=e.auth,x=(h.getConfigs()||{}).additionalQueryStringParams;if(f.isOAS3()){var E=p.serverEffectiveValue(p.selectedServer());n=l()(_,E,!0)}else n=l()(_,f.url(),!0);"object"===o()(x)&&(n.query=u()({},n.query,x));var S=n.toString(),C=u()({Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","X-Requested-With":"XMLHttpRequest"},y);r.fetch({url:S,method:"post",headers:C,query:v,body:d,requestInterceptor:a().requestInterceptor,responseInterceptor:a().responseInterceptor}).then((function(e){var t=JSON.parse(e.data),n=t&&(t.error||""),r=t&&(t.parseError||"");e.ok?n||r?c.newAuthErr({authId:b,level:"error",source:"auth",message:i()(t)}):s.authorizeOauth2WithPersistOption({auth:w,token:t}):c.newAuthErr({authId:b,level:"error",source:"auth",message:e.statusText})})).catch((function(e){var t=new Error(e).message;if(e.response&&e.response.data){var n=e.response.data;try{var r="string"==typeof n?JSON.parse(n):n;r.error&&(t+=", error: ".concat(r.error)),r.error_description&&(t+=", description: ".concat(r.error_description))}catch(e){}}c.newAuthErr({authId:b,level:"error",source:"auth",message:t})}))}};function M(e){return{type:b,payload:e}}function R(e){return{type:_,payload:e}}var D=function(){return function(e){var t=e.authSelectors;if((0,e.getConfigs)().persistAuthorization){var n=t.authorized();localStorage.setItem("authorized",i()(n.toJS()))}}}},function(e,t,n){var r=n(1047);e.exports=function(e){for(var t=1;tS;S++)if((h||S in w)&&(b=x(y=w[S],S,_),e))if(t)A[S]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return S;case 2:u.call(A,y)}else switch(e){case 4:return!1;case 7:u.call(A,y)}return p?-1:c||l?l:A}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterOut:c(7)}},function(e,t,n){n(158);var r=n(567),o=n(40),a=n(98),i=n(67),s=n(131),u=n(41)("toStringTag");for(var c in r){var l=o[c],p=l&&l.prototype;p&&a(p)!==u&&i(p,u,c),s[c]=s.Array}},function(e,t,n){"use strict";e.exports={current:null}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t){var n,r,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var u,c=[],l=!1,p=-1;function f(){l&&u&&(l=!1,u.length?c=u.concat(c):p=-1,c.length&&h())}function h(){if(!l){var e=s(f);l=!0;for(var t=c.length;t;){for(u=c,c=[];++p1)for(var n=1;n0&&"/"!==t[0]}));function Se(e,t,n){var r;t=t||[];var o=we.apply(void 0,u()(r=[e]).call(r,i()(t))).get("parameters",Object(I.List)());return x()(o).call(o,(function(e,t){var r=n&&"body"===t.get("in")?t.get("value_xml"):t.get("value");return e.set(Object(T.A)(t,{allowHashes:!1}),r)}),Object(I.fromJS)({}))}function Ce(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(I.List.isList(e))return A()(e).call(e,(function(e){return I.Map.isMap(e)&&e.get("in")===t}))}function Ae(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(I.List.isList(e))return A()(e).call(e,(function(e){return I.Map.isMap(e)&&e.get("type")===t}))}function Oe(e,t){var n,r;t=t||[];var o=z(e).getIn(u()(n=["paths"]).call(n,i()(t)),Object(I.fromJS)({})),a=e.getIn(u()(r=["meta","paths"]).call(r,i()(t)),Object(I.fromJS)({})),s=ke(e,t),c=o.get("parameters")||new I.List,l=a.get("consumes_value")?a.get("consumes_value"):Ae(c,"file")?"multipart/form-data":Ae(c,"formData")?"application/x-www-form-urlencoded":void 0;return Object(I.fromJS)({requestContentType:l,responseContentType:s})}function ke(e,t){var n,r;t=t||[];var o=z(e).getIn(u()(n=["paths"]).call(n,i()(t)),null);if(null!==o){var a=e.getIn(u()(r=["meta","paths"]).call(r,i()(t),["produces_value"]),null),s=o.getIn(["produces",0],null);return a||s||"application/json"}}function je(e,t){var n;t=t||[];var r=z(e),a=r.getIn(u()(n=["paths"]).call(n,i()(t)),null);if(null!==a){var s=t,c=o()(s,1)[0],l=a.get("produces",null),p=r.getIn(["paths",c,"produces"],null),f=r.getIn(["produces"],null);return l||p||f}}function Te(e,t){var n;t=t||[];var r=z(e),a=r.getIn(u()(n=["paths"]).call(n,i()(t)),null);if(null!==a){var s=t,c=o()(s,1)[0],l=a.get("consumes",null),p=r.getIn(["paths",c,"consumes"],null),f=r.getIn(["consumes"],null);return l||p||f}}var Ie=function(e,t,n){var r=e.get("url").match(/^([a-z][a-z0-9+\-.]*):/),o=k()(r)?r[1]:null;return e.getIn(["scheme",t,n])||e.getIn(["scheme","_defaultScheme"])||o||""},Pe=function(e,t,n){var r;return d()(r=["http","https"]).call(r,Ie(e,t,n))>-1},Ne=function(e,t){var n;t=t||[];var r=e.getIn(u()(n=["meta","paths"]).call(n,i()(t),["parameters"]),Object(I.fromJS)([])),o=!0;return f()(r).call(r,(function(e){var t=e.get("errors");t&&t.count()&&(o=!1)})),o},Me=function(e,t){var n,r,o={requestBody:!1,requestContentType:{}},a=e.getIn(u()(n=["resolvedSubtrees","paths"]).call(n,i()(t),["requestBody"]),Object(I.fromJS)([]));return a.size<1||(a.getIn(["required"])&&(o.requestBody=a.getIn(["required"])),f()(r=a.getIn(["content"]).entrySeq()).call(r,(function(e){var t=e[0];if(e[1].getIn(["schema","required"])){var n=e[1].getIn(["schema","required"]).toJS();o.requestContentType[t]=n}}))),o},Re=function(e,t,n,r){var o;if((n||r)&&n===r)return!0;var a=e.getIn(u()(o=["resolvedSubtrees","paths"]).call(o,i()(t),["requestBody","content"]),Object(I.fromJS)([]));if(a.size<2||!n||!r)return!1;var s=a.getIn([n,"schema","properties"],Object(I.fromJS)([])),c=a.getIn([r,"schema","properties"],Object(I.fromJS)([]));return!!s.equals(c)};function De(e){return I.Map.isMap(e)?e:new I.Map}},function(e,t,n){"use strict";(function(t){var r=n(889),o=n(890),a=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,i=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,s=new RegExp("^[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]+");function u(e){return(e||"").toString().replace(s,"")}var c=[["#","hash"],["?","query"],function(e,t){return f(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d+)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],l={hash:1,query:1};function p(e){var n,r=("undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{}).location||{},o={},i=typeof(e=e||r);if("blob:"===e.protocol)o=new d(unescape(e.pathname),{});else if("string"===i)for(n in o=new d(e,{}),l)delete o[n];else if("object"===i){for(n in e)n in l||(o[n]=e[n]);void 0===o.slashes&&(o.slashes=a.test(e.href))}return o}function f(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function h(e,t){e=u(e),t=t||{};var n,r=i.exec(e),o=r[1]?r[1].toLowerCase():"",a=!!r[2],s=!!r[3],c=0;return a?s?(n=r[2]+r[3]+r[4],c=r[2].length+r[3].length):(n=r[2]+r[4],c=r[2].length):s?(n=r[3]+r[4],c=r[3].length):n=r[4],"file:"===o?c>=2&&(n=n.slice(2)):f(o)?n=r[4]:o?a&&(n=n.slice(2)):c>=2&&f(t.protocol)&&(n=r[4]),{protocol:o,slashes:a||f(o),slashesCount:c,rest:n}}function d(e,t,n){if(e=u(e),!(this instanceof d))return new d(e,t,n);var a,i,s,l,m,v,g=c.slice(),y=typeof t,b=this,_=0;for("object"!==y&&"string"!==y&&(n=t,t=null),n&&"function"!=typeof n&&(n=o.parse),a=!(i=h(e||"",t=p(t))).protocol&&!i.slashes,b.slashes=i.slashes||a&&t.slashes,b.protocol=i.protocol||t.protocol||"",e=i.rest,("file:"===b.protocol||!i.slashes&&(i.protocol||i.slashesCount<2||!f(b.protocol)))&&(g[3]=[/(.*)/,"pathname"]);_=4?[t[0],t[1],t[2],t[3],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[2],".").concat(t[3]),"".concat(t[3],".").concat(t[0]),"".concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[0]),"".concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[3],".").concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[2],".").concat(t[1],".").concat(t[0])]:void 0),g[r]}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.filter((function(e){return"token"!==e})),o=y(r);return o.reduce((function(e,t){return f()({},e,n[t])}),t)}function _(e){return e.join(" ")}function w(e){var t=e.node,n=e.stylesheet,r=e.style,o=void 0===r?{}:r,a=e.useInlineStyles,i=e.key,s=t.properties,u=t.type,c=t.tagName,l=t.value;if("text"===u)return l;if(c){var p,h=function(e,t){var n=0;return function(r){return n+=1,r.map((function(r,o){return w({node:r,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(o)})}))}}(n,a);if(a){var m=Object.keys(n).reduce((function(e,t){return t.split(".").forEach((function(t){e.includes(t)||e.push(t)})),e}),[]),g=s.className&&s.className.includes("token")?["token"]:[],y=s.className&&g.concat(s.className.filter((function(e){return!m.includes(e)})));p=f()({},s,{className:_(y)||void 0,style:b(s.className,Object.assign({},s.style,o),n)})}else p=f()({},s,{className:_(s.className)});var x=h(t.children);return d.a.createElement(c,v()({key:i},p),x)}}var x=/\n/g;function E(e){var t=e.codeString,n=e.codeStyle,r=e.containerStyle,o=void 0===r?{float:"left",paddingRight:"10px"}:r,a=e.numberStyle,i=void 0===a?{}:a,s=e.startingLineNumber;return d.a.createElement("code",{style:Object.assign({},n,o)},function(e){var t=e.lines,n=e.startingLineNumber,r=e.style;return t.map((function(e,t){var o=t+n;return d.a.createElement("span",{key:"line-".concat(t),className:"react-syntax-highlighter-line-number",style:"function"==typeof r?r(o):r},"".concat(o,"\n"))}))}({lines:t.replace(/\n$/,"").split("\n"),style:i,startingLineNumber:s}))}function S(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function C(e,t,n){var r,o={display:"inline-block",minWidth:(r=n,"".concat(r.toString().length,".25em")),paddingRight:"1em",textAlign:"right",userSelect:"none"},a="function"==typeof e?e(t):e;return f()({},o,a)}function A(e){var t=e.children,n=e.lineNumber,r=e.lineNumberStyle,o=e.largestLineNumber,a=e.showInlineLineNumbers,i=e.lineProps,s=void 0===i?{}:i,u=e.className,c=void 0===u?[]:u,l=e.showLineNumbers,p=e.wrapLongLines,h="function"==typeof s?s(n):s;if(h.className=c,n&&a){var d=C(r,n,o);t.unshift(S(n,d))}return p&l&&(h.style=f()({},h.style,{display:"flex"})),{type:"element",tagName:"span",properties:h,children:t}}function O(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=0;r2&&void 0!==arguments[2]?arguments[2]:[];return A({children:e,lineNumber:t,lineNumberStyle:s,largestLineNumber:i,showInlineLineNumbers:o,lineProps:n,className:a,showLineNumbers:r,wrapLongLines:u})}function m(e,t){if(r&&t&&o){var n=C(s,t,i);e.unshift(S(t,n))}return e}function v(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t||r.length>0?d(e,n,r):m(e,n)}for(var g=function(){var e=l[h],t=e.children[0].value;if(t.match(x)){var n=t.split("\n");n.forEach((function(t,o){var i=r&&p.length+a,s={type:"text",value:"".concat(t,"\n")};if(0===o){var u=v(l.slice(f+1,h).concat(A({children:[s],className:e.properties.className})),i);p.push(u)}else if(o===n.length-1){if(l[h+1]&&l[h+1].children&&l[h+1].children[0]){var c=A({children:[{type:"text",value:"".concat(t)}],className:e.properties.className});l.splice(h+1,0,c)}else{var d=v([s],i,e.properties.className);p.push(d)}}else{var m=v([s],i,e.properties.className);p.push(m)}})),f=h}h++};h .hljs-title":{color:"#88C0D0"},"hljs-keyword":{color:"#81A1C1"},"hljs-literal":{color:"#81A1C1"},"hljs-symbol":{color:"#81A1C1"},"hljs-number":{color:"#B48EAD"},"hljs-regexp":{color:"#EBCB8B"},"hljs-string":{color:"#A3BE8C"},"hljs-title":{color:"#8FBCBB"},"hljs-params":{color:"#D8DEE9"},"hljs-bullet":{color:"#81A1C1"},"hljs-code":{color:"#8FBCBB"},"hljs-emphasis":{fontStyle:"italic"},"hljs-formula":{color:"#8FBCBB"},"hljs-strong":{fontWeight:"bold"},"hljs-link:hover":{textDecoration:"underline"},"hljs-quote":{color:"#4C566A"},"hljs-comment":{color:"#4C566A"},"hljs-doctag":{color:"#8FBCBB"},"hljs-meta":{color:"#5E81AC"},"hljs-meta-keyword":{color:"#5E81AC"},"hljs-meta-string":{color:"#A3BE8C"},"hljs-attr":{color:"#8FBCBB"},"hljs-attribute":{color:"#D8DEE9"},"hljs-builtin-name":{color:"#81A1C1"},"hljs-name":{color:"#81A1C1"},"hljs-section":{color:"#88C0D0"},"hljs-tag":{color:"#81A1C1"},"hljs-variable":{color:"#D8DEE9"},"hljs-template-variable":{color:"#D8DEE9"},"hljs-template-tag":{color:"#5E81AC"},"abnf .hljs-attribute":{color:"#88C0D0"},"abnf .hljs-symbol":{color:"#EBCB8B"},"apache .hljs-attribute":{color:"#88C0D0"},"apache .hljs-section":{color:"#81A1C1"},"arduino .hljs-built_in":{color:"#88C0D0"},"aspectj .hljs-meta":{color:"#D08770"},"aspectj > .hljs-title":{color:"#88C0D0"},"bnf .hljs-attribute":{color:"#8FBCBB"},"clojure .hljs-name":{color:"#88C0D0"},"clojure .hljs-symbol":{color:"#EBCB8B"},"coq .hljs-built_in":{color:"#88C0D0"},"cpp .hljs-meta-string":{color:"#8FBCBB"},"css .hljs-built_in":{color:"#88C0D0"},"css .hljs-keyword":{color:"#D08770"},"diff .hljs-meta":{color:"#8FBCBB"},"ebnf .hljs-attribute":{color:"#8FBCBB"},"glsl .hljs-built_in":{color:"#88C0D0"},"groovy .hljs-meta:not(:first-child)":{color:"#D08770"},"haxe .hljs-meta":{color:"#D08770"},"java .hljs-meta":{color:"#D08770"},"ldif .hljs-attribute":{color:"#8FBCBB"},"lisp .hljs-name":{color:"#88C0D0"},"lua .hljs-built_in":{color:"#88C0D0"},"moonscript .hljs-built_in":{color:"#88C0D0"},"nginx .hljs-attribute":{color:"#88C0D0"},"nginx .hljs-section":{color:"#5E81AC"},"pf .hljs-built_in":{color:"#88C0D0"},"processing .hljs-built_in":{color:"#88C0D0"},"scss .hljs-keyword":{color:"#81A1C1"},"stylus .hljs-keyword":{color:"#81A1C1"},"swift .hljs-meta":{color:"#D08770"},"vim .hljs-built_in":{color:"#88C0D0",fontStyle:"italic"},"yaml .hljs-meta":{color:"#D08770"}},obsidian:{hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#282b2e",color:"#e0e2e4"},"hljs-keyword":{color:"#93c763",fontWeight:"bold"},"hljs-selector-tag":{color:"#93c763",fontWeight:"bold"},"hljs-literal":{color:"#93c763",fontWeight:"bold"},"hljs-selector-id":{color:"#93c763"},"hljs-number":{color:"#ffcd22"},"hljs-attribute":{color:"#668bb0"},"hljs-code":{color:"white"},"hljs-class .hljs-title":{color:"white"},"hljs-section":{color:"white",fontWeight:"bold"},"hljs-regexp":{color:"#d39745"},"hljs-link":{color:"#d39745"},"hljs-meta":{color:"#557182"},"hljs-tag":{color:"#8cbbad"},"hljs-name":{color:"#8cbbad",fontWeight:"bold"},"hljs-bullet":{color:"#8cbbad"},"hljs-subst":{color:"#8cbbad"},"hljs-emphasis":{color:"#8cbbad"},"hljs-type":{color:"#8cbbad",fontWeight:"bold"},"hljs-built_in":{color:"#8cbbad"},"hljs-selector-attr":{color:"#8cbbad"},"hljs-selector-pseudo":{color:"#8cbbad"},"hljs-addition":{color:"#8cbbad"},"hljs-variable":{color:"#8cbbad"},"hljs-template-tag":{color:"#8cbbad"},"hljs-template-variable":{color:"#8cbbad"},"hljs-string":{color:"#ec7600"},"hljs-symbol":{color:"#ec7600"},"hljs-comment":{color:"#818e96"},"hljs-quote":{color:"#818e96"},"hljs-deletion":{color:"#818e96"},"hljs-selector-class":{color:"#A082BD"},"hljs-doctag":{fontWeight:"bold"},"hljs-title":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"}},"tomorrow-night":{"hljs-comment":{color:"#969896"},"hljs-quote":{color:"#969896"},"hljs-variable":{color:"#cc6666"},"hljs-template-variable":{color:"#cc6666"},"hljs-tag":{color:"#cc6666"},"hljs-name":{color:"#cc6666"},"hljs-selector-id":{color:"#cc6666"},"hljs-selector-class":{color:"#cc6666"},"hljs-regexp":{color:"#cc6666"},"hljs-deletion":{color:"#cc6666"},"hljs-number":{color:"#de935f"},"hljs-built_in":{color:"#de935f"},"hljs-builtin-name":{color:"#de935f"},"hljs-literal":{color:"#de935f"},"hljs-type":{color:"#de935f"},"hljs-params":{color:"#de935f"},"hljs-meta":{color:"#de935f"},"hljs-link":{color:"#de935f"},"hljs-attribute":{color:"#f0c674"},"hljs-string":{color:"#b5bd68"},"hljs-symbol":{color:"#b5bd68"},"hljs-bullet":{color:"#b5bd68"},"hljs-addition":{color:"#b5bd68"},"hljs-title":{color:"#81a2be"},"hljs-section":{color:"#81a2be"},"hljs-keyword":{color:"#b294bb"},"hljs-selector-tag":{color:"#b294bb"},hljs:{display:"block",overflowX:"auto",background:"#1d1f21",color:"#c5c8c6",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}}},Q=o()(X),ee=function(e){return i()(Q).call(Q,e)?X[e]:(console.warn("Request style '".concat(e,"' is not available, returning default instead")),Z)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.File=t.Blob=t.FormData=void 0;const r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:window;t.FormData=r.FormData,t.Blob=r.Blob,t.File=r.File},function(e,t){e.exports=!0},function(e,t,n){var r=n(235),o=n(68).f,a=n(67),i=n(55),s=n(539),u=n(41)("toStringTag");e.exports=function(e,t,n,c){if(e){var l=n?e:e.prototype;i(l,u)||o(l,u,{configurable:!0,value:t}),c&&!r&&a(l,"toString",s)}}},function(e,t,n){var r=n(235),o=n(152),a=n(41)("toStringTag"),i="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),a))?n:i?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){"use strict";e.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}},function(e,t,n){var r=n(677);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){e.exports=n(670)},function(e,t,n){e.exports=n(1048)},function(e,t,n){"use strict";function r(e){return function(e){try{return!!JSON.parse(e)}catch(e){return null}}(e)?"json":null}n.d(t,"a",(function(){return r}))},function(e,t,n){e.exports=n(666)},function(e,t,n){"use strict";n.r(t),n.d(t,"UPDATE_LAYOUT",(function(){return o})),n.d(t,"UPDATE_FILTER",(function(){return a})),n.d(t,"UPDATE_MODE",(function(){return i})),n.d(t,"SHOW",(function(){return s})),n.d(t,"updateLayout",(function(){return u})),n.d(t,"updateFilter",(function(){return c})),n.d(t,"show",(function(){return l})),n.d(t,"changeMode",(function(){return p}));var r=n(5),o="layout_update_layout",a="layout_update_filter",i="layout_update_mode",s="layout_show";function u(e){return{type:o,payload:e}}function c(e){return{type:a,payload:e}}function l(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e=Object(r.v)(e),{type:s,payload:{thing:e,shown:t}}}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e=Object(r.v)(e),{type:i,payload:{thing:e,mode:t}}}},function(e,t,n){var r=n(419),o=n(161),a=n(194),i=n(56),s=n(137),u=n(195),c=n(198),l=n(247),p=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(i(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||l(e)||a(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!r(e).length;for(var n in e)if(p.call(e,n))return!1;return!0}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(76);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(70);e.exports=r("navigator","userAgent")||""},function(e,t,n){var r,o=n(52),a=n(228),i=n(231),s=n(157),u=n(365),c=n(223),l=n(183),p=l("IE_PROTO"),f=function(){},h=function(e){return"
- Index of ./portal-backend + Index of ./ssi-authority-schema-registry
@@ -21,13 +21,13 @@ - +
../--
v2.3.0-alpha.1/--
../--
v1.0.0/--

generated with github-pages-directory-listing at 2024-09-27 04:07:31

+ target="_blank" class="text-blue-700">github-pages-directory-listing at 2024-10-01 16:24:37

diff --git a/ssi-authority-schema-registry/v1.0.0/asr-service.yaml b/ssi-authority-schema-registry/v1.0.0/asr-service.yaml new file mode 100644 index 0000000..53f13c9 --- /dev/null +++ b/ssi-authority-schema-registry/v1.0.0/asr-service.yaml @@ -0,0 +1,159 @@ +openapi: 3.0.1 +info: + title: Org.Eclipse.TractusX.SsiAuthoritySchemaRegistry.Service + version: v1.0.0 +paths: + /api/registry/credentials: + get: + tags: + - 'Org.Eclipse.TractusX.SsiAuthoritySchemaRegistry.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' + summary: Gets all credentials with optional filter possibilities + description: 'Example: GET: api/registry/credentials' + parameters: + - name: bpnl + in: query + schema: + type: string + - name: credentialTypeId + in: query + schema: + $ref: '#/components/schemas/CredentialTypeId' + responses: + '200': + description: OK + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/CredentialData' + '401': + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: Internal Server Error + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + /api/schema/validate: + post: + tags: + - 'Org.Eclipse.TractusX.SsiAuthoritySchemaRegistry.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' + summary: Gets all credentials with optional filter possibilities + description: 'Example: POST: api/schema/validate' + parameters: + - name: schemaType + in: query + required: true + schema: + $ref: '#/components/schemas/CredentialSchemaType' + requestBody: + content: + application/json: + schema: { } + required: true + responses: + '200': + description: OK + content: + application/json: + schema: + type: boolean + '401': + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: Internal Server Error + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' +components: + schemas: + CredentialData: + type: object + properties: + credentialName: + type: string + credential: + type: string + authorities: + type: array + items: + type: string + additionalProperties: false + CredentialSchemaType: + enum: + - BusinessPartnerCredential + - DismantlerCredential + - FrameworkCredential + - MembershipCredential + type: string + CredentialTypeId: + enum: + - BusinessPartnerNumber + - Membership + - Framework + - CompanyRole + type: string + ErrorDetails: + type: object + properties: + errorCode: + type: string + type: + type: string + message: + type: string + parameters: + type: array + items: + $ref: '#/components/schemas/ErrorParameter' + additionalProperties: false + ErrorParameter: + type: object + properties: + name: + type: string + value: + type: string + additionalProperties: false + ErrorResponse: + type: object + properties: + type: + type: string + title: + type: string + status: + type: integer + format: int32 + errors: + type: object + additionalProperties: + type: array + items: + type: string + errorId: + type: string + details: + type: array + items: + $ref: '#/components/schemas/ErrorDetails' + nullable: true + additionalProperties: false + securitySchemes: + Bearer: + type: apiKey + description: "JWT Authorization header using the Bearer scheme. \r\n\r\n Enter 'Bearer' [space] and then your token in the text input below.\r\n\r\nExample: \"Bearer 12345abcdef\"" + name: Authorization + in: header +security: + - Bearer: [ ] \ No newline at end of file diff --git a/portal-backend/v2.3.0-alpha.1/apps-service/index.html b/ssi-authority-schema-registry/v1.0.0/index.html similarity index 94% rename from portal-backend/v2.3.0-alpha.1/apps-service/index.html rename to ssi-authority-schema-registry/v1.0.0/index.html index 331d0b8..b60bb23 100644 --- a/portal-backend/v2.3.0-alpha.1/apps-service/index.html +++ b/ssi-authority-schema-registry/v1.0.0/index.html @@ -22,13 +22,13 @@ swagger-ui/-- -apps-service.yaml117.06 KB2024-09-27 04:07:02 +asr-service.yaml4.23 KB2024-10-01 16:24:09

generated with github-pages-directory-listing at 2024-09-27 04:07:06

+ target="_blank" class="text-blue-700">github-pages-directory-listing at 2024-10-01 16:24:13

diff --git a/ssi-authority-schema-registry/v1.0.0/swagger-ui/asr-service.yaml b/ssi-authority-schema-registry/v1.0.0/swagger-ui/asr-service.yaml new file mode 100644 index 0000000..53f13c9 --- /dev/null +++ b/ssi-authority-schema-registry/v1.0.0/swagger-ui/asr-service.yaml @@ -0,0 +1,159 @@ +openapi: 3.0.1 +info: + title: Org.Eclipse.TractusX.SsiAuthoritySchemaRegistry.Service + version: v1.0.0 +paths: + /api/registry/credentials: + get: + tags: + - 'Org.Eclipse.TractusX.SsiAuthoritySchemaRegistry.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' + summary: Gets all credentials with optional filter possibilities + description: 'Example: GET: api/registry/credentials' + parameters: + - name: bpnl + in: query + schema: + type: string + - name: credentialTypeId + in: query + schema: + $ref: '#/components/schemas/CredentialTypeId' + responses: + '200': + description: OK + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/CredentialData' + '401': + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: Internal Server Error + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + /api/schema/validate: + post: + tags: + - 'Org.Eclipse.TractusX.SsiAuthoritySchemaRegistry.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' + summary: Gets all credentials with optional filter possibilities + description: 'Example: POST: api/schema/validate' + parameters: + - name: schemaType + in: query + required: true + schema: + $ref: '#/components/schemas/CredentialSchemaType' + requestBody: + content: + application/json: + schema: { } + required: true + responses: + '200': + description: OK + content: + application/json: + schema: + type: boolean + '401': + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: Internal Server Error + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' +components: + schemas: + CredentialData: + type: object + properties: + credentialName: + type: string + credential: + type: string + authorities: + type: array + items: + type: string + additionalProperties: false + CredentialSchemaType: + enum: + - BusinessPartnerCredential + - DismantlerCredential + - FrameworkCredential + - MembershipCredential + type: string + CredentialTypeId: + enum: + - BusinessPartnerNumber + - Membership + - Framework + - CompanyRole + type: string + ErrorDetails: + type: object + properties: + errorCode: + type: string + type: + type: string + message: + type: string + parameters: + type: array + items: + $ref: '#/components/schemas/ErrorParameter' + additionalProperties: false + ErrorParameter: + type: object + properties: + name: + type: string + value: + type: string + additionalProperties: false + ErrorResponse: + type: object + properties: + type: + type: string + title: + type: string + status: + type: integer + format: int32 + errors: + type: object + additionalProperties: + type: array + items: + type: string + errorId: + type: string + details: + type: array + items: + $ref: '#/components/schemas/ErrorDetails' + nullable: true + additionalProperties: false + securitySchemes: + Bearer: + type: apiKey + description: "JWT Authorization header using the Bearer scheme. \r\n\r\n Enter 'Bearer' [space] and then your token in the text input below.\r\n\r\nExample: \"Bearer 12345abcdef\"" + name: Authorization + in: header +security: + - Bearer: [ ] \ No newline at end of file diff --git a/portal-backend/v2.3.0-alpha.1/administration-service/swagger-ui/favicon-16x16.png b/ssi-authority-schema-registry/v1.0.0/swagger-ui/favicon-16x16.png similarity index 100% rename from portal-backend/v2.3.0-alpha.1/administration-service/swagger-ui/favicon-16x16.png rename to ssi-authority-schema-registry/v1.0.0/swagger-ui/favicon-16x16.png diff --git a/portal-backend/v2.3.0-alpha.1/administration-service/swagger-ui/favicon-32x32.png b/ssi-authority-schema-registry/v1.0.0/swagger-ui/favicon-32x32.png similarity index 100% rename from portal-backend/v2.3.0-alpha.1/administration-service/swagger-ui/favicon-32x32.png rename to ssi-authority-schema-registry/v1.0.0/swagger-ui/favicon-32x32.png diff --git a/portal-backend/v2.3.0-alpha.1/administration-service/swagger-ui/index.html b/ssi-authority-schema-registry/v1.0.0/swagger-ui/index.html similarity index 100% rename from portal-backend/v2.3.0-alpha.1/administration-service/swagger-ui/index.html rename to ssi-authority-schema-registry/v1.0.0/swagger-ui/index.html diff --git a/ssi-authority-schema-registry/v1.0.0/swagger-ui/swagger-config.json b/ssi-authority-schema-registry/v1.0.0/swagger-ui/swagger-config.json new file mode 100644 index 0000000..6f799a4 --- /dev/null +++ b/ssi-authority-schema-registry/v1.0.0/swagger-ui/swagger-config.json @@ -0,0 +1 @@ +{"url":"asr-service.yaml","deepLinking":true} \ No newline at end of file diff --git a/portal-backend/v2.3.0-alpha.1/administration-service/swagger-ui/swagger-ui-bundle.js b/ssi-authority-schema-registry/v1.0.0/swagger-ui/swagger-ui-bundle.js similarity index 100% rename from portal-backend/v2.3.0-alpha.1/administration-service/swagger-ui/swagger-ui-bundle.js rename to ssi-authority-schema-registry/v1.0.0/swagger-ui/swagger-ui-bundle.js diff --git a/portal-backend/v2.3.0-alpha.1/administration-service/swagger-ui/swagger-ui-standalone-preset.js b/ssi-authority-schema-registry/v1.0.0/swagger-ui/swagger-ui-standalone-preset.js similarity index 100% rename from portal-backend/v2.3.0-alpha.1/administration-service/swagger-ui/swagger-ui-standalone-preset.js rename to ssi-authority-schema-registry/v1.0.0/swagger-ui/swagger-ui-standalone-preset.js diff --git a/portal-backend/v2.3.0-alpha.1/administration-service/swagger-ui/swagger-ui.css b/ssi-authority-schema-registry/v1.0.0/swagger-ui/swagger-ui.css similarity index 100% rename from portal-backend/v2.3.0-alpha.1/administration-service/swagger-ui/swagger-ui.css rename to ssi-authority-schema-registry/v1.0.0/swagger-ui/swagger-ui.css diff --git a/tractusx-edc/0.7.3/index.html b/tractusx-edc/0.7.3/index.html index 8335bf7..4b87ad1 100644 --- a/tractusx-edc/0.7.3/index.html +++ b/tractusx-edc/0.7.3/index.html @@ -22,13 +22,13 @@ swagger-ui/-- -swagger.yaml22.83 KB2024-09-27 04:07:00 +swagger.yaml22.83 KB2024-10-01 16:24:10

generated with github-pages-directory-listing at 2024-09-27 04:07:02

+ target="_blank" class="text-blue-700">github-pages-directory-listing at 2024-10-01 16:24:14

diff --git a/tractusx-edc/index.html b/tractusx-edc/index.html index 196a501..b184fee 100644 --- a/tractusx-edc/index.html +++ b/tractusx-edc/index.html @@ -27,7 +27,7 @@