diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 8b470ce5..b8d067d6 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,35 +1,35 @@ lockVersion: 2.0.0 id: 6a2d7b70-1321-499a-8677-a99a42c2e4b6 management: - docChecksum: c01c92b92cf5b471cebf2f958cb848a2 + docChecksum: f4468d2a16a93d0c8b7161d176bf33c2 docVersion: 0.0.1 - speakeasyVersion: 1.680.0 - generationVersion: 2.788.4 - releaseVersion: 1.2.1 - configChecksum: 873e9da112919ddcf6af66a0243bbd0f + speakeasyVersion: 1.717.0 + generationVersion: 2.824.1 + releaseVersion: 1.3.0 + configChecksum: 101adf3b3cf7057f161f08bf856034ab repoURL: https://github.com/firehydrant/firehydrant-typescript-sdk.git installationURL: https://github.com/firehydrant/firehydrant-typescript-sdk published: true persistentEdits: - generation_id: a42d51fd-3800-4895-8c14-fabd933d9480 - pristine_commit_hash: c017c9e8efa329b4844a205b7908e4f094533da6 - pristine_tree_hash: 5cd72b1c2771b96bb318898aea03c64b46576e63 + generation_id: ba4a50df-03de-4bb1-8bad-2bb76df20c9a + pristine_commit_hash: f17e9f08f00c52d3c0827695ec4e9d18b75c7d40 + pristine_tree_hash: 829526cc4c11c74bc0a4b93f5d3aaa804ce9db77 features: typescript: additionalDependencies: 0.1.0 - constsAndDefaults: 0.1.12 - core: 3.26.16 + constsAndDefaults: 0.1.13 + core: 3.26.27 defaultEnabledRetries: 0.1.0 devContainers: 2.90.1 enumUnions: 0.1.0 envVarSecurityUsage: 0.1.2 - globalSecurity: 2.82.14 + globalSecurity: 2.82.15 globalSecurityCallbacks: 0.1.0 globalSecurityFlattening: 0.1.0 globalServerURLs: 2.83.0 - mcpServer: 0.9.3 + mcpServer: 0.9.4 nullables: 0.1.1 - responseFormat: 0.2.3 + responseFormat: 0.3.0 retries: 2.83.0 sdkHooks: 0.4.0 uploadStreams: 0.1.0 @@ -122,10 +122,6 @@ trackedFiles: id: b6154ef5d292 last_write_checksum: sha1:7f52fd793f1a7b0075d1c679ddb213a40801f937 pristine_git_object: cf83ea40c24373970ee4b324e3a2b76293964754 - docs/models/components/annotations.md: - id: 49a8527dded6 - last_write_checksum: sha1:a80bef1ba442b9f9896f477038d4af04d3a5c2db - pristine_git_object: 3b7ff9518b8403b28e38afbf67d2f83e05733020 docs/models/components/attachmentslinkentity.md: id: d72204f97150 last_write_checksum: sha1:785b98c94ec2044fc96615b3693d1bce7242e042 @@ -150,6 +146,10 @@ trackedFiles: id: beb515f5bc4d last_write_checksum: sha1:a3ca168603e20a58eb9b00cf779c3b2df54d4f64 pristine_git_object: e7d91d0a7a713b4393ee4ca903b1ca7cc6a18876 + docs/models/components/audiencesentitiesaudienceentitypaginated.md: + id: 0bdf2b30ea63 + last_write_checksum: sha1:4975a6ee81109f5bb4fb9f739aa8a70b7e9bfdd5 + pristine_git_object: 7571bccc7223bc99b1ccce2a344d2984af50245c docs/models/components/audiencesentitiesaudiencesummariesentity.md: id: fcc5560167ae last_write_checksum: sha1:346294f9236a50e23245e6b8ca4b992c4853f30f @@ -180,12 +180,12 @@ trackedFiles: pristine_git_object: e6d692fe2cf64535493a66a2963b9b1e7d04514b docs/models/components/bulkupdateincidentmilestones.md: id: 56481b90b2a1 - last_write_checksum: sha1:e61b4960c87481bcedd3168debbbc01468c1a738 - pristine_git_object: d0b5570d25bb978f840982a346af641f83095438 + last_write_checksum: sha1:f9ee965369cc40f540885eb25801e65180b4d9fe + pristine_git_object: 7613fc1a85d3fe0a4a6866b37279478834dd0362 docs/models/components/bulkupdateincidentmilestonesmilestone.md: id: f9dc6aa135e8 - last_write_checksum: sha1:fb83264f4c45de00558ea48a5310b68507ae0aca - pristine_git_object: a57341402b3fe46c44ef2c0ba3937d03e22e85f5 + last_write_checksum: sha1:9cec185987230f3c5cd0281c4d9411948d483050 + pristine_git_object: 562671e71f98dd04f6c8dd0daff4f1053f5a7217 docs/models/components/changeentity.md: id: 7b9a752c439d last_write_checksum: sha1:06eba7478463d703c49a04915038c1991764ef60 @@ -258,6 +258,10 @@ trackedFiles: id: cc913f06df0d last_write_checksum: sha1:a95896800d92790e65214a6c532b7b7072d7a44a pristine_git_object: 62fdec395bd734d8f1e12ac30c0b493ecce9db7c + docs/models/components/content.md: + id: 171de262e3cc + last_write_checksum: sha1:e0e4daaa0f0c253b8e148e6063dc6992b94018d1 + pristine_git_object: 59443942fc0a5860ebdbaca7b41599fd8a32ba1d docs/models/components/context.md: id: 9354f6221a1b last_write_checksum: sha1:d9629157aedcd3a6f6d5f20486af851b85341a38 @@ -324,12 +328,24 @@ trackedFiles: pristine_git_object: f576fed69bfe0e06653f865174415d6c2870bf38 docs/models/components/createenvironment.md: id: b13b0c36eb30 - last_write_checksum: sha1:8540eb701e495ce5fcbc1b317e9825495c74a62f - pristine_git_object: 77be449815ed073f693bdc39caf2b096731a06f7 + last_write_checksum: sha1:9159a0c2f2d53c83043433dfdbfdcfe616c4be80 + pristine_git_object: 0a1641d856139b4ff9d6da8f30ea33252a8b3766 + docs/models/components/createenvironmentfunctionality.md: + id: 6d80e63fd656 + last_write_checksum: sha1:656bc6ae8c969cd787b7cd95b7a1354aeee4eeee + pristine_git_object: 1b6ccf58d81e480961bde0465ca67364e66417d4 + docs/models/components/createenvironmentservice.md: + id: c6e26ff9efed + last_write_checksum: sha1:a9ba9084c5af654784a664bcfcca70f41f7885e3 + pristine_git_object: 91e3e3a3c050a382bfc0c8a72d4a171648046464 docs/models/components/createfunctionality.md: id: 34f06cb9e54e - last_write_checksum: sha1:125265f96ea12ed4bc84d3ade1a2800e6b49780e - pristine_git_object: 9dc94ef825e0bed3958cd10fa130c611cfc51756 + last_write_checksum: sha1:53d259925cfed18d718715d650987876648f7cf1 + pristine_git_object: 667313986680230c2453ed05eaeaee318533240e + docs/models/components/createfunctionalityenvironment.md: + id: 1561f3edc884 + last_write_checksum: sha1:19db8180f4b8291336058af7506ca63aea994081 + pristine_git_object: cace264094f9a33086d0c7b2565aeecf17439812 docs/models/components/createfunctionalityexternalresource.md: id: 0f8f8ff1ec8d last_write_checksum: sha1:6fe26b91a281593f5ed0d550e6d3992cf1e54457 @@ -388,8 +404,8 @@ trackedFiles: pristine_git_object: 2fe86df81dcbf4e8b3257ea5438825c1afad1e22 docs/models/components/createincidentmilestone.md: id: 87b9ce5eedeb - last_write_checksum: sha1:d2da64b1886d434aabdca847c13257cc532d40d4 - pristine_git_object: 3a1aa8c70c5fe8fc2d746eb09e7b170ffad53675 + last_write_checksum: sha1:fcead76f233ccfc15dbc5eec941191739dec2b13 + pristine_git_object: 98d62ef2cd78f1ad7995ece809abef81122bbce9 docs/models/components/createincidentnote.md: id: 6b123f72fc27 last_write_checksum: sha1:a3c5654b7fa38567cc330edbff68ea5bcfa6529f @@ -476,8 +492,8 @@ trackedFiles: pristine_git_object: 7b0bb33adc56bc5e740d275a35240df46d5693fe docs/models/components/createoncallshift.md: id: c702b7507a02 - last_write_checksum: sha1:750d184f8f4983e95da30a86afdf9289f78089d6 - pristine_git_object: ae116b20381e5f25a76da18641e4f7896579a6bb + last_write_checksum: sha1:3bac69f0cd49048b5c5c7d6b7447b60e78e793ae + pristine_git_object: eb706e5760e1857873922c0c1017e74d5b31e20a docs/models/components/createpostmortemreason.md: id: 385b1bc15f8c last_write_checksum: sha1:4e2e504aa0cc07b12cff42124dfd816bfcaae429 @@ -496,8 +512,8 @@ trackedFiles: pristine_git_object: b70e6d13a2b23a94c0b84baa9e0f7e6a2dd05e66 docs/models/components/createrolepermission.md: id: ccfa9152fe22 - last_write_checksum: sha1:c44ef3e98c802d370665e536f04438ddb35ca9e3 - pristine_git_object: fc97f95596686d0ae3c5959e6f1885e3dfe8c236 + last_write_checksum: sha1:8d5fc1e0f73357cad0587580d17d3d6e8052b1d3 + pristine_git_object: 1e1c7bb28eb8173bf41c31428d9acef9931d6e5a docs/models/components/createrunbook.md: id: 41b6c7c2ed6b last_write_checksum: sha1:29321bfd2e047b0c5e324383967091e61033e4e8 @@ -532,8 +548,8 @@ trackedFiles: pristine_git_object: a008333aeb92f41428aa5bf467d70e0c29009a06 docs/models/components/createscheduledmaintenance.md: id: cbea695e097e - last_write_checksum: sha1:62b50447b6a99d0db77c5bbbb1394f7f457b8838 - pristine_git_object: d1395b7299b3f635d9236cd91e90a159861be07e + last_write_checksum: sha1:d3925145abeb1c46951b2a1d4f6741b48321ad69 + pristine_git_object: b63a0847169189238770c7be6ff1dbc616a3c91b docs/models/components/createscheduledmaintenanceimpact.md: id: 434ed56454ea last_write_checksum: sha1:403b648ae1938abdba057db6840d0421b25c49b2 @@ -572,8 +588,8 @@ trackedFiles: pristine_git_object: a985f9d21061ecf172fa6866d6498e25d958455a docs/models/components/createservice.md: id: e5e19a764178 - last_write_checksum: sha1:ab890aef0c4ea2cc48795d63d16617bcd29f87dc - pristine_git_object: 365740c9681d4529a5ff133cd873c2cb555c8fd6 + last_write_checksum: sha1:e2e8490b7f7b07e142f56fe0f2099afe308d12fa + pristine_git_object: fa1cec4b6cc55c25ab20f9219bc75a98e30ca1eb docs/models/components/createservicechecklistresponse.md: id: 4238e75f1519 last_write_checksum: sha1:45d92b8434551f9acbf004e4051e3e433bb528b6 @@ -582,6 +598,10 @@ trackedFiles: id: 52b03332a9dc last_write_checksum: sha1:0f98c28383d70b63406d3592a81c4bf0d07a342e pristine_git_object: 495382a2bb29eaf0112ed62fd03bd73d505982a0 + docs/models/components/createserviceenvironment.md: + id: 2144d057ff00 + last_write_checksum: sha1:c716461f86fc593d7f705f1fc3508cad716c32ab + pristine_git_object: 8ce8137290815269e73210362396c1f87a0085d9 docs/models/components/createserviceexternalresource.md: id: c6656f20dff3 last_write_checksum: sha1:6e94db4eb5ec8b260f6d775c444b488aff553508 @@ -680,8 +700,32 @@ trackedFiles: pristine_git_object: 46e85e17058ec8559a8b569a834d3f43baf55769 docs/models/components/createsignalseventsourceexamplepayload.md: id: 27dccb6340c0 - last_write_checksum: sha1:d1afbedfe2132f4b60b1b4967989f919647f61e4 - pristine_git_object: 661cb36b09a23517652ae2512a9497f80d7549b7 + last_write_checksum: sha1:810085dafdc78625bb185e2a748c69fdc421e9a8 + pristine_git_object: 17b5b7a99b4966c6c8c3b6e115814b2ba75def5a + docs/models/components/createsignalseventsourceheaders.md: + id: d70e16258ca5 + last_write_checksum: sha1:08d93714b61c218360a04d46d848fff84a8be294 + pristine_git_object: 0ef25612a2143eacdffa22082659200b21f2452d + docs/models/components/createsignalsheartbeatendpointconfiguration.md: + id: 9e10c6a2857b + last_write_checksum: sha1:3e9a3b04654e45c82814e511772fafb652f11747 + pristine_git_object: 0d497b82d5ef20f105d7e5241f8942b68c758b37 + docs/models/components/createsignalsheartbeatendpointconfigurationannotations.md: + id: 41526e40771b + last_write_checksum: sha1:697a0200b1e6128853aea02591ff42a07bad1018 + pristine_git_object: 08caccbae169af4eb6e8abb5e291d92dc93eba53 + docs/models/components/createsignalsheartbeatendpointconfigurationkind.md: + id: 4c80693347fc + last_write_checksum: sha1:a8031638ec62f6e692c85666e413cab7ccdb61bc + pristine_git_object: 2fda29d4a25b4d83cbef61988c1a2f4f2807b9f9 + docs/models/components/createsignalsheartbeatendpointconfigurationlink.md: + id: 142594ff4656 + last_write_checksum: sha1:fcb3eb3dcf2055b4f91f88786a9ece9479e5aea1 + pristine_git_object: 038fbfa31aa53fdd3c0ce36a513da4e75e981222 + docs/models/components/createsignalsheartbeatendpointconfigurationtemplatesignal.md: + id: 1448d3255ff2 + last_write_checksum: sha1:0d7f332af60d874b288279c91542dca39f47d3d6 + pristine_git_object: 3c835960fc378da485706c249ae4a189b94220b0 docs/models/components/createsignalspage.md: id: 189aac7e578c last_write_checksum: sha1:37624e112d699d771abf41232e18ef3b2a3f91a6 @@ -876,8 +920,8 @@ trackedFiles: pristine_git_object: 03798e08ddfb9be81a1347773d27df84a1483355 docs/models/components/createteamsignalrule.md: id: eaba15135621 - last_write_checksum: sha1:41ee59cf91dbed0d4db1a6dec0ed3a2395709766 - pristine_git_object: f0e5cfb88425cb3b3611fd9b7780444587e29406 + last_write_checksum: sha1:e87846b44f46e8d5be8c4df78f994e2741faa3c4 + pristine_git_object: dcbd402b796e3d32e4e0222002e5dc41296d3cea docs/models/components/createteamsignalrulecreateincidentconditionwhen.md: id: f9e25938cc7b last_write_checksum: sha1:9fbbb0656827b50cc9f93f4d126879adae37a9da @@ -926,6 +970,10 @@ trackedFiles: id: a695b0f395a4 last_write_checksum: sha1:05f41dd7a4028a7f99f89bb677453c20dc224ff0 pristine_git_object: 852cc9f0c23715a266cca9811a97095cd04e37f5 + docs/models/components/debugsignalsexpressionannotations.md: + id: 658ceab37dfc + last_write_checksum: sha1:f316eab27d52f9082d59b3f82bbee99932f9fafe + pristine_git_object: cc70f3da276dfca4ea9ad65b02dfe61065708648 docs/models/components/debugsignalsexpressionlink.md: id: 286c501ad206 last_write_checksum: sha1:0fc579922137e98d2770b083a7cc8105fe970c03 @@ -954,14 +1002,10 @@ trackedFiles: id: c9c0a4a72670 last_write_checksum: sha1:e8377d01c7dfbd00d9e12fd9e532a91142e90b86 pristine_git_object: bd52d06aba48f15dcec26df1bfd602ff2e7378b0 - docs/models/components/environment.md: - id: 2bbd505fcb39 - last_write_checksum: sha1:8ba0a062687770b780739cfdc450b1c5ddf1dbb8 - pristine_git_object: 103bd632efd7db5b887444f701389a66fc24dea2 docs/models/components/environmententryentity.md: id: df7b8a639301 - last_write_checksum: sha1:75ac9d75b3e309c01ae3aa31aa316d4c9cae3edf - pristine_git_object: 50124e45f70d79d052e43b7845b456d4f2b97a21 + last_write_checksum: sha1:6dc54ddc06f63d9dfe8e839df959dc021ef0d1de + pristine_git_object: 71ce370466b3adbb38b826db4d26350ad8750e1e docs/models/components/environmententryentitypaginated.md: id: 522a240ddbdb last_write_checksum: sha1:4db538be04673bae7a8fd8bf2aeae46e8a4d3a23 @@ -992,12 +1036,16 @@ trackedFiles: pristine_git_object: 08737b4582e0b1850dfb317cb9e5a8c3236690e9 docs/models/components/functionalityentity.md: id: d29cce3da588 - last_write_checksum: sha1:a4cd85502ad6668c15f0b2c3f7b03fec706b202e - pristine_git_object: 914a08cdf804a4e9e1386307f38e935ba7130cb3 + last_write_checksum: sha1:ed0cb8786d97a53d539181254ecfddeb1df35f17 + pristine_git_object: f780250bf6776244d4b8218d3cb8972c108ae6fb docs/models/components/functionalityentitylite.md: id: ca05b915f9e2 last_write_checksum: sha1:961679baa3ff8ac9e4aa6026c8c82c2d5d95d2e7 pristine_git_object: a0cdd0cabee010a42663c591a947630b38604fed + docs/models/components/functionalityentitylitepaginated.md: + id: "02158960e072" + last_write_checksum: sha1:755722c6d0d6a2cb39e830f7518d5b4f1453da3e + pristine_git_object: a506556063189009687be2b47da37338752f85ce docs/models/components/functionalityentitypaginated.md: id: c3dc24786fcb last_write_checksum: sha1:5dfef10930dc6aa77c6301ba70bb3aa8b3d63818 @@ -1006,10 +1054,6 @@ trackedFiles: id: 06dd78b33fc5 last_write_checksum: sha1:b082b101410a6ff9c50d877cbf9009aab8f58d56 pristine_git_object: d7e3f51b4acf1eaf483c2549112551af263a42c9 - docs/models/components/headers.md: - id: 3940a8be22ff - last_write_checksum: sha1:eef9c15d07c93b5a2a4398c35b3230589ad7ba93 - pristine_git_object: 7c0f5265a692481b3674d6b86212f502efaa7a31 docs/models/components/highvalueevents.md: id: 18cc1c857e42 last_write_checksum: sha1:6fd5aa525729c265b7efd60d250fb1d53eb8f5c9 @@ -1044,8 +1088,8 @@ trackedFiles: pristine_git_object: c1ba7246f351123610fadb4a011906a7c339ab61 docs/models/components/incidententity.md: id: ad989334a667 - last_write_checksum: sha1:1b7c782eb26f0f124c5bf95775b55a4ddeff1f33 - pristine_git_object: 2ec1baedeb375c47d9a7f942c0785d6d0d26f72d + last_write_checksum: sha1:91a3ffd7b8abaff08097023d4b59434c0755eecd + pristine_git_object: 5d206203277c501caffe092acf569218b49eb296 docs/models/components/incidententityfieldrequiremententity.md: id: 178f5a457284 last_write_checksum: sha1:300e2a622a7d12a4d05751d26dc8d2419f3c2b8d @@ -1180,8 +1224,8 @@ trackedFiles: pristine_git_object: ebe376ddbe6138b2892dde775ccb83d76a6fb95a docs/models/components/incidentsretrospectivefieldentity.md: id: 5bf345114448 - last_write_checksum: sha1:a35b742aaf953b88701234f7b34a35c39b8baa1e - pristine_git_object: 46058e12957901bae23ec1836ef9b9e88938818c + last_write_checksum: sha1:3702681d370704b48dc995295058bfcb9d79de9f + pristine_git_object: 43b9d875c716ed8c2adc7f04c22eb2c6ba27a038 docs/models/components/incidentsretrospectivefieldentitytype.md: id: edcde60fcbd1 last_write_checksum: sha1:b195e99bc6c29a492f9887d962bfb4fa1e20bc1d @@ -1374,10 +1418,6 @@ trackedFiles: id: cab7008d93a6 last_write_checksum: sha1:bcb4cdf69a63011d01fbeb8fb5add1d1c05afa9c pristine_git_object: 2330e2b7af5a8cec4c74338748d21e60fb16568a - docs/models/components/logic.md: - id: 316142189e5b - last_write_checksum: sha1:0aa1fd934d4917429e8f9dbbb4ddf2c8082eb55b - pristine_git_object: e94f3c6f29728ed94188f7d8af7a3538ce400550 docs/models/components/mediumvalueevents.md: id: 0d398aaeb87a last_write_checksum: sha1:80f651b8f37dc639aa5e978ab3d16dec4fb25372 @@ -1492,8 +1532,8 @@ trackedFiles: pristine_git_object: 3a930fefc1031430e7a3c390a0a32308aff97173 docs/models/components/nullableincidententity.md: id: 3e5756c96ac0 - last_write_checksum: sha1:ebeffdaa68b4c5bd70dd0527f4118859c5cd5f42 - pristine_git_object: be88427a66dc395b4a76553792421a6aee70f9e0 + last_write_checksum: sha1:b05f3cb053d8564842cd306ff7a0d3ef7b372876 + pristine_git_object: 92db3f3c746bc6106c282b5a6fe6172fb5d357a1 docs/models/components/nullableincidententitylabels.md: id: d09c62d1a5f6 last_write_checksum: sha1:53224e02bbcb7fdb4507dbcd63d1720a12323c30 @@ -1604,8 +1644,12 @@ trackedFiles: pristine_git_object: 69cd9e3f39d6a24132bd75937596ef138b11dd0c docs/models/components/nullablerulesruleentity.md: id: de4d9982d49b - last_write_checksum: sha1:60d968f1778c7387777b7f331241322a05e2be06 - pristine_git_object: 9261bea1be64f77e61fd6a0858104872a9e15178 + last_write_checksum: sha1:ac8823342146dd9938f8c21027f1b084fda42c7e + pristine_git_object: 4270b4bf13cddd7509bfc43a07f0e545af9b8f1a + docs/models/components/nullablerulesruleentitylogic.md: + id: aa14bc1a38b1 + last_write_checksum: sha1:681c5ba556637b8e7334736cc72d232f5ec827bb + pristine_git_object: a2e0309fe8ffaa4cf6321ff56f294997199362ba docs/models/components/nullablerunbooksactionconfigentity.md: id: 16c89c358dc8 last_write_checksum: sha1:4dd3b7f7d0749065815d1361f7da3c220657d1ea @@ -1628,12 +1672,8 @@ trackedFiles: pristine_git_object: 287605a77cfb4a3fa599f56deed37912f1db6ae4 docs/models/components/nullablerunbookselementdynamicselectentity.md: id: 9ace8a626db6 - last_write_checksum: sha1:7f048fe2b660dc8fa926d6c0a5240be9b3125031 - pristine_git_object: 455e82392523ca809ae559511ab3f24e603286e3 - docs/models/components/nullablerunbookselementdynamicselectentityselectoptionentity.md: - id: 85a7d6b7ca2d - last_write_checksum: sha1:458b4a3102ca2aaae2bab690fa99f5b091408541 - pristine_git_object: 1a0fc3513280befb185cdb3c35d9dee70aa059be + last_write_checksum: sha1:b1696af34264dae1bbe226b693da69bac3dbd8a9 + pristine_git_object: 2ab0bf6a1c4d144c4aa298f0bce07738c0d539cb docs/models/components/nullablerunbookselementinputentity.md: id: f6ac7c241e51 last_write_checksum: sha1:956f96059650dbda1da57ae603a7b261ec7d3cff @@ -1684,8 +1724,8 @@ trackedFiles: pristine_git_object: dd67166214cf51c27cf76fca4e8440fb7d02657a docs/models/components/nullableserviceentity.md: id: feeb9e846982 - last_write_checksum: sha1:2dea4dd47300c479c82b9e84a583f9958297e4af - pristine_git_object: 98aea562e24129cd4c66cc1e156ec6cd61247478 + last_write_checksum: sha1:a1986906a70c0943c109501a92490eee4aeb5cd8 + pristine_git_object: b380e8806ea134e57b63d217f5abe2099628303c docs/models/components/nullableserviceentitymanagedbysettings.md: id: "934771077556" last_write_checksum: sha1:be965022e3a5e16e16decf0f3a1ab0c63f6605c5 @@ -1718,6 +1758,10 @@ trackedFiles: id: c07c06d6206f last_write_checksum: sha1:43e121ff15a6fe9918d9a7445fd1459506788769 pristine_git_object: 78ad542feab874c0572ba83eea64c8da7c92a6b3 + docs/models/components/nullablesignalsapidestinationentity.md: + id: 4b64a06035fe + last_write_checksum: sha1:745a0484d534ba89feedc0db1c2738de9b031f89 + pristine_git_object: d26ad99e431756c8a9327bc8985515a4dee25ab1 docs/models/components/nullablesignalsapiescalationpolicyhandoffstepentity.md: id: 645b6f021d58 last_write_checksum: sha1:44b97633c2ecb2193e3b288719fa01fde5847754 @@ -2070,18 +2114,6 @@ trackedFiles: id: 478c1cdc1555 last_write_checksum: sha1:8e338be703d73a1a3006732007cd97a069226c75 pristine_git_object: b9065478392327087b8d3bd38acccea488e9b600 - docs/models/components/retrospectivesreporttemplateentity.md: - id: 80cf68d284bf - last_write_checksum: sha1:74c65cc8465d421cc6b93142a5ca11ea5992dcaf - pristine_git_object: f6a0ce1795098d14f4d75464f728dfe7943df330 - docs/models/components/retrospectivesreporttemplateentityelemententity.md: - id: 1d6e310c82b5 - last_write_checksum: sha1:cacf730e27dacdf1479e978021783f35cf91f863 - pristine_git_object: aa14cab37e026fed9a854313351aa1f10e1581bd - docs/models/components/retrospectivesreporttemplateentityelemententitycontent.md: - id: a25803918650 - last_write_checksum: sha1:4f0d9af08dcfa4d463798b5bbe14d35945370595 - pristine_git_object: 11b973079f7a9c96ab4501c0a1af17203a485d78 docs/models/components/retrospectivestemplateentity.md: id: 936c0f1b18af last_write_checksum: sha1:5a615e47db7eafedc2c4dd2c1980fda244905586 @@ -2092,12 +2124,8 @@ trackedFiles: pristine_git_object: 28ebb9136b3642b8ec444854ab86b39347dc9aed docs/models/components/retrospectivestemplateentityreportelemententity.md: id: 21f95858e1bb - last_write_checksum: sha1:39b64b4dfd5ef100e42fc1eda9f99547eee7c9e2 - pristine_git_object: 264423f0d6c99791add35910d286f05e8e8a24da - docs/models/components/retrospectivestemplateentityreportelemententitycontent.md: - id: d1f78e996f8d - last_write_checksum: sha1:71c8d20a111cabcd0c9176db65fceb204dac5f44 - pristine_git_object: 9c0761eb95e00764022278172be5e1d630a2f35a + last_write_checksum: sha1:ee5cb06c76f1cfe3d99a293fcf7e7ddd5983e40b + pristine_git_object: 09045e99de96022bb05ac60f412295da50f6b031 docs/models/components/roleentitypaginated.md: id: c0c462503db7 last_write_checksum: sha1:fd1e5ce46189b1cc09dce5f84503ce85cb8670f3 @@ -2208,8 +2236,8 @@ trackedFiles: pristine_git_object: 515d089960d2bfdbcd1e6136a844e67dfee44ebc docs/models/components/serviceentity.md: id: 010fe7869fec - last_write_checksum: sha1:9ffaa6882e3c8a650dd88cd1725f35e869d5efac - pristine_git_object: de102504c316c0d55dc72fcf7acd9a6299692ecd + last_write_checksum: sha1:d93fbe6af571a9b84b5234827744cf7e62e7effd + pristine_git_object: 76253c783e31749f7be1afd2fc7031f4c48dfce9 docs/models/components/serviceentitychecklist.md: id: fbc59242d626 last_write_checksum: sha1:ddee9583d14ac62ca524f5db88580dc73d012883 @@ -2218,6 +2246,10 @@ trackedFiles: id: 1c078210bdac last_write_checksum: sha1:6bc0bd936cc0b8edde9afc92a5dff2a8ab881a84 pristine_git_object: 2ee9b44c36bc96d38bf980ad2456b16869354195 + docs/models/components/serviceentitylitepaginated.md: + id: 8aaaf4bacf11 + last_write_checksum: sha1:9b8068bce194056d7aa1164f958dd228153f05f9 + pristine_git_object: e050a67e83051a21655962c181d3721c13be5eb9 docs/models/components/serviceentitymanagedbysettings.md: id: 4c62f617c548 last_write_checksum: sha1:d87c9556aa2c3560628d8c2226e16450335b0e63 @@ -2268,8 +2300,8 @@ trackedFiles: pristine_git_object: 64b42280c42941c1d6cf64e5ebb6b12902866305 docs/models/components/signal.md: id: 5dd871dcb3f8 - last_write_checksum: sha1:faf86ddce0325b2078827d1ce6decf895ad12785 - pristine_git_object: 57bfe5681f2366e80b35fe499ff583b38462ed33 + last_write_checksum: sha1:ab8aa8112078351e23a4dfcc38b8828ee7b5b502 + pristine_git_object: 803236663eea992c718612eb562a79fa707081cb docs/models/components/signalsapianalyticsgroupedmetricsentity.md: id: d76bf00e9548 last_write_checksum: sha1:17235ff21780aa8974cd1f977127af36cc81c4c1 @@ -2434,6 +2466,14 @@ trackedFiles: id: 728735c56bcd last_write_checksum: sha1:3230be3dc83d818bdea7c2d8dccd2d5ba3e24985 pristine_git_object: 583b179fbf35294bf123e1d082743bc46f9b1b3c + docs/models/components/signalsapiusernotificationsettingentity.md: + id: d3e686dc875a + last_write_checksum: sha1:d4bec5092f411c0282eda2212aecbc1a176e44ed + pristine_git_object: b1315f8382622a0666ff3044fc7546494900b9a2 + docs/models/components/signalsapiusernotificationsettingentitypaginated.md: + id: 483a3c6dfb8a + last_write_checksum: sha1:6589d7101f81aed4252f6f4b7c9f06204e7052d3 + pristine_git_object: 0a0ea6b6299924853739d4cbd02b5cbc62e50584 docs/models/components/signalsapiwebhooktargetentity.md: id: 2dd6fa631050 last_write_checksum: sha1:7312da28566cd1d5178a0e9e766ae930475d3030 @@ -2450,6 +2490,10 @@ trackedFiles: id: 4ef2d0bb3415 last_write_checksum: sha1:936f3b1c438c1bfe36cf3b515f7fa98a9dd3c960 pristine_git_object: aa2962f22383855570f1449c6b03df8a0affeabe + docs/models/components/slimrunbookentitypaginated.md: + id: bcb93a77591c + last_write_checksum: sha1:dbfdd74eaa55dac0e34ad288b8d186c2ad7cbcd5 + pristine_git_object: dd4655b98a5bbbc649b037477ae1773e79aef8a2 docs/models/components/statuspageiocondition.md: id: 3c1e8cf59875 last_write_checksum: sha1:ece1361483cd9e4d7d64a54e13ad6b10b98ece79 @@ -2528,8 +2572,12 @@ trackedFiles: pristine_git_object: 00a90fc222fcbe26eb334c26e01ac6c45ff28581 docs/models/components/ticketingprojectfieldmapcasesentity.md: id: d52730d03326 - last_write_checksum: sha1:efd26db52a22c29899df4ca5650aac70308cb4fa - pristine_git_object: 3f39b32ec3ca7bdc933760a5a5cef34d209da4e3 + last_write_checksum: sha1:b07c33c838e6773a3ab4fd848c7f9115e1c1dfc9 + pristine_git_object: c08222b8b703b8d02b65e95c179eeef1b905bf6d + docs/models/components/ticketingprojectfieldmapcasesentitylogic.md: + id: 607942dd476e + last_write_checksum: sha1:ce4861e63f01a489ef227a01b651c0958333baf6 + pristine_git_object: e174977b2946cc87d4d02af552c70acb9ac30f8e docs/models/components/ticketingprojectfieldmapentity.md: id: 7ae7458b9c83 last_write_checksum: sha1:f047b684caa473458b402727baa925778a095396 @@ -2652,12 +2700,24 @@ trackedFiles: pristine_git_object: 905201c58f0da8958032276e08235a393aa0530a docs/models/components/updateenvironment.md: id: 90cecf0d60ef - last_write_checksum: sha1:2455f788f99ef3e2428e0fec25f481661a78322e - pristine_git_object: 347f6314974eff4449ab96f8a415e9968cdc9886 + last_write_checksum: sha1:3cb41223d550a4186ae827624122b7496b54f65f + pristine_git_object: 9b502a5d55540454eb7ed15a08303d8f3e35622d + docs/models/components/updateenvironmentfunctionality.md: + id: c8b604b2baaf + last_write_checksum: sha1:03f9d72a3870880767cb38ce7baa26478947b3fd + pristine_git_object: 7fa57ac8902a892b95b084fb78de4fa76090b347 + docs/models/components/updateenvironmentservice.md: + id: b20ba042ccc1 + last_write_checksum: sha1:7ebf568b00190401115de67e6c4abacd6468e9c9 + pristine_git_object: f749cb585edac81565f94bcc22a058bab77098f9 docs/models/components/updatefunctionality.md: id: 173c4e78200b - last_write_checksum: sha1:a30625ce68383984162b204ac71282567b22d9fa - pristine_git_object: 38e504b2f9d0dc95484dc0d1f6327ebf5bdd7622 + last_write_checksum: sha1:ac089e747da54fa5282468d31d302f32590c4ca6 + pristine_git_object: 36397d7a6e0679cdb4b82edd616eef94f5cd9c09 + docs/models/components/updatefunctionalityenvironment.md: + id: 76b0bbfe9b94 + last_write_checksum: sha1:76246de538ec2613757c36a0e31014eb4385beb6 + pristine_git_object: 7d6c2f73c7e28c823c286ad748834bdd61bb3e23 docs/models/components/updatefunctionalityexternalresource.md: id: 220175f40157 last_write_checksum: sha1:d1f0bcdeeb365f71c2bb26f4e64cb8df1ecea58e @@ -2840,16 +2900,20 @@ trackedFiles: pristine_git_object: 80f404bf8bffc6dd797c6ec0a4c4aace27ded630 docs/models/components/updaterolepermission.md: id: e0b519d009ce - last_write_checksum: sha1:917a7843b41b5867f03d555f3e5a4461e21699dc - pristine_git_object: 42f1157a131470b0e5a44bdc64f3d3d42c14f2fe + last_write_checksum: sha1:fc0300561a85fd09d65b38c16d50893ff820ae02 + pristine_git_object: e9a7734d9eef860f18ebd353186a3681b257c052 docs/models/components/updaterunbook.md: id: ba309d4089fb - last_write_checksum: sha1:879c679c528433e62232720f3c3511a47173132f - pristine_git_object: 01df3beb19f285ef27587487d7df6fd695246248 + last_write_checksum: sha1:7233e736692bdf60afeb6298744085ba7e6d6c86 + pristine_git_object: 18be55a133ee5451bcd278d4ef27dcec4ad0c222 docs/models/components/updaterunbookattachmentrule.md: id: ea8545eb1850 last_write_checksum: sha1:ad2b4a63dfd4cde07e056bb09f1c1d52ae3d1879 pristine_git_object: 46155b6eadcf70f508e7a12ef551744d47fb8fab + docs/models/components/updaterunbookenvironment.md: + id: 1d64dc2f90b4 + last_write_checksum: sha1:108f54384f540ec8cc11168e307fbc46429575f2 + pristine_git_object: bde95e66c25a0d350d978066a81842fbd4a493c3 docs/models/components/updaterunbookexecutionstep.md: id: 7c93dffe2656 last_write_checksum: sha1:edefdb032610291f3734f61b4151fb5b4e0988f7 @@ -2920,12 +2984,16 @@ trackedFiles: pristine_git_object: 998e2ef99bbc77563cfd673e4b7d767ec970b625 docs/models/components/updateservice.md: id: 5942669fe270 - last_write_checksum: sha1:8b1971114186f73b785adf3157774099d381ce8e - pristine_git_object: 4c195c8fb436902d30a0181aafff304dac882369 + last_write_checksum: sha1:12719bdc1f939d4516d27e3566f2b54f253d4158 + pristine_git_object: 2cb74c73833f72ab44417224b90281bc22cddec5 docs/models/components/updateservicedependency.md: id: 567e82353882 last_write_checksum: sha1:396c1c0af6ab5fc758ec62294ecdc328ea996f68 pristine_git_object: 687c26cea487cfd3739a530d6b1b654fbf610fac + docs/models/components/updateserviceenvironment.md: + id: a644efd5a245 + last_write_checksum: sha1:b575c3e6159c5393ae40260222815877dad6b819 + pristine_git_object: d52a6d3d7556f479ee5c057faa1c0e66fcbdff00 docs/models/components/updateserviceexternalresource.md: id: e9d497416dc1 last_write_checksum: sha1:f6fd08b5641ee7df7836b36e655a1d8a84deb04d @@ -3022,6 +3090,26 @@ trackedFiles: id: 9ed44c207735 last_write_checksum: sha1:a51dbbcea2712279194802bd81029c698957d67d pristine_git_object: ed10d6451561e21e7dac9825df7b84ea77ad0f3f + docs/models/components/updatesignalsheartbeatendpointconfiguration.md: + id: e0740be09d26 + last_write_checksum: sha1:660d147edff8aa80940701ca39a37f97d058ef5b + pristine_git_object: c1c899cb036347cf579fba9d0f92d27a7a5c8576 + docs/models/components/updatesignalsheartbeatendpointconfigurationannotations.md: + id: e8bf84688c13 + last_write_checksum: sha1:e7159e61cc5bcbc8b375906a7e8d03d68f1f95ff + pristine_git_object: 2f8346f344cb08116266f2cd80bc8ab9c6af8422 + docs/models/components/updatesignalsheartbeatendpointconfigurationkind.md: + id: 7138d06208cf + last_write_checksum: sha1:cce3d62fdd38849a41e427200efc08be2319a10e + pristine_git_object: 80e317c69361dc6346e5c2f5aa6090dd78d11a0b + docs/models/components/updatesignalsheartbeatendpointconfigurationlink.md: + id: ef4b06141e16 + last_write_checksum: sha1:01a21482d54c2668df602457607a176011773e29 + pristine_git_object: f3ac525c1ccb5785541bc3fbfb02a098b1e4fafb + docs/models/components/updatesignalsheartbeatendpointconfigurationtemplatesignal.md: + id: cd654b988326 + last_write_checksum: sha1:a308ebdccf82fc32ed4ae8d965702e329ef81642 + pristine_git_object: dd3553021ed39bf4a775ad5835f7696837b6fcba docs/models/components/updatesignalswebhooktarget.md: id: 0688b4bc6986 last_write_checksum: sha1:3d787a100e728ac971b8429468ac1339f843ab42 @@ -3234,10 +3322,26 @@ trackedFiles: id: efface3a229f last_write_checksum: sha1:88a9802f1cacc5db345a86109e464d6f8a6e2603 pristine_git_object: 7be04cc3bfec9ad3d06daa49383ac78a210c0485 + docs/models/components/webhooksentitiesdeliveryentity.md: + id: 1a944b780dfd + last_write_checksum: sha1:6e90fbf52d21b5886682304c6e920c6eeba5174f + pristine_git_object: 8dda35e7f35c638b13762e8ccdadf893893a6815 + docs/models/components/webhooksentitiesdeliveryentityheaders.md: + id: c69589b63cbd + last_write_checksum: sha1:76aeb67e104bbb000838b1884a0e8e9dff3f9415 + pristine_git_object: 78cd2d8ee58086bcd204b9a284241ae5fd91eddf + docs/models/components/webhooksentitiesdeliveryentitypaginated.md: + id: a0e59fed6d99 + last_write_checksum: sha1:e2a59156f867c7607dafa5615e750d26579150ea + pristine_git_object: 694dc1066849ee053d158583a226639c63de8203 docs/models/components/webhooksentitieswebhookentity.md: id: 7e4513c0cfb6 last_write_checksum: sha1:86201a15d4fa1b87397ad52c8c15b83d19b1e4ad pristine_git_object: 6cba913719f432893eecff12c2729e57bff66cf2 + docs/models/components/webhooksentitieswebhookentitypaginated.md: + id: 496cadb41324 + last_write_checksum: sha1:9958374b3f9d5a3f2fe909754aebe587c6ce7560 + pristine_git_object: 9121fc98fd135bc24d13ca4ec7604f666b44fd3b docs/models/errors/errorentity.md: id: 04a4eeadbc4b last_write_checksum: sha1:1a8f6157818adc93c6a068018f96d5c45139b999 @@ -3264,8 +3368,8 @@ trackedFiles: pristine_git_object: ade4c202413876b4fbc8494b9645e5eab9a00d76 docs/models/operations/bulkupdateincidentmilestonesrequest.md: id: b874ee53fa89 - last_write_checksum: sha1:d582b1e0828d9d769d29aa6409275ef37d1144f6 - pristine_git_object: bacad6aa28e4b368c1f81414ed352a2452fc7627 + last_write_checksum: sha1:022373004e471708d9df0d3daf08c4351c82fea2 + pristine_git_object: 3ac4643d7699ed36ed8fa71b9c5eb5fe6d060bf4 docs/models/operations/by.md: id: 8a4ef2637176 last_write_checksum: sha1:67600c360ba690da5e37be3eb5533f799d78aa14 @@ -3428,8 +3532,8 @@ trackedFiles: pristine_git_object: 34b0cfa3d1859fe2d48749145101e523b3fe3397 docs/models/operations/createnuncconnectionrequest.md: id: 633132916b7a - last_write_checksum: sha1:dc16a0ab368f195d5bd7c10df538d347585b362c - pristine_git_object: a8a1a2bac0614251ed0dc9384b0597b4e2c528cf + last_write_checksum: sha1:3fc7130cb14e30b96360917daa60f2557ec2cf37 + pristine_git_object: 6a384438ebe2d0eb48ba7f41c1469e2a55f08279 docs/models/operations/createnunclinkrequest.md: id: 4e5b1ebc0e22 last_write_checksum: sha1:e1b197c45f787a649600c3db61a04a23c17a9537 @@ -3440,8 +3544,8 @@ trackedFiles: pristine_git_object: 919739ee2b398383160cca1cb0b3bbafbb052ce9 docs/models/operations/createoncallshiftrequest.md: id: c83c79b11b0a - last_write_checksum: sha1:e8339299370ca84a07dad9e15da7fcd39ee4cbb7 - pristine_git_object: 2e26818f04aa87150172c1fb0f2a354b54a5a90f + last_write_checksum: sha1:37c47a331c6c2eb933b71ac4aef42c3de3bc2c42 + pristine_git_object: debd7ef43714d5408947b0829b2e5db7a1bb7549 docs/models/operations/createpostmortemreasonrequest.md: id: 0b4753de2745 last_write_checksum: sha1:36c9a168911268ee0981201f33a64231842c96f1 @@ -3536,8 +3640,8 @@ trackedFiles: pristine_git_object: 1a08d36f630d23040c77627b856ff11a239cf940 docs/models/operations/deleteenvironmentrequest.md: id: 016b3a070d58 - last_write_checksum: sha1:da1bf93de1e131950a5a848bf7b630a56300d72b - pristine_git_object: a8b9ef531d4fde053758509bebbb07f90da08f09 + last_write_checksum: sha1:e2b67b3574df7389a22d578e5de37c7de7e09ed6 + pristine_git_object: bc9c5b9f33c0d07f59717f194b758d2de2bf552c docs/models/operations/deletefunctionalityrequest.md: id: 85ffc9a1a276 last_write_checksum: sha1:4a4263739a0ce15d9336deedab1dcfd000cd40ff @@ -3726,6 +3830,10 @@ trackedFiles: id: 175701e9bd68 last_write_checksum: sha1:723cd929c70cf520ddd30e12b343ed976897c7ef pristine_git_object: 94870139f6ae97c19711945bacf0da51ba8c7ab8 + docs/models/operations/deletesignalsheartbeatendpointconfigurationrequest.md: + id: 2d4d28615fd5 + last_write_checksum: sha1:3c389f68c20d4a4d6fa122fdfa678a7d0cad0145 + pristine_git_object: c55739bbf294841dc939778e01f3a976a1c0bdda docs/models/operations/deletesignalswebhooktargetrequest.md: id: ddfe197042f9 last_write_checksum: sha1:2ee3309b317726d4b769ef8a3cf81f929cebbc87 @@ -3806,6 +3914,10 @@ trackedFiles: id: 9f15b1725001 last_write_checksum: sha1:df50f45e2614318d5e2ab376260f55a0931f5a5f pristine_git_object: 2f44a6842870067efafb66296de2b4e9fecc800d + docs/models/operations/exportsignalsshiftanalyticsrequest.md: + id: 6441470dc6f9 + last_write_checksum: sha1:e9ee73c12b93acdc323bce537e203691abedb351 + pristine_git_object: 5aa0277205c276bd090bd9468077c15e783595b1 docs/models/operations/generateaudiencesummaryrequest.md: id: 6504d9f10af8 last_write_checksum: sha1:881b7670936ea4a3bcb5d85c2e82955b31ad1dd1 @@ -3868,16 +3980,16 @@ trackedFiles: pristine_git_object: 0a6d271111022844fd703935ad543fe332bbddb2 docs/models/operations/getenvironmentrequest.md: id: b640740d622e - last_write_checksum: sha1:ffed8bca24c9781780fea75f4f37e4ee971bdb97 - pristine_git_object: abdde110ca0b6e378939a5b253e7b8f1c0a94822 + last_write_checksum: sha1:e5380232f92322dfad1886ed68166f79232ec77e + pristine_git_object: 1ae9bd1e834b8ca1c73760eb9fe6f559b0cce727 docs/models/operations/getformconfigurationrequest.md: id: 747a94458628 last_write_checksum: sha1:27ae3eacf201d9d94881a2b3f6c3442d742b83ac pristine_git_object: a88ad33ce63c79c4cf572b69785e8f45ed800188 docs/models/operations/getfunctionalityrequest.md: id: c563f833ccf5 - last_write_checksum: sha1:b3da3f8db32d04d31175b381362fb11293e787d9 - pristine_git_object: 0ab2b436b6bf978d8a5ffdb61101ca6c235989b2 + last_write_checksum: sha1:082b93562079a88db91224402d6ee6fc54abc716 + pristine_git_object: ee78387a6bca1239cef0e7b66c725b5fb125542c docs/models/operations/getinboundfieldmaprequest.md: id: 99f2a50a56fe last_write_checksum: sha1:eb0765d022a2597cf89edf26a59605b7de1fe9df @@ -3966,10 +4078,6 @@ trackedFiles: id: b91087c54a04 last_write_checksum: sha1:85deaee0e649e02d1a1a155fec3be8ccee98c57f pristine_git_object: fab025bb5acfcd21fa25f16e38c171eb87b9f987 - docs/models/operations/getretrospectivereporttemplaterequest.md: - id: a01881a335d0 - last_write_checksum: sha1:73c08fcc7261f4d6b4ad3cf09d34fee3aa1fb2a1 - pristine_git_object: 7079507c96cb0110dfd31cca90b5e909ce75c166 docs/models/operations/getretrospectivetemplaterequest.md: id: bdcb9850d4c7 last_write_checksum: sha1:252e22e962e6b003cc186df2c8f3c5157c32e608 @@ -4024,8 +4132,8 @@ trackedFiles: pristine_git_object: 526b3cb98ad7d2f16d06f1394e2610d2e7b35562 docs/models/operations/getservicerequest.md: id: d4e00046da3e - last_write_checksum: sha1:6e9fcb67b258a1c377d723ed07919143c77a1088 - pristine_git_object: be8513ed5ee829b66b12a098a4b40ec0d029d899 + last_write_checksum: sha1:4cf21f8ac3defe2923408e099e01fe727dc54ef3 + pristine_git_object: 20b6b42ad847c3069e6fa062c99bab2136cc762b docs/models/operations/getseveritymatrixconditionrequest.md: id: a99736d3df6f last_write_checksum: sha1:3b3e2a09d75da409248b1b11c5adfec5ac0a0aa9 @@ -4062,6 +4170,10 @@ trackedFiles: id: 347508fe1d98 last_write_checksum: sha1:04aaa717207b6374590552e2cfee478ee335dad1 pristine_git_object: d59407a0dafed5465b65f44ebd1c62954f12bce8 + docs/models/operations/getsignalsheartbeatendpointconfigurationrequest.md: + id: 2e3bceb6a422 + last_write_checksum: sha1:9b04d4b8a45786cb9d95be9560fc83ef5a93e9c3 + pristine_git_object: 243735fa99b49fcb7e86aafdce1f627b24825247 docs/models/operations/getsignalsingesturlrequest.md: id: 3716cdb12694 last_write_checksum: sha1:6da91f2578c924ea9da85043a36ac14fdd1029f1 @@ -4152,8 +4264,8 @@ trackedFiles: pristine_git_object: 9d1b10b835bd7887822b7005160f4e6cfbe43e63 docs/models/operations/getteamrequest.md: id: "823475751e83" - last_write_checksum: sha1:64bf87c43af2d040139688a6d52c76bd0bcccc12 - pristine_git_object: 92adb7f1c3b91a60c60423a2194a76b6cf16a9e0 + last_write_checksum: sha1:472e283057fed030bcbe28a41b59a042230e8865 + pristine_git_object: 49cfe70228362f011824494d75672b4249224e9f docs/models/operations/getteamsignalrulerequest.md: id: 4f07973ae2b9 last_write_checksum: sha1:738fe9cdf432464fcd3652f557c03bc77017bea0 @@ -4212,8 +4324,8 @@ trackedFiles: pristine_git_object: d915a85369621dc5f6a633e36f1a410667dd8813 docs/models/operations/listaudiencesrequest.md: id: 0158c5a880ce - last_write_checksum: sha1:7df6f852bec0bf26bd03f52304da5ac2ccb7c553 - pristine_git_object: 036dd8dc75a559c8fec3c47ea0f8688a3af95143 + last_write_checksum: sha1:692534cd387eb162f3d75177e42367e1cb72d994 + pristine_git_object: 51f177fd57dd4c540add5c2d06e8b1a6e7549f40 docs/models/operations/listaudiencesummariesrequest.md: id: f8ec21cc152e last_write_checksum: sha1:4cbf0cbc035129636e16590a82f62c75424dc8b1 @@ -4310,6 +4422,14 @@ trackedFiles: id: b90f4059c554 last_write_checksum: sha1:04d96dcde2d3f987092dd2ed7436197c3fb2b7b1 pristine_git_object: 21882f71db53417950469af7b75c6a0c605d3f3c + docs/models/operations/listenvironmentfunctionalitiesrequest.md: + id: 00b4212e4c4f + last_write_checksum: sha1:37ae7b7962d618247b423ce84d66b529b9dfe791 + pristine_git_object: f4436cc4dc4f1e98a080411019668441a24dc0b2 + docs/models/operations/listenvironmentservicesrequest.md: + id: f02740af71ed + last_write_checksum: sha1:b46c9904fa782fd302d04b71e293088760f51174 + pristine_git_object: 9bf746f2e4e22e1247dba7b2eff89278d587e91e docs/models/operations/listenvironmentsrequest.md: id: c676b4aaf7af last_write_checksum: sha1:e7401af5f1bf51418be70813cb0bd1e3191f801d @@ -4322,6 +4442,10 @@ trackedFiles: id: ea5b7a9251d3 last_write_checksum: sha1:2a9d6c32bb2e1f592fd8a31d49cc13f3ab24c811 pristine_git_object: 122f41ba341ffde9ffbd2cd58ff4608a0cd5f55f + docs/models/operations/listfunctionalityenvironmentsrequest.md: + id: 438082e88ff7 + last_write_checksum: sha1:1dd7f5be2e92fe28298a0e81728bbd69723b85ef + pristine_git_object: f9e10aac161ab32bcdc63964a23c6d3593f45ec6 docs/models/operations/listfunctionalityservicesrequest.md: id: 65a635928d8c last_write_checksum: sha1:1fcebcea1e6737999c91ba81d9d37f2f9dba52cc @@ -4396,8 +4520,8 @@ trackedFiles: pristine_git_object: f5e2155968485a1cbf41b9c57e35d69029c481ea docs/models/operations/listincidentsrequest.md: id: f7891bff07d9 - last_write_checksum: sha1:7efaf0038b95d4ed6ce315f7546e752ec8db2238 - pristine_git_object: 82ccd7aea78cc2e66dc2c740178d557949de5e42 + last_write_checksum: sha1:9161583f45953a67142f3e61a1033f6d711ad2b2 + pristine_git_object: 6ab5f4422755841925d8a1707abfdea65e7ff0b7 docs/models/operations/listincidentstagmatchstrategy.md: id: 833ebd86db01 last_write_checksum: sha1:6cee021e37c688add618ded35f77fbf26cba050f @@ -4538,6 +4662,10 @@ trackedFiles: id: 6218749d8aeb last_write_checksum: sha1:8ec2be11a61490905d482adee7fad8d971a8c75b pristine_git_object: 9ee7fcc0b20212fc0f124671f3e6950e35330875 + docs/models/operations/listserviceenvironmentsrequest.md: + id: fc311c9f9c3a + last_write_checksum: sha1:7a83f472e695d095fd959ff9884f7d5eb86b8b73 + pristine_git_object: c40d1ced3d8518d3017ea4f3a2e0738904eab0a2 docs/models/operations/listservicesrequest.md: id: bb1e54e3c5ca last_write_checksum: sha1:a6a76146fe7a12b7bff370f6290009b182dd31b7 @@ -4554,6 +4682,10 @@ trackedFiles: id: 47dea7ab4f70 last_write_checksum: sha1:3b5641cab5f76dd1ee4962b2e30263c3c2acd0a9 pristine_git_object: 90602731ff3ba217ea791b992c7665b5c45fa943 + docs/models/operations/listsignalsalertgroupingconfigurationsrequest.md: + id: dfcc13353053 + last_write_checksum: sha1:037a6a9dafb922d34e296808bfd9e72d576098ba + pristine_git_object: 4eacbc8cebecd8fd2b34732cb0ddb941ce2c13c3 docs/models/operations/listsignalsemailtargetsrequest.md: id: d3818c628daf last_write_checksum: sha1:2643c5beb41fc09cc8a7a97e5a014934572229ed @@ -4650,6 +4782,10 @@ trackedFiles: id: 967bdb05d090 last_write_checksum: sha1:79ed8078757c9c6094a9c8199470418cc43674d2 pristine_git_object: 5772ec46d607915ed8fbe0f990bc631505961742 + docs/models/operations/listusernotificationsettingsbyuseridrequest.md: + id: eb45da28c9c9 + last_write_checksum: sha1:ce81d669ca339e114c6c035c48b58c6f57711b13 + pristine_git_object: f031819f148c6b8d240b354ef47dc524ba56216d docs/models/operations/listuserownedservicesrequest.md: id: e783cd7009d1 last_write_checksum: sha1:5a77542d79f49aef95558607823d0a9b2fed9a88 @@ -4660,12 +4796,16 @@ trackedFiles: pristine_git_object: 7ba890d889536e857e51fb94f404a3ee18f04234 docs/models/operations/listwebhookdeliveriesrequest.md: id: dbfca05eb4d6 - last_write_checksum: sha1:9ebf1bd665b15c9c6f77c32a6ba035a852d83c24 - pristine_git_object: e6b900991c14c698bc122eb03c06948c859aa46c + last_write_checksum: sha1:c41f79b764d7da1fc745f1419133718b2d05a662 + pristine_git_object: d6f509e724ecd6530b49553fa1d89c864477caa6 docs/models/operations/listwebhooksrequest.md: id: 34c58a299d43 last_write_checksum: sha1:36bc2ca35a88b1336f8ebb1af2db6a80f18882b8 pristine_git_object: 6d6622cb773c62d3b71246bfc2e5215ed8a435df + docs/models/operations/notificationpriority.md: + id: 0b6c118d7a4a + last_write_checksum: sha1:cf76e4e69cb0eb17cc8ab649227b4328b5503c4c + pristine_git_object: 9b6a0091ad21184eaa94ed8ad84008f1643d6dc6 docs/models/operations/oflevel.md: id: b40a7253a14d last_write_checksum: sha1:004015fdb8d77a2070f54aca1443782887a2e371 @@ -4720,8 +4860,8 @@ trackedFiles: pristine_git_object: 7cd613f8ec199601b7add3a95e3441bd59263b76 docs/models/operations/reportelementstype.md: id: e0c9bb046893 - last_write_checksum: sha1:99868e9774f2fc877f613fc2643d44ae159992d3 - pristine_git_object: a8353ea0a6f749bb06346486f560829ba11ef090 + last_write_checksum: sha1:f3b27a0a4182090cc65b56a34653b20757878970 + pristine_git_object: 60fb7275ff513d546a03a08314cef549ef55c654 docs/models/operations/resolveincidentrequest.md: id: 70237d968385 last_write_checksum: sha1:313edee8c1bd935f46922a583c42413da5c3ff30 @@ -4736,8 +4876,8 @@ trackedFiles: pristine_git_object: 2f54aea48e8341e414db0677d66a7a6caf3715d3 docs/models/operations/searchconfluencespacesrequest.md: id: 79060f585aef - last_write_checksum: sha1:53dd0f31b33981e3b42e7284eaa1ed84e7db98f9 - pristine_git_object: b714182be9b4b7ea7c5491d76efcff3f359a7b5a + last_write_checksum: sha1:0a609c3eafb7ff66b96ac956115f98e38daea389 + pristine_git_object: a9bed989049796cbfe7035648f3a5e3c5bb3514c docs/models/operations/searchzendeskticketsrequest.md: id: 4cac8cb789f3 last_write_checksum: sha1:9d9a8037ebad2a75c42c99eab073966788c9a96d @@ -4844,8 +4984,8 @@ trackedFiles: pristine_git_object: a9422f2224de9d55abdcbb6f592fb3b103684e9e docs/models/operations/updateenvironmentrequest.md: id: cc9cad06e455 - last_write_checksum: sha1:564cf3a8d80fa82f8257942231049503bf0f5601 - pristine_git_object: d461401fc637c05ef1dbd29ccf0bbafd2515c180 + last_write_checksum: sha1:a8e8de075450987aa058e3255afad4d3eb0f1fc1 + pristine_git_object: a330c1a1cca942951cba26e62726b61e5566c3d5 docs/models/operations/updatefieldmaprequest.md: id: 3843e847f795 last_write_checksum: sha1:daa95b74f389e9950e8e81a19eb473f67df6ebca @@ -4964,8 +5104,8 @@ trackedFiles: pristine_git_object: 0012fda2e19d4755d7022f651549c5092ffcfe21 docs/models/operations/updatenuncconnectionrequestbody.md: id: 10e17833412d - last_write_checksum: sha1:18416658cfb05be0a7dc567867e50f0d7cc7ce81 - pristine_git_object: 3d3d16e06dc81c0892bd36636bd54f984f391610 + last_write_checksum: sha1:aee16d8887730b7ef3bee72de139fce29dcc743e + pristine_git_object: 9f4c70a835c30f19245a2398316aa5d3fe1ee1de docs/models/operations/updatenuncimagefile.md: id: b838e152d625 last_write_checksum: sha1:aab2c648b3120cb3bf7670a27a745c4e7200ec11 @@ -5016,8 +5156,8 @@ trackedFiles: pristine_git_object: ab34ac8328bb3d39b74ecdc0c051876e6ff5ce34 docs/models/operations/updateretrospectivetemplaterequestbody.md: id: 3a40676633d4 - last_write_checksum: sha1:6f0acdc2cbebe063c7fb6555efaeb7b3ae8e61f1 - pristine_git_object: 12949a5a7998224a980fb3a7274ffc49f98b3967 + last_write_checksum: sha1:8a9a9327a777546a101f222549c57a907eedaea1 + pristine_git_object: 9675b6952b8adf3b658fceb7b8a334155e9d6bd4 docs/models/operations/updaterolerequest.md: id: 1a57a3d99ce9 last_write_checksum: sha1:d9bba806f694f47afcbf595b0415b37c75e1cb45 @@ -5086,6 +5226,10 @@ trackedFiles: id: 222c61161a8a last_write_checksum: sha1:ff2380ce4e3bb0636ebab334c19e650cad0525f1 pristine_git_object: b1836eb3ac3db520d870734350a1e0c734622727 + docs/models/operations/updatesignalsheartbeatendpointconfigurationrequest.md: + id: 27a5ff01fb39 + last_write_checksum: sha1:41b53b09c37cd005b277d4ef17eae48517143703 + pristine_git_object: de22a5844a6f0062ba29e4711eb8a11b3c88d828 docs/models/operations/updatesignalswebhooktargetrequest.md: id: d3a366999271 last_write_checksum: sha1:4162c8bc530d5b70ca9c1a7c855c641fdf7da7bf @@ -5184,8 +5328,8 @@ trackedFiles: pristine_git_object: 3eb43f2629d95369ebaa9a263e3e4abe535820a3 docs/sdks/audiences/README.md: id: 195e6f06fc96 - last_write_checksum: sha1:8ae1bc25d289c8f8cbe630b6d72fa1e8d486a8d5 - pristine_git_object: 7ebcbd3b9cd67047bb3a14a7d5de33b4bdb6e10b + last_write_checksum: sha1:8dca405aeefd970ba2061971af3fade357edd0e7 + pristine_git_object: 4dd91573d46711b0cc93fb41e4a64cf72e755f20 docs/sdks/auditevents/README.md: id: 09dfdecf553a last_write_checksum: sha1:639610bea2004d2b5d8374727614d6bb99622db5 @@ -5196,8 +5340,8 @@ trackedFiles: pristine_git_object: ba0189d53ff3c06d4cd0c7bb25b402817dfa2d71 docs/sdks/catalogentries/README.md: id: 99cd29e7b534 - last_write_checksum: sha1:0a3344b3e25bc7a46b06536f6c443364453cf938 - pristine_git_object: 1b018372e96d04fe517047dbf94c4465f9ad8e04 + last_write_checksum: sha1:21ae2729efe6d8b725b9c2a1d5fb8ddfe7ddea33 + pristine_git_object: 9650bb42229aa053887a6a39aed3a4f1d9e1f60b docs/sdks/changes/README.md: id: 408d4e899aad last_write_checksum: sha1:45ffcdc7a108f951a55f087b576b95dcb8e72ccd @@ -5224,8 +5368,8 @@ trackedFiles: pristine_git_object: 6f890eb05ad6845976e9b2264b7a9e9c362d7a0e docs/sdks/metricsreporting/README.md: id: 9c4fa1353d79 - last_write_checksum: sha1:c2b60afc28bea87130f5d9ceaec2287b55393538 - pristine_git_object: 94a0131bd0fd38cbd534addf86e248e3e0b02126 + last_write_checksum: sha1:34ce591d32ca280ac12e5eb8c8ee49e79f1064ea + pristine_git_object: c972704442debd86c4150f418ccb7062f47d0648 docs/sdks/pages/README.md: id: f0d739041ef6 last_write_checksum: sha1:fbae2399346f9d93d4c5ec68b5b25243c7eecd96 @@ -5236,24 +5380,24 @@ trackedFiles: pristine_git_object: 7c76f8909984df44f517d7f508837db6caa45df5 docs/sdks/retrospectives/README.md: id: bb67e68da091 - last_write_checksum: sha1:83914bd3501a70f8e04684ab2b0d46fab97d34af - pristine_git_object: 29b6c5a55bdfb80ee969ff101f223af45352d290 + last_write_checksum: sha1:730e88342f58f3d461ca9ad336a2d88272bbbad0 + pristine_git_object: a3b41e438ad7c02e9784af6f1ceb0050c76aadd3 docs/sdks/roles/README.md: id: 69204c99730f last_write_checksum: sha1:67f740bbe7367580a9802e46eb36664a6f3be797 pristine_git_object: 8d3527c731669cdd59a1eb4998011fcd38335800 docs/sdks/runbooks/README.md: id: 27a20ee5c0fd - last_write_checksum: sha1:bb9a66da2511d22cbb81d296a22b837d589eadf1 - pristine_git_object: 2ec71dda0bfbc3822c58dd0109a2b68862cef3c6 + last_write_checksum: sha1:827a449f6824aefe447312fc7e1101592d6149be + pristine_git_object: 4dedaa770ff711b231e569f5433129b791e79922 docs/sdks/scim/README.md: id: 1d60f0a72b05 last_write_checksum: sha1:2ac95e555c1c1769a6b89840c7f120870247d20c pristine_git_object: f378990cbc8285710a9b2834e37285d799aaf72f docs/sdks/signals/README.md: id: 2a645be78441 - last_write_checksum: sha1:0bb6b6e195eb27152be0d657c92cbdaa1186622e - pristine_git_object: f568fe742af4790d8ae6a26e85a4b041185a4a39 + last_write_checksum: sha1:3e6a5479f8ed092545433d49e167ced55def1def + pristine_git_object: 05a7a24c1221c929daa16e8eaabd81c25e302e10 docs/sdks/statuspages/README.md: id: eefbb24afdb4 last_write_checksum: sha1:9aab5634408ac4e1a72b0562513b205bc9ce78d1 @@ -5276,8 +5420,8 @@ trackedFiles: pristine_git_object: 8be55494c786dee3a6e9d71b2b19618730282319 docs/sdks/webhooks/README.md: id: e21b32d786a4 - last_write_checksum: sha1:6c89aa7185e25b31afce8fbbd4f1316baaa0fe10 - pristine_git_object: 2fb25fef947ccd67d0bdde8cea636497058af3f8 + last_write_checksum: sha1:3f1a05bf2cd0e5298426b1091895462e26fb13fc + pristine_git_object: ea26706ed8be0d77f4a7c9a3b51bdc4028cc3240 docs/types/rfcdate.md: id: 5f9756408fae last_write_checksum: sha1:57b4b3cec635cbd12767ed8672f96e257ef88845 @@ -5304,12 +5448,12 @@ trackedFiles: pristine_git_object: 011e2d35ddfa8d3789d10ac73e6f69367fa41304 jsr.json: id: 7f6ab7767282 - last_write_checksum: sha1:56dbaba43fcd1660fa5c9a25a2dd6df5d5b5f367 - pristine_git_object: dc8afd5b80b4dd39457b9d350926b883959cd818 + last_write_checksum: sha1:df00f94bfc5b9774444c8872017f9c9063663b03 + pristine_git_object: c2fe4b89d2858dbda19251cfbff651b050cb20d2 package.json: id: 7030d0b2f71b - last_write_checksum: sha1:fce5604922d2a591648bc2bb98b8580187964ab7 - pristine_git_object: ccafef8d73aee426621f2d48cd8b8a640a671722 + last_write_checksum: sha1:5e1c491ea2355ff751b85fff2326e113117e21a9 + pristine_git_object: e16e19b3af80ab51425a7bf6979a90aef37c2586 src/core.ts: id: f431fdbcd144 last_write_checksum: sha1:08155b1540ecfe2a03e77acd91f1cf8a4690a6f7 @@ -5400,8 +5544,8 @@ trackedFiles: pristine_git_object: fba5790a48e97bc9cf42036927c81584e455dc79 src/funcs/audiencesListAudiences.ts: id: 23eb9d8db12e - last_write_checksum: sha1:a857850c369ce7d89297dfd829f8b318526c596e - pristine_git_object: d456b0b806666d0956c9e9770f7a5875afb10820 + last_write_checksum: sha1:d1343311755228cc5431615ac38e206a536b355c + pristine_git_object: b05ddf962f4e1e4634fa051251414504321491f0 src/funcs/audiencesRestoreAudience.ts: id: 1197f8d37860 last_write_checksum: sha1:a08d44605d31eae41bb904821c5a7c9120b370ef @@ -5514,6 +5658,14 @@ trackedFiles: id: 30c66dcb57e6 last_write_checksum: sha1:9d371ba215ff7a04e7e299e5df6f5c4241664100 pristine_git_object: 003b532c766bf26fcc5dd47cbb5a76786c4613ba + src/funcs/catalogEntriesListEnvironmentFunctionalities.ts: + id: 67d5cab99fb9 + last_write_checksum: sha1:a5fafd49c96b23e5d8317ff666be6f903474cdaa + pristine_git_object: 711ffa709f9ba926fc2b86890b1e2a3bc5f7bb68 + src/funcs/catalogEntriesListEnvironmentServices.ts: + id: 8aaf7c726ce8 + last_write_checksum: sha1:0edfc32febd0b8bfecac00a86519830ff435e23f + pristine_git_object: fb928226ab6ac5bd24bb2652b8bcf838542e7faa src/funcs/catalogEntriesListEnvironments.ts: id: bf4773219de7 last_write_checksum: sha1:768d3d87187c7e67bb55f33fe3c6ff704a5b1605 @@ -5522,6 +5674,10 @@ trackedFiles: id: 747428bac05a last_write_checksum: sha1:4f187f8072996dfa404cc37677c5043a2e762961 pristine_git_object: 935662a96b7eaa0d9b9469fc456015a180d94858 + src/funcs/catalogEntriesListFunctionalityEnvironments.ts: + id: e98069295173 + last_write_checksum: sha1:15d1429f5cb374a03ffde06df19bdecea6cdf394 + pristine_git_object: 497c8e53e45ec7bd25bdefb6940c64b705fc6be3 src/funcs/catalogEntriesListFunctionalityServices.ts: id: 837a26a3b462 last_write_checksum: sha1:bcc978bd19a053811cdc034bc3ab9925dcef2964 @@ -5538,6 +5694,10 @@ trackedFiles: id: 2a559a1df3b0 last_write_checksum: sha1:c66aab92e624a979f515248d9f67a3daa58262cd pristine_git_object: 91a7c1eb70927db19ef2083f50bb04f4b81cd20e + src/funcs/catalogEntriesListServiceEnvironments.ts: + id: 013b9213e93b + last_write_checksum: sha1:73f7dd966fd0b7a84f751f31c59bd1e2abc24926 + pristine_git_object: 89ffdbcf06a06b060f03475fea44fda8795f5ad5 src/funcs/catalogEntriesListServices.ts: id: 30da23a30d4f last_write_checksum: sha1:ffa23470c37d23c6f1e63bd9c9afb3de58284ae6 @@ -6036,8 +6196,8 @@ trackedFiles: pristine_git_object: c1f3471c8cfda1addf7f6151821598be81a2d6eb src/funcs/incidentsListIncidents.ts: id: d2c8a7010e6c - last_write_checksum: sha1:84e246c14feac6cb8de95b48c64b463c7e6b2fe2 - pristine_git_object: 785429a4509109b9a5af2378c97331c698568bb6 + last_write_checksum: sha1:44441e946fd98296b6ec26bb98b1e6be0c93fc3e + pristine_git_object: 60fffaacef64ac6bd360640ed91adde1b11c6437 src/funcs/incidentsListScheduledMaintenances.ts: id: 8423a694daad last_write_checksum: sha1:b250d37449dfbce84062e80a514cd046b11a4991 @@ -6208,8 +6368,8 @@ trackedFiles: pristine_git_object: 46be96e04a1511cf316fa995ff2b7fdba1205c96 src/funcs/integrationsSearchConfluenceSpaces.ts: id: dec49fc48a27 - last_write_checksum: sha1:6eb56b4f2f9731bac8e9d0bc069f0375daa2ccf3 - pristine_git_object: c145f98bc6a9b030d1e898b44f2385a8ee6c4b6a + last_write_checksum: sha1:2e601769889c2c8d9325322439cedfa9beb319fd + pristine_git_object: 4e943f153da606d408c3da8f13215a15719de098 src/funcs/integrationsSearchZendeskTickets.ts: id: 166a60007ea9 last_write_checksum: sha1:2ed13288d82339e9080145b0d94c137284f61369 @@ -6250,6 +6410,10 @@ trackedFiles: id: 48d339b643a6 last_write_checksum: sha1:b16442ac1fc390b2b420349f502f8b9f0d9783f4 pristine_git_object: 30e7c70f248a49b7471429abc6980ae717202321 + src/funcs/metricsReportingExportSignalsShiftAnalytics.ts: + id: 8497422024b5 + last_write_checksum: sha1:9122b3afd54b3520b0fd5ad903d97897a8fd3a86 + pristine_git_object: 1889147a1b591b05a3ebb14391320726bd9ef93a src/funcs/metricsReportingGetMeanTimeReport.ts: id: 8f0f90da5c80 last_write_checksum: sha1:4363fb8325287a231fada4e526509b23e1b7cc7d @@ -6370,10 +6534,6 @@ trackedFiles: id: 8b0dd0bc5418 last_write_checksum: sha1:5b7a1b272a2dadb68ebb3240cebd296a8d2548ab pristine_git_object: 7caa4cca1c7cbf388f5f49fa818cb7812b05b1ea - src/funcs/retrospectivesGetRetrospectiveReportTemplate.ts: - id: 38ff436b746b - last_write_checksum: sha1:aa2f8b875bd309850972a58907e8a9b8551da661 - pristine_git_object: 50d931767fd78f5ce3faccbe4bc8fc0c2aabb829 src/funcs/retrospectivesGetRetrospectiveTemplate.ts: id: 2ce01d1e500c last_write_checksum: sha1:1be11c38f9931de98012a39f5af36c29673b7524 @@ -6508,8 +6668,8 @@ trackedFiles: pristine_git_object: 89aa2f6e01abfe1997deec40ed8f3b8d6d121eb2 src/funcs/runbooksListRunbooks.ts: id: 3b92cce00af5 - last_write_checksum: sha1:094f83d2b77065170129e7d3fa5c04f2ae4a0c86 - pristine_git_object: 256c3a897870f95d4e5c56543538525fd8d9f921 + last_write_checksum: sha1:2d651d1f2a5c67dcf96f6a4fb4b8041854342aa7 + pristine_git_object: a98ea11c5eea208fb31393868be5b41584a3aea0 src/funcs/runbooksUpdateRunbook.ts: id: 33a9eaa19092 last_write_checksum: sha1:5273253cd3de99179e6a136535066ba552b89575 @@ -6598,6 +6758,10 @@ trackedFiles: id: 21216cd5f8a4 last_write_checksum: sha1:93da64aca1598a8e1fa1ca9812a9003d1a1f3369 pristine_git_object: ecc348f08ba84fa8466bc79b3c32b2ba32e1c745 + src/funcs/signalsCreateSignalsHeartbeatEndpointConfiguration.ts: + id: 831b61f18ecb + last_write_checksum: sha1:22ebb4b747185ade29b1df9cbdabe0ffb82506b1 + pristine_git_object: 7371f9e2a9659e7a825007ed69feaa325c4fd58e src/funcs/signalsCreateSignalsWebhookTarget.ts: id: ff5843006871 last_write_checksum: sha1:4a1337cddf146e75f25d902d79669f93fde27e5a @@ -6612,8 +6776,8 @@ trackedFiles: pristine_git_object: 61b149ae3f777aba552a2856b7c6a4d7a15a53f8 src/funcs/signalsCreateTeamSignalRule.ts: id: b8ef3061fb1a - last_write_checksum: sha1:0e48772006d508e87daf186f340f739cbe6bdc36 - pristine_git_object: 6f451fb1ffd068143feee2e758a6c0a67c0f135a + last_write_checksum: sha1:b88d5a9d1f6bb99e31feafad28e6464ab25a9273 + pristine_git_object: adb5722220da5cf99c76c5b57d95e2323464c791 src/funcs/signalsDebugSignalsExpression.ts: id: f66d4f4f4fec last_write_checksum: sha1:1cf265ab2f020e82d6d4c01d8eb27aa108bfdbb3 @@ -6642,6 +6806,10 @@ trackedFiles: id: 13723dccbf0b last_write_checksum: sha1:e5ecb38e44adba2c99d0a450519f237870308020 pristine_git_object: f5f450e1847baf4da44aa67f443e970b9e30373c + src/funcs/signalsDeleteSignalsHeartbeatEndpointConfiguration.ts: + id: 73c40762aa54 + last_write_checksum: sha1:449f51d27b6495c8fd0c9a6478e51e7971928cf8 + pristine_git_object: 6ecd99ad37730bfaa3bdb723ed4786e8ccebb73d src/funcs/signalsDeleteSignalsWebhookTarget.ts: id: 5a5a80246fc0 last_write_checksum: sha1:53fd701ef397ce0e6acc393e0fe3a5193203ee08 @@ -6686,6 +6854,10 @@ trackedFiles: id: 2dc29cfc1492 last_write_checksum: sha1:2965917c2aa057e1637fb981dcde59bba131d24b pristine_git_object: 7cd132fe5dd374cca0be59515e41ce9cd0ca1838 + src/funcs/signalsGetSignalsHeartbeatEndpointConfiguration.ts: + id: d0eb74445015 + last_write_checksum: sha1:f33c4617645a4b00333f01add2ab3a2f7619b482 + pristine_git_object: b490560d8ec57cbf193726e06e085850ca7a0979 src/funcs/signalsGetSignalsIngestUrl.ts: id: 5ab137cca6f9 last_write_checksum: sha1:179eebf6a6f7f382cc826b0e0731be96dd7c53b5 @@ -6716,8 +6888,8 @@ trackedFiles: pristine_git_object: adbd7ce9a16f93871b4588a21192dd320401effb src/funcs/signalsListSignalsAlertGroupingConfigurations.ts: id: 95929c6b613d - last_write_checksum: sha1:05d41ad139163d4c1ec9991b1b02977aae75a4c9 - pristine_git_object: ba4d2cde2e171f6b4b46adda2512ecd19d5047de + last_write_checksum: sha1:18d8921ac638d72593f982454cdaafa66e4a7a72 + pristine_git_object: 43a8fd98125796ed4ac83fca69fefc690c9fe45c src/funcs/signalsListSignalsEmailTargets.ts: id: 93a97bb71e1a last_write_checksum: sha1:6da0897f249076b3333e51dbdd4db2437f3969f5 @@ -6726,6 +6898,10 @@ trackedFiles: id: 932c201102f0 last_write_checksum: sha1:4c88fee25e8a1d9569721db719ee6a214abdaa1a pristine_git_object: a3d56d1f6d1b97a4b4e396c4ecb079faecbb269c + src/funcs/signalsListSignalsHeartbeatEndpointConfigurations.ts: + id: 24c9f58adae0 + last_write_checksum: sha1:346b14867ac04943264a11243eac674a8bacfe50 + pristine_git_object: e8eac86195df104b25db4023240cf910269ebae7 src/funcs/signalsListSignalsTransposers.ts: id: 6bf9a0d58e7a last_write_checksum: sha1:22fa0f7fd3d2763192b6e407b25094bc33bee606 @@ -6746,6 +6922,10 @@ trackedFiles: id: 3998153c65fc last_write_checksum: sha1:ae95cd1dee5126bb21d1ff50b38660d757d083ad pristine_git_object: 7eebcebf7ba7d672403a52da21a7e314911c1b94 + src/funcs/signalsListUserNotificationSettingsByUserId.ts: + id: 3d2dae7bea71 + last_write_checksum: sha1:e1b8aa7650f4c52d2e8d24922825ceeddd8fc876 + pristine_git_object: 3ad8c9e9a354d2b607ae9f44fe86d562fd85fdb9 src/funcs/signalsOverrideOnCallScheduleRotationShifts.ts: id: 91c6f666b315 last_write_checksum: sha1:5f51ed908c3fd053ddcc00d1aeed36da93ad7b55 @@ -6778,6 +6958,10 @@ trackedFiles: id: 1cc1623109b8 last_write_checksum: sha1:750c37dbb54b8a6061f0049c3c5aa4868f888230 pristine_git_object: 31c12dbec92838b4d3ca42aab74163acf9f44884 + src/funcs/signalsUpdateSignalsHeartbeatEndpointConfiguration.ts: + id: 75b18dfbfd9a + last_write_checksum: sha1:dee6fb6f158bef5716248e7f05215f8aadfb5a27 + pristine_git_object: 224502af834921015d5bd02f4c8b08d2aee620f0 src/funcs/signalsUpdateSignalsWebhookTarget.ts: id: 1161f2fef085 last_write_checksum: sha1:f9e2d96e9018123955b6db27d360f9297b210370 @@ -7136,12 +7320,12 @@ trackedFiles: pristine_git_object: f87319c2dde344954e9a728ef28a35fb84628794 src/funcs/webhooksListWebhookDeliveries.ts: id: fb3fb92fcf78 - last_write_checksum: sha1:c3df314eaf1c89887bcdc8a6a428c53d8d298666 - pristine_git_object: 22e83c785b782b347e8b3577696a3244f30b004d + last_write_checksum: sha1:c026f58944bfd87e1e5124008f79787ea22ac148 + pristine_git_object: e1ccb7ba2bd60dd28a8ef6b8a887814eb3360a88 src/funcs/webhooksListWebhooks.ts: id: a3443d86e005 - last_write_checksum: sha1:f674b344a3670e825bebf99063a8090a707878c7 - pristine_git_object: fbe173f1b01574d57b918db407b34cc644af2629 + last_write_checksum: sha1:579f65e1ab6d573181edbd05b25aebb8ba6b90e4 + pristine_git_object: ad9b2873dec514f9bb5e02e14e744ab071d46da0 src/funcs/webhooksUpdateWebhook.ts: id: 059a49c39260 last_write_checksum: sha1:c04772c373ea85b0c3c5739f3334d59ec5c2fff9 @@ -7168,8 +7352,8 @@ trackedFiles: pristine_git_object: 0aebd8b0a4867e35cb3348fc52921c3c0b4725b7 src/lib/config.ts: id: 320761608fb3 - last_write_checksum: sha1:ef595c5a3088c126977dc139c478ad9ff136cc21 - pristine_git_object: 15afaf54e63990e082f2a76d5b71cdb9057d8a2e + last_write_checksum: sha1:d0ebe4b6a501bbc67acebc10cc6b5911b55fbb2e + pristine_git_object: 8bc4d9a3958ded4e5f432dd3e08e57647ca715d7 src/lib/dlv.ts: id: b1988214835a last_write_checksum: sha1:1dd3e3fbb4550c4bf31f5ef997faff355d6f3250 @@ -7216,8 +7400,8 @@ trackedFiles: pristine_git_object: 47edb9725c2482c667e2ddc8a56b1fec4285c492 src/lib/sdks.ts: id: 8a6d91f1218d - last_write_checksum: sha1:c52907300f56c8d89d78a256d24b3651123c26c4 - pristine_git_object: 3e4562e7f22b332941b2a9830c6760bcca660af8 + last_write_checksum: sha1:7fb30e1dc23f6fd16d4eeb260b6bb48f155983f2 + pristine_git_object: 801ec54d218d9ea99a8a9a00d6e849f52327f5da src/lib/security.ts: id: 0502afa7922e last_write_checksum: sha1:a464105a9902115853d0bd0d5b56a09d2c889b52 @@ -7252,32 +7436,32 @@ trackedFiles: pristine_git_object: 0955a573c2ce989d63c737410ab8cc28706d9f74 src/mcp-server/mcp-server.ts: id: aabbc4ab07c1 - last_write_checksum: sha1:49cda7717d3a941d440748f7613c3cf977a0fde7 - pristine_git_object: f64973eac3e4d757b5362c6763a4033791c59b17 + last_write_checksum: sha1:af6699cbc9e8c66bfa30c054381236601741b583 + pristine_git_object: 41e0c36a7b698dce00042a91d8e162f63682e3a4 src/mcp-server/prompts.ts: id: 26f3d73cbf31 - last_write_checksum: sha1:dac1290ca5ae82072cf9331431111f1d2b1b6067 - pristine_git_object: 4f19c23a0566fc287eccc355194f248c8fe19c4b + last_write_checksum: sha1:b77c7df03862852a51c676eb62bfa761b854c26b + pristine_git_object: af39cd60757fd6b8286762c6723afab9fa28f39d src/mcp-server/resources.ts: id: cb0c57ebeaea - last_write_checksum: sha1:bfc2a4efb6024344207e0f15173aa163e6c1b979 - pristine_git_object: cbdf6b7e469c6f8193d319c06d2f5b2d4ce3e04e + last_write_checksum: sha1:21d72da7f835097a61683ed1a6dcba2f30ed1cf5 + pristine_git_object: ce0980f1876a00b7dedf996e9d4d281fac66a245 src/mcp-server/scopes.ts: id: 8966d24256b2 last_write_checksum: sha1:77d0eb95785e84f9fd0b27c4612f8c6470489fe4 pristine_git_object: c25696d4c4f70e081fa5d87ad6891874c509a577 src/mcp-server/server.ts: id: 2784dd48e82a - last_write_checksum: sha1:3bc4a0537bdd9f24cd0c19a84537228c94aaddc3 - pristine_git_object: 69426223d2b3920bb8eb48c7a8ffe2da22979022 + last_write_checksum: sha1:babc0997d07c03b461deab18f64b860c7f35d309 + pristine_git_object: bb539bd2535e4444d6c0b411108de7f85c0d8fed src/mcp-server/shared.ts: id: 074e80d4be1e last_write_checksum: sha1:56c73d4429691516e35541825e759a0285747a2b pristine_git_object: 3e94144d13f0707bc300183ebb4325b367c297dd src/mcp-server/tools.ts: id: 654d5d1f2062 - last_write_checksum: sha1:5bedf56c036cda549d401d3cbecff731576e0d11 - pristine_git_object: c7d93c0cda0aebf9953a99fe96f9a5cafb9d0bc2 + last_write_checksum: sha1:81ce4d0b61829a0397855c222b10a64699f0fc7b + pristine_git_object: 5204fef7d729630feae412f07fe14e00ed986dfa src/mcp-server/tools/accountSettingsGetAiPreferences.ts: id: 503048e4ec77 last_write_checksum: sha1:af5cb806f6699ff73d24698e831ebfc5bd691def @@ -7478,6 +7662,14 @@ trackedFiles: id: 4e4058f26e9e last_write_checksum: sha1:6bbbc6411e50ad45f920970731213f8bc09515bc pristine_git_object: 54114531558c41b51a782334e03e68ca8a94e7e3 + src/mcp-server/tools/catalogEntriesListEnvironmentFunctionalities.ts: + id: 2c68fc53a2d9 + last_write_checksum: sha1:c0d226043edc7e0178001575da36014bf2858131 + pristine_git_object: 334f89a467fb2515ee0857d7a25c787f439e6a43 + src/mcp-server/tools/catalogEntriesListEnvironmentServices.ts: + id: 59234f65d122 + last_write_checksum: sha1:cf06415222d104d3d2c60e4bc50b8a6ffeb9ac91 + pristine_git_object: 0bfd2137b3a924973f4380347fc3d9667848943b src/mcp-server/tools/catalogEntriesListEnvironments.ts: id: df4f0ac5a6f5 last_write_checksum: sha1:a28de4ad8b9b86611c845a43b6419b6986e241a7 @@ -7486,6 +7678,10 @@ trackedFiles: id: 5b5842cc00ef last_write_checksum: sha1:4e284acacc0d5fb58da105ba298ad8dcfb5fc4d0 pristine_git_object: ee24c6bec8ffd792b4ef423b12667ec493b664eb + src/mcp-server/tools/catalogEntriesListFunctionalityEnvironments.ts: + id: 509564786f76 + last_write_checksum: sha1:51b8d88ac82c8cc9b1c0ee1b198a6db14c4ec2a9 + pristine_git_object: d8818bb1dce1bd6fc510eac65b617dcc63debfce src/mcp-server/tools/catalogEntriesListFunctionalityServices.ts: id: aeb7c3b708e2 last_write_checksum: sha1:8242daa7a29ac646b6ccdc7da4d430d730480109 @@ -7502,6 +7698,10 @@ trackedFiles: id: e39a43fa8d4e last_write_checksum: sha1:7026a5d1c768af18a30378c10a7437ad099271d1 pristine_git_object: 82fd124f685db6ae691df32d9c764039dd73b375 + src/mcp-server/tools/catalogEntriesListServiceEnvironments.ts: + id: e5ef68cad476 + last_write_checksum: sha1:db45ea9b1c5e7b730a84df932542e93cbcaa6b13 + pristine_git_object: 5e4a11938fdc25af96a4af6b2ff15801b40ea178 src/mcp-server/tools/catalogEntriesListServices.ts: id: e9f19be65ad0 last_write_checksum: sha1:ca6d97b09ea1b79ef5c69564741c5996fb8943f0 @@ -8214,6 +8414,10 @@ trackedFiles: id: 43924ce5fb61 last_write_checksum: sha1:447c5b7c1df58c2f42198a3daa8ed90b70e20607 pristine_git_object: 3a6669d61fdbab20206ad3a49a4c5aac4c2b356f + src/mcp-server/tools/metricsReportingExportSignalsShiftAnalytics.ts: + id: 28d406fe757b + last_write_checksum: sha1:eb6b3fee252c03d926e91274ae499277e1f2c40a + pristine_git_object: b74aa9db34478a5feb044fca6762839596dd6f94 src/mcp-server/tools/metricsReportingGetMeanTimeReport.ts: id: 78895e252506 last_write_checksum: sha1:828dbca0f1d9634a745ad9b68e4182da1aea694d @@ -8334,10 +8538,6 @@ trackedFiles: id: bdd3c6e9a4c9 last_write_checksum: sha1:36e2ab051dca608fb433dd1f296bb2033f71d808 pristine_git_object: dd180d614f2871be716eac5d218f3cfacb70bf46 - src/mcp-server/tools/retrospectivesGetRetrospectiveReportTemplate.ts: - id: aaf9ec7dd40e - last_write_checksum: sha1:3767073a3bb6b953ad9f91ce6f327a70dfc70b29 - pristine_git_object: ecbda723e80eef7142a6fb1720ea9496ce07b380 src/mcp-server/tools/retrospectivesGetRetrospectiveTemplate.ts: id: ff51f00d7035 last_write_checksum: sha1:d74114023e10fd6cf221d12124295561c2858241 @@ -8562,6 +8762,10 @@ trackedFiles: id: 5926f4963603 last_write_checksum: sha1:594476fb09c9cbe392a697168d1f1422f5420086 pristine_git_object: 6b1fbd1427e381bf0b92f0c662ce13b9ef7105ad + src/mcp-server/tools/signalsCreateSignalsHeartbeatEndpointConfiguration.ts: + id: 61538802ac24 + last_write_checksum: sha1:a865c1c96541c49d3fcf81b390ff7e53169c8f52 + pristine_git_object: eb3db4b3ce98518c448811b52323c9a6c27f9c9c src/mcp-server/tools/signalsCreateSignalsWebhookTarget.ts: id: 4295ef3f582c last_write_checksum: sha1:7ec26b6c271990e466f313befac81298bfe22cf2 @@ -8576,8 +8780,8 @@ trackedFiles: pristine_git_object: 71de4e1a67ad7c82cf584c37acad53fd1670bb88 src/mcp-server/tools/signalsCreateTeamSignalRule.ts: id: 00ac7f072114 - last_write_checksum: sha1:f3bdbfaeff85912b1300351e28586ff0983b5dfa - pristine_git_object: 1fa4b02ec6c116783667c27ada44437be80a8851 + last_write_checksum: sha1:ff682cb722a5aacfdc8ee5f7f4667d5dcb91de2d + pristine_git_object: 335da323196d34a208f17f7bcdd1d6f39ec13748 src/mcp-server/tools/signalsDebugSignalsExpression.ts: id: 576ee9469993 last_write_checksum: sha1:5312993f301e14af0994a798593edae2c2b8769d @@ -8606,6 +8810,10 @@ trackedFiles: id: f4eff97dff84 last_write_checksum: sha1:8a47c3f1f731353397612a55dcbd265184cf692a pristine_git_object: 2490ba269ce14cf4bdd52d8b82d72080c1c91b23 + src/mcp-server/tools/signalsDeleteSignalsHeartbeatEndpointConfiguration.ts: + id: 73ea787e0dd6 + last_write_checksum: sha1:420ec4cf346a64020a21b5bd0818eca4c9d2f338 + pristine_git_object: 6213edca1df5e392f6f0912d94dcd750993a5c8a src/mcp-server/tools/signalsDeleteSignalsWebhookTarget.ts: id: 27493dabcf18 last_write_checksum: sha1:65000e6742a6559e3b6340e4003a79dd6cf5a7db @@ -8650,6 +8858,10 @@ trackedFiles: id: d1317caa8e8b last_write_checksum: sha1:7dafd3a7df12471277eeb7d4f05d649b9e9e2cbe pristine_git_object: 2c950a4a1a0395e92f992e3d4cb879b7930ca007 + src/mcp-server/tools/signalsGetSignalsHeartbeatEndpointConfiguration.ts: + id: 2501b25fad9e + last_write_checksum: sha1:13e69585265cf42ba0d72dc85c14fd0a9d961148 + pristine_git_object: c953e887cae3bcad6b33413561c2fa492fe2b764 src/mcp-server/tools/signalsGetSignalsIngestUrl.ts: id: 141c8799ebf6 last_write_checksum: sha1:950e9c64b3684bcf8fb961cc52e991244b0a77ce @@ -8680,8 +8892,8 @@ trackedFiles: pristine_git_object: 459ccee7b93baa27d808b359f8a03de15406c373 src/mcp-server/tools/signalsListSignalsAlertGroupingConfigurations.ts: id: 54c85620ad8c - last_write_checksum: sha1:c3665a656b435f52c062be21d5b0495f660999b8 - pristine_git_object: 04771e8c910511a1e2c57e26c979fb05e12cac46 + last_write_checksum: sha1:1b13c21f1e6c54e7f10effef1a8ee5712fc7238c + pristine_git_object: 5233bfe7d7eeaa1c36ecbf7c02b916eed08fda13 src/mcp-server/tools/signalsListSignalsEmailTargets.ts: id: f392a1f9dc27 last_write_checksum: sha1:70557dc34c5b416a15281bd3749ef0cb3f6346d3 @@ -8690,6 +8902,10 @@ trackedFiles: id: b80950691987 last_write_checksum: sha1:e94c8ac104bfff205a2ff321aaf6ea0c1f1ae016 pristine_git_object: 468d2f4fea461b3bcec61979f085bcc137149a67 + src/mcp-server/tools/signalsListSignalsHeartbeatEndpointConfigurations.ts: + id: 62b5b1f173cf + last_write_checksum: sha1:ffa1d84b957bbe4a1166c58c5207bc8140c9d3fd + pristine_git_object: 02ca510c6c4cb4485c02e57941314f1af2ff3a8d src/mcp-server/tools/signalsListSignalsTransposers.ts: id: 5eb3a6bda5d5 last_write_checksum: sha1:036f8c30e1fe9ffcc01c21dc7402f1e79b73d767 @@ -8710,6 +8926,10 @@ trackedFiles: id: d923f8918a4c last_write_checksum: sha1:5ea4e63a8c359609235a370da3b4fcba5f395877 pristine_git_object: 9909ad3ff17e70caf8fe333e4d31770e7595a5cc + src/mcp-server/tools/signalsListUserNotificationSettingsByUserId.ts: + id: f07b13b8c5aa + last_write_checksum: sha1:e965c6f0ff1165c21ca630d6a45e6a9259c197c3 + pristine_git_object: 967ab508e0b315b6369736402a9b1deae8573534 src/mcp-server/tools/signalsOverrideOnCallScheduleRotationShifts.ts: id: cb0efbab4520 last_write_checksum: sha1:6fb4e5d7d89cb56a7880cfa4dfb14bdc77521578 @@ -8742,6 +8962,10 @@ trackedFiles: id: b9a8cbd2431b last_write_checksum: sha1:7b859b995e18ec68a6e7fce89830cab70a7c577d pristine_git_object: be359f8f0e26f4527e8cf86fb71b0e09ed61dcab + src/mcp-server/tools/signalsUpdateSignalsHeartbeatEndpointConfiguration.ts: + id: 83306b4225e3 + last_write_checksum: sha1:7c7b3cfa3cf71944348197e7f3cba6129d5e4522 + pristine_git_object: 05377b98d1449817aa5f64658987f733f8a95c37 src/mcp-server/tools/signalsUpdateSignalsWebhookTarget.ts: id: 6a1e5f94a4e2 last_write_checksum: sha1:0bd48fc2978043249866270800441ee460d51da4 @@ -9100,8 +9324,8 @@ trackedFiles: pristine_git_object: 2738fb95a8e25b2f52888469e163ccb7fb36991b src/mcp-server/tools/webhooksListWebhookDeliveries.ts: id: 1a3dad3002f8 - last_write_checksum: sha1:601236f3a4914c8381ed2d42642242a5b5095017 - pristine_git_object: a6e54ce31084dcea1f48fe3c61db1fbbee3a9181 + last_write_checksum: sha1:c84d1cb344a29e303e15be8203bda6bcbb7efc8f + pristine_git_object: 80f103d7833662fee57fe8bc365c3f47562b8331 src/mcp-server/tools/webhooksListWebhooks.ts: id: 1ebbb41b55cb last_write_checksum: sha1:e02d00fc5fbcdc88ba087854622bffda7fc55210 @@ -9166,6 +9390,10 @@ trackedFiles: id: 43c61d2fa43c last_write_checksum: sha1:dd36670c833e617bd93ab604751271b58b4bf4ae pristine_git_object: 51edc537909a9f7d4db0ce479203f0a08bf91eac + src/models/components/audiencesentitiesaudienceentitypaginated.ts: + id: 0d87faa431db + last_write_checksum: sha1:feb0442b974e2c1b16b396656f4ea01140f538ba + pristine_git_object: e5c3ea56318464ae9f139a6f95c5f6bb21751115 src/models/components/audiencesentitiesaudiencesummariesentity.ts: id: b211ff77d102 last_write_checksum: sha1:189a3f263ecbf853ba1693e6dbb771fbb14b7e7a @@ -9272,12 +9500,12 @@ trackedFiles: pristine_git_object: 0ef4829c310f4cc75f34f47dab14deab992b69df src/models/components/createenvironment.ts: id: 2938829a6f30 - last_write_checksum: sha1:d3cc57f6af4dc15334fec9b7e4f3cfe6dc55e9a1 - pristine_git_object: bc5e376c5d3c6283929684e68f6b41433d0aad75 + last_write_checksum: sha1:6d994e4d22c6b2b1ce44e6c898a8f078bf3e70be + pristine_git_object: 15fbb2bdae84e5f16a5749bf83b34e50090d1ae7 src/models/components/createfunctionality.ts: id: f094c296477b - last_write_checksum: sha1:7fbe45063938d63dbec492350d40096a2df6da5a - pristine_git_object: e7249434f8b328fc8b48e1fbea40567fb64180c6 + last_write_checksum: sha1:12a2097b13e8e4eb92873f3820997c893f56c4a8 + pristine_git_object: f4a4127832b4dcfc45af7d5d53df2f50cf9547c9 src/models/components/createincident.ts: id: 781bd1f8abf8 last_write_checksum: sha1:2f8f2eeb8589ab734cd07657b63f6651376c1197 @@ -9356,8 +9584,8 @@ trackedFiles: pristine_git_object: 2ad2e6ece4b07d5411ae653f03486725a98803f4 src/models/components/createrole.ts: id: 2db8cf621a38 - last_write_checksum: sha1:d637f034a0864d43226c23045cc8c60859e18866 - pristine_git_object: e9964d20458c22acb8c21966a02914b9cb993e61 + last_write_checksum: sha1:6411aa72fb256611e734bee45dbcab070d9a1a2c + pristine_git_object: db99da39f48215b4645849c4e64cbf30e1feb5a0 src/models/components/createrunbook.ts: id: ac68c76c4bbc last_write_checksum: sha1:2e850014158d88e97b98a959e2b654b300e10ad4 @@ -9384,8 +9612,8 @@ trackedFiles: pristine_git_object: 0c41b2546f1d5c72be6aebf42383e9b73bf948f4 src/models/components/createservice.ts: id: 1d5e99cab027 - last_write_checksum: sha1:68da5d4bb138f89342ba0e24d8a78048155ddb28 - pristine_git_object: 3a82fb4933e18382cc7931885ef04496a8c808c9 + last_write_checksum: sha1:4eb72302ef15ac80e284b974407b21a81e877e09 + pristine_git_object: 8462bdd4f6cb1e942b586d07fbaab1be5105368b src/models/components/createservicechecklistresponse.ts: id: fc55aae3ec14 last_write_checksum: sha1:6d635f1e9e82f59375374e720ebb1b1cdbaeefc6 @@ -9420,8 +9648,12 @@ trackedFiles: pristine_git_object: 80fbb8916125e969b914ceb86c88b7a27dbe6242 src/models/components/createsignalseventsource.ts: id: 859b99236cf8 - last_write_checksum: sha1:5e84541af8cd3c08aec5ccc61b174a9c29715422 - pristine_git_object: 14d06c770db76af11917d45554f9185231f09c44 + last_write_checksum: sha1:730cfd4c038227ad6d20ade5dc3e784a8e2034f1 + pristine_git_object: 1ea44ab9756f878975de9f6d40482dfcabfe9a7c + src/models/components/createsignalsheartbeatendpointconfiguration.ts: + id: c512234a9a6b + last_write_checksum: sha1:9973130b831b9af2c39c97ef67c2d79b55837d80 + pristine_git_object: bb8539747e87a82065bd8d96614dc115027d009e src/models/components/createsignalspage.ts: id: c9e35bf44989 last_write_checksum: sha1:c9765a9f83a0c0933aa3fcccd0539f69760a4719 @@ -9456,8 +9688,8 @@ trackedFiles: pristine_git_object: 25e4cfbf9db315c2fe485c305e72ce4e00c697f2 src/models/components/createteamsignalrule.ts: id: fc2ed3a02c6f - last_write_checksum: sha1:bb8a15b3706697215b90cbe57b8f4c139f6797f9 - pristine_git_object: c15581e1d4bca2ab89fa9bd97f1209a4e1761c2e + last_write_checksum: sha1:3747da38601db1f3065b62ece3c575e04f52e7e5 + pristine_git_object: 651dd197415538b13d949828dbc8ef8e195b4a5c src/models/components/createticket.ts: id: d3de00f19872 last_write_checksum: sha1:aefef9986530b796b74daf28496ad39b5d73aa02 @@ -9484,8 +9716,8 @@ trackedFiles: pristine_git_object: cb1c8115c808abce11bd1448c687792f7b4e37f5 src/models/components/debugsignalsexpression.ts: id: 834058ba61f4 - last_write_checksum: sha1:050118a8665d31f1ebe556efeea5f89e2e36ebac - pristine_git_object: 240b8ff5e4972c9b088864e430316e97a65c7f43 + last_write_checksum: sha1:fcca3c584de85fbc8d7c953c7ec55b254d354a28 + pristine_git_object: 087cc77c898e0add6d3c01f3b3f9b21247b10bb8 src/models/components/entitlemententity.ts: id: df8f40c1dc4f last_write_checksum: sha1:8981675e35a33543a61957c7a2ab99bf1e8524b7 @@ -9496,8 +9728,8 @@ trackedFiles: pristine_git_object: e22820fac7d324ec509f8b3339e641a315757705 src/models/components/environmententryentity.ts: id: 316bc9fbcbcc - last_write_checksum: sha1:94262f73f5b8378d8800662e137a603788a63cac - pristine_git_object: e7a819d6b3132105d9ee2834ec8d256c06e36a75 + last_write_checksum: sha1:959e157d2b2c2f95cbfd9015e502d2b7468a622b + pristine_git_object: 8612a618aaffbe95a63489c62d2505bfa0d95607 src/models/components/environmententryentitypaginated.ts: id: 5788ef0b2047 last_write_checksum: sha1:166935db40555b70ed470b37d2a8fce857eed380 @@ -9528,12 +9760,16 @@ trackedFiles: pristine_git_object: e235dd11b34817e5aa0a751e16e19f2057b014ab src/models/components/functionalityentity.ts: id: feff0714a4a0 - last_write_checksum: sha1:4db5a8e35878184bfe07aa22bb3be959a40df113 - pristine_git_object: 7a5ed69e9341b2413be3aefbaf51ce4dc58a14e4 + last_write_checksum: sha1:b6794f90f0df728b59e502bdd570f97e0f8c6a01 + pristine_git_object: 3516e6e50e92dfaf96d8fd1d6498c1ab1b48fa17 src/models/components/functionalityentitylite.ts: id: c1c36e4b057b last_write_checksum: sha1:6c14bc8d50c8ef178fcac477715fd7727055c5d2 pristine_git_object: a389247964aa412907938deee3602f94e50f16d3 + src/models/components/functionalityentitylitepaginated.ts: + id: ca61158518d7 + last_write_checksum: sha1:a5e1aa09953f7769d6d2bb1bcb03ecdadd8927e8 + pristine_git_object: 19cc7dbb5634bfaacbfd79801d29afcf2af0660d src/models/components/functionalityentitypaginated.ts: id: 5c2fab551010 last_write_checksum: sha1:c0bd3c020dff0183d5eb6987e94f6e1c891dd351 @@ -9556,8 +9792,8 @@ trackedFiles: pristine_git_object: e01ba7002eab7ec5506a6a59523c40b229377842 src/models/components/incidententity.ts: id: 3a8f7c64a523 - last_write_checksum: sha1:7db0775fb2e36d8ce8cf3d363eb43b4e51512044 - pristine_git_object: 025eda270edcd902dae76e1badb7a20f1c77fcd3 + last_write_checksum: sha1:1182124adfb258c6f96cd324f680e42739dce9fd + pristine_git_object: c0e1f97e087bddfc674171446f440964a657f7c8 src/models/components/incidententityfieldrequiremententity.ts: id: afe1a304a8ac last_write_checksum: sha1:a5c8ebb20b8bdc950750c888bf8eab4d86d478dd @@ -9664,8 +9900,8 @@ trackedFiles: pristine_git_object: cebbf78f6f2ed0dd28b19ea946bb3b7fa19a2777 src/models/components/incidentsretrospectivefieldentity.ts: id: d4cd79c8cb0d - last_write_checksum: sha1:51ca282728b76f6c7ef16a1532c9bd8b7d96fd33 - pristine_git_object: d62d9596c290b8b7e5616e1da19c7390d53ba92f + last_write_checksum: sha1:7e7aa5db37fc3d7420c9d1cdca7e234d9c5d5d2e + pristine_git_object: 177ad37c27f8ee1c97bd22732d07b751608f3b91 src/models/components/incidentsroleassignmententity.ts: id: 7a7702f06b6b last_write_checksum: sha1:74bf227d553b4a45449c5ab49aa57cc3351706f6 @@ -9704,8 +9940,8 @@ trackedFiles: pristine_git_object: e05562e8a7ace26170ce4b4855fbdaa113066354 src/models/components/index.ts: id: 0aa842dce54d - last_write_checksum: sha1:91625e736fbac89c46a3937d1c12e0606675ba03 - pristine_git_object: 260ff17e6f9b80ce7f078c211eb6fd789438aea1 + last_write_checksum: sha1:8746f5bf8cb9a5995eebafb2a327f8c636a00609 + pristine_git_object: 33f0c1198d9b2aec401c41ced77fc7488566203f src/models/components/infrastructuresearchentity.ts: id: 5c4e8595c0c0 last_write_checksum: sha1:ec56204e6e0d5e6f7998632e2f6e0bf677fd3725 @@ -9896,8 +10132,8 @@ trackedFiles: pristine_git_object: abc6df6715b1ff250353e60a6b5ea6286bdecb9e src/models/components/nullableincidententity.ts: id: faa263f97af9 - last_write_checksum: sha1:2fc42d393fd1ae0df275cb87c9c16bbe5274daf1 - pristine_git_object: 63a2ac262dc452cc2fc14f0d7327aa18606b1dcf + last_write_checksum: sha1:3bba2c05f37487e1b3495c0ef1afe5c52037f471 + pristine_git_object: 7896a709a2139f0670af19a46f5724b49d0bc1d5 src/models/components/nullableincidentroleentity.ts: id: e749695e68f3 last_write_checksum: sha1:0d1ec5a1707d5c5a43215fba52cda502687d0bd1 @@ -9992,8 +10228,8 @@ trackedFiles: pristine_git_object: 9bb19270f928eccb274e0aaa1e71dcf528b19444 src/models/components/nullablerulesruleentity.ts: id: 8a23e2c88189 - last_write_checksum: sha1:a63cf4773ee3baac58cd661b2a9599b6a2da8165 - pristine_git_object: ce30d2b43132be73a41b9cc9f590c0c3632d2c0c + last_write_checksum: sha1:606f416abf537309a9ae8297200e2e3ed9392c16 + pristine_git_object: 6ca31083ed356eaa47f1ab8aa7dce40a1e2d6580 src/models/components/nullablerunbooksactionconfigentity.ts: id: 669ff44f2208 last_write_checksum: sha1:045be85d15dfd7b00ee712d2a4fb915d9ba368a2 @@ -10004,12 +10240,8 @@ trackedFiles: pristine_git_object: aa4774e0502f98473f06eefd0dab56b1ef3ba759 src/models/components/nullablerunbookselementdynamicselectentity.ts: id: 141cf5f6a8e3 - last_write_checksum: sha1:546d86f8541a4704762a1d3e93f62717b2be87e7 - pristine_git_object: e05dfe5b76e4907ca04a6b2e31f59f75e073a1dd - src/models/components/nullablerunbookselementdynamicselectentityselectoptionentity.ts: - id: b5d13dc32306 - last_write_checksum: sha1:a13823aba3bd48a20b0f0d9a9145a7c15789da33 - pristine_git_object: f211f6a4d69bc7fb98eeaa643cd643e99ac2ccd4 + last_write_checksum: sha1:4a1e3a0ab8382624f290d576be1aff66a02784b6 + pristine_git_object: f69c0e166c3a0401fde1403aef99030a6db5b7fc src/models/components/nullablerunbookselementinputentity.ts: id: 7ada1127860a last_write_checksum: sha1:586297b90b96855a7422d0d0b372005103efdebe @@ -10044,8 +10276,8 @@ trackedFiles: pristine_git_object: 80cd7ed85fa399a70adc147ea1ffad24ee472a27 src/models/components/nullableserviceentity.ts: id: c049dc5dc631 - last_write_checksum: sha1:fe10d41d2e7d2043015250d3dab2f95c08ff474d - pristine_git_object: 8a751d7d76fa5a44bff2a04a7596a0dafb4aa180 + last_write_checksum: sha1:0698cc31d5e040111c740c79f90ea478ff4e963c + pristine_git_object: fe2c8c1e0243c423ddaf0e54cf9cd632a9b0db32 src/models/components/nullableseveritymatrixconditionentity.ts: id: a13933f99493 last_write_checksum: sha1:516d3560ba96f38f3cb6017ac341691c44742631 @@ -10074,6 +10306,10 @@ trackedFiles: id: b08669834e8b last_write_checksum: sha1:9656c6461f05e0528da290e55e51be52142723b1 pristine_git_object: 627f65e24ed01e83236c50854550264a8e714b7f + src/models/components/nullablesignalsapidestinationentity.ts: + id: 8333cbad42e5 + last_write_checksum: sha1:f863f58638f699fca5affacd29ae8faafde5fbb6 + pristine_git_object: 0de4dc1948ea2575d670739960212f9b66f4b685 src/models/components/nullablesignalsapiescalationpolicyhandoffstepentity.ts: id: 5fb990f46be5 last_write_checksum: sha1:e89ec5238ea7b3148241a27ffb6003b948277e7a @@ -10306,14 +10542,6 @@ trackedFiles: id: ef1214d57557 last_write_checksum: sha1:06f2bd64f44e14172c908bec5fe2169acda2d30b pristine_git_object: 066d791c7fc0d2bc50ddfc7ef62985ba44ffeae3 - src/models/components/retrospectivesreporttemplateentity.ts: - id: 8b01edf31950 - last_write_checksum: sha1:a63e68a61bf63eaf30fe1137a8f84bcb6169821f - pristine_git_object: cf271e7c384441fff88d3fdf1de7d0f66c412229 - src/models/components/retrospectivesreporttemplateentityelemententity.ts: - id: 5f95790584b9 - last_write_checksum: sha1:a8f6a8f3e0c1faa103eb885f95fe821c69eb70ea - pristine_git_object: 00ca465c237669102bdef7ea545e219ab21c818e src/models/components/retrospectivestemplateentity.ts: id: d8f3ed39f8aa last_write_checksum: sha1:ce1e6b3fcfe8de0692f1ad9ee53c1f1e4649ba34 @@ -10324,8 +10552,8 @@ trackedFiles: pristine_git_object: a1f7f17dbcc54ba6af1a9c3b0ede0ef49c456cf8 src/models/components/retrospectivestemplateentityreportelemententity.ts: id: 337146d79867 - last_write_checksum: sha1:d74e4b6ccb0f3a67f9a0d810e9dc62efad17a90f - pristine_git_object: 9bc5c9bc753e87041ebb829866f37b8b436673ee + last_write_checksum: sha1:34bc86c40cb4a95e3ed3b3ad2cac19d625388da9 + pristine_git_object: 22a64f9b215c0fcd30138793c54c02d220818588 src/models/components/roleentitypaginated.ts: id: 4794c53e339a last_write_checksum: sha1:ca267f24135c782e9b3c661a5021e0f8b1eaef97 @@ -10400,8 +10628,8 @@ trackedFiles: pristine_git_object: d6bc16a46525449ca8bafbe102baac2696a4737e src/models/components/serviceentity.ts: id: 844cf37db656 - last_write_checksum: sha1:eaf6af302d75792847cd4ab633935c6d33a2b7e0 - pristine_git_object: e026a37d6a3e839b2ca2d3185bc386a4e66729ad + last_write_checksum: sha1:9ad6100585f4c3d7e7d589da29b87c750d9b917c + pristine_git_object: f862d696db68661cfd4d3fac6ff89e865a11c3f5 src/models/components/serviceentitychecklist.ts: id: 07b12254ac5b last_write_checksum: sha1:5fbad4f81382d4731259c63038ade09ba1f23579 @@ -10410,6 +10638,10 @@ trackedFiles: id: ae45ec4e2d8f last_write_checksum: sha1:4761bb2189b569c7be9e185bdcf5feee488e2988 pristine_git_object: 9fa09d42ff2bc76ab157a6a29fa281f0a359bb6d + src/models/components/serviceentitylitepaginated.ts: + id: 5a9fad297f47 + last_write_checksum: sha1:447c918e8772ce0e3d479f417aee64fbfa662c77 + pristine_git_object: 510734e56405ef35f18bc67c5e6330bd9e46256b src/models/components/serviceentitypaginated.ts: id: ffb72235f00c last_write_checksum: sha1:d0f19d10070c8412d5e06781e808addd5f2da3d7 @@ -10590,6 +10822,14 @@ trackedFiles: id: d0509c11856d last_write_checksum: sha1:21feaf5461c45db087e1d1447f5e748adc50478b pristine_git_object: 0d8b7897e22a6bddc2f311ea6ba36c01c1d74a62 + src/models/components/signalsapiusernotificationsettingentity.ts: + id: a6d577a82d09 + last_write_checksum: sha1:3beb2725f223fae68ba468d76d3e6cca6a16af43 + pristine_git_object: 0295b77af90a4d4bc4a01a5a146f853da324e748 + src/models/components/signalsapiusernotificationsettingentitypaginated.ts: + id: 038935ddb787 + last_write_checksum: sha1:9c4b4ec9de52cc21d1602b337d30efb4a6be9232 + pristine_git_object: a5432150817d53d6dad02c784fbcea61563bcb20 src/models/components/signalsapiwebhooktargetentity.ts: id: 6e40a5fcd597 last_write_checksum: sha1:13ecdc0c127e6fcb0b9582e78afba628ecff8f6c @@ -10606,6 +10846,10 @@ trackedFiles: id: 834a8d6be48d last_write_checksum: sha1:bd9ce959b1cc8e13877f97f9a47a2667346bd796 pristine_git_object: 21a8d4862b651dd7db26f5ded5e23f36dc6bbe13 + src/models/components/slimrunbookentitypaginated.ts: + id: 892ea95bc7b5 + last_write_checksum: sha1:8f7c011a2c81bb22c4a48620758652456f5dee77 + pristine_git_object: 427bfbaa74fc7e362914329778f3ba28b12045ce src/models/components/statusupdatetemplateentity.ts: id: dccb74f69fe7 last_write_checksum: sha1:6a65d7503842ebec31f158f63093ca6d342318c9 @@ -10672,8 +10916,8 @@ trackedFiles: pristine_git_object: 83ca0d603cfe9d4179939f93e654a5e87d59718e src/models/components/ticketingprojectfieldmapcasesentity.ts: id: e57168b65b6f - last_write_checksum: sha1:12c0dfbf3254b2a844fb0e94b9b0386af1740350 - pristine_git_object: 77c9cba939240ecd5b6abf11c84af8fd6ac776a4 + last_write_checksum: sha1:68855b9e04a44d320fe9cb60ab69b90638119f42 + pristine_git_object: 8fd5ce84b8747acc77a9d9e9155c7a26f8f54a3b src/models/components/ticketingprojectfieldmapentity.ts: id: 4698c1886cf8 last_write_checksum: sha1:19abb837eb3db8df6febc66fbd2b13bbc0621919 @@ -10736,12 +10980,12 @@ trackedFiles: pristine_git_object: b675c709251bb8d0031d3a1dd2d56a1ce20e6b7b src/models/components/updateenvironment.ts: id: d3726370271a - last_write_checksum: sha1:6a5b985e63bf954143a4b68105c4e4ec8fa63544 - pristine_git_object: f1f099f852d03b3aad1199dea54d0ded04614d74 + last_write_checksum: sha1:d62cb729cf4cae7131c552083ea2a82fca1c235e + pristine_git_object: 01f254737114baa7d06af4cd4953e743850fcf67 src/models/components/updatefunctionality.ts: id: 07f160674669 - last_write_checksum: sha1:0a7d1f8c22a031e0db623a631caf7f8eba26db3a - pristine_git_object: 413f9f15c6ec5cd935f362f479f35af0f034eba7 + last_write_checksum: sha1:9956ac1cb978d336a72af947dc85a0413c55edd1 + pristine_git_object: 9c6e62d87eb0a314f3ed47827a0d842572b92910 src/models/components/updateincident.ts: id: 99aa0e74f957 last_write_checksum: sha1:fb25c6d6ef7db4670c79620896aa34df4b109b06 @@ -10828,12 +11072,12 @@ trackedFiles: pristine_git_object: 94f15fd82286a5be71c04bf2d1c824155e17caf8 src/models/components/updaterole.ts: id: b057e853c8a7 - last_write_checksum: sha1:6d12abe180ce1865c6a45b8dd552bb405848c53a - pristine_git_object: 014e370b964915f81346df0689f7be88ff898914 + last_write_checksum: sha1:3fba02c6aed6cecf627c8f0627f839cf766b88e1 + pristine_git_object: 23f648bb34c4b7cdbd4ad54c5ff4ac0237973d1c src/models/components/updaterunbook.ts: id: 1389664f2c82 - last_write_checksum: sha1:83a75ae152549758ab144880329cafd88cd04335 - pristine_git_object: 6ea9d66564eba0c80e8e981481175714eefb6816 + last_write_checksum: sha1:7b5b6990fe7edf01b57798316b5b10b9442e424b + pristine_git_object: 4591f196c596da559705662189b130a51cfc5e49 src/models/components/updaterunbookexecutionstep.ts: id: 3a281ea5fe60 last_write_checksum: sha1:2423276dade6a7f777ab622b9b4b0c3cbb9b8c56 @@ -10856,8 +11100,8 @@ trackedFiles: pristine_git_object: 18af6e13cf7efad6350183388b2a9adf104aae6f src/models/components/updateservice.ts: id: 11ba6b3f0ec7 - last_write_checksum: sha1:24af8e0f1f26969e69efdc667f7cf89d22ab2127 - pristine_git_object: 551f6ae90ff57b466106e7fbe828775d1d23f604 + last_write_checksum: sha1:2119fa26674cd732e2102d835f62c231a9bf509b + pristine_git_object: 4e75f08e13067aa8c5293d360d1db2e98720e275 src/models/components/updateservicedependency.ts: id: 7868a7fc4a33 last_write_checksum: sha1:bace860c92b478469c076d2f55230d0d2641b238 @@ -10890,6 +11134,10 @@ trackedFiles: id: 38109a1d1d3d last_write_checksum: sha1:ebf5357aa65c995285cf6fd14b97c7464aacbd55 pristine_git_object: 1f9650a435fea4773596eb32f4213f400baeea38 + src/models/components/updatesignalsheartbeatendpointconfiguration.ts: + id: 690ca21cce96 + last_write_checksum: sha1:6927b57e24302bb790470c096ee2812ba749bea7 + pristine_git_object: d3644bb37b250595c669d2a2fb77e1966c458007 src/models/components/updatesignalswebhooktarget.ts: id: 6cee330555b3 last_write_checksum: sha1:538d1378a943ddfb4b3953b2481aeb5560196c8d @@ -10954,10 +11202,22 @@ trackedFiles: id: df1301707241 last_write_checksum: sha1:b600bac6b3c8775bf6956b3d308f4d17c63a5f1e pristine_git_object: e6aa8d737d649ecf1caa2eb4073f6bc922733976 + src/models/components/webhooksentitiesdeliveryentity.ts: + id: 7a971fc2a16c + last_write_checksum: sha1:7758f7059d5224e66d763259e15f121e16e64bed + pristine_git_object: b5b41e421247757aae1221c9c0a001d477480af5 + src/models/components/webhooksentitiesdeliveryentitypaginated.ts: + id: 5eb35203ba55 + last_write_checksum: sha1:9489d05a5f33901c6e4ddd2c313db23733077e60 + pristine_git_object: 7bc7d7579158227f74cbdf80915ff63142dc4c29 src/models/components/webhooksentitieswebhookentity.ts: id: e8da9e426c67 last_write_checksum: sha1:ad0facfafb9f676a450a0ed063e10d50eebc3c1a pristine_git_object: 574cbe625d1bb52528153ec9b1435ea1f53145e9 + src/models/components/webhooksentitieswebhookentitypaginated.ts: + id: ba70c0b0a830 + last_write_checksum: sha1:f00546569013c73938a5f7a73e8678f6e6980a3c + pristine_git_object: 2dfbb8b2508ada696d75f2bacb7922fee63b0213 src/models/errors/apierror.ts: id: e2280e075454 last_write_checksum: sha1:231ef289419d84f20ea61f53d85b9aebf4f2a500 @@ -11112,8 +11372,8 @@ trackedFiles: pristine_git_object: 7f4844e72ac314ec5a8530ce094df673cdeec9d8 src/models/operations/createnuncconnection.ts: id: 73f5251823af - last_write_checksum: sha1:cbc00d512495d74543116463d5da74d340210fa7 - pristine_git_object: 20a667653301f4f5578bc6011929ea2ff6f83b19 + last_write_checksum: sha1:5ebaec3c0ae024e93d746c6f29616a6b7a2a9b3e + pristine_git_object: 407fedf728f8553b4ecc1b96ae42a9853519bc39 src/models/operations/createnunclink.ts: id: 7ec88f64f4ca last_write_checksum: sha1:faaa428aac18e0ced3ed2c67bac636b7f4889b27 @@ -11208,8 +11468,8 @@ trackedFiles: pristine_git_object: 773f7053caf984624cddba5ddf682a7aa3abf5cb src/models/operations/deleteenvironment.ts: id: c90138a19d25 - last_write_checksum: sha1:e20c3b23d75ec09c18bbbf913c201ccd82a718a6 - pristine_git_object: b8ab870bb0eaffd1326c064188b2c1e5460cee1b + last_write_checksum: sha1:4d477ef95ca169079dd209c7039adc39171313a2 + pristine_git_object: 76dca7fb2ec842278a3a526dcff4414a554b46dc src/models/operations/deletefunctionality.ts: id: a68e8c1515f9 last_write_checksum: sha1:1435cfceea3e69e6c0ffa12e082bfbaf8b68da71 @@ -11386,6 +11646,10 @@ trackedFiles: id: 576a50b5b4a0 last_write_checksum: sha1:68ed3bb46418fa5ddd2cdf9e1d0f6307d4c56cdf pristine_git_object: ff983100a63e35921bb7fa25b12308d74ca6b9f7 + src/models/operations/deletesignalsheartbeatendpointconfiguration.ts: + id: d2b797212a5f + last_write_checksum: sha1:3c08e87edea0f1adca3126f18db41f5f89787388 + pristine_git_object: c3c73f8264a931b71ddd007c35fd03adc1d7c26d src/models/operations/deletesignalswebhooktarget.ts: id: 49d9845c2cca last_write_checksum: sha1:34a82a2a6ee054d73b8706e07be19def56715883 @@ -11454,6 +11718,10 @@ trackedFiles: id: a0d2d14402d2 last_write_checksum: sha1:79e3f42a6efeec23b0b1a32acea20730f81d585b pristine_git_object: 65fccb47798a01f75e9bcec9eee7486671187f25 + src/models/operations/exportsignalsshiftanalytics.ts: + id: 89731cd96d9e + last_write_checksum: sha1:1b74db5fd74435dae1c658e0c6a4fde573c3f151 + pristine_git_object: 296b391e656afc88a681700fad7d8f072deb709f src/models/operations/generateaudiencesummary.ts: id: 2722e7371e29 last_write_checksum: sha1:86df64b809a655d58402d5db0542e8983cecc442 @@ -11512,16 +11780,16 @@ trackedFiles: pristine_git_object: 57cb8a1580a0a958059aa167a76fd956a3b099c9 src/models/operations/getenvironment.ts: id: 9a023ec8fa05 - last_write_checksum: sha1:989139eb6e503552902d08107f6b0c4bee63287f - pristine_git_object: 67173600971bd0223e102b9c709126aa91ea1061 + last_write_checksum: sha1:7daeb261d37d9bb13c532c3b16342df589540d56 + pristine_git_object: 808d666f97e91a7d4b501e02191d67b6bb4cef1f src/models/operations/getformconfiguration.ts: id: b1be9b8ad620 last_write_checksum: sha1:97b8ef8790f4bf09ba3fba81272ddc48dd1ce5b4 pristine_git_object: 1f810f82bd62ffbfa4fbe0971e12819a31ccb4f3 src/models/operations/getfunctionality.ts: id: 89683aab3d2e - last_write_checksum: sha1:341e529aab4a580222624df1c2f718ceae24ebf2 - pristine_git_object: f0dfbb32fade3f1c7b878df47461c08a5f890013 + last_write_checksum: sha1:6bf3b1e340d9124f34a9b58a08d7bf009e8bd248 + pristine_git_object: be08139e26d634d7af17549fb7cca26d21d0104e src/models/operations/getinboundfieldmap.ts: id: 6ba4841048a6 last_write_checksum: sha1:3afed759fa4909e0a74f14626510f26ee0419d34 @@ -11610,10 +11878,6 @@ trackedFiles: id: ad1cdaaa27dd last_write_checksum: sha1:63d6a9a2a273afa3124ce89a46c40f27a9214d27 pristine_git_object: 439ab75e003072e4586678d70adce08adcc9fc9d - src/models/operations/getretrospectivereporttemplate.ts: - id: 30f18db4cdc3 - last_write_checksum: sha1:5e105dd7c07907739982b4c7b146cd89ea80cc39 - pristine_git_object: 948e5d5588b41cc2c2045f3eed226750050ea77c src/models/operations/getretrospectivetemplate.ts: id: fb1c79444fc8 last_write_checksum: sha1:a4cf7694e4dbd4d649723b0d183296790bd5d066 @@ -11656,8 +11920,8 @@ trackedFiles: pristine_git_object: bfe458ddbc62ec97adce92739d787658d33cf775 src/models/operations/getservice.ts: id: eedbffd549f5 - last_write_checksum: sha1:e263d555ba21d0c64f2a57c78a57d6b5396374a6 - pristine_git_object: e338e88a4da6b2b34cfe397c1fe5d0cc5df53382 + last_write_checksum: sha1:315c85e7cf75cb8f64f4789dbf7522b765c2d37a + pristine_git_object: 00f831dd801d501ec417ea62e435a9a2003facba src/models/operations/getservicedependencies.ts: id: 868d5ad3e626 last_write_checksum: sha1:ec5cc3fdca928424a17f292d4f7e67487cc6182e @@ -11690,6 +11954,10 @@ trackedFiles: id: 31a4d8d0a5a7 last_write_checksum: sha1:4bbe3a42756e3c540c0a1487224a1474005c1e63 pristine_git_object: cb85bc3f254b215f5cbfd22abd8d9f9a587cbcd3 + src/models/operations/getsignalsheartbeatendpointconfiguration.ts: + id: d2db429add2f + last_write_checksum: sha1:415877e4c8e72807b1f884a59af1932b9e5e8436 + pristine_git_object: 8bfc21d048ad6f592af8b8ec76c071c93fda6527 src/models/operations/getsignalsingesturl.ts: id: 37d00b0eff59 last_write_checksum: sha1:91b2f298aa2002575e3bed0a12a9e4a21bcd5399 @@ -11728,8 +11996,8 @@ trackedFiles: pristine_git_object: 6ff103840ec25434274eca97962df24739de2d2f src/models/operations/getteam.ts: id: 0c669b144a16 - last_write_checksum: sha1:e8d751faae808cc485211da1abb73964d23c195e - pristine_git_object: 54848052fba5a27f0ce8f9479878be831ec1e1ad + last_write_checksum: sha1:1c1dd6d3ee47fef72c29ddf5c0cd9a1645c351e1 + pristine_git_object: c7a282ef98ac6ec135857fa2489828211d35e43d src/models/operations/getteamescalationpolicy.ts: id: 4b9472a599e1 last_write_checksum: sha1:bfd4aee4a910ba3939b150b44b13ef6d3f12a605 @@ -11780,8 +12048,8 @@ trackedFiles: pristine_git_object: deb12e14f3fba4988eb6c8d7ece79657aa8eb0ed src/models/operations/index.ts: id: 0d9ffaf774d2 - last_write_checksum: sha1:dd6f3d3952dd6ef9bc772854cf80adb1b17f66e4 - pristine_git_object: b185e7af04204215bedbb32ca6223e4cade49b8b + last_write_checksum: sha1:977aa509af77e1ccc3cec83454b53e392c2e0390 + pristine_git_object: a696df86ef40a6adf9eb2d613822e18b4959c0f1 src/models/operations/ingestcatalogdata.ts: id: c511734f64a0 last_write_checksum: sha1:fe1283871f529a4960a70a7a13e9dd850ef421d0 @@ -11792,8 +12060,8 @@ trackedFiles: pristine_git_object: 61cab41a664da5271e20290890d827d808216ce5 src/models/operations/listaudiences.ts: id: 3ae51f63f390 - last_write_checksum: sha1:d801eb05cf80291508668be6331da09568bbc60a - pristine_git_object: 28558b854f8444d8ec673d23a8656ada2ca6bdfd + last_write_checksum: sha1:df966e54330aae3f3ffec9be0a2ec8d68de5f05f + pristine_git_object: 59b0ff4acdf4ae10de55ab087764cfc8dc553447 src/models/operations/listaudiencesummaries.ts: id: b95cc6a63178 last_write_checksum: sha1:2030bf7f9b15e341bba0fe0016a1b4ba51168ccb @@ -11882,10 +12150,18 @@ trackedFiles: id: 5165f066adaa last_write_checksum: sha1:dee90ffcc87aec02bfe596be53a94a7c31775754 pristine_git_object: e93dac92266ffd03ed5e2c0a14de8345283d5ca9 + src/models/operations/listenvironmentfunctionalities.ts: + id: 6ee810906ab0 + last_write_checksum: sha1:7e0e60e09d8ced049afd3f3daa1d553c49a9900a + pristine_git_object: b55f1de67840b35d1d52f98c15cb656006399cef src/models/operations/listenvironments.ts: id: 4d1c7e9a8a5d last_write_checksum: sha1:aa10daa82772646fda44410d13b922a3bd3ec12c pristine_git_object: 0dff59be2db3fa36097c7b3e8c69f4ba0fbc5f84 + src/models/operations/listenvironmentservices.ts: + id: e21c93838014 + last_write_checksum: sha1:130105b8940c399c56d01b6ae251b51e083d46ba + pristine_git_object: 753ebcbafe15562724dda0340fbefe265d8a1e11 src/models/operations/listfieldmapavailablefields.ts: id: 6d41c32176ed last_write_checksum: sha1:8d719e9dd67348e8c66807373e6d85b66e4a7bd3 @@ -11894,6 +12170,10 @@ trackedFiles: id: f8254ba279e0 last_write_checksum: sha1:f52454b6f2aa22614d71f341dbe07c021ccfa39e pristine_git_object: ccec16aceeab394b29b08b6b090b125c090698c5 + src/models/operations/listfunctionalityenvironments.ts: + id: 1adcf842b534 + last_write_checksum: sha1:96baee7eac312b5cd86143280348e02849fce244 + pristine_git_object: c8c91a1e00a83425298db6240778e7766786173c src/models/operations/listfunctionalityservices.ts: id: 8fe2bec49273 last_write_checksum: sha1:f677b6a217f631931cd9c5e08ba3b7abd3c6ffee @@ -11952,8 +12232,8 @@ trackedFiles: pristine_git_object: 350673d2f1ab81295e7cbad1b39cd00865297016 src/models/operations/listincidents.ts: id: 93e6a79cfc9e - last_write_checksum: sha1:ac05e90d306c3319ce3fe424dcf51370945f496f - pristine_git_object: f0a1d6cad8a6fc47b95031949b6e8e2a11690c7a + last_write_checksum: sha1:acc2056cd3bbcd3bf95a9e84d485d66141b653d2 + pristine_git_object: 6972002c47d78542e8e80bd660f960e2f8a73265 src/models/operations/listincidentstatuspages.ts: id: b0d6150e0c8b last_write_checksum: sha1:cce805d1ab0623ad65cc183368021b35e447fed7 @@ -12074,6 +12354,10 @@ trackedFiles: id: 9084b7bac8de last_write_checksum: sha1:2a8905bd722296554d9db4c508cf995cd7a1928c pristine_git_object: 0c61dbbc96349235213c1b3a171b6d0ba547c399 + src/models/operations/listserviceenvironments.ts: + id: aacca62f8097 + last_write_checksum: sha1:dd828087f0620bf696dbea4aa267f9d16708521e + pristine_git_object: de131eea5df66f210effa867f023fd580b8d863b src/models/operations/listservices.ts: id: fabd1ff3b18b last_write_checksum: sha1:dd50dfec0809677fb20d0c131ee17de244f196af @@ -12090,6 +12374,10 @@ trackedFiles: id: ca38dc32ae96 last_write_checksum: sha1:a6ddca4d2f93889a03249e1bf47d23c771722ccc pristine_git_object: fa7218d1fddfc76484e0fff8bc033a9523a1cf5d + src/models/operations/listsignalsalertgroupingconfigurations.ts: + id: 37a583f9e845 + last_write_checksum: sha1:df19de0266b3ccde6ba88e0836a9aca9bf24224e + pristine_git_object: 515fc7bce8ca51d9e442978f0311fe05a84fb4b5 src/models/operations/listsignalsemailtargets.ts: id: ff16eea5172a last_write_checksum: sha1:73afc0b9b0f2f3359b5dbc81f20824ce3d621447 @@ -12170,6 +12458,10 @@ trackedFiles: id: ac376db7a3d8 last_write_checksum: sha1:59901d4853263dbb3119f285a96de46c84438384 pristine_git_object: ed6a3037f58812619fba404c6ca01e58a85088cd + src/models/operations/listusernotificationsettingsbyuserid.ts: + id: cd655adc4297 + last_write_checksum: sha1:244b9798a80a6ca4c614c5d7cafe516df00d6d47 + pristine_git_object: bd003e7d5151e0042a008c0024631ca1a8f2d8c6 src/models/operations/listuserownedservices.ts: id: 74bb93b93424 last_write_checksum: sha1:f3b28c6f03c2c5a8d2caf713000e4df538157903 @@ -12180,8 +12472,8 @@ trackedFiles: pristine_git_object: 90dea652f178d331ffce88e66ad242a13b0166ca src/models/operations/listwebhookdeliveries.ts: id: fcddb9e8dcb0 - last_write_checksum: sha1:3762c986aed2fef59faa3fe2eb077522dbfe6305 - pristine_git_object: 7cf53cd038fcc2da801d27e28a25d23d4da35dad + last_write_checksum: sha1:b8969e1f711f6d80992154dd6fe989046ddced5f + pristine_git_object: ce1fcaf36f3d6bd541de8c109071312bc157afac src/models/operations/listwebhooks.ts: id: 942dadcaaec0 last_write_checksum: sha1:675e6c3ff58adc08a9afbface6d8e0a9b9ba7fef @@ -12236,8 +12528,8 @@ trackedFiles: pristine_git_object: 506613de2bd79599b763e1e7990f9962a4fa472f src/models/operations/searchconfluencespaces.ts: id: c07ad29f4949 - last_write_checksum: sha1:2d9c32a513004881bd4cd1a07de4d3397f555250 - pristine_git_object: c05fc158008750989d9a6fd50bbe4ef33acfd760 + last_write_checksum: sha1:19541b276e4232595f7f980d5d7d79b65f8fc739 + pristine_git_object: 583cdcce6b321c93b7143596f44e8e1a97817336 src/models/operations/searchzendesktickets.ts: id: 07cb235c9464 last_write_checksum: sha1:430cedb20030d7dcd3b93c8c7742ad3190e358d5 @@ -12312,8 +12604,8 @@ trackedFiles: pristine_git_object: 5832542a9e76b20652fe31aff6fbf2b533fee26f src/models/operations/updateenvironment.ts: id: 608493f1b169 - last_write_checksum: sha1:d5640bc16e3cc59bc52c58b938817b798da971da - pristine_git_object: 04dcdd988d8ec2b7df61f0ab3558ae6fc0646d98 + last_write_checksum: sha1:e6acf5dc2ccc5c1abf29ae493095e9e78629684b + pristine_git_object: 3994126281a8d860a61e5ea41c68a3b72e9e4fe3 src/models/operations/updatefieldmap.ts: id: 4587c25905d8 last_write_checksum: sha1:df9a5d9099630b437c3eacdee1d764a75a3381f0 @@ -12400,8 +12692,8 @@ trackedFiles: pristine_git_object: 6b7c3bd5c5696e969ea72448c545c66125b2e0a7 src/models/operations/updatenuncconnection.ts: id: 7d15fb935248 - last_write_checksum: sha1:b7c8d12a8005e6a574f2f7d1c300ea163e7511e2 - pristine_git_object: 92128ed2ae9617399f9ac03893b4e2070bda8d5d + last_write_checksum: sha1:9fd6a3079d800d4afbc435ac8dc9d47ff3431c22 + pristine_git_object: 4b79d594684f40eef23fbcc1d47601bc4a6609be src/models/operations/updatenuncimage.ts: id: 1f71a824b7f6 last_write_checksum: sha1:4c9e95676cb21446f203cb88e086bc5efedb9613 @@ -12436,8 +12728,8 @@ trackedFiles: pristine_git_object: a9c50f320571e4d3ae6eff187e46d0c7ab255933 src/models/operations/updateretrospectivetemplate.ts: id: 7e92d46f9453 - last_write_checksum: sha1:86b30478dbe83023189e26560ea8ac259cffe128 - pristine_git_object: 6ffe5886aab8b7079de710f5e2ee2cd2910a4fe8 + last_write_checksum: sha1:7598d59277b42dba7b14ec58ea57e15452b49de7 + pristine_git_object: 9e64ff76617e79e73b310f195d21e5b1d9202480 src/models/operations/updaterole.ts: id: 42fa22c81b3a last_write_checksum: sha1:5e36fd4165f0e9300bdc9399b4661eca187d035b @@ -12502,6 +12794,10 @@ trackedFiles: id: f1947ed7e307 last_write_checksum: sha1:0dcce11835a5a1a9641bf6c2f3aeb227521a413d pristine_git_object: 596b8fd3e389ef268bcf38e439d6d5f8b3c06477 + src/models/operations/updatesignalsheartbeatendpointconfiguration.ts: + id: 8d44d171cb69 + last_write_checksum: sha1:44ac30b72b6584dfffc91ed407f6d3cb1253a4f4 + pristine_git_object: 78575cf2aab7d6862c36d71e1c9ada9ed56dc9fc src/models/operations/updatesignalswebhooktarget.ts: id: 9dee66034804 last_write_checksum: sha1:ffbae68a372e9cb5dbe1b04bba50b860917a7062 @@ -12584,8 +12880,8 @@ trackedFiles: pristine_git_object: 279605e0e4f55723ed7fc8dcceddca72296671e9 src/sdk/audiences.ts: id: 9c741bbd59e2 - last_write_checksum: sha1:795fe12ca7a4c911ccd8a95f790033af508b3fc9 - pristine_git_object: 9a967c445d1c6e702b06fa4782a9c13ac061b568 + last_write_checksum: sha1:8b08e50135218a31ba3a424bbe2cf291812742eb + pristine_git_object: dd0ace7acc38e2f22c358cf9d54788ce47dea38a src/sdk/auditevents.ts: id: 2c00c060b472 last_write_checksum: sha1:68c6f47e986256eed15eb1ba2c953674049891ab @@ -12596,8 +12892,8 @@ trackedFiles: pristine_git_object: 24308681a98f9cc4ea54029c12416e8eb11af965 src/sdk/catalogentries.ts: id: "4124292837e9" - last_write_checksum: sha1:714a25f10aa91430b8739357053cfe065d177eb5 - pristine_git_object: 96bb3a564f2312790975f73036197b2f9fbdb7ff + last_write_checksum: sha1:0d6b8c19a8b0e4796d6577b53875842a48e0c888 + pristine_git_object: 9005ba36a6bac7961b4a7e9ca6519ba66d230df4 src/sdk/changes.ts: id: 8594fbe4a8eb last_write_checksum: sha1:540747e097acb3a52062bff70cb6a7d80b140ab5 @@ -12628,8 +12924,8 @@ trackedFiles: pristine_git_object: 7cafa80425088859770b86b202eb933af1ae4f3a src/sdk/metricsreporting.ts: id: df1f7d4b41b0 - last_write_checksum: sha1:867c61900dce844148bd9465fa9e03819251bab2 - pristine_git_object: da6f036b52b77ce8249f9480d3eae5abf569128b + last_write_checksum: sha1:2e63b543336048bd77f3b887945068fc333e5610 + pristine_git_object: 52b4c7260176b39e5a827263bdb69e119482587a src/sdk/pages.ts: id: 5b81e9072261 last_write_checksum: sha1:ab240ddfca9c7fea9acd5fea4973609d55947d2c @@ -12640,16 +12936,16 @@ trackedFiles: pristine_git_object: cbc41e9896a92ff0603d40ca422a144f974ffb27 src/sdk/retrospectives.ts: id: 0b5cdcbcf4b4 - last_write_checksum: sha1:c38705cc0c5d2243228c5348f8983321dd939896 - pristine_git_object: 6bf17cb5aa1b8eaab79dda0093fc46676a6a8cac + last_write_checksum: sha1:3d7225e93a2b824fc809452a10430230b5688de3 + pristine_git_object: 9c71d7474e0757ee93de4f952c15e0241268df38 src/sdk/roles.ts: id: 438f2f8703b8 last_write_checksum: sha1:18a6bb2ff32272f5d02a69def43ac144f4c984ce pristine_git_object: 787bd0865497d3444b21a8d07a550e2f7ff9ec4b src/sdk/runbooks.ts: id: 6d0bb92e5263 - last_write_checksum: sha1:1fa183ca7ef21abe9f2e41be5b4b60f0bdc76f15 - pristine_git_object: 2a3c4d4b37789d356aaf7abc4559772ef65c2fc0 + last_write_checksum: sha1:1261140a0e2320f617a19cd5831aafbd0d801d35 + pristine_git_object: 9e5c85740fa055547e97296c8751b0c604bb451c src/sdk/scim.ts: id: ecf200b1abaf last_write_checksum: sha1:2c25794bf28de11b602285a10c4d3942240f9851 @@ -12660,8 +12956,8 @@ trackedFiles: pristine_git_object: afe0bceea70383bc60721ab993015074a08993ae src/sdk/signals.ts: id: 27711f30c6ad - last_write_checksum: sha1:4d5db1de0e304e9aacd279b85da7159b350b4bdb - pristine_git_object: 33d3cf7d0099ef3e03028bfddb0b61c432495d68 + last_write_checksum: sha1:e4474bdc9095e3cc88cf46d8b5b7d0bc48b1c6e2 + pristine_git_object: ea40c7ad0be953576648ffe0d3ffc081771cba19 src/sdk/statuspages.ts: id: f530403349e2 last_write_checksum: sha1:6a52eded0fc04aca8c4e924a412c8d97e66fcf8d @@ -12684,8 +12980,8 @@ trackedFiles: pristine_git_object: af58b32346e88753dc60d3e1c533a963e11c6d6a src/sdk/webhooks.ts: id: e879e17d0532 - last_write_checksum: sha1:f7556b881924cd91e4a707348e0f37eed1ad81d1 - pristine_git_object: f8231c33a45baa0c2262682b1da22f1d630318a7 + last_write_checksum: sha1:e908801cddabb23f201678a25bec58e7f596f198 + pristine_git_object: 7c69efb96c49cf13b0223315bcc5a7c71e2e2268 src/types/async.ts: id: fac8da972f86 last_write_checksum: sha1:3ff07b3feaf390ec1aeb18ff938e139c6c4a9585 @@ -12795,7 +13091,7 @@ examples: path: environment_id: "" requestBody: - application/json: {"name": ""} + application/json: {"remove_remaining_functionalities": false, "remove_remaining_services": false} responses: "200": application/json: {} @@ -12842,7 +13138,7 @@ examples: path: service_id: "" requestBody: - application/json: {} + application/json: {"remove_remaining_environments": false} responses: "200": application/json: {} @@ -12951,7 +13247,7 @@ examples: path: functionality_id: "" requestBody: - application/json: {"remove_remaining_services": false} + application/json: {"remove_remaining_services": false, "remove_remaining_environments": false} responses: "200": application/json: {} @@ -15867,6 +16163,9 @@ examples: parameters: path: webhook_id: "" + responses: + "200": + application/json: {} get_webhook: speakeasy-default-get-webhook: parameters: @@ -16243,6 +16542,76 @@ examples: responses: "200": application/json: {} + list_environment_services: + speakeasy-default-list-environment-services: + parameters: + path: + environment_id: "" + responses: + "200": + application/json: {} + list_environment_functionalities: + speakeasy-default-list-environment-functionalities: + parameters: + path: + environment_id: "" + responses: + "200": + application/json: {} + list_service_environments: + speakeasy-default-list-service-environments: + parameters: + path: + service_id: "" + responses: + "200": + application/json: {} + list_functionality_environments: + speakeasy-default-list-functionality-environments: + parameters: + path: + functionality_id: "" + responses: + "200": + application/json: {} + list_signals_heartbeat_endpoint_configurations: {} + create_signals_heartbeat_endpoint_configuration: + speakeasy-default-create-signals-heartbeat-endpoint-configuration: + requestBody: + application/json: {"slug": "", "enabled": false, "expect_interval": "", "template_signal": {}, "kind": "email"} + get_signals_heartbeat_endpoint_configuration: + speakeasy-default-get-signals-heartbeat-endpoint-configuration: + parameters: + path: + id: "" + delete_signals_heartbeat_endpoint_configuration: + speakeasy-default-delete-signals-heartbeat-endpoint-configuration: + parameters: + path: + id: "" + update_signals_heartbeat_endpoint_configuration: + speakeasy-default-update-signals-heartbeat-endpoint-configuration: + parameters: + path: + id: "" + requestBody: + application/json: {} + list_user_notification_settings_by_user_id: + speakeasy-default-list-user-notification-settings-by-user-id: + parameters: + path: + user_id: "" + responses: + "200": + application/json: {} + "403": + application/json: {} + export_signals_shift_analytics: + speakeasy-default-export-signals-shift-analytics: + parameters: + query: + period_start: "2026-01-17T01:07:20.168Z" + period_end: "2025-10-08T06:33:20.543Z" examplesVersion: 1.0.2 generatedTests: {} generatedFiles: diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 455bcc4a..9dbfca76 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -16,6 +16,7 @@ generation: requestResponseComponentNamesFeb2024: true securityFeb2025: false sharedErrorComponentsApr2025: false + sharedNestedComponentsJan2026: false auth: oAuth2ClientCredentialsEnabled: true oAuth2PasswordEnabled: true @@ -23,13 +24,14 @@ generation: schemas: allOfMergeStrategy: shallowMerge requestBodyFieldName: "" + versioningStrategy: automatic persistentEdits: {} tests: generateTests: true generateNewTests: false skipResponseBodyAssertions: false typescript: - version: 1.2.1 + version: 1.3.0 acceptHeaderEnum: true additionalDependencies: dependencies: {} @@ -49,6 +51,7 @@ typescript: enumFormat: union envVarPrefix: FIREHYDRANT exportZodModelNamespace: false + flatAdditionalProperties: false flattenGlobalSecurity: true flattenSdk: true flattenSpecOptions: @@ -70,6 +73,7 @@ typescript: inputModelSuffix: input jsonpath: legacy laxMode: strict + legacyFileNaming: true maxMethodParams: 0 methodArguments: require-security-and-request modelPropertyCasing: camel @@ -78,6 +82,7 @@ typescript: outputModelSuffix: output packageName: firehydrant-typescript-sdk preApplyUnionDiscriminators: true + preserveModelFieldNames: false responseFormat: flat sseFlatResponse: false templateVersion: v2 diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index eb4323ac..03ea5dc6 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,12 +1,12 @@ -speakeasyVersion: 1.680.0 +speakeasyVersion: 1.717.0 sources: firehydrant-oas: sourceNamespace: firehydrant-oas - sourceRevisionDigest: sha256:c64171a8ede22682e99faf43521037dfe52edd8772bbe7b39eb0d4c0006da265 - sourceBlobDigest: sha256:6387d519d156ca1bb637eecad25876fafa3833f3cc8a24d515dd29b0cb8d11dd + sourceRevisionDigest: sha256:6c1300045e4682451b9ee8298a28032951ca0d26e187a67684e632945685ce16 + sourceBlobDigest: sha256:a9a0ab37c689376dab1162c7204365e300da589f75c3a430b6e39925c0b58809 tags: - latest - - speakeasy-sdk-regen-1766014254 + - speakeasy-sdk-regen-1767917347 - 0.0.1 firehydrant-typescript-sdk-OAS: sourceNamespace: firehydrant-typescript-sdk-oas @@ -19,10 +19,10 @@ targets: firehydrant-typescript-sdk: source: firehydrant-oas sourceNamespace: firehydrant-oas - sourceRevisionDigest: sha256:c64171a8ede22682e99faf43521037dfe52edd8772bbe7b39eb0d4c0006da265 - sourceBlobDigest: sha256:6387d519d156ca1bb637eecad25876fafa3833f3cc8a24d515dd29b0cb8d11dd + sourceRevisionDigest: sha256:6c1300045e4682451b9ee8298a28032951ca0d26e187a67684e632945685ce16 + sourceBlobDigest: sha256:a9a0ab37c689376dab1162c7204365e300da589f75c3a430b6e39925c0b58809 codeSamplesNamespace: firehydrant-typescript-sdk-oas-code-samples - codeSamplesRevisionDigest: sha256:244f78f04a4c37629e76321f971b504ec8b1672584dc59a8b6ffab48b1d9036f + codeSamplesRevisionDigest: sha256:3e95dabbbf07964f274a7dc44b8d45ca3cd0f5f296357a4cc0f2a1e19037d5e4 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index 1fe19ee8..cf6031ef 100644 --- a/README.md +++ b/README.md @@ -375,12 +375,15 @@ run(); * [getEnvironment](docs/sdks/catalogentries/README.md#getenvironment) - Get an environment * [deleteEnvironment](docs/sdks/catalogentries/README.md#deleteenvironment) - Archive an environment * [updateEnvironment](docs/sdks/catalogentries/README.md#updateenvironment) - Update an environment +* [listEnvironmentServices](docs/sdks/catalogentries/README.md#listenvironmentservices) - List services for an environment +* [listEnvironmentFunctionalities](docs/sdks/catalogentries/README.md#listenvironmentfunctionalities) - List functionalities for an environment * [listServices](docs/sdks/catalogentries/README.md#listservices) - List services * [createService](docs/sdks/catalogentries/README.md#createservice) - Create a service * [createServiceLinks](docs/sdks/catalogentries/README.md#createservicelinks) - Create multiple services linked to external services * [getService](docs/sdks/catalogentries/README.md#getservice) - Get a service * [deleteService](docs/sdks/catalogentries/README.md#deleteservice) - Delete a service * [updateService](docs/sdks/catalogentries/README.md#updateservice) - Update a service +* [listServiceEnvironments](docs/sdks/catalogentries/README.md#listserviceenvironments) - List environments for a service * [getServiceDependencies](docs/sdks/catalogentries/README.md#getservicedependencies) - List dependencies for a service * [listServiceAvailableUpstreamDependencies](docs/sdks/catalogentries/README.md#listserviceavailableupstreamdependencies) - List available upstream service dependencies * [listServiceAvailableDownstreamDependencies](docs/sdks/catalogentries/README.md#listserviceavailabledownstreamdependencies) - List available downstream service dependencies @@ -395,6 +398,7 @@ run(); * [getFunctionality](docs/sdks/catalogentries/README.md#getfunctionality) - Get a functionality * [deleteFunctionality](docs/sdks/catalogentries/README.md#deletefunctionality) - Archive a functionality * [updateFunctionality](docs/sdks/catalogentries/README.md#updatefunctionality) - Update a functionality +* [listFunctionalityEnvironments](docs/sdks/catalogentries/README.md#listfunctionalityenvironments) - List environments for a functionality * [listFunctionalityServices](docs/sdks/catalogentries/README.md#listfunctionalityservices) - List services for a functionality * [listUserOwnedServices](docs/sdks/catalogentries/README.md#listuserownedservices) - List services owned by a user's teams * [listInfrastructures](docs/sdks/catalogentries/README.md#listinfrastructures) - Lists functionality, service and environment objects @@ -605,6 +609,7 @@ run(); * [getSignalsGroupedMetrics](docs/sdks/metricsreporting/README.md#getsignalsgroupedmetrics) - Generate grouped alert metrics * [getSignalsMttxAnalytics](docs/sdks/metricsreporting/README.md#getsignalsmttxanalytics) - Get MTTX analytics for signals * [getSignalsNoiseAnalytics](docs/sdks/metricsreporting/README.md#getsignalsnoiseanalytics) - Get noise analytics for signals +* [exportSignalsShiftAnalytics](docs/sdks/metricsreporting/README.md#exportsignalsshiftanalytics) - Export on-call hours report ### [Pages](docs/sdks/pages/README.md) @@ -648,7 +653,6 @@ run(); * [getRetrospectiveTemplate](docs/sdks/retrospectives/README.md#getretrospectivetemplate) - Get a retrospective template * [deleteRetrospectiveTemplate](docs/sdks/retrospectives/README.md#deleteretrospectivetemplate) - Delete a retrospective template * [updateRetrospectiveTemplate](docs/sdks/retrospectives/README.md#updateretrospectivetemplate) - Update a retrospective template -* [getRetrospectiveReportTemplate](docs/sdks/retrospectives/README.md#getretrospectivereporttemplate) - Get a retrospective report template ### [Roles](docs/sdks/roles/README.md) @@ -740,11 +744,17 @@ run(); * [getSignalsWebhookTarget](docs/sdks/signals/README.md#getsignalswebhooktarget) - Get a webhook target * [deleteSignalsWebhookTarget](docs/sdks/signals/README.md#deletesignalswebhooktarget) - Delete a webhook target * [updateSignalsWebhookTarget](docs/sdks/signals/README.md#updatesignalswebhooktarget) - Update a webhook target +* [listSignalsHeartbeatEndpointConfigurations](docs/sdks/signals/README.md#listsignalsheartbeatendpointconfigurations) - List heartbeat endpoint configurations +* [createSignalsHeartbeatEndpointConfiguration](docs/sdks/signals/README.md#createsignalsheartbeatendpointconfiguration) - Create a heartbeat endpoint configuration +* [getSignalsHeartbeatEndpointConfiguration](docs/sdks/signals/README.md#getsignalsheartbeatendpointconfiguration) - Get a heartbeat endpoint configuration +* [deleteSignalsHeartbeatEndpointConfiguration](docs/sdks/signals/README.md#deletesignalsheartbeatendpointconfiguration) - Delete a heartbeat endpoint configuration +* [updateSignalsHeartbeatEndpointConfiguration](docs/sdks/signals/README.md#updatesignalsheartbeatendpointconfiguration) - Update a heartbeat endpoint configuration * [listNotificationPolicySettings](docs/sdks/signals/README.md#listnotificationpolicysettings) - List notification policies * [createNotificationPolicy](docs/sdks/signals/README.md#createnotificationpolicy) - Create a notification policy * [getNotificationPolicy](docs/sdks/signals/README.md#getnotificationpolicy) - Get a notification policy * [deleteNotificationPolicy](docs/sdks/signals/README.md#deletenotificationpolicy) - Delete a notification policy * [updateNotificationPolicy](docs/sdks/signals/README.md#updatenotificationpolicy) - Update a notification policy +* [listUserNotificationSettingsByUserId](docs/sdks/signals/README.md#listusernotificationsettingsbyuserid) - List notification settings for a user * [listSignalsTransposers](docs/sdks/signals/README.md#listsignalstransposers) - List signal transposers * [getSignalsIngestUrl](docs/sdks/signals/README.md#getsignalsingesturl) - Get the signals ingestion URL * [debugSignalsExpression](docs/sdks/signals/README.md#debugsignalsexpression) - Debug Signals expressions @@ -924,12 +934,16 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`catalogEntriesGetServiceDependencies`](docs/sdks/catalogentries/README.md#getservicedependencies) - List dependencies for a service - [`catalogEntriesGetServiceDependency`](docs/sdks/catalogentries/README.md#getservicedependency) - Get a service dependency - [`catalogEntriesIngestCatalogData`](docs/sdks/catalogentries/README.md#ingestcatalogdata) - Ingest service catalog data +- [`catalogEntriesListEnvironmentFunctionalities`](docs/sdks/catalogentries/README.md#listenvironmentfunctionalities) - List functionalities for an environment - [`catalogEntriesListEnvironments`](docs/sdks/catalogentries/README.md#listenvironments) - List environments +- [`catalogEntriesListEnvironmentServices`](docs/sdks/catalogentries/README.md#listenvironmentservices) - List services for an environment - [`catalogEntriesListFunctionalities`](docs/sdks/catalogentries/README.md#listfunctionalities) - List functionalities +- [`catalogEntriesListFunctionalityEnvironments`](docs/sdks/catalogentries/README.md#listfunctionalityenvironments) - List environments for a functionality - [`catalogEntriesListFunctionalityServices`](docs/sdks/catalogentries/README.md#listfunctionalityservices) - List services for a functionality - [`catalogEntriesListInfrastructures`](docs/sdks/catalogentries/README.md#listinfrastructures) - Lists functionality, service and environment objects - [`catalogEntriesListServiceAvailableDownstreamDependencies`](docs/sdks/catalogentries/README.md#listserviceavailabledownstreamdependencies) - List available downstream service dependencies - [`catalogEntriesListServiceAvailableUpstreamDependencies`](docs/sdks/catalogentries/README.md#listserviceavailableupstreamdependencies) - List available upstream service dependencies +- [`catalogEntriesListServiceEnvironments`](docs/sdks/catalogentries/README.md#listserviceenvironments) - List environments for a service - [`catalogEntriesListServices`](docs/sdks/catalogentries/README.md#listservices) - List services - [`catalogEntriesListUserOwnedServices`](docs/sdks/catalogentries/README.md#listuserownedservices) - List services owned by a user's teams - [`catalogEntriesRefreshCatalog`](docs/sdks/catalogentries/README.md#refreshcatalog) - Refresh a service catalog @@ -1108,6 +1122,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`integrationsUpdateStatuspageConnection`](docs/sdks/integrations/README.md#updatestatuspageconnection) - Update a Statuspage connection - [`metricsReportingCreateSavedSearch`](docs/sdks/metricsreporting/README.md#createsavedsearch) - Create a saved search - [`metricsReportingDeleteSavedSearch`](docs/sdks/metricsreporting/README.md#deletesavedsearch) - Delete a saved search +- [`metricsReportingExportSignalsShiftAnalytics`](docs/sdks/metricsreporting/README.md#exportsignalsshiftanalytics) - Export on-call hours report - [`metricsReportingGetMeanTimeReport`](docs/sdks/metricsreporting/README.md#getmeantimereport) - Get mean time metrics for incidents - [`metricsReportingGetSavedSearch`](docs/sdks/metricsreporting/README.md#getsavedsearch) - Get a saved search - [`metricsReportingGetSignalsGroupedMetrics`](docs/sdks/metricsreporting/README.md#getsignalsgroupedmetrics) - Generate grouped alert metrics @@ -1138,7 +1153,6 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`retrospectivesGetIncidentRetrospectiveField`](docs/sdks/retrospectives/README.md#getincidentretrospectivefield) - Get a retrospective field - [`retrospectivesGetPostMortemQuestion`](docs/sdks/retrospectives/README.md#getpostmortemquestion) - Get a retrospective question - [`retrospectivesGetPostMortemReport`](docs/sdks/retrospectives/README.md#getpostmortemreport) - Get a retrospective report -- [`retrospectivesGetRetrospectiveReportTemplate`](docs/sdks/retrospectives/README.md#getretrospectivereporttemplate) - Get a retrospective report template - [`retrospectivesGetRetrospectiveTemplate`](docs/sdks/retrospectives/README.md#getretrospectivetemplate) - Get a retrospective template - [`retrospectivesListIncidentRetrospectives`](docs/sdks/retrospectives/README.md#listincidentretrospectives) - All attached retrospectives for an incident - [`retrospectivesListPostMortemQuestions`](docs/sdks/retrospectives/README.md#listpostmortemquestions) - List retrospective questions @@ -1195,6 +1209,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`signalsCreateSignalsAlertGroupingConfiguration`](docs/sdks/signals/README.md#createsignalsalertgroupingconfiguration) - Create an alert grouping configuration. - [`signalsCreateSignalsEmailTarget`](docs/sdks/signals/README.md#createsignalsemailtarget) - Create an email target for signals - [`signalsCreateSignalsEventSource`](docs/sdks/signals/README.md#createsignalseventsource) - Create an event source for Signals +- [`signalsCreateSignalsHeartbeatEndpointConfiguration`](docs/sdks/signals/README.md#createsignalsheartbeatendpointconfiguration) - Create a heartbeat endpoint configuration - [`signalsCreateSignalsWebhookTarget`](docs/sdks/signals/README.md#createsignalswebhooktarget) - Create a webhook target - [`signalsCreateTeamEscalationPolicy`](docs/sdks/signals/README.md#createteamescalationpolicy) - Create an escalation policy for a team - [`signalsCreateTeamOnCallSchedule`](docs/sdks/signals/README.md#createteamoncallschedule) - Create an on-call schedule for a team @@ -1206,6 +1221,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`signalsDeleteSignalsAlertGroupingConfiguration`](docs/sdks/signals/README.md#deletesignalsalertgroupingconfiguration) - Delete an alert grouping configuration. - [`signalsDeleteSignalsEmailTarget`](docs/sdks/signals/README.md#deletesignalsemailtarget) - Delete a signal email target - [`signalsDeleteSignalsEventSource`](docs/sdks/signals/README.md#deletesignalseventsource) - Delete an event source for Signals +- [`signalsDeleteSignalsHeartbeatEndpointConfiguration`](docs/sdks/signals/README.md#deletesignalsheartbeatendpointconfiguration) - Delete a heartbeat endpoint configuration - [`signalsDeleteSignalsWebhookTarget`](docs/sdks/signals/README.md#deletesignalswebhooktarget) - Delete a webhook target - [`signalsDeleteTeamEscalationPolicy`](docs/sdks/signals/README.md#deleteteamescalationpolicy) - Delete an escalation policy for a team - [`signalsDeleteTeamOnCallSchedule`](docs/sdks/signals/README.md#deleteteamoncallschedule) - Delete an on-call schedule for a team @@ -1217,6 +1233,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`signalsGetSignalsEmailTarget`](docs/sdks/signals/README.md#getsignalsemailtarget) - Get a signal email target - [`signalsGetSignalsEventSource`](docs/sdks/signals/README.md#getsignalseventsource) - Get an event source for Signals - [`signalsGetSignalsHackerMode`](docs/sdks/signals/README.md#getsignalshackermode) - Get hacker mode status +- [`signalsGetSignalsHeartbeatEndpointConfiguration`](docs/sdks/signals/README.md#getsignalsheartbeatendpointconfiguration) - Get a heartbeat endpoint configuration - [`signalsGetSignalsIngestUrl`](docs/sdks/signals/README.md#getsignalsingesturl) - Get the signals ingestion URL - [`signalsGetSignalsWebhookTarget`](docs/sdks/signals/README.md#getsignalswebhooktarget) - Get a webhook target - [`signalsGetTeamEscalationPolicy`](docs/sdks/signals/README.md#getteamescalationpolicy) - Get an escalation policy for a team @@ -1227,11 +1244,13 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`signalsListSignalsAlertGroupingConfigurations`](docs/sdks/signals/README.md#listsignalsalertgroupingconfigurations) - List alert grouping configurations. - [`signalsListSignalsEmailTargets`](docs/sdks/signals/README.md#listsignalsemailtargets) - List email targets for signals - [`signalsListSignalsEventSources`](docs/sdks/signals/README.md#listsignalseventsources) - List event sources for Signals +- [`signalsListSignalsHeartbeatEndpointConfigurations`](docs/sdks/signals/README.md#listsignalsheartbeatendpointconfigurations) - List heartbeat endpoint configurations - [`signalsListSignalsTransposers`](docs/sdks/signals/README.md#listsignalstransposers) - List signal transposers - [`signalsListSignalsWebhookTargets`](docs/sdks/signals/README.md#listsignalswebhooktargets) - List webhook targets - [`signalsListTeamEscalationPolicies`](docs/sdks/signals/README.md#listteamescalationpolicies) - List escalation policies for a team - [`signalsListTeamOnCallSchedules`](docs/sdks/signals/README.md#listteamoncallschedules) - List on-call schedules for a team - [`signalsListTeamSignalRules`](docs/sdks/signals/README.md#listteamsignalrules) - List Signals rules +- [`signalsListUserNotificationSettingsByUserId`](docs/sdks/signals/README.md#listusernotificationsettingsbyuserid) - List notification settings for a user - [`signalsOverrideOnCallScheduleRotationShifts`](docs/sdks/signals/README.md#overrideoncallschedulerotationshifts) - Override one or more shifts in an on-call rotation - [`signalsPreviewOnCallScheduleRotation`](docs/sdks/signals/README.md#previewoncallschedulerotation) - Preview an on-call rotation - [`signalsPreviewTeamOnCallSchedule`](docs/sdks/signals/README.md#previewteamoncallschedule) - Preview a new on-call schedule for a team @@ -1240,6 +1259,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`signalsUpdateOnCallShift`](docs/sdks/signals/README.md#updateoncallshift) - Update an on-call shift for a team schedule - [`signalsUpdateSignalsAlertGroupingConfiguration`](docs/sdks/signals/README.md#updatesignalsalertgroupingconfiguration) - Update an alert grouping configuration. - [`signalsUpdateSignalsEmailTarget`](docs/sdks/signals/README.md#updatesignalsemailtarget) - Update an email target +- [`signalsUpdateSignalsHeartbeatEndpointConfiguration`](docs/sdks/signals/README.md#updatesignalsheartbeatendpointconfiguration) - Update a heartbeat endpoint configuration - [`signalsUpdateSignalsWebhookTarget`](docs/sdks/signals/README.md#updatesignalswebhooktarget) - Update a webhook target - [`signalsUpdateTeamEscalationPolicy`](docs/sdks/signals/README.md#updateteamescalationpolicy) - Update an escalation policy for a team - [`signalsUpdateTeamOnCallSchedule`](docs/sdks/signals/README.md#updateteamoncallschedule) - Update an on-call schedule for a team @@ -1507,7 +1527,7 @@ run(); **Inherit from [`FirehydrantError`](./src/models/errors/firehydranterror.ts)**: -* [`ErrorEntity`](./src/models/errors/errorentity.ts): ErrorEntity model. Applicable to 12 of 458 methods.* +* [`ErrorEntity`](./src/models/errors/errorentity.ts): ErrorEntity model. Applicable to 13 of 468 methods.* * [`ResponseValidationError`](./src/models/errors/responsevalidationerror.ts): Type mismatch between the data returned from the server and the structure expected by the SDK. See `error.rawValue` for the raw value and `error.pretty()` for a nicely formatted multi-line string. @@ -1553,19 +1573,23 @@ The `HTTPClient` constructor takes an optional `fetcher` argument that can be used to integrate a third-party HTTP client or when writing tests to mock out the HTTP client and feed in fixtures. -The following example shows how to use the `"beforeRequest"` hook to to add a -custom header and a timeout to requests and how to use the `"requestError"` hook -to log errors: +The following example shows how to: +- route requests through a proxy server using [undici](https://www.npmjs.com/package/undici)'s ProxyAgent +- use the `"beforeRequest"` hook to add a custom header and a timeout to requests +- use the `"requestError"` hook to log errors ```typescript import { Firehydrant } from "firehydrant-typescript-sdk"; +import { ProxyAgent } from "undici"; import { HTTPClient } from "firehydrant-typescript-sdk/lib/http"; +const dispatcher = new ProxyAgent("http://proxy.example.com:8080"); + const httpClient = new HTTPClient({ - // fetcher takes a function that has the same signature as native `fetch`. - fetcher: (request) => { - return fetch(request); - } + // 'fetcher' takes a function that has the same signature as native 'fetch'. + fetcher: (input, init) => + // 'dispatcher' is specific to undici and not part of the standard Fetch API. + fetch(input, { ...init, dispatcher } as RequestInit), }); httpClient.addHook("beforeRequest", (request) => { diff --git a/RELEASES.md b/RELEASES.md index fe5d2b36..05fe9353 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -266,4 +266,14 @@ Based on: ### Generated - [typescript v1.2.1] . ### Releases -- [NPM v1.2.1] https://www.npmjs.com/package/firehydrant-typescript-sdk/v/1.2.1 - . \ No newline at end of file +- [NPM v1.2.1] https://www.npmjs.com/package/firehydrant-typescript-sdk/v/1.2.1 - . + +## 2026-02-15 00:12:22 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.717.0 (2.824.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v1.3.0] . +### Releases +- [NPM v1.3.0] https://www.npmjs.com/package/firehydrant-typescript-sdk/v/1.3.0 - . \ No newline at end of file diff --git a/docs/models/components/audiencesentitiesaudienceentitypaginated.md b/docs/models/components/audiencesentitiesaudienceentitypaginated.md new file mode 100644 index 00000000..7571bccc --- /dev/null +++ b/docs/models/components/audiencesentitiesaudienceentitypaginated.md @@ -0,0 +1,18 @@ +# AudiencesEntitiesAudienceEntityPaginated + +Audiences_Entities_AudienceEntityPaginated model + +## Example Usage + +```typescript +import { AudiencesEntitiesAudienceEntityPaginated } from "firehydrant-typescript-sdk/models/components"; + +let value: AudiencesEntitiesAudienceEntityPaginated = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `data` | [components.AudiencesEntitiesAudienceEntity](../../models/components/audiencesentitiesaudienceentity.md)[] | :heavy_minus_sign: | N/A | +| `pagination` | [components.NullablePaginationEntity](../../models/components/nullablepaginationentity.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/bulkupdateincidentmilestones.md b/docs/models/components/bulkupdateincidentmilestones.md index d0b5570d..7613fc1a 100644 --- a/docs/models/components/bulkupdateincidentmilestones.md +++ b/docs/models/components/bulkupdateincidentmilestones.md @@ -17,7 +17,7 @@ let value: BulkUpdateIncidentMilestones = { milestones: [ { type: "", - occurredAt: new Date("2025-10-01T23:28:44.501Z"), + occurredAt: new Date("2026-10-01T23:28:44.501Z"), }, ], }; diff --git a/docs/models/components/bulkupdateincidentmilestonesmilestone.md b/docs/models/components/bulkupdateincidentmilestonesmilestone.md index a5734140..562671e7 100644 --- a/docs/models/components/bulkupdateincidentmilestonesmilestone.md +++ b/docs/models/components/bulkupdateincidentmilestonesmilestone.md @@ -7,7 +7,7 @@ import { BulkUpdateIncidentMilestonesMilestone } from "firehydrant-typescript-sd let value: BulkUpdateIncidentMilestonesMilestone = { type: "", - occurredAt: new Date("2025-10-08T05:09:58.072Z"), + occurredAt: new Date("2026-10-08T05:09:58.072Z"), }; ``` diff --git a/docs/models/components/annotations.md b/docs/models/components/content.md similarity index 58% rename from docs/models/components/annotations.md rename to docs/models/components/content.md index 3b7ff951..59443942 100644 --- a/docs/models/components/annotations.md +++ b/docs/models/components/content.md @@ -1,11 +1,11 @@ -# Annotations +# Content ## Example Usage ```typescript -import { Annotations } from "firehydrant-typescript-sdk/models/components"; +import { Content } from "firehydrant-typescript-sdk/models/components"; -let value: Annotations = {}; +let value: Content = {}; ``` ## Fields diff --git a/docs/models/components/createenvironment.md b/docs/models/components/createenvironment.md index 77be4498..0a1641d8 100644 --- a/docs/models/components/createenvironment.md +++ b/docs/models/components/createenvironment.md @@ -14,7 +14,9 @@ let value: CreateEnvironment = { ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `name` | *string* | :heavy_check_mark: | N/A | -| `description` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | N/A | +| `description` | *string* | :heavy_minus_sign: | N/A | +| `functionalities` | [components.CreateEnvironmentFunctionality](../../models/components/createenvironmentfunctionality.md)[] | :heavy_minus_sign: | N/A | +| `services` | [components.CreateEnvironmentService](../../models/components/createenvironmentservice.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/createenvironmentfunctionality.md b/docs/models/components/createenvironmentfunctionality.md new file mode 100644 index 00000000..1b6ccf58 --- /dev/null +++ b/docs/models/components/createenvironmentfunctionality.md @@ -0,0 +1,17 @@ +# CreateEnvironmentFunctionality + +## Example Usage + +```typescript +import { CreateEnvironmentFunctionality } from "firehydrant-typescript-sdk/models/components"; + +let value: CreateEnvironmentFunctionality = { + id: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------- | --------------------- | --------------------- | --------------------- | +| `id` | *string* | :heavy_check_mark: | ID of a functionality | \ No newline at end of file diff --git a/docs/models/components/createenvironmentservice.md b/docs/models/components/createenvironmentservice.md new file mode 100644 index 00000000..91e3e3a3 --- /dev/null +++ b/docs/models/components/createenvironmentservice.md @@ -0,0 +1,17 @@ +# CreateEnvironmentService + +## Example Usage + +```typescript +import { CreateEnvironmentService } from "firehydrant-typescript-sdk/models/components"; + +let value: CreateEnvironmentService = { + id: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | ID of a service | \ No newline at end of file diff --git a/docs/models/components/createfunctionality.md b/docs/models/components/createfunctionality.md index 9dc94ef8..66731398 100644 --- a/docs/models/components/createfunctionality.md +++ b/docs/models/components/createfunctionality.md @@ -19,6 +19,7 @@ let value: CreateFunctionality = { | `name` | *string* | :heavy_check_mark: | N/A | | `description` | *string* | :heavy_minus_sign: | N/A | | `services` | [components.CreateFunctionalityService](../../models/components/createfunctionalityservice.md)[] | :heavy_minus_sign: | N/A | +| `environments` | [components.CreateFunctionalityEnvironment](../../models/components/createfunctionalityenvironment.md)[] | :heavy_minus_sign: | N/A | | `labels` | Record | :heavy_minus_sign: | A hash of label keys and values | | `serviceTier` | [components.CreateFunctionalityServiceTier](../../models/components/createfunctionalityservicetier.md) | :heavy_minus_sign: | Integer representing functionality tier. Lower values represent higher criticality. Default is 5. | | `alertOnAdd` | *boolean* | :heavy_minus_sign: | N/A | diff --git a/docs/models/components/createfunctionalityenvironment.md b/docs/models/components/createfunctionalityenvironment.md new file mode 100644 index 00000000..cace2640 --- /dev/null +++ b/docs/models/components/createfunctionalityenvironment.md @@ -0,0 +1,17 @@ +# CreateFunctionalityEnvironment + +## Example Usage + +```typescript +import { CreateFunctionalityEnvironment } from "firehydrant-typescript-sdk/models/components"; + +let value: CreateFunctionalityEnvironment = { + id: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------- | -------------------- | -------------------- | -------------------- | +| `id` | *string* | :heavy_check_mark: | ID of an environment | \ No newline at end of file diff --git a/docs/models/components/createincidentmilestone.md b/docs/models/components/createincidentmilestone.md index 3a1aa8c7..98d62ef2 100644 --- a/docs/models/components/createincidentmilestone.md +++ b/docs/models/components/createincidentmilestone.md @@ -7,7 +7,7 @@ import { CreateIncidentMilestone } from "firehydrant-typescript-sdk/models/compo let value: CreateIncidentMilestone = { type: "", - occurredAt: new Date("2024-04-24T13:05:36.106Z"), + occurredAt: new Date("2025-04-24T13:05:36.106Z"), }; ``` diff --git a/docs/models/components/createoncallshift.md b/docs/models/components/createoncallshift.md index ae116b20..eb706e57 100644 --- a/docs/models/components/createoncallshift.md +++ b/docs/models/components/createoncallshift.md @@ -8,8 +8,8 @@ Create a Signals on-call shift in a schedule. import { CreateOnCallShift } from "firehydrant-typescript-sdk/models/components"; let value: CreateOnCallShift = { - startTime: new Date("2024-08-17T02:34:49.567Z"), - endTime: new Date("2023-06-01T00:39:49.630Z"), + startTime: new Date("2025-08-17T02:34:49.567Z"), + endTime: new Date("2024-05-31T00:39:49.630Z"), }; ``` diff --git a/docs/models/components/createrolepermission.md b/docs/models/components/createrolepermission.md index fc97f955..1e1c7bb2 100644 --- a/docs/models/components/createrolepermission.md +++ b/docs/models/components/createrolepermission.md @@ -11,5 +11,5 @@ let value: CreateRolePermission = "manage_incident_settings"; ## Values ```typescript -"create_alerts" | "respond_to_alerts" | "read_alerts" | "manage_alert_grouping" | "read_alert_grouping" | "manage_alert_rules" | "read_alert_rules" | "manage_call_routes" | "read_call_routes" | "manage_escalation_policies" | "read_escalation_policies" | "manage_event_sources" | "read_event_sources" | "manage_on_call_schedules" | "read_on_call_schedules" | "manage_on_call_shifts" | "claim_on_call_shifts" | "manage_organization_notification_policies" | "read_notification_policy_compliance" | "manage_webhook_targets" | "read_webhook_targets" | "read_analytics" | "manage_api_keys" | "read_api_keys" | "manage_audiences" | "read_audiences" | "read_audit_events" | "manage_change_events" | "read_change_events" | "manage_incidents" | "create_incidents" | "read_incidents" | "update_incidents" | "manage_incident_settings" | "read_incident_settings" | "manage_integrations" | "read_integrations" | "manage_private_incidents" | "manage_organization_secrets" | "read_organization_secrets" | "manage_organization_settings" | "read_organization_settings" | "manage_roles" | "read_roles" | "manage_runbooks" | "read_runbooks" | "manage_service_catalog" | "read_service_catalog" | "manage_status_templates" | "read_status_templates" | "manage_status_page_updates" | "manage_support_hours" | "read_support_hours" | "manage_teams" | "read_teams" | "manage_users" | "read_users" | "manage_webhooks" | "read_webhooks" +"create_alerts" | "respond_to_alerts" | "read_alerts" | "manage_alert_grouping" | "read_alert_grouping" | "manage_alert_rules" | "read_alert_rules" | "manage_call_routes" | "read_call_routes" | "manage_escalation_policies" | "read_escalation_policies" | "manage_event_sources" | "read_event_sources" | "manage_on_call_schedules" | "read_on_call_schedules" | "manage_on_call_shifts" | "claim_on_call_shifts" | "read_signals_pii" | "manage_organization_notification_policies" | "read_notification_policy_compliance" | "manage_webhook_targets" | "read_webhook_targets" | "read_analytics" | "manage_api_keys" | "read_api_keys" | "manage_audiences" | "read_audiences" | "read_audit_events" | "manage_change_events" | "read_change_events" | "manage_incidents" | "create_incidents" | "read_incidents" | "update_incidents" | "manage_incident_settings" | "read_incident_settings" | "manage_integrations" | "read_integrations" | "manage_private_incidents" | "manage_organization_secrets" | "read_organization_secrets" | "manage_organization_settings" | "read_organization_settings" | "manage_roles" | "read_roles" | "manage_runbooks" | "read_runbooks" | "manage_service_catalog" | "read_service_catalog" | "manage_status_templates" | "read_status_templates" | "manage_status_page_updates" | "manage_support_hours" | "read_support_hours" | "manage_teams" | "read_teams" | "manage_users" | "read_users" | "manage_webhooks" | "read_webhooks" ``` \ No newline at end of file diff --git a/docs/models/components/createscheduledmaintenance.md b/docs/models/components/createscheduledmaintenance.md index d1395b72..b63a0847 100644 --- a/docs/models/components/createscheduledmaintenance.md +++ b/docs/models/components/createscheduledmaintenance.md @@ -9,8 +9,8 @@ import { CreateScheduledMaintenance } from "firehydrant-typescript-sdk/models/co let value: CreateScheduledMaintenance = { name: "", - startsAt: new Date("2023-04-13T10:47:11.279Z"), - endsAt: new Date("2025-10-18T12:37:20.450Z"), + startsAt: new Date("2024-04-12T10:47:11.279Z"), + endsAt: new Date("2026-10-18T12:37:20.450Z"), }; ``` diff --git a/docs/models/components/createservice.md b/docs/models/components/createservice.md index 365740c9..fa1cec4b 100644 --- a/docs/models/components/createservice.md +++ b/docs/models/components/createservice.md @@ -21,6 +21,7 @@ let value: CreateService = { | `labels` | Record | :heavy_minus_sign: | A hash of label keys and values | | `serviceTier` | [components.CreateServiceServiceTier](../../models/components/createserviceservicetier.md) | :heavy_minus_sign: | Integer representing service tier. Lower values represent higher criticality. If not specified the default value will be 5. | | `functionalities` | [components.CreateServiceFunctionality](../../models/components/createservicefunctionality.md)[] | :heavy_minus_sign: | An array of functionalities | +| `environments` | [components.CreateServiceEnvironment](../../models/components/createserviceenvironment.md)[] | :heavy_minus_sign: | N/A | | `links` | [components.CreateServiceLink](../../models/components/createservicelink.md)[] | :heavy_minus_sign: | An array of links to associate with this service | | `owner` | [components.CreateServiceOwner](../../models/components/createserviceowner.md) | :heavy_minus_sign: | An object representing a Team that owns the service | | `teams` | [components.CreateServiceTeam](../../models/components/createserviceteam.md)[] | :heavy_minus_sign: | An array of teams to attach to this service. | diff --git a/docs/models/components/createserviceenvironment.md b/docs/models/components/createserviceenvironment.md new file mode 100644 index 00000000..8ce81372 --- /dev/null +++ b/docs/models/components/createserviceenvironment.md @@ -0,0 +1,17 @@ +# CreateServiceEnvironment + +## Example Usage + +```typescript +import { CreateServiceEnvironment } from "firehydrant-typescript-sdk/models/components"; + +let value: CreateServiceEnvironment = { + id: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------- | -------------------- | -------------------- | -------------------- | +| `id` | *string* | :heavy_check_mark: | ID of an environment | \ No newline at end of file diff --git a/docs/models/components/createsignalseventsourceexamplepayload.md b/docs/models/components/createsignalseventsourceexamplepayload.md index 661cb36b..17b5b7a9 100644 --- a/docs/models/components/createsignalseventsourceexamplepayload.md +++ b/docs/models/components/createsignalseventsourceexamplepayload.md @@ -12,7 +12,7 @@ let value: CreateSignalsEventSourceExamplePayload = {}; ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `headers` | [components.Headers](../../models/components/headers.md) | :heavy_minus_sign: | Hash of HTTP headers with values as Array, e.g. { 'Content-Type' => ['application/json'] } | -| `data` | [components.CreateSignalsEventSourceData](../../models/components/createsignalseventsourcedata.md) | :heavy_minus_sign: | JSON body of request. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `headers` | [components.CreateSignalsEventSourceHeaders](../../models/components/createsignalseventsourceheaders.md) | :heavy_minus_sign: | Hash of HTTP headers with values as Array, e.g. { 'Content-Type' => ['application/json'] } | +| `data` | [components.CreateSignalsEventSourceData](../../models/components/createsignalseventsourcedata.md) | :heavy_minus_sign: | JSON body of request. | \ No newline at end of file diff --git a/docs/models/components/headers.md b/docs/models/components/createsignalseventsourceheaders.md similarity index 58% rename from docs/models/components/headers.md rename to docs/models/components/createsignalseventsourceheaders.md index 7c0f5265..0ef25612 100644 --- a/docs/models/components/headers.md +++ b/docs/models/components/createsignalseventsourceheaders.md @@ -1,13 +1,13 @@ -# Headers +# CreateSignalsEventSourceHeaders Hash of HTTP headers with values as Array, e.g. { 'Content-Type' => ['application/json'] } ## Example Usage ```typescript -import { Headers } from "firehydrant-typescript-sdk/models/components"; +import { CreateSignalsEventSourceHeaders } from "firehydrant-typescript-sdk/models/components"; -let value: Headers = {}; +let value: CreateSignalsEventSourceHeaders = {}; ``` ## Fields diff --git a/docs/models/components/createsignalsheartbeatendpointconfiguration.md b/docs/models/components/createsignalsheartbeatendpointconfiguration.md new file mode 100644 index 00000000..0d497b82 --- /dev/null +++ b/docs/models/components/createsignalsheartbeatendpointconfiguration.md @@ -0,0 +1,31 @@ +# CreateSignalsHeartbeatEndpointConfiguration + +Create a new heartbeat endpoint configuration for your organization + +## Example Usage + +```typescript +import { CreateSignalsHeartbeatEndpointConfiguration } from "firehydrant-typescript-sdk/models/components"; + +let value: CreateSignalsHeartbeatEndpointConfiguration = { + slug: "", + enabled: false, + expectInterval: "", + templateSignal: {}, + kind: "http", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `slug` | *string* | :heavy_check_mark: | Unique URL path segment for the heartbeat endpoint | +| `enabled` | *boolean* | :heavy_check_mark: | Whether the endpoint is active | +| `description` | *string* | :heavy_minus_sign: | Optional description of the endpoint's purpose | +| `expectInterval` | *string* | :heavy_check_mark: | Time interval in which heartbeats are expected (minimum '5m', maximum '24h') | +| `templateSignal` | [components.CreateSignalsHeartbeatEndpointConfigurationTemplateSignal](../../models/components/createsignalsheartbeatendpointconfigurationtemplatesignal.md) | :heavy_check_mark: | Signal template to be used when generating alerts for missed heartbeats | +| `kind` | [components.CreateSignalsHeartbeatEndpointConfigurationKind](../../models/components/createsignalsheartbeatendpointconfigurationkind.md) | :heavy_check_mark: | Type of heartbeat endpoint (e.g. 'http') | +| `allowedHttpMethods` | *string*[] | :heavy_minus_sign: | HTTP methods allowed for this endpoint | +| `allowedUserAgentSubstring` | *string* | :heavy_minus_sign: | User agent substring that must be present in requests | +| `allowedEmailSenders` | *string*[] | :heavy_minus_sign: | Email addresses allowed to send heartbeats | \ No newline at end of file diff --git a/docs/models/components/retrospectivestemplateentityreportelemententitycontent.md b/docs/models/components/createsignalsheartbeatendpointconfigurationannotations.md similarity index 53% rename from docs/models/components/retrospectivestemplateentityreportelemententitycontent.md rename to docs/models/components/createsignalsheartbeatendpointconfigurationannotations.md index 9c0761eb..08caccba 100644 --- a/docs/models/components/retrospectivestemplateentityreportelemententitycontent.md +++ b/docs/models/components/createsignalsheartbeatendpointconfigurationannotations.md @@ -1,11 +1,11 @@ -# RetrospectivesTemplateEntityReportElementEntityContent +# CreateSignalsHeartbeatEndpointConfigurationAnnotations ## Example Usage ```typescript -import { RetrospectivesTemplateEntityReportElementEntityContent } from "firehydrant-typescript-sdk/models/components"; +import { CreateSignalsHeartbeatEndpointConfigurationAnnotations } from "firehydrant-typescript-sdk/models/components"; -let value: RetrospectivesTemplateEntityReportElementEntityContent = {}; +let value: CreateSignalsHeartbeatEndpointConfigurationAnnotations = {}; ``` ## Fields diff --git a/docs/models/components/createsignalsheartbeatendpointconfigurationkind.md b/docs/models/components/createsignalsheartbeatendpointconfigurationkind.md new file mode 100644 index 00000000..2fda29d4 --- /dev/null +++ b/docs/models/components/createsignalsheartbeatendpointconfigurationkind.md @@ -0,0 +1,17 @@ +# CreateSignalsHeartbeatEndpointConfigurationKind + +Type of heartbeat endpoint (e.g. 'http') + +## Example Usage + +```typescript +import { CreateSignalsHeartbeatEndpointConfigurationKind } from "firehydrant-typescript-sdk/models/components"; + +let value: CreateSignalsHeartbeatEndpointConfigurationKind = "email"; +``` + +## Values + +```typescript +"http" | "email" +``` \ No newline at end of file diff --git a/docs/models/components/createsignalsheartbeatendpointconfigurationlink.md b/docs/models/components/createsignalsheartbeatendpointconfigurationlink.md new file mode 100644 index 00000000..038fbfa3 --- /dev/null +++ b/docs/models/components/createsignalsheartbeatendpointconfigurationlink.md @@ -0,0 +1,16 @@ +# CreateSignalsHeartbeatEndpointConfigurationLink + +## Example Usage + +```typescript +import { CreateSignalsHeartbeatEndpointConfigurationLink } from "firehydrant-typescript-sdk/models/components"; + +let value: CreateSignalsHeartbeatEndpointConfigurationLink = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `href` | *string* | :heavy_minus_sign: | N/A | +| `text` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/retrospectivesreporttemplateentityelemententity.md b/docs/models/components/createsignalsheartbeatendpointconfigurationtemplatesignal.md similarity index 66% rename from docs/models/components/retrospectivesreporttemplateentityelemententity.md rename to docs/models/components/createsignalsheartbeatendpointconfigurationtemplatesignal.md index aa14cab3..3c835960 100644 --- a/docs/models/components/retrospectivesreporttemplateentityelemententity.md +++ b/docs/models/components/createsignalsheartbeatendpointconfigurationtemplatesignal.md @@ -1,19 +1,20 @@ -# RetrospectivesReportTemplateEntityElementEntity +# CreateSignalsHeartbeatEndpointConfigurationTemplateSignal + +Signal template to be used when generating alerts for missed heartbeats ## Example Usage ```typescript -import { RetrospectivesReportTemplateEntityElementEntity } from "firehydrant-typescript-sdk/models/components"; +import { CreateSignalsHeartbeatEndpointConfigurationTemplateSignal } from "firehydrant-typescript-sdk/models/components"; -let value: RetrospectivesReportTemplateEntityElementEntity = {}; +let value: CreateSignalsHeartbeatEndpointConfigurationTemplateSignal = {}; ``` ## Fields | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | *string* | :heavy_minus_sign: | N/A | -| `data` | *string* | :heavy_minus_sign: | N/A | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `label` | *string* | :heavy_minus_sign: | N/A | -| `content` | [components.RetrospectivesReportTemplateEntityElementEntityContent](../../models/components/retrospectivesreporttemplateentityelemententitycontent.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `body` | *string* | :heavy_minus_sign: | N/A | +| `annotations` | [components.CreateSignalsHeartbeatEndpointConfigurationAnnotations](../../models/components/createsignalsheartbeatendpointconfigurationannotations.md) | :heavy_minus_sign: | N/A | +| `tags` | *string*[] | :heavy_minus_sign: | N/A | +| `links` | [components.CreateSignalsHeartbeatEndpointConfigurationLink](../../models/components/createsignalsheartbeatendpointconfigurationlink.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/createteamsignalrule.md b/docs/models/components/createteamsignalrule.md index f0e5cfb8..dcbd402b 100644 --- a/docs/models/components/createteamsignalrule.md +++ b/docs/models/components/createteamsignalrule.md @@ -1,6 +1,6 @@ # CreateTeamSignalRule -Create a Signals rule for a team. +Create a Signals rule for a team. We support up to 2000 rules per organization. ## Example Usage diff --git a/docs/models/components/debugsignalsexpressionannotations.md b/docs/models/components/debugsignalsexpressionannotations.md new file mode 100644 index 00000000..cc70f3da --- /dev/null +++ b/docs/models/components/debugsignalsexpressionannotations.md @@ -0,0 +1,14 @@ +# DebugSignalsExpressionAnnotations + +## Example Usage + +```typescript +import { DebugSignalsExpressionAnnotations } from "firehydrant-typescript-sdk/models/components"; + +let value: DebugSignalsExpressionAnnotations = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/environmententryentity.md b/docs/models/components/environmententryentity.md index 50124e45..71ce3704 100644 --- a/docs/models/components/environmententryentity.md +++ b/docs/models/components/environmententryentity.md @@ -21,4 +21,6 @@ let value: EnvironmentEntryEntity = {}; | `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The time the environment was updated | | `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The time the environment was created | | `activeIncidents` | *string*[] | :heavy_minus_sign: | List of active incident guids | -| `externalResources` | [components.ExternalResourceEntity](../../models/components/externalresourceentity.md)[] | :heavy_minus_sign: | Information about known linkages to representations of services outside of FireHydrant. | \ No newline at end of file +| `externalResources` | [components.ExternalResourceEntity](../../models/components/externalresourceentity.md)[] | :heavy_minus_sign: | Information about known linkages to representations of services outside of FireHydrant. | +| `functionalities` | [components.FunctionalityEntityLite](../../models/components/functionalityentitylite.md)[] | :heavy_minus_sign: | Functionalities related to this environment | +| `services` | [components.ServiceEntityLite](../../models/components/serviceentitylite.md)[] | :heavy_minus_sign: | Services related to this environment | \ No newline at end of file diff --git a/docs/models/components/functionalityentity.md b/docs/models/components/functionalityentity.md index 914a08cd..f780250b 100644 --- a/docs/models/components/functionalityentity.md +++ b/docs/models/components/functionalityentity.md @@ -29,5 +29,6 @@ let value: FunctionalityEntity = {}; | `autoAddRespondingTeam` | *boolean* | :heavy_minus_sign: | N/A | | `updatedBy` | [components.NullableAuthorEntity](../../models/components/nullableauthorentity.md) | :heavy_minus_sign: | N/A | | `services` | [components.ServiceEntityLite](../../models/components/serviceentitylite.md)[] | :heavy_minus_sign: | Services this functionality provides | +| `environments` | [components.EnvironmentEntryEntity](../../models/components/environmententryentity.md)[] | :heavy_minus_sign: | Environments related to this functionality | | `externalResources` | [components.ExternalResourceEntity](../../models/components/externalresourceentity.md)[] | :heavy_minus_sign: | Information about known linkages to representations of services outside of FireHydrant. | | `teams` | [components.TeamEntityLite](../../models/components/teamentitylite.md)[] | :heavy_minus_sign: | List of teams attached to the functionality | \ No newline at end of file diff --git a/docs/models/components/functionalityentitylitepaginated.md b/docs/models/components/functionalityentitylitepaginated.md new file mode 100644 index 00000000..a5065560 --- /dev/null +++ b/docs/models/components/functionalityentitylitepaginated.md @@ -0,0 +1,18 @@ +# FunctionalityEntityLitePaginated + +FunctionalityEntityLitePaginated model + +## Example Usage + +```typescript +import { FunctionalityEntityLitePaginated } from "firehydrant-typescript-sdk/models/components"; + +let value: FunctionalityEntityLitePaginated = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `data` | [components.FunctionalityEntityLite](../../models/components/functionalityentitylite.md)[] | :heavy_minus_sign: | N/A | +| `pagination` | [components.NullablePaginationEntity](../../models/components/nullablepaginationentity.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/incidententity.md b/docs/models/components/incidententity.md index 2ec1baed..5d206203 100644 --- a/docs/models/components/incidententity.md +++ b/docs/models/components/incidententity.md @@ -12,62 +12,62 @@ let value: IncidentEntity = {}; ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | UUID of the Incident | -| `name` | *string* | :heavy_minus_sign: | Name of the incident | -| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The time the incident was opened | -| `startedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The time the incident started | -| `discardedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The time the incident was archived | -| `summary` | *string* | :heavy_minus_sign: | N/A | -| `customerImpactSummary` | *string* | :heavy_minus_sign: | N/A | -| `description` | *string* | :heavy_minus_sign: | N/A | -| `currentMilestone` | *string* | :heavy_minus_sign: | The type/slug of the current milestone. Will be one of the currently configured milestones for the given incident. | -| `number` | *number* | :heavy_minus_sign: | Incident number | -| `priority` | *string* | :heavy_minus_sign: | N/A | -| `severity` | *string* | :heavy_minus_sign: | N/A | -| `severityColor` | *string* | :heavy_minus_sign: | N/A | -| `severityImpact` | *string* | :heavy_minus_sign: | N/A | -| `severityCondition` | *string* | :heavy_minus_sign: | N/A | -| `tagList` | *string*[] | :heavy_minus_sign: | N/A | -| `incidentType` | [components.NullableSuccinctEntity](../../models/components/nullablesuccinctentity.md) | :heavy_minus_sign: | N/A | -| `severityImpactObject` | [components.NullableSeverityMatrixImpactEntity](../../models/components/nullableseveritymatriximpactentity.md) | :heavy_minus_sign: | N/A | -| `severityConditionObject` | [components.NullableSeverityMatrixConditionEntity](../../models/components/nullableseveritymatrixconditionentity.md) | :heavy_minus_sign: | N/A | -| `privateId` | *string* | :heavy_minus_sign: | N/A | -| `organizationId` | *string* | :heavy_minus_sign: | N/A | -| `milestones` | [components.IncidentsMilestoneEntity](../../models/components/incidentsmilestoneentity.md)[] | :heavy_minus_sign: | DEPRECATED: Please use lifecycle phases instead | -| `lifecyclePhases` | [components.IncidentsLifecyclePhaseEntity](../../models/components/incidentslifecyclephaseentity.md)[] | :heavy_minus_sign: | N/A | -| `lifecycleMeasurements` | [components.IncidentsLifecycleMeasurementEntity](../../models/components/incidentslifecyclemeasuremententity.md)[] | :heavy_minus_sign: | N/A | -| `active` | *boolean* | :heavy_minus_sign: | N/A | -| `labels` | [components.IncidentEntityLabels](../../models/components/incidententitylabels.md) | :heavy_minus_sign: | A key/value of labels | -| `roleAssignments` | [components.IncidentsRoleAssignmentEntity](../../models/components/incidentsroleassignmententity.md)[] | :heavy_minus_sign: | N/A | -| `statusPages` | [components.IncidentsStatusPageEntity](../../models/components/incidentsstatuspageentity.md)[] | :heavy_minus_sign: | N/A | -| `incidentUrl` | *string* | :heavy_minus_sign: | N/A | -| `privateStatusPageUrl` | *string* | :heavy_minus_sign: | N/A | -| `organization` | [components.NullableOrganizationEntity](../../models/components/nullableorganizationentity.md) | :heavy_minus_sign: | N/A | -| `customersImpacted` | *number* | :heavy_minus_sign: | N/A | -| `monetaryImpact` | *number* | :heavy_minus_sign: | N/A | -| `monetaryImpactCents` | *number* | :heavy_minus_sign: | N/A | -| `lastUpdate` | *string* | :heavy_minus_sign: | N/A | -| `lastNote` | [components.NullableEventNoteEntity](../../models/components/nullableeventnoteentity.md) | :heavy_minus_sign: | N/A | -| `reportId` | *string* | :heavy_minus_sign: | N/A | -| `aiIncidentSummary` | *string* | :heavy_minus_sign: | N/A | -| `services` | [components.SuccinctEntity](../../models/components/succinctentity.md)[] | :heavy_minus_sign: | N/A | -| `environments` | [components.SuccinctEntity](../../models/components/succinctentity.md)[] | :heavy_minus_sign: | N/A | -| `functionalities` | [components.SuccinctEntity](../../models/components/succinctentity.md)[] | :heavy_minus_sign: | N/A | -| `channelName` | *string* | :heavy_minus_sign: | N/A | -| `channelReference` | *string* | :heavy_minus_sign: | N/A | -| `channelId` | *string* | :heavy_minus_sign: | N/A | -| `channelStatus` | *string* | :heavy_minus_sign: | inoperative: 0, operational: 1, archived: 2 | -| `incidentTickets` | [components.TicketingTicketEntity](../../models/components/ticketingticketentity.md)[] | :heavy_minus_sign: | N/A | -| `ticket` | [components.NullableTicketingTicketEntity](../../models/components/nullableticketingticketentity.md) | :heavy_minus_sign: | N/A | -| `impacts` | [components.IncidentsImpactEntity](../../models/components/incidentsimpactentity.md)[] | :heavy_minus_sign: | N/A | -| `conferenceBridges` | [components.IncidentsConferenceBridgeEntity](../../models/components/incidentsconferencebridgeentity.md)[] | :heavy_minus_sign: | N/A | -| `incidentChannels` | [components.IncidentsChannelEntity](../../models/components/incidentschannelentity.md)[] | :heavy_minus_sign: | N/A | -| `retroExports` | [components.IncidentEntityRetroExport](../../models/components/incidententityretroexport.md)[] | :heavy_minus_sign: | A list of objects attached to this item. Can be one of: LinkEntity, CustomerSupportIssueEntity, or GenericAttachmentEntity | -| `createdBy` | [components.NullableAuthorEntity](../../models/components/nullableauthorentity.md) | :heavy_minus_sign: | N/A | -| `contextObject` | [components.NullableIncidentsContextObjectEntity](../../models/components/nullableincidentscontextobjectentity.md) | :heavy_minus_sign: | N/A | -| `teamAssignments` | [components.IncidentsTeamAssignmentEntityLite](../../models/components/incidentsteamassignmententitylite.md)[] | :heavy_minus_sign: | N/A | -| `conversations` | [components.ConversationsAPIEntitiesReference](../../models/components/conversationsapientitiesreference.md)[] | :heavy_minus_sign: | N/A | -| `customFields` | [components.CustomFieldsFieldValue](../../models/components/customfieldsfieldvalue.md)[] | :heavy_minus_sign: | N/A | -| `fieldRequirements` | [components.IncidentEntityFieldRequirementEntity](../../models/components/incidententityfieldrequiremententity.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | UUID of the Incident | +| `name` | *string* | :heavy_minus_sign: | Name of the incident | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The time the incident was opened | +| `startedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The time the incident started | +| `discardedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The time the incident was archived | +| `summary` | *string* | :heavy_minus_sign: | N/A | +| `customerImpactSummary` | *string* | :heavy_minus_sign: | N/A | +| `description` | *string* | :heavy_minus_sign: | N/A | +| `currentMilestone` | *string* | :heavy_minus_sign: | The type/slug of the current milestone. Will be one of the currently configured milestones for the given incident. | +| `number` | *number* | :heavy_minus_sign: | Incident number | +| `priority` | *string* | :heavy_minus_sign: | N/A | +| `severity` | *string* | :heavy_minus_sign: | N/A | +| `severityColor` | *string* | :heavy_minus_sign: | N/A | +| `severityImpact` | *string* | :heavy_minus_sign: | N/A | +| `severityCondition` | *string* | :heavy_minus_sign: | N/A | +| `tagList` | *string*[] | :heavy_minus_sign: | N/A | +| `incidentType` | [components.NullableSuccinctEntity](../../models/components/nullablesuccinctentity.md) | :heavy_minus_sign: | N/A | +| `severityImpactObject` | [components.NullableSeverityMatrixImpactEntity](../../models/components/nullableseveritymatriximpactentity.md) | :heavy_minus_sign: | N/A | +| `severityConditionObject` | [components.NullableSeverityMatrixConditionEntity](../../models/components/nullableseveritymatrixconditionentity.md) | :heavy_minus_sign: | N/A | +| `privateId` | *string* | :heavy_minus_sign: | N/A | +| `organizationId` | *string* | :heavy_minus_sign: | N/A | +| `milestones` | [components.IncidentsMilestoneEntity](../../models/components/incidentsmilestoneentity.md)[] | :heavy_minus_sign: | DEPRECATED: Please use lifecycle phases instead | +| `lifecyclePhases` | [components.IncidentsLifecyclePhaseEntity](../../models/components/incidentslifecyclephaseentity.md)[] | :heavy_minus_sign: | N/A | +| `lifecycleMeasurements` | [components.IncidentsLifecycleMeasurementEntity](../../models/components/incidentslifecyclemeasuremententity.md)[] | :heavy_minus_sign: | N/A | +| `active` | *boolean* | :heavy_minus_sign: | N/A | +| `labels` | [components.IncidentEntityLabels](../../models/components/incidententitylabels.md) | :heavy_minus_sign: | A key/value of labels | +| `roleAssignments` | [components.IncidentsRoleAssignmentEntity](../../models/components/incidentsroleassignmententity.md)[] | :heavy_minus_sign: | N/A | +| `statusPages` | [components.IncidentsStatusPageEntity](../../models/components/incidentsstatuspageentity.md)[] | :heavy_minus_sign: | N/A | +| `incidentUrl` | *string* | :heavy_minus_sign: | N/A | +| `privateStatusPageUrl` | *string* | :heavy_minus_sign: | N/A | +| `organization` | [components.NullableOrganizationEntity](../../models/components/nullableorganizationentity.md) | :heavy_minus_sign: | N/A | +| `customersImpacted` | *number* | :heavy_minus_sign: | N/A | +| `monetaryImpact` | *number* | :heavy_minus_sign: | N/A | +| `monetaryImpactCents` | *number* | :heavy_minus_sign: | N/A | +| `lastUpdate` | *string* | :heavy_minus_sign: | N/A | +| `lastNote` | [components.NullableEventNoteEntity](../../models/components/nullableeventnoteentity.md) | :heavy_minus_sign: | N/A | +| `reportId` | *string* | :heavy_minus_sign: | N/A | +| `aiIncidentSummary` | *string* | :heavy_minus_sign: | DEPRECATED: this field is deprecated and will be removed in a future version. Please use the `/v1/audiences/summaries/:incident_id` endpoint instead. | +| `services` | [components.SuccinctEntity](../../models/components/succinctentity.md)[] | :heavy_minus_sign: | N/A | +| `environments` | [components.SuccinctEntity](../../models/components/succinctentity.md)[] | :heavy_minus_sign: | N/A | +| `functionalities` | [components.SuccinctEntity](../../models/components/succinctentity.md)[] | :heavy_minus_sign: | N/A | +| `channelName` | *string* | :heavy_minus_sign: | N/A | +| `channelReference` | *string* | :heavy_minus_sign: | N/A | +| `channelId` | *string* | :heavy_minus_sign: | N/A | +| `channelStatus` | *string* | :heavy_minus_sign: | inoperative: 0, operational: 1, archived: 2 | +| `incidentTickets` | [components.TicketingTicketEntity](../../models/components/ticketingticketentity.md)[] | :heavy_minus_sign: | N/A | +| `ticket` | [components.NullableTicketingTicketEntity](../../models/components/nullableticketingticketentity.md) | :heavy_minus_sign: | N/A | +| `impacts` | [components.IncidentsImpactEntity](../../models/components/incidentsimpactentity.md)[] | :heavy_minus_sign: | N/A | +| `conferenceBridges` | [components.IncidentsConferenceBridgeEntity](../../models/components/incidentsconferencebridgeentity.md)[] | :heavy_minus_sign: | N/A | +| `incidentChannels` | [components.IncidentsChannelEntity](../../models/components/incidentschannelentity.md)[] | :heavy_minus_sign: | N/A | +| `retroExports` | [components.IncidentEntityRetroExport](../../models/components/incidententityretroexport.md)[] | :heavy_minus_sign: | A list of objects attached to this item. Can be one of: LinkEntity, CustomerSupportIssueEntity, or GenericAttachmentEntity | +| `createdBy` | [components.NullableAuthorEntity](../../models/components/nullableauthorentity.md) | :heavy_minus_sign: | N/A | +| `contextObject` | [components.NullableIncidentsContextObjectEntity](../../models/components/nullableincidentscontextobjectentity.md) | :heavy_minus_sign: | N/A | +| `teamAssignments` | [components.IncidentsTeamAssignmentEntityLite](../../models/components/incidentsteamassignmententitylite.md)[] | :heavy_minus_sign: | N/A | +| `conversations` | [components.ConversationsAPIEntitiesReference](../../models/components/conversationsapientitiesreference.md)[] | :heavy_minus_sign: | N/A | +| `customFields` | [components.CustomFieldsFieldValue](../../models/components/customfieldsfieldvalue.md)[] | :heavy_minus_sign: | N/A | +| `fieldRequirements` | [components.IncidentEntityFieldRequirementEntity](../../models/components/incidententityfieldrequiremententity.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/incidentsretrospectivefieldentity.md b/docs/models/components/incidentsretrospectivefieldentity.md index 46058e12..43b9d875 100644 --- a/docs/models/components/incidentsretrospectivefieldentity.md +++ b/docs/models/components/incidentsretrospectivefieldentity.md @@ -21,5 +21,6 @@ let value: IncidentsRetrospectiveFieldEntity = {}; | `permissibleValues` | *string*[] | :heavy_minus_sign: | N/A | | `isRequired` | *boolean* | :heavy_minus_sign: | N/A | | `value` | *string* | :heavy_minus_sign: | N/A | +| `retrospectiveFieldId` | *string* | :heavy_minus_sign: | N/A | | `schema` | [components.Schema](../../models/components/schema.md)[] | :heavy_minus_sign: | N/A | | `requiredAtMilestoneId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/nullableincidententity.md b/docs/models/components/nullableincidententity.md index be88427a..92db3f3c 100644 --- a/docs/models/components/nullableincidententity.md +++ b/docs/models/components/nullableincidententity.md @@ -12,62 +12,62 @@ let value: NullableIncidentEntity = {}; ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | UUID of the Incident | -| `name` | *string* | :heavy_minus_sign: | Name of the incident | -| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The time the incident was opened | -| `startedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The time the incident started | -| `discardedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The time the incident was archived | -| `summary` | *string* | :heavy_minus_sign: | N/A | -| `customerImpactSummary` | *string* | :heavy_minus_sign: | N/A | -| `description` | *string* | :heavy_minus_sign: | N/A | -| `currentMilestone` | *string* | :heavy_minus_sign: | The type/slug of the current milestone. Will be one of the currently configured milestones for the given incident. | -| `number` | *number* | :heavy_minus_sign: | Incident number | -| `priority` | *string* | :heavy_minus_sign: | N/A | -| `severity` | *string* | :heavy_minus_sign: | N/A | -| `severityColor` | *string* | :heavy_minus_sign: | N/A | -| `severityImpact` | *string* | :heavy_minus_sign: | N/A | -| `severityCondition` | *string* | :heavy_minus_sign: | N/A | -| `tagList` | *string*[] | :heavy_minus_sign: | N/A | -| `incidentType` | [components.NullableSuccinctEntity](../../models/components/nullablesuccinctentity.md) | :heavy_minus_sign: | N/A | -| `severityImpactObject` | [components.NullableSeverityMatrixImpactEntity](../../models/components/nullableseveritymatriximpactentity.md) | :heavy_minus_sign: | N/A | -| `severityConditionObject` | [components.NullableSeverityMatrixConditionEntity](../../models/components/nullableseveritymatrixconditionentity.md) | :heavy_minus_sign: | N/A | -| `privateId` | *string* | :heavy_minus_sign: | N/A | -| `organizationId` | *string* | :heavy_minus_sign: | N/A | -| `milestones` | [components.IncidentsMilestoneEntity](../../models/components/incidentsmilestoneentity.md)[] | :heavy_minus_sign: | DEPRECATED: Please use lifecycle phases instead | -| `lifecyclePhases` | [components.IncidentsLifecyclePhaseEntity](../../models/components/incidentslifecyclephaseentity.md)[] | :heavy_minus_sign: | N/A | -| `lifecycleMeasurements` | [components.IncidentsLifecycleMeasurementEntity](../../models/components/incidentslifecyclemeasuremententity.md)[] | :heavy_minus_sign: | N/A | -| `active` | *boolean* | :heavy_minus_sign: | N/A | -| `labels` | [components.NullableIncidentEntityLabels](../../models/components/nullableincidententitylabels.md) | :heavy_minus_sign: | A key/value of labels | -| `roleAssignments` | [components.IncidentsRoleAssignmentEntity](../../models/components/incidentsroleassignmententity.md)[] | :heavy_minus_sign: | N/A | -| `statusPages` | [components.IncidentsStatusPageEntity](../../models/components/incidentsstatuspageentity.md)[] | :heavy_minus_sign: | N/A | -| `incidentUrl` | *string* | :heavy_minus_sign: | N/A | -| `privateStatusPageUrl` | *string* | :heavy_minus_sign: | N/A | -| `organization` | [components.NullableOrganizationEntity](../../models/components/nullableorganizationentity.md) | :heavy_minus_sign: | N/A | -| `customersImpacted` | *number* | :heavy_minus_sign: | N/A | -| `monetaryImpact` | *number* | :heavy_minus_sign: | N/A | -| `monetaryImpactCents` | *number* | :heavy_minus_sign: | N/A | -| `lastUpdate` | *string* | :heavy_minus_sign: | N/A | -| `lastNote` | [components.NullableEventNoteEntity](../../models/components/nullableeventnoteentity.md) | :heavy_minus_sign: | N/A | -| `reportId` | *string* | :heavy_minus_sign: | N/A | -| `aiIncidentSummary` | *string* | :heavy_minus_sign: | N/A | -| `services` | [components.SuccinctEntity](../../models/components/succinctentity.md)[] | :heavy_minus_sign: | N/A | -| `environments` | [components.SuccinctEntity](../../models/components/succinctentity.md)[] | :heavy_minus_sign: | N/A | -| `functionalities` | [components.SuccinctEntity](../../models/components/succinctentity.md)[] | :heavy_minus_sign: | N/A | -| `channelName` | *string* | :heavy_minus_sign: | N/A | -| `channelReference` | *string* | :heavy_minus_sign: | N/A | -| `channelId` | *string* | :heavy_minus_sign: | N/A | -| `channelStatus` | *string* | :heavy_minus_sign: | inoperative: 0, operational: 1, archived: 2 | -| `incidentTickets` | [components.TicketingTicketEntity](../../models/components/ticketingticketentity.md)[] | :heavy_minus_sign: | N/A | -| `ticket` | [components.NullableTicketingTicketEntity](../../models/components/nullableticketingticketentity.md) | :heavy_minus_sign: | N/A | -| `impacts` | [components.IncidentsImpactEntity](../../models/components/incidentsimpactentity.md)[] | :heavy_minus_sign: | N/A | -| `conferenceBridges` | [components.IncidentsConferenceBridgeEntity](../../models/components/incidentsconferencebridgeentity.md)[] | :heavy_minus_sign: | N/A | -| `incidentChannels` | [components.IncidentsChannelEntity](../../models/components/incidentschannelentity.md)[] | :heavy_minus_sign: | N/A | -| `retroExports` | [components.NullableIncidentEntityRetroExport](../../models/components/nullableincidententityretroexport.md)[] | :heavy_minus_sign: | A list of objects attached to this item. Can be one of: LinkEntity, CustomerSupportIssueEntity, or GenericAttachmentEntity | -| `createdBy` | [components.NullableAuthorEntity](../../models/components/nullableauthorentity.md) | :heavy_minus_sign: | N/A | -| `contextObject` | [components.NullableIncidentsContextObjectEntity](../../models/components/nullableincidentscontextobjectentity.md) | :heavy_minus_sign: | N/A | -| `teamAssignments` | [components.IncidentsTeamAssignmentEntityLite](../../models/components/incidentsteamassignmententitylite.md)[] | :heavy_minus_sign: | N/A | -| `conversations` | [components.ConversationsAPIEntitiesReference](../../models/components/conversationsapientitiesreference.md)[] | :heavy_minus_sign: | N/A | -| `customFields` | [components.CustomFieldsFieldValue](../../models/components/customfieldsfieldvalue.md)[] | :heavy_minus_sign: | N/A | -| `fieldRequirements` | [components.IncidentEntityFieldRequirementEntity](../../models/components/incidententityfieldrequiremententity.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | UUID of the Incident | +| `name` | *string* | :heavy_minus_sign: | Name of the incident | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The time the incident was opened | +| `startedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The time the incident started | +| `discardedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The time the incident was archived | +| `summary` | *string* | :heavy_minus_sign: | N/A | +| `customerImpactSummary` | *string* | :heavy_minus_sign: | N/A | +| `description` | *string* | :heavy_minus_sign: | N/A | +| `currentMilestone` | *string* | :heavy_minus_sign: | The type/slug of the current milestone. Will be one of the currently configured milestones for the given incident. | +| `number` | *number* | :heavy_minus_sign: | Incident number | +| `priority` | *string* | :heavy_minus_sign: | N/A | +| `severity` | *string* | :heavy_minus_sign: | N/A | +| `severityColor` | *string* | :heavy_minus_sign: | N/A | +| `severityImpact` | *string* | :heavy_minus_sign: | N/A | +| `severityCondition` | *string* | :heavy_minus_sign: | N/A | +| `tagList` | *string*[] | :heavy_minus_sign: | N/A | +| `incidentType` | [components.NullableSuccinctEntity](../../models/components/nullablesuccinctentity.md) | :heavy_minus_sign: | N/A | +| `severityImpactObject` | [components.NullableSeverityMatrixImpactEntity](../../models/components/nullableseveritymatriximpactentity.md) | :heavy_minus_sign: | N/A | +| `severityConditionObject` | [components.NullableSeverityMatrixConditionEntity](../../models/components/nullableseveritymatrixconditionentity.md) | :heavy_minus_sign: | N/A | +| `privateId` | *string* | :heavy_minus_sign: | N/A | +| `organizationId` | *string* | :heavy_minus_sign: | N/A | +| `milestones` | [components.IncidentsMilestoneEntity](../../models/components/incidentsmilestoneentity.md)[] | :heavy_minus_sign: | DEPRECATED: Please use lifecycle phases instead | +| `lifecyclePhases` | [components.IncidentsLifecyclePhaseEntity](../../models/components/incidentslifecyclephaseentity.md)[] | :heavy_minus_sign: | N/A | +| `lifecycleMeasurements` | [components.IncidentsLifecycleMeasurementEntity](../../models/components/incidentslifecyclemeasuremententity.md)[] | :heavy_minus_sign: | N/A | +| `active` | *boolean* | :heavy_minus_sign: | N/A | +| `labels` | [components.NullableIncidentEntityLabels](../../models/components/nullableincidententitylabels.md) | :heavy_minus_sign: | A key/value of labels | +| `roleAssignments` | [components.IncidentsRoleAssignmentEntity](../../models/components/incidentsroleassignmententity.md)[] | :heavy_minus_sign: | N/A | +| `statusPages` | [components.IncidentsStatusPageEntity](../../models/components/incidentsstatuspageentity.md)[] | :heavy_minus_sign: | N/A | +| `incidentUrl` | *string* | :heavy_minus_sign: | N/A | +| `privateStatusPageUrl` | *string* | :heavy_minus_sign: | N/A | +| `organization` | [components.NullableOrganizationEntity](../../models/components/nullableorganizationentity.md) | :heavy_minus_sign: | N/A | +| `customersImpacted` | *number* | :heavy_minus_sign: | N/A | +| `monetaryImpact` | *number* | :heavy_minus_sign: | N/A | +| `monetaryImpactCents` | *number* | :heavy_minus_sign: | N/A | +| `lastUpdate` | *string* | :heavy_minus_sign: | N/A | +| `lastNote` | [components.NullableEventNoteEntity](../../models/components/nullableeventnoteentity.md) | :heavy_minus_sign: | N/A | +| `reportId` | *string* | :heavy_minus_sign: | N/A | +| `aiIncidentSummary` | *string* | :heavy_minus_sign: | DEPRECATED: this field is deprecated and will be removed in a future version. Please use the `/v1/audiences/summaries/:incident_id` endpoint instead. | +| `services` | [components.SuccinctEntity](../../models/components/succinctentity.md)[] | :heavy_minus_sign: | N/A | +| `environments` | [components.SuccinctEntity](../../models/components/succinctentity.md)[] | :heavy_minus_sign: | N/A | +| `functionalities` | [components.SuccinctEntity](../../models/components/succinctentity.md)[] | :heavy_minus_sign: | N/A | +| `channelName` | *string* | :heavy_minus_sign: | N/A | +| `channelReference` | *string* | :heavy_minus_sign: | N/A | +| `channelId` | *string* | :heavy_minus_sign: | N/A | +| `channelStatus` | *string* | :heavy_minus_sign: | inoperative: 0, operational: 1, archived: 2 | +| `incidentTickets` | [components.TicketingTicketEntity](../../models/components/ticketingticketentity.md)[] | :heavy_minus_sign: | N/A | +| `ticket` | [components.NullableTicketingTicketEntity](../../models/components/nullableticketingticketentity.md) | :heavy_minus_sign: | N/A | +| `impacts` | [components.IncidentsImpactEntity](../../models/components/incidentsimpactentity.md)[] | :heavy_minus_sign: | N/A | +| `conferenceBridges` | [components.IncidentsConferenceBridgeEntity](../../models/components/incidentsconferencebridgeentity.md)[] | :heavy_minus_sign: | N/A | +| `incidentChannels` | [components.IncidentsChannelEntity](../../models/components/incidentschannelentity.md)[] | :heavy_minus_sign: | N/A | +| `retroExports` | [components.NullableIncidentEntityRetroExport](../../models/components/nullableincidententityretroexport.md)[] | :heavy_minus_sign: | A list of objects attached to this item. Can be one of: LinkEntity, CustomerSupportIssueEntity, or GenericAttachmentEntity | +| `createdBy` | [components.NullableAuthorEntity](../../models/components/nullableauthorentity.md) | :heavy_minus_sign: | N/A | +| `contextObject` | [components.NullableIncidentsContextObjectEntity](../../models/components/nullableincidentscontextobjectentity.md) | :heavy_minus_sign: | N/A | +| `teamAssignments` | [components.IncidentsTeamAssignmentEntityLite](../../models/components/incidentsteamassignmententitylite.md)[] | :heavy_minus_sign: | N/A | +| `conversations` | [components.ConversationsAPIEntitiesReference](../../models/components/conversationsapientitiesreference.md)[] | :heavy_minus_sign: | N/A | +| `customFields` | [components.CustomFieldsFieldValue](../../models/components/customfieldsfieldvalue.md)[] | :heavy_minus_sign: | N/A | +| `fieldRequirements` | [components.IncidentEntityFieldRequirementEntity](../../models/components/incidententityfieldrequiremententity.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/nullablerulesruleentity.md b/docs/models/components/nullablerulesruleentity.md index 9261bea1..4270b4bf 100644 --- a/docs/models/components/nullablerulesruleentity.md +++ b/docs/models/components/nullablerulesruleentity.md @@ -12,5 +12,5 @@ let value: NullableRulesRuleEntity = {}; | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `logic` | *string* | :heavy_minus_sign: | JSON stringified object of key/value pairs describing the logic for applying the rule. | +| `logic` | [components.NullableRulesRuleEntityLogic](../../models/components/nullablerulesruleentitylogic.md) | :heavy_minus_sign: | An unstructured object of key/value pairs describing the logic for applying the rule. | | `userData` | [components.NullableFHTypesGenericEntity](../../models/components/nullablefhtypesgenericentity.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/logic.md b/docs/models/components/nullablerulesruleentitylogic.md similarity index 59% rename from docs/models/components/logic.md rename to docs/models/components/nullablerulesruleentitylogic.md index e94f3c6f..a2e0309f 100644 --- a/docs/models/components/logic.md +++ b/docs/models/components/nullablerulesruleentitylogic.md @@ -1,13 +1,13 @@ -# Logic +# NullableRulesRuleEntityLogic An unstructured object of key/value pairs describing the logic for applying the rule. ## Example Usage ```typescript -import { Logic } from "firehydrant-typescript-sdk/models/components"; +import { NullableRulesRuleEntityLogic } from "firehydrant-typescript-sdk/models/components"; -let value: Logic = {}; +let value: NullableRulesRuleEntityLogic = {}; ``` ## Fields diff --git a/docs/models/components/nullablerunbookselementdynamicselectentity.md b/docs/models/components/nullablerunbookselementdynamicselectentity.md index 455e8239..2ab0bf6a 100644 --- a/docs/models/components/nullablerunbookselementdynamicselectentity.md +++ b/docs/models/components/nullablerunbookselementdynamicselectentity.md @@ -10,13 +10,12 @@ let value: NullableRunbooksElementDynamicSelectEntity = {}; ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `label` | *string* | :heavy_minus_sign: | N/A | -| `placeholder` | *string* | :heavy_minus_sign: | N/A | -| `asyncUrl` | *string* | :heavy_minus_sign: | N/A | -| `required` | *boolean* | :heavy_minus_sign: | N/A | -| `clearable` | *boolean* | :heavy_minus_sign: | N/A | -| `isMulti` | *boolean* | :heavy_minus_sign: | N/A | -| `defaultValue` | [components.NullableRunbooksElementDynamicSelectEntitySelectOptionEntity](../../models/components/nullablerunbookselementdynamicselectentityselectoptionentity.md) | :heavy_minus_sign: | N/A | -| `options` | [components.RunbooksElementDynamicSelectEntitySelectOptionEntity](../../models/components/runbookselementdynamicselectentityselectoptionentity.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | +| `label` | *string* | :heavy_minus_sign: | N/A | +| `placeholder` | *string* | :heavy_minus_sign: | N/A | +| `asyncUrl` | *string* | :heavy_minus_sign: | N/A | +| `required` | *boolean* | :heavy_minus_sign: | N/A | +| `clearable` | *boolean* | :heavy_minus_sign: | N/A | +| `isMulti` | *boolean* | :heavy_minus_sign: | N/A | +| `options` | [components.RunbooksElementDynamicSelectEntitySelectOptionEntity](../../models/components/runbookselementdynamicselectentityselectoptionentity.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/nullableserviceentity.md b/docs/models/components/nullableserviceentity.md index 98aea562..b380e880 100644 --- a/docs/models/components/nullableserviceentity.md +++ b/docs/models/components/nullableserviceentity.md @@ -30,6 +30,7 @@ let value: NullableServiceEntity = {}; | `completedChecks` | *number* | :heavy_minus_sign: | N/A | | `externalResources` | [components.ExternalResourceEntity](../../models/components/externalresourceentity.md)[] | :heavy_minus_sign: | Information about known linkages to representations of services outside of FireHydrant. | | `functionalities` | [components.FunctionalityEntity](../../models/components/functionalityentity.md)[] | :heavy_minus_sign: | List of functionalities attached to the service | +| `environments` | [components.EnvironmentEntryEntity](../../models/components/environmententryentity.md)[] | :heavy_minus_sign: | Environments related to this service | | `lastImport` | [components.NullableImportsImportableResourceEntity](../../models/components/nullableimportsimportableresourceentity.md) | :heavy_minus_sign: | N/A | | `links` | [components.LinksEntity](../../models/components/linksentity.md)[] | :heavy_minus_sign: | List of links attached to this service. | | `managedBy` | *string* | :heavy_minus_sign: | If set, this field indicates that the service is managed by an integration and thus cannot be set manually | diff --git a/docs/models/components/nullablerunbookselementdynamicselectentityselectoptionentity.md b/docs/models/components/nullablesignalsapidestinationentity.md similarity index 51% rename from docs/models/components/nullablerunbookselementdynamicselectentityselectoptionentity.md rename to docs/models/components/nullablesignalsapidestinationentity.md index 1a0fc351..d26ad99e 100644 --- a/docs/models/components/nullablerunbookselementdynamicselectentityselectoptionentity.md +++ b/docs/models/components/nullablesignalsapidestinationentity.md @@ -1,16 +1,18 @@ -# NullableRunbooksElementDynamicSelectEntitySelectOptionEntity +# NullableSignalsAPIDestinationEntity ## Example Usage ```typescript -import { NullableRunbooksElementDynamicSelectEntitySelectOptionEntity } from "firehydrant-typescript-sdk/models/components"; +import { NullableSignalsAPIDestinationEntity } from "firehydrant-typescript-sdk/models/components"; -let value: NullableRunbooksElementDynamicSelectEntitySelectOptionEntity = {}; +let value: NullableSignalsAPIDestinationEntity = {}; ``` ## Fields | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `type` | *string* | :heavy_minus_sign: | N/A | | `label` | *string* | :heavy_minus_sign: | N/A | | `value` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/retrospectivesreporttemplateentity.md b/docs/models/components/retrospectivesreporttemplateentity.md deleted file mode 100644 index f6a0ce17..00000000 --- a/docs/models/components/retrospectivesreporttemplateentity.md +++ /dev/null @@ -1,24 +0,0 @@ -# RetrospectivesReportTemplateEntity - -Retrospectives_ReportTemplateEntity model - -## Example Usage - -```typescript -import { RetrospectivesReportTemplateEntity } from "firehydrant-typescript-sdk/models/components"; - -let value: RetrospectivesReportTemplateEntity = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `name` | *string* | :heavy_minus_sign: | N/A | -| `description` | *string* | :heavy_minus_sign: | N/A | -| `isDefault` | *boolean* | :heavy_minus_sign: | N/A | -| `elements` | [components.RetrospectivesReportTemplateEntityElementEntity](../../models/components/retrospectivesreporttemplateentityelemententity.md)[] | :heavy_minus_sign: | N/A | -| `retrospectiveTemplateId` | *string* | :heavy_minus_sign: | N/A | -| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A | -| `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/retrospectivestemplateentityreportelemententity.md b/docs/models/components/retrospectivestemplateentityreportelemententity.md index 264423f0..09045e99 100644 --- a/docs/models/components/retrospectivestemplateentityreportelemententity.md +++ b/docs/models/components/retrospectivestemplateentityreportelemententity.md @@ -10,10 +10,11 @@ let value: RetrospectivesTemplateEntityReportElementEntity = {}; ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `type` | *string* | :heavy_minus_sign: | N/A | -| `data` | *string* | :heavy_minus_sign: | N/A | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `label` | *string* | :heavy_minus_sign: | N/A | -| `content` | [components.RetrospectivesTemplateEntityReportElementEntityContent](../../models/components/retrospectivestemplateentityreportelemententitycontent.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `type` | *string* | :heavy_minus_sign: | N/A | +| `data` | *string* | :heavy_minus_sign: | N/A | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `fieldId` | *string* | :heavy_minus_sign: | N/A | +| `label` | *string* | :heavy_minus_sign: | N/A | +| `content` | [components.Content](../../models/components/content.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/serviceentity.md b/docs/models/components/serviceentity.md index de102504..76253c78 100644 --- a/docs/models/components/serviceentity.md +++ b/docs/models/components/serviceentity.md @@ -30,6 +30,7 @@ let value: ServiceEntity = {}; | `completedChecks` | *number* | :heavy_minus_sign: | N/A | | `externalResources` | [components.ExternalResourceEntity](../../models/components/externalresourceentity.md)[] | :heavy_minus_sign: | Information about known linkages to representations of services outside of FireHydrant. | | `functionalities` | [components.FunctionalityEntity](../../models/components/functionalityentity.md)[] | :heavy_minus_sign: | List of functionalities attached to the service | +| `environments` | [components.EnvironmentEntryEntity](../../models/components/environmententryentity.md)[] | :heavy_minus_sign: | Environments related to this service | | `lastImport` | [components.NullableImportsImportableResourceEntity](../../models/components/nullableimportsimportableresourceentity.md) | :heavy_minus_sign: | N/A | | `links` | [components.LinksEntity](../../models/components/linksentity.md)[] | :heavy_minus_sign: | List of links attached to this service. | | `managedBy` | *string* | :heavy_minus_sign: | If set, this field indicates that the service is managed by an integration and thus cannot be set manually | diff --git a/docs/models/components/serviceentitylitepaginated.md b/docs/models/components/serviceentitylitepaginated.md new file mode 100644 index 00000000..e050a67e --- /dev/null +++ b/docs/models/components/serviceentitylitepaginated.md @@ -0,0 +1,18 @@ +# ServiceEntityLitePaginated + +ServiceEntityLitePaginated model + +## Example Usage + +```typescript +import { ServiceEntityLitePaginated } from "firehydrant-typescript-sdk/models/components"; + +let value: ServiceEntityLitePaginated = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `data` | [components.ServiceEntityLite](../../models/components/serviceentitylite.md)[] | :heavy_minus_sign: | N/A | +| `pagination` | [components.NullablePaginationEntity](../../models/components/nullablepaginationentity.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/signal.md b/docs/models/components/signal.md index 57bfe568..80323666 100644 --- a/docs/models/components/signal.md +++ b/docs/models/components/signal.md @@ -10,14 +10,14 @@ let value: Signal = {}; ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `organizationId` | *string* | :heavy_minus_sign: | N/A | -| `summary` | *string* | :heavy_minus_sign: | N/A | -| `body` | *string* | :heavy_minus_sign: | N/A | -| `level` | *string* | :heavy_minus_sign: | N/A | -| `annotations` | [components.Annotations](../../models/components/annotations.md) | :heavy_minus_sign: | N/A | -| `tags` | *string*[] | :heavy_minus_sign: | N/A | -| `images` | [components.Image](../../models/components/image.md)[] | :heavy_minus_sign: | N/A | -| `links` | [components.DebugSignalsExpressionLink](../../models/components/debugsignalsexpressionlink.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `organizationId` | *string* | :heavy_minus_sign: | N/A | +| `summary` | *string* | :heavy_minus_sign: | N/A | +| `body` | *string* | :heavy_minus_sign: | N/A | +| `level` | *string* | :heavy_minus_sign: | N/A | +| `annotations` | [components.DebugSignalsExpressionAnnotations](../../models/components/debugsignalsexpressionannotations.md) | :heavy_minus_sign: | N/A | +| `tags` | *string*[] | :heavy_minus_sign: | N/A | +| `images` | [components.Image](../../models/components/image.md)[] | :heavy_minus_sign: | N/A | +| `links` | [components.DebugSignalsExpressionLink](../../models/components/debugsignalsexpressionlink.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/signalsapiusernotificationsettingentity.md b/docs/models/components/signalsapiusernotificationsettingentity.md new file mode 100644 index 00000000..b1315f83 --- /dev/null +++ b/docs/models/components/signalsapiusernotificationsettingentity.md @@ -0,0 +1,19 @@ +# SignalsAPIUserNotificationSettingEntity + +## Example Usage + +```typescript +import { SignalsAPIUserNotificationSettingEntity } from "firehydrant-typescript-sdk/models/components"; + +let value: SignalsAPIUserNotificationSettingEntity = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `notificationType` | *string* | :heavy_minus_sign: | N/A | +| `delay` | *string* | :heavy_minus_sign: | N/A | +| `notificationPriority` | *string* | :heavy_minus_sign: | N/A | +| `destination` | [components.NullableSignalsAPIDestinationEntity](../../models/components/nullablesignalsapidestinationentity.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/signalsapiusernotificationsettingentitypaginated.md b/docs/models/components/signalsapiusernotificationsettingentitypaginated.md new file mode 100644 index 00000000..0a0ea6b6 --- /dev/null +++ b/docs/models/components/signalsapiusernotificationsettingentitypaginated.md @@ -0,0 +1,18 @@ +# SignalsAPIUserNotificationSettingEntityPaginated + +Signals_API_UserNotificationSettingEntityPaginated model + +## Example Usage + +```typescript +import { SignalsAPIUserNotificationSettingEntityPaginated } from "firehydrant-typescript-sdk/models/components"; + +let value: SignalsAPIUserNotificationSettingEntityPaginated = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `data` | [components.SignalsAPIUserNotificationSettingEntity](../../models/components/signalsapiusernotificationsettingentity.md)[] | :heavy_minus_sign: | N/A | +| `pagination` | [components.NullablePaginationEntity](../../models/components/nullablepaginationentity.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/slimrunbookentitypaginated.md b/docs/models/components/slimrunbookentitypaginated.md new file mode 100644 index 00000000..dd4655b9 --- /dev/null +++ b/docs/models/components/slimrunbookentitypaginated.md @@ -0,0 +1,18 @@ +# SlimRunbookEntityPaginated + +SlimRunbookEntityPaginated model + +## Example Usage + +```typescript +import { SlimRunbookEntityPaginated } from "firehydrant-typescript-sdk/models/components"; + +let value: SlimRunbookEntityPaginated = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `data` | [components.SlimRunbookEntity](../../models/components/slimrunbookentity.md)[] | :heavy_minus_sign: | N/A | +| `pagination` | [components.NullablePaginationEntity](../../models/components/nullablepaginationentity.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/ticketingprojectfieldmapcasesentity.md b/docs/models/components/ticketingprojectfieldmapcasesentity.md index 3f39b32e..c08222b8 100644 --- a/docs/models/components/ticketingprojectfieldmapcasesentity.md +++ b/docs/models/components/ticketingprojectfieldmapcasesentity.md @@ -12,5 +12,5 @@ let value: TicketingProjectFieldMapCasesEntity = {}; | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | -| `logic` | [components.Logic](../../models/components/logic.md) | :heavy_minus_sign: | An unstructured object of key/value pairs describing the logic for applying the rule. | +| `logic` | [components.TicketingProjectFieldMapCasesEntityLogic](../../models/components/ticketingprojectfieldmapcasesentitylogic.md) | :heavy_minus_sign: | An unstructured object of key/value pairs describing the logic for applying the rule. | | `externalValue` | [components.NullableTicketingProjectFieldMapExternalValueEntity](../../models/components/nullableticketingprojectfieldmapexternalvalueentity.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/ticketingprojectfieldmapcasesentitylogic.md b/docs/models/components/ticketingprojectfieldmapcasesentitylogic.md new file mode 100644 index 00000000..e174977b --- /dev/null +++ b/docs/models/components/ticketingprojectfieldmapcasesentitylogic.md @@ -0,0 +1,16 @@ +# TicketingProjectFieldMapCasesEntityLogic + +An unstructured object of key/value pairs describing the logic for applying the rule. + +## Example Usage + +```typescript +import { TicketingProjectFieldMapCasesEntityLogic } from "firehydrant-typescript-sdk/models/components"; + +let value: TicketingProjectFieldMapCasesEntityLogic = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/updateenvironment.md b/docs/models/components/updateenvironment.md index 347f6314..9b502a5d 100644 --- a/docs/models/components/updateenvironment.md +++ b/docs/models/components/updateenvironment.md @@ -7,14 +7,16 @@ Update a environments attributes ```typescript import { UpdateEnvironment } from "firehydrant-typescript-sdk/models/components"; -let value: UpdateEnvironment = { - name: "", -}; +let value: UpdateEnvironment = {}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `name` | *string* | :heavy_check_mark: | N/A | -| `description` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_minus_sign: | N/A | +| `description` | *string* | :heavy_minus_sign: | N/A | +| `functionalities` | [components.UpdateEnvironmentFunctionality](../../models/components/updateenvironmentfunctionality.md)[] | :heavy_minus_sign: | N/A | +| `removeRemainingFunctionalities` | *boolean* | :heavy_minus_sign: | Set this to true if you want to remove all of the functionalities that are not included in the functionalities array from the environment | +| `services` | [components.UpdateEnvironmentService](../../models/components/updateenvironmentservice.md)[] | :heavy_minus_sign: | N/A | +| `removeRemainingServices` | *boolean* | :heavy_minus_sign: | Set this to true if you want to remove all of the services that are not included in the services array from the environment | \ No newline at end of file diff --git a/docs/models/components/updateenvironmentfunctionality.md b/docs/models/components/updateenvironmentfunctionality.md new file mode 100644 index 00000000..7fa57ac8 --- /dev/null +++ b/docs/models/components/updateenvironmentfunctionality.md @@ -0,0 +1,18 @@ +# UpdateEnvironmentFunctionality + +## Example Usage + +```typescript +import { UpdateEnvironmentFunctionality } from "firehydrant-typescript-sdk/models/components"; + +let value: UpdateEnvironmentFunctionality = { + id: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | ID of a functionality | +| `remove` | *boolean* | :heavy_minus_sign: | Set to true if you want to remove the given functionality from the environment | \ No newline at end of file diff --git a/docs/models/components/updateenvironmentservice.md b/docs/models/components/updateenvironmentservice.md new file mode 100644 index 00000000..f749cb58 --- /dev/null +++ b/docs/models/components/updateenvironmentservice.md @@ -0,0 +1,18 @@ +# UpdateEnvironmentService + +## Example Usage + +```typescript +import { UpdateEnvironmentService } from "firehydrant-typescript-sdk/models/components"; + +let value: UpdateEnvironmentService = { + id: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | ID of a service | +| `remove` | *boolean* | :heavy_minus_sign: | Set to true if you want to remove the given service from the environment | \ No newline at end of file diff --git a/docs/models/components/updatefunctionality.md b/docs/models/components/updatefunctionality.md index 38e504b2..36397d7a 100644 --- a/docs/models/components/updatefunctionality.md +++ b/docs/models/components/updatefunctionality.md @@ -18,6 +18,9 @@ let value: UpdateFunctionality = {}; | `description` | *string* | :heavy_minus_sign: | N/A | | `serviceTier` | [components.UpdateFunctionalityServiceTier](../../models/components/updatefunctionalityservicetier.md) | :heavy_minus_sign: | Integer representing functionality tier | | `services` | [components.UpdateFunctionalityService](../../models/components/updatefunctionalityservice.md)[] | :heavy_minus_sign: | N/A | +| `removeRemainingServices` | *boolean* | :heavy_minus_sign: | Set this to true if you want to remove all of the services that are not included in the services array from the functionality | +| `environments` | [components.UpdateFunctionalityEnvironment](../../models/components/updatefunctionalityenvironment.md)[] | :heavy_minus_sign: | N/A | +| `removeRemainingEnvironments` | *boolean* | :heavy_minus_sign: | Set this to true if you want to remove all of the environments that are not included in the environments array from the functionality | | `links` | [components.UpdateFunctionalityLink](../../models/components/updatefunctionalitylink.md)[] | :heavy_minus_sign: | An array of links to associate with this functionality. This will remove all links not present in the patch. Only acts if 'links' key is included in the payload. | | `owner` | [components.UpdateFunctionalityOwner](../../models/components/updatefunctionalityowner.md) | :heavy_minus_sign: | An object representing a Team that owns the functionality | | `removeOwner` | *boolean* | :heavy_minus_sign: | If you are trying to remove a team as an owner from a functionality, set this to 'true' | @@ -27,5 +30,4 @@ let value: UpdateFunctionality = {}; | `removeRemainingExternalResources` | *boolean* | :heavy_minus_sign: | If set to true, any external_resources tagged on the service that are not included in the given array will be removed. Set this to true if you want to do a replacement operation for the external_resources | | `labels` | Record | :heavy_minus_sign: | A hash of label keys and values | | `alertOnAdd` | *boolean* | :heavy_minus_sign: | N/A | -| `autoAddRespondingTeam` | *boolean* | :heavy_minus_sign: | N/A | -| `removeRemainingServices` | *boolean* | :heavy_minus_sign: | Set this to true if you want to remove all of the services that are not included in the services array from the functionality | \ No newline at end of file +| `autoAddRespondingTeam` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/updatefunctionalityenvironment.md b/docs/models/components/updatefunctionalityenvironment.md new file mode 100644 index 00000000..7d6c2f73 --- /dev/null +++ b/docs/models/components/updatefunctionalityenvironment.md @@ -0,0 +1,18 @@ +# UpdateFunctionalityEnvironment + +## Example Usage + +```typescript +import { UpdateFunctionalityEnvironment } from "firehydrant-typescript-sdk/models/components"; + +let value: UpdateFunctionalityEnvironment = { + id: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | ID of an environment | +| `remove` | *boolean* | :heavy_minus_sign: | Set to true if you want to remove the given environment from the functionality | \ No newline at end of file diff --git a/docs/models/components/updaterolepermission.md b/docs/models/components/updaterolepermission.md index 42f1157a..e9a7734d 100644 --- a/docs/models/components/updaterolepermission.md +++ b/docs/models/components/updaterolepermission.md @@ -11,5 +11,5 @@ let value: UpdateRolePermission = "manage_support_hours"; ## Values ```typescript -"create_alerts" | "respond_to_alerts" | "read_alerts" | "manage_alert_grouping" | "read_alert_grouping" | "manage_alert_rules" | "read_alert_rules" | "manage_call_routes" | "read_call_routes" | "manage_escalation_policies" | "read_escalation_policies" | "manage_event_sources" | "read_event_sources" | "manage_on_call_schedules" | "read_on_call_schedules" | "manage_on_call_shifts" | "claim_on_call_shifts" | "manage_organization_notification_policies" | "read_notification_policy_compliance" | "manage_webhook_targets" | "read_webhook_targets" | "read_analytics" | "manage_api_keys" | "read_api_keys" | "manage_audiences" | "read_audiences" | "read_audit_events" | "manage_change_events" | "read_change_events" | "manage_incidents" | "create_incidents" | "read_incidents" | "update_incidents" | "manage_incident_settings" | "read_incident_settings" | "manage_integrations" | "read_integrations" | "manage_private_incidents" | "manage_organization_secrets" | "read_organization_secrets" | "manage_organization_settings" | "read_organization_settings" | "manage_roles" | "read_roles" | "manage_runbooks" | "read_runbooks" | "manage_service_catalog" | "read_service_catalog" | "manage_status_templates" | "read_status_templates" | "manage_status_page_updates" | "manage_support_hours" | "read_support_hours" | "manage_teams" | "read_teams" | "manage_users" | "read_users" | "manage_webhooks" | "read_webhooks" +"create_alerts" | "respond_to_alerts" | "read_alerts" | "manage_alert_grouping" | "read_alert_grouping" | "manage_alert_rules" | "read_alert_rules" | "manage_call_routes" | "read_call_routes" | "manage_escalation_policies" | "read_escalation_policies" | "manage_event_sources" | "read_event_sources" | "manage_on_call_schedules" | "read_on_call_schedules" | "manage_on_call_shifts" | "claim_on_call_shifts" | "read_signals_pii" | "manage_organization_notification_policies" | "read_notification_policy_compliance" | "manage_webhook_targets" | "read_webhook_targets" | "read_analytics" | "manage_api_keys" | "read_api_keys" | "manage_audiences" | "read_audiences" | "read_audit_events" | "manage_change_events" | "read_change_events" | "manage_incidents" | "create_incidents" | "read_incidents" | "update_incidents" | "manage_incident_settings" | "read_incident_settings" | "manage_integrations" | "read_integrations" | "manage_private_incidents" | "manage_organization_secrets" | "read_organization_secrets" | "manage_organization_settings" | "read_organization_settings" | "manage_roles" | "read_roles" | "manage_runbooks" | "read_runbooks" | "manage_service_catalog" | "read_service_catalog" | "manage_status_templates" | "read_status_templates" | "manage_status_page_updates" | "manage_support_hours" | "read_support_hours" | "manage_teams" | "read_teams" | "manage_users" | "read_users" | "manage_webhooks" | "read_webhooks" ``` \ No newline at end of file diff --git a/docs/models/components/updaterunbook.md b/docs/models/components/updaterunbook.md index 01df3beb..18be55a1 100644 --- a/docs/models/components/updaterunbook.md +++ b/docs/models/components/updaterunbook.md @@ -23,7 +23,7 @@ let value: UpdateRunbook = {}; | `owner` | [components.UpdateRunbookOwner](../../models/components/updaterunbookowner.md) | :heavy_minus_sign: | An object representing a Team that owns the runbook | | `severities` | [components.UpdateRunbookSeverity](../../models/components/updaterunbookseverity.md)[] | :heavy_minus_sign: | N/A | | `services` | [components.UpdateRunbookService](../../models/components/updaterunbookservice.md)[] | :heavy_minus_sign: | N/A | -| `environments` | [components.Environment](../../models/components/environment.md)[] | :heavy_minus_sign: | N/A | +| `environments` | [components.UpdateRunbookEnvironment](../../models/components/updaterunbookenvironment.md)[] | :heavy_minus_sign: | N/A | | `attachmentRule` | [components.UpdateRunbookAttachmentRule](../../models/components/updaterunbookattachmentrule.md) | :heavy_minus_sign: | N/A | | `steps` | [components.UpdateRunbookStep](../../models/components/updaterunbookstep.md)[] | :heavy_minus_sign: | N/A | | `autoAttachToRestrictedIncidents` | *boolean* | :heavy_minus_sign: | Whether or not this runbook should be automatically attached to restricted incidents. Note that setting this to `true` will prevent it from being attached to public incidents, even manually. Defaults to `false`. | \ No newline at end of file diff --git a/docs/models/components/environment.md b/docs/models/components/updaterunbookenvironment.md similarity index 66% rename from docs/models/components/environment.md rename to docs/models/components/updaterunbookenvironment.md index 103bd632..bde95e66 100644 --- a/docs/models/components/environment.md +++ b/docs/models/components/updaterunbookenvironment.md @@ -1,11 +1,11 @@ -# Environment +# UpdateRunbookEnvironment ## Example Usage ```typescript -import { Environment } from "firehydrant-typescript-sdk/models/components"; +import { UpdateRunbookEnvironment } from "firehydrant-typescript-sdk/models/components"; -let value: Environment = {}; +let value: UpdateRunbookEnvironment = {}; ``` ## Fields diff --git a/docs/models/components/updateservice.md b/docs/models/components/updateservice.md index 4c195c8f..2cb74c73 100644 --- a/docs/models/components/updateservice.md +++ b/docs/models/components/updateservice.md @@ -22,6 +22,9 @@ let value: UpdateService = {}; | `description` | *string* | :heavy_minus_sign: | N/A | | `externalResources` | [components.UpdateServiceExternalResource](../../models/components/updateserviceexternalresource.md)[] | :heavy_minus_sign: | An array of external resources to attach to this service. | | `functionalities` | [components.UpdateServiceFunctionality](../../models/components/updateservicefunctionality.md)[] | :heavy_minus_sign: | An array of functionalities | +| `removeRemainingFunctionalities` | *boolean* | :heavy_minus_sign: | If set to true, any functionalities tagged on the service that are not included in the given array will be removed. Set this to true if you want to do a replacement operation for the functionalities | +| `environments` | [components.UpdateServiceEnvironment](../../models/components/updateserviceenvironment.md)[] | :heavy_minus_sign: | N/A | +| `removeRemainingEnvironments` | *boolean* | :heavy_minus_sign: | Set this to true if you want to remove all of the environments that are not included in the environments array from the service | | `labels` | Record | :heavy_minus_sign: | A hash of label keys and values | | `links` | [components.UpdateServiceLink](../../models/components/updateservicelink.md)[] | :heavy_minus_sign: | An array of links to associate with this service. This will remove all links not present in the patch. Only acts if 'links' key is included in the payload. | | `name` | *string* | :heavy_minus_sign: | N/A | @@ -29,7 +32,6 @@ let value: UpdateService = {}; | `removeOwner` | *boolean* | :heavy_minus_sign: | If you are trying to remove a team as an owner from a service, set this to 'true' | | `removeRemainingChecklists` | *boolean* | :heavy_minus_sign: | If set to true, any checklists tagged on the service that are not included in the given array will be removed. Set this to true if you want to do a replacement operation for the checklists | | `removeRemainingExternalResources` | *boolean* | :heavy_minus_sign: | If set to true, any external_resources tagged on the service that are not included in the given array will be removed. Set this to true if you want to do a replacement operation for the external_resources | -| `removeRemainingFunctionalities` | *boolean* | :heavy_minus_sign: | If set to true, any functionalities tagged on the service that are not included in the given array will be removed. Set this to true if you want to do a replacement operation for the functionalities | | `removeRemainingTeams` | *boolean* | :heavy_minus_sign: | If set to true, any teams tagged on the service that are not included in the given array will be removed. Set this to true if you want to do a replacement operation for the teams | | `serviceTier` | [components.UpdateServiceServiceTier](../../models/components/updateserviceservicetier.md) | :heavy_minus_sign: | Integer representing service tier | | `teams` | [components.UpdateServiceTeam](../../models/components/updateserviceteam.md)[] | :heavy_minus_sign: | An array of teams to attach to this service. | \ No newline at end of file diff --git a/docs/models/components/updateserviceenvironment.md b/docs/models/components/updateserviceenvironment.md new file mode 100644 index 00000000..d52a6d3d --- /dev/null +++ b/docs/models/components/updateserviceenvironment.md @@ -0,0 +1,18 @@ +# UpdateServiceEnvironment + +## Example Usage + +```typescript +import { UpdateServiceEnvironment } from "firehydrant-typescript-sdk/models/components"; + +let value: UpdateServiceEnvironment = { + id: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | ID of an environment | +| `remove` | *boolean* | :heavy_minus_sign: | Set to true if you want to remove the given environment from the service | \ No newline at end of file diff --git a/docs/models/components/updatesignalsheartbeatendpointconfiguration.md b/docs/models/components/updatesignalsheartbeatendpointconfiguration.md new file mode 100644 index 00000000..c1c899cb --- /dev/null +++ b/docs/models/components/updatesignalsheartbeatendpointconfiguration.md @@ -0,0 +1,24 @@ +# UpdateSignalsHeartbeatEndpointConfiguration + +Update an existing heartbeat endpoint configuration + +## Example Usage + +```typescript +import { UpdateSignalsHeartbeatEndpointConfiguration } from "firehydrant-typescript-sdk/models/components"; + +let value: UpdateSignalsHeartbeatEndpointConfiguration = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `enabled` | *boolean* | :heavy_minus_sign: | Whether the endpoint is active | +| `description` | *string* | :heavy_minus_sign: | Optional description of the endpoint's purpose | +| `expectInterval` | *string* | :heavy_minus_sign: | Time interval in which heartbeats are expected (minimum '5m', maximum '24h') | +| `templateSignal` | [components.UpdateSignalsHeartbeatEndpointConfigurationTemplateSignal](../../models/components/updatesignalsheartbeatendpointconfigurationtemplatesignal.md) | :heavy_minus_sign: | Signal template to be used when generating alerts for missed heartbeats | +| `kind` | [components.UpdateSignalsHeartbeatEndpointConfigurationKind](../../models/components/updatesignalsheartbeatendpointconfigurationkind.md) | :heavy_minus_sign: | Type of heartbeat endpoint (e.g. 'http') | +| `allowedHttpMethods` | *string*[] | :heavy_minus_sign: | HTTP methods allowed for this endpoint | +| `allowedUserAgentSubstring` | *string* | :heavy_minus_sign: | User agent substring that must be present in requests | +| `allowedEmailSenders` | *string*[] | :heavy_minus_sign: | Email addresses allowed to send heartbeats | \ No newline at end of file diff --git a/docs/models/components/retrospectivesreporttemplateentityelemententitycontent.md b/docs/models/components/updatesignalsheartbeatendpointconfigurationannotations.md similarity index 53% rename from docs/models/components/retrospectivesreporttemplateentityelemententitycontent.md rename to docs/models/components/updatesignalsheartbeatendpointconfigurationannotations.md index 11b97307..2f8346f3 100644 --- a/docs/models/components/retrospectivesreporttemplateentityelemententitycontent.md +++ b/docs/models/components/updatesignalsheartbeatendpointconfigurationannotations.md @@ -1,11 +1,11 @@ -# RetrospectivesReportTemplateEntityElementEntityContent +# UpdateSignalsHeartbeatEndpointConfigurationAnnotations ## Example Usage ```typescript -import { RetrospectivesReportTemplateEntityElementEntityContent } from "firehydrant-typescript-sdk/models/components"; +import { UpdateSignalsHeartbeatEndpointConfigurationAnnotations } from "firehydrant-typescript-sdk/models/components"; -let value: RetrospectivesReportTemplateEntityElementEntityContent = {}; +let value: UpdateSignalsHeartbeatEndpointConfigurationAnnotations = {}; ``` ## Fields diff --git a/docs/models/components/updatesignalsheartbeatendpointconfigurationkind.md b/docs/models/components/updatesignalsheartbeatendpointconfigurationkind.md new file mode 100644 index 00000000..80e317c6 --- /dev/null +++ b/docs/models/components/updatesignalsheartbeatendpointconfigurationkind.md @@ -0,0 +1,17 @@ +# UpdateSignalsHeartbeatEndpointConfigurationKind + +Type of heartbeat endpoint (e.g. 'http') + +## Example Usage + +```typescript +import { UpdateSignalsHeartbeatEndpointConfigurationKind } from "firehydrant-typescript-sdk/models/components"; + +let value: UpdateSignalsHeartbeatEndpointConfigurationKind = "http"; +``` + +## Values + +```typescript +"http" | "email" +``` \ No newline at end of file diff --git a/docs/models/components/updatesignalsheartbeatendpointconfigurationlink.md b/docs/models/components/updatesignalsheartbeatendpointconfigurationlink.md new file mode 100644 index 00000000..f3ac525c --- /dev/null +++ b/docs/models/components/updatesignalsheartbeatendpointconfigurationlink.md @@ -0,0 +1,16 @@ +# UpdateSignalsHeartbeatEndpointConfigurationLink + +## Example Usage + +```typescript +import { UpdateSignalsHeartbeatEndpointConfigurationLink } from "firehydrant-typescript-sdk/models/components"; + +let value: UpdateSignalsHeartbeatEndpointConfigurationLink = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `href` | *string* | :heavy_minus_sign: | N/A | +| `text` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/updatesignalsheartbeatendpointconfigurationtemplatesignal.md b/docs/models/components/updatesignalsheartbeatendpointconfigurationtemplatesignal.md new file mode 100644 index 00000000..dd355302 --- /dev/null +++ b/docs/models/components/updatesignalsheartbeatendpointconfigurationtemplatesignal.md @@ -0,0 +1,20 @@ +# UpdateSignalsHeartbeatEndpointConfigurationTemplateSignal + +Signal template to be used when generating alerts for missed heartbeats + +## Example Usage + +```typescript +import { UpdateSignalsHeartbeatEndpointConfigurationTemplateSignal } from "firehydrant-typescript-sdk/models/components"; + +let value: UpdateSignalsHeartbeatEndpointConfigurationTemplateSignal = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `body` | *string* | :heavy_minus_sign: | N/A | +| `annotations` | [components.UpdateSignalsHeartbeatEndpointConfigurationAnnotations](../../models/components/updatesignalsheartbeatendpointconfigurationannotations.md) | :heavy_minus_sign: | N/A | +| `tags` | *string*[] | :heavy_minus_sign: | N/A | +| `links` | [components.UpdateSignalsHeartbeatEndpointConfigurationLink](../../models/components/updatesignalsheartbeatendpointconfigurationlink.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/webhooksentitiesdeliveryentity.md b/docs/models/components/webhooksentitiesdeliveryentity.md new file mode 100644 index 00000000..8dda35e7 --- /dev/null +++ b/docs/models/components/webhooksentitiesdeliveryentity.md @@ -0,0 +1,22 @@ +# WebhooksEntitiesDeliveryEntity + +## Example Usage + +```typescript +import { WebhooksEntitiesDeliveryEntity } from "firehydrant-typescript-sdk/models/components"; + +let value: WebhooksEntitiesDeliveryEntity = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A | +| `expiresAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_minus_sign: | N/A | +| `headers` | [components.WebhooksEntitiesDeliveryEntityHeaders](../../models/components/webhooksentitiesdeliveryentityheaders.md) | :heavy_minus_sign: | N/A | +| `duration` | *number* | :heavy_minus_sign: | N/A | +| `attempts` | *number* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/webhooksentitiesdeliveryentityheaders.md b/docs/models/components/webhooksentitiesdeliveryentityheaders.md new file mode 100644 index 00000000..78cd2d8e --- /dev/null +++ b/docs/models/components/webhooksentitiesdeliveryentityheaders.md @@ -0,0 +1,14 @@ +# WebhooksEntitiesDeliveryEntityHeaders + +## Example Usage + +```typescript +import { WebhooksEntitiesDeliveryEntityHeaders } from "firehydrant-typescript-sdk/models/components"; + +let value: WebhooksEntitiesDeliveryEntityHeaders = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/webhooksentitiesdeliveryentitypaginated.md b/docs/models/components/webhooksentitiesdeliveryentitypaginated.md new file mode 100644 index 00000000..694dc106 --- /dev/null +++ b/docs/models/components/webhooksentitiesdeliveryentitypaginated.md @@ -0,0 +1,18 @@ +# WebhooksEntitiesDeliveryEntityPaginated + +Webhooks_Entities_DeliveryEntityPaginated model + +## Example Usage + +```typescript +import { WebhooksEntitiesDeliveryEntityPaginated } from "firehydrant-typescript-sdk/models/components"; + +let value: WebhooksEntitiesDeliveryEntityPaginated = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `data` | [components.WebhooksEntitiesDeliveryEntity](../../models/components/webhooksentitiesdeliveryentity.md)[] | :heavy_minus_sign: | N/A | +| `pagination` | [components.NullablePaginationEntity](../../models/components/nullablepaginationentity.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/webhooksentitieswebhookentitypaginated.md b/docs/models/components/webhooksentitieswebhookentitypaginated.md new file mode 100644 index 00000000..9121fc98 --- /dev/null +++ b/docs/models/components/webhooksentitieswebhookentitypaginated.md @@ -0,0 +1,18 @@ +# WebhooksEntitiesWebhookEntityPaginated + +Webhooks_Entities_WebhookEntityPaginated model + +## Example Usage + +```typescript +import { WebhooksEntitiesWebhookEntityPaginated } from "firehydrant-typescript-sdk/models/components"; + +let value: WebhooksEntitiesWebhookEntityPaginated = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `data` | [components.WebhooksEntitiesWebhookEntity](../../models/components/webhooksentitieswebhookentity.md)[] | :heavy_minus_sign: | N/A | +| `pagination` | [components.NullablePaginationEntity](../../models/components/nullablepaginationentity.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/bulkupdateincidentmilestonesrequest.md b/docs/models/operations/bulkupdateincidentmilestonesrequest.md index bacad6aa..3ac4643d 100644 --- a/docs/models/operations/bulkupdateincidentmilestonesrequest.md +++ b/docs/models/operations/bulkupdateincidentmilestonesrequest.md @@ -11,7 +11,7 @@ let value: BulkUpdateIncidentMilestonesRequest = { milestones: [ { type: "", - occurredAt: new Date("2025-10-01T23:28:44.501Z"), + occurredAt: new Date("2026-10-01T23:28:44.501Z"), }, ], }, diff --git a/docs/models/operations/createnuncconnectionrequest.md b/docs/models/operations/createnuncconnectionrequest.md index a8a1a2ba..6a384438 100644 --- a/docs/models/operations/createnuncconnectionrequest.md +++ b/docs/models/operations/createnuncconnectionrequest.md @@ -42,4 +42,8 @@ let value: CreateNuncConnectionRequest = { | `secondaryColor` | *string* | :heavy_minus_sign: | N/A | | `exposedFields` | *string*[] | :heavy_minus_sign: | N/A | | `enableHistogram` | *boolean* | :heavy_minus_sign: | N/A | -| `uiVersion` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `uiVersion` | *number* | :heavy_minus_sign: | N/A | +| `authenticationMethod` | *string* | :heavy_minus_sign: | N/A | +| `oidcAuthenticationConfigClientId` | *string* | :heavy_minus_sign: | N/A | +| `oidcAuthenticationConfigIssuerUrl` | *string* | :heavy_minus_sign: | N/A | +| `oidcAuthenticationConfigClientSecret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createoncallshiftrequest.md b/docs/models/operations/createoncallshiftrequest.md index 2e26818f..debd7ef4 100644 --- a/docs/models/operations/createoncallshiftrequest.md +++ b/docs/models/operations/createoncallshiftrequest.md @@ -9,8 +9,8 @@ let value: CreateOnCallShiftRequest = { teamId: "", scheduleId: "", createOnCallShift: { - startTime: new Date("2024-06-15T16:48:29.406Z"), - endTime: new Date("2025-01-24T05:13:18.654Z"), + startTime: new Date("2025-06-15T16:48:29.406Z"), + endTime: new Date("2026-01-24T05:13:18.654Z"), }, }; ``` diff --git a/docs/models/operations/deleteenvironmentrequest.md b/docs/models/operations/deleteenvironmentrequest.md index a8b9ef53..bc9c5b9f 100644 --- a/docs/models/operations/deleteenvironmentrequest.md +++ b/docs/models/operations/deleteenvironmentrequest.md @@ -12,6 +12,6 @@ let value: DeleteEnvironmentRequest = { ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `environmentId` | *string* | :heavy_check_mark: | Environment UUID | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------ | ------------------------ | ------------------------ | ------------------------ | +| `environmentId` | *string* | :heavy_check_mark: | Environment UUID or slug | \ No newline at end of file diff --git a/docs/models/operations/deletesignalsheartbeatendpointconfigurationrequest.md b/docs/models/operations/deletesignalsheartbeatendpointconfigurationrequest.md new file mode 100644 index 00000000..c55739bb --- /dev/null +++ b/docs/models/operations/deletesignalsheartbeatendpointconfigurationrequest.md @@ -0,0 +1,17 @@ +# DeleteSignalsHeartbeatEndpointConfigurationRequest + +## Example Usage + +```typescript +import { DeleteSignalsHeartbeatEndpointConfigurationRequest } from "firehydrant-typescript-sdk/models/operations"; + +let value: DeleteSignalsHeartbeatEndpointConfigurationRequest = { + id: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/exportsignalsshiftanalyticsrequest.md b/docs/models/operations/exportsignalsshiftanalyticsrequest.md new file mode 100644 index 00000000..5aa02772 --- /dev/null +++ b/docs/models/operations/exportsignalsshiftanalyticsrequest.md @@ -0,0 +1,21 @@ +# ExportSignalsShiftAnalyticsRequest + +## Example Usage + +```typescript +import { ExportSignalsShiftAnalyticsRequest } from "firehydrant-typescript-sdk/models/operations"; + +let value: ExportSignalsShiftAnalyticsRequest = { + periodStart: new Date("2024-04-29T03:23:41.920Z"), + periodEnd: new Date("2025-02-01T21:19:20.271Z"), +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `userIds` | *string*[] | :heavy_minus_sign: | Array of user IDs to fetch oncall hours for | +| `teamIds` | *string*[] | :heavy_minus_sign: | Array of team IDs to fetch oncall hours for | +| `periodStart` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | Start of the period to fetch hours for (UTC) | +| `periodEnd` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | End of the period to fetch hours for (UTC) | \ No newline at end of file diff --git a/docs/models/operations/getenvironmentrequest.md b/docs/models/operations/getenvironmentrequest.md index abdde110..1ae9bd1e 100644 --- a/docs/models/operations/getenvironmentrequest.md +++ b/docs/models/operations/getenvironmentrequest.md @@ -12,6 +12,6 @@ let value: GetEnvironmentRequest = { ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `environmentId` | *string* | :heavy_check_mark: | Environment UUID | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------ | ------------------------ | ------------------------ | ------------------------ | +| `environmentId` | *string* | :heavy_check_mark: | Environment UUID or slug | \ No newline at end of file diff --git a/docs/models/operations/getfunctionalityrequest.md b/docs/models/operations/getfunctionalityrequest.md index 0ab2b436..ee78387a 100644 --- a/docs/models/operations/getfunctionalityrequest.md +++ b/docs/models/operations/getfunctionalityrequest.md @@ -12,6 +12,6 @@ let value: GetFunctionalityRequest = { ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `functionalityId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------- | -------------------------- | -------------------------- | -------------------------- | +| `functionalityId` | *string* | :heavy_check_mark: | Functionality UUID or slug | \ No newline at end of file diff --git a/docs/models/operations/getservicerequest.md b/docs/models/operations/getservicerequest.md index be8513ed..20b6b42a 100644 --- a/docs/models/operations/getservicerequest.md +++ b/docs/models/operations/getservicerequest.md @@ -12,6 +12,6 @@ let value: GetServiceRequest = { ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `serviceId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------- | -------------------- | -------------------- | -------------------- | +| `serviceId` | *string* | :heavy_check_mark: | Service UUID or slug | \ No newline at end of file diff --git a/docs/models/operations/getretrospectivereporttemplaterequest.md b/docs/models/operations/getsignalsheartbeatendpointconfigurationrequest.md similarity index 59% rename from docs/models/operations/getretrospectivereporttemplaterequest.md rename to docs/models/operations/getsignalsheartbeatendpointconfigurationrequest.md index 7079507c..243735fa 100644 --- a/docs/models/operations/getretrospectivereporttemplaterequest.md +++ b/docs/models/operations/getsignalsheartbeatendpointconfigurationrequest.md @@ -1,11 +1,11 @@ -# GetRetrospectiveReportTemplateRequest +# GetSignalsHeartbeatEndpointConfigurationRequest ## Example Usage ```typescript -import { GetRetrospectiveReportTemplateRequest } from "firehydrant-typescript-sdk/models/operations"; +import { GetSignalsHeartbeatEndpointConfigurationRequest } from "firehydrant-typescript-sdk/models/operations"; -let value: GetRetrospectiveReportTemplateRequest = { +let value: GetSignalsHeartbeatEndpointConfigurationRequest = { id: "", }; ``` diff --git a/docs/models/operations/getteamrequest.md b/docs/models/operations/getteamrequest.md index 92adb7f1..49cfe702 100644 --- a/docs/models/operations/getteamrequest.md +++ b/docs/models/operations/getteamrequest.md @@ -14,5 +14,5 @@ let value: GetTeamRequest = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `teamId` | *string* | :heavy_check_mark: | N/A | +| `teamId` | *string* | :heavy_check_mark: | Team UUID or slug | | `lite` | *boolean* | :heavy_minus_sign: | Boolean to determine whether to return a slimified version of the teams object | \ No newline at end of file diff --git a/docs/models/operations/listaudiencesrequest.md b/docs/models/operations/listaudiencesrequest.md index 036dd8dc..51f177fd 100644 --- a/docs/models/operations/listaudiencesrequest.md +++ b/docs/models/operations/listaudiencesrequest.md @@ -12,4 +12,6 @@ let value: ListAudiencesRequest = {}; | Field | Type | Required | Description | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `page` | *number* | :heavy_minus_sign: | N/A | +| `perPage` | *number* | :heavy_minus_sign: | N/A | | `includeArchived` | *boolean* | :heavy_minus_sign: | Include archived (discarded) audiences | \ No newline at end of file diff --git a/docs/models/operations/listenvironmentfunctionalitiesrequest.md b/docs/models/operations/listenvironmentfunctionalitiesrequest.md new file mode 100644 index 00000000..f4436cc4 --- /dev/null +++ b/docs/models/operations/listenvironmentfunctionalitiesrequest.md @@ -0,0 +1,19 @@ +# ListEnvironmentFunctionalitiesRequest + +## Example Usage + +```typescript +import { ListEnvironmentFunctionalitiesRequest } from "firehydrant-typescript-sdk/models/operations"; + +let value: ListEnvironmentFunctionalitiesRequest = { + environmentId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `environmentId` | *string* | :heavy_check_mark: | N/A | +| `page` | *number* | :heavy_minus_sign: | N/A | +| `perPage` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/listenvironmentservicesrequest.md b/docs/models/operations/listenvironmentservicesrequest.md new file mode 100644 index 00000000..9bf746f2 --- /dev/null +++ b/docs/models/operations/listenvironmentservicesrequest.md @@ -0,0 +1,19 @@ +# ListEnvironmentServicesRequest + +## Example Usage + +```typescript +import { ListEnvironmentServicesRequest } from "firehydrant-typescript-sdk/models/operations"; + +let value: ListEnvironmentServicesRequest = { + environmentId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `environmentId` | *string* | :heavy_check_mark: | N/A | +| `page` | *number* | :heavy_minus_sign: | N/A | +| `perPage` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/listfunctionalityenvironmentsrequest.md b/docs/models/operations/listfunctionalityenvironmentsrequest.md new file mode 100644 index 00000000..f9e10aac --- /dev/null +++ b/docs/models/operations/listfunctionalityenvironmentsrequest.md @@ -0,0 +1,19 @@ +# ListFunctionalityEnvironmentsRequest + +## Example Usage + +```typescript +import { ListFunctionalityEnvironmentsRequest } from "firehydrant-typescript-sdk/models/operations"; + +let value: ListFunctionalityEnvironmentsRequest = { + functionalityId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `functionalityId` | *string* | :heavy_check_mark: | N/A | +| `page` | *number* | :heavy_minus_sign: | N/A | +| `perPage` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/listincidentsrequest.md b/docs/models/operations/listincidentsrequest.md index 82ccd7ae..6ab5f442 100644 --- a/docs/models/operations/listincidentsrequest.md +++ b/docs/models/operations/listincidentsrequest.md @@ -43,6 +43,8 @@ let value: ListIncidentsRequest = {}; | `archived` | *boolean* | :heavy_minus_sign: | Return archived incidents | | `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Filters for incidents that were updated after this date | | `updatedBefore` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Filters for incidents that were updated before this date | -| `incidentTypeId` | *string* | :heavy_minus_sign: | A comma separated list of incident type IDs | +| `incidentTypeId` | *string* | :heavy_minus_sign: | A comma separated list of incident type IDs or 'is_empty' to filter for incidents with no incident type | +| `customFieldsFieldId` | *string*[] | :heavy_minus_sign: | Custom field ID to filter on | +| `customFieldsValue` | *string*[] | :heavy_minus_sign: | Custom field value (empty means no value set) | | `retrospectiveTemplates` | *string* | :heavy_minus_sign: | A comma separated list of retrospective template IDs | | `attachedRunbooks` | *string* | :heavy_minus_sign: | A comma separated list of runbook IDs | \ No newline at end of file diff --git a/docs/models/operations/listserviceenvironmentsrequest.md b/docs/models/operations/listserviceenvironmentsrequest.md new file mode 100644 index 00000000..c40d1ced --- /dev/null +++ b/docs/models/operations/listserviceenvironmentsrequest.md @@ -0,0 +1,19 @@ +# ListServiceEnvironmentsRequest + +## Example Usage + +```typescript +import { ListServiceEnvironmentsRequest } from "firehydrant-typescript-sdk/models/operations"; + +let value: ListServiceEnvironmentsRequest = { + serviceId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `serviceId` | *string* | :heavy_check_mark: | N/A | +| `page` | *number* | :heavy_minus_sign: | N/A | +| `perPage` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/listsignalsalertgroupingconfigurationsrequest.md b/docs/models/operations/listsignalsalertgroupingconfigurationsrequest.md new file mode 100644 index 00000000..4eacbc8c --- /dev/null +++ b/docs/models/operations/listsignalsalertgroupingconfigurationsrequest.md @@ -0,0 +1,16 @@ +# ListSignalsAlertGroupingConfigurationsRequest + +## Example Usage + +```typescript +import { ListSignalsAlertGroupingConfigurationsRequest } from "firehydrant-typescript-sdk/models/operations"; + +let value: ListSignalsAlertGroupingConfigurationsRequest = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `page` | *number* | :heavy_minus_sign: | N/A | +| `perPage` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/listusernotificationsettingsbyuseridrequest.md b/docs/models/operations/listusernotificationsettingsbyuseridrequest.md new file mode 100644 index 00000000..f031819f --- /dev/null +++ b/docs/models/operations/listusernotificationsettingsbyuseridrequest.md @@ -0,0 +1,20 @@ +# ListUserNotificationSettingsByUserIdRequest + +## Example Usage + +```typescript +import { ListUserNotificationSettingsByUserIdRequest } from "firehydrant-typescript-sdk/models/operations"; + +let value: ListUserNotificationSettingsByUserIdRequest = { + userId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `userId` | *string* | :heavy_check_mark: | N/A | +| `page` | *number* | :heavy_minus_sign: | N/A | +| `perPage` | *number* | :heavy_minus_sign: | N/A | +| `notificationPriority` | [operations.NotificationPriority](../../models/operations/notificationpriority.md) | :heavy_minus_sign: | The level of priority for the notification setting. | \ No newline at end of file diff --git a/docs/models/operations/listwebhookdeliveriesrequest.md b/docs/models/operations/listwebhookdeliveriesrequest.md index e6b90099..d6f509e7 100644 --- a/docs/models/operations/listwebhookdeliveriesrequest.md +++ b/docs/models/operations/listwebhookdeliveriesrequest.md @@ -14,4 +14,6 @@ let value: ListWebhookDeliveriesRequest = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `webhookId` | *string* | :heavy_check_mark: | ID of a webhook | \ No newline at end of file +| `webhookId` | *string* | :heavy_check_mark: | ID of a webhook | +| `page` | *number* | :heavy_minus_sign: | N/A | +| `perPage` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/notificationpriority.md b/docs/models/operations/notificationpriority.md new file mode 100644 index 00000000..9b6a0091 --- /dev/null +++ b/docs/models/operations/notificationpriority.md @@ -0,0 +1,17 @@ +# NotificationPriority + +The level of priority for the notification setting. + +## Example Usage + +```typescript +import { NotificationPriority } from "firehydrant-typescript-sdk/models/operations"; + +let value: NotificationPriority = "LOW"; +``` + +## Values + +```typescript +"HIGH" | "MEDIUM" | "LOW" +``` \ No newline at end of file diff --git a/docs/models/operations/reportelementstype.md b/docs/models/operations/reportelementstype.md index a8353ea0..60fb7275 100644 --- a/docs/models/operations/reportelementstype.md +++ b/docs/models/operations/reportelementstype.md @@ -11,5 +11,5 @@ let value: ReportElementsType = "prosemirror_content"; ## Values ```typescript -"incident_data" | "retrospective_field" | "prosemirror_content" | "divider" +"incident_data" | "retrospective_field" | "custom_field" | "prosemirror_content" | "divider" ``` \ No newline at end of file diff --git a/docs/models/operations/searchconfluencespacesrequest.md b/docs/models/operations/searchconfluencespacesrequest.md index b714182b..a9bed989 100644 --- a/docs/models/operations/searchconfluencespacesrequest.md +++ b/docs/models/operations/searchconfluencespacesrequest.md @@ -12,7 +12,10 @@ let value: SearchConfluenceSpacesRequest = { ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *string* | :heavy_check_mark: | N/A | -| `keyword` | *string* | :heavy_minus_sign: | Space Key | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `keyword` | *string* | :heavy_minus_sign: | Space Key (Deprecated) | +| `query` | *string* | :heavy_minus_sign: | Space name query | +| `page` | *number* | :heavy_minus_sign: | N/A | +| `perPage` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateenvironmentrequest.md b/docs/models/operations/updateenvironmentrequest.md index d461401f..a330c1a1 100644 --- a/docs/models/operations/updateenvironmentrequest.md +++ b/docs/models/operations/updateenvironmentrequest.md @@ -7,9 +7,7 @@ import { UpdateEnvironmentRequest } from "firehydrant-typescript-sdk/models/oper let value: UpdateEnvironmentRequest = { environmentId: "", - updateEnvironment: { - name: "", - }, + updateEnvironment: {}, }; ``` @@ -17,5 +15,5 @@ let value: UpdateEnvironmentRequest = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `environmentId` | *string* | :heavy_check_mark: | Environment UUID | +| `environmentId` | *string* | :heavy_check_mark: | Environment UUID or slug | | `updateEnvironment` | [components.UpdateEnvironment](../../models/components/updateenvironment.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatenuncconnectionrequestbody.md b/docs/models/operations/updatenuncconnectionrequestbody.md index 3d3d16e0..9f4c70a8 100644 --- a/docs/models/operations/updatenuncconnectionrequestbody.md +++ b/docs/models/operations/updatenuncconnectionrequestbody.md @@ -41,4 +41,8 @@ let value: UpdateNuncConnectionRequestBody = { | `secondaryColor` | *string* | :heavy_minus_sign: | N/A | | `exposedFields` | *string*[] | :heavy_minus_sign: | N/A | | `enableHistogram` | *boolean* | :heavy_minus_sign: | N/A | -| `uiVersion` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `uiVersion` | *number* | :heavy_minus_sign: | N/A | +| `authenticationMethod` | *string* | :heavy_minus_sign: | N/A | +| `oidcAuthenticationConfigIssuerUrl` | *string* | :heavy_minus_sign: | N/A | +| `oidcAuthenticationConfigClientId` | *string* | :heavy_minus_sign: | N/A | +| `oidcAuthenticationConfigClientSecret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateretrospectivetemplaterequestbody.md b/docs/models/operations/updateretrospectivetemplaterequestbody.md index 12949a5a..9675b695 100644 --- a/docs/models/operations/updateretrospectivetemplaterequestbody.md +++ b/docs/models/operations/updateretrospectivetemplaterequestbody.md @@ -17,7 +17,7 @@ let value: UpdateRetrospectiveTemplateRequestBody = { fieldsType: [ "dynamic_input_group", ], - reportElementsType: "retrospective_field", + reportElementsType: "custom_field", }; ``` diff --git a/docs/models/operations/updatesignalsheartbeatendpointconfigurationrequest.md b/docs/models/operations/updatesignalsheartbeatendpointconfigurationrequest.md new file mode 100644 index 00000000..de22a584 --- /dev/null +++ b/docs/models/operations/updatesignalsheartbeatendpointconfigurationrequest.md @@ -0,0 +1,19 @@ +# UpdateSignalsHeartbeatEndpointConfigurationRequest + +## Example Usage + +```typescript +import { UpdateSignalsHeartbeatEndpointConfigurationRequest } from "firehydrant-typescript-sdk/models/operations"; + +let value: UpdateSignalsHeartbeatEndpointConfigurationRequest = { + id: "", + updateSignalsHeartbeatEndpointConfiguration: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `updateSignalsHeartbeatEndpointConfiguration` | [components.UpdateSignalsHeartbeatEndpointConfiguration](../../models/components/updatesignalsheartbeatendpointconfiguration.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/sdks/audiences/README.md b/docs/sdks/audiences/README.md index 7ebcbd3b..4dd91573 100644 --- a/docs/sdks/audiences/README.md +++ b/docs/sdks/audiences/README.md @@ -79,7 +79,7 @@ run(); ### Response -**Promise\<[components.AudiencesEntitiesAudienceEntity](../../models/components/audiencesentitiesaudienceentity.md)\>** +**Promise\<[components.AudiencesEntitiesAudienceEntityPaginated](../../models/components/audiencesentitiesaudienceentitypaginated.md)\>** ### Errors diff --git a/docs/sdks/catalogentries/README.md b/docs/sdks/catalogentries/README.md index 1b018372..9650bb42 100644 --- a/docs/sdks/catalogentries/README.md +++ b/docs/sdks/catalogentries/README.md @@ -11,12 +11,15 @@ Operations related to Catalog Entries * [getEnvironment](#getenvironment) - Get an environment * [deleteEnvironment](#deleteenvironment) - Archive an environment * [updateEnvironment](#updateenvironment) - Update an environment +* [listEnvironmentServices](#listenvironmentservices) - List services for an environment +* [listEnvironmentFunctionalities](#listenvironmentfunctionalities) - List functionalities for an environment * [listServices](#listservices) - List services * [createService](#createservice) - Create a service * [createServiceLinks](#createservicelinks) - Create multiple services linked to external services * [getService](#getservice) - Get a service * [deleteService](#deleteservice) - Delete a service * [updateService](#updateservice) - Update a service +* [listServiceEnvironments](#listserviceenvironments) - List environments for a service * [getServiceDependencies](#getservicedependencies) - List dependencies for a service * [listServiceAvailableUpstreamDependencies](#listserviceavailableupstreamdependencies) - List available upstream service dependencies * [listServiceAvailableDownstreamDependencies](#listserviceavailabledownstreamdependencies) - List available downstream service dependencies @@ -31,6 +34,7 @@ Operations related to Catalog Entries * [getFunctionality](#getfunctionality) - Get a functionality * [deleteFunctionality](#deletefunctionality) - Archive a functionality * [updateFunctionality](#updatefunctionality) - Update a functionality +* [listFunctionalityEnvironments](#listfunctionalityenvironments) - List environments for a functionality * [listFunctionalityServices](#listfunctionalityservices) - List services for a functionality * [listUserOwnedServices](#listuserownedservices) - List services owned by a user's teams * [listInfrastructures](#listinfrastructures) - Lists functionality, service and environment objects @@ -342,9 +346,7 @@ const firehydrant = new Firehydrant({ async function run() { const result = await firehydrant.catalogEntries.updateEnvironment({ environmentId: "", - updateEnvironment: { - name: "", - }, + updateEnvironment: {}, }); console.log(result); @@ -370,9 +372,7 @@ const firehydrant = new FirehydrantCore({ async function run() { const res = await catalogEntriesUpdateEnvironment(firehydrant, { environmentId: "", - updateEnvironment: { - name: "", - }, + updateEnvironment: {}, }); if (res.ok) { const { value: result } = res; @@ -404,6 +404,152 @@ run(); | --------------- | --------------- | --------------- | | errors.APIError | 4XX, 5XX | \*/\* | +## listEnvironmentServices + +List services for an environment + +### Example Usage + + +```typescript +import { Firehydrant } from "firehydrant-typescript-sdk"; + +const firehydrant = new Firehydrant({ + apiKey: process.env["FIREHYDRANT_API_KEY"] ?? "", +}); + +async function run() { + const result = await firehydrant.catalogEntries.listEnvironmentServices({ + environmentId: "", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { FirehydrantCore } from "firehydrant-typescript-sdk/core.js"; +import { catalogEntriesListEnvironmentServices } from "firehydrant-typescript-sdk/funcs/catalogEntriesListEnvironmentServices.js"; + +// Use `FirehydrantCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const firehydrant = new FirehydrantCore({ + apiKey: process.env["FIREHYDRANT_API_KEY"] ?? "", +}); + +async function run() { + const res = await catalogEntriesListEnvironmentServices(firehydrant, { + environmentId: "", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("catalogEntriesListEnvironmentServices failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.ListEnvironmentServicesRequest](../../models/operations/listenvironmentservicesrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.ServiceEntityLitePaginated](../../models/components/serviceentitylitepaginated.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.APIError | 4XX, 5XX | \*/\* | + +## listEnvironmentFunctionalities + +List functionalities for an environment + +### Example Usage + + +```typescript +import { Firehydrant } from "firehydrant-typescript-sdk"; + +const firehydrant = new Firehydrant({ + apiKey: process.env["FIREHYDRANT_API_KEY"] ?? "", +}); + +async function run() { + const result = await firehydrant.catalogEntries.listEnvironmentFunctionalities({ + environmentId: "", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { FirehydrantCore } from "firehydrant-typescript-sdk/core.js"; +import { catalogEntriesListEnvironmentFunctionalities } from "firehydrant-typescript-sdk/funcs/catalogEntriesListEnvironmentFunctionalities.js"; + +// Use `FirehydrantCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const firehydrant = new FirehydrantCore({ + apiKey: process.env["FIREHYDRANT_API_KEY"] ?? "", +}); + +async function run() { + const res = await catalogEntriesListEnvironmentFunctionalities(firehydrant, { + environmentId: "", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("catalogEntriesListEnvironmentFunctionalities failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.ListEnvironmentFunctionalitiesRequest](../../models/operations/listenvironmentfunctionalitiesrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.FunctionalityEntityLitePaginated](../../models/components/functionalityentitylitepaginated.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.APIError | 4XX, 5XX | \*/\* | + ## listServices List all of the services that have been added to the organization. @@ -847,6 +993,79 @@ run(); | --------------- | --------------- | --------------- | | errors.APIError | 4XX, 5XX | \*/\* | +## listServiceEnvironments + +List environments for a service + +### Example Usage + + +```typescript +import { Firehydrant } from "firehydrant-typescript-sdk"; + +const firehydrant = new Firehydrant({ + apiKey: process.env["FIREHYDRANT_API_KEY"] ?? "", +}); + +async function run() { + const result = await firehydrant.catalogEntries.listServiceEnvironments({ + serviceId: "", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { FirehydrantCore } from "firehydrant-typescript-sdk/core.js"; +import { catalogEntriesListServiceEnvironments } from "firehydrant-typescript-sdk/funcs/catalogEntriesListServiceEnvironments.js"; + +// Use `FirehydrantCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const firehydrant = new FirehydrantCore({ + apiKey: process.env["FIREHYDRANT_API_KEY"] ?? "", +}); + +async function run() { + const res = await catalogEntriesListServiceEnvironments(firehydrant, { + serviceId: "", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("catalogEntriesListServiceEnvironments failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.ListServiceEnvironmentsRequest](../../models/operations/listserviceenvironmentsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.EnvironmentEntryEntityPaginated](../../models/components/environmententryentitypaginated.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.APIError | 4XX, 5XX | \*/\* | + ## getServiceDependencies Retrieves a service's dependencies @@ -1883,6 +2102,79 @@ run(); | --------------- | --------------- | --------------- | | errors.APIError | 4XX, 5XX | \*/\* | +## listFunctionalityEnvironments + +List environments for a functionality + +### Example Usage + + +```typescript +import { Firehydrant } from "firehydrant-typescript-sdk"; + +const firehydrant = new Firehydrant({ + apiKey: process.env["FIREHYDRANT_API_KEY"] ?? "", +}); + +async function run() { + const result = await firehydrant.catalogEntries.listFunctionalityEnvironments({ + functionalityId: "", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { FirehydrantCore } from "firehydrant-typescript-sdk/core.js"; +import { catalogEntriesListFunctionalityEnvironments } from "firehydrant-typescript-sdk/funcs/catalogEntriesListFunctionalityEnvironments.js"; + +// Use `FirehydrantCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const firehydrant = new FirehydrantCore({ + apiKey: process.env["FIREHYDRANT_API_KEY"] ?? "", +}); + +async function run() { + const res = await catalogEntriesListFunctionalityEnvironments(firehydrant, { + functionalityId: "", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("catalogEntriesListFunctionalityEnvironments failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.ListFunctionalityEnvironmentsRequest](../../models/operations/listfunctionalityenvironmentsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.EnvironmentEntryEntityPaginated](../../models/components/environmententryentitypaginated.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.APIError | 4XX, 5XX | \*/\* | + ## listFunctionalityServices List services for a functionality diff --git a/docs/sdks/metricsreporting/README.md b/docs/sdks/metricsreporting/README.md index 94a0131b..c9727044 100644 --- a/docs/sdks/metricsreporting/README.md +++ b/docs/sdks/metricsreporting/README.md @@ -21,6 +21,7 @@ Operations related to Metrics & Reporting * [getSignalsGroupedMetrics](#getsignalsgroupedmetrics) - Generate grouped alert metrics * [getSignalsMttxAnalytics](#getsignalsmttxanalytics) - Get MTTX analytics for signals * [getSignalsNoiseAnalytics](#getsignalsnoiseanalytics) - Get noise analytics for signals +* [exportSignalsShiftAnalytics](#exportsignalsshiftanalytics) - Export on-call hours report ## getMeanTimeReport @@ -1103,6 +1104,81 @@ run(); ### Errors +| Error Type | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.APIError | 4XX, 5XX | \*/\* | + +## exportSignalsShiftAnalytics + +Export on-call hours report for users/teams during a time period + +### Example Usage + + +```typescript +import { Firehydrant } from "firehydrant-typescript-sdk"; + +const firehydrant = new Firehydrant({ + apiKey: process.env["FIREHYDRANT_API_KEY"] ?? "", +}); + +async function run() { + await firehydrant.metricsReporting.exportSignalsShiftAnalytics({ + periodStart: new Date("2026-01-17T01:07:20.168Z"), + periodEnd: new Date("2025-10-08T06:33:20.543Z"), + }); + + +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { FirehydrantCore } from "firehydrant-typescript-sdk/core.js"; +import { metricsReportingExportSignalsShiftAnalytics } from "firehydrant-typescript-sdk/funcs/metricsReportingExportSignalsShiftAnalytics.js"; + +// Use `FirehydrantCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const firehydrant = new FirehydrantCore({ + apiKey: process.env["FIREHYDRANT_API_KEY"] ?? "", +}); + +async function run() { + const res = await metricsReportingExportSignalsShiftAnalytics(firehydrant, { + periodStart: new Date("2026-01-17T01:07:20.168Z"), + periodEnd: new Date("2025-10-08T06:33:20.543Z"), + }); + if (res.ok) { + const { value: result } = res; + + } else { + console.log("metricsReportingExportSignalsShiftAnalytics failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.ExportSignalsShiftAnalyticsRequest](../../models/operations/exportsignalsshiftanalyticsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\** + +### Errors + | Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | | errors.APIError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/retrospectives/README.md b/docs/sdks/retrospectives/README.md index 29b6c5a5..a3b41e43 100644 --- a/docs/sdks/retrospectives/README.md +++ b/docs/sdks/retrospectives/README.md @@ -36,7 +36,6 @@ Operations related to Retrospectives * [getRetrospectiveTemplate](#getretrospectivetemplate) - Get a retrospective template * [deleteRetrospectiveTemplate](#deleteretrospectivetemplate) - Delete a retrospective template * [updateRetrospectiveTemplate](#updateretrospectivetemplate) - Update a retrospective template -* [getRetrospectiveReportTemplate](#getretrospectivereporttemplate) - Get a retrospective report template ## shareIncidentRetrospectives @@ -2355,79 +2354,6 @@ run(); ### Errors -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.APIError | 4XX, 5XX | \*/\* | - -## getRetrospectiveReportTemplate - -Retrieve a single retrospective report template by ID - -### Example Usage - - -```typescript -import { Firehydrant } from "firehydrant-typescript-sdk"; - -const firehydrant = new Firehydrant({ - apiKey: process.env["FIREHYDRANT_API_KEY"] ?? "", -}); - -async function run() { - const result = await firehydrant.retrospectives.getRetrospectiveReportTemplate({ - id: "", - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { FirehydrantCore } from "firehydrant-typescript-sdk/core.js"; -import { retrospectivesGetRetrospectiveReportTemplate } from "firehydrant-typescript-sdk/funcs/retrospectivesGetRetrospectiveReportTemplate.js"; - -// Use `FirehydrantCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const firehydrant = new FirehydrantCore({ - apiKey: process.env["FIREHYDRANT_API_KEY"] ?? "", -}); - -async function run() { - const res = await retrospectivesGetRetrospectiveReportTemplate(firehydrant, { - id: "", - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("retrospectivesGetRetrospectiveReportTemplate failed:", res.error); - } -} - -run(); -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetRetrospectiveReportTemplateRequest](../../models/operations/getretrospectivereporttemplaterequest.md) | :heavy_check_mark: | The request object to use for the request. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[components.RetrospectivesReportTemplateEntity](../../models/components/retrospectivesreporttemplateentity.md)\>** - -### Errors - | Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | | errors.APIError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/runbooks/README.md b/docs/sdks/runbooks/README.md index 2ec71dda..4dedaa77 100644 --- a/docs/sdks/runbooks/README.md +++ b/docs/sdks/runbooks/README.md @@ -754,7 +754,7 @@ run(); ### Response -**Promise\<[components.RunbookEntity](../../models/components/runbookentity.md)\>** +**Promise\<[components.SlimRunbookEntityPaginated](../../models/components/slimrunbookentitypaginated.md)\>** ### Errors diff --git a/docs/sdks/signals/README.md b/docs/sdks/signals/README.md index f568fe74..05a7a24c 100644 --- a/docs/sdks/signals/README.md +++ b/docs/sdks/signals/README.md @@ -53,11 +53,17 @@ Operations related to Signals * [getSignalsWebhookTarget](#getsignalswebhooktarget) - Get a webhook target * [deleteSignalsWebhookTarget](#deletesignalswebhooktarget) - Delete a webhook target * [updateSignalsWebhookTarget](#updatesignalswebhooktarget) - Update a webhook target +* [listSignalsHeartbeatEndpointConfigurations](#listsignalsheartbeatendpointconfigurations) - List heartbeat endpoint configurations +* [createSignalsHeartbeatEndpointConfiguration](#createsignalsheartbeatendpointconfiguration) - Create a heartbeat endpoint configuration +* [getSignalsHeartbeatEndpointConfiguration](#getsignalsheartbeatendpointconfiguration) - Get a heartbeat endpoint configuration +* [deleteSignalsHeartbeatEndpointConfiguration](#deletesignalsheartbeatendpointconfiguration) - Delete a heartbeat endpoint configuration +* [updateSignalsHeartbeatEndpointConfiguration](#updatesignalsheartbeatendpointconfiguration) - Update a heartbeat endpoint configuration * [listNotificationPolicySettings](#listnotificationpolicysettings) - List notification policies * [createNotificationPolicy](#createnotificationpolicy) - Create a notification policy * [getNotificationPolicy](#getnotificationpolicy) - Get a notification policy * [deleteNotificationPolicy](#deletenotificationpolicy) - Delete a notification policy * [updateNotificationPolicy](#updatenotificationpolicy) - Update a notification policy +* [listUserNotificationSettingsByUserId](#listusernotificationsettingsbyuserid) - List notification settings for a user * [listSignalsTransposers](#listsignalstransposers) - List signal transposers * [getSignalsIngestUrl](#getsignalsingesturl) - Get the signals ingestion URL * [debugSignalsExpression](#debugsignalsexpression) - Debug Signals expressions @@ -1881,7 +1887,7 @@ run(); ## createTeamSignalRule -Create a Signals rule for a team. +Create a Signals rule for a team. We support up to 2000 rules per organization. ### Example Usage @@ -2568,7 +2574,7 @@ const firehydrant = new Firehydrant({ }); async function run() { - const result = await firehydrant.signals.listSignalsAlertGroupingConfigurations(); + const result = await firehydrant.signals.listSignalsAlertGroupingConfigurations({}); console.log(result); } @@ -2591,7 +2597,7 @@ const firehydrant = new FirehydrantCore({ }); async function run() { - const res = await signalsListSignalsAlertGroupingConfigurations(firehydrant); + const res = await signalsListSignalsAlertGroupingConfigurations(firehydrant, {}); if (res.ok) { const { value: result } = res; console.log(result); @@ -2607,6 +2613,7 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.ListSignalsAlertGroupingConfigurationsRequest](../../models/operations/listsignalsalertgroupingconfigurationsrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | @@ -3645,6 +3652,376 @@ run(); | --------------- | --------------- | --------------- | | errors.APIError | 4XX, 5XX | \*/\* | +## listSignalsHeartbeatEndpointConfigurations + +Retrieve all heartbeat endpoint configurations for your organization + +### Example Usage + + +```typescript +import { Firehydrant } from "firehydrant-typescript-sdk"; + +const firehydrant = new Firehydrant({ + apiKey: process.env["FIREHYDRANT_API_KEY"] ?? "", +}); + +async function run() { + await firehydrant.signals.listSignalsHeartbeatEndpointConfigurations(); + + +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { FirehydrantCore } from "firehydrant-typescript-sdk/core.js"; +import { signalsListSignalsHeartbeatEndpointConfigurations } from "firehydrant-typescript-sdk/funcs/signalsListSignalsHeartbeatEndpointConfigurations.js"; + +// Use `FirehydrantCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const firehydrant = new FirehydrantCore({ + apiKey: process.env["FIREHYDRANT_API_KEY"] ?? "", +}); + +async function run() { + const res = await signalsListSignalsHeartbeatEndpointConfigurations(firehydrant); + if (res.ok) { + const { value: result } = res; + + } else { + console.log("signalsListSignalsHeartbeatEndpointConfigurations failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.APIError | 4XX, 5XX | \*/\* | + +## createSignalsHeartbeatEndpointConfiguration + +Create a new heartbeat endpoint configuration for your organization + +### Example Usage + + +```typescript +import { Firehydrant } from "firehydrant-typescript-sdk"; + +const firehydrant = new Firehydrant({ + apiKey: process.env["FIREHYDRANT_API_KEY"] ?? "", +}); + +async function run() { + await firehydrant.signals.createSignalsHeartbeatEndpointConfiguration({ + slug: "", + enabled: false, + expectInterval: "", + templateSignal: {}, + kind: "email", + }); + + +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { FirehydrantCore } from "firehydrant-typescript-sdk/core.js"; +import { signalsCreateSignalsHeartbeatEndpointConfiguration } from "firehydrant-typescript-sdk/funcs/signalsCreateSignalsHeartbeatEndpointConfiguration.js"; + +// Use `FirehydrantCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const firehydrant = new FirehydrantCore({ + apiKey: process.env["FIREHYDRANT_API_KEY"] ?? "", +}); + +async function run() { + const res = await signalsCreateSignalsHeartbeatEndpointConfiguration(firehydrant, { + slug: "", + enabled: false, + expectInterval: "", + templateSignal: {}, + kind: "email", + }); + if (res.ok) { + const { value: result } = res; + + } else { + console.log("signalsCreateSignalsHeartbeatEndpointConfiguration failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [components.CreateSignalsHeartbeatEndpointConfiguration](../../models/components/createsignalsheartbeatendpointconfiguration.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.APIError | 4XX, 5XX | \*/\* | + +## getSignalsHeartbeatEndpointConfiguration + +Retrieve a single heartbeat endpoint configuration + +### Example Usage + + +```typescript +import { Firehydrant } from "firehydrant-typescript-sdk"; + +const firehydrant = new Firehydrant({ + apiKey: process.env["FIREHYDRANT_API_KEY"] ?? "", +}); + +async function run() { + await firehydrant.signals.getSignalsHeartbeatEndpointConfiguration({ + id: "", + }); + + +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { FirehydrantCore } from "firehydrant-typescript-sdk/core.js"; +import { signalsGetSignalsHeartbeatEndpointConfiguration } from "firehydrant-typescript-sdk/funcs/signalsGetSignalsHeartbeatEndpointConfiguration.js"; + +// Use `FirehydrantCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const firehydrant = new FirehydrantCore({ + apiKey: process.env["FIREHYDRANT_API_KEY"] ?? "", +}); + +async function run() { + const res = await signalsGetSignalsHeartbeatEndpointConfiguration(firehydrant, { + id: "", + }); + if (res.ok) { + const { value: result } = res; + + } else { + console.log("signalsGetSignalsHeartbeatEndpointConfiguration failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.GetSignalsHeartbeatEndpointConfigurationRequest](../../models/operations/getsignalsheartbeatendpointconfigurationrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.APIError | 4XX, 5XX | \*/\* | + +## deleteSignalsHeartbeatEndpointConfiguration + +Delete a heartbeat endpoint configuration + +### Example Usage + + +```typescript +import { Firehydrant } from "firehydrant-typescript-sdk"; + +const firehydrant = new Firehydrant({ + apiKey: process.env["FIREHYDRANT_API_KEY"] ?? "", +}); + +async function run() { + await firehydrant.signals.deleteSignalsHeartbeatEndpointConfiguration({ + id: "", + }); + + +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { FirehydrantCore } from "firehydrant-typescript-sdk/core.js"; +import { signalsDeleteSignalsHeartbeatEndpointConfiguration } from "firehydrant-typescript-sdk/funcs/signalsDeleteSignalsHeartbeatEndpointConfiguration.js"; + +// Use `FirehydrantCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const firehydrant = new FirehydrantCore({ + apiKey: process.env["FIREHYDRANT_API_KEY"] ?? "", +}); + +async function run() { + const res = await signalsDeleteSignalsHeartbeatEndpointConfiguration(firehydrant, { + id: "", + }); + if (res.ok) { + const { value: result } = res; + + } else { + console.log("signalsDeleteSignalsHeartbeatEndpointConfiguration failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.DeleteSignalsHeartbeatEndpointConfigurationRequest](../../models/operations/deletesignalsheartbeatendpointconfigurationrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.APIError | 4XX, 5XX | \*/\* | + +## updateSignalsHeartbeatEndpointConfiguration + +Update an existing heartbeat endpoint configuration + +### Example Usage + + +```typescript +import { Firehydrant } from "firehydrant-typescript-sdk"; + +const firehydrant = new Firehydrant({ + apiKey: process.env["FIREHYDRANT_API_KEY"] ?? "", +}); + +async function run() { + await firehydrant.signals.updateSignalsHeartbeatEndpointConfiguration({ + id: "", + updateSignalsHeartbeatEndpointConfiguration: {}, + }); + + +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { FirehydrantCore } from "firehydrant-typescript-sdk/core.js"; +import { signalsUpdateSignalsHeartbeatEndpointConfiguration } from "firehydrant-typescript-sdk/funcs/signalsUpdateSignalsHeartbeatEndpointConfiguration.js"; + +// Use `FirehydrantCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const firehydrant = new FirehydrantCore({ + apiKey: process.env["FIREHYDRANT_API_KEY"] ?? "", +}); + +async function run() { + const res = await signalsUpdateSignalsHeartbeatEndpointConfiguration(firehydrant, { + id: "", + updateSignalsHeartbeatEndpointConfiguration: {}, + }); + if (res.ok) { + const { value: result } = res; + + } else { + console.log("signalsUpdateSignalsHeartbeatEndpointConfiguration failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.UpdateSignalsHeartbeatEndpointConfigurationRequest](../../models/operations/updatesignalsheartbeatendpointconfigurationrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.APIError | 4XX, 5XX | \*/\* | + ## listNotificationPolicySettings List all Signals notification policies. @@ -4010,6 +4387,80 @@ run(); | --------------- | --------------- | --------------- | | errors.APIError | 4XX, 5XX | \*/\* | +## listUserNotificationSettingsByUserId + +List all Signals notification settings for a specific user. Requires an API key with PII access enabled. + +### Example Usage + + +```typescript +import { Firehydrant } from "firehydrant-typescript-sdk"; + +const firehydrant = new Firehydrant({ + apiKey: process.env["FIREHYDRANT_API_KEY"] ?? "", +}); + +async function run() { + const result = await firehydrant.signals.listUserNotificationSettingsByUserId({ + userId: "", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { FirehydrantCore } from "firehydrant-typescript-sdk/core.js"; +import { signalsListUserNotificationSettingsByUserId } from "firehydrant-typescript-sdk/funcs/signalsListUserNotificationSettingsByUserId.js"; + +// Use `FirehydrantCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const firehydrant = new FirehydrantCore({ + apiKey: process.env["FIREHYDRANT_API_KEY"] ?? "", +}); + +async function run() { + const res = await signalsListUserNotificationSettingsByUserId(firehydrant, { + userId: "", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("signalsListUserNotificationSettingsByUserId failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.ListUserNotificationSettingsByUserIdRequest](../../models/operations/listusernotificationsettingsbyuseridrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.SignalsAPIUserNotificationSettingEntityPaginated](../../models/components/signalsapiusernotificationsettingentitypaginated.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| errors.ErrorEntity | 403 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | + ## listSignalsTransposers List all transposers for your organization diff --git a/docs/sdks/webhooks/README.md b/docs/sdks/webhooks/README.md index 2fb25fef..ea26706e 100644 --- a/docs/sdks/webhooks/README.md +++ b/docs/sdks/webhooks/README.md @@ -74,7 +74,7 @@ run(); ### Response -**Promise\<[components.WebhooksEntitiesWebhookEntity](../../models/components/webhooksentitieswebhookentity.md)\>** +**Promise\<[components.WebhooksEntitiesWebhookEntityPaginated](../../models/components/webhooksentitieswebhookentitypaginated.md)\>** ### Errors @@ -170,11 +170,11 @@ const firehydrant = new Firehydrant({ }); async function run() { - await firehydrant.webhooks.listWebhookDeliveries({ + const result = await firehydrant.webhooks.listWebhookDeliveries({ webhookId: "", }); - + console.log(result); } run(); @@ -200,7 +200,7 @@ async function run() { }); if (res.ok) { const { value: result } = res; - + console.log(result); } else { console.log("webhooksListWebhookDeliveries failed:", res.error); } @@ -220,7 +220,7 @@ run(); ### Response -**Promise\** +**Promise\<[components.WebhooksEntitiesDeliveryEntityPaginated](../../models/components/webhooksentitiesdeliveryentitypaginated.md)\>** ### Errors diff --git a/examples/package-lock.json b/examples/package-lock.json index 1f760cff..b914e20c 100644 --- a/examples/package-lock.json +++ b/examples/package-lock.json @@ -18,21 +18,21 @@ }, "..": { "name": "firehydrant-typescript-sdk", - "version": "1.2.1", + "version": "1.3.0", "dependencies": { - "@modelcontextprotocol/sdk": ">=1.5.0 <1.10.0", + "@modelcontextprotocol/sdk": "^1.26.0", "zod": "^3.25.0 || ^4.0.0" }, "bin": { "mcp": "bin/mcp-server.js" }, "devDependencies": { - "@eslint/js": "^9.19.0", + "@eslint/js": "^9.26.0", "@stricli/core": "^1.1.1", "@types/express": "^4.17.21", "bun": "1.2.17", "bun-types": "1.2.17", - "eslint": "^9.19.0", + "eslint": "^9.26.0", "express": "^4.21.2", "globals": "^15.14.0", "tshy": "^2.0.0", diff --git a/jsr.json b/jsr.json index dc8afd5b..c2fe4b89 100644 --- a/jsr.json +++ b/jsr.json @@ -2,7 +2,7 @@ { "name": "firehydrant-typescript-sdk", - "version": "1.2.1", + "version": "1.3.0", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/package-lock.json b/package-lock.json index b2de4ca7..db8e74d6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,26 +1,26 @@ { "name": "firehydrant-typescript-sdk", - "version": "1.2.1", + "version": "1.3.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "firehydrant-typescript-sdk", - "version": "1.2.1", + "version": "1.3.0", "dependencies": { - "@modelcontextprotocol/sdk": ">=1.5.0 <1.10.0", + "@modelcontextprotocol/sdk": "^1.26.0", "zod": "^3.25.0 || ^4.0.0" }, "bin": { "mcp": "bin/mcp-server.js" }, "devDependencies": { - "@eslint/js": "^9.19.0", + "@eslint/js": "^9.26.0", "@stricli/core": "^1.1.1", "@types/express": "^4.17.21", "bun": "1.2.17", "bun-types": "1.2.17", - "eslint": "^9.19.0", + "eslint": "^9.26.0", "express": "^4.21.2", "globals": "^15.14.0", "tshy": "^2.0.0", @@ -214,6 +214,18 @@ "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, + "node_modules/@hono/node-server": { + "version": "1.19.9", + "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-1.19.9.tgz", + "integrity": "sha512-vHL6w3ecZsky+8P5MD+eFfaGTyCeOHUIFYMGpQGbrBTSmNNoxv0if69rEZ5giu36weC5saFuznL411gRX7bJDw==", + "license": "MIT", + "engines": { + "node": ">=18.14.1" + }, + "peerDependencies": { + "hono": "^4" + } + }, "node_modules/@humanfs/core": { "version": "0.19.1", "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz", @@ -299,24 +311,43 @@ } }, "node_modules/@modelcontextprotocol/sdk": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.9.0.tgz", - "integrity": "sha512-Jq2EUCQpe0iyO5FGpzVYDNFR6oR53AIrwph9yWl7uSc7IWUMsrmpmSaTGra5hQNunXpM+9oit85p924jWuHzUA==", + "version": "1.26.0", + "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.26.0.tgz", + "integrity": "sha512-Y5RmPncpiDtTXDbLKswIJzTqu2hyBKxTNsgKqKclDbhIgg1wgtf1fRuvxgTnRfcnxtvvgbIEcqUOzZrJ6iSReg==", "license": "MIT", "dependencies": { + "@hono/node-server": "^1.19.9", + "ajv": "^8.17.1", + "ajv-formats": "^3.0.1", "content-type": "^1.0.5", "cors": "^2.8.5", - "cross-spawn": "^7.0.3", + "cross-spawn": "^7.0.5", "eventsource": "^3.0.2", - "express": "^5.0.1", - "express-rate-limit": "^7.5.0", + "eventsource-parser": "^3.0.0", + "express": "^5.2.1", + "express-rate-limit": "^8.2.1", + "hono": "^4.11.4", + "jose": "^6.1.3", + "json-schema-typed": "^8.0.2", "pkce-challenge": "^5.0.0", "raw-body": "^3.0.0", - "zod": "^3.23.8", - "zod-to-json-schema": "^3.24.1" + "zod": "^3.25 || ^4.0", + "zod-to-json-schema": "^3.25.1" }, "engines": { "node": ">=18" + }, + "peerDependencies": { + "@cfworker/json-schema": "^4.1.1", + "zod": "^3.25 || ^4.0" + }, + "peerDependenciesMeta": { + "@cfworker/json-schema": { + "optional": true + }, + "zod": { + "optional": false + } } }, "node_modules/@modelcontextprotocol/sdk/node_modules/accepts": { @@ -332,36 +363,57 @@ "node": ">= 0.6" } }, + "node_modules/@modelcontextprotocol/sdk/node_modules/ajv": { + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz", + "integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, "node_modules/@modelcontextprotocol/sdk/node_modules/body-parser": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.2.0.tgz", - "integrity": "sha512-02qvAaxv8tp7fBa/mw1ga98OGm+eCbqzJOKoRt70sLmfEEi+jyBYVTDGfCL/k06/4EMk/z01gCe7HoCH/f2LTg==", + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.2.2.tgz", + "integrity": "sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA==", "license": "MIT", "dependencies": { "bytes": "^3.1.2", "content-type": "^1.0.5", - "debug": "^4.4.0", + "debug": "^4.4.3", "http-errors": "^2.0.0", - "iconv-lite": "^0.6.3", + "iconv-lite": "^0.7.0", "on-finished": "^2.4.1", - "qs": "^6.14.0", - "raw-body": "^3.0.0", - "type-is": "^2.0.0" + "qs": "^6.14.1", + "raw-body": "^3.0.1", + "type-is": "^2.0.1" }, "engines": { "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/@modelcontextprotocol/sdk/node_modules/content-disposition": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.0.0.tgz", - "integrity": "sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.0.1.tgz", + "integrity": "sha512-oIXISMynqSqm241k6kcQ5UwttDILMK4BiurCfGEREw6+X9jkkpEe5T9FZaApyLGGOnFuyMWZpdolTXMtvEJ08Q==", "license": "MIT", - "dependencies": { - "safe-buffer": "5.2.1" - }, "engines": { - "node": ">= 0.6" + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/@modelcontextprotocol/sdk/node_modules/cookie-signature": { @@ -374,18 +426,19 @@ } }, "node_modules/@modelcontextprotocol/sdk/node_modules/express": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/express/-/express-5.1.0.tgz", - "integrity": "sha512-DT9ck5YIRU+8GYzzU5kT3eHGA5iL+1Zd0EutOmTE9Dtk+Tvuzd23VBU+ec7HPNSTxXYO55gPV/hq4pSBJDjFpA==", + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/express/-/express-5.2.1.tgz", + "integrity": "sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==", "license": "MIT", "dependencies": { "accepts": "^2.0.0", - "body-parser": "^2.2.0", + "body-parser": "^2.2.1", "content-disposition": "^1.0.0", "content-type": "^1.0.5", "cookie": "^0.7.1", "cookie-signature": "^1.2.1", "debug": "^4.4.0", + "depd": "^2.0.0", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "etag": "^1.8.1", @@ -416,9 +469,9 @@ } }, "node_modules/@modelcontextprotocol/sdk/node_modules/finalhandler": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.0.tgz", - "integrity": "sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.1.tgz", + "integrity": "sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA==", "license": "MIT", "dependencies": { "debug": "^4.4.0", @@ -429,7 +482,11 @@ "statuses": "^2.0.1" }, "engines": { - "node": ">= 0.8" + "node": ">= 18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/@modelcontextprotocol/sdk/node_modules/fresh": { @@ -441,18 +498,48 @@ "node": ">= 0.8" } }, + "node_modules/@modelcontextprotocol/sdk/node_modules/http-errors": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz", + "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==", + "license": "MIT", + "dependencies": { + "depd": "~2.0.0", + "inherits": "~2.0.4", + "setprototypeof": "~1.2.0", + "statuses": "~2.0.2", + "toidentifier": "~1.0.1" + }, + "engines": { + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.2.tgz", + "integrity": "sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw==", "license": "MIT", "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" }, "engines": { "node": ">=0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, + "node_modules/@modelcontextprotocol/sdk/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "license": "MIT" + }, "node_modules/@modelcontextprotocol/sdk/node_modules/media-typer": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.0.tgz", @@ -484,15 +571,19 @@ } }, "node_modules/@modelcontextprotocol/sdk/node_modules/mime-types": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.1.tgz", - "integrity": "sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz", + "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==", "license": "MIT", "dependencies": { "mime-db": "^1.54.0" }, "engines": { - "node": ">= 0.6" + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/@modelcontextprotocol/sdk/node_modules/negotiator": { @@ -505,9 +596,9 @@ } }, "node_modules/@modelcontextprotocol/sdk/node_modules/qs": { - "version": "6.14.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.0.tgz", - "integrity": "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==", + "version": "6.14.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.2.tgz", + "integrity": "sha512-V/yCWTTF7VJ9hIh18Ugr2zhJMP01MY7c5kh4J870L7imm6/DIzBsNLTXzMwUA3yZ5b/KBqLx8Kp3uRvd7xSe3Q==", "license": "BSD-3-Clause", "dependencies": { "side-channel": "^1.1.0" @@ -520,31 +611,35 @@ } }, "node_modules/@modelcontextprotocol/sdk/node_modules/send": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/send/-/send-1.2.0.tgz", - "integrity": "sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/send/-/send-1.2.1.tgz", + "integrity": "sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ==", "license": "MIT", "dependencies": { - "debug": "^4.3.5", + "debug": "^4.4.3", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "etag": "^1.8.1", "fresh": "^2.0.0", - "http-errors": "^2.0.0", - "mime-types": "^3.0.1", + "http-errors": "^2.0.1", + "mime-types": "^3.0.2", "ms": "^2.1.3", "on-finished": "^2.4.1", "range-parser": "^1.2.1", - "statuses": "^2.0.1" + "statuses": "^2.0.2" }, "engines": { "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/@modelcontextprotocol/sdk/node_modules/serve-static": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.0.tgz", - "integrity": "sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.1.tgz", + "integrity": "sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw==", "license": "MIT", "dependencies": { "encodeurl": "^2.0.0", @@ -554,6 +649,19 @@ }, "engines": { "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/@modelcontextprotocol/sdk/node_modules/statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" } }, "node_modules/@modelcontextprotocol/sdk/node_modules/type-is": { @@ -1191,6 +1299,45 @@ "url": "https://github.com/sponsors/epoberezkin" } }, + "node_modules/ajv-formats": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-3.0.1.tgz", + "integrity": "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==", + "license": "MIT", + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "node_modules/ajv-formats/node_modules/ajv": { + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz", + "integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ajv-formats/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "license": "MIT" + }, "node_modules/ansi-regex": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", @@ -1583,9 +1730,9 @@ } }, "node_modules/debug": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", - "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", "license": "MIT", "dependencies": { "ms": "^2.1.3" @@ -2001,10 +2148,13 @@ } }, "node_modules/express-rate-limit": { - "version": "7.5.0", - "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-7.5.0.tgz", - "integrity": "sha512-eB5zbQh5h+VenMPM3fh+nw1YExi5nMr6HUCR62ELSP11huvxm/Uir1H1QEyTkk5QX6A58pX6NmaTMceKZ0Eodg==", + "version": "8.2.1", + "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-8.2.1.tgz", + "integrity": "sha512-PCZEIEIxqwhzw4KF0n7QF4QqruVTcF73O5kFKUnGOyjbCCgizBBiFaYpd/fnBLUMPw/BWw9OsiN7GgrNYr7j6g==", "license": "MIT", + "dependencies": { + "ip-address": "10.0.1" + }, "engines": { "node": ">= 16" }, @@ -2012,7 +2162,7 @@ "url": "https://github.com/sponsors/express-rate-limit" }, "peerDependencies": { - "express": "^4.11 || 5 || ^5.0.0-beta.1" + "express": ">= 4.11" } }, "node_modules/express/node_modules/debug": { @@ -2034,7 +2184,6 @@ "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true, "license": "MIT" }, "node_modules/fast-glob": { @@ -2081,6 +2230,22 @@ "dev": true, "license": "MIT" }, + "node_modules/fast-uri": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.0.tgz", + "integrity": "sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ], + "license": "BSD-3-Clause" + }, "node_modules/fastq": { "version": "1.18.0", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.18.0.tgz", @@ -2371,6 +2536,15 @@ "node": ">= 0.4" } }, + "node_modules/hono": { + "version": "4.11.9", + "resolved": "https://registry.npmjs.org/hono/-/hono-4.11.9.tgz", + "integrity": "sha512-Eaw2YTGM6WOxA6CXbckaEvslr2Ne4NFsKrvc0v97JD5awbmeBLO5w9Ho9L9kmKonrwF9RJlW6BxT1PVv/agBHQ==", + "license": "MIT", + "engines": { + "node": ">=16.9.0" + } + }, "node_modules/http-errors": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", @@ -2442,6 +2616,15 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "license": "ISC" }, + "node_modules/ip-address": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.0.1.tgz", + "integrity": "sha512-NWv9YLW4PoW2B7xtzaS3NCot75m6nK7Icdv0o3lfMceJVRfSoQwqD4wEH5rLwoKJwUiZ/rfpiVBhnaF0FK4HoA==", + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, "node_modules/ipaddr.js": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", @@ -2535,6 +2718,15 @@ "@pkgjs/parseargs": "^0.11.0" } }, + "node_modules/jose": { + "version": "6.1.3", + "resolved": "https://registry.npmjs.org/jose/-/jose-6.1.3.tgz", + "integrity": "sha512-0TpaTfihd4QMNwrz/ob2Bp7X04yuxJkjRGi4aKmOqwhov54i6u79oCv7T+C7lo70MKH6BesI3vscD1yb/yzKXQ==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/panva" + } + }, "node_modules/js-yaml": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", @@ -2562,6 +2754,12 @@ "dev": true, "license": "MIT" }, + "node_modules/json-schema-typed": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/json-schema-typed/-/json-schema-typed-8.0.2.tgz", + "integrity": "sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==", + "license": "BSD-2-Clause" + }, "node_modules/json-stable-stringify-without-jsonify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", @@ -3067,30 +3265,63 @@ } }, "node_modules/raw-body": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.0.tgz", - "integrity": "sha512-RmkhL8CAyCRPXCE28MMH0z2PNWQBNk2Q09ZdxM9IOOXwxwZbN+qbWaatPkdkWIKL2ZVDImrN/pK5HTRz2PcS4g==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.2.tgz", + "integrity": "sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA==", "license": "MIT", "dependencies": { - "bytes": "3.1.2", - "http-errors": "2.0.0", - "iconv-lite": "0.6.3", - "unpipe": "1.0.0" + "bytes": "~3.1.2", + "http-errors": "~2.0.1", + "iconv-lite": "~0.7.0", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/raw-body/node_modules/http-errors": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz", + "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==", + "license": "MIT", + "dependencies": { + "depd": "~2.0.0", + "inherits": "~2.0.4", + "setprototypeof": "~1.2.0", + "statuses": "~2.0.2", + "toidentifier": "~1.0.1" }, "engines": { "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/raw-body/node_modules/iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.2.tgz", + "integrity": "sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw==", "license": "MIT", "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" }, "engines": { "node": ">=0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/raw-body/node_modules/statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" } }, "node_modules/readdirp": { @@ -3106,6 +3337,15 @@ "node": ">=8.10.0" } }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/resolve-from": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", @@ -3177,12 +3417,13 @@ } }, "node_modules/router/node_modules/path-to-regexp": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.2.0.tgz", - "integrity": "sha512-TdrF7fW9Rphjq4RjrW0Kp2AW0Ahwu9sRGTkS6bvDi0SCwZlEZYmcfDbEsTz8RVk0EHIS/Vd1bv3JhG+1xZuAyQ==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.3.0.tgz", + "integrity": "sha512-7jdwVIRtsP8MYpdXSwOS0YdD0Du+qOoF/AEPIt88PcCFrZCzx41oxku1jD88hZBwbNUIEfpqvuhjFaMAqMTWnA==", "license": "MIT", - "engines": { - "node": ">=16" + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/run-parallel": { @@ -4066,12 +4307,12 @@ } }, "node_modules/zod-to-json-schema": { - "version": "3.24.5", - "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.24.5.tgz", - "integrity": "sha512-/AuWwMP+YqiPbsJx5D6TfgRTc4kTLjsh5SOcd4bLsfUg2RcEXrFMJl1DGgdHy2aCfsIA/cr/1JM0xcB2GZji8g==", + "version": "3.25.1", + "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.25.1.tgz", + "integrity": "sha512-pM/SU9d3YAggzi6MtR4h7ruuQlqKtad8e9S0fmxcMi+ueAK5Korys/aWcV9LIIHTVbj01NdzxcnXSN+O74ZIVA==", "license": "ISC", "peerDependencies": { - "zod": "^3.24.1" + "zod": "^3.25 || ^4" } } } diff --git a/package.json b/package.json index ccafef8d..e16e19b3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "firehydrant-typescript-sdk", - "version": "1.2.1", + "version": "1.3.0", "author": "Firehydrant", "type": "module", "bin": { @@ -34,12 +34,12 @@ }, "peerDependencies": {}, "devDependencies": { - "@eslint/js": "^9.19.0", + "@eslint/js": "^9.26.0", "@stricli/core": "^1.1.1", "@types/express": "^4.17.21", "bun": "1.2.17", "bun-types": "1.2.17", - "eslint": "^9.19.0", + "eslint": "^9.26.0", "express": "^4.21.2", "globals": "^15.14.0", "tshy": "^2.0.0", @@ -47,7 +47,7 @@ "typescript-eslint": "^8.26.0" }, "dependencies": { - "@modelcontextprotocol/sdk": ">=1.5.0 <1.10.0", + "@modelcontextprotocol/sdk": "^1.26.0", "zod": "^3.25.0 || ^4.0.0" }, "exports": { diff --git a/src/funcs/audiencesListAudiences.ts b/src/funcs/audiencesListAudiences.ts index d456b0b8..b05ddf96 100644 --- a/src/funcs/audiencesListAudiences.ts +++ b/src/funcs/audiencesListAudiences.ts @@ -37,7 +37,7 @@ export function audiencesListAudiences( options?: RequestOptions, ): APIPromise< Result< - components.AudiencesEntitiesAudienceEntity, + components.AudiencesEntitiesAudienceEntityPaginated, | FirehydrantError | ResponseValidationError | ConnectionError @@ -62,7 +62,7 @@ async function $do( ): Promise< [ Result< - components.AudiencesEntitiesAudienceEntity, + components.AudiencesEntitiesAudienceEntityPaginated, | FirehydrantError | ResponseValidationError | ConnectionError @@ -90,6 +90,8 @@ async function $do( const query = encodeFormQuery({ "include_archived": payload.include_archived, + "page": payload.page, + "per_page": payload.per_page, }); const headers = new Headers(compactMap({ @@ -143,7 +145,7 @@ async function $do( const response = doResult.value; const [result] = await M.match< - components.AudiencesEntitiesAudienceEntity, + components.AudiencesEntitiesAudienceEntityPaginated, | FirehydrantError | ResponseValidationError | ConnectionError @@ -153,7 +155,10 @@ async function $do( | UnexpectedClientError | SDKValidationError >( - M.json(200, components.AudiencesEntitiesAudienceEntity$inboundSchema), + M.json( + 200, + components.AudiencesEntitiesAudienceEntityPaginated$inboundSchema, + ), M.fail("4XX"), M.fail("5XX"), )(response, req); diff --git a/src/funcs/catalogEntriesListEnvironmentFunctionalities.ts b/src/funcs/catalogEntriesListEnvironmentFunctionalities.ts new file mode 100644 index 00000000..711ffa70 --- /dev/null +++ b/src/funcs/catalogEntriesListEnvironmentFunctionalities.ts @@ -0,0 +1,178 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { FirehydrantCore } from "../core.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { FirehydrantError } from "../models/errors/firehydranterror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * List functionalities for an environment + * + * @remarks + * List functionalities for an environment + */ +export function catalogEntriesListEnvironmentFunctionalities( + client: FirehydrantCore, + request: operations.ListEnvironmentFunctionalitiesRequest, + options?: RequestOptions, +): APIPromise< + Result< + components.FunctionalityEntityLitePaginated, + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: FirehydrantCore, + request: operations.ListEnvironmentFunctionalitiesRequest, + options?: RequestOptions, +): Promise< + [ + Result< + components.FunctionalityEntityLitePaginated, + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => + operations.ListEnvironmentFunctionalitiesRequest$outboundSchema.parse( + value, + ), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + environment_id: encodeSimple("environment_id", payload.environment_id, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/environments/{environment_id}/functionalities")( + pathParams, + ); + + const query = encodeFormQuery({ + "page": payload.page, + "per_page": payload.per_page, + }); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.apiKey); + const securityInput = secConfig == null ? {} : { apiKey: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "list_environment_functionalities", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.apiKey, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const [result] = await M.match< + components.FunctionalityEntityLitePaginated, + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.FunctionalityEntityLitePaginated$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/catalogEntriesListEnvironmentServices.ts b/src/funcs/catalogEntriesListEnvironmentServices.ts new file mode 100644 index 00000000..fb928226 --- /dev/null +++ b/src/funcs/catalogEntriesListEnvironmentServices.ts @@ -0,0 +1,176 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { FirehydrantCore } from "../core.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { FirehydrantError } from "../models/errors/firehydranterror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * List services for an environment + * + * @remarks + * List services for an environment + */ +export function catalogEntriesListEnvironmentServices( + client: FirehydrantCore, + request: operations.ListEnvironmentServicesRequest, + options?: RequestOptions, +): APIPromise< + Result< + components.ServiceEntityLitePaginated, + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: FirehydrantCore, + request: operations.ListEnvironmentServicesRequest, + options?: RequestOptions, +): Promise< + [ + Result< + components.ServiceEntityLitePaginated, + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => + operations.ListEnvironmentServicesRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + environment_id: encodeSimple("environment_id", payload.environment_id, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/environments/{environment_id}/services")( + pathParams, + ); + + const query = encodeFormQuery({ + "page": payload.page, + "per_page": payload.per_page, + }); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.apiKey); + const securityInput = secConfig == null ? {} : { apiKey: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "list_environment_services", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.apiKey, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const [result] = await M.match< + components.ServiceEntityLitePaginated, + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.ServiceEntityLitePaginated$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/catalogEntriesListFunctionalityEnvironments.ts b/src/funcs/catalogEntriesListFunctionalityEnvironments.ts new file mode 100644 index 00000000..497c8e53 --- /dev/null +++ b/src/funcs/catalogEntriesListFunctionalityEnvironments.ts @@ -0,0 +1,179 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { FirehydrantCore } from "../core.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { FirehydrantError } from "../models/errors/firehydranterror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * List environments for a functionality + * + * @remarks + * List environments for a functionality + */ +export function catalogEntriesListFunctionalityEnvironments( + client: FirehydrantCore, + request: operations.ListFunctionalityEnvironmentsRequest, + options?: RequestOptions, +): APIPromise< + Result< + components.EnvironmentEntryEntityPaginated, + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: FirehydrantCore, + request: operations.ListFunctionalityEnvironmentsRequest, + options?: RequestOptions, +): Promise< + [ + Result< + components.EnvironmentEntryEntityPaginated, + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => + operations.ListFunctionalityEnvironmentsRequest$outboundSchema.parse( + value, + ), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + functionality_id: encodeSimple( + "functionality_id", + payload.functionality_id, + { explode: false, charEncoding: "percent" }, + ), + }; + + const path = pathToFunc( + "/v1/functionalities/{functionality_id}/environments", + )(pathParams); + + const query = encodeFormQuery({ + "page": payload.page, + "per_page": payload.per_page, + }); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.apiKey); + const securityInput = secConfig == null ? {} : { apiKey: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "list_functionality_environments", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.apiKey, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const [result] = await M.match< + components.EnvironmentEntryEntityPaginated, + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.EnvironmentEntryEntityPaginated$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/catalogEntriesListServiceEnvironments.ts b/src/funcs/catalogEntriesListServiceEnvironments.ts new file mode 100644 index 00000000..89ffdbcf --- /dev/null +++ b/src/funcs/catalogEntriesListServiceEnvironments.ts @@ -0,0 +1,174 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { FirehydrantCore } from "../core.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { FirehydrantError } from "../models/errors/firehydranterror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * List environments for a service + * + * @remarks + * List environments for a service + */ +export function catalogEntriesListServiceEnvironments( + client: FirehydrantCore, + request: operations.ListServiceEnvironmentsRequest, + options?: RequestOptions, +): APIPromise< + Result< + components.EnvironmentEntryEntityPaginated, + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: FirehydrantCore, + request: operations.ListServiceEnvironmentsRequest, + options?: RequestOptions, +): Promise< + [ + Result< + components.EnvironmentEntryEntityPaginated, + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => + operations.ListServiceEnvironmentsRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + service_id: encodeSimple("service_id", payload.service_id, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/services/{service_id}/environments")(pathParams); + + const query = encodeFormQuery({ + "page": payload.page, + "per_page": payload.per_page, + }); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.apiKey); + const securityInput = secConfig == null ? {} : { apiKey: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "list_service_environments", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.apiKey, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const [result] = await M.match< + components.EnvironmentEntryEntityPaginated, + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.EnvironmentEntryEntityPaginated$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/incidentsListIncidents.ts b/src/funcs/incidentsListIncidents.ts index 785429a4..60fffaac 100644 --- a/src/funcs/incidentsListIncidents.ts +++ b/src/funcs/incidentsListIncidents.ts @@ -3,7 +3,7 @@ */ import { FirehydrantCore } from "../core.js"; -import { encodeFormQuery } from "../lib/encodings.js"; +import { encodeFormQuery, queryJoin } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; @@ -88,42 +88,48 @@ async function $do( const path = pathToFunc("/v1/incidents")(); - const query = encodeFormQuery({ - "archived": payload.archived, - "assigned_teams": payload.assigned_teams, - "attached_runbooks": payload.attached_runbooks, - "closed_at_or_after": payload.closed_at_or_after, - "closed_at_or_before": payload.closed_at_or_before, - "conditions": payload.conditions, - "created_at_or_after": payload.created_at_or_after, - "created_at_or_before": payload.created_at_or_before, - "current_milestones": payload.current_milestones, - "end_date": payload.end_date, - "environments": payload.environments, - "excluded_infrastructure_ids": payload.excluded_infrastructure_ids, - "functionalities": payload.functionalities, - "incident_type_id": payload.incident_type_id, - "name": payload.name, - "page": payload.page, - "per_page": payload.per_page, - "priorities": payload.priorities, - "priority_not_set": payload.priority_not_set, - "query": payload.query, - "resolved_at_or_after": payload.resolved_at_or_after, - "resolved_at_or_before": payload.resolved_at_or_before, - "retrospective_templates": payload.retrospective_templates, - "saved_search_id": payload.saved_search_id, - "services": payload.services, - "severities": payload.severities, - "severity_not_set": payload.severity_not_set, - "start_date": payload.start_date, - "status": payload.status, - "tag_match_strategy": payload.tag_match_strategy, - "tags": payload.tags, - "teams": payload.teams, - "updated_after": payload.updated_after, - "updated_before": payload.updated_before, - }); + const query = queryJoin( + encodeFormQuery({ + "custom_fields[field_id]": payload["custom_fields[field_id]"], + "custom_fields[value]": payload["custom_fields[value]"], + }, { explode: false }), + encodeFormQuery({ + "archived": payload.archived, + "assigned_teams": payload.assigned_teams, + "attached_runbooks": payload.attached_runbooks, + "closed_at_or_after": payload.closed_at_or_after, + "closed_at_or_before": payload.closed_at_or_before, + "conditions": payload.conditions, + "created_at_or_after": payload.created_at_or_after, + "created_at_or_before": payload.created_at_or_before, + "current_milestones": payload.current_milestones, + "end_date": payload.end_date, + "environments": payload.environments, + "excluded_infrastructure_ids": payload.excluded_infrastructure_ids, + "functionalities": payload.functionalities, + "incident_type_id": payload.incident_type_id, + "name": payload.name, + "page": payload.page, + "per_page": payload.per_page, + "priorities": payload.priorities, + "priority_not_set": payload.priority_not_set, + "query": payload.query, + "resolved_at_or_after": payload.resolved_at_or_after, + "resolved_at_or_before": payload.resolved_at_or_before, + "retrospective_templates": payload.retrospective_templates, + "saved_search_id": payload.saved_search_id, + "services": payload.services, + "severities": payload.severities, + "severity_not_set": payload.severity_not_set, + "start_date": payload.start_date, + "status": payload.status, + "tag_match_strategy": payload.tag_match_strategy, + "tags": payload.tags, + "teams": payload.teams, + "updated_after": payload.updated_after, + "updated_before": payload.updated_before, + }), + ); const headers = new Headers(compactMap({ Accept: "application/json", diff --git a/src/funcs/integrationsSearchConfluenceSpaces.ts b/src/funcs/integrationsSearchConfluenceSpaces.ts index c145f98b..4e943f15 100644 --- a/src/funcs/integrationsSearchConfluenceSpaces.ts +++ b/src/funcs/integrationsSearchConfluenceSpaces.ts @@ -100,6 +100,9 @@ async function $do( const query = encodeFormQuery({ "keyword": payload.keyword, + "page": payload.page, + "per_page": payload.per_page, + "query": payload.query, }); const headers = new Headers(compactMap({ diff --git a/src/funcs/metricsReportingExportSignalsShiftAnalytics.ts b/src/funcs/metricsReportingExportSignalsShiftAnalytics.ts new file mode 100644 index 00000000..1889147a --- /dev/null +++ b/src/funcs/metricsReportingExportSignalsShiftAnalytics.ts @@ -0,0 +1,173 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { FirehydrantCore } from "../core.js"; +import { encodeFormQuery, queryJoin } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import { FirehydrantError } from "../models/errors/firehydranterror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Export on-call hours report + * + * @remarks + * Export on-call hours report for users/teams during a time period + */ +export function metricsReportingExportSignalsShiftAnalytics( + client: FirehydrantCore, + request: operations.ExportSignalsShiftAnalyticsRequest, + options?: RequestOptions, +): APIPromise< + Result< + void, + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: FirehydrantCore, + request: operations.ExportSignalsShiftAnalyticsRequest, + options?: RequestOptions, +): Promise< + [ + Result< + void, + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => + operations.ExportSignalsShiftAnalyticsRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const path = pathToFunc("/v1/signals/analytics/shifts/export")(); + + const query = queryJoin( + encodeFormQuery({ + "team_ids": payload.team_ids, + "user_ids": payload.user_ids, + }, { explode: false }), + encodeFormQuery({ + "period_end": payload.period_end, + "period_start": payload.period_start, + }), + ); + + const headers = new Headers(compactMap({ + Accept: "*/*", + })); + + const secConfig = await extractSecurity(client._options.apiKey); + const securityInput = secConfig == null ? {} : { apiKey: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "export_signals_shift_analytics", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.apiKey, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const [result] = await M.match< + void, + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.nil(200, z.void()), + M.fail("4XX"), + M.fail("5XX"), + )(response, req); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/runbooksListRunbooks.ts b/src/funcs/runbooksListRunbooks.ts index 256c3a89..a98ea11c 100644 --- a/src/funcs/runbooksListRunbooks.ts +++ b/src/funcs/runbooksListRunbooks.ts @@ -37,7 +37,7 @@ export function runbooksListRunbooks( options?: RequestOptions, ): APIPromise< Result< - components.RunbookEntity, + components.SlimRunbookEntityPaginated, | FirehydrantError | ResponseValidationError | ConnectionError @@ -62,7 +62,7 @@ async function $do( ): Promise< [ Result< - components.RunbookEntity, + components.SlimRunbookEntityPaginated, | FirehydrantError | ResponseValidationError | ConnectionError @@ -149,7 +149,7 @@ async function $do( const response = doResult.value; const [result] = await M.match< - components.RunbookEntity, + components.SlimRunbookEntityPaginated, | FirehydrantError | ResponseValidationError | ConnectionError @@ -159,7 +159,7 @@ async function $do( | UnexpectedClientError | SDKValidationError >( - M.json(200, components.RunbookEntity$inboundSchema), + M.json(200, components.SlimRunbookEntityPaginated$inboundSchema), M.fail("4XX"), M.fail("5XX"), )(response, req); diff --git a/src/funcs/signalsCreateSignalsHeartbeatEndpointConfiguration.ts b/src/funcs/signalsCreateSignalsHeartbeatEndpointConfiguration.ts new file mode 100644 index 00000000..7371f9e2 --- /dev/null +++ b/src/funcs/signalsCreateSignalsHeartbeatEndpointConfiguration.ts @@ -0,0 +1,163 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { FirehydrantCore } from "../core.js"; +import { encodeJSON } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { FirehydrantError } from "../models/errors/firehydranterror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Create a heartbeat endpoint configuration + * + * @remarks + * Create a new heartbeat endpoint configuration for your organization + */ +export function signalsCreateSignalsHeartbeatEndpointConfiguration( + client: FirehydrantCore, + request: components.CreateSignalsHeartbeatEndpointConfiguration, + options?: RequestOptions, +): APIPromise< + Result< + void, + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: FirehydrantCore, + request: components.CreateSignalsHeartbeatEndpointConfiguration, + options?: RequestOptions, +): Promise< + [ + Result< + void, + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => + components.CreateSignalsHeartbeatEndpointConfiguration$outboundSchema + .parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload, { explode: true }); + + const path = pathToFunc("/v1/signals/heartbeat_endpoints")(); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "*/*", + })); + + const secConfig = await extractSecurity(client._options.apiKey); + const securityInput = secConfig == null ? {} : { apiKey: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "create_signals_heartbeat_endpoint_configuration", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.apiKey, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "POST", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const [result] = await M.match< + void, + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.nil(201, z.void()), + M.fail("4XX"), + M.fail("5XX"), + )(response, req); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/signalsCreateTeamSignalRule.ts b/src/funcs/signalsCreateTeamSignalRule.ts index 6f451fb1..adb57222 100644 --- a/src/funcs/signalsCreateTeamSignalRule.ts +++ b/src/funcs/signalsCreateTeamSignalRule.ts @@ -29,7 +29,7 @@ import { Result } from "../types/fp.js"; * Create a Signals rule * * @remarks - * Create a Signals rule for a team. + * Create a Signals rule for a team. We support up to 2000 rules per organization. */ export function signalsCreateTeamSignalRule( client: FirehydrantCore, diff --git a/src/funcs/signalsDeleteSignalsHeartbeatEndpointConfiguration.ts b/src/funcs/signalsDeleteSignalsHeartbeatEndpointConfiguration.ts new file mode 100644 index 00000000..6ecd99ad --- /dev/null +++ b/src/funcs/signalsDeleteSignalsHeartbeatEndpointConfiguration.ts @@ -0,0 +1,170 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { FirehydrantCore } from "../core.js"; +import { encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import { FirehydrantError } from "../models/errors/firehydranterror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Delete a heartbeat endpoint configuration + * + * @remarks + * Delete a heartbeat endpoint configuration + */ +export function signalsDeleteSignalsHeartbeatEndpointConfiguration( + client: FirehydrantCore, + request: operations.DeleteSignalsHeartbeatEndpointConfigurationRequest, + options?: RequestOptions, +): APIPromise< + Result< + void, + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: FirehydrantCore, + request: operations.DeleteSignalsHeartbeatEndpointConfigurationRequest, + options?: RequestOptions, +): Promise< + [ + Result< + void, + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => + operations + .DeleteSignalsHeartbeatEndpointConfigurationRequest$outboundSchema + .parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + id: encodeSimple("id", payload.id, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/signals/heartbeat_endpoints/{id}")(pathParams); + + const headers = new Headers(compactMap({ + Accept: "*/*", + })); + + const secConfig = await extractSecurity(client._options.apiKey); + const securityInput = secConfig == null ? {} : { apiKey: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "delete_signals_heartbeat_endpoint_configuration", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.apiKey, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "DELETE", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const [result] = await M.match< + void, + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.nil(204, z.void()), + M.fail("4XX"), + M.fail("5XX"), + )(response, req); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/retrospectivesGetRetrospectiveReportTemplate.ts b/src/funcs/signalsGetSignalsHeartbeatEndpointConfiguration.ts similarity index 82% rename from src/funcs/retrospectivesGetRetrospectiveReportTemplate.ts rename to src/funcs/signalsGetSignalsHeartbeatEndpointConfiguration.ts index 50d93176..b490560d 100644 --- a/src/funcs/retrospectivesGetRetrospectiveReportTemplate.ts +++ b/src/funcs/signalsGetSignalsHeartbeatEndpointConfiguration.ts @@ -2,6 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ +import * as z from "zod/v3"; import { FirehydrantCore } from "../core.js"; import { encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -10,7 +11,6 @@ import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; -import * as components from "../models/components/index.js"; import { FirehydrantError } from "../models/errors/firehydranterror.js"; import { ConnectionError, @@ -26,18 +26,18 @@ import { APICall, APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** - * Get a retrospective report template + * Get a heartbeat endpoint configuration * * @remarks - * Retrieve a single retrospective report template by ID + * Retrieve a single heartbeat endpoint configuration */ -export function retrospectivesGetRetrospectiveReportTemplate( +export function signalsGetSignalsHeartbeatEndpointConfiguration( client: FirehydrantCore, - request: operations.GetRetrospectiveReportTemplateRequest, + request: operations.GetSignalsHeartbeatEndpointConfigurationRequest, options?: RequestOptions, ): APIPromise< Result< - components.RetrospectivesReportTemplateEntity, + void, | FirehydrantError | ResponseValidationError | ConnectionError @@ -57,12 +57,12 @@ export function retrospectivesGetRetrospectiveReportTemplate( async function $do( client: FirehydrantCore, - request: operations.GetRetrospectiveReportTemplateRequest, + request: operations.GetSignalsHeartbeatEndpointConfigurationRequest, options?: RequestOptions, ): Promise< [ Result< - components.RetrospectivesReportTemplateEntity, + void, | FirehydrantError | ResponseValidationError | ConnectionError @@ -78,9 +78,8 @@ async function $do( const parsed = safeParse( request, (value) => - operations.GetRetrospectiveReportTemplateRequest$outboundSchema.parse( - value, - ), + operations.GetSignalsHeartbeatEndpointConfigurationRequest$outboundSchema + .parse(value), "Input validation failed", ); if (!parsed.ok) { @@ -96,12 +95,10 @@ async function $do( }), }; - const path = pathToFunc("/v1/retrospective_report_templates/{id}")( - pathParams, - ); + const path = pathToFunc("/v1/signals/heartbeat_endpoints/{id}")(pathParams); const headers = new Headers(compactMap({ - Accept: "application/json", + Accept: "*/*", })); const secConfig = await extractSecurity(client._options.apiKey); @@ -111,7 +108,7 @@ async function $do( const context = { options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", - operationID: "get_retrospective_report_template", + operationID: "get_signals_heartbeat_endpoint_configuration", oAuth2Scopes: null, resolvedSecurity: requestSecurity, @@ -150,7 +147,7 @@ async function $do( const response = doResult.value; const [result] = await M.match< - components.RetrospectivesReportTemplateEntity, + void, | FirehydrantError | ResponseValidationError | ConnectionError @@ -160,7 +157,7 @@ async function $do( | UnexpectedClientError | SDKValidationError >( - M.json(200, components.RetrospectivesReportTemplateEntity$inboundSchema), + M.nil(200, z.void()), M.fail("4XX"), M.fail("5XX"), )(response, req); diff --git a/src/funcs/signalsListSignalsAlertGroupingConfigurations.ts b/src/funcs/signalsListSignalsAlertGroupingConfigurations.ts index ba4d2cde..43a8fd98 100644 --- a/src/funcs/signalsListSignalsAlertGroupingConfigurations.ts +++ b/src/funcs/signalsListSignalsAlertGroupingConfigurations.ts @@ -3,8 +3,10 @@ */ import { FirehydrantCore } from "../core.js"; +import { encodeFormQuery } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; @@ -19,6 +21,7 @@ import { } from "../models/errors/httpclienterrors.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; import { APICall, APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; @@ -30,6 +33,7 @@ import { Result } from "../types/fp.js"; */ export function signalsListSignalsAlertGroupingConfigurations( client: FirehydrantCore, + request: operations.ListSignalsAlertGroupingConfigurationsRequest, options?: RequestOptions, ): APIPromise< Result< @@ -46,12 +50,14 @@ export function signalsListSignalsAlertGroupingConfigurations( > { return new APIPromise($do( client, + request, options, )); } async function $do( client: FirehydrantCore, + request: operations.ListSignalsAlertGroupingConfigurationsRequest, options?: RequestOptions, ): Promise< [ @@ -69,8 +75,26 @@ async function $do( APICall, ] > { + const parsed = safeParse( + request, + (value) => + operations.ListSignalsAlertGroupingConfigurationsRequest$outboundSchema + .parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + const path = pathToFunc("/v1/signals/grouping")(); + const query = encodeFormQuery({ + "page": payload.page, + "per_page": payload.per_page, + }); + const headers = new Headers(compactMap({ Accept: "application/json", })); @@ -100,6 +124,8 @@ async function $do( baseURL: options?.serverURL, path: path, headers: headers, + query: query, + body: body, userAgent: client._options.userAgent, timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, }, options); diff --git a/src/funcs/signalsListSignalsHeartbeatEndpointConfigurations.ts b/src/funcs/signalsListSignalsHeartbeatEndpointConfigurations.ts new file mode 100644 index 00000000..e8eac861 --- /dev/null +++ b/src/funcs/signalsListSignalsHeartbeatEndpointConfigurations.ts @@ -0,0 +1,142 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { FirehydrantCore } from "../core.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import { FirehydrantError } from "../models/errors/firehydranterror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * List heartbeat endpoint configurations + * + * @remarks + * Retrieve all heartbeat endpoint configurations for your organization + */ +export function signalsListSignalsHeartbeatEndpointConfigurations( + client: FirehydrantCore, + options?: RequestOptions, +): APIPromise< + Result< + void, + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + options, + )); +} + +async function $do( + client: FirehydrantCore, + options?: RequestOptions, +): Promise< + [ + Result< + void, + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const path = pathToFunc("/v1/signals/heartbeat_endpoints")(); + + const headers = new Headers(compactMap({ + Accept: "*/*", + })); + + const secConfig = await extractSecurity(client._options.apiKey); + const securityInput = secConfig == null ? {} : { apiKey: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "list_signals_heartbeat_endpoint_configurations", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.apiKey, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const [result] = await M.match< + void, + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.nil(200, z.void()), + M.fail("4XX"), + M.fail("5XX"), + )(response, req); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/signalsListUserNotificationSettingsByUserId.ts b/src/funcs/signalsListUserNotificationSettingsByUserId.ts new file mode 100644 index 00000000..3ad8c9e9 --- /dev/null +++ b/src/funcs/signalsListUserNotificationSettingsByUserId.ts @@ -0,0 +1,190 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { FirehydrantCore } from "../core.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { FirehydrantError } from "../models/errors/firehydranterror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * List notification settings for a user + * + * @remarks + * List all Signals notification settings for a specific user. Requires an API key with PII access enabled. + */ +export function signalsListUserNotificationSettingsByUserId( + client: FirehydrantCore, + request: operations.ListUserNotificationSettingsByUserIdRequest, + options?: RequestOptions, +): APIPromise< + Result< + components.SignalsAPIUserNotificationSettingEntityPaginated, + | errors.ErrorEntity + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: FirehydrantCore, + request: operations.ListUserNotificationSettingsByUserIdRequest, + options?: RequestOptions, +): Promise< + [ + Result< + components.SignalsAPIUserNotificationSettingEntityPaginated, + | errors.ErrorEntity + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => + operations.ListUserNotificationSettingsByUserIdRequest$outboundSchema + .parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + user_id: encodeSimple("user_id", payload.user_id, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/signals/users/{user_id}/notification_settings")( + pathParams, + ); + + const query = encodeFormQuery({ + "notification_priority": payload.notification_priority, + "page": payload.page, + "per_page": payload.per_page, + }); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.apiKey); + const securityInput = secConfig == null ? {} : { apiKey: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "list_user_notification_settings_by_user_id", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.apiKey, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["403", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + components.SignalsAPIUserNotificationSettingEntityPaginated, + | errors.ErrorEntity + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json( + 200, + components.SignalsAPIUserNotificationSettingEntityPaginated$inboundSchema, + ), + M.jsonErr(403, errors.ErrorEntity$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/signalsUpdateSignalsHeartbeatEndpointConfiguration.ts b/src/funcs/signalsUpdateSignalsHeartbeatEndpointConfiguration.ts new file mode 100644 index 00000000..224502af --- /dev/null +++ b/src/funcs/signalsUpdateSignalsHeartbeatEndpointConfiguration.ts @@ -0,0 +1,175 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { FirehydrantCore } from "../core.js"; +import { encodeJSON, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import { FirehydrantError } from "../models/errors/firehydranterror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Update a heartbeat endpoint configuration + * + * @remarks + * Update an existing heartbeat endpoint configuration + */ +export function signalsUpdateSignalsHeartbeatEndpointConfiguration( + client: FirehydrantCore, + request: operations.UpdateSignalsHeartbeatEndpointConfigurationRequest, + options?: RequestOptions, +): APIPromise< + Result< + void, + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: FirehydrantCore, + request: operations.UpdateSignalsHeartbeatEndpointConfigurationRequest, + options?: RequestOptions, +): Promise< + [ + Result< + void, + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => + operations + .UpdateSignalsHeartbeatEndpointConfigurationRequest$outboundSchema + .parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON( + "body", + payload.update_signals_heartbeat_endpoint_configuration, + { explode: true }, + ); + + const pathParams = { + id: encodeSimple("id", payload.id, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/signals/heartbeat_endpoints/{id}")(pathParams); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "*/*", + })); + + const secConfig = await extractSecurity(client._options.apiKey); + const securityInput = secConfig == null ? {} : { apiKey: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "update_signals_heartbeat_endpoint_configuration", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.apiKey, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "PATCH", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const [result] = await M.match< + void, + | FirehydrantError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.nil(200, z.void()), + M.fail("4XX"), + M.fail("5XX"), + )(response, req); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/webhooksListWebhookDeliveries.ts b/src/funcs/webhooksListWebhookDeliveries.ts index 22e83c78..e1ccb7ba 100644 --- a/src/funcs/webhooksListWebhookDeliveries.ts +++ b/src/funcs/webhooksListWebhookDeliveries.ts @@ -2,15 +2,15 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod/v3"; import { FirehydrantCore } from "../core.js"; -import { encodeSimple } from "../lib/encodings.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; import { FirehydrantError } from "../models/errors/firehydranterror.js"; import { ConnectionError, @@ -37,7 +37,7 @@ export function webhooksListWebhookDeliveries( options?: RequestOptions, ): APIPromise< Result< - void, + components.WebhooksEntitiesDeliveryEntityPaginated, | FirehydrantError | ResponseValidationError | ConnectionError @@ -62,7 +62,7 @@ async function $do( ): Promise< [ Result< - void, + components.WebhooksEntitiesDeliveryEntityPaginated, | FirehydrantError | ResponseValidationError | ConnectionError @@ -96,8 +96,13 @@ async function $do( const path = pathToFunc("/v1/webhooks/{webhook_id}/deliveries")(pathParams); + const query = encodeFormQuery({ + "page": payload.page, + "per_page": payload.per_page, + }); + const headers = new Headers(compactMap({ - Accept: "*/*", + Accept: "application/json", })); const secConfig = await extractSecurity(client._options.apiKey); @@ -125,6 +130,7 @@ async function $do( baseURL: options?.serverURL, path: path, headers: headers, + query: query, body: body, userAgent: client._options.userAgent, timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, @@ -146,7 +152,7 @@ async function $do( const response = doResult.value; const [result] = await M.match< - void, + components.WebhooksEntitiesDeliveryEntityPaginated, | FirehydrantError | ResponseValidationError | ConnectionError @@ -156,7 +162,10 @@ async function $do( | UnexpectedClientError | SDKValidationError >( - M.nil(200, z.void()), + M.json( + 200, + components.WebhooksEntitiesDeliveryEntityPaginated$inboundSchema, + ), M.fail("4XX"), M.fail("5XX"), )(response, req); diff --git a/src/funcs/webhooksListWebhooks.ts b/src/funcs/webhooksListWebhooks.ts index fbe173f1..ad9b2873 100644 --- a/src/funcs/webhooksListWebhooks.ts +++ b/src/funcs/webhooksListWebhooks.ts @@ -37,7 +37,7 @@ export function webhooksListWebhooks( options?: RequestOptions, ): APIPromise< Result< - components.WebhooksEntitiesWebhookEntity, + components.WebhooksEntitiesWebhookEntityPaginated, | FirehydrantError | ResponseValidationError | ConnectionError @@ -62,7 +62,7 @@ async function $do( ): Promise< [ Result< - components.WebhooksEntitiesWebhookEntity, + components.WebhooksEntitiesWebhookEntityPaginated, | FirehydrantError | ResponseValidationError | ConnectionError @@ -144,7 +144,7 @@ async function $do( const response = doResult.value; const [result] = await M.match< - components.WebhooksEntitiesWebhookEntity, + components.WebhooksEntitiesWebhookEntityPaginated, | FirehydrantError | ResponseValidationError | ConnectionError @@ -154,7 +154,10 @@ async function $do( | UnexpectedClientError | SDKValidationError >( - M.json(200, components.WebhooksEntitiesWebhookEntity$inboundSchema), + M.json( + 200, + components.WebhooksEntitiesWebhookEntityPaginated$inboundSchema, + ), M.fail("4XX"), M.fail("5XX"), )(response, req); diff --git a/src/lib/config.ts b/src/lib/config.ts index 15afaf54..8bc4d9a3 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -58,8 +58,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "0.0.1", - sdkVersion: "1.2.1", - genVersion: "2.788.4", + sdkVersion: "1.3.0", + genVersion: "2.824.1", userAgent: - "speakeasy-sdk/typescript 1.2.1 2.788.4 0.0.1 firehydrant-typescript-sdk", + "speakeasy-sdk/typescript 1.3.0 2.824.1 0.0.1 firehydrant-typescript-sdk", } as const; diff --git a/src/lib/sdks.ts b/src/lib/sdks.ts index 3e4562e7..801ec54d 100644 --- a/src/lib/sdks.ts +++ b/src/lib/sdks.ts @@ -308,9 +308,9 @@ export class ClientSDK { } } -const jsonLikeContentTypeRE = /(application|text)\/.*?\+*json.*/; +const jsonLikeContentTypeRE = /^(application|text)\/([^+]+\+)*json.*/; const jsonlLikeContentTypeRE = - /(application|text)\/(.*?\+*\bjsonl\b.*|.*?\+*\bx-ndjson\b.*)/; + /^(application|text)\/([^+]+\+)*(jsonl|x-ndjson)\b.*/; async function logRequest(logger: Logger | undefined, req: Request) { if (!logger) { return; diff --git a/src/mcp-server/mcp-server.ts b/src/mcp-server/mcp-server.ts index f64973ea..41e0c36a 100644 --- a/src/mcp-server/mcp-server.ts +++ b/src/mcp-server/mcp-server.ts @@ -19,7 +19,7 @@ const routes = buildRouteMap({ export const app = buildApplication(routes, { name: "mcp", versionInfo: { - currentVersion: "1.2.1", + currentVersion: "1.3.0", }, }); diff --git a/src/mcp-server/prompts.ts b/src/mcp-server/prompts.ts index 4f19c23a..af39cd60 100644 --- a/src/mcp-server/prompts.ts +++ b/src/mcp-server/prompts.ts @@ -4,7 +4,11 @@ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { RequestHandlerExtra } from "@modelcontextprotocol/sdk/shared/protocol.js"; -import { GetPromptResult } from "@modelcontextprotocol/sdk/types.js"; +import { + GetPromptResult, + ServerNotification, + ServerRequest, +} from "@modelcontextprotocol/sdk/types.js"; import { objectOutputType, ZodOptional, @@ -33,7 +37,7 @@ export type PromptDefinition< prompt: ( client: FirehydrantCore, args: objectOutputType, - extra: RequestHandlerExtra, + extra: RequestHandlerExtra, ) => GetPromptResult | Promise; } : { @@ -43,7 +47,7 @@ export type PromptDefinition< args?: undefined; prompt: ( client: FirehydrantCore, - extra: RequestHandlerExtra, + extra: RequestHandlerExtra, ) => GetPromptResult | Promise; }; diff --git a/src/mcp-server/resources.ts b/src/mcp-server/resources.ts index cbdf6b7e..ce0980f1 100644 --- a/src/mcp-server/resources.ts +++ b/src/mcp-server/resources.ts @@ -9,7 +9,11 @@ import { } from "@modelcontextprotocol/sdk/server/mcp.js"; import { RequestHandlerExtra } from "@modelcontextprotocol/sdk/shared/protocol.js"; import { Variables } from "@modelcontextprotocol/sdk/shared/uriTemplate.js"; -import { ReadResourceResult } from "@modelcontextprotocol/sdk/types.js"; +import { + ReadResourceResult, + ServerNotification, + ServerRequest, +} from "@modelcontextprotocol/sdk/types.js"; import { FirehydrantCore } from "../core.js"; import { ConsoleLogger } from "./console-logger.js"; import { MCPScope } from "./scopes.js"; @@ -18,7 +22,7 @@ import { isAsyncIterable, isBinaryData, valueToBase64 } from "./shared.js"; export type ReadResourceCallback = ( client: FirehydrantCore, uri: URL, - extra: RequestHandlerExtra, + extra: RequestHandlerExtra, ) => ReadResourceResult | Promise; export type ResourceDefinition = { @@ -34,7 +38,7 @@ export type ReadResourceTemplateCallback = ( client: FirehydrantCore, uri: URL, vars: Variables, - extra: RequestHandlerExtra, + extra: RequestHandlerExtra, ) => ReadResourceResult | Promise; export type ResourceTemplateDefinition = { diff --git a/src/mcp-server/server.ts b/src/mcp-server/server.ts index 69426223..bb539bd2 100644 --- a/src/mcp-server/server.ts +++ b/src/mcp-server/server.ts @@ -63,12 +63,16 @@ import { tool$catalogEntriesGetService } from "./tools/catalogEntriesGetService. import { tool$catalogEntriesGetServiceDependencies } from "./tools/catalogEntriesGetServiceDependencies.js"; import { tool$catalogEntriesGetServiceDependency } from "./tools/catalogEntriesGetServiceDependency.js"; import { tool$catalogEntriesIngestCatalogData } from "./tools/catalogEntriesIngestCatalogData.js"; +import { tool$catalogEntriesListEnvironmentFunctionalities } from "./tools/catalogEntriesListEnvironmentFunctionalities.js"; import { tool$catalogEntriesListEnvironments } from "./tools/catalogEntriesListEnvironments.js"; +import { tool$catalogEntriesListEnvironmentServices } from "./tools/catalogEntriesListEnvironmentServices.js"; import { tool$catalogEntriesListFunctionalities } from "./tools/catalogEntriesListFunctionalities.js"; +import { tool$catalogEntriesListFunctionalityEnvironments } from "./tools/catalogEntriesListFunctionalityEnvironments.js"; import { tool$catalogEntriesListFunctionalityServices } from "./tools/catalogEntriesListFunctionalityServices.js"; import { tool$catalogEntriesListInfrastructures } from "./tools/catalogEntriesListInfrastructures.js"; import { tool$catalogEntriesListServiceAvailableDownstreamDependencies } from "./tools/catalogEntriesListServiceAvailableDownstreamDependencies.js"; import { tool$catalogEntriesListServiceAvailableUpstreamDependencies } from "./tools/catalogEntriesListServiceAvailableUpstreamDependencies.js"; +import { tool$catalogEntriesListServiceEnvironments } from "./tools/catalogEntriesListServiceEnvironments.js"; import { tool$catalogEntriesListServices } from "./tools/catalogEntriesListServices.js"; import { tool$catalogEntriesListUserOwnedServices } from "./tools/catalogEntriesListUserOwnedServices.js"; import { tool$catalogEntriesRefreshCatalog } from "./tools/catalogEntriesRefreshCatalog.js"; @@ -247,6 +251,7 @@ import { tool$integrationsUpdateSlackEmojiAction } from "./tools/integrationsUpd import { tool$integrationsUpdateStatuspageConnection } from "./tools/integrationsUpdateStatuspageConnection.js"; import { tool$metricsReportingCreateSavedSearch } from "./tools/metricsReportingCreateSavedSearch.js"; import { tool$metricsReportingDeleteSavedSearch } from "./tools/metricsReportingDeleteSavedSearch.js"; +import { tool$metricsReportingExportSignalsShiftAnalytics } from "./tools/metricsReportingExportSignalsShiftAnalytics.js"; import { tool$metricsReportingGetMeanTimeReport } from "./tools/metricsReportingGetMeanTimeReport.js"; import { tool$metricsReportingGetSavedSearch } from "./tools/metricsReportingGetSavedSearch.js"; import { tool$metricsReportingGetSignalsGroupedMetrics } from "./tools/metricsReportingGetSignalsGroupedMetrics.js"; @@ -277,7 +282,6 @@ import { tool$retrospectivesExportIncidentRetrospectives } from "./tools/retrosp import { tool$retrospectivesGetIncidentRetrospectiveField } from "./tools/retrospectivesGetIncidentRetrospectiveField.js"; import { tool$retrospectivesGetPostMortemQuestion } from "./tools/retrospectivesGetPostMortemQuestion.js"; import { tool$retrospectivesGetPostMortemReport } from "./tools/retrospectivesGetPostMortemReport.js"; -import { tool$retrospectivesGetRetrospectiveReportTemplate } from "./tools/retrospectivesGetRetrospectiveReportTemplate.js"; import { tool$retrospectivesGetRetrospectiveTemplate } from "./tools/retrospectivesGetRetrospectiveTemplate.js"; import { tool$retrospectivesListIncidentRetrospectives } from "./tools/retrospectivesListIncidentRetrospectives.js"; import { tool$retrospectivesListPostMortemQuestions } from "./tools/retrospectivesListPostMortemQuestions.js"; @@ -334,6 +338,7 @@ import { tool$signalsCreateOnCallShift } from "./tools/signalsCreateOnCallShift. import { tool$signalsCreateSignalsAlertGroupingConfiguration } from "./tools/signalsCreateSignalsAlertGroupingConfiguration.js"; import { tool$signalsCreateSignalsEmailTarget } from "./tools/signalsCreateSignalsEmailTarget.js"; import { tool$signalsCreateSignalsEventSource } from "./tools/signalsCreateSignalsEventSource.js"; +import { tool$signalsCreateSignalsHeartbeatEndpointConfiguration } from "./tools/signalsCreateSignalsHeartbeatEndpointConfiguration.js"; import { tool$signalsCreateSignalsWebhookTarget } from "./tools/signalsCreateSignalsWebhookTarget.js"; import { tool$signalsCreateTeamEscalationPolicy } from "./tools/signalsCreateTeamEscalationPolicy.js"; import { tool$signalsCreateTeamOnCallSchedule } from "./tools/signalsCreateTeamOnCallSchedule.js"; @@ -345,6 +350,7 @@ import { tool$signalsDeleteOnCallShift } from "./tools/signalsDeleteOnCallShift. import { tool$signalsDeleteSignalsAlertGroupingConfiguration } from "./tools/signalsDeleteSignalsAlertGroupingConfiguration.js"; import { tool$signalsDeleteSignalsEmailTarget } from "./tools/signalsDeleteSignalsEmailTarget.js"; import { tool$signalsDeleteSignalsEventSource } from "./tools/signalsDeleteSignalsEventSource.js"; +import { tool$signalsDeleteSignalsHeartbeatEndpointConfiguration } from "./tools/signalsDeleteSignalsHeartbeatEndpointConfiguration.js"; import { tool$signalsDeleteSignalsWebhookTarget } from "./tools/signalsDeleteSignalsWebhookTarget.js"; import { tool$signalsDeleteTeamEscalationPolicy } from "./tools/signalsDeleteTeamEscalationPolicy.js"; import { tool$signalsDeleteTeamOnCallSchedule } from "./tools/signalsDeleteTeamOnCallSchedule.js"; @@ -356,6 +362,7 @@ import { tool$signalsGetSignalsAlertGroupingConfiguration } from "./tools/signal import { tool$signalsGetSignalsEmailTarget } from "./tools/signalsGetSignalsEmailTarget.js"; import { tool$signalsGetSignalsEventSource } from "./tools/signalsGetSignalsEventSource.js"; import { tool$signalsGetSignalsHackerMode } from "./tools/signalsGetSignalsHackerMode.js"; +import { tool$signalsGetSignalsHeartbeatEndpointConfiguration } from "./tools/signalsGetSignalsHeartbeatEndpointConfiguration.js"; import { tool$signalsGetSignalsIngestUrl } from "./tools/signalsGetSignalsIngestUrl.js"; import { tool$signalsGetSignalsWebhookTarget } from "./tools/signalsGetSignalsWebhookTarget.js"; import { tool$signalsGetTeamEscalationPolicy } from "./tools/signalsGetTeamEscalationPolicy.js"; @@ -366,11 +373,13 @@ import { tool$signalsListOrganizationOnCallSchedules } from "./tools/signalsList import { tool$signalsListSignalsAlertGroupingConfigurations } from "./tools/signalsListSignalsAlertGroupingConfigurations.js"; import { tool$signalsListSignalsEmailTargets } from "./tools/signalsListSignalsEmailTargets.js"; import { tool$signalsListSignalsEventSources } from "./tools/signalsListSignalsEventSources.js"; +import { tool$signalsListSignalsHeartbeatEndpointConfigurations } from "./tools/signalsListSignalsHeartbeatEndpointConfigurations.js"; import { tool$signalsListSignalsTransposers } from "./tools/signalsListSignalsTransposers.js"; import { tool$signalsListSignalsWebhookTargets } from "./tools/signalsListSignalsWebhookTargets.js"; import { tool$signalsListTeamEscalationPolicies } from "./tools/signalsListTeamEscalationPolicies.js"; import { tool$signalsListTeamOnCallSchedules } from "./tools/signalsListTeamOnCallSchedules.js"; import { tool$signalsListTeamSignalRules } from "./tools/signalsListTeamSignalRules.js"; +import { tool$signalsListUserNotificationSettingsByUserId } from "./tools/signalsListUserNotificationSettingsByUserId.js"; import { tool$signalsOverrideOnCallScheduleRotationShifts } from "./tools/signalsOverrideOnCallScheduleRotationShifts.js"; import { tool$signalsPreviewOnCallScheduleRotation } from "./tools/signalsPreviewOnCallScheduleRotation.js"; import { tool$signalsPreviewTeamOnCallSchedule } from "./tools/signalsPreviewTeamOnCallSchedule.js"; @@ -379,6 +388,7 @@ import { tool$signalsUpdateOnCallScheduleRotation } from "./tools/signalsUpdateO import { tool$signalsUpdateOnCallShift } from "./tools/signalsUpdateOnCallShift.js"; import { tool$signalsUpdateSignalsAlertGroupingConfiguration } from "./tools/signalsUpdateSignalsAlertGroupingConfiguration.js"; import { tool$signalsUpdateSignalsEmailTarget } from "./tools/signalsUpdateSignalsEmailTarget.js"; +import { tool$signalsUpdateSignalsHeartbeatEndpointConfiguration } from "./tools/signalsUpdateSignalsHeartbeatEndpointConfiguration.js"; import { tool$signalsUpdateSignalsWebhookTarget } from "./tools/signalsUpdateSignalsWebhookTarget.js"; import { tool$signalsUpdateTeamEscalationPolicy } from "./tools/signalsUpdateTeamEscalationPolicy.js"; import { tool$signalsUpdateTeamOnCallSchedule } from "./tools/signalsUpdateTeamOnCallSchedule.js"; @@ -482,7 +492,7 @@ export function createMCPServer(deps: { }) { const server = new McpServer({ name: "Firehydrant", - version: "1.2.1", + version: "1.3.0", }); const client = new FirehydrantCore({ @@ -523,12 +533,15 @@ export function createMCPServer(deps: { tool(tool$catalogEntriesGetEnvironment); tool(tool$catalogEntriesDeleteEnvironment); tool(tool$catalogEntriesUpdateEnvironment); + tool(tool$catalogEntriesListEnvironmentServices); + tool(tool$catalogEntriesListEnvironmentFunctionalities); tool(tool$catalogEntriesListServices); tool(tool$catalogEntriesCreateService); tool(tool$catalogEntriesCreateServiceLinks); tool(tool$catalogEntriesGetService); tool(tool$catalogEntriesDeleteService); tool(tool$catalogEntriesUpdateService); + tool(tool$catalogEntriesListServiceEnvironments); tool(tool$catalogEntriesGetServiceDependencies); tool(tool$catalogEntriesListServiceAvailableUpstreamDependencies); tool(tool$catalogEntriesListServiceAvailableDownstreamDependencies); @@ -543,6 +556,7 @@ export function createMCPServer(deps: { tool(tool$catalogEntriesGetFunctionality); tool(tool$catalogEntriesDeleteFunctionality); tool(tool$catalogEntriesUpdateFunctionality); + tool(tool$catalogEntriesListFunctionalityEnvironments); tool(tool$catalogEntriesListFunctionalityServices); tool(tool$catalogEntriesListUserOwnedServices); tool(tool$catalogEntriesListInfrastructures); @@ -607,11 +621,17 @@ export function createMCPServer(deps: { tool(tool$signalsGetSignalsWebhookTarget); tool(tool$signalsDeleteSignalsWebhookTarget); tool(tool$signalsUpdateSignalsWebhookTarget); + tool(tool$signalsListSignalsHeartbeatEndpointConfigurations); + tool(tool$signalsCreateSignalsHeartbeatEndpointConfiguration); + tool(tool$signalsGetSignalsHeartbeatEndpointConfiguration); + tool(tool$signalsDeleteSignalsHeartbeatEndpointConfiguration); + tool(tool$signalsUpdateSignalsHeartbeatEndpointConfiguration); tool(tool$signalsListNotificationPolicySettings); tool(tool$signalsCreateNotificationPolicy); tool(tool$signalsGetNotificationPolicy); tool(tool$signalsDeleteNotificationPolicy); tool(tool$signalsUpdateNotificationPolicy); + tool(tool$signalsListUserNotificationSettingsByUserId); tool(tool$signalsListSignalsTransposers); tool(tool$signalsGetSignalsIngestUrl); tool(tool$signalsDebugSignalsExpression); @@ -772,7 +792,6 @@ export function createMCPServer(deps: { tool(tool$retrospectivesGetRetrospectiveTemplate); tool(tool$retrospectivesDeleteRetrospectiveTemplate); tool(tool$retrospectivesUpdateRetrospectiveTemplate); - tool(tool$retrospectivesGetRetrospectiveReportTemplate); tool(tool$incidentSettingsListIncidentRoles); tool(tool$incidentSettingsCreateIncidentRole); tool(tool$incidentSettingsGetIncidentRole); @@ -878,6 +897,7 @@ export function createMCPServer(deps: { tool(tool$metricsReportingGetSignalsGroupedMetrics); tool(tool$metricsReportingGetSignalsMttxAnalytics); tool(tool$metricsReportingGetSignalsNoiseAnalytics); + tool(tool$metricsReportingExportSignalsShiftAnalytics); tool(tool$rolesListRoles); tool(tool$rolesCreateRole); tool(tool$rolesGetRole); diff --git a/src/mcp-server/tools.ts b/src/mcp-server/tools.ts index c7d93c0c..5204fef7 100644 --- a/src/mcp-server/tools.ts +++ b/src/mcp-server/tools.ts @@ -4,7 +4,11 @@ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { RequestHandlerExtra } from "@modelcontextprotocol/sdk/shared/protocol.js"; -import { CallToolResult } from "@modelcontextprotocol/sdk/types.js"; +import { + CallToolResult, + ServerNotification, + ServerRequest, +} from "@modelcontextprotocol/sdk/types.js"; import { objectOutputType, ZodRawShape, ZodTypeAny } from "zod/v3"; import { FirehydrantCore } from "../core.js"; import { ConsoleLogger } from "./console-logger.js"; @@ -20,7 +24,7 @@ export type ToolDefinition = tool: ( client: FirehydrantCore, args: objectOutputType, - extra: RequestHandlerExtra, + extra: RequestHandlerExtra, ) => CallToolResult | Promise; } : { @@ -30,7 +34,7 @@ export type ToolDefinition = args?: undefined; tool: ( client: FirehydrantCore, - extra: RequestHandlerExtra, + extra: RequestHandlerExtra, ) => CallToolResult | Promise; }; diff --git a/src/mcp-server/tools/retrospectivesGetRetrospectiveReportTemplate.ts b/src/mcp-server/tools/catalogEntriesListEnvironmentFunctionalities.ts similarity index 58% rename from src/mcp-server/tools/retrospectivesGetRetrospectiveReportTemplate.ts rename to src/mcp-server/tools/catalogEntriesListEnvironmentFunctionalities.ts index ecbda723..334f89a4 100644 --- a/src/mcp-server/tools/retrospectivesGetRetrospectiveReportTemplate.ts +++ b/src/mcp-server/tools/catalogEntriesListEnvironmentFunctionalities.ts @@ -2,25 +2,25 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import { retrospectivesGetRetrospectiveReportTemplate } from "../../funcs/retrospectivesGetRetrospectiveReportTemplate.js"; +import { catalogEntriesListEnvironmentFunctionalities } from "../../funcs/catalogEntriesListEnvironmentFunctionalities.js"; import * as operations from "../../models/operations/index.js"; import { formatResult, ToolDefinition } from "../tools.js"; const args = { - request: operations.GetRetrospectiveReportTemplateRequest$inboundSchema, + request: operations.ListEnvironmentFunctionalitiesRequest$inboundSchema, }; -export const tool$retrospectivesGetRetrospectiveReportTemplate: ToolDefinition< +export const tool$catalogEntriesListEnvironmentFunctionalities: ToolDefinition< typeof args > = { - name: "retrospectives-get-retrospective-report-template", - description: `Get a retrospective report template + name: "catalog-entries-list-environment-functionalities", + description: `List functionalities for an environment -Retrieve a single retrospective report template by ID`, +List functionalities for an environment`, args, tool: async (client, args, ctx) => { const [result, apiCall] = - await retrospectivesGetRetrospectiveReportTemplate( + await catalogEntriesListEnvironmentFunctionalities( client, args.request, { fetchOptions: { signal: ctx.signal } }, diff --git a/src/mcp-server/tools/catalogEntriesListEnvironmentServices.ts b/src/mcp-server/tools/catalogEntriesListEnvironmentServices.ts new file mode 100644 index 00000000..0bfd2137 --- /dev/null +++ b/src/mcp-server/tools/catalogEntriesListEnvironmentServices.ts @@ -0,0 +1,39 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { catalogEntriesListEnvironmentServices } from "../../funcs/catalogEntriesListEnvironmentServices.js"; +import * as operations from "../../models/operations/index.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: operations.ListEnvironmentServicesRequest$inboundSchema, +}; + +export const tool$catalogEntriesListEnvironmentServices: ToolDefinition< + typeof args +> = { + name: "catalog-entries-list-environment-services", + description: `List services for an environment + +List services for an environment`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await catalogEntriesListEnvironmentServices( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/catalogEntriesListFunctionalityEnvironments.ts b/src/mcp-server/tools/catalogEntriesListFunctionalityEnvironments.ts new file mode 100644 index 00000000..d8818bb1 --- /dev/null +++ b/src/mcp-server/tools/catalogEntriesListFunctionalityEnvironments.ts @@ -0,0 +1,39 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { catalogEntriesListFunctionalityEnvironments } from "../../funcs/catalogEntriesListFunctionalityEnvironments.js"; +import * as operations from "../../models/operations/index.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: operations.ListFunctionalityEnvironmentsRequest$inboundSchema, +}; + +export const tool$catalogEntriesListFunctionalityEnvironments: ToolDefinition< + typeof args +> = { + name: "catalog-entries-list-functionality-environments", + description: `List environments for a functionality + +List environments for a functionality`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await catalogEntriesListFunctionalityEnvironments( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/catalogEntriesListServiceEnvironments.ts b/src/mcp-server/tools/catalogEntriesListServiceEnvironments.ts new file mode 100644 index 00000000..5e4a1193 --- /dev/null +++ b/src/mcp-server/tools/catalogEntriesListServiceEnvironments.ts @@ -0,0 +1,39 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { catalogEntriesListServiceEnvironments } from "../../funcs/catalogEntriesListServiceEnvironments.js"; +import * as operations from "../../models/operations/index.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: operations.ListServiceEnvironmentsRequest$inboundSchema, +}; + +export const tool$catalogEntriesListServiceEnvironments: ToolDefinition< + typeof args +> = { + name: "catalog-entries-list-service-environments", + description: `List environments for a service + +List environments for a service`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await catalogEntriesListServiceEnvironments( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/metricsReportingExportSignalsShiftAnalytics.ts b/src/mcp-server/tools/metricsReportingExportSignalsShiftAnalytics.ts new file mode 100644 index 00000000..b74aa9db --- /dev/null +++ b/src/mcp-server/tools/metricsReportingExportSignalsShiftAnalytics.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { metricsReportingExportSignalsShiftAnalytics } from "../../funcs/metricsReportingExportSignalsShiftAnalytics.js"; +import * as operations from "../../models/operations/index.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: operations.ExportSignalsShiftAnalyticsRequest$inboundSchema, +}; + +export const tool$metricsReportingExportSignalsShiftAnalytics: ToolDefinition< + typeof args +> = { + name: "metrics/reporting-export-signals-shift-analytics", + description: `Export on-call hours report + +Export on-call hours report for users/teams during a time period`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await metricsReportingExportSignalsShiftAnalytics( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + return formatResult(void 0, apiCall); + }, +}; diff --git a/src/mcp-server/tools/signalsCreateSignalsHeartbeatEndpointConfiguration.ts b/src/mcp-server/tools/signalsCreateSignalsHeartbeatEndpointConfiguration.ts new file mode 100644 index 00000000..eb3db4b3 --- /dev/null +++ b/src/mcp-server/tools/signalsCreateSignalsHeartbeatEndpointConfiguration.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { signalsCreateSignalsHeartbeatEndpointConfiguration } from "../../funcs/signalsCreateSignalsHeartbeatEndpointConfiguration.js"; +import * as components from "../../models/components/index.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: components.CreateSignalsHeartbeatEndpointConfiguration$inboundSchema, +}; + +export const tool$signalsCreateSignalsHeartbeatEndpointConfiguration: + ToolDefinition = { + name: "signals-create-signals-heartbeat-endpoint-configuration", + description: `Create a heartbeat endpoint configuration + +Create a new heartbeat endpoint configuration for your organization`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = + await signalsCreateSignalsHeartbeatEndpointConfiguration( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + return formatResult(void 0, apiCall); + }, + }; diff --git a/src/mcp-server/tools/signalsCreateTeamSignalRule.ts b/src/mcp-server/tools/signalsCreateTeamSignalRule.ts index 1fa4b02e..335da323 100644 --- a/src/mcp-server/tools/signalsCreateTeamSignalRule.ts +++ b/src/mcp-server/tools/signalsCreateTeamSignalRule.ts @@ -14,7 +14,7 @@ export const tool$signalsCreateTeamSignalRule: ToolDefinition = { name: "signals-create-team-signal-rule", description: `Create a Signals rule -Create a Signals rule for a team.`, +Create a Signals rule for a team. We support up to 2000 rules per organization.`, args, tool: async (client, args, ctx) => { const [result, apiCall] = await signalsCreateTeamSignalRule( diff --git a/src/mcp-server/tools/signalsDeleteSignalsHeartbeatEndpointConfiguration.ts b/src/mcp-server/tools/signalsDeleteSignalsHeartbeatEndpointConfiguration.ts new file mode 100644 index 00000000..6213edca --- /dev/null +++ b/src/mcp-server/tools/signalsDeleteSignalsHeartbeatEndpointConfiguration.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { signalsDeleteSignalsHeartbeatEndpointConfiguration } from "../../funcs/signalsDeleteSignalsHeartbeatEndpointConfiguration.js"; +import * as operations from "../../models/operations/index.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: + operations.DeleteSignalsHeartbeatEndpointConfigurationRequest$inboundSchema, +}; + +export const tool$signalsDeleteSignalsHeartbeatEndpointConfiguration: + ToolDefinition = { + name: "signals-delete-signals-heartbeat-endpoint-configuration", + description: `Delete a heartbeat endpoint configuration + +Delete a heartbeat endpoint configuration`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = + await signalsDeleteSignalsHeartbeatEndpointConfiguration( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + return formatResult(void 0, apiCall); + }, + }; diff --git a/src/mcp-server/tools/signalsGetSignalsHeartbeatEndpointConfiguration.ts b/src/mcp-server/tools/signalsGetSignalsHeartbeatEndpointConfiguration.ts new file mode 100644 index 00000000..c953e887 --- /dev/null +++ b/src/mcp-server/tools/signalsGetSignalsHeartbeatEndpointConfiguration.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { signalsGetSignalsHeartbeatEndpointConfiguration } from "../../funcs/signalsGetSignalsHeartbeatEndpointConfiguration.js"; +import * as operations from "../../models/operations/index.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: + operations.GetSignalsHeartbeatEndpointConfigurationRequest$inboundSchema, +}; + +export const tool$signalsGetSignalsHeartbeatEndpointConfiguration: + ToolDefinition = { + name: "signals-get-signals-heartbeat-endpoint-configuration", + description: `Get a heartbeat endpoint configuration + +Retrieve a single heartbeat endpoint configuration`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = + await signalsGetSignalsHeartbeatEndpointConfiguration( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + return formatResult(void 0, apiCall); + }, + }; diff --git a/src/mcp-server/tools/signalsListSignalsAlertGroupingConfigurations.ts b/src/mcp-server/tools/signalsListSignalsAlertGroupingConfigurations.ts index 04771e8c..5233bfe7 100644 --- a/src/mcp-server/tools/signalsListSignalsAlertGroupingConfigurations.ts +++ b/src/mcp-server/tools/signalsListSignalsAlertGroupingConfigurations.ts @@ -3,30 +3,39 @@ */ import { signalsListSignalsAlertGroupingConfigurations } from "../../funcs/signalsListSignalsAlertGroupingConfigurations.js"; +import * as operations from "../../models/operations/index.js"; import { formatResult, ToolDefinition } from "../tools.js"; -export const tool$signalsListSignalsAlertGroupingConfigurations: - ToolDefinition = { - name: "signals-list-signals-alert-grouping-configurations", - description: `List alert grouping configurations. +const args = { + request: + operations.ListSignalsAlertGroupingConfigurationsRequest$inboundSchema, +}; + +export const tool$signalsListSignalsAlertGroupingConfigurations: ToolDefinition< + typeof args +> = { + name: "signals-list-signals-alert-grouping-configurations", + description: `List alert grouping configurations. List all Signals alert grouping rules for the organization.`, - tool: async (client, ctx) => { - const [result, apiCall] = - await signalsListSignalsAlertGroupingConfigurations( - client, - { fetchOptions: { signal: ctx.signal } }, - ).$inspect(); + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = + await signalsListSignalsAlertGroupingConfigurations( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); - if (!result.ok) { - return { - content: [{ type: "text", text: result.error.message }], - isError: true, - }; - } + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } - const value = result.value; + const value = result.value; - return formatResult(value, apiCall); - }, - }; + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/signalsListSignalsHeartbeatEndpointConfigurations.ts b/src/mcp-server/tools/signalsListSignalsHeartbeatEndpointConfigurations.ts new file mode 100644 index 00000000..02ca510c --- /dev/null +++ b/src/mcp-server/tools/signalsListSignalsHeartbeatEndpointConfigurations.ts @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { signalsListSignalsHeartbeatEndpointConfigurations } from "../../funcs/signalsListSignalsHeartbeatEndpointConfigurations.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +export const tool$signalsListSignalsHeartbeatEndpointConfigurations: + ToolDefinition = { + name: "signals-list-signals-heartbeat-endpoint-configurations", + description: `List heartbeat endpoint configurations + +Retrieve all heartbeat endpoint configurations for your organization`, + tool: async (client, ctx) => { + const [result, apiCall] = + await signalsListSignalsHeartbeatEndpointConfigurations( + client, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + return formatResult(void 0, apiCall); + }, + }; diff --git a/src/mcp-server/tools/signalsListUserNotificationSettingsByUserId.ts b/src/mcp-server/tools/signalsListUserNotificationSettingsByUserId.ts new file mode 100644 index 00000000..967ab508 --- /dev/null +++ b/src/mcp-server/tools/signalsListUserNotificationSettingsByUserId.ts @@ -0,0 +1,39 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { signalsListUserNotificationSettingsByUserId } from "../../funcs/signalsListUserNotificationSettingsByUserId.js"; +import * as operations from "../../models/operations/index.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: operations.ListUserNotificationSettingsByUserIdRequest$inboundSchema, +}; + +export const tool$signalsListUserNotificationSettingsByUserId: ToolDefinition< + typeof args +> = { + name: "signals-list-user-notification-settings-by-user-id", + description: `List notification settings for a user + +List all Signals notification settings for a specific user. Requires an API key with PII access enabled.`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await signalsListUserNotificationSettingsByUserId( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/signalsUpdateSignalsHeartbeatEndpointConfiguration.ts b/src/mcp-server/tools/signalsUpdateSignalsHeartbeatEndpointConfiguration.ts new file mode 100644 index 00000000..05377b98 --- /dev/null +++ b/src/mcp-server/tools/signalsUpdateSignalsHeartbeatEndpointConfiguration.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { signalsUpdateSignalsHeartbeatEndpointConfiguration } from "../../funcs/signalsUpdateSignalsHeartbeatEndpointConfiguration.js"; +import * as operations from "../../models/operations/index.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: + operations.UpdateSignalsHeartbeatEndpointConfigurationRequest$inboundSchema, +}; + +export const tool$signalsUpdateSignalsHeartbeatEndpointConfiguration: + ToolDefinition = { + name: "signals-update-signals-heartbeat-endpoint-configuration", + description: `Update a heartbeat endpoint configuration + +Update an existing heartbeat endpoint configuration`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = + await signalsUpdateSignalsHeartbeatEndpointConfiguration( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + return formatResult(void 0, apiCall); + }, + }; diff --git a/src/mcp-server/tools/webhooksListWebhookDeliveries.ts b/src/mcp-server/tools/webhooksListWebhookDeliveries.ts index a6e54ce3..80f103d7 100644 --- a/src/mcp-server/tools/webhooksListWebhookDeliveries.ts +++ b/src/mcp-server/tools/webhooksListWebhookDeliveries.ts @@ -30,6 +30,8 @@ Get webhook deliveries`, }; } - return formatResult(void 0, apiCall); + const value = result.value; + + return formatResult(value, apiCall); }, }; diff --git a/src/models/components/audiencesentitiesaudienceentitypaginated.ts b/src/models/components/audiencesentitiesaudienceentitypaginated.ts new file mode 100644 index 00000000..e5c3ea56 --- /dev/null +++ b/src/models/components/audiencesentitiesaudienceentitypaginated.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + AudiencesEntitiesAudienceEntity, + AudiencesEntitiesAudienceEntity$inboundSchema, + AudiencesEntitiesAudienceEntity$Outbound, + AudiencesEntitiesAudienceEntity$outboundSchema, +} from "./audiencesentitiesaudienceentity.js"; +import { + NullablePaginationEntity, + NullablePaginationEntity$inboundSchema, + NullablePaginationEntity$Outbound, + NullablePaginationEntity$outboundSchema, +} from "./nullablepaginationentity.js"; + +/** + * Audiences_Entities_AudienceEntityPaginated model + */ +export type AudiencesEntitiesAudienceEntityPaginated = { + data?: Array | null | undefined; + pagination?: NullablePaginationEntity | null | undefined; +}; + +/** @internal */ +export const AudiencesEntitiesAudienceEntityPaginated$inboundSchema: z.ZodType< + AudiencesEntitiesAudienceEntityPaginated, + z.ZodTypeDef, + unknown +> = z.object({ + data: z.nullable(z.array(AudiencesEntitiesAudienceEntity$inboundSchema)) + .optional(), + pagination: z.nullable(NullablePaginationEntity$inboundSchema).optional(), +}); +/** @internal */ +export type AudiencesEntitiesAudienceEntityPaginated$Outbound = { + data?: Array | null | undefined; + pagination?: NullablePaginationEntity$Outbound | null | undefined; +}; + +/** @internal */ +export const AudiencesEntitiesAudienceEntityPaginated$outboundSchema: z.ZodType< + AudiencesEntitiesAudienceEntityPaginated$Outbound, + z.ZodTypeDef, + AudiencesEntitiesAudienceEntityPaginated +> = z.object({ + data: z.nullable(z.array(AudiencesEntitiesAudienceEntity$outboundSchema)) + .optional(), + pagination: z.nullable(NullablePaginationEntity$outboundSchema).optional(), +}); + +export function audiencesEntitiesAudienceEntityPaginatedToJSON( + audiencesEntitiesAudienceEntityPaginated: + AudiencesEntitiesAudienceEntityPaginated, +): string { + return JSON.stringify( + AudiencesEntitiesAudienceEntityPaginated$outboundSchema.parse( + audiencesEntitiesAudienceEntityPaginated, + ), + ); +} +export function audiencesEntitiesAudienceEntityPaginatedFromJSON( + jsonString: string, +): SafeParseResult< + AudiencesEntitiesAudienceEntityPaginated, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + AudiencesEntitiesAudienceEntityPaginated$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'AudiencesEntitiesAudienceEntityPaginated' from JSON`, + ); +} diff --git a/src/models/components/createenvironment.ts b/src/models/components/createenvironment.ts index bc5e376c..15fbb2bd 100644 --- a/src/models/components/createenvironment.ts +++ b/src/models/components/createenvironment.ts @@ -7,14 +7,110 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +export type CreateEnvironmentFunctionality = { + /** + * ID of a functionality + */ + id: string; +}; + +export type CreateEnvironmentService = { + /** + * ID of a service + */ + id: string; +}; + /** * Creates an environment for the organization */ export type CreateEnvironment = { name: string; description?: string | null | undefined; + functionalities?: Array | null | undefined; + services?: Array | null | undefined; +}; + +/** @internal */ +export const CreateEnvironmentFunctionality$inboundSchema: z.ZodType< + CreateEnvironmentFunctionality, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), +}); +/** @internal */ +export type CreateEnvironmentFunctionality$Outbound = { + id: string; +}; + +/** @internal */ +export const CreateEnvironmentFunctionality$outboundSchema: z.ZodType< + CreateEnvironmentFunctionality$Outbound, + z.ZodTypeDef, + CreateEnvironmentFunctionality +> = z.object({ + id: z.string(), +}); + +export function createEnvironmentFunctionalityToJSON( + createEnvironmentFunctionality: CreateEnvironmentFunctionality, +): string { + return JSON.stringify( + CreateEnvironmentFunctionality$outboundSchema.parse( + createEnvironmentFunctionality, + ), + ); +} +export function createEnvironmentFunctionalityFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateEnvironmentFunctionality$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateEnvironmentFunctionality' from JSON`, + ); +} + +/** @internal */ +export const CreateEnvironmentService$inboundSchema: z.ZodType< + CreateEnvironmentService, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), +}); +/** @internal */ +export type CreateEnvironmentService$Outbound = { + id: string; }; +/** @internal */ +export const CreateEnvironmentService$outboundSchema: z.ZodType< + CreateEnvironmentService$Outbound, + z.ZodTypeDef, + CreateEnvironmentService +> = z.object({ + id: z.string(), +}); + +export function createEnvironmentServiceToJSON( + createEnvironmentService: CreateEnvironmentService, +): string { + return JSON.stringify( + CreateEnvironmentService$outboundSchema.parse(createEnvironmentService), + ); +} +export function createEnvironmentServiceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateEnvironmentService$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateEnvironmentService' from JSON`, + ); +} + /** @internal */ export const CreateEnvironment$inboundSchema: z.ZodType< CreateEnvironment, @@ -23,11 +119,22 @@ export const CreateEnvironment$inboundSchema: z.ZodType< > = z.object({ name: z.string(), description: z.nullable(z.string()).optional(), + functionalities: z.nullable( + z.array(z.lazy(() => CreateEnvironmentFunctionality$inboundSchema)), + ).optional(), + services: z.nullable( + z.array(z.lazy(() => CreateEnvironmentService$inboundSchema)), + ).optional(), }); /** @internal */ export type CreateEnvironment$Outbound = { name: string; description?: string | null | undefined; + functionalities?: + | Array + | null + | undefined; + services?: Array | null | undefined; }; /** @internal */ @@ -38,6 +145,12 @@ export const CreateEnvironment$outboundSchema: z.ZodType< > = z.object({ name: z.string(), description: z.nullable(z.string()).optional(), + functionalities: z.nullable( + z.array(z.lazy(() => CreateEnvironmentFunctionality$outboundSchema)), + ).optional(), + services: z.nullable( + z.array(z.lazy(() => CreateEnvironmentService$outboundSchema)), + ).optional(), }); export function createEnvironmentToJSON( diff --git a/src/models/components/createfunctionality.ts b/src/models/components/createfunctionality.ts index e7249434..f4a41278 100644 --- a/src/models/components/createfunctionality.ts +++ b/src/models/components/createfunctionality.ts @@ -16,6 +16,13 @@ export type CreateFunctionalityService = { id: string; }; +export type CreateFunctionalityEnvironment = { + /** + * ID of an environment + */ + id: string; +}; + /** * Integer representing functionality tier. Lower values represent higher criticality. Default is 5. */ @@ -75,6 +82,7 @@ export type CreateFunctionality = { name: string; description?: string | null | undefined; services?: Array | null | undefined; + environments?: Array | null | undefined; /** * A hash of label keys and values */ @@ -145,6 +153,47 @@ export function createFunctionalityServiceFromJSON( ); } +/** @internal */ +export const CreateFunctionalityEnvironment$inboundSchema: z.ZodType< + CreateFunctionalityEnvironment, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), +}); +/** @internal */ +export type CreateFunctionalityEnvironment$Outbound = { + id: string; +}; + +/** @internal */ +export const CreateFunctionalityEnvironment$outboundSchema: z.ZodType< + CreateFunctionalityEnvironment$Outbound, + z.ZodTypeDef, + CreateFunctionalityEnvironment +> = z.object({ + id: z.string(), +}); + +export function createFunctionalityEnvironmentToJSON( + createFunctionalityEnvironment: CreateFunctionalityEnvironment, +): string { + return JSON.stringify( + CreateFunctionalityEnvironment$outboundSchema.parse( + createFunctionalityEnvironment, + ), + ); +} +export function createFunctionalityEnvironmentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateFunctionalityEnvironment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateFunctionalityEnvironment' from JSON`, + ); +} + /** @internal */ export const CreateFunctionalityServiceTier$inboundSchema: z.ZodNativeEnum< typeof CreateFunctionalityServiceTier @@ -353,6 +402,9 @@ export const CreateFunctionality$inboundSchema: z.ZodType< services: z.nullable( z.array(z.lazy(() => CreateFunctionalityService$inboundSchema)), ).optional(), + environments: z.nullable( + z.array(z.lazy(() => CreateFunctionalityEnvironment$inboundSchema)), + ).optional(), labels: z.nullable(z.record(z.string())).optional(), service_tier: z.nullable(CreateFunctionalityServiceTier$inboundSchema) .optional(), @@ -382,6 +434,10 @@ export type CreateFunctionality$Outbound = { name: string; description?: string | null | undefined; services?: Array | null | undefined; + environments?: + | Array + | null + | undefined; labels?: { [k: string]: string } | null | undefined; service_tier?: number | null | undefined; alert_on_add?: boolean | null | undefined; @@ -406,6 +462,9 @@ export const CreateFunctionality$outboundSchema: z.ZodType< services: z.nullable( z.array(z.lazy(() => CreateFunctionalityService$outboundSchema)), ).optional(), + environments: z.nullable( + z.array(z.lazy(() => CreateFunctionalityEnvironment$outboundSchema)), + ).optional(), labels: z.nullable(z.record(z.string())).optional(), serviceTier: z.nullable(CreateFunctionalityServiceTier$outboundSchema) .optional(), diff --git a/src/models/components/createrole.ts b/src/models/components/createrole.ts index e9964d20..db99da39 100644 --- a/src/models/components/createrole.ts +++ b/src/models/components/createrole.ts @@ -26,6 +26,7 @@ export const CreateRolePermission = { ReadOnCallSchedules: "read_on_call_schedules", ManageOnCallShifts: "manage_on_call_shifts", ClaimOnCallShifts: "claim_on_call_shifts", + ReadSignalsPii: "read_signals_pii", ManageOrganizationNotificationPolicies: "manage_organization_notification_policies", ReadNotificationPolicyCompliance: "read_notification_policy_compliance", diff --git a/src/models/components/createservice.ts b/src/models/components/createservice.ts index 3a82fb49..8462bdd4 100644 --- a/src/models/components/createservice.ts +++ b/src/models/components/createservice.ts @@ -38,6 +38,13 @@ export type CreateServiceFunctionality = { id?: string | null | undefined; }; +export type CreateServiceEnvironment = { + /** + * ID of an environment + */ + id: string; +}; + export type CreateServiceLink = { /** * Short name used to display and identify this link @@ -90,6 +97,7 @@ export type CreateService = { * An array of functionalities */ functionalities?: Array | null | undefined; + environments?: Array | null | undefined; /** * An array of links to associate with this service */ @@ -161,6 +169,45 @@ export function createServiceFunctionalityFromJSON( ); } +/** @internal */ +export const CreateServiceEnvironment$inboundSchema: z.ZodType< + CreateServiceEnvironment, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), +}); +/** @internal */ +export type CreateServiceEnvironment$Outbound = { + id: string; +}; + +/** @internal */ +export const CreateServiceEnvironment$outboundSchema: z.ZodType< + CreateServiceEnvironment$Outbound, + z.ZodTypeDef, + CreateServiceEnvironment +> = z.object({ + id: z.string(), +}); + +export function createServiceEnvironmentToJSON( + createServiceEnvironment: CreateServiceEnvironment, +): string { + return JSON.stringify( + CreateServiceEnvironment$outboundSchema.parse(createServiceEnvironment), + ); +} +export function createServiceEnvironmentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateServiceEnvironment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateServiceEnvironment' from JSON`, + ); +} + /** @internal */ export const CreateServiceLink$inboundSchema: z.ZodType< CreateServiceLink, @@ -361,6 +408,9 @@ export const CreateService$inboundSchema: z.ZodType< functionalities: z.nullable( z.array(z.lazy(() => CreateServiceFunctionality$inboundSchema)), ).optional(), + environments: z.nullable( + z.array(z.lazy(() => CreateServiceEnvironment$inboundSchema)), + ).optional(), links: z.nullable(z.array(z.lazy(() => CreateServiceLink$inboundSchema))) .optional(), owner: z.nullable(z.lazy(() => CreateServiceOwner$inboundSchema)).optional(), @@ -389,6 +439,7 @@ export type CreateService$Outbound = { | Array | null | undefined; + environments?: Array | null | undefined; links?: Array | null | undefined; owner?: CreateServiceOwner$Outbound | null | undefined; teams?: Array | null | undefined; @@ -413,6 +464,9 @@ export const CreateService$outboundSchema: z.ZodType< functionalities: z.nullable( z.array(z.lazy(() => CreateServiceFunctionality$outboundSchema)), ).optional(), + environments: z.nullable( + z.array(z.lazy(() => CreateServiceEnvironment$outboundSchema)), + ).optional(), links: z.nullable(z.array(z.lazy(() => CreateServiceLink$outboundSchema))) .optional(), owner: z.nullable(z.lazy(() => CreateServiceOwner$outboundSchema)).optional(), diff --git a/src/models/components/createsignalseventsource.ts b/src/models/components/createsignalseventsource.ts index 14d06c77..1ea44ab9 100644 --- a/src/models/components/createsignalseventsource.ts +++ b/src/models/components/createsignalseventsource.ts @@ -11,7 +11,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Hash of HTTP headers with values as Array, e.g. { 'Content-Type' => ['application/json'] } */ -export type Headers = {}; +export type CreateSignalsEventSourceHeaders = {}; /** * JSON body of request. @@ -25,7 +25,7 @@ export type CreateSignalsEventSourceExamplePayload = { /** * Hash of HTTP headers with values as Array, e.g. { 'Content-Type' => ['application/json'] } */ - headers?: Headers | null | undefined; + headers?: CreateSignalsEventSourceHeaders | null | undefined; /** * JSON body of request. */ @@ -59,28 +59,37 @@ export type CreateSignalsEventSource = { }; /** @internal */ -export const Headers$inboundSchema: z.ZodType = - z.object({}); +export const CreateSignalsEventSourceHeaders$inboundSchema: z.ZodType< + CreateSignalsEventSourceHeaders, + z.ZodTypeDef, + unknown +> = z.object({}); /** @internal */ -export type Headers$Outbound = {}; +export type CreateSignalsEventSourceHeaders$Outbound = {}; /** @internal */ -export const Headers$outboundSchema: z.ZodType< - Headers$Outbound, +export const CreateSignalsEventSourceHeaders$outboundSchema: z.ZodType< + CreateSignalsEventSourceHeaders$Outbound, z.ZodTypeDef, - Headers + CreateSignalsEventSourceHeaders > = z.object({}); -export function headersToJSON(headers: Headers): string { - return JSON.stringify(Headers$outboundSchema.parse(headers)); +export function createSignalsEventSourceHeadersToJSON( + createSignalsEventSourceHeaders: CreateSignalsEventSourceHeaders, +): string { + return JSON.stringify( + CreateSignalsEventSourceHeaders$outboundSchema.parse( + createSignalsEventSourceHeaders, + ), + ); } -export function headersFromJSON( +export function createSignalsEventSourceHeadersFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Headers$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Headers' from JSON`, + (x) => CreateSignalsEventSourceHeaders$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateSignalsEventSourceHeaders' from JSON`, ); } @@ -125,13 +134,15 @@ export const CreateSignalsEventSourceExamplePayload$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - headers: z.nullable(z.lazy(() => Headers$inboundSchema)).optional(), + headers: z.nullable( + z.lazy(() => CreateSignalsEventSourceHeaders$inboundSchema), + ).optional(), data: z.nullable(z.lazy(() => CreateSignalsEventSourceData$inboundSchema)) .optional(), }); /** @internal */ export type CreateSignalsEventSourceExamplePayload$Outbound = { - headers?: Headers$Outbound | null | undefined; + headers?: CreateSignalsEventSourceHeaders$Outbound | null | undefined; data?: CreateSignalsEventSourceData$Outbound | null | undefined; }; @@ -141,7 +152,9 @@ export const CreateSignalsEventSourceExamplePayload$outboundSchema: z.ZodType< z.ZodTypeDef, CreateSignalsEventSourceExamplePayload > = z.object({ - headers: z.nullable(z.lazy(() => Headers$outboundSchema)).optional(), + headers: z.nullable( + z.lazy(() => CreateSignalsEventSourceHeaders$outboundSchema), + ).optional(), data: z.nullable(z.lazy(() => CreateSignalsEventSourceData$outboundSchema)) .optional(), }); diff --git a/src/models/components/createsignalsheartbeatendpointconfiguration.ts b/src/models/components/createsignalsheartbeatendpointconfiguration.ts new file mode 100644 index 00000000..bb853974 --- /dev/null +++ b/src/models/components/createsignalsheartbeatendpointconfiguration.ts @@ -0,0 +1,370 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { remap as remap$ } from "../../lib/primitives.js"; +import { safeParse } from "../../lib/schemas.js"; +import { ClosedEnum } from "../../types/enums.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type CreateSignalsHeartbeatEndpointConfigurationAnnotations = {}; + +export type CreateSignalsHeartbeatEndpointConfigurationLink = { + href?: string | null | undefined; + text?: string | null | undefined; +}; + +/** + * Signal template to be used when generating alerts for missed heartbeats + */ +export type CreateSignalsHeartbeatEndpointConfigurationTemplateSignal = { + body?: string | null | undefined; + annotations?: + | CreateSignalsHeartbeatEndpointConfigurationAnnotations + | null + | undefined; + tags?: Array | null | undefined; + links?: + | Array + | null + | undefined; +}; + +/** + * Type of heartbeat endpoint (e.g. 'http') + */ +export const CreateSignalsHeartbeatEndpointConfigurationKind = { + Http: "http", + Email: "email", +} as const; +/** + * Type of heartbeat endpoint (e.g. 'http') + */ +export type CreateSignalsHeartbeatEndpointConfigurationKind = ClosedEnum< + typeof CreateSignalsHeartbeatEndpointConfigurationKind +>; + +/** + * Create a new heartbeat endpoint configuration for your organization + */ +export type CreateSignalsHeartbeatEndpointConfiguration = { + /** + * Unique URL path segment for the heartbeat endpoint + */ + slug: string; + /** + * Whether the endpoint is active + */ + enabled: boolean; + /** + * Optional description of the endpoint's purpose + */ + description?: string | null | undefined; + /** + * Time interval in which heartbeats are expected (minimum '5m', maximum '24h') + */ + expectInterval: string; + /** + * Signal template to be used when generating alerts for missed heartbeats + */ + templateSignal: CreateSignalsHeartbeatEndpointConfigurationTemplateSignal; + /** + * Type of heartbeat endpoint (e.g. 'http') + */ + kind: CreateSignalsHeartbeatEndpointConfigurationKind; + /** + * HTTP methods allowed for this endpoint + */ + allowedHttpMethods?: Array | null | undefined; + /** + * User agent substring that must be present in requests + */ + allowedUserAgentSubstring?: string | null | undefined; + /** + * Email addresses allowed to send heartbeats + */ + allowedEmailSenders?: Array | null | undefined; +}; + +/** @internal */ +export const CreateSignalsHeartbeatEndpointConfigurationAnnotations$inboundSchema: + z.ZodType< + CreateSignalsHeartbeatEndpointConfigurationAnnotations, + z.ZodTypeDef, + unknown + > = z.object({}); +/** @internal */ +export type CreateSignalsHeartbeatEndpointConfigurationAnnotations$Outbound = + {}; + +/** @internal */ +export const CreateSignalsHeartbeatEndpointConfigurationAnnotations$outboundSchema: + z.ZodType< + CreateSignalsHeartbeatEndpointConfigurationAnnotations$Outbound, + z.ZodTypeDef, + CreateSignalsHeartbeatEndpointConfigurationAnnotations + > = z.object({}); + +export function createSignalsHeartbeatEndpointConfigurationAnnotationsToJSON( + createSignalsHeartbeatEndpointConfigurationAnnotations: + CreateSignalsHeartbeatEndpointConfigurationAnnotations, +): string { + return JSON.stringify( + CreateSignalsHeartbeatEndpointConfigurationAnnotations$outboundSchema.parse( + createSignalsHeartbeatEndpointConfigurationAnnotations, + ), + ); +} +export function createSignalsHeartbeatEndpointConfigurationAnnotationsFromJSON( + jsonString: string, +): SafeParseResult< + CreateSignalsHeartbeatEndpointConfigurationAnnotations, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + CreateSignalsHeartbeatEndpointConfigurationAnnotations$inboundSchema + .parse(JSON.parse(x)), + `Failed to parse 'CreateSignalsHeartbeatEndpointConfigurationAnnotations' from JSON`, + ); +} + +/** @internal */ +export const CreateSignalsHeartbeatEndpointConfigurationLink$inboundSchema: + z.ZodType< + CreateSignalsHeartbeatEndpointConfigurationLink, + z.ZodTypeDef, + unknown + > = z.object({ + href: z.nullable(z.string()).optional(), + text: z.nullable(z.string()).optional(), + }); +/** @internal */ +export type CreateSignalsHeartbeatEndpointConfigurationLink$Outbound = { + href?: string | null | undefined; + text?: string | null | undefined; +}; + +/** @internal */ +export const CreateSignalsHeartbeatEndpointConfigurationLink$outboundSchema: + z.ZodType< + CreateSignalsHeartbeatEndpointConfigurationLink$Outbound, + z.ZodTypeDef, + CreateSignalsHeartbeatEndpointConfigurationLink + > = z.object({ + href: z.nullable(z.string()).optional(), + text: z.nullable(z.string()).optional(), + }); + +export function createSignalsHeartbeatEndpointConfigurationLinkToJSON( + createSignalsHeartbeatEndpointConfigurationLink: + CreateSignalsHeartbeatEndpointConfigurationLink, +): string { + return JSON.stringify( + CreateSignalsHeartbeatEndpointConfigurationLink$outboundSchema.parse( + createSignalsHeartbeatEndpointConfigurationLink, + ), + ); +} +export function createSignalsHeartbeatEndpointConfigurationLinkFromJSON( + jsonString: string, +): SafeParseResult< + CreateSignalsHeartbeatEndpointConfigurationLink, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + CreateSignalsHeartbeatEndpointConfigurationLink$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'CreateSignalsHeartbeatEndpointConfigurationLink' from JSON`, + ); +} + +/** @internal */ +export const CreateSignalsHeartbeatEndpointConfigurationTemplateSignal$inboundSchema: + z.ZodType< + CreateSignalsHeartbeatEndpointConfigurationTemplateSignal, + z.ZodTypeDef, + unknown + > = z.object({ + body: z.nullable(z.string()).optional(), + annotations: z.nullable( + z.lazy(() => + CreateSignalsHeartbeatEndpointConfigurationAnnotations$inboundSchema + ), + ).optional(), + tags: z.nullable(z.array(z.string())).optional(), + links: z.nullable( + z.array(z.lazy(() => + CreateSignalsHeartbeatEndpointConfigurationLink$inboundSchema + )), + ).optional(), + }); +/** @internal */ +export type CreateSignalsHeartbeatEndpointConfigurationTemplateSignal$Outbound = + { + body?: string | null | undefined; + annotations?: + | CreateSignalsHeartbeatEndpointConfigurationAnnotations$Outbound + | null + | undefined; + tags?: Array | null | undefined; + links?: + | Array + | null + | undefined; + }; + +/** @internal */ +export const CreateSignalsHeartbeatEndpointConfigurationTemplateSignal$outboundSchema: + z.ZodType< + CreateSignalsHeartbeatEndpointConfigurationTemplateSignal$Outbound, + z.ZodTypeDef, + CreateSignalsHeartbeatEndpointConfigurationTemplateSignal + > = z.object({ + body: z.nullable(z.string()).optional(), + annotations: z.nullable( + z.lazy(() => + CreateSignalsHeartbeatEndpointConfigurationAnnotations$outboundSchema + ), + ).optional(), + tags: z.nullable(z.array(z.string())).optional(), + links: z.nullable( + z.array(z.lazy(() => + CreateSignalsHeartbeatEndpointConfigurationLink$outboundSchema + )), + ).optional(), + }); + +export function createSignalsHeartbeatEndpointConfigurationTemplateSignalToJSON( + createSignalsHeartbeatEndpointConfigurationTemplateSignal: + CreateSignalsHeartbeatEndpointConfigurationTemplateSignal, +): string { + return JSON.stringify( + CreateSignalsHeartbeatEndpointConfigurationTemplateSignal$outboundSchema + .parse(createSignalsHeartbeatEndpointConfigurationTemplateSignal), + ); +} +export function createSignalsHeartbeatEndpointConfigurationTemplateSignalFromJSON( + jsonString: string, +): SafeParseResult< + CreateSignalsHeartbeatEndpointConfigurationTemplateSignal, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + CreateSignalsHeartbeatEndpointConfigurationTemplateSignal$inboundSchema + .parse(JSON.parse(x)), + `Failed to parse 'CreateSignalsHeartbeatEndpointConfigurationTemplateSignal' from JSON`, + ); +} + +/** @internal */ +export const CreateSignalsHeartbeatEndpointConfigurationKind$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CreateSignalsHeartbeatEndpointConfigurationKind); +/** @internal */ +export const CreateSignalsHeartbeatEndpointConfigurationKind$outboundSchema: + z.ZodNativeEnum = + CreateSignalsHeartbeatEndpointConfigurationKind$inboundSchema; + +/** @internal */ +export const CreateSignalsHeartbeatEndpointConfiguration$inboundSchema: + z.ZodType< + CreateSignalsHeartbeatEndpointConfiguration, + z.ZodTypeDef, + unknown + > = z.object({ + slug: z.string(), + enabled: z.boolean(), + description: z.nullable(z.string()).optional(), + expect_interval: z.string(), + template_signal: z.lazy(() => + CreateSignalsHeartbeatEndpointConfigurationTemplateSignal$inboundSchema + ), + kind: CreateSignalsHeartbeatEndpointConfigurationKind$inboundSchema, + allowed_http_methods: z.nullable(z.array(z.string())).optional(), + allowed_user_agent_substring: z.nullable(z.string()).optional(), + allowed_email_senders: z.nullable(z.array(z.string())).optional(), + }).transform((v) => { + return remap$(v, { + "expect_interval": "expectInterval", + "template_signal": "templateSignal", + "allowed_http_methods": "allowedHttpMethods", + "allowed_user_agent_substring": "allowedUserAgentSubstring", + "allowed_email_senders": "allowedEmailSenders", + }); + }); +/** @internal */ +export type CreateSignalsHeartbeatEndpointConfiguration$Outbound = { + slug: string; + enabled: boolean; + description?: string | null | undefined; + expect_interval: string; + template_signal: + CreateSignalsHeartbeatEndpointConfigurationTemplateSignal$Outbound; + kind: string; + allowed_http_methods?: Array | null | undefined; + allowed_user_agent_substring?: string | null | undefined; + allowed_email_senders?: Array | null | undefined; +}; + +/** @internal */ +export const CreateSignalsHeartbeatEndpointConfiguration$outboundSchema: + z.ZodType< + CreateSignalsHeartbeatEndpointConfiguration$Outbound, + z.ZodTypeDef, + CreateSignalsHeartbeatEndpointConfiguration + > = z.object({ + slug: z.string(), + enabled: z.boolean(), + description: z.nullable(z.string()).optional(), + expectInterval: z.string(), + templateSignal: z.lazy(() => + CreateSignalsHeartbeatEndpointConfigurationTemplateSignal$outboundSchema + ), + kind: CreateSignalsHeartbeatEndpointConfigurationKind$outboundSchema, + allowedHttpMethods: z.nullable(z.array(z.string())).optional(), + allowedUserAgentSubstring: z.nullable(z.string()).optional(), + allowedEmailSenders: z.nullable(z.array(z.string())).optional(), + }).transform((v) => { + return remap$(v, { + expectInterval: "expect_interval", + templateSignal: "template_signal", + allowedHttpMethods: "allowed_http_methods", + allowedUserAgentSubstring: "allowed_user_agent_substring", + allowedEmailSenders: "allowed_email_senders", + }); + }); + +export function createSignalsHeartbeatEndpointConfigurationToJSON( + createSignalsHeartbeatEndpointConfiguration: + CreateSignalsHeartbeatEndpointConfiguration, +): string { + return JSON.stringify( + CreateSignalsHeartbeatEndpointConfiguration$outboundSchema.parse( + createSignalsHeartbeatEndpointConfiguration, + ), + ); +} +export function createSignalsHeartbeatEndpointConfigurationFromJSON( + jsonString: string, +): SafeParseResult< + CreateSignalsHeartbeatEndpointConfiguration, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + CreateSignalsHeartbeatEndpointConfiguration$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'CreateSignalsHeartbeatEndpointConfiguration' from JSON`, + ); +} diff --git a/src/models/components/createteamsignalrule.ts b/src/models/components/createteamsignalrule.ts index c15581e1..651dd197 100644 --- a/src/models/components/createteamsignalrule.ts +++ b/src/models/components/createteamsignalrule.ts @@ -58,7 +58,7 @@ export type CreateTeamSignalRuleCreateIncidentConditionWhen = ClosedEnum< >; /** - * Create a Signals rule for a team. + * Create a Signals rule for a team. We support up to 2000 rules per organization. */ export type CreateTeamSignalRule = { /** diff --git a/src/models/components/debugsignalsexpression.ts b/src/models/components/debugsignalsexpression.ts index 240b8ff5..087cc77c 100644 --- a/src/models/components/debugsignalsexpression.ts +++ b/src/models/components/debugsignalsexpression.ts @@ -8,7 +8,7 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -export type Annotations = {}; +export type DebugSignalsExpressionAnnotations = {}; export type Image = { src?: string | null | undefined; @@ -26,7 +26,7 @@ export type Signal = { summary?: string | null | undefined; body?: string | null | undefined; level?: string | null | undefined; - annotations?: Annotations | null | undefined; + annotations?: DebugSignalsExpressionAnnotations | null | undefined; tags?: Array | null | undefined; images?: Array | null | undefined; links?: Array | null | undefined; @@ -47,31 +47,37 @@ export type DebugSignalsExpression = { }; /** @internal */ -export const Annotations$inboundSchema: z.ZodType< - Annotations, +export const DebugSignalsExpressionAnnotations$inboundSchema: z.ZodType< + DebugSignalsExpressionAnnotations, z.ZodTypeDef, unknown > = z.object({}); /** @internal */ -export type Annotations$Outbound = {}; +export type DebugSignalsExpressionAnnotations$Outbound = {}; /** @internal */ -export const Annotations$outboundSchema: z.ZodType< - Annotations$Outbound, +export const DebugSignalsExpressionAnnotations$outboundSchema: z.ZodType< + DebugSignalsExpressionAnnotations$Outbound, z.ZodTypeDef, - Annotations + DebugSignalsExpressionAnnotations > = z.object({}); -export function annotationsToJSON(annotations: Annotations): string { - return JSON.stringify(Annotations$outboundSchema.parse(annotations)); +export function debugSignalsExpressionAnnotationsToJSON( + debugSignalsExpressionAnnotations: DebugSignalsExpressionAnnotations, +): string { + return JSON.stringify( + DebugSignalsExpressionAnnotations$outboundSchema.parse( + debugSignalsExpressionAnnotations, + ), + ); } -export function annotationsFromJSON( +export function debugSignalsExpressionAnnotationsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Annotations$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Annotations' from JSON`, + (x) => DebugSignalsExpressionAnnotations$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DebugSignalsExpressionAnnotations' from JSON`, ); } @@ -160,7 +166,9 @@ export const Signal$inboundSchema: z.ZodType = z summary: z.nullable(z.string()).optional(), body: z.nullable(z.string()).optional(), level: z.nullable(z.string()).optional(), - annotations: z.nullable(z.lazy(() => Annotations$inboundSchema)).optional(), + annotations: z.nullable( + z.lazy(() => DebugSignalsExpressionAnnotations$inboundSchema), + ).optional(), tags: z.nullable(z.array(z.string())).optional(), images: z.nullable(z.array(z.lazy(() => Image$inboundSchema))).optional(), links: z.nullable( @@ -178,7 +186,7 @@ export type Signal$Outbound = { summary?: string | null | undefined; body?: string | null | undefined; level?: string | null | undefined; - annotations?: Annotations$Outbound | null | undefined; + annotations?: DebugSignalsExpressionAnnotations$Outbound | null | undefined; tags?: Array | null | undefined; images?: Array | null | undefined; links?: Array | null | undefined; @@ -195,7 +203,9 @@ export const Signal$outboundSchema: z.ZodType< summary: z.nullable(z.string()).optional(), body: z.nullable(z.string()).optional(), level: z.nullable(z.string()).optional(), - annotations: z.nullable(z.lazy(() => Annotations$outboundSchema)).optional(), + annotations: z.nullable( + z.lazy(() => DebugSignalsExpressionAnnotations$outboundSchema), + ).optional(), tags: z.nullable(z.array(z.string())).optional(), images: z.nullable(z.array(z.lazy(() => Image$outboundSchema))).optional(), links: z.nullable( diff --git a/src/models/components/environmententryentity.ts b/src/models/components/environmententryentity.ts index e7a819d6..8612a618 100644 --- a/src/models/components/environmententryentity.ts +++ b/src/models/components/environmententryentity.ts @@ -13,6 +13,18 @@ import { ExternalResourceEntity$Outbound, ExternalResourceEntity$outboundSchema, } from "./externalresourceentity.js"; +import { + FunctionalityEntityLite, + FunctionalityEntityLite$inboundSchema, + FunctionalityEntityLite$Outbound, + FunctionalityEntityLite$outboundSchema, +} from "./functionalityentitylite.js"; +import { + ServiceEntityLite, + ServiceEntityLite$inboundSchema, + ServiceEntityLite$Outbound, + ServiceEntityLite$outboundSchema, +} from "./serviceentitylite.js"; /** * EnvironmentEntryEntity model @@ -50,6 +62,14 @@ export type EnvironmentEntryEntity = { * Information about known linkages to representations of services outside of FireHydrant. */ externalResources?: Array | null | undefined; + /** + * Functionalities related to this environment + */ + functionalities?: Array | null | undefined; + /** + * Services related to this environment + */ + services?: Array | null | undefined; }; /** @internal */ @@ -71,6 +91,9 @@ export const EnvironmentEntryEntity$inboundSchema: z.ZodType< active_incidents: z.nullable(z.array(z.string())).optional(), external_resources: z.nullable(z.array(ExternalResourceEntity$inboundSchema)) .optional(), + functionalities: z.nullable(z.array(FunctionalityEntityLite$inboundSchema)) + .optional(), + services: z.nullable(z.array(ServiceEntityLite$inboundSchema)).optional(), }).transform((v) => { return remap$(v, { "updated_at": "updatedAt", @@ -92,6 +115,8 @@ export type EnvironmentEntryEntity$Outbound = { | Array | null | undefined; + functionalities?: Array | null | undefined; + services?: Array | null | undefined; }; /** @internal */ @@ -109,6 +134,9 @@ export const EnvironmentEntryEntity$outboundSchema: z.ZodType< activeIncidents: z.nullable(z.array(z.string())).optional(), externalResources: z.nullable(z.array(ExternalResourceEntity$outboundSchema)) .optional(), + functionalities: z.nullable(z.array(FunctionalityEntityLite$outboundSchema)) + .optional(), + services: z.nullable(z.array(ServiceEntityLite$outboundSchema)).optional(), }).transform((v) => { return remap$(v, { updatedAt: "updated_at", diff --git a/src/models/components/functionalityentity.ts b/src/models/components/functionalityentity.ts index 7a5ed69e..3516e6e5 100644 --- a/src/models/components/functionalityentity.ts +++ b/src/models/components/functionalityentity.ts @@ -7,6 +7,12 @@ import { remap as remap$ } from "../../lib/primitives.js"; import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + EnvironmentEntryEntity, + EnvironmentEntryEntity$inboundSchema, + EnvironmentEntryEntity$Outbound, + EnvironmentEntryEntity$outboundSchema, +} from "./environmententryentity.js"; import { ExternalResourceEntity, ExternalResourceEntity$inboundSchema, @@ -78,6 +84,10 @@ export type FunctionalityEntity = { * Services this functionality provides */ services?: Array | null | undefined; + /** + * Environments related to this functionality + */ + environments?: Array | null | undefined; /** * Information about known linkages to representations of services outside of FireHydrant. */ @@ -113,6 +123,8 @@ export const FunctionalityEntity$inboundSchema: z.ZodType< auto_add_responding_team: z.nullable(z.boolean()).optional(), updated_by: z.nullable(NullableAuthorEntity$inboundSchema).optional(), services: z.nullable(z.array(ServiceEntityLite$inboundSchema)).optional(), + environments: z.nullable(z.array(EnvironmentEntryEntity$inboundSchema)) + .optional(), external_resources: z.nullable(z.array(ExternalResourceEntity$inboundSchema)) .optional(), teams: z.nullable(z.array(TeamEntityLite$inboundSchema)).optional(), @@ -145,6 +157,7 @@ export type FunctionalityEntity$Outbound = { auto_add_responding_team?: boolean | null | undefined; updated_by?: NullableAuthorEntity$Outbound | null | undefined; services?: Array | null | undefined; + environments?: Array | null | undefined; external_resources?: | Array | null @@ -173,6 +186,8 @@ export const FunctionalityEntity$outboundSchema: z.ZodType< autoAddRespondingTeam: z.nullable(z.boolean()).optional(), updatedBy: z.nullable(NullableAuthorEntity$outboundSchema).optional(), services: z.nullable(z.array(ServiceEntityLite$outboundSchema)).optional(), + environments: z.nullable(z.array(EnvironmentEntryEntity$outboundSchema)) + .optional(), externalResources: z.nullable(z.array(ExternalResourceEntity$outboundSchema)) .optional(), teams: z.nullable(z.array(TeamEntityLite$outboundSchema)).optional(), diff --git a/src/models/components/functionalityentitylitepaginated.ts b/src/models/components/functionalityentitylitepaginated.ts new file mode 100644 index 00000000..19cc7dbb --- /dev/null +++ b/src/models/components/functionalityentitylitepaginated.ts @@ -0,0 +1,72 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + FunctionalityEntityLite, + FunctionalityEntityLite$inboundSchema, + FunctionalityEntityLite$Outbound, + FunctionalityEntityLite$outboundSchema, +} from "./functionalityentitylite.js"; +import { + NullablePaginationEntity, + NullablePaginationEntity$inboundSchema, + NullablePaginationEntity$Outbound, + NullablePaginationEntity$outboundSchema, +} from "./nullablepaginationentity.js"; + +/** + * FunctionalityEntityLitePaginated model + */ +export type FunctionalityEntityLitePaginated = { + data?: Array | null | undefined; + pagination?: NullablePaginationEntity | null | undefined; +}; + +/** @internal */ +export const FunctionalityEntityLitePaginated$inboundSchema: z.ZodType< + FunctionalityEntityLitePaginated, + z.ZodTypeDef, + unknown +> = z.object({ + data: z.nullable(z.array(FunctionalityEntityLite$inboundSchema)).optional(), + pagination: z.nullable(NullablePaginationEntity$inboundSchema).optional(), +}); +/** @internal */ +export type FunctionalityEntityLitePaginated$Outbound = { + data?: Array | null | undefined; + pagination?: NullablePaginationEntity$Outbound | null | undefined; +}; + +/** @internal */ +export const FunctionalityEntityLitePaginated$outboundSchema: z.ZodType< + FunctionalityEntityLitePaginated$Outbound, + z.ZodTypeDef, + FunctionalityEntityLitePaginated +> = z.object({ + data: z.nullable(z.array(FunctionalityEntityLite$outboundSchema)).optional(), + pagination: z.nullable(NullablePaginationEntity$outboundSchema).optional(), +}); + +export function functionalityEntityLitePaginatedToJSON( + functionalityEntityLitePaginated: FunctionalityEntityLitePaginated, +): string { + return JSON.stringify( + FunctionalityEntityLitePaginated$outboundSchema.parse( + functionalityEntityLitePaginated, + ), + ); +} +export function functionalityEntityLitePaginatedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FunctionalityEntityLitePaginated$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FunctionalityEntityLitePaginated' from JSON`, + ); +} diff --git a/src/models/components/incidententity.ts b/src/models/components/incidententity.ts index 025eda27..c0e1f97e 100644 --- a/src/models/components/incidententity.ts +++ b/src/models/components/incidententity.ts @@ -221,6 +221,9 @@ export type IncidentEntity = { lastUpdate?: string | null | undefined; lastNote?: NullableEventNoteEntity | null | undefined; reportId?: string | null | undefined; + /** + * DEPRECATED: this field is deprecated and will be removed in a future version. Please use the `/v1/audiences/summaries/:incident_id` endpoint instead. + */ aiIncidentSummary?: string | null | undefined; services?: Array | null | undefined; environments?: Array | null | undefined; diff --git a/src/models/components/incidentsretrospectivefieldentity.ts b/src/models/components/incidentsretrospectivefieldentity.ts index d62d9596..177ad37c 100644 --- a/src/models/components/incidentsretrospectivefieldentity.ts +++ b/src/models/components/incidentsretrospectivefieldentity.ts @@ -36,6 +36,7 @@ export type IncidentsRetrospectiveFieldEntity = { permissibleValues?: Array | null | undefined; isRequired?: boolean | null | undefined; value?: string | null | undefined; + retrospectiveFieldId?: string | null | undefined; schema?: Array | null | undefined; requiredAtMilestoneId?: string | null | undefined; }; @@ -90,6 +91,7 @@ export const IncidentsRetrospectiveFieldEntity$inboundSchema: z.ZodType< permissible_values: z.nullable(z.array(z.string())).optional(), is_required: z.nullable(z.boolean()).optional(), value: z.nullable(z.string()).optional(), + retrospective_field_id: z.nullable(z.string()).optional(), schema: z.nullable(z.array(z.lazy(() => Schema$inboundSchema))).optional(), required_at_milestone_id: z.nullable(z.string()).optional(), }).transform((v) => { @@ -97,6 +99,7 @@ export const IncidentsRetrospectiveFieldEntity$inboundSchema: z.ZodType< "help_text": "helpText", "permissible_values": "permissibleValues", "is_required": "isRequired", + "retrospective_field_id": "retrospectiveFieldId", "required_at_milestone_id": "requiredAtMilestoneId", }); }); @@ -109,6 +112,7 @@ export type IncidentsRetrospectiveFieldEntity$Outbound = { permissible_values?: Array | null | undefined; is_required?: boolean | null | undefined; value?: string | null | undefined; + retrospective_field_id?: string | null | undefined; schema?: Array | null | undefined; required_at_milestone_id?: string | null | undefined; }; @@ -127,6 +131,7 @@ export const IncidentsRetrospectiveFieldEntity$outboundSchema: z.ZodType< permissibleValues: z.nullable(z.array(z.string())).optional(), isRequired: z.nullable(z.boolean()).optional(), value: z.nullable(z.string()).optional(), + retrospectiveFieldId: z.nullable(z.string()).optional(), schema: z.nullable(z.array(z.lazy(() => Schema$outboundSchema))).optional(), requiredAtMilestoneId: z.nullable(z.string()).optional(), }).transform((v) => { @@ -134,6 +139,7 @@ export const IncidentsRetrospectiveFieldEntity$outboundSchema: z.ZodType< helpText: "help_text", permissibleValues: "permissible_values", isRequired: "is_required", + retrospectiveFieldId: "retrospective_field_id", requiredAtMilestoneId: "required_at_milestone_id", }); }); diff --git a/src/models/components/index.ts b/src/models/components/index.ts index 260ff17e..33f0c119 100644 --- a/src/models/components/index.ts +++ b/src/models/components/index.ts @@ -16,6 +16,7 @@ export * from "./attachmentslinkentitypaginated.js"; export * from "./attachmentstypedattachmententity.js"; export * from "./attachmentstypedattachmententitypaginated.js"; export * from "./audiencesentitiesaudienceentity.js"; +export * from "./audiencesentitiesaudienceentitypaginated.js"; export * from "./audiencesentitiesaudiencesummariesentity.js"; export * from "./audiencesentitiesdetailentity.js"; export * from "./authorentity.js"; @@ -80,6 +81,7 @@ export * from "./createseveritymatriximpact.js"; export * from "./createsignalsalertgroupingconfiguration.js"; export * from "./createsignalsemailtarget.js"; export * from "./createsignalseventsource.js"; +export * from "./createsignalsheartbeatendpointconfiguration.js"; export * from "./createsignalspage.js"; export * from "./createsignalswebhooktarget.js"; export * from "./createstatusupdatetemplate.js"; @@ -108,6 +110,7 @@ export * from "./fieldmappingmappablefieldentity.js"; export * from "./formconfigurationentity.js"; export * from "./functionalityentity.js"; export * from "./functionalityentitylite.js"; +export * from "./functionalityentitylitepaginated.js"; export * from "./functionalityentitypaginated.js"; export * from "./functionalitywithallservicesentity.js"; export * from "./importsimportentity.js"; @@ -225,7 +228,6 @@ export * from "./nullablerulesruleentity.js"; export * from "./nullablerunbooksactionconfigentity.js"; export * from "./nullablerunbooksactionsentity.js"; export * from "./nullablerunbookselementdynamicselectentity.js"; -export * from "./nullablerunbookselementdynamicselectentityselectoptionentity.js"; export * from "./nullablerunbookselementinputentity.js"; export * from "./nullablerunbookselementmarkdownentity.js"; export * from "./nullablerunbookselementtextareaentity.js"; @@ -242,6 +244,7 @@ export * from "./nullablesignalsapianalyticsmttxmetricsentitymetricentity.js"; export * from "./nullablesignalsapianalyticsnoisemetricsentitymetricentity.js"; export * from "./nullablesignalsapianalyticstimeseriespointentitymetricentity.js"; export * from "./nullablesignalsapicallroutestepentity.js"; +export * from "./nullablesignalsapidestinationentity.js"; export * from "./nullablesignalsapiescalationpolicyhandoffstepentity.js"; export * from "./nullablesignalsapigroupingentityactionentity.js"; export * from "./nullablesignalsapigroupingentityactionentityfyientity.js"; @@ -300,8 +303,6 @@ export * from "./reportsdatapointentity.js"; export * from "./retrospectivesfieldentity.js"; export * from "./retrospectivesindextemplateentity.js"; export * from "./retrospectivesindextemplateentitypaginated.js"; -export * from "./retrospectivesreporttemplateentity.js"; -export * from "./retrospectivesreporttemplateentityelemententity.js"; export * from "./retrospectivestemplateentity.js"; export * from "./retrospectivestemplateentityincidentsectionentity.js"; export * from "./retrospectivestemplateentityreportelemententity.js"; @@ -326,6 +327,7 @@ export * from "./servicedependencyentity.js"; export * from "./serviceentity.js"; export * from "./serviceentitychecklist.js"; export * from "./serviceentitylite.js"; +export * from "./serviceentitylitepaginated.js"; export * from "./serviceentitypaginated.js"; export * from "./servicelinkentity.js"; export * from "./serviceparentdependencyentity.js"; @@ -371,10 +373,13 @@ export * from "./signalsapiruleentitypaginated.js"; export * from "./signalsapitargetentity.js"; export * from "./signalsapitransposerentity.js"; export * from "./signalsapitransposerlistentity.js"; +export * from "./signalsapiusernotificationsettingentity.js"; +export * from "./signalsapiusernotificationsettingentitypaginated.js"; export * from "./signalsapiwebhooktargetentity.js"; export * from "./signalsapiwebhooktargetentitypaginated.js"; export * from "./similarincidententitypaginated.js"; export * from "./slimrunbookentity.js"; +export * from "./slimrunbookentitypaginated.js"; export * from "./statusupdatetemplateentity.js"; export * from "./succinctentity.js"; export * from "./tagentity.js"; @@ -446,6 +451,7 @@ export * from "./updateseveritymatriximpact.js"; export * from "./updatesignalsalert.js"; export * from "./updatesignalsalertgroupingconfiguration.js"; export * from "./updatesignalsemailtarget.js"; +export * from "./updatesignalsheartbeatendpointconfiguration.js"; export * from "./updatesignalswebhooktarget.js"; export * from "./updatestatuspageconnection.js"; export * from "./updatestatusupdatetemplate.js"; @@ -462,4 +468,7 @@ export * from "./updatewebhook.js"; export * from "./userentity.js"; export * from "./userentitypaginated.js"; export * from "./votesentity.js"; +export * from "./webhooksentitiesdeliveryentity.js"; +export * from "./webhooksentitiesdeliveryentitypaginated.js"; export * from "./webhooksentitieswebhookentity.js"; +export * from "./webhooksentitieswebhookentitypaginated.js"; diff --git a/src/models/components/nullableincidententity.ts b/src/models/components/nullableincidententity.ts index 63a2ac26..7896a709 100644 --- a/src/models/components/nullableincidententity.ts +++ b/src/models/components/nullableincidententity.ts @@ -221,6 +221,9 @@ export type NullableIncidentEntity = { lastUpdate?: string | null | undefined; lastNote?: NullableEventNoteEntity | null | undefined; reportId?: string | null | undefined; + /** + * DEPRECATED: this field is deprecated and will be removed in a future version. Please use the `/v1/audiences/summaries/:incident_id` endpoint instead. + */ aiIncidentSummary?: string | null | undefined; services?: Array | null | undefined; environments?: Array | null | undefined; diff --git a/src/models/components/nullablerulesruleentity.ts b/src/models/components/nullablerulesruleentity.ts index ce30d2b4..6ca31083 100644 --- a/src/models/components/nullablerulesruleentity.ts +++ b/src/models/components/nullablerulesruleentity.ts @@ -14,21 +14,62 @@ import { NullableFHTypesGenericEntity$outboundSchema, } from "./nullablefhtypesgenericentity.js"; +/** + * An unstructured object of key/value pairs describing the logic for applying the rule. + */ +export type NullableRulesRuleEntityLogic = {}; + export type NullableRulesRuleEntity = { /** - * JSON stringified object of key/value pairs describing the logic for applying the rule. + * An unstructured object of key/value pairs describing the logic for applying the rule. */ - logic?: string | null | undefined; + logic?: NullableRulesRuleEntityLogic | null | undefined; userData?: NullableFHTypesGenericEntity | null | undefined; }; +/** @internal */ +export const NullableRulesRuleEntityLogic$inboundSchema: z.ZodType< + NullableRulesRuleEntityLogic, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type NullableRulesRuleEntityLogic$Outbound = {}; + +/** @internal */ +export const NullableRulesRuleEntityLogic$outboundSchema: z.ZodType< + NullableRulesRuleEntityLogic$Outbound, + z.ZodTypeDef, + NullableRulesRuleEntityLogic +> = z.object({}); + +export function nullableRulesRuleEntityLogicToJSON( + nullableRulesRuleEntityLogic: NullableRulesRuleEntityLogic, +): string { + return JSON.stringify( + NullableRulesRuleEntityLogic$outboundSchema.parse( + nullableRulesRuleEntityLogic, + ), + ); +} +export function nullableRulesRuleEntityLogicFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => NullableRulesRuleEntityLogic$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'NullableRulesRuleEntityLogic' from JSON`, + ); +} + /** @internal */ export const NullableRulesRuleEntity$inboundSchema: z.ZodType< NullableRulesRuleEntity, z.ZodTypeDef, unknown > = z.object({ - logic: z.nullable(z.string()).optional(), + logic: z.nullable(z.lazy(() => NullableRulesRuleEntityLogic$inboundSchema)) + .optional(), user_data: z.nullable(NullableFHTypesGenericEntity$inboundSchema).optional(), }).transform((v) => { return remap$(v, { @@ -37,7 +78,7 @@ export const NullableRulesRuleEntity$inboundSchema: z.ZodType< }); /** @internal */ export type NullableRulesRuleEntity$Outbound = { - logic?: string | null | undefined; + logic?: NullableRulesRuleEntityLogic$Outbound | null | undefined; user_data?: NullableFHTypesGenericEntity$Outbound | null | undefined; }; @@ -47,7 +88,8 @@ export const NullableRulesRuleEntity$outboundSchema: z.ZodType< z.ZodTypeDef, NullableRulesRuleEntity > = z.object({ - logic: z.nullable(z.string()).optional(), + logic: z.nullable(z.lazy(() => NullableRulesRuleEntityLogic$outboundSchema)) + .optional(), userData: z.nullable(NullableFHTypesGenericEntity$outboundSchema).optional(), }).transform((v) => { return remap$(v, { diff --git a/src/models/components/nullablerunbookselementdynamicselectentity.ts b/src/models/components/nullablerunbookselementdynamicselectentity.ts index e05dfe5b..f69c0e16 100644 --- a/src/models/components/nullablerunbookselementdynamicselectentity.ts +++ b/src/models/components/nullablerunbookselementdynamicselectentity.ts @@ -7,12 +7,6 @@ import { remap as remap$ } from "../../lib/primitives.js"; import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { - NullableRunbooksElementDynamicSelectEntitySelectOptionEntity, - NullableRunbooksElementDynamicSelectEntitySelectOptionEntity$inboundSchema, - NullableRunbooksElementDynamicSelectEntitySelectOptionEntity$Outbound, - NullableRunbooksElementDynamicSelectEntitySelectOptionEntity$outboundSchema, -} from "./nullablerunbookselementdynamicselectentityselectoptionentity.js"; import { RunbooksElementDynamicSelectEntitySelectOptionEntity, RunbooksElementDynamicSelectEntitySelectOptionEntity$inboundSchema, @@ -27,10 +21,6 @@ export type NullableRunbooksElementDynamicSelectEntity = { required?: boolean | null | undefined; clearable?: boolean | null | undefined; isMulti?: boolean | null | undefined; - defaultValue?: - | NullableRunbooksElementDynamicSelectEntitySelectOptionEntity - | null - | undefined; options?: | Array | null @@ -47,9 +37,6 @@ export const NullableRunbooksElementDynamicSelectEntity$inboundSchema: required: z.nullable(z.boolean()).optional(), clearable: z.nullable(z.boolean()).optional(), is_multi: z.nullable(z.boolean()).optional(), - default_value: z.nullable( - NullableRunbooksElementDynamicSelectEntitySelectOptionEntity$inboundSchema, - ).optional(), options: z.nullable( z.array( RunbooksElementDynamicSelectEntitySelectOptionEntity$inboundSchema, @@ -59,7 +46,6 @@ export const NullableRunbooksElementDynamicSelectEntity$inboundSchema: return remap$(v, { "async_url": "asyncUrl", "is_multi": "isMulti", - "default_value": "defaultValue", }); }); /** @internal */ @@ -70,10 +56,6 @@ export type NullableRunbooksElementDynamicSelectEntity$Outbound = { required?: boolean | null | undefined; clearable?: boolean | null | undefined; is_multi?: boolean | null | undefined; - default_value?: - | NullableRunbooksElementDynamicSelectEntitySelectOptionEntity$Outbound - | null - | undefined; options?: | Array | null @@ -93,9 +75,6 @@ export const NullableRunbooksElementDynamicSelectEntity$outboundSchema: required: z.nullable(z.boolean()).optional(), clearable: z.nullable(z.boolean()).optional(), isMulti: z.nullable(z.boolean()).optional(), - defaultValue: z.nullable( - NullableRunbooksElementDynamicSelectEntitySelectOptionEntity$outboundSchema, - ).optional(), options: z.nullable( z.array( RunbooksElementDynamicSelectEntitySelectOptionEntity$outboundSchema, @@ -105,7 +84,6 @@ export const NullableRunbooksElementDynamicSelectEntity$outboundSchema: return remap$(v, { asyncUrl: "async_url", isMulti: "is_multi", - defaultValue: "default_value", }); }); diff --git a/src/models/components/nullablerunbookselementdynamicselectentityselectoptionentity.ts b/src/models/components/nullablerunbookselementdynamicselectentityselectoptionentity.ts deleted file mode 100644 index f211f6a4..00000000 --- a/src/models/components/nullablerunbookselementdynamicselectentityselectoptionentity.ts +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type NullableRunbooksElementDynamicSelectEntitySelectOptionEntity = { - label?: string | null | undefined; - value?: string | null | undefined; -}; - -/** @internal */ -export const NullableRunbooksElementDynamicSelectEntitySelectOptionEntity$inboundSchema: - z.ZodType< - NullableRunbooksElementDynamicSelectEntitySelectOptionEntity, - z.ZodTypeDef, - unknown - > = z.object({ - label: z.nullable(z.string()).optional(), - value: z.nullable(z.string()).optional(), - }); -/** @internal */ -export type NullableRunbooksElementDynamicSelectEntitySelectOptionEntity$Outbound = - { - label?: string | null | undefined; - value?: string | null | undefined; - }; - -/** @internal */ -export const NullableRunbooksElementDynamicSelectEntitySelectOptionEntity$outboundSchema: - z.ZodType< - NullableRunbooksElementDynamicSelectEntitySelectOptionEntity$Outbound, - z.ZodTypeDef, - NullableRunbooksElementDynamicSelectEntitySelectOptionEntity - > = z.object({ - label: z.nullable(z.string()).optional(), - value: z.nullable(z.string()).optional(), - }); - -export function nullableRunbooksElementDynamicSelectEntitySelectOptionEntityToJSON( - nullableRunbooksElementDynamicSelectEntitySelectOptionEntity: - NullableRunbooksElementDynamicSelectEntitySelectOptionEntity, -): string { - return JSON.stringify( - NullableRunbooksElementDynamicSelectEntitySelectOptionEntity$outboundSchema - .parse(nullableRunbooksElementDynamicSelectEntitySelectOptionEntity), - ); -} -export function nullableRunbooksElementDynamicSelectEntitySelectOptionEntityFromJSON( - jsonString: string, -): SafeParseResult< - NullableRunbooksElementDynamicSelectEntitySelectOptionEntity, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - NullableRunbooksElementDynamicSelectEntitySelectOptionEntity$inboundSchema - .parse(JSON.parse(x)), - `Failed to parse 'NullableRunbooksElementDynamicSelectEntitySelectOptionEntity' from JSON`, - ); -} diff --git a/src/models/components/nullableserviceentity.ts b/src/models/components/nullableserviceentity.ts index 8a751d7d..fe2c8c1e 100644 --- a/src/models/components/nullableserviceentity.ts +++ b/src/models/components/nullableserviceentity.ts @@ -13,6 +13,12 @@ import { ChecklistTemplateEntity$Outbound, ChecklistTemplateEntity$outboundSchema, } from "./checklisttemplateentity.js"; +import { + EnvironmentEntryEntity, + EnvironmentEntryEntity$inboundSchema, + EnvironmentEntryEntity$Outbound, + EnvironmentEntryEntity$outboundSchema, +} from "./environmententryentity.js"; import { ExternalResourceEntity, ExternalResourceEntity$inboundSchema, @@ -96,6 +102,10 @@ export type NullableServiceEntity = { * List of functionalities attached to the service */ functionalities?: Array | null | undefined; + /** + * Environments related to this service + */ + environments?: Array | null | undefined; lastImport?: NullableImportsImportableResourceEntity | null | undefined; /** * List of links attached to this service. @@ -184,6 +194,8 @@ export const NullableServiceEntity$inboundSchema: z.ZodType< .optional(), functionalities: z.nullable(z.array(FunctionalityEntity$inboundSchema)) .optional(), + environments: z.nullable(z.array(EnvironmentEntryEntity$inboundSchema)) + .optional(), last_import: z.nullable(NullableImportsImportableResourceEntity$inboundSchema) .optional(), links: z.nullable(z.array(LinksEntity$inboundSchema)).optional(), @@ -236,6 +248,7 @@ export type NullableServiceEntity$Outbound = { | null | undefined; functionalities?: Array | null | undefined; + environments?: Array | null | undefined; last_import?: | NullableImportsImportableResourceEntity$Outbound | null @@ -277,6 +290,8 @@ export const NullableServiceEntity$outboundSchema: z.ZodType< .optional(), functionalities: z.nullable(z.array(FunctionalityEntity$outboundSchema)) .optional(), + environments: z.nullable(z.array(EnvironmentEntryEntity$outboundSchema)) + .optional(), lastImport: z.nullable(NullableImportsImportableResourceEntity$outboundSchema) .optional(), links: z.nullable(z.array(LinksEntity$outboundSchema)).optional(), diff --git a/src/models/components/nullablesignalsapidestinationentity.ts b/src/models/components/nullablesignalsapidestinationentity.ts new file mode 100644 index 00000000..0de4dc19 --- /dev/null +++ b/src/models/components/nullablesignalsapidestinationentity.ts @@ -0,0 +1,66 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type NullableSignalsAPIDestinationEntity = { + id?: string | null | undefined; + type?: string | null | undefined; + label?: string | null | undefined; + value?: string | null | undefined; +}; + +/** @internal */ +export const NullableSignalsAPIDestinationEntity$inboundSchema: z.ZodType< + NullableSignalsAPIDestinationEntity, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.nullable(z.string()).optional(), + type: z.nullable(z.string()).optional(), + label: z.nullable(z.string()).optional(), + value: z.nullable(z.string()).optional(), +}); +/** @internal */ +export type NullableSignalsAPIDestinationEntity$Outbound = { + id?: string | null | undefined; + type?: string | null | undefined; + label?: string | null | undefined; + value?: string | null | undefined; +}; + +/** @internal */ +export const NullableSignalsAPIDestinationEntity$outboundSchema: z.ZodType< + NullableSignalsAPIDestinationEntity$Outbound, + z.ZodTypeDef, + NullableSignalsAPIDestinationEntity +> = z.object({ + id: z.nullable(z.string()).optional(), + type: z.nullable(z.string()).optional(), + label: z.nullable(z.string()).optional(), + value: z.nullable(z.string()).optional(), +}); + +export function nullableSignalsAPIDestinationEntityToJSON( + nullableSignalsAPIDestinationEntity: NullableSignalsAPIDestinationEntity, +): string { + return JSON.stringify( + NullableSignalsAPIDestinationEntity$outboundSchema.parse( + nullableSignalsAPIDestinationEntity, + ), + ); +} +export function nullableSignalsAPIDestinationEntityFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + NullableSignalsAPIDestinationEntity$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'NullableSignalsAPIDestinationEntity' from JSON`, + ); +} diff --git a/src/models/components/retrospectivesreporttemplateentity.ts b/src/models/components/retrospectivesreporttemplateentity.ts deleted file mode 100644 index cf271e7c..00000000 --- a/src/models/components/retrospectivesreporttemplateentity.ts +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { - RetrospectivesReportTemplateEntityElementEntity, - RetrospectivesReportTemplateEntityElementEntity$inboundSchema, - RetrospectivesReportTemplateEntityElementEntity$Outbound, - RetrospectivesReportTemplateEntityElementEntity$outboundSchema, -} from "./retrospectivesreporttemplateentityelemententity.js"; - -/** - * Retrospectives_ReportTemplateEntity model - */ -export type RetrospectivesReportTemplateEntity = { - id?: string | null | undefined; - name?: string | null | undefined; - description?: string | null | undefined; - isDefault?: boolean | null | undefined; - elements?: - | Array - | null - | undefined; - retrospectiveTemplateId?: string | null | undefined; - createdAt?: Date | null | undefined; - updatedAt?: Date | null | undefined; -}; - -/** @internal */ -export const RetrospectivesReportTemplateEntity$inboundSchema: z.ZodType< - RetrospectivesReportTemplateEntity, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.nullable(z.string()).optional(), - name: z.nullable(z.string()).optional(), - description: z.nullable(z.string()).optional(), - is_default: z.nullable(z.boolean()).optional(), - elements: z.nullable( - z.array(RetrospectivesReportTemplateEntityElementEntity$inboundSchema), - ).optional(), - retrospective_template_id: z.nullable(z.string()).optional(), - created_at: z.nullable( - z.string().datetime({ offset: true }).transform(v => new Date(v)), - ).optional(), - updated_at: z.nullable( - z.string().datetime({ offset: true }).transform(v => new Date(v)), - ).optional(), -}).transform((v) => { - return remap$(v, { - "is_default": "isDefault", - "retrospective_template_id": "retrospectiveTemplateId", - "created_at": "createdAt", - "updated_at": "updatedAt", - }); -}); -/** @internal */ -export type RetrospectivesReportTemplateEntity$Outbound = { - id?: string | null | undefined; - name?: string | null | undefined; - description?: string | null | undefined; - is_default?: boolean | null | undefined; - elements?: - | Array - | null - | undefined; - retrospective_template_id?: string | null | undefined; - created_at?: string | null | undefined; - updated_at?: string | null | undefined; -}; - -/** @internal */ -export const RetrospectivesReportTemplateEntity$outboundSchema: z.ZodType< - RetrospectivesReportTemplateEntity$Outbound, - z.ZodTypeDef, - RetrospectivesReportTemplateEntity -> = z.object({ - id: z.nullable(z.string()).optional(), - name: z.nullable(z.string()).optional(), - description: z.nullable(z.string()).optional(), - isDefault: z.nullable(z.boolean()).optional(), - elements: z.nullable( - z.array(RetrospectivesReportTemplateEntityElementEntity$outboundSchema), - ).optional(), - retrospectiveTemplateId: z.nullable(z.string()).optional(), - createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), - updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), -}).transform((v) => { - return remap$(v, { - isDefault: "is_default", - retrospectiveTemplateId: "retrospective_template_id", - createdAt: "created_at", - updatedAt: "updated_at", - }); -}); - -export function retrospectivesReportTemplateEntityToJSON( - retrospectivesReportTemplateEntity: RetrospectivesReportTemplateEntity, -): string { - return JSON.stringify( - RetrospectivesReportTemplateEntity$outboundSchema.parse( - retrospectivesReportTemplateEntity, - ), - ); -} -export function retrospectivesReportTemplateEntityFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - RetrospectivesReportTemplateEntity$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RetrospectivesReportTemplateEntity' from JSON`, - ); -} diff --git a/src/models/components/retrospectivesreporttemplateentityelemententity.ts b/src/models/components/retrospectivesreporttemplateentityelemententity.ts deleted file mode 100644 index 00ca465c..00000000 --- a/src/models/components/retrospectivesreporttemplateentityelemententity.ts +++ /dev/null @@ -1,138 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type RetrospectivesReportTemplateEntityElementEntityContent = {}; - -export type RetrospectivesReportTemplateEntityElementEntity = { - type?: string | null | undefined; - data?: string | null | undefined; - id?: string | null | undefined; - label?: string | null | undefined; - content?: - | RetrospectivesReportTemplateEntityElementEntityContent - | null - | undefined; -}; - -/** @internal */ -export const RetrospectivesReportTemplateEntityElementEntityContent$inboundSchema: - z.ZodType< - RetrospectivesReportTemplateEntityElementEntityContent, - z.ZodTypeDef, - unknown - > = z.object({}); -/** @internal */ -export type RetrospectivesReportTemplateEntityElementEntityContent$Outbound = - {}; - -/** @internal */ -export const RetrospectivesReportTemplateEntityElementEntityContent$outboundSchema: - z.ZodType< - RetrospectivesReportTemplateEntityElementEntityContent$Outbound, - z.ZodTypeDef, - RetrospectivesReportTemplateEntityElementEntityContent - > = z.object({}); - -export function retrospectivesReportTemplateEntityElementEntityContentToJSON( - retrospectivesReportTemplateEntityElementEntityContent: - RetrospectivesReportTemplateEntityElementEntityContent, -): string { - return JSON.stringify( - RetrospectivesReportTemplateEntityElementEntityContent$outboundSchema.parse( - retrospectivesReportTemplateEntityElementEntityContent, - ), - ); -} -export function retrospectivesReportTemplateEntityElementEntityContentFromJSON( - jsonString: string, -): SafeParseResult< - RetrospectivesReportTemplateEntityElementEntityContent, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - RetrospectivesReportTemplateEntityElementEntityContent$inboundSchema - .parse(JSON.parse(x)), - `Failed to parse 'RetrospectivesReportTemplateEntityElementEntityContent' from JSON`, - ); -} - -/** @internal */ -export const RetrospectivesReportTemplateEntityElementEntity$inboundSchema: - z.ZodType< - RetrospectivesReportTemplateEntityElementEntity, - z.ZodTypeDef, - unknown - > = z.object({ - type: z.nullable(z.string()).optional(), - data: z.nullable(z.string()).optional(), - id: z.nullable(z.string()).optional(), - label: z.nullable(z.string()).optional(), - content: z.nullable( - z.lazy(() => - RetrospectivesReportTemplateEntityElementEntityContent$inboundSchema - ), - ).optional(), - }); -/** @internal */ -export type RetrospectivesReportTemplateEntityElementEntity$Outbound = { - type?: string | null | undefined; - data?: string | null | undefined; - id?: string | null | undefined; - label?: string | null | undefined; - content?: - | RetrospectivesReportTemplateEntityElementEntityContent$Outbound - | null - | undefined; -}; - -/** @internal */ -export const RetrospectivesReportTemplateEntityElementEntity$outboundSchema: - z.ZodType< - RetrospectivesReportTemplateEntityElementEntity$Outbound, - z.ZodTypeDef, - RetrospectivesReportTemplateEntityElementEntity - > = z.object({ - type: z.nullable(z.string()).optional(), - data: z.nullable(z.string()).optional(), - id: z.nullable(z.string()).optional(), - label: z.nullable(z.string()).optional(), - content: z.nullable( - z.lazy(() => - RetrospectivesReportTemplateEntityElementEntityContent$outboundSchema - ), - ).optional(), - }); - -export function retrospectivesReportTemplateEntityElementEntityToJSON( - retrospectivesReportTemplateEntityElementEntity: - RetrospectivesReportTemplateEntityElementEntity, -): string { - return JSON.stringify( - RetrospectivesReportTemplateEntityElementEntity$outboundSchema.parse( - retrospectivesReportTemplateEntityElementEntity, - ), - ); -} -export function retrospectivesReportTemplateEntityElementEntityFromJSON( - jsonString: string, -): SafeParseResult< - RetrospectivesReportTemplateEntityElementEntity, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - RetrospectivesReportTemplateEntityElementEntity$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'RetrospectivesReportTemplateEntityElementEntity' from JSON`, - ); -} diff --git a/src/models/components/retrospectivestemplateentityreportelemententity.ts b/src/models/components/retrospectivestemplateentityreportelemententity.ts index 9bc5c9bc..22a64f9b 100644 --- a/src/models/components/retrospectivestemplateentityreportelemententity.ts +++ b/src/models/components/retrospectivestemplateentityreportelemententity.ts @@ -3,64 +3,45 @@ */ import * as z from "zod/v3"; +import { remap as remap$ } from "../../lib/primitives.js"; import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -export type RetrospectivesTemplateEntityReportElementEntityContent = {}; +export type Content = {}; export type RetrospectivesTemplateEntityReportElementEntity = { type?: string | null | undefined; data?: string | null | undefined; id?: string | null | undefined; + fieldId?: string | null | undefined; label?: string | null | undefined; - content?: - | RetrospectivesTemplateEntityReportElementEntityContent - | null - | undefined; + content?: Content | null | undefined; }; /** @internal */ -export const RetrospectivesTemplateEntityReportElementEntityContent$inboundSchema: - z.ZodType< - RetrospectivesTemplateEntityReportElementEntityContent, - z.ZodTypeDef, - unknown - > = z.object({}); +export const Content$inboundSchema: z.ZodType = + z.object({}); /** @internal */ -export type RetrospectivesTemplateEntityReportElementEntityContent$Outbound = - {}; +export type Content$Outbound = {}; /** @internal */ -export const RetrospectivesTemplateEntityReportElementEntityContent$outboundSchema: - z.ZodType< - RetrospectivesTemplateEntityReportElementEntityContent$Outbound, - z.ZodTypeDef, - RetrospectivesTemplateEntityReportElementEntityContent - > = z.object({}); +export const Content$outboundSchema: z.ZodType< + Content$Outbound, + z.ZodTypeDef, + Content +> = z.object({}); -export function retrospectivesTemplateEntityReportElementEntityContentToJSON( - retrospectivesTemplateEntityReportElementEntityContent: - RetrospectivesTemplateEntityReportElementEntityContent, -): string { - return JSON.stringify( - RetrospectivesTemplateEntityReportElementEntityContent$outboundSchema.parse( - retrospectivesTemplateEntityReportElementEntityContent, - ), - ); +export function contentToJSON(content: Content): string { + return JSON.stringify(Content$outboundSchema.parse(content)); } -export function retrospectivesTemplateEntityReportElementEntityContentFromJSON( +export function contentFromJSON( jsonString: string, -): SafeParseResult< - RetrospectivesTemplateEntityReportElementEntityContent, - SDKValidationError -> { +): SafeParseResult { return safeParse( jsonString, - (x) => - RetrospectivesTemplateEntityReportElementEntityContent$inboundSchema - .parse(JSON.parse(x)), - `Failed to parse 'RetrospectivesTemplateEntityReportElementEntityContent' from JSON`, + (x) => Content$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Content' from JSON`, ); } @@ -74,23 +55,22 @@ export const RetrospectivesTemplateEntityReportElementEntity$inboundSchema: type: z.nullable(z.string()).optional(), data: z.nullable(z.string()).optional(), id: z.nullable(z.string()).optional(), + field_id: z.nullable(z.string()).optional(), label: z.nullable(z.string()).optional(), - content: z.nullable( - z.lazy(() => - RetrospectivesTemplateEntityReportElementEntityContent$inboundSchema - ), - ).optional(), + content: z.nullable(z.lazy(() => Content$inboundSchema)).optional(), + }).transform((v) => { + return remap$(v, { + "field_id": "fieldId", + }); }); /** @internal */ export type RetrospectivesTemplateEntityReportElementEntity$Outbound = { type?: string | null | undefined; data?: string | null | undefined; id?: string | null | undefined; + field_id?: string | null | undefined; label?: string | null | undefined; - content?: - | RetrospectivesTemplateEntityReportElementEntityContent$Outbound - | null - | undefined; + content?: Content$Outbound | null | undefined; }; /** @internal */ @@ -103,12 +83,13 @@ export const RetrospectivesTemplateEntityReportElementEntity$outboundSchema: type: z.nullable(z.string()).optional(), data: z.nullable(z.string()).optional(), id: z.nullable(z.string()).optional(), + fieldId: z.nullable(z.string()).optional(), label: z.nullable(z.string()).optional(), - content: z.nullable( - z.lazy(() => - RetrospectivesTemplateEntityReportElementEntityContent$outboundSchema - ), - ).optional(), + content: z.nullable(z.lazy(() => Content$outboundSchema)).optional(), + }).transform((v) => { + return remap$(v, { + fieldId: "field_id", + }); }); export function retrospectivesTemplateEntityReportElementEntityToJSON( diff --git a/src/models/components/serviceentity.ts b/src/models/components/serviceentity.ts index e026a37d..f862d696 100644 --- a/src/models/components/serviceentity.ts +++ b/src/models/components/serviceentity.ts @@ -13,6 +13,12 @@ import { ChecklistTemplateEntity$Outbound, ChecklistTemplateEntity$outboundSchema, } from "./checklisttemplateentity.js"; +import { + EnvironmentEntryEntity, + EnvironmentEntryEntity$inboundSchema, + EnvironmentEntryEntity$Outbound, + EnvironmentEntryEntity$outboundSchema, +} from "./environmententryentity.js"; import { ExternalResourceEntity, ExternalResourceEntity$inboundSchema, @@ -96,6 +102,10 @@ export type ServiceEntity = { * List of functionalities attached to the service */ functionalities?: Array | null | undefined; + /** + * Environments related to this service + */ + environments?: Array | null | undefined; lastImport?: NullableImportsImportableResourceEntity | null | undefined; /** * List of links attached to this service. @@ -182,6 +192,8 @@ export const ServiceEntity$inboundSchema: z.ZodType< .optional(), functionalities: z.nullable(z.array(FunctionalityEntity$inboundSchema)) .optional(), + environments: z.nullable(z.array(EnvironmentEntryEntity$inboundSchema)) + .optional(), last_import: z.nullable(NullableImportsImportableResourceEntity$inboundSchema) .optional(), links: z.nullable(z.array(LinksEntity$inboundSchema)).optional(), @@ -234,6 +246,7 @@ export type ServiceEntity$Outbound = { | null | undefined; functionalities?: Array | null | undefined; + environments?: Array | null | undefined; last_import?: | NullableImportsImportableResourceEntity$Outbound | null @@ -275,6 +288,8 @@ export const ServiceEntity$outboundSchema: z.ZodType< .optional(), functionalities: z.nullable(z.array(FunctionalityEntity$outboundSchema)) .optional(), + environments: z.nullable(z.array(EnvironmentEntryEntity$outboundSchema)) + .optional(), lastImport: z.nullable(NullableImportsImportableResourceEntity$outboundSchema) .optional(), links: z.nullable(z.array(LinksEntity$outboundSchema)).optional(), diff --git a/src/models/components/serviceentitylitepaginated.ts b/src/models/components/serviceentitylitepaginated.ts new file mode 100644 index 00000000..510734e5 --- /dev/null +++ b/src/models/components/serviceentitylitepaginated.ts @@ -0,0 +1,70 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + NullablePaginationEntity, + NullablePaginationEntity$inboundSchema, + NullablePaginationEntity$Outbound, + NullablePaginationEntity$outboundSchema, +} from "./nullablepaginationentity.js"; +import { + ServiceEntityLite, + ServiceEntityLite$inboundSchema, + ServiceEntityLite$Outbound, + ServiceEntityLite$outboundSchema, +} from "./serviceentitylite.js"; + +/** + * ServiceEntityLitePaginated model + */ +export type ServiceEntityLitePaginated = { + data?: Array | null | undefined; + pagination?: NullablePaginationEntity | null | undefined; +}; + +/** @internal */ +export const ServiceEntityLitePaginated$inboundSchema: z.ZodType< + ServiceEntityLitePaginated, + z.ZodTypeDef, + unknown +> = z.object({ + data: z.nullable(z.array(ServiceEntityLite$inboundSchema)).optional(), + pagination: z.nullable(NullablePaginationEntity$inboundSchema).optional(), +}); +/** @internal */ +export type ServiceEntityLitePaginated$Outbound = { + data?: Array | null | undefined; + pagination?: NullablePaginationEntity$Outbound | null | undefined; +}; + +/** @internal */ +export const ServiceEntityLitePaginated$outboundSchema: z.ZodType< + ServiceEntityLitePaginated$Outbound, + z.ZodTypeDef, + ServiceEntityLitePaginated +> = z.object({ + data: z.nullable(z.array(ServiceEntityLite$outboundSchema)).optional(), + pagination: z.nullable(NullablePaginationEntity$outboundSchema).optional(), +}); + +export function serviceEntityLitePaginatedToJSON( + serviceEntityLitePaginated: ServiceEntityLitePaginated, +): string { + return JSON.stringify( + ServiceEntityLitePaginated$outboundSchema.parse(serviceEntityLitePaginated), + ); +} +export function serviceEntityLitePaginatedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ServiceEntityLitePaginated$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ServiceEntityLitePaginated' from JSON`, + ); +} diff --git a/src/models/components/signalsapiusernotificationsettingentity.ts b/src/models/components/signalsapiusernotificationsettingentity.ts new file mode 100644 index 00000000..0295b77a --- /dev/null +++ b/src/models/components/signalsapiusernotificationsettingentity.ts @@ -0,0 +1,95 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { remap as remap$ } from "../../lib/primitives.js"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + NullableSignalsAPIDestinationEntity, + NullableSignalsAPIDestinationEntity$inboundSchema, + NullableSignalsAPIDestinationEntity$Outbound, + NullableSignalsAPIDestinationEntity$outboundSchema, +} from "./nullablesignalsapidestinationentity.js"; + +export type SignalsAPIUserNotificationSettingEntity = { + id?: string | null | undefined; + notificationType?: string | null | undefined; + delay?: string | null | undefined; + notificationPriority?: string | null | undefined; + destination?: NullableSignalsAPIDestinationEntity | null | undefined; +}; + +/** @internal */ +export const SignalsAPIUserNotificationSettingEntity$inboundSchema: z.ZodType< + SignalsAPIUserNotificationSettingEntity, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.nullable(z.string()).optional(), + notification_type: z.nullable(z.string()).optional(), + delay: z.nullable(z.string()).optional(), + notification_priority: z.nullable(z.string()).optional(), + destination: z.nullable(NullableSignalsAPIDestinationEntity$inboundSchema) + .optional(), +}).transform((v) => { + return remap$(v, { + "notification_type": "notificationType", + "notification_priority": "notificationPriority", + }); +}); +/** @internal */ +export type SignalsAPIUserNotificationSettingEntity$Outbound = { + id?: string | null | undefined; + notification_type?: string | null | undefined; + delay?: string | null | undefined; + notification_priority?: string | null | undefined; + destination?: NullableSignalsAPIDestinationEntity$Outbound | null | undefined; +}; + +/** @internal */ +export const SignalsAPIUserNotificationSettingEntity$outboundSchema: z.ZodType< + SignalsAPIUserNotificationSettingEntity$Outbound, + z.ZodTypeDef, + SignalsAPIUserNotificationSettingEntity +> = z.object({ + id: z.nullable(z.string()).optional(), + notificationType: z.nullable(z.string()).optional(), + delay: z.nullable(z.string()).optional(), + notificationPriority: z.nullable(z.string()).optional(), + destination: z.nullable(NullableSignalsAPIDestinationEntity$outboundSchema) + .optional(), +}).transform((v) => { + return remap$(v, { + notificationType: "notification_type", + notificationPriority: "notification_priority", + }); +}); + +export function signalsAPIUserNotificationSettingEntityToJSON( + signalsAPIUserNotificationSettingEntity: + SignalsAPIUserNotificationSettingEntity, +): string { + return JSON.stringify( + SignalsAPIUserNotificationSettingEntity$outboundSchema.parse( + signalsAPIUserNotificationSettingEntity, + ), + ); +} +export function signalsAPIUserNotificationSettingEntityFromJSON( + jsonString: string, +): SafeParseResult< + SignalsAPIUserNotificationSettingEntity, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + SignalsAPIUserNotificationSettingEntity$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'SignalsAPIUserNotificationSettingEntity' from JSON`, + ); +} diff --git a/src/models/components/signalsapiusernotificationsettingentitypaginated.ts b/src/models/components/signalsapiusernotificationsettingentitypaginated.ts new file mode 100644 index 00000000..a5432150 --- /dev/null +++ b/src/models/components/signalsapiusernotificationsettingentitypaginated.ts @@ -0,0 +1,88 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + NullablePaginationEntity, + NullablePaginationEntity$inboundSchema, + NullablePaginationEntity$Outbound, + NullablePaginationEntity$outboundSchema, +} from "./nullablepaginationentity.js"; +import { + SignalsAPIUserNotificationSettingEntity, + SignalsAPIUserNotificationSettingEntity$inboundSchema, + SignalsAPIUserNotificationSettingEntity$Outbound, + SignalsAPIUserNotificationSettingEntity$outboundSchema, +} from "./signalsapiusernotificationsettingentity.js"; + +/** + * Signals_API_UserNotificationSettingEntityPaginated model + */ +export type SignalsAPIUserNotificationSettingEntityPaginated = { + data?: Array | null | undefined; + pagination?: NullablePaginationEntity | null | undefined; +}; + +/** @internal */ +export const SignalsAPIUserNotificationSettingEntityPaginated$inboundSchema: + z.ZodType< + SignalsAPIUserNotificationSettingEntityPaginated, + z.ZodTypeDef, + unknown + > = z.object({ + data: z.nullable( + z.array(SignalsAPIUserNotificationSettingEntity$inboundSchema), + ).optional(), + pagination: z.nullable(NullablePaginationEntity$inboundSchema).optional(), + }); +/** @internal */ +export type SignalsAPIUserNotificationSettingEntityPaginated$Outbound = { + data?: + | Array + | null + | undefined; + pagination?: NullablePaginationEntity$Outbound | null | undefined; +}; + +/** @internal */ +export const SignalsAPIUserNotificationSettingEntityPaginated$outboundSchema: + z.ZodType< + SignalsAPIUserNotificationSettingEntityPaginated$Outbound, + z.ZodTypeDef, + SignalsAPIUserNotificationSettingEntityPaginated + > = z.object({ + data: z.nullable( + z.array(SignalsAPIUserNotificationSettingEntity$outboundSchema), + ).optional(), + pagination: z.nullable(NullablePaginationEntity$outboundSchema).optional(), + }); + +export function signalsAPIUserNotificationSettingEntityPaginatedToJSON( + signalsAPIUserNotificationSettingEntityPaginated: + SignalsAPIUserNotificationSettingEntityPaginated, +): string { + return JSON.stringify( + SignalsAPIUserNotificationSettingEntityPaginated$outboundSchema.parse( + signalsAPIUserNotificationSettingEntityPaginated, + ), + ); +} +export function signalsAPIUserNotificationSettingEntityPaginatedFromJSON( + jsonString: string, +): SafeParseResult< + SignalsAPIUserNotificationSettingEntityPaginated, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + SignalsAPIUserNotificationSettingEntityPaginated$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'SignalsAPIUserNotificationSettingEntityPaginated' from JSON`, + ); +} diff --git a/src/models/components/slimrunbookentitypaginated.ts b/src/models/components/slimrunbookentitypaginated.ts new file mode 100644 index 00000000..427bfbaa --- /dev/null +++ b/src/models/components/slimrunbookentitypaginated.ts @@ -0,0 +1,70 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + NullablePaginationEntity, + NullablePaginationEntity$inboundSchema, + NullablePaginationEntity$Outbound, + NullablePaginationEntity$outboundSchema, +} from "./nullablepaginationentity.js"; +import { + SlimRunbookEntity, + SlimRunbookEntity$inboundSchema, + SlimRunbookEntity$Outbound, + SlimRunbookEntity$outboundSchema, +} from "./slimrunbookentity.js"; + +/** + * SlimRunbookEntityPaginated model + */ +export type SlimRunbookEntityPaginated = { + data?: Array | null | undefined; + pagination?: NullablePaginationEntity | null | undefined; +}; + +/** @internal */ +export const SlimRunbookEntityPaginated$inboundSchema: z.ZodType< + SlimRunbookEntityPaginated, + z.ZodTypeDef, + unknown +> = z.object({ + data: z.nullable(z.array(SlimRunbookEntity$inboundSchema)).optional(), + pagination: z.nullable(NullablePaginationEntity$inboundSchema).optional(), +}); +/** @internal */ +export type SlimRunbookEntityPaginated$Outbound = { + data?: Array | null | undefined; + pagination?: NullablePaginationEntity$Outbound | null | undefined; +}; + +/** @internal */ +export const SlimRunbookEntityPaginated$outboundSchema: z.ZodType< + SlimRunbookEntityPaginated$Outbound, + z.ZodTypeDef, + SlimRunbookEntityPaginated +> = z.object({ + data: z.nullable(z.array(SlimRunbookEntity$outboundSchema)).optional(), + pagination: z.nullable(NullablePaginationEntity$outboundSchema).optional(), +}); + +export function slimRunbookEntityPaginatedToJSON( + slimRunbookEntityPaginated: SlimRunbookEntityPaginated, +): string { + return JSON.stringify( + SlimRunbookEntityPaginated$outboundSchema.parse(slimRunbookEntityPaginated), + ); +} +export function slimRunbookEntityPaginatedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SlimRunbookEntityPaginated$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SlimRunbookEntityPaginated' from JSON`, + ); +} diff --git a/src/models/components/ticketingprojectfieldmapcasesentity.ts b/src/models/components/ticketingprojectfieldmapcasesentity.ts index 77c9cba9..8fd5ce84 100644 --- a/src/models/components/ticketingprojectfieldmapcasesentity.ts +++ b/src/models/components/ticketingprojectfieldmapcasesentity.ts @@ -17,13 +17,13 @@ import { /** * An unstructured object of key/value pairs describing the logic for applying the rule. */ -export type Logic = {}; +export type TicketingProjectFieldMapCasesEntityLogic = {}; export type TicketingProjectFieldMapCasesEntity = { /** * An unstructured object of key/value pairs describing the logic for applying the rule. */ - logic?: Logic | null | undefined; + logic?: TicketingProjectFieldMapCasesEntityLogic | null | undefined; externalValue?: | NullableTicketingProjectFieldMapExternalValueEntity | null @@ -31,28 +31,44 @@ export type TicketingProjectFieldMapCasesEntity = { }; /** @internal */ -export const Logic$inboundSchema: z.ZodType = z - .object({}); +export const TicketingProjectFieldMapCasesEntityLogic$inboundSchema: z.ZodType< + TicketingProjectFieldMapCasesEntityLogic, + z.ZodTypeDef, + unknown +> = z.object({}); /** @internal */ -export type Logic$Outbound = {}; +export type TicketingProjectFieldMapCasesEntityLogic$Outbound = {}; /** @internal */ -export const Logic$outboundSchema: z.ZodType< - Logic$Outbound, +export const TicketingProjectFieldMapCasesEntityLogic$outboundSchema: z.ZodType< + TicketingProjectFieldMapCasesEntityLogic$Outbound, z.ZodTypeDef, - Logic + TicketingProjectFieldMapCasesEntityLogic > = z.object({}); -export function logicToJSON(logic: Logic): string { - return JSON.stringify(Logic$outboundSchema.parse(logic)); +export function ticketingProjectFieldMapCasesEntityLogicToJSON( + ticketingProjectFieldMapCasesEntityLogic: + TicketingProjectFieldMapCasesEntityLogic, +): string { + return JSON.stringify( + TicketingProjectFieldMapCasesEntityLogic$outboundSchema.parse( + ticketingProjectFieldMapCasesEntityLogic, + ), + ); } -export function logicFromJSON( +export function ticketingProjectFieldMapCasesEntityLogicFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult< + TicketingProjectFieldMapCasesEntityLogic, + SDKValidationError +> { return safeParse( jsonString, - (x) => Logic$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Logic' from JSON`, + (x) => + TicketingProjectFieldMapCasesEntityLogic$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'TicketingProjectFieldMapCasesEntityLogic' from JSON`, ); } @@ -62,7 +78,9 @@ export const TicketingProjectFieldMapCasesEntity$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - logic: z.nullable(z.lazy(() => Logic$inboundSchema)).optional(), + logic: z.nullable( + z.lazy(() => TicketingProjectFieldMapCasesEntityLogic$inboundSchema), + ).optional(), external_value: z.nullable( NullableTicketingProjectFieldMapExternalValueEntity$inboundSchema, ).optional(), @@ -73,7 +91,7 @@ export const TicketingProjectFieldMapCasesEntity$inboundSchema: z.ZodType< }); /** @internal */ export type TicketingProjectFieldMapCasesEntity$Outbound = { - logic?: Logic$Outbound | null | undefined; + logic?: TicketingProjectFieldMapCasesEntityLogic$Outbound | null | undefined; external_value?: | NullableTicketingProjectFieldMapExternalValueEntity$Outbound | null @@ -86,7 +104,9 @@ export const TicketingProjectFieldMapCasesEntity$outboundSchema: z.ZodType< z.ZodTypeDef, TicketingProjectFieldMapCasesEntity > = z.object({ - logic: z.nullable(z.lazy(() => Logic$outboundSchema)).optional(), + logic: z.nullable( + z.lazy(() => TicketingProjectFieldMapCasesEntityLogic$outboundSchema), + ).optional(), externalValue: z.nullable( NullableTicketingProjectFieldMapExternalValueEntity$outboundSchema, ).optional(), diff --git a/src/models/components/updateenvironment.ts b/src/models/components/updateenvironment.ts index f1f099f8..01f25473 100644 --- a/src/models/components/updateenvironment.ts +++ b/src/models/components/updateenvironment.ts @@ -3,31 +3,170 @@ */ import * as z from "zod/v3"; +import { remap as remap$ } from "../../lib/primitives.js"; import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +export type UpdateEnvironmentFunctionality = { + /** + * ID of a functionality + */ + id: string; + /** + * Set to true if you want to remove the given functionality from the environment + */ + remove?: boolean | null | undefined; +}; + +export type UpdateEnvironmentService = { + /** + * ID of a service + */ + id: string; + /** + * Set to true if you want to remove the given service from the environment + */ + remove?: boolean | null | undefined; +}; + /** * Update a environments attributes */ export type UpdateEnvironment = { - name: string; + name?: string | null | undefined; description?: string | null | undefined; + functionalities?: Array | null | undefined; + /** + * Set this to true if you want to remove all of the functionalities that are not included in the functionalities array from the environment + */ + removeRemainingFunctionalities?: boolean | null | undefined; + services?: Array | null | undefined; + /** + * Set this to true if you want to remove all of the services that are not included in the services array from the environment + */ + removeRemainingServices?: boolean | null | undefined; +}; + +/** @internal */ +export const UpdateEnvironmentFunctionality$inboundSchema: z.ZodType< + UpdateEnvironmentFunctionality, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + remove: z.nullable(z.boolean()).optional(), +}); +/** @internal */ +export type UpdateEnvironmentFunctionality$Outbound = { + id: string; + remove?: boolean | null | undefined; +}; + +/** @internal */ +export const UpdateEnvironmentFunctionality$outboundSchema: z.ZodType< + UpdateEnvironmentFunctionality$Outbound, + z.ZodTypeDef, + UpdateEnvironmentFunctionality +> = z.object({ + id: z.string(), + remove: z.nullable(z.boolean()).optional(), +}); + +export function updateEnvironmentFunctionalityToJSON( + updateEnvironmentFunctionality: UpdateEnvironmentFunctionality, +): string { + return JSON.stringify( + UpdateEnvironmentFunctionality$outboundSchema.parse( + updateEnvironmentFunctionality, + ), + ); +} +export function updateEnvironmentFunctionalityFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateEnvironmentFunctionality$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateEnvironmentFunctionality' from JSON`, + ); +} + +/** @internal */ +export const UpdateEnvironmentService$inboundSchema: z.ZodType< + UpdateEnvironmentService, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + remove: z.nullable(z.boolean()).optional(), +}); +/** @internal */ +export type UpdateEnvironmentService$Outbound = { + id: string; + remove?: boolean | null | undefined; }; +/** @internal */ +export const UpdateEnvironmentService$outboundSchema: z.ZodType< + UpdateEnvironmentService$Outbound, + z.ZodTypeDef, + UpdateEnvironmentService +> = z.object({ + id: z.string(), + remove: z.nullable(z.boolean()).optional(), +}); + +export function updateEnvironmentServiceToJSON( + updateEnvironmentService: UpdateEnvironmentService, +): string { + return JSON.stringify( + UpdateEnvironmentService$outboundSchema.parse(updateEnvironmentService), + ); +} +export function updateEnvironmentServiceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateEnvironmentService$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateEnvironmentService' from JSON`, + ); +} + /** @internal */ export const UpdateEnvironment$inboundSchema: z.ZodType< UpdateEnvironment, z.ZodTypeDef, unknown > = z.object({ - name: z.string(), + name: z.nullable(z.string()).optional(), description: z.nullable(z.string()).optional(), + functionalities: z.nullable( + z.array(z.lazy(() => UpdateEnvironmentFunctionality$inboundSchema)), + ).optional(), + remove_remaining_functionalities: z.nullable(z.boolean().default(false)), + services: z.nullable( + z.array(z.lazy(() => UpdateEnvironmentService$inboundSchema)), + ).optional(), + remove_remaining_services: z.nullable(z.boolean().default(false)), +}).transform((v) => { + return remap$(v, { + "remove_remaining_functionalities": "removeRemainingFunctionalities", + "remove_remaining_services": "removeRemainingServices", + }); }); /** @internal */ export type UpdateEnvironment$Outbound = { - name: string; + name?: string | null | undefined; description?: string | null | undefined; + functionalities?: + | Array + | null + | undefined; + remove_remaining_functionalities: boolean | null; + services?: Array | null | undefined; + remove_remaining_services: boolean | null; }; /** @internal */ @@ -36,8 +175,21 @@ export const UpdateEnvironment$outboundSchema: z.ZodType< z.ZodTypeDef, UpdateEnvironment > = z.object({ - name: z.string(), + name: z.nullable(z.string()).optional(), description: z.nullable(z.string()).optional(), + functionalities: z.nullable( + z.array(z.lazy(() => UpdateEnvironmentFunctionality$outboundSchema)), + ).optional(), + removeRemainingFunctionalities: z.nullable(z.boolean().default(false)), + services: z.nullable( + z.array(z.lazy(() => UpdateEnvironmentService$outboundSchema)), + ).optional(), + removeRemainingServices: z.nullable(z.boolean().default(false)), +}).transform((v) => { + return remap$(v, { + removeRemainingFunctionalities: "remove_remaining_functionalities", + removeRemainingServices: "remove_remaining_services", + }); }); export function updateEnvironmentToJSON( diff --git a/src/models/components/updatefunctionality.ts b/src/models/components/updatefunctionality.ts index 413f9f15..9c6e62d8 100644 --- a/src/models/components/updatefunctionality.ts +++ b/src/models/components/updatefunctionality.ts @@ -38,6 +38,17 @@ export type UpdateFunctionalityService = { remove?: boolean | null | undefined; }; +export type UpdateFunctionalityEnvironment = { + /** + * ID of an environment + */ + id: string; + /** + * Set to true if you want to remove the given environment from the functionality + */ + remove?: boolean | null | undefined; +}; + export type UpdateFunctionalityLink = { /** * URL @@ -99,6 +110,15 @@ export type UpdateFunctionality = { */ serviceTier?: UpdateFunctionalityServiceTier | null | undefined; services?: Array | null | undefined; + /** + * Set this to true if you want to remove all of the services that are not included in the services array from the functionality + */ + removeRemainingServices?: boolean | null | undefined; + environments?: Array | null | undefined; + /** + * Set this to true if you want to remove all of the environments that are not included in the environments array from the functionality + */ + removeRemainingEnvironments?: boolean | null | undefined; /** * An array of links to associate with this functionality. This will remove all links not present in the patch. Only acts if 'links' key is included in the payload. */ @@ -136,10 +156,6 @@ export type UpdateFunctionality = { labels?: { [k: string]: string } | null | undefined; alertOnAdd?: boolean | null | undefined; autoAddRespondingTeam?: boolean | null | undefined; - /** - * Set this to true if you want to remove all of the services that are not included in the services array from the functionality - */ - removeRemainingServices?: boolean | null | undefined; }; /** @internal */ @@ -193,6 +209,50 @@ export function updateFunctionalityServiceFromJSON( ); } +/** @internal */ +export const UpdateFunctionalityEnvironment$inboundSchema: z.ZodType< + UpdateFunctionalityEnvironment, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + remove: z.nullable(z.boolean()).optional(), +}); +/** @internal */ +export type UpdateFunctionalityEnvironment$Outbound = { + id: string; + remove?: boolean | null | undefined; +}; + +/** @internal */ +export const UpdateFunctionalityEnvironment$outboundSchema: z.ZodType< + UpdateFunctionalityEnvironment$Outbound, + z.ZodTypeDef, + UpdateFunctionalityEnvironment +> = z.object({ + id: z.string(), + remove: z.nullable(z.boolean()).optional(), +}); + +export function updateFunctionalityEnvironmentToJSON( + updateFunctionalityEnvironment: UpdateFunctionalityEnvironment, +): string { + return JSON.stringify( + UpdateFunctionalityEnvironment$outboundSchema.parse( + updateFunctionalityEnvironment, + ), + ); +} +export function updateFunctionalityEnvironmentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateFunctionalityEnvironment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateFunctionalityEnvironment' from JSON`, + ); +} + /** @internal */ export const UpdateFunctionalityLink$inboundSchema: z.ZodType< UpdateFunctionalityLink, @@ -406,6 +466,11 @@ export const UpdateFunctionality$inboundSchema: z.ZodType< services: z.nullable( z.array(z.lazy(() => UpdateFunctionalityService$inboundSchema)), ).optional(), + remove_remaining_services: z.nullable(z.boolean().default(false)), + environments: z.nullable( + z.array(z.lazy(() => UpdateFunctionalityEnvironment$inboundSchema)), + ).optional(), + remove_remaining_environments: z.nullable(z.boolean().default(false)), links: z.nullable( z.array(z.lazy(() => UpdateFunctionalityLink$inboundSchema)), ).optional(), @@ -423,17 +488,17 @@ export const UpdateFunctionality$inboundSchema: z.ZodType< labels: z.nullable(z.record(z.string())).optional(), alert_on_add: z.nullable(z.boolean()).optional(), auto_add_responding_team: z.nullable(z.boolean()).optional(), - remove_remaining_services: z.nullable(z.boolean().default(false)), }).transform((v) => { return remap$(v, { "service_tier": "serviceTier", + "remove_remaining_services": "removeRemainingServices", + "remove_remaining_environments": "removeRemainingEnvironments", "remove_owner": "removeOwner", "remove_remaining_teams": "removeRemainingTeams", "external_resources": "externalResources", "remove_remaining_external_resources": "removeRemainingExternalResources", "alert_on_add": "alertOnAdd", "auto_add_responding_team": "autoAddRespondingTeam", - "remove_remaining_services": "removeRemainingServices", }); }); /** @internal */ @@ -442,6 +507,12 @@ export type UpdateFunctionality$Outbound = { description?: string | null | undefined; service_tier?: number | null | undefined; services?: Array | null | undefined; + remove_remaining_services: boolean | null; + environments?: + | Array + | null + | undefined; + remove_remaining_environments: boolean | null; links?: Array | null | undefined; owner?: UpdateFunctionalityOwner$Outbound | null | undefined; remove_owner?: boolean | null | undefined; @@ -455,7 +526,6 @@ export type UpdateFunctionality$Outbound = { labels?: { [k: string]: string } | null | undefined; alert_on_add?: boolean | null | undefined; auto_add_responding_team?: boolean | null | undefined; - remove_remaining_services: boolean | null; }; /** @internal */ @@ -471,6 +541,11 @@ export const UpdateFunctionality$outboundSchema: z.ZodType< services: z.nullable( z.array(z.lazy(() => UpdateFunctionalityService$outboundSchema)), ).optional(), + removeRemainingServices: z.nullable(z.boolean().default(false)), + environments: z.nullable( + z.array(z.lazy(() => UpdateFunctionalityEnvironment$outboundSchema)), + ).optional(), + removeRemainingEnvironments: z.nullable(z.boolean().default(false)), links: z.nullable( z.array(z.lazy(() => UpdateFunctionalityLink$outboundSchema)), ).optional(), @@ -488,17 +563,17 @@ export const UpdateFunctionality$outboundSchema: z.ZodType< labels: z.nullable(z.record(z.string())).optional(), alertOnAdd: z.nullable(z.boolean()).optional(), autoAddRespondingTeam: z.nullable(z.boolean()).optional(), - removeRemainingServices: z.nullable(z.boolean().default(false)), }).transform((v) => { return remap$(v, { serviceTier: "service_tier", + removeRemainingServices: "remove_remaining_services", + removeRemainingEnvironments: "remove_remaining_environments", removeOwner: "remove_owner", removeRemainingTeams: "remove_remaining_teams", externalResources: "external_resources", removeRemainingExternalResources: "remove_remaining_external_resources", alertOnAdd: "alert_on_add", autoAddRespondingTeam: "auto_add_responding_team", - removeRemainingServices: "remove_remaining_services", }); }); diff --git a/src/models/components/updaterole.ts b/src/models/components/updaterole.ts index 014e370b..23f648bb 100644 --- a/src/models/components/updaterole.ts +++ b/src/models/components/updaterole.ts @@ -26,6 +26,7 @@ export const UpdateRolePermission = { ReadOnCallSchedules: "read_on_call_schedules", ManageOnCallShifts: "manage_on_call_shifts", ClaimOnCallShifts: "claim_on_call_shifts", + ReadSignalsPii: "read_signals_pii", ManageOrganizationNotificationPolicies: "manage_organization_notification_policies", ReadNotificationPolicyCompliance: "read_notification_policy_compliance", diff --git a/src/models/components/updaterunbook.ts b/src/models/components/updaterunbook.ts index 6ea9d665..4591f196 100644 --- a/src/models/components/updaterunbook.ts +++ b/src/models/components/updaterunbook.ts @@ -23,7 +23,7 @@ export type UpdateRunbookService = { id?: string | null | undefined; }; -export type Environment = { +export type UpdateRunbookEnvironment = { id?: string | null | undefined; }; @@ -85,7 +85,7 @@ export type UpdateRunbook = { owner?: UpdateRunbookOwner | null | undefined; severities?: Array | null | undefined; services?: Array | null | undefined; - environments?: Array | null | undefined; + environments?: Array | null | undefined; attachmentRule?: UpdateRunbookAttachmentRule | null | undefined; steps?: Array | null | undefined; /** @@ -212,37 +212,41 @@ export function updateRunbookServiceFromJSON( } /** @internal */ -export const Environment$inboundSchema: z.ZodType< - Environment, +export const UpdateRunbookEnvironment$inboundSchema: z.ZodType< + UpdateRunbookEnvironment, z.ZodTypeDef, unknown > = z.object({ id: z.nullable(z.string()).optional(), }); /** @internal */ -export type Environment$Outbound = { +export type UpdateRunbookEnvironment$Outbound = { id?: string | null | undefined; }; /** @internal */ -export const Environment$outboundSchema: z.ZodType< - Environment$Outbound, +export const UpdateRunbookEnvironment$outboundSchema: z.ZodType< + UpdateRunbookEnvironment$Outbound, z.ZodTypeDef, - Environment + UpdateRunbookEnvironment > = z.object({ id: z.nullable(z.string()).optional(), }); -export function environmentToJSON(environment: Environment): string { - return JSON.stringify(Environment$outboundSchema.parse(environment)); +export function updateRunbookEnvironmentToJSON( + updateRunbookEnvironment: UpdateRunbookEnvironment, +): string { + return JSON.stringify( + UpdateRunbookEnvironment$outboundSchema.parse(updateRunbookEnvironment), + ); } -export function environmentFromJSON( +export function updateRunbookEnvironmentFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Environment$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Environment' from JSON`, + (x) => UpdateRunbookEnvironment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateRunbookEnvironment' from JSON`, ); } @@ -423,8 +427,9 @@ export const UpdateRunbook$inboundSchema: z.ZodType< services: z.nullable( z.array(z.lazy(() => UpdateRunbookService$inboundSchema)), ).optional(), - environments: z.nullable(z.array(z.lazy(() => Environment$inboundSchema))) - .optional(), + environments: z.nullable( + z.array(z.lazy(() => UpdateRunbookEnvironment$inboundSchema)), + ).optional(), attachment_rule: z.nullable( z.lazy(() => UpdateRunbookAttachmentRule$inboundSchema), ).optional(), @@ -446,7 +451,7 @@ export type UpdateRunbook$Outbound = { owner?: UpdateRunbookOwner$Outbound | null | undefined; severities?: Array | null | undefined; services?: Array | null | undefined; - environments?: Array | null | undefined; + environments?: Array | null | undefined; attachment_rule?: UpdateRunbookAttachmentRule$Outbound | null | undefined; steps?: Array | null | undefined; auto_attach_to_restricted_incidents?: boolean | null | undefined; @@ -469,8 +474,9 @@ export const UpdateRunbook$outboundSchema: z.ZodType< services: z.nullable( z.array(z.lazy(() => UpdateRunbookService$outboundSchema)), ).optional(), - environments: z.nullable(z.array(z.lazy(() => Environment$outboundSchema))) - .optional(), + environments: z.nullable( + z.array(z.lazy(() => UpdateRunbookEnvironment$outboundSchema)), + ).optional(), attachmentRule: z.nullable( z.lazy(() => UpdateRunbookAttachmentRule$outboundSchema), ).optional(), diff --git a/src/models/components/updateservice.ts b/src/models/components/updateservice.ts index 551f6ae9..4e75f08e 100644 --- a/src/models/components/updateservice.ts +++ b/src/models/components/updateservice.ts @@ -44,6 +44,17 @@ export type UpdateServiceFunctionality = { summary?: string | null | undefined; }; +export type UpdateServiceEnvironment = { + /** + * ID of an environment + */ + id: string; + /** + * Set to true if you want to remove the given environment from the service + */ + remove?: boolean | null | undefined; +}; + export type UpdateServiceLink = { /** * URL @@ -122,6 +133,15 @@ export type UpdateService = { * An array of functionalities */ functionalities?: Array | null | undefined; + /** + * If set to true, any functionalities tagged on the service that are not included in the given array will be removed. Set this to true if you want to do a replacement operation for the functionalities + */ + removeRemainingFunctionalities?: boolean | null | undefined; + environments?: Array | null | undefined; + /** + * Set this to true if you want to remove all of the environments that are not included in the environments array from the service + */ + removeRemainingEnvironments?: boolean | null | undefined; /** * A hash of label keys and values */ @@ -147,10 +167,6 @@ export type UpdateService = { * If set to true, any external_resources tagged on the service that are not included in the given array will be removed. Set this to true if you want to do a replacement operation for the external_resources */ removeRemainingExternalResources?: boolean | null | undefined; - /** - * If set to true, any functionalities tagged on the service that are not included in the given array will be removed. Set this to true if you want to do a replacement operation for the functionalities - */ - removeRemainingFunctionalities?: boolean | null | undefined; /** * If set to true, any teams tagged on the service that are not included in the given array will be removed. Set this to true if you want to do a replacement operation for the teams */ @@ -305,6 +321,48 @@ export function updateServiceFunctionalityFromJSON( ); } +/** @internal */ +export const UpdateServiceEnvironment$inboundSchema: z.ZodType< + UpdateServiceEnvironment, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + remove: z.nullable(z.boolean()).optional(), +}); +/** @internal */ +export type UpdateServiceEnvironment$Outbound = { + id: string; + remove?: boolean | null | undefined; +}; + +/** @internal */ +export const UpdateServiceEnvironment$outboundSchema: z.ZodType< + UpdateServiceEnvironment$Outbound, + z.ZodTypeDef, + UpdateServiceEnvironment +> = z.object({ + id: z.string(), + remove: z.nullable(z.boolean()).optional(), +}); + +export function updateServiceEnvironmentToJSON( + updateServiceEnvironment: UpdateServiceEnvironment, +): string { + return JSON.stringify( + UpdateServiceEnvironment$outboundSchema.parse(updateServiceEnvironment), + ); +} +export function updateServiceEnvironmentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateServiceEnvironment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateServiceEnvironment' from JSON`, + ); +} + /** @internal */ export const UpdateServiceLink$inboundSchema: z.ZodType< UpdateServiceLink, @@ -473,6 +531,11 @@ export const UpdateService$inboundSchema: z.ZodType< functionalities: z.nullable( z.array(z.lazy(() => UpdateServiceFunctionality$inboundSchema)), ).optional(), + remove_remaining_functionalities: z.nullable(z.boolean()).optional(), + environments: z.nullable( + z.array(z.lazy(() => UpdateServiceEnvironment$inboundSchema)), + ).optional(), + remove_remaining_environments: z.nullable(z.boolean().default(false)), labels: z.nullable(z.record(z.string())).optional(), links: z.nullable(z.array(z.lazy(() => UpdateServiceLink$inboundSchema))) .optional(), @@ -481,7 +544,6 @@ export const UpdateService$inboundSchema: z.ZodType< remove_owner: z.nullable(z.boolean()).optional(), remove_remaining_checklists: z.nullable(z.boolean()).optional(), remove_remaining_external_resources: z.nullable(z.boolean()).optional(), - remove_remaining_functionalities: z.nullable(z.boolean()).optional(), remove_remaining_teams: z.nullable(z.boolean()).optional(), service_tier: z.nullable(UpdateServiceServiceTier$inboundSchema).optional(), teams: z.nullable(z.array(z.lazy(() => UpdateServiceTeam$inboundSchema))) @@ -491,10 +553,11 @@ export const UpdateService$inboundSchema: z.ZodType< "alert_on_add": "alertOnAdd", "auto_add_responding_team": "autoAddRespondingTeam", "external_resources": "externalResources", + "remove_remaining_functionalities": "removeRemainingFunctionalities", + "remove_remaining_environments": "removeRemainingEnvironments", "remove_owner": "removeOwner", "remove_remaining_checklists": "removeRemainingChecklists", "remove_remaining_external_resources": "removeRemainingExternalResources", - "remove_remaining_functionalities": "removeRemainingFunctionalities", "remove_remaining_teams": "removeRemainingTeams", "service_tier": "serviceTier", }); @@ -513,6 +576,9 @@ export type UpdateService$Outbound = { | Array | null | undefined; + remove_remaining_functionalities?: boolean | null | undefined; + environments?: Array | null | undefined; + remove_remaining_environments: boolean | null; labels?: { [k: string]: string } | null | undefined; links?: Array | null | undefined; name?: string | null | undefined; @@ -520,7 +586,6 @@ export type UpdateService$Outbound = { remove_owner?: boolean | null | undefined; remove_remaining_checklists?: boolean | null | undefined; remove_remaining_external_resources?: boolean | null | undefined; - remove_remaining_functionalities?: boolean | null | undefined; remove_remaining_teams?: boolean | null | undefined; service_tier?: number | null | undefined; teams?: Array | null | undefined; @@ -543,6 +608,11 @@ export const UpdateService$outboundSchema: z.ZodType< functionalities: z.nullable( z.array(z.lazy(() => UpdateServiceFunctionality$outboundSchema)), ).optional(), + removeRemainingFunctionalities: z.nullable(z.boolean()).optional(), + environments: z.nullable( + z.array(z.lazy(() => UpdateServiceEnvironment$outboundSchema)), + ).optional(), + removeRemainingEnvironments: z.nullable(z.boolean().default(false)), labels: z.nullable(z.record(z.string())).optional(), links: z.nullable(z.array(z.lazy(() => UpdateServiceLink$outboundSchema))) .optional(), @@ -551,7 +621,6 @@ export const UpdateService$outboundSchema: z.ZodType< removeOwner: z.nullable(z.boolean()).optional(), removeRemainingChecklists: z.nullable(z.boolean()).optional(), removeRemainingExternalResources: z.nullable(z.boolean()).optional(), - removeRemainingFunctionalities: z.nullable(z.boolean()).optional(), removeRemainingTeams: z.nullable(z.boolean()).optional(), serviceTier: z.nullable(UpdateServiceServiceTier$outboundSchema).optional(), teams: z.nullable(z.array(z.lazy(() => UpdateServiceTeam$outboundSchema))) @@ -561,10 +630,11 @@ export const UpdateService$outboundSchema: z.ZodType< alertOnAdd: "alert_on_add", autoAddRespondingTeam: "auto_add_responding_team", externalResources: "external_resources", + removeRemainingFunctionalities: "remove_remaining_functionalities", + removeRemainingEnvironments: "remove_remaining_environments", removeOwner: "remove_owner", removeRemainingChecklists: "remove_remaining_checklists", removeRemainingExternalResources: "remove_remaining_external_resources", - removeRemainingFunctionalities: "remove_remaining_functionalities", removeRemainingTeams: "remove_remaining_teams", serviceTier: "service_tier", }); diff --git a/src/models/components/updatesignalsheartbeatendpointconfiguration.ts b/src/models/components/updatesignalsheartbeatendpointconfiguration.ts new file mode 100644 index 00000000..d3644bb3 --- /dev/null +++ b/src/models/components/updatesignalsheartbeatendpointconfiguration.ts @@ -0,0 +1,376 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { remap as remap$ } from "../../lib/primitives.js"; +import { safeParse } from "../../lib/schemas.js"; +import { ClosedEnum } from "../../types/enums.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type UpdateSignalsHeartbeatEndpointConfigurationAnnotations = {}; + +export type UpdateSignalsHeartbeatEndpointConfigurationLink = { + href?: string | null | undefined; + text?: string | null | undefined; +}; + +/** + * Signal template to be used when generating alerts for missed heartbeats + */ +export type UpdateSignalsHeartbeatEndpointConfigurationTemplateSignal = { + body?: string | null | undefined; + annotations?: + | UpdateSignalsHeartbeatEndpointConfigurationAnnotations + | null + | undefined; + tags?: Array | null | undefined; + links?: + | Array + | null + | undefined; +}; + +/** + * Type of heartbeat endpoint (e.g. 'http') + */ +export const UpdateSignalsHeartbeatEndpointConfigurationKind = { + Http: "http", + Email: "email", +} as const; +/** + * Type of heartbeat endpoint (e.g. 'http') + */ +export type UpdateSignalsHeartbeatEndpointConfigurationKind = ClosedEnum< + typeof UpdateSignalsHeartbeatEndpointConfigurationKind +>; + +/** + * Update an existing heartbeat endpoint configuration + */ +export type UpdateSignalsHeartbeatEndpointConfiguration = { + /** + * Whether the endpoint is active + */ + enabled?: boolean | null | undefined; + /** + * Optional description of the endpoint's purpose + */ + description?: string | null | undefined; + /** + * Time interval in which heartbeats are expected (minimum '5m', maximum '24h') + */ + expectInterval?: string | null | undefined; + /** + * Signal template to be used when generating alerts for missed heartbeats + */ + templateSignal?: + | UpdateSignalsHeartbeatEndpointConfigurationTemplateSignal + | null + | undefined; + /** + * Type of heartbeat endpoint (e.g. 'http') + */ + kind?: UpdateSignalsHeartbeatEndpointConfigurationKind | null | undefined; + /** + * HTTP methods allowed for this endpoint + */ + allowedHttpMethods?: Array | null | undefined; + /** + * User agent substring that must be present in requests + */ + allowedUserAgentSubstring?: string | null | undefined; + /** + * Email addresses allowed to send heartbeats + */ + allowedEmailSenders?: Array | null | undefined; +}; + +/** @internal */ +export const UpdateSignalsHeartbeatEndpointConfigurationAnnotations$inboundSchema: + z.ZodType< + UpdateSignalsHeartbeatEndpointConfigurationAnnotations, + z.ZodTypeDef, + unknown + > = z.object({}); +/** @internal */ +export type UpdateSignalsHeartbeatEndpointConfigurationAnnotations$Outbound = + {}; + +/** @internal */ +export const UpdateSignalsHeartbeatEndpointConfigurationAnnotations$outboundSchema: + z.ZodType< + UpdateSignalsHeartbeatEndpointConfigurationAnnotations$Outbound, + z.ZodTypeDef, + UpdateSignalsHeartbeatEndpointConfigurationAnnotations + > = z.object({}); + +export function updateSignalsHeartbeatEndpointConfigurationAnnotationsToJSON( + updateSignalsHeartbeatEndpointConfigurationAnnotations: + UpdateSignalsHeartbeatEndpointConfigurationAnnotations, +): string { + return JSON.stringify( + UpdateSignalsHeartbeatEndpointConfigurationAnnotations$outboundSchema.parse( + updateSignalsHeartbeatEndpointConfigurationAnnotations, + ), + ); +} +export function updateSignalsHeartbeatEndpointConfigurationAnnotationsFromJSON( + jsonString: string, +): SafeParseResult< + UpdateSignalsHeartbeatEndpointConfigurationAnnotations, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateSignalsHeartbeatEndpointConfigurationAnnotations$inboundSchema + .parse(JSON.parse(x)), + `Failed to parse 'UpdateSignalsHeartbeatEndpointConfigurationAnnotations' from JSON`, + ); +} + +/** @internal */ +export const UpdateSignalsHeartbeatEndpointConfigurationLink$inboundSchema: + z.ZodType< + UpdateSignalsHeartbeatEndpointConfigurationLink, + z.ZodTypeDef, + unknown + > = z.object({ + href: z.nullable(z.string()).optional(), + text: z.nullable(z.string()).optional(), + }); +/** @internal */ +export type UpdateSignalsHeartbeatEndpointConfigurationLink$Outbound = { + href?: string | null | undefined; + text?: string | null | undefined; +}; + +/** @internal */ +export const UpdateSignalsHeartbeatEndpointConfigurationLink$outboundSchema: + z.ZodType< + UpdateSignalsHeartbeatEndpointConfigurationLink$Outbound, + z.ZodTypeDef, + UpdateSignalsHeartbeatEndpointConfigurationLink + > = z.object({ + href: z.nullable(z.string()).optional(), + text: z.nullable(z.string()).optional(), + }); + +export function updateSignalsHeartbeatEndpointConfigurationLinkToJSON( + updateSignalsHeartbeatEndpointConfigurationLink: + UpdateSignalsHeartbeatEndpointConfigurationLink, +): string { + return JSON.stringify( + UpdateSignalsHeartbeatEndpointConfigurationLink$outboundSchema.parse( + updateSignalsHeartbeatEndpointConfigurationLink, + ), + ); +} +export function updateSignalsHeartbeatEndpointConfigurationLinkFromJSON( + jsonString: string, +): SafeParseResult< + UpdateSignalsHeartbeatEndpointConfigurationLink, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateSignalsHeartbeatEndpointConfigurationLink$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateSignalsHeartbeatEndpointConfigurationLink' from JSON`, + ); +} + +/** @internal */ +export const UpdateSignalsHeartbeatEndpointConfigurationTemplateSignal$inboundSchema: + z.ZodType< + UpdateSignalsHeartbeatEndpointConfigurationTemplateSignal, + z.ZodTypeDef, + unknown + > = z.object({ + body: z.nullable(z.string()).optional(), + annotations: z.nullable( + z.lazy(() => + UpdateSignalsHeartbeatEndpointConfigurationAnnotations$inboundSchema + ), + ).optional(), + tags: z.nullable(z.array(z.string())).optional(), + links: z.nullable( + z.array(z.lazy(() => + UpdateSignalsHeartbeatEndpointConfigurationLink$inboundSchema + )), + ).optional(), + }); +/** @internal */ +export type UpdateSignalsHeartbeatEndpointConfigurationTemplateSignal$Outbound = + { + body?: string | null | undefined; + annotations?: + | UpdateSignalsHeartbeatEndpointConfigurationAnnotations$Outbound + | null + | undefined; + tags?: Array | null | undefined; + links?: + | Array + | null + | undefined; + }; + +/** @internal */ +export const UpdateSignalsHeartbeatEndpointConfigurationTemplateSignal$outboundSchema: + z.ZodType< + UpdateSignalsHeartbeatEndpointConfigurationTemplateSignal$Outbound, + z.ZodTypeDef, + UpdateSignalsHeartbeatEndpointConfigurationTemplateSignal + > = z.object({ + body: z.nullable(z.string()).optional(), + annotations: z.nullable( + z.lazy(() => + UpdateSignalsHeartbeatEndpointConfigurationAnnotations$outboundSchema + ), + ).optional(), + tags: z.nullable(z.array(z.string())).optional(), + links: z.nullable( + z.array(z.lazy(() => + UpdateSignalsHeartbeatEndpointConfigurationLink$outboundSchema + )), + ).optional(), + }); + +export function updateSignalsHeartbeatEndpointConfigurationTemplateSignalToJSON( + updateSignalsHeartbeatEndpointConfigurationTemplateSignal: + UpdateSignalsHeartbeatEndpointConfigurationTemplateSignal, +): string { + return JSON.stringify( + UpdateSignalsHeartbeatEndpointConfigurationTemplateSignal$outboundSchema + .parse(updateSignalsHeartbeatEndpointConfigurationTemplateSignal), + ); +} +export function updateSignalsHeartbeatEndpointConfigurationTemplateSignalFromJSON( + jsonString: string, +): SafeParseResult< + UpdateSignalsHeartbeatEndpointConfigurationTemplateSignal, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateSignalsHeartbeatEndpointConfigurationTemplateSignal$inboundSchema + .parse(JSON.parse(x)), + `Failed to parse 'UpdateSignalsHeartbeatEndpointConfigurationTemplateSignal' from JSON`, + ); +} + +/** @internal */ +export const UpdateSignalsHeartbeatEndpointConfigurationKind$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateSignalsHeartbeatEndpointConfigurationKind); +/** @internal */ +export const UpdateSignalsHeartbeatEndpointConfigurationKind$outboundSchema: + z.ZodNativeEnum = + UpdateSignalsHeartbeatEndpointConfigurationKind$inboundSchema; + +/** @internal */ +export const UpdateSignalsHeartbeatEndpointConfiguration$inboundSchema: + z.ZodType< + UpdateSignalsHeartbeatEndpointConfiguration, + z.ZodTypeDef, + unknown + > = z.object({ + enabled: z.nullable(z.boolean()).optional(), + description: z.nullable(z.string()).optional(), + expect_interval: z.nullable(z.string()).optional(), + template_signal: z.nullable( + z.lazy(() => + UpdateSignalsHeartbeatEndpointConfigurationTemplateSignal$inboundSchema + ), + ).optional(), + kind: z.nullable( + UpdateSignalsHeartbeatEndpointConfigurationKind$inboundSchema, + ).optional(), + allowed_http_methods: z.nullable(z.array(z.string())).optional(), + allowed_user_agent_substring: z.nullable(z.string()).optional(), + allowed_email_senders: z.nullable(z.array(z.string())).optional(), + }).transform((v) => { + return remap$(v, { + "expect_interval": "expectInterval", + "template_signal": "templateSignal", + "allowed_http_methods": "allowedHttpMethods", + "allowed_user_agent_substring": "allowedUserAgentSubstring", + "allowed_email_senders": "allowedEmailSenders", + }); + }); +/** @internal */ +export type UpdateSignalsHeartbeatEndpointConfiguration$Outbound = { + enabled?: boolean | null | undefined; + description?: string | null | undefined; + expect_interval?: string | null | undefined; + template_signal?: + | UpdateSignalsHeartbeatEndpointConfigurationTemplateSignal$Outbound + | null + | undefined; + kind?: string | null | undefined; + allowed_http_methods?: Array | null | undefined; + allowed_user_agent_substring?: string | null | undefined; + allowed_email_senders?: Array | null | undefined; +}; + +/** @internal */ +export const UpdateSignalsHeartbeatEndpointConfiguration$outboundSchema: + z.ZodType< + UpdateSignalsHeartbeatEndpointConfiguration$Outbound, + z.ZodTypeDef, + UpdateSignalsHeartbeatEndpointConfiguration + > = z.object({ + enabled: z.nullable(z.boolean()).optional(), + description: z.nullable(z.string()).optional(), + expectInterval: z.nullable(z.string()).optional(), + templateSignal: z.nullable( + z.lazy(() => + UpdateSignalsHeartbeatEndpointConfigurationTemplateSignal$outboundSchema + ), + ).optional(), + kind: z.nullable( + UpdateSignalsHeartbeatEndpointConfigurationKind$outboundSchema, + ).optional(), + allowedHttpMethods: z.nullable(z.array(z.string())).optional(), + allowedUserAgentSubstring: z.nullable(z.string()).optional(), + allowedEmailSenders: z.nullable(z.array(z.string())).optional(), + }).transform((v) => { + return remap$(v, { + expectInterval: "expect_interval", + templateSignal: "template_signal", + allowedHttpMethods: "allowed_http_methods", + allowedUserAgentSubstring: "allowed_user_agent_substring", + allowedEmailSenders: "allowed_email_senders", + }); + }); + +export function updateSignalsHeartbeatEndpointConfigurationToJSON( + updateSignalsHeartbeatEndpointConfiguration: + UpdateSignalsHeartbeatEndpointConfiguration, +): string { + return JSON.stringify( + UpdateSignalsHeartbeatEndpointConfiguration$outboundSchema.parse( + updateSignalsHeartbeatEndpointConfiguration, + ), + ); +} +export function updateSignalsHeartbeatEndpointConfigurationFromJSON( + jsonString: string, +): SafeParseResult< + UpdateSignalsHeartbeatEndpointConfiguration, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateSignalsHeartbeatEndpointConfiguration$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateSignalsHeartbeatEndpointConfiguration' from JSON`, + ); +} diff --git a/src/models/components/webhooksentitiesdeliveryentity.ts b/src/models/components/webhooksentitiesdeliveryentity.ts new file mode 100644 index 00000000..b5b41e42 --- /dev/null +++ b/src/models/components/webhooksentitiesdeliveryentity.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { remap as remap$ } from "../../lib/primitives.js"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type WebhooksEntitiesDeliveryEntityHeaders = {}; + +export type WebhooksEntitiesDeliveryEntity = { + id?: string | null | undefined; + createdAt?: Date | null | undefined; + expiresAfter?: Date | null | undefined; + statusCode?: number | null | undefined; + headers?: WebhooksEntitiesDeliveryEntityHeaders | null | undefined; + duration?: number | null | undefined; + attempts?: number | null | undefined; + error?: string | null | undefined; +}; + +/** @internal */ +export const WebhooksEntitiesDeliveryEntityHeaders$inboundSchema: z.ZodType< + WebhooksEntitiesDeliveryEntityHeaders, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type WebhooksEntitiesDeliveryEntityHeaders$Outbound = {}; + +/** @internal */ +export const WebhooksEntitiesDeliveryEntityHeaders$outboundSchema: z.ZodType< + WebhooksEntitiesDeliveryEntityHeaders$Outbound, + z.ZodTypeDef, + WebhooksEntitiesDeliveryEntityHeaders +> = z.object({}); + +export function webhooksEntitiesDeliveryEntityHeadersToJSON( + webhooksEntitiesDeliveryEntityHeaders: WebhooksEntitiesDeliveryEntityHeaders, +): string { + return JSON.stringify( + WebhooksEntitiesDeliveryEntityHeaders$outboundSchema.parse( + webhooksEntitiesDeliveryEntityHeaders, + ), + ); +} +export function webhooksEntitiesDeliveryEntityHeadersFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + WebhooksEntitiesDeliveryEntityHeaders$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'WebhooksEntitiesDeliveryEntityHeaders' from JSON`, + ); +} + +/** @internal */ +export const WebhooksEntitiesDeliveryEntity$inboundSchema: z.ZodType< + WebhooksEntitiesDeliveryEntity, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.nullable(z.string()).optional(), + created_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), + expires_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), + status_code: z.nullable(z.number().int()).optional(), + headers: z.nullable( + z.lazy(() => WebhooksEntitiesDeliveryEntityHeaders$inboundSchema), + ).optional(), + duration: z.nullable(z.number().int()).optional(), + attempts: z.nullable(z.number().int()).optional(), + error: z.nullable(z.string()).optional(), +}).transform((v) => { + return remap$(v, { + "created_at": "createdAt", + "expires_after": "expiresAfter", + "status_code": "statusCode", + }); +}); +/** @internal */ +export type WebhooksEntitiesDeliveryEntity$Outbound = { + id?: string | null | undefined; + created_at?: string | null | undefined; + expires_after?: string | null | undefined; + status_code?: number | null | undefined; + headers?: WebhooksEntitiesDeliveryEntityHeaders$Outbound | null | undefined; + duration?: number | null | undefined; + attempts?: number | null | undefined; + error?: string | null | undefined; +}; + +/** @internal */ +export const WebhooksEntitiesDeliveryEntity$outboundSchema: z.ZodType< + WebhooksEntitiesDeliveryEntity$Outbound, + z.ZodTypeDef, + WebhooksEntitiesDeliveryEntity +> = z.object({ + id: z.nullable(z.string()).optional(), + createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), + expiresAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), + statusCode: z.nullable(z.number().int()).optional(), + headers: z.nullable( + z.lazy(() => WebhooksEntitiesDeliveryEntityHeaders$outboundSchema), + ).optional(), + duration: z.nullable(z.number().int()).optional(), + attempts: z.nullable(z.number().int()).optional(), + error: z.nullable(z.string()).optional(), +}).transform((v) => { + return remap$(v, { + createdAt: "created_at", + expiresAfter: "expires_after", + statusCode: "status_code", + }); +}); + +export function webhooksEntitiesDeliveryEntityToJSON( + webhooksEntitiesDeliveryEntity: WebhooksEntitiesDeliveryEntity, +): string { + return JSON.stringify( + WebhooksEntitiesDeliveryEntity$outboundSchema.parse( + webhooksEntitiesDeliveryEntity, + ), + ); +} +export function webhooksEntitiesDeliveryEntityFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => WebhooksEntitiesDeliveryEntity$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'WebhooksEntitiesDeliveryEntity' from JSON`, + ); +} diff --git a/src/models/components/webhooksentitiesdeliveryentitypaginated.ts b/src/models/components/webhooksentitiesdeliveryentitypaginated.ts new file mode 100644 index 00000000..7bc7d757 --- /dev/null +++ b/src/models/components/webhooksentitiesdeliveryentitypaginated.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + NullablePaginationEntity, + NullablePaginationEntity$inboundSchema, + NullablePaginationEntity$Outbound, + NullablePaginationEntity$outboundSchema, +} from "./nullablepaginationentity.js"; +import { + WebhooksEntitiesDeliveryEntity, + WebhooksEntitiesDeliveryEntity$inboundSchema, + WebhooksEntitiesDeliveryEntity$Outbound, + WebhooksEntitiesDeliveryEntity$outboundSchema, +} from "./webhooksentitiesdeliveryentity.js"; + +/** + * Webhooks_Entities_DeliveryEntityPaginated model + */ +export type WebhooksEntitiesDeliveryEntityPaginated = { + data?: Array | null | undefined; + pagination?: NullablePaginationEntity | null | undefined; +}; + +/** @internal */ +export const WebhooksEntitiesDeliveryEntityPaginated$inboundSchema: z.ZodType< + WebhooksEntitiesDeliveryEntityPaginated, + z.ZodTypeDef, + unknown +> = z.object({ + data: z.nullable(z.array(WebhooksEntitiesDeliveryEntity$inboundSchema)) + .optional(), + pagination: z.nullable(NullablePaginationEntity$inboundSchema).optional(), +}); +/** @internal */ +export type WebhooksEntitiesDeliveryEntityPaginated$Outbound = { + data?: Array | null | undefined; + pagination?: NullablePaginationEntity$Outbound | null | undefined; +}; + +/** @internal */ +export const WebhooksEntitiesDeliveryEntityPaginated$outboundSchema: z.ZodType< + WebhooksEntitiesDeliveryEntityPaginated$Outbound, + z.ZodTypeDef, + WebhooksEntitiesDeliveryEntityPaginated +> = z.object({ + data: z.nullable(z.array(WebhooksEntitiesDeliveryEntity$outboundSchema)) + .optional(), + pagination: z.nullable(NullablePaginationEntity$outboundSchema).optional(), +}); + +export function webhooksEntitiesDeliveryEntityPaginatedToJSON( + webhooksEntitiesDeliveryEntityPaginated: + WebhooksEntitiesDeliveryEntityPaginated, +): string { + return JSON.stringify( + WebhooksEntitiesDeliveryEntityPaginated$outboundSchema.parse( + webhooksEntitiesDeliveryEntityPaginated, + ), + ); +} +export function webhooksEntitiesDeliveryEntityPaginatedFromJSON( + jsonString: string, +): SafeParseResult< + WebhooksEntitiesDeliveryEntityPaginated, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + WebhooksEntitiesDeliveryEntityPaginated$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'WebhooksEntitiesDeliveryEntityPaginated' from JSON`, + ); +} diff --git a/src/models/components/webhooksentitieswebhookentitypaginated.ts b/src/models/components/webhooksentitieswebhookentitypaginated.ts new file mode 100644 index 00000000..2dfbb8b2 --- /dev/null +++ b/src/models/components/webhooksentitieswebhookentitypaginated.ts @@ -0,0 +1,76 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + NullablePaginationEntity, + NullablePaginationEntity$inboundSchema, + NullablePaginationEntity$Outbound, + NullablePaginationEntity$outboundSchema, +} from "./nullablepaginationentity.js"; +import { + WebhooksEntitiesWebhookEntity, + WebhooksEntitiesWebhookEntity$inboundSchema, + WebhooksEntitiesWebhookEntity$Outbound, + WebhooksEntitiesWebhookEntity$outboundSchema, +} from "./webhooksentitieswebhookentity.js"; + +/** + * Webhooks_Entities_WebhookEntityPaginated model + */ +export type WebhooksEntitiesWebhookEntityPaginated = { + data?: Array | null | undefined; + pagination?: NullablePaginationEntity | null | undefined; +}; + +/** @internal */ +export const WebhooksEntitiesWebhookEntityPaginated$inboundSchema: z.ZodType< + WebhooksEntitiesWebhookEntityPaginated, + z.ZodTypeDef, + unknown +> = z.object({ + data: z.nullable(z.array(WebhooksEntitiesWebhookEntity$inboundSchema)) + .optional(), + pagination: z.nullable(NullablePaginationEntity$inboundSchema).optional(), +}); +/** @internal */ +export type WebhooksEntitiesWebhookEntityPaginated$Outbound = { + data?: Array | null | undefined; + pagination?: NullablePaginationEntity$Outbound | null | undefined; +}; + +/** @internal */ +export const WebhooksEntitiesWebhookEntityPaginated$outboundSchema: z.ZodType< + WebhooksEntitiesWebhookEntityPaginated$Outbound, + z.ZodTypeDef, + WebhooksEntitiesWebhookEntityPaginated +> = z.object({ + data: z.nullable(z.array(WebhooksEntitiesWebhookEntity$outboundSchema)) + .optional(), + pagination: z.nullable(NullablePaginationEntity$outboundSchema).optional(), +}); + +export function webhooksEntitiesWebhookEntityPaginatedToJSON( + webhooksEntitiesWebhookEntityPaginated: + WebhooksEntitiesWebhookEntityPaginated, +): string { + return JSON.stringify( + WebhooksEntitiesWebhookEntityPaginated$outboundSchema.parse( + webhooksEntitiesWebhookEntityPaginated, + ), + ); +} +export function webhooksEntitiesWebhookEntityPaginatedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + WebhooksEntitiesWebhookEntityPaginated$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'WebhooksEntitiesWebhookEntityPaginated' from JSON`, + ); +} diff --git a/src/models/operations/createnuncconnection.ts b/src/models/operations/createnuncconnection.ts index 20a66765..407fedf7 100644 --- a/src/models/operations/createnuncconnection.ts +++ b/src/models/operations/createnuncconnection.ts @@ -32,6 +32,10 @@ export type CreateNuncConnectionRequest = { exposedFields?: Array | null | undefined; enableHistogram?: boolean | null | undefined; uiVersion?: number | null | undefined; + authenticationMethod?: string | null | undefined; + oidcAuthenticationConfigClientId?: string | null | undefined; + oidcAuthenticationConfigIssuerUrl?: string | null | undefined; + oidcAuthenticationConfigClientSecret?: string | null | undefined; }; /** @internal */ @@ -57,6 +61,11 @@ export const CreateNuncConnectionRequest$inboundSchema: z.ZodType< exposed_fields: z.nullable(z.array(z.string())).optional(), enable_histogram: z.nullable(z.boolean()).optional(), ui_version: z.nullable(z.number().int()).optional(), + authentication_method: z.nullable(z.string()).optional(), + "oidc_authentication_config[client_id]": z.nullable(z.string()).optional(), + "oidc_authentication_config[issuer_url]": z.nullable(z.string()).optional(), + "oidc_authentication_config[client_secret]": z.nullable(z.string()) + .optional(), }).transform((v) => { return remap$(v, { "company_name": "companyName", @@ -74,6 +83,12 @@ export const CreateNuncConnectionRequest$inboundSchema: z.ZodType< "exposed_fields": "exposedFields", "enable_histogram": "enableHistogram", "ui_version": "uiVersion", + "authentication_method": "authenticationMethod", + "oidc_authentication_config[client_id]": "oidcAuthenticationConfigClientId", + "oidc_authentication_config[issuer_url]": + "oidcAuthenticationConfigIssuerUrl", + "oidc_authentication_config[client_secret]": + "oidcAuthenticationConfigClientSecret", }); }); /** @internal */ @@ -95,6 +110,10 @@ export type CreateNuncConnectionRequest$Outbound = { exposed_fields?: Array | null | undefined; enable_histogram?: boolean | null | undefined; ui_version?: number | null | undefined; + authentication_method?: string | null | undefined; + "oidc_authentication_config[client_id]"?: string | null | undefined; + "oidc_authentication_config[issuer_url]"?: string | null | undefined; + "oidc_authentication_config[client_secret]"?: string | null | undefined; }; /** @internal */ @@ -120,6 +139,10 @@ export const CreateNuncConnectionRequest$outboundSchema: z.ZodType< exposedFields: z.nullable(z.array(z.string())).optional(), enableHistogram: z.nullable(z.boolean()).optional(), uiVersion: z.nullable(z.number().int()).optional(), + authenticationMethod: z.nullable(z.string()).optional(), + oidcAuthenticationConfigClientId: z.nullable(z.string()).optional(), + oidcAuthenticationConfigIssuerUrl: z.nullable(z.string()).optional(), + oidcAuthenticationConfigClientSecret: z.nullable(z.string()).optional(), }).transform((v) => { return remap$(v, { companyName: "company_name", @@ -137,6 +160,11 @@ export const CreateNuncConnectionRequest$outboundSchema: z.ZodType< exposedFields: "exposed_fields", enableHistogram: "enable_histogram", uiVersion: "ui_version", + authenticationMethod: "authentication_method", + oidcAuthenticationConfigClientId: "oidc_authentication_config[client_id]", + oidcAuthenticationConfigIssuerUrl: "oidc_authentication_config[issuer_url]", + oidcAuthenticationConfigClientSecret: + "oidc_authentication_config[client_secret]", }); }); diff --git a/src/models/operations/deleteenvironment.ts b/src/models/operations/deleteenvironment.ts index b8ab870b..76dca7fb 100644 --- a/src/models/operations/deleteenvironment.ts +++ b/src/models/operations/deleteenvironment.ts @@ -10,7 +10,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type DeleteEnvironmentRequest = { /** - * Environment UUID + * Environment UUID or slug */ environmentId: string; }; diff --git a/src/models/operations/deletesignalsheartbeatendpointconfiguration.ts b/src/models/operations/deletesignalsheartbeatendpointconfiguration.ts new file mode 100644 index 00000000..c3c73f82 --- /dev/null +++ b/src/models/operations/deletesignalsheartbeatendpointconfiguration.ts @@ -0,0 +1,62 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type DeleteSignalsHeartbeatEndpointConfigurationRequest = { + id: string; +}; + +/** @internal */ +export const DeleteSignalsHeartbeatEndpointConfigurationRequest$inboundSchema: + z.ZodType< + DeleteSignalsHeartbeatEndpointConfigurationRequest, + z.ZodTypeDef, + unknown + > = z.object({ + id: z.string(), + }); +/** @internal */ +export type DeleteSignalsHeartbeatEndpointConfigurationRequest$Outbound = { + id: string; +}; + +/** @internal */ +export const DeleteSignalsHeartbeatEndpointConfigurationRequest$outboundSchema: + z.ZodType< + DeleteSignalsHeartbeatEndpointConfigurationRequest$Outbound, + z.ZodTypeDef, + DeleteSignalsHeartbeatEndpointConfigurationRequest + > = z.object({ + id: z.string(), + }); + +export function deleteSignalsHeartbeatEndpointConfigurationRequestToJSON( + deleteSignalsHeartbeatEndpointConfigurationRequest: + DeleteSignalsHeartbeatEndpointConfigurationRequest, +): string { + return JSON.stringify( + DeleteSignalsHeartbeatEndpointConfigurationRequest$outboundSchema.parse( + deleteSignalsHeartbeatEndpointConfigurationRequest, + ), + ); +} +export function deleteSignalsHeartbeatEndpointConfigurationRequestFromJSON( + jsonString: string, +): SafeParseResult< + DeleteSignalsHeartbeatEndpointConfigurationRequest, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + DeleteSignalsHeartbeatEndpointConfigurationRequest$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'DeleteSignalsHeartbeatEndpointConfigurationRequest' from JSON`, + ); +} diff --git a/src/models/operations/exportsignalsshiftanalytics.ts b/src/models/operations/exportsignalsshiftanalytics.ts new file mode 100644 index 00000000..296b391e --- /dev/null +++ b/src/models/operations/exportsignalsshiftanalytics.ts @@ -0,0 +1,95 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { remap as remap$ } from "../../lib/primitives.js"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type ExportSignalsShiftAnalyticsRequest = { + /** + * Array of user IDs to fetch oncall hours for + */ + userIds?: Array | null | undefined; + /** + * Array of team IDs to fetch oncall hours for + */ + teamIds?: Array | null | undefined; + /** + * Start of the period to fetch hours for (UTC) + */ + periodStart: Date; + /** + * End of the period to fetch hours for (UTC) + */ + periodEnd: Date; +}; + +/** @internal */ +export const ExportSignalsShiftAnalyticsRequest$inboundSchema: z.ZodType< + ExportSignalsShiftAnalyticsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + user_ids: z.nullable(z.array(z.string())).optional(), + team_ids: z.nullable(z.array(z.string())).optional(), + period_start: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ), + period_end: z.string().datetime({ offset: true }).transform(v => new Date(v)), +}).transform((v) => { + return remap$(v, { + "user_ids": "userIds", + "team_ids": "teamIds", + "period_start": "periodStart", + "period_end": "periodEnd", + }); +}); +/** @internal */ +export type ExportSignalsShiftAnalyticsRequest$Outbound = { + user_ids?: Array | null | undefined; + team_ids?: Array | null | undefined; + period_start: string; + period_end: string; +}; + +/** @internal */ +export const ExportSignalsShiftAnalyticsRequest$outboundSchema: z.ZodType< + ExportSignalsShiftAnalyticsRequest$Outbound, + z.ZodTypeDef, + ExportSignalsShiftAnalyticsRequest +> = z.object({ + userIds: z.nullable(z.array(z.string())).optional(), + teamIds: z.nullable(z.array(z.string())).optional(), + periodStart: z.date().transform(v => v.toISOString()), + periodEnd: z.date().transform(v => v.toISOString()), +}).transform((v) => { + return remap$(v, { + userIds: "user_ids", + teamIds: "team_ids", + periodStart: "period_start", + periodEnd: "period_end", + }); +}); + +export function exportSignalsShiftAnalyticsRequestToJSON( + exportSignalsShiftAnalyticsRequest: ExportSignalsShiftAnalyticsRequest, +): string { + return JSON.stringify( + ExportSignalsShiftAnalyticsRequest$outboundSchema.parse( + exportSignalsShiftAnalyticsRequest, + ), + ); +} +export function exportSignalsShiftAnalyticsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + ExportSignalsShiftAnalyticsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ExportSignalsShiftAnalyticsRequest' from JSON`, + ); +} diff --git a/src/models/operations/getenvironment.ts b/src/models/operations/getenvironment.ts index 67173600..808d666f 100644 --- a/src/models/operations/getenvironment.ts +++ b/src/models/operations/getenvironment.ts @@ -10,7 +10,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetEnvironmentRequest = { /** - * Environment UUID + * Environment UUID or slug */ environmentId: string; }; diff --git a/src/models/operations/getfunctionality.ts b/src/models/operations/getfunctionality.ts index f0dfbb32..be08139e 100644 --- a/src/models/operations/getfunctionality.ts +++ b/src/models/operations/getfunctionality.ts @@ -9,6 +9,9 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetFunctionalityRequest = { + /** + * Functionality UUID or slug + */ functionalityId: string; }; diff --git a/src/models/operations/getretrospectivereporttemplate.ts b/src/models/operations/getretrospectivereporttemplate.ts deleted file mode 100644 index 948e5d55..00000000 --- a/src/models/operations/getretrospectivereporttemplate.ts +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type GetRetrospectiveReportTemplateRequest = { - id: string; -}; - -/** @internal */ -export const GetRetrospectiveReportTemplateRequest$inboundSchema: z.ZodType< - GetRetrospectiveReportTemplateRequest, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), -}); -/** @internal */ -export type GetRetrospectiveReportTemplateRequest$Outbound = { - id: string; -}; - -/** @internal */ -export const GetRetrospectiveReportTemplateRequest$outboundSchema: z.ZodType< - GetRetrospectiveReportTemplateRequest$Outbound, - z.ZodTypeDef, - GetRetrospectiveReportTemplateRequest -> = z.object({ - id: z.string(), -}); - -export function getRetrospectiveReportTemplateRequestToJSON( - getRetrospectiveReportTemplateRequest: GetRetrospectiveReportTemplateRequest, -): string { - return JSON.stringify( - GetRetrospectiveReportTemplateRequest$outboundSchema.parse( - getRetrospectiveReportTemplateRequest, - ), - ); -} -export function getRetrospectiveReportTemplateRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - GetRetrospectiveReportTemplateRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetRetrospectiveReportTemplateRequest' from JSON`, - ); -} diff --git a/src/models/operations/getservice.ts b/src/models/operations/getservice.ts index e338e88a..00f831dd 100644 --- a/src/models/operations/getservice.ts +++ b/src/models/operations/getservice.ts @@ -9,6 +9,9 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetServiceRequest = { + /** + * Service UUID or slug + */ serviceId: string; }; diff --git a/src/models/operations/getsignalsheartbeatendpointconfiguration.ts b/src/models/operations/getsignalsheartbeatendpointconfiguration.ts new file mode 100644 index 00000000..8bfc21d0 --- /dev/null +++ b/src/models/operations/getsignalsheartbeatendpointconfiguration.ts @@ -0,0 +1,62 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type GetSignalsHeartbeatEndpointConfigurationRequest = { + id: string; +}; + +/** @internal */ +export const GetSignalsHeartbeatEndpointConfigurationRequest$inboundSchema: + z.ZodType< + GetSignalsHeartbeatEndpointConfigurationRequest, + z.ZodTypeDef, + unknown + > = z.object({ + id: z.string(), + }); +/** @internal */ +export type GetSignalsHeartbeatEndpointConfigurationRequest$Outbound = { + id: string; +}; + +/** @internal */ +export const GetSignalsHeartbeatEndpointConfigurationRequest$outboundSchema: + z.ZodType< + GetSignalsHeartbeatEndpointConfigurationRequest$Outbound, + z.ZodTypeDef, + GetSignalsHeartbeatEndpointConfigurationRequest + > = z.object({ + id: z.string(), + }); + +export function getSignalsHeartbeatEndpointConfigurationRequestToJSON( + getSignalsHeartbeatEndpointConfigurationRequest: + GetSignalsHeartbeatEndpointConfigurationRequest, +): string { + return JSON.stringify( + GetSignalsHeartbeatEndpointConfigurationRequest$outboundSchema.parse( + getSignalsHeartbeatEndpointConfigurationRequest, + ), + ); +} +export function getSignalsHeartbeatEndpointConfigurationRequestFromJSON( + jsonString: string, +): SafeParseResult< + GetSignalsHeartbeatEndpointConfigurationRequest, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetSignalsHeartbeatEndpointConfigurationRequest$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetSignalsHeartbeatEndpointConfigurationRequest' from JSON`, + ); +} diff --git a/src/models/operations/getteam.ts b/src/models/operations/getteam.ts index 54848052..c7a282ef 100644 --- a/src/models/operations/getteam.ts +++ b/src/models/operations/getteam.ts @@ -9,6 +9,9 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetTeamRequest = { + /** + * Team UUID or slug + */ teamId: string; /** * Boolean to determine whether to return a slimified version of the teams object diff --git a/src/models/operations/index.ts b/src/models/operations/index.ts index b185e7af..a696df86 100644 --- a/src/models/operations/index.ts +++ b/src/models/operations/index.ts @@ -102,6 +102,7 @@ export * from "./deleteseveritymatriximpact.js"; export * from "./deletesignalsalertgroupingconfiguration.js"; export * from "./deletesignalsemailtarget.js"; export * from "./deletesignalseventsource.js"; +export * from "./deletesignalsheartbeatendpointconfiguration.js"; export * from "./deletesignalswebhooktarget.js"; export * from "./deleteslackemojiaction.js"; export * from "./deletestatuspageconnection.js"; @@ -119,6 +120,7 @@ export * from "./deleteticketingprojectconfig.js"; export * from "./deletetranscriptentry.js"; export * from "./deletewebhook.js"; export * from "./exportincidentretrospectives.js"; +export * from "./exportsignalsshiftanalytics.js"; export * from "./generateaudiencesummary.js"; export * from "./getaiincidentsummaryvotestatus.js"; export * from "./getalert.js"; @@ -158,7 +160,6 @@ export * from "./getoptionsforfield.js"; export * from "./getpostmortemquestion.js"; export * from "./getpostmortemreport.js"; export * from "./getpriority.js"; -export * from "./getretrospectivereporttemplate.js"; export * from "./getretrospectivetemplate.js"; export * from "./getrole.js"; export * from "./getrunbook.js"; @@ -178,6 +179,7 @@ export * from "./getsignalsalertgroupingconfiguration.js"; export * from "./getsignalsemailtarget.js"; export * from "./getsignalseventsource.js"; export * from "./getsignalsgroupedmetrics.js"; +export * from "./getsignalsheartbeatendpointconfiguration.js"; export * from "./getsignalsingesturl.js"; export * from "./getsignalsmttxanalytics.js"; export * from "./getsignalsnoiseanalytics.js"; @@ -225,9 +227,12 @@ export * from "./listconnectionstatusesbyslugandid.js"; export * from "./listcustomfieldselectoptions.js"; export * from "./listemailsubscribers.js"; export * from "./listentitlements.js"; +export * from "./listenvironmentfunctionalities.js"; export * from "./listenvironments.js"; +export * from "./listenvironmentservices.js"; export * from "./listfieldmapavailablefields.js"; export * from "./listfunctionalities.js"; +export * from "./listfunctionalityenvironments.js"; export * from "./listfunctionalityservices.js"; export * from "./listinboundfieldmaps.js"; export * from "./listincidentalerts.js"; @@ -273,10 +278,12 @@ export * from "./listscimgroups.js"; export * from "./listscimusers.js"; export * from "./listserviceavailabledownstreamdependencies.js"; export * from "./listserviceavailableupstreamdependencies.js"; +export * from "./listserviceenvironments.js"; export * from "./listservices.js"; export * from "./listseverities.js"; export * from "./listseveritymatrixconditions.js"; export * from "./listseveritymatriximpacts.js"; +export * from "./listsignalsalertgroupingconfigurations.js"; export * from "./listsignalsemailtargets.js"; export * from "./listsignalseventsources.js"; export * from "./listsignalswebhooktargets.js"; @@ -297,6 +304,7 @@ export * from "./listtickets.js"; export * from "./listtickettags.js"; export * from "./listtranscriptentries.js"; export * from "./listuserinvolvementmetrics.js"; +export * from "./listusernotificationsettingsbyuserid.js"; export * from "./listuserownedservices.js"; export * from "./listusers.js"; export * from "./listwebhookdeliveries.js"; @@ -380,6 +388,7 @@ export * from "./updateseveritymatriximpact.js"; export * from "./updatesignalsalert.js"; export * from "./updatesignalsalertgroupingconfiguration.js"; export * from "./updatesignalsemailtarget.js"; +export * from "./updatesignalsheartbeatendpointconfiguration.js"; export * from "./updatesignalswebhooktarget.js"; export * from "./updateslackemojiaction.js"; export * from "./updatestatuspageconnection.js"; diff --git a/src/models/operations/listaudiences.ts b/src/models/operations/listaudiences.ts index 28558b85..59b0ff4a 100644 --- a/src/models/operations/listaudiences.ts +++ b/src/models/operations/listaudiences.ts @@ -9,6 +9,8 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type ListAudiencesRequest = { + page?: number | null | undefined; + perPage?: number | null | undefined; /** * Include archived (discarded) audiences */ @@ -21,14 +23,19 @@ export const ListAudiencesRequest$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ + page: z.nullable(z.number().int()).optional(), + per_page: z.nullable(z.number().int()).optional(), include_archived: z.nullable(z.boolean().default(false)), }).transform((v) => { return remap$(v, { + "per_page": "perPage", "include_archived": "includeArchived", }); }); /** @internal */ export type ListAudiencesRequest$Outbound = { + page?: number | null | undefined; + per_page?: number | null | undefined; include_archived: boolean | null; }; @@ -38,9 +45,12 @@ export const ListAudiencesRequest$outboundSchema: z.ZodType< z.ZodTypeDef, ListAudiencesRequest > = z.object({ + page: z.nullable(z.number().int()).optional(), + perPage: z.nullable(z.number().int()).optional(), includeArchived: z.nullable(z.boolean().default(false)), }).transform((v) => { return remap$(v, { + perPage: "per_page", includeArchived: "include_archived", }); }); diff --git a/src/models/operations/listenvironmentfunctionalities.ts b/src/models/operations/listenvironmentfunctionalities.ts new file mode 100644 index 00000000..b55f1de6 --- /dev/null +++ b/src/models/operations/listenvironmentfunctionalities.ts @@ -0,0 +1,73 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { remap as remap$ } from "../../lib/primitives.js"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type ListEnvironmentFunctionalitiesRequest = { + environmentId: string; + page?: number | null | undefined; + perPage?: number | null | undefined; +}; + +/** @internal */ +export const ListEnvironmentFunctionalitiesRequest$inboundSchema: z.ZodType< + ListEnvironmentFunctionalitiesRequest, + z.ZodTypeDef, + unknown +> = z.object({ + environment_id: z.string(), + page: z.nullable(z.number().int()).optional(), + per_page: z.nullable(z.number().int()).optional(), +}).transform((v) => { + return remap$(v, { + "environment_id": "environmentId", + "per_page": "perPage", + }); +}); +/** @internal */ +export type ListEnvironmentFunctionalitiesRequest$Outbound = { + environment_id: string; + page?: number | null | undefined; + per_page?: number | null | undefined; +}; + +/** @internal */ +export const ListEnvironmentFunctionalitiesRequest$outboundSchema: z.ZodType< + ListEnvironmentFunctionalitiesRequest$Outbound, + z.ZodTypeDef, + ListEnvironmentFunctionalitiesRequest +> = z.object({ + environmentId: z.string(), + page: z.nullable(z.number().int()).optional(), + perPage: z.nullable(z.number().int()).optional(), +}).transform((v) => { + return remap$(v, { + environmentId: "environment_id", + perPage: "per_page", + }); +}); + +export function listEnvironmentFunctionalitiesRequestToJSON( + listEnvironmentFunctionalitiesRequest: ListEnvironmentFunctionalitiesRequest, +): string { + return JSON.stringify( + ListEnvironmentFunctionalitiesRequest$outboundSchema.parse( + listEnvironmentFunctionalitiesRequest, + ), + ); +} +export function listEnvironmentFunctionalitiesRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + ListEnvironmentFunctionalitiesRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListEnvironmentFunctionalitiesRequest' from JSON`, + ); +} diff --git a/src/models/operations/listenvironmentservices.ts b/src/models/operations/listenvironmentservices.ts new file mode 100644 index 00000000..753ebcba --- /dev/null +++ b/src/models/operations/listenvironmentservices.ts @@ -0,0 +1,72 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { remap as remap$ } from "../../lib/primitives.js"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type ListEnvironmentServicesRequest = { + environmentId: string; + page?: number | null | undefined; + perPage?: number | null | undefined; +}; + +/** @internal */ +export const ListEnvironmentServicesRequest$inboundSchema: z.ZodType< + ListEnvironmentServicesRequest, + z.ZodTypeDef, + unknown +> = z.object({ + environment_id: z.string(), + page: z.nullable(z.number().int()).optional(), + per_page: z.nullable(z.number().int()).optional(), +}).transform((v) => { + return remap$(v, { + "environment_id": "environmentId", + "per_page": "perPage", + }); +}); +/** @internal */ +export type ListEnvironmentServicesRequest$Outbound = { + environment_id: string; + page?: number | null | undefined; + per_page?: number | null | undefined; +}; + +/** @internal */ +export const ListEnvironmentServicesRequest$outboundSchema: z.ZodType< + ListEnvironmentServicesRequest$Outbound, + z.ZodTypeDef, + ListEnvironmentServicesRequest +> = z.object({ + environmentId: z.string(), + page: z.nullable(z.number().int()).optional(), + perPage: z.nullable(z.number().int()).optional(), +}).transform((v) => { + return remap$(v, { + environmentId: "environment_id", + perPage: "per_page", + }); +}); + +export function listEnvironmentServicesRequestToJSON( + listEnvironmentServicesRequest: ListEnvironmentServicesRequest, +): string { + return JSON.stringify( + ListEnvironmentServicesRequest$outboundSchema.parse( + listEnvironmentServicesRequest, + ), + ); +} +export function listEnvironmentServicesRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListEnvironmentServicesRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListEnvironmentServicesRequest' from JSON`, + ); +} diff --git a/src/models/operations/listfunctionalityenvironments.ts b/src/models/operations/listfunctionalityenvironments.ts new file mode 100644 index 00000000..c8c91a1e --- /dev/null +++ b/src/models/operations/listfunctionalityenvironments.ts @@ -0,0 +1,73 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { remap as remap$ } from "../../lib/primitives.js"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type ListFunctionalityEnvironmentsRequest = { + functionalityId: string; + page?: number | null | undefined; + perPage?: number | null | undefined; +}; + +/** @internal */ +export const ListFunctionalityEnvironmentsRequest$inboundSchema: z.ZodType< + ListFunctionalityEnvironmentsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + functionality_id: z.string(), + page: z.nullable(z.number().int()).optional(), + per_page: z.nullable(z.number().int()).optional(), +}).transform((v) => { + return remap$(v, { + "functionality_id": "functionalityId", + "per_page": "perPage", + }); +}); +/** @internal */ +export type ListFunctionalityEnvironmentsRequest$Outbound = { + functionality_id: string; + page?: number | null | undefined; + per_page?: number | null | undefined; +}; + +/** @internal */ +export const ListFunctionalityEnvironmentsRequest$outboundSchema: z.ZodType< + ListFunctionalityEnvironmentsRequest$Outbound, + z.ZodTypeDef, + ListFunctionalityEnvironmentsRequest +> = z.object({ + functionalityId: z.string(), + page: z.nullable(z.number().int()).optional(), + perPage: z.nullable(z.number().int()).optional(), +}).transform((v) => { + return remap$(v, { + functionalityId: "functionality_id", + perPage: "per_page", + }); +}); + +export function listFunctionalityEnvironmentsRequestToJSON( + listFunctionalityEnvironmentsRequest: ListFunctionalityEnvironmentsRequest, +): string { + return JSON.stringify( + ListFunctionalityEnvironmentsRequest$outboundSchema.parse( + listFunctionalityEnvironmentsRequest, + ), + ); +} +export function listFunctionalityEnvironmentsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + ListFunctionalityEnvironmentsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListFunctionalityEnvironmentsRequest' from JSON`, + ); +} diff --git a/src/models/operations/listincidents.ts b/src/models/operations/listincidents.ts index f0a1d6ca..6972002c 100644 --- a/src/models/operations/listincidents.ts +++ b/src/models/operations/listincidents.ts @@ -144,9 +144,17 @@ export type ListIncidentsRequest = { */ updatedBefore?: Date | null | undefined; /** - * A comma separated list of incident type IDs + * A comma separated list of incident type IDs or 'is_empty' to filter for incidents with no incident type */ incidentTypeId?: string | null | undefined; + /** + * Custom field ID to filter on + */ + customFieldsFieldId?: Array | null | undefined; + /** + * Custom field value (empty means no value set) + */ + customFieldsValue?: Array | null | undefined; /** * A comma separated list of retrospective template IDs */ @@ -225,6 +233,8 @@ export const ListIncidentsRequest$inboundSchema: z.ZodType< z.string().datetime({ offset: true }).transform(v => new Date(v)), ).optional(), incident_type_id: z.nullable(z.string()).optional(), + "custom_fields[field_id]": z.nullable(z.array(z.string())).optional(), + "custom_fields[value]": z.nullable(z.array(z.string())).optional(), retrospective_templates: z.nullable(z.string()).optional(), attached_runbooks: z.nullable(z.string()).optional(), }).transform((v) => { @@ -248,6 +258,8 @@ export const ListIncidentsRequest$inboundSchema: z.ZodType< "updated_after": "updatedAfter", "updated_before": "updatedBefore", "incident_type_id": "incidentTypeId", + "custom_fields[field_id]": "customFieldsFieldId", + "custom_fields[value]": "customFieldsValue", "retrospective_templates": "retrospectiveTemplates", "attached_runbooks": "attachedRunbooks", }); @@ -286,6 +298,8 @@ export type ListIncidentsRequest$Outbound = { updated_after?: string | null | undefined; updated_before?: string | null | undefined; incident_type_id?: string | null | undefined; + "custom_fields[field_id]"?: Array | null | undefined; + "custom_fields[value]"?: Array | null | undefined; retrospective_templates?: string | null | undefined; attached_runbooks?: string | null | undefined; }; @@ -336,6 +350,8 @@ export const ListIncidentsRequest$outboundSchema: z.ZodType< updatedBefore: z.nullable(z.date().transform(v => v.toISOString())) .optional(), incidentTypeId: z.nullable(z.string()).optional(), + customFieldsFieldId: z.nullable(z.array(z.string())).optional(), + customFieldsValue: z.nullable(z.array(z.string())).optional(), retrospectiveTemplates: z.nullable(z.string()).optional(), attachedRunbooks: z.nullable(z.string()).optional(), }).transform((v) => { @@ -359,6 +375,8 @@ export const ListIncidentsRequest$outboundSchema: z.ZodType< updatedAfter: "updated_after", updatedBefore: "updated_before", incidentTypeId: "incident_type_id", + customFieldsFieldId: "custom_fields[field_id]", + customFieldsValue: "custom_fields[value]", retrospectiveTemplates: "retrospective_templates", attachedRunbooks: "attached_runbooks", }); diff --git a/src/models/operations/listserviceenvironments.ts b/src/models/operations/listserviceenvironments.ts new file mode 100644 index 00000000..de131eea --- /dev/null +++ b/src/models/operations/listserviceenvironments.ts @@ -0,0 +1,72 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { remap as remap$ } from "../../lib/primitives.js"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type ListServiceEnvironmentsRequest = { + serviceId: string; + page?: number | null | undefined; + perPage?: number | null | undefined; +}; + +/** @internal */ +export const ListServiceEnvironmentsRequest$inboundSchema: z.ZodType< + ListServiceEnvironmentsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + service_id: z.string(), + page: z.nullable(z.number().int()).optional(), + per_page: z.nullable(z.number().int()).optional(), +}).transform((v) => { + return remap$(v, { + "service_id": "serviceId", + "per_page": "perPage", + }); +}); +/** @internal */ +export type ListServiceEnvironmentsRequest$Outbound = { + service_id: string; + page?: number | null | undefined; + per_page?: number | null | undefined; +}; + +/** @internal */ +export const ListServiceEnvironmentsRequest$outboundSchema: z.ZodType< + ListServiceEnvironmentsRequest$Outbound, + z.ZodTypeDef, + ListServiceEnvironmentsRequest +> = z.object({ + serviceId: z.string(), + page: z.nullable(z.number().int()).optional(), + perPage: z.nullable(z.number().int()).optional(), +}).transform((v) => { + return remap$(v, { + serviceId: "service_id", + perPage: "per_page", + }); +}); + +export function listServiceEnvironmentsRequestToJSON( + listServiceEnvironmentsRequest: ListServiceEnvironmentsRequest, +): string { + return JSON.stringify( + ListServiceEnvironmentsRequest$outboundSchema.parse( + listServiceEnvironmentsRequest, + ), + ); +} +export function listServiceEnvironmentsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListServiceEnvironmentsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListServiceEnvironmentsRequest' from JSON`, + ); +} diff --git a/src/models/operations/listsignalsalertgroupingconfigurations.ts b/src/models/operations/listsignalsalertgroupingconfigurations.ts new file mode 100644 index 00000000..515fc7bc --- /dev/null +++ b/src/models/operations/listsignalsalertgroupingconfigurations.ts @@ -0,0 +1,75 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { remap as remap$ } from "../../lib/primitives.js"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type ListSignalsAlertGroupingConfigurationsRequest = { + page?: number | null | undefined; + perPage?: number | null | undefined; +}; + +/** @internal */ +export const ListSignalsAlertGroupingConfigurationsRequest$inboundSchema: + z.ZodType< + ListSignalsAlertGroupingConfigurationsRequest, + z.ZodTypeDef, + unknown + > = z.object({ + page: z.nullable(z.number().int()).optional(), + per_page: z.nullable(z.number().int()).optional(), + }).transform((v) => { + return remap$(v, { + "per_page": "perPage", + }); + }); +/** @internal */ +export type ListSignalsAlertGroupingConfigurationsRequest$Outbound = { + page?: number | null | undefined; + per_page?: number | null | undefined; +}; + +/** @internal */ +export const ListSignalsAlertGroupingConfigurationsRequest$outboundSchema: + z.ZodType< + ListSignalsAlertGroupingConfigurationsRequest$Outbound, + z.ZodTypeDef, + ListSignalsAlertGroupingConfigurationsRequest + > = z.object({ + page: z.nullable(z.number().int()).optional(), + perPage: z.nullable(z.number().int()).optional(), + }).transform((v) => { + return remap$(v, { + perPage: "per_page", + }); + }); + +export function listSignalsAlertGroupingConfigurationsRequestToJSON( + listSignalsAlertGroupingConfigurationsRequest: + ListSignalsAlertGroupingConfigurationsRequest, +): string { + return JSON.stringify( + ListSignalsAlertGroupingConfigurationsRequest$outboundSchema.parse( + listSignalsAlertGroupingConfigurationsRequest, + ), + ); +} +export function listSignalsAlertGroupingConfigurationsRequestFromJSON( + jsonString: string, +): SafeParseResult< + ListSignalsAlertGroupingConfigurationsRequest, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + ListSignalsAlertGroupingConfigurationsRequest$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'ListSignalsAlertGroupingConfigurationsRequest' from JSON`, + ); +} diff --git a/src/models/operations/listusernotificationsettingsbyuserid.ts b/src/models/operations/listusernotificationsettingsbyuserid.ts new file mode 100644 index 00000000..bd003e7d --- /dev/null +++ b/src/models/operations/listusernotificationsettingsbyuserid.ts @@ -0,0 +1,115 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { remap as remap$ } from "../../lib/primitives.js"; +import { safeParse } from "../../lib/schemas.js"; +import { ClosedEnum } from "../../types/enums.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * The level of priority for the notification setting. + */ +export const NotificationPriority = { + High: "HIGH", + Medium: "MEDIUM", + Low: "LOW", +} as const; +/** + * The level of priority for the notification setting. + */ +export type NotificationPriority = ClosedEnum; + +export type ListUserNotificationSettingsByUserIdRequest = { + userId: string; + page?: number | null | undefined; + perPage?: number | null | undefined; + /** + * The level of priority for the notification setting. + */ + notificationPriority?: NotificationPriority | null | undefined; +}; + +/** @internal */ +export const NotificationPriority$inboundSchema: z.ZodNativeEnum< + typeof NotificationPriority +> = z.nativeEnum(NotificationPriority); +/** @internal */ +export const NotificationPriority$outboundSchema: z.ZodNativeEnum< + typeof NotificationPriority +> = NotificationPriority$inboundSchema; + +/** @internal */ +export const ListUserNotificationSettingsByUserIdRequest$inboundSchema: + z.ZodType< + ListUserNotificationSettingsByUserIdRequest, + z.ZodTypeDef, + unknown + > = z.object({ + user_id: z.string(), + page: z.nullable(z.number().int()).optional(), + per_page: z.nullable(z.number().int()).optional(), + notification_priority: z.nullable(NotificationPriority$inboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + "user_id": "userId", + "per_page": "perPage", + "notification_priority": "notificationPriority", + }); + }); +/** @internal */ +export type ListUserNotificationSettingsByUserIdRequest$Outbound = { + user_id: string; + page?: number | null | undefined; + per_page?: number | null | undefined; + notification_priority?: string | null | undefined; +}; + +/** @internal */ +export const ListUserNotificationSettingsByUserIdRequest$outboundSchema: + z.ZodType< + ListUserNotificationSettingsByUserIdRequest$Outbound, + z.ZodTypeDef, + ListUserNotificationSettingsByUserIdRequest + > = z.object({ + userId: z.string(), + page: z.nullable(z.number().int()).optional(), + perPage: z.nullable(z.number().int()).optional(), + notificationPriority: z.nullable(NotificationPriority$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + userId: "user_id", + perPage: "per_page", + notificationPriority: "notification_priority", + }); + }); + +export function listUserNotificationSettingsByUserIdRequestToJSON( + listUserNotificationSettingsByUserIdRequest: + ListUserNotificationSettingsByUserIdRequest, +): string { + return JSON.stringify( + ListUserNotificationSettingsByUserIdRequest$outboundSchema.parse( + listUserNotificationSettingsByUserIdRequest, + ), + ); +} +export function listUserNotificationSettingsByUserIdRequestFromJSON( + jsonString: string, +): SafeParseResult< + ListUserNotificationSettingsByUserIdRequest, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + ListUserNotificationSettingsByUserIdRequest$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'ListUserNotificationSettingsByUserIdRequest' from JSON`, + ); +} diff --git a/src/models/operations/listwebhookdeliveries.ts b/src/models/operations/listwebhookdeliveries.ts index 7cf53cd0..ce1fcaf3 100644 --- a/src/models/operations/listwebhookdeliveries.ts +++ b/src/models/operations/listwebhookdeliveries.ts @@ -13,6 +13,8 @@ export type ListWebhookDeliveriesRequest = { * ID of a webhook */ webhookId: string; + page?: number | null | undefined; + perPage?: number | null | undefined; }; /** @internal */ @@ -22,14 +24,19 @@ export const ListWebhookDeliveriesRequest$inboundSchema: z.ZodType< unknown > = z.object({ webhook_id: z.string(), + page: z.nullable(z.number().int()).optional(), + per_page: z.nullable(z.number().int()).optional(), }).transform((v) => { return remap$(v, { "webhook_id": "webhookId", + "per_page": "perPage", }); }); /** @internal */ export type ListWebhookDeliveriesRequest$Outbound = { webhook_id: string; + page?: number | null | undefined; + per_page?: number | null | undefined; }; /** @internal */ @@ -39,9 +46,12 @@ export const ListWebhookDeliveriesRequest$outboundSchema: z.ZodType< ListWebhookDeliveriesRequest > = z.object({ webhookId: z.string(), + page: z.nullable(z.number().int()).optional(), + perPage: z.nullable(z.number().int()).optional(), }).transform((v) => { return remap$(v, { webhookId: "webhook_id", + perPage: "per_page", }); }); diff --git a/src/models/operations/searchconfluencespaces.ts b/src/models/operations/searchconfluencespaces.ts index c05fc158..583cdcce 100644 --- a/src/models/operations/searchconfluencespaces.ts +++ b/src/models/operations/searchconfluencespaces.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { remap as remap$ } from "../../lib/primitives.js"; import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; @@ -10,9 +11,15 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type SearchConfluenceSpacesRequest = { id: string; /** - * Space Key + * Space Key (Deprecated) */ keyword?: string | null | undefined; + /** + * Space name query + */ + query?: string | null | undefined; + page?: number | null | undefined; + perPage?: number | null | undefined; }; /** @internal */ @@ -23,11 +30,21 @@ export const SearchConfluenceSpacesRequest$inboundSchema: z.ZodType< > = z.object({ id: z.string(), keyword: z.nullable(z.string()).optional(), + query: z.nullable(z.string()).optional(), + page: z.nullable(z.number().int()).optional(), + per_page: z.nullable(z.number().int()).optional(), +}).transform((v) => { + return remap$(v, { + "per_page": "perPage", + }); }); /** @internal */ export type SearchConfluenceSpacesRequest$Outbound = { id: string; keyword?: string | null | undefined; + query?: string | null | undefined; + page?: number | null | undefined; + per_page?: number | null | undefined; }; /** @internal */ @@ -38,6 +55,13 @@ export const SearchConfluenceSpacesRequest$outboundSchema: z.ZodType< > = z.object({ id: z.string(), keyword: z.nullable(z.string()).optional(), + query: z.nullable(z.string()).optional(), + page: z.nullable(z.number().int()).optional(), + perPage: z.nullable(z.number().int()).optional(), +}).transform((v) => { + return remap$(v, { + perPage: "per_page", + }); }); export function searchConfluenceSpacesRequestToJSON( diff --git a/src/models/operations/updateenvironment.ts b/src/models/operations/updateenvironment.ts index 04dcdd98..39941262 100644 --- a/src/models/operations/updateenvironment.ts +++ b/src/models/operations/updateenvironment.ts @@ -11,7 +11,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type UpdateEnvironmentRequest = { /** - * Environment UUID + * Environment UUID or slug */ environmentId: string; updateEnvironment: components.UpdateEnvironment; diff --git a/src/models/operations/updatenuncconnection.ts b/src/models/operations/updatenuncconnection.ts index 92128ed2..4b79d594 100644 --- a/src/models/operations/updatenuncconnection.ts +++ b/src/models/operations/updatenuncconnection.ts @@ -31,6 +31,10 @@ export type UpdateNuncConnectionRequestBody = { exposedFields?: Array | null | undefined; enableHistogram?: boolean | null | undefined; uiVersion?: number | null | undefined; + authenticationMethod?: string | null | undefined; + oidcAuthenticationConfigIssuerUrl?: string | null | undefined; + oidcAuthenticationConfigClientId?: string | null | undefined; + oidcAuthenticationConfigClientSecret?: string | null | undefined; }; export type UpdateNuncConnectionRequest = { @@ -60,6 +64,11 @@ export const UpdateNuncConnectionRequestBody$inboundSchema: z.ZodType< exposed_fields: z.nullable(z.array(z.string())).optional(), enable_histogram: z.nullable(z.boolean()).optional(), ui_version: z.nullable(z.number().int()).optional(), + authentication_method: z.nullable(z.string()).optional(), + "oidc_authentication_config[issuer_url]": z.nullable(z.string()).optional(), + "oidc_authentication_config[client_id]": z.nullable(z.string()).optional(), + "oidc_authentication_config[client_secret]": z.nullable(z.string()) + .optional(), }).transform((v) => { return remap$(v, { "company_name": "companyName", @@ -77,6 +86,12 @@ export const UpdateNuncConnectionRequestBody$inboundSchema: z.ZodType< "exposed_fields": "exposedFields", "enable_histogram": "enableHistogram", "ui_version": "uiVersion", + "authentication_method": "authenticationMethod", + "oidc_authentication_config[issuer_url]": + "oidcAuthenticationConfigIssuerUrl", + "oidc_authentication_config[client_id]": "oidcAuthenticationConfigClientId", + "oidc_authentication_config[client_secret]": + "oidcAuthenticationConfigClientSecret", }); }); /** @internal */ @@ -97,6 +112,10 @@ export type UpdateNuncConnectionRequestBody$Outbound = { exposed_fields?: Array | null | undefined; enable_histogram?: boolean | null | undefined; ui_version?: number | null | undefined; + authentication_method?: string | null | undefined; + "oidc_authentication_config[issuer_url]"?: string | null | undefined; + "oidc_authentication_config[client_id]"?: string | null | undefined; + "oidc_authentication_config[client_secret]"?: string | null | undefined; }; /** @internal */ @@ -121,6 +140,10 @@ export const UpdateNuncConnectionRequestBody$outboundSchema: z.ZodType< exposedFields: z.nullable(z.array(z.string())).optional(), enableHistogram: z.nullable(z.boolean()).optional(), uiVersion: z.nullable(z.number().int()).optional(), + authenticationMethod: z.nullable(z.string()).optional(), + oidcAuthenticationConfigIssuerUrl: z.nullable(z.string()).optional(), + oidcAuthenticationConfigClientId: z.nullable(z.string()).optional(), + oidcAuthenticationConfigClientSecret: z.nullable(z.string()).optional(), }).transform((v) => { return remap$(v, { companyName: "company_name", @@ -138,6 +161,11 @@ export const UpdateNuncConnectionRequestBody$outboundSchema: z.ZodType< exposedFields: "exposed_fields", enableHistogram: "enable_histogram", uiVersion: "ui_version", + authenticationMethod: "authentication_method", + oidcAuthenticationConfigIssuerUrl: "oidc_authentication_config[issuer_url]", + oidcAuthenticationConfigClientId: "oidc_authentication_config[client_id]", + oidcAuthenticationConfigClientSecret: + "oidc_authentication_config[client_secret]", }); }); diff --git a/src/models/operations/updateretrospectivetemplate.ts b/src/models/operations/updateretrospectivetemplate.ts index 6ffe5886..9e64ff76 100644 --- a/src/models/operations/updateretrospectivetemplate.ts +++ b/src/models/operations/updateretrospectivetemplate.ts @@ -26,6 +26,7 @@ export type UpdateRetrospectiveTemplateFieldsType = ClosedEnum< export const ReportElementsType = { IncidentData: "incident_data", RetrospectiveField: "retrospective_field", + CustomField: "custom_field", ProsemirrorContent: "prosemirror_content", Divider: "divider", } as const; diff --git a/src/models/operations/updatesignalsheartbeatendpointconfiguration.ts b/src/models/operations/updatesignalsheartbeatendpointconfiguration.ts new file mode 100644 index 00000000..78575cf2 --- /dev/null +++ b/src/models/operations/updatesignalsheartbeatendpointconfiguration.ts @@ -0,0 +1,84 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { remap as remap$ } from "../../lib/primitives.js"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import * as components from "../components/index.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type UpdateSignalsHeartbeatEndpointConfigurationRequest = { + id: string; + updateSignalsHeartbeatEndpointConfiguration: + components.UpdateSignalsHeartbeatEndpointConfiguration; +}; + +/** @internal */ +export const UpdateSignalsHeartbeatEndpointConfigurationRequest$inboundSchema: + z.ZodType< + UpdateSignalsHeartbeatEndpointConfigurationRequest, + z.ZodTypeDef, + unknown + > = z.object({ + id: z.string(), + update_signals_heartbeat_endpoint_configuration: z.lazy(() => + components.UpdateSignalsHeartbeatEndpointConfiguration$inboundSchema + ), + }).transform((v) => { + return remap$(v, { + "update_signals_heartbeat_endpoint_configuration": + "updateSignalsHeartbeatEndpointConfiguration", + }); + }); +/** @internal */ +export type UpdateSignalsHeartbeatEndpointConfigurationRequest$Outbound = { + id: string; + update_signals_heartbeat_endpoint_configuration: + components.UpdateSignalsHeartbeatEndpointConfiguration$Outbound; +}; + +/** @internal */ +export const UpdateSignalsHeartbeatEndpointConfigurationRequest$outboundSchema: + z.ZodType< + UpdateSignalsHeartbeatEndpointConfigurationRequest$Outbound, + z.ZodTypeDef, + UpdateSignalsHeartbeatEndpointConfigurationRequest + > = z.object({ + id: z.string(), + updateSignalsHeartbeatEndpointConfiguration: z.lazy(() => + components.UpdateSignalsHeartbeatEndpointConfiguration$outboundSchema + ), + }).transform((v) => { + return remap$(v, { + updateSignalsHeartbeatEndpointConfiguration: + "update_signals_heartbeat_endpoint_configuration", + }); + }); + +export function updateSignalsHeartbeatEndpointConfigurationRequestToJSON( + updateSignalsHeartbeatEndpointConfigurationRequest: + UpdateSignalsHeartbeatEndpointConfigurationRequest, +): string { + return JSON.stringify( + UpdateSignalsHeartbeatEndpointConfigurationRequest$outboundSchema.parse( + updateSignalsHeartbeatEndpointConfigurationRequest, + ), + ); +} +export function updateSignalsHeartbeatEndpointConfigurationRequestFromJSON( + jsonString: string, +): SafeParseResult< + UpdateSignalsHeartbeatEndpointConfigurationRequest, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateSignalsHeartbeatEndpointConfigurationRequest$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateSignalsHeartbeatEndpointConfigurationRequest' from JSON`, + ); +} diff --git a/src/sdk/audiences.ts b/src/sdk/audiences.ts index 9a967c44..dd0ace7a 100644 --- a/src/sdk/audiences.ts +++ b/src/sdk/audiences.ts @@ -28,7 +28,7 @@ export class Audiences extends ClientSDK { async listAudiences( request: operations.ListAudiencesRequest, options?: RequestOptions, - ): Promise { + ): Promise { return unwrapAsync(audiencesListAudiences( this, request, diff --git a/src/sdk/catalogentries.ts b/src/sdk/catalogentries.ts index 96bb3a56..9005ba36 100644 --- a/src/sdk/catalogentries.ts +++ b/src/sdk/catalogentries.ts @@ -19,12 +19,16 @@ import { catalogEntriesGetService } from "../funcs/catalogEntriesGetService.js"; import { catalogEntriesGetServiceDependencies } from "../funcs/catalogEntriesGetServiceDependencies.js"; import { catalogEntriesGetServiceDependency } from "../funcs/catalogEntriesGetServiceDependency.js"; import { catalogEntriesIngestCatalogData } from "../funcs/catalogEntriesIngestCatalogData.js"; +import { catalogEntriesListEnvironmentFunctionalities } from "../funcs/catalogEntriesListEnvironmentFunctionalities.js"; import { catalogEntriesListEnvironments } from "../funcs/catalogEntriesListEnvironments.js"; +import { catalogEntriesListEnvironmentServices } from "../funcs/catalogEntriesListEnvironmentServices.js"; import { catalogEntriesListFunctionalities } from "../funcs/catalogEntriesListFunctionalities.js"; +import { catalogEntriesListFunctionalityEnvironments } from "../funcs/catalogEntriesListFunctionalityEnvironments.js"; import { catalogEntriesListFunctionalityServices } from "../funcs/catalogEntriesListFunctionalityServices.js"; import { catalogEntriesListInfrastructures } from "../funcs/catalogEntriesListInfrastructures.js"; import { catalogEntriesListServiceAvailableDownstreamDependencies } from "../funcs/catalogEntriesListServiceAvailableDownstreamDependencies.js"; import { catalogEntriesListServiceAvailableUpstreamDependencies } from "../funcs/catalogEntriesListServiceAvailableUpstreamDependencies.js"; +import { catalogEntriesListServiceEnvironments } from "../funcs/catalogEntriesListServiceEnvironments.js"; import { catalogEntriesListServices } from "../funcs/catalogEntriesListServices.js"; import { catalogEntriesListUserOwnedServices } from "../funcs/catalogEntriesListUserOwnedServices.js"; import { catalogEntriesRefreshCatalog } from "../funcs/catalogEntriesRefreshCatalog.js"; @@ -123,6 +127,40 @@ export class CatalogEntries extends ClientSDK { )); } + /** + * List services for an environment + * + * @remarks + * List services for an environment + */ + async listEnvironmentServices( + request: operations.ListEnvironmentServicesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(catalogEntriesListEnvironmentServices( + this, + request, + options, + )); + } + + /** + * List functionalities for an environment + * + * @remarks + * List functionalities for an environment + */ + async listEnvironmentFunctionalities( + request: operations.ListEnvironmentFunctionalitiesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(catalogEntriesListEnvironmentFunctionalities( + this, + request, + options, + )); + } + /** * List services * @@ -226,6 +264,23 @@ export class CatalogEntries extends ClientSDK { )); } + /** + * List environments for a service + * + * @remarks + * List environments for a service + */ + async listServiceEnvironments( + request: operations.ListServiceEnvironmentsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(catalogEntriesListServiceEnvironments( + this, + request, + options, + )); + } + /** * List dependencies for a service * @@ -464,6 +519,23 @@ export class CatalogEntries extends ClientSDK { )); } + /** + * List environments for a functionality + * + * @remarks + * List environments for a functionality + */ + async listFunctionalityEnvironments( + request: operations.ListFunctionalityEnvironmentsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(catalogEntriesListFunctionalityEnvironments( + this, + request, + options, + )); + } + /** * List services for a functionality * diff --git a/src/sdk/metricsreporting.ts b/src/sdk/metricsreporting.ts index da6f036b..52b4c726 100644 --- a/src/sdk/metricsreporting.ts +++ b/src/sdk/metricsreporting.ts @@ -4,6 +4,7 @@ import { metricsReportingCreateSavedSearch } from "../funcs/metricsReportingCreateSavedSearch.js"; import { metricsReportingDeleteSavedSearch } from "../funcs/metricsReportingDeleteSavedSearch.js"; +import { metricsReportingExportSignalsShiftAnalytics } from "../funcs/metricsReportingExportSignalsShiftAnalytics.js"; import { metricsReportingGetMeanTimeReport } from "../funcs/metricsReportingGetMeanTimeReport.js"; import { metricsReportingGetSavedSearch } from "../funcs/metricsReportingGetSavedSearch.js"; import { metricsReportingGetSignalsGroupedMetrics } from "../funcs/metricsReportingGetSignalsGroupedMetrics.js"; @@ -277,4 +278,21 @@ export class MetricsReporting extends ClientSDK { options, )); } + + /** + * Export on-call hours report + * + * @remarks + * Export on-call hours report for users/teams during a time period + */ + async exportSignalsShiftAnalytics( + request: operations.ExportSignalsShiftAnalyticsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(metricsReportingExportSignalsShiftAnalytics( + this, + request, + options, + )); + } } diff --git a/src/sdk/retrospectives.ts b/src/sdk/retrospectives.ts index 6bf17cb5..9c71d747 100644 --- a/src/sdk/retrospectives.ts +++ b/src/sdk/retrospectives.ts @@ -15,7 +15,6 @@ import { retrospectivesExportIncidentRetrospectives } from "../funcs/retrospecti import { retrospectivesGetIncidentRetrospectiveField } from "../funcs/retrospectivesGetIncidentRetrospectiveField.js"; import { retrospectivesGetPostMortemQuestion } from "../funcs/retrospectivesGetPostMortemQuestion.js"; import { retrospectivesGetPostMortemReport } from "../funcs/retrospectivesGetPostMortemReport.js"; -import { retrospectivesGetRetrospectiveReportTemplate } from "../funcs/retrospectivesGetRetrospectiveReportTemplate.js"; import { retrospectivesGetRetrospectiveTemplate } from "../funcs/retrospectivesGetRetrospectiveTemplate.js"; import { retrospectivesListIncidentRetrospectives } from "../funcs/retrospectivesListIncidentRetrospectives.js"; import { retrospectivesListPostMortemQuestions } from "../funcs/retrospectivesListPostMortemQuestions.js"; @@ -548,21 +547,4 @@ export class Retrospectives extends ClientSDK { options, )); } - - /** - * Get a retrospective report template - * - * @remarks - * Retrieve a single retrospective report template by ID - */ - async getRetrospectiveReportTemplate( - request: operations.GetRetrospectiveReportTemplateRequest, - options?: RequestOptions, - ): Promise { - return unwrapAsync(retrospectivesGetRetrospectiveReportTemplate( - this, - request, - options, - )); - } } diff --git a/src/sdk/runbooks.ts b/src/sdk/runbooks.ts index 2a3c4d4b..9e5c8574 100644 --- a/src/sdk/runbooks.ts +++ b/src/sdk/runbooks.ts @@ -185,7 +185,7 @@ export class Runbooks extends ClientSDK { async listRunbooks( request: operations.ListRunbooksRequest, options?: RequestOptions, - ): Promise { + ): Promise { return unwrapAsync(runbooksListRunbooks( this, request, diff --git a/src/sdk/signals.ts b/src/sdk/signals.ts index 33d3cf7d..ea40c7ad 100644 --- a/src/sdk/signals.ts +++ b/src/sdk/signals.ts @@ -9,6 +9,7 @@ import { signalsCreateOnCallShift } from "../funcs/signalsCreateOnCallShift.js"; import { signalsCreateSignalsAlertGroupingConfiguration } from "../funcs/signalsCreateSignalsAlertGroupingConfiguration.js"; import { signalsCreateSignalsEmailTarget } from "../funcs/signalsCreateSignalsEmailTarget.js"; import { signalsCreateSignalsEventSource } from "../funcs/signalsCreateSignalsEventSource.js"; +import { signalsCreateSignalsHeartbeatEndpointConfiguration } from "../funcs/signalsCreateSignalsHeartbeatEndpointConfiguration.js"; import { signalsCreateSignalsWebhookTarget } from "../funcs/signalsCreateSignalsWebhookTarget.js"; import { signalsCreateTeamEscalationPolicy } from "../funcs/signalsCreateTeamEscalationPolicy.js"; import { signalsCreateTeamOnCallSchedule } from "../funcs/signalsCreateTeamOnCallSchedule.js"; @@ -20,6 +21,7 @@ import { signalsDeleteOnCallShift } from "../funcs/signalsDeleteOnCallShift.js"; import { signalsDeleteSignalsAlertGroupingConfiguration } from "../funcs/signalsDeleteSignalsAlertGroupingConfiguration.js"; import { signalsDeleteSignalsEmailTarget } from "../funcs/signalsDeleteSignalsEmailTarget.js"; import { signalsDeleteSignalsEventSource } from "../funcs/signalsDeleteSignalsEventSource.js"; +import { signalsDeleteSignalsHeartbeatEndpointConfiguration } from "../funcs/signalsDeleteSignalsHeartbeatEndpointConfiguration.js"; import { signalsDeleteSignalsWebhookTarget } from "../funcs/signalsDeleteSignalsWebhookTarget.js"; import { signalsDeleteTeamEscalationPolicy } from "../funcs/signalsDeleteTeamEscalationPolicy.js"; import { signalsDeleteTeamOnCallSchedule } from "../funcs/signalsDeleteTeamOnCallSchedule.js"; @@ -31,6 +33,7 @@ import { signalsGetSignalsAlertGroupingConfiguration } from "../funcs/signalsGet import { signalsGetSignalsEmailTarget } from "../funcs/signalsGetSignalsEmailTarget.js"; import { signalsGetSignalsEventSource } from "../funcs/signalsGetSignalsEventSource.js"; import { signalsGetSignalsHackerMode } from "../funcs/signalsGetSignalsHackerMode.js"; +import { signalsGetSignalsHeartbeatEndpointConfiguration } from "../funcs/signalsGetSignalsHeartbeatEndpointConfiguration.js"; import { signalsGetSignalsIngestUrl } from "../funcs/signalsGetSignalsIngestUrl.js"; import { signalsGetSignalsWebhookTarget } from "../funcs/signalsGetSignalsWebhookTarget.js"; import { signalsGetTeamEscalationPolicy } from "../funcs/signalsGetTeamEscalationPolicy.js"; @@ -41,11 +44,13 @@ import { signalsListOrganizationOnCallSchedules } from "../funcs/signalsListOrga import { signalsListSignalsAlertGroupingConfigurations } from "../funcs/signalsListSignalsAlertGroupingConfigurations.js"; import { signalsListSignalsEmailTargets } from "../funcs/signalsListSignalsEmailTargets.js"; import { signalsListSignalsEventSources } from "../funcs/signalsListSignalsEventSources.js"; +import { signalsListSignalsHeartbeatEndpointConfigurations } from "../funcs/signalsListSignalsHeartbeatEndpointConfigurations.js"; import { signalsListSignalsTransposers } from "../funcs/signalsListSignalsTransposers.js"; import { signalsListSignalsWebhookTargets } from "../funcs/signalsListSignalsWebhookTargets.js"; import { signalsListTeamEscalationPolicies } from "../funcs/signalsListTeamEscalationPolicies.js"; import { signalsListTeamOnCallSchedules } from "../funcs/signalsListTeamOnCallSchedules.js"; import { signalsListTeamSignalRules } from "../funcs/signalsListTeamSignalRules.js"; +import { signalsListUserNotificationSettingsByUserId } from "../funcs/signalsListUserNotificationSettingsByUserId.js"; import { signalsOverrideOnCallScheduleRotationShifts } from "../funcs/signalsOverrideOnCallScheduleRotationShifts.js"; import { signalsPreviewOnCallScheduleRotation } from "../funcs/signalsPreviewOnCallScheduleRotation.js"; import { signalsPreviewTeamOnCallSchedule } from "../funcs/signalsPreviewTeamOnCallSchedule.js"; @@ -54,6 +59,7 @@ import { signalsUpdateOnCallScheduleRotation } from "../funcs/signalsUpdateOnCal import { signalsUpdateOnCallShift } from "../funcs/signalsUpdateOnCallShift.js"; import { signalsUpdateSignalsAlertGroupingConfiguration } from "../funcs/signalsUpdateSignalsAlertGroupingConfiguration.js"; import { signalsUpdateSignalsEmailTarget } from "../funcs/signalsUpdateSignalsEmailTarget.js"; +import { signalsUpdateSignalsHeartbeatEndpointConfiguration } from "../funcs/signalsUpdateSignalsHeartbeatEndpointConfiguration.js"; import { signalsUpdateSignalsWebhookTarget } from "../funcs/signalsUpdateSignalsWebhookTarget.js"; import { signalsUpdateTeamEscalationPolicy } from "../funcs/signalsUpdateTeamEscalationPolicy.js"; import { signalsUpdateTeamOnCallSchedule } from "../funcs/signalsUpdateTeamOnCallSchedule.js"; @@ -463,7 +469,7 @@ export class Signals extends ClientSDK { * Create a Signals rule * * @remarks - * Create a Signals rule for a team. + * Create a Signals rule for a team. We support up to 2000 rules per organization. */ async createTeamSignalRule( request: operations.CreateTeamSignalRuleRequest, @@ -617,10 +623,12 @@ export class Signals extends ClientSDK { * List all Signals alert grouping rules for the organization. */ async listSignalsAlertGroupingConfigurations( + request: operations.ListSignalsAlertGroupingConfigurationsRequest, options?: RequestOptions, ): Promise { return unwrapAsync(signalsListSignalsAlertGroupingConfigurations( this, + request, options, )); } @@ -863,6 +871,89 @@ export class Signals extends ClientSDK { )); } + /** + * List heartbeat endpoint configurations + * + * @remarks + * Retrieve all heartbeat endpoint configurations for your organization + */ + async listSignalsHeartbeatEndpointConfigurations( + options?: RequestOptions, + ): Promise { + return unwrapAsync(signalsListSignalsHeartbeatEndpointConfigurations( + this, + options, + )); + } + + /** + * Create a heartbeat endpoint configuration + * + * @remarks + * Create a new heartbeat endpoint configuration for your organization + */ + async createSignalsHeartbeatEndpointConfiguration( + request: components.CreateSignalsHeartbeatEndpointConfiguration, + options?: RequestOptions, + ): Promise { + return unwrapAsync(signalsCreateSignalsHeartbeatEndpointConfiguration( + this, + request, + options, + )); + } + + /** + * Get a heartbeat endpoint configuration + * + * @remarks + * Retrieve a single heartbeat endpoint configuration + */ + async getSignalsHeartbeatEndpointConfiguration( + request: operations.GetSignalsHeartbeatEndpointConfigurationRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(signalsGetSignalsHeartbeatEndpointConfiguration( + this, + request, + options, + )); + } + + /** + * Delete a heartbeat endpoint configuration + * + * @remarks + * Delete a heartbeat endpoint configuration + */ + async deleteSignalsHeartbeatEndpointConfiguration( + request: operations.DeleteSignalsHeartbeatEndpointConfigurationRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(signalsDeleteSignalsHeartbeatEndpointConfiguration( + this, + request, + options, + )); + } + + /** + * Update a heartbeat endpoint configuration + * + * @remarks + * Update an existing heartbeat endpoint configuration + */ + async updateSignalsHeartbeatEndpointConfiguration( + request: operations.UpdateSignalsHeartbeatEndpointConfigurationRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(signalsUpdateSignalsHeartbeatEndpointConfiguration( + this, + request, + options, + )); + } + /** * List notification policies * @@ -948,6 +1039,23 @@ export class Signals extends ClientSDK { )); } + /** + * List notification settings for a user + * + * @remarks + * List all Signals notification settings for a specific user. Requires an API key with PII access enabled. + */ + async listUserNotificationSettingsByUserId( + request: operations.ListUserNotificationSettingsByUserIdRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(signalsListUserNotificationSettingsByUserId( + this, + request, + options, + )); + } + /** * List signal transposers * diff --git a/src/sdk/webhooks.ts b/src/sdk/webhooks.ts index f8231c33..7c69efb9 100644 --- a/src/sdk/webhooks.ts +++ b/src/sdk/webhooks.ts @@ -23,7 +23,7 @@ export class Webhooks extends ClientSDK { async listWebhooks( request: operations.ListWebhooksRequest, options?: RequestOptions, - ): Promise { + ): Promise { return unwrapAsync(webhooksListWebhooks( this, request, @@ -57,7 +57,7 @@ export class Webhooks extends ClientSDK { async listWebhookDeliveries( request: operations.ListWebhookDeliveriesRequest, options?: RequestOptions, - ): Promise { + ): Promise { return unwrapAsync(webhooksListWebhookDeliveries( this, request,