diff --git a/bun.lock b/bun.lock index 8dc6a3a..cb3cfac 100644 --- a/bun.lock +++ b/bun.lock @@ -145,6 +145,7 @@ "@types/node": "^20.17.23", "ts-node": "10.9.2", "typescript": "5.9.3", + "vitest": "^4.0.18", }, }, }, @@ -899,10 +900,14 @@ "@types/babel__traverse": ["@types/babel__traverse@7.28.0", "", { "dependencies": { "@babel/types": "^7.28.2" } }, "sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q=="], + "@types/chai": ["@types/chai@5.2.3", "", { "dependencies": { "@types/deep-eql": "*", "assertion-error": "^2.0.1" } }, "sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA=="], + "@types/chrome": ["@types/chrome@0.1.31", "", { "dependencies": { "@types/filesystem": "*", "@types/har-format": "*" } }, "sha512-8fC9t02LRdqlSQ9bktaiLjP0NKujPNPaCKPfXxfIjZ35A9u831XY0pt0UEf2oup2SjcUEAaIYOB8mzJ51jhjmA=="], "@types/debug": ["@types/debug@4.1.12", "", { "dependencies": { "@types/ms": "*" } }, "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ=="], + "@types/deep-eql": ["@types/deep-eql@4.0.2", "", {}, "sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw=="], + "@types/estree": ["@types/estree@1.0.8", "", {}, "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w=="], "@types/filesystem": ["@types/filesystem@0.0.36", "", { "dependencies": { "@types/filewriter": "*" } }, "sha512-vPDXOZuannb9FZdxgHnqSwAG/jvdGM8Wq+6N4D/d80z+D4HWH+bItqsZaVRQykAn6WEVeEkLm2oQigyHtgb0RA=="], @@ -975,6 +980,20 @@ "@vercel/oidc": ["@vercel/oidc@3.2.0", "", {}, "sha512-UycprH3T6n3jH0k44NHMa7pnFHGu/N05MjojYr+Mc6I7obkoLIJujSWwin1pCvdy/eOxrI/l3uDLQsmcrOb4ug=="], + "@vitest/expect": ["@vitest/expect@4.0.18", "", { "dependencies": { "@standard-schema/spec": "^1.0.0", "@types/chai": "^5.2.2", "@vitest/spy": "4.0.18", "@vitest/utils": "4.0.18", "chai": "^6.2.1", "tinyrainbow": "^3.0.3" } }, "sha512-8sCWUyckXXYvx4opfzVY03EOiYVxyNrHS5QxX3DAIi5dpJAAkyJezHCP77VMX4HKA2LDT/Jpfo8i2r5BE3GnQQ=="], + + "@vitest/mocker": ["@vitest/mocker@4.0.18", "", { "dependencies": { "@vitest/spy": "4.0.18", "estree-walker": "^3.0.3", "magic-string": "^0.30.21" }, "peerDependencies": { "msw": "^2.4.9", "vite": "^6.0.0 || ^7.0.0-0" }, "optionalPeers": ["msw", "vite"] }, "sha512-HhVd0MDnzzsgevnOWCBj5Otnzobjy5wLBe4EdeeFGv8luMsGcYqDuFRMcttKWZA5vVO8RFjexVovXvAM4JoJDQ=="], + + "@vitest/pretty-format": ["@vitest/pretty-format@4.0.18", "", { "dependencies": { "tinyrainbow": "^3.0.3" } }, "sha512-P24GK3GulZWC5tz87ux0m8OADrQIUVDPIjjj65vBXYG17ZeU3qD7r+MNZ1RNv4l8CGU2vtTRqixrOi9fYk/yKw=="], + + "@vitest/runner": ["@vitest/runner@4.0.18", "", { "dependencies": { "@vitest/utils": "4.0.18", "pathe": "^2.0.3" } }, "sha512-rpk9y12PGa22Jg6g5M3UVVnTS7+zycIGk9ZNGN+m6tZHKQb7jrP7/77WfZy13Y/EUDd52NDsLRQhYKtv7XfPQw=="], + + "@vitest/snapshot": ["@vitest/snapshot@4.0.18", "", { "dependencies": { "@vitest/pretty-format": "4.0.18", "magic-string": "^0.30.21", "pathe": "^2.0.3" } }, "sha512-PCiV0rcl7jKQjbgYqjtakly6T1uwv/5BQ9SwBLekVg/EaYeQFPiXcgrC2Y7vDMA8dM1SUEAEV82kgSQIlXNMvA=="], + + "@vitest/spy": ["@vitest/spy@4.0.18", "", {}, "sha512-cbQt3PTSD7P2OARdVW3qWER5EGq7PHlvE+QfzSC0lbwO+xnt7+XH06ZzFjFRgzUX//JmpxrCu92VdwvEPlWSNw=="], + + "@vitest/utils": ["@vitest/utils@4.0.18", "", { "dependencies": { "@vitest/pretty-format": "4.0.18", "tinyrainbow": "^3.0.3" } }, "sha512-msMRKLMVLWygpK3u2Hybgi4MNjcYJvwTb0Ru09+fOyCXIgT5raYP041DRRdiJiI3k/2U6SEbAETB3YtBrUkCFA=="], + "@webext-core/fake-browser": ["@webext-core/fake-browser@1.3.4", "", { "dependencies": { "lodash.merge": "^4.6.2" } }, "sha512-nZcVWr3JpwpS5E6hKpbAwAMBM/AXZShnfW0F76udW8oLd6Kv0nbW6vFS07md4Na/0ntQonk3hFnlQYGYBAlTrA=="], "@webext-core/isolated-element": ["@webext-core/isolated-element@1.1.4", "", { "dependencies": { "is-potential-custom-element-name": "^1.0.1" } }, "sha512-JXF0F3b9JvSFmgrZ9fiaR1kiRZHXCSvwSctdahzIDmZXk2eq5H1Qev/Xk2wo3FxuwHPbdkcqDqvAowGZKLR9Ew=="], @@ -1035,6 +1054,8 @@ "asap": ["asap@2.0.6", "", {}, "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA=="], + "assertion-error": ["assertion-error@2.0.1", "", {}, "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA=="], + "async": ["async@3.2.6", "", {}, "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA=="], "async-mutex": ["async-mutex@0.5.0", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-1A94B18jkJ3DYq284ohPxoXbfTA5HsQ7/Mf4DEhcyLx3Bz27Rh59iScbB6EPiP+B+joue6YCxcMXSbFC1tZKwA=="], @@ -1129,6 +1150,8 @@ "ccount": ["ccount@2.0.1", "", {}, "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg=="], + "chai": ["chai@6.2.2", "", {}, "sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg=="], + "chalk": ["chalk@4.1.2", "", { "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" } }, "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="], "character-entities": ["character-entities@2.0.2", "", {}, "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ=="], @@ -1369,6 +1392,8 @@ "execa": ["execa@8.0.1", "", { "dependencies": { "cross-spawn": "^7.0.3", "get-stream": "^8.0.1", "human-signals": "^5.0.0", "is-stream": "^3.0.0", "merge-stream": "^2.0.0", "npm-run-path": "^5.1.0", "onetime": "^6.0.0", "signal-exit": "^4.1.0", "strip-final-newline": "^3.0.0" } }, "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg=="], + "expect-type": ["expect-type@1.3.0", "", {}, "sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA=="], + "expo": ["expo@55.0.0-canary-20251230-fc48ddc", "", { "dependencies": { "@babel/runtime": "^7.20.0", "@expo/cli": "55.0.0-canary-20251230-fc48ddc", "@expo/config": "12.0.14-canary-20251230-fc48ddc", "@expo/config-plugins": "54.0.5-canary-20251230-fc48ddc", "@expo/devtools": "0.1.9-canary-20251230-fc48ddc", "@expo/fingerprint": "0.15.5-canary-20251230-fc48ddc", "@expo/local-build-cache-provider": "0.0.1-canary-20251230-fc48ddc", "@expo/log-box": "0.0.13-canary-20251230-fc48ddc", "@expo/metro": "~54.2.0", "@expo/metro-config": "54.1.0-canary-20251230-fc48ddc", "@expo/vector-icons": "^15.0.2", "@ungap/structured-clone": "^1.3.0", "babel-preset-expo": "54.1.0-canary-20251230-fc48ddc", "expo-asset": "12.0.13-canary-20251230-fc48ddc", "expo-constants": "18.1.0-canary-20251230-fc48ddc", "expo-file-system": "19.0.22-canary-20251230-fc48ddc", "expo-font": "14.1.0-canary-20251230-fc48ddc", "expo-keep-awake": "15.0.9-canary-20251230-fc48ddc", "expo-modules-autolinking": "3.1.0-canary-20251230-fc48ddc", "expo-modules-core": "4.0.0-canary-20251230-fc48ddc", "pretty-format": "^29.7.0", "react-refresh": "^0.14.2", "whatwg-url-without-unicode": "8.0.0-3" }, "peerDependencies": { "@expo/dom-webview": "0.2.9-canary-20251230-fc48ddc", "@expo/metro-runtime": "6.2.0-canary-20251230-fc48ddc", "react": "*", "react-native": "*", "react-native-webview": "*" }, "optionalPeers": ["@expo/dom-webview", "@expo/metro-runtime", "react-native-webview"], "bin": { "expo": "bin/cli", "fingerprint": "bin/fingerprint", "expo-modules-autolinking": "bin/autolinking" } }, "sha512-NPj83TmylfKtcb47CetlJuTWB9bsHEYS6z8dFG0HjwsZJo9xg4LYMLGf0HRImK0TwFmohKkXQHdZ0DM6D3Q1+w=="], "expo-application": ["expo-application@7.0.9-canary-20251230-fc48ddc", "", { "peerDependencies": { "expo": "55.0.0-canary-20251230-fc48ddc" } }, "sha512-QMv5XMHgTV2uq3oNfXGOVaBDEwRzpVkwGALu7WkE9NmJsFgFAnLS5+EXV0gY52AJDL3IYFX2vi8WdW4uWS7PMA=="], @@ -2011,6 +2036,8 @@ "object-hash": ["object-hash@3.0.0", "", {}, "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw=="], + "obug": ["obug@2.1.1", "", {}, "sha512-uTqF9MuPraAQ+IsnPf366RG4cP9RtUi7MLO1N3KEc+wb0a6yKpeL0lmk2IB1jY5KHPAlTc6T/JRdC/YqxHNwkQ=="], + "ofetch": ["ofetch@1.5.1", "", { "dependencies": { "destr": "^2.0.5", "node-fetch-native": "^1.6.7", "ufo": "^1.6.1" } }, "sha512-2W4oUZlVaqAPAil6FUg/difl6YhqhUR7x2eZY4bQCko22UXg3hptq9KLQdqFClV+Wu85UX7hNtdGTngi/1BxcA=="], "ohash": ["ohash@2.0.11", "", {}, "sha512-RdR9FQrFwNBNXAr4GixM8YaRZRJ5PUWbKYbE5eOsrwAjJW0q2REGcf79oYPsLyskQCZG1PLN+S/K1V00joZAoQ=="], @@ -2071,13 +2098,13 @@ "path-scurry": ["path-scurry@1.11.1", "", { "dependencies": { "lru-cache": "^10.2.0", "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" } }, "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA=="], - "pathe": ["pathe@1.1.2", "", {}, "sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ=="], + "pathe": ["pathe@2.0.3", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="], "perfect-debounce": ["perfect-debounce@2.1.0", "", {}, "sha512-LjgdTytVFXeUgtHZr9WYViYSM/g8MkcTPYDlPa3cDqMirHjKiSZPYd6DoL7pK8AJQr+uWkQvCjHNdiMqsrJs+g=="], "picocolors": ["picocolors@1.1.1", "", {}, "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="], - "picomatch": ["picomatch@2.3.1", "", {}, "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="], + "picomatch": ["picomatch@4.0.3", "", {}, "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q=="], "pidtree": ["pidtree@0.6.0", "", { "bin": { "pidtree": "bin/pidtree.js" } }, "sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g=="], @@ -2311,6 +2338,8 @@ "shellwords": ["shellwords@0.1.1", "", {}, "sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww=="], + "siginfo": ["siginfo@2.0.0", "", {}, "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g=="], + "signal-exit": ["signal-exit@4.1.0", "", {}, "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw=="], "simple-plist": ["simple-plist@1.3.1", "", { "dependencies": { "bplist-creator": "0.1.0", "bplist-parser": "0.3.1", "plist": "^3.0.5" } }, "sha512-iMSw5i0XseMnrhtIzRb7XpQEXepa9xhWxGUojHBL43SIpQuDQkh3Wpy67ZbDzZVr6EKxvwVChnVpdl8hEVLDiw=="], @@ -2345,6 +2374,8 @@ "stack-utils": ["stack-utils@2.0.6", "", { "dependencies": { "escape-string-regexp": "^2.0.0" } }, "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ=="], + "stackback": ["stackback@0.0.2", "", {}, "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw=="], + "stackframe": ["stackframe@1.3.4", "", {}, "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw=="], "stacktrace-parser": ["stacktrace-parser@0.1.11", "", { "dependencies": { "type-fest": "^0.7.1" } }, "sha512-WjlahMgHmCJpqzU8bIBy4qtsZdU9lRlcZE3Lvyej6t4tuOuv1vk57OW3MBrj6hXBFx/nNoC9MPMTcr5YA7NQbg=="], @@ -2353,6 +2384,8 @@ "statuses": ["statuses@2.0.2", "", {}, "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw=="], + "std-env": ["std-env@3.10.0", "", {}, "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg=="], + "stdin-discarder": ["stdin-discarder@0.2.2", "", {}, "sha512-UhDfHmA92YAlNnCfhmq0VeNL5bDbiZGg7sZ2IvPsXubGkiNa9EC+tUTsjBRsYUAz87btI6/1wf4XoVvQ3uRnmQ=="], "stream-buffers": ["stream-buffers@2.2.0", "", {}, "sha512-uyQK/mx5QjHun80FLJTfaWE7JtwfRMKBLkMne6udYOmvH0CawotVa7TfgYHzAnpphn4+TweIx1QKMnRIbipmUg=="], @@ -2423,10 +2456,14 @@ "through": ["through@2.3.8", "", {}, "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg=="], + "tinybench": ["tinybench@2.9.0", "", {}, "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg=="], + "tinyexec": ["tinyexec@1.0.2", "", {}, "sha512-W/KYk+NFhkmsYpuHq5JykngiOCnxeVL8v8dFnqxSD8qEEdRfXk1SDM6JzNqcERbcGYj9tMrDQBYV9cjgnunFIg=="], "tinyglobby": ["tinyglobby@0.2.15", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.3" } }, "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ=="], + "tinyrainbow": ["tinyrainbow@3.0.3", "", {}, "sha512-PSkbLUoxOFRzJYjjxHJt9xro7D+iilgMX/C9lawzVuYiIdcihh9DXmVibBe8lmcFrRi/VzlPjBxbN7rH24q8/Q=="], + "tmp": ["tmp@0.2.5", "", {}, "sha512-voyz6MApa1rQGUxT3E+BK7/ROe8itEx7vD8/HEvt4xwXucvQ5G5oeEiHkmHZJuBO21RpOf+YYm9MOivj709jow=="], "tmpl": ["tmpl@1.0.5", "", {}, "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw=="], @@ -2537,6 +2574,8 @@ "vite-node": ["vite-node@3.2.4", "", { "dependencies": { "cac": "^6.7.14", "debug": "^4.4.1", "es-module-lexer": "^1.7.0", "pathe": "^2.0.3", "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0" }, "bin": { "vite-node": "vite-node.mjs" } }, "sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg=="], + "vitest": ["vitest@4.0.18", "", { "dependencies": { "@vitest/expect": "4.0.18", "@vitest/mocker": "4.0.18", "@vitest/pretty-format": "4.0.18", "@vitest/runner": "4.0.18", "@vitest/snapshot": "4.0.18", "@vitest/spy": "4.0.18", "@vitest/utils": "4.0.18", "es-module-lexer": "^1.7.0", "expect-type": "^1.2.2", "magic-string": "^0.30.21", "obug": "^2.1.1", "pathe": "^2.0.3", "picomatch": "^4.0.3", "std-env": "^3.10.0", "tinybench": "^2.9.0", "tinyexec": "^1.0.2", "tinyglobby": "^0.2.15", "tinyrainbow": "^3.0.3", "vite": "^6.0.0 || ^7.0.0", "why-is-node-running": "^2.3.0" }, "peerDependencies": { "@edge-runtime/vm": "*", "@opentelemetry/api": "^1.9.0", "@types/node": "^20.0.0 || ^22.0.0 || >=24.0.0", "@vitest/browser-playwright": "4.0.18", "@vitest/browser-preview": "4.0.18", "@vitest/browser-webdriverio": "4.0.18", "@vitest/ui": "4.0.18", "happy-dom": "*", "jsdom": "*" }, "optionalPeers": ["@edge-runtime/vm", "@opentelemetry/api", "@types/node", "@vitest/browser-playwright", "@vitest/browser-preview", "@vitest/browser-webdriverio", "@vitest/ui", "happy-dom", "jsdom"], "bin": { "vitest": "vitest.mjs" } }, "sha512-hOQuK7h0FGKgBAas7v0mSAsnvrIgAvWmRFjmzpJ7SwFHH3g1k2u37JtYwOwmEKhK6ZO3v9ggDBBm0La1LCK4uQ=="], + "vlq": ["vlq@1.0.1", "", {}, "sha512-gQpnTgkubC6hQgdIcRdYGDSDc+SaujOdyesZQMv6JlfQee/9Mp0Qhnys6WxDWvQnL5WZdT7o2Ul187aSt0Rq+w=="], "walker": ["walker@1.0.8", "", { "dependencies": { "makeerror": "1.0.12" } }, "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ=="], @@ -2565,6 +2604,8 @@ "which": ["which@2.0.2", "", { "dependencies": { "isexe": "^2.0.0" }, "bin": { "node-which": "./bin/node-which" } }, "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA=="], + "why-is-node-running": ["why-is-node-running@2.3.0", "", { "dependencies": { "siginfo": "^2.0.0", "stackback": "0.0.2" }, "bin": { "why-is-node-running": "cli.js" } }, "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w=="], + "widest-line": ["widest-line@5.0.0", "", { "dependencies": { "string-width": "^7.0.0" } }, "sha512-c9bZp7b5YtRj2wOe6dlj32MK+Bx/M/d+9VB2SHM1OtsUHR0aV0tdP6DWh/iMt0kWi1t5g1Iudu6hQRNd1A4PVA=="], "winreg": ["winreg@0.0.12", "", {}, "sha512-typ/+JRmi7RqP1NanzFULK36vczznSNN8kWVA9vIqXyv8GhghUlwhGp1Xj3Nms1FsPcNnsQrJOR10N58/nQ9hQ=="], @@ -2625,6 +2666,8 @@ "@aklinker1/rollup-plugin-visualizer/open": ["open@8.4.2", "", { "dependencies": { "define-lazy-prop": "^2.0.0", "is-docker": "^2.1.1", "is-wsl": "^2.2.0" } }, "sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ=="], + "@aklinker1/rollup-plugin-visualizer/picomatch": ["picomatch@2.3.1", "", {}, "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="], + "@aklinker1/rollup-plugin-visualizer/source-map": ["source-map@0.7.6", "", {}, "sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ=="], "@babel/code-frame/js-tokens": ["js-tokens@4.0.0", "", {}, "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="], @@ -2855,6 +2898,8 @@ "ansi-align/string-width": ["string-width@4.2.3", "", { "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="], + "anymatch/picomatch": ["picomatch@2.3.1", "", {}, "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="], + "babel-plugin-polyfill-corejs2/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], "babel-plugin-syntax-hermes-parser/hermes-parser": ["hermes-parser@0.29.1", "", { "dependencies": { "hermes-estree": "0.29.1" } }, "sha512-xBHWmUtRC5e/UL0tI7Ivt2riA/YBq9+SiYFU7C1oBa/j2jYGlIF9043oak1F47ihuDIxQ5nbsKueYJDRY02UgA=="], @@ -2875,6 +2920,8 @@ "c12/ohash": ["ohash@1.1.6", "", {}, "sha512-TBu7PtV8YkAZn0tSxobKY2n2aAQva936lhRrj6957aDaCf9IEtqsKbgMzXE/F/sjqYOwmrukeORHNLe5glk7Cg=="], + "c12/pathe": ["pathe@1.1.2", "", {}, "sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ=="], + "c12/perfect-debounce": ["perfect-debounce@1.0.0", "", {}, "sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA=="], "chrome-launcher/is-wsl": ["is-wsl@2.2.0", "", { "dependencies": { "is-docker": "^2.0.0" } }, "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww=="], @@ -2949,8 +2996,6 @@ "fx-runner/which": ["which@1.2.4", "", { "dependencies": { "is-absolute": "^0.1.7", "isexe": "^1.1.1" }, "bin": { "which": "./bin/which" } }, "sha512-zDRAqDSBudazdfM9zpiI30Fu9ve47htYXcGi3ln0wfKu2a7SmrT6F3VDoYONu//48V8Vz4TdCRNPjtvyRO3yBA=="], - "giget/pathe": ["pathe@2.0.3", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="], - "glob/minimatch": ["minimatch@9.0.9", "", { "dependencies": { "brace-expansion": "^2.0.2" } }, "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg=="], "global-directory/ini": ["ini@4.1.1", "", {}, "sha512-QQnnxNyfvmHFIsj7gkPcYymR8Jdw/o7mp5ZFihxn6h8Ci6fh3Dx4E1gPjpQEpIuPo9XVNY/ZUwh4BPMjGyL01g=="], @@ -2977,6 +3022,8 @@ "jest-util/ci-info": ["ci-info@3.9.0", "", {}, "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ=="], + "jest-util/picomatch": ["picomatch@2.3.1", "", {}, "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="], + "jest-validate/camelcase": ["camelcase@6.3.0", "", {}, "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA=="], "jest-worker/supports-color": ["supports-color@8.1.1", "", { "dependencies": { "has-flag": "^4.0.0" } }, "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q=="], @@ -3039,7 +3086,7 @@ "micromark/debug": ["debug@4.4.3", "", { "dependencies": { "ms": "^2.1.3" } }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="], - "mlly/pathe": ["pathe@2.0.3", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="], + "micromatch/picomatch": ["picomatch@2.3.1", "", {}, "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="], "mobile/react": ["react@19.2.4", "", {}, "sha512-9nfp2hYpCwOjAN+8TZFGhtWEwgvWHXqESH8qT89AT/lWklpLON22Lc8pEtnpsZz7VmawabSU0gCjnj8aC0euHQ=="], @@ -3061,8 +3108,6 @@ "nypm/citty": ["citty@0.2.1", "", {}, "sha512-kEV95lFBhQgtogAPlQfJJ0WGVSokvLr/UEoFPiKKOXF7pl98HfUVUD0ejsuTCld/9xH9vogSywZ5KqHzXrZpqg=="], - "nypm/pathe": ["pathe@2.0.3", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="], - "ora/chalk": ["chalk@5.3.0", "", {}, "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w=="], "p-queue/eventemitter3": ["eventemitter3@4.0.7", "", {}, "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw=="], @@ -3075,8 +3120,6 @@ "path-scurry/lru-cache": ["lru-cache@10.4.3", "", {}, "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ=="], - "pkg-types/pathe": ["pathe@2.0.3", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="], - "plist/@xmldom/xmldom": ["@xmldom/xmldom@0.8.11", "", {}, "sha512-cQzWCtO6C8TQiYl1ruKNn2U6Ao4o4WBBcbL61yJl84x+j5sOWWFU9X7DpND8XZG3daDppSsigMdfAIl2upQBRw=="], "plist/xmlbuilder": ["xmlbuilder@15.1.1", "", {}, "sha512-yMqGBqtXyeN1e3TGYvgNgDVZ3j84W4cwkOXQswghol6APgZWaff9lnbvN7MHYJOiXsvGPXtjTYJEiC9J2wv9Eg=="], @@ -3163,36 +3206,20 @@ "test-exclude/minimatch": ["minimatch@3.1.5", "", { "dependencies": { "brace-expansion": "^1.1.7" } }, "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w=="], - "tinyglobby/picomatch": ["picomatch@4.0.3", "", {}, "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q=="], - "unimport/escape-string-regexp": ["escape-string-regexp@5.0.0", "", {}, "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw=="], - "unimport/pathe": ["pathe@2.0.3", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="], - - "unimport/picomatch": ["picomatch@4.0.3", "", {}, "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q=="], - "unimport/pkg-types": ["pkg-types@2.3.0", "", { "dependencies": { "confbox": "^0.2.2", "exsolve": "^1.0.7", "pathe": "^2.0.3" } }, "sha512-SIqCzDRg0s9npO5XQ3tNZioRY1uK06lA41ynBC1YmFTmnY6FjUjVt6s4LoADmwoig1qqD0oK8h1p/8mlMx8Oig=="], - "unplugin/picomatch": ["picomatch@4.0.3", "", {}, "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q=="], - - "unplugin-utils/pathe": ["pathe@2.0.3", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="], - - "unplugin-utils/picomatch": ["picomatch@4.0.3", "", {}, "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q=="], - "update-notifier/chalk": ["chalk@5.3.0", "", {}, "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w=="], "update-notifier/semver": ["semver@7.7.4", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA=="], "vite/esbuild": ["esbuild@0.27.3", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.27.3", "@esbuild/android-arm": "0.27.3", "@esbuild/android-arm64": "0.27.3", "@esbuild/android-x64": "0.27.3", "@esbuild/darwin-arm64": "0.27.3", "@esbuild/darwin-x64": "0.27.3", "@esbuild/freebsd-arm64": "0.27.3", "@esbuild/freebsd-x64": "0.27.3", "@esbuild/linux-arm": "0.27.3", "@esbuild/linux-arm64": "0.27.3", "@esbuild/linux-ia32": "0.27.3", "@esbuild/linux-loong64": "0.27.3", "@esbuild/linux-mips64el": "0.27.3", "@esbuild/linux-ppc64": "0.27.3", "@esbuild/linux-riscv64": "0.27.3", "@esbuild/linux-s390x": "0.27.3", "@esbuild/linux-x64": "0.27.3", "@esbuild/netbsd-arm64": "0.27.3", "@esbuild/netbsd-x64": "0.27.3", "@esbuild/openbsd-arm64": "0.27.3", "@esbuild/openbsd-x64": "0.27.3", "@esbuild/openharmony-arm64": "0.27.3", "@esbuild/sunos-x64": "0.27.3", "@esbuild/win32-arm64": "0.27.3", "@esbuild/win32-ia32": "0.27.3", "@esbuild/win32-x64": "0.27.3" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-8VwMnyGCONIs6cWue2IdpHxHnAjzxnw2Zr7MkVxB2vjmQ2ivqGFb4LEG3SMnv0Gb2F/G/2yA8zUaiL1gywDCCg=="], - "vite/picomatch": ["picomatch@4.0.3", "", {}, "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q=="], - "vite/postcss": ["postcss@8.5.8", "", { "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-OW/rX8O/jXnm82Ey1k44pObPtdblfiuWnrd8X7GJ7emImCOstunGbXUpp7HdBrFQX6rJzn3sPT397Wp5aCwCHg=="], "vite-node/debug": ["debug@4.4.3", "", { "dependencies": { "ms": "^2.1.3" } }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="], - "vite-node/pathe": ["pathe@2.0.3", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="], - "web-ext-run/@babel/runtime": ["@babel/runtime@7.28.2", "", {}, "sha512-KHp2IflsnGywDjBWDkR9iEqiWSpc8GIi0lgTT3mOElT0PP1tG26P4tmFI2YvAdzgq9RGyoHZQEIEdZy6Ec5xCA=="], "whatwg-url/webidl-conversions": ["webidl-conversions@3.0.1", "", {}, "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="], @@ -3357,6 +3384,8 @@ "@istanbuljs/load-nyc-config/js-yaml/argparse": ["argparse@1.0.10", "", { "dependencies": { "sprintf-js": "~1.0.2" } }, "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg=="], + "@jest/transform/micromatch/picomatch": ["picomatch@2.3.1", "", {}, "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="], + "@react-native/babel-plugin-codegen/@react-native/codegen/glob": ["glob@7.2.3", "", { "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", "minimatch": "^3.1.1", "once": "^1.3.0", "path-is-absolute": "^1.0.0" } }, "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q=="], "@react-native/babel-plugin-codegen/@react-native/codegen/hermes-parser": ["hermes-parser@0.29.1", "", { "dependencies": { "hermes-estree": "0.29.1" } }, "sha512-xBHWmUtRC5e/UL0tI7Ivt2riA/YBq9+SiYFU7C1oBa/j2jYGlIF9043oak1F47ihuDIxQ5nbsKueYJDRY02UgA=="], @@ -3453,6 +3482,8 @@ "expo/babel-preset-expo/debug": ["debug@4.4.3", "", { "dependencies": { "ms": "^2.1.3" } }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="], + "fast-glob/micromatch/picomatch": ["picomatch@2.3.1", "", {}, "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="], + "finalhandler/debug/ms": ["ms@2.0.0", "", {}, "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="], "firefox-profile/xml2js/xmlbuilder": ["xmlbuilder@11.0.1", "", {}, "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA=="], @@ -3467,12 +3498,14 @@ "ioredis/debug/ms": ["ms@2.1.3", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="], + "jest-haste-map/micromatch/picomatch": ["picomatch@2.3.1", "", {}, "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="], + + "jest-message-util/micromatch/picomatch": ["picomatch@2.3.1", "", {}, "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="], + "lighthouse-logger/debug/ms": ["ms@2.1.3", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="], "local-pkg/pkg-types/confbox": ["confbox@0.2.4", "", {}, "sha512-ysOGlgTFbN2/Y6Cg3Iye8YKulHw+R2fNXHrgSmXISQdMnomY6eNDprVdW9R5xBguEqI954+S6709UyiO7B+6OQ=="], - "local-pkg/pkg-types/pathe": ["pathe@2.0.3", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="], - "log-update/slice-ansi/ansi-styles": ["ansi-styles@6.2.3", "", {}, "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg=="], "log-update/slice-ansi/is-fullwidth-code-point": ["is-fullwidth-code-point@5.1.0", "", { "dependencies": { "get-east-asian-width": "^1.3.1" } }, "sha512-5XHYaSyiqADb4RnZ1Bdad6cPp8Toise4TzEjcOYDHZkTCbKgiUl7WTUCpNWHuxmDt91wnsZBc9xinNzopv3JMQ=="], @@ -3481,6 +3514,8 @@ "metro-file-map/debug/ms": ["ms@2.1.3", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="], + "metro-file-map/micromatch/picomatch": ["picomatch@2.3.1", "", {}, "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="], + "metro-symbolicate/metro-source-map/ob1": ["ob1@0.83.3", "", { "dependencies": { "flow-enums-runtime": "^0.0.6" } }, "sha512-egUxXCDwoWG06NGCS5s5AdcpnumHKJlfd3HH06P3m9TEMwwScfcY35wpQxbm9oHof+dM/lVH9Rfyu1elTVelSA=="], "metro-transform-worker/metro-source-map/ob1": ["ob1@0.83.3", "", { "dependencies": { "flow-enums-runtime": "^0.0.6" } }, "sha512-egUxXCDwoWG06NGCS5s5AdcpnumHKJlfd3HH06P3m9TEMwwScfcY35wpQxbm9oHof+dM/lVH9Rfyu1elTVelSA=="], @@ -3513,6 +3548,8 @@ "tailwindcss/chokidar/readdirp": ["readdirp@3.6.0", "", { "dependencies": { "picomatch": "^2.2.1" } }, "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA=="], + "tailwindcss/micromatch/picomatch": ["picomatch@2.3.1", "", {}, "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="], + "terminal-link/ansi-escapes/type-fest": ["type-fest@0.21.3", "", {}, "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w=="], "test-exclude/minimatch/brace-expansion": ["brace-expansion@1.1.12", "", { "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg=="], @@ -3581,8 +3618,6 @@ "wxt/c12/jiti": ["jiti@2.6.1", "", { "bin": { "jiti": "lib/jiti-cli.mjs" } }, "sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ=="], - "wxt/c12/pathe": ["pathe@2.0.3", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="], - "wxt/c12/pkg-types": ["pkg-types@2.3.0", "", { "dependencies": { "confbox": "^0.2.2", "exsolve": "^1.0.7", "pathe": "^2.0.3" } }, "sha512-SIqCzDRg0s9npO5XQ3tNZioRY1uK06lA41ynBC1YmFTmnY6FjUjVt6s4LoADmwoig1qqD0oK8h1p/8mlMx8Oig=="], "yargs/string-width/emoji-regex": ["emoji-regex@8.0.0", "", {}, "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="], @@ -3595,6 +3630,8 @@ "@calcom/slack/lint-staged/listr2/cli-truncate": ["cli-truncate@5.2.0", "", { "dependencies": { "slice-ansi": "^8.0.0", "string-width": "^8.2.0" } }, "sha512-xRwvIOMGrfOAnM1JYtqQImuaNtDEv9v6oIYAs4LIHwTiKee8uwvIi363igssOC0O5U04i4AlENs79LQLu9tEMw=="], + "@calcom/slack/lint-staged/micromatch/picomatch": ["picomatch@2.3.1", "", {}, "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="], + "@eslint/config-array/minimatch/brace-expansion/balanced-match": ["balanced-match@1.0.2", "", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="], "@eslint/eslintrc/minimatch/brace-expansion/balanced-match": ["balanced-match@1.0.2", "", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="], @@ -3697,6 +3734,8 @@ "rimraf/glob/minimatch/brace-expansion": ["brace-expansion@1.1.12", "", { "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg=="], + "tailwindcss/chokidar/readdirp/picomatch": ["picomatch@2.3.1", "", {}, "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="], + "test-exclude/minimatch/brace-expansion/balanced-match": ["balanced-match@1.0.2", "", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="], "wxt/c12/chokidar/readdirp": ["readdirp@5.0.0", "", {}, "sha512-9u/XQ1pvrQtYyMpZe7DXKv2p5CNvyVwzUB6uhLAnQwHMSgKMBR62lc7AHljaeteeHXn11XTAaLLUVZYVZyuRBQ=="], @@ -3729,6 +3768,8 @@ "@react-native/codegen/glob/minimatch/brace-expansion/balanced-match": ["balanced-match@1.0.2", "", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="], + "@react-native/community-cli-plugin/metro/metro-file-map/micromatch/picomatch": ["picomatch@2.3.1", "", {}, "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="], + "@react-native/dev-middleware/chrome-launcher/lighthouse-logger/debug/ms": ["ms@2.0.0", "", {}, "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="], "c12/giget/tar/minizlib/minipass": ["minipass@3.3.6", "", { "dependencies": { "yallist": "^4.0.0" } }, "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw=="], diff --git a/packages/cli/package.json b/packages/cli/package.json index 5ee70a8..c2155a6 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -29,7 +29,9 @@ "type-check:ci": "yarn generate && tsc --noEmit", "lint": "biome lint .", "lint:fix": "biome lint --write .", - "prepack": "yarn build" + "prepack": "yarn build", + "test": "vitest run", + "test:update": "vitest run --update" }, "dependencies": { "@hey-api/client-fetch": "^0.6.0", @@ -41,6 +43,7 @@ "@hey-api/openapi-ts": "^0.61.0", "@types/node": "^20.17.23", "ts-node": "10.9.2", - "typescript": "5.9.3" + "typescript": "5.9.3", + "vitest": "^4.0.18" } } diff --git a/packages/cli/src/__tests__/__snapshots__/endpoint-parameter-contracts.test.ts.snap b/packages/cli/src/__tests__/__snapshots__/endpoint-parameter-contracts.test.ts.snap new file mode 100644 index 0000000..3dc4899 --- /dev/null +++ b/packages/cli/src/__tests__/__snapshots__/endpoint-parameter-contracts.test.ts.snap @@ -0,0 +1,32969 @@ +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html + +exports[`OpenAPI Endpoint Parameter Contracts > should match the component schemas snapshot 1`] = ` +{ + "AddAttendeeInput_2024_08_13": { + "properties": { + "email": "string", + "language": "enum(ar|ca|de|es|eu|he|id|ja|lv|pl|ro|sr|th|vi|az|cs|el|es-419|fi|hr|it|km|nl|pt|ru|sv|tr|zh-CN|bg|da|en|et|fr|hu|iw|ko|no|pt-BR|sk|ta|uk|zh-TW|bn)", + "name": "string", + "phoneNumber": "string", + "timeZone": "string", + }, + "required": [ + "email", + "name", + "timeZone", + ], + }, + "AddAttendeeOutput_2024_08_13": { + "properties": { + "data": "BookingAttendeeOutput_2024_08_13", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "AddGuestsInput_2024_08_13": { + "properties": { + "guests": "array", + }, + "required": [ + "guests", + ], + }, + "AddGuestsOutput_2024_08_13": { + "properties": { + "data": "unknown", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "AddressFieldInput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "label": "string", + "placeholder": "string", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "hidden", + "label", + "placeholder", + "required", + "slug", + "type", + ], + }, + "AddressFieldOutput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "isDefault": "object", + "label": "string", + "placeholder": "string", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "hidden", + "isDefault", + "label", + "placeholder", + "required", + "slug", + "type", + ], + }, + "ApiKeyOutput": { + "properties": { + "apiKey": "string", + }, + "required": [ + "apiKey", + ], + }, + "AssignOptionUserOutput": { + "properties": { + "data": "AssignOptionUserOutputData", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "AssignOptionUserOutputData": { + "properties": { + "attributeOptionId": "string", + "id": "string", + "memberId": "number", + }, + "required": [ + "attributeOptionId", + "id", + "memberId", + ], + }, + "AssignOrganizationAttributeOptionToUserInput": { + "properties": { + "attributeId": "string", + "attributeOptionId": "string", + "value": "string", + }, + "required": [ + "attributeId", + ], + }, + "AssignedOptionOutput": { + "properties": { + "assignedUserIds": "array", + "attributeId": "string", + "id": "string", + "slug": "string", + "value": "string", + }, + "required": [ + "assignedUserIds", + "attributeId", + "id", + "slug", + "value", + ], + }, + "Attribute": { + "properties": { + "enabled": "boolean", + "id": "string", + "name": "string", + "slug": "string", + "teamId": "number", + "type": "enum(TEXT|NUMBER|SINGLE_SELECT|MULTI_SELECT)", + "usersCanEditRelation": "boolean", + }, + "required": [ + "enabled", + "id", + "name", + "slug", + "teamId", + "type", + ], + }, + "BaseAttribute": { + "properties": { + "id": "string", + "name": "string", + }, + "required": [ + "id", + "name", + ], + }, + "BaseBookingLimitsCount_2024_06_14": { + "properties": { + "day": "number", + "disabled": "boolean", + "month": "number", + "week": "number", + "year": "number", + }, + }, + "BaseBookingLimitsDuration_2024_06_14": { + "properties": { + "day": "number", + "month": "number", + "week": "number", + "year": "number", + }, + }, + "BaseConfirmationPolicy_2024_06_14": { + "properties": { + "blockUnconfirmedBookingsInBooker": "boolean", + "noticeThreshold": "unknown", + "type": "enum(always|time)", + }, + "required": [ + "blockUnconfirmedBookingsInBooker", + "type", + ], + }, + "BookerActiveBookingsLimitOutput_2024_06_14": { + "properties": { + "maximumActiveBookings": "number", + "offerReschedule": "boolean", + }, + }, + "BookerActiveBookingsLimit_2024_06_14": { + "properties": { + "maximumActiveBookings": "number", + "offerReschedule": "boolean", + }, + }, + "BookerLayouts_2024_06_14": { + "properties": { + "defaultLayout": "enum(month|week|column)", + "enabledLayouts": "array", + }, + "required": [ + "defaultLayout", + "enabledLayouts", + ], + }, + "BookingAttendee": { + "properties": { + "absent": "boolean", + "displayEmail": "string", + "email": "string", + "language": "enum(ar|ca|de|es|eu|he|id|ja|lv|pl|ro|sr|th|vi|az|cs|el|es-419|fi|hr|it|km|nl|pt|ru|sv|tr|zh-CN|bg|da|en|et|fr|hu|iw|ko|no|pt-BR|sk|ta|uk|zh-TW|bn)", + "name": "string", + "phoneNumber": "string", + "timeZone": "string", + }, + "required": [ + "absent", + "displayEmail", + "email", + "name", + "timeZone", + ], + }, + "BookingAttendeeOutput_2024_08_13": { + "properties": { + "absent": "boolean", + "bookingId": "number", + "displayEmail": "string", + "email": "string", + "id": "number", + "language": "enum(ar|ca|de|es|eu|he|id|ja|lv|pl|ro|sr|th|vi|az|cs|el|es-419|fi|hr|it|km|nl|pt|ru|sv|tr|zh-CN|bg|da|en|et|fr|hu|iw|ko|no|pt-BR|sk|ta|uk|zh-TW|bn)", + "name": "string", + "phoneNumber": "string", + "timeZone": "string", + }, + "required": [ + "absent", + "bookingId", + "displayEmail", + "email", + "id", + "name", + "timeZone", + ], + }, + "BookingAttendeeWithId_2024_08_13": { + "properties": { + "absent": "boolean", + "displayEmail": "string", + "email": "string", + "id": "number", + "language": "enum(ar|ca|de|es|eu|he|id|ja|lv|pl|ro|sr|th|vi|az|cs|el|es-419|fi|hr|it|km|nl|pt|ru|sv|tr|zh-CN|bg|da|en|et|fr|hu|iw|ko|no|pt-BR|sk|ta|uk|zh-TW|bn)", + "name": "string", + "phoneNumber": "string", + "timeZone": "string", + }, + "required": [ + "absent", + "displayEmail", + "email", + "id", + "name", + "timeZone", + ], + }, + "BookingHost": { + "properties": { + "displayEmail": "string", + "email": "string", + "id": "number", + "name": "string", + "timeZone": "string", + "username": "string", + }, + "required": [ + "displayEmail", + "email", + "id", + "name", + "timeZone", + "username", + ], + }, + "BookingInputAddressLocation_2024_08_13": { + "properties": { + "type": "string", + }, + "required": [ + "type", + ], + }, + "BookingInputAttendeeAddressLocation_2024_08_13": { + "properties": { + "address": "string", + "type": "string", + }, + "required": [ + "address", + "type", + ], + }, + "BookingInputAttendeeDefinedLocation_2024_08_13": { + "properties": { + "location": "string", + "type": "string", + }, + "required": [ + "location", + "type", + ], + }, + "BookingInputAttendeePhoneLocation_2024_08_13": { + "properties": { + "phone": "string", + "type": "string", + }, + "required": [ + "phone", + "type", + ], + }, + "BookingInputIntegrationLocation_2024_08_13": { + "properties": { + "integration": "enum(cal-video|google-meet|zoom|whereby-video|whatsapp-video|webex-video|telegram-video|tandem|sylaps-video|skype-video|sirius-video|signal-video|shimmer-video|salesroom-video|roam-video|riverside-video|ping-video|office365-video|mirotalk-video|jitsi|jelly-video|jelly-conferencing|huddle|facetime-video|element-call-video|eightxeight-video|discord-video|demodesk-video|campfire-video)", + "type": "string", + }, + "required": [ + "integration", + "type", + ], + }, + "BookingInputLinkLocation_2024_08_13": { + "properties": { + "type": "string", + }, + "required": [ + "type", + ], + }, + "BookingInputOrganizersDefaultAppLocation_2024_08_13": { + "properties": { + "type": "string", + }, + "required": [ + "type", + ], + }, + "BookingInputPhoneLocation_2024_08_13": { + "properties": { + "type": "string", + }, + "required": [ + "type", + ], + }, + "BookingOutput_2024_08_13": { + "properties": { + "absentHost": "boolean", + "attendees": "array", + "bookingFieldsResponses": "object", + "cancellationReason": "string", + "cancelledByEmail": "string", + "createdAt": "string", + "description": "string", + "duration": "number", + "end": "string", + "eventType": "EventType", + "eventTypeId": "number", + "guests": "array", + "hosts": "array", + "icsUid": "string", + "id": "number", + "location": "string", + "meetingUrl": "string", + "metadata": "object", + "rating": "number", + "rescheduledByEmail": "string", + "rescheduledFromUid": "string", + "rescheduledToUid": "string", + "reschedulingReason": "string", + "start": "string", + "status": "enum(cancelled|accepted|rejected|pending)", + "title": "string", + "uid": "string", + "updatedAt": "string", + }, + "required": [ + "absentHost", + "attendees", + "bookingFieldsResponses", + "createdAt", + "description", + "duration", + "end", + "eventType", + "eventTypeId", + "hosts", + "id", + "location", + "start", + "status", + "title", + "uid", + "updatedAt", + ], + }, + "BookingReference": { + "properties": { + "destinationCalendarId": "string", + "eventUid": "string", + "id": "number", + "type": "string", + }, + "required": [ + "destinationCalendarId", + "eventUid", + "id", + "type", + ], + }, + "BookingReferencesOutput_2024_08_13": { + "properties": { + "data": "array", + "status": "object", + }, + "required": [ + "data", + "status", + ], + }, + "BooleanFieldInput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "label": "string", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "hidden", + "label", + "required", + "slug", + "type", + ], + }, + "BooleanFieldOutput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "isDefault": "object", + "label": "string", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "hidden", + "isDefault", + "label", + "required", + "slug", + "type", + ], + }, + "BusinessDaysWindow_2024_06_14": { + "properties": { + "rolling": "boolean", + "type": "enum(businessDays|calendarDays|range)", + "value": "number", + }, + "required": [ + "type", + "value", + ], + }, + "BusyTimesOutput": { + "properties": { + "end": "string", + "source": "string", + "start": "string", + }, + "required": [ + "end", + "start", + ], + }, + "CalMeetingParticipant": { + "properties": { + "duration": "number", + "joinTime": "number", + "userId": "string", + "userName": "string", + }, + "required": [ + "duration", + "joinTime", + "userId", + "userName", + ], + }, + "CalMeetingSession": { + "properties": { + "duration": "number", + "id": "string", + "maxParticipants": "number", + "ongoing": "boolean", + "participants": "array", + "room": "string", + "startTime": "number", + }, + "required": [ + "duration", + "id", + "maxParticipants", + "ongoing", + "participants", + "room", + "startTime", + ], + }, + "CalVideoSettings": { + "properties": { + "disableRecordingForGuests": "boolean", + "disableRecordingForOrganizer": "boolean", + "disableTranscriptionForGuests": "boolean", + "disableTranscriptionForOrganizer": "boolean", + "enableAutomaticRecordingForOrganizer": "boolean", + "enableAutomaticTranscription": "boolean", + "redirectUrlOnExit": "object", + "sendTranscriptionEmails": "boolean", + }, + }, + "Calendar": { + "properties": { + "credentialId": "number", + "delegationCredentialId": "string", + "email": "string", + "externalId": "string", + "integration": "string", + "isSelected": "boolean", + "name": "string", + "primary": "boolean", + "readOnly": "boolean", + }, + "required": [ + "credentialId", + "externalId", + "isSelected", + "readOnly", + ], + }, + "CalendarDaysWindow_2024_06_14": { + "properties": { + "rolling": "boolean", + "type": "enum(businessDays|calendarDays|range)", + "value": "number", + }, + "required": [ + "type", + "value", + ], + }, + "CalendarEventAttendee": { + "properties": { + "email": "string", + "host": "boolean", + "name": "string", + "optional": "boolean", + "responseStatus": "CalendarEventResponseStatus", + "self": "boolean", + }, + "required": [ + "email", + ], + }, + "CalendarEventHost": { + "properties": { + "email": "string", + "name": "string", + "responseStatus": "CalendarEventResponseStatus", + }, + "required": [ + "email", + ], + }, + "CalendarEventMoreLocation": { + "properties": { + "label": "string", + "type": "enum(more)", + "url": "string", + }, + "required": [ + "type", + "url", + ], + }, + "CalendarEventPhoneLocation": { + "properties": { + "accessCode": "string", + "label": "string", + "password": "string", + "pin": "string", + "regionCode": "string", + "type": "enum(phone)", + "url": "string", + }, + "required": [ + "type", + "url", + ], + }, + "CalendarEventResponseStatus": null, + "CalendarEventSipLocation": { + "properties": { + "label": "string", + "password": "string", + "pin": "string", + "type": "enum(sip)", + "url": "string", + }, + "required": [ + "type", + "url", + ], + }, + "CalendarEventStatus": null, + "CalendarEventVideoLocation": { + "properties": { + "accessCode": "string", + "label": "string", + "meetingCode": "string", + "password": "string", + "type": "enum(video)", + "url": "string", + }, + "required": [ + "type", + "url", + ], + }, + "CalendarLink": { + "properties": { + "label": "string", + "link": "string", + }, + "required": [ + "label", + "link", + ], + }, + "CalendarLinksOutput_2024_08_13": { + "properties": { + "data": "array", + "status": "object", + }, + "required": [ + "data", + "status", + ], + }, + "CalendarSource": null, + "CancelBookingInput_2024_08_13": { + "properties": { + "cancelSubsequentBookings": "boolean", + "cancellationReason": "string", + }, + }, + "CancelBookingOutput_2024_08_13": { + "properties": { + "data": "unknown", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "CancelSeatedBookingInput_2024_08_13": { + "properties": { + "cancellationReason": "string", + "seatUid": "string", + }, + "required": [ + "seatUid", + ], + }, + "CheckboxGroupFieldInput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "label": "string", + "options": "array", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "hidden", + "label", + "options", + "required", + "slug", + "type", + ], + }, + "CheckboxGroupFieldOutput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "isDefault": "object", + "label": "string", + "options": "array", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "hidden", + "isDefault", + "label", + "options", + "required", + "slug", + "type", + ], + }, + "ConferencingAppOutputResponseDto": { + "properties": { + "data": "ConferencingAppsOutputDto", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "ConferencingAppsOutputDto": { + "properties": { + "id": "number", + "invalid": "boolean", + "type": "string", + "userId": "number", + }, + "required": [ + "id", + "type", + "userId", + ], + }, + "ConferencingAppsOutputResponseDto": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "ConnectedCalendar": { + "properties": { + "calendars": "array", + "credentialId": "number", + "delegationCredentialId": "string", + "integration": "Integration", + "primary": "Primary", + }, + "required": [ + "credentialId", + "integration", + ], + }, + "ConnectedCalendarsData": { + "properties": { + "connectedCalendars": "array", + "destinationCalendar": "DestinationCalendar", + }, + "required": [ + "connectedCalendars", + "destinationCalendar", + ], + }, + "ConnectedCalendarsOutput": { + "properties": { + "data": "ConnectedCalendarsData", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "CreateAttributeOptionOutput": { + "properties": { + "data": "OptionOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "CreateBookingAttendee": { + "properties": { + "email": "string", + "language": "enum(ar|ca|de|es|eu|he|id|ja|lv|pl|ro|sr|th|vi|az|cs|el|es-419|fi|hr|it|km|nl|pt|ru|sv|tr|zh-CN|bg|da|en|et|fr|hu|iw|ko|no|pt-BR|sk|ta|uk|zh-TW|bn)", + "name": "string", + "phoneNumber": "string", + "timeZone": "string", + }, + "required": [ + "name", + "timeZone", + ], + }, + "CreateBookingInput_2024_08_13": { + "properties": { + "attendee": "unknown", + "bookingFieldsResponses": "object", + "emailVerificationCode": "string", + "eventTypeId": "number", + "eventTypeSlug": "string", + "guests": "array", + "lengthInMinutes": "number", + "location": "unknown", + "meetingUrl": "string", + "metadata": "object", + "organizationSlug": "string", + "routing": "unknown", + "start": "string", + "teamSlug": "string", + "username": "string", + }, + "required": [ + "attendee", + "start", + ], + }, + "CreateBookingOutput_2024_08_13": { + "properties": { + "data": "unknown", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "CreateCalendarCredentialsInput": { + "properties": { + "password": "string", + "username": "string", + }, + "required": [ + "password", + "username", + ], + }, + "CreateDelegationCredentialInput": { + "properties": { + "domain": "string", + "serviceAccountKey": "array", + "workspacePlatformSlug": "string", + }, + "required": [ + "domain", + "serviceAccountKey", + "workspacePlatformSlug", + ], + }, + "CreateDelegationCredentialOutput": { + "properties": { + "data": "DelegationCredentialOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "CreateEventTypeInput_2024_06_14": { + "properties": { + "afterEventBuffer": "number", + "allowReschedulingCancelledBookings": "boolean", + "allowReschedulingPastBookings": "boolean", + "beforeEventBuffer": "number", + "bookerActiveBookingsLimit": "unknown", + "bookerLayouts": "unknown", + "bookingFields": "array", + "bookingLimitsCount": "unknown", + "bookingLimitsDuration": "unknown", + "bookingRequiresAuthentication": "boolean", + "bookingWindow": "unknown", + "calVideoSettings": "unknown", + "color": "EventTypeColor_2024_06_14", + "confirmationPolicy": "unknown", + "customName": "string", + "description": "string", + "destinationCalendar": "DestinationCalendar_2024_06_14", + "disableCancelling": "unknown", + "disableGuests": "boolean", + "disableRescheduling": "unknown", + "hidden": "boolean", + "hideCalendarEventDetails": "boolean", + "hideCalendarNotes": "boolean", + "hideOrganizerEmail": "boolean", + "interfaceLanguage": "enum(|en|ar|az|bg|bn|ca|cs|da|de|el|es|es-419|eu|et|fi|fr|he|hu|it|ja|km|ko|nl|no|pl|pt-BR|pt|ro|ru|sk-SK|sr|sv|tr|uk|vi|zh-CN|zh-TW)", + "lengthInMinutes": "number", + "lengthInMinutesOptions": "array", + "locations": "array", + "lockTimeZoneToggleOnBookingPage": "boolean", + "minimumBookingNotice": "number", + "offsetStart": "number", + "onlyShowFirstAvailableSlot": "boolean", + "recurrence": "unknown", + "requiresBookerEmailVerification": "boolean", + "scheduleId": "number", + "seats": "unknown", + "showOptimizedSlots": "boolean", + "slotInterval": "number", + "slug": "string", + "successRedirectUrl": "string", + "title": "string", + "useDestinationCalendarEmail": "boolean", + }, + "required": [ + "lengthInMinutes", + "slug", + "title", + ], + }, + "CreateEventTypeOutput_2024_06_14": { + "properties": { + "data": "EventTypeOutput_2024_06_14", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "CreateEventTypeWorkflowDto": { + "properties": { + "activation": "unknown", + "name": "string", + "steps": "array", + "trigger": "unknown", + }, + "required": [ + "activation", + "name", + "steps", + "trigger", + ], + }, + "CreateFormWorkflowDto": { + "properties": { + "activation": "unknown", + "name": "string", + "steps": "array", + "trigger": "unknown", + }, + "required": [ + "activation", + "name", + "steps", + "trigger", + ], + }, + "CreateIcsFeedInputDto": { + "properties": { + "readOnly": "boolean", + "urls": "array", + }, + "required": [ + "urls", + ], + }, + "CreateIcsFeedOutput": { + "properties": { + "appId": "string", + "id": "number", + "invalid": "boolean", + "teamId": "integer", + "type": "string", + "userId": "integer", + }, + "required": [ + "appId", + "id", + "invalid", + "teamId", + "type", + "userId", + ], + }, + "CreateIcsFeedOutputResponseDto": { + "properties": { + "data": "CreateIcsFeedOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "CreateInstantBookingInput_2024_08_13": { + "properties": { + "attendee": "unknown", + "bookingFieldsResponses": "object", + "emailVerificationCode": "string", + "eventTypeId": "number", + "eventTypeSlug": "string", + "guests": "array", + "instant": "boolean", + "lengthInMinutes": "number", + "location": "unknown", + "meetingUrl": "string", + "metadata": "object", + "organizationSlug": "string", + "routing": "unknown", + "start": "string", + "teamSlug": "string", + "username": "string", + }, + "required": [ + "attendee", + "instant", + "start", + ], + }, + "CreateInviteOutputDto": { + "properties": { + "data": "InviteDataDto", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "CreateManagedOrganizationOutput": { + "properties": { + "data": "ManagedOrganizationWithApiKeyOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "CreateManagedUserData": { + "properties": { + "accessToken": "string", + "accessTokenExpiresAt": "number", + "refreshToken": "string", + "refreshTokenExpiresAt": "number", + "user": "ManagedUserOutput", + }, + "required": [ + "accessToken", + "accessTokenExpiresAt", + "refreshToken", + "refreshTokenExpiresAt", + "user", + ], + }, + "CreateManagedUserInput": { + "properties": { + "avatarUrl": "string", + "bio": "string", + "email": "string", + "locale": "enum(ar|ca|de|es|eu|he|id|ja|lv|pl|ro|sr|th|vi|az|cs|el|es-419|fi|hr|it|km|nl|pt|ru|sv|tr|zh-CN|bg|da|en|et|fr|hu|iw|ko|no|pt-BR|sk|ta|uk|zh-TW|bn)", + "metadata": "object", + "name": "string", + "timeFormat": "enum(12|24)", + "timeZone": "string", + "weekStart": "enum(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday)", + }, + "required": [ + "email", + "name", + ], + }, + "CreateManagedUserOutput": { + "properties": { + "data": "CreateManagedUserData", + "error": "object", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "CreateOAuthClientInput": { + "properties": { + "areCalendarEventsEnabled": "boolean", + "areDefaultEventTypesEnabled": "boolean", + "areEmailsEnabled": "boolean", + "bookingCancelRedirectUri": "string", + "bookingRedirectUri": "string", + "bookingRescheduleRedirectUri": "string", + "logo": "string", + "name": "string", + "permissions": "array", + "redirectUris": "array", + }, + "required": [ + "name", + "permissions", + "redirectUris", + ], + }, + "CreateOAuthClientOutput": { + "properties": { + "clientId": "string", + "clientSecret": "string", + }, + "required": [ + "clientId", + "clientSecret", + ], + }, + "CreateOAuthClientResponseDto": { + "properties": { + "data": "unknown", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "CreateOrgMembershipDto": { + "properties": { + "accepted": "boolean", + "disableImpersonation": "boolean", + "role": "enum(MEMBER|OWNER|ADMIN)", + "userId": "number", + }, + "required": [ + "role", + "userId", + ], + }, + "CreateOrgMembershipOutput": { + "properties": { + "data": "OrganizationMembershipOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "CreateOrgRoleInput": { + "properties": { + "color": "string", + "description": "string", + "name": "string", + "permissions": "array", + }, + "required": [ + "name", + ], + }, + "CreateOrgRoleOutput": { + "properties": { + "data": "OrgRoleOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "CreateOrgRolePermissionsInput": { + "properties": { + "permissions": "array", + }, + "required": [ + "permissions", + ], + }, + "CreateOrgTeamDto": { + "properties": { + "appIconLogo": "string", + "appLogo": "string", + "autoAcceptCreator": "boolean", + "bannerUrl": "string", + "bio": "string", + "brandColor": "string", + "calVideoLogo": "string", + "darkBrandColor": "string", + "hideBookATeamMember": "boolean", + "hideBranding": "boolean", + "isPrivate": "boolean", + "logoUrl": "string", + "metadata": "object", + "name": "string", + "slug": "string", + "theme": "string", + "timeFormat": "number", + "timeZone": "string", + "weekStart": "string", + }, + "required": [ + "name", + ], + }, + "CreateOrgTeamMembershipDto": { + "properties": { + "accepted": "boolean", + "disableImpersonation": "boolean", + "role": "enum(MEMBER|OWNER|ADMIN)", + "userId": "number", + }, + "required": [ + "role", + "userId", + ], + }, + "CreateOrganizationAttributeInput": { + "properties": { + "enabled": "boolean", + "name": "string", + "options": "array", + "slug": "string", + "type": "enum(TEXT|NUMBER|SINGLE_SELECT|MULTI_SELECT)", + }, + "required": [ + "name", + "options", + "slug", + "type", + ], + }, + "CreateOrganizationAttributeOptionInput": { + "properties": { + "slug": "string", + "value": "string", + }, + "required": [ + "slug", + "value", + ], + }, + "CreateOrganizationAttributesOutput": { + "properties": { + "data": "Attribute", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "CreateOrganizationInput": { + "properties": { + "apiKeyDaysValid": "number", + "apiKeyNeverExpires": "boolean", + "metadata": "object", + "name": "string", + "slug": "string", + }, + "required": [ + "name", + ], + }, + "CreateOrganizationUserInput": { + "properties": { + "appTheme": "string", + "autoAccept": "boolean", + "avatarUrl": "string", + "bio": "string", + "brandColor": "string", + "darkBrandColor": "string", + "defaultScheduleId": "number", + "email": "string", + "hideBranding": "boolean", + "locale": "string", + "metadata": "object", + "organizationRole": "enum(MEMBER|ADMIN|OWNER)", + "theme": "string", + "timeFormat": "number", + "timeZone": "string", + "username": "string", + "weekday": "string", + }, + "required": [ + "email", + ], + }, + "CreateOutOfOfficeEntryDto": { + "properties": { + "end": "string", + "notes": "string", + "reason": "enum(unspecified|vacation|travel|sick|public_holiday)", + "start": "string", + "toUserId": "number", + }, + "required": [ + "end", + "start", + ], + }, + "CreatePhoneCallInput": { + "properties": { + "beginMessage": "string", + "calApiKey": "string", + "enabled": "object", + "generalPrompt": "string", + "guestCompany": "string", + "guestEmail": "string", + "guestName": "string", + "numberToCall": "string", + "schedulerName": "string", + "templateType": "enum(CHECK_IN_APPOINTMENT|CUSTOM_TEMPLATE)", + "yourPhoneNumber": "string", + }, + "required": [ + "calApiKey", + "enabled", + "numberToCall", + "templateType", + "yourPhoneNumber", + ], + }, + "CreatePhoneCallOutput": { + "properties": { + "data": "Data", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "CreatePrivateLinkInput": { + "properties": { + "expiresAt": "string", + "maxUsageCount": "number", + }, + }, + "CreatePrivateLinkOutput": { + "properties": { + "data": "unknown", + "status": "string", + }, + "required": [ + "data", + "status", + ], + }, + "CreateRecurringBookingInput_2024_08_13": { + "properties": { + "attendee": "unknown", + "bookingFieldsResponses": "object", + "emailVerificationCode": "string", + "eventTypeId": "number", + "eventTypeSlug": "string", + "guests": "array", + "lengthInMinutes": "number", + "location": "unknown", + "meetingUrl": "string", + "metadata": "object", + "organizationSlug": "string", + "recurrenceCount": "number", + "routing": "unknown", + "start": "string", + "teamSlug": "string", + "username": "string", + }, + "required": [ + "attendee", + "start", + ], + }, + "CreateRecurringSeatedBookingOutput_2024_08_13": { + "properties": { + "absentHost": "boolean", + "attendees": "array", + "cancellationReason": "string", + "cancelledByEmail": "string", + "createdAt": "string", + "description": "string", + "duration": "number", + "end": "string", + "eventType": "EventType", + "eventTypeId": "number", + "hosts": "array", + "icsUid": "string", + "id": "number", + "location": "string", + "meetingUrl": "string", + "metadata": "object", + "rating": "number", + "recurringBookingUid": "string", + "rescheduledByEmail": "string", + "rescheduledFromUid": "string", + "rescheduledToUid": "string", + "reschedulingReason": "string", + "seatUid": "string", + "start": "string", + "status": "enum(cancelled|accepted|rejected|pending)", + "title": "string", + "uid": "string", + "updatedAt": "string", + }, + "required": [ + "absentHost", + "attendees", + "createdAt", + "description", + "duration", + "end", + "eventType", + "eventTypeId", + "hosts", + "id", + "location", + "recurringBookingUid", + "seatUid", + "start", + "status", + "title", + "uid", + "updatedAt", + ], + }, + "CreateRoutingFormResponseOutput": { + "properties": { + "data": "CreateRoutingFormResponseOutputData", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "CreateRoutingFormResponseOutputData": { + "properties": { + "eventTypeId": "number", + "routing": "unknown", + "routingCustomMessage": "string", + "routingExternalRedirectUrl": "string", + "slots": "unknown", + }, + }, + "CreateScheduleInput_2024_06_11": { + "properties": { + "availability": "array", + "isDefault": "boolean", + "name": "string", + "overrides": "array", + "timeZone": "string", + }, + "required": [ + "isDefault", + "name", + "timeZone", + ], + }, + "CreateScheduleOutput_2024_06_11": { + "properties": { + "data": "ScheduleOutput_2024_06_11", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "CreateSeatedBookingOutput_2024_08_13": { + "properties": { + "absentHost": "boolean", + "attendees": "array", + "cancellationReason": "string", + "cancelledByEmail": "string", + "createdAt": "string", + "description": "string", + "duration": "number", + "end": "string", + "eventType": "EventType", + "eventTypeId": "number", + "hosts": "array", + "icsUid": "string", + "id": "number", + "location": "string", + "meetingUrl": "string", + "metadata": "object", + "rating": "number", + "rescheduledByEmail": "string", + "rescheduledFromUid": "string", + "rescheduledToUid": "string", + "reschedulingReason": "string", + "seatUid": "string", + "start": "string", + "status": "enum(cancelled|accepted|rejected|pending)", + "title": "string", + "uid": "string", + "updatedAt": "string", + }, + "required": [ + "absentHost", + "attendees", + "createdAt", + "description", + "duration", + "end", + "eventType", + "eventTypeId", + "hosts", + "id", + "location", + "seatUid", + "start", + "status", + "title", + "uid", + "updatedAt", + ], + }, + "CreateTeamEventTypeInput_2024_06_14": { + "properties": { + "afterEventBuffer": "number", + "allowReschedulingCancelledBookings": "boolean", + "allowReschedulingPastBookings": "boolean", + "assignAllTeamMembers": "boolean", + "beforeEventBuffer": "number", + "bookerActiveBookingsLimit": "unknown", + "bookerLayouts": "unknown", + "bookingFields": "array", + "bookingLimitsCount": "unknown", + "bookingLimitsDuration": "unknown", + "bookingRequiresAuthentication": "boolean", + "bookingWindow": "unknown", + "calVideoSettings": "unknown", + "color": "EventTypeColor_2024_06_14", + "confirmationPolicy": "unknown", + "customName": "string", + "description": "string", + "destinationCalendar": "DestinationCalendar_2024_06_14", + "disableCancelling": "unknown", + "disableGuests": "boolean", + "disableRescheduling": "unknown", + "emailSettings": "unknown", + "hidden": "boolean", + "hideCalendarEventDetails": "boolean", + "hideCalendarNotes": "boolean", + "hideOrganizerEmail": "boolean", + "hosts": "array", + "interfaceLanguage": "enum(|en|ar|az|bg|bn|ca|cs|da|de|el|es|es-419|eu|et|fi|fr|he|hu|it|ja|km|ko|nl|no|pl|pt-BR|pt|ro|ru|sk-SK|sr|sv|tr|uk|vi|zh-CN|zh-TW)", + "lengthInMinutes": "number", + "lengthInMinutesOptions": "array", + "locations": "array", + "lockTimeZoneToggleOnBookingPage": "boolean", + "minimumBookingNotice": "number", + "offsetStart": "number", + "onlyShowFirstAvailableSlot": "boolean", + "recurrence": "unknown", + "requiresBookerEmailVerification": "boolean", + "rescheduleWithSameRoundRobinHost": "boolean", + "scheduleId": "number", + "schedulingType": "enum(collective|roundRobin|managed)", + "seats": "unknown", + "showOptimizedSlots": "boolean", + "slotInterval": "number", + "slug": "string", + "successRedirectUrl": "string", + "title": "string", + "useDestinationCalendarEmail": "boolean", + }, + "required": [ + "lengthInMinutes", + "schedulingType", + "slug", + "title", + ], + }, + "CreateTeamEventTypeOutput": { + "properties": { + "data": "unknown", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "CreateTeamInput": { + "properties": { + "appIconLogo": "string", + "appLogo": "string", + "autoAcceptCreator": "boolean", + "bannerUrl": "string", + "bio": "string", + "brandColor": "string", + "calVideoLogo": "string", + "darkBrandColor": "string", + "hideBookATeamMember": "boolean", + "hideBranding": "boolean", + "isPrivate": "boolean", + "logoUrl": "string", + "metadata": "object", + "name": "string", + "slug": "string", + "theme": "string", + "timeFormat": "number", + "timeZone": "string", + "weekStart": "string", + }, + "required": [ + "name", + ], + }, + "CreateTeamMembershipInput": { + "properties": { + "accepted": "boolean", + "disableImpersonation": "boolean", + "role": "enum(MEMBER|OWNER|ADMIN)", + "userId": "number", + }, + "required": [ + "userId", + ], + }, + "CreateTeamMembershipOutput": { + "properties": { + "data": "TeamMembershipOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "CreateTeamOutput": { + "properties": { + "data": "unknown", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "CreateTeamOutputData": { + "properties": { + "message": "string", + "paymentLink": "string", + "pendingTeam": "TeamOutputDto", + }, + "required": [ + "message", + "paymentLink", + "pendingTeam", + ], + }, + "CreateTeamRoleInput": { + "properties": { + "color": "string", + "description": "string", + "name": "string", + "permissions": "array", + }, + "required": [ + "name", + ], + }, + "CreateTeamRoleOutput": { + "properties": { + "data": "TeamRoleOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "CreateTeamRolePermissionsInput": { + "properties": { + "permissions": "array", + }, + "required": [ + "permissions", + ], + }, + "CreateWebhookInputDto": { + "properties": { + "active": "boolean", + "payloadTemplate": "string", + "secret": "string", + "subscriberUrl": "string", + "triggers": "array", + "version": "enum(2021-10-20)", + }, + "required": [ + "active", + "subscriberUrl", + "triggers", + ], + }, + "Data": { + "properties": { + "agentId": "string", + "callId": "string", + }, + "required": [ + "callId", + ], + }, + "DeclineBookingInput_2024_08_13": { + "properties": { + "reason": "string", + }, + }, + "DefaultConferencingAppsOutputDto": { + "properties": { + "appLink": "string", + "appSlug": "string", + }, + }, + "DelegationCredentialOutput": { + "properties": { + "createdAt": "string", + "domain": "string", + "enabled": "boolean", + "id": "string", + "organizationId": "number", + "updatedAt": "string", + "workspacePlatform": "WorkspacePlatformDto", + }, + "required": [ + "createdAt", + "domain", + "enabled", + "id", + "organizationId", + "updatedAt", + "workspacePlatform", + ], + }, + "DeleteAttributeOptionOutput": { + "properties": { + "data": "OptionOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "DeleteCalendarCredentialsInputBodyDto": { + "properties": { + "id": "integer", + }, + "required": [ + "id", + ], + }, + "DeleteData_2024_06_14": { + "properties": { + "id": "number", + "lengthInMinutes": "number", + "slug": "string", + "title": "string", + }, + "required": [ + "id", + "lengthInMinutes", + "slug", + "title", + ], + }, + "DeleteEventTypeOutput_2024_06_14": { + "properties": { + "data": "DeleteData_2024_06_14", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "DeleteManyWebhooksOutputResponseDto": { + "properties": { + "data": "string", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "DeleteOrgMembership": { + "properties": { + "data": "OrganizationMembershipOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "DeleteOrgRoleOutput": { + "properties": { + "data": "OrgRoleOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "DeleteOrganizationAttributesOutput": { + "properties": { + "data": "Attribute", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "DeletePrivateLinkOutput": { + "properties": { + "data": "object", + "status": "string", + }, + "required": [ + "data", + "status", + ], + }, + "DeleteScheduleOutput_2024_06_11": { + "properties": { + "status": "enum(success|error)", + }, + "required": [ + "status", + ], + }, + "DeleteTeamEventTypeOutput": { + "properties": { + "data": "object", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "DeleteTeamMembershipOutput": { + "properties": { + "data": "TeamMembershipOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "DeleteTeamRoleOutput": { + "properties": { + "data": "TeamRoleOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "DeletedCalendarCredentialsOutputDto": { + "properties": { + "appId": "string", + "id": "number", + "invalid": "boolean", + "teamId": "number", + "type": "string", + "userId": "number", + }, + "required": [ + "appId", + "id", + "invalid", + "teamId", + "type", + "userId", + ], + }, + "DeletedCalendarCredentialsOutputResponseDto": { + "properties": { + "data": "DeletedCalendarCredentialsOutputDto", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "DestinationCalendar": { + "properties": { + "credentialId": "number", + "delegationCredentialId": "string", + "email": "string", + "eventTypeId": "number", + "externalId": "string", + "id": "object", + "integration": "string", + "integrationTitle": "string", + "name": "string", + "primary": "boolean", + "primaryEmail": "string", + "readOnly": "boolean", + "userId": "number", + }, + "required": [ + "credentialId", + "eventTypeId", + "externalId", + "id", + "integration", + "primaryEmail", + "userId", + ], + }, + "DestinationCalendar_2024_06_14": { + "properties": { + "externalId": "string", + "integration": "string", + }, + "required": [ + "externalId", + "integration", + ], + }, + "DestinationCalendarsInputBodyDto": { + "properties": { + "delegationCredentialId": "string", + "externalId": "string", + "integration": "enum(apple_calendar|google_calendar|office365_calendar)", + }, + "required": [ + "externalId", + "integration", + ], + }, + "DestinationCalendarsOutputDto": { + "properties": { + "credentialId": "number", + "externalId": "string", + "integration": "string", + "userId": "number", + }, + "required": [ + "credentialId", + "externalId", + "integration", + "userId", + ], + }, + "DestinationCalendarsOutputResponseDto": { + "properties": { + "data": "DestinationCalendarsOutputDto", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "DisableCancellingOutput_2024_06_14": { + "properties": { + "disabled": "boolean", + }, + }, + "DisableCancelling_2024_06_14": { + "properties": { + "disabled": "boolean", + }, + }, + "DisableReschedulingOutput_2024_06_14": { + "properties": { + "disabled": "boolean", + "minutesBefore": "number", + }, + }, + "DisableRescheduling_2024_06_14": { + "properties": { + "disabled": "boolean", + "minutesBefore": "number", + }, + }, + "Disabled_2024_06_14": { + "properties": { + "disabled": "boolean", + }, + "required": [ + "disabled", + ], + }, + "DisconnectConferencingAppOutputResponseDto": { + "properties": { + "status": "enum(success|error)", + }, + "required": [ + "status", + ], + }, + "EmailDefaultFieldInput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "label": "string", + "placeholder": "string", + "required": "object", + "type": "string", + }, + "required": [ + "label", + "placeholder", + "type", + ], + }, + "EmailDefaultFieldOutput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "isDefault": "object", + "label": "string", + "placeholder": "string", + "required": "object", + "slug": "string", + "type": "string", + }, + "required": [ + "isDefault", + "label", + "placeholder", + "slug", + "type", + ], + }, + "EmailSettings_2024_06_14": { + "properties": { + "disableEmailsToAttendees": "boolean", + "disableEmailsToHosts": "boolean", + }, + }, + "EventType": { + "properties": { + "id": "number", + "slug": "string", + }, + "required": [ + "id", + "slug", + ], + }, + "EventTypeColor_2024_06_14": { + "properties": { + "darkThemeHex": "string", + "lightThemeHex": "string", + }, + "required": [ + "darkThemeHex", + "lightThemeHex", + ], + }, + "EventTypeOutput_2024_06_14": { + "properties": { + "afterEventBuffer": "number", + "allowReschedulingCancelledBookings": "boolean", + "allowReschedulingPastBookings": "boolean", + "beforeEventBuffer": "number", + "bookerActiveBookingsLimit": "BookerActiveBookingsLimitOutput_2024_06_14", + "bookerLayouts": "BookerLayouts_2024_06_14", + "bookingFields": "array", + "bookingLimitsCount": "object", + "bookingLimitsDuration": "object", + "bookingRequiresAuthentication": "boolean", + "bookingUrl": "string", + "bookingWindow": "array", + "calVideoSettings": "unknown", + "color": "EventTypeColor_2024_06_14", + "confirmationPolicy": "object", + "currency": "string", + "customName": "string", + "description": "string", + "destinationCalendar": "DestinationCalendar_2024_06_14", + "disableCancelling": "unknown", + "disableGuests": "boolean", + "disableRescheduling": "unknown", + "forwardParamsSuccessRedirect": "object", + "hidden": "boolean", + "hideCalendarEventDetails": "boolean", + "hideCalendarNotes": "boolean", + "hideOrganizerEmail": "boolean", + "id": "number", + "interfaceLanguage": "string", + "isInstantEvent": "boolean", + "lengthInMinutes": "number", + "lengthInMinutesOptions": "array", + "locations": "array", + "lockTimeZoneToggleOnBookingPage": "boolean", + "metadata": "object", + "minimumBookingNotice": "number", + "offsetStart": "number", + "onlyShowFirstAvailableSlot": "boolean", + "ownerId": "number", + "price": "number", + "recurrence": "unknown", + "requiresBookerEmailVerification": "boolean", + "scheduleId": "number", + "seats": "Seats_2024_06_14", + "seatsPerTimeSlot": "object", + "seatsShowAvailabilityCount": "boolean", + "showOptimizedSlots": "boolean", + "slotInterval": "object", + "slug": "string", + "successRedirectUrl": "object", + "title": "string", + "useDestinationCalendarEmail": "boolean", + "users": "array", + }, + "required": [ + "bookingFields", + "bookingRequiresAuthentication", + "bookingUrl", + "currency", + "description", + "disableGuests", + "forwardParamsSuccessRedirect", + "hidden", + "id", + "isInstantEvent", + "lengthInMinutes", + "locations", + "lockTimeZoneToggleOnBookingPage", + "metadata", + "ownerId", + "price", + "recurrence", + "scheduleId", + "slug", + "successRedirectUrl", + "title", + "users", + ], + }, + "EventTypeTeam": { + "properties": { + "bannerUrl": "string", + "brandColor": "string", + "darkBrandColor": "string", + "id": "number", + "logoUrl": "string", + "name": "string", + "slug": "string", + "theme": "string", + "weekStart": "string", + }, + "required": [ + "bannerUrl", + "brandColor", + "darkBrandColor", + "id", + "logoUrl", + "name", + "slug", + "theme", + "weekStart", + ], + }, + "EventTypeWebhookOutputDto": { + "properties": { + "active": "boolean", + "eventTypeId": "number", + "id": "number", + "payloadTemplate": "string", + "secret": "string", + "subscriberUrl": "string", + "triggers": "array", + }, + "required": [ + "active", + "eventTypeId", + "id", + "payloadTemplate", + "subscriberUrl", + "triggers", + ], + }, + "EventTypeWebhookOutputResponseDto": { + "properties": { + "data": "EventTypeWebhookOutputDto", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "EventTypeWebhooksOutputResponseDto": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "EventTypeWorkflowActivationOutputDto": { + "properties": { + "activeOnEventTypeIds": "array", + "isActiveOnAllEventTypes": "boolean", + }, + }, + "EventTypeWorkflowOutput": { + "properties": { + "activation": "unknown", + "createdAt": "object", + "id": "number", + "name": "string", + "steps": "array", + "teamId": "number", + "trigger": "unknown", + "type": "enum(event-type)", + "updatedAt": "object", + "userId": "number", + }, + "required": [ + "activation", + "id", + "name", + "steps", + "trigger", + "type", + ], + }, + "EventTypeWorkflowStepOutputDto": { + "properties": { + "action": "enum(email_host|email_attendee|email_address|sms_attendee|sms_number|whatsapp_attendee|whatsapp_number|cal_ai_phone_call)", + "email": "string", + "id": "number", + "includeCalendarEvent": "object", + "message": "unknown", + "phone": "string", + "phoneRequired": "boolean", + "recipient": "enum(const|attendee|email|phone_number)", + "sender": "string", + "stepNumber": "number", + "template": "enum(reminder|custom|rescheduled|completed|rating|cancelled)", + }, + "required": [ + "action", + "id", + "message", + "recipient", + "sender", + "stepNumber", + "template", + ], + }, + "EventTypeWorkflowTriggerDto": { + "properties": { + "type": "enum(beforeEvent|eventCancelled|newEvent|afterEvent|rescheduleEvent|afterHostsCalVideoNoShow|afterGuestsCalVideoNoShow|bookingRejected|bookingRequested|bookingPaymentInitiated|bookingPaid|bookingNoShowUpdated)", + }, + "required": [ + "type", + ], + }, + "EventTypeWorkflowTriggerOutputDto": { + "properties": { + "offset": "unknown", + "type": "enum(beforeEvent|eventCancelled|newEvent|afterEvent|rescheduleEvent|afterHostsCalVideoNoShow|afterGuestsCalVideoNoShow|bookingRejected|bookingRequested|bookingPaymentInitiated|bookingPaid|bookingNoShowUpdated)", + }, + "required": [ + "type", + ], + }, + "GetAllAttributeAssignedOptionOutput": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetAllAttributeOptionOutput": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetAllOrgMemberships": { + "properties": { + "data": "OrganizationMembershipOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetAllOrgRolesOutput": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetAllTeamRolesOutput": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetBookingAttendeeOutput_2024_08_13": { + "properties": { + "data": "BookingAttendeeWithId_2024_08_13", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetBookingAttendeesOutput_2024_08_13": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetBookingOutput_2024_08_13": { + "properties": { + "data": "unknown", + "error": "object", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetBookingRecordingsOutput": { + "properties": { + "data": "array", + "error": "object", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetBookingTranscriptsOutput": { + "properties": { + "data": "array", + "error": "object", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetBookingVideoSessionsOutput": { + "properties": { + "data": "array", + "error": "object", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetBookingsOutput_2024_08_13": { + "properties": { + "data": "array", + "error": "object", + "pagination": "PaginationMetaDto", + "status": "enum(success|error)", + }, + "required": [ + "data", + "pagination", + "status", + ], + }, + "GetBusyTimesOutput": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetConferencingAppsOauthUrlResponseDto": { + "properties": { + "status": "enum(success|error)", + }, + "required": [ + "status", + ], + }, + "GetDefaultConferencingAppOutputResponseDto": { + "properties": { + "data": "DefaultConferencingAppsOutputDto", + "status": "enum(success|error)", + }, + "required": [ + "status", + ], + }, + "GetDefaultScheduleOutput_2024_06_11": { + "properties": { + "data": "ScheduleOutput_2024_06_11", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetEventTypeOutput_2024_06_14": { + "properties": { + "data": "unknown", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetEventTypeWorkflowOutput": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetEventTypeWorkflowsOutput": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetEventTypesOutput_2024_06_14": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetManagedOrganizationOutput": { + "properties": { + "data": "ManagedOrganizationOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetManagedOrganizationsOutput": { + "properties": { + "data": "array", + "pagination": "PaginationMetaDto", + "status": "enum(success|error)", + }, + "required": [ + "data", + "pagination", + "status", + ], + }, + "GetManagedUserOutput": { + "properties": { + "data": "ManagedUserOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetManagedUsersOutput": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetMeOutput": { + "properties": { + "data": "MeOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetOAuthClientResponseDto": { + "properties": { + "data": "PlatformOAuthClientDto", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetOAuthClientsResponseDto": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetOptionUserOutput": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetOptionUserOutputData": { + "properties": { + "attributeId": "string", + "id": "string", + "slug": "string", + "value": "string", + }, + "required": [ + "attributeId", + "id", + "slug", + "value", + ], + }, + "GetOrgMembership": { + "properties": { + "data": "OrganizationMembershipOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetOrgRoleOutput": { + "properties": { + "data": "OrgRoleOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetOrgRolePermissionsOutput": { + "properties": { + "data": "array", + "status": "string", + }, + "required": [ + "data", + "status", + ], + }, + "GetOrgUsersWithProfileOutput": { + "properties": { + "allowDynamicBooking": "boolean", + "appTheme": "string", + "avatarUrl": "string", + "bio": "string", + "brandColor": "string", + "createdDate": "string", + "darkBrandColor": "string", + "defaultScheduleId": "number", + "email": "string", + "emailVerified": "string", + "hideBranding": "boolean", + "id": "number", + "invitedTo": "number", + "locale": "string", + "metadata": "object", + "name": "string", + "profile": "unknown", + "theme": "string", + "timeFormat": "number", + "timeZone": "string", + "username": "string", + "verified": "boolean", + "weekStart": "string", + }, + "required": [ + "createdDate", + "email", + "hideBranding", + "id", + "profile", + "timeZone", + "weekStart", + ], + }, + "GetOrganizationAttributesOutput": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetOrganizationUserOutput": { + "properties": { + "data": "GetOrgUsersWithProfileOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetOrganizationUsersResponseDTO": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetPrivateLinksOutput": { + "properties": { + "data": "array", + "status": "string", + }, + "required": [ + "data", + "status", + ], + }, + "GetRecurringSeatedBookingOutput_2024_08_13": { + "properties": { + "absentHost": "boolean", + "attendees": "array", + "cancellationReason": "string", + "cancelledByEmail": "string", + "createdAt": "string", + "description": "string", + "duration": "number", + "end": "string", + "eventType": "EventType", + "eventTypeId": "number", + "hosts": "array", + "icsUid": "string", + "id": "number", + "location": "string", + "meetingUrl": "string", + "metadata": "object", + "rating": "number", + "recurringBookingUid": "string", + "rescheduledByEmail": "string", + "rescheduledFromUid": "string", + "rescheduledToUid": "string", + "reschedulingReason": "string", + "start": "string", + "status": "enum(cancelled|accepted|rejected|pending)", + "title": "string", + "uid": "string", + "updatedAt": "string", + }, + "required": [ + "absentHost", + "attendees", + "createdAt", + "description", + "duration", + "end", + "eventType", + "eventTypeId", + "hosts", + "id", + "location", + "recurringBookingUid", + "start", + "status", + "title", + "uid", + "updatedAt", + ], + }, + "GetReservedSlotOutput_2024_09_04": { + "properties": { + "data": "unknown", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetRoutingFormResponsesOutput": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetRoutingFormWorkflowOutput": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetRoutingFormWorkflowsOutput": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetRoutingFormsOutput": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetScheduleOutput_2024_06_11": { + "properties": { + "data": "unknown", + "error": "object", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetSchedulesOutput_2024_06_11": { + "properties": { + "data": "array", + "error": "object", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetSeatedBookingOutput_2024_08_13": { + "properties": { + "absentHost": "boolean", + "attendees": "array", + "cancellationReason": "string", + "cancelledByEmail": "string", + "createdAt": "string", + "description": "string", + "duration": "number", + "end": "string", + "eventType": "EventType", + "eventTypeId": "number", + "hosts": "array", + "icsUid": "string", + "id": "number", + "location": "string", + "meetingUrl": "string", + "metadata": "object", + "rating": "number", + "rescheduledByEmail": "string", + "rescheduledFromUid": "string", + "rescheduledToUid": "string", + "reschedulingReason": "string", + "start": "string", + "status": "enum(cancelled|accepted|rejected|pending)", + "title": "string", + "uid": "string", + "updatedAt": "string", + }, + "required": [ + "absentHost", + "attendees", + "createdAt", + "description", + "duration", + "end", + "eventType", + "eventTypeId", + "hosts", + "id", + "location", + "start", + "status", + "title", + "uid", + "updatedAt", + ], + }, + "GetSingleAttributeOutput": { + "properties": { + "data": "unknown", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetTeamEventTypeOutput": { + "properties": { + "data": "TeamEventTypeOutput_2024_06_14", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetTeamEventTypesOutput": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetTeamMembershipOutput": { + "properties": { + "data": "TeamMembershipOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetTeamMembershipsOutput": { + "properties": { + "data": "TeamMembershipOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetTeamOutput": { + "properties": { + "data": "TeamOutputDto", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetTeamRoleOutput": { + "properties": { + "data": "TeamRoleOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetTeamRolePermissionsOutput": { + "properties": { + "data": "array", + "status": "string", + }, + "required": [ + "data", + "status", + ], + }, + "GetTeamsOutput": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GetUnifiedCalendarEventOutput": { + "properties": { + "data": "UnifiedCalendarEventOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "GoogleServiceAccountKeyInput": { + "properties": { + "client_email": "string", + "client_id": "string", + "private_key": "string", + }, + "required": [ + "client_email", + "client_id", + "private_key", + ], + }, + "Guest": { + "properties": { + "email": "string", + "language": "enum(ar|ca|de|es|eu|he|id|ja|lv|pl|ro|sr|th|vi|az|cs|el|es-419|fi|hr|it|km|nl|pt|ru|sv|tr|zh-CN|bg|da|en|et|fr|hu|iw|ko|no|pt-BR|sk|ta|uk|zh-TW|bn)", + "name": "string", + "phoneNumber": "string", + "timeZone": "string", + }, + "required": [ + "email", + ], + }, + "GuestsDefaultFieldInput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "label": "string", + "placeholder": "string", + "required": "boolean", + "slug": "string", + }, + "required": [ + "slug", + ], + }, + "GuestsDefaultFieldOutput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "isDefault": "object", + "label": "string", + "placeholder": "string", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "isDefault", + "slug", + "type", + ], + }, + "Host": { + "properties": { + "mandatory": "boolean", + "priority": "enum(lowest|low|medium|high|highest)", + "userId": "number", + }, + "required": [ + "userId", + ], + }, + "HtmlWorkflowMessageDto": { + "properties": { + "html": "string", + "subject": "string", + }, + "required": [ + "html", + "subject", + ], + }, + "InputAddressLocation_2024_06_14": { + "properties": { + "address": "string", + "public": "boolean", + "type": "string", + }, + "required": [ + "address", + "public", + "type", + ], + }, + "InputAttendeeAddressLocation_2024_06_14": { + "properties": { + "type": "string", + }, + "required": [ + "type", + ], + }, + "InputAttendeeDefinedLocation_2024_06_14": { + "properties": { + "type": "string", + }, + "required": [ + "type", + ], + }, + "InputAttendeePhoneLocation_2024_06_14": { + "properties": { + "type": "string", + }, + "required": [ + "type", + ], + }, + "InputIntegrationLocation_2024_06_14": { + "properties": { + "integration": "enum(cal-video|google-meet|zoom|whereby-video|whatsapp-video|webex-video|telegram-video|tandem|sylaps-video|skype-video|sirius-video|signal-video|shimmer-video|salesroom-video|roam-video|riverside-video|ping-video|office365-video|mirotalk-video|jitsi|jelly-video|jelly-conferencing|huddle|facetime-video|element-call-video|eightxeight-video|discord-video|demodesk-video|campfire-video)", + "type": "string", + }, + "required": [ + "integration", + "type", + ], + }, + "InputLinkLocation_2024_06_14": { + "properties": { + "link": "string", + "public": "boolean", + "type": "string", + }, + "required": [ + "link", + "public", + "type", + ], + }, + "InputOrganizersDefaultApp_2024_06_14": { + "properties": { + "type": "string", + }, + "required": [ + "type", + ], + }, + "InputPhoneLocation_2024_06_14": { + "properties": { + "phone": "string", + "public": "boolean", + "type": "string", + }, + "required": [ + "phone", + "public", + "type", + ], + }, + "Integration": { + "properties": { + "__template": "string", + "appData": "object", + "categories": "array", + "category": "string", + "description": "string", + "dirName": "string", + "email": "string", + "installed": "boolean", + "locationOption": "object", + "logo": "string", + "name": "string", + "publisher": "string", + "slug": "string", + "title": "string", + "type": "string", + "url": "string", + "variant": "string", + }, + "required": [ + "categories", + "description", + "email", + "locationOption", + "logo", + "name", + "publisher", + "slug", + "type", + "url", + "variant", + ], + }, + "InviteDataDto": { + "properties": { + "inviteLink": "string", + "token": "string", + }, + "required": [ + "inviteLink", + "token", + ], + }, + "KeysDto": { + "properties": { + "accessToken": "string", + "accessTokenExpiresAt": "number", + "refreshToken": "string", + "refreshTokenExpiresAt": "number", + }, + "required": [ + "accessToken", + "accessTokenExpiresAt", + "refreshToken", + "refreshTokenExpiresAt", + ], + }, + "KeysResponseDto": { + "properties": { + "data": "KeysDto", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "LocationDefaultFieldInput_2024_06_14": { + "properties": { + "label": "string", + "slug": "string", + }, + "required": [ + "slug", + ], + }, + "LocationDefaultFieldOutput_2024_06_14": { + "properties": { + "hidden": "boolean", + "isDefault": "object", + "label": "string", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "hidden", + "isDefault", + "label", + "required", + "slug", + "type", + ], + }, + "ManagedOrganizationOutput": { + "properties": { + "id": "number", + "metadata": "object", + "name": "string", + "slug": "string", + }, + "required": [ + "id", + "name", + ], + }, + "ManagedOrganizationWithApiKeyOutput": { + "properties": { + "apiKey": "string", + "id": "number", + "metadata": "object", + "name": "string", + "slug": "string", + }, + "required": [ + "apiKey", + "id", + "name", + ], + }, + "ManagedUserOutput": { + "properties": { + "avatarUrl": "string", + "bio": "string", + "createdDate": "string", + "defaultScheduleId": "number", + "email": "string", + "id": "number", + "locale": "enum(ar|ca|de|es|eu|he|id|ja|lv|pl|ro|sr|th|vi|az|cs|el|es-419|fi|hr|it|km|nl|pt|ru|sv|tr|zh-CN|bg|da|en|et|fr|hu|iw|ko|no|pt-BR|sk|ta|uk|zh-TW|bn)", + "metadata": "object", + "name": "string", + "timeFormat": "number", + "timeZone": "string", + "username": "string", + "weekStart": "string", + }, + "required": [ + "bio", + "createdDate", + "defaultScheduleId", + "email", + "id", + "name", + "timeFormat", + "timeZone", + "username", + "weekStart", + ], + }, + "MarkAbsentAttendee": { + "properties": { + "absent": "boolean", + "email": "string", + }, + "required": [ + "absent", + "email", + ], + }, + "MarkAbsentBookingInput_2024_08_13": { + "properties": { + "attendees": "array", + "host": "boolean", + }, + }, + "MarkAbsentBookingOutput_2024_08_13": { + "properties": { + "data": "unknown", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "MeOrgOutput": { + "properties": { + "id": "number", + "isPlatform": "boolean", + }, + "required": [ + "id", + "isPlatform", + ], + }, + "MeOutput": { + "properties": { + "avatarUrl": "string", + "bio": "string", + "defaultScheduleId": "number", + "email": "string", + "id": "number", + "name": "string", + "organization": "MeOrgOutput", + "organizationId": "number", + "timeFormat": "number", + "timeZone": "string", + "username": "string", + "weekStart": "string", + }, + "required": [ + "avatarUrl", + "bio", + "defaultScheduleId", + "email", + "id", + "name", + "organizationId", + "timeFormat", + "timeZone", + "username", + "weekStart", + ], + }, + "MembershipUserOutputDto": { + "properties": { + "avatarUrl": "string", + "bio": "string", + "email": "string", + "metadata": "object", + "name": "string", + "username": "string", + }, + "required": [ + "email", + ], + }, + "MicrosoftServiceAccountKeyInput": { + "properties": { + "client_id": "string", + "private_key": "string", + "tenant_id": "string", + }, + "required": [ + "client_id", + "private_key", + "tenant_id", + ], + }, + "MultiEmailFieldInput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "label": "string", + "placeholder": "string", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "hidden", + "label", + "placeholder", + "required", + "slug", + "type", + ], + }, + "MultiEmailFieldOutput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "isDefault": "object", + "label": "string", + "placeholder": "string", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "hidden", + "isDefault", + "label", + "placeholder", + "required", + "slug", + "type", + ], + }, + "MultiSelectAttribute": { + "properties": { + "id": "string", + "name": "string", + "options": "array", + "type": "string", + }, + "required": [ + "id", + "name", + "options", + "type", + ], + }, + "MultiSelectAttributeOption": { + "properties": { + "option": "string", + "optionId": "string", + }, + "required": [ + "option", + "optionId", + ], + }, + "MultiSelectFieldInput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "label": "string", + "options": "array", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "hidden", + "label", + "options", + "required", + "slug", + "type", + ], + }, + "MultiSelectFieldOutput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "isDefault": "object", + "label": "string", + "options": "array", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "hidden", + "isDefault", + "label", + "options", + "required", + "slug", + "type", + ], + }, + "NameDefaultFieldInput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "label": "string", + "placeholder": "string", + "type": "string", + }, + "required": [ + "label", + "placeholder", + "type", + ], + }, + "NameDefaultFieldOutput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "isDefault": "object", + "label": "string", + "placeholder": "string", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "isDefault", + "label", + "placeholder", + "required", + "slug", + "type", + ], + }, + "NotesDefaultFieldInput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "label": "string", + "placeholder": "string", + "required": "boolean", + "slug": "string", + }, + "required": [ + "slug", + ], + }, + "NotesDefaultFieldOutput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "isDefault": "object", + "label": "string", + "placeholder": "string", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "isDefault", + "slug", + "type", + ], + }, + "NoticeThreshold_2024_06_14": { + "properties": { + "count": "number", + "unit": "string", + }, + "required": [ + "count", + "unit", + ], + }, + "NumberAttribute": { + "properties": { + "id": "string", + "name": "string", + "option": "number", + "optionId": "string", + "type": "string", + }, + "required": [ + "id", + "name", + "option", + "optionId", + "type", + ], + }, + "NumberFieldInput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "label": "string", + "placeholder": "string", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "hidden", + "label", + "placeholder", + "required", + "slug", + "type", + ], + }, + "NumberFieldOutput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "isDefault": "object", + "label": "string", + "placeholder": "string", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "hidden", + "isDefault", + "label", + "placeholder", + "required", + "slug", + "type", + ], + }, + "OAuth2ClientDto": { + "properties": { + "client_id": "string", + "client_type": "enum(CONFIDENTIAL|PUBLIC)", + "is_trusted": "boolean", + "logo": "string", + "name": "string", + "redirect_uri": "string", + }, + "required": [ + "client_id", + "client_type", + "is_trusted", + "name", + "redirect_uri", + ], + }, + "OAuth2ClientResponseDto": { + "properties": { + "data": "OAuth2ClientDto", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "OAuth2ExchangeConfidentialInput": { + "properties": { + "client_id": "string", + "client_secret": "string", + "code": "string", + "grant_type": "enum(authorization_code)", + "redirect_uri": "string", + }, + "required": [ + "client_id", + "client_secret", + "code", + "grant_type", + "redirect_uri", + ], + }, + "OAuth2ExchangePublicInput": { + "properties": { + "client_id": "string", + "code": "string", + "code_verifier": "string", + "grant_type": "enum(authorization_code)", + "redirect_uri": "string", + }, + "required": [ + "client_id", + "code", + "code_verifier", + "grant_type", + "redirect_uri", + ], + }, + "OAuth2RefreshConfidentialInput": { + "properties": { + "client_id": "string", + "client_secret": "string", + "grant_type": "enum(refresh_token)", + "refresh_token": "string", + }, + "required": [ + "client_id", + "client_secret", + "grant_type", + "refresh_token", + ], + }, + "OAuth2RefreshPublicInput": { + "properties": { + "client_id": "string", + "grant_type": "enum(refresh_token)", + "refresh_token": "string", + }, + "required": [ + "client_id", + "grant_type", + "refresh_token", + ], + }, + "OAuth2TokensDto": { + "properties": { + "access_token": "string", + "expires_in": "number", + "refresh_token": "string", + "token_type": "string", + }, + "required": [ + "access_token", + "expires_in", + "refresh_token", + "token_type", + ], + }, + "OAuthClientWebhookOutputDto": { + "properties": { + "active": "boolean", + "id": "number", + "oAuthClientId": "string", + "payloadTemplate": "string", + "secret": "string", + "subscriberUrl": "string", + "triggers": "array", + }, + "required": [ + "active", + "id", + "oAuthClientId", + "payloadTemplate", + "subscriberUrl", + "triggers", + ], + }, + "OAuthClientWebhookOutputResponseDto": { + "properties": { + "data": "OAuthClientWebhookOutputDto", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "OAuthClientWebhooksOutputResponseDto": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "OnAfterCalVideoGuestsNoShowTriggerDto": { + "properties": { + "offset": "unknown", + "type": "enum(afterGuestsCalVideoNoShow)", + }, + "required": [ + "offset", + "type", + ], + }, + "OnAfterCalVideoHostsNoShowTriggerDto": { + "properties": { + "offset": "unknown", + "type": "enum(afterHostsCalVideoNoShow)", + }, + "required": [ + "offset", + "type", + ], + }, + "OnAfterEventTriggerDto": { + "properties": { + "offset": "unknown", + "type": "enum(afterEvent)", + }, + "required": [ + "offset", + "type", + ], + }, + "OnBeforeEventTriggerDto": { + "properties": { + "offset": "unknown", + "type": "enum(beforeEvent)", + }, + "required": [ + "offset", + "type", + ], + }, + "OnCancelTriggerDto": { + "properties": { + "type": "enum(eventCancelled)", + }, + "required": [ + "type", + ], + }, + "OnCreationTriggerDto": { + "properties": { + "type": "enum(newEvent)", + }, + "required": [ + "type", + ], + }, + "OnFormSubmittedNoEventTriggerDto": { + "properties": { + "offset": "unknown", + "type": "enum(formSubmittedNoEvent)", + }, + "required": [ + "offset", + "type", + ], + }, + "OnFormSubmittedTriggerDto": { + "properties": { + "type": "enum(formSubmitted)", + }, + "required": [ + "type", + ], + }, + "OnNoShowUpdateTriggerDto": { + "properties": { + "type": "string", + }, + "required": [ + "type", + ], + }, + "OnPaidTriggerDto": { + "properties": { + "type": "string", + }, + "required": [ + "type", + ], + }, + "OnPaymentInitiatedTriggerDto": { + "properties": { + "type": "string", + }, + "required": [ + "type", + ], + }, + "OnRejectedTriggerDto": { + "properties": { + "type": "string", + }, + "required": [ + "type", + ], + }, + "OnRequestedTriggerDto": { + "properties": { + "type": "string", + }, + "required": [ + "type", + ], + }, + "OnRescheduleTriggerDto": { + "properties": { + "type": "enum(rescheduleEvent)", + }, + "required": [ + "type", + ], + }, + "OptionOutput": { + "properties": { + "attributeId": "string", + "id": "string", + "slug": "string", + "value": "string", + }, + "required": [ + "attributeId", + "id", + "slug", + "value", + ], + }, + "OrgMeTeamsOutputResponseDto": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "OrgRoleOutput": { + "properties": { + "color": "string", + "createdAt": "string", + "description": "string", + "id": "string", + "name": "string", + "organizationId": "number", + "permissions": "array", + "type": "enum(SYSTEM|CUSTOM)", + "updatedAt": "string", + }, + "required": [ + "createdAt", + "id", + "name", + "permissions", + "type", + "updatedAt", + ], + }, + "OrgTeamMembershipOutputResponseDto": { + "properties": { + "data": "TeamMembershipOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "OrgTeamMembershipsOutputResponseDto": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "OrgTeamOutputDto": { + "properties": { + "appIconLogo": "string", + "appLogo": "string", + "bannerUrl": "string", + "bio": "string", + "brandColor": "string", + "calVideoLogo": "string", + "darkBrandColor": "string", + "hideBookATeamMember": "boolean", + "hideBranding": "boolean", + "id": "number", + "isOrganization": "boolean", + "isPrivate": "boolean", + "logoUrl": "string", + "metadata": "object", + "name": "string", + "parentId": "number", + "slug": "string", + "theme": "string", + "timeFormat": "number", + "timeZone": "string", + "weekStart": "string", + }, + "required": [ + "id", + "isOrganization", + "name", + ], + }, + "OrgTeamOutputResponseDto": { + "properties": { + "data": "OrgTeamOutputDto", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "OrgTeamsOutputResponseDto": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "OrganizationMembershipOutput": { + "properties": { + "accepted": "boolean", + "attributes": "array", + "disableImpersonation": "boolean", + "id": "number", + "role": "enum(MEMBER|OWNER|ADMIN)", + "teamId": "number", + "user": "MembershipUserOutputDto", + "userId": "number", + }, + "required": [ + "accepted", + "attributes", + "id", + "role", + "teamId", + "user", + "userId", + ], + }, + "OutputAddressLocation_2024_06_14": { + "properties": { + "address": "string", + "public": "boolean", + "type": "string", + }, + "required": [ + "address", + "public", + "type", + ], + }, + "OutputIntegrationLocation_2024_06_14": { + "properties": { + "credentialId": "number", + "integration": "enum(cal-video|google-meet|zoom|whereby-video|whatsapp-video|webex-video|telegram-video|tandem|sylaps-video|skype-video|sirius-video|signal-video|shimmer-video|salesroom-video|roam-video|riverside-video|ping-video|office365-video|mirotalk-video|jitsi|jelly-video|jelly-conferencing|huddle|facetime-video|element-call-video|eightxeight-video|discord-video|demodesk-video|campfire-video)", + "link": "string", + "type": "string", + }, + "required": [ + "integration", + "type", + ], + }, + "OutputLinkLocation_2024_06_14": { + "properties": { + "link": "string", + "public": "boolean", + "type": "string", + }, + "required": [ + "link", + "public", + "type", + ], + }, + "OutputOrganizersDefaultAppLocation_2024_06_14": { + "properties": { + "type": "string", + }, + "required": [ + "type", + ], + }, + "OutputPhoneLocation_2024_06_14": { + "properties": { + "phone": "string", + "public": "boolean", + "type": "string", + }, + "required": [ + "phone", + "public", + "type", + ], + }, + "OutputUnknownLocation_2024_06_14": { + "properties": { + "location": "string", + "type": "string", + }, + "required": [ + "location", + "type", + ], + }, + "PaginationMetaDto": { + "properties": { + "currentPage": "number", + "hasNextPage": "boolean", + "hasPreviousPage": "boolean", + "itemsPerPage": "number", + "remainingItems": "number", + "returnedItems": "number", + "totalItems": "number", + "totalPages": "number", + }, + "required": [ + "currentPage", + "hasNextPage", + "hasPreviousPage", + "itemsPerPage", + "remainingItems", + "returnedItems", + "totalItems", + "totalPages", + ], + }, + "PhoneFieldInput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "label": "string", + "placeholder": "string", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "hidden", + "label", + "placeholder", + "required", + "slug", + "type", + ], + }, + "PhoneFieldOutput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "isDefault": "object", + "label": "string", + "placeholder": "string", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "hidden", + "isDefault", + "label", + "placeholder", + "required", + "slug", + "type", + ], + }, + "PlatformOAuthClientDto": { + "properties": { + "areCalendarEventsEnabled": "boolean", + "areDefaultEventTypesEnabled": "boolean", + "areEmailsEnabled": "boolean", + "bookingCancelRedirectUri": "string", + "bookingRedirectUri": "string", + "bookingRescheduleRedirectUri": "string", + "createdAt": "string", + "id": "string", + "logo": "object", + "name": "string", + "organizationId": "number", + "permissions": "array", + "redirectUris": "array", + "secret": "string", + }, + "required": [ + "areCalendarEventsEnabled", + "areDefaultEventTypesEnabled", + "areEmailsEnabled", + "createdAt", + "id", + "name", + "organizationId", + "permissions", + "redirectUris", + "secret", + ], + }, + "Primary": { + "properties": { + "credentialId": "number", + "delegationCredentialId": "string", + "email": "string", + "externalId": "string", + "integration": "string", + "isSelected": "boolean", + "name": "string", + "primary": "boolean", + "readOnly": "boolean", + }, + "required": [ + "credentialId", + "externalId", + "isSelected", + "primary", + "readOnly", + ], + }, + "ProfileOutput": { + "properties": { + "id": "number", + "organizationId": "number", + "userId": "number", + "username": "string", + }, + "required": [ + "id", + "organizationId", + "userId", + ], + }, + "RadioGroupFieldInput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "label": "string", + "options": "array", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "hidden", + "label", + "options", + "required", + "slug", + "type", + ], + }, + "RadioGroupFieldOutput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "isDefault": "object", + "label": "string", + "options": "array", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "hidden", + "isDefault", + "label", + "options", + "required", + "slug", + "type", + ], + }, + "RangeSlotsOutput_2024_09_04": { + "properties": {}, + }, + "RangeWindow_2024_06_14": { + "properties": { + "type": "enum(businessDays|calendarDays|range)", + "value": "array", + }, + "required": [ + "type", + "value", + ], + }, + "ReassignBookingOutput_2024_08_13": { + "properties": { + "data": "unknown", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "ReassignToUserBookingInput_2024_08_13": { + "properties": { + "reason": "string", + }, + }, + "ReassignedToDto": { + "properties": { + "displayEmail": "string", + "email": "string", + "id": "number", + "name": "string", + }, + "required": [ + "displayEmail", + "email", + "id", + "name", + ], + }, + "RecordingItem": { + "properties": { + "downloadLink": "string", + "duration": "number", + "error": "string", + "id": "string", + "maxParticipants": "number", + "roomName": "string", + "shareToken": "string", + "startTs": "number", + "status": "string", + }, + "required": [ + "duration", + "id", + "roomName", + "shareToken", + "startTs", + "status", + ], + }, + "Recurrence_2024_06_14": { + "properties": { + "frequency": "enum(yearly|monthly|weekly)", + "interval": "number", + "occurrences": "number", + }, + "required": [ + "frequency", + "interval", + "occurrences", + ], + }, + "RecurringBookingOutput_2024_08_13": { + "properties": { + "absentHost": "boolean", + "attendees": "array", + "bookingFieldsResponses": "object", + "cancellationReason": "string", + "cancelledByEmail": "string", + "createdAt": "string", + "description": "string", + "duration": "number", + "end": "string", + "eventType": "EventType", + "eventTypeId": "number", + "guests": "array", + "hosts": "array", + "icsUid": "string", + "id": "number", + "location": "string", + "meetingUrl": "string", + "metadata": "object", + "rating": "number", + "recurringBookingUid": "string", + "rescheduledByEmail": "string", + "rescheduledFromUid": "string", + "rescheduledToUid": "string", + "reschedulingReason": "string", + "start": "string", + "status": "enum(cancelled|accepted|rejected|pending)", + "title": "string", + "uid": "string", + "updatedAt": "string", + }, + "required": [ + "absentHost", + "attendees", + "bookingFieldsResponses", + "createdAt", + "description", + "duration", + "end", + "eventType", + "eventTypeId", + "hosts", + "id", + "location", + "recurringBookingUid", + "start", + "status", + "title", + "uid", + "updatedAt", + ], + }, + "RefreshApiKeyInput": { + "properties": { + "apiKeyDaysValid": "number", + "apiKeyNeverExpires": "boolean", + }, + }, + "RefreshApiKeyOutput": { + "properties": { + "data": "ApiKeyOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "RefreshTokenInput": { + "properties": { + "refreshToken": "string", + }, + "required": [ + "refreshToken", + ], + }, + "RequestEmailVerificationInput": { + "properties": { + "email": "string", + }, + "required": [ + "email", + ], + }, + "RequestEmailVerificationOutput": { + "properties": { + "status": "enum(success|error)", + }, + "required": [ + "status", + ], + }, + "RequestPhoneVerificationInput": { + "properties": { + "phone": "string", + }, + "required": [ + "phone", + ], + }, + "RequestPhoneVerificationOutput": { + "properties": { + "status": "enum(success|error)", + }, + "required": [ + "status", + ], + }, + "RescheduleBookingInput_2024_08_13": { + "properties": { + "emailVerificationCode": "string", + "rescheduledBy": "string", + "reschedulingReason": "string", + "start": "string", + }, + "required": [ + "start", + ], + }, + "RescheduleBookingOutput_2024_08_13": { + "properties": { + "data": "unknown", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "RescheduleReasonDefaultFieldInput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "label": "string", + "placeholder": "string", + "required": "boolean", + "slug": "string", + }, + "required": [ + "slug", + ], + }, + "RescheduleReasonDefaultFieldOutput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "isDefault": "object", + "label": "string", + "placeholder": "string", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "isDefault", + "slug", + "type", + ], + }, + "RescheduleSeatedBookingInput_2024_08_13": { + "properties": { + "emailVerificationCode": "string", + "rescheduledBy": "string", + "seatUid": "string", + "start": "string", + }, + "required": [ + "seatUid", + "start", + ], + }, + "ReserveSlotInput_2024_09_04": { + "properties": { + "eventTypeId": "number", + "reservationDuration": "number", + "slotDuration": "number", + "slotStart": "string", + }, + "required": [ + "eventTypeId", + "slotStart", + ], + }, + "ReserveSlotOutputResponse_2024_09_04": { + "properties": { + "data": "ReserveSlotOutput_2024_09_04", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "ReserveSlotOutput_2024_09_04": { + "properties": { + "eventTypeId": "number", + "reservationDuration": "number", + "reservationUid": "string", + "reservationUntil": "string", + "slotDuration": "number", + "slotEnd": "string", + "slotStart": "string", + }, + "required": [ + "eventTypeId", + "reservationDuration", + "reservationUid", + "reservationUntil", + "slotDuration", + "slotEnd", + "slotStart", + ], + }, + "ResponseSlotsOutput": { + "properties": { + "data": "ResponseSlotsOutputData", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "ResponseSlotsOutputData": { + "properties": { + "eventTypeId": "number", + "slots": "unknown", + }, + "required": [ + "eventTypeId", + "slots", + ], + }, + "Routing": { + "properties": { + "crmAppSlug": "string", + "crmOwnerRecordType": "string", + "queuedResponseId": "string", + "responseId": "number", + "skipContactOwner": "boolean", + "teamMemberEmail": "string", + "teamMemberIds": "array", + }, + "required": [ + "teamMemberIds", + ], + }, + "RoutingFormOutput": { + "properties": { + "createdAt": "string", + "description": "string", + "disabled": "boolean", + "fields": "object", + "id": "string", + "name": "string", + "position": "number", + "routes": "object", + "settings": "object", + "teamId": "number", + "updatedAt": "string", + "userId": "number", + }, + "required": [ + "createdAt", + "description", + "disabled", + "fields", + "id", + "name", + "position", + "routes", + "settings", + "teamId", + "updatedAt", + "userId", + ], + }, + "RoutingFormResponseOutput": { + "properties": { + "createdAt": "string", + "formFillerId": "string", + "formId": "string", + "id": "number", + "response": "object", + "routedToBookingUid": "string", + }, + "required": [ + "createdAt", + "formFillerId", + "formId", + "id", + "response", + "routedToBookingUid", + ], + }, + "RoutingFormWorkflowActivationOutputDto": { + "properties": { + "activeOnRoutingFormIds": "array", + "isActiveOnAllRoutingForms": "boolean", + }, + }, + "RoutingFormWorkflowOutput": { + "properties": { + "activation": "unknown", + "createdAt": "object", + "id": "number", + "name": "string", + "steps": "array", + "teamId": "number", + "trigger": "unknown", + "type": "enum(routing-form)", + "updatedAt": "object", + "userId": "number", + }, + "required": [ + "activation", + "id", + "name", + "steps", + "trigger", + "type", + ], + }, + "RoutingFormWorkflowStepOutputDto": { + "properties": { + "action": "enum(email_attendee|email_address|sms_attendee|sms_number)", + "email": "string", + "id": "number", + "includeCalendarEvent": "object", + "message": "unknown", + "phone": "string", + "phoneRequired": "boolean", + "recipient": "enum(const|attendee|email|phone_number)", + "sender": "string", + "stepNumber": "number", + "template": "enum(reminder|custom|rescheduled|completed|rating|cancelled)", + }, + "required": [ + "action", + "id", + "message", + "recipient", + "sender", + "stepNumber", + "template", + ], + }, + "RoutingFormWorkflowTriggerDto": { + "properties": { + "type": "enum(formSubmitted|formSubmittedNoEvent)", + }, + "required": [ + "type", + ], + }, + "RoutingFormWorkflowTriggerOutputDto": { + "properties": { + "offset": "unknown", + "type": "enum(formSubmitted|formSubmittedNoEvent)", + }, + "required": [ + "type", + ], + }, + "ScheduleAvailabilityInput_2024_06_11": { + "properties": { + "days": "array", + "endTime": "string", + "startTime": "string", + }, + "required": [ + "days", + "endTime", + "startTime", + ], + }, + "ScheduleOutput_2024_06_11": { + "properties": { + "availability": "array", + "id": "number", + "isDefault": "boolean", + "name": "string", + "overrides": "array", + "ownerId": "number", + "timeZone": "string", + }, + "required": [ + "availability", + "id", + "isDefault", + "name", + "overrides", + "ownerId", + "timeZone", + ], + }, + "ScheduleOverrideInput_2024_06_11": { + "properties": { + "date": "string", + "endTime": "string", + "startTime": "string", + }, + "required": [ + "date", + "endTime", + "startTime", + ], + }, + "SeatedAttendee": { + "properties": { + "absent": "boolean", + "bookingFieldsResponses": "object", + "displayEmail": "string", + "email": "string", + "language": "enum(ar|ca|de|es|eu|he|id|ja|lv|pl|ro|sr|th|vi|az|cs|el|es-419|fi|hr|it|km|nl|pt|ru|sv|tr|zh-CN|bg|da|en|et|fr|hu|iw|ko|no|pt-BR|sk|ta|uk|zh-TW|bn)", + "metadata": "object", + "name": "string", + "phoneNumber": "string", + "seatUid": "string", + "timeZone": "string", + }, + "required": [ + "absent", + "bookingFieldsResponses", + "displayEmail", + "email", + "name", + "seatUid", + "timeZone", + ], + }, + "Seats_2024_06_14": { + "properties": { + "seatsPerTimeSlot": "number", + "showAttendeeInfo": "boolean", + "showAvailabilityCount": "boolean", + }, + "required": [ + "seatsPerTimeSlot", + "showAttendeeInfo", + "showAvailabilityCount", + ], + }, + "SelectFieldInput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "label": "string", + "options": "array", + "placeholder": "string", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "hidden", + "label", + "options", + "placeholder", + "required", + "slug", + "type", + ], + }, + "SelectFieldOutput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "isDefault": "object", + "label": "string", + "options": "array", + "placeholder": "string", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "hidden", + "isDefault", + "label", + "options", + "placeholder", + "required", + "slug", + "type", + ], + }, + "SelectedCalendarOutputDto": { + "properties": { + "credentialId": "number", + "externalId": "string", + "integration": "string", + "userId": "number", + }, + "required": [ + "credentialId", + "externalId", + "integration", + "userId", + ], + }, + "SelectedCalendarOutputResponseDto": { + "properties": { + "data": "SelectedCalendarOutputDto", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "SelectedCalendarsInputDto": { + "properties": { + "credentialId": "number", + "delegationCredentialId": "string", + "externalId": "string", + "integration": "string", + }, + "required": [ + "credentialId", + "externalId", + "integration", + ], + }, + "SetDefaultConferencingAppOutputResponseDto": { + "properties": { + "status": "enum(success|error)", + }, + "required": [ + "status", + ], + }, + "SingleSelectAttribute": { + "properties": { + "id": "string", + "name": "string", + "option": "string", + "optionId": "string", + "type": "string", + }, + "required": [ + "id", + "name", + "option", + "optionId", + "type", + ], + }, + "SlotsOutput_2024_09_04": { + "properties": {}, + }, + "StripConnectOutputDto": { + "properties": { + "authUrl": "string", + }, + "required": [ + "authUrl", + ], + }, + "StripConnectOutputResponseDto": { + "properties": { + "data": "StripConnectOutputDto", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "StripCredentialsCheckOutputResponseDto": { + "properties": { + "status": "object", + }, + "required": [ + "status", + ], + }, + "StripCredentialsSaveOutputResponseDto": { + "properties": { + "url": "string", + }, + "required": [ + "url", + ], + }, + "TeamEventTypeOutput_2024_06_14": { + "properties": { + "afterEventBuffer": "number", + "allowReschedulingCancelledBookings": "boolean", + "allowReschedulingPastBookings": "boolean", + "assignAllTeamMembers": "boolean", + "beforeEventBuffer": "number", + "bookerActiveBookingsLimit": "BookerActiveBookingsLimitOutput_2024_06_14", + "bookerLayouts": "BookerLayouts_2024_06_14", + "bookingFields": "array", + "bookingLimitsCount": "object", + "bookingLimitsDuration": "object", + "bookingRequiresAuthentication": "boolean", + "bookingWindow": "array", + "calVideoSettings": "unknown", + "color": "EventTypeColor_2024_06_14", + "confirmationPolicy": "object", + "currency": "string", + "customName": "string", + "description": "string", + "destinationCalendar": "DestinationCalendar_2024_06_14", + "disableCancelling": "unknown", + "disableGuests": "boolean", + "disableRescheduling": "unknown", + "emailSettings": "unknown", + "forwardParamsSuccessRedirect": "object", + "hidden": "boolean", + "hideCalendarEventDetails": "boolean", + "hideCalendarNotes": "boolean", + "hideOrganizerEmail": "boolean", + "hosts": "array", + "id": "number", + "interfaceLanguage": "string", + "isInstantEvent": "boolean", + "lengthInMinutes": "number", + "lengthInMinutesOptions": "array", + "locations": "array", + "lockTimeZoneToggleOnBookingPage": "boolean", + "metadata": "object", + "minimumBookingNotice": "number", + "offsetStart": "number", + "onlyShowFirstAvailableSlot": "boolean", + "ownerId": "object", + "parentEventTypeId": "object", + "price": "number", + "recurrence": "unknown", + "requiresBookerEmailVerification": "boolean", + "rescheduleWithSameRoundRobinHost": "boolean", + "scheduleId": "number", + "schedulingType": "enum(roundRobin|collective|managed)", + "seats": "Seats_2024_06_14", + "seatsPerTimeSlot": "object", + "seatsShowAvailabilityCount": "boolean", + "showOptimizedSlots": "boolean", + "slotInterval": "object", + "slug": "string", + "successRedirectUrl": "object", + "team": "EventTypeTeam", + "teamId": "number", + "title": "string", + "useDestinationCalendarEmail": "boolean", + }, + "required": [ + "bookingFields", + "bookingRequiresAuthentication", + "currency", + "description", + "disableGuests", + "forwardParamsSuccessRedirect", + "hidden", + "hosts", + "id", + "isInstantEvent", + "lengthInMinutes", + "locations", + "lockTimeZoneToggleOnBookingPage", + "metadata", + "price", + "recurrence", + "scheduleId", + "schedulingType", + "slug", + "successRedirectUrl", + "team", + "teamId", + "title", + ], + }, + "TeamMembershipOutput": { + "properties": { + "accepted": "boolean", + "disableImpersonation": "boolean", + "id": "number", + "role": "enum(MEMBER|OWNER|ADMIN)", + "teamId": "number", + "user": "MembershipUserOutputDto", + "userId": "number", + }, + "required": [ + "accepted", + "id", + "role", + "teamId", + "user", + "userId", + ], + }, + "TeamOutputDto": { + "properties": { + "appIconLogo": "string", + "appLogo": "string", + "bannerUrl": "string", + "bio": "string", + "brandColor": "string", + "calVideoLogo": "string", + "darkBrandColor": "string", + "hideBookATeamMember": "boolean", + "hideBranding": "boolean", + "id": "number", + "isOrganization": "boolean", + "isPrivate": "boolean", + "logoUrl": "string", + "metadata": "object", + "name": "string", + "parentId": "number", + "slug": "string", + "theme": "string", + "timeFormat": "number", + "timeZone": "string", + "weekStart": "string", + }, + "required": [ + "id", + "isOrganization", + "name", + ], + }, + "TeamRoleOutput": { + "properties": { + "color": "string", + "createdAt": "string", + "description": "string", + "id": "string", + "name": "string", + "permissions": "array", + "teamId": "number", + "type": "enum(SYSTEM|CUSTOM)", + "updatedAt": "string", + }, + "required": [ + "createdAt", + "id", + "name", + "permissions", + "type", + "updatedAt", + ], + }, + "TeamVerifiedEmailOutput": { + "properties": { + "data": "TeamVerifiedEmailOutputData", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "TeamVerifiedEmailOutputData": { + "properties": { + "email": "string", + "id": "number", + "teamId": "number", + "userId": "number", + }, + "required": [ + "email", + "id", + "teamId", + ], + }, + "TeamVerifiedEmailsOutput": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "TeamVerifiedPhoneOutput": { + "properties": { + "data": "TeamVerifiedPhoneOutputData", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "TeamVerifiedPhoneOutputData": { + "properties": { + "id": "number", + "phoneNumber": "string", + "teamId": "number", + "userId": "number", + }, + "required": [ + "id", + "phoneNumber", + "teamId", + ], + }, + "TeamVerifiedPhonesOutput": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "TeamWebhookOutputDto": { + "properties": { + "active": "boolean", + "id": "number", + "payloadTemplate": "string", + "secret": "string", + "subscriberUrl": "string", + "teamId": "number", + "triggers": "array", + }, + "required": [ + "active", + "id", + "payloadTemplate", + "subscriberUrl", + "teamId", + "triggers", + ], + }, + "TeamWebhookOutputResponseDto": { + "properties": { + "data": "TeamWebhookOutputDto", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "TeamWebhooksOutputResponseDto": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "TextAreaFieldInput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "label": "string", + "placeholder": "string", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "hidden", + "label", + "placeholder", + "required", + "slug", + "type", + ], + }, + "TextAreaFieldOutput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "isDefault": "object", + "label": "string", + "placeholder": "string", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "hidden", + "isDefault", + "label", + "placeholder", + "required", + "slug", + "type", + ], + }, + "TextAttribute": { + "properties": { + "id": "string", + "name": "string", + "option": "string", + "optionId": "string", + "type": "string", + }, + "required": [ + "id", + "name", + "option", + "optionId", + "type", + ], + }, + "TextFieldInput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "label": "string", + "placeholder": "string", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "hidden", + "label", + "placeholder", + "required", + "slug", + "type", + ], + }, + "TextFieldOutput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "isDefault": "object", + "label": "string", + "placeholder": "string", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "hidden", + "isDefault", + "label", + "placeholder", + "required", + "slug", + "type", + ], + }, + "TextWorkflowMessageDto": { + "properties": { + "subject": "string", + "text": "string", + }, + "required": [ + "subject", + "text", + ], + }, + "TimeBasedPrivateLinkOutput": { + "properties": { + "bookingUrl": "string", + "eventTypeId": "number", + "expiresAt": "string", + "isExpired": "boolean", + "linkId": "string", + }, + "required": [ + "bookingUrl", + "eventTypeId", + "expiresAt", + "isExpired", + "linkId", + ], + }, + "TitleDefaultFieldInput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "label": "string", + "placeholder": "string", + "required": "boolean", + "slug": "string", + }, + "required": [ + "slug", + ], + }, + "TitleDefaultFieldOutput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "isDefault": "object", + "label": "string", + "placeholder": "string", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "isDefault", + "slug", + "type", + ], + }, + "UnassignOptionUserOutput": { + "properties": { + "data": "AssignOptionUserOutputData", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "UnifiedCalendarEventOutput": { + "properties": { + "attendees": "array", + "calendarEventOwner": "unknown", + "description": "string", + "end": "object", + "hosts": "array", + "id": "string", + "locations": "array", + "source": "CalendarSource", + "start": "object", + "status": "CalendarEventStatus", + "title": "string", + }, + "required": [ + "end", + "id", + "source", + "start", + "title", + ], + }, + "UpdateAttributeOptionOutput": { + "properties": { + "data": "OptionOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "UpdateBookingInputAttendeeAddressLocation_2024_08_13": { + "properties": { + "address": "string", + "type": "string", + }, + "required": [ + "address", + "type", + ], + }, + "UpdateBookingInputAttendeeDefinedLocation_2024_08_13": { + "properties": { + "location": "string", + "type": "string", + }, + "required": [ + "location", + "type", + ], + }, + "UpdateBookingInputAttendeePhoneLocation_2024_08_13": { + "properties": { + "phone": "string", + "type": "string", + }, + "required": [ + "phone", + "type", + ], + }, + "UpdateBookingInputLinkLocation_2024_08_13": { + "properties": { + "link": "string", + "type": "string", + }, + "required": [ + "link", + "type", + ], + }, + "UpdateBookingInputPhoneLocation_2024_08_13": { + "properties": { + "phone": "string", + "type": "string", + }, + "required": [ + "phone", + "type", + ], + }, + "UpdateBookingLocationInput_2024_08_13": { + "properties": { + "location": "unknown", + }, + }, + "UpdateBookingLocationOutput_2024_08_13": { + "properties": { + "data": "unknown", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "UpdateCalendarEventAttendee": { + "properties": { + "email": "string", + "host": "boolean", + "name": "string", + "optional": "boolean", + "responseStatus": "CalendarEventResponseStatus", + "self": "boolean", + }, + }, + "UpdateDelegationCredentialInput": { + "properties": { + "enabled": "boolean", + "serviceAccountKey": "array", + }, + }, + "UpdateDelegationCredentialOutput": { + "properties": { + "data": "DelegationCredentialOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "UpdateEmailAddressWorkflowStepDto": { + "properties": { + "action": "enum(email_host|email_attendee|email_address|sms_attendee|sms_number|whatsapp_attendee|whatsapp_number|cal_ai_phone_call)", + "id": "number", + "includeCalendarEvent": "object", + "message": "unknown", + "recipient": "enum(const|attendee|email|phone_number)", + "sender": "string", + "stepNumber": "number", + "template": "enum(reminder|custom|rescheduled|completed|rating|cancelled)", + "verifiedEmailId": "number", + }, + "required": [ + "action", + "includeCalendarEvent", + "message", + "recipient", + "sender", + "stepNumber", + "template", + "verifiedEmailId", + ], + }, + "UpdateEmailAttendeeWorkflowStepDto": { + "properties": { + "action": "enum(email_host|email_attendee|email_address|sms_attendee|sms_number|whatsapp_attendee|whatsapp_number|cal_ai_phone_call)", + "id": "number", + "includeCalendarEvent": "object", + "message": "unknown", + "recipient": "enum(const|attendee|email|phone_number)", + "sender": "string", + "stepNumber": "number", + "template": "enum(reminder|custom|rescheduled|completed|rating|cancelled)", + }, + "required": [ + "action", + "includeCalendarEvent", + "message", + "recipient", + "sender", + "stepNumber", + "template", + ], + }, + "UpdateEmailHostWorkflowStepDto": { + "properties": { + "action": "enum(email_host|email_attendee|email_address|sms_attendee|sms_number|whatsapp_attendee|whatsapp_number|cal_ai_phone_call)", + "id": "number", + "includeCalendarEvent": "object", + "message": "unknown", + "recipient": "enum(const|attendee|email|phone_number)", + "sender": "string", + "stepNumber": "number", + "template": "enum(reminder|custom|rescheduled|completed|rating|cancelled)", + }, + "required": [ + "action", + "includeCalendarEvent", + "message", + "recipient", + "sender", + "stepNumber", + "template", + ], + }, + "UpdateEventTypeInput_2024_06_14": { + "properties": { + "afterEventBuffer": "number", + "allowReschedulingCancelledBookings": "boolean", + "allowReschedulingPastBookings": "boolean", + "beforeEventBuffer": "number", + "bookerActiveBookingsLimit": "unknown", + "bookerLayouts": "unknown", + "bookingFields": "array", + "bookingLimitsCount": "unknown", + "bookingLimitsDuration": "unknown", + "bookingRequiresAuthentication": "boolean", + "bookingWindow": "unknown", + "calVideoSettings": "unknown", + "color": "EventTypeColor_2024_06_14", + "confirmationPolicy": "unknown", + "customName": "string", + "description": "string", + "destinationCalendar": "DestinationCalendar_2024_06_14", + "disableCancelling": "unknown", + "disableGuests": "boolean", + "disableRescheduling": "unknown", + "hidden": "boolean", + "hideCalendarEventDetails": "boolean", + "hideCalendarNotes": "boolean", + "hideOrganizerEmail": "boolean", + "interfaceLanguage": "enum(|en|ar|az|bg|bn|ca|cs|da|de|el|es|es-419|eu|et|fi|fr|he|hu|it|ja|km|ko|nl|no|pl|pt-BR|pt|ro|ru|sk-SK|sr|sv|tr|uk|vi|zh-CN|zh-TW)", + "lengthInMinutes": "number", + "lengthInMinutesOptions": "array", + "locations": "array", + "lockTimeZoneToggleOnBookingPage": "boolean", + "minimumBookingNotice": "number", + "offsetStart": "number", + "onlyShowFirstAvailableSlot": "boolean", + "recurrence": "unknown", + "requiresBookerEmailVerification": "boolean", + "scheduleId": "number", + "seats": "unknown", + "showOptimizedSlots": "boolean", + "slotInterval": "number", + "slug": "string", + "successRedirectUrl": "string", + "title": "string", + "useDestinationCalendarEmail": "boolean", + }, + }, + "UpdateEventTypeOutput_2024_06_14": { + "properties": { + "data": "EventTypeOutput_2024_06_14", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "UpdateEventTypeWorkflowDto": { + "properties": { + "activation": "unknown", + "name": "string", + "steps": "array", + "trigger": "unknown", + }, + }, + "UpdateFormWorkflowDto": { + "properties": { + "activation": "WorkflowFormActivationDto", + "name": "string", + "steps": "array", + "trigger": "unknown", + }, + }, + "UpdateInputAddressLocation_2024_08_13": { + "properties": { + "address": "string", + "type": "string", + }, + "required": [ + "address", + "type", + ], + }, + "UpdateManagedUserInput": { + "properties": { + "avatarUrl": "string", + "bio": "string", + "defaultScheduleId": "number", + "email": "string", + "locale": "enum(ar|ca|de|es|eu|he|id|ja|lv|pl|ro|sr|th|vi|az|cs|el|es-419|fi|hr|it|km|nl|pt|ru|sv|tr|zh-CN|bg|da|en|et|fr|hu|iw|ko|no|pt-BR|sk|ta|uk|zh-TW|bn)", + "metadata": "object", + "name": "string", + "timeFormat": "enum(12|24)", + "timeZone": "string", + "weekStart": "enum(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday)", + }, + }, + "UpdateMeOutput": { + "properties": { + "data": "MeOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "UpdateOAuthClientInput": { + "properties": { + "areCalendarEventsEnabled": "boolean", + "areDefaultEventTypesEnabled": "boolean", + "areEmailsEnabled": "boolean", + "bookingCancelRedirectUri": "string", + "bookingRedirectUri": "string", + "bookingRescheduleRedirectUri": "string", + "logo": "string", + "name": "string", + "redirectUris": "array", + }, + }, + "UpdateOrgMembership": { + "properties": { + "data": "OrganizationMembershipOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "UpdateOrgMembershipDto": { + "properties": { + "accepted": "boolean", + "disableImpersonation": "boolean", + "role": "enum(MEMBER|OWNER|ADMIN)", + }, + }, + "UpdateOrgRoleInput": { + "properties": { + "color": "string", + "description": "string", + "name": "string", + "permissions": "array", + }, + }, + "UpdateOrgRoleOutput": { + "properties": { + "data": "OrgRoleOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "UpdateOrgTeamDto": { + "properties": { + "appIconLogo": "string", + "appLogo": "string", + "bannerUrl": "string", + "bio": "string", + "bookingLimits": "string", + "brandColor": "string", + "calVideoLogo": "string", + "darkBrandColor": "string", + "hideBookATeamMember": "boolean", + "hideBranding": "boolean", + "includeManagedEventsInLimits": "boolean", + "isPrivate": "boolean", + "logoUrl": "string", + "metadata": "object", + "name": "string", + "slug": "string", + "theme": "string", + "timeFormat": "number", + "timeZone": "string", + "weekStart": "string", + }, + }, + "UpdateOrgTeamMembershipDto": { + "properties": { + "accepted": "boolean", + "disableImpersonation": "boolean", + "role": "enum(MEMBER|OWNER|ADMIN)", + }, + }, + "UpdateOrganizationAttributeInput": { + "properties": { + "enabled": "boolean", + "name": "string", + "slug": "string", + "type": "enum(TEXT|NUMBER|SINGLE_SELECT|MULTI_SELECT)", + }, + }, + "UpdateOrganizationAttributeOptionInput": { + "properties": { + "slug": "string", + "value": "string", + }, + }, + "UpdateOrganizationAttributesOutput": { + "properties": { + "data": "Attribute", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "UpdateOrganizationInput": { + "properties": { + "metadata": "object", + "name": "string", + }, + }, + "UpdateOrganizationUserInput": { + "properties": {}, + }, + "UpdateOutOfOfficeEntryDto": { + "properties": { + "end": "string", + "notes": "string", + "reason": "enum(unspecified|vacation|travel|sick|public_holiday)", + "start": "string", + "toUserId": "number", + }, + }, + "UpdatePhoneAttendeeWorkflowStepDto": { + "properties": { + "action": "enum(email_host|email_attendee|email_address|sms_attendee|sms_number|whatsapp_attendee|whatsapp_number|cal_ai_phone_call)", + "id": "number", + "message": "unknown", + "phoneRequired": "boolean", + "recipient": "enum(const|attendee|email|phone_number)", + "sender": "string", + "stepNumber": "number", + "template": "enum(reminder|custom|rescheduled|completed|rating|cancelled)", + }, + "required": [ + "action", + "message", + "recipient", + "sender", + "stepNumber", + "template", + ], + }, + "UpdatePhoneNumberWorkflowStepDto": { + "properties": { + "action": "enum(email_host|email_attendee|email_address|sms_attendee|sms_number|whatsapp_attendee|whatsapp_number|cal_ai_phone_call)", + "id": "number", + "message": "unknown", + "recipient": "enum(const|attendee|email|phone_number)", + "sender": "string", + "stepNumber": "number", + "template": "enum(reminder|custom|rescheduled|completed|rating|cancelled)", + "verifiedPhoneId": "number", + }, + "required": [ + "action", + "message", + "recipient", + "sender", + "stepNumber", + "template", + "verifiedPhoneId", + ], + }, + "UpdatePhoneWhatsAppNumberWorkflowStepDto": { + "properties": { + "action": "enum(email_host|email_attendee|email_address|sms_attendee|sms_number|whatsapp_attendee|whatsapp_number|cal_ai_phone_call)", + "id": "number", + "message": "unknown", + "recipient": "enum(const|attendee|email|phone_number)", + "sender": "string", + "stepNumber": "number", + "template": "enum(reminder|custom|rescheduled|completed|rating|cancelled)", + "verifiedPhoneId": "number", + }, + "required": [ + "action", + "message", + "recipient", + "sender", + "stepNumber", + "template", + "verifiedPhoneId", + ], + }, + "UpdatePrivateLinkBody": { + "properties": { + "expiresAt": "string", + "maxUsageCount": "number", + }, + }, + "UpdatePrivateLinkOutput": { + "properties": { + "data": "unknown", + "status": "string", + }, + "required": [ + "data", + "status", + ], + }, + "UpdateRoutingFormResponseInput": { + "properties": { + "response": "object", + }, + }, + "UpdateRoutingFormResponseOutput": { + "properties": { + "data": "RoutingFormResponseOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "UpdateScheduleInput_2024_06_11": { + "properties": { + "availability": "array", + "isDefault": "boolean", + "name": "string", + "overrides": "array", + "timeZone": "string", + }, + }, + "UpdateScheduleOutput_2024_06_11": { + "properties": { + "data": "ScheduleOutput_2024_06_11", + "error": "object", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "UpdateTeamEventTypeInput_2024_06_14": { + "properties": { + "afterEventBuffer": "number", + "allowReschedulingCancelledBookings": "boolean", + "allowReschedulingPastBookings": "boolean", + "assignAllTeamMembers": "boolean", + "beforeEventBuffer": "number", + "bookerActiveBookingsLimit": "unknown", + "bookerLayouts": "unknown", + "bookingFields": "array", + "bookingLimitsCount": "unknown", + "bookingLimitsDuration": "unknown", + "bookingRequiresAuthentication": "boolean", + "bookingWindow": "unknown", + "calVideoSettings": "unknown", + "color": "EventTypeColor_2024_06_14", + "confirmationPolicy": "unknown", + "customName": "string", + "description": "string", + "destinationCalendar": "DestinationCalendar_2024_06_14", + "disableCancelling": "unknown", + "disableGuests": "boolean", + "disableRescheduling": "unknown", + "emailSettings": "unknown", + "hidden": "boolean", + "hideCalendarEventDetails": "boolean", + "hideCalendarNotes": "boolean", + "hideOrganizerEmail": "boolean", + "hosts": "array", + "interfaceLanguage": "enum(|en|ar|az|bg|bn|ca|cs|da|de|el|es|es-419|eu|et|fi|fr|he|hu|it|ja|km|ko|nl|no|pl|pt-BR|pt|ro|ru|sk-SK|sr|sv|tr|uk|vi|zh-CN|zh-TW)", + "lengthInMinutes": "number", + "lengthInMinutesOptions": "array", + "locations": "array", + "lockTimeZoneToggleOnBookingPage": "boolean", + "minimumBookingNotice": "number", + "offsetStart": "number", + "onlyShowFirstAvailableSlot": "boolean", + "recurrence": "unknown", + "requiresBookerEmailVerification": "boolean", + "rescheduleWithSameRoundRobinHost": "boolean", + "scheduleId": "number", + "schedulingType": "enum(collective|roundRobin)", + "seats": "unknown", + "showOptimizedSlots": "boolean", + "slotInterval": "number", + "slug": "string", + "successRedirectUrl": "string", + "title": "string", + "useDestinationCalendarEmail": "boolean", + }, + }, + "UpdateTeamEventTypeOutput": { + "properties": { + "data": "unknown", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "UpdateTeamMembershipInput": { + "properties": { + "accepted": "boolean", + "disableImpersonation": "boolean", + "role": "enum(MEMBER|OWNER|ADMIN)", + }, + }, + "UpdateTeamMembershipOutput": { + "properties": { + "data": "TeamMembershipOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "UpdateTeamOutput": { + "properties": { + "data": "TeamOutputDto", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "UpdateTeamRoleInput": { + "properties": { + "color": "string", + "description": "string", + "name": "string", + "permissions": "array", + }, + }, + "UpdateTeamRoleOutput": { + "properties": { + "data": "TeamRoleOutput", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "UpdateUnifiedCalendarEventInput": { + "properties": { + "attendees": "array", + "description": "string", + "end": "object", + "start": "object", + "status": "CalendarEventStatus", + "title": "string", + }, + }, + "UpdateWebhookInputDto": { + "properties": { + "active": "boolean", + "payloadTemplate": "string", + "secret": "string", + "subscriberUrl": "string", + "triggers": "array", + "version": "enum(2021-10-20)", + }, + }, + "UpdateWhatsAppAttendeePhoneWorkflowStepDto": { + "properties": { + "action": "enum(email_host|email_attendee|email_address|sms_attendee|sms_number|whatsapp_attendee|whatsapp_number|cal_ai_phone_call)", + "id": "number", + "message": "unknown", + "phoneRequired": "boolean", + "recipient": "enum(const|attendee|email|phone_number)", + "sender": "string", + "stepNumber": "number", + "template": "enum(reminder|custom|rescheduled|completed|rating|cancelled)", + }, + "required": [ + "action", + "message", + "recipient", + "sender", + "stepNumber", + "template", + ], + }, + "UrlFieldInput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "label": "string", + "placeholder": "string", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "hidden", + "label", + "placeholder", + "required", + "slug", + "type", + ], + }, + "UrlFieldOutput_2024_06_14": { + "properties": { + "disableOnPrefill": "boolean", + "hidden": "boolean", + "isDefault": "object", + "label": "string", + "placeholder": "string", + "required": "boolean", + "slug": "string", + "type": "string", + }, + "required": [ + "hidden", + "isDefault", + "label", + "placeholder", + "required", + "slug", + "type", + ], + }, + "UsageBasedPrivateLinkOutput": { + "properties": { + "bookingUrl": "string", + "eventTypeId": "number", + "isExpired": "boolean", + "linkId": "string", + "maxUsageCount": "number", + "usageCount": "number", + }, + "required": [ + "bookingUrl", + "eventTypeId", + "isExpired", + "linkId", + "maxUsageCount", + "usageCount", + ], + }, + "UserOooOutputDto": { + "properties": { + "end": "string", + "id": "number", + "notes": "string", + "reason": "enum(unspecified|vacation|travel|sick|public_holiday)", + "start": "string", + "toUserId": "number", + "userId": "number", + "uuid": "string", + }, + "required": [ + "end", + "id", + "start", + "userId", + "uuid", + ], + }, + "UserOooOutputResponseDto": { + "properties": { + "data": "UserOooOutputDto", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "UserOoosOutputResponseDto": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "UserVerifiedEmailOutput": { + "properties": { + "data": "UserVerifiedEmailOutputData", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "UserVerifiedEmailOutputData": { + "properties": { + "email": "string", + "id": "number", + "userId": "number", + }, + "required": [ + "email", + "id", + "userId", + ], + }, + "UserVerifiedEmailsOutput": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "UserVerifiedPhoneOutput": { + "properties": { + "data": "UserVerifiedPhoneOutputData", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "UserVerifiedPhoneOutputData": { + "properties": { + "id": "number", + "phoneNumber": "string", + "userId": "number", + }, + "required": [ + "id", + "phoneNumber", + "userId", + ], + }, + "UserVerifiedPhonesOutput": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "UserWebhookOutputDto": { + "properties": { + "active": "boolean", + "id": "number", + "payloadTemplate": "string", + "secret": "string", + "subscriberUrl": "string", + "triggers": "array", + "userId": "number", + }, + "required": [ + "active", + "id", + "payloadTemplate", + "subscriberUrl", + "triggers", + "userId", + ], + }, + "UserWebhookOutputResponseDto": { + "properties": { + "data": "UserWebhookOutputDto", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "UserWebhooksOutputResponseDto": { + "properties": { + "data": "array", + "status": "enum(success|error)", + }, + "required": [ + "data", + "status", + ], + }, + "ValidateBookingLocation_2024_08_13": { + "properties": {}, + }, + "VerifyEmailInput": { + "properties": { + "code": "string", + "email": "string", + }, + "required": [ + "code", + "email", + ], + }, + "VerifyPhoneInput": { + "properties": { + "code": "string", + "phone": "string", + }, + "required": [ + "code", + "phone", + ], + }, + "WorkflowActivationDto": { + "properties": { + "activeOnEventTypeIds": "array", + "isActiveOnAllEventTypes": "boolean", + }, + "required": [ + "isActiveOnAllEventTypes", + ], + }, + "WorkflowEmailAddressStepDto": { + "properties": { + "action": "enum(email_host|email_attendee|email_address|sms_attendee|sms_number|whatsapp_attendee|whatsapp_number|cal_ai_phone_call)", + "includeCalendarEvent": "object", + "message": "unknown", + "recipient": "enum(const|attendee|email|phone_number)", + "sender": "string", + "stepNumber": "number", + "template": "enum(reminder|custom|rescheduled|completed|rating|cancelled)", + "verifiedEmailId": "number", + }, + "required": [ + "action", + "includeCalendarEvent", + "message", + "recipient", + "sender", + "stepNumber", + "template", + "verifiedEmailId", + ], + }, + "WorkflowEmailAttendeeStepDto": { + "properties": { + "action": "enum(email_host|email_attendee|email_address|sms_attendee|sms_number|whatsapp_attendee|whatsapp_number|cal_ai_phone_call)", + "includeCalendarEvent": "object", + "message": "unknown", + "recipient": "enum(const|attendee|email|phone_number)", + "sender": "string", + "stepNumber": "number", + "template": "enum(reminder|custom|rescheduled|completed|rating|cancelled)", + }, + "required": [ + "action", + "includeCalendarEvent", + "message", + "recipient", + "sender", + "stepNumber", + "template", + ], + }, + "WorkflowEmailHostStepDto": { + "properties": { + "action": "enum(email_host|email_attendee|email_address|sms_attendee|sms_number|whatsapp_attendee|whatsapp_number|cal_ai_phone_call)", + "includeCalendarEvent": "object", + "message": "unknown", + "recipient": "enum(const|attendee|email|phone_number)", + "sender": "string", + "stepNumber": "number", + "template": "enum(reminder|custom|rescheduled|completed|rating|cancelled)", + }, + "required": [ + "action", + "includeCalendarEvent", + "message", + "recipient", + "sender", + "stepNumber", + "template", + ], + }, + "WorkflowFormActivationDto": { + "properties": { + "activeOnRoutingFormIds": "array", + "isActiveOnAllRoutingForms": "boolean", + }, + "required": [ + "isActiveOnAllRoutingForms", + ], + }, + "WorkflowMessageOutputDto": { + "properties": { + "html": "string", + "subject": "string", + "text": "string", + }, + "required": [ + "subject", + ], + }, + "WorkflowPhoneAttendeeStepDto": { + "properties": { + "action": "enum(email_host|email_attendee|email_address|sms_attendee|sms_number|whatsapp_attendee|whatsapp_number|cal_ai_phone_call)", + "message": "unknown", + "phoneRequired": "boolean", + "recipient": "enum(const|attendee|email|phone_number)", + "sender": "string", + "stepNumber": "number", + "template": "enum(reminder|custom|rescheduled|completed|rating|cancelled)", + }, + "required": [ + "action", + "message", + "recipient", + "sender", + "stepNumber", + "template", + ], + }, + "WorkflowPhoneNumberStepDto": { + "properties": { + "action": "enum(email_host|email_attendee|email_address|sms_attendee|sms_number|whatsapp_attendee|whatsapp_number|cal_ai_phone_call)", + "message": "unknown", + "recipient": "enum(const|attendee|email|phone_number)", + "sender": "string", + "stepNumber": "number", + "template": "enum(reminder|custom|rescheduled|completed|rating|cancelled)", + "verifiedPhoneId": "number", + }, + "required": [ + "action", + "message", + "recipient", + "sender", + "stepNumber", + "template", + "verifiedPhoneId", + ], + }, + "WorkflowPhoneWhatsAppAttendeeStepDto": { + "properties": { + "action": "enum(email_host|email_attendee|email_address|sms_attendee|sms_number|whatsapp_attendee|whatsapp_number|cal_ai_phone_call)", + "message": "unknown", + "phoneRequired": "boolean", + "recipient": "enum(const|attendee|email|phone_number)", + "sender": "string", + "stepNumber": "number", + "template": "enum(reminder|custom|rescheduled|completed|rating|cancelled)", + }, + "required": [ + "action", + "message", + "recipient", + "sender", + "stepNumber", + "template", + ], + }, + "WorkflowPhoneWhatsAppNumberStepDto": { + "properties": { + "action": "enum(email_host|email_attendee|email_address|sms_attendee|sms_number|whatsapp_attendee|whatsapp_number|cal_ai_phone_call)", + "message": "unknown", + "recipient": "enum(const|attendee|email|phone_number)", + "sender": "string", + "stepNumber": "number", + "template": "enum(reminder|custom|rescheduled|completed|rating|cancelled)", + "verifiedPhoneId": "number", + }, + "required": [ + "action", + "message", + "recipient", + "sender", + "stepNumber", + "template", + "verifiedPhoneId", + ], + }, + "WorkflowTriggerOffsetDto": { + "properties": { + "unit": "enum(hour|minute|day)", + "value": "number", + }, + "required": [ + "unit", + "value", + ], + }, + "WorkflowTriggerOffsetOutputDto": { + "properties": { + "unit": "enum(hour|minute|day)", + "value": "number", + }, + "required": [ + "unit", + "value", + ], + }, + "WorkspacePlatformDto": { + "properties": { + "name": "string", + "slug": "string", + }, + "required": [ + "name", + "slug", + ], + }, + "calendarEventOwner": { + "properties": { + "email": "string", + "name": "string", + }, + "required": [ + "email", + ], + }, +} +`; + +exports[`OpenAPI Endpoint Parameter Contracts > should match the full endpoint parameter contract snapshot 1`] = ` +[ + { + "method": "POST", + "operationId": "ApiKeysController_refresh", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/api-keys/refresh", + "requestBody": { + "properties": { + "apiKeyDaysValid": "number", + "apiKeyNeverExpires": "boolean", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Api Keys", + ], + }, + { + "method": "GET", + "operationId": "OAuth2Controller_getClient", + "parameters": [ + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/auth/oauth2/clients/{clientId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "OAuth2", + ], + }, + { + "method": "POST", + "operationId": "OAuth2Controller_token", + "parameters": [], + "path": "/v2/auth/oauth2/token", + "requestBody": { + "oneOf": [ + "OAuth2ExchangeConfidentialInput", + "OAuth2ExchangePublicInput", + "OAuth2RefreshConfidentialInput", + "OAuth2RefreshPublicInput", + ], + }, + "responseCodes": [ + "200", + ], + "tags": [ + "OAuth2", + ], + }, + { + "method": "GET", + "operationId": "BookingsController_2024_08_13_getBookings", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "afterCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "afterStart", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "afterUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "attendeeEmail", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "attendeeName", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeEnd", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "bookingUid", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "eventTypeId", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "eventTypeIds", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortCreated", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortEnd", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortStart", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "status", + "required": false, + "type": "array", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "teamId", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "teamsIds", + "required": false, + "type": "string", + }, + ], + "path": "/v2/bookings", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Bookings", + ], + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_createBooking", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + ], + "path": "/v2/bookings", + "requestBody": { + "oneOf": [ + "CreateBookingInput_2024_08_13", + "CreateInstantBookingInput_2024_08_13", + "CreateRecurringBookingInput_2024_08_13", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Bookings", + ], + }, + { + "method": "GET", + "operationId": "BookingsController_2024_08_13_getBooking", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Bookings", + ], + }, + { + "method": "GET", + "operationId": "BookingAttendeesController_2024_08_13_getBookingAttendees", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/attendees", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Bookings / Attendees", + ], + }, + { + "method": "POST", + "operationId": "BookingAttendeesController_2024_08_13_addAttendee", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/attendees", + "requestBody": { + "properties": { + "email": "string", + "language": "enum(ar|ca|de|es|eu|he|id|ja|lv|pl|ro|sr|th|vi|az|cs|el|es-419|fi|hr|it|km|nl|pt|ru|sv|tr|zh-CN|bg|da|en|et|fr|hu|iw|ko|no|pt-BR|sk|ta|uk|zh-TW|bn)", + "name": "string", + "phoneNumber": "string", + "timeZone": "string", + }, + "required": [ + "email", + "name", + "timeZone", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Bookings / Attendees", + ], + }, + { + "method": "GET", + "operationId": "BookingAttendeesController_2024_08_13_getBookingAttendee", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "attendeeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/attendees/{attendeeId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Bookings / Attendees", + ], + }, + { + "method": "GET", + "operationId": "BookingsController_2024_08_13_getCalendarLinks", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/calendar-links", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Bookings", + ], + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_cancelBooking", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/cancel", + "requestBody": { + "oneOf": [ + "CancelBookingInput_2024_08_13", + "CancelSeatedBookingInput_2024_08_13", + ], + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Bookings", + ], + }, + { + "method": "GET", + "operationId": "BookingsController_2024_08_13_getVideoSessions", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/conferencing-sessions", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Bookings", + ], + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_confirmBooking", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/confirm", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Bookings", + ], + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_declineBooking", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/decline", + "requestBody": { + "properties": { + "reason": "string", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Bookings", + ], + }, + { + "method": "POST", + "operationId": "BookingGuestsController_2024_08_13_addGuests", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/guests", + "requestBody": { + "properties": { + "guests": "array", + }, + "required": [ + "guests", + ], + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Bookings / Guests", + ], + }, + { + "method": "PATCH", + "operationId": "BookingLocationController_2024_08_13_updateBookingLocation", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/location", + "requestBody": { + "properties": { + "location": "unknown", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Bookings", + ], + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_markNoShow", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/mark-absent", + "requestBody": { + "properties": { + "attendees": "array", + "host": "boolean", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Bookings", + ], + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_reassignBooking", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/reassign", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Bookings", + ], + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_reassignBookingToUser", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/bookings/{bookingUid}/reassign/{userId}", + "requestBody": { + "properties": { + "reason": "string", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Bookings", + ], + }, + { + "method": "GET", + "operationId": "BookingsController_2024_08_13_getBookingRecordings", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/recordings", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Bookings", + ], + }, + { + "method": "GET", + "operationId": "BookingsController_2024_08_13_getBookingReferences", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + { + "enum": [ + "google_calendar", + "office365_calendar", + "daily_video", + "google_video", + "office365_video", + "zoom_video", + ], + "in": "query", + "name": "type", + "required": false, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/references", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Bookings", + ], + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_rescheduleBooking", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/reschedule", + "requestBody": { + "oneOf": [ + "RescheduleBookingInput_2024_08_13", + "RescheduleSeatedBookingInput_2024_08_13", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Bookings", + ], + }, + { + "method": "GET", + "operationId": "BookingsController_2024_08_13_getBookingTranscripts", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/transcripts", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Bookings", + ], + }, + { + "method": "GET", + "operationId": "BookingsController_2024_08_13_getBookingBySeatUid", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "seatUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/by-seat/{seatUid}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Bookings", + ], + }, + { + "method": "GET", + "operationId": "CalendarsController_getCalendars", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/calendars", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Calendars", + ], + }, + { + "method": "GET", + "operationId": "CalendarsController_check", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "enum": [ + "apple", + "google", + "office365", + ], + "in": "path", + "name": "calendar", + "required": true, + "type": "string", + }, + ], + "path": "/v2/calendars/{calendar}/check", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Calendars", + ], + }, + { + "method": "GET", + "operationId": "CalendarsController_redirect", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "enum": [ + "office365", + "google", + ], + "in": "path", + "name": "calendar", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "isDryRun", + "required": true, + "type": "boolean", + }, + { + "in": "query", + "name": "redir", + "required": false, + "type": "string", + }, + ], + "path": "/v2/calendars/{calendar}/connect", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Calendars", + ], + }, + { + "method": "POST", + "operationId": "CalendarsController_syncCredentials", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "enum": [ + "apple", + ], + "in": "path", + "name": "calendar", + "required": true, + "type": "string", + }, + ], + "path": "/v2/calendars/{calendar}/credentials", + "requestBody": { + "properties": { + "password": "string", + "username": "string", + }, + "required": [ + "password", + "username", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Calendars", + ], + }, + { + "method": "POST", + "operationId": "CalendarsController_deleteCalendarCredentials", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "enum": [ + "apple", + "google", + "office365", + ], + "in": "path", + "name": "calendar", + "required": true, + "type": "string", + }, + ], + "path": "/v2/calendars/{calendar}/disconnect", + "requestBody": { + "properties": { + "id": "integer", + }, + "required": [ + "id", + ], + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Calendars", + ], + }, + { + "method": "GET", + "operationId": "CalUnifiedCalendarsController_getCalendarEventDetails", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "enum": [ + "google", + ], + "in": "path", + "name": "calendar", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/calendars/{calendar}/event/{eventUid}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Cal Unified Calendars", + ], + }, + { + "method": "PATCH", + "operationId": "CalUnifiedCalendarsController_updateCalendarEvent", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "enum": [ + "google", + ], + "in": "path", + "name": "calendar", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/calendars/{calendar}/events/{eventUid}", + "requestBody": { + "properties": { + "attendees": "array", + "description": "string", + "end": "object", + "start": "object", + "status": "CalendarEventStatus", + "title": "string", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Cal Unified Calendars", + ], + }, + { + "method": "GET", + "operationId": "CalendarsController_save", + "parameters": [ + { + "enum": [ + "office365", + "google", + ], + "in": "path", + "name": "calendar", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "code", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "state", + "required": true, + "type": "string", + }, + ], + "path": "/v2/calendars/{calendar}/save", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Calendars", + ], + }, + { + "method": "GET", + "operationId": "CalendarsController_getBusyTimes", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "credentialId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "dateFrom", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "dateTo", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "externalId", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "loggedInUsersTz", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "timeZone", + "required": false, + "type": "string", + }, + ], + "path": "/v2/calendars/busy-times", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Calendars", + ], + }, + { + "method": "GET", + "operationId": "CalendarsController_checkIcsFeed", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/calendars/ics-feed/check", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Calendars", + ], + }, + { + "method": "POST", + "operationId": "CalendarsController_createIcsFeed", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/calendars/ics-feed/save", + "requestBody": { + "properties": { + "readOnly": "boolean", + "urls": "array", + }, + "required": [ + "urls", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Calendars", + ], + }, + { + "method": "GET", + "operationId": "ConferencingController_listInstalledConferencingApps", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/conferencing", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Conferencing", + ], + }, + { + "method": "POST", + "operationId": "ConferencingController_connect", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "enum": [ + "google-meet", + ], + "in": "path", + "name": "app", + "required": true, + "type": "string", + }, + ], + "path": "/v2/conferencing/{app}/connect", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Conferencing", + ], + }, + { + "method": "POST", + "operationId": "ConferencingController_default", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "enum": [ + "google-meet", + "zoom", + "msteams", + "daily-video", + ], + "in": "path", + "name": "app", + "required": true, + "type": "string", + }, + ], + "path": "/v2/conferencing/{app}/default", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Conferencing", + ], + }, + { + "method": "DELETE", + "operationId": "ConferencingController_disconnect", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "enum": [ + "google-meet", + "zoom", + "msteams", + ], + "in": "path", + "name": "app", + "required": true, + "type": "string", + }, + ], + "path": "/v2/conferencing/{app}/disconnect", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Conferencing", + ], + }, + { + "method": "GET", + "operationId": "ConferencingController_redirect", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "enum": [ + "zoom", + "msteams", + ], + "in": "path", + "name": "app", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "onErrorReturnTo", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "returnTo", + "required": true, + "type": "string", + }, + ], + "path": "/v2/conferencing/{app}/oauth/auth-url", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Conferencing", + ], + }, + { + "method": "GET", + "operationId": "ConferencingController_save", + "parameters": [ + { + "enum": [ + "zoom", + "msteams", + ], + "in": "path", + "name": "app", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "code", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "state", + "required": true, + "type": "string", + }, + ], + "path": "/v2/conferencing/{app}/oauth/callback", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Conferencing", + ], + }, + { + "method": "GET", + "operationId": "ConferencingController_getDefault", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/conferencing/default", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Conferencing", + ], + }, + { + "method": "PUT", + "operationId": "DestinationCalendarsController_updateDestinationCalendars", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/destination-calendars", + "requestBody": { + "properties": { + "delegationCredentialId": "string", + "externalId": "string", + "integration": "enum(apple_calendar|google_calendar|office365_calendar)", + }, + "required": [ + "externalId", + "integration", + ], + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Destination Calendars", + ], + }, + { + "method": "GET", + "operationId": "EventTypesController_2024_06_14_getEventTypes", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "eventSlug", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "orgId", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "orgSlug", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "username", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "usernames", + "required": false, + "type": "string", + }, + ], + "path": "/v2/event-types", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Event Types", + ], + }, + { + "method": "POST", + "operationId": "EventTypesController_2024_06_14_createEventType", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + ], + "path": "/v2/event-types", + "requestBody": { + "properties": { + "afterEventBuffer": "number", + "allowReschedulingCancelledBookings": "boolean", + "allowReschedulingPastBookings": "boolean", + "beforeEventBuffer": "number", + "bookerActiveBookingsLimit": "unknown", + "bookerLayouts": "unknown", + "bookingFields": "array", + "bookingLimitsCount": "unknown", + "bookingLimitsDuration": "unknown", + "bookingRequiresAuthentication": "boolean", + "bookingWindow": "unknown", + "calVideoSettings": "unknown", + "color": "EventTypeColor_2024_06_14", + "confirmationPolicy": "unknown", + "customName": "string", + "description": "string", + "destinationCalendar": "DestinationCalendar_2024_06_14", + "disableCancelling": "unknown", + "disableGuests": "boolean", + "disableRescheduling": "unknown", + "hidden": "boolean", + "hideCalendarEventDetails": "boolean", + "hideCalendarNotes": "boolean", + "hideOrganizerEmail": "boolean", + "interfaceLanguage": "enum(|en|ar|az|bg|bn|ca|cs|da|de|el|es|es-419|eu|et|fi|fr|he|hu|it|ja|km|ko|nl|no|pl|pt-BR|pt|ro|ru|sk-SK|sr|sv|tr|uk|vi|zh-CN|zh-TW)", + "lengthInMinutes": "number", + "lengthInMinutesOptions": "array", + "locations": "array", + "lockTimeZoneToggleOnBookingPage": "boolean", + "minimumBookingNotice": "number", + "offsetStart": "number", + "onlyShowFirstAvailableSlot": "boolean", + "recurrence": "unknown", + "requiresBookerEmailVerification": "boolean", + "scheduleId": "number", + "seats": "unknown", + "showOptimizedSlots": "boolean", + "slotInterval": "number", + "slug": "string", + "successRedirectUrl": "string", + "title": "string", + "useDestinationCalendarEmail": "boolean", + }, + "required": [ + "lengthInMinutes", + "slug", + "title", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Event Types", + ], + }, + { + "method": "DELETE", + "operationId": "EventTypesController_2024_06_14_deleteEventType", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/event-types/{eventTypeId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Event Types", + ], + }, + { + "method": "GET", + "operationId": "EventTypesController_2024_06_14_getEventTypeById", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/event-types/{eventTypeId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Event Types", + ], + }, + { + "method": "PATCH", + "operationId": "EventTypesController_2024_06_14_updateEventType", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/event-types/{eventTypeId}", + "requestBody": { + "properties": { + "afterEventBuffer": "number", + "allowReschedulingCancelledBookings": "boolean", + "allowReschedulingPastBookings": "boolean", + "beforeEventBuffer": "number", + "bookerActiveBookingsLimit": "unknown", + "bookerLayouts": "unknown", + "bookingFields": "array", + "bookingLimitsCount": "unknown", + "bookingLimitsDuration": "unknown", + "bookingRequiresAuthentication": "boolean", + "bookingWindow": "unknown", + "calVideoSettings": "unknown", + "color": "EventTypeColor_2024_06_14", + "confirmationPolicy": "unknown", + "customName": "string", + "description": "string", + "destinationCalendar": "DestinationCalendar_2024_06_14", + "disableCancelling": "unknown", + "disableGuests": "boolean", + "disableRescheduling": "unknown", + "hidden": "boolean", + "hideCalendarEventDetails": "boolean", + "hideCalendarNotes": "boolean", + "hideOrganizerEmail": "boolean", + "interfaceLanguage": "enum(|en|ar|az|bg|bn|ca|cs|da|de|el|es|es-419|eu|et|fi|fr|he|hu|it|ja|km|ko|nl|no|pl|pt-BR|pt|ro|ru|sk-SK|sr|sv|tr|uk|vi|zh-CN|zh-TW)", + "lengthInMinutes": "number", + "lengthInMinutesOptions": "array", + "locations": "array", + "lockTimeZoneToggleOnBookingPage": "boolean", + "minimumBookingNotice": "number", + "offsetStart": "number", + "onlyShowFirstAvailableSlot": "boolean", + "recurrence": "unknown", + "requiresBookerEmailVerification": "boolean", + "scheduleId": "number", + "seats": "unknown", + "showOptimizedSlots": "boolean", + "slotInterval": "number", + "slug": "string", + "successRedirectUrl": "string", + "title": "string", + "useDestinationCalendarEmail": "boolean", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Event Types", + ], + }, + { + "method": "GET", + "operationId": "EventTypesPrivateLinksController_getPrivateLinks", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/event-types/{eventTypeId}/private-links", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Event Types Private Links", + ], + }, + { + "method": "POST", + "operationId": "EventTypesPrivateLinksController_createPrivateLink", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/event-types/{eventTypeId}/private-links", + "requestBody": { + "properties": { + "expiresAt": "string", + "maxUsageCount": "number", + }, + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Event Types Private Links", + ], + }, + { + "method": "DELETE", + "operationId": "EventTypesPrivateLinksController_deletePrivateLink", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "linkId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/event-types/{eventTypeId}/private-links/{linkId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Event Types Private Links", + ], + }, + { + "method": "PATCH", + "operationId": "EventTypesPrivateLinksController_updatePrivateLink", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "linkId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/event-types/{eventTypeId}/private-links/{linkId}", + "requestBody": { + "properties": { + "expiresAt": "string", + "maxUsageCount": "number", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Event Types Private Links", + ], + }, + { + "method": "DELETE", + "operationId": "EventTypeWebhooksController_deleteAllEventTypeWebhooks", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/event-types/{eventTypeId}/webhooks", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Event Types / Webhooks", + ], + }, + { + "method": "GET", + "operationId": "EventTypeWebhooksController_getEventTypeWebhooks", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/event-types/{eventTypeId}/webhooks", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Event Types / Webhooks", + ], + }, + { + "method": "POST", + "operationId": "EventTypeWebhooksController_createEventTypeWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/event-types/{eventTypeId}/webhooks", + "requestBody": { + "properties": { + "active": "boolean", + "payloadTemplate": "string", + "secret": "string", + "subscriberUrl": "string", + "triggers": "array", + "version": "enum(2021-10-20)", + }, + "required": [ + "active", + "subscriberUrl", + "triggers", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Event Types / Webhooks", + ], + }, + { + "method": "DELETE", + "operationId": "EventTypeWebhooksController_deleteEventTypeWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/event-types/{eventTypeId}/webhooks/{webhookId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Event Types / Webhooks", + ], + }, + { + "method": "GET", + "operationId": "EventTypeWebhooksController_getEventTypeWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/event-types/{eventTypeId}/webhooks/{webhookId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Event Types / Webhooks", + ], + }, + { + "method": "PATCH", + "operationId": "EventTypeWebhooksController_updateEventTypeWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/event-types/{eventTypeId}/webhooks/{webhookId}", + "requestBody": { + "properties": { + "active": "boolean", + "payloadTemplate": "string", + "secret": "string", + "subscriberUrl": "string", + "triggers": "array", + "version": "enum(2021-10-20)", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Event Types / Webhooks", + ], + }, + { + "method": "GET", + "operationId": "MeController_getMe", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/me", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Me", + ], + }, + { + "method": "PATCH", + "operationId": "MeController_updateMe", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/me", + "requestBody": { + "properties": { + "avatarUrl": "string", + "bio": "string", + "defaultScheduleId": "number", + "email": "string", + "locale": "enum(ar|ca|de|es|eu|he|id|ja|lv|pl|ro|sr|th|vi|az|cs|el|es-419|fi|hr|it|km|nl|pt|ru|sv|tr|zh-CN|bg|da|en|et|fr|hu|iw|ko|no|pt-BR|sk|ta|uk|zh-TW|bn)", + "metadata": "object", + "name": "string", + "timeFormat": "enum(12|24)", + "timeZone": "string", + "weekStart": "enum(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday)", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Me", + ], + }, + { + "method": "GET", + "operationId": "OAuthClientsController_getOAuthClients", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/oauth-clients", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Deprecated: Platform OAuth Clients", + ], + }, + { + "method": "POST", + "operationId": "OAuthClientsController_createOAuthClient", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/oauth-clients", + "requestBody": { + "properties": { + "areCalendarEventsEnabled": "boolean", + "areDefaultEventTypesEnabled": "boolean", + "areEmailsEnabled": "boolean", + "bookingCancelRedirectUri": "string", + "bookingRedirectUri": "string", + "bookingRescheduleRedirectUri": "string", + "logo": "string", + "name": "string", + "permissions": "array", + "redirectUris": "array", + }, + "required": [ + "name", + "permissions", + "redirectUris", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Deprecated: Platform OAuth Clients", + ], + }, + { + "method": "DELETE", + "operationId": "OAuthClientsController_deleteOAuthClient", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/oauth-clients/{clientId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Deprecated: Platform OAuth Clients", + ], + }, + { + "method": "GET", + "operationId": "OAuthClientsController_getOAuthClientById", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/oauth-clients/{clientId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Deprecated: Platform OAuth Clients", + ], + }, + { + "method": "PATCH", + "operationId": "OAuthClientsController_updateOAuthClient", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/oauth-clients/{clientId}", + "requestBody": { + "properties": { + "areCalendarEventsEnabled": "boolean", + "areDefaultEventTypesEnabled": "boolean", + "areEmailsEnabled": "boolean", + "bookingCancelRedirectUri": "string", + "bookingRedirectUri": "string", + "bookingRescheduleRedirectUri": "string", + "logo": "string", + "name": "string", + "redirectUris": "array", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Deprecated: Platform OAuth Clients", + ], + }, + { + "method": "GET", + "operationId": "OAuthClientUsersController_getManagedUsers", + "parameters": [ + { + "in": "header", + "name": "x-cal-secret-key", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "emails", + "required": false, + "type": "array", + }, + { + "in": "query", + "name": "limit", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "offset", + "required": false, + "type": "number", + }, + ], + "path": "/v2/oauth-clients/{clientId}/users", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Deprecated: Platform / Managed Users", + ], + }, + { + "method": "POST", + "operationId": "OAuthClientUsersController_createUser", + "parameters": [ + { + "in": "header", + "name": "x-cal-secret-key", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/oauth-clients/{clientId}/users", + "requestBody": { + "properties": { + "avatarUrl": "string", + "bio": "string", + "email": "string", + "locale": "enum(ar|ca|de|es|eu|he|id|ja|lv|pl|ro|sr|th|vi|az|cs|el|es-419|fi|hr|it|km|nl|pt|ru|sv|tr|zh-CN|bg|da|en|et|fr|hu|iw|ko|no|pt-BR|sk|ta|uk|zh-TW|bn)", + "metadata": "object", + "name": "string", + "timeFormat": "enum(12|24)", + "timeZone": "string", + "weekStart": "enum(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday)", + }, + "required": [ + "email", + "name", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Deprecated: Platform / Managed Users", + ], + }, + { + "method": "DELETE", + "operationId": "OAuthClientUsersController_deleteUser", + "parameters": [ + { + "in": "header", + "name": "x-cal-secret-key", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/oauth-clients/{clientId}/users/{userId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Deprecated: Platform / Managed Users", + ], + }, + { + "method": "GET", + "operationId": "OAuthClientUsersController_getUserById", + "parameters": [ + { + "in": "header", + "name": "x-cal-secret-key", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/oauth-clients/{clientId}/users/{userId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Deprecated: Platform / Managed Users", + ], + }, + { + "method": "PATCH", + "operationId": "OAuthClientUsersController_updateUser", + "parameters": [ + { + "in": "header", + "name": "x-cal-secret-key", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/oauth-clients/{clientId}/users/{userId}", + "requestBody": { + "properties": { + "avatarUrl": "string", + "bio": "string", + "defaultScheduleId": "number", + "email": "string", + "locale": "enum(ar|ca|de|es|eu|he|id|ja|lv|pl|ro|sr|th|vi|az|cs|el|es-419|fi|hr|it|km|nl|pt|ru|sv|tr|zh-CN|bg|da|en|et|fr|hu|iw|ko|no|pt-BR|sk|ta|uk|zh-TW|bn)", + "metadata": "object", + "name": "string", + "timeFormat": "enum(12|24)", + "timeZone": "string", + "weekStart": "enum(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday)", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Deprecated: Platform / Managed Users", + ], + }, + { + "method": "POST", + "operationId": "OAuthClientUsersController_forceRefresh", + "parameters": [ + { + "in": "header", + "name": "x-cal-secret-key", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/oauth-clients/{clientId}/users/{userId}/force-refresh", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Deprecated: Platform / Managed Users", + ], + }, + { + "method": "DELETE", + "operationId": "OAuthClientWebhooksController_deleteAllOAuthClientWebhooks", + "parameters": [ + { + "in": "header", + "name": "x-cal-secret-key", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/oauth-clients/{clientId}/webhooks", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Deprecated: Platform / Webhooks", + ], + }, + { + "method": "GET", + "operationId": "OAuthClientWebhooksController_getOAuthClientWebhooks", + "parameters": [ + { + "in": "header", + "name": "x-cal-secret-key", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/oauth-clients/{clientId}/webhooks", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Deprecated: Platform / Webhooks", + ], + }, + { + "method": "POST", + "operationId": "OAuthClientWebhooksController_createOAuthClientWebhook", + "parameters": [ + { + "in": "header", + "name": "x-cal-secret-key", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/oauth-clients/{clientId}/webhooks", + "requestBody": { + "properties": { + "active": "boolean", + "payloadTemplate": "string", + "secret": "string", + "subscriberUrl": "string", + "triggers": "array", + "version": "enum(2021-10-20)", + }, + "required": [ + "active", + "subscriberUrl", + "triggers", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Deprecated: Platform / Webhooks", + ], + }, + { + "method": "DELETE", + "operationId": "OAuthClientWebhooksController_deleteOAuthClientWebhook", + "parameters": [ + { + "in": "header", + "name": "x-cal-secret-key", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/oauth-clients/{clientId}/webhooks/{webhookId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Deprecated: Platform / Webhooks", + ], + }, + { + "method": "GET", + "operationId": "OAuthClientWebhooksController_getOAuthClientWebhook", + "parameters": [ + { + "in": "header", + "name": "x-cal-secret-key", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/oauth-clients/{clientId}/webhooks/{webhookId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Deprecated: Platform / Webhooks", + ], + }, + { + "method": "PATCH", + "operationId": "OAuthClientWebhooksController_updateOAuthClientWebhook", + "parameters": [ + { + "in": "header", + "name": "x-cal-secret-key", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/oauth-clients/{clientId}/webhooks/{webhookId}", + "requestBody": { + "properties": { + "active": "boolean", + "payloadTemplate": "string", + "secret": "string", + "subscriberUrl": "string", + "triggers": "array", + "version": "enum(2021-10-20)", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Deprecated: Platform / Webhooks", + ], + }, + { + "method": "POST", + "operationId": "OAuthFlowController_refreshTokens", + "parameters": [ + { + "in": "header", + "name": "x-cal-secret-key", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/oauth/{clientId}/refresh", + "requestBody": { + "properties": { + "refreshToken": "string", + }, + "required": [ + "refreshToken", + ], + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Deprecated: Platform / Managed Users", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsAttributesController_getOrganizationAttributes", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/attributes", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Attributes", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsAttributesController_createOrganizationAttribute", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/attributes", + "requestBody": { + "properties": { + "enabled": "boolean", + "name": "string", + "options": "array", + "slug": "string", + "type": "enum(TEXT|NUMBER|SINGLE_SELECT|MULTI_SELECT)", + }, + "required": [ + "name", + "options", + "slug", + "type", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Orgs / Attributes", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsAttributesController_deleteOrganizationAttribute", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "attributeId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/attributes/{attributeId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Attributes", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsAttributesController_getOrganizationAttribute", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "attributeId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/attributes/{attributeId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Attributes", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsAttributesController_updateOrganizationAttribute", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "attributeId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/attributes/{attributeId}", + "requestBody": { + "properties": { + "enabled": "boolean", + "name": "string", + "slug": "string", + "type": "enum(TEXT|NUMBER|SINGLE_SELECT|MULTI_SELECT)", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Attributes", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsAttributesOptionsController_getOrganizationAttributeOptions", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "attributeId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/attributes/{attributeId}/options", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Attributes / Options", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsAttributesOptionsController_createOrganizationAttributeOption", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "attributeId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/attributes/{attributeId}/options", + "requestBody": { + "properties": { + "slug": "string", + "value": "string", + }, + "required": [ + "slug", + "value", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Orgs / Attributes / Options", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsAttributesOptionsController_deleteOrganizationAttributeOption", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "attributeId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "optionId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/attributes/{attributeId}/options/{optionId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Attributes / Options", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsAttributesOptionsController_updateOrganizationAttributeOption", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "attributeId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "optionId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/attributes/{attributeId}/options/{optionId}", + "requestBody": { + "properties": { + "slug": "string", + "value": "string", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Attributes / Options", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsAttributesOptionsController_getOrganizationAttributeAssignedOptions", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "attributeId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "assignedOptionIds", + "required": false, + "type": "array", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "teamIds", + "required": false, + "type": "array", + }, + ], + "path": "/v2/organizations/{orgId}/attributes/{attributeId}/options/assigned", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Attributes / Options", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsAttributesOptionsController_getOrganizationAttributeOptionsForUser", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/attributes/options/{userId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Attributes / Options", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsAttributesOptionsController_assignOrganizationAttributeOptionToUser", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/attributes/options/{userId}", + "requestBody": { + "properties": { + "attributeId": "string", + "attributeOptionId": "string", + "value": "string", + }, + "required": [ + "attributeId", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Orgs / Attributes / Options", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsAttributesOptionsController_unassignOrganizationAttributeOptionFromUser", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "attributeOptionId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/attributes/options/{userId}/{attributeOptionId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Attributes / Options", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsAttributesOptionsController_getOrganizationAttributeAssignedOptionsBySlug", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "attributeSlug", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "assignedOptionIds", + "required": false, + "type": "array", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "teamIds", + "required": false, + "type": "array", + }, + ], + "path": "/v2/organizations/{orgId}/attributes/slugs/{attributeSlug}/options/assigned", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Attributes / Options", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsBookingsController_getAllOrgTeamBookings", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "afterCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "afterStart", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "afterUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "attendeeEmail", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "attendeeName", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeEnd", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "bookingUid", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "eventTypeId", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "eventTypeIds", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortCreated", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortEnd", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortStart", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "status", + "required": false, + "type": "array", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "teamId", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "teamsIds", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "userIds", + "required": false, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/bookings", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Bookings", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsDelegationCredentialController_createDelegationCredential", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/delegation-credentials", + "requestBody": { + "properties": { + "domain": "string", + "serviceAccountKey": "array", + "workspacePlatformSlug": "string", + }, + "required": [ + "domain", + "serviceAccountKey", + "workspacePlatformSlug", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Orgs / Delegation Credentials", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsDelegationCredentialController_updateDelegationCredential", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "credentialId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/delegation-credentials/{credentialId}", + "requestBody": { + "properties": { + "enabled": "boolean", + "serviceAccountKey": "array", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Delegation Credentials", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsMembershipsController_getAllMemberships", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/memberships", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Memberships", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsMembershipsController_createMembership", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/memberships", + "requestBody": { + "properties": { + "accepted": "boolean", + "disableImpersonation": "boolean", + "role": "enum(MEMBER|OWNER|ADMIN)", + "userId": "number", + }, + "required": [ + "role", + "userId", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Orgs / Memberships", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsMembershipsController_deleteMembership", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "membershipId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/memberships/{membershipId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Memberships", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsMembershipsController_getOrgMembership", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "membershipId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/memberships/{membershipId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Memberships", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsMembershipsController_updateMembership", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "membershipId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/memberships/{membershipId}", + "requestBody": { + "properties": { + "accepted": "boolean", + "disableImpersonation": "boolean", + "role": "enum(MEMBER|OWNER|ADMIN)", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Memberships", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsUsersOOOController_getOrganizationUsersOOO", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "email", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortEnd", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortStart", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/ooo", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Users / OOO", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsOrganizationsController_getOrganizations", + "parameters": [ + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "metadataKey", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "metadataValue", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "slug", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/organizations", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Managed Orgs", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsOrganizationsController_createOrganization", + "parameters": [ + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/organizations", + "requestBody": { + "properties": { + "apiKeyDaysValid": "number", + "apiKeyNeverExpires": "boolean", + "metadata": "object", + "name": "string", + "slug": "string", + }, + "required": [ + "name", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Managed Orgs", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsOrganizationsController_deleteOrganization", + "parameters": [ + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "managedOrganizationId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/organizations/{managedOrganizationId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Managed Orgs", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsOrganizationsController_getOrganization", + "parameters": [ + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "managedOrganizationId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/organizations/{managedOrganizationId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Managed Orgs", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsOrganizationsController_updateOrganization", + "parameters": [ + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "managedOrganizationId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/organizations/{managedOrganizationId}", + "requestBody": { + "properties": { + "metadata": "object", + "name": "string", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Managed Orgs", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsRolesController_getAllRoles", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/roles", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Roles", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsRolesController_createRole", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/roles", + "requestBody": { + "properties": { + "color": "string", + "description": "string", + "name": "string", + "permissions": "array", + }, + "required": [ + "name", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Orgs / Roles", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsRolesController_deleteRole", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/roles/{roleId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Roles", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsRolesController_getRole", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/roles/{roleId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Roles", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsRolesController_updateRole", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/roles/{roleId}", + "requestBody": { + "properties": { + "color": "string", + "description": "string", + "name": "string", + "permissions": "array", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Roles", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsRolesPermissionsController_removePermissions", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "permissions", + "required": false, + "type": "array", + }, + ], + "path": "/v2/organizations/{orgId}/roles/{roleId}/permissions", + "requestBody": null, + "responseCodes": [ + "204", + ], + "tags": [ + "Orgs / Roles / Permissions", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsRolesPermissionsController_listPermissions", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/roles/{roleId}/permissions", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Roles / Permissions", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsRolesPermissionsController_addPermissions", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/roles/{roleId}/permissions", + "requestBody": { + "properties": { + "permissions": "array", + }, + "required": [ + "permissions", + ], + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Roles / Permissions", + ], + }, + { + "method": "PUT", + "operationId": "OrganizationsRolesPermissionsController_setPermissions", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/roles/{roleId}/permissions", + "requestBody": { + "properties": { + "permissions": "array", + }, + "required": [ + "permissions", + ], + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Roles / Permissions", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsRolesPermissionsController_removePermission", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "permission", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/roles/{roleId}/permissions/{permission}", + "requestBody": null, + "responseCodes": [ + "204", + ], + "tags": [ + "Orgs / Roles / Permissions", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsRoutingFormsController_getOrganizationRoutingForms", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "afterCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "afterUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "routedToBookingUid", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortCreatedAt", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "teamIds", + "required": false, + "type": "array", + }, + ], + "path": "/v2/organizations/{orgId}/routing-forms", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Routing forms", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsRoutingFormsResponsesController_getRoutingFormResponses", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "routingFormId", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "afterCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "afterUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "routedToBookingUid", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortCreatedAt", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/routing-forms/{routingFormId}/responses", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Routing forms", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsRoutingFormsResponsesController_createRoutingFormResponse", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "routingFormId", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "bookingUidToReschedule", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "duration", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "end", + "required": true, + "type": "string", + }, + { + "enum": [ + "range", + "time", + ], + "in": "query", + "name": "format", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "queueResponse", + "required": false, + "type": "boolean", + }, + { + "in": "query", + "name": "start", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "timeZone", + "required": false, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/routing-forms/{routingFormId}/responses", + "requestBody": null, + "responseCodes": [ + "201", + ], + "tags": [ + "Orgs / Routing forms", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsRoutingFormsResponsesController_updateRoutingFormResponse", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "responseId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "routingFormId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/routing-forms/{routingFormId}/responses/{responseId}", + "requestBody": { + "properties": { + "response": "object", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Routing forms", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsSchedulesController_getOrganizationSchedules", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/schedules", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Schedules", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsController_getAllTeams", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsTeamsController_createTeam", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams", + "requestBody": { + "properties": { + "appIconLogo": "string", + "appLogo": "string", + "autoAcceptCreator": "boolean", + "bannerUrl": "string", + "bio": "string", + "brandColor": "string", + "calVideoLogo": "string", + "darkBrandColor": "string", + "hideBookATeamMember": "boolean", + "hideBranding": "boolean", + "isPrivate": "boolean", + "logoUrl": "string", + "metadata": "object", + "name": "string", + "slug": "string", + "theme": "string", + "timeFormat": "number", + "timeZone": "string", + "weekStart": "string", + }, + "required": [ + "name", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Orgs / Teams", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsTeamsController_deleteTeam", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsController_getTeam", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsTeamsController_updateTeam", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}", + "requestBody": { + "properties": { + "appIconLogo": "string", + "appLogo": "string", + "bannerUrl": "string", + "bio": "string", + "bookingLimits": "string", + "brandColor": "string", + "calVideoLogo": "string", + "darkBrandColor": "string", + "hideBookATeamMember": "boolean", + "hideBranding": "boolean", + "includeManagedEventsInLimits": "boolean", + "isPrivate": "boolean", + "logoUrl": "string", + "metadata": "object", + "name": "string", + "slug": "string", + "theme": "string", + "timeFormat": "number", + "timeZone": "string", + "weekStart": "string", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsBookingsController_getAllOrgTeamBookings", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "afterStart", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "attendeeEmail", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "attendeeName", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeEnd", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "bookingUid", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "eventTypeId", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "eventTypeIds", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortCreated", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortEnd", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortStart", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "status", + "required": false, + "type": "array", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/bookings", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Bookings", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsBookingsController_getBookingReferences", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "enum": [ + "google_calendar", + "office365_calendar", + "daily_video", + "google_video", + "office365_video", + "zoom_video", + ], + "in": "query", + "name": "type", + "required": false, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/bookings/{bookingUid}/references", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Bookings", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsConferencingController_listTeamConferencingApps", + "parameters": [ + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/conferencing", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Conferencing", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsConferencingController_connectTeamApp", + "parameters": [ + { + "enum": [ + "google-meet", + ], + "in": "path", + "name": "app", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/conferencing/{app}/connect", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Conferencing", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsConferencingController_setTeamDefaultApp", + "parameters": [ + { + "enum": [ + "google-meet", + "zoom", + "msteams", + "daily-video", + ], + "in": "path", + "name": "app", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/conferencing/{app}/default", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Conferencing", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsConferencingController_disconnectTeamApp", + "parameters": [ + { + "enum": [ + "google-meet", + "zoom", + "msteams", + ], + "in": "path", + "name": "app", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/conferencing/{app}/disconnect", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Conferencing", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsConferencingController_getTeamOAuthUrl", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "enum": [ + "zoom", + "msteams", + ], + "in": "path", + "name": "app", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "onErrorReturnTo", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "returnTo", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/conferencing/{app}/oauth/auth-url", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Conferencing", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsConferencingController_saveTeamOauthCredentials", + "parameters": [ + { + "in": "path", + "name": "app", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "code", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "state", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/conferencing/{app}/oauth/callback", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Conferencing", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsConferencingController_getTeamDefaultApp", + "parameters": [ + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/conferencing/default", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Conferencing", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsEventTypesController_getTeamEventTypes", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "eventSlug", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "hostsLimit", + "required": false, + "type": "number", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortCreatedAt", + "required": false, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Event Types", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsEventTypesController_createTeamEventType", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types", + "requestBody": { + "properties": { + "afterEventBuffer": "number", + "allowReschedulingCancelledBookings": "boolean", + "allowReschedulingPastBookings": "boolean", + "assignAllTeamMembers": "boolean", + "beforeEventBuffer": "number", + "bookerActiveBookingsLimit": "unknown", + "bookerLayouts": "unknown", + "bookingFields": "array", + "bookingLimitsCount": "unknown", + "bookingLimitsDuration": "unknown", + "bookingRequiresAuthentication": "boolean", + "bookingWindow": "unknown", + "calVideoSettings": "unknown", + "color": "EventTypeColor_2024_06_14", + "confirmationPolicy": "unknown", + "customName": "string", + "description": "string", + "destinationCalendar": "DestinationCalendar_2024_06_14", + "disableCancelling": "unknown", + "disableGuests": "boolean", + "disableRescheduling": "unknown", + "emailSettings": "unknown", + "hidden": "boolean", + "hideCalendarEventDetails": "boolean", + "hideCalendarNotes": "boolean", + "hideOrganizerEmail": "boolean", + "hosts": "array", + "interfaceLanguage": "enum(|en|ar|az|bg|bn|ca|cs|da|de|el|es|es-419|eu|et|fi|fr|he|hu|it|ja|km|ko|nl|no|pl|pt-BR|pt|ro|ru|sk-SK|sr|sv|tr|uk|vi|zh-CN|zh-TW)", + "lengthInMinutes": "number", + "lengthInMinutesOptions": "array", + "locations": "array", + "lockTimeZoneToggleOnBookingPage": "boolean", + "minimumBookingNotice": "number", + "offsetStart": "number", + "onlyShowFirstAvailableSlot": "boolean", + "recurrence": "unknown", + "requiresBookerEmailVerification": "boolean", + "rescheduleWithSameRoundRobinHost": "boolean", + "scheduleId": "number", + "schedulingType": "enum(collective|roundRobin|managed)", + "seats": "unknown", + "showOptimizedSlots": "boolean", + "slotInterval": "number", + "slug": "string", + "successRedirectUrl": "string", + "title": "string", + "useDestinationCalendarEmail": "boolean", + }, + "required": [ + "lengthInMinutes", + "schedulingType", + "slug", + "title", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Orgs / Teams / Event Types", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsEventTypesController_deleteTeamEventType", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Event Types", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsEventTypesController_getTeamEventType", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Event Types", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsEventTypesController_updateTeamEventType", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}", + "requestBody": { + "properties": { + "afterEventBuffer": "number", + "allowReschedulingCancelledBookings": "boolean", + "allowReschedulingPastBookings": "boolean", + "assignAllTeamMembers": "boolean", + "beforeEventBuffer": "number", + "bookerActiveBookingsLimit": "unknown", + "bookerLayouts": "unknown", + "bookingFields": "array", + "bookingLimitsCount": "unknown", + "bookingLimitsDuration": "unknown", + "bookingRequiresAuthentication": "boolean", + "bookingWindow": "unknown", + "calVideoSettings": "unknown", + "color": "EventTypeColor_2024_06_14", + "confirmationPolicy": "unknown", + "customName": "string", + "description": "string", + "destinationCalendar": "DestinationCalendar_2024_06_14", + "disableCancelling": "unknown", + "disableGuests": "boolean", + "disableRescheduling": "unknown", + "emailSettings": "unknown", + "hidden": "boolean", + "hideCalendarEventDetails": "boolean", + "hideCalendarNotes": "boolean", + "hideOrganizerEmail": "boolean", + "hosts": "array", + "interfaceLanguage": "enum(|en|ar|az|bg|bn|ca|cs|da|de|el|es|es-419|eu|et|fi|fr|he|hu|it|ja|km|ko|nl|no|pl|pt-BR|pt|ro|ru|sk-SK|sr|sv|tr|uk|vi|zh-CN|zh-TW)", + "lengthInMinutes": "number", + "lengthInMinutesOptions": "array", + "locations": "array", + "lockTimeZoneToggleOnBookingPage": "boolean", + "minimumBookingNotice": "number", + "offsetStart": "number", + "onlyShowFirstAvailableSlot": "boolean", + "recurrence": "unknown", + "requiresBookerEmailVerification": "boolean", + "rescheduleWithSameRoundRobinHost": "boolean", + "scheduleId": "number", + "schedulingType": "enum(collective|roundRobin)", + "seats": "unknown", + "showOptimizedSlots": "boolean", + "slotInterval": "number", + "slug": "string", + "successRedirectUrl": "string", + "title": "string", + "useDestinationCalendarEmail": "boolean", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Event Types", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsEventTypesController_createPhoneCall", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}/create-phone-call", + "requestBody": { + "properties": { + "beginMessage": "string", + "calApiKey": "string", + "enabled": "object", + "generalPrompt": "string", + "guestCompany": "string", + "guestEmail": "string", + "guestName": "string", + "numberToCall": "string", + "schedulerName": "string", + "templateType": "enum(CHECK_IN_APPOINTMENT|CUSTOM_TEMPLATE)", + "yourPhoneNumber": "string", + }, + "required": [ + "calApiKey", + "enabled", + "numberToCall", + "templateType", + "yourPhoneNumber", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Orgs / Teams / Event Types", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsEventTypesPrivateLinksController_getPrivateLinks", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}/private-links", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Event Types / Private Links", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsEventTypesPrivateLinksController_createPrivateLink", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}/private-links", + "requestBody": { + "properties": { + "expiresAt": "string", + "maxUsageCount": "number", + }, + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Orgs / Teams / Event Types / Private Links", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsEventTypesPrivateLinksController_deletePrivateLink", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "linkId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}/private-links/{linkId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Event Types / Private Links", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsEventTypesPrivateLinksController_updatePrivateLink", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "linkId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}/private-links/{linkId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Event Types / Private Links", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsTeamsInviteController_createInvite", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/invite", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Invite", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsMembershipsController_getAllOrgTeamMemberships", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/memberships", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Memberships", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsTeamsMembershipsController_createOrgTeamMembership", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/memberships", + "requestBody": { + "properties": { + "accepted": "boolean", + "disableImpersonation": "boolean", + "role": "enum(MEMBER|OWNER|ADMIN)", + "userId": "number", + }, + "required": [ + "role", + "userId", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Orgs / Teams / Memberships", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsTeamsMembershipsController_deleteOrgTeamMembership", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "membershipId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/memberships/{membershipId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Memberships", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsMembershipsController_getOrgTeamMembership", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "membershipId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/memberships/{membershipId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Memberships", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsTeamsMembershipsController_updateOrgTeamMembership", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "membershipId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/memberships/{membershipId}", + "requestBody": { + "properties": { + "accepted": "boolean", + "disableImpersonation": "boolean", + "role": "enum(MEMBER|OWNER|ADMIN)", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Memberships", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsRolesController_getAllRoles", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Roles", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsTeamsRolesController_createRole", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles", + "requestBody": { + "properties": { + "color": "string", + "description": "string", + "name": "string", + "permissions": "array", + }, + "required": [ + "name", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Orgs / Teams / Roles", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsTeamsRolesController_deleteRole", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Roles", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsRolesController_getRole", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Roles", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsTeamsRolesController_updateRole", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}", + "requestBody": { + "properties": { + "color": "string", + "description": "string", + "name": "string", + "permissions": "array", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Roles", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsTeamsRolesPermissionsController_removePermissions", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "permissions", + "required": false, + "type": "array", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions", + "requestBody": null, + "responseCodes": [ + "204", + ], + "tags": [ + "Orgs / Teams / Roles / Permissions", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsRolesPermissionsController_listPermissions", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Roles / Permissions", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsTeamsRolesPermissionsController_addPermissions", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions", + "requestBody": { + "properties": { + "permissions": "array", + }, + "required": [ + "permissions", + ], + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Roles / Permissions", + ], + }, + { + "method": "PUT", + "operationId": "OrganizationsTeamsRolesPermissionsController_setPermissions", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions", + "requestBody": { + "properties": { + "permissions": "array", + }, + "required": [ + "permissions", + ], + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Roles / Permissions", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsTeamsRolesPermissionsController_removePermission", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "permission", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions/{permission}", + "requestBody": null, + "responseCodes": [ + "204", + ], + "tags": [ + "Orgs / Teams / Roles / Permissions", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsRoutingFormsController_getTeamRoutingForms", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "afterCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "afterUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "routedToBookingUid", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortCreatedAt", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/routing-forms", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Routing forms", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsRoutingFormsResponsesController_getRoutingFormResponses", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "routingFormId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "afterCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "afterUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "routedToBookingUid", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortCreatedAt", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/routing-forms/{routingFormId}/responses", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Routing forms / Responses", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsTeamsRoutingFormsResponsesController_createRoutingFormResponse", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "routingFormId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "bookingUidToReschedule", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "duration", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "end", + "required": true, + "type": "string", + }, + { + "enum": [ + "range", + "time", + ], + "in": "query", + "name": "format", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "queueResponse", + "required": false, + "type": "boolean", + }, + { + "in": "query", + "name": "start", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "timeZone", + "required": false, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/routing-forms/{routingFormId}/responses", + "requestBody": null, + "responseCodes": [ + "201", + ], + "tags": [ + "Orgs / Teams / Routing forms / Responses", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsTeamsRoutingFormsResponsesController_updateRoutingFormResponse", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "responseId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "routingFormId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/routing-forms/{routingFormId}/responses/{responseId}", + "requestBody": { + "properties": { + "response": "object", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Routing forms / Responses", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsSchedulesController_getTeamSchedules", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "eventTypeId", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/schedules", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Schedules", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsStripeController_checkTeamStripeConnection", + "parameters": [ + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/stripe/check", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Stripe", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsStripeController_getTeamStripeConnectUrl", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "onErrorReturnTo", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "returnTo", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/stripe/connect", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Stripe", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsStripeController_save", + "parameters": [ + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "code", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "state", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/stripe/save", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Stripe", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsSchedulesController_getUserSchedules", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "eventTypeId", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/users/{userId}/schedules", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Users / Schedules", + ], + }, + { + "method": "GET", + "operationId": "OrgTeamsVerifiedResourcesController_getVerifiedEmails", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/verified-resources/emails", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Organization Team Verified Resources", + ], + }, + { + "method": "GET", + "operationId": "OrgTeamsVerifiedResourcesController_getVerifiedEmailById", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "id", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/verified-resources/emails/{id}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Organization Team Verified Resources", + ], + }, + { + "method": "POST", + "operationId": "OrgTeamsVerifiedResourcesController_requestEmailVerificationCode", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/verified-resources/emails/verification-code/request", + "requestBody": { + "properties": { + "email": "string", + }, + "required": [ + "email", + ], + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Organization Team Verified Resources", + ], + }, + { + "method": "POST", + "operationId": "OrgTeamsVerifiedResourcesController_verifyEmail", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/verified-resources/emails/verification-code/verify", + "requestBody": { + "properties": { + "code": "string", + "email": "string", + }, + "required": [ + "code", + "email", + ], + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Organization Team Verified Resources", + ], + }, + { + "method": "GET", + "operationId": "OrgTeamsVerifiedResourcesController_getVerifiedPhoneNumbers", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/verified-resources/phones", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Organization Team Verified Resources", + ], + }, + { + "method": "GET", + "operationId": "OrgTeamsVerifiedResourcesController_getVerifiedPhoneById", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "id", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/verified-resources/phones/{id}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Organization Team Verified Resources", + ], + }, + { + "method": "POST", + "operationId": "OrgTeamsVerifiedResourcesController_requestPhoneVerificationCode", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/verified-resources/phones/verification-code/request", + "requestBody": { + "properties": { + "phone": "string", + }, + "required": [ + "phone", + ], + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Organization Team Verified Resources", + ], + }, + { + "method": "POST", + "operationId": "OrgTeamsVerifiedResourcesController_verifyPhoneNumber", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/verified-resources/phones/verification-code/verify", + "requestBody": { + "properties": { + "code": "string", + "phone": "string", + }, + "required": [ + "code", + "phone", + ], + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Organization Team Verified Resources", + ], + }, + { + "method": "GET", + "operationId": "OrganizationTeamWorkflowsController_getWorkflows", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Workflows", + ], + }, + { + "method": "POST", + "operationId": "OrganizationTeamWorkflowsController_createEventTypeWorkflow", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows", + "requestBody": { + "properties": { + "activation": "unknown", + "name": "string", + "steps": "array", + "trigger": "unknown", + }, + "required": [ + "activation", + "name", + "steps", + "trigger", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Orgs / Teams / Workflows", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationTeamWorkflowsController_deleteWorkflow", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "workflowId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows/{workflowId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Workflows", + ], + }, + { + "method": "GET", + "operationId": "OrganizationTeamWorkflowsController_getWorkflowById", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "workflowId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows/{workflowId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Workflows", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationTeamWorkflowsController_updateWorkflow", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "workflowId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows/{workflowId}", + "requestBody": { + "properties": { + "activation": "unknown", + "name": "string", + "steps": "array", + "trigger": "unknown", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Workflows", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationTeamWorkflowsController_deleteRoutingFormWorkflow", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "workflowId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows/{workflowId}/routing-form", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Workflows", + ], + }, + { + "method": "GET", + "operationId": "OrganizationTeamWorkflowsController_getRoutingFormWorkflowById", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "workflowId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows/{workflowId}/routing-form", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Workflows", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationTeamWorkflowsController_updateRoutingFormWorkflow", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "workflowId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows/{workflowId}/routing-form", + "requestBody": { + "properties": { + "activation": "WorkflowFormActivationDto", + "name": "string", + "steps": "array", + "trigger": "unknown", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Workflows", + ], + }, + { + "method": "GET", + "operationId": "OrganizationTeamWorkflowsController_getRoutingFormWorkflows", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows/routing-form", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Workflows", + ], + }, + { + "method": "POST", + "operationId": "OrganizationTeamWorkflowsController_createFormWorkflow", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows/routing-form", + "requestBody": { + "properties": { + "activation": "unknown", + "name": "string", + "steps": "array", + "trigger": "unknown", + }, + "required": [ + "activation", + "name", + "steps", + "trigger", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Orgs / Teams / Workflows", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsEventTypesController_getTeamsEventTypes", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/event-types", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams / Event Types", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsController_getMyTeams", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/me", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Teams", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsUsersController_getOrganizationsUsers", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "assignedOptionIds", + "required": false, + "type": "array", + }, + { + "enum": [ + "OR", + "AND", + "NONE", + ], + "in": "query", + "name": "attributeQueryOperator", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "emails", + "required": false, + "type": "array", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "teamIds", + "required": false, + "type": "array", + }, + ], + "path": "/v2/organizations/{orgId}/users", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Users", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsUsersController_createOrganizationUser", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/users", + "requestBody": { + "properties": { + "appTheme": "string", + "autoAccept": "boolean", + "avatarUrl": "string", + "bio": "string", + "brandColor": "string", + "darkBrandColor": "string", + "defaultScheduleId": "number", + "email": "string", + "hideBranding": "boolean", + "locale": "string", + "metadata": "object", + "organizationRole": "enum(MEMBER|ADMIN|OWNER)", + "theme": "string", + "timeFormat": "number", + "timeZone": "string", + "username": "string", + "weekday": "string", + }, + "required": [ + "email", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Orgs / Users", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsUsersController_deleteOrganizationUser", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/users/{userId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Users", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsUsersController_updateOrganizationUser", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/users/{userId}", + "requestBody": { + "properties": {}, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Users", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsUsersBookingsController_getOrganizationUserBookings", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "afterCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "afterStart", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "afterUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "attendeeEmail", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "attendeeName", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeEnd", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "bookingUid", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "eventTypeId", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "eventTypeIds", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortCreated", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortEnd", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortStart", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "status", + "required": false, + "type": "array", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "teamId", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "teamsIds", + "required": false, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/users/{userId}/bookings", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Users / Bookings", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsUsersOOOController_getOrganizationUserOOO", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortEnd", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortStart", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/users/{userId}/ooo", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Users / OOO", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsUsersOOOController_createOrganizationUserOOO", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/users/{userId}/ooo", + "requestBody": { + "properties": { + "end": "string", + "notes": "string", + "reason": "enum(unspecified|vacation|travel|sick|public_holiday)", + "start": "string", + "toUserId": "number", + }, + "required": [ + "end", + "start", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Orgs / Users / OOO", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsUsersOOOController_deleteOrganizationUserOOO", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "oooId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/users/{userId}/ooo/{oooId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Users / OOO", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsUsersOOOController_updateOrganizationUserOOO", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "oooId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/users/{userId}/ooo/{oooId}", + "requestBody": { + "properties": { + "end": "string", + "notes": "string", + "reason": "enum(unspecified|vacation|travel|sick|public_holiday)", + "start": "string", + "toUserId": "number", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Users / OOO", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsSchedulesController_getUserSchedules", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/users/{userId}/schedules", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Users / Schedules", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsSchedulesController_createUserSchedule", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/users/{userId}/schedules", + "requestBody": { + "properties": { + "availability": "array", + "isDefault": "boolean", + "name": "string", + "overrides": "array", + "timeZone": "string", + }, + "required": [ + "isDefault", + "name", + "timeZone", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Orgs / Users / Schedules", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsSchedulesController_deleteUserSchedule", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "scheduleId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/users/{userId}/schedules/{scheduleId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Users / Schedules", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsSchedulesController_getUserSchedule", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "scheduleId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/users/{userId}/schedules/{scheduleId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Users / Schedules", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsSchedulesController_updateUserSchedule", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "scheduleId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/users/{userId}/schedules/{scheduleId}", + "requestBody": { + "properties": { + "availability": "array", + "isDefault": "boolean", + "name": "string", + "overrides": "array", + "timeZone": "string", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Users / Schedules", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsWebhooksController_getAllOrganizationWebhooks", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/webhooks", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Webhooks", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsWebhooksController_createOrganizationWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/webhooks", + "requestBody": { + "properties": { + "active": "boolean", + "payloadTemplate": "string", + "secret": "string", + "subscriberUrl": "string", + "triggers": "array", + "version": "enum(2021-10-20)", + }, + "required": [ + "active", + "subscriberUrl", + "triggers", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Orgs / Webhooks", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsWebhooksController_deleteWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/webhooks/{webhookId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Webhooks", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsWebhooksController_getOrganizationWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/webhooks/{webhookId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Webhooks", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsWebhooksController_updateOrgWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/webhooks/{webhookId}", + "requestBody": { + "properties": { + "active": "boolean", + "payloadTemplate": "string", + "secret": "string", + "subscriberUrl": "string", + "triggers": "array", + "version": "enum(2021-10-20)", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Orgs / Webhooks", + ], + }, + { + "method": "POST", + "operationId": "RoutingFormsController_calculateSlotsBasedOnRoutingFormResponse", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "routingFormId", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "bookingUidToReschedule", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "duration", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "end", + "required": true, + "type": "string", + }, + { + "enum": [ + "range", + "time", + ], + "in": "query", + "name": "format", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "start", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "timeZone", + "required": false, + "type": "string", + }, + ], + "path": "/v2/routing-forms/{routingFormId}/calculate-slots", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Routing forms", + ], + }, + { + "method": "GET", + "operationId": "SchedulesController_2024_06_11_getSchedules", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + ], + "path": "/v2/schedules", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Schedules", + ], + }, + { + "method": "POST", + "operationId": "SchedulesController_2024_06_11_createSchedule", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + ], + "path": "/v2/schedules", + "requestBody": { + "properties": { + "availability": "array", + "isDefault": "boolean", + "name": "string", + "overrides": "array", + "timeZone": "string", + }, + "required": [ + "isDefault", + "name", + "timeZone", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Schedules", + ], + }, + { + "method": "DELETE", + "operationId": "SchedulesController_2024_06_11_deleteSchedule", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "scheduleId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/schedules/{scheduleId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Schedules", + ], + }, + { + "method": "GET", + "operationId": "SchedulesController_2024_06_11_getSchedule", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "scheduleId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/schedules/{scheduleId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Schedules", + ], + }, + { + "method": "PATCH", + "operationId": "SchedulesController_2024_06_11_updateSchedule", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "scheduleId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/schedules/{scheduleId}", + "requestBody": { + "properties": { + "availability": "array", + "isDefault": "boolean", + "name": "string", + "overrides": "array", + "timeZone": "string", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Schedules", + ], + }, + { + "method": "GET", + "operationId": "SchedulesController_2024_06_11_getDefaultSchedule", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + ], + "path": "/v2/schedules/default", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Schedules", + ], + }, + { + "method": "DELETE", + "operationId": "SelectedCalendarsController_deleteSelectedCalendar", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "credentialId", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "delegationCredentialId", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "externalId", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "integration", + "required": true, + "type": "string", + }, + ], + "path": "/v2/selected-calendars", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Selected Calendars", + ], + }, + { + "method": "POST", + "operationId": "SelectedCalendarsController_addSelectedCalendar", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/selected-calendars", + "requestBody": { + "properties": { + "credentialId": "number", + "delegationCredentialId": "string", + "externalId": "string", + "integration": "string", + }, + "required": [ + "credentialId", + "externalId", + "integration", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Selected Calendars", + ], + }, + { + "method": "GET", + "operationId": "SlotsController_2024_09_04_getAvailableSlots", + "parameters": [ + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "bookingUidToReschedule", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "duration", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "end", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "eventTypeId", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "eventTypeSlug", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "format", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "organizationSlug", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "start", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "teamSlug", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "timeZone", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "username", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "usernames", + "required": false, + "type": "string", + }, + ], + "path": "/v2/slots", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Slots", + ], + }, + { + "method": "POST", + "operationId": "SlotsController_2024_09_04_reserveSlot", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + ], + "path": "/v2/slots/reservations", + "requestBody": { + "properties": { + "eventTypeId": "number", + "reservationDuration": "number", + "slotDuration": "number", + "slotStart": "string", + }, + "required": [ + "eventTypeId", + "slotStart", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Slots", + ], + }, + { + "method": "DELETE", + "operationId": "SlotsController_2024_09_04_deleteReservedSlot", + "parameters": [ + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "uid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/slots/reservations/{uid}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Slots", + ], + }, + { + "method": "GET", + "operationId": "SlotsController_2024_09_04_getReservedSlot", + "parameters": [ + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "uid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/slots/reservations/{uid}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Slots", + ], + }, + { + "method": "PATCH", + "operationId": "SlotsController_2024_09_04_updateReservedSlot", + "parameters": [ + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "uid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/slots/reservations/{uid}", + "requestBody": { + "properties": { + "eventTypeId": "number", + "reservationDuration": "number", + "slotDuration": "number", + "slotStart": "string", + }, + "required": [ + "eventTypeId", + "slotStart", + ], + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Slots", + ], + }, + { + "method": "GET", + "operationId": "StripeController_check", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/stripe/check", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Stripe", + ], + }, + { + "method": "GET", + "operationId": "StripeController_redirect", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/stripe/connect", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Stripe", + ], + }, + { + "method": "GET", + "operationId": "StripeController_save", + "parameters": [ + { + "in": "query", + "name": "code", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "state", + "required": true, + "type": "string", + }, + ], + "path": "/v2/stripe/save", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Stripe", + ], + }, + { + "method": "GET", + "operationId": "TeamsController_getTeams", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/teams", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Teams", + ], + }, + { + "method": "POST", + "operationId": "TeamsController_createTeam", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/teams", + "requestBody": { + "properties": { + "appIconLogo": "string", + "appLogo": "string", + "autoAcceptCreator": "boolean", + "bannerUrl": "string", + "bio": "string", + "brandColor": "string", + "calVideoLogo": "string", + "darkBrandColor": "string", + "hideBookATeamMember": "boolean", + "hideBranding": "boolean", + "isPrivate": "boolean", + "logoUrl": "string", + "metadata": "object", + "name": "string", + "slug": "string", + "theme": "string", + "timeFormat": "number", + "timeZone": "string", + "weekStart": "string", + }, + "required": [ + "name", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Teams", + ], + }, + { + "method": "DELETE", + "operationId": "TeamsController_deleteTeam", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Teams", + ], + }, + { + "method": "GET", + "operationId": "TeamsController_getTeam", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Teams", + ], + }, + { + "method": "PATCH", + "operationId": "TeamsController_updateTeam", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}", + "requestBody": { + "properties": { + "appIconLogo": "string", + "appLogo": "string", + "bannerUrl": "string", + "bio": "string", + "bookingLimits": "string", + "brandColor": "string", + "calVideoLogo": "string", + "darkBrandColor": "string", + "hideBookATeamMember": "boolean", + "hideBranding": "boolean", + "includeManagedEventsInLimits": "boolean", + "isPrivate": "boolean", + "logoUrl": "string", + "metadata": "object", + "name": "string", + "slug": "string", + "theme": "string", + "timeFormat": "number", + "timeZone": "string", + "weekStart": "string", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Teams", + ], + }, + { + "method": "GET", + "operationId": "TeamsBookingsController_getAllTeamBookings", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "afterStart", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "attendeeEmail", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "attendeeName", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeEnd", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "bookingUid", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "eventTypeId", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "eventTypeIds", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortCreated", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortEnd", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortStart", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "status", + "required": false, + "type": "array", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/bookings", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Teams / Bookings", + ], + }, + { + "method": "GET", + "operationId": "TeamsEventTypesController_getTeamEventTypes", + "parameters": [ + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "eventSlug", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "hostsLimit", + "required": false, + "type": "number", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortCreatedAt", + "required": false, + "type": "string", + }, + ], + "path": "/v2/teams/{teamId}/event-types", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Teams / Event Types", + ], + }, + { + "method": "POST", + "operationId": "TeamsEventTypesController_createTeamEventType", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/event-types", + "requestBody": { + "properties": { + "afterEventBuffer": "number", + "allowReschedulingCancelledBookings": "boolean", + "allowReschedulingPastBookings": "boolean", + "assignAllTeamMembers": "boolean", + "beforeEventBuffer": "number", + "bookerActiveBookingsLimit": "unknown", + "bookerLayouts": "unknown", + "bookingFields": "array", + "bookingLimitsCount": "unknown", + "bookingLimitsDuration": "unknown", + "bookingRequiresAuthentication": "boolean", + "bookingWindow": "unknown", + "calVideoSettings": "unknown", + "color": "EventTypeColor_2024_06_14", + "confirmationPolicy": "unknown", + "customName": "string", + "description": "string", + "destinationCalendar": "DestinationCalendar_2024_06_14", + "disableCancelling": "unknown", + "disableGuests": "boolean", + "disableRescheduling": "unknown", + "emailSettings": "unknown", + "hidden": "boolean", + "hideCalendarEventDetails": "boolean", + "hideCalendarNotes": "boolean", + "hideOrganizerEmail": "boolean", + "hosts": "array", + "interfaceLanguage": "enum(|en|ar|az|bg|bn|ca|cs|da|de|el|es|es-419|eu|et|fi|fr|he|hu|it|ja|km|ko|nl|no|pl|pt-BR|pt|ro|ru|sk-SK|sr|sv|tr|uk|vi|zh-CN|zh-TW)", + "lengthInMinutes": "number", + "lengthInMinutesOptions": "array", + "locations": "array", + "lockTimeZoneToggleOnBookingPage": "boolean", + "minimumBookingNotice": "number", + "offsetStart": "number", + "onlyShowFirstAvailableSlot": "boolean", + "recurrence": "unknown", + "requiresBookerEmailVerification": "boolean", + "rescheduleWithSameRoundRobinHost": "boolean", + "scheduleId": "number", + "schedulingType": "enum(collective|roundRobin|managed)", + "seats": "unknown", + "showOptimizedSlots": "boolean", + "slotInterval": "number", + "slug": "string", + "successRedirectUrl": "string", + "title": "string", + "useDestinationCalendarEmail": "boolean", + }, + "required": [ + "lengthInMinutes", + "schedulingType", + "slug", + "title", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Teams / Event Types", + ], + }, + { + "method": "DELETE", + "operationId": "TeamsEventTypesController_deleteTeamEventType", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Teams / Event Types", + ], + }, + { + "method": "GET", + "operationId": "TeamsEventTypesController_getTeamEventType", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Teams / Event Types", + ], + }, + { + "method": "PATCH", + "operationId": "TeamsEventTypesController_updateTeamEventType", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}", + "requestBody": { + "properties": { + "afterEventBuffer": "number", + "allowReschedulingCancelledBookings": "boolean", + "allowReschedulingPastBookings": "boolean", + "assignAllTeamMembers": "boolean", + "beforeEventBuffer": "number", + "bookerActiveBookingsLimit": "unknown", + "bookerLayouts": "unknown", + "bookingFields": "array", + "bookingLimitsCount": "unknown", + "bookingLimitsDuration": "unknown", + "bookingRequiresAuthentication": "boolean", + "bookingWindow": "unknown", + "calVideoSettings": "unknown", + "color": "EventTypeColor_2024_06_14", + "confirmationPolicy": "unknown", + "customName": "string", + "description": "string", + "destinationCalendar": "DestinationCalendar_2024_06_14", + "disableCancelling": "unknown", + "disableGuests": "boolean", + "disableRescheduling": "unknown", + "emailSettings": "unknown", + "hidden": "boolean", + "hideCalendarEventDetails": "boolean", + "hideCalendarNotes": "boolean", + "hideOrganizerEmail": "boolean", + "hosts": "array", + "interfaceLanguage": "enum(|en|ar|az|bg|bn|ca|cs|da|de|el|es|es-419|eu|et|fi|fr|he|hu|it|ja|km|ko|nl|no|pl|pt-BR|pt|ro|ru|sk-SK|sr|sv|tr|uk|vi|zh-CN|zh-TW)", + "lengthInMinutes": "number", + "lengthInMinutesOptions": "array", + "locations": "array", + "lockTimeZoneToggleOnBookingPage": "boolean", + "minimumBookingNotice": "number", + "offsetStart": "number", + "onlyShowFirstAvailableSlot": "boolean", + "recurrence": "unknown", + "requiresBookerEmailVerification": "boolean", + "rescheduleWithSameRoundRobinHost": "boolean", + "scheduleId": "number", + "schedulingType": "enum(collective|roundRobin)", + "seats": "unknown", + "showOptimizedSlots": "boolean", + "slotInterval": "number", + "slug": "string", + "successRedirectUrl": "string", + "title": "string", + "useDestinationCalendarEmail": "boolean", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Teams / Event Types", + ], + }, + { + "method": "POST", + "operationId": "TeamsEventTypesController_createPhoneCall", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}/create-phone-call", + "requestBody": { + "properties": { + "beginMessage": "string", + "calApiKey": "string", + "enabled": "object", + "generalPrompt": "string", + "guestCompany": "string", + "guestEmail": "string", + "guestName": "string", + "numberToCall": "string", + "schedulerName": "string", + "templateType": "enum(CHECK_IN_APPOINTMENT|CUSTOM_TEMPLATE)", + "yourPhoneNumber": "string", + }, + "required": [ + "calApiKey", + "enabled", + "numberToCall", + "templateType", + "yourPhoneNumber", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Teams / Event Types", + ], + }, + { + "method": "DELETE", + "operationId": "TeamsEventTypesWebhooksController_deleteAllTeamEventTypeWebhooks", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}/webhooks", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Teams / Event Types / Webhooks", + ], + }, + { + "method": "GET", + "operationId": "TeamsEventTypesWebhooksController_getTeamEventTypeWebhooks", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}/webhooks", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Teams / Event Types / Webhooks", + ], + }, + { + "method": "POST", + "operationId": "TeamsEventTypesWebhooksController_createTeamEventTypeWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}/webhooks", + "requestBody": { + "properties": { + "active": "boolean", + "payloadTemplate": "string", + "secret": "string", + "subscriberUrl": "string", + "triggers": "array", + "version": "enum(2021-10-20)", + }, + "required": [ + "active", + "subscriberUrl", + "triggers", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Teams / Event Types / Webhooks", + ], + }, + { + "method": "DELETE", + "operationId": "TeamsEventTypesWebhooksController_deleteTeamEventTypeWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Teams / Event Types / Webhooks", + ], + }, + { + "method": "GET", + "operationId": "TeamsEventTypesWebhooksController_getTeamEventTypeWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Teams / Event Types / Webhooks", + ], + }, + { + "method": "PATCH", + "operationId": "TeamsEventTypesWebhooksController_updateTeamEventTypeWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId}", + "requestBody": { + "properties": { + "active": "boolean", + "payloadTemplate": "string", + "secret": "string", + "subscriberUrl": "string", + "triggers": "array", + "version": "enum(2021-10-20)", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Teams / Event Types / Webhooks", + ], + }, + { + "method": "POST", + "operationId": "TeamsInviteController_createInvite", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/invite", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Teams / Invite", + ], + }, + { + "method": "GET", + "operationId": "TeamsMembershipsController_getTeamMemberships", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "emails", + "required": false, + "type": "array", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/memberships", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Teams / Memberships", + ], + }, + { + "method": "POST", + "operationId": "TeamsMembershipsController_createTeamMembership", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/memberships", + "requestBody": { + "properties": { + "accepted": "boolean", + "disableImpersonation": "boolean", + "role": "enum(MEMBER|OWNER|ADMIN)", + "userId": "number", + }, + "required": [ + "userId", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Teams / Memberships", + ], + }, + { + "method": "DELETE", + "operationId": "TeamsMembershipsController_deleteTeamMembership", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "membershipId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/memberships/{membershipId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Teams / Memberships", + ], + }, + { + "method": "GET", + "operationId": "TeamsMembershipsController_getTeamMembership", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "membershipId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/memberships/{membershipId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Teams / Memberships", + ], + }, + { + "method": "PATCH", + "operationId": "TeamsMembershipsController_updateTeamMembership", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "membershipId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/memberships/{membershipId}", + "requestBody": { + "properties": { + "accepted": "boolean", + "disableImpersonation": "boolean", + "role": "enum(MEMBER|OWNER|ADMIN)", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Teams / Memberships", + ], + }, + { + "method": "GET", + "operationId": "TeamsSchedulesController_getTeamSchedules", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/schedules", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Teams / Schedules", + ], + }, + { + "method": "GET", + "operationId": "TeamsVerifiedResourcesController_getVerifiedEmails", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/verified-resources/emails", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Teams Verified Resources", + ], + }, + { + "method": "GET", + "operationId": "TeamsVerifiedResourcesController_getVerifiedEmailById", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "id", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/verified-resources/emails/{id}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Teams Verified Resources", + ], + }, + { + "method": "POST", + "operationId": "TeamsVerifiedResourcesController_requestEmailVerificationCode", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/verified-resources/emails/verification-code/request", + "requestBody": { + "properties": { + "email": "string", + }, + "required": [ + "email", + ], + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Teams Verified Resources", + ], + }, + { + "method": "POST", + "operationId": "TeamsVerifiedResourcesController_verifyEmail", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/verified-resources/emails/verification-code/verify", + "requestBody": { + "properties": { + "code": "string", + "email": "string", + }, + "required": [ + "code", + "email", + ], + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Teams Verified Resources", + ], + }, + { + "method": "GET", + "operationId": "TeamsVerifiedResourcesController_getVerifiedPhoneNumbers", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/verified-resources/phones", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Teams Verified Resources", + ], + }, + { + "method": "GET", + "operationId": "TeamsVerifiedResourcesController_getVerifiedPhoneById", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "id", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/verified-resources/phones/{id}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Teams Verified Resources", + ], + }, + { + "method": "POST", + "operationId": "TeamsVerifiedResourcesController_requestPhoneVerificationCode", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/verified-resources/phones/verification-code/request", + "requestBody": { + "properties": { + "phone": "string", + }, + "required": [ + "phone", + ], + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Teams Verified Resources", + ], + }, + { + "method": "POST", + "operationId": "TeamsVerifiedResourcesController_verifyPhoneNumber", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/verified-resources/phones/verification-code/verify", + "requestBody": { + "properties": { + "code": "string", + "phone": "string", + }, + "required": [ + "code", + "phone", + ], + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Teams Verified Resources", + ], + }, + { + "method": "GET", + "operationId": "UserVerifiedResourcesController_getVerifiedEmails", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/verified-resources/emails", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Verified Resources", + ], + }, + { + "method": "GET", + "operationId": "UserVerifiedResourcesController_getVerifiedEmailById", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "id", + "required": true, + "type": "number", + }, + ], + "path": "/v2/verified-resources/emails/{id}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Verified Resources", + ], + }, + { + "method": "POST", + "operationId": "UserVerifiedResourcesController_requestEmailVerificationCode", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/verified-resources/emails/verification-code/request", + "requestBody": { + "properties": { + "email": "string", + }, + "required": [ + "email", + ], + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Verified Resources", + ], + }, + { + "method": "POST", + "operationId": "UserVerifiedResourcesController_verifyEmail", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/verified-resources/emails/verification-code/verify", + "requestBody": { + "properties": { + "code": "string", + "email": "string", + }, + "required": [ + "code", + "email", + ], + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Verified Resources", + ], + }, + { + "method": "GET", + "operationId": "UserVerifiedResourcesController_getVerifiedPhoneNumbers", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/verified-resources/phones", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Verified Resources", + ], + }, + { + "method": "GET", + "operationId": "UserVerifiedResourcesController_getVerifiedPhoneById", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "id", + "required": true, + "type": "number", + }, + ], + "path": "/v2/verified-resources/phones/{id}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Verified Resources", + ], + }, + { + "method": "POST", + "operationId": "UserVerifiedResourcesController_requestPhoneVerificationCode", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/verified-resources/phones/verification-code/request", + "requestBody": { + "properties": { + "phone": "string", + }, + "required": [ + "phone", + ], + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Verified Resources", + ], + }, + { + "method": "POST", + "operationId": "UserVerifiedResourcesController_verifyPhoneNumber", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/verified-resources/phones/verification-code/verify", + "requestBody": { + "properties": { + "code": "string", + "phone": "string", + }, + "required": [ + "code", + "phone", + ], + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Verified Resources", + ], + }, + { + "method": "GET", + "operationId": "WebhooksController_getWebhooks", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/webhooks", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Webhooks", + ], + }, + { + "method": "POST", + "operationId": "WebhooksController_createWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/webhooks", + "requestBody": { + "properties": { + "active": "boolean", + "payloadTemplate": "string", + "secret": "string", + "subscriberUrl": "string", + "triggers": "array", + "version": "enum(2021-10-20)", + }, + "required": [ + "active", + "subscriberUrl", + "triggers", + ], + }, + "responseCodes": [ + "201", + ], + "tags": [ + "Webhooks", + ], + }, + { + "method": "DELETE", + "operationId": "WebhooksController_deleteWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/webhooks/{webhookId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Webhooks", + ], + }, + { + "method": "GET", + "operationId": "WebhooksController_getWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/webhooks/{webhookId}", + "requestBody": null, + "responseCodes": [ + "200", + ], + "tags": [ + "Webhooks", + ], + }, + { + "method": "PATCH", + "operationId": "WebhooksController_updateWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/webhooks/{webhookId}", + "requestBody": { + "properties": { + "active": "boolean", + "payloadTemplate": "string", + "secret": "string", + "subscriberUrl": "string", + "triggers": "array", + "version": "enum(2021-10-20)", + }, + }, + "responseCodes": [ + "200", + ], + "tags": [ + "Webhooks", + ], + }, +] +`; + +exports[`OpenAPI Endpoint Parameter Contracts > should match the parameter-only snapshot for quick diffing 1`] = ` +[ + { + "method": "POST", + "operationId": "ApiKeysController_refresh", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/api-keys/refresh", + }, + { + "method": "GET", + "operationId": "OAuth2Controller_getClient", + "parameters": [ + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/auth/oauth2/clients/{clientId}", + }, + { + "method": "POST", + "operationId": "OAuth2Controller_token", + "parameters": [], + "path": "/v2/auth/oauth2/token", + }, + { + "method": "GET", + "operationId": "BookingsController_2024_08_13_getBookings", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "afterCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "afterStart", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "afterUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "attendeeEmail", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "attendeeName", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeEnd", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "bookingUid", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "eventTypeId", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "eventTypeIds", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortCreated", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortEnd", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortStart", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "status", + "required": false, + "type": "array", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "teamId", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "teamsIds", + "required": false, + "type": "string", + }, + ], + "path": "/v2/bookings", + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_createBooking", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + ], + "path": "/v2/bookings", + }, + { + "method": "GET", + "operationId": "BookingsController_2024_08_13_getBooking", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}", + }, + { + "method": "GET", + "operationId": "BookingAttendeesController_2024_08_13_getBookingAttendees", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/attendees", + }, + { + "method": "POST", + "operationId": "BookingAttendeesController_2024_08_13_addAttendee", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/attendees", + }, + { + "method": "GET", + "operationId": "BookingAttendeesController_2024_08_13_getBookingAttendee", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "attendeeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/attendees/{attendeeId}", + }, + { + "method": "GET", + "operationId": "BookingsController_2024_08_13_getCalendarLinks", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/calendar-links", + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_cancelBooking", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/cancel", + }, + { + "method": "GET", + "operationId": "BookingsController_2024_08_13_getVideoSessions", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/conferencing-sessions", + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_confirmBooking", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/confirm", + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_declineBooking", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/decline", + }, + { + "method": "POST", + "operationId": "BookingGuestsController_2024_08_13_addGuests", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/guests", + }, + { + "method": "PATCH", + "operationId": "BookingLocationController_2024_08_13_updateBookingLocation", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/location", + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_markNoShow", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/mark-absent", + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_reassignBooking", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/reassign", + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_reassignBookingToUser", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/bookings/{bookingUid}/reassign/{userId}", + }, + { + "method": "GET", + "operationId": "BookingsController_2024_08_13_getBookingRecordings", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/recordings", + }, + { + "method": "GET", + "operationId": "BookingsController_2024_08_13_getBookingReferences", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + { + "enum": [ + "google_calendar", + "office365_calendar", + "daily_video", + "google_video", + "office365_video", + "zoom_video", + ], + "in": "query", + "name": "type", + "required": false, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/references", + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_rescheduleBooking", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/reschedule", + }, + { + "method": "GET", + "operationId": "BookingsController_2024_08_13_getBookingTranscripts", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/{bookingUid}/transcripts", + }, + { + "method": "GET", + "operationId": "BookingsController_2024_08_13_getBookingBySeatUid", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "seatUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/bookings/by-seat/{seatUid}", + }, + { + "method": "GET", + "operationId": "CalendarsController_getCalendars", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/calendars", + }, + { + "method": "GET", + "operationId": "CalendarsController_check", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "enum": [ + "apple", + "google", + "office365", + ], + "in": "path", + "name": "calendar", + "required": true, + "type": "string", + }, + ], + "path": "/v2/calendars/{calendar}/check", + }, + { + "method": "GET", + "operationId": "CalendarsController_redirect", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "enum": [ + "office365", + "google", + ], + "in": "path", + "name": "calendar", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "isDryRun", + "required": true, + "type": "boolean", + }, + { + "in": "query", + "name": "redir", + "required": false, + "type": "string", + }, + ], + "path": "/v2/calendars/{calendar}/connect", + }, + { + "method": "POST", + "operationId": "CalendarsController_syncCredentials", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "enum": [ + "apple", + ], + "in": "path", + "name": "calendar", + "required": true, + "type": "string", + }, + ], + "path": "/v2/calendars/{calendar}/credentials", + }, + { + "method": "POST", + "operationId": "CalendarsController_deleteCalendarCredentials", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "enum": [ + "apple", + "google", + "office365", + ], + "in": "path", + "name": "calendar", + "required": true, + "type": "string", + }, + ], + "path": "/v2/calendars/{calendar}/disconnect", + }, + { + "method": "GET", + "operationId": "CalUnifiedCalendarsController_getCalendarEventDetails", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "enum": [ + "google", + ], + "in": "path", + "name": "calendar", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/calendars/{calendar}/event/{eventUid}", + }, + { + "method": "PATCH", + "operationId": "CalUnifiedCalendarsController_updateCalendarEvent", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "enum": [ + "google", + ], + "in": "path", + "name": "calendar", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventUid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/calendars/{calendar}/events/{eventUid}", + }, + { + "method": "GET", + "operationId": "CalendarsController_save", + "parameters": [ + { + "enum": [ + "office365", + "google", + ], + "in": "path", + "name": "calendar", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "code", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "state", + "required": true, + "type": "string", + }, + ], + "path": "/v2/calendars/{calendar}/save", + }, + { + "method": "GET", + "operationId": "CalendarsController_getBusyTimes", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "credentialId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "dateFrom", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "dateTo", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "externalId", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "loggedInUsersTz", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "timeZone", + "required": false, + "type": "string", + }, + ], + "path": "/v2/calendars/busy-times", + }, + { + "method": "GET", + "operationId": "CalendarsController_checkIcsFeed", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/calendars/ics-feed/check", + }, + { + "method": "POST", + "operationId": "CalendarsController_createIcsFeed", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/calendars/ics-feed/save", + }, + { + "method": "GET", + "operationId": "ConferencingController_listInstalledConferencingApps", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/conferencing", + }, + { + "method": "POST", + "operationId": "ConferencingController_connect", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "enum": [ + "google-meet", + ], + "in": "path", + "name": "app", + "required": true, + "type": "string", + }, + ], + "path": "/v2/conferencing/{app}/connect", + }, + { + "method": "POST", + "operationId": "ConferencingController_default", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "enum": [ + "google-meet", + "zoom", + "msteams", + "daily-video", + ], + "in": "path", + "name": "app", + "required": true, + "type": "string", + }, + ], + "path": "/v2/conferencing/{app}/default", + }, + { + "method": "DELETE", + "operationId": "ConferencingController_disconnect", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "enum": [ + "google-meet", + "zoom", + "msteams", + ], + "in": "path", + "name": "app", + "required": true, + "type": "string", + }, + ], + "path": "/v2/conferencing/{app}/disconnect", + }, + { + "method": "GET", + "operationId": "ConferencingController_redirect", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "enum": [ + "zoom", + "msteams", + ], + "in": "path", + "name": "app", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "onErrorReturnTo", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "returnTo", + "required": true, + "type": "string", + }, + ], + "path": "/v2/conferencing/{app}/oauth/auth-url", + }, + { + "method": "GET", + "operationId": "ConferencingController_save", + "parameters": [ + { + "enum": [ + "zoom", + "msteams", + ], + "in": "path", + "name": "app", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "code", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "state", + "required": true, + "type": "string", + }, + ], + "path": "/v2/conferencing/{app}/oauth/callback", + }, + { + "method": "GET", + "operationId": "ConferencingController_getDefault", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/conferencing/default", + }, + { + "method": "PUT", + "operationId": "DestinationCalendarsController_updateDestinationCalendars", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/destination-calendars", + }, + { + "method": "GET", + "operationId": "EventTypesController_2024_06_14_getEventTypes", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "eventSlug", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "orgId", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "orgSlug", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "username", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "usernames", + "required": false, + "type": "string", + }, + ], + "path": "/v2/event-types", + }, + { + "method": "POST", + "operationId": "EventTypesController_2024_06_14_createEventType", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + ], + "path": "/v2/event-types", + }, + { + "method": "DELETE", + "operationId": "EventTypesController_2024_06_14_deleteEventType", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/event-types/{eventTypeId}", + }, + { + "method": "GET", + "operationId": "EventTypesController_2024_06_14_getEventTypeById", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/event-types/{eventTypeId}", + }, + { + "method": "PATCH", + "operationId": "EventTypesController_2024_06_14_updateEventType", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/event-types/{eventTypeId}", + }, + { + "method": "GET", + "operationId": "EventTypesPrivateLinksController_getPrivateLinks", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/event-types/{eventTypeId}/private-links", + }, + { + "method": "POST", + "operationId": "EventTypesPrivateLinksController_createPrivateLink", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/event-types/{eventTypeId}/private-links", + }, + { + "method": "DELETE", + "operationId": "EventTypesPrivateLinksController_deletePrivateLink", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "linkId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/event-types/{eventTypeId}/private-links/{linkId}", + }, + { + "method": "PATCH", + "operationId": "EventTypesPrivateLinksController_updatePrivateLink", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "linkId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/event-types/{eventTypeId}/private-links/{linkId}", + }, + { + "method": "DELETE", + "operationId": "EventTypeWebhooksController_deleteAllEventTypeWebhooks", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/event-types/{eventTypeId}/webhooks", + }, + { + "method": "GET", + "operationId": "EventTypeWebhooksController_getEventTypeWebhooks", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/event-types/{eventTypeId}/webhooks", + }, + { + "method": "POST", + "operationId": "EventTypeWebhooksController_createEventTypeWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/event-types/{eventTypeId}/webhooks", + }, + { + "method": "DELETE", + "operationId": "EventTypeWebhooksController_deleteEventTypeWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/event-types/{eventTypeId}/webhooks/{webhookId}", + }, + { + "method": "GET", + "operationId": "EventTypeWebhooksController_getEventTypeWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/event-types/{eventTypeId}/webhooks/{webhookId}", + }, + { + "method": "PATCH", + "operationId": "EventTypeWebhooksController_updateEventTypeWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/event-types/{eventTypeId}/webhooks/{webhookId}", + }, + { + "method": "GET", + "operationId": "MeController_getMe", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/me", + }, + { + "method": "PATCH", + "operationId": "MeController_updateMe", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/me", + }, + { + "method": "GET", + "operationId": "OAuthClientsController_getOAuthClients", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/oauth-clients", + }, + { + "method": "POST", + "operationId": "OAuthClientsController_createOAuthClient", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/oauth-clients", + }, + { + "method": "DELETE", + "operationId": "OAuthClientsController_deleteOAuthClient", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/oauth-clients/{clientId}", + }, + { + "method": "GET", + "operationId": "OAuthClientsController_getOAuthClientById", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/oauth-clients/{clientId}", + }, + { + "method": "PATCH", + "operationId": "OAuthClientsController_updateOAuthClient", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/oauth-clients/{clientId}", + }, + { + "method": "GET", + "operationId": "OAuthClientUsersController_getManagedUsers", + "parameters": [ + { + "in": "header", + "name": "x-cal-secret-key", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "emails", + "required": false, + "type": "array", + }, + { + "in": "query", + "name": "limit", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "offset", + "required": false, + "type": "number", + }, + ], + "path": "/v2/oauth-clients/{clientId}/users", + }, + { + "method": "POST", + "operationId": "OAuthClientUsersController_createUser", + "parameters": [ + { + "in": "header", + "name": "x-cal-secret-key", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/oauth-clients/{clientId}/users", + }, + { + "method": "DELETE", + "operationId": "OAuthClientUsersController_deleteUser", + "parameters": [ + { + "in": "header", + "name": "x-cal-secret-key", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/oauth-clients/{clientId}/users/{userId}", + }, + { + "method": "GET", + "operationId": "OAuthClientUsersController_getUserById", + "parameters": [ + { + "in": "header", + "name": "x-cal-secret-key", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/oauth-clients/{clientId}/users/{userId}", + }, + { + "method": "PATCH", + "operationId": "OAuthClientUsersController_updateUser", + "parameters": [ + { + "in": "header", + "name": "x-cal-secret-key", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/oauth-clients/{clientId}/users/{userId}", + }, + { + "method": "POST", + "operationId": "OAuthClientUsersController_forceRefresh", + "parameters": [ + { + "in": "header", + "name": "x-cal-secret-key", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/oauth-clients/{clientId}/users/{userId}/force-refresh", + }, + { + "method": "DELETE", + "operationId": "OAuthClientWebhooksController_deleteAllOAuthClientWebhooks", + "parameters": [ + { + "in": "header", + "name": "x-cal-secret-key", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/oauth-clients/{clientId}/webhooks", + }, + { + "method": "GET", + "operationId": "OAuthClientWebhooksController_getOAuthClientWebhooks", + "parameters": [ + { + "in": "header", + "name": "x-cal-secret-key", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/oauth-clients/{clientId}/webhooks", + }, + { + "method": "POST", + "operationId": "OAuthClientWebhooksController_createOAuthClientWebhook", + "parameters": [ + { + "in": "header", + "name": "x-cal-secret-key", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/oauth-clients/{clientId}/webhooks", + }, + { + "method": "DELETE", + "operationId": "OAuthClientWebhooksController_deleteOAuthClientWebhook", + "parameters": [ + { + "in": "header", + "name": "x-cal-secret-key", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/oauth-clients/{clientId}/webhooks/{webhookId}", + }, + { + "method": "GET", + "operationId": "OAuthClientWebhooksController_getOAuthClientWebhook", + "parameters": [ + { + "in": "header", + "name": "x-cal-secret-key", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/oauth-clients/{clientId}/webhooks/{webhookId}", + }, + { + "method": "PATCH", + "operationId": "OAuthClientWebhooksController_updateOAuthClientWebhook", + "parameters": [ + { + "in": "header", + "name": "x-cal-secret-key", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/oauth-clients/{clientId}/webhooks/{webhookId}", + }, + { + "method": "POST", + "operationId": "OAuthFlowController_refreshTokens", + "parameters": [ + { + "in": "header", + "name": "x-cal-secret-key", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "clientId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/oauth/{clientId}/refresh", + }, + { + "method": "GET", + "operationId": "OrganizationsAttributesController_getOrganizationAttributes", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/attributes", + }, + { + "method": "POST", + "operationId": "OrganizationsAttributesController_createOrganizationAttribute", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/attributes", + }, + { + "method": "DELETE", + "operationId": "OrganizationsAttributesController_deleteOrganizationAttribute", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "attributeId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/attributes/{attributeId}", + }, + { + "method": "GET", + "operationId": "OrganizationsAttributesController_getOrganizationAttribute", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "attributeId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/attributes/{attributeId}", + }, + { + "method": "PATCH", + "operationId": "OrganizationsAttributesController_updateOrganizationAttribute", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "attributeId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/attributes/{attributeId}", + }, + { + "method": "GET", + "operationId": "OrganizationsAttributesOptionsController_getOrganizationAttributeOptions", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "attributeId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/attributes/{attributeId}/options", + }, + { + "method": "POST", + "operationId": "OrganizationsAttributesOptionsController_createOrganizationAttributeOption", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "attributeId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/attributes/{attributeId}/options", + }, + { + "method": "DELETE", + "operationId": "OrganizationsAttributesOptionsController_deleteOrganizationAttributeOption", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "attributeId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "optionId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/attributes/{attributeId}/options/{optionId}", + }, + { + "method": "PATCH", + "operationId": "OrganizationsAttributesOptionsController_updateOrganizationAttributeOption", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "attributeId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "optionId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/attributes/{attributeId}/options/{optionId}", + }, + { + "method": "GET", + "operationId": "OrganizationsAttributesOptionsController_getOrganizationAttributeAssignedOptions", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "attributeId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "assignedOptionIds", + "required": false, + "type": "array", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "teamIds", + "required": false, + "type": "array", + }, + ], + "path": "/v2/organizations/{orgId}/attributes/{attributeId}/options/assigned", + }, + { + "method": "GET", + "operationId": "OrganizationsAttributesOptionsController_getOrganizationAttributeOptionsForUser", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/attributes/options/{userId}", + }, + { + "method": "POST", + "operationId": "OrganizationsAttributesOptionsController_assignOrganizationAttributeOptionToUser", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/attributes/options/{userId}", + }, + { + "method": "DELETE", + "operationId": "OrganizationsAttributesOptionsController_unassignOrganizationAttributeOptionFromUser", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "attributeOptionId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/attributes/options/{userId}/{attributeOptionId}", + }, + { + "method": "GET", + "operationId": "OrganizationsAttributesOptionsController_getOrganizationAttributeAssignedOptionsBySlug", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "attributeSlug", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "assignedOptionIds", + "required": false, + "type": "array", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "teamIds", + "required": false, + "type": "array", + }, + ], + "path": "/v2/organizations/{orgId}/attributes/slugs/{attributeSlug}/options/assigned", + }, + { + "method": "GET", + "operationId": "OrganizationsBookingsController_getAllOrgTeamBookings", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "afterCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "afterStart", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "afterUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "attendeeEmail", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "attendeeName", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeEnd", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "bookingUid", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "eventTypeId", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "eventTypeIds", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortCreated", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortEnd", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortStart", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "status", + "required": false, + "type": "array", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "teamId", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "teamsIds", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "userIds", + "required": false, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/bookings", + }, + { + "method": "POST", + "operationId": "OrganizationsDelegationCredentialController_createDelegationCredential", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/delegation-credentials", + }, + { + "method": "PATCH", + "operationId": "OrganizationsDelegationCredentialController_updateDelegationCredential", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "credentialId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/delegation-credentials/{credentialId}", + }, + { + "method": "GET", + "operationId": "OrganizationsMembershipsController_getAllMemberships", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/memberships", + }, + { + "method": "POST", + "operationId": "OrganizationsMembershipsController_createMembership", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/memberships", + }, + { + "method": "DELETE", + "operationId": "OrganizationsMembershipsController_deleteMembership", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "membershipId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/memberships/{membershipId}", + }, + { + "method": "GET", + "operationId": "OrganizationsMembershipsController_getOrgMembership", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "membershipId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/memberships/{membershipId}", + }, + { + "method": "PATCH", + "operationId": "OrganizationsMembershipsController_updateMembership", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "membershipId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/memberships/{membershipId}", + }, + { + "method": "GET", + "operationId": "OrganizationsUsersOOOController_getOrganizationUsersOOO", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "email", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortEnd", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortStart", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/ooo", + }, + { + "method": "GET", + "operationId": "OrganizationsOrganizationsController_getOrganizations", + "parameters": [ + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "metadataKey", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "metadataValue", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "slug", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/organizations", + }, + { + "method": "POST", + "operationId": "OrganizationsOrganizationsController_createOrganization", + "parameters": [ + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/organizations", + }, + { + "method": "DELETE", + "operationId": "OrganizationsOrganizationsController_deleteOrganization", + "parameters": [ + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "managedOrganizationId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/organizations/{managedOrganizationId}", + }, + { + "method": "GET", + "operationId": "OrganizationsOrganizationsController_getOrganization", + "parameters": [ + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "managedOrganizationId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/organizations/{managedOrganizationId}", + }, + { + "method": "PATCH", + "operationId": "OrganizationsOrganizationsController_updateOrganization", + "parameters": [ + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "managedOrganizationId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/organizations/{managedOrganizationId}", + }, + { + "method": "GET", + "operationId": "OrganizationsRolesController_getAllRoles", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/roles", + }, + { + "method": "POST", + "operationId": "OrganizationsRolesController_createRole", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/roles", + }, + { + "method": "DELETE", + "operationId": "OrganizationsRolesController_deleteRole", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/roles/{roleId}", + }, + { + "method": "GET", + "operationId": "OrganizationsRolesController_getRole", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/roles/{roleId}", + }, + { + "method": "PATCH", + "operationId": "OrganizationsRolesController_updateRole", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/roles/{roleId}", + }, + { + "method": "DELETE", + "operationId": "OrganizationsRolesPermissionsController_removePermissions", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "permissions", + "required": false, + "type": "array", + }, + ], + "path": "/v2/organizations/{orgId}/roles/{roleId}/permissions", + }, + { + "method": "GET", + "operationId": "OrganizationsRolesPermissionsController_listPermissions", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/roles/{roleId}/permissions", + }, + { + "method": "POST", + "operationId": "OrganizationsRolesPermissionsController_addPermissions", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/roles/{roleId}/permissions", + }, + { + "method": "PUT", + "operationId": "OrganizationsRolesPermissionsController_setPermissions", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/roles/{roleId}/permissions", + }, + { + "method": "DELETE", + "operationId": "OrganizationsRolesPermissionsController_removePermission", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "permission", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/roles/{roleId}/permissions/{permission}", + }, + { + "method": "GET", + "operationId": "OrganizationsRoutingFormsController_getOrganizationRoutingForms", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "afterCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "afterUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "routedToBookingUid", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortCreatedAt", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "teamIds", + "required": false, + "type": "array", + }, + ], + "path": "/v2/organizations/{orgId}/routing-forms", + }, + { + "method": "GET", + "operationId": "OrganizationsRoutingFormsResponsesController_getRoutingFormResponses", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "routingFormId", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "afterCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "afterUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "routedToBookingUid", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortCreatedAt", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/routing-forms/{routingFormId}/responses", + }, + { + "method": "POST", + "operationId": "OrganizationsRoutingFormsResponsesController_createRoutingFormResponse", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "routingFormId", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "bookingUidToReschedule", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "duration", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "end", + "required": true, + "type": "string", + }, + { + "enum": [ + "range", + "time", + ], + "in": "query", + "name": "format", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "queueResponse", + "required": false, + "type": "boolean", + }, + { + "in": "query", + "name": "start", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "timeZone", + "required": false, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/routing-forms/{routingFormId}/responses", + }, + { + "method": "PATCH", + "operationId": "OrganizationsRoutingFormsResponsesController_updateRoutingFormResponse", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "responseId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "routingFormId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/routing-forms/{routingFormId}/responses/{responseId}", + }, + { + "method": "GET", + "operationId": "OrganizationsSchedulesController_getOrganizationSchedules", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/schedules", + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsController_getAllTeams", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams", + }, + { + "method": "POST", + "operationId": "OrganizationsTeamsController_createTeam", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams", + }, + { + "method": "DELETE", + "operationId": "OrganizationsTeamsController_deleteTeam", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}", + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsController_getTeam", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}", + }, + { + "method": "PATCH", + "operationId": "OrganizationsTeamsController_updateTeam", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}", + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsBookingsController_getAllOrgTeamBookings", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "afterStart", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "attendeeEmail", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "attendeeName", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeEnd", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "bookingUid", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "eventTypeId", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "eventTypeIds", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortCreated", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortEnd", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortStart", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "status", + "required": false, + "type": "array", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/bookings", + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsBookingsController_getBookingReferences", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "bookingUid", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "enum": [ + "google_calendar", + "office365_calendar", + "daily_video", + "google_video", + "office365_video", + "zoom_video", + ], + "in": "query", + "name": "type", + "required": false, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/bookings/{bookingUid}/references", + }, + { + "method": "GET", + "operationId": "OrganizationsConferencingController_listTeamConferencingApps", + "parameters": [ + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/conferencing", + }, + { + "method": "POST", + "operationId": "OrganizationsConferencingController_connectTeamApp", + "parameters": [ + { + "enum": [ + "google-meet", + ], + "in": "path", + "name": "app", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/conferencing/{app}/connect", + }, + { + "method": "POST", + "operationId": "OrganizationsConferencingController_setTeamDefaultApp", + "parameters": [ + { + "enum": [ + "google-meet", + "zoom", + "msteams", + "daily-video", + ], + "in": "path", + "name": "app", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/conferencing/{app}/default", + }, + { + "method": "DELETE", + "operationId": "OrganizationsConferencingController_disconnectTeamApp", + "parameters": [ + { + "enum": [ + "google-meet", + "zoom", + "msteams", + ], + "in": "path", + "name": "app", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/conferencing/{app}/disconnect", + }, + { + "method": "GET", + "operationId": "OrganizationsConferencingController_getTeamOAuthUrl", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "enum": [ + "zoom", + "msteams", + ], + "in": "path", + "name": "app", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "onErrorReturnTo", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "returnTo", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/conferencing/{app}/oauth/auth-url", + }, + { + "method": "GET", + "operationId": "OrganizationsConferencingController_saveTeamOauthCredentials", + "parameters": [ + { + "in": "path", + "name": "app", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "code", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "state", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/conferencing/{app}/oauth/callback", + }, + { + "method": "GET", + "operationId": "OrganizationsConferencingController_getTeamDefaultApp", + "parameters": [ + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/conferencing/default", + }, + { + "method": "GET", + "operationId": "OrganizationsEventTypesController_getTeamEventTypes", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "eventSlug", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "hostsLimit", + "required": false, + "type": "number", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortCreatedAt", + "required": false, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types", + }, + { + "method": "POST", + "operationId": "OrganizationsEventTypesController_createTeamEventType", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types", + }, + { + "method": "DELETE", + "operationId": "OrganizationsEventTypesController_deleteTeamEventType", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}", + }, + { + "method": "GET", + "operationId": "OrganizationsEventTypesController_getTeamEventType", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}", + }, + { + "method": "PATCH", + "operationId": "OrganizationsEventTypesController_updateTeamEventType", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}", + }, + { + "method": "POST", + "operationId": "OrganizationsEventTypesController_createPhoneCall", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}/create-phone-call", + }, + { + "method": "GET", + "operationId": "OrganizationsEventTypesPrivateLinksController_getPrivateLinks", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}/private-links", + }, + { + "method": "POST", + "operationId": "OrganizationsEventTypesPrivateLinksController_createPrivateLink", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}/private-links", + }, + { + "method": "DELETE", + "operationId": "OrganizationsEventTypesPrivateLinksController_deletePrivateLink", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "linkId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}/private-links/{linkId}", + }, + { + "method": "PATCH", + "operationId": "OrganizationsEventTypesPrivateLinksController_updatePrivateLink", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "linkId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}/private-links/{linkId}", + }, + { + "method": "POST", + "operationId": "OrganizationsTeamsInviteController_createInvite", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/invite", + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsMembershipsController_getAllOrgTeamMemberships", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/memberships", + }, + { + "method": "POST", + "operationId": "OrganizationsTeamsMembershipsController_createOrgTeamMembership", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/memberships", + }, + { + "method": "DELETE", + "operationId": "OrganizationsTeamsMembershipsController_deleteOrgTeamMembership", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "membershipId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/memberships/{membershipId}", + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsMembershipsController_getOrgTeamMembership", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "membershipId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/memberships/{membershipId}", + }, + { + "method": "PATCH", + "operationId": "OrganizationsTeamsMembershipsController_updateOrgTeamMembership", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "membershipId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/memberships/{membershipId}", + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsRolesController_getAllRoles", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles", + }, + { + "method": "POST", + "operationId": "OrganizationsTeamsRolesController_createRole", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles", + }, + { + "method": "DELETE", + "operationId": "OrganizationsTeamsRolesController_deleteRole", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}", + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsRolesController_getRole", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}", + }, + { + "method": "PATCH", + "operationId": "OrganizationsTeamsRolesController_updateRole", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}", + }, + { + "method": "DELETE", + "operationId": "OrganizationsTeamsRolesPermissionsController_removePermissions", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "permissions", + "required": false, + "type": "array", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions", + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsRolesPermissionsController_listPermissions", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions", + }, + { + "method": "POST", + "operationId": "OrganizationsTeamsRolesPermissionsController_addPermissions", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions", + }, + { + "method": "PUT", + "operationId": "OrganizationsTeamsRolesPermissionsController_setPermissions", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions", + }, + { + "method": "DELETE", + "operationId": "OrganizationsTeamsRolesPermissionsController_removePermission", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "permission", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "roleId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions/{permission}", + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsRoutingFormsController_getTeamRoutingForms", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "afterCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "afterUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "routedToBookingUid", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortCreatedAt", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/routing-forms", + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsRoutingFormsResponsesController_getRoutingFormResponses", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "routingFormId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "afterCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "afterUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "routedToBookingUid", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortCreatedAt", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/routing-forms/{routingFormId}/responses", + }, + { + "method": "POST", + "operationId": "OrganizationsTeamsRoutingFormsResponsesController_createRoutingFormResponse", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "routingFormId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "bookingUidToReschedule", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "duration", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "end", + "required": true, + "type": "string", + }, + { + "enum": [ + "range", + "time", + ], + "in": "query", + "name": "format", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "queueResponse", + "required": false, + "type": "boolean", + }, + { + "in": "query", + "name": "start", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "timeZone", + "required": false, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/routing-forms/{routingFormId}/responses", + }, + { + "method": "PATCH", + "operationId": "OrganizationsTeamsRoutingFormsResponsesController_updateRoutingFormResponse", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "responseId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "routingFormId", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/routing-forms/{routingFormId}/responses/{responseId}", + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsSchedulesController_getTeamSchedules", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "eventTypeId", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/schedules", + }, + { + "method": "GET", + "operationId": "OrganizationsStripeController_checkTeamStripeConnection", + "parameters": [ + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/stripe/check", + }, + { + "method": "GET", + "operationId": "OrganizationsStripeController_getTeamStripeConnectUrl", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "onErrorReturnTo", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "returnTo", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/stripe/connect", + }, + { + "method": "GET", + "operationId": "OrganizationsStripeController_save", + "parameters": [ + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "code", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "state", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/stripe/save", + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsSchedulesController_getUserSchedules", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "eventTypeId", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/users/{userId}/schedules", + }, + { + "method": "GET", + "operationId": "OrgTeamsVerifiedResourcesController_getVerifiedEmails", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/verified-resources/emails", + }, + { + "method": "GET", + "operationId": "OrgTeamsVerifiedResourcesController_getVerifiedEmailById", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "id", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/verified-resources/emails/{id}", + }, + { + "method": "POST", + "operationId": "OrgTeamsVerifiedResourcesController_requestEmailVerificationCode", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/verified-resources/emails/verification-code/request", + }, + { + "method": "POST", + "operationId": "OrgTeamsVerifiedResourcesController_verifyEmail", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/verified-resources/emails/verification-code/verify", + }, + { + "method": "GET", + "operationId": "OrgTeamsVerifiedResourcesController_getVerifiedPhoneNumbers", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/verified-resources/phones", + }, + { + "method": "GET", + "operationId": "OrgTeamsVerifiedResourcesController_getVerifiedPhoneById", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "id", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/verified-resources/phones/{id}", + }, + { + "method": "POST", + "operationId": "OrgTeamsVerifiedResourcesController_requestPhoneVerificationCode", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/verified-resources/phones/verification-code/request", + }, + { + "method": "POST", + "operationId": "OrgTeamsVerifiedResourcesController_verifyPhoneNumber", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/verified-resources/phones/verification-code/verify", + }, + { + "method": "GET", + "operationId": "OrganizationTeamWorkflowsController_getWorkflows", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows", + }, + { + "method": "POST", + "operationId": "OrganizationTeamWorkflowsController_createEventTypeWorkflow", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows", + }, + { + "method": "DELETE", + "operationId": "OrganizationTeamWorkflowsController_deleteWorkflow", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "workflowId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows/{workflowId}", + }, + { + "method": "GET", + "operationId": "OrganizationTeamWorkflowsController_getWorkflowById", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "workflowId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows/{workflowId}", + }, + { + "method": "PATCH", + "operationId": "OrganizationTeamWorkflowsController_updateWorkflow", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "workflowId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows/{workflowId}", + }, + { + "method": "DELETE", + "operationId": "OrganizationTeamWorkflowsController_deleteRoutingFormWorkflow", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "workflowId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows/{workflowId}/routing-form", + }, + { + "method": "GET", + "operationId": "OrganizationTeamWorkflowsController_getRoutingFormWorkflowById", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "workflowId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows/{workflowId}/routing-form", + }, + { + "method": "PATCH", + "operationId": "OrganizationTeamWorkflowsController_updateRoutingFormWorkflow", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "workflowId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows/{workflowId}/routing-form", + }, + { + "method": "GET", + "operationId": "OrganizationTeamWorkflowsController_getRoutingFormWorkflows", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows/routing-form", + }, + { + "method": "POST", + "operationId": "OrganizationTeamWorkflowsController_createFormWorkflow", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows/routing-form", + }, + { + "method": "GET", + "operationId": "OrganizationsEventTypesController_getTeamsEventTypes", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/event-types", + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsController_getMyTeams", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/teams/me", + }, + { + "method": "GET", + "operationId": "OrganizationsUsersController_getOrganizationsUsers", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "assignedOptionIds", + "required": false, + "type": "array", + }, + { + "enum": [ + "OR", + "AND", + "NONE", + ], + "in": "query", + "name": "attributeQueryOperator", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "emails", + "required": false, + "type": "array", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "teamIds", + "required": false, + "type": "array", + }, + ], + "path": "/v2/organizations/{orgId}/users", + }, + { + "method": "POST", + "operationId": "OrganizationsUsersController_createOrganizationUser", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/users", + }, + { + "method": "DELETE", + "operationId": "OrganizationsUsersController_deleteOrganizationUser", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/users/{userId}", + }, + { + "method": "PATCH", + "operationId": "OrganizationsUsersController_updateOrganizationUser", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/users/{userId}", + }, + { + "method": "GET", + "operationId": "OrganizationsUsersBookingsController_getOrganizationUserBookings", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "afterCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "afterStart", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "afterUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "attendeeEmail", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "attendeeName", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeCreatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeEnd", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "bookingUid", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "eventTypeId", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "eventTypeIds", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortCreated", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortEnd", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortStart", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortUpdatedAt", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "status", + "required": false, + "type": "array", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "teamId", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "teamsIds", + "required": false, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/users/{userId}/bookings", + }, + { + "method": "GET", + "operationId": "OrganizationsUsersOOOController_getOrganizationUserOOO", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortEnd", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortStart", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/users/{userId}/ooo", + }, + { + "method": "POST", + "operationId": "OrganizationsUsersOOOController_createOrganizationUserOOO", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/users/{userId}/ooo", + }, + { + "method": "DELETE", + "operationId": "OrganizationsUsersOOOController_deleteOrganizationUserOOO", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "oooId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/users/{userId}/ooo/{oooId}", + }, + { + "method": "PATCH", + "operationId": "OrganizationsUsersOOOController_updateOrganizationUserOOO", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "oooId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/users/{userId}/ooo/{oooId}", + }, + { + "method": "GET", + "operationId": "OrganizationsSchedulesController_getUserSchedules", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/users/{userId}/schedules", + }, + { + "method": "POST", + "operationId": "OrganizationsSchedulesController_createUserSchedule", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/users/{userId}/schedules", + }, + { + "method": "DELETE", + "operationId": "OrganizationsSchedulesController_deleteUserSchedule", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "scheduleId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/users/{userId}/schedules/{scheduleId}", + }, + { + "method": "GET", + "operationId": "OrganizationsSchedulesController_getUserSchedule", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "scheduleId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/users/{userId}/schedules/{scheduleId}", + }, + { + "method": "PATCH", + "operationId": "OrganizationsSchedulesController_updateUserSchedule", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "scheduleId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "userId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/users/{userId}/schedules/{scheduleId}", + }, + { + "method": "GET", + "operationId": "OrganizationsWebhooksController_getAllOrganizationWebhooks", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/webhooks", + }, + { + "method": "POST", + "operationId": "OrganizationsWebhooksController_createOrganizationWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/organizations/{orgId}/webhooks", + }, + { + "method": "DELETE", + "operationId": "OrganizationsWebhooksController_deleteWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/webhooks/{webhookId}", + }, + { + "method": "GET", + "operationId": "OrganizationsWebhooksController_getOrganizationWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/webhooks/{webhookId}", + }, + { + "method": "PATCH", + "operationId": "OrganizationsWebhooksController_updateOrgWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-secret-key", + "required": false, + "type": "string", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/organizations/{orgId}/webhooks/{webhookId}", + }, + { + "method": "POST", + "operationId": "RoutingFormsController_calculateSlotsBasedOnRoutingFormResponse", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "routingFormId", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "bookingUidToReschedule", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "duration", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "end", + "required": true, + "type": "string", + }, + { + "enum": [ + "range", + "time", + ], + "in": "query", + "name": "format", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "start", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "timeZone", + "required": false, + "type": "string", + }, + ], + "path": "/v2/routing-forms/{routingFormId}/calculate-slots", + }, + { + "method": "GET", + "operationId": "SchedulesController_2024_06_11_getSchedules", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + ], + "path": "/v2/schedules", + }, + { + "method": "POST", + "operationId": "SchedulesController_2024_06_11_createSchedule", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + ], + "path": "/v2/schedules", + }, + { + "method": "DELETE", + "operationId": "SchedulesController_2024_06_11_deleteSchedule", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "scheduleId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/schedules/{scheduleId}", + }, + { + "method": "GET", + "operationId": "SchedulesController_2024_06_11_getSchedule", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "scheduleId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/schedules/{scheduleId}", + }, + { + "method": "PATCH", + "operationId": "SchedulesController_2024_06_11_updateSchedule", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "scheduleId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/schedules/{scheduleId}", + }, + { + "method": "GET", + "operationId": "SchedulesController_2024_06_11_getDefaultSchedule", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + ], + "path": "/v2/schedules/default", + }, + { + "method": "DELETE", + "operationId": "SelectedCalendarsController_deleteSelectedCalendar", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "credentialId", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "delegationCredentialId", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "externalId", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "integration", + "required": true, + "type": "string", + }, + ], + "path": "/v2/selected-calendars", + }, + { + "method": "POST", + "operationId": "SelectedCalendarsController_addSelectedCalendar", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/selected-calendars", + }, + { + "method": "GET", + "operationId": "SlotsController_2024_09_04_getAvailableSlots", + "parameters": [ + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "bookingUidToReschedule", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "duration", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "end", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "eventTypeId", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "eventTypeSlug", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "format", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "organizationSlug", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "start", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "teamSlug", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "timeZone", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "username", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "usernames", + "required": false, + "type": "string", + }, + ], + "path": "/v2/slots", + }, + { + "method": "POST", + "operationId": "SlotsController_2024_09_04_reserveSlot", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": false, + "type": "string", + }, + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "header", + "name": "x-cal-client-id", + "required": false, + "type": "string", + }, + ], + "path": "/v2/slots/reservations", + }, + { + "method": "DELETE", + "operationId": "SlotsController_2024_09_04_deleteReservedSlot", + "parameters": [ + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "uid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/slots/reservations/{uid}", + }, + { + "method": "GET", + "operationId": "SlotsController_2024_09_04_getReservedSlot", + "parameters": [ + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "uid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/slots/reservations/{uid}", + }, + { + "method": "PATCH", + "operationId": "SlotsController_2024_09_04_updateReservedSlot", + "parameters": [ + { + "in": "header", + "name": "cal-api-version", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "uid", + "required": true, + "type": "string", + }, + ], + "path": "/v2/slots/reservations/{uid}", + }, + { + "method": "GET", + "operationId": "StripeController_check", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/stripe/check", + }, + { + "method": "GET", + "operationId": "StripeController_redirect", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/stripe/connect", + }, + { + "method": "GET", + "operationId": "StripeController_save", + "parameters": [ + { + "in": "query", + "name": "code", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "state", + "required": true, + "type": "string", + }, + ], + "path": "/v2/stripe/save", + }, + { + "method": "GET", + "operationId": "TeamsController_getTeams", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/teams", + }, + { + "method": "POST", + "operationId": "TeamsController_createTeam", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/teams", + }, + { + "method": "DELETE", + "operationId": "TeamsController_deleteTeam", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}", + }, + { + "method": "GET", + "operationId": "TeamsController_getTeam", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}", + }, + { + "method": "PATCH", + "operationId": "TeamsController_updateTeam", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}", + }, + { + "method": "GET", + "operationId": "TeamsBookingsController_getAllTeamBookings", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "afterStart", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "attendeeEmail", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "attendeeName", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "beforeEnd", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "bookingUid", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "eventTypeId", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "eventTypeIds", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortCreated", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortEnd", + "required": false, + "type": "string", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortStart", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "status", + "required": false, + "type": "array", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/bookings", + }, + { + "method": "GET", + "operationId": "TeamsEventTypesController_getTeamEventTypes", + "parameters": [ + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "eventSlug", + "required": false, + "type": "string", + }, + { + "in": "query", + "name": "hostsLimit", + "required": false, + "type": "number", + }, + { + "enum": [ + "asc", + "desc", + ], + "in": "query", + "name": "sortCreatedAt", + "required": false, + "type": "string", + }, + ], + "path": "/v2/teams/{teamId}/event-types", + }, + { + "method": "POST", + "operationId": "TeamsEventTypesController_createTeamEventType", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/event-types", + }, + { + "method": "DELETE", + "operationId": "TeamsEventTypesController_deleteTeamEventType", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}", + }, + { + "method": "GET", + "operationId": "TeamsEventTypesController_getTeamEventType", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}", + }, + { + "method": "PATCH", + "operationId": "TeamsEventTypesController_updateTeamEventType", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}", + }, + { + "method": "POST", + "operationId": "TeamsEventTypesController_createPhoneCall", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "orgId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}/create-phone-call", + }, + { + "method": "DELETE", + "operationId": "TeamsEventTypesWebhooksController_deleteAllTeamEventTypeWebhooks", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}/webhooks", + }, + { + "method": "GET", + "operationId": "TeamsEventTypesWebhooksController_getTeamEventTypeWebhooks", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}/webhooks", + }, + { + "method": "POST", + "operationId": "TeamsEventTypesWebhooksController_createTeamEventTypeWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}/webhooks", + }, + { + "method": "DELETE", + "operationId": "TeamsEventTypesWebhooksController_deleteTeamEventTypeWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId}", + }, + { + "method": "GET", + "operationId": "TeamsEventTypesWebhooksController_getTeamEventTypeWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId}", + }, + { + "method": "PATCH", + "operationId": "TeamsEventTypesWebhooksController_updateTeamEventTypeWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "eventTypeId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId}", + }, + { + "method": "POST", + "operationId": "TeamsInviteController_createInvite", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/invite", + }, + { + "method": "GET", + "operationId": "TeamsMembershipsController_getTeamMemberships", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "emails", + "required": false, + "type": "array", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/memberships", + }, + { + "method": "POST", + "operationId": "TeamsMembershipsController_createTeamMembership", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/memberships", + }, + { + "method": "DELETE", + "operationId": "TeamsMembershipsController_deleteTeamMembership", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "membershipId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/memberships/{membershipId}", + }, + { + "method": "GET", + "operationId": "TeamsMembershipsController_getTeamMembership", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "membershipId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/memberships/{membershipId}", + }, + { + "method": "PATCH", + "operationId": "TeamsMembershipsController_updateTeamMembership", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "membershipId", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/memberships/{membershipId}", + }, + { + "method": "GET", + "operationId": "TeamsSchedulesController_getTeamSchedules", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/schedules", + }, + { + "method": "GET", + "operationId": "TeamsVerifiedResourcesController_getVerifiedEmails", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/verified-resources/emails", + }, + { + "method": "GET", + "operationId": "TeamsVerifiedResourcesController_getVerifiedEmailById", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "id", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/verified-resources/emails/{id}", + }, + { + "method": "POST", + "operationId": "TeamsVerifiedResourcesController_requestEmailVerificationCode", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/verified-resources/emails/verification-code/request", + }, + { + "method": "POST", + "operationId": "TeamsVerifiedResourcesController_verifyEmail", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/verified-resources/emails/verification-code/verify", + }, + { + "method": "GET", + "operationId": "TeamsVerifiedResourcesController_getVerifiedPhoneNumbers", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/verified-resources/phones", + }, + { + "method": "GET", + "operationId": "TeamsVerifiedResourcesController_getVerifiedPhoneById", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "id", + "required": true, + "type": "number", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/verified-resources/phones/{id}", + }, + { + "method": "POST", + "operationId": "TeamsVerifiedResourcesController_requestPhoneVerificationCode", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/verified-resources/phones/verification-code/request", + }, + { + "method": "POST", + "operationId": "TeamsVerifiedResourcesController_verifyPhoneNumber", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "teamId", + "required": true, + "type": "number", + }, + ], + "path": "/v2/teams/{teamId}/verified-resources/phones/verification-code/verify", + }, + { + "method": "GET", + "operationId": "UserVerifiedResourcesController_getVerifiedEmails", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/verified-resources/emails", + }, + { + "method": "GET", + "operationId": "UserVerifiedResourcesController_getVerifiedEmailById", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "id", + "required": true, + "type": "number", + }, + ], + "path": "/v2/verified-resources/emails/{id}", + }, + { + "method": "POST", + "operationId": "UserVerifiedResourcesController_requestEmailVerificationCode", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/verified-resources/emails/verification-code/request", + }, + { + "method": "POST", + "operationId": "UserVerifiedResourcesController_verifyEmail", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/verified-resources/emails/verification-code/verify", + }, + { + "method": "GET", + "operationId": "UserVerifiedResourcesController_getVerifiedPhoneNumbers", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/verified-resources/phones", + }, + { + "method": "GET", + "operationId": "UserVerifiedResourcesController_getVerifiedPhoneById", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "id", + "required": true, + "type": "number", + }, + ], + "path": "/v2/verified-resources/phones/{id}", + }, + { + "method": "POST", + "operationId": "UserVerifiedResourcesController_requestPhoneVerificationCode", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/verified-resources/phones/verification-code/request", + }, + { + "method": "POST", + "operationId": "UserVerifiedResourcesController_verifyPhoneNumber", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/verified-resources/phones/verification-code/verify", + }, + { + "method": "GET", + "operationId": "WebhooksController_getWebhooks", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "query", + "name": "skip", + "required": false, + "type": "number", + }, + { + "in": "query", + "name": "take", + "required": false, + "type": "number", + }, + ], + "path": "/v2/webhooks", + }, + { + "method": "POST", + "operationId": "WebhooksController_createWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + ], + "path": "/v2/webhooks", + }, + { + "method": "DELETE", + "operationId": "WebhooksController_deleteWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/webhooks/{webhookId}", + }, + { + "method": "GET", + "operationId": "WebhooksController_getWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/webhooks/{webhookId}", + }, + { + "method": "PATCH", + "operationId": "WebhooksController_updateWebhook", + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "type": "string", + }, + { + "in": "path", + "name": "webhookId", + "required": true, + "type": "string", + }, + ], + "path": "/v2/webhooks/{webhookId}", + }, +] +`; + +exports[`OpenAPI Endpoint Parameter Contracts > should match the request body schema snapshot 1`] = ` +[ + { + "method": "POST", + "operationId": "ApiKeysController_refresh", + "path": "/v2/api-keys/refresh", + "requestBody": { + "properties": { + "apiKeyDaysValid": "number", + "apiKeyNeverExpires": "boolean", + }, + }, + }, + { + "method": "POST", + "operationId": "OAuth2Controller_token", + "path": "/v2/auth/oauth2/token", + "requestBody": { + "oneOf": [ + "OAuth2ExchangeConfidentialInput", + "OAuth2ExchangePublicInput", + "OAuth2RefreshConfidentialInput", + "OAuth2RefreshPublicInput", + ], + }, + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_createBooking", + "path": "/v2/bookings", + "requestBody": { + "oneOf": [ + "CreateBookingInput_2024_08_13", + "CreateInstantBookingInput_2024_08_13", + "CreateRecurringBookingInput_2024_08_13", + ], + }, + }, + { + "method": "POST", + "operationId": "BookingAttendeesController_2024_08_13_addAttendee", + "path": "/v2/bookings/{bookingUid}/attendees", + "requestBody": { + "properties": { + "email": "string", + "language": "enum(ar|ca|de|es|eu|he|id|ja|lv|pl|ro|sr|th|vi|az|cs|el|es-419|fi|hr|it|km|nl|pt|ru|sv|tr|zh-CN|bg|da|en|et|fr|hu|iw|ko|no|pt-BR|sk|ta|uk|zh-TW|bn)", + "name": "string", + "phoneNumber": "string", + "timeZone": "string", + }, + "required": [ + "email", + "name", + "timeZone", + ], + }, + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_cancelBooking", + "path": "/v2/bookings/{bookingUid}/cancel", + "requestBody": { + "oneOf": [ + "CancelBookingInput_2024_08_13", + "CancelSeatedBookingInput_2024_08_13", + ], + }, + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_declineBooking", + "path": "/v2/bookings/{bookingUid}/decline", + "requestBody": { + "properties": { + "reason": "string", + }, + }, + }, + { + "method": "POST", + "operationId": "BookingGuestsController_2024_08_13_addGuests", + "path": "/v2/bookings/{bookingUid}/guests", + "requestBody": { + "properties": { + "guests": "array", + }, + "required": [ + "guests", + ], + }, + }, + { + "method": "PATCH", + "operationId": "BookingLocationController_2024_08_13_updateBookingLocation", + "path": "/v2/bookings/{bookingUid}/location", + "requestBody": { + "properties": { + "location": "unknown", + }, + }, + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_markNoShow", + "path": "/v2/bookings/{bookingUid}/mark-absent", + "requestBody": { + "properties": { + "attendees": "array", + "host": "boolean", + }, + }, + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_reassignBookingToUser", + "path": "/v2/bookings/{bookingUid}/reassign/{userId}", + "requestBody": { + "properties": { + "reason": "string", + }, + }, + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_rescheduleBooking", + "path": "/v2/bookings/{bookingUid}/reschedule", + "requestBody": { + "oneOf": [ + "RescheduleBookingInput_2024_08_13", + "RescheduleSeatedBookingInput_2024_08_13", + ], + }, + }, + { + "method": "POST", + "operationId": "CalendarsController_syncCredentials", + "path": "/v2/calendars/{calendar}/credentials", + "requestBody": { + "properties": { + "password": "string", + "username": "string", + }, + "required": [ + "password", + "username", + ], + }, + }, + { + "method": "POST", + "operationId": "CalendarsController_deleteCalendarCredentials", + "path": "/v2/calendars/{calendar}/disconnect", + "requestBody": { + "properties": { + "id": "integer", + }, + "required": [ + "id", + ], + }, + }, + { + "method": "PATCH", + "operationId": "CalUnifiedCalendarsController_updateCalendarEvent", + "path": "/v2/calendars/{calendar}/events/{eventUid}", + "requestBody": { + "properties": { + "attendees": "array", + "description": "string", + "end": "object", + "start": "object", + "status": "CalendarEventStatus", + "title": "string", + }, + }, + }, + { + "method": "POST", + "operationId": "CalendarsController_createIcsFeed", + "path": "/v2/calendars/ics-feed/save", + "requestBody": { + "properties": { + "readOnly": "boolean", + "urls": "array", + }, + "required": [ + "urls", + ], + }, + }, + { + "method": "PUT", + "operationId": "DestinationCalendarsController_updateDestinationCalendars", + "path": "/v2/destination-calendars", + "requestBody": { + "properties": { + "delegationCredentialId": "string", + "externalId": "string", + "integration": "enum(apple_calendar|google_calendar|office365_calendar)", + }, + "required": [ + "externalId", + "integration", + ], + }, + }, + { + "method": "POST", + "operationId": "EventTypesController_2024_06_14_createEventType", + "path": "/v2/event-types", + "requestBody": { + "properties": { + "afterEventBuffer": "number", + "allowReschedulingCancelledBookings": "boolean", + "allowReschedulingPastBookings": "boolean", + "beforeEventBuffer": "number", + "bookerActiveBookingsLimit": "unknown", + "bookerLayouts": "unknown", + "bookingFields": "array", + "bookingLimitsCount": "unknown", + "bookingLimitsDuration": "unknown", + "bookingRequiresAuthentication": "boolean", + "bookingWindow": "unknown", + "calVideoSettings": "unknown", + "color": "EventTypeColor_2024_06_14", + "confirmationPolicy": "unknown", + "customName": "string", + "description": "string", + "destinationCalendar": "DestinationCalendar_2024_06_14", + "disableCancelling": "unknown", + "disableGuests": "boolean", + "disableRescheduling": "unknown", + "hidden": "boolean", + "hideCalendarEventDetails": "boolean", + "hideCalendarNotes": "boolean", + "hideOrganizerEmail": "boolean", + "interfaceLanguage": "enum(|en|ar|az|bg|bn|ca|cs|da|de|el|es|es-419|eu|et|fi|fr|he|hu|it|ja|km|ko|nl|no|pl|pt-BR|pt|ro|ru|sk-SK|sr|sv|tr|uk|vi|zh-CN|zh-TW)", + "lengthInMinutes": "number", + "lengthInMinutesOptions": "array", + "locations": "array", + "lockTimeZoneToggleOnBookingPage": "boolean", + "minimumBookingNotice": "number", + "offsetStart": "number", + "onlyShowFirstAvailableSlot": "boolean", + "recurrence": "unknown", + "requiresBookerEmailVerification": "boolean", + "scheduleId": "number", + "seats": "unknown", + "showOptimizedSlots": "boolean", + "slotInterval": "number", + "slug": "string", + "successRedirectUrl": "string", + "title": "string", + "useDestinationCalendarEmail": "boolean", + }, + "required": [ + "lengthInMinutes", + "slug", + "title", + ], + }, + }, + { + "method": "PATCH", + "operationId": "EventTypesController_2024_06_14_updateEventType", + "path": "/v2/event-types/{eventTypeId}", + "requestBody": { + "properties": { + "afterEventBuffer": "number", + "allowReschedulingCancelledBookings": "boolean", + "allowReschedulingPastBookings": "boolean", + "beforeEventBuffer": "number", + "bookerActiveBookingsLimit": "unknown", + "bookerLayouts": "unknown", + "bookingFields": "array", + "bookingLimitsCount": "unknown", + "bookingLimitsDuration": "unknown", + "bookingRequiresAuthentication": "boolean", + "bookingWindow": "unknown", + "calVideoSettings": "unknown", + "color": "EventTypeColor_2024_06_14", + "confirmationPolicy": "unknown", + "customName": "string", + "description": "string", + "destinationCalendar": "DestinationCalendar_2024_06_14", + "disableCancelling": "unknown", + "disableGuests": "boolean", + "disableRescheduling": "unknown", + "hidden": "boolean", + "hideCalendarEventDetails": "boolean", + "hideCalendarNotes": "boolean", + "hideOrganizerEmail": "boolean", + "interfaceLanguage": "enum(|en|ar|az|bg|bn|ca|cs|da|de|el|es|es-419|eu|et|fi|fr|he|hu|it|ja|km|ko|nl|no|pl|pt-BR|pt|ro|ru|sk-SK|sr|sv|tr|uk|vi|zh-CN|zh-TW)", + "lengthInMinutes": "number", + "lengthInMinutesOptions": "array", + "locations": "array", + "lockTimeZoneToggleOnBookingPage": "boolean", + "minimumBookingNotice": "number", + "offsetStart": "number", + "onlyShowFirstAvailableSlot": "boolean", + "recurrence": "unknown", + "requiresBookerEmailVerification": "boolean", + "scheduleId": "number", + "seats": "unknown", + "showOptimizedSlots": "boolean", + "slotInterval": "number", + "slug": "string", + "successRedirectUrl": "string", + "title": "string", + "useDestinationCalendarEmail": "boolean", + }, + }, + }, + { + "method": "POST", + "operationId": "EventTypesPrivateLinksController_createPrivateLink", + "path": "/v2/event-types/{eventTypeId}/private-links", + "requestBody": { + "properties": { + "expiresAt": "string", + "maxUsageCount": "number", + }, + }, + }, + { + "method": "PATCH", + "operationId": "EventTypesPrivateLinksController_updatePrivateLink", + "path": "/v2/event-types/{eventTypeId}/private-links/{linkId}", + "requestBody": { + "properties": { + "expiresAt": "string", + "maxUsageCount": "number", + }, + }, + }, + { + "method": "POST", + "operationId": "EventTypeWebhooksController_createEventTypeWebhook", + "path": "/v2/event-types/{eventTypeId}/webhooks", + "requestBody": { + "properties": { + "active": "boolean", + "payloadTemplate": "string", + "secret": "string", + "subscriberUrl": "string", + "triggers": "array", + "version": "enum(2021-10-20)", + }, + "required": [ + "active", + "subscriberUrl", + "triggers", + ], + }, + }, + { + "method": "PATCH", + "operationId": "EventTypeWebhooksController_updateEventTypeWebhook", + "path": "/v2/event-types/{eventTypeId}/webhooks/{webhookId}", + "requestBody": { + "properties": { + "active": "boolean", + "payloadTemplate": "string", + "secret": "string", + "subscriberUrl": "string", + "triggers": "array", + "version": "enum(2021-10-20)", + }, + }, + }, + { + "method": "PATCH", + "operationId": "MeController_updateMe", + "path": "/v2/me", + "requestBody": { + "properties": { + "avatarUrl": "string", + "bio": "string", + "defaultScheduleId": "number", + "email": "string", + "locale": "enum(ar|ca|de|es|eu|he|id|ja|lv|pl|ro|sr|th|vi|az|cs|el|es-419|fi|hr|it|km|nl|pt|ru|sv|tr|zh-CN|bg|da|en|et|fr|hu|iw|ko|no|pt-BR|sk|ta|uk|zh-TW|bn)", + "metadata": "object", + "name": "string", + "timeFormat": "enum(12|24)", + "timeZone": "string", + "weekStart": "enum(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday)", + }, + }, + }, + { + "method": "POST", + "operationId": "OAuthClientsController_createOAuthClient", + "path": "/v2/oauth-clients", + "requestBody": { + "properties": { + "areCalendarEventsEnabled": "boolean", + "areDefaultEventTypesEnabled": "boolean", + "areEmailsEnabled": "boolean", + "bookingCancelRedirectUri": "string", + "bookingRedirectUri": "string", + "bookingRescheduleRedirectUri": "string", + "logo": "string", + "name": "string", + "permissions": "array", + "redirectUris": "array", + }, + "required": [ + "name", + "permissions", + "redirectUris", + ], + }, + }, + { + "method": "PATCH", + "operationId": "OAuthClientsController_updateOAuthClient", + "path": "/v2/oauth-clients/{clientId}", + "requestBody": { + "properties": { + "areCalendarEventsEnabled": "boolean", + "areDefaultEventTypesEnabled": "boolean", + "areEmailsEnabled": "boolean", + "bookingCancelRedirectUri": "string", + "bookingRedirectUri": "string", + "bookingRescheduleRedirectUri": "string", + "logo": "string", + "name": "string", + "redirectUris": "array", + }, + }, + }, + { + "method": "POST", + "operationId": "OAuthClientUsersController_createUser", + "path": "/v2/oauth-clients/{clientId}/users", + "requestBody": { + "properties": { + "avatarUrl": "string", + "bio": "string", + "email": "string", + "locale": "enum(ar|ca|de|es|eu|he|id|ja|lv|pl|ro|sr|th|vi|az|cs|el|es-419|fi|hr|it|km|nl|pt|ru|sv|tr|zh-CN|bg|da|en|et|fr|hu|iw|ko|no|pt-BR|sk|ta|uk|zh-TW|bn)", + "metadata": "object", + "name": "string", + "timeFormat": "enum(12|24)", + "timeZone": "string", + "weekStart": "enum(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday)", + }, + "required": [ + "email", + "name", + ], + }, + }, + { + "method": "PATCH", + "operationId": "OAuthClientUsersController_updateUser", + "path": "/v2/oauth-clients/{clientId}/users/{userId}", + "requestBody": { + "properties": { + "avatarUrl": "string", + "bio": "string", + "defaultScheduleId": "number", + "email": "string", + "locale": "enum(ar|ca|de|es|eu|he|id|ja|lv|pl|ro|sr|th|vi|az|cs|el|es-419|fi|hr|it|km|nl|pt|ru|sv|tr|zh-CN|bg|da|en|et|fr|hu|iw|ko|no|pt-BR|sk|ta|uk|zh-TW|bn)", + "metadata": "object", + "name": "string", + "timeFormat": "enum(12|24)", + "timeZone": "string", + "weekStart": "enum(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday)", + }, + }, + }, + { + "method": "POST", + "operationId": "OAuthClientWebhooksController_createOAuthClientWebhook", + "path": "/v2/oauth-clients/{clientId}/webhooks", + "requestBody": { + "properties": { + "active": "boolean", + "payloadTemplate": "string", + "secret": "string", + "subscriberUrl": "string", + "triggers": "array", + "version": "enum(2021-10-20)", + }, + "required": [ + "active", + "subscriberUrl", + "triggers", + ], + }, + }, + { + "method": "PATCH", + "operationId": "OAuthClientWebhooksController_updateOAuthClientWebhook", + "path": "/v2/oauth-clients/{clientId}/webhooks/{webhookId}", + "requestBody": { + "properties": { + "active": "boolean", + "payloadTemplate": "string", + "secret": "string", + "subscriberUrl": "string", + "triggers": "array", + "version": "enum(2021-10-20)", + }, + }, + }, + { + "method": "POST", + "operationId": "OAuthFlowController_refreshTokens", + "path": "/v2/oauth/{clientId}/refresh", + "requestBody": { + "properties": { + "refreshToken": "string", + }, + "required": [ + "refreshToken", + ], + }, + }, + { + "method": "POST", + "operationId": "OrganizationsAttributesController_createOrganizationAttribute", + "path": "/v2/organizations/{orgId}/attributes", + "requestBody": { + "properties": { + "enabled": "boolean", + "name": "string", + "options": "array", + "slug": "string", + "type": "enum(TEXT|NUMBER|SINGLE_SELECT|MULTI_SELECT)", + }, + "required": [ + "name", + "options", + "slug", + "type", + ], + }, + }, + { + "method": "PATCH", + "operationId": "OrganizationsAttributesController_updateOrganizationAttribute", + "path": "/v2/organizations/{orgId}/attributes/{attributeId}", + "requestBody": { + "properties": { + "enabled": "boolean", + "name": "string", + "slug": "string", + "type": "enum(TEXT|NUMBER|SINGLE_SELECT|MULTI_SELECT)", + }, + }, + }, + { + "method": "POST", + "operationId": "OrganizationsAttributesOptionsController_createOrganizationAttributeOption", + "path": "/v2/organizations/{orgId}/attributes/{attributeId}/options", + "requestBody": { + "properties": { + "slug": "string", + "value": "string", + }, + "required": [ + "slug", + "value", + ], + }, + }, + { + "method": "PATCH", + "operationId": "OrganizationsAttributesOptionsController_updateOrganizationAttributeOption", + "path": "/v2/organizations/{orgId}/attributes/{attributeId}/options/{optionId}", + "requestBody": { + "properties": { + "slug": "string", + "value": "string", + }, + }, + }, + { + "method": "POST", + "operationId": "OrganizationsAttributesOptionsController_assignOrganizationAttributeOptionToUser", + "path": "/v2/organizations/{orgId}/attributes/options/{userId}", + "requestBody": { + "properties": { + "attributeId": "string", + "attributeOptionId": "string", + "value": "string", + }, + "required": [ + "attributeId", + ], + }, + }, + { + "method": "POST", + "operationId": "OrganizationsDelegationCredentialController_createDelegationCredential", + "path": "/v2/organizations/{orgId}/delegation-credentials", + "requestBody": { + "properties": { + "domain": "string", + "serviceAccountKey": "array", + "workspacePlatformSlug": "string", + }, + "required": [ + "domain", + "serviceAccountKey", + "workspacePlatformSlug", + ], + }, + }, + { + "method": "PATCH", + "operationId": "OrganizationsDelegationCredentialController_updateDelegationCredential", + "path": "/v2/organizations/{orgId}/delegation-credentials/{credentialId}", + "requestBody": { + "properties": { + "enabled": "boolean", + "serviceAccountKey": "array", + }, + }, + }, + { + "method": "POST", + "operationId": "OrganizationsMembershipsController_createMembership", + "path": "/v2/organizations/{orgId}/memberships", + "requestBody": { + "properties": { + "accepted": "boolean", + "disableImpersonation": "boolean", + "role": "enum(MEMBER|OWNER|ADMIN)", + "userId": "number", + }, + "required": [ + "role", + "userId", + ], + }, + }, + { + "method": "PATCH", + "operationId": "OrganizationsMembershipsController_updateMembership", + "path": "/v2/organizations/{orgId}/memberships/{membershipId}", + "requestBody": { + "properties": { + "accepted": "boolean", + "disableImpersonation": "boolean", + "role": "enum(MEMBER|OWNER|ADMIN)", + }, + }, + }, + { + "method": "POST", + "operationId": "OrganizationsOrganizationsController_createOrganization", + "path": "/v2/organizations/{orgId}/organizations", + "requestBody": { + "properties": { + "apiKeyDaysValid": "number", + "apiKeyNeverExpires": "boolean", + "metadata": "object", + "name": "string", + "slug": "string", + }, + "required": [ + "name", + ], + }, + }, + { + "method": "PATCH", + "operationId": "OrganizationsOrganizationsController_updateOrganization", + "path": "/v2/organizations/{orgId}/organizations/{managedOrganizationId}", + "requestBody": { + "properties": { + "metadata": "object", + "name": "string", + }, + }, + }, + { + "method": "POST", + "operationId": "OrganizationsRolesController_createRole", + "path": "/v2/organizations/{orgId}/roles", + "requestBody": { + "properties": { + "color": "string", + "description": "string", + "name": "string", + "permissions": "array", + }, + "required": [ + "name", + ], + }, + }, + { + "method": "PATCH", + "operationId": "OrganizationsRolesController_updateRole", + "path": "/v2/organizations/{orgId}/roles/{roleId}", + "requestBody": { + "properties": { + "color": "string", + "description": "string", + "name": "string", + "permissions": "array", + }, + }, + }, + { + "method": "POST", + "operationId": "OrganizationsRolesPermissionsController_addPermissions", + "path": "/v2/organizations/{orgId}/roles/{roleId}/permissions", + "requestBody": { + "properties": { + "permissions": "array", + }, + "required": [ + "permissions", + ], + }, + }, + { + "method": "PUT", + "operationId": "OrganizationsRolesPermissionsController_setPermissions", + "path": "/v2/organizations/{orgId}/roles/{roleId}/permissions", + "requestBody": { + "properties": { + "permissions": "array", + }, + "required": [ + "permissions", + ], + }, + }, + { + "method": "PATCH", + "operationId": "OrganizationsRoutingFormsResponsesController_updateRoutingFormResponse", + "path": "/v2/organizations/{orgId}/routing-forms/{routingFormId}/responses/{responseId}", + "requestBody": { + "properties": { + "response": "object", + }, + }, + }, + { + "method": "POST", + "operationId": "OrganizationsTeamsController_createTeam", + "path": "/v2/organizations/{orgId}/teams", + "requestBody": { + "properties": { + "appIconLogo": "string", + "appLogo": "string", + "autoAcceptCreator": "boolean", + "bannerUrl": "string", + "bio": "string", + "brandColor": "string", + "calVideoLogo": "string", + "darkBrandColor": "string", + "hideBookATeamMember": "boolean", + "hideBranding": "boolean", + "isPrivate": "boolean", + "logoUrl": "string", + "metadata": "object", + "name": "string", + "slug": "string", + "theme": "string", + "timeFormat": "number", + "timeZone": "string", + "weekStart": "string", + }, + "required": [ + "name", + ], + }, + }, + { + "method": "PATCH", + "operationId": "OrganizationsTeamsController_updateTeam", + "path": "/v2/organizations/{orgId}/teams/{teamId}", + "requestBody": { + "properties": { + "appIconLogo": "string", + "appLogo": "string", + "bannerUrl": "string", + "bio": "string", + "bookingLimits": "string", + "brandColor": "string", + "calVideoLogo": "string", + "darkBrandColor": "string", + "hideBookATeamMember": "boolean", + "hideBranding": "boolean", + "includeManagedEventsInLimits": "boolean", + "isPrivate": "boolean", + "logoUrl": "string", + "metadata": "object", + "name": "string", + "slug": "string", + "theme": "string", + "timeFormat": "number", + "timeZone": "string", + "weekStart": "string", + }, + }, + }, + { + "method": "POST", + "operationId": "OrganizationsEventTypesController_createTeamEventType", + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types", + "requestBody": { + "properties": { + "afterEventBuffer": "number", + "allowReschedulingCancelledBookings": "boolean", + "allowReschedulingPastBookings": "boolean", + "assignAllTeamMembers": "boolean", + "beforeEventBuffer": "number", + "bookerActiveBookingsLimit": "unknown", + "bookerLayouts": "unknown", + "bookingFields": "array", + "bookingLimitsCount": "unknown", + "bookingLimitsDuration": "unknown", + "bookingRequiresAuthentication": "boolean", + "bookingWindow": "unknown", + "calVideoSettings": "unknown", + "color": "EventTypeColor_2024_06_14", + "confirmationPolicy": "unknown", + "customName": "string", + "description": "string", + "destinationCalendar": "DestinationCalendar_2024_06_14", + "disableCancelling": "unknown", + "disableGuests": "boolean", + "disableRescheduling": "unknown", + "emailSettings": "unknown", + "hidden": "boolean", + "hideCalendarEventDetails": "boolean", + "hideCalendarNotes": "boolean", + "hideOrganizerEmail": "boolean", + "hosts": "array", + "interfaceLanguage": "enum(|en|ar|az|bg|bn|ca|cs|da|de|el|es|es-419|eu|et|fi|fr|he|hu|it|ja|km|ko|nl|no|pl|pt-BR|pt|ro|ru|sk-SK|sr|sv|tr|uk|vi|zh-CN|zh-TW)", + "lengthInMinutes": "number", + "lengthInMinutesOptions": "array", + "locations": "array", + "lockTimeZoneToggleOnBookingPage": "boolean", + "minimumBookingNotice": "number", + "offsetStart": "number", + "onlyShowFirstAvailableSlot": "boolean", + "recurrence": "unknown", + "requiresBookerEmailVerification": "boolean", + "rescheduleWithSameRoundRobinHost": "boolean", + "scheduleId": "number", + "schedulingType": "enum(collective|roundRobin|managed)", + "seats": "unknown", + "showOptimizedSlots": "boolean", + "slotInterval": "number", + "slug": "string", + "successRedirectUrl": "string", + "title": "string", + "useDestinationCalendarEmail": "boolean", + }, + "required": [ + "lengthInMinutes", + "schedulingType", + "slug", + "title", + ], + }, + }, + { + "method": "PATCH", + "operationId": "OrganizationsEventTypesController_updateTeamEventType", + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}", + "requestBody": { + "properties": { + "afterEventBuffer": "number", + "allowReschedulingCancelledBookings": "boolean", + "allowReschedulingPastBookings": "boolean", + "assignAllTeamMembers": "boolean", + "beforeEventBuffer": "number", + "bookerActiveBookingsLimit": "unknown", + "bookerLayouts": "unknown", + "bookingFields": "array", + "bookingLimitsCount": "unknown", + "bookingLimitsDuration": "unknown", + "bookingRequiresAuthentication": "boolean", + "bookingWindow": "unknown", + "calVideoSettings": "unknown", + "color": "EventTypeColor_2024_06_14", + "confirmationPolicy": "unknown", + "customName": "string", + "description": "string", + "destinationCalendar": "DestinationCalendar_2024_06_14", + "disableCancelling": "unknown", + "disableGuests": "boolean", + "disableRescheduling": "unknown", + "emailSettings": "unknown", + "hidden": "boolean", + "hideCalendarEventDetails": "boolean", + "hideCalendarNotes": "boolean", + "hideOrganizerEmail": "boolean", + "hosts": "array", + "interfaceLanguage": "enum(|en|ar|az|bg|bn|ca|cs|da|de|el|es|es-419|eu|et|fi|fr|he|hu|it|ja|km|ko|nl|no|pl|pt-BR|pt|ro|ru|sk-SK|sr|sv|tr|uk|vi|zh-CN|zh-TW)", + "lengthInMinutes": "number", + "lengthInMinutesOptions": "array", + "locations": "array", + "lockTimeZoneToggleOnBookingPage": "boolean", + "minimumBookingNotice": "number", + "offsetStart": "number", + "onlyShowFirstAvailableSlot": "boolean", + "recurrence": "unknown", + "requiresBookerEmailVerification": "boolean", + "rescheduleWithSameRoundRobinHost": "boolean", + "scheduleId": "number", + "schedulingType": "enum(collective|roundRobin)", + "seats": "unknown", + "showOptimizedSlots": "boolean", + "slotInterval": "number", + "slug": "string", + "successRedirectUrl": "string", + "title": "string", + "useDestinationCalendarEmail": "boolean", + }, + }, + }, + { + "method": "POST", + "operationId": "OrganizationsEventTypesController_createPhoneCall", + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}/create-phone-call", + "requestBody": { + "properties": { + "beginMessage": "string", + "calApiKey": "string", + "enabled": "object", + "generalPrompt": "string", + "guestCompany": "string", + "guestEmail": "string", + "guestName": "string", + "numberToCall": "string", + "schedulerName": "string", + "templateType": "enum(CHECK_IN_APPOINTMENT|CUSTOM_TEMPLATE)", + "yourPhoneNumber": "string", + }, + "required": [ + "calApiKey", + "enabled", + "numberToCall", + "templateType", + "yourPhoneNumber", + ], + }, + }, + { + "method": "POST", + "operationId": "OrganizationsEventTypesPrivateLinksController_createPrivateLink", + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}/private-links", + "requestBody": { + "properties": { + "expiresAt": "string", + "maxUsageCount": "number", + }, + }, + }, + { + "method": "POST", + "operationId": "OrganizationsTeamsMembershipsController_createOrgTeamMembership", + "path": "/v2/organizations/{orgId}/teams/{teamId}/memberships", + "requestBody": { + "properties": { + "accepted": "boolean", + "disableImpersonation": "boolean", + "role": "enum(MEMBER|OWNER|ADMIN)", + "userId": "number", + }, + "required": [ + "role", + "userId", + ], + }, + }, + { + "method": "PATCH", + "operationId": "OrganizationsTeamsMembershipsController_updateOrgTeamMembership", + "path": "/v2/organizations/{orgId}/teams/{teamId}/memberships/{membershipId}", + "requestBody": { + "properties": { + "accepted": "boolean", + "disableImpersonation": "boolean", + "role": "enum(MEMBER|OWNER|ADMIN)", + }, + }, + }, + { + "method": "POST", + "operationId": "OrganizationsTeamsRolesController_createRole", + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles", + "requestBody": { + "properties": { + "color": "string", + "description": "string", + "name": "string", + "permissions": "array", + }, + "required": [ + "name", + ], + }, + }, + { + "method": "PATCH", + "operationId": "OrganizationsTeamsRolesController_updateRole", + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}", + "requestBody": { + "properties": { + "color": "string", + "description": "string", + "name": "string", + "permissions": "array", + }, + }, + }, + { + "method": "POST", + "operationId": "OrganizationsTeamsRolesPermissionsController_addPermissions", + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions", + "requestBody": { + "properties": { + "permissions": "array", + }, + "required": [ + "permissions", + ], + }, + }, + { + "method": "PUT", + "operationId": "OrganizationsTeamsRolesPermissionsController_setPermissions", + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions", + "requestBody": { + "properties": { + "permissions": "array", + }, + "required": [ + "permissions", + ], + }, + }, + { + "method": "PATCH", + "operationId": "OrganizationsTeamsRoutingFormsResponsesController_updateRoutingFormResponse", + "path": "/v2/organizations/{orgId}/teams/{teamId}/routing-forms/{routingFormId}/responses/{responseId}", + "requestBody": { + "properties": { + "response": "object", + }, + }, + }, + { + "method": "POST", + "operationId": "OrgTeamsVerifiedResourcesController_requestEmailVerificationCode", + "path": "/v2/organizations/{orgId}/teams/{teamId}/verified-resources/emails/verification-code/request", + "requestBody": { + "properties": { + "email": "string", + }, + "required": [ + "email", + ], + }, + }, + { + "method": "POST", + "operationId": "OrgTeamsVerifiedResourcesController_verifyEmail", + "path": "/v2/organizations/{orgId}/teams/{teamId}/verified-resources/emails/verification-code/verify", + "requestBody": { + "properties": { + "code": "string", + "email": "string", + }, + "required": [ + "code", + "email", + ], + }, + }, + { + "method": "POST", + "operationId": "OrgTeamsVerifiedResourcesController_requestPhoneVerificationCode", + "path": "/v2/organizations/{orgId}/teams/{teamId}/verified-resources/phones/verification-code/request", + "requestBody": { + "properties": { + "phone": "string", + }, + "required": [ + "phone", + ], + }, + }, + { + "method": "POST", + "operationId": "OrgTeamsVerifiedResourcesController_verifyPhoneNumber", + "path": "/v2/organizations/{orgId}/teams/{teamId}/verified-resources/phones/verification-code/verify", + "requestBody": { + "properties": { + "code": "string", + "phone": "string", + }, + "required": [ + "code", + "phone", + ], + }, + }, + { + "method": "POST", + "operationId": "OrganizationTeamWorkflowsController_createEventTypeWorkflow", + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows", + "requestBody": { + "properties": { + "activation": "unknown", + "name": "string", + "steps": "array", + "trigger": "unknown", + }, + "required": [ + "activation", + "name", + "steps", + "trigger", + ], + }, + }, + { + "method": "PATCH", + "operationId": "OrganizationTeamWorkflowsController_updateWorkflow", + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows/{workflowId}", + "requestBody": { + "properties": { + "activation": "unknown", + "name": "string", + "steps": "array", + "trigger": "unknown", + }, + }, + }, + { + "method": "PATCH", + "operationId": "OrganizationTeamWorkflowsController_updateRoutingFormWorkflow", + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows/{workflowId}/routing-form", + "requestBody": { + "properties": { + "activation": "WorkflowFormActivationDto", + "name": "string", + "steps": "array", + "trigger": "unknown", + }, + }, + }, + { + "method": "POST", + "operationId": "OrganizationTeamWorkflowsController_createFormWorkflow", + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows/routing-form", + "requestBody": { + "properties": { + "activation": "unknown", + "name": "string", + "steps": "array", + "trigger": "unknown", + }, + "required": [ + "activation", + "name", + "steps", + "trigger", + ], + }, + }, + { + "method": "POST", + "operationId": "OrganizationsUsersController_createOrganizationUser", + "path": "/v2/organizations/{orgId}/users", + "requestBody": { + "properties": { + "appTheme": "string", + "autoAccept": "boolean", + "avatarUrl": "string", + "bio": "string", + "brandColor": "string", + "darkBrandColor": "string", + "defaultScheduleId": "number", + "email": "string", + "hideBranding": "boolean", + "locale": "string", + "metadata": "object", + "organizationRole": "enum(MEMBER|ADMIN|OWNER)", + "theme": "string", + "timeFormat": "number", + "timeZone": "string", + "username": "string", + "weekday": "string", + }, + "required": [ + "email", + ], + }, + }, + { + "method": "PATCH", + "operationId": "OrganizationsUsersController_updateOrganizationUser", + "path": "/v2/organizations/{orgId}/users/{userId}", + "requestBody": { + "properties": {}, + }, + }, + { + "method": "POST", + "operationId": "OrganizationsUsersOOOController_createOrganizationUserOOO", + "path": "/v2/organizations/{orgId}/users/{userId}/ooo", + "requestBody": { + "properties": { + "end": "string", + "notes": "string", + "reason": "enum(unspecified|vacation|travel|sick|public_holiday)", + "start": "string", + "toUserId": "number", + }, + "required": [ + "end", + "start", + ], + }, + }, + { + "method": "PATCH", + "operationId": "OrganizationsUsersOOOController_updateOrganizationUserOOO", + "path": "/v2/organizations/{orgId}/users/{userId}/ooo/{oooId}", + "requestBody": { + "properties": { + "end": "string", + "notes": "string", + "reason": "enum(unspecified|vacation|travel|sick|public_holiday)", + "start": "string", + "toUserId": "number", + }, + }, + }, + { + "method": "POST", + "operationId": "OrganizationsSchedulesController_createUserSchedule", + "path": "/v2/organizations/{orgId}/users/{userId}/schedules", + "requestBody": { + "properties": { + "availability": "array", + "isDefault": "boolean", + "name": "string", + "overrides": "array", + "timeZone": "string", + }, + "required": [ + "isDefault", + "name", + "timeZone", + ], + }, + }, + { + "method": "PATCH", + "operationId": "OrganizationsSchedulesController_updateUserSchedule", + "path": "/v2/organizations/{orgId}/users/{userId}/schedules/{scheduleId}", + "requestBody": { + "properties": { + "availability": "array", + "isDefault": "boolean", + "name": "string", + "overrides": "array", + "timeZone": "string", + }, + }, + }, + { + "method": "POST", + "operationId": "OrganizationsWebhooksController_createOrganizationWebhook", + "path": "/v2/organizations/{orgId}/webhooks", + "requestBody": { + "properties": { + "active": "boolean", + "payloadTemplate": "string", + "secret": "string", + "subscriberUrl": "string", + "triggers": "array", + "version": "enum(2021-10-20)", + }, + "required": [ + "active", + "subscriberUrl", + "triggers", + ], + }, + }, + { + "method": "PATCH", + "operationId": "OrganizationsWebhooksController_updateOrgWebhook", + "path": "/v2/organizations/{orgId}/webhooks/{webhookId}", + "requestBody": { + "properties": { + "active": "boolean", + "payloadTemplate": "string", + "secret": "string", + "subscriberUrl": "string", + "triggers": "array", + "version": "enum(2021-10-20)", + }, + }, + }, + { + "method": "POST", + "operationId": "SchedulesController_2024_06_11_createSchedule", + "path": "/v2/schedules", + "requestBody": { + "properties": { + "availability": "array", + "isDefault": "boolean", + "name": "string", + "overrides": "array", + "timeZone": "string", + }, + "required": [ + "isDefault", + "name", + "timeZone", + ], + }, + }, + { + "method": "PATCH", + "operationId": "SchedulesController_2024_06_11_updateSchedule", + "path": "/v2/schedules/{scheduleId}", + "requestBody": { + "properties": { + "availability": "array", + "isDefault": "boolean", + "name": "string", + "overrides": "array", + "timeZone": "string", + }, + }, + }, + { + "method": "POST", + "operationId": "SelectedCalendarsController_addSelectedCalendar", + "path": "/v2/selected-calendars", + "requestBody": { + "properties": { + "credentialId": "number", + "delegationCredentialId": "string", + "externalId": "string", + "integration": "string", + }, + "required": [ + "credentialId", + "externalId", + "integration", + ], + }, + }, + { + "method": "POST", + "operationId": "SlotsController_2024_09_04_reserveSlot", + "path": "/v2/slots/reservations", + "requestBody": { + "properties": { + "eventTypeId": "number", + "reservationDuration": "number", + "slotDuration": "number", + "slotStart": "string", + }, + "required": [ + "eventTypeId", + "slotStart", + ], + }, + }, + { + "method": "PATCH", + "operationId": "SlotsController_2024_09_04_updateReservedSlot", + "path": "/v2/slots/reservations/{uid}", + "requestBody": { + "properties": { + "eventTypeId": "number", + "reservationDuration": "number", + "slotDuration": "number", + "slotStart": "string", + }, + "required": [ + "eventTypeId", + "slotStart", + ], + }, + }, + { + "method": "POST", + "operationId": "TeamsController_createTeam", + "path": "/v2/teams", + "requestBody": { + "properties": { + "appIconLogo": "string", + "appLogo": "string", + "autoAcceptCreator": "boolean", + "bannerUrl": "string", + "bio": "string", + "brandColor": "string", + "calVideoLogo": "string", + "darkBrandColor": "string", + "hideBookATeamMember": "boolean", + "hideBranding": "boolean", + "isPrivate": "boolean", + "logoUrl": "string", + "metadata": "object", + "name": "string", + "slug": "string", + "theme": "string", + "timeFormat": "number", + "timeZone": "string", + "weekStart": "string", + }, + "required": [ + "name", + ], + }, + }, + { + "method": "PATCH", + "operationId": "TeamsController_updateTeam", + "path": "/v2/teams/{teamId}", + "requestBody": { + "properties": { + "appIconLogo": "string", + "appLogo": "string", + "bannerUrl": "string", + "bio": "string", + "bookingLimits": "string", + "brandColor": "string", + "calVideoLogo": "string", + "darkBrandColor": "string", + "hideBookATeamMember": "boolean", + "hideBranding": "boolean", + "includeManagedEventsInLimits": "boolean", + "isPrivate": "boolean", + "logoUrl": "string", + "metadata": "object", + "name": "string", + "slug": "string", + "theme": "string", + "timeFormat": "number", + "timeZone": "string", + "weekStart": "string", + }, + }, + }, + { + "method": "POST", + "operationId": "TeamsEventTypesController_createTeamEventType", + "path": "/v2/teams/{teamId}/event-types", + "requestBody": { + "properties": { + "afterEventBuffer": "number", + "allowReschedulingCancelledBookings": "boolean", + "allowReschedulingPastBookings": "boolean", + "assignAllTeamMembers": "boolean", + "beforeEventBuffer": "number", + "bookerActiveBookingsLimit": "unknown", + "bookerLayouts": "unknown", + "bookingFields": "array", + "bookingLimitsCount": "unknown", + "bookingLimitsDuration": "unknown", + "bookingRequiresAuthentication": "boolean", + "bookingWindow": "unknown", + "calVideoSettings": "unknown", + "color": "EventTypeColor_2024_06_14", + "confirmationPolicy": "unknown", + "customName": "string", + "description": "string", + "destinationCalendar": "DestinationCalendar_2024_06_14", + "disableCancelling": "unknown", + "disableGuests": "boolean", + "disableRescheduling": "unknown", + "emailSettings": "unknown", + "hidden": "boolean", + "hideCalendarEventDetails": "boolean", + "hideCalendarNotes": "boolean", + "hideOrganizerEmail": "boolean", + "hosts": "array", + "interfaceLanguage": "enum(|en|ar|az|bg|bn|ca|cs|da|de|el|es|es-419|eu|et|fi|fr|he|hu|it|ja|km|ko|nl|no|pl|pt-BR|pt|ro|ru|sk-SK|sr|sv|tr|uk|vi|zh-CN|zh-TW)", + "lengthInMinutes": "number", + "lengthInMinutesOptions": "array", + "locations": "array", + "lockTimeZoneToggleOnBookingPage": "boolean", + "minimumBookingNotice": "number", + "offsetStart": "number", + "onlyShowFirstAvailableSlot": "boolean", + "recurrence": "unknown", + "requiresBookerEmailVerification": "boolean", + "rescheduleWithSameRoundRobinHost": "boolean", + "scheduleId": "number", + "schedulingType": "enum(collective|roundRobin|managed)", + "seats": "unknown", + "showOptimizedSlots": "boolean", + "slotInterval": "number", + "slug": "string", + "successRedirectUrl": "string", + "title": "string", + "useDestinationCalendarEmail": "boolean", + }, + "required": [ + "lengthInMinutes", + "schedulingType", + "slug", + "title", + ], + }, + }, + { + "method": "PATCH", + "operationId": "TeamsEventTypesController_updateTeamEventType", + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}", + "requestBody": { + "properties": { + "afterEventBuffer": "number", + "allowReschedulingCancelledBookings": "boolean", + "allowReschedulingPastBookings": "boolean", + "assignAllTeamMembers": "boolean", + "beforeEventBuffer": "number", + "bookerActiveBookingsLimit": "unknown", + "bookerLayouts": "unknown", + "bookingFields": "array", + "bookingLimitsCount": "unknown", + "bookingLimitsDuration": "unknown", + "bookingRequiresAuthentication": "boolean", + "bookingWindow": "unknown", + "calVideoSettings": "unknown", + "color": "EventTypeColor_2024_06_14", + "confirmationPolicy": "unknown", + "customName": "string", + "description": "string", + "destinationCalendar": "DestinationCalendar_2024_06_14", + "disableCancelling": "unknown", + "disableGuests": "boolean", + "disableRescheduling": "unknown", + "emailSettings": "unknown", + "hidden": "boolean", + "hideCalendarEventDetails": "boolean", + "hideCalendarNotes": "boolean", + "hideOrganizerEmail": "boolean", + "hosts": "array", + "interfaceLanguage": "enum(|en|ar|az|bg|bn|ca|cs|da|de|el|es|es-419|eu|et|fi|fr|he|hu|it|ja|km|ko|nl|no|pl|pt-BR|pt|ro|ru|sk-SK|sr|sv|tr|uk|vi|zh-CN|zh-TW)", + "lengthInMinutes": "number", + "lengthInMinutesOptions": "array", + "locations": "array", + "lockTimeZoneToggleOnBookingPage": "boolean", + "minimumBookingNotice": "number", + "offsetStart": "number", + "onlyShowFirstAvailableSlot": "boolean", + "recurrence": "unknown", + "requiresBookerEmailVerification": "boolean", + "rescheduleWithSameRoundRobinHost": "boolean", + "scheduleId": "number", + "schedulingType": "enum(collective|roundRobin)", + "seats": "unknown", + "showOptimizedSlots": "boolean", + "slotInterval": "number", + "slug": "string", + "successRedirectUrl": "string", + "title": "string", + "useDestinationCalendarEmail": "boolean", + }, + }, + }, + { + "method": "POST", + "operationId": "TeamsEventTypesController_createPhoneCall", + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}/create-phone-call", + "requestBody": { + "properties": { + "beginMessage": "string", + "calApiKey": "string", + "enabled": "object", + "generalPrompt": "string", + "guestCompany": "string", + "guestEmail": "string", + "guestName": "string", + "numberToCall": "string", + "schedulerName": "string", + "templateType": "enum(CHECK_IN_APPOINTMENT|CUSTOM_TEMPLATE)", + "yourPhoneNumber": "string", + }, + "required": [ + "calApiKey", + "enabled", + "numberToCall", + "templateType", + "yourPhoneNumber", + ], + }, + }, + { + "method": "POST", + "operationId": "TeamsEventTypesWebhooksController_createTeamEventTypeWebhook", + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}/webhooks", + "requestBody": { + "properties": { + "active": "boolean", + "payloadTemplate": "string", + "secret": "string", + "subscriberUrl": "string", + "triggers": "array", + "version": "enum(2021-10-20)", + }, + "required": [ + "active", + "subscriberUrl", + "triggers", + ], + }, + }, + { + "method": "PATCH", + "operationId": "TeamsEventTypesWebhooksController_updateTeamEventTypeWebhook", + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId}", + "requestBody": { + "properties": { + "active": "boolean", + "payloadTemplate": "string", + "secret": "string", + "subscriberUrl": "string", + "triggers": "array", + "version": "enum(2021-10-20)", + }, + }, + }, + { + "method": "POST", + "operationId": "TeamsMembershipsController_createTeamMembership", + "path": "/v2/teams/{teamId}/memberships", + "requestBody": { + "properties": { + "accepted": "boolean", + "disableImpersonation": "boolean", + "role": "enum(MEMBER|OWNER|ADMIN)", + "userId": "number", + }, + "required": [ + "userId", + ], + }, + }, + { + "method": "PATCH", + "operationId": "TeamsMembershipsController_updateTeamMembership", + "path": "/v2/teams/{teamId}/memberships/{membershipId}", + "requestBody": { + "properties": { + "accepted": "boolean", + "disableImpersonation": "boolean", + "role": "enum(MEMBER|OWNER|ADMIN)", + }, + }, + }, + { + "method": "POST", + "operationId": "TeamsVerifiedResourcesController_requestEmailVerificationCode", + "path": "/v2/teams/{teamId}/verified-resources/emails/verification-code/request", + "requestBody": { + "properties": { + "email": "string", + }, + "required": [ + "email", + ], + }, + }, + { + "method": "POST", + "operationId": "TeamsVerifiedResourcesController_verifyEmail", + "path": "/v2/teams/{teamId}/verified-resources/emails/verification-code/verify", + "requestBody": { + "properties": { + "code": "string", + "email": "string", + }, + "required": [ + "code", + "email", + ], + }, + }, + { + "method": "POST", + "operationId": "TeamsVerifiedResourcesController_requestPhoneVerificationCode", + "path": "/v2/teams/{teamId}/verified-resources/phones/verification-code/request", + "requestBody": { + "properties": { + "phone": "string", + }, + "required": [ + "phone", + ], + }, + }, + { + "method": "POST", + "operationId": "TeamsVerifiedResourcesController_verifyPhoneNumber", + "path": "/v2/teams/{teamId}/verified-resources/phones/verification-code/verify", + "requestBody": { + "properties": { + "code": "string", + "phone": "string", + }, + "required": [ + "code", + "phone", + ], + }, + }, + { + "method": "POST", + "operationId": "UserVerifiedResourcesController_requestEmailVerificationCode", + "path": "/v2/verified-resources/emails/verification-code/request", + "requestBody": { + "properties": { + "email": "string", + }, + "required": [ + "email", + ], + }, + }, + { + "method": "POST", + "operationId": "UserVerifiedResourcesController_verifyEmail", + "path": "/v2/verified-resources/emails/verification-code/verify", + "requestBody": { + "properties": { + "code": "string", + "email": "string", + }, + "required": [ + "code", + "email", + ], + }, + }, + { + "method": "POST", + "operationId": "UserVerifiedResourcesController_requestPhoneVerificationCode", + "path": "/v2/verified-resources/phones/verification-code/request", + "requestBody": { + "properties": { + "phone": "string", + }, + "required": [ + "phone", + ], + }, + }, + { + "method": "POST", + "operationId": "UserVerifiedResourcesController_verifyPhoneNumber", + "path": "/v2/verified-resources/phones/verification-code/verify", + "requestBody": { + "properties": { + "code": "string", + "phone": "string", + }, + "required": [ + "code", + "phone", + ], + }, + }, + { + "method": "POST", + "operationId": "WebhooksController_createWebhook", + "path": "/v2/webhooks", + "requestBody": { + "properties": { + "active": "boolean", + "payloadTemplate": "string", + "secret": "string", + "subscriberUrl": "string", + "triggers": "array", + "version": "enum(2021-10-20)", + }, + "required": [ + "active", + "subscriberUrl", + "triggers", + ], + }, + }, + { + "method": "PATCH", + "operationId": "WebhooksController_updateWebhook", + "path": "/v2/webhooks/{webhookId}", + "requestBody": { + "properties": { + "active": "boolean", + "payloadTemplate": "string", + "secret": "string", + "subscriberUrl": "string", + "triggers": "array", + "version": "enum(2021-10-20)", + }, + }, + }, +] +`; + +exports[`OpenAPI Endpoint Parameter Contracts > should match the required parameters snapshot 1`] = ` +[ + { + "method": "POST", + "operationId": "ApiKeysController_refresh", + "path": "/v2/api-keys/refresh", + "requiredParams": [ + "Authorization", + ], + }, + { + "method": "GET", + "operationId": "OAuth2Controller_getClient", + "path": "/v2/auth/oauth2/clients/{clientId}", + "requiredParams": [ + "clientId", + ], + }, + { + "method": "POST", + "operationId": "OAuth2Controller_token", + "path": "/v2/auth/oauth2/token", + "requiredParams": [], + }, + { + "method": "GET", + "operationId": "BookingsController_2024_08_13_getBookings", + "path": "/v2/bookings", + "requiredParams": [ + "Authorization", + "cal-api-version", + ], + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_createBooking", + "path": "/v2/bookings", + "requiredParams": [ + "cal-api-version", + ], + }, + { + "method": "GET", + "operationId": "BookingsController_2024_08_13_getBooking", + "path": "/v2/bookings/{bookingUid}", + "requiredParams": [ + "cal-api-version", + "bookingUid", + ], + }, + { + "method": "GET", + "operationId": "BookingAttendeesController_2024_08_13_getBookingAttendees", + "path": "/v2/bookings/{bookingUid}/attendees", + "requiredParams": [ + "Authorization", + "cal-api-version", + "bookingUid", + ], + }, + { + "method": "POST", + "operationId": "BookingAttendeesController_2024_08_13_addAttendee", + "path": "/v2/bookings/{bookingUid}/attendees", + "requiredParams": [ + "Authorization", + "cal-api-version", + "bookingUid", + ], + }, + { + "method": "GET", + "operationId": "BookingAttendeesController_2024_08_13_getBookingAttendee", + "path": "/v2/bookings/{bookingUid}/attendees/{attendeeId}", + "requiredParams": [ + "Authorization", + "cal-api-version", + "attendeeId", + "bookingUid", + ], + }, + { + "method": "GET", + "operationId": "BookingsController_2024_08_13_getCalendarLinks", + "path": "/v2/bookings/{bookingUid}/calendar-links", + "requiredParams": [ + "Authorization", + "cal-api-version", + "bookingUid", + ], + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_cancelBooking", + "path": "/v2/bookings/{bookingUid}/cancel", + "requiredParams": [ + "cal-api-version", + "bookingUid", + ], + }, + { + "method": "GET", + "operationId": "BookingsController_2024_08_13_getVideoSessions", + "path": "/v2/bookings/{bookingUid}/conferencing-sessions", + "requiredParams": [ + "Authorization", + "cal-api-version", + "bookingUid", + ], + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_confirmBooking", + "path": "/v2/bookings/{bookingUid}/confirm", + "requiredParams": [ + "Authorization", + "cal-api-version", + "bookingUid", + ], + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_declineBooking", + "path": "/v2/bookings/{bookingUid}/decline", + "requiredParams": [ + "Authorization", + "cal-api-version", + "bookingUid", + ], + }, + { + "method": "POST", + "operationId": "BookingGuestsController_2024_08_13_addGuests", + "path": "/v2/bookings/{bookingUid}/guests", + "requiredParams": [ + "Authorization", + "cal-api-version", + "bookingUid", + ], + }, + { + "method": "PATCH", + "operationId": "BookingLocationController_2024_08_13_updateBookingLocation", + "path": "/v2/bookings/{bookingUid}/location", + "requiredParams": [ + "Authorization", + "cal-api-version", + "bookingUid", + ], + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_markNoShow", + "path": "/v2/bookings/{bookingUid}/mark-absent", + "requiredParams": [ + "Authorization", + "cal-api-version", + "bookingUid", + ], + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_reassignBooking", + "path": "/v2/bookings/{bookingUid}/reassign", + "requiredParams": [ + "Authorization", + "cal-api-version", + "bookingUid", + ], + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_reassignBookingToUser", + "path": "/v2/bookings/{bookingUid}/reassign/{userId}", + "requiredParams": [ + "Authorization", + "cal-api-version", + "bookingUid", + "userId", + ], + }, + { + "method": "GET", + "operationId": "BookingsController_2024_08_13_getBookingRecordings", + "path": "/v2/bookings/{bookingUid}/recordings", + "requiredParams": [ + "Authorization", + "cal-api-version", + "bookingUid", + ], + }, + { + "method": "GET", + "operationId": "BookingsController_2024_08_13_getBookingReferences", + "path": "/v2/bookings/{bookingUid}/references", + "requiredParams": [ + "Authorization", + "cal-api-version", + "bookingUid", + ], + }, + { + "method": "POST", + "operationId": "BookingsController_2024_08_13_rescheduleBooking", + "path": "/v2/bookings/{bookingUid}/reschedule", + "requiredParams": [ + "cal-api-version", + "bookingUid", + ], + }, + { + "method": "GET", + "operationId": "BookingsController_2024_08_13_getBookingTranscripts", + "path": "/v2/bookings/{bookingUid}/transcripts", + "requiredParams": [ + "Authorization", + "cal-api-version", + "bookingUid", + ], + }, + { + "method": "GET", + "operationId": "BookingsController_2024_08_13_getBookingBySeatUid", + "path": "/v2/bookings/by-seat/{seatUid}", + "requiredParams": [ + "cal-api-version", + "seatUid", + ], + }, + { + "method": "GET", + "operationId": "CalendarsController_getCalendars", + "path": "/v2/calendars", + "requiredParams": [ + "Authorization", + ], + }, + { + "method": "GET", + "operationId": "CalendarsController_check", + "path": "/v2/calendars/{calendar}/check", + "requiredParams": [ + "Authorization", + "calendar", + ], + }, + { + "method": "GET", + "operationId": "CalendarsController_redirect", + "path": "/v2/calendars/{calendar}/connect", + "requiredParams": [ + "Authorization", + "calendar", + "isDryRun", + ], + }, + { + "method": "POST", + "operationId": "CalendarsController_syncCredentials", + "path": "/v2/calendars/{calendar}/credentials", + "requiredParams": [ + "Authorization", + "calendar", + ], + }, + { + "method": "POST", + "operationId": "CalendarsController_deleteCalendarCredentials", + "path": "/v2/calendars/{calendar}/disconnect", + "requiredParams": [ + "Authorization", + "calendar", + ], + }, + { + "method": "GET", + "operationId": "CalUnifiedCalendarsController_getCalendarEventDetails", + "path": "/v2/calendars/{calendar}/event/{eventUid}", + "requiredParams": [ + "Authorization", + "calendar", + "eventUid", + ], + }, + { + "method": "PATCH", + "operationId": "CalUnifiedCalendarsController_updateCalendarEvent", + "path": "/v2/calendars/{calendar}/events/{eventUid}", + "requiredParams": [ + "Authorization", + "calendar", + "eventUid", + ], + }, + { + "method": "GET", + "operationId": "CalendarsController_save", + "path": "/v2/calendars/{calendar}/save", + "requiredParams": [ + "calendar", + "code", + "state", + ], + }, + { + "method": "GET", + "operationId": "CalendarsController_getBusyTimes", + "path": "/v2/calendars/busy-times", + "requiredParams": [ + "Authorization", + "credentialId", + "externalId", + ], + }, + { + "method": "GET", + "operationId": "CalendarsController_checkIcsFeed", + "path": "/v2/calendars/ics-feed/check", + "requiredParams": [ + "Authorization", + ], + }, + { + "method": "POST", + "operationId": "CalendarsController_createIcsFeed", + "path": "/v2/calendars/ics-feed/save", + "requiredParams": [ + "Authorization", + ], + }, + { + "method": "GET", + "operationId": "ConferencingController_listInstalledConferencingApps", + "path": "/v2/conferencing", + "requiredParams": [ + "Authorization", + ], + }, + { + "method": "POST", + "operationId": "ConferencingController_connect", + "path": "/v2/conferencing/{app}/connect", + "requiredParams": [ + "Authorization", + "app", + ], + }, + { + "method": "POST", + "operationId": "ConferencingController_default", + "path": "/v2/conferencing/{app}/default", + "requiredParams": [ + "Authorization", + "app", + ], + }, + { + "method": "DELETE", + "operationId": "ConferencingController_disconnect", + "path": "/v2/conferencing/{app}/disconnect", + "requiredParams": [ + "Authorization", + "app", + ], + }, + { + "method": "GET", + "operationId": "ConferencingController_redirect", + "path": "/v2/conferencing/{app}/oauth/auth-url", + "requiredParams": [ + "Authorization", + "app", + "onErrorReturnTo", + "returnTo", + ], + }, + { + "method": "GET", + "operationId": "ConferencingController_save", + "path": "/v2/conferencing/{app}/oauth/callback", + "requiredParams": [ + "app", + "code", + "state", + ], + }, + { + "method": "GET", + "operationId": "ConferencingController_getDefault", + "path": "/v2/conferencing/default", + "requiredParams": [ + "Authorization", + ], + }, + { + "method": "PUT", + "operationId": "DestinationCalendarsController_updateDestinationCalendars", + "path": "/v2/destination-calendars", + "requiredParams": [ + "Authorization", + ], + }, + { + "method": "GET", + "operationId": "EventTypesController_2024_06_14_getEventTypes", + "path": "/v2/event-types", + "requiredParams": [ + "cal-api-version", + ], + }, + { + "method": "POST", + "operationId": "EventTypesController_2024_06_14_createEventType", + "path": "/v2/event-types", + "requiredParams": [ + "Authorization", + "cal-api-version", + ], + }, + { + "method": "DELETE", + "operationId": "EventTypesController_2024_06_14_deleteEventType", + "path": "/v2/event-types/{eventTypeId}", + "requiredParams": [ + "Authorization", + "cal-api-version", + "eventTypeId", + ], + }, + { + "method": "GET", + "operationId": "EventTypesController_2024_06_14_getEventTypeById", + "path": "/v2/event-types/{eventTypeId}", + "requiredParams": [ + "Authorization", + "cal-api-version", + "eventTypeId", + ], + }, + { + "method": "PATCH", + "operationId": "EventTypesController_2024_06_14_updateEventType", + "path": "/v2/event-types/{eventTypeId}", + "requiredParams": [ + "Authorization", + "cal-api-version", + "eventTypeId", + ], + }, + { + "method": "GET", + "operationId": "EventTypesPrivateLinksController_getPrivateLinks", + "path": "/v2/event-types/{eventTypeId}/private-links", + "requiredParams": [ + "Authorization", + "eventTypeId", + ], + }, + { + "method": "POST", + "operationId": "EventTypesPrivateLinksController_createPrivateLink", + "path": "/v2/event-types/{eventTypeId}/private-links", + "requiredParams": [ + "Authorization", + "eventTypeId", + ], + }, + { + "method": "DELETE", + "operationId": "EventTypesPrivateLinksController_deletePrivateLink", + "path": "/v2/event-types/{eventTypeId}/private-links/{linkId}", + "requiredParams": [ + "Authorization", + "eventTypeId", + "linkId", + ], + }, + { + "method": "PATCH", + "operationId": "EventTypesPrivateLinksController_updatePrivateLink", + "path": "/v2/event-types/{eventTypeId}/private-links/{linkId}", + "requiredParams": [ + "Authorization", + "eventTypeId", + "linkId", + ], + }, + { + "method": "DELETE", + "operationId": "EventTypeWebhooksController_deleteAllEventTypeWebhooks", + "path": "/v2/event-types/{eventTypeId}/webhooks", + "requiredParams": [ + "Authorization", + "eventTypeId", + ], + }, + { + "method": "GET", + "operationId": "EventTypeWebhooksController_getEventTypeWebhooks", + "path": "/v2/event-types/{eventTypeId}/webhooks", + "requiredParams": [ + "Authorization", + "eventTypeId", + ], + }, + { + "method": "POST", + "operationId": "EventTypeWebhooksController_createEventTypeWebhook", + "path": "/v2/event-types/{eventTypeId}/webhooks", + "requiredParams": [ + "Authorization", + "eventTypeId", + ], + }, + { + "method": "DELETE", + "operationId": "EventTypeWebhooksController_deleteEventTypeWebhook", + "path": "/v2/event-types/{eventTypeId}/webhooks/{webhookId}", + "requiredParams": [ + "Authorization", + "eventTypeId", + "webhookId", + ], + }, + { + "method": "GET", + "operationId": "EventTypeWebhooksController_getEventTypeWebhook", + "path": "/v2/event-types/{eventTypeId}/webhooks/{webhookId}", + "requiredParams": [ + "Authorization", + "eventTypeId", + "webhookId", + ], + }, + { + "method": "PATCH", + "operationId": "EventTypeWebhooksController_updateEventTypeWebhook", + "path": "/v2/event-types/{eventTypeId}/webhooks/{webhookId}", + "requiredParams": [ + "Authorization", + "eventTypeId", + "webhookId", + ], + }, + { + "method": "GET", + "operationId": "MeController_getMe", + "path": "/v2/me", + "requiredParams": [ + "Authorization", + ], + }, + { + "method": "PATCH", + "operationId": "MeController_updateMe", + "path": "/v2/me", + "requiredParams": [ + "Authorization", + ], + }, + { + "method": "GET", + "operationId": "OAuthClientsController_getOAuthClients", + "path": "/v2/oauth-clients", + "requiredParams": [ + "Authorization", + ], + }, + { + "method": "POST", + "operationId": "OAuthClientsController_createOAuthClient", + "path": "/v2/oauth-clients", + "requiredParams": [ + "Authorization", + ], + }, + { + "method": "DELETE", + "operationId": "OAuthClientsController_deleteOAuthClient", + "path": "/v2/oauth-clients/{clientId}", + "requiredParams": [ + "Authorization", + "clientId", + ], + }, + { + "method": "GET", + "operationId": "OAuthClientsController_getOAuthClientById", + "path": "/v2/oauth-clients/{clientId}", + "requiredParams": [ + "Authorization", + "clientId", + ], + }, + { + "method": "PATCH", + "operationId": "OAuthClientsController_updateOAuthClient", + "path": "/v2/oauth-clients/{clientId}", + "requiredParams": [ + "Authorization", + "clientId", + ], + }, + { + "method": "GET", + "operationId": "OAuthClientUsersController_getManagedUsers", + "path": "/v2/oauth-clients/{clientId}/users", + "requiredParams": [ + "x-cal-secret-key", + "clientId", + ], + }, + { + "method": "POST", + "operationId": "OAuthClientUsersController_createUser", + "path": "/v2/oauth-clients/{clientId}/users", + "requiredParams": [ + "x-cal-secret-key", + "clientId", + ], + }, + { + "method": "DELETE", + "operationId": "OAuthClientUsersController_deleteUser", + "path": "/v2/oauth-clients/{clientId}/users/{userId}", + "requiredParams": [ + "x-cal-secret-key", + "clientId", + "userId", + ], + }, + { + "method": "GET", + "operationId": "OAuthClientUsersController_getUserById", + "path": "/v2/oauth-clients/{clientId}/users/{userId}", + "requiredParams": [ + "x-cal-secret-key", + "clientId", + "userId", + ], + }, + { + "method": "PATCH", + "operationId": "OAuthClientUsersController_updateUser", + "path": "/v2/oauth-clients/{clientId}/users/{userId}", + "requiredParams": [ + "x-cal-secret-key", + "clientId", + "userId", + ], + }, + { + "method": "POST", + "operationId": "OAuthClientUsersController_forceRefresh", + "path": "/v2/oauth-clients/{clientId}/users/{userId}/force-refresh", + "requiredParams": [ + "x-cal-secret-key", + "clientId", + "userId", + ], + }, + { + "method": "DELETE", + "operationId": "OAuthClientWebhooksController_deleteAllOAuthClientWebhooks", + "path": "/v2/oauth-clients/{clientId}/webhooks", + "requiredParams": [ + "x-cal-secret-key", + "clientId", + ], + }, + { + "method": "GET", + "operationId": "OAuthClientWebhooksController_getOAuthClientWebhooks", + "path": "/v2/oauth-clients/{clientId}/webhooks", + "requiredParams": [ + "x-cal-secret-key", + "clientId", + ], + }, + { + "method": "POST", + "operationId": "OAuthClientWebhooksController_createOAuthClientWebhook", + "path": "/v2/oauth-clients/{clientId}/webhooks", + "requiredParams": [ + "x-cal-secret-key", + "clientId", + ], + }, + { + "method": "DELETE", + "operationId": "OAuthClientWebhooksController_deleteOAuthClientWebhook", + "path": "/v2/oauth-clients/{clientId}/webhooks/{webhookId}", + "requiredParams": [ + "x-cal-secret-key", + "clientId", + "webhookId", + ], + }, + { + "method": "GET", + "operationId": "OAuthClientWebhooksController_getOAuthClientWebhook", + "path": "/v2/oauth-clients/{clientId}/webhooks/{webhookId}", + "requiredParams": [ + "x-cal-secret-key", + "clientId", + "webhookId", + ], + }, + { + "method": "PATCH", + "operationId": "OAuthClientWebhooksController_updateOAuthClientWebhook", + "path": "/v2/oauth-clients/{clientId}/webhooks/{webhookId}", + "requiredParams": [ + "x-cal-secret-key", + "clientId", + "webhookId", + ], + }, + { + "method": "POST", + "operationId": "OAuthFlowController_refreshTokens", + "path": "/v2/oauth/{clientId}/refresh", + "requiredParams": [ + "x-cal-secret-key", + "clientId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsAttributesController_getOrganizationAttributes", + "path": "/v2/organizations/{orgId}/attributes", + "requiredParams": [ + "Authorization", + "orgId", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsAttributesController_createOrganizationAttribute", + "path": "/v2/organizations/{orgId}/attributes", + "requiredParams": [ + "Authorization", + "orgId", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsAttributesController_deleteOrganizationAttribute", + "path": "/v2/organizations/{orgId}/attributes/{attributeId}", + "requiredParams": [ + "Authorization", + "attributeId", + "orgId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsAttributesController_getOrganizationAttribute", + "path": "/v2/organizations/{orgId}/attributes/{attributeId}", + "requiredParams": [ + "Authorization", + "attributeId", + "orgId", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsAttributesController_updateOrganizationAttribute", + "path": "/v2/organizations/{orgId}/attributes/{attributeId}", + "requiredParams": [ + "Authorization", + "attributeId", + "orgId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsAttributesOptionsController_getOrganizationAttributeOptions", + "path": "/v2/organizations/{orgId}/attributes/{attributeId}/options", + "requiredParams": [ + "Authorization", + "attributeId", + "orgId", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsAttributesOptionsController_createOrganizationAttributeOption", + "path": "/v2/organizations/{orgId}/attributes/{attributeId}/options", + "requiredParams": [ + "Authorization", + "attributeId", + "orgId", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsAttributesOptionsController_deleteOrganizationAttributeOption", + "path": "/v2/organizations/{orgId}/attributes/{attributeId}/options/{optionId}", + "requiredParams": [ + "Authorization", + "attributeId", + "optionId", + "orgId", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsAttributesOptionsController_updateOrganizationAttributeOption", + "path": "/v2/organizations/{orgId}/attributes/{attributeId}/options/{optionId}", + "requiredParams": [ + "Authorization", + "attributeId", + "optionId", + "orgId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsAttributesOptionsController_getOrganizationAttributeAssignedOptions", + "path": "/v2/organizations/{orgId}/attributes/{attributeId}/options/assigned", + "requiredParams": [ + "Authorization", + "attributeId", + "orgId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsAttributesOptionsController_getOrganizationAttributeOptionsForUser", + "path": "/v2/organizations/{orgId}/attributes/options/{userId}", + "requiredParams": [ + "Authorization", + "orgId", + "userId", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsAttributesOptionsController_assignOrganizationAttributeOptionToUser", + "path": "/v2/organizations/{orgId}/attributes/options/{userId}", + "requiredParams": [ + "Authorization", + "orgId", + "userId", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsAttributesOptionsController_unassignOrganizationAttributeOptionFromUser", + "path": "/v2/organizations/{orgId}/attributes/options/{userId}/{attributeOptionId}", + "requiredParams": [ + "Authorization", + "attributeOptionId", + "orgId", + "userId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsAttributesOptionsController_getOrganizationAttributeAssignedOptionsBySlug", + "path": "/v2/organizations/{orgId}/attributes/slugs/{attributeSlug}/options/assigned", + "requiredParams": [ + "Authorization", + "attributeSlug", + "orgId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsBookingsController_getAllOrgTeamBookings", + "path": "/v2/organizations/{orgId}/bookings", + "requiredParams": [ + "orgId", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsDelegationCredentialController_createDelegationCredential", + "path": "/v2/organizations/{orgId}/delegation-credentials", + "requiredParams": [ + "orgId", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsDelegationCredentialController_updateDelegationCredential", + "path": "/v2/organizations/{orgId}/delegation-credentials/{credentialId}", + "requiredParams": [ + "credentialId", + "orgId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsMembershipsController_getAllMemberships", + "path": "/v2/organizations/{orgId}/memberships", + "requiredParams": [ + "orgId", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsMembershipsController_createMembership", + "path": "/v2/organizations/{orgId}/memberships", + "requiredParams": [ + "orgId", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsMembershipsController_deleteMembership", + "path": "/v2/organizations/{orgId}/memberships/{membershipId}", + "requiredParams": [ + "membershipId", + "orgId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsMembershipsController_getOrgMembership", + "path": "/v2/organizations/{orgId}/memberships/{membershipId}", + "requiredParams": [ + "membershipId", + "orgId", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsMembershipsController_updateMembership", + "path": "/v2/organizations/{orgId}/memberships/{membershipId}", + "requiredParams": [ + "membershipId", + "orgId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsUsersOOOController_getOrganizationUsersOOO", + "path": "/v2/organizations/{orgId}/ooo", + "requiredParams": [ + "orgId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsOrganizationsController_getOrganizations", + "path": "/v2/organizations/{orgId}/organizations", + "requiredParams": [ + "orgId", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsOrganizationsController_createOrganization", + "path": "/v2/organizations/{orgId}/organizations", + "requiredParams": [ + "orgId", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsOrganizationsController_deleteOrganization", + "path": "/v2/organizations/{orgId}/organizations/{managedOrganizationId}", + "requiredParams": [ + "managedOrganizationId", + "orgId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsOrganizationsController_getOrganization", + "path": "/v2/organizations/{orgId}/organizations/{managedOrganizationId}", + "requiredParams": [ + "managedOrganizationId", + "orgId", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsOrganizationsController_updateOrganization", + "path": "/v2/organizations/{orgId}/organizations/{managedOrganizationId}", + "requiredParams": [ + "managedOrganizationId", + "orgId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsRolesController_getAllRoles", + "path": "/v2/organizations/{orgId}/roles", + "requiredParams": [ + "orgId", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsRolesController_createRole", + "path": "/v2/organizations/{orgId}/roles", + "requiredParams": [ + "orgId", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsRolesController_deleteRole", + "path": "/v2/organizations/{orgId}/roles/{roleId}", + "requiredParams": [ + "orgId", + "roleId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsRolesController_getRole", + "path": "/v2/organizations/{orgId}/roles/{roleId}", + "requiredParams": [ + "orgId", + "roleId", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsRolesController_updateRole", + "path": "/v2/organizations/{orgId}/roles/{roleId}", + "requiredParams": [ + "orgId", + "roleId", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsRolesPermissionsController_removePermissions", + "path": "/v2/organizations/{orgId}/roles/{roleId}/permissions", + "requiredParams": [ + "orgId", + "roleId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsRolesPermissionsController_listPermissions", + "path": "/v2/organizations/{orgId}/roles/{roleId}/permissions", + "requiredParams": [ + "orgId", + "roleId", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsRolesPermissionsController_addPermissions", + "path": "/v2/organizations/{orgId}/roles/{roleId}/permissions", + "requiredParams": [ + "orgId", + "roleId", + ], + }, + { + "method": "PUT", + "operationId": "OrganizationsRolesPermissionsController_setPermissions", + "path": "/v2/organizations/{orgId}/roles/{roleId}/permissions", + "requiredParams": [ + "orgId", + "roleId", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsRolesPermissionsController_removePermission", + "path": "/v2/organizations/{orgId}/roles/{roleId}/permissions/{permission}", + "requiredParams": [ + "orgId", + "permission", + "roleId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsRoutingFormsController_getOrganizationRoutingForms", + "path": "/v2/organizations/{orgId}/routing-forms", + "requiredParams": [ + "Authorization", + "orgId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsRoutingFormsResponsesController_getRoutingFormResponses", + "path": "/v2/organizations/{orgId}/routing-forms/{routingFormId}/responses", + "requiredParams": [ + "Authorization", + "orgId", + "routingFormId", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsRoutingFormsResponsesController_createRoutingFormResponse", + "path": "/v2/organizations/{orgId}/routing-forms/{routingFormId}/responses", + "requiredParams": [ + "Authorization", + "orgId", + "routingFormId", + "end", + "start", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsRoutingFormsResponsesController_updateRoutingFormResponse", + "path": "/v2/organizations/{orgId}/routing-forms/{routingFormId}/responses/{responseId}", + "requiredParams": [ + "Authorization", + "orgId", + "responseId", + "routingFormId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsSchedulesController_getOrganizationSchedules", + "path": "/v2/organizations/{orgId}/schedules", + "requiredParams": [ + "orgId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsController_getAllTeams", + "path": "/v2/organizations/{orgId}/teams", + "requiredParams": [ + "orgId", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsTeamsController_createTeam", + "path": "/v2/organizations/{orgId}/teams", + "requiredParams": [ + "orgId", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsTeamsController_deleteTeam", + "path": "/v2/organizations/{orgId}/teams/{teamId}", + "requiredParams": [ + "orgId", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsController_getTeam", + "path": "/v2/organizations/{orgId}/teams/{teamId}", + "requiredParams": [ + "orgId", + "teamId", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsTeamsController_updateTeam", + "path": "/v2/organizations/{orgId}/teams/{teamId}", + "requiredParams": [ + "orgId", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsBookingsController_getAllOrgTeamBookings", + "path": "/v2/organizations/{orgId}/teams/{teamId}/bookings", + "requiredParams": [ + "orgId", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsBookingsController_getBookingReferences", + "path": "/v2/organizations/{orgId}/teams/{teamId}/bookings/{bookingUid}/references", + "requiredParams": [ + "bookingUid", + "orgId", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsConferencingController_listTeamConferencingApps", + "path": "/v2/organizations/{orgId}/teams/{teamId}/conferencing", + "requiredParams": [ + "orgId", + "teamId", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsConferencingController_connectTeamApp", + "path": "/v2/organizations/{orgId}/teams/{teamId}/conferencing/{app}/connect", + "requiredParams": [ + "app", + "orgId", + "teamId", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsConferencingController_setTeamDefaultApp", + "path": "/v2/organizations/{orgId}/teams/{teamId}/conferencing/{app}/default", + "requiredParams": [ + "app", + "orgId", + "teamId", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsConferencingController_disconnectTeamApp", + "path": "/v2/organizations/{orgId}/teams/{teamId}/conferencing/{app}/disconnect", + "requiredParams": [ + "app", + "orgId", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsConferencingController_getTeamOAuthUrl", + "path": "/v2/organizations/{orgId}/teams/{teamId}/conferencing/{app}/oauth/auth-url", + "requiredParams": [ + "Authorization", + "app", + "orgId", + "teamId", + "onErrorReturnTo", + "returnTo", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsConferencingController_saveTeamOauthCredentials", + "path": "/v2/organizations/{orgId}/teams/{teamId}/conferencing/{app}/oauth/callback", + "requiredParams": [ + "app", + "orgId", + "teamId", + "code", + "state", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsConferencingController_getTeamDefaultApp", + "path": "/v2/organizations/{orgId}/teams/{teamId}/conferencing/default", + "requiredParams": [ + "orgId", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsEventTypesController_getTeamEventTypes", + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types", + "requiredParams": [ + "orgId", + "teamId", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsEventTypesController_createTeamEventType", + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types", + "requiredParams": [ + "orgId", + "teamId", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsEventTypesController_deleteTeamEventType", + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}", + "requiredParams": [ + "eventTypeId", + "orgId", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsEventTypesController_getTeamEventType", + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}", + "requiredParams": [ + "eventTypeId", + "orgId", + "teamId", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsEventTypesController_updateTeamEventType", + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}", + "requiredParams": [ + "eventTypeId", + "orgId", + "teamId", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsEventTypesController_createPhoneCall", + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}/create-phone-call", + "requiredParams": [ + "eventTypeId", + "orgId", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsEventTypesPrivateLinksController_getPrivateLinks", + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}/private-links", + "requiredParams": [ + "eventTypeId", + "orgId", + "teamId", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsEventTypesPrivateLinksController_createPrivateLink", + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}/private-links", + "requiredParams": [ + "eventTypeId", + "orgId", + "teamId", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsEventTypesPrivateLinksController_deletePrivateLink", + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}/private-links/{linkId}", + "requiredParams": [ + "eventTypeId", + "linkId", + "orgId", + "teamId", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsEventTypesPrivateLinksController_updatePrivateLink", + "path": "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}/private-links/{linkId}", + "requiredParams": [ + "eventTypeId", + "linkId", + "orgId", + "teamId", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsTeamsInviteController_createInvite", + "path": "/v2/organizations/{orgId}/teams/{teamId}/invite", + "requiredParams": [ + "orgId", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsMembershipsController_getAllOrgTeamMemberships", + "path": "/v2/organizations/{orgId}/teams/{teamId}/memberships", + "requiredParams": [ + "orgId", + "teamId", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsTeamsMembershipsController_createOrgTeamMembership", + "path": "/v2/organizations/{orgId}/teams/{teamId}/memberships", + "requiredParams": [ + "orgId", + "teamId", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsTeamsMembershipsController_deleteOrgTeamMembership", + "path": "/v2/organizations/{orgId}/teams/{teamId}/memberships/{membershipId}", + "requiredParams": [ + "membershipId", + "orgId", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsMembershipsController_getOrgTeamMembership", + "path": "/v2/organizations/{orgId}/teams/{teamId}/memberships/{membershipId}", + "requiredParams": [ + "membershipId", + "orgId", + "teamId", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsTeamsMembershipsController_updateOrgTeamMembership", + "path": "/v2/organizations/{orgId}/teams/{teamId}/memberships/{membershipId}", + "requiredParams": [ + "membershipId", + "orgId", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsRolesController_getAllRoles", + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles", + "requiredParams": [ + "orgId", + "teamId", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsTeamsRolesController_createRole", + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles", + "requiredParams": [ + "orgId", + "teamId", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsTeamsRolesController_deleteRole", + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}", + "requiredParams": [ + "orgId", + "roleId", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsRolesController_getRole", + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}", + "requiredParams": [ + "orgId", + "roleId", + "teamId", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsTeamsRolesController_updateRole", + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}", + "requiredParams": [ + "orgId", + "roleId", + "teamId", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsTeamsRolesPermissionsController_removePermissions", + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions", + "requiredParams": [ + "orgId", + "roleId", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsRolesPermissionsController_listPermissions", + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions", + "requiredParams": [ + "orgId", + "roleId", + "teamId", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsTeamsRolesPermissionsController_addPermissions", + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions", + "requiredParams": [ + "orgId", + "roleId", + "teamId", + ], + }, + { + "method": "PUT", + "operationId": "OrganizationsTeamsRolesPermissionsController_setPermissions", + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions", + "requiredParams": [ + "orgId", + "roleId", + "teamId", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsTeamsRolesPermissionsController_removePermission", + "path": "/v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions/{permission}", + "requiredParams": [ + "orgId", + "permission", + "roleId", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsRoutingFormsController_getTeamRoutingForms", + "path": "/v2/organizations/{orgId}/teams/{teamId}/routing-forms", + "requiredParams": [ + "Authorization", + "orgId", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsRoutingFormsResponsesController_getRoutingFormResponses", + "path": "/v2/organizations/{orgId}/teams/{teamId}/routing-forms/{routingFormId}/responses", + "requiredParams": [ + "Authorization", + "orgId", + "routingFormId", + "teamId", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsTeamsRoutingFormsResponsesController_createRoutingFormResponse", + "path": "/v2/organizations/{orgId}/teams/{teamId}/routing-forms/{routingFormId}/responses", + "requiredParams": [ + "Authorization", + "orgId", + "routingFormId", + "teamId", + "end", + "start", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsTeamsRoutingFormsResponsesController_updateRoutingFormResponse", + "path": "/v2/organizations/{orgId}/teams/{teamId}/routing-forms/{routingFormId}/responses/{responseId}", + "requiredParams": [ + "Authorization", + "orgId", + "responseId", + "routingFormId", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsSchedulesController_getTeamSchedules", + "path": "/v2/organizations/{orgId}/teams/{teamId}/schedules", + "requiredParams": [ + "orgId", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsStripeController_checkTeamStripeConnection", + "path": "/v2/organizations/{orgId}/teams/{teamId}/stripe/check", + "requiredParams": [ + "orgId", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsStripeController_getTeamStripeConnectUrl", + "path": "/v2/organizations/{orgId}/teams/{teamId}/stripe/connect", + "requiredParams": [ + "Authorization", + "orgId", + "teamId", + "onErrorReturnTo", + "returnTo", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsStripeController_save", + "path": "/v2/organizations/{orgId}/teams/{teamId}/stripe/save", + "requiredParams": [ + "orgId", + "teamId", + "code", + "state", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsSchedulesController_getUserSchedules", + "path": "/v2/organizations/{orgId}/teams/{teamId}/users/{userId}/schedules", + "requiredParams": [ + "orgId", + "teamId", + "userId", + ], + }, + { + "method": "GET", + "operationId": "OrgTeamsVerifiedResourcesController_getVerifiedEmails", + "path": "/v2/organizations/{orgId}/teams/{teamId}/verified-resources/emails", + "requiredParams": [ + "Authorization", + "orgId", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "OrgTeamsVerifiedResourcesController_getVerifiedEmailById", + "path": "/v2/organizations/{orgId}/teams/{teamId}/verified-resources/emails/{id}", + "requiredParams": [ + "Authorization", + "id", + "orgId", + "teamId", + ], + }, + { + "method": "POST", + "operationId": "OrgTeamsVerifiedResourcesController_requestEmailVerificationCode", + "path": "/v2/organizations/{orgId}/teams/{teamId}/verified-resources/emails/verification-code/request", + "requiredParams": [ + "Authorization", + "orgId", + "teamId", + ], + }, + { + "method": "POST", + "operationId": "OrgTeamsVerifiedResourcesController_verifyEmail", + "path": "/v2/organizations/{orgId}/teams/{teamId}/verified-resources/emails/verification-code/verify", + "requiredParams": [ + "Authorization", + "orgId", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "OrgTeamsVerifiedResourcesController_getVerifiedPhoneNumbers", + "path": "/v2/organizations/{orgId}/teams/{teamId}/verified-resources/phones", + "requiredParams": [ + "Authorization", + "orgId", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "OrgTeamsVerifiedResourcesController_getVerifiedPhoneById", + "path": "/v2/organizations/{orgId}/teams/{teamId}/verified-resources/phones/{id}", + "requiredParams": [ + "Authorization", + "id", + "orgId", + "teamId", + ], + }, + { + "method": "POST", + "operationId": "OrgTeamsVerifiedResourcesController_requestPhoneVerificationCode", + "path": "/v2/organizations/{orgId}/teams/{teamId}/verified-resources/phones/verification-code/request", + "requiredParams": [ + "Authorization", + "orgId", + "teamId", + ], + }, + { + "method": "POST", + "operationId": "OrgTeamsVerifiedResourcesController_verifyPhoneNumber", + "path": "/v2/organizations/{orgId}/teams/{teamId}/verified-resources/phones/verification-code/verify", + "requiredParams": [ + "Authorization", + "orgId", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationTeamWorkflowsController_getWorkflows", + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows", + "requiredParams": [ + "orgId", + "teamId", + ], + }, + { + "method": "POST", + "operationId": "OrganizationTeamWorkflowsController_createEventTypeWorkflow", + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows", + "requiredParams": [ + "orgId", + "teamId", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationTeamWorkflowsController_deleteWorkflow", + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows/{workflowId}", + "requiredParams": [ + "orgId", + "teamId", + "workflowId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationTeamWorkflowsController_getWorkflowById", + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows/{workflowId}", + "requiredParams": [ + "orgId", + "teamId", + "workflowId", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationTeamWorkflowsController_updateWorkflow", + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows/{workflowId}", + "requiredParams": [ + "orgId", + "teamId", + "workflowId", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationTeamWorkflowsController_deleteRoutingFormWorkflow", + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows/{workflowId}/routing-form", + "requiredParams": [ + "orgId", + "teamId", + "workflowId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationTeamWorkflowsController_getRoutingFormWorkflowById", + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows/{workflowId}/routing-form", + "requiredParams": [ + "orgId", + "teamId", + "workflowId", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationTeamWorkflowsController_updateRoutingFormWorkflow", + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows/{workflowId}/routing-form", + "requiredParams": [ + "orgId", + "teamId", + "workflowId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationTeamWorkflowsController_getRoutingFormWorkflows", + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows/routing-form", + "requiredParams": [ + "orgId", + "teamId", + ], + }, + { + "method": "POST", + "operationId": "OrganizationTeamWorkflowsController_createFormWorkflow", + "path": "/v2/organizations/{orgId}/teams/{teamId}/workflows/routing-form", + "requiredParams": [ + "orgId", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsEventTypesController_getTeamsEventTypes", + "path": "/v2/organizations/{orgId}/teams/event-types", + "requiredParams": [ + "orgId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsTeamsController_getMyTeams", + "path": "/v2/organizations/{orgId}/teams/me", + "requiredParams": [ + "orgId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsUsersController_getOrganizationsUsers", + "path": "/v2/organizations/{orgId}/users", + "requiredParams": [ + "orgId", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsUsersController_createOrganizationUser", + "path": "/v2/organizations/{orgId}/users", + "requiredParams": [ + "orgId", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsUsersController_deleteOrganizationUser", + "path": "/v2/organizations/{orgId}/users/{userId}", + "requiredParams": [ + "orgId", + "userId", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsUsersController_updateOrganizationUser", + "path": "/v2/organizations/{orgId}/users/{userId}", + "requiredParams": [ + "orgId", + "userId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsUsersBookingsController_getOrganizationUserBookings", + "path": "/v2/organizations/{orgId}/users/{userId}/bookings", + "requiredParams": [ + "orgId", + "userId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsUsersOOOController_getOrganizationUserOOO", + "path": "/v2/organizations/{orgId}/users/{userId}/ooo", + "requiredParams": [ + "orgId", + "userId", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsUsersOOOController_createOrganizationUserOOO", + "path": "/v2/organizations/{orgId}/users/{userId}/ooo", + "requiredParams": [ + "orgId", + "userId", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsUsersOOOController_deleteOrganizationUserOOO", + "path": "/v2/organizations/{orgId}/users/{userId}/ooo/{oooId}", + "requiredParams": [ + "oooId", + "orgId", + "userId", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsUsersOOOController_updateOrganizationUserOOO", + "path": "/v2/organizations/{orgId}/users/{userId}/ooo/{oooId}", + "requiredParams": [ + "oooId", + "orgId", + "userId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsSchedulesController_getUserSchedules", + "path": "/v2/organizations/{orgId}/users/{userId}/schedules", + "requiredParams": [ + "orgId", + "userId", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsSchedulesController_createUserSchedule", + "path": "/v2/organizations/{orgId}/users/{userId}/schedules", + "requiredParams": [ + "orgId", + "userId", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsSchedulesController_deleteUserSchedule", + "path": "/v2/organizations/{orgId}/users/{userId}/schedules/{scheduleId}", + "requiredParams": [ + "orgId", + "scheduleId", + "userId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsSchedulesController_getUserSchedule", + "path": "/v2/organizations/{orgId}/users/{userId}/schedules/{scheduleId}", + "requiredParams": [ + "orgId", + "scheduleId", + "userId", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsSchedulesController_updateUserSchedule", + "path": "/v2/organizations/{orgId}/users/{userId}/schedules/{scheduleId}", + "requiredParams": [ + "orgId", + "scheduleId", + "userId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsWebhooksController_getAllOrganizationWebhooks", + "path": "/v2/organizations/{orgId}/webhooks", + "requiredParams": [ + "orgId", + ], + }, + { + "method": "POST", + "operationId": "OrganizationsWebhooksController_createOrganizationWebhook", + "path": "/v2/organizations/{orgId}/webhooks", + "requiredParams": [ + "orgId", + ], + }, + { + "method": "DELETE", + "operationId": "OrganizationsWebhooksController_deleteWebhook", + "path": "/v2/organizations/{orgId}/webhooks/{webhookId}", + "requiredParams": [ + "orgId", + "webhookId", + ], + }, + { + "method": "GET", + "operationId": "OrganizationsWebhooksController_getOrganizationWebhook", + "path": "/v2/organizations/{orgId}/webhooks/{webhookId}", + "requiredParams": [ + "orgId", + "webhookId", + ], + }, + { + "method": "PATCH", + "operationId": "OrganizationsWebhooksController_updateOrgWebhook", + "path": "/v2/organizations/{orgId}/webhooks/{webhookId}", + "requiredParams": [ + "orgId", + "webhookId", + ], + }, + { + "method": "POST", + "operationId": "RoutingFormsController_calculateSlotsBasedOnRoutingFormResponse", + "path": "/v2/routing-forms/{routingFormId}/calculate-slots", + "requiredParams": [ + "Authorization", + "routingFormId", + "end", + "start", + ], + }, + { + "method": "GET", + "operationId": "SchedulesController_2024_06_11_getSchedules", + "path": "/v2/schedules", + "requiredParams": [ + "Authorization", + "cal-api-version", + ], + }, + { + "method": "POST", + "operationId": "SchedulesController_2024_06_11_createSchedule", + "path": "/v2/schedules", + "requiredParams": [ + "Authorization", + "cal-api-version", + ], + }, + { + "method": "DELETE", + "operationId": "SchedulesController_2024_06_11_deleteSchedule", + "path": "/v2/schedules/{scheduleId}", + "requiredParams": [ + "Authorization", + "cal-api-version", + "scheduleId", + ], + }, + { + "method": "GET", + "operationId": "SchedulesController_2024_06_11_getSchedule", + "path": "/v2/schedules/{scheduleId}", + "requiredParams": [ + "Authorization", + "cal-api-version", + "scheduleId", + ], + }, + { + "method": "PATCH", + "operationId": "SchedulesController_2024_06_11_updateSchedule", + "path": "/v2/schedules/{scheduleId}", + "requiredParams": [ + "Authorization", + "cal-api-version", + "scheduleId", + ], + }, + { + "method": "GET", + "operationId": "SchedulesController_2024_06_11_getDefaultSchedule", + "path": "/v2/schedules/default", + "requiredParams": [ + "Authorization", + "cal-api-version", + ], + }, + { + "method": "DELETE", + "operationId": "SelectedCalendarsController_deleteSelectedCalendar", + "path": "/v2/selected-calendars", + "requiredParams": [ + "Authorization", + "credentialId", + "externalId", + "integration", + ], + }, + { + "method": "POST", + "operationId": "SelectedCalendarsController_addSelectedCalendar", + "path": "/v2/selected-calendars", + "requiredParams": [ + "Authorization", + ], + }, + { + "method": "GET", + "operationId": "SlotsController_2024_09_04_getAvailableSlots", + "path": "/v2/slots", + "requiredParams": [ + "cal-api-version", + "end", + "start", + ], + }, + { + "method": "POST", + "operationId": "SlotsController_2024_09_04_reserveSlot", + "path": "/v2/slots/reservations", + "requiredParams": [ + "cal-api-version", + ], + }, + { + "method": "DELETE", + "operationId": "SlotsController_2024_09_04_deleteReservedSlot", + "path": "/v2/slots/reservations/{uid}", + "requiredParams": [ + "cal-api-version", + "uid", + ], + }, + { + "method": "GET", + "operationId": "SlotsController_2024_09_04_getReservedSlot", + "path": "/v2/slots/reservations/{uid}", + "requiredParams": [ + "cal-api-version", + "uid", + ], + }, + { + "method": "PATCH", + "operationId": "SlotsController_2024_09_04_updateReservedSlot", + "path": "/v2/slots/reservations/{uid}", + "requiredParams": [ + "cal-api-version", + "uid", + ], + }, + { + "method": "GET", + "operationId": "StripeController_check", + "path": "/v2/stripe/check", + "requiredParams": [ + "Authorization", + ], + }, + { + "method": "GET", + "operationId": "StripeController_redirect", + "path": "/v2/stripe/connect", + "requiredParams": [ + "Authorization", + ], + }, + { + "method": "GET", + "operationId": "StripeController_save", + "path": "/v2/stripe/save", + "requiredParams": [ + "code", + "state", + ], + }, + { + "method": "GET", + "operationId": "TeamsController_getTeams", + "path": "/v2/teams", + "requiredParams": [ + "Authorization", + ], + }, + { + "method": "POST", + "operationId": "TeamsController_createTeam", + "path": "/v2/teams", + "requiredParams": [ + "Authorization", + ], + }, + { + "method": "DELETE", + "operationId": "TeamsController_deleteTeam", + "path": "/v2/teams/{teamId}", + "requiredParams": [ + "Authorization", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "TeamsController_getTeam", + "path": "/v2/teams/{teamId}", + "requiredParams": [ + "Authorization", + "teamId", + ], + }, + { + "method": "PATCH", + "operationId": "TeamsController_updateTeam", + "path": "/v2/teams/{teamId}", + "requiredParams": [ + "Authorization", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "TeamsBookingsController_getAllTeamBookings", + "path": "/v2/teams/{teamId}/bookings", + "requiredParams": [ + "Authorization", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "TeamsEventTypesController_getTeamEventTypes", + "path": "/v2/teams/{teamId}/event-types", + "requiredParams": [ + "teamId", + ], + }, + { + "method": "POST", + "operationId": "TeamsEventTypesController_createTeamEventType", + "path": "/v2/teams/{teamId}/event-types", + "requiredParams": [ + "Authorization", + "teamId", + ], + }, + { + "method": "DELETE", + "operationId": "TeamsEventTypesController_deleteTeamEventType", + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}", + "requiredParams": [ + "Authorization", + "eventTypeId", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "TeamsEventTypesController_getTeamEventType", + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}", + "requiredParams": [ + "Authorization", + "eventTypeId", + "teamId", + ], + }, + { + "method": "PATCH", + "operationId": "TeamsEventTypesController_updateTeamEventType", + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}", + "requiredParams": [ + "Authorization", + "eventTypeId", + "teamId", + ], + }, + { + "method": "POST", + "operationId": "TeamsEventTypesController_createPhoneCall", + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}/create-phone-call", + "requiredParams": [ + "Authorization", + "eventTypeId", + "orgId", + "teamId", + ], + }, + { + "method": "DELETE", + "operationId": "TeamsEventTypesWebhooksController_deleteAllTeamEventTypeWebhooks", + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}/webhooks", + "requiredParams": [ + "Authorization", + "eventTypeId", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "TeamsEventTypesWebhooksController_getTeamEventTypeWebhooks", + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}/webhooks", + "requiredParams": [ + "Authorization", + "eventTypeId", + "teamId", + ], + }, + { + "method": "POST", + "operationId": "TeamsEventTypesWebhooksController_createTeamEventTypeWebhook", + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}/webhooks", + "requiredParams": [ + "Authorization", + "eventTypeId", + "teamId", + ], + }, + { + "method": "DELETE", + "operationId": "TeamsEventTypesWebhooksController_deleteTeamEventTypeWebhook", + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId}", + "requiredParams": [ + "Authorization", + "eventTypeId", + "teamId", + "webhookId", + ], + }, + { + "method": "GET", + "operationId": "TeamsEventTypesWebhooksController_getTeamEventTypeWebhook", + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId}", + "requiredParams": [ + "Authorization", + "eventTypeId", + "teamId", + "webhookId", + ], + }, + { + "method": "PATCH", + "operationId": "TeamsEventTypesWebhooksController_updateTeamEventTypeWebhook", + "path": "/v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId}", + "requiredParams": [ + "Authorization", + "eventTypeId", + "teamId", + "webhookId", + ], + }, + { + "method": "POST", + "operationId": "TeamsInviteController_createInvite", + "path": "/v2/teams/{teamId}/invite", + "requiredParams": [ + "Authorization", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "TeamsMembershipsController_getTeamMemberships", + "path": "/v2/teams/{teamId}/memberships", + "requiredParams": [ + "Authorization", + "teamId", + ], + }, + { + "method": "POST", + "operationId": "TeamsMembershipsController_createTeamMembership", + "path": "/v2/teams/{teamId}/memberships", + "requiredParams": [ + "Authorization", + "teamId", + ], + }, + { + "method": "DELETE", + "operationId": "TeamsMembershipsController_deleteTeamMembership", + "path": "/v2/teams/{teamId}/memberships/{membershipId}", + "requiredParams": [ + "Authorization", + "membershipId", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "TeamsMembershipsController_getTeamMembership", + "path": "/v2/teams/{teamId}/memberships/{membershipId}", + "requiredParams": [ + "Authorization", + "membershipId", + "teamId", + ], + }, + { + "method": "PATCH", + "operationId": "TeamsMembershipsController_updateTeamMembership", + "path": "/v2/teams/{teamId}/memberships/{membershipId}", + "requiredParams": [ + "Authorization", + "membershipId", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "TeamsSchedulesController_getTeamSchedules", + "path": "/v2/teams/{teamId}/schedules", + "requiredParams": [ + "Authorization", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "TeamsVerifiedResourcesController_getVerifiedEmails", + "path": "/v2/teams/{teamId}/verified-resources/emails", + "requiredParams": [ + "Authorization", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "TeamsVerifiedResourcesController_getVerifiedEmailById", + "path": "/v2/teams/{teamId}/verified-resources/emails/{id}", + "requiredParams": [ + "Authorization", + "id", + "teamId", + ], + }, + { + "method": "POST", + "operationId": "TeamsVerifiedResourcesController_requestEmailVerificationCode", + "path": "/v2/teams/{teamId}/verified-resources/emails/verification-code/request", + "requiredParams": [ + "Authorization", + "teamId", + ], + }, + { + "method": "POST", + "operationId": "TeamsVerifiedResourcesController_verifyEmail", + "path": "/v2/teams/{teamId}/verified-resources/emails/verification-code/verify", + "requiredParams": [ + "Authorization", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "TeamsVerifiedResourcesController_getVerifiedPhoneNumbers", + "path": "/v2/teams/{teamId}/verified-resources/phones", + "requiredParams": [ + "Authorization", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "TeamsVerifiedResourcesController_getVerifiedPhoneById", + "path": "/v2/teams/{teamId}/verified-resources/phones/{id}", + "requiredParams": [ + "Authorization", + "id", + "teamId", + ], + }, + { + "method": "POST", + "operationId": "TeamsVerifiedResourcesController_requestPhoneVerificationCode", + "path": "/v2/teams/{teamId}/verified-resources/phones/verification-code/request", + "requiredParams": [ + "Authorization", + "teamId", + ], + }, + { + "method": "POST", + "operationId": "TeamsVerifiedResourcesController_verifyPhoneNumber", + "path": "/v2/teams/{teamId}/verified-resources/phones/verification-code/verify", + "requiredParams": [ + "Authorization", + "teamId", + ], + }, + { + "method": "GET", + "operationId": "UserVerifiedResourcesController_getVerifiedEmails", + "path": "/v2/verified-resources/emails", + "requiredParams": [ + "Authorization", + ], + }, + { + "method": "GET", + "operationId": "UserVerifiedResourcesController_getVerifiedEmailById", + "path": "/v2/verified-resources/emails/{id}", + "requiredParams": [ + "Authorization", + "id", + ], + }, + { + "method": "POST", + "operationId": "UserVerifiedResourcesController_requestEmailVerificationCode", + "path": "/v2/verified-resources/emails/verification-code/request", + "requiredParams": [ + "Authorization", + ], + }, + { + "method": "POST", + "operationId": "UserVerifiedResourcesController_verifyEmail", + "path": "/v2/verified-resources/emails/verification-code/verify", + "requiredParams": [ + "Authorization", + ], + }, + { + "method": "GET", + "operationId": "UserVerifiedResourcesController_getVerifiedPhoneNumbers", + "path": "/v2/verified-resources/phones", + "requiredParams": [ + "Authorization", + ], + }, + { + "method": "GET", + "operationId": "UserVerifiedResourcesController_getVerifiedPhoneById", + "path": "/v2/verified-resources/phones/{id}", + "requiredParams": [ + "Authorization", + "id", + ], + }, + { + "method": "POST", + "operationId": "UserVerifiedResourcesController_requestPhoneVerificationCode", + "path": "/v2/verified-resources/phones/verification-code/request", + "requiredParams": [ + "Authorization", + ], + }, + { + "method": "POST", + "operationId": "UserVerifiedResourcesController_verifyPhoneNumber", + "path": "/v2/verified-resources/phones/verification-code/verify", + "requiredParams": [ + "Authorization", + ], + }, + { + "method": "GET", + "operationId": "WebhooksController_getWebhooks", + "path": "/v2/webhooks", + "requiredParams": [ + "Authorization", + ], + }, + { + "method": "POST", + "operationId": "WebhooksController_createWebhook", + "path": "/v2/webhooks", + "requiredParams": [ + "Authorization", + ], + }, + { + "method": "DELETE", + "operationId": "WebhooksController_deleteWebhook", + "path": "/v2/webhooks/{webhookId}", + "requiredParams": [ + "Authorization", + "webhookId", + ], + }, + { + "method": "GET", + "operationId": "WebhooksController_getWebhook", + "path": "/v2/webhooks/{webhookId}", + "requiredParams": [ + "Authorization", + "webhookId", + ], + }, + { + "method": "PATCH", + "operationId": "WebhooksController_updateWebhook", + "path": "/v2/webhooks/{webhookId}", + "requiredParams": [ + "Authorization", + "webhookId", + ], + }, +] +`; + +exports[`OpenAPI Endpoint Parameter Contracts > should match the tags-to-endpoints mapping snapshot 1`] = ` +{ + "Api Keys": [ + "POST /v2/api-keys/refresh", + ], + "Bookings": [ + "GET /v2/bookings", + "GET /v2/bookings/by-seat/{seatUid}", + "GET /v2/bookings/{bookingUid}", + "GET /v2/bookings/{bookingUid}/calendar-links", + "GET /v2/bookings/{bookingUid}/conferencing-sessions", + "GET /v2/bookings/{bookingUid}/recordings", + "GET /v2/bookings/{bookingUid}/references", + "GET /v2/bookings/{bookingUid}/transcripts", + "PATCH /v2/bookings/{bookingUid}/location", + "POST /v2/bookings", + "POST /v2/bookings/{bookingUid}/cancel", + "POST /v2/bookings/{bookingUid}/confirm", + "POST /v2/bookings/{bookingUid}/decline", + "POST /v2/bookings/{bookingUid}/mark-absent", + "POST /v2/bookings/{bookingUid}/reassign", + "POST /v2/bookings/{bookingUid}/reassign/{userId}", + "POST /v2/bookings/{bookingUid}/reschedule", + ], + "Bookings / Attendees": [ + "GET /v2/bookings/{bookingUid}/attendees", + "GET /v2/bookings/{bookingUid}/attendees/{attendeeId}", + "POST /v2/bookings/{bookingUid}/attendees", + ], + "Bookings / Guests": [ + "POST /v2/bookings/{bookingUid}/guests", + ], + "Cal Unified Calendars": [ + "GET /v2/calendars/{calendar}/event/{eventUid}", + "PATCH /v2/calendars/{calendar}/events/{eventUid}", + ], + "Calendars": [ + "GET /v2/calendars", + "GET /v2/calendars/busy-times", + "GET /v2/calendars/ics-feed/check", + "GET /v2/calendars/{calendar}/check", + "GET /v2/calendars/{calendar}/connect", + "GET /v2/calendars/{calendar}/save", + "POST /v2/calendars/ics-feed/save", + "POST /v2/calendars/{calendar}/credentials", + "POST /v2/calendars/{calendar}/disconnect", + ], + "Conferencing": [ + "DELETE /v2/conferencing/{app}/disconnect", + "GET /v2/conferencing", + "GET /v2/conferencing/default", + "GET /v2/conferencing/{app}/oauth/auth-url", + "GET /v2/conferencing/{app}/oauth/callback", + "POST /v2/conferencing/{app}/connect", + "POST /v2/conferencing/{app}/default", + ], + "Deprecated: Platform / Managed Users": [ + "DELETE /v2/oauth-clients/{clientId}/users/{userId}", + "GET /v2/oauth-clients/{clientId}/users", + "GET /v2/oauth-clients/{clientId}/users/{userId}", + "PATCH /v2/oauth-clients/{clientId}/users/{userId}", + "POST /v2/oauth-clients/{clientId}/users", + "POST /v2/oauth-clients/{clientId}/users/{userId}/force-refresh", + "POST /v2/oauth/{clientId}/refresh", + ], + "Deprecated: Platform / Webhooks": [ + "DELETE /v2/oauth-clients/{clientId}/webhooks", + "DELETE /v2/oauth-clients/{clientId}/webhooks/{webhookId}", + "GET /v2/oauth-clients/{clientId}/webhooks", + "GET /v2/oauth-clients/{clientId}/webhooks/{webhookId}", + "PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId}", + "POST /v2/oauth-clients/{clientId}/webhooks", + ], + "Deprecated: Platform OAuth Clients": [ + "DELETE /v2/oauth-clients/{clientId}", + "GET /v2/oauth-clients", + "GET /v2/oauth-clients/{clientId}", + "PATCH /v2/oauth-clients/{clientId}", + "POST /v2/oauth-clients", + ], + "Destination Calendars": [ + "PUT /v2/destination-calendars", + ], + "Event Types": [ + "DELETE /v2/event-types/{eventTypeId}", + "GET /v2/event-types", + "GET /v2/event-types/{eventTypeId}", + "PATCH /v2/event-types/{eventTypeId}", + "POST /v2/event-types", + ], + "Event Types / Webhooks": [ + "DELETE /v2/event-types/{eventTypeId}/webhooks", + "DELETE /v2/event-types/{eventTypeId}/webhooks/{webhookId}", + "GET /v2/event-types/{eventTypeId}/webhooks", + "GET /v2/event-types/{eventTypeId}/webhooks/{webhookId}", + "PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId}", + "POST /v2/event-types/{eventTypeId}/webhooks", + ], + "Event Types Private Links": [ + "DELETE /v2/event-types/{eventTypeId}/private-links/{linkId}", + "GET /v2/event-types/{eventTypeId}/private-links", + "PATCH /v2/event-types/{eventTypeId}/private-links/{linkId}", + "POST /v2/event-types/{eventTypeId}/private-links", + ], + "Managed Orgs": [ + "DELETE /v2/organizations/{orgId}/organizations/{managedOrganizationId}", + "GET /v2/organizations/{orgId}/organizations", + "GET /v2/organizations/{orgId}/organizations/{managedOrganizationId}", + "PATCH /v2/organizations/{orgId}/organizations/{managedOrganizationId}", + "POST /v2/organizations/{orgId}/organizations", + ], + "Me": [ + "GET /v2/me", + "PATCH /v2/me", + ], + "OAuth2": [ + "GET /v2/auth/oauth2/clients/{clientId}", + "POST /v2/auth/oauth2/token", + ], + "Organization Team Verified Resources": [ + "GET /v2/organizations/{orgId}/teams/{teamId}/verified-resources/emails", + "GET /v2/organizations/{orgId}/teams/{teamId}/verified-resources/emails/{id}", + "GET /v2/organizations/{orgId}/teams/{teamId}/verified-resources/phones", + "GET /v2/organizations/{orgId}/teams/{teamId}/verified-resources/phones/{id}", + "POST /v2/organizations/{orgId}/teams/{teamId}/verified-resources/emails/verification-code/request", + "POST /v2/organizations/{orgId}/teams/{teamId}/verified-resources/emails/verification-code/verify", + "POST /v2/organizations/{orgId}/teams/{teamId}/verified-resources/phones/verification-code/request", + "POST /v2/organizations/{orgId}/teams/{teamId}/verified-resources/phones/verification-code/verify", + ], + "Orgs / Attributes": [ + "DELETE /v2/organizations/{orgId}/attributes/{attributeId}", + "GET /v2/organizations/{orgId}/attributes", + "GET /v2/organizations/{orgId}/attributes/{attributeId}", + "PATCH /v2/organizations/{orgId}/attributes/{attributeId}", + "POST /v2/organizations/{orgId}/attributes", + ], + "Orgs / Attributes / Options": [ + "DELETE /v2/organizations/{orgId}/attributes/options/{userId}/{attributeOptionId}", + "DELETE /v2/organizations/{orgId}/attributes/{attributeId}/options/{optionId}", + "GET /v2/organizations/{orgId}/attributes/options/{userId}", + "GET /v2/organizations/{orgId}/attributes/slugs/{attributeSlug}/options/assigned", + "GET /v2/organizations/{orgId}/attributes/{attributeId}/options", + "GET /v2/organizations/{orgId}/attributes/{attributeId}/options/assigned", + "PATCH /v2/organizations/{orgId}/attributes/{attributeId}/options/{optionId}", + "POST /v2/organizations/{orgId}/attributes/options/{userId}", + "POST /v2/organizations/{orgId}/attributes/{attributeId}/options", + ], + "Orgs / Bookings": [ + "GET /v2/organizations/{orgId}/bookings", + ], + "Orgs / Delegation Credentials": [ + "PATCH /v2/organizations/{orgId}/delegation-credentials/{credentialId}", + "POST /v2/organizations/{orgId}/delegation-credentials", + ], + "Orgs / Memberships": [ + "DELETE /v2/organizations/{orgId}/memberships/{membershipId}", + "GET /v2/organizations/{orgId}/memberships", + "GET /v2/organizations/{orgId}/memberships/{membershipId}", + "PATCH /v2/organizations/{orgId}/memberships/{membershipId}", + "POST /v2/organizations/{orgId}/memberships", + ], + "Orgs / Roles": [ + "DELETE /v2/organizations/{orgId}/roles/{roleId}", + "GET /v2/organizations/{orgId}/roles", + "GET /v2/organizations/{orgId}/roles/{roleId}", + "PATCH /v2/organizations/{orgId}/roles/{roleId}", + "POST /v2/organizations/{orgId}/roles", + ], + "Orgs / Roles / Permissions": [ + "DELETE /v2/organizations/{orgId}/roles/{roleId}/permissions", + "DELETE /v2/organizations/{orgId}/roles/{roleId}/permissions/{permission}", + "GET /v2/organizations/{orgId}/roles/{roleId}/permissions", + "POST /v2/organizations/{orgId}/roles/{roleId}/permissions", + "PUT /v2/organizations/{orgId}/roles/{roleId}/permissions", + ], + "Orgs / Routing forms": [ + "GET /v2/organizations/{orgId}/routing-forms", + "GET /v2/organizations/{orgId}/routing-forms/{routingFormId}/responses", + "PATCH /v2/organizations/{orgId}/routing-forms/{routingFormId}/responses/{responseId}", + "POST /v2/organizations/{orgId}/routing-forms/{routingFormId}/responses", + ], + "Orgs / Schedules": [ + "GET /v2/organizations/{orgId}/schedules", + ], + "Orgs / Teams": [ + "DELETE /v2/organizations/{orgId}/teams/{teamId}", + "GET /v2/organizations/{orgId}/teams", + "GET /v2/organizations/{orgId}/teams/me", + "GET /v2/organizations/{orgId}/teams/{teamId}", + "PATCH /v2/organizations/{orgId}/teams/{teamId}", + "POST /v2/organizations/{orgId}/teams", + ], + "Orgs / Teams / Bookings": [ + "GET /v2/organizations/{orgId}/teams/{teamId}/bookings", + "GET /v2/organizations/{orgId}/teams/{teamId}/bookings/{bookingUid}/references", + ], + "Orgs / Teams / Conferencing": [ + "DELETE /v2/organizations/{orgId}/teams/{teamId}/conferencing/{app}/disconnect", + "GET /v2/organizations/{orgId}/teams/{teamId}/conferencing", + "GET /v2/organizations/{orgId}/teams/{teamId}/conferencing/default", + "GET /v2/organizations/{orgId}/teams/{teamId}/conferencing/{app}/oauth/auth-url", + "GET /v2/organizations/{orgId}/teams/{teamId}/conferencing/{app}/oauth/callback", + "POST /v2/organizations/{orgId}/teams/{teamId}/conferencing/{app}/connect", + "POST /v2/organizations/{orgId}/teams/{teamId}/conferencing/{app}/default", + ], + "Orgs / Teams / Event Types": [ + "DELETE /v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}", + "GET /v2/organizations/{orgId}/teams/event-types", + "GET /v2/organizations/{orgId}/teams/{teamId}/event-types", + "GET /v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}", + "PATCH /v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}", + "POST /v2/organizations/{orgId}/teams/{teamId}/event-types", + "POST /v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}/create-phone-call", + ], + "Orgs / Teams / Event Types / Private Links": [ + "DELETE /v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}/private-links/{linkId}", + "GET /v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}/private-links", + "PATCH /v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}/private-links/{linkId}", + "POST /v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}/private-links", + ], + "Orgs / Teams / Invite": [ + "POST /v2/organizations/{orgId}/teams/{teamId}/invite", + ], + "Orgs / Teams / Memberships": [ + "DELETE /v2/organizations/{orgId}/teams/{teamId}/memberships/{membershipId}", + "GET /v2/organizations/{orgId}/teams/{teamId}/memberships", + "GET /v2/organizations/{orgId}/teams/{teamId}/memberships/{membershipId}", + "PATCH /v2/organizations/{orgId}/teams/{teamId}/memberships/{membershipId}", + "POST /v2/organizations/{orgId}/teams/{teamId}/memberships", + ], + "Orgs / Teams / Roles": [ + "DELETE /v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}", + "GET /v2/organizations/{orgId}/teams/{teamId}/roles", + "GET /v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}", + "PATCH /v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}", + "POST /v2/organizations/{orgId}/teams/{teamId}/roles", + ], + "Orgs / Teams / Roles / Permissions": [ + "DELETE /v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions", + "DELETE /v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions/{permission}", + "GET /v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions", + "POST /v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions", + "PUT /v2/organizations/{orgId}/teams/{teamId}/roles/{roleId}/permissions", + ], + "Orgs / Teams / Routing forms": [ + "GET /v2/organizations/{orgId}/teams/{teamId}/routing-forms", + ], + "Orgs / Teams / Routing forms / Responses": [ + "GET /v2/organizations/{orgId}/teams/{teamId}/routing-forms/{routingFormId}/responses", + "PATCH /v2/organizations/{orgId}/teams/{teamId}/routing-forms/{routingFormId}/responses/{responseId}", + "POST /v2/organizations/{orgId}/teams/{teamId}/routing-forms/{routingFormId}/responses", + ], + "Orgs / Teams / Schedules": [ + "GET /v2/organizations/{orgId}/teams/{teamId}/schedules", + ], + "Orgs / Teams / Stripe": [ + "GET /v2/organizations/{orgId}/teams/{teamId}/stripe/check", + "GET /v2/organizations/{orgId}/teams/{teamId}/stripe/connect", + "GET /v2/organizations/{orgId}/teams/{teamId}/stripe/save", + ], + "Orgs / Teams / Users / Schedules": [ + "GET /v2/organizations/{orgId}/teams/{teamId}/users/{userId}/schedules", + ], + "Orgs / Teams / Workflows": [ + "DELETE /v2/organizations/{orgId}/teams/{teamId}/workflows/{workflowId}", + "DELETE /v2/organizations/{orgId}/teams/{teamId}/workflows/{workflowId}/routing-form", + "GET /v2/organizations/{orgId}/teams/{teamId}/workflows", + "GET /v2/organizations/{orgId}/teams/{teamId}/workflows/routing-form", + "GET /v2/organizations/{orgId}/teams/{teamId}/workflows/{workflowId}", + "GET /v2/organizations/{orgId}/teams/{teamId}/workflows/{workflowId}/routing-form", + "PATCH /v2/organizations/{orgId}/teams/{teamId}/workflows/{workflowId}", + "PATCH /v2/organizations/{orgId}/teams/{teamId}/workflows/{workflowId}/routing-form", + "POST /v2/organizations/{orgId}/teams/{teamId}/workflows", + "POST /v2/organizations/{orgId}/teams/{teamId}/workflows/routing-form", + ], + "Orgs / Users": [ + "DELETE /v2/organizations/{orgId}/users/{userId}", + "GET /v2/organizations/{orgId}/users", + "PATCH /v2/organizations/{orgId}/users/{userId}", + "POST /v2/organizations/{orgId}/users", + ], + "Orgs / Users / Bookings": [ + "GET /v2/organizations/{orgId}/users/{userId}/bookings", + ], + "Orgs / Users / OOO": [ + "DELETE /v2/organizations/{orgId}/users/{userId}/ooo/{oooId}", + "GET /v2/organizations/{orgId}/ooo", + "GET /v2/organizations/{orgId}/users/{userId}/ooo", + "PATCH /v2/organizations/{orgId}/users/{userId}/ooo/{oooId}", + "POST /v2/organizations/{orgId}/users/{userId}/ooo", + ], + "Orgs / Users / Schedules": [ + "DELETE /v2/organizations/{orgId}/users/{userId}/schedules/{scheduleId}", + "GET /v2/organizations/{orgId}/users/{userId}/schedules", + "GET /v2/organizations/{orgId}/users/{userId}/schedules/{scheduleId}", + "PATCH /v2/organizations/{orgId}/users/{userId}/schedules/{scheduleId}", + "POST /v2/organizations/{orgId}/users/{userId}/schedules", + ], + "Orgs / Webhooks": [ + "DELETE /v2/organizations/{orgId}/webhooks/{webhookId}", + "GET /v2/organizations/{orgId}/webhooks", + "GET /v2/organizations/{orgId}/webhooks/{webhookId}", + "PATCH /v2/organizations/{orgId}/webhooks/{webhookId}", + "POST /v2/organizations/{orgId}/webhooks", + ], + "Routing forms": [ + "POST /v2/routing-forms/{routingFormId}/calculate-slots", + ], + "Schedules": [ + "DELETE /v2/schedules/{scheduleId}", + "GET /v2/schedules", + "GET /v2/schedules/default", + "GET /v2/schedules/{scheduleId}", + "PATCH /v2/schedules/{scheduleId}", + "POST /v2/schedules", + ], + "Selected Calendars": [ + "DELETE /v2/selected-calendars", + "POST /v2/selected-calendars", + ], + "Slots": [ + "DELETE /v2/slots/reservations/{uid}", + "GET /v2/slots", + "GET /v2/slots/reservations/{uid}", + "PATCH /v2/slots/reservations/{uid}", + "POST /v2/slots/reservations", + ], + "Stripe": [ + "GET /v2/stripe/check", + "GET /v2/stripe/connect", + "GET /v2/stripe/save", + ], + "Teams": [ + "DELETE /v2/teams/{teamId}", + "GET /v2/teams", + "GET /v2/teams/{teamId}", + "PATCH /v2/teams/{teamId}", + "POST /v2/teams", + ], + "Teams / Bookings": [ + "GET /v2/teams/{teamId}/bookings", + ], + "Teams / Event Types": [ + "DELETE /v2/teams/{teamId}/event-types/{eventTypeId}", + "GET /v2/teams/{teamId}/event-types", + "GET /v2/teams/{teamId}/event-types/{eventTypeId}", + "PATCH /v2/teams/{teamId}/event-types/{eventTypeId}", + "POST /v2/teams/{teamId}/event-types", + "POST /v2/teams/{teamId}/event-types/{eventTypeId}/create-phone-call", + ], + "Teams / Event Types / Webhooks": [ + "DELETE /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks", + "DELETE /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId}", + "GET /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks", + "GET /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId}", + "PATCH /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId}", + "POST /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks", + ], + "Teams / Invite": [ + "POST /v2/teams/{teamId}/invite", + ], + "Teams / Memberships": [ + "DELETE /v2/teams/{teamId}/memberships/{membershipId}", + "GET /v2/teams/{teamId}/memberships", + "GET /v2/teams/{teamId}/memberships/{membershipId}", + "PATCH /v2/teams/{teamId}/memberships/{membershipId}", + "POST /v2/teams/{teamId}/memberships", + ], + "Teams / Schedules": [ + "GET /v2/teams/{teamId}/schedules", + ], + "Teams Verified Resources": [ + "GET /v2/teams/{teamId}/verified-resources/emails", + "GET /v2/teams/{teamId}/verified-resources/emails/{id}", + "GET /v2/teams/{teamId}/verified-resources/phones", + "GET /v2/teams/{teamId}/verified-resources/phones/{id}", + "POST /v2/teams/{teamId}/verified-resources/emails/verification-code/request", + "POST /v2/teams/{teamId}/verified-resources/emails/verification-code/verify", + "POST /v2/teams/{teamId}/verified-resources/phones/verification-code/request", + "POST /v2/teams/{teamId}/verified-resources/phones/verification-code/verify", + ], + "Verified Resources": [ + "GET /v2/verified-resources/emails", + "GET /v2/verified-resources/emails/{id}", + "GET /v2/verified-resources/phones", + "GET /v2/verified-resources/phones/{id}", + "POST /v2/verified-resources/emails/verification-code/request", + "POST /v2/verified-resources/emails/verification-code/verify", + "POST /v2/verified-resources/phones/verification-code/request", + "POST /v2/verified-resources/phones/verification-code/verify", + ], + "Webhooks": [ + "DELETE /v2/webhooks/{webhookId}", + "GET /v2/webhooks", + "GET /v2/webhooks/{webhookId}", + "PATCH /v2/webhooks/{webhookId}", + "POST /v2/webhooks", + ], +} +`; diff --git a/packages/cli/src/__tests__/endpoint-parameter-contracts.test.ts b/packages/cli/src/__tests__/endpoint-parameter-contracts.test.ts new file mode 100644 index 0000000..ca36ff2 --- /dev/null +++ b/packages/cli/src/__tests__/endpoint-parameter-contracts.test.ts @@ -0,0 +1,338 @@ +import { readFileSync } from "node:fs"; +import { resolve } from "node:path"; +import { describe, expect, it } from "vitest"; + +/** + * Snapshots the exact parameter contract for every endpoint in the OpenAPI spec. + * Any change to openapi.json — params added/removed, required flag flipped, + * types changed, request body schema altered — will cause a snapshot diff + * that must be explicitly reviewed and accepted. + */ + +const OPENAPI_PATH = resolve(__dirname, "../../../../docs/api-reference/v2/openapi.json"); + +interface OpenApiParameter { + name: string; + in: string; + required?: boolean; + schema?: { + type?: string; + enum?: string[]; + items?: { type?: string }; + default?: unknown; + }; + description?: string; +} + +interface SchemaProperty { + type?: string; + enum?: string[]; + items?: { type?: string; $ref?: string }; + $ref?: string; + description?: string; + default?: unknown; + format?: string; +} + +interface SchemaObject { + type?: string; + properties?: Record; + required?: string[]; + $ref?: string; + allOf?: SchemaObject[]; + oneOf?: SchemaObject[]; + anyOf?: SchemaObject[]; + items?: SchemaObject; +} + +interface OpenApiOperation { + operationId?: string; + tags?: string[]; + summary?: string; + parameters?: OpenApiParameter[]; + requestBody?: { + required?: boolean; + content?: Record< + string, + { + schema?: SchemaObject; + } + >; + }; + responses?: Record< + string, + { + description?: string; + content?: Record< + string, + { + schema?: SchemaObject; + } + >; + } + >; +} + +interface OpenApiSpec { + paths: Record>; + components?: { + schemas?: Record; + }; +} + +function loadOpenApiSpec(): OpenApiSpec { + const content = readFileSync(OPENAPI_PATH, "utf-8"); + return JSON.parse(content) as OpenApiSpec; +} + +function resolveRefName(ref: string): string { + const parts = ref.split("/"); + return parts[parts.length - 1]; +} + +// Resolves one level deep to keep snapshots readable +function resolveSchemaContract( + schema: SchemaObject | undefined, + allSchemas: Record +): object | null { + if (!schema) return null; + + if (schema.$ref) { + const name = resolveRefName(schema.$ref); + const resolved = allSchemas[name]; + if (!resolved) return { $ref: name }; + return resolveSchemaContract(resolved, allSchemas); + } + + if (schema.allOf) { + const merged: { + properties: Record; + required: string[]; + } = { properties: {}, required: [] }; + + for (const sub of schema.allOf) { + const resolved = resolveSchemaContract(sub, allSchemas) as { + properties?: Record; + required?: string[]; + } | null; + if (resolved) { + if (resolved.properties) { + Object.assign(merged.properties, resolved.properties); + } + if (resolved.required) { + merged.required.push(...resolved.required); + } + } + } + return { + properties: merged.properties, + required: merged.required.sort(), + }; + } + + if (schema.oneOf) { + return { + oneOf: schema.oneOf.map((s) => { + if (s.$ref) return resolveRefName(s.$ref); + return resolveSchemaContract(s, allSchemas); + }), + }; + } + + if (schema.anyOf) { + return { + anyOf: schema.anyOf.map((s) => { + if (s.$ref) return resolveRefName(s.$ref); + return resolveSchemaContract(s, allSchemas); + }), + }; + } + + const result: Record = {}; + + if (schema.properties) { + const props: Record = {}; + for (const [propName, propSchema] of Object.entries(schema.properties)) { + if (propSchema.$ref) { + props[propName] = resolveRefName(propSchema.$ref); + } else if (propSchema.type === "array" && propSchema.items) { + const itemType = propSchema.items.$ref + ? resolveRefName(propSchema.items.$ref) + : propSchema.items.type || "unknown"; + props[propName] = `array<${itemType}>`; + } else if (propSchema.enum) { + props[propName] = `enum(${propSchema.enum.join("|")})`; + } else { + props[propName] = propSchema.type || "unknown"; + } + } + result.properties = props; + } + + if (schema.required) { + result.required = [...schema.required].sort(); + } + + if (schema.type === "array" && schema.items) { + if (schema.items.$ref) { + result.arrayOf = resolveRefName(schema.items.$ref); + } else { + result.arrayOf = schema.items.type || "unknown"; + } + } + + return Object.keys(result).length > 0 ? result : null; +} + +interface ParameterContract { + name: string; + in: string; + required: boolean; + type: string | undefined; + enum?: string[]; +} + +interface EndpointContract { + method: string; + path: string; + operationId: string; + tags: string[]; + parameters: ParameterContract[]; + requestBody: object | null; + responseCodes: string[]; +} + +function extractEndpointContract( + method: string, + path: string, + operation: OpenApiOperation, + allSchemas: Record +): EndpointContract { + const parameters: ParameterContract[] = (operation.parameters || []).map((p) => { + const contract: ParameterContract = { + name: p.name, + in: p.in, + required: p.required === true, + type: p.schema?.type, + }; + if (p.schema?.enum) { + contract.enum = p.schema.enum; + } + return contract; + }); + + parameters.sort((a, b) => { + if (a.in !== b.in) return a.in.localeCompare(b.in); + return a.name.localeCompare(b.name); + }); + + let requestBody: object | null = null; + if (operation.requestBody?.content) { + const jsonContent = operation.requestBody.content["application/json"]; + if (jsonContent?.schema) { + requestBody = resolveSchemaContract(jsonContent.schema, allSchemas); + } + } + + const responseCodes = Object.keys(operation.responses || {}).sort(); + + return { + method: method.toUpperCase(), + path, + operationId: operation.operationId || "unknown", + tags: [...(operation.tags || [])].sort(), + parameters, + requestBody, + responseCodes, + }; +} + +describe("OpenAPI Endpoint Parameter Contracts", () => { + const spec = loadOpenApiSpec(); + const allSchemas = spec.components?.schemas || {}; + + const contracts: EndpointContract[] = []; + for (const [path, methods] of Object.entries(spec.paths)) { + for (const [method, operation] of Object.entries(methods)) { + if (typeof operation === "object" && operation.operationId) { + contracts.push(extractEndpointContract(method, path, operation, allSchemas)); + } + } + } + + contracts.sort((a, b) => { + if (a.path !== b.path) return a.path.localeCompare(b.path); + return a.method.localeCompare(b.method); + }); + + it("should match the full endpoint parameter contract snapshot", () => { + expect(contracts).toMatchSnapshot(); + }); + + it("should match the parameter-only snapshot for quick diffing", () => { + const parameterSummary = contracts.map((c) => ({ + operationId: c.operationId, + method: c.method, + path: c.path, + parameters: c.parameters.map((p) => ({ + name: p.name, + in: p.in, + required: p.required, + type: p.type, + ...(p.enum ? { enum: p.enum } : {}), + })), + })); + expect(parameterSummary).toMatchSnapshot(); + }); + + it("should match the request body schema snapshot", () => { + const bodySummary = contracts + .filter((c) => c.requestBody !== null) + .map((c) => ({ + operationId: c.operationId, + method: c.method, + path: c.path, + requestBody: c.requestBody, + })); + expect(bodySummary).toMatchSnapshot(); + }); + + it("should match the required parameters snapshot", () => { + const requiredParams = contracts.map((c) => ({ + operationId: c.operationId, + method: c.method, + path: c.path, + requiredParams: c.parameters.filter((p) => p.required).map((p) => p.name), + })); + expect(requiredParams).toMatchSnapshot(); + }); + + it("should match the component schemas snapshot", () => { + const schemaContracts: Record = {}; + for (const [name, schema] of Object.entries(allSchemas)) { + schemaContracts[name] = resolveSchemaContract(schema, allSchemas); + } + + const sortedSchemas = Object.fromEntries( + Object.entries(schemaContracts).sort(([a], [b]) => a.localeCompare(b)) + ); + expect(sortedSchemas).toMatchSnapshot(); + }); + + it("should match the tags-to-endpoints mapping snapshot", () => { + const tagMap: Record = {}; + for (const c of contracts) { + for (const tag of c.tags) { + if (!tagMap[tag]) tagMap[tag] = []; + tagMap[tag].push(`${c.method} ${c.path}`); + } + } + + const sortedTagMap = Object.fromEntries( + Object.entries(tagMap) + .sort(([a], [b]) => a.localeCompare(b)) + .map(([tag, endpoints]) => [tag, endpoints.sort()]) + ); + expect(sortedTagMap).toMatchSnapshot(); + }); +});