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,EAAyBJ,UACjC,IAIQxE,GAAkBrU,EAAAA,EAAAA,IAAOkE,EAAAA,EAAPlE,CAAa0E,IAAAA,EAAAvE,EAAA,sNAW/BoV,EAAkBvV,EAAAA,GAAOC,IAAG2E,IAAAA,EAAAzE,EAAA,mEAM5BsV,GAAmBzV,EAAAA,EAAAA,IAAOK,EAAAA,EAAKC,IAAZN,CAAgB8E,IAAAA,EAAA3E,EAAA,8BAInC0V,GAAoB7V,EAAAA,EAAAA,IAAOK,EAAAA,EAAKC,IAAZN,CAAgBkZ,IAAAA,EAAA/Y,EAAA,sJAEpC,SAAAN,GAAW,OAAAA,EAARmK,SAA2B,OAAS,OAAO,G,weCpLpD,IAAMiK,EAAS,CACpB6E,KAAM,OACNJ,MAAO,QACPxE,GAAI,MAGOE,EAAanf,EAAAA,EAAAA,EAAA,GACvBgf,EAAO6E,KAAO,QACd7E,EAAOyE,MAAQ,SACfzE,EAAOC,GAAK,K","sources":["webpack://dev-portal/./app/frontend/react/api_explorer/Components/OpenApi/utils.js","webpack://dev-portal/./app/frontend/react/api_explorer/Components/OpenApi/OpenApiVersionSelect.jsx","webpack://dev-portal/./app/frontend/react/api_explorer/constants/endpoints.js","webpack://dev-portal/./app/frontend/react/api_explorer/Components/OpenApi/OpenApiEndpointSelect.jsx","webpack://dev-portal/./app/frontend/react/api_explorer/Components/CodeSample/VirtualizedRenderer.jsx","webpack://dev-portal/./app/frontend/react/api_explorer/Components/CodeSample/styles.js","webpack://dev-portal/./app/frontend/react/api_explorer/Components/CodeSample/CodeSample.jsx","webpack://dev-portal/./app/frontend/react/api_explorer/Components/Schema/styles.js","webpack://dev-portal/./app/frontend/react/api_explorer/Components/Schema/SchemaItem.jsx","webpack://dev-portal/./app/frontend/react/api_explorer/Components/Schema/SchemaSelector.jsx","webpack://dev-portal/./app/frontend/react/api_explorer/Components/Schema/SchemaRows.jsx","webpack://dev-portal/./app/frontend/react/api_explorer/Components/Schema/SchemaRenderer.jsx","webpack://dev-portal/./app/frontend/react/api_explorer/Components/RestSections/utils.js","webpack://dev-portal/./app/frontend/react/api_explorer/Components/RestSections/RequestBodySection.jsx","webpack://dev-portal/./app/frontend/react/api_explorer/Components/Changelog/ChangelogBlock.jsx","webpack://dev-portal/./app/frontend/react/api_explorer/Components/RestSections/RequestSection.jsx","webpack://dev-portal/./app/frontend/react/api_explorer/Components/Schema/ResponseHeaders.jsx","webpack://dev-portal/./app/frontend/react/api_explorer/Components/RestSections/errors.js","webpack://dev-portal/./app/frontend/react/api_explorer/Components/RestSections/ResponseSection.jsx","webpack://dev-portal/./app/frontend/react/api_explorer/Components/OpenApi/EndpointPills.jsx","webpack://dev-portal/./app/frontend/react/api_explorer/Components/OpenApi/OpenApiEndpointDetails.jsx","webpack://dev-portal/./app/frontend/react/api_explorer/Components/OpenApi/ExpandToggle.jsx","webpack://dev-portal/./app/frontend/react/api_explorer/Components/OpenApi/AttributionInfo.jsx","webpack://dev-portal/./app/frontend/react/api_explorer/Components/OpenApi/OpenApiEndpoints.jsx","webpack://dev-portal/./app/frontend/react/api_explorer/Components/OpenApi/styles.js","webpack://dev-portal/./app/frontend/react/api_explorer/constants/stages.js"],"sourcesContent":["import { mergeDeepLeft } from 'ramda';\n\nconst HTTP_VERBS = ['get', 'post', 'put', 'patch', 'delete'];\n\nconst RESPONSE_TYPES = {\n OBJECT: 'object',\n ARRAY: 'array',\n};\n\nconst DEFAULT_VALUES = (type) => {\n const typeDefaults = {\n integer: 42,\n number: 42,\n string: 'string',\n boolean: true,\n object: {},\n array: [],\n };\n return typeDefaults[type] || typeDefaults.string;\n};\n\nconst parseParams = (parameters = []) => {\n const pathParams = parameters.filter((param) => param.in === 'path');\n const queryParams = parameters.filter((param) => param.in === 'query');\n const headerParams = parameters.filter((param) => param.in === 'header');\n const cookieParams = parameters.filter((param) => param.in === 'cookie');\n return {\n pathParams,\n queryParams,\n headerParams,\n cookieParams,\n };\n};\n\nconst parseSchemas = (schema) => {\n if (schema?.allOf) {\n const newSchema = schema.allOf.reduce((prev, curr) => {\n return mergeDeepLeft(prev, curr);\n }, {});\n const { allOf, ...rest } = newSchema;\n if (allOf) {\n return mergeDeepLeft(parseSchemas(rest), parseSchemas({ allOf }));\n }\n return parseSchemas(newSchema);\n }\n\n if (schema?.oneOf) {\n const parsedSchemas = schema?.oneOf?.map((sch) => parseSchemas(sch));\n return { ...schema, oneOf: parsedSchemas };\n }\n\n if (schema?.anyOf) {\n const parsedSchemas = schema?.anyOf?.map((sch) => parseSchemas(sch));\n return { ...schema, anyOf: parsedSchemas };\n }\n\n if (!schema?.type) {\n return { ...schema, type: 'object' };\n }\n\n if (schema?.type === RESPONSE_TYPES.OBJECT) {\n if (schema?.required?.length > 0) {\n schema.required.forEach((req) => {\n schema.properties[req] = {\n ...schema.properties[req],\n isRequired: true,\n };\n });\n }\n const mergeObjects = schema?.properties\n ? Object.keys(schema.properties)\n .map((val) => {\n return {\n [val]: parseSchemas(schema.properties[val]),\n };\n })\n .reduce((acc2, curr2) => ({ ...acc2, ...curr2 }), {})\n : {};\n\n return { ...schema, properties: mergeObjects };\n }\n if (schema?.type === RESPONSE_TYPES.ARRAY) {\n return { ...schema, items: parseSchemas(schema.items) };\n }\n\n return schema;\n};\n\nconst getMergedRequestBodies = (requestBody) => {\n if (!requestBody?.content) {\n return null;\n }\n\n return Object.keys(requestBody?.content).map((contentType) => ({\n schema: parseSchemas(requestBody?.content[contentType]?.schema),\n contentType,\n }));\n};\n\nconst getMergedResponses = (responses) => {\n return Object.keys(responses).map((status) => ({\n status,\n description: responses[status].description,\n content: responses[status]?.content\n ? Object.keys(responses[status]?.content).map((contentType) => ({\n schema: parseSchemas(responses[status]?.content[contentType]?.schema),\n contentType,\n }))\n : null,\n headers: responses[status].headers || null,\n }));\n};\n\nexport const openApiPathParser = (paths = []) => {\n // iterate through each path\n const endpoints = [];\n Object.keys(paths).forEach((path) => {\n const { parameters = [], ...verbsObj } = paths[path];\n // iterate through each http_verb\n Object.keys(verbsObj).forEach((verb) => {\n if (!HTTP_VERBS.includes(verb)) {\n return;\n }\n const endpointObj = verbsObj[verb];\n const endpointObjParameters = endpointObj?.parameters || [];\n const endpointParams = [...parameters, ...endpointObjParameters].filter(\n Boolean\n );\n\n const mergedRequestBodies = getMergedRequestBodies(\n endpointObj?.requestBody\n );\n\n const mergedResponses = getMergedResponses(endpointObj?.responses);\n\n const {\n pathParams,\n queryParams,\n headerParams,\n cookieParams,\n } = parseParams(endpointParams);\n\n const resultObj = {\n ...endpointObj,\n path,\n verb,\n pathParams,\n queryParams,\n headerParams,\n cookieParams,\n requestBody: mergedRequestBodies,\n responses: mergedResponses,\n };\n endpoints.push(resultObj);\n });\n });\n return endpoints;\n};\n\nfunction getexample(obj, type) {\n if (obj?.example === null && obj?.nullable) {\n return null;\n }\n\n if (obj?.example !== undefined && obj?.example !== null) {\n return obj.example;\n }\n\n if (obj?.enum?.length > 0) {\n return obj.enum[0];\n }\n\n return DEFAULT_VALUES(type);\n}\n\nexport const createJSONExample = ({\n anyOf,\n items,\n oneOf,\n properties,\n selectedIdx = 0,\n type = 'object',\n ...schema\n}) => {\n if (oneOf) {\n const newSchema = oneOf[selectedIdx];\n return createJSONExample(newSchema);\n }\n\n if (anyOf) {\n const newSchema = anyOf[selectedIdx];\n return createJSONExample(newSchema);\n }\n\n if (type === RESPONSE_TYPES.ARRAY) {\n return [createJSONExample(items)];\n }\n if (type === RESPONSE_TYPES.OBJECT) {\n return properties\n ? Object.keys(properties)\n .map((prop) => ({\n [prop]: createJSONExample(properties[prop]),\n }))\n .reduce((acc2, curr2) => ({ ...acc2, ...curr2 }), {})\n : {};\n }\n\n return getexample(schema, type);\n};\n\n// eslint-disable-next-line complexity,consistent-return\nexport const orderEndpoints = (a, b) => {\n const aIsDeprecated = a['x-deprecated-at'] !== undefined;\n const bIsDeprecated = b['x-deprecated-at'] !== undefined;\n\n // If either of the paths are deprecated but the other is not, sort it second\n if (aIsDeprecated && !bIsDeprecated) {\n return 1;\n }\n if (bIsDeprecated && !aIsDeprecated) {\n return -1;\n }\n\n const segmentsA = a.path.split('/');\n const segmentsB = b.path.split('/');\n const aIsInternal = segmentsA.includes('internal');\n const bIsInsternal = segmentsB.includes('internal');\n // If either of the paths are internal but the other is not, sort it second\n if (aIsInternal && !bIsInsternal) {\n return 1;\n }\n if (bIsInsternal && !aIsInternal) {\n return -1;\n }\n // If the paths are identical, sort by http verb\n if (a.path === b.path) {\n return HTTP_VERBS.indexOf(a.verb) - HTTP_VERBS.indexOf(b.verb);\n }\n\n // Break up the paths into segments\n\n const numSegments = Math.min(segmentsA.length, segmentsB.length);\n // Iterate over each segment of the paths\n for (let i = 0; i <= numSegments; i++) {\n // Until the segments are not the same\n if (segmentsA[i] !== segmentsB[i]) {\n // Sort the shorter path segment first\n const segALength = segmentsA[i] ? segmentsA[i].length : 0;\n const segBLength = segmentsB[i] ? segmentsB[i].length : 0;\n const diffLength = segALength - segBLength;\n if (diffLength !== 0) {\n return diffLength;\n }\n // If lengths are the same, choose alphabetically\n return segmentsA[i] > segmentsB[i] ? 1 : -1;\n }\n }\n};\n","import React from 'react';\nimport { arrayOf, string } from 'prop-types';\nimport { Link } from 'react-router-dom';\nimport { Dropdown } from '@procore/core-react';\nimport { VersionDropdown } from './styles';\n\nconst OpenApiVersionSelect = ({ selectedVersion, versions = [] }) => {\n const changeVersions = (version) => ({ pathname, search }) => {\n const params = new URLSearchParams(search);\n params.set('version', version);\n return {\n pathname: `${pathname}`,\n hash: '',\n search: params.toString(),\n };\n };\n\n const labelFromVersion = (version) => {\n return version === 'latest' ? `${version}` : `v${version}`;\n };\n\n return (\n \n {versions.map((version) => {\n return (\n \n {labelFromVersion(version)}\n \n );\n })}\n \n );\n};\n\nOpenApiVersionSelect.propTypes = {\n selectedVersion: string,\n versions: arrayOf(string),\n};\nOpenApiVersionSelect.defaultProps = {\n selectedVersion: '',\n versions: [],\n};\n\nexport default OpenApiVersionSelect;\n","export const VERB_COLORS = {\n get: {\n color: 'green',\n },\n put: {\n color: 'yellow',\n },\n patch: {\n color: 'yellow',\n },\n post: {\n color: 'blue',\n },\n delete: {\n color: 'red',\n },\n};\n","import React, { useState } from 'react';\nimport { arrayOf, shape, string } from 'prop-types';\nimport { Dropdown, Pill } from '@procore/core-react';\nimport { Link } from 'react-router-dom';\nimport { toParam } from '@/utils/stringUtil';\nimport { VERB_COLORS } from '../../constants';\nimport { EndpointDropdown } from './styles';\n\nconst OpenApiEndpointSelect = ({ endpoints, selectedEndpoint }) => {\n const [endpointsSearchTerm, setEndpointsSearchTerm] = useState('');\n const { deprecated, summary, verb } = selectedEndpoint;\n const color = VERB_COLORS[verb] ? VERB_COLORS[verb].color : 'yellow';\n const handleEndpointSelect = (endpoint) => ({ pathname, search }) => {\n const stub = toParam(endpoint.summary);\n const isDeprecated = endpoint.deprecated;\n const anchorTag = `#${stub}${isDeprecated ? '_deprecated' : ''}`;\n return {\n pathname,\n hash: anchorTag,\n search,\n };\n };\n\n const filteredEndpoints = endpoints.filter(({ verb, summary }) => {\n const combinedString = `${verb} ${summary}`.toLowerCase();\n return combinedString.includes(endpointsSearchTerm.toLowerCase());\n });\n\n return (\n \n {verb.toUpperCase()}\n \n {summary} {deprecated ? '(Deprecated)' : ''}\n \n \n }\n onSearch={(e) => {\n setEndpointsSearchTerm(e.target.value);\n }}\n >\n {filteredEndpoints.map((endpoint, i) => {\n const isDeprecated = endpoint?.deprecated;\n return (\n \n \n \n {endpoint.verb.toUpperCase()}\n \n \n {endpoint.summary} {isDeprecated ? '(Deprecated)' : ''}\n \n \n \n );\n })}\n \n );\n};\n\nOpenApiEndpointSelect.propTypes = {\n endpoints: arrayOf(\n shape({\n summary: string,\n verb: string,\n })\n ),\n selectedEndpoint: shape({ summary: string, verb: string }),\n};\n\nOpenApiEndpointSelect.defaultProps = {\n selectedEndpoint: {\n summary: '',\n verb: '',\n },\n};\n\nexport default OpenApiEndpointSelect;\n","import React, { useRef } from 'react';\nimport { useVirtual } from 'react-virtual';\nimport { createElement } from 'react-syntax-highlighter';\nimport { arrayOf, bool, number, shape } from 'prop-types';\n\nconst Row = ({ node, stylesheet, style, useInlineStyles, key }) => {\n return createElement({\n node,\n stylesheet,\n style,\n useInlineStyles,\n });\n};\n\nconst VirtualizedElements = ({\n overscanRowCount = 20,\n rows = [],\n stylesheet = {},\n useInlineStyles = true,\n}) => {\n const parentRef = useRef();\n const rowVirtualizer = useVirtual({\n overscan: overscanRowCount,\n parentRef,\n size: rows.length,\n });\n\n return (\n
\n \n {rowVirtualizer.virtualItems.map(({ measureRef, index, start }) => {\n return (\n \n \n
\n );\n })}\n \n \n );\n};\n\nVirtualizedElements.propTypes = {\n overscanRowCount: number,\n rows: arrayOf(shape({})),\n stylesheet: shape({}),\n useInlineStyles: bool,\n};\n\nconst VirtualizedRenderer =\n ({ overscanRowCount }) =>\n ({ rows, stylesheet, useInlineStyles }) => (\n \n );\nexport default VirtualizedRenderer;\n","import { Grid } from '@procore/core-react';\nimport styled from 'styled-components';\n\nexport const CodeContainer = styled.div`\n width: 100%;\n`;\n\nexport const CopyButtonWrapper = styled(Grid.Col)`\n display: flex;\n justify-content: flex-end;\n & button {\n background: none;\n }\n`;\n\nexport const Header = styled(Grid.Row)`\n background-color: #565869;\n border-top-right-radius: 5px;\n border-top-left-radius: 5px;\n color: #ffffff;\n justify-content: space-between;\n`;\n\nexport const Title = styled(Grid.Col)`\n display: flex;\n font-weight: 600;\n padding: 10px;\n`;\n\nexport const SubHeader = styled(Grid.Col)`\n padding: 0;\n`;\n","import React from 'react';\nimport { bool, node, shape, string } from 'prop-types';\nimport { Button, Grid } from '@procore/core-react';\nimport { Duplicate } from '@procore/core-icons';\nimport SyntaxHighlighter from 'react-syntax-highlighter';\nimport { nightOwl } from 'react-syntax-highlighter/dist/esm/styles/hljs';\nimport VirtualizedRenderer from './VirtualizedRenderer';\nimport {\n CodeContainer,\n CopyButtonWrapper,\n Header,\n SubHeader,\n Title,\n} from './styles';\n\nconst CodeSample = ({\n code,\n codeStyle = nightOwl,\n copyBtn = false,\n copyBtnText = 'Copy',\n customStyles = {},\n headerFilter = null,\n language = 'json',\n subHeader = null,\n title = '',\n}) => {\n const handleCopy = () => {\n navigator.clipboard.writeText(code);\n };\n\n return (\n \n
\n {title && {title}}\n {headerFilter && headerFilter}\n {copyBtn && (\n \n }\n >\n {copyBtnText}\n \n \n )}\n
\n {subHeader && (\n \n \n {subHeader}\n \n \n )}\n \n \n \n {code}\n \n \n \n
\n );\n};\n\nCodeSample.propTypes = {\n code: string.isRequired,\n codeStyle: shape({}),\n copyBtn: bool,\n copyBtnText: string,\n customStyles: shape({}),\n headerFilter: node,\n language: string,\n subHeader: node,\n title: string,\n};\n\nexport default CodeSample;\n","import styled from 'styled-components';\nimport { Box, Flex, Token } from '@procore/core-react';\nimport { ChevronDown, ChevronRight } from '@procore/core-icons';\n\nexport const SchemaList = styled(Box)`\n margin: 0 0 0 25px;\n`;\n\nexport const SchemaSection = styled(Box)`\n margin: 8px 0;\n`;\n\nexport const SchemaHeader = styled(Flex)`\n margin: 8px 0;\n`;\nexport const SchemaItemWrapper = styled(Box)`\n border-bottom: 1px solid hsl(200, 8%, 90%);\n cursor: pointer;\n margin-left: ${({ depth }) => depth * 25}px;\n padding: 8px 0;\n position: relative;\n & > div:last-child {\n border: none;\n }\n`;\nexport const SchemaType = styled.span`\n color: hsl(200, 8%, 30%);\n margin-left: 8px;\n font-size: 12px;\n font-weight: 400;\n`;\nexport const SchemaLabel = styled.h4`\n color: hsl(200, 8%, 15%);\n font-family: inherit;\n font-size: 14px;\n font-weight: 600;\n -webkit-letter-spacing: 0.15px;\n -moz-letter-spacing: 0.15px;\n -ms-letter-spacing: 0.15px;\n letter-spacing: 0.15px;\n line-height: 28px;\n margin: 0;\n`;\n\nexport const ExpandedIcon = styled(ChevronDown)`\n left: -24px;\n top: 18px;\n position: absolute;\n`;\nexport const CollapsedIcon = styled(ChevronRight)`\n left: -24px;\n top: 18px;\n position: absolute;\n`;\n\nexport const ParentsLabel = styled.span`\n color: hsl(200, 8%, 50%);\n`;\n\nexport const BodyExpander = styled(Box)``;\n\nexport const EnumWrapper = styled(Token)`\n margin: 0 4px 8px 4px;\n`;\n\nexport const EnumText = styled(Token.Label)`\n font-size: 14px;\n font-weight: 600;\n`;\n\nexport const RequiredPropertiesWrapper = styled(EnumWrapper)`\n background-color: #ffeae0;\n border: 1px solid #ffdccc;\n`;\n\nexport const RequiredPropertiesText = styled(EnumText)`\n color: #ff5100;\n`;\n\nexport const SchemaWrapper = styled(Box)`\n position: relative;\n`;\n\nexport const DataDetails = styled.span`\n color: hsl(200, 8%, 30%);\n margin-left: 8px;\n font-size: 12px;\n font-weight: 400;\n`;\n","import React from 'react';\nimport { arrayOf, bool, func, node, number, string } from 'prop-types';\nimport { Required } from '@procore/core-react';\nimport MarkdownRenderer from '@/react/shared/MarkdownRenderer';\nimport {\n CollapsedIcon,\n DataDetails,\n EnumText,\n EnumWrapper,\n ExpandedIcon,\n ParentsLabel,\n RequiredPropertiesText,\n RequiredPropertiesWrapper,\n SchemaHeader,\n SchemaItemWrapper,\n SchemaLabel,\n SchemaSection,\n SchemaType,\n} from './styles';\n\nconst i18n = {\n allowedValues: 'Allowed values:',\n requiredProperties: 'Required properties:',\n};\n\nconst SchemaItem = ({\n children = null,\n dataType = '',\n defaultValue,\n depth = 0,\n description = '',\n enums = [],\n fieldName = '',\n format,\n handleItemClick = () => {},\n isExpandable = false,\n isExpanded,\n isRequired = false,\n maximum,\n minimum,\n parents = [],\n requiredProperties = [],\n}) => {\n const Icon = isExpanded ? : ;\n const parentStr = parents?.length ? `${parents.join('.')}.` : '';\n const dataDetailsStr = Object.entries({\n format: format,\n default: defaultValue,\n minimum: minimum,\n maximum: maximum,\n })\n .filter(([key, value]) => value !== undefined)\n .map(([key, value]) => `${key}: ${value}`)\n .join(', ');\n\n return (\n \n \n {isExpandable && Icon}\n \n {parentStr}\n {fieldName}\n {dataType}\n {isRequired && }\n {dataDetailsStr.length > 0 && (\n ({dataDetailsStr})\n )}\n \n \n \n \n \n {enums?.length > 0 && (\n \n {i18n.allowedValues}\n {enums\n .filter((val) => val != null)\n .map((val, idx) => {\n return (\n \n {val}\n \n );\n })}\n \n )}\n {requiredProperties?.length > 0 && (\n \n {i18n.requiredProperties}\n {requiredProperties\n .filter((val) => val != null)\n .map((val, idx) => {\n return (\n \n {val}\n \n );\n })}\n \n )}\n {isExpanded && children}\n \n );\n};\n\nSchemaItem.propTypes = {\n children: node,\n dataType: string,\n depth: number,\n description: string,\n enums: arrayOf(string),\n fieldName: string,\n format: string,\n handleItemClick: func,\n isExpandable: bool,\n isExpanded: bool,\n isRequired: bool,\n maximum: number,\n minimum: number,\n parents: arrayOf(string),\n requiredProperties: arrayOf(string),\n};\n\nexport default SchemaItem;\n","import React from 'react';\nimport { arrayOf, func, node, number, shape, string } from 'prop-types';\nimport { Box, SegmentedController } from '@procore/core-react';\nimport { SchemaHeader, SchemaItemWrapper, SchemaLabel } from './styles';\n\nconst i18n = {\n schema: 'schema',\n};\n\nconst SchemaSelector = ({\n children,\n depth,\n handleSchemaSelect,\n label,\n schemas,\n selectedSchema,\n}) => {\n const handleSchemaClick = (idx) => () => {\n if (handleSchemaSelect) {\n handleSchemaSelect(idx);\n }\n };\n return (\n \n \n {label}\n \n {schemas?.length > 0 && (\n \n \n {schemas?.map(({ title, type }, i) => {\n return (\n \n {title || `${i18n.schema} ${i + 1}`}\n \n );\n })}\n \n \n )}\n {selectedSchema !== null && children}\n \n );\n};\n\nSchemaSelector.propTypes = {\n children: node,\n depth: number,\n handleSchemaSelect: func,\n label: string,\n schemas: arrayOf(\n shape({\n type: string,\n })\n ),\n selectedSchema: number,\n};\nSchemaSelector.defaultProps = {\n children: null,\n depth: number,\n handleSchemaSelect: () => {},\n label: '',\n schemas: [],\n selectedSchema: null,\n};\n\nexport default SchemaSelector;\n","/* eslint-disable complexity */\nimport React, { useState } from 'react';\nimport { arrayOf, func, number, oneOfType, shape, string } from 'prop-types';\nimport SchemaItem from './SchemaItem';\nimport SchemaSelector from './SchemaSelector';\n\nconst isArrayOrObject = (schema) => {\n return schema?.type === 'array' || schema?.type === 'object';\n};\n\nconst i18n = {\n oneOf: 'One Of',\n anyOf: 'Any Of',\n};\n\nconst SchemaRows = ({\n depth = 0,\n fieldName = '',\n handleSchemaSelect = () => {},\n parents = [],\n path = [],\n schema = {},\n}) => {\n const [isExpanded, setIsExpanded] = useState(false);\n const handleItemClick = () => {\n setIsExpanded(!isExpanded);\n };\n\n const handleSchemaSelectTest = (idx) => {\n handleSchemaSelect({ idx, path });\n };\n\n const { description, format, isRequired, maximum, minimum, required, type } =\n schema;\n\n if (type === 'object' && !fieldName) {\n return schema?.properties\n ? Object.keys(schema?.properties).map((prop) => {\n return (\n \n );\n })\n : null;\n }\n\n if (type === 'array' && !fieldName) {\n return (\n \n );\n }\n\n if (schema?.oneOf?.length > 0) {\n const selectedIndex = schema?.selectedIdx || 0;\n return (\n \n \n \n );\n }\n\n if (schema?.anyOf?.length > 0) {\n const selectedIndex = schema?.selectedIdx || 0;\n return (\n \n \n \n );\n }\n\n if (type === 'object') {\n return (\n \n {schema?.properties &&\n Object.keys(schema?.properties).map((prop) => {\n const parentsAry = [...parents, fieldName];\n return (\n \n );\n })}\n \n );\n }\n\n if (schema.type === 'array') {\n if (!isArrayOrObject(schema?.items)) {\n const itemType = schema?.items?.type ? `[${schema?.items?.type}]` : '';\n const arrayType = `${schema?.type}${itemType}`;\n const enums = schema?.items?.enum;\n return (\n \n );\n }\n return (\n \n \n \n );\n }\n\n return (\n \n );\n};\n\nSchemaRows.propTypes = {\n depth: number,\n fieldName: string,\n handleSchemaSelect: func,\n parents: arrayOf(string),\n path: arrayOf(string),\n schema: shape({\n enums: arrayOf(oneOfType([string, number])),\n type: string,\n }),\n};\n\nexport default SchemaRows;\n","import React, { useState } from 'react';\nimport { bool, func, shape, string } from 'prop-types';\nimport { Required } from '@procore/core-react';\nimport {\n CollapsedIcon,\n ExpandedIcon,\n SchemaLabel,\n SchemaList,\n SchemaWrapper,\n} from './styles';\nimport SchemaRows from './SchemaRows';\n\nconst i18n = {\n body: 'Body',\n};\n\nconst SchemaRenderer = ({\n handleSchemaSelect = () => {},\n required = false,\n schema = {},\n}) => {\n const [isExpanded, setIsExpanded] = useState(true);\n const handleItemClick = () => {\n setIsExpanded(!isExpanded);\n };\n const Icon = isExpanded ? (\n \n ) : (\n \n );\n\n if (!schema) {\n return null;\n }\n\n return (\n \n \n {Icon}\n {i18n.body}\n {required && }\n \n {isExpanded && (\n \n \n \n )}\n \n );\n};\n\nSchemaRenderer.propTypes = {\n handleSchemaSelect: func,\n required: bool,\n schema: shape({ type: string }),\n};\n\nexport default SchemaRenderer;\n","import { createJSONExample } from '../OpenApi/utils';\n\nexport const mutateNested = (\n obj,\n pathArray = [],\n property = '',\n valueToSet = ''\n) => {\n if (pathArray.length === 0) {\n obj[property] = valueToSet;\n return;\n }\n if (pathArray.length === 1) {\n obj[pathArray[0]][property] = valueToSet;\n return;\n }\n const [firstParam, ...newPath] = pathArray;\n mutateNested(obj[firstParam], newPath, property, valueToSet);\n};\n\nexport const getSchemaAndJSON = (schema) => {\n let exampleResponseJson = {\n schemaObj: null,\n schemaJSON: '{}',\n };\n\n try {\n exampleResponseJson = createJSONExample(schema);\n } catch {\n return exampleResponseJson;\n }\n\n return {\n schemaObj: schema,\n schemaJSON: JSON.stringify(exampleResponseJson, null, 2),\n };\n};\n","import React, { useEffect, useState } from 'react';\nimport { Tabs } from '@procore/core-react';\nimport { arrayOf, bool, shape, string } from 'prop-types';\nimport { CodeSample } from '../CodeSample';\nimport SchemaRenderer from '../Schema/SchemaRenderer';\nimport { getSchemaAndJSON, mutateNested } from './utils';\nimport {\n detailCodeStyles,\n LeftColumn,\n RightColumn,\n RestDetailRow,\n SampleWrapper,\n SectionTitle,\n} from './styles';\n\nconst RequestBodySection = ({\n expanded = false,\n i18n = {},\n requestBody = [],\n}) => {\n const [selectedContentType, setSelectedContentType] =\n useState('application/json');\n\n const [selectedSchema, setSelectedSchema] = useState();\n const selectedRequestBody =\n requestBody.find((val) => val.contentType === selectedContentType) ||\n requestBody[0];\n\n useEffect(() => {\n const { schemaObj, schemaJSON } = getSchemaAndJSON(\n selectedRequestBody?.schema\n );\n setSelectedSchema({\n exampleJSON: schemaJSON,\n schema: schemaObj,\n });\n }, [selectedRequestBody]);\n\n const handleBodyRequestClick = (contentType) => () => {\n setSelectedContentType(contentType);\n };\n\n const handleSchemaSelect = ({ idx, path }) => {\n const tmpSchema = selectedSchema.schema;\n mutateNested(tmpSchema, path, 'selectedIdx', idx);\n const schemaData = getSchemaAndJSON(tmpSchema);\n\n setSelectedSchema({\n schema: schemaData?.schemaObj,\n exampleJSON: schemaData?.schemaJSON,\n });\n };\n\n return (\n \n {selectedSchema?.schema && (\n <>\n \n {i18n.bodyParams}\n \n {requestBody.map(({ contentType }, idx) => (\n \n \n {contentType}\n \n \n ))}\n \n \n \n \n {selectedRequestBody?.contentType === 'application/json' &&\n selectedSchema?.exampleJSON && (\n \n \n \n )}\n \n \n )}\n \n );\n};\n\nRequestBodySection.propTypes = {\n expanded: bool,\n i18n: shape({}),\n requestBody: arrayOf(\n shape({\n contentType: string,\n schema: shape({}),\n })\n ),\n};\n\nexport default RequestBodySection;\n","import React, { useState } from 'react';\nimport { Button, Box, P, Table, Modal } from '@procore/core-react';\nimport MarkdownRenderer from '@/react/shared/MarkdownRenderer';\nimport ChangelogToken from './ChangelogToken';\nimport { SectionTitle } from './styles';\nimport moment from 'moment';\n\nconst i18n = {\n actions: 'Actions',\n title: 'Changelog',\n showMore: 'Show More',\n showLess: 'Show Less',\n date: 'Date',\n sunsetDate: 'Sunset Date',\n category: 'Category',\n breaking: 'Breaking',\n summary: 'Summary',\n dateCreated: 'Date Created',\n versionsAffected: 'Versions Affected',\n label: {\n new: 'New',\n fix: 'Fix',\n feature: 'Feature',\n refinement: 'Refinement',\n enhancement: 'Enhancement',\n deprecated: 'Deprecated',\n sunset: 'Sunset',\n },\n};\nconst COMPACT_TABLE_SIZE = 3;\nconst FULL_TABLE_SIZE = 9;\nconst isoDate = (date) => date && moment(date).format('MMM DD YYYY');\nconst showVersion = (versions) =>\n Array.isArray(versions) && versions.length ? `${versions.sort()[0]}+` : '?';\n\nconst ChangelogBlock = (log) => {\n const { changelog } = log;\n const TableHeader = (\n \n \n {i18n.date}\n {i18n.category}\n {i18n.breaking}\n {i18n.summary}\n \n \n );\n\n const [changelogEntryModalOpen, setChangelogEntryModalOpen] = useState(null);\n const [changelogModalOpen, setChangelogModalOpen] = useState(false);\n const displayTableGeneric = (arr, from, to) =>\n arr\n .sort((a, b) => new Date(b.datestamp) - new Date(a.datestamp))\n .slice(from, to)\n .map(\n ({ summary, description, type, breaking, datestamp, versions }, i) => (\n \n )\n );\n const compactView = displayTableGeneric(changelog, 0, COMPACT_TABLE_SIZE);\n const fullView = displayTableGeneric(changelog, 0, FULL_TABLE_SIZE);\n\n const [isCompact, setIsCompact] = useState(true);\n const toggleExpanded = () => setIsCompact(!isCompact);\n\n return (\n \n {i18n.title}\n {changelog.length > COMPACT_TABLE_SIZE && (\n \n {isCompact ? i18n.showMore : i18n.showLess}\n \n )}\n \n \n {TableHeader}\n {isCompact ? compactView : fullView}\n
\n
\n setChangelogModalOpen(false)}\n {...changelogEntryModalOpen}\n />\n \n );\n};\n\nfunction ChangelogEntry({\n openModal,\n setData,\n summary,\n description,\n type,\n breaking,\n datestamp,\n versions,\n}) {\n const modalState = {\n summary,\n description,\n type,\n breaking,\n datestamp,\n versions,\n };\n\n const handleClick = () => {\n openModal(true);\n setData(modalState);\n };\n return (\n \n \n {isoDate(datestamp)}\n \n \n \n {type && (\n \n )}\n \n \n \n {breaking ? 'true' : ''}\n \n \n {summary}\n \n \n );\n}\n\nfunction ChangelogModal({\n open,\n onClose,\n summary,\n description,\n type = '',\n datestamp,\n versions,\n}) {\n return (\n \n {summary}\n \n \n \n

{i18n.dateCreated}:

\n

{isoDate(datestamp)}

\n
\n \n

{i18n.category}:

\n \n
\n \n

{i18n.versionsAffected}:

\n

{showVersion(versions)}

\n
\n
\n \n \n \n
\n
\n );\n}\n\nexport default ChangelogBlock;\n","import React, { useEffect, useState } from 'react';\nimport { arrayOf, bool, shape, string } from 'prop-types';\nimport { Dropdown, Tabs } from '@procore/core-react';\nimport MarkdownRenderer from '@/react/shared/MarkdownRenderer';\nimport ChangelogBlock from '../Changelog/ChangelogBlock';\nimport { CodeSample } from '../CodeSample';\nimport SchemaItem from '../Schema/SchemaItem';\nimport {\n detailCodeStyles,\n EndpointRequest,\n LeftColumn,\n MimeTypeDropdown,\n RightColumn,\n RightColumnPlaceholder,\n RestDetailRow,\n SampleWrapper,\n Section,\n SectionTitle,\n} from './styles';\n\nconst RequestSection = ({\n changelog = [],\n codeSamples = [],\n description = '',\n expanded = false,\n headerParams = [],\n i18n = {},\n path = '',\n pathParams = [],\n queryParams = [],\n verb = '',\n}) => {\n const [selectedCodeSample, setSelectedCodeSample] = useState(codeSamples[0]);\n const [selectedMimeType, setSelectedMimeType] = useState(\n selectedCodeSample?.mimeType\n );\n\n useEffect(() => {\n if (selectedMimeType) {\n const mimetypeEndpoints = codeSamples.find(\n (val) =>\n val.mimeType === selectedMimeType && val.id === selectedCodeSample.id\n );\n setSelectedCodeSample(mimetypeEndpoints);\n } else {\n setSelectedCodeSample(codeSamples[0]);\n }\n }, [codeSamples, selectedMimeType]);\n\n const handleLangClick = (id, mimeType) => () => {\n const newCodeSample = codeSamples.find(\n (sample) => id === sample.id && sample?.mimeType === mimeType\n );\n setSelectedCodeSample(newCodeSample);\n };\n\n const displayType = (schema = {}) => {\n const { items, type } = schema;\n return items?.type ? `${type}[${items.type}]` : type;\n };\n\n const displayEnums = (schema = {}) => {\n return schema.type === 'array' ? schema.items?.enum : schema.enum;\n };\n\n return (\n \n \n \n {!!verb && verb.toUpperCase()} {path}\n \n {description?.length > 0 && (\n
\n \n {i18n.description}\n \n \n \n
\n \n )}\n {changelog?.length > 0 && }\n\n {headerParams?.length > 0 && (\n
\n {i18n.headers}\n {headerParams.map((param, i) => {\n return (\n \n );\n })}\n
\n )}\n {pathParams?.length > 0 && (\n
\n \n {i18n.pathParams}\n \n {pathParams.map((param, i) => {\n return (\n \n );\n })}\n
\n )}\n {queryParams?.length > 0 && (\n
\n \n {i18n.queryParams}\n \n {queryParams.map((param, i) => {\n return (\n \n );\n })}\n
\n )}\n
\n {selectedCodeSample?.content ? (\n \n \n {\n const { id } = selectedCodeSample;\n const newCode = codeSamples.find(\n (val) => val.id === id && val.mimeType === item\n );\n setSelectedCodeSample(newCode);\n setSelectedMimeType(item);\n }}\n label={selectedMimeType}\n >\n {codeSamples\n .filter(\n (codeSample) => selectedCodeSample.id === codeSample.id\n )\n .map(({ id, mimeType }) => (\n \n {mimeType}\n \n ))}\n \n )\n }\n subHeader={\n \n {codeSamples\n .filter((val) => val.mimeType === selectedMimeType)\n .map(({ id, mimeType, title }) => {\n return (\n \n \n {title}\n \n \n );\n })}\n \n }\n title={i18n.exampleRequests}\n />\n \n \n ) : (\n \n )}\n
\n );\n};\n\nRequestSection.propTypes = {\n changelog: arrayOf(\n shape({\n breaking: bool,\n datestamp: string,\n description: string,\n endpoint: string,\n summary: string,\n 'x-doc': {\n visibility: string,\n },\n type: string,\n versions: arrayOf(string),\n })\n ),\n codeSamples: arrayOf(\n shape({\n id: string,\n content: string,\n title: string,\n })\n ),\n description: string,\n expanded: bool,\n i18n: shape({}),\n path: string,\n headerParams: arrayOf(\n shape({\n description: string,\n enum: arrayOf(string),\n name: string,\n required: bool,\n type: string,\n })\n ),\n pathParams: arrayOf(\n shape({\n description: string,\n enum: arrayOf(string),\n name: string,\n required: bool,\n type: string,\n })\n ),\n queryParams: arrayOf(\n shape({\n description: string,\n enum: arrayOf(string),\n name: string,\n required: bool,\n type: string,\n })\n ),\n verb: string,\n};\n\nexport default RequestSection;\n","import React, { useState } from 'react';\nimport { shape } from 'prop-types';\nimport {\n CollapsedIcon,\n ExpandedIcon,\n SchemaLabel,\n SchemaList,\n SchemaWrapper,\n} from './styles';\nimport SchemaItem from '../Schema/SchemaItem';\n\nconst i18n = {\n headers: 'Response Headers',\n};\n\nconst ResponseHeaders = ({ headers }) => {\n const [isExpanded, setIsExpanded] = useState(true);\n const handleItemClick = () => {\n setIsExpanded(!isExpanded);\n };\n\n const Icon = isExpanded ? (\n \n ) : (\n \n );\n\n const displayType = (schema = {}) => {\n const { items, type } = schema;\n return items?.type ? `${type}[${items.type}]` : type;\n };\n\n if (Object.keys(headers).length < 1) {\n return null;\n }\n\n return (\n \n \n {Icon}\n {i18n.headers}\n \n {isExpanded && (\n \n {Object.entries(headers).map(([headerName, headerObj]) => {\n return (\n \n );\n })}\n \n )}\n \n );\n};\n\nResponseHeaders.propTypes = {\n headers: shape({}),\n};\nResponseHeaders.defaultProps = {\n headers: {},\n};\n\nexport default ResponseHeaders;\n","export const ERROR_MAP = {\n 400: {\n summary:\n 'The server could not understand the request due to invalid syntax or parameters that fail to meet validation requirements.',\n },\n 401: {\n summary:\n 'Although the HTTP standard specifies \"unauthorized\", semantically this response means \"unauthenticated\". That is, the client must authenticate itself to get the requested response.',\n },\n 403: {\n summary:\n \"The client does not have access rights to the content; that is, it is authenticated, but the server is refusing to give the requested resource. Unlike 401, the client's identity is known to the server.\",\n },\n 404: {\n summary:\n 'The server can not find the requested resource. This can mean either the URL is not recognized, or the resource itself does not exist. Servers may also send this response instead of 403 to hide the existence of a resource from an unauthorized client.',\n },\n 405: {\n summary:\n 'The request method is known by the server but is not supported by the target resource. For example, an API may forbid DELETE-ing a resource.',\n },\n 406: {\n summary:\n \"This response is sent when the web server, after performing server-driven content negotiation, doesn't find any content that conforms to the criteria given by the user agent.\",\n },\n 408: {\n summary:\n 'This response is sent on an idle connection by some servers, even without any previous request by the client. It means that the server would like to shut down this unused connection. Also note that some servers merely shut down the connection without sending this message.',\n },\n 409: {\n summary:\n 'This response is sent when a request conflicts with the current state of the server.',\n },\n 410: {\n summary:\n 'This response is sent when the requested content has been permanently deleted from server, with no forwarding address. Clients are expected to remove their caches and links to the resource.',\n },\n 413: {\n summary:\n 'Request entity is larger than limits defined by server; the server might close the connection or return a Retry-After header field.',\n },\n 414: {\n summary:\n 'The URI requested by the client is longer than the server is willing to interpret.',\n },\n 415: {\n summary:\n 'The media format of the requested data is not supported by the server, so the server is rejecting the request.',\n },\n 422: {\n summary:\n 'The request was well-formed but was unable to be followed due to semantic errors.',\n },\n 429: {\n summary:\n 'The user has sent too many requests in a given amount of time (\"rate limiting\").',\n },\n 500: {\n summary:\n \"The server has encountered a situation it doesn't know how to handle.\",\n },\n 501: {\n summary:\n 'The request method is not supported by the server and cannot be handled. The only methods that servers are required to support (and therefore that must not return this code) are GET and HEAD.',\n },\n 502: {\n summary:\n 'This error response means that the server, while working as a gateway to get a response needed to handle the request, got an invalid response.',\n },\n 503: {\n summary:\n 'The server is not ready to handle the request. Common causes are a server that is down for maintenance or that is overloaded.',\n },\n};\n","import React, { useEffect, useState } from 'react';\nimport { arrayOf, bool, shape, string } from 'prop-types';\nimport { Tabs } from '@procore/core-react';\nimport { CodeSample } from '../CodeSample';\nimport SchemaRenderer from '../Schema/SchemaRenderer';\nimport ResponseHeaders from '../Schema/ResponseHeaders';\nimport { ERROR_MAP } from './errors';\nimport { getSchemaAndJSON, mutateNested } from './utils';\nimport {\n detailCodeStyles,\n ErrorStatusTitle,\n ErrorStatusDesc,\n LeftColumn,\n RightColumn,\n RightColumnPlaceholder,\n RestDetailRow,\n SampleWrapper,\n SectionTitle,\n} from './styles';\n\nconst i18n = {\n copy: 'copy',\n description: 'Description',\n exampleResponse: 'Example Response',\n fieldName: 'Field Name',\n responses: 'Responses',\n type: 'Type',\n};\n\nconst ResponseSection = ({\n errorTypesVerified = false,\n expanded = false,\n responses = [],\n}) => {\n const defaultResponse = responses.find(\n (response) => response.status.charAt(0) === '2'\n );\n const [selectedResponse, setSelectedResponse] = useState(\n defaultResponse || responses[0]\n );\n\n const [selectedSchema, setSelectedSchema] = useState();\n\n const schema = selectedResponse?.content?.find(\n ({ contentType }) => contentType === 'application/json'\n )?.schema;\n\n useEffect(() => {\n const { schemaObj, schemaJSON } = getSchemaAndJSON(schema);\n setSelectedSchema({\n exampleJSON: schemaJSON,\n schema: schemaObj,\n });\n }, [schema]);\n\n const handleResponseClick = (status) => () => {\n const newSelectedResponse = responses.find(\n (resp) => resp?.status === status\n );\n setSelectedResponse(newSelectedResponse);\n };\n\n const isNotSuccessStatus = selectedResponse?.status?.charAt(0) !== '2';\n const showErrorTypePlaceholder = isNotSuccessStatus && !errorTypesVerified;\n\n const getErrorStatusTitle = selectedResponse\n ? `${selectedResponse?.status}(${selectedResponse?.description})`\n : '';\n\n const handleSchemaSelect = ({ idx, path }) => {\n const tmpSchema = selectedSchema?.schema;\n mutateNested(tmpSchema, path, 'selectedIdx', idx);\n\n const schemaData = getSchemaAndJSON(selectedSchema?.schema);\n setSelectedSchema({\n schema: schemaData?.schemaObj,\n exampleJSON: schemaData?.schemaJSON,\n });\n };\n\n return (\n \n {showErrorTypePlaceholder || !selectedSchema?.schema ? (\n <>\n \n {i18n.responses}\n \n {responses.map(({ status }) => (\n \n \n {status}\n \n \n ))}\n \n {getErrorStatusTitle}\n {ERROR_MAP[selectedResponse?.status]?.summary && (\n \n {ERROR_MAP[selectedResponse?.status]?.summary}\n \n )}\n \n \n \n ) : (\n <>\n \n {i18n.responses}\n \n {responses.map(({ status }) => (\n \n \n {status}\n \n \n ))}\n \n {selectedSchema?.schema && (\n
\n \n {selectedResponse?.headers && (\n \n )}\n
\n )}\n
\n \n {selectedSchema?.schema && (\n \n \n \n )}\n \n \n )}\n
\n );\n};\n\nResponseSection.propTypes = {\n errorTypesVerified: bool,\n expanded: bool,\n responses: arrayOf(\n shape({\n description: string,\n status: string,\n schema: shape({}),\n })\n ),\n};\n\nexport default ResponseSection;\n","import React from 'react';\nimport { shape, string } from 'prop-types';\nimport { Token } from '@procore/core-react';\nimport { stages, stagesDisplay } from '../../constants';\nimport { DeprecatedToken, StageToken, VisibilityToken } from './styles';\n\nconst EndpointPills = ({ deprecatedTimestamp, i18n, stage, visibility }) => {\n const isDeprecated = Boolean(deprecatedTimestamp);\n const getDateString = (timestamp) => {\n if (timestamp) {\n if (typeof(timestamp) === 'string') {\n return timestamp.replace(/-/g, '/');\n }\n\n return new Date(timestamp * 1000)\n .toISOString()\n .split('T')[0]\n .replace(/-/g, '/');\n }\n return '';\n };\n const dateString = getDateString(deprecatedTimestamp);\n\n function showStage(stg) {\n return String(stg).toLowerCase() !== stages.ga;\n }\n\n function isPrivate(vis) {\n return String(vis).toLowerCase() === 'private';\n }\n\n return (\n <>\n {isDeprecated && (\n \n {`${i18n.deprecated} ${dateString}`}\n \n )}\n {showStage(stage) && (\n \n {stagesDisplay[stage]}\n \n )}\n {isPrivate(visibility) && (\n \n Private\n \n )}\n \n );\n};\n\nEndpointPills.propTypes = {\n deprecatedTimestamp: string,\n i18n: shape({}),\n stage: string,\n visibility: string,\n};\nEndpointPills.defaultProps = {\n deprecatedTimestamp: null,\n i18n: {},\n};\n\nexport default EndpointPills;\n","import React, { useEffect, useRef } from 'react';\nimport { oneOfType, arrayOf, bool, number, shape, string } from 'prop-types';\nimport { useLocation } from 'react-router-dom';\nimport { Grid } from '@procore/core-react';\nimport { toParam } from '@/utils/stringUtil';\nimport {\n RequestBodySection,\n RequestSection,\n ResponseSection,\n} from '../RestSections';\nimport EndpointPills from './EndpointPills';\nimport {\n EndpointWrapper,\n LeftHeaderColumn,\n RightHeaderColumn,\n PageTitle,\n RestDetailsHeader,\n RestDetailHeaderRow,\n} from './styles';\n\nconst OpenApiEndpointDetails = ({\n changelog,\n codeSamples,\n deprecatedTimestamp,\n description,\n expanded,\n headerParams,\n path,\n pathParams,\n queryParams,\n requestBody,\n responses,\n summary,\n stage,\n visibility,\n verb,\n i18n,\n}) => {\n const { hash } = useLocation();\n const wrapperRef = useRef();\n\n const goToSection = (ref) => {\n const mainEl = document.querySelector('main');\n const topRef = ref?.current?.getBoundingClientRect()?.top || 0;\n mainEl?.scrollTo({\n top: mainEl.scrollTop + topRef - 140,\n });\n };\n\n useEffect(() => {\n if (wrapperRef?.current?.id === hash.slice(1)) {\n const to = setTimeout(() => goToSection(wrapperRef), 0);\n return () => {\n clearTimeout(to);\n };\n }\n }, [wrapperRef]);\n\n const stub = toParam(summary);\n const anchorTag = `${stub}${deprecatedTimestamp ? '_deprecated' : ''}`;\n return (\n \n \n \n \n \n \n \n {summary}\n \n \n \n \n \n \n \n \n {requestBody && (\n \n )}\n {responses.length > 0 && (\n \n )}\n \n \n );\n};\n\nOpenApiEndpointDetails.propTypes = {\n changelog: arrayOf(\n shape({\n breaking: bool,\n datestamp: string,\n description: string,\n endpoint: string,\n summary: string,\n 'x-doc': shape({\n visibility: oneOfType([string, arrayOf(string)]),\n stage: string,\n }),\n type: string,\n versions: arrayOf(string),\n })\n ),\n codeSamples: arrayOf(\n shape({\n content: string,\n id: string,\n mimeType: string,\n title: string,\n })\n ),\n deprecatedTimestamp: number || string,\n description: string,\n expanded: bool,\n headerParams: arrayOf(\n shape({\n description: string,\n in: string,\n name: string,\n required: bool,\n })\n ),\n path: string,\n pathParams: arrayOf(\n shape({\n description: string,\n in: string,\n name: string,\n required: bool,\n })\n ),\n queryParams: arrayOf(\n shape({\n description: string,\n in: string,\n name: string,\n schema: shape({ type: string }),\n })\n ),\n requestBody: arrayOf(\n shape({\n contentType: string,\n schema: shape({}),\n })\n ),\n responses: arrayOf(\n shape({\n status: string,\n description: string,\n content: arrayOf(\n shape({\n schema: shape({}),\n contentType: string,\n })\n ),\n headers: shape({}),\n })\n ),\n summary: string,\n stage: string,\n verb: string,\n i18n: shape({}),\n};\nOpenApiEndpointDetails.defaultProps = {\n changelog: [],\n codeSamples: [],\n deprecatedTimestamp: null,\n description: '',\n expanded: false,\n headerParams: [],\n path: '',\n pathParams: [],\n queryParams: [],\n requestBody: [],\n responses: [],\n summary: '',\n stage: '',\n verb: '',\n};\n\nexport default OpenApiEndpointDetails;\n","import React from 'react';\nimport styled, { css } from 'styled-components';\nimport { ChevronRight, ChevronLeft } from '@procore/core-icons';\nimport { bool, func } from 'prop-types';\n\nconst ToggleWrapper = styled.div`\n height: 0;\n width: 0;\n position: sticky;\n left: ${({ expanded }) => (expanded ? '96%' : '45%')};\n top: 108px;\n z-index: 100;\n @media only screen and (max-width: 1200px) {\n display: none;\n }\n @media only screen and (min-width: 1201px) {\n display: block;\n }\n`;\nconst ICON = css`\n border: 1.5px solid #6a767c;\n border-radius: 50%;\n color: #6a767c;\n &:hover {\n border-color: #2066df;\n color: #2066df;\n cursor: pointer;\n }\n`;\n\nconst ExpandIcon = styled(ChevronRight)`\n ${ICON}\n`;\n\nconst CollapseIcon = styled(ChevronLeft)`\n ${ICON}\n`;\n\nconst ExpandToggle = ({ expanded, onClick }) => {\n return (\n \n {expanded ? : }\n \n );\n};\n\nExpandToggle.propTypes = {\n expanded: bool,\n onClick: func,\n};\n\nExpandToggle.defaultProps = {\n expanded: false,\n onClick: () => {},\n};\n\nexport default ExpandToggle;\n","import React from \"react\";\nimport PT from \"prop-types\";\n\nconst AttributionInfo = ({ attribution, i18n }) => {\n const domainPrefix = `${i18n.domain}: `;\n const teamPrefix = `${i18n.team}: `;\n\n return (\n
\n
\n
\n {domainPrefix}\n {attribution.domain}\n
\n
\n {teamPrefix}\n {attribution.team}\n
\n
\n
\n );\n};\n\nAttributionInfo.propTypes = {\n attribution: PT.shape({\n domain: PT.string,\n team: PT.string,\n }).isRequired,\n i18n: PT.shape({\n domainPrefix: PT.string,\n teamPrefix: PT.string,\n }).isRequired,\n};\n\nexport default AttributionInfo;\n","import React, { useState } from 'react';\nimport { arrayOf, bool, objectOf, shape, string } from 'prop-types';\nimport { useLocation } from 'react-router-dom';\nimport { toParam } from '@/utils/stringUtil';\nimport { openApiPathParser, orderEndpoints } from './utils';\nimport OpenApiVersionSelect from './OpenApiVersionSelect';\nimport OpenApiEndpointSelect from './OpenApiEndpointSelect';\nimport OpenApiEndpointDetails from './OpenApiEndpointDetails';\nimport ExpandToggle from './ExpandToggle';\nimport AttributionInfo from './AttributionInfo';\nimport { DropdownContainer, RestEndpointHeader, Title, RestEndpointHeaderDropdownsContainer, OpenApiVersionLabel } from './styles';\n\nconst i18n = {\n allowedValues: 'Allowed Values',\n bodyExample: 'Body Example',\n bodyParams: 'Body Parameters',\n description: 'Description',\n exampleBody: 'Example Request Body',\n exampleRequests: 'Example Requests',\n fieldName: 'Field Name',\n headers: 'Header Parameters',\n pathParams: 'Path Parameters',\n queryParams: 'Query Parameters',\n required: 'Required',\n responses: 'Responses',\n type: 'Type',\n deprecated: 'Deprecated',\n domain: 'Domain',\n team: 'Team',\n};\n\nconst OpenApiEndpoints = ({ spec = {}, versions }) => {\n const { hash, search } = useLocation();\n const [expanded, setExpanded] = useState(false);\n const params = new URLSearchParams(search);\n const selectedVersion = params.get('version');\n const selectedEndpointName = hash.slice(1);\n\n const endpointTitle = spec?.info?.title;\n const endpoints = openApiPathParser(spec?.paths);\n const sortedEndpoints = endpoints.sort(orderEndpoints);\n\n const attribution = spec?.info?.['x-attribution'];\n\n const versionsArray = Object.keys(versions).sort((a, b) =>\n b.replace(/\\d+/g, n => +n+1000 ).localeCompare(a.replace(/\\d+/g, n => +n+1000 ))\n );\n\n const selectedEndpoint =\n sortedEndpoints.find(({ deprecated, summary }) => {\n const stub = toParam(summary);\n\n return (\n `${stub}${deprecated ? '_deprecated' : ''}` === selectedEndpointName\n );\n }) || endpoints[0];\n\n const handleExpandedIconClick = () => {\n setExpanded(!expanded);\n };\n function getStage(endpoint) {\n return endpoint['x-doc']?.stage || undefined;\n }\n function getVisibility(endpoint) {\n return endpoint['x-doc']?.visibility || undefined;\n }\n return (\n <>\n {endpointTitle && (\n \n \n {endpointTitle}\n {!!attribution && (\n <span>\n  \n <AttributionInfo attribution={attribution} i18n={i18n} />\n </span>\n )}\n \n \n \n {selectedEndpoint && (\n \n )}\n \n \n {selectedVersion && (\n \n Version:\n \n \n )}\n \n \n \n )}\n {sortedEndpoints?.length > 0 && (\n \n )}\n {sortedEndpoints?.map((endpoint) => {\n return (\n \n );\n })}\n \n );\n};\n\nOpenApiEndpoints.propTypes = {\n spec: shape({\n openapi: string,\n info: shape({\n title: string,\n version: string,\n 'x-product-category': string,\n 'x-resrouce-name': string,\n 'x-tool-category': string,\n 'x-product-lines': [string],\n }),\n servers: [\n shape({\n url: string,\n }),\n ],\n paths: objectOf(\n shape({\n description: string,\n parameters: [\n shape({\n description: string,\n name: string,\n in: string,\n schema: shape({}),\n }),\n ],\n requestBody: shape({ required: bool, content: shape({}) }),\n responses: objectOf(\n shape({\n description: string,\n content: shape({}),\n })\n ),\n summary: string,\n tags: [string],\n })\n ),\n }),\n versions: shape({}),\n};\nOpenApiEndpoints.defaultProps = {\n spec: {},\n versions: {},\n};\n\nexport default OpenApiEndpoints;\n","import styled from 'styled-components';\nimport {\n Box,\n Dropdown,\n Grid,\n H1,\n H2,\n Token,\n} from '@procore/core-react';\n\nimport { stages } from '../../constants/stages';\n\nexport const VersionDropdown = styled(Dropdown)`\n background-color: #ffffff;\n border: 1px solid #acb5b9;\n margin: 0 24px 0 6px;\n\n @media only screen and (max-width: 1100px) {\n margin: 8px 26px 0px 6px;\n }\n`;\n\nexport const OpenApiVersionLabel = styled.label`\n @media only screen and (max-width: 1100px) {\n display: inline-block;\n margin-left: 26px;\n }\n`;\n\nexport const EndpointDropdown = styled(Dropdown)`\n background-color: #ffffff;\n border: 1px solid #acb5b9;\n margin: 0 8px;\n @media only screen and (max-width: 1100px) {\n margin: 8px 26px 0px 26px;\n }\n`;\n\nexport const RestEndpointHeader = styled.div`\n background-color: #ffffff;\n border-color: #e3e6e8;\n border-style: solid;\n border-width: 0 0 1px 0;\n display: flex;\n flex-direction: column;\n margin: 0;\n padding: 8px 0 12px 8px;\n position: sticky;\n top: 0;\n z-index: 100;\n\n @media only screen and (max-width: 1100px) {\n flex-direction: column;\n }\n`;\n\nexport const Title = styled(H1)`\n margin: 0px 8px 3px 8px;\n white-space: nowrap;\n @media only screen and (max-width: 1100px) {\n margin: 0 0 0 26px;\n }\n`;\n\nexport const RestEndpointHeaderDropdownsContainer = styled(Box)`\n display: flex;\n justify-content: space-between;\n\n @media only screen and (max-width: 1100px) {\n align-items: baseline;\n flex-direction: column;\n }\n`;\n\nexport const DropdownContainer = styled(Box)`\n align-items: center;\n display: flex;\n\n @media only screen and (max-width: 1100px) {\n align-items: baseline;\n flex-direction: column;\n }\n`;\n\nexport const RestDetailsHeader = styled.header`\n align-items: center;\n display: flex;\n`;\n\nexport const RestDetailRow = styled(Grid.Row)`\n margin: 0 16px;\n`;\n\nexport const RestDetailHeaderRow = styled(Grid.Row)`\n background: #ffffff;\n position: sticky;\n top: 84px;\n z-index: 10;\n @media only screen and (max-width: 1100px) {\n top: 120px;\n }\n`;\n\nexport const PageTitle = styled(H2)`\n padding: 16px 0;\n @media only screen and (max-width: 1100px) {\n margin-left: 24px;\n }\n`;\n\nexport const DeprecatedToken = styled(Token)`\n margin-left: 12px;\n background-color: rgb(252, 227, 228);\n border: 1px solid rgb(250, 209, 210);\n span {\n font-weight: bold;\n text-transform: uppercase;\n color: rgb(230, 25, 32);\n }\n`;\n\nconst handleStageColor = (stage) => {\n switch (stage) {\n case stages.pilot:\n return {\n bgColor: 'rgb(255, 250, 224)',\n border: '1px solid rgb(255, 246, 204)',\n spanColor: 'rgb(153, 48, 0)',\n };\n case stages.beta:\n return {\n bgColor: 'rgb(228, 237, 251)',\n border: '1px solid rgb(210, 224, 249)',\n spanColor: 'rgb(32, 102, 223)',\n };\n default:\n return {\n bgColor: 'initial',\n border: 'initial',\n spanColor: 'initial',\n };\n }\n};\n\nexport const StageToken = styled(Token)`\n margin-left: 12px;\n background-color: ${({ stage }) => handleStageColor(stage)?.bgColor};\n border: ${({ stage }) => handleStageColor(stage)?.border};\n span {\n font-weight: bold;\n text-transform: uppercase;\n ${({ stage }) => ({\n color: handleStageColor(stage)?.spanColor,\n })};\n }\n`;\n\nexport const VisibilityToken = styled(Token)`\n margin-left: 12px;\n background-color: rgb(238, 240, 241);\n border: 1px solid rgb(227, 230, 232);\n span {\n font-weight: bold;\n text-transform: uppercase;\n color: rgb(70, 79, 83);\n }\n`;\n\nexport const EndpointWrapper = styled.div`\n display: flex;\n flex-direction: column;\n flex: 1;\n`;\n\nexport const LeftHeaderColumn = styled(Grid.Col)`\n padding: 0 16px;\n`;\n\nexport const RightHeaderColumn = styled(Grid.Col)`\n background-color: #f9fafa;\n display: ${({ expanded }) => (expanded ? 'none' : 'block')};\n padding: 0 16px;\n @media only screen and (max-width: 1200px) {\n display: none;\n }\n`;\n","export const stages = {\n beta: 'beta',\n pilot: 'pilot',\n ga: 'ga',\n};\n\nexport const stagesDisplay = {\n [stages.beta]: 'Beta',\n [stages.pilot]: 'Pilot',\n [stages.ga]: 'GA',\n};\n"],"names":["HTTP_VERBS","RESPONSE_TYPES","parseSchemas","schema","allOf","newSchema","reduce","prev","curr","mergeDeepLeft","rest","_objectWithoutProperties","_excluded","oneOf","_schema$oneOf","parsedSchemas","map","sch","_objectSpread","anyOf","_schema$anyOf","type","_schema$required","required","length","forEach","req","properties","isRequired","mergeObjects","Object","keys","val","_defineProperty","acc2","curr2","items","openApiPathParser","paths","arguments","undefined","endpoints","path","_paths$path","_paths$path$parameter","parameters","verbsObj","_excluded2","verb","includes","requestBody","responses","endpointObj","endpointObjParameters","endpointParams","concat","_toConsumableArray","filter","Boolean","mergedRequestBodies","content","contentType","_requestBody$content$","mergedResponses","status","_responses$status","_responses$status2","description","_responses$status3","headers","_parseParams","pathParams","param","queryParams","headerParams","cookieParams","parseParams","resultObj","push","createJSONExample","_ref2","_ref2$selectedIdx","selectedIdx","_ref2$type","_excluded3","prop","obj","_obj$enum","example","nullable","typeDefaults","integer","number","string","boolean","object","array","DEFAULT_VALUES","getexample","orderEndpoints","a","b","aIsDeprecated","bIsDeprecated","segmentsA","split","segmentsB","aIsInternal","bIsInsternal","indexOf","numSegments","Math","min","i","diffLength","OpenApiVersionSelect","_ref","selectedVersion","_ref$versions","versions","changeVersions","version","pathname","search","params","URLSearchParams","set","hash","toString","labelFromVersion","React","VersionDropdown","label","Dropdown","Item","item","key","Link","to","defaultProps","VERB_COLORS","get","color","put","patch","post","delete","OpenApiEndpointSelect","selectedEndpoint","_useState2","_slicedToArray","useState","endpointsSearchTerm","setEndpointsSearchTerm","deprecated","summary","handleEndpointSelect","endpoint","stub","toParam","isDeprecated","filteredEndpoints","_ref3","toLowerCase","EndpointDropdown","Pill","toUpperCase","style","marginLeft","onSearch","e","target","value","className","Row","node","stylesheet","useInlineStyles","createElement","VirtualizedElements","_ref2$overscanRowCoun","overscanRowCount","_ref2$rows","rows","_ref2$stylesheet","_ref2$useInlineStyles","parentRef","useRef","rowVirtualizer","useVirtual","overscan","size","ref","height","overflow","totalSize","position","width","virtualItems","measureRef","index","start","top","left","transform","_ref4","_ref5","CodeContainer","styled","div","_templateObject","_taggedTemplateLiteral","CopyButtonWrapper","Grid","Col","_templateObject2","Header","_templateObject3","Title","_templateObject4","SubHeader","_templateObject5","code","_ref$codeStyle","codeStyle","nightOwl","_ref$copyBtn","copyBtn","_ref$copyBtnText","copyBtnText","_ref$customStyles","customStyles","_ref$headerFilter","headerFilter","_ref$language","language","_ref$subHeader","subHeader","_ref$title","title","Button","onClick","navigator","clipboard","writeText","icon","Duplicate","span","SyntaxHighlighter","customStyle","showLineNumbers","renderer","VirtualizedRenderer","SchemaList","Box","SchemaSection","SchemaHeader","Flex","SchemaItemWrapper","depth","SchemaType","SchemaLabel","h4","_templateObject6","ExpandedIcon","ChevronDown","_templateObject7","CollapsedIcon","ChevronRight","_templateObject8","ParentsLabel","_templateObject9","EnumWrapper","_templateObject10","Token","_templateObject11","EnumText","Label","_templateObject12","RequiredPropertiesWrapper","_templateObject13","RequiredPropertiesText","_templateObject14","SchemaWrapper","_templateObject15","DataDetails","_templateObject16","i18n","_ref$children","children","_ref$dataType","dataType","defaultValue","_ref$depth","_ref$description","_ref$enums","enums","_ref$fieldName","fieldName","format","_ref$handleItemClick","handleItemClick","_ref$isExpandable","isExpandable","isExpanded","_ref$isRequired","maximum","minimum","_ref$parents","parents","_ref$requiredProperti","requiredProperties","Icon","parentStr","join","dataDetailsStr","entries","default","Required","MarkdownRenderer","source","idx","disabled","SchemaSelector","handleSchemaSelect","schemas","selectedSchema","SegmentedController","Segment","active","SchemaRows","_ref$handleSchemaSele","_ref$path","_ref$schema","setIsExpanded","handleSchemaSelectTest","_schema$properties$pr","_SchemaRows","_schema$oneOf$selecte","selectedIndex","SchemaItem","_schema$properties$pr2","_schema$properties$pr3","parentsAry","isArrayOrObject","_schema$items","_schema$items2","_schema$items3","itemType","arrayType","_ref$required","mutateNested","pathArray","property","valueToSet","_pathArray","_toArray","firstParam","newPath","slice","getSchemaAndJSON","exampleResponseJson","schemaObj","schemaJSON","_unused","JSON","stringify","_ref$expanded","expanded","_ref$i18n","_ref$requestBody","selectedContentType","setSelectedContentType","_useState4","setSelectedSchema","selectedRequestBody","find","useEffect","_getSchemaAndJSON","exampleJSON","handleBodyRequestClick","RestDetailRow","LeftColumn","SectionTitle","bodyParams","Tabs","padding","Tab","random","SchemaRenderer","tmpSchema","schemaData","RightColumn","colWidth","desktopSm","SampleWrapper","CodeSample","detailCodeStyles","exampleBody","actions","showMore","showLess","date","sunsetDate","category","breaking","dateCreated","versionsAffected","new","fix","feature","refinement","enhancement","sunset","isoDate","moment","ChangelogEntry","openModal","setData","datestamp","modalState","Table","BodyRow","BodyCell","snugfit","TextCell","ChangelogToken","variant","ChangelogModal","open","onClose","_ref3$type","Modal","onClickOverlay","Body","margin","P","Array","isArray","sort","showVersion","log","changelog","TableHeader","HeaderRow","HeaderCell","changelogEntryModalOpen","setChangelogEntryModalOpen","changelogModalOpen","setChangelogModalOpen","displayTableGeneric","arr","from","Date","compactView","fullView","_useState6","isCompact","setIsCompact","Container","assign","_ref$changelog","_ref$codeSamples","codeSamples","_ref$headerParams","_ref$pathParams","_ref$queryParams","_ref$verb","selectedCodeSample","setSelectedCodeSample","mimeType","selectedMimeType","setSelectedMimeType","mimetypeEndpoints","id","handleLangClick","newCodeSample","sample","displayType","displayEnums","EndpointRequest","ChangelogBlock","Section","name","_param$schema","_param$schema2","_param$schema3","MimeTypeDropdown","onSelect","newCode","codeSample","dark","exampleRequests","RightColumnPlaceholder","ResponseHeaders","headerName","headerObj","ERROR_MAP","_selectedResponse$con","_selectedResponse$sta","_ERROR_MAP$selectedRe","_ERROR_MAP$selectedRe2","_ref$errorTypesVerifi","errorTypesVerified","_ref$responses","defaultResponse","response","charAt","selectedResponse","setSelectedResponse","handleResponseClick","newSelectedResponse","resp","showErrorTypePlaceholder","getErrorStatusTitle","flex","ErrorStatusTitle","ErrorStatusDesc","tabletLg","EndpointPills","timestamp","deprecatedTimestamp","stage","visibility","dateString","replace","toISOString","DeprecatedToken","String","stages","ga","StageToken","stagesDisplay","VisibilityToken","OpenApiEndpointDetails","useLocation","wrapperRef","_wrapperRef$current","current","setTimeout","mainEl","document","querySelector","topRef","_ref$current","getBoundingClientRect","scrollTo","scrollTop","clearTimeout","anchorTag","colStackCap","EndpointWrapper","RestDetailHeaderRow","LeftHeaderColumn","RestDetailsHeader","href","PageTitle","RightHeaderColumn","RequestSection","RequestBodySection","ResponseSection","ToggleWrapper","ICON","css","ExpandIcon","CollapseIcon","ChevronLeft","ExpandToggle","attribution","domainPrefix","domain","teamPrefix","team","allowedValues","bodyExample","OpenApiEndpoints","_spec$info","_spec$info2","_ref$spec","spec","_useLocation","setExpanded","selectedEndpointName","endpointTitle","info","sortedEndpoints","versionsArray","n","localeCompare","getStage","_endpoint$xDoc","getVisibility","_endpoint$xDoc2","RestEndpointHeader","AttributionInfo","RestEndpointHeaderDropdownsContainer","DropdownContainer","OpenApiVersionLabel","H1","header","H2","handleStageColor","pilot","bgColor","border","spanColor","beta","_handleStageColor","_handleStageColor2","_handleStageColor3","_templateObject17"],"sourceRoot":""}